Updated strings
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import 'package:rate_my_app/rate_my_app.dart';
|
||||
|
||||
class Constants {
|
||||
static const String appDevPhase = 'Beta';
|
||||
static const String appDevPhase = 'Stable';
|
||||
|
||||
static const String kInstagramLink = 'https://instagram.felixkirchner.de';
|
||||
static const String kGithubLink = 'https://github.felixkirchner.de';
|
||||
@@ -12,6 +12,7 @@ class Constants {
|
||||
static const String kEmail = 'cabocounter@felixkirchner.de';
|
||||
static const String kPrivacyPolicyLink =
|
||||
'https://www.privacypolicies.com/live/1b3759d4-b2f1-4511-8e3b-21bb1626be68';
|
||||
static const String kImprintLink = '';
|
||||
|
||||
static RateMyApp rateMyApp = RateMyApp(
|
||||
appStoreIdentifier: '6747105718',
|
||||
|
||||
@@ -206,6 +206,12 @@ abstract class AppLocalizations {
|
||||
/// **'Lizenzdetails'**
|
||||
String get license_details;
|
||||
|
||||
/// No description provided for @imprint.
|
||||
///
|
||||
/// In de, this message translates to:
|
||||
/// **'Impressum'**
|
||||
String get imprint;
|
||||
|
||||
/// No description provided for @empty_text_1.
|
||||
///
|
||||
/// In de, this message translates to:
|
||||
|
||||
@@ -62,6 +62,9 @@ class AppLocalizationsDe extends AppLocalizations {
|
||||
@override
|
||||
String get license_details => 'Lizenzdetails';
|
||||
|
||||
@override
|
||||
String get imprint => 'Impressum';
|
||||
|
||||
@override
|
||||
String get empty_text_1 => 'Ganz schön leer hier...';
|
||||
|
||||
|
||||
@@ -62,6 +62,9 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get license_details => 'License Details';
|
||||
|
||||
@override
|
||||
String get imprint => 'Imprint';
|
||||
|
||||
@override
|
||||
String get empty_text_1 => 'Pretty empty here...';
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import 'package:cabo_counter/core/constants.dart';
|
||||
import 'package:cabo_counter/core/custom_theme.dart';
|
||||
import 'package:cabo_counter/l10n/generated/app_localizations.dart';
|
||||
import 'package:cabo_counter/presentation/views/licenses/license_view.dart';
|
||||
import 'package:cabo_counter/presentation/views/mode_selection_view.dart';
|
||||
import 'package:cabo_counter/presentation/widgets/custom_form_row.dart';
|
||||
import 'package:cabo_counter/presentation/widgets/custom_stepper.dart';
|
||||
@@ -194,6 +195,15 @@ class _SettingsViewState extends State<SettingsView> {
|
||||
launchUrl(Uri.parse(Constants.kPrivacyPolicyLink)),
|
||||
suffixWidget: const CupertinoListTileChevron(),
|
||||
),
|
||||
CustomFormRow(
|
||||
prefixText: AppLocalizations.of(context).licenses,
|
||||
prefixIcon: CupertinoIcons.doc_append,
|
||||
onPressed: () => Navigator.push(
|
||||
context,
|
||||
CupertinoPageRoute(
|
||||
builder: (_) => const LicenseView())),
|
||||
suffixWidget: const CupertinoListTileChevron(),
|
||||
),
|
||||
CustomFormRow(
|
||||
prefixText: AppLocalizations.of(context).error_found,
|
||||
prefixIcon: FontAwesomeIcons.github,
|
||||
|
||||
Reference in New Issue
Block a user