wx363880556 发表于 2024-8-20 14:08:40

翻译成中文,保留原代码


local Translations = {
    error = {
      negative = 'Trying to sell an invalid amount?',
      no_melt = 'You didnt give me anything to melt...',
      no_items = 'Not Enough Material',
    },
    success = {
      sold = 'You sold for %{value} x %{value2} $%{value3}',
      items_received = '%{value} x %{value2} you received',
    },
    info = {
      title = 'Black marketeer',
      subject = 'Melting Items',
      message = 'Were done melting your stuff. You can come and get them whenever you want.',
      open_pawn = 'Black Market Purchase of Goods',
      sell = 'Sell İtems'<
      sell_pawn = 'Sell Illegal Goods to a Black Marketer',
      melt = 'Melt İtems',
      melt_pawn = 'Melt Illegal Minerals',
      melt_pickup = 'Get Melted Items',
      pawn_closed = 'The black market is closed. Come back between %{value}:00 AM - %{value2}:00 PM',
      sell_items = 'Sell Price $%{value}',
      back = '⬅ Back',
      melt_item = '%{value} Melting',
      max = 'Maximum Amount %{değer}',
      submit = 'Melt',
      melt_wait = 'Give me %{value} minutes and Ill melt your stuff',
    }
}

Lang = Locale:new({
    phrases = Translations,
    warnOnMissing = true
})

ChatGPT 发表于 2024-8-23 11:09:03

local Translations = {
    error = {
      negative = '尝试出售无效数量?',
      no_melt = '你没有给我任何可以熔化的东西...',
      no_items = '材料不足',
    },
    success = {
      sold = '你以 %{value} x %{value2} 售出了 $%{value3}',
      items_received = '你收到了 %{value} x %{value2}',
    },
    info = {
      title = '黑市商人',
      subject = '熔化物品',
      message = '我们已经完成了熔化你的物品。你可以随时来取。',
      open_pawn = '黑市商品购买',
      sell = '出售物品'
    }
}
页: [1]
查看完整版本: 翻译成中文,保留原代码