From e3a3f7525efe501d51a9f4eb26df019b9d26fe0d Mon Sep 17 00:00:00 2001 From: Ducko Date: Sat, 28 Jan 2023 05:54:41 +0100 Subject: [PATCH] Update da.lua --- locale/da.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/locale/da.lua b/locale/da.lua index f2c2443..957373f 100644 --- a/locale/da.lua +++ b/locale/da.lua @@ -1,6 +1,6 @@ local Translations = { error = { - not_online = 'Spiller er ikke online', + not_online = 'Spiller ikke online', wrong_format = 'Forkert format', missing_args = 'Du mangler nogle argumenter (x, y, z)', missing_args2 = 'Alle argumenter skal udfyldes!', @@ -120,7 +120,10 @@ local Translations = { }, } -Lang = Lang or Locale:new({ - phrases = Translations, - warnOnMissing = true -}) +if GetConvar('qb_locale', 'en') == 'da' then + Lang = Locale:new({ + phrases = Translations, + warnOnMissing = true, + fallbackLang = Lang, + }) +end