Add french translation (#15)

Co-authored-by: Florent Delord <fdelord@synthesio.com>
This commit is contained in:
Araca 2024-01-22 18:25:46 +01:00 committed by GitHub
parent bafd827d4b
commit 1ecf199964
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 171 additions and 8 deletions

View File

@ -212,7 +212,7 @@ local get_account_formspec = function(market, account)
formspec[#formspec+1] = "]container[0.5,4.5]"
if account.inventory_item_selected then
formspec[#formspec+1] = "button[0,0;1.2,1;retrieveitem;"..S("Retrieve:") .."]"
formspec[#formspec+1] = "button[0,0;1.3,1;retrieveitem;"..S("Retrieve:") .."]"
.."label[0,0.75;"..get_item_description(account.inventory_item_selected).."]"
end
@ -225,7 +225,7 @@ local get_account_formspec = function(market, account)
end
if market_def.inventory_limit then
formspec[#formspec+1] = "label[4.2,0;"..S("Inventory limit:").."\n" .. inventory_count.."/" .. market_def.inventory_limit .. "]"
formspec[#formspec+1] = "label[4.3,0;"..S("Inventory limit:").."\n" .. inventory_count.."/" .. market_def.inventory_limit .. "]"
.. "tooltip[4.2,0;1.5,1;"..S("You can still receive purchased items if you've exceeded your inventory limit,\nbut you won't be able to transfer items from your personal inventory into\nthe market until you've emptied it back down below the limit again.").."]"
end
@ -482,7 +482,7 @@ local get_market_formspec = function(market, account)
-- Buy, sell, quantity and price button
formspec[#formspec+1] = "tooltip[0,0.25;3.75,1;"..S("Use these fields to enter buy and sell orders for the selected item.").."]"
.."button[0,0.55;1,1;buy;"..S("Buy").."]field[1.2,0.85;1,1;quantity;"..S("Quantity")..";]"
.."field[2.1,0.85;1,1;price;"..S("Price per")..";]button[2.7,0.55;1,1;sell;Sell]"
.."field[2.1,0.85;1,1;price;"..S("Price per")..";]button[2.7,0.55;1,1;sell;"..S("Sell").."]"
.."field_close_on_enter[quantity;false]field_close_on_enter[price;false]"
.."container_end[]"
-- table of buy and sell orders
@ -582,9 +582,9 @@ local get_info_formspec = function(market, account)
local formspec = {
"size[10,10]"
.."tabheader[0,0;tabs;"..market.def.description..","..S("Your Inventory")..","..S("Market Orders")..";1;false;true]"
.."textarea[0.75,0.5;9.25,1.5;;"..S("Description:")..";"..market.def.long_description.."]"
.."label[0.5,2.2;"..S("Your Recent Purchases and Sales:").."]"
.."textlist[0.5,2.6;8.75,4;log_entries;"
.."textarea[0.75,0.5;9.25,2.5;;"..S("Description:")..";"..market.def.long_description.."]"
.."label[0.5,2.6;"..S("Your Recent Purchases and Sales:").."]"
.."textlist[0.5,3.1;8.75,4;log_entries;"
}
if next(account.log) then
local new = false
@ -596,7 +596,7 @@ local get_info_formspec = function(market, account)
end
formspec[#formspec] = "]" -- Note: there's no +1 here deliberately, that way the "]" overwrites the last comma added by the loop above.
if new then
formspec[#formspec+1] = "button[7.1,6.9;2,0.5;acknowledge_log;"..S("Mark logs as read").."]" ..
formspec[#formspec+1] = "button[7.1,7.3;2,0.5;acknowledge_log;"..S("Mark logs as read").."]" ..
"tooltip[acknowledge_log;"..S("Log entries in yellow are new since last time you marked your log as read.").."]"
end
else
@ -604,7 +604,7 @@ local get_info_formspec = function(market, account)
end
local show_itemnames = account.show_itemnames or "false"
formspec[#formspec+1] = "]container[0.5, 7.5]label[0,0;Settings:]checkbox[0,0.25;show_itemnames;"..S("Show Itemnames")..";"
formspec[#formspec+1] = "]container[0.5, 7.6]label[0,0;"..S("Settings")..":]checkbox[0,0.25;show_itemnames;"..S("Show Itemnames")..";"
..show_itemnames.."]"
if global_enable_item_icons then
local show_icons = account.show_icons or "true"

View File

@ -81,6 +81,7 @@ Sell Vol=Verkaufsvol
Sell limit:=Verkaufsgrenze:
Show Icons=Symbole anzeigen
Show Itemnames=Gegenstandsnamen
Settings=
The name of the player who placed this order.@nDouble-click your own orders to cancel them.=Der Name des Spielers, der diesen Auftrag platziert hat.@nDoppelklicke auf deine eigenen Aufträge, um sie zu stornieren.

View File

@ -109,6 +109,7 @@ Sell limit:=Limite de venta.
Show Icons=Mostrar iconos
#checkbox label
Show Itemnames=Mostrar nombres de artículos
Settings=
The name of the player who placed this order.@nDouble-click your own orders to cancel them.=Nombre del jugador que ha colocado esta orden.@nDoble click para cancelar tu propia orden.

File diff suppressed because one or more lines are too long

View File

@ -110,6 +110,7 @@ Sell limit:=Venda limite:
Show Icons=Ver icones
#checkbox label
Show Itemnames=Ver itens
Settings=
The name of the player who placed this order.@nDouble-click your own orders to cancel them.=Nome do jogador que colocou essa ordem.@nClique duplo para cancelar caso seja sua.

View File

@ -110,6 +110,7 @@ Sell limit:=Venda limite:
Show Icons=Ver icones
#checkbox label
Show Itemnames=Ver itens
Settings=
The name of the player who placed this order.@nDouble-click your own orders to cancel them.=Nome do jogador que colocou essa ordem.@nClique duplo para cancelar caso seja sua.

View File

@ -110,6 +110,7 @@ Sell limit:=
Show Icons=
#checkbox label
Show Itemnames=
Settings=
The name of the player who placed this order.@nDouble-click your own orders to cancel them.=