-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(localization): 🌐 add localization support (#50)
- Loading branch information
1 parent
6f687d5
commit 917c115
Showing
11 changed files
with
97 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
arb-dir: lib/localization | ||
template-arb-file: app_ca.arb | ||
output-localization-file: app_localizations.dart | ||
untranslated-messages-file: lib/localization/untranslated_messages.txt | ||
nullable-getter: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"@@locale": "ca", | ||
"search": "Cerca", | ||
"myCollection": "La meva coŀlecció", | ||
"firstNResultsAreShown": "Es mostren els primers {n} resultats de l’autocompletat", | ||
"@firstNResultsAreShown": { | ||
"placeholders": { | ||
"n": { | ||
"type": "int", | ||
"example": "20" | ||
} | ||
} | ||
}, | ||
"nResults": "{n, plural, =0{Sense resultats} =1{1 resultat} other{{n} resultats}}", | ||
"@nResults": { | ||
"placeholders": { | ||
"n": { | ||
"type": "int", | ||
"example": "7" | ||
} | ||
} | ||
}, | ||
"orMore": "o més", | ||
"addToTheCollection": "Afegeix a la coŀlecció", | ||
"removeFromTheCollection": "Treu de la coŀlecció", | ||
"added": "S’ha afegit", | ||
"removed": "S’ha tret", | ||
"toTheCollection": "a la coŀlecció", | ||
"fromTheCollection": "de la coŀlecció", | ||
"showAbbreviation": "Mostra l’abreviatura" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters