Tweak messaging in Connect

This commit is contained in:
Ming Ming 2022-11-27 15:26:04 +08:00
parent abfb13e7c6
commit 97cf688359
3 changed files with 17 additions and 2 deletions

View file

@ -206,13 +206,17 @@
}, },
"connectingToServer": "Connecting to\n{server}", "connectingToServer": "Connecting to\n{server}",
"@connectingToServer": { "@connectingToServer": {
"description": "Inform user that the app is connecting to a server", "description": "(deprecated, may be removed in the future) Inform user that the app is connecting to a server",
"placeholders": { "placeholders": {
"server": { "server": {
"example": "http://www.example.com" "example": "http://www.example.com"
} }
} }
}, },
"connectingToServer2": "Waiting for the server to authorize us",
"@connectingToServer2": {
"description": "Shown when the app is waiting for the user to sign in via an external browser"
},
"nameInputHint": "Name", "nameInputHint": "Name",
"@nameInputHint": { "@nameInputHint": {
"description": "Hint of the text field expecting name data" "description": "Hint of the text field expecting name data"

View file

@ -1,5 +1,6 @@
{ {
"cs": [ "cs": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -182,6 +183,7 @@
], ],
"de": [ "de": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -376,6 +378,7 @@
], ],
"el": [ "el": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -460,6 +463,7 @@
], ],
"es": [ "es": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsEnhanceMaxResolutionTitle2", "settingsEnhanceMaxResolutionTitle2",
"settingsSeedColorTitle", "settingsSeedColorTitle",
@ -470,6 +474,7 @@
], ],
"fi": [ "fi": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsSeedColorTitle", "settingsSeedColorTitle",
"settingsSeedColorDescription", "settingsSeedColorDescription",
@ -478,6 +483,7 @@
"fr": [ "fr": [
"collectionsTooltip", "collectionsTooltip",
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -581,6 +587,7 @@
], ],
"pl": [ "pl": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -702,6 +709,7 @@
], ],
"pt": [ "pt": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -802,6 +810,7 @@
], ],
"ru": [ "ru": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -902,6 +911,7 @@
], ],
"zh": [ "zh": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",
@ -1002,6 +1012,7 @@
], ],
"zh_Hant": [ "zh_Hant": [
"connectingToServer2",
"signInHeaderText2", "signInHeaderText2",
"settingsLanguageOptionSystemDefaultLabel", "settingsLanguageOptionSystemDefaultLabel",
"settingsExifWifiOnlyTitle", "settingsExifWifiOnlyTitle",

View file

@ -102,7 +102,7 @@ class _ConnectState extends State<Connect> {
const CloudProgressIndicator(size: 192), const CloudProgressIndicator(size: 192),
const SizedBox(height: 16), const SizedBox(height: 16),
Text( Text(
L10n.global().connectingToServer(widget.uri), L10n.global().connectingToServer2,
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: Theme.of(context).textTheme.titleLarge, style: Theme.of(context).textTheme.titleLarge,
) )