drucker und fixes
This commit is contained in:
parent
5e9804135d
commit
bebc98abca
29 changed files with 673 additions and 7 deletions
9
resources/[inventory]/pl_printer/locales/de.json
Normal file
9
resources/[inventory]/pl_printer/locales/de.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"image_link": "Bildlink",
|
||||
"copies": "Kopien",
|
||||
"image_url": "Bild-URL eingeben",
|
||||
"enter_copies": "Anzahl der Kopien eingeben",
|
||||
"prints": "Drucke",
|
||||
"Money_Removed": "Geld vom Bankkonto entfernt: $",
|
||||
"not_enough": "Nicht genug Geld"
|
||||
}
|
10
resources/[inventory]/pl_printer/locales/en.json
Normal file
10
resources/[inventory]/pl_printer/locales/en.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"image_link": "Image Link",
|
||||
"copies": "Copies",
|
||||
"image_url": "Enter the Image URL",
|
||||
"enter_copies": "Enter the number of copies",
|
||||
"prints": "Prints",
|
||||
"Money_Removed": "Money removed from bank: $",
|
||||
"not_enough": "Not enough money"
|
||||
|
||||
}
|
9
resources/[inventory]/pl_printer/locales/es.json
Normal file
9
resources/[inventory]/pl_printer/locales/es.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"image_link": "Enlace de imagen",
|
||||
"copies": "Copias",
|
||||
"image_url": "Introduce la URL de la imagen",
|
||||
"enter_copies": "Introduce el número de copias",
|
||||
"prints": "Impresiones",
|
||||
"Money_Removed": "Dinero retirado del banco: $",
|
||||
"not_enough": "No hay suficiente dinero"
|
||||
}
|
9
resources/[inventory]/pl_printer/locales/fr.json
Normal file
9
resources/[inventory]/pl_printer/locales/fr.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"image_link": "Lien de l'image",
|
||||
"copies": "Copies",
|
||||
"image_url": "Entrez l'URL de l'image",
|
||||
"enter_copies": "Entrez le nombre de copies",
|
||||
"prints": "Impressions",
|
||||
"Money_Removed": "Argent retiré de la banque : $",
|
||||
"not_enough": "Pas assez d'argent"
|
||||
}
|
9
resources/[inventory]/pl_printer/locales/it.json
Normal file
9
resources/[inventory]/pl_printer/locales/it.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"image_link": "Link immagine",
|
||||
"copies": "Copie",
|
||||
"image_url": "Inserisci l'URL dell'immagine",
|
||||
"enter_copies": "Inserisci il numero di copie",
|
||||
"prints": "Stampe",
|
||||
"Money_Removed": "Denaro rimosso dalla banca: $",
|
||||
"not_enough": "Non abbastanza denaro"
|
||||
}
|
18
resources/[inventory]/pl_printer/locales/locale.lua
Normal file
18
resources/[inventory]/pl_printer/locales/locale.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
Locales = {}
|
||||
LocalLang = {}
|
||||
|
||||
function LoadLocale(lang)
|
||||
local file = LoadResourceFile(GetCurrentResourceName(), 'locales/' .. lang .. '.json')
|
||||
if file then
|
||||
LocalLang = json.decode(file)
|
||||
else
|
||||
print('[Locale] Translation file not found for language: ' .. lang)
|
||||
end
|
||||
end
|
||||
|
||||
function Locale(key)
|
||||
return LocalLang[key] or key
|
||||
end
|
||||
|
||||
-- Load language
|
||||
LoadLocale(Config.Locale)
|
9
resources/[inventory]/pl_printer/locales/pt.json
Normal file
9
resources/[inventory]/pl_printer/locales/pt.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"image_link": "Link da imagem",
|
||||
"copies": "Cópias",
|
||||
"image_url": "Digite a URL da imagem",
|
||||
"enter_copies": "Digite o número de cópias",
|
||||
"prints": "Impressões",
|
||||
"Money_Removed": "Dinheiro removido do banco: $",
|
||||
"not_enough": "Dinheiro insuficiente"
|
||||
}
|
9
resources/[inventory]/pl_printer/locales/tr.json
Normal file
9
resources/[inventory]/pl_printer/locales/tr.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"image_link": "Görsel Bağlantısı",
|
||||
"copies": "Kopya",
|
||||
"image_url": "Görsel URL'sini girin",
|
||||
"enter_copies": "Kopya sayısını girin",
|
||||
"prints": "Baskılar",
|
||||
"Money_Removed": "Bankadan para çekildi: $",
|
||||
"not_enough": "Yetersiz bakiye"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue