From bd6a9f728982ca0a25ca6f40e022e2f56d98ff65 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sun, 14 Feb 2021 21:04:41 +0800 Subject: [PATCH] flutter: Fix No @@locale or _locale field found in intl_en, assuming 'en' based on the file name --- src/ui/flutter/lib/l10n/intl_en.arb | 1 + src/ui/flutter/lib/l10n/intl_zh.arb | 1 + 2 files changed, 2 insertions(+) diff --git a/src/ui/flutter/lib/l10n/intl_en.arb b/src/ui/flutter/lib/l10n/intl_en.arb index 2a6df895..f82d44d4 100644 --- a/src/ui/flutter/lib/l10n/intl_en.arb +++ b/src/ui/flutter/lib/l10n/intl_en.arb @@ -1,4 +1,5 @@ { + "@@locale": "en", "appName": "Mill Game", "@appName": { "description": "The App name" diff --git a/src/ui/flutter/lib/l10n/intl_zh.arb b/src/ui/flutter/lib/l10n/intl_zh.arb index 12b708c6..35d9eecd 100644 --- a/src/ui/flutter/lib/l10n/intl_zh.arb +++ b/src/ui/flutter/lib/l10n/intl_zh.arb @@ -1,4 +1,5 @@ { + "@@locale": "zh", "appName": "直棋", "humanVsAi": "人机对战", "humanVsHuman": "双人对战",