From 1e4c3d60c0ee13768d665c126a1f092d409e7aae Mon Sep 17 00:00:00 2001 From: KOGA Mitsuhiro Date: Sun, 25 Oct 2020 23:07:01 +0900 Subject: [PATCH] Fall back to English for untranslated words --- Sources/arm/Translator.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/arm/Translator.hx b/Sources/arm/Translator.hx index d60b4a29..47291de9 100644 --- a/Sources/arm/Translator.hx +++ b/Sources/arm/Translator.hx @@ -48,10 +48,10 @@ class Translator { Config.raw.locale = "en"; } + // No translations to load, as source strings are in English. + // Clear existing translations if switching languages at runtime. + translations.clear(); if (Config.raw.locale == "en") { - // No translations to load, as source strings are in English. - // Clear existing translations if switching languages at runtime. - translations.clear(); return; }