From dfb7f51ea9f23e6ca0ca8d68b0ce758b4d2ba109 Mon Sep 17 00:00:00 2001 From: azutake Date: Sun, 14 Jan 2024 08:47:29 +0900 Subject: [PATCH] Fix japanese localization file --- locales/ja.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/locales/ja.lua b/locales/ja.lua index ce87194..9e6b1ac 100644 --- a/locales/ja.lua +++ b/locales/ja.lua @@ -71,7 +71,10 @@ local Translations = { } } -Lang = Lang or Locale:new({ - phrases = Translations, - warnOnMissing = true -}) +if GetConvar('qb_locale', 'en') == 'ja' then + Lang = Locale:new({ + phrases = Translations, + warnOnMissing = true, + fallbackLang = Lang, + }) +end