clean up localization

This commit is contained in:
Thinzar Win
2020-10-07 18:49:28 +06:30
parent aeb0d22cd3
commit 99e4c08414
10 changed files with 373 additions and 1105 deletions

View File

@@ -54,7 +54,7 @@ Future<void> showConfirmDialog(
FlatButton(
color: Colors.grey[300],
child: Text(
AppTranslations.of(context).text('Cancel'),
AppTranslations.of(context).text('btn.cancel'),
style: Provider.of<LanguageModel>(context).isEng
? TextStyle()
: TextStyle(fontFamily: 'Myanmar3'),
@@ -67,7 +67,7 @@ Future<void> showConfirmDialog(
),
FlatButton(
color: primaryColor,
child: Text(AppTranslations.of(context).text('Ok'),
child: Text(AppTranslations.of(context).text('btn.ok'),
style: Provider.of<LanguageModel>(context).isEng
? TextStyle(
color: Colors.white,