Migrate more strings to translation keys (#11613)

This commit is contained in:
Michael Telatynski 2023-09-19 17:16:38 +01:00 committed by GitHub
parent d46d4b3d04
commit 5cb8cbd893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
111 changed files with 8214 additions and 6766 deletions

View file

@ -21,6 +21,6 @@ export default class RustCryptoSdkController extends SettingController {
public get settingDisabled(): boolean | string {
// Currently this can only be changed via config.json. In future, we'll allow the user to *enable* this setting
// via labs, which will migrate their existing device to the rust-sdk implementation.
return _t("Can currently only be enabled via config.json");
return _t("labs|rust_crypto_disabled_notice");
}
}

View file

@ -36,7 +36,7 @@ export default class SlidingSyncController extends SettingController {
public get settingDisabled(): boolean | string {
// Cannot be disabled once enabled, user has been warned and must log out and back in.
if (SettingsStore.getValue("feature_sliding_sync")) {
return _t("Log out and back in to disable");
return _t("labs|sliding_sync_disabled_notice");
}
return false;