diff --git a/yuuna/lib/i18n/strings.g.dart b/yuuna/lib/i18n/strings.g.dart index 786f59cf3..12ff0224e 100644 --- a/yuuna/lib/i18n/strings.g.dart +++ b/yuuna/lib/i18n/strings.g.dart @@ -1,9 +1,9 @@ /// Generated file. Do not edit. /// /// Locales: 1 -/// Strings: 364 +/// Strings: 366 /// -/// Built on 2023-05-10 at 10:54 UTC +/// Built on 2023-05-10 at 12:48 UTC // coverage:ignore-file // ignore_for_file: type=lint @@ -509,6 +509,8 @@ class _StringsEn implements BaseTranslations { String get subtitle_timing_hide => 'Hide subtitle timings'; String get find_next => 'Find Next'; String get find_previous => 'Find Previous'; + String get shadowing_mode => 'Shadowing Mode'; + String get display_settings => 'Display Settings'; late final _StringsRetryingInEn retrying_in = _StringsRetryingInEn._(_root); late final _StringsViewRepliesEn view_replies = _StringsViewRepliesEn._(_root); } @@ -905,6 +907,8 @@ extension on _StringsEn { case 'subtitle_timing_hide': return 'Hide subtitle timings'; case 'find_next': return 'Find Next'; case 'find_previous': return 'Find Previous'; + case 'shadowing_mode': return 'Shadowing Mode'; + case 'display_settings': return 'Display Settings'; case 'retrying_in.seconds': return ({required num n}) => (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('en'))(n, one: 'Retrying in ${n} second...', other: 'Retrying in ${n} seconds...', diff --git a/yuuna/lib/i18n/strings.i18n.json b/yuuna/lib/i18n/strings.i18n.json index ad4936346..cfd14ae58 100644 --- a/yuuna/lib/i18n/strings.i18n.json +++ b/yuuna/lib/i18n/strings.i18n.json @@ -385,6 +385,8 @@ "subtitle_timing_hide": "Hide subtitle timings", "find_next": "Find Next", "find_previous": "Find Previous", + "shadowing_mode": "Shadowing Mode", + "display_settings": "Display Settings", "retrying_in": { "seconds": { "one": "Retrying in $n second...", diff --git a/yuuna/lib/src/pages/implementations/player_source_page.dart b/yuuna/lib/src/pages/implementations/player_source_page.dart index 42850ab52..b73698b40 100644 --- a/yuuna/lib/src/pages/implementations/player_source_page.dart +++ b/yuuna/lib/src/pages/implementations/player_source_page.dart @@ -1040,18 +1040,21 @@ class _PlayerSourcePageState extends BaseSourcePageState return Material( color: Colors.transparent, child: InkWell( - child: Container( - alignment: Alignment.center, - height: _menuHeight, - padding: const EdgeInsets.symmetric(horizontal: 8), - child: Text( - '${getPositionText()} / ${getDurationText()}', - style: TextStyle( - color: (shadowingSubtitle != null) - ? Colors.red - : appModel.isDarkMode - ? Colors.white - : Colors.black, + child: Tooltip( + message: t.shadowing_mode, + child: Container( + alignment: Alignment.center, + height: _menuHeight, + padding: const EdgeInsets.symmetric(horizontal: 8), + child: Text( + '${getPositionText()} / ${getDurationText()}', + style: TextStyle( + color: (shadowingSubtitle != null) + ? Colors.red + : appModel.isDarkMode + ? Colors.white + : Colors.black, + ), ), ), ), diff --git a/yuuna/lib/src/pages/implementations/player_transcript_page.dart b/yuuna/lib/src/pages/implementations/player_transcript_page.dart index 09a98a374..aeae35702 100644 --- a/yuuna/lib/src/pages/implementations/player_transcript_page.dart +++ b/yuuna/lib/src/pages/implementations/player_transcript_page.dart @@ -285,7 +285,7 @@ class _PlayerTranscriptPageState return PopupMenuButton( splashRadius: 20, padding: EdgeInsets.zero, - tooltip: t.switch_profiles, + tooltip: t.display_settings, icon: Icon( Icons.display_settings, color: theme.iconTheme.color,