Skip to content

Commit

Permalink
Merge pull request #237 from AGCGTA/main
Browse files Browse the repository at this point in the history
Fix japanese localization file
  • Loading branch information
GhzGarage authored Jan 14, 2024
2 parents 5751bdc + dfb7f51 commit a32a808
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions locales/ja.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a32a808

Please sign in to comment.