-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: switch from localizel to intl (#310)
- Loading branch information
1 parent
d3468ac
commit 6650041
Showing
6 changed files
with
36 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
arb-dir: lib/src/core/localization/translations | ||
template-arb-file: intl_en.arb | ||
output-localization-file: app_localizations.dart |
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 |
---|---|---|
@@ -1,9 +1,19 @@ | ||
{ | ||
"@@locale": "en", | ||
"appTitle": "sizzle_starter", | ||
"@appTitle": { | ||
"description": "The title of the application" | ||
}, | ||
"custom_colors": "Custom Colors", | ||
"@custom_colors": { | ||
"description": "Custom colors for the application" | ||
}, | ||
"default_themes": "Default Themes", | ||
"locales": "Locales" | ||
"@default_themes": { | ||
"description": "Default themes for the application" | ||
}, | ||
"locales": "Locales", | ||
"@locales": { | ||
"description": "Locales for the application" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{ | ||
"appTitle": "sizzle_starter", | ||
"@appTitle": { | ||
"description": "El título de la aplicación" | ||
}, | ||
"custom_colors": "Colores personalizados", | ||
"default_themes": "Temas predeterminados", | ||
"locales": "Idioma" | ||
} | ||
"@@locale": "es", | ||
"appTitle": "sizzle_starter", | ||
"@appTitle": { | ||
"description": "El título de la aplicación" | ||
}, | ||
"custom_colors": "Colores personalizados", | ||
"default_themes": "Temas predeterminados", | ||
"locales": "Idioma" | ||
} |
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