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