mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Fixed (most) of the raw text instances
This commit is contained in:
parent
c8583aba04
commit
34a6a43d35
12 changed files with 51 additions and 66 deletions
|
|
@ -163,7 +163,7 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
|
|||
if (category == null) {
|
||||
return Card(
|
||||
child: ListTile(
|
||||
title: Text("Top level part category"),
|
||||
title: Text(I18N.of(context).partCategoryTopLevel)
|
||||
)
|
||||
);
|
||||
} else {
|
||||
|
|
@ -248,8 +248,8 @@ class _CategoryDisplayState extends RefreshableState<CategoryDisplayWidget> {
|
|||
tiles.add(progressIndicator());
|
||||
} else if (_subcategories.length == 0) {
|
||||
tiles.add(ListTile(
|
||||
title: Text("No Subcategories"),
|
||||
subtitle: Text("No subcategories available")
|
||||
title: Text(I18N.of(context).noSubcategories),
|
||||
subtitle: Text(I18N.of(context).noSubcategoriesAvailable)
|
||||
));
|
||||
} else {
|
||||
tiles.add(SubcategoryList(_subcategories));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue