Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create da.lua #53

Merged
merged 1 commit into from
Dec 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions locales/da.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
local Translations = {
error = {
negative = 'Prøver at sælge en negativ mængde?',
no_melt = 'Du gav mig ikke noget at smelte...',
no_items = 'Ikke nok genstande',
inventory_full = 'Inventaret er for fuldt til at modtage alle mulige genstande. Prøv at sikre dig, at inventaret ikke er fuldt næste gang. Tabte genstande: %{value}'
},
success = {
sold = 'Du har solgt %{value} x %{value2} for $%{value3}',
items_received = 'Du har modtaget %{value} x %{value2}',
},
info = {
title = 'Pantebutik',
subject = 'Smeltning af genstande',
message = 'Vi har færdiggjort smeltning af dine genstande. Du kan komme og afhente dem når som helst.',
open_pawn = 'Åbn pantebutikken',
sell = 'Sælg genstande',
sell_pawn = 'Sælg genstande til pantebutikken',
melt = 'Smelt genstande',
melt_pawn = 'Åbn smeltebutikken',
melt_pickup = 'Hent smeltede genstande',
pawn_closed = 'Pantebutikken er lukket. Kom tilbage mellem kl. %{value} - %{value2}',
sell_items = 'Salgspris $%{value}',
back = '⬅ Gå tilbage',
melt_item = 'Smelt %{value}',
max = 'Maksimal mængde %{value}',
submit = 'Smelt',
melt_wait = 'Giv mig %{value} minutter, og jeg vil have dine ting smeltet',
}
}

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