From b14dc0690841582b31ade0fa895f8c2251071710 Mon Sep 17 00:00:00 2001 From: RoYaL69 Date: Sun, 6 Oct 2024 20:22:17 +0200 Subject: [PATCH] feat(locales): german --- locales/de.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 locales/de.lua diff --git a/locales/de.lua b/locales/de.lua new file mode 100644 index 0000000..3bf237b --- /dev/null +++ b/locales/de.lua @@ -0,0 +1,23 @@ +local Translations = { + error = { + canceled = "Abgebrochen", + no_coral = "Du hast kein Korallen zum Verkaufen...", + }, + info = { + collecting_coral = "Korallen sammeln", + diving_area = "Tauchgebiet", + collect_coral = "Korallen sammeln", + collect_coral_dt = "[E] - Korallen sammeln", + checking_pockets = "Inventar auf Korallen zum Verkaufen überprüfen...", + sell_coral = "Korallen verkaufen", + sell_coral_dt = "[E] - Korallen verkaufen", + }, +} + +if GetConvar('qb_locale', 'en') == 'de' then + Lang = Locale:new({ + phrases = Translations, + warnOnMissing = true, + fallbackLang = Lang, + }) +end \ No newline at end of file