Explorar o código

1.多国语言适配

huangxiaodong hai 7 horas
pai
achega
b5e0da27a6

+ 3 - 3
创维盒子/code/NAS/NasPreviewAPPViewController.m

@@ -1442,10 +1442,10 @@
     
     NSString *titleStr = NSLocalizedString(@"alert_install_TV_title",nil);
     NSString *tipStr1 = NSLocalizedString(@"alert_install_TV_msg_1",nil);
-    NSString *tipStr2 = NSLocalizedString(@"alert_install_TV_msg_2",nil);
-    NSString *tipStr3 = NSLocalizedString(@"alert_install_TV_msg_3",nil);
+//    NSString *tipStr2 = NSLocalizedString(@"alert_install_TV_msg_2",nil);
+//    NSString *tipStr3 = NSLocalizedString(@"alert_install_TV_msg_3",nil);
 
-    NSString * tipStr = [[NSString alloc] initWithFormat:@"%@%ld%@%ld%@",tipStr1,selectNum,tipStr2,selectNum*15,tipStr3];
+    NSString * tipStr = tipStr1;//[[NSString alloc] initWithFormat:@"%@%ld%@%ld%@",tipStr1,selectNum,tipStr2,selectNum*15,tipStr3];
     
     KWeakSelf
     ComontAlretViewController *curAlretVC= [[ComontAlretViewController alloc] initWithTiTle:titleStr

+ 25 - 0
创维盒子/code/en.lproj/Localizable.strings

@@ -666,3 +666,28 @@
 "Heartbeat_box_restarting_phone" = "Restarting the cloud phone...";
 "Heartbeat_box_restarting_phone_tip" = "The cloud phone restart is expected to take 90 seconds. Please try again later.";
 "Heartbeat_box_restart_Suc_phone" = "The cloud phone restart was successful";
+
+//1.4.5
+"Search_nas_title"      = "search";
+"Search_bar_tip"      = "Enter the file name to be queried";
+"Search_Total_result"      = "search result";
+"Search_nodata_tip"      = "No search results yet~";
+"cloudPhone_restart_box_title"      = "Restart box";
+"cloudPhone_restart_box_tip"      = "Are you sure you want to restart the device?";
+"cloudPhone_restart_box_msg"      = "Functions will be temporarily unavailable during the device restart.";
+"cloudPhone_restarting_box_title"      = "Box is restarting…";
+"cloudPhone_restarting_box_msg"      = "Restarting the device is expected to take 5 minutes";
+"nas_app_title"      = "app";
+"nas_did_install_app_title"      = "Installed app";
+"nas_un_install_app_title"      = "Uninstalled app";
+"nas_install_To_TV_suc_tip"      = "installed successfully";
+"nas_install_To_TV_fail_tip"      = "Installation failed";
+"nas_install_To_TV_task_ok"      = "Installation task has been dispatched";
+"edit_install_TV_title"      = "Install to TV";
+"alert_install_TV_title"      = "Confirm to install the selected app to the TV?";
+"alert_install_TV_msg_1"      = "After successful installation, you can view it in 'TV - My - My Apps'. This installation is expected to take 15 seconds.";
+//"alert_install_TV_msg_2"      = "个文件预计需要";
+//"alert_install_TV_msg_3"      = "秒。";
+"audio_not_Cache_Tip"      = "This audio is not cached and cannot be listened to offline. Please connect to the network and try again.";
+"Heartbeat_box_restart_Suc_Box" = "Device restarted successfully";
+

+ 4 - 3
创维盒子/code/zh-Hans.lproj/Localizable.strings

@@ -680,8 +680,9 @@
 "nas_install_To_TV_task_ok"      = "安装任务已下发";
 "edit_install_TV_title"      = "安装到TV";
 "alert_install_TV_title"      = "确认将选中应用安装到TV?";
-"alert_install_TV_msg_1"      = "安装成功后可以到“TV-我的-我的应用”查看,本次安装";
-"alert_install_TV_msg_2"      = "个文件预计需要";
-"alert_install_TV_msg_3"      = "秒。";
+"alert_install_TV_msg_1"      = "安装成功后可以到“TV-我的-我的应用”查看,本次安装1个文件预计需要15秒。";
+//"alert_install_TV_msg_1"      = "安装成功后可以到“TV-我的-我的应用”查看,本次安装";
+//"alert_install_TV_msg_2"      = "个文件预计需要";
+//"alert_install_TV_msg_3"      = "秒。";
 "audio_not_Cache_Tip"      = "这首音频未缓存不能离线听,\n请连接网络后重试。";
 "Heartbeat_box_restart_Suc_Box" = "设备重启成功";

+ 25 - 0
创维盒子/code/zh-Hant.lproj/Localizable.strings

@@ -665,3 +665,28 @@
 "Heartbeat_box_restarting_phone" = "雲手機重啓中…";
 "Heartbeat_box_restarting_phone_tip" = "雲手機重啓預計需要90秒,請稍後重試。";
 "Heartbeat_box_restart_Suc_phone" = "雲手機重啓成功";
+
+//1.4.5
+"Search_nas_title"      = "搜索";
+"Search_bar_tip"      = "輸入要査詢的檔案名稱";
+"Search_Total_result"      = "搜索結果";
+"Search_nodata_tip"      = "暫無搜索結果~";
+"cloudPhone_restart_box_title"      = "重啓盒子";
+"cloudPhone_restart_box_tip"      = "你確定要重啓盒子?";
+"cloudPhone_restart_box_msg"      = "重啓設備過程中功能將暫時無法使用?";
+"cloudPhone_restarting_box_title"      = "盒子重啓中...";
+"cloudPhone_restarting_box_msg"      = "重啓設備預計需要5分鐘";
+"nas_app_title"      = "應用";
+"nas_did_install_app_title"      = "已安裝應用";
+"nas_un_install_app_title"      = "未安裝應用";
+"nas_install_To_TV_suc_tip"      = "安裝成功";
+"nas_install_To_TV_fail_tip"      = "安裝失敗";
+"nas_install_To_TV_task_ok"      = "安裝任務已下發";
+"edit_install_TV_title"      = "安裝到TV";
+"alert_install_TV_title"      = "確認將選中應用安裝到TV?";
+"alert_install_TV_msg_1"      = "安裝成功後可以到“TV-我的-我的應用”查看,本次安裝1個文件預計需要15秒。";
+//"alert_install_TV_msg_1"      = "安裝成功後可以到“TV-我的-我的應用”查看,本次安裝";
+//"alert_install_TV_msg_2"      = "個檔案預計需要";
+//"alert_install_TV_msg_3"      = "秒。";
+"audio_not_Cache_Tip"      = "這首音訊未緩存不能離線聽,\n請連接網絡後重。";
+"Heartbeat_box_restart_Suc_Box" = "設備重啓成功";

+ 2 - 2
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -6226,7 +6226,7 @@
 				CODE_SIGN_ENTITLEMENTS = "隐私保护.entitlements";
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 5;
+				CURRENT_PROJECT_VERSION = 6;
 				DEVELOPMENT_TEAM = 6SV76WTUUR;
 				FRAMEWORK_SEARCH_PATHS = (
 					"$(inherited)",
@@ -6305,7 +6305,7 @@
 				CODE_SIGN_ENTITLEMENTS = "隐私保护.entitlements";
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 5;
+				CURRENT_PROJECT_VERSION = 6;
 				DEVELOPMENT_TEAM = 6SV76WTUUR;
 				FRAMEWORK_SEARCH_PATHS = (
 					"$(inherited)",