Skip to content

Commit

Permalink
Merge pull request #33 from qbcore-framework/Z3rio-patch-1
Browse files Browse the repository at this point in the history
[TRANSLATIONS] Fix french translations
  • Loading branch information
GhzGarage authored Dec 20, 2022
2 parents 1b1a0d6 + 4374f87 commit 431f9ec
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion locales/fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,11 @@ local Translations = {
["zone_exited"] = "%{zone} Sortie de zone",
}
}
Lang = Locale:new({phrases = Translations, warnOnMissing = true})

if GetConvar('qb_locale', 'en') == 'fr' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang
})
end

0 comments on commit 431f9ec

Please sign in to comment.