翻译成中文保留lua格式
Locales['en'] = {
-- Success notifications
['success_solding_vehicle'] = {
title = 'VEHICLE',
text = 'You successfully sold the vehicle <b>${model}</b> with the plate number <b>${plate}</b>',
type = 'success',
time = 5000,
},
['success_buying'] = {
title = 'VEHICLE',
text = 'You successfully bought the vehicle <b>${model}</b> with the plate number <b>${plate}</b>',
type = 'success',
time = 5000,
},
-- Error notifications
['near_error'] = {
title = 'VEHICLE',
text = 'No one nearby',
type = 'error',
time = 5000,
},
['dont_own_vehicle'] = {
title = 'VEHICLE',
text = 'You do not own this vehicle',
type = 'error',
time = 5000,
},
['cant_sell_vehicle'] = {
title = 'VEHICLE',
text = 'You can\'t sell this vehicle',
type = 'error',
time = 5000,
},
['must_be_near_vehicle'] = {
title = 'VEHICLE',
text = 'You need to be near a vehicle in order to do that',
type = 'error',
time = 5000,
},
['player_not_enough_money'] = {
title = 'VEHICLE',
text = '${player} doesn\'t have enough money to buy your vehicle',
type = 'error',
time = 5000,
},
['not_enough_money'] = {
title = 'VEHICLE',
text = 'You don\'t have enough money to buy ${player}\'s vehicle',
type = 'error',
time = 5000,
},
['not_yours'] = {
title = 'VEHICLE',
text = 'The vehicle with the plate number <b>${plate}</b> isn\'t yours',
type = 'error',
time = 5000,
},
['doesnt_own_vehicle'] = {
title = 'VEHICLE',
text = '${player} tried to sell you a vehicle he doesn\'t own',
type = 'error',
time = 5000,
},
-- UI translations
['txt_contract_info'] = 'Contract Info',
['txt_vehicle'] = 'Vehicle',
['txt_contract1'] = 'This is a contract made between <span id="source_name"></span> (the Seller), and <span id="target_name"></span> (the Buyer), for the sale of Seller\'s <span id="vehicle_model"></span>, with the plate <span id="plate_number"></span>.',
['txt_plate'] = 'Plate',
['txt_price'] = 'Price (<span id="currency"></span>)',
['txt_buyer'] = 'Buyer',
['txt_send'] = 'SEND',
['txt_paper_title'] = 'Car Purchase and Sale Agreement',
['txt_contract2'] = 'The date of sale is <span id="date"></span>. Buyer agrees to pay to Seller the purchase price of <span id="price"></span> to be paid in <span class="pm">Bank Transfer</span>.',
['txt_contract3'] = 'The car is sold "AS IS" and the Seller makes no warranties about the condition of the car. Seller will provide the Buyer with all the vehicle documents.',
['txt_seller_signature'] = 'Seller\'s Signature',
['txt_buyer_signature'] = 'Buyer\'s Signature',
['txt_sign'] = 'SIGN CONTRACT',
['buy_vehicle'] = 'BUY VEHICLE',
['confirm_buy_vehicle'] = 'Do you want to buy this vehicle?',
}翻译成中文保留lua格式
Locales['zh'] = {
-- 成功通知
['success_solding_vehicle'] = {
title = '车辆',
text = '您成功出售了车辆 ${model},车牌号码为 ${plate}',
type = 'success',
time = 5000,
},
['success_buying'] = {
title = '车辆',
text = '您成功购买了车辆 ${model},车牌号码为 ${plate}',
type = 'success',
time = 5000,
},
-- 错误通知
['near_error'] = {
title = '车辆',
text = '附近没有人',
type = 'error',
time = 5000,
},
['dont_own_vehicle'] = {
title = '车辆',
text = '您不拥有这辆车',
type = 'error',
time = 5000,
},
['cant_sell_vehicle'] = {
title = '车辆',
text = '您无法出售这辆车',
type = 'error',
time = 5000,
},
['must_be_near_vehicle'] = {
title = '车辆',
text = '您需要靠近一辆车才能执行此操作',
type = 'error',
time = 5000,
},
['player_not_enough_money'] = {
title = '车辆',
text = '${player} 没有足够的钱来购买您的车辆',
type = 'error',
time = 5000,
},
['not_enough_money'] = {
title = '车辆',
text = '您没有足够的钱来购买 ${player} 的车辆',
type = 'error',
time = 5000,
},
['not_yours'] = {
title = '车辆',
text = '车牌号码为 ${plate} 的车辆不属于您',
type = 'error',
time = 5000,
},
['doesnt_own_vehicle'] = {
title = '车辆',
text = '${player} 试图向您出售他不拥有的车辆',
type = 'error',
time = 5000,
},
-- 用户界面翻译
['txt_contract_info'] = '合同信息',
['txt_vehicle'] = '车辆',
['txt_contract1'] = '这是在(卖方)和(买方)之间达成的合同,用于出售卖方的,车牌为。',
['txt_plate'] = '车牌',
['txt_price'] = '价格()',
['txt_buyer'] = '买方',
['txt_send'] = '发送',
['txt_paper_title'] = '车辆买卖协议',
['txt_contract2'] = '销售日期为。买方同意通过银行转账支付卖方购买价格。',
['txt_contract3'] = '车辆按“现状”出售,卖方对车辆的状况不做任何保证。卖方将向买方提供所有车辆文件。',
['txt_seller_signature'] = '卖方签名',
['txt_buyer_signature'] = '买方签名',
['txt_sign'] = '签署合同',
['buy_vehicle'] = '购买车辆',
['confirm_buy_vehicle'] = '您想购买这辆车吗?',
}
页:
[1]