Skip to content

Commit

Permalink
feat(locales): czech (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanvalic authored Nov 6, 2023
1 parent 3dc6615 commit d2867a6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions locales/cs.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
local Translations = {
error = {
no_police = "Nedostatek policistů (%{Required} požadováno)",
process_canceled = "Proces zrušen..",
lockpick_broken = "Zlomil(a) jste lomítko"
},
text = {
register_empty = "Pokladna je prázdná",
try_combination = "~g~E~w~ - Vyzkoušet kombinaci",
safe_opened = "Trezor otevřen",
emptying_the_register = "Vyprazdňování pokladny..",
safe_code = "Kód trezoru: ",
value = "Hodnota: $%{value}",
},
alert = {
register = 'Někdo páčí pokladnu!',
safe = 'Někdo lámá trezor!'
}
}

if GetConvar('qb_locale', 'en') == 'cs' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang,
})
end
--translate by stepan_valic

0 comments on commit d2867a6

Please sign in to comment.