* implement some pt-BR translations * remove legacy about modulemaster
父节点
ca0e1bd38b
当前提交
34091bc48e
@ -1,34 +0,0 @@
|
||||
About = {}
|
||||
|
||||
-- private variables
|
||||
local aboutButton
|
||||
local aboutWindow
|
||||
|
||||
-- public functions
|
||||
function About.init()
|
||||
aboutButton = TopMenu.addRightButton('aboutButton', 'About', 'about.png', About.show)
|
||||
aboutWindow = displayUI('about.otui')
|
||||
aboutWindow:hide()
|
||||
end
|
||||
|
||||
function About.terminate()
|
||||
aboutButton:destroy()
|
||||
aboutButton = nil
|
||||
aboutWindow:destroy()
|
||||
aboutWindow = nil
|
||||
About = nil
|
||||
end
|
||||
|
||||
function About.show()
|
||||
aboutWindow:show()
|
||||
aboutWindow:raise()
|
||||
aboutWindow:focus()
|
||||
end
|
||||
|
||||
function About.hide()
|
||||
aboutWindow:hide()
|
||||
end
|
||||
|
||||
function About.openWebpage()
|
||||
displayErrorBox("Error", "Not implemented yet")
|
||||
end
|
@ -1,15 +0,0 @@
|
||||
Module
|
||||
name: client_about
|
||||
description: Create the about window
|
||||
author: OTClient team
|
||||
website: https://github.com/edubart/otclient
|
||||
|
||||
dependencies:
|
||||
- client_topmenu
|
||||
|
||||
@onLoad: |
|
||||
dofile 'about'
|
||||
About.init()
|
||||
|
||||
@onUnload: |
|
||||
About.terminate()
|
@ -1,58 +0,0 @@
|
||||
MainWindow
|
||||
id: about
|
||||
text: Info
|
||||
size: 244 221
|
||||
|
||||
@onEnter: About.hide()
|
||||
@onEscape: About.hide()
|
||||
|
||||
FlatPanel
|
||||
size: 208 129
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
|
||||
Label
|
||||
text-align: center
|
||||
text: |-
|
||||
OTClient
|
||||
Version 0.4.0
|
||||
Created by edubart
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.top: parent.top
|
||||
margin-top: 20
|
||||
|
||||
HorizontalSeparator
|
||||
size: 190 2
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
margin-top: 83
|
||||
margin-left: 9
|
||||
|
||||
Label
|
||||
text: Official Website
|
||||
anchors.left: parent.left
|
||||
anchors.bottom: parent.bottom
|
||||
margin-bottom: 14
|
||||
margin-left: 9
|
||||
|
||||
Button
|
||||
text: Github Page
|
||||
size: 88 24
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
margin-bottom: 9
|
||||
margin-right: 9
|
||||
@onClick: About.openWebpage()
|
||||
|
||||
HorizontalSeparator
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 12
|
||||
|
||||
Button
|
||||
text: Ok
|
||||
size: 46 24
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
@onClick: About.hide()
|
之前 宽度: | 高度: | 大小: 763 B |
@ -1,26 +1,199 @@
|
||||
-- to find all possible translations in the source code use the following command:
|
||||
-- find \( -name '*.lua' -o -name '*.otui' \) -exec grep -oE "tr\\('(\\\\'|[^'])*'" {} \; -exec grep -oE "tr\\(\"(\\\\\"|[^\"])*\nil {} \; | sort | uniq | sed "s/^tr(.\(.*\).$/[\"\1\"] = nil,/"
|
||||
|
||||
locale = {
|
||||
name = 'pt-br',
|
||||
name = 'pt-br',
|
||||
|
||||
-- As traduções devem vir sempre em ordem alfabética.
|
||||
translation = {
|
||||
['Account name'] = 'Nome da conta',
|
||||
['Account Status:\nFree Account'] = 'Estado da Conta:\nGrátis',
|
||||
['Auto login'] = 'Entrar automaticamente',
|
||||
['Cancel'] = 'Cancelar',
|
||||
['Character List'] = 'Lista de Personagens',
|
||||
['Enter Game'] = 'Entrar no Jogo',
|
||||
['Make sure that your client uses\nthe correct game protocol version'] = 'Tenha certeza de que o cliente usa\na versão correta do protocolo do jogo',
|
||||
['Ok'] = 'Ok',
|
||||
['Open charlist automatically when starting otclient'] = 'Abrir a lista de personagens automaticamente ao iniciar o otclient',
|
||||
['Options'] = 'Opções',
|
||||
['Password'] = 'Senha',
|
||||
['Port'] = 'Porta',
|
||||
['Remember account and password when starts otclient'] = 'Lembrar conta e senha ao iniciar o otclient',
|
||||
['Remember password'] = 'Lembrar senha',
|
||||
['Server'] = 'Servidor'
|
||||
}
|
||||
-- As traduções devem vir sempre em ordem alfabética.
|
||||
translation = {
|
||||
["Account name"] = "Nome da conta",
|
||||
["Account Status:\nFree Account"] = "Estado da conta:\nGratís",
|
||||
["Account Status:\nPremium Account (%s) days left"] = "Estado da conta:\nConta premium (%s) dias faltando",
|
||||
["Add"] = "Adicionar",
|
||||
["Add new VIP"] = "Adicionar nova VIP",
|
||||
["Addon 1"] = "Addon 1",
|
||||
["Addon 2"] = "Addon 2",
|
||||
["Addon 3"] = "Addon 3",
|
||||
["Add to VIP list"] = "Adicionar a lista VIP",
|
||||
["Adjust volume"] = "Ajustar volume",
|
||||
["All modules and scripts were reloaded."] = "Todos modules e scripts foram recarregados.",
|
||||
["Amount:"] = "Quantidade:",
|
||||
["Attack"] = "Atacar",
|
||||
["Author"] = "Autor",
|
||||
["Autoload"] = "Carregar automaticamente",
|
||||
["Autoload priority"] = "Prioridade de carregamento",
|
||||
["Auto login"] = "Entrar automaticamente",
|
||||
["Auto login selected character on next charlist load"] = "Entrar automaticamente com o personagem quando reabrir a lista de personagens",
|
||||
["Axe Fighting"] = "Machado",
|
||||
["Battle"] = "Batalha",
|
||||
["Button Assign"] = "Selecionar botão",
|
||||
["Buy"] = "Comprar",
|
||||
["Buy no backpack"] = "Comprar na backpack",
|
||||
["Buy with backpack"] = "Comprar com backpack",
|
||||
["Cancel"] = "Cancelar",
|
||||
["Capacity:"] = "Capacidade:",
|
||||
["Capacity"] = "Capacidade",
|
||||
["Channels"] = "Canais",
|
||||
["Character List"] = "Lista de personagens",
|
||||
["Classic control"] = "Controle clássico",
|
||||
["Clear object"] = "Limpar objeto",
|
||||
["Close"] = "Fechar",
|
||||
["Close this channel"] = "Fechar esse canal",
|
||||
["Club Fighting"] = "Porrete",
|
||||
["Combat Controls"] = nil,
|
||||
["Connecting to game server..."] = "Conectando no servidor do jogo...",
|
||||
["Connecting to login server..."] = "Conectando no servidor de autenticação...",
|
||||
["Consider capacity"] = "Considerar capacidade",
|
||||
["Consider equipped"] = "Considerar equipado",
|
||||
["Copy Name"] = "Copiar Nome",
|
||||
["Current hotkeys:"] = "Atalhos atuais",
|
||||
["Current hotkey to add: %s"] = "Atalho atual para adicionar: %s",
|
||||
["Default"] = "Default",
|
||||
["Description"] = "Descrição",
|
||||
["Detail"] = "Detalhe",
|
||||
["Disable Shared Experience"] = "Desativar experiência compartilhada",
|
||||
["Distance Fighting"] = "Flecha",
|
||||
["Edit hotkey text:"] = "Editar texto do atalho",
|
||||
["Edit Text"] = "Editar Texto",
|
||||
["Enable Shared Experience"] = "Ativar experiência compartilhada",
|
||||
["Enable vertical synchronization"] = "Ativar sincronização vertical",
|
||||
["Enter Game"] = "Entrar no jogo",
|
||||
["Error"] = "Erro",
|
||||
["Exclude from private chat"] = "Excluir do canal privado",
|
||||
["Experience"] = "Experiência",
|
||||
["Fishing"] = "Pesca",
|
||||
["Fist Fighting"] = "Porrada",
|
||||
["Follow"] = "Seguir",
|
||||
["Frame rate limit"] = "Limite de FPS",
|
||||
["Fullscreen"] = "Tela cheia",
|
||||
["Head"] = "Cabeça",
|
||||
["Health Bar"] = "Barra de Vida",
|
||||
["Hide monsters"] = "Esconder montros",
|
||||
["Hide non-skull players"] = "Esconder jogadores sem caveira",
|
||||
["Hide Npcs"] = "Esconder NPCs",
|
||||
["Hide party members"] = "Esconder membros do grupo",
|
||||
["Hide players"] = "Esconder jogadores",
|
||||
["Hit Points"] = "Vida",
|
||||
["Hotkeys"] = "Atalhos",
|
||||
["Ignore capacity"] = "Ignorar capacidade",
|
||||
["Ignore equipped"] = "Ignorar equipado",
|
||||
["Inventory"] = "Inventário",
|
||||
["Invite to Party"] = "Convidar para o grupo",
|
||||
["Invite to private chat"] = "Convidar para canal privado",
|
||||
["Join %s\'s Party"] = "Entrar no grupo do %s",
|
||||
["Leave Party"] = "Sair do grupo",
|
||||
["Level"] = "Nível",
|
||||
["Limits FPS to 60"] = "Limita o FPS para 60",
|
||||
["List of items that you're able to buy"] = "Listar itens que você não pode comprar",
|
||||
["List of items that you're able to sell"] = "Listar itens que você pode comprar",
|
||||
["Load"] = "Carregar",
|
||||
["Loggin out..."] = "Saindo...",
|
||||
["Login"] = "Entrar",
|
||||
["Login Error"] = "Erro de Autenticação",
|
||||
["Look"] = "Olhar",
|
||||
["Magic Level"] = "Nível Mágico",
|
||||
["Make sure that your client uses\nthe correct game protocol version"] = "Tenha certeza que o seu cliente use\no mesmo protocolo do server do jogo",
|
||||
["Mana"] = "Mana",
|
||||
["Manage hotkeys:"] = "Configurar atalhos:",
|
||||
["Message of the day"] = "Mensagem do dia",
|
||||
["Message to %s"] = "Mandar mensagem para %s",
|
||||
["Minimap"] = "Minimapa",
|
||||
["Module Manager"] = "Gerenciador de Módulos",
|
||||
["Module name"] = "Nomo do módulo",
|
||||
["Money:"] = "Dinheiro:",
|
||||
["Move Stackable Item"] = "Move item contável",
|
||||
["Move up"] = "Mover para cima",
|
||||
["Name:"] = "Nome:",
|
||||
["NPC Trade"] = "Troca com NPC",
|
||||
["Ok"] = "Ok",
|
||||
["Open"] = "Abrir",
|
||||
["Open a private message channel:"] = "Abrir um canal privado:",
|
||||
["Open charlist automatically when starting otclient"] = "Abrir lista de personágens",
|
||||
["Open in new window"] = nil,
|
||||
["Open new channel"] = nil,
|
||||
["Options"] = nil,
|
||||
["Outfit Name"] = nil,
|
||||
["Pass Leadership to %s"] = nil,
|
||||
["Password"] = nil,
|
||||
["Please enter a character name:"] = nil,
|
||||
["Please, press the key you wish to add onto your hotkeys manager"] = nil,
|
||||
["Please wait"] = nil,
|
||||
["Port"] = nil,
|
||||
["Price:"] = nil,
|
||||
["Primary"] = nil,
|
||||
["Quantity:"] = nil,
|
||||
["Refresh"] = nil,
|
||||
["Reload All"] = nil,
|
||||
["Remember account and password when starts otclient"] = nil,
|
||||
["Remember password"] = nil,
|
||||
["Remove"] = nil,
|
||||
["Remove %s"] = nil,
|
||||
["Revoke %s\'s Invitation"] = nil,
|
||||
["Rotate"] = nil,
|
||||
["Search:"] = nil,
|
||||
["Secondary"] = nil,
|
||||
["Select object"] = nil,
|
||||
["Select Outfit"] = nil,
|
||||
["Sell"] = nil,
|
||||
["Send automatically"] = nil,
|
||||
["Server"] = nil,
|
||||
["Server Log"] = nil,
|
||||
["Set Outfit"] = nil,
|
||||
["Shielding"] = nil,
|
||||
["Show all items"] = nil,
|
||||
["Show event messages in console"] = nil,
|
||||
["Show frame rate"] = nil,
|
||||
["Show info messages in console"] = nil,
|
||||
["Show levels in console"] = nil,
|
||||
["Show only holding items"] = nil,
|
||||
["Show private messages in console"] = nil,
|
||||
["Show status messages in console"] = nil,
|
||||
["Show timestamps in console"] = nil,
|
||||
["Skills"] = nil,
|
||||
["Soul Points"] = nil,
|
||||
["Stamina"] = nil,
|
||||
["Stop Attack"] = nil,
|
||||
["Stop Follow"] = nil,
|
||||
["%s: (use object)"] = nil,
|
||||
["%s: (use object on target)"] = nil,
|
||||
["%s: (use object on yourself)"] = nil,
|
||||
["%s: (use object with crosshair)"] = nil,
|
||||
["Sword Fighting"] = nil,
|
||||
["Terminal"] = nil,
|
||||
["There is no way."] = nil,
|
||||
["Trade with ..."] = nil,
|
||||
["Unable to logout."] = nil,
|
||||
["Unload"] = nil,
|
||||
["Use"] = nil,
|
||||
["Use on target"] = nil,
|
||||
["Use on yourself"] = nil,
|
||||
["Use with ..."] = nil,
|
||||
["Version"] = nil,
|
||||
["VIP list"] = nil,
|
||||
["VIP List"] = nil,
|
||||
["Website"] = nil,
|
||||
["Weight:"] = nil,
|
||||
["With crosshair"] = nil,
|
||||
["You are burning"] = nil,
|
||||
["You are cursed"] = nil,
|
||||
["You are dazzled"] = nil,
|
||||
["You are drowing"] = nil,
|
||||
["You are electrified"] = nil,
|
||||
["You are freezing"] = nil,
|
||||
["You are hasted"] = nil,
|
||||
["You are paralysed"] = nil,
|
||||
["You are poisoned"] = nil,
|
||||
["You are protected by a magic shield"] = nil,
|
||||
["You are strengthened"] = nil,
|
||||
["You are within a protection zone"] = nil,
|
||||
["You have %s percent"] = nil,
|
||||
["You have %s percent to go"] = nil,
|
||||
["You may not logout during a fight"] = nil,
|
||||
["You may not logout or enter a protection zone"] = nil,
|
||||
["You must select a character to login!"] = nil,
|
||||
}
|
||||
|
||||
-- Adicionar informações de números. 1.000 100,00 1.000,00 etc.
|
||||
-- Adicionar informações de números. 1.000 100,00 1.000,00 etc.
|
||||
}
|
||||
|
||||
Locales.installLocale(locale)
|
@ -1,28 +1,28 @@
|
||||
Panel
|
||||
OptionCheckBox
|
||||
id: classicControl
|
||||
text: Classic control
|
||||
!text: tr('Classic control')
|
||||
|
||||
OptionCheckBox
|
||||
id: showInfoMessagesInConsole
|
||||
text: Show info messages in console
|
||||
!text: tr('Show info messages in console')
|
||||
|
||||
OptionCheckBox
|
||||
id: showEventMessagesInConsole
|
||||
text: Show event messages in console
|
||||
!text: tr('Show event messages in console')
|
||||
|
||||
OptionCheckBox
|
||||
id: showStatusMessagesInConsole
|
||||
text: Show status messages in console
|
||||
!text: tr('Show status messages in console')
|
||||
|
||||
OptionCheckBox
|
||||
id: showTimestampsInConsole
|
||||
text: Show timestamps in console
|
||||
!text: tr('Show timestamps in console')
|
||||
|
||||
OptionCheckBox
|
||||
id: showLevelsInConsole
|
||||
text: Show levels in console
|
||||
!text: tr('Show levels in console')
|
||||
|
||||
OptionCheckBox
|
||||
id: showPrivateMessagesInConsole
|
||||
text: Show private messages in console
|
||||
!text: tr('Show private messages in console')
|
||||
|
正在加载...
在新工单中引用