2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 13:36:50 +00:00

I18N updates

This commit is contained in:
Oliver Walters 2021-02-08 21:28:16 +11:00
parent e8a88997b4
commit 7fe1b32bf6

View File

@ -93,24 +93,26 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
fields: <Widget> [
StringField(
label: I18N.of(context).name,
initial: "profile",
hint: "Enter profile name",
onSaved: (value) => _name = value,
validator: _validateProfileName,
),
StringField(
label: "Server",
label: I18N.of(context).server,
initial: "http://127.0.0.1:8000",
hint: "http[s]://<server>:<port>",
validator: _validateServer,
onSaved: (value) => _server = value,
),
StringField(
label: "Username",
label: I18N.of(context).username,
hint: "Enter username",
onSaved: (value) => _username = value,
validator: _validateUsername,
),
StringField(
label: "Password",
label: I18N.of(context).password,
hint: "Enter password",
onSaved: (value) => _password = value,
validator: _validatePassword,
)