mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
I18N updates
This commit is contained in:
parent
e8a88997b4
commit
7fe1b32bf6
@ -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,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user