Skip to content

Commit

Permalink
i18n: Add new abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
Drarig29 committed Apr 9, 2023
1 parent 2032614 commit 14eb416
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
30 changes: 17 additions & 13 deletions src/i18n/en/translation.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"origin-hint": {
"seed": "Seed {{position}}",
"winner-bracket": "Loser of WB {{round}}.{{position}}",
"winner-bracket-semi-final": "Loser of WB Semi {{position}}",
"winner-bracket-final": "Loser of WB Final",
"winner-bracket": "Loser of $t(abbreviations.winner-bracket) {{round}}.{{position}}",
"winner-bracket-semi-final": "Loser of $t(abbreviations.winner-bracket) Semi {{position}}",
"winner-bracket-final": "Loser of $t(abbreviations.winner-bracket) Final",
"consolation-final": "Loser of Semi {{position}}",
"grand-final": "Winner of LB Final"
"grand-final": "Winner of $t(abbreviations.loser-bracket) Final"
},
"match-label": {
"winner-bracket": "WB",
"loser-bracket": "LB",
"standard-bracket": "M",
"winner-bracket": "$t(abbreviations.winner-bracket)",
"loser-bracket": "$t(abbreviations.loser-bracket)",
"standard-bracket": "$t(abbreviations.match)",
"standard-bracket-semi-final": "Semi {{matchNumber}}",
"standard-bracket-final": "Final",
"double-elimination": "{{matchPrefix}} {{roundNumber}}.{{matchNumber}}",
"double-elimination-semi-final": "{{matchPrefix}} Semi {{matchNumber}}",
"double-elimination-final": "{{matchPrefix}} Final",
"consolation-final": "Consolation Final",
"grand-final-single": "Grand Final",
"grand-final": "GF Round {{roundNumber}}"
"grand-final": "$t(abbreviations.grand-final) Round {{roundNumber}}"
},
"match-status": {
"locked": "Locked",
Expand All @@ -33,7 +33,11 @@
"loss": "L",
"forfeit": "F",
"position": "P",
"seed": "#"
"seed": "#",
"winner-bracket": "WB",
"loser-bracket": "LB",
"match": "M",
"grand-final": "GF"
},
"ranking": {
"rank": {
Expand Down Expand Up @@ -89,10 +93,10 @@
"group-name-loser-bracket": "Loser Bracket",
"round-name": "Round {{roundNumber}}",
"round-name-final": "Final Round",
"round-name-winner-bracket": "WB Round {{roundNumber}}",
"round-name-winner-bracket-final": "WB Final Round",
"round-name-loser-bracket": "LB Round {{roundNumber}}",
"round-name-loser-bracket-final": "LB Final Round"
"round-name-winner-bracket": "$t(abbreviations.winner-bracket) Round {{roundNumber}}",
"round-name-winner-bracket-final": "$t(abbreviations.winner-bracket) Final Round",
"round-name-loser-bracket": "$t(abbreviations.loser-bracket) Round {{roundNumber}}",
"round-name-loser-bracket-final": "$t(abbreviations.loser-bracket) Final Round"
},
"form-creator": {
"stage-name-label": "Name your stage",
Expand Down
30 changes: 17 additions & 13 deletions src/i18n/fr/translation.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"origin-hint": {
"seed": "Seed {{position}}",
"winner-bracket": "Perdant WB {{round}}.{{position}}",
"winner-bracket-semi-final": "Perdant WB Semi {{position}}",
"winner-bracket-final": "Perdant Finale WB",
"winner-bracket": "Perdant $t(abbreviations.winner-bracket) {{round}}.{{position}}",
"winner-bracket-semi-final": "Perdant $t(abbreviations.winner-bracket) Semi {{position}}",
"winner-bracket-final": "Perdant Finale $t(abbreviations.winner-bracket)",
"consolation-final": "Perdant Semi {{position}}",
"grand-final": "Gagnant Finale LB"
"grand-final": "Gagnant Finale $t(abbreviations.loser-bracket)"
},
"match-label": {
"winner-bracket": "WB",
"loser-bracket": "LB",
"standard-bracket": "M",
"winner-bracket": "$t(abbreviations.winner-bracket)",
"loser-bracket": "$t(abbreviations.loser-bracket)",
"standard-bracket": "$t(abbreviations.match)",
"standard-bracket-semi-final": "Semi {{matchNumber}}",
"standard-bracket-final": "Finale",
"double-elimination": "{{matchPrefix}} {{roundNumber}}.{{matchNumber}}",
"double-elimination-semi-final": "{{matchPrefix}} Semi {{matchNumber}}",
"double-elimination-final": "Finale {{matchPrefix}}",
"consolation-final": "Petite finale",
"grand-final-single": "Grande finale",
"grand-final": "GF Round {{roundNumber}}"
"grand-final": "$t(abbreviations.grand-final) Round {{roundNumber}}"
},
"match-status": {
"locked": "Verrouillé",
Expand All @@ -33,7 +33,11 @@
"loss": "D",
"forfeit": "F",
"position": "P",
"seed": "#"
"seed": "#",
"winner-bracket": "WB",
"loser-bracket": "LB",
"match": "M",
"grand-final": "GF"
},
"ranking": {
"rank": {
Expand Down Expand Up @@ -87,10 +91,10 @@
"group-name": "Groupe {{groupNumber}}",
"round-name": "Round {{roundNumber}}",
"round-name-final": "Round final",
"round-name-winner-bracket": "WB Round {{roundNumber}}",
"round-name-winner-bracket-final": "WB Round final",
"round-name-loser-bracket": "LB Round {{roundNumber}}",
"round-name-loser-bracket-final": "LB Round final"
"round-name-winner-bracket": "$t(abbreviations.winner-bracket) Round {{roundNumber}}",
"round-name-winner-bracket-final": "$t(abbreviations.winner-bracket) Round final",
"round-name-loser-bracket": "$t(abbreviations.loser-bracket) Round {{roundNumber}}",
"round-name-loser-bracket-final": "$t(abbreviations.loser-bracket) Round final"
},
"form-creator": {
"stage-name-label": "Name your stage",
Expand Down

0 comments on commit 14eb416

Please sign in to comment.