Skip to content

Commit

Permalink
Use title case button labels for dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxr1998 committed Aug 22, 2024
1 parent 335fcb9 commit bdaf930
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -435,4 +437,4 @@ class AlbumScreenContentFlexibleSpaceBar extends StatelessWidget {
),
);
}
}
}
14 changes: 7 additions & 7 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,9 @@
}
}
},
"playButtonLabel": "PLAY",
"playButtonLabel": "Play",
"@playButtonLabel": {},
"shuffleButtonLabel": "SHUFFLE",
"shuffleButtonLabel": "Shuffle",
"@shuffleButtonLabel": {},
"songCount": "{count,plural,=1{{count} Track} other{{count} Tracks}}",
"@songCount": {
Expand Down Expand Up @@ -392,7 +392,7 @@
"@editPlaylistNameTitle": {},
"required": "Required",
"@required": {},
"updateButtonLabel": "UPDATE",
"updateButtonLabel": "Update",
"@updateButtonLabel": {},
"playlistNameUpdated": "Playlist name updated.",
"@playlistNameUpdated": {},
Expand All @@ -410,7 +410,7 @@
},
"downloadsQueued": "Download prepared, downloading files",
"@downloadsQueued": {},
"addButtonLabel": "ADD",
"addButtonLabel": "Add",
"@addButtonLabel": {},
"shareLogs": "Share logs",
"@shareLogs": {},
Expand Down Expand Up @@ -613,9 +613,9 @@
},
"cancelSleepTimer": "Cancel Sleep Timer?",
"@cancelSleepTimer": {},
"yesButtonLabel": "YES",
"yesButtonLabel": "Yes",
"@yesButtonLabel": {},
"noButtonLabel": "NO",
"noButtonLabel": "No",
"@noButtonLabel": {},
"setSleepTimer": "Set Sleep Timer",
"@setSleepTimer": {},
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit bdaf930

Please sign in to comment.