new: setup translations
This commit is contained in:
+8
-8
@@ -32,7 +32,7 @@ export component LoginScreen inherits Rectangle {
|
||||
spacing: 6px;
|
||||
|
||||
Text {
|
||||
text: "Welcome back!";
|
||||
text: @tr("Welcome back!");
|
||||
color: Theme.text-header;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
@@ -40,7 +40,7 @@ export component LoginScreen inherits Rectangle {
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "Sign in with your Matrix account";
|
||||
text: @tr("Sign in with your Matrix account");
|
||||
color: Theme.text-muted;
|
||||
font-size: 15px;
|
||||
horizontal-alignment: center;
|
||||
@@ -51,14 +51,14 @@ export component LoginScreen inherits Rectangle {
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "HOMESERVER";
|
||||
text: @tr("HOMESERVER");
|
||||
color: Theme.text-muted;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
TextField {
|
||||
placeholder: "matrix.org";
|
||||
placeholder: @tr("matrix.org");
|
||||
text <=> root.homeserver;
|
||||
}
|
||||
|
||||
@@ -67,14 +67,14 @@ export component LoginScreen inherits Rectangle {
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "USERNAME";
|
||||
text: @tr("USERNAME");
|
||||
color: Theme.text-muted;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
TextField {
|
||||
placeholder: "user (or @user:matrix.org)";
|
||||
placeholder: @tr("user (or @user:matrix.org)");
|
||||
text <=> root.username;
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ export component LoginScreen inherits Rectangle {
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "PASSWORD";
|
||||
text: @tr("PASSWORD");
|
||||
color: Theme.text-muted;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
@@ -112,7 +112,7 @@ export component LoginScreen inherits Rectangle {
|
||||
border-radius: 4px;
|
||||
background: root.busy ? Theme.accent-hover : (login-touch.has-hover ? Theme.accent-hover : Theme.accent);
|
||||
Text {
|
||||
text: root.busy ? "Signing in…" : "Log In";
|
||||
text: root.busy ? @tr("Signing in…") : @tr("Log In");
|
||||
color: white;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
|
||||
Reference in New Issue
Block a user