Added Localized Texts #265

This commit is contained in:
amannegi
2022-10-26 14:09:19 +05:30
parent 0fe738fac5
commit e258b8f6c5
3 changed files with 4 additions and 3 deletions

View File

@@ -647,5 +647,6 @@
"back": "Back",
"quads": "Quads",
"arms": "Arms",
"sz_bar": "SZ-Bar"
"sz_bar": "SZ-Bar",
"aboutPageTitle": "About Wger"
}

View File

@@ -38,7 +38,7 @@ class _AboutPageState extends State<AboutPage> {
return Scaffold(
appBar: AppBar(
title: const Text('About wger'),
title: Text(AppLocalizations.of(context).aboutPageTitle),
),
body: SingleChildScrollView(
padding: const EdgeInsets.all(20.0),

View File

@@ -80,7 +80,7 @@ class MainAppBar extends StatelessWidget with PreferredSizeWidget {
onTap: () {
Navigator.of(context).pushNamed(AboutPage.routeName);
},
title: const Text('About wger'),
title: Text(AppLocalizations.of(context).aboutPageTitle),
),
const Divider(),
ListTile(