소스 검색

dev schema nextcloud

marinofaggiana 6 년 전
부모
커밋
d7bc067152
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      iOSClient/AppDelegate.m
  2. 1 0
      iOSClient/Supporting Files/en.lproj/Localizable.strings

+ 2 - 1
iOSClient/AppDelegate.m

@@ -1588,7 +1588,8 @@ PKPushRegistry *pushRegistry;
                 } else {
                     
                     NSString *domain = [[NSURL URLWithString:link] host];
-                    NSString *message = [NSString stringWithFormat:NSLocalizedString(@"_account_not_available_", nil), user];
+                    NSString *fileName = [path lastPathComponent];
+                    NSString *message = [NSString stringWithFormat:NSLocalizedString(@"_account_not_available_", nil), user, domain, fileName];
                     
                     UIAlertController *alertController = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"_info_", nil) message:message preferredStyle:UIAlertControllerStyleAlert];
                     UIAlertAction *okAction = [UIAlertAction actionWithTitle:NSLocalizedString(@"_ok_", nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {}];

+ 1 - 0
iOSClient/Supporting Files/en.lproj/Localizable.strings

@@ -101,6 +101,7 @@
 "_denied_camera_"           = "This app does not have access to \"Camera\", you can enable access in Privacy Settings";
 "_start_"                   = "Start";
 "_purchase_"                = "Purchase";
+"_account_not_available_"   = "The user %@ on server %@ do not exists, please add it to be able to read the file %@";
 
 // App