mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06: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
|
|
@ -410,7 +410,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
|||
ListTile(
|
||||
title: Text(I18N.of(context).stockLocation),
|
||||
leading: FaIcon(FontAwesomeIcons.mapMarkerAlt),
|
||||
subtitle: Text("No location set"),
|
||||
subtitle: Text(I18N.of(context).locationNotSet),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
@ -508,14 +508,14 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
|||
if (!InvenTreeAPI().checkPermission('stock', 'change')) {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text("Permission Required"),
|
||||
title: Text(I18N.of(context).permissionRequired),
|
||||
leading: FaIcon(FontAwesomeIcons.userTimes)
|
||||
)
|
||||
);
|
||||
|
||||
tiles.add(
|
||||
ListTile(
|
||||
subtitle: Text("Your account does not have permission to perform stock adjustments"),
|
||||
subtitle: Text(I18N.of(context).permissionAccountDenied),
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue