浏览代码

change Localized String

Marino Faggiana 8 年之前
父节点
当前提交
ba713aff6b
共有 2 个文件被更改,包括 5 次插入3 次删除
  1. 1 1
      iOSClient/Favorites/CCFavorites.m
  2. 4 2
      iOSClient/Supporting Files/en.lproj/Localizable.strings

+ 1 - 1
iOSClient/Favorites/CCFavorites.m

@@ -140,7 +140,7 @@
 
 - (NSAttributedString *)titleForEmptyDataSet:(UIScrollView *)scrollView
 {
-    NSString *text = [NSString stringWithFormat:@"%@", NSLocalizedString(@"_files_no_files_", nil)];
+    NSString *text = [NSString stringWithFormat:@"%@", NSLocalizedString(@"_favorite_no_files_", nil)];
     
     NSDictionary *attributes = @{NSFontAttributeName:[UIFont boldSystemFontOfSize:20.0f], NSForegroundColorAttributeName:[UIColor lightGrayColor]};
     

+ 4 - 2
iOSClient/Supporting Files/en.lproj/Localizable.strings

@@ -215,7 +215,7 @@
 "_title_form_security_init_"    = "Security options";
 "_login_bottom_label_"          = "Don't have a server yet?\nChoose one of the providers.";
 
-// offline
+// Favorite
 
 "_favorites_"                   = "Favorites";
 "_offline_"                     = "Offline";
@@ -226,6 +226,8 @@
 "_tutorial_offline_view_"       = "Copy here the files that should be available offline.\n\nThey will be synchronized with your cloud.";
 "_tutorial_local_view_"         = "You'll find the unpacked files from your cloud.\n\nConnect to iTunes to share these files.";
 "_more_"                        = "More";
+"_favorite_no_files_"           = "No favorites yet";
+
 
 // Camera Upload
 
@@ -393,7 +395,7 @@
 "_search_no_record_found_"      = "No result";
 "_search_in_progress_"          = "Search in progress...";
 "_search_instruction_"          = "Search a file (minimum 2 characters)";
-"_files_no_files_"              = "No favorites yet";
+"_files_no_files_"              = "No files in here";
 
 "audio"                         = "AUDIO";
 "compress"                      = "COMPRESS";