From bdaf930d3562c1e1ea89d39659afc7c9da3148e3 Mon Sep 17 00:00:00 2001 From: Maxr1998 Date: Thu, 22 Aug 2024 15:54:07 +0200 Subject: [PATCH] Use title case button labels for dialogs --- .../album_screen_content_flexible_space_bar.dart | 10 ++++++---- lib/l10n/app_en.arb | 14 +++++++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/lib/components/AlbumScreen/album_screen_content_flexible_space_bar.dart b/lib/components/AlbumScreen/album_screen_content_flexible_space_bar.dart index ab6fb68c9..2fb1f154d 100644 --- a/lib/components/AlbumScreen/album_screen_content_flexible_space_bar.dart +++ b/lib/components/AlbumScreen/album_screen_content_flexible_space_bar.dart @@ -1,8 +1,8 @@ import 'package:finamp/components/Buttons/cta_medium.dart'; import 'package:finamp/components/global_snackbar.dart'; import 'package:finamp/models/finamp_models.dart'; -import 'package:finamp/services/queue_service.dart'; import 'package:finamp/services/feedback_helper.dart'; +import 'package:finamp/services/queue_service.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart'; import 'package:flutter_tabler_icons/flutter_tabler_icons.dart'; @@ -260,7 +260,8 @@ class AlbumScreenContentFlexibleSpaceBar extends StatelessWidget { children: [ CTAMedium( text: AppLocalizations.of(context)! - .playButtonLabel, + .playButtonLabel + .toUpperCase(), icon: TablerIcons.player_play, onPressed: () => playAlbum(), // set the minimum width as 25% of the screen width, @@ -345,7 +346,8 @@ class AlbumScreenContentFlexibleSpaceBar extends StatelessWidget { children: [ CTAMedium( text: AppLocalizations.of(context)! - .shuffleButtonLabel, + .shuffleButtonLabel + .toUpperCase(), icon: TablerIcons.arrows_shuffle, onPressed: () => shuffleAlbum(), // set the minimum width as 25% of the screen width, @@ -435,4 +437,4 @@ class AlbumScreenContentFlexibleSpaceBar extends StatelessWidget { ), ); } -} +} \ No newline at end of file diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 8628b2a58..0449fb5bd 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -355,9 +355,9 @@ } } }, - "playButtonLabel": "PLAY", + "playButtonLabel": "Play", "@playButtonLabel": {}, - "shuffleButtonLabel": "SHUFFLE", + "shuffleButtonLabel": "Shuffle", "@shuffleButtonLabel": {}, "songCount": "{count,plural,=1{{count} Track} other{{count} Tracks}}", "@songCount": { @@ -392,7 +392,7 @@ "@editPlaylistNameTitle": {}, "required": "Required", "@required": {}, - "updateButtonLabel": "UPDATE", + "updateButtonLabel": "Update", "@updateButtonLabel": {}, "playlistNameUpdated": "Playlist name updated.", "@playlistNameUpdated": {}, @@ -410,7 +410,7 @@ }, "downloadsQueued": "Download prepared, downloading files", "@downloadsQueued": {}, - "addButtonLabel": "ADD", + "addButtonLabel": "Add", "@addButtonLabel": {}, "shareLogs": "Share logs", "@shareLogs": {}, @@ -613,9 +613,9 @@ }, "cancelSleepTimer": "Cancel Sleep Timer?", "@cancelSleepTimer": {}, - "yesButtonLabel": "YES", + "yesButtonLabel": "Yes", "@yesButtonLabel": {}, - "noButtonLabel": "NO", + "noButtonLabel": "No", "@noButtonLabel": {}, "setSleepTimer": "Set Sleep Timer", "@setSleepTimer": {}, @@ -1077,7 +1077,7 @@ "description": "Title for message that shows on the views screen when no music libraries could be found." }, "noMusicLibrariesBody": "Finamp could not find any music libraries. Please ensure that your Jellyfin server contains at least one library with the content type set to \"Music\".", - "refresh": "REFRESH", + "refresh": "Refresh", "moreInfo": "More Info", "volumeNormalizationSettingsTitle": "Volume Normalization", "@volumeNormalizationSettingsTitle": {