From d8c166306360551876c559faf85a6c773bafd659 Mon Sep 17 00:00:00 2001 From: sunyaozu Date: Thu, 18 May 2023 17:52:48 +0800 Subject: [PATCH] remove unused interface i18n.getAppPreferredLanguage Signed-off-by: sunyaozu --- interfaces/js/kits/src/i18n_addon.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/interfaces/js/kits/src/i18n_addon.cpp b/interfaces/js/kits/src/i18n_addon.cpp index 06017144..3d3d8c5c 100644 --- a/interfaces/js/kits/src/i18n_addon.cpp +++ b/interfaces/js/kits/src/i18n_addon.cpp @@ -262,7 +262,6 @@ napi_value I18nAddon::Init(napi_env env, napi_value exports) DECLARE_NAPI_FUNCTION("setUsingLocalDigit", SetUsingLocalDigitAddon), DECLARE_NAPI_FUNCTION("getUsingLocalDigit", GetUsingLocalDigitAddon), DECLARE_NAPI_PROPERTY("TimeZone", CreateTimeZoneObject(env, initStatus)), - DECLARE_NAPI_FUNCTION("getAppPreferredLanguage", GetAppPreferredLanguage), DECLARE_NAPI_PROPERTY("System", CreateSystemObject(env, initStatus)), DECLARE_NAPI_PROPERTY("Normalizer", CreateI18nNormalizerObject(env, initStatus)), DECLARE_NAPI_PROPERTY("NormalizerMode", CreateI18NNormalizerModeEnum(env, initStatus))