!380 修改overlay数据目录

Merge pull request !380 from sunyaozu/master
This commit is contained in:
openharmony_ci 2023-03-28 12:07:46 +00:00 committed by Gitee
commit 63bc1c4c2b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 4 additions and 4 deletions

View File

@ -228,7 +228,7 @@ ohos_prebuilt_etc("root_timezone_xml") {
}
ohos_prebuilt_etc("timezones_xml") {
source = "//base/global/i18n/frameworks/intl/etc/timezone/timezones.xml"
source = "//base/global/i18n/frameworks/intl/etc/timezone/ohos_timezones.xml"
module_install_dir = "usr/ohos_timezone/"
part_name = "i18n"
subsystem_name = "global"

View File

@ -44,11 +44,11 @@ using namespace OHOS::HiviewDFX;
const char *I18nTimeZone::TIMEZONE_KEY = "persist.time.timezone";
const char *I18nTimeZone::DEFAULT_TIMEZONE = "GMT";
const char *I18nTimeZone::CITY_TIMEZONE_DATA_PATH = "/system/usr/ohos_timezone/timezones.xml";
const char *I18nTimeZone::DEVICE_CITY_TIMEZONE_DATA_PATH = "/vendor/etc/device_timezone/timezones.xml";
const char *I18nTimeZone::CITY_TIMEZONE_DATA_PATH = "/system/usr/ohos_timezone/ohos_timezones.xml";
const char *I18nTimeZone::DEVICE_CITY_TIMEZONE_DATA_PATH = "/system/usr/ohos_timezone/device_timezones.xml";
const char *I18nTimeZone::DEFAULT_LOCALE = "root";
const char *I18nTimeZone::CITY_DISPLAYNAME_PATH = "/system/usr/ohos_timezone/ohos_city_dispname/";
const char *I18nTimeZone::DEVICE_CITY_DISPLAYNAME_PATH = "/vendor/etc/device_timezone/device_city_dispname/";
const char *I18nTimeZone::DEVICE_CITY_DISPLAYNAME_PATH = "/system/usr/ohos_timezone/device_city_dispname/";
const char *I18nTimeZone::TIMEZONE_ROOT_TAG = "timezones";
const char *I18nTimeZone::TIMEZONE_SECOND_ROOT_TAG = "timezone";