瀏覽代碼

1.插入USB新文案

huangxiaodong 1 年之前
父節點
當前提交
bcbf876fc8

+ 18 - 1
创维盒子/双子星云手机/CloudPlayer/View/USBInsertPopView.m

@@ -131,6 +131,23 @@
 //        }];
 //    }
     
+    NSString *bottomTip1Str = NSLocalizedString(@"disk_insertion_pop_tip3",nil);
+    UILabel *bottomTip1Lab = [[UILabel alloc] init];
+    bottomTip1Lab.text = bottomTip1Str;
+    bottomTip1Lab.textAlignment = NSTextAlignmentCenter;
+    bottomTip1Lab.numberOfLines = 0;
+    bottomTip1Lab.textColor = [UIColor hwColor:@"#151515" alpha:0.5];
+    //bottomTip1Lab.font = [UIFont boldSystemFontOfSize:12.0];
+    bottomTip1Lab.adjustsFontSizeToFitWidth = YES;
+    [_whiteBgView addSubview:bottomTip1Lab];
+    
+    [bottomTip1Lab mas_makeConstraints:^(MASConstraintMaker *make) {
+        make.height.mas_equalTo(15);
+        make.right.mas_equalTo(-15.f);
+        make.left.mas_equalTo(15.f);
+        make.top.mas_equalTo(animation.mas_bottom).offset(0.0);
+    }];
+    
     NSString *bottomTipStr = NSLocalizedString(@"disk_insertion_pop_tip2",nil);
     UILabel *bottomTipLab = [[UILabel alloc] init];
     bottomTipLab.text = bottomTipStr;
@@ -144,7 +161,7 @@
         make.height.mas_equalTo(50);
         make.right.mas_equalTo(-15.f);
         make.left.mas_equalTo(15.f);
-        make.top.mas_equalTo(animation.mas_bottom).offset(20.0);
+        make.top.mas_equalTo(bottomTip1Lab.mas_bottom).offset(10.0);
     }];
 
     UIButton *konwBut = [[UIButton alloc] init];

+ 2 - 1
创维盒子/双子星云手机/en.lproj/Localizable.strings

@@ -385,7 +385,7 @@
 "disk_insertion_tip"   = "Disk insertion";
 "disk_insertion_pop_title"   = "inserted";
 //"disk_insertion_pop_tip"   = "Please safely eject the USB drive from the file manager before removal to prevent disk damage and data loss";
-"disk_insertion_pop_tip"   = "Before removing the USB drive, please \"eject\" the external disk in the notification bar to avoid direct removal, which may cause disk damage and data loss";
+"disk_insertion_pop_tip"   = "Eject the external disk in CX File Manager before removing USB drive to prevent damage and data loss.";
 "disk_insertion_pop_tip_sub1" = "01 desktop";
 "disk_insertion_pop_tip_sub2" = "02 Files";
 "disk_insertion_pop_tip_sub3" = "03 Files setting";
@@ -393,6 +393,7 @@
 "save_path_change_suc_tip" = "Path change successful";
 "upload_task_not_done_tip" = "There is currently an upload task in progress, please try again later";
 "download_task_not_done_tip" = "There is currently a download task in progress, please try again later";
+"disk_insertion_pop_tip3"   = "Steps: Click CX File Manager → Long press USB drive icon → Settings → Eject";
 "disk_insertion_pop_tip2"   = "Reminder: Use brand-new 1TB+ drives, minimize unplugging to prevent damage.";
 "File_creat_def_path_error_tip"   = "Unable to create system default path";
 "netWork_error_tip_title" = "No network";

+ 2 - 1
创维盒子/双子星云手机/ja.lproj/Localizable.strings

@@ -384,7 +384,7 @@
 "disk_insertion_tip"   = "ディスク挿入";
 "disk_insertion_pop_title"   = "挿入済み";
 //"disk_insertion_pop_tip"   = "USBディスクを削除する前に、ファイルマネージャで「安全にポップアップ」して、ディスクの損傷やデータ損失の原因となる直接的な抜き取りを回避してください";
-"disk_insertion_pop_tip"   = "USBディスクを削除する前に、通知バーの「イジェクト」でディスクを直接引き抜かないでください。ディスク障害とデータ損失の原因になります";
+"disk_insertion_pop_tip"   = "USBドライブを取り外す前にCXファイルマネージャーで外部ディスクを「取り外す」し、損傷やデータ損失を防ぐ";
 "disk_insertion_pop_tip_sub1" = "01デスクトップ";
 "disk_insertion_pop_tip_sub2" = "02ファイル";
 "disk_insertion_pop_tip_sub3" = "03設定";
@@ -392,6 +392,7 @@
 "save_path_change_suc_tip" = "パス変更は成功しました";
 "upload_task_not_done_tip" = "現在アップロードタスクが進行中ですので、後で操作してください";
 "download_task_not_done_tip" = "現在ダウンロードタスクが進行中ですので、後で操作してください";
+"disk_insertion_pop_tip3"   = "手順:CXファイルマネージャーをクリック→USBドライブアイコンを長押し→設定→取り外す";
 "disk_insertion_pop_tip2"   = "注意:1TB以上の新ディスクを使用し、不要な挿入/拔出を減らしてください。";
 "File_creat_def_path_error_tip"   = "システムのデフォルトパスを作成できません";
 "netWork_error_tip_title" = "ネットワークなし";

File diff suppressed because it is too large
+ 1 - 1
创维盒子/双子星云手机/resources/usbInsertAnimation.json


+ 2 - 1
创维盒子/双子星云手机/zh-Hans.lproj/Localizable.strings

@@ -384,7 +384,7 @@
 "disk_insertion_tip"   = "磁盘插入";
 "disk_insertion_pop_title"   = "已插入";
 //"disk_insertion_pop_tip"   = "在移除U盘之前,请在文件管理器“安全弹出”\n避免直接拔出,造成磁盘损害和数据丢失";
-"disk_insertion_pop_tip"   = "在移除U盘之前,请在通知栏“弹出”外挂磁盘避免直接拔出,造成磁盘损害和数据丢失";
+"disk_insertion_pop_tip"   = "在移除U盘之前,请在CX文件管理器“弹出”外挂磁盘,避免直接拔出造成磁盘损害和数据丢失";
 "disk_insertion_pop_tip_sub1" = "01桌面";
 "disk_insertion_pop_tip_sub2" = "02文件管理";
 "disk_insertion_pop_tip_sub3" = "03文件设置";
@@ -392,6 +392,7 @@
 "save_path_change_suc_tip" = "路径更改已成功";
 "upload_task_not_done_tip" = "目前有上传任务正在进行中,请稍后再操作";
 "download_task_not_done_tip" = "目前有下载任务正在进行中,请稍后再操作";
+"disk_insertion_pop_tip3"   = "步骤:点击CX文件管理器→长按U盘图标→点击设置→点击弹出";
 "disk_insertion_pop_tip2"   = "温馨提示:1T及以上规格建议使用全新磁盘。使用过程中尽量减少不必要的拔插操作,以防磁盘受损!!!";
 "File_creat_def_path_error_tip"   = "不可创建操作系统默认路径";
 "netWork_error_tip_title" = "无网络";

+ 2 - 1
创维盒子/双子星云手机/zh-Hant.lproj/Localizable.strings

@@ -384,7 +384,7 @@
 "disk_insertion_tip"   = "磁碟插入";
 "disk_insertion_pop_title"   = "已插入";
 //"disk_insertion_pop_tip"   = "在移除USB之前,請在檔案總管「安全彈出」 避免直接拔出,造成磁碟損害和資料遺失";
-"disk_insertion_pop_tip"   = "在移除U盤之前,請在通知欄“彈出”外掛磁片避免直接拔出,造成磁片損害和資料丟失";
+"disk_insertion_pop_tip"   = "在移除U盤之前,請在CX檔案管理器中「彈出」外接磁盤,避免直接拔出造成磁盤損壞和資料丟失";
 "disk_insertion_pop_tip_sub1" = "01案頭";
 "disk_insertion_pop_tip_sub2" = "02文件管理";
 "disk_insertion_pop_tip_sub3" = "03檔案設定";
@@ -392,6 +392,7 @@
 "save_path_change_suc_tip" = "路徑更改已成功";
 "upload_task_not_done_tip" = "目前有上傳任務正在進行中,請稍後再操作";
 "download_task_not_done_tip" = "目前有下載任務正在進行中,請稍後再操作";
+"disk_insertion_pop_tip3"   = "步驟:點擊CX檔案管理器→長按U盤圖示→點擊設定→點擊彈出";
 "disk_insertion_pop_tip2"   = "溫馨提示:建議使用全新1T或以上規格的磁盤。使用過程中請盡量減少不必要的插拔操作,以防磁盤受損!!!";
 "File_creat_def_path_error_tip"   = "不可建立作業系統預設路徑";
 "netWork_error_tip_title" = "無網絡";