From e31b04b6a7dd0a914badb33ee16671f19c8441eb Mon Sep 17 00:00:00 2001 From: fufesou <13586388+fufesou@users.noreply.github.com> Date: Wed, 16 Jul 2025 09:25:47 +0800 Subject: [PATCH] fix: new translation message (#12312) Signed-off-by: fufesou --- src/lang/ar.rs | 2 +- src/lang/be.rs | 2 +- src/lang/bg.rs | 2 +- src/lang/ca.rs | 2 +- src/lang/cn.rs | 2 +- src/lang/cs.rs | 2 +- src/lang/da.rs | 2 +- src/lang/de.rs | 2 +- src/lang/el.rs | 2 +- src/lang/eo.rs | 2 +- src/lang/es.rs | 2 +- src/lang/et.rs | 2 +- src/lang/eu.rs | 2 +- src/lang/fa.rs | 2 +- src/lang/fr.rs | 2 +- src/lang/ge.rs | 2 +- src/lang/he.rs | 2 +- src/lang/hr.rs | 2 +- src/lang/hu.rs | 2 +- src/lang/id.rs | 2 +- src/lang/it.rs | 2 +- src/lang/ja.rs | 2 +- src/lang/ko.rs | 2 +- src/lang/kz.rs | 2 +- src/lang/lt.rs | 2 +- src/lang/lv.rs | 2 +- src/lang/nb.rs | 2 +- src/lang/nl.rs | 2 +- src/lang/pl.rs | 2 +- src/lang/pt_PT.rs | 2 +- src/lang/ptbr.rs | 2 +- src/lang/ro.rs | 2 +- src/lang/ru.rs | 2 +- src/lang/sc.rs | 2 +- src/lang/sk.rs | 2 +- src/lang/sl.rs | 2 +- src/lang/sq.rs | 2 +- src/lang/sr.rs | 2 +- src/lang/sv.rs | 2 +- src/lang/ta.rs | 2 +- src/lang/template.rs | 2 +- src/lang/th.rs | 2 +- src/lang/tr.rs | 2 +- src/lang/tw.rs | 2 +- src/lang/uk.rs | 2 +- src/lang/vi.rs | 2 +- src/server/connection.rs | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-) diff --git a/src/lang/ar.rs b/src/lang/ar.rs index 0560b1fb5..66fbb9533 100644 --- a/src/lang/ar.rs +++ b/src/lang/ar.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/be.rs b/src/lang/be.rs index d8973788c..22a9c3ced 100644 --- a/src/lang/be.rs +++ b/src/lang/be.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/bg.rs b/src/lang/bg.rs index 9863ac753..f4d71f280 100644 --- a/src/lang/bg.rs +++ b/src/lang/bg.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ca.rs b/src/lang/ca.rs index 9b0c94da3..125b1c77d 100644 --- a/src/lang/ca.rs +++ b/src/lang/ca.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/cn.rs b/src/lang/cn.rs index 01b4f8ed8..2d4e0ee2c 100644 --- a/src/lang/cn.rs +++ b/src/lang/cn.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", "用户名或密码不正确。"), ("The user is not an administrator.", "用户不是管理员。"), ("Failed to check if the user is an administrator.", "检查用户是否为管理员时出错。"), - ("Supported only by the installation version.", "仅安装版本支持。"), + ("Supported only in the installed version.", "仅在以安装版本受支持。"), ].iter().cloned().collect(); } diff --git a/src/lang/cs.rs b/src/lang/cs.rs index 6faeed3c3..dfe66bb5b 100644 --- a/src/lang/cs.rs +++ b/src/lang/cs.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/da.rs b/src/lang/da.rs index 24ecd2eb8..c09f54260 100644 --- a/src/lang/da.rs +++ b/src/lang/da.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/de.rs b/src/lang/de.rs index 73ea17877..5d92a7a87 100644 --- a/src/lang/de.rs +++ b/src/lang/de.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/el.rs b/src/lang/el.rs index c96e3f3af..0404661a5 100644 --- a/src/lang/el.rs +++ b/src/lang/el.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/eo.rs b/src/lang/eo.rs index b64926a72..f6ddf2fcf 100644 --- a/src/lang/eo.rs +++ b/src/lang/eo.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/es.rs b/src/lang/es.rs index 7ef10e4b5..9f93854be 100644 --- a/src/lang/es.rs +++ b/src/lang/es.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/et.rs b/src/lang/et.rs index bf6713833..b5ba08928 100644 --- a/src/lang/et.rs +++ b/src/lang/et.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/eu.rs b/src/lang/eu.rs index 4309202db..1ad0466f9 100644 --- a/src/lang/eu.rs +++ b/src/lang/eu.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fa.rs b/src/lang/fa.rs index 9cd27927c..18eeded8e 100644 --- a/src/lang/fa.rs +++ b/src/lang/fa.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/fr.rs b/src/lang/fr.rs index 7fbe290e3..ea6dea545 100644 --- a/src/lang/fr.rs +++ b/src/lang/fr.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ge.rs b/src/lang/ge.rs index f9fb90d06..2f227bbf9 100644 --- a/src/lang/ge.rs +++ b/src/lang/ge.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/he.rs b/src/lang/he.rs index c8254a324..20f0daf4a 100644 --- a/src/lang/he.rs +++ b/src/lang/he.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hr.rs b/src/lang/hr.rs index 7063d3bda..9f1aeecab 100644 --- a/src/lang/hr.rs +++ b/src/lang/hr.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/hu.rs b/src/lang/hu.rs index e88a4f59c..974f85831 100644 --- a/src/lang/hu.rs +++ b/src/lang/hu.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/id.rs b/src/lang/id.rs index dde9c5d25..75d69f777 100644 --- a/src/lang/id.rs +++ b/src/lang/id.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/it.rs b/src/lang/it.rs index c9ebbcd87..629079914 100644 --- a/src/lang/it.rs +++ b/src/lang/it.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ja.rs b/src/lang/ja.rs index 534b448e2..d6693564f 100644 --- a/src/lang/ja.rs +++ b/src/lang/ja.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ko.rs b/src/lang/ko.rs index 1ad948d5e..e9b034eb7 100644 --- a/src/lang/ko.rs +++ b/src/lang/ko.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/kz.rs b/src/lang/kz.rs index e0377af51..b7edc4565 100644 --- a/src/lang/kz.rs +++ b/src/lang/kz.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lt.rs b/src/lang/lt.rs index 963e8d48d..4911c75de 100644 --- a/src/lang/lt.rs +++ b/src/lang/lt.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/lv.rs b/src/lang/lv.rs index d3f04a74a..268559057 100644 --- a/src/lang/lv.rs +++ b/src/lang/lv.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nb.rs b/src/lang/nb.rs index 40c751283..d10c671dd 100644 --- a/src/lang/nb.rs +++ b/src/lang/nb.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/nl.rs b/src/lang/nl.rs index 8eef85b53..ec2cb3871 100644 --- a/src/lang/nl.rs +++ b/src/lang/nl.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pl.rs b/src/lang/pl.rs index 1f5432fb0..619a89100 100644 --- a/src/lang/pl.rs +++ b/src/lang/pl.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/pt_PT.rs b/src/lang/pt_PT.rs index 342656a65..f8fe45d34 100644 --- a/src/lang/pt_PT.rs +++ b/src/lang/pt_PT.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ptbr.rs b/src/lang/ptbr.rs index e8ed440ac..5257dd7f4 100644 --- a/src/lang/ptbr.rs +++ b/src/lang/ptbr.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ro.rs b/src/lang/ro.rs index adbc5c24f..b1fd7340d 100644 --- a/src/lang/ro.rs +++ b/src/lang/ro.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ru.rs b/src/lang/ru.rs index cea299b15..cf51cbaa7 100644 --- a/src/lang/ru.rs +++ b/src/lang/ru.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sc.rs b/src/lang/sc.rs index 5405e8d42..8067c66ac 100644 --- a/src/lang/sc.rs +++ b/src/lang/sc.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sk.rs b/src/lang/sk.rs index 25abf15d5..6a093d924 100644 --- a/src/lang/sk.rs +++ b/src/lang/sk.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sl.rs b/src/lang/sl.rs index b4ff93c54..592369322 100755 --- a/src/lang/sl.rs +++ b/src/lang/sl.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sq.rs b/src/lang/sq.rs index 60bca13c5..f01b913f6 100644 --- a/src/lang/sq.rs +++ b/src/lang/sq.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sr.rs b/src/lang/sr.rs index 5b7cde1ac..20fb6f5ee 100644 --- a/src/lang/sr.rs +++ b/src/lang/sr.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/sv.rs b/src/lang/sv.rs index a15047463..fe8589b56 100644 --- a/src/lang/sv.rs +++ b/src/lang/sv.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/ta.rs b/src/lang/ta.rs index 6ae5d833f..266dcf94f 100644 --- a/src/lang/ta.rs +++ b/src/lang/ta.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/template.rs b/src/lang/template.rs index c9ff2f20e..5302d208c 100644 --- a/src/lang/template.rs +++ b/src/lang/template.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/th.rs b/src/lang/th.rs index 9d0c46809..919a6d54c 100644 --- a/src/lang/th.rs +++ b/src/lang/th.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tr.rs b/src/lang/tr.rs index 2fbcf78f9..19b7a4c60 100644 --- a/src/lang/tr.rs +++ b/src/lang/tr.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/tw.rs b/src/lang/tw.rs index bd23f3709..55da035bb 100644 --- a/src/lang/tw.rs +++ b/src/lang/tw.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/uk.rs b/src/lang/uk.rs index a8aa6bd42..b00378578 100644 --- a/src/lang/uk.rs +++ b/src/lang/uk.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/lang/vi.rs b/src/lang/vi.rs index 10690ef27..44707f64b 100644 --- a/src/lang/vi.rs +++ b/src/lang/vi.rs @@ -709,6 +709,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> = ("Incorrect username or password.", ""), ("The user is not an administrator.", ""), ("Failed to check if the user is an administrator.", ""), - ("Supported only by the installation version.", ""), + ("Supported only in the installed version.", ""), ].iter().cloned().collect(); } diff --git a/src/server/connection.rs b/src/server/connection.rs index eedb77995..7da629508 100644 --- a/src/server/connection.rs +++ b/src/server/connection.rs @@ -1969,7 +1969,7 @@ impl Connection { } #[cfg(target_os = "windows")] if !lr.os_login.username.is_empty() && !crate::platform::is_installed() { - self.send_login_error("Supported only by the installation version.") + self.send_login_error("Supported only in the installed version.") .await; sleep(1.).await; return false;