...
 
Commits (2)
    https://gitcode.net/openharmony/global_i18n_standard/-/commit/5a221feca815934ad3235b5abf61a0f90e7bbdaf 修改系统参数命名 2022-05-09T14:49:49+08:00 sunyaozu sunyaozu@huawei.com Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:sunyaozu@huawei.com" title="sunyaozu@huawei.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg1" style="text-decoration: none">N</a><a href="mailto:sunyaozu@huawei.com" title="sunyaozu@huawei.com">sunyaozu</a> &lt;<a href="mailto:sunyaozu@huawei.com" title="sunyaozu@huawei.com">sunyaozu@huawei.com</a>&gt;</span> https://gitcode.net/openharmony/global_i18n_standard/-/commit/75091ab8ec3f2e3c6d8a1ce0250ee3afaa3a8f9b !223 修改系统参数命名 2022-05-10T03:13:42+00:00 openharmony_ci 120357966@qq.com Merge pull request !223 from sunyaozu/OpenHarmony-3.1-Release
......@@ -10,8 +10,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
persist.sys.language=zh-Hans
persist.sys.locale=zh-Hans-CN
const.sys.language=zh-Hans
const.sys.locale=zh-Hans-CN
const.sys.region=CN
\ No newline at end of file
persist.global.language=zh-Hans
persist.global.locale=zh-Hans-CN
const.global.language=zh-Hans
const.global.locale=zh-Hans-CN
const.global.region=CN
\ No newline at end of file
......@@ -42,12 +42,12 @@ using namespace std;
using namespace OHOS::HiviewDFX;
static constexpr OHOS::HiviewDFX::HiLogLabel LABEL = { LOG_CORE, 0xD001E00, "LocaleConfig" };
const char *LocaleConfig::LANGUAGE_KEY = "persist.sys.language";
const char *LocaleConfig::LOCALE_KEY = "persist.sys.locale";
const char *LocaleConfig::HOUR_KEY = "persist.sys.is24Hour";
const char *LocaleConfig::DEFAULT_LOCALE_KEY = "const.sys.locale";
const char *LocaleConfig::DEFAULT_LANGUAGE_KEY = "const.sys.language";
const char *LocaleConfig::DEFAULT_REGION_KEY = "const.sys.region";
const char *LocaleConfig::LANGUAGE_KEY = "persist.global.language";
const char *LocaleConfig::LOCALE_KEY = "persist.global.locale";
const char *LocaleConfig::HOUR_KEY = "persist.global.is24Hour";
const char *LocaleConfig::DEFAULT_LOCALE_KEY = "const.global.locale";
const char *LocaleConfig::DEFAULT_LANGUAGE_KEY = "const.global.language";
const char *LocaleConfig::DEFAULT_REGION_KEY = "const.global.region";
const char *LocaleConfig::SUPPORTED_LOCALES_NAME = "supported_locales";
const char *LocaleConfig::SUPPORTED_REGIONS_NAME = "supported_regions";
const char *LocaleConfig::WHITE_LANGUAGES_NAME = "white_languages";
......