chore: strings names

pull/51/head
RuiAlonso 4 years ago
parent e163b665c3
commit 8c922fa593

@ -31,7 +31,7 @@ class GameOverDialog extends StatelessWidget {
onPressed: () => Navigator.of(context).push<void>( onPressed: () => Navigator.of(context).push<void>(
LeaderboardPage.route(theme: theme), LeaderboardPage.route(theme: theme),
), ),
child: Text(l10n.leadersboard), child: Text(l10n.leaderboard),
), ),
], ],
), ),

@ -28,25 +28,25 @@
"@gameOver": { "@gameOver": {
"description": "Text displayed on the ending dialog when game finishes" "description": "Text displayed on the ending dialog when game finishes"
}, },
"leadersboard": "Leaders Board", "leaderboard": "Leaderboard",
"@leadersboard": { "@leaderboard": {
"description": "Text displayed on the ending dialog leaders board button" "description": "Text displayed on the ending dialog leaderboard button"
}, },
"rank": "Rank", "rank": "Rank",
"@rank": { "@rank": {
"description": "Text displayed on the leaders board page header rank column" "description": "Text displayed on the leaderboard page header rank column"
}, },
"character": "Character", "character": "Character",
"@character": { "@character": {
"description": "Text displayed on the leaders board page header character column" "description": "Text displayed on the leaderboard page header character column"
}, },
"username": "Username", "username": "Username",
"@username": { "@username": {
"description": "Text displayed on the leaders board page header userName column" "description": "Text displayed on the leaderboard page header userName column"
}, },
"score": "Score", "score": "Score",
"@score": { "@score": {
"description": "Text displayed on the leaders board page header score column" "description": "Text displayed on the leaderboard page header score column"
}, },
"retry": "Retry", "retry": "Retry",
"@retry": { "@retry": {

@ -47,7 +47,7 @@ class LeaderboardView extends StatelessWidget {
children: [ children: [
const SizedBox(height: 80), const SizedBox(height: 80),
Text( Text(
l10n.leadersboard, l10n.leaderboard,
style: Theme.of(context).textTheme.headline3, style: Theme.of(context).textTheme.headline3,
), ),
const SizedBox(height: 80), const SizedBox(height: 80),

Loading…
Cancel
Save