mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 17:01:41 +00:00
Added missing translatable strings
This commit is contained in:
+6
-5
@@ -54,6 +54,7 @@ function OpenRealestateAgentMenu()
|
||||
|
||||
ESX.UI.Menu.Open('default', GetCurrentResourceName(), 'realestateagent', {
|
||||
title = _U('realtor'),
|
||||
align = 'top-left',
|
||||
elements = elements
|
||||
}, function(data, menu)
|
||||
|
||||
@@ -81,7 +82,7 @@ function OpenPropertyMenu()
|
||||
TriggerEvent('esx_property:getProperties', function(properties)
|
||||
|
||||
local elements = {
|
||||
head = {_U('property'), 'Actions'},
|
||||
head = {_U('property_name'), _U('property_actions')},
|
||||
rows = {}
|
||||
}
|
||||
|
||||
@@ -90,7 +91,7 @@ function OpenPropertyMenu()
|
||||
data = properties[i],
|
||||
cols = {
|
||||
properties[i].label,
|
||||
_U('property_actions')
|
||||
_U('property_actionbuttons')
|
||||
}
|
||||
})
|
||||
end
|
||||
@@ -174,7 +175,7 @@ end
|
||||
function OpenCustomersMenu()
|
||||
ESX.TriggerServerCallback('esx_realestateagentjob:getCustomers', function(customers)
|
||||
local elements = {
|
||||
head = {'Client', _U('property'), 'Type', 'Actions'},
|
||||
head = {_U('customer_client'), _U('customer_property'), _U('customer_agreement'), _U('customer_actions')},
|
||||
rows = {}
|
||||
}
|
||||
|
||||
@@ -184,8 +185,8 @@ function OpenCustomersMenu()
|
||||
cols = {
|
||||
customers[i].name,
|
||||
customers[i].propertyLabel,
|
||||
(customers[i].propertyRented and _U('rent') or _U('sell')),
|
||||
_U('contract')
|
||||
(customers[i].propertyRented and _U('customer_rent') or _U('customer_sell')),
|
||||
_U('customer_contractbuttons')
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
+23
-14
@@ -1,17 +1,26 @@
|
||||
Locales['br'] = {
|
||||
['properties'] = 'Propriedades',
|
||||
['property'] = 'Propriedade',
|
||||
['clients'] = 'Clientes',
|
||||
['realtor'] = 'Corretor de imóveis',
|
||||
['amount_withdraw'] = 'Quantidade de retirada',
|
||||
['invalid_amount'] = 'Quantidade inválida',
|
||||
['press_to_access'] = 'Pressione ~INPUT_CONTEXT~ para abrir o menu',
|
||||
['property_actions'] = '{{Assign [Sell]|sell}} {{Assign [Rent]|rent}} {{GPS|gps}}',
|
||||
['amount'] = 'Quantidade',
|
||||
['no_play_near'] = 'Nenhum jogador nas proximidades',
|
||||
['contract'] = '{{Revoke contract|revoke}} {{GPS|gps}}',
|
||||
['rent'] = 'Alugar',
|
||||
['sell'] = 'Vender',
|
||||
['realtors'] = 'Agente Imobiliário',
|
||||
['properties'] = 'propriedades',
|
||||
['clients'] = 'clientes',
|
||||
['realtor'] = 'corretor de imóveis',
|
||||
['amount_withdraw'] = 'quantidade de retirada',
|
||||
['invalid_amount'] = 'quantidade inválida',
|
||||
['press_to_access'] = 'pressione ~INPUT_CONTEXT~ para abrir o menu',
|
||||
['amount'] = 'quantidade',
|
||||
['no_play_near'] = 'nenhum jogador nas proximidades',
|
||||
['realtors'] = 'agente Imobiliário',
|
||||
['boss_action'] = 'boss Actions',
|
||||
|
||||
-- Property menu
|
||||
['property_name'] = 'propriedade',
|
||||
['property_actions'] = 'actions',
|
||||
['property_actionbuttons'] = '{{Assign [Sell]|sell}} {{Assign [Rent]|rent}} {{GPS|gps}}',
|
||||
|
||||
-- Customer menu
|
||||
['customer_client'] = 'clientes',
|
||||
['customer_property'] = 'propriedade',
|
||||
['customer_agreement'] = 'agreement',
|
||||
['customer_actions'] = 'actions',
|
||||
['customer_contractbuttons'] = '{{Revoke contract|revoke}} {{GPS|gps}}',
|
||||
['customer_rent'] = 'alugar',
|
||||
['customer_sell'] = 'vender',
|
||||
}
|
||||
|
||||
+21
-12
@@ -1,17 +1,26 @@
|
||||
Locales['de'] = {
|
||||
['properties'] = 'Immobilien',
|
||||
['property'] = 'Immobilie',
|
||||
['clients'] = 'Kunden',
|
||||
['realtor'] = 'Makler',
|
||||
['amount_withdraw'] = 'Betrag zun abheben',
|
||||
['clients'] = 'kunden',
|
||||
['realtor'] = 'makler',
|
||||
['amount_withdraw'] = 'betrag zun abheben',
|
||||
['invalid_amount'] = 'ungültiger Betrag',
|
||||
['press_to_access'] = 'Drücke ~INPUT_CONTEXT~ um das Menü zu öffnen',
|
||||
['property_actions'] = '{{Zuweisen [Verkaufen]|sell}} {{Zuweisen [Vermieten]|rent}} {{GPS|gps}}',
|
||||
['amount'] = 'Betrag',
|
||||
['no_play_near'] = 'Kein Spieler in der Nähe',
|
||||
['contract'] = '{{Revoke contract|revoke}} {{GPS|gps}}',
|
||||
['rent'] = 'Mieten',
|
||||
['sell'] = 'Verkaufen',
|
||||
['realtors'] = 'Makler',
|
||||
['press_to_access'] = 'drücke ~INPUT_CONTEXT~ um das Menü zu öffnen',
|
||||
['amount'] = 'betrag',
|
||||
['no_play_near'] = 'kein Spieler in der Nähe',
|
||||
['realtors'] = 'makler',
|
||||
['boss_action'] = 'boss Actions',
|
||||
|
||||
-- Property menu
|
||||
['property_name'] = 'immobilie',
|
||||
['property_actions'] = 'actions',
|
||||
['property_actionbuttons'] = '{{Zuweisen [Verkaufen]|sell}} {{Zuweisen [Vermieten]|rent}} {{GPS|gps}}',
|
||||
|
||||
-- Customer menu
|
||||
['customer_client'] = 'kunden',
|
||||
['customer_property'] = 'immobilie',
|
||||
['customer_agreement'] = 'agreement',
|
||||
['customer_actions'] = 'actions',
|
||||
['customer_contractbuttons'] = '{{Revoke contract|revoke}} {{GPS|gps}}',
|
||||
['customer_rent'] = 'mieten',
|
||||
['customer_sell'] = 'verkaufen',
|
||||
}
|
||||
|
||||
+14
-5
@@ -1,17 +1,26 @@
|
||||
Locales['en'] = {
|
||||
['properties'] = 'properties',
|
||||
['property'] = 'property',
|
||||
['clients'] = 'clients',
|
||||
['realtor'] = 'real Estate Agent',
|
||||
['amount_withdraw'] = 'amount of withdrawal',
|
||||
['invalid_amount'] = 'invalid amount',
|
||||
['press_to_access'] = 'press ~INPUT_CONTEXT~ to access the menu',
|
||||
['property_actions'] = '{{Assign [Sell]|sell}} {{Assign [Rent]|rent}} {{GPS|gps}}',
|
||||
['amount'] = 'amount',
|
||||
['no_play_near'] = 'no players nearby',
|
||||
['contract'] = '{{Revoke contract|revoke}} {{GPS|gps}}',
|
||||
['rent'] = 'rent',
|
||||
['sell'] = 'sell',
|
||||
['realtors'] = 'real Estate Agents',
|
||||
['boss_action'] = 'boss Actions',
|
||||
|
||||
-- Property menu
|
||||
['property_name'] = 'property',
|
||||
['property_actions'] = 'actions',
|
||||
['property_actionbuttons'] = '{{Assign [Sell]|sell}} {{Assign [Rent]|rent}} {{GPS|gps}}',
|
||||
|
||||
-- Customer menu
|
||||
['customer_client'] = 'client',
|
||||
['customer_property'] = 'property',
|
||||
['customer_agreement'] = 'agreement',
|
||||
['customer_actions'] = 'actions',
|
||||
['customer_contractbuttons'] = '{{Revoke contract|revoke}} {{GPS|gps}}',
|
||||
['customer_rent'] = 'rented',
|
||||
['customer_sell'] = 'sold',
|
||||
}
|
||||
|
||||
+14
-5
@@ -1,17 +1,26 @@
|
||||
Locales['fi'] = {
|
||||
['properties'] = 'kiinteistöt',
|
||||
['property'] = 'kiinteistö',
|
||||
['clients'] = 'asiakkaat',
|
||||
['realtor'] = 'kiinteistövälittäjä',
|
||||
['amount_withdraw'] = 'nostettava määrä',
|
||||
['invalid_amount'] = 'virheellinen summa',
|
||||
['press_to_access'] = 'paina ~INPUT_CONTEXT~ avataksesi menu',
|
||||
['property_actions'] = '{{Aseta [Myy]|sell}} {{Aseta [Vuokraa]|rent}} {{GPS|gps}}',
|
||||
['amount'] = 'määrä',
|
||||
['no_play_near'] = 'ei pelaajia lähettyvillä',
|
||||
['contract'] = '{{Pura sopimus|revoke}} {{GPS|gps}}',
|
||||
['rent'] = 'vuokraa',
|
||||
['sell'] = 'myy',
|
||||
['realtors'] = 'Kiinteistövälitys',
|
||||
['boss_action'] = 'pomo Toiminnot',
|
||||
|
||||
-- Property menu
|
||||
['property_name'] = 'kiinteistö',
|
||||
['property_actions'] = 'actions',
|
||||
['property_actionbuttons'] = '{{Aseta [Myy]|sell}} {{Aseta [Vuokraa]|rent}} {{GPS|gps}}',
|
||||
|
||||
-- Customer menu
|
||||
['customer_client'] = 'client',
|
||||
['customer_property'] = 'kiinteistö',
|
||||
['customer_agreement'] = 'agreement',
|
||||
['customer_actions'] = 'actions',
|
||||
['customer_contractbuttons'] = '{{Pura sopimus|revoke}} {{GPS|gps}}',
|
||||
['customer_rent'] = 'vuokraa',
|
||||
['customer_sell'] = 'myy',
|
||||
}
|
||||
|
||||
+14
-5
@@ -1,17 +1,26 @@
|
||||
Locales['fr'] = {
|
||||
['properties'] = 'propriétés',
|
||||
['property'] = 'propriété',
|
||||
['clients'] = 'clients',
|
||||
['realtor'] = 'agent Immobilier',
|
||||
['amount_withdraw'] = 'montant du retrait',
|
||||
['invalid_amount'] = 'montant invalide',
|
||||
['press_to_access'] = 'appuez sur ~INPUT_CONTEXT~ pour accéder au menu',
|
||||
['property_actions'] = '{{Assigner [Vente]|sell}} {{Assigner [Location]|rent}} {{GPS|gps}}',
|
||||
['amount'] = 'montant',
|
||||
['no_play_near'] = 'aucun joueur à proximité',
|
||||
['contract'] = '{{Révoquer contrat|revoke}} {{GPS|gps}}',
|
||||
['rent'] = 'location',
|
||||
['sell'] = 'vente',
|
||||
['realtors'] = 'agents Immobilier',
|
||||
['boss_action'] = 'action Patron',
|
||||
|
||||
-- Property menu
|
||||
['property_name'] = 'propriété',
|
||||
['property_actions'] = 'actions',
|
||||
['property_actionbuttons'] = '{{Assigner [Vente]|sell}} {{Assigner [Location]|rent}} {{GPS|gps}}',
|
||||
|
||||
-- Customer menu
|
||||
['customer_client'] = 'client',
|
||||
['customer_property'] = 'propriété',
|
||||
['customer_agreement'] = 'agreement',
|
||||
['customer_actions'] = 'actions',
|
||||
['customer_contractbuttons'] = '{{Révoquer contrat|revoke}} {{GPS|gps}}',
|
||||
['customer_rent'] = 'location',
|
||||
['customer_sell'] = 'vente',
|
||||
}
|
||||
|
||||
+15
-6
@@ -1,17 +1,26 @@
|
||||
Locales['sv'] = {
|
||||
['properties'] = 'fastigheter',
|
||||
['property'] = 'fastighet',
|
||||
['clients'] = 'klienter',
|
||||
['realtor'] = 'mäklare',
|
||||
['amount_withdraw'] = 'summa',
|
||||
['invalid_amount'] = 'ogiltigt belopp',
|
||||
['press_to_access'] = 'tryck ~INPUT_CONTEXT~ för att öppna menyn.',
|
||||
['property_actions'] = '{{Sälj fastighet|sell}} {Hyr ut fastighet|rent}} {{GPS|gps}}',
|
||||
['amount'] = 'summa',
|
||||
['no_play_near'] = 'det finns inga spelare i närheten!',
|
||||
['contract'] = '{{Återkalla kontrakt|revoke}} {{GPS|gps}}',
|
||||
['rent'] = 'hyra',
|
||||
['sell'] = 'sälj',
|
||||
['realtors'] = 'mäklare',
|
||||
['boss_action'] = 'chefmeny',
|
||||
}
|
||||
|
||||
-- Property menu
|
||||
['property_name'] = 'fastighet',
|
||||
['property_actions'] = 'åtgärder',
|
||||
['property_actionbuttons'] = '{{Sälj fastighet|sell}} {{Hyr ut fastighet|rent}} {{GPS|gps}}',
|
||||
|
||||
-- Customer menu
|
||||
['customer_client'] = 'client',
|
||||
['customer_property'] = 'fastighet',
|
||||
['customer_agreement'] = 'överenskommelse',
|
||||
['customer_actions'] = 'åtgärder',
|
||||
['customer_contractbuttons'] = '{{Återkalla kontrakt|revoke}} {{GPS|gps}}',
|
||||
['customer_rent'] = 'hyrd',
|
||||
['customer_sell'] = 'såld',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user