From 4799bdbd4b385ac1ffb9b78b8cf25a17b89000bc Mon Sep 17 00:00:00 2001 From: Panos Thomas Date: Mon, 15 Sep 2014 05:39:12 -0700 Subject: Add locale paks and geolocation Chinese translations - Modify gyp to add locale paks in SWE standalone apk - Add Chinese strings for geolocation Change-Id: Ica4bf3939bba7a232bf5636168031632365c3211 --- res/values-zh-rCN/strings.xml | 13 ++++-- res/values-zh-rHK/strings.xml | 17 ++++--- res/values-zh-rTW/strings.xml | 17 ++++--- swe_android_browser.gypi | 101 +++++++++++++++++++++++++++++++++--------- 4 files changed, 115 insertions(+), 33 deletions(-) diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml index e308106c..db7fa89c 100644 --- a/res/values-zh-rCN/strings.xml +++ b/res/values-zh-rCN/strings.xml @@ -339,15 +339,22 @@ "MB 数据存储在您手机中" "正在加载视频..." "%s需要了解您的位置信息" - "共享位置信息" + "允许" + "24小时内允许" "拒绝" "记住偏好设置" "此网站可以获取您的位置信息。您可以在“设置”>“高级”>“网站设置”屏幕中更改此设置。" "此网站无法获取您的位置信息。您可以在“设置”>“高级”>“网站设置”屏幕中更改此设置。" - "取消获取位置信息的权限" + "编辑位置选项" "此网站目前可获取您的位置信息" "此网站目前不能获取您的位置信息" - "要取消此网站获取位置信息的权限吗?" + 编辑 %s 的位置策略 + + 总是拒绝 + 24小时内允许 + 总是允许 + 总是询问 + "确定" "取消" "全部清除" diff --git a/res/values-zh-rHK/strings.xml b/res/values-zh-rHK/strings.xml index 3f12b509..499a1ee0 100644 --- a/res/values-zh-rHK/strings.xml +++ b/res/values-zh-rHK/strings.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -336,15 +336,22 @@ "您手機的儲存空間使用量 (MB)" "正在載入影片..." "%s 想取得您的位置資訊" - "分享位置資訊" + "允許" + "24小時內允許" "拒絕" "記住偏好設定" "這個網站可以存取您的位置資訊,您可以前往 [設定] > [進階] > [網站] 畫面更改這項設定。" "這個網站無法存取您的位置資訊,您可以前往 [設定] -> [進階] -> [網站] 畫面更改這項設定。" - "清除位置資訊存取權" + "編輯位置選項" "此網站目前可以存取您的位置資訊" "這個網站目前無法存取您的位置資訊" - "清除這個網站的位置資訊存取權?" + 編輯 %s 的位置策略 + + 總是拒絕 + 24小時內允許 + 總是允許 + 總是詢問 + "確定" "取消" "全部清除" diff --git a/res/values-zh-rTW/strings.xml b/res/values-zh-rTW/strings.xml index bb3be030..1e7c5e05 100644 --- a/res/values-zh-rTW/strings.xml +++ b/res/values-zh-rTW/strings.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -325,15 +325,22 @@ "您手機的儲存空間使用量 (MB)" "正在載入影片…" "%s 想取得您的位置資訊" - "分享位置資訊" + "允許" + "24小時內允許" "拒絕" "記住偏好設定" "這個網站可以存取您的位置資訊,您可以前往 [設定] > [進階] > [網站] 畫面變更這項設定。" "這個網站無法存取您的位置資訊,您可以前往 [設定] > [進階] > [網站] 畫面變更這項設定。" - "清除位置資訊存取權" + "編輯位置選項" "此網站目前可以存取您的位置資訊" "這個網站目前無法存取您的位置資訊" - "清除這個網站的位置資訊存取權?" + 編輯 %s 的位置策略 + + 總是拒絕 + 24小時內允許 + 總是允許 + 總是詢問 + "確定" "取消" "全部清除" diff --git a/swe_android_browser.gypi b/swe_android_browser.gypi index 83751ecb..ee0ff203 100644 --- a/swe_android_browser.gypi +++ b/swe_android_browser.gypi @@ -5,6 +5,7 @@ 'type': 'none', 'dependencies': [ 'swe_engine_java', + 'swe_android_browser_paks', 'android-support-v13', '<@(libnetxt_dependencies)', '<@(libsweadrenoext_dependencies)', @@ -21,7 +22,9 @@ 'additional_native_libs': [ '<@(libnetxt_native_libs)', '<@(libsweadrenoext_native_libs)'], - 'additional_input_paths': ['<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak'], + 'additional_input_paths': [ + '