mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06:24 +00:00
Make a bunch o' strings translateable
This commit is contained in:
parent
ff879bd14b
commit
32fd8efddc
11 changed files with 88 additions and 79 deletions
|
|
@ -3,7 +3,7 @@ import 'package:InvenTree/inventree/stock.dart';
|
|||
import 'package:InvenTree/widget/refreshable_state.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
// InvenTree packages
|
||||
import 'package:InvenTree/api.dart';
|
||||
import 'package:InvenTree/inventree/part.dart';
|
||||
|
|
@ -27,7 +27,7 @@ class PartStockDetailWidget extends StatefulWidget {
|
|||
class _PartStockDisplayState extends RefreshableState<PartStockDetailWidget> {
|
||||
|
||||
@override
|
||||
String getAppBarTitle(BuildContext context) { return "Part Stock"; }
|
||||
String getAppBarTitle(BuildContext context) => I18N.of(context).partStock;
|
||||
|
||||
_PartStockDisplayState(this.part) {
|
||||
// TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue