improved localizations

This commit is contained in:
Myzel394 2022-08-19 23:26:07 +02:00
parent 17133c2bca
commit 9f37648762
4 changed files with 43 additions and 9 deletions

View File

@ -110,7 +110,10 @@
"timelineScreenTitle": "Timeline",
"timelineScreenHelpSheetTitle": "Willkommen zu deiner Timeline",
"timelineHelpContentDescription": "Deine Erfahrungen werden in chronologischer Reihenfolge präsentiert. Du kannst nach links oder rechts wischen um durch deine Erinnerungen von deinem aktuellen Tag zu gehen. Du kannst auch nach oben und unten wischen um durch die verschiedenen Tage deiner Erinnerungen zu gehen. Deine Timeline springt automatisch zur nächsten Erinnerung nach einiger Zeit.",
"timelineHelpContentChronologicalMemoriesExplanation": "Deine Erfahrungen werden in chronologischer Reihenfolge präsentiert.",
"timelineHelpContentSwipeLeftRightExplanation": "Wische nach links oder rechts um durch deine Erinnerungen von deinem aktuellen Tag zu gehen.",
"timelineHelpContentSwipeUpDownExplanation": "Wische nach oben oder unten um durch die verschiedenen Tage deiner Erinnerungen zu gehen.",
"timelineHelpContentAutomaticJumpExplanation": "Deine Timeline springt automatisch zur nächsten Erinnerung nach einiger Zeit.",
"timelineHelpContentHoldDownExplanation": "Halte gedrückt um deine Timeline zu pausieren.",
"timelineHelpContentTapTwiceExplanation": "Tippe zweimal um mehr Details über deine Erinnerung zu erfahren,",

View File

@ -160,8 +160,11 @@
"timelineScreenTitle": "Timeline",
"timelineScreenHelpSheetTitle": "Welcome to your timeline",
"timelineHelpContentDescription": "Your memories are presented in chronological order. You can swipe left or right to navigate through the memories of the current day. You can also swipe up or down to navigate through the days of your memories. Your timeline automatically jumps to your next memory after some time.",
"timelineHelpContentHoldDownExplanation": "Hold down to pause your timeline.",
"timelineHelpContentChronologicalMemoriesExplanation": "Your memories are presented in chronological order.",
"timelineHelpContentSwipeLeftRightExplanation": "Swipe left or right to navigate through the memories of the current day.",
"timelineHelpContentSwipeUpDownExplanation": "Swipe up or down to navigate through the days of your memories.",
"timelineHelpContentAutomaticJumpExplanation": "Your timeline will automatically jump to your next memory after some time.",
"timelineHelpContentHoldDownExplanation": "Hold down to pause your timeline from jumping to your next memory.",
"timelineHelpContentTapTwiceExplanation": "Tap twice to see more details about your memory.",

View File

@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
import 'package:quid_faciam_hodie/constants/spacing.dart';
import 'package:quid_faciam_hodie/utils/theme.dart';
import 'package:quid_faciam_hodie/widgets/help_content_text.dart';
@ -14,12 +15,39 @@ class TimelineHelpContent extends StatelessWidget {
return Column(
children: <Widget>[
Text(
localizations.timelineHelpContentDescription,
textAlign: TextAlign.center,
style: getBodyTextTextStyle(context),
HelpContentText(
icon: Icon(
context.platformIcons.time,
color: textColor,
),
const SizedBox(height: LARGE_SPACE),
text:
localizations.timelineHelpContentChronologicalMemoriesExplanation,
),
const SizedBox(height: MEDIUM_SPACE),
HelpContentText(
icon: Icon(
Icons.swipe_rounded,
color: textColor,
),
text: localizations.timelineHelpContentSwipeLeftRightExplanation,
),
const SizedBox(height: MEDIUM_SPACE),
HelpContentText(
icon: Icon(
Icons.swipe_vertical_rounded,
color: textColor,
),
text: localizations.timelineHelpContentSwipeUpDownExplanation,
),
const SizedBox(height: MEDIUM_SPACE),
HelpContentText(
icon: Icon(
context.platformIcons.forward,
color: textColor,
),
text: localizations.timelineHelpContentAutomaticJumpExplanation,
),
const SizedBox(height: MEDIUM_SPACE),
HelpContentText(
icon: Icon(
Icons.touch_app_rounded,

View File

@ -22,7 +22,7 @@ class HelpContentText extends StatelessWidget {
),
const Spacer(flex: 1),
Expanded(
flex: 8,
flex: 14,
child: Text(
text,
style: getBodyTextTextStyle(context),