From 2cbaf18730877f021e0b075ac3f7ac6bf3580eef Mon Sep 17 00:00:00 2001 From: zhongmingfeng_huawei Date: Wed, 11 Oct 2023 11:18:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E8=A1=8CLOG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ets/embedding/engine/systemchannels/LocalizationChannel.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets index c42816e951..c4b5b6cf7b 100644 --- a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets +++ b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets @@ -36,6 +36,7 @@ export default class LocalizationChannel implements MethodCallHandler{ let method: string = call.method; switch (method) { case "Localization.getStringResource": { + Log.i(TAG, "Localization.getStringResource enter"); let key: string = call.argument("key"); let localeString: string = null; if (call.hasArgument("locale")) { -- Gitee From 80cf2939013d00d27b421d928879dd1c020e5b86 Mon Sep 17 00:00:00 2001 From: zhongmingfeng_huawei Date: Wed, 11 Oct 2023 11:46:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E8=A1=8CLOG=20S?= =?UTF-8?q?igned-off-by:=20sakuraae=20<1377477209@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ets/embedding/engine/systemchannels/LocalizationChannel.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets index c42816e951..c4b5b6cf7b 100644 --- a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets +++ b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/embedding/engine/systemchannels/LocalizationChannel.ets @@ -36,6 +36,7 @@ export default class LocalizationChannel implements MethodCallHandler{ let method: string = call.method; switch (method) { case "Localization.getStringResource": { + Log.i(TAG, "Localization.getStringResource enter"); let key: string = call.argument("key"); let localeString: string = null; if (call.hasArgument("locale")) { -- Gitee