forked from eatvio/eatvio_app
feat(feed): add recipes screen
This commit is contained in:
@@ -13,6 +13,7 @@ class AppLocalization {
|
||||
static final Map<String, Map<String, String>> _localizedValues = {
|
||||
'ru': ru,
|
||||
};
|
||||
|
||||
/*static final Map<String, Map<String, String>> __localizedValues = {
|
||||
'en': enUs
|
||||
};*/
|
||||
@@ -33,6 +34,7 @@ class AppLocalization {
|
||||
}
|
||||
|
||||
static List<String> languages() => _localizedValues.keys.toList();
|
||||
|
||||
String getString(String text) => _localizedValues[locale.languageCode]![text] ?? text;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user