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

@ -183,7 +183,7 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
if (includeActions) {
children.add(
ListTile(
title: Text("Parent Category"),
title: Text(I18N.of(context).parentCategory),
subtitle: Text("${location.parentpathstring}"),
leading: FaIcon(FontAwesomeIcons.levelUpAlt),
onTap: () {
@ -286,8 +286,8 @@ List<Widget> detailTiles() {
tiles.add(SublocationList(_sublocations));
} else {
tiles.add(ListTile(
title: Text("No Sublocations"),
subtitle: Text("No sublocations available")
title: Text(I18N.of(context).sublocationNone),
subtitle: Text(I18N.of(context).sublocationNoneDetail)
));
}