2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Fixed (most) of the raw text instances

This commit is contained in:
Oliver Walters
2021-05-19 23:08:44 +10:00
parent c8583aba04
commit 34a6a43d35
12 changed files with 51 additions and 66 deletions

View File

@ -116,7 +116,7 @@ class InvenTreeAboutWidget extends StatelessWidget {
tiles.add(
ListTile(
title: Text(I18N.of(context).releaseNotes),
subtitle: Text("Display app release notes"),
subtitle: Text(I18N.of(context).appReleaseNotes),
leading: FaIcon(FontAwesomeIcons.fileAlt),
onTap: () {
_releaseNotes(context);
@ -127,7 +127,7 @@ class InvenTreeAboutWidget extends StatelessWidget {
tiles.add(
ListTile(
title: Text(I18N.of(context).credits),
subtitle: Text("Additional app credits"),
subtitle: Text(I18N.of(context).appCredits),
leading: FaIcon(FontAwesomeIcons.bullhorn),
onTap: () {
_credits(context);

View File

@ -95,8 +95,8 @@ class _InvenTreeAppSettingsState extends State<InvenTreeAppSettingsWidget> {
leading: FaIcon(FontAwesomeIcons.shapes),
),
ListTile(
title: Text("Include Subcategories"),
subtitle: Text("Display subcategory parts in list view"),
title: Text(I18N.of(context).includeSubcategories),
subtitle: Text(I18N.of(context).includeSubcategoriesDetail),
leading: FaIcon(FontAwesomeIcons.sitemap),
trailing: Switch(
value: partSubcategory,
@ -111,8 +111,8 @@ class _InvenTreeAppSettingsState extends State<InvenTreeAppSettingsWidget> {
leading: FaIcon(FontAwesomeIcons.boxes),
),
ListTile(
title: Text("Include Sublocations"),
subtitle: Text("Display sublocation items in list view"),
title: Text(I18N.of(context).includeSublocations),
subtitle: Text(I18N.of(context).includeSublocationsDetail),
leading: FaIcon(FontAwesomeIcons.sitemap),
trailing: Switch(
value: stockSublocation,
@ -129,7 +129,7 @@ class _InvenTreeAppSettingsState extends State<InvenTreeAppSettingsWidget> {
),
ListTile(
title: Text(I18N.of(context).serverError),
subtitle: Text("Play audible tone on server error"),
subtitle: Text(I18N.of(context).soundOnServerError),
leading: FaIcon(FontAwesomeIcons.server),
trailing: Switch(
value: serverSounds,
@ -138,7 +138,7 @@ class _InvenTreeAppSettingsState extends State<InvenTreeAppSettingsWidget> {
),
ListTile(
title: Text(I18N.of(context).barcodeTones),
subtitle: Text("Play audible tones for barcode actions"),
subtitle: Text(I18N.of(context).soundOnBarcodeAction),
leading: FaIcon(FontAwesomeIcons.qrcode),
trailing: Switch(
value: barcodeSounds,

View File

@ -300,7 +300,7 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
// No profile available!
children.add(
ListTile(
title: Text("No profiles available"),
title: Text(I18N.of(context).profileNone),
)
);
}