未验证 提交 1bbfdaa1 编写于 作者: O openharmony_ci 提交者: Gitee

!210 修改系统参数命名

Merge pull request !210 from sunyaozu/pro1
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册