MESSENGER-3304 string in separate files

This commit is contained in:
Frank Rotermund
2022-09-19 11:53:45 +02:00
parent 84ccb9378d
commit 226e55caf7
91 changed files with 2975 additions and 1342 deletions
@@ -2614,11 +2614,11 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
if( BwiBuildSettings.bwiCheckAppVersion && appVersionsService.isCurrentAppVersionDeprecated ) {
MXWeakify(self);
UIAlertController *errorAlert = [UIAlertController alertControllerWithTitle:[VectorL10n bwiOutdatedVersionWarningTitle]
message:[VectorL10n bwiDeprecatedVersionWarningMessage]
UIAlertController *errorAlert = [UIAlertController alertControllerWithTitle:[BWIL10n bwiOutdatedVersionWarningTitle]
message:[BWIL10n bwiDeprecatedVersionWarningMessage]
preferredStyle:UIAlertControllerStyleAlert];
[errorAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n bwiDeprecatedVersionAppstoreButton]
[errorAlert addAction:[UIAlertAction actionWithTitle:[BWIL10n bwiDeprecatedVersionAppstoreButton]
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
[self logout];
@@ -2628,7 +2628,7 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
self->currentAlert = nil;
}]];
[errorAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n bwiOutdatedVersionLogoutButton]
[errorAlert addAction:[UIAlertAction actionWithTitle:[BWIL10n bwiOutdatedVersionLogoutButton]
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
[self logout];
@@ -2642,11 +2642,11 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
ValidAppVersionsDefaultService *appVersionsService = [[ValidAppVersionsDefaultService alloc] init];
if (BwiBuildSettings.bwiCheckAppVersion && appVersionsService.isCurrentAppVersionOutdated && !appVersionsService.wasOutdatedAlertShown) {
MXWeakify(self);
UIAlertController *errorAlert = [UIAlertController alertControllerWithTitle:[VectorL10n bwiOutdatedVersionWarningTitle]
message:[VectorL10n bwiOutdatedVersionWarningMessage:AppInfo.current.displayName]
UIAlertController *errorAlert = [UIAlertController alertControllerWithTitle:[BWIL10n bwiOutdatedVersionWarningTitle]
message:[BWIL10n bwiOutdatedVersionWarningMessage:AppInfo.current.displayName]
preferredStyle:UIAlertControllerStyleAlert];
[errorAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n bwiOutdatedVersionAppstoreButton]
[errorAlert addAction:[UIAlertAction actionWithTitle:[BWIL10n bwiOutdatedVersionAppstoreButton]
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
@@ -2657,7 +2657,7 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
self->currentAlert = nil;
}]];
[errorAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n bwiOutdatedVersionLogoutButton]
[errorAlert addAction:[UIAlertAction actionWithTitle:[BWIL10n bwiOutdatedVersionLogoutButton]
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
[appVersionsService setOutdatedAlertShown:true];