Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar Language Support #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 79 additions & 79 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,39 +196,39 @@
// 'Home' => array('module' => 'main'),
//'Forums' => array('exturl' => 'http://www.fluxro.com/community'),
//),
'Account' => array(
'Register' => array('module' => 'account', 'action' => 'create'),
'Login' => array('module' => 'account', 'action' => 'login'),
'My Account' => array('module' => 'account', 'action' => 'view'),
'History' => array('module' => 'history'),
'Logout' => array('module' => 'account', 'action' => 'logout'),
'AccountLabel' => array(
'AccountCreateHeading' => array('module' => 'account', 'action' => 'create'),
'LoginTitle' => array('module' => 'account', 'action' => 'login'),
'MyAccountLabel' => array('module' => 'account', 'action' => 'view'),
'HistoryLabel' => array('module' => 'history'),
'LogoutTitle' => array('module' => 'account', 'action' => 'logout'),
),
'Donations' => array(
'Donate' => array('module' => 'donate'),
'Purchase' => array('module' => 'purchase'),
'DonationsLabel' => array(
'DonateLabel' => array('module' => 'donate'),
'PurchaseLabel' => array('module' => 'purchase'),
),
'Information' => array(
'Server Info' => array('module' => 'server', 'action' => 'info'),
'Server Status' => array('module' => 'server', 'action' => 'status'),
'WoE Hours' => array('module' => 'woe'),
'Castles' => array('module' => 'castle'),
"Who's Online" => array('module' => 'character', 'action' => 'online'),
'Map Statistics'=> array('module' => 'character', 'action' => 'mapstats'),
'Ranking Info' => array('module' => 'ranking', 'action' => 'character'),
'InformationLabel' => array(
'ServerInfoLabel' => array('module' => 'server', 'action' => 'info'),
'ServerStatusLabel' => array('module' => 'server', 'action' => 'status'),
'WoeHoursLabel' => array('module' => 'woe'),
'CastlesLabel' => array('module' => 'castle'),
"WhosOnlineLabel" => array('module' => 'character', 'action' => 'online'),
'MapStatisticsLabel'=> array('module' => 'character', 'action' => 'mapstats'),
'RankingInfoLabel' => array('module' => 'ranking', 'action' => 'character'),
),
'Database' => array(
'Item Database' => array('module' => 'item'),
'Mob Database' => array('module' => 'monster'),
'DatabaseLabel' => array(
'ItemDatabaseLabel' => array('module' => 'item'),
'MobDatabaseLabel' => array('module' => 'monster'),
),
'Misc. Stuff' => array(
'Hercules Logs' => array('module' => 'logdata'),
'CP Logs' => array('module' => 'cplog'),
'IP Ban List' => array('module' => 'ipban'),
'Accounts' => array('module' => 'account'),
'Characters' => array('module' => 'character'),
'Guilds' => array('module' => 'guild'),
'Send Mail' => array('module' => 'mail'),
'Re-Install' => array('module' => 'install', 'action' => 'reinstall'),
'HerculesLogsLabel' => array('module' => 'logdata'),
'CPLogsLabel' => array('module' => 'cplog'),
'IpbanListTitle' => array('module' => 'ipban'),
'AccountIndexHeading' => array('module' => 'account'),
'ServerInfoCharLabel' => array('module' => 'character'),
'ServerInfoGuildLabel' => array('module' => 'guild'),
'SendMailLabel' => array('module' => 'mail'),
'ReInstallLabel' => array('module' => 'install', 'action' => 'reinstall'),
//'Auction' => array('module' => 'auction'),
//'Economy' => array('module' => 'economy'),
)
Expand All @@ -238,82 +238,82 @@
// particular module. The format it simple.
'SubMenuItems' => array(
'history' => array(
'gamelogin' => 'Game Logins',
'cplogin' => 'CP Logins',
'emailchange'=> 'E-Mail Changes',
'passchange' => 'Password Changes',
'passreset' => 'Password Resets'
'gamelogin' => 'HistoryGameLoginTitle',
'cplogin' => 'HistoryCpLoginTitleShort',
'emailchange'=> 'HistoryEmailTitle',
'passchange' => 'HistoryPassChangeTitle',
'passreset' => 'HistoryPassResetTitle'
),
'account' => array(
'index' => 'List Accounts',
'view' => 'View Account',
'changepass' => 'Change Password',
'changemail' => 'Change E-mail',
'changesex' => 'Change Gender',
'transfer' => 'Transfer Credits',
'xferlog' => 'Credit Transfer History',
'cart' => 'Go to Shopping Cart',
'login' => 'Login',
'create' => 'Register',
'resetpass' => 'Reset Password',
'resend' => 'Resend E-mail Confirmation'
'index' => 'AccountIndexTitle',
'view' => 'AccountViewTitle',
'changepass' => 'PasswordChangeTitle',
'changemail' => 'EmailChangeTitle',
'changesex' => 'GenderChangeTitle',
'transfer' => 'TransferTitle',
'xferlog' => 'TransferHistory',
'cart' => 'CartLabel',
'login' => 'LoginTitle',
'create' => 'AccountCreateHeading',
'resetpass' => 'ResetPassTitle',
'resend' => 'ResendTitle'
),
'guild' => array(
'index' => 'List Guilds',
'export' => 'Export Guild Emblems'
'index' => 'ListGuildsLabel',
'export' => 'ExportGuildEmblemLabel'
),
'server' => array(
'status' => 'View Status',
'status-xml' => 'View Status as XML'
'status' => 'ViewStatusLabel',
'status-xml' => 'ViewXmlStatusLabel'
),
'logdata' => array(
//'char' => 'Characters',
//'inter' => 'Interactions',
'command' => 'Commands',
'command' => 'CommandLogHeading',
//'branch' => 'Branches',
'chat' => 'Chat Messages',
'login' => 'Logins',
'chat' => 'ChatMessagesLabel',
'login' => 'LoginsLabel',
//'mvp' => 'MVP',
//'npc' => 'NPC',
'pick' => 'Item Picks',
'zeny' => 'Zeny'
'pick' => 'PickLogHeading',
'zeny' => 'ServerInfoZenyLabel'
),
'cplog' => array(
'paypal' => 'PayPal Transactions',
'login' => 'Logins',
'resetpass' => 'Password Resets',
'changepass' => 'Password Changes',
'changemail' => 'E-mail Changes',
'ban' => 'Account Bans',
'ipban' => 'IP Bans'
'paypal' => 'PaypalTransactionsTitle',
'login' => 'LoginsLabel',
'resetpass' => 'HistoryPassResetTitle',
'changepass' => 'HistoryPassChangeTitle',
'changemail' => 'HistoryEmailTitle',
'ban' => 'AccountBansLabel',
'ipban' => 'IpBansLabel'
),
'purchase' => array(
'index' => 'Shop',
'cart' => 'Go to Cart',
'checkout' => 'Checkout',
'clear' => 'Empty Cart',
'pending' => 'Pending Redemption'
'index' => 'ShopLabel',
'cart' => 'GoToCartLabel',
'checkout' => 'CheckoutLabel',
'clear' => 'EmptyCartLabel',
'pending' => 'PendingRedemptionLabel'
),
'donate' => array(
'index' => 'Make a Donation',
'history' => 'Donation History',
'trusted' => 'Trusted PayPal E-mails'
'index' => 'DonateLabel',
'history' => 'DonationHistoryLabel',
'trusted' => 'TrustedPayPalMailsLabel'
),
'ipban' => array(
'index' => 'IP Ban List',
'add' => 'Add IP Ban'
'index' => 'IpbanListTitle',
'add' => 'IpbanAddTitle'
),
'ranking' => array(
'character' => 'Character Ranking',
'guild' => 'Guild Ranking',
'zeny' => 'Zeny Ranking',
'death' => 'Death Ranking',
'alchemist' => 'Alchemist Ranking',
'blacksmith' => 'Blacksmith Ranking'
'character' => 'CharacterRankingLabel',
'guild' => 'GuildRankingLabel',
'zeny' => 'ZenyRankingLabel',
'death' => 'DeathRankingLabel',
'alchemist' => 'AlchemistRankingLabel',
'blacksmith' => 'BlacksmithRankingLabel'
),
'item' => array(
'index' => 'List Items',
'add' => 'Add Item'
'index' => 'ListItemsLabel',
'add' => 'AddItemLabel'
)
),

Expand Down
69 changes: 68 additions & 1 deletion lang/en_us.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,71 @@
'ItemCard2Label' => 'Card 2',
'ItemCard3Label' => 'Card 3',

//SIDEBAR
//FluxCP Menu Items
//Categories
'MainMenuLabel' => 'Main Menu',
'AccountLabel' => 'Account',
'DonationsLabel' => 'Donations',
'InformationLabel' => 'Information',
'DatabaseLabel' => 'Database',
'SocialLabel' => 'Social',
//SubMenus
'HomeLabel' => 'Home',
'NewsLabel' => 'News',
'DownloadsLabel' => 'Downloads',
'RulesLabel' => 'Rules',
'ContactUsLabel' => 'Contact us',
'MyAccountLabel' => 'My Account',
'HistoryLabel' => 'History',
'ServiceDeskLabel' => 'Service Desk',
'PurchaseLabel' => 'Purchase',
'DonateLabel' => 'Donate',
'ServerInfoLabel' => 'Server Info',
'ServerStatusLabel' => 'Server Status',
'WoeHoursLabel' => 'WoE Hours',
'CastlesLabel' => 'Castles',
'WhosOnlineLabel' => "Who's Online",
'MapStaticsLabel' => 'Map Statistics',
'RankingInfoLabel' => 'Ranking',
'VendingInfoLabel' => 'Vending',
'ItemDatabaseLabel' => 'Item DB',
'MobDatabaseLabel' => 'Mob DB',
'JoinUsInFacebookLabel' => 'Find us on Facebook!',
'RateUsOnRMSLabel' => 'Rate us on RMS!',
//ADMIN SIDEBAR AND OPTIONS
'SendMailLabel' => 'Send Email',
'ReInstallLabel' => 'Re-install',
'CpLoginsLabel' => 'CP Logins',
'TransferHistory' => 'Transfer History',
'CartLabel' => 'Go to shopping cart',
'ListGuildsLabel' => 'List Guilds',
'ExportGuildEmblemLabel' => 'Export guild emblems',
'ViewStatusLabel' => 'View Status',
'ViewXmlStatusLabel' => 'View status as XML',
'ChatMessagesLabel' => 'Chat messages',
'LoginsLabel' => 'Logins',
'PaypalTransactionsTitle' => 'PayPal Transactions',
'AccountBansLabel' => 'Account Bans',
'IpBansLabel' => 'IP Bans',
'ShopLabel' => 'Shop',
'GoToCartLabel' => 'Go to Cart',
'CheckoutLabel' => 'Checkout',
'EmptyCartLabel' => 'Empty Cart',
'PendingRedemptionLabel' => 'Pending Redemption',
'DonationHistoryLabel' => 'Donation History',
'TrustedPayPalMailsLabel' => 'Trusted E-Mails',
'CharacterRankingLabel' => 'Character Ranking',
'GuildRankingLabel' => 'Guild Ranking',
'ZenyRankingLabel' => 'Zeny Ranking',
'DeathRankingLabel' => 'Death Ranking',
'AlchemistRankingLabel' => 'Alchemist Ranking',
'BlacksmithRankingLabel' => 'Blacksmith Ranking',
'ListItemsLabel' => 'List Items',
'AddItemLabel' => 'Add Item',
'HerculesLogsLabel' => 'Hercules Logs',


// Security
'SecuritySessionInvalid' => 'Sorry, the session has expired, try again.',
'SecurityNeedSession' => 'Sorry, no form session found (hack attempt ?)',
Expand Down Expand Up @@ -240,6 +305,7 @@
'ResetPwDone2' => 'Your password has been reset, but we failed to deliver the e-mail containing your new password. Please reset again to resolve this issue.',
// - account/transfer
'TransferTitle' => 'Transfer Donation Credits',
'TransferTitleShort' => 'Transfer Credits',
'TransferGreaterThanOne' => 'You can only transfer credits in amounts greater than 1.',
'TransferEnterCharName' => 'You must input the character name of who will receive the credits.',
'TransferNoCharExists' => "Character '%s' does not exist. Please make sure you typed it correctly.",
Expand Down Expand Up @@ -361,7 +427,7 @@
// - donate/history
// - donate/index
// - donate/trusted

// Module: errors
// - errors/missing_action
'MissingActionTitle' => 'Missing Action',
Expand All @@ -386,6 +452,7 @@
// Module: history
// - history/cplogin
'HistoryCpLoginTitle' => 'Control Panel Logins',
'HistoryCpLoginTitleShort' => 'CP Logins',
'HistoryCpLoginHeading' => 'Control Panel Logins',
'HistoryLoginDateLabel' => 'Login Date/Time',
'HistoryIpAddrLabel' => 'IP Address',
Expand Down
69 changes: 67 additions & 2 deletions lang/es_es.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,69 @@
'ItemCard2Label' => 'Carta 2',
'ItemCard3Label' => 'Carta 3',

//SIDEBAR
//FluxCP Menu Items
//Categories
'MainMenuLabel' => 'Menú Principal',
'AccountLabel' => 'Cuenta',
'DonationsLabel' => 'Donaciones',
'InformationLabel' => 'Informaciones',
'DatabaseLabel' => 'Base de datos',
'SocialLabel' => 'Social',
//SubMenus
'HomeLabel' => 'Inicio',
'NewsLabel' => 'Noticias',
'DownloadsLabel' => 'Descargas',
'RulesLabel' => 'Reglas',
'ContactUsLabel' => 'Contáctanos',
'MyAccountLabel' => 'Mi Cuenta',
'HistoryLabel' => 'Historial',
'ServiceDeskLabel' => 'Centro de Soporte',
'PurchaseLabel' => 'Canjear',
'DonateLabel' => 'Donar',
'ServerInfoLabel' => 'Info. del Servidor',
'ServerStatusLabel' => 'Estado del Servidor',
'WoeHoursLabel' => 'Horarios WOE',
'CastlesLabel' => 'Castillos',
'WhosOnlineLabel' => 'Jugadores Conectados',
'MapStaticsLabel' => 'Estadísticas de Mapas',
'RankingInfoLabel' => 'Ranking',
'VendingInfoLabel' => 'Vending',
'ItemDatabaseLabel' => 'Item DB',
'MobDatabaseLabel' => 'Mob DB',
'JoinUsInFacebookLabel' => '¡Encuéntranos en Facebook!',
'RateUsOnRMSLabel' => '¡Califícanos en RMS!',
//ADMIN SIDEBAR AND OPTIONS
'SendMailLabel' => 'Enviar Email',
'ReInstallLabel' => 'Re-instalar',
'TransferHistory' => 'Historial de transferencias',
'CartLabel' => 'Carro de compra',
'ListGuildsLabel' => 'Lista de Guilds',
'ExportGuildEmblemLabel' => 'Exportar emblemas',
'ViewStatusLabel' => 'Ver estado',
'ViewXmlStatusLabel' => 'Ver estado como XML',
'ChatMessagesLabel' => 'Mensajes de chat',
'LoginsLabel' => 'Logins',
'PaypalTransactionsTitle' => 'Transacciones por PayPal',
'AccountBansLabel' => 'Cuentas Bloqueadas',
'IpBansLabel' => 'IPs Bloqueadas',
'GoToCartLabel' => 'Ir al Carro',
'CheckoutLabel' => 'Canjear',
'EmptyCartLabel' => 'Vaciar Carro',
'PendingRedemptionLabel' => 'Canje Pendiente',
'DonationHistoryLabel' => 'Historial de Donaciones',
'TrustedPayPalMailsLabel' => 'Correos de confianza',
'CharacterRankingLabel' => 'Ranking de Personajes',
'GuildRankingLabel' => 'Ranking de Guilds',
'ZenyRankingLabel' => 'Ranking de Zeny',
'DeathRankingLabel' => 'Ranking de Muertes',
'AlchemistRankingLabel' => 'Ranking de Alchemist',
'BlacksmithRankingLabel' => 'Ranking de Blacksmiths',
'ListItemsLabel' => 'Lista de objetos',
'AddItemLabel' => 'Agregar Objeto',
'HerculesLogsLabel' => 'Hercules Logs',


// Security
'SecuritySessionInvalid' => 'Lo sentimos, pero tu tiempo de sesión ha expirado. Inténtalo de nuevo.',
'SecurityNeedSession' => 'Lo sentimos, pero no se ha encontrado la sesión del formulario (¿intento de hack?)',
Expand Down Expand Up @@ -255,6 +318,7 @@
'ResetPwDone2' => 'Se ha cambiado tu contraseña, pero no hemos podido enviar el correo electrónico que contiene tu nueva contraseña. Por favor, repite el proceso de recuperar tu contraseña para resolver este problema.',
// - account/transfer
'TransferTitle' => 'Transferir Créditos de Donación',
'TransferTitleShort' => 'Transferir Créditos',
'TransferGreaterThanOne' => 'Solo puedes transferir créditos en cantidades mayores que 1.',
'TransferEnterCharName' => 'Debes introducir el nombre del personaje que recibirá los créditos.',
'TransferNoCharExists' => "El personaje '%s' no existe. Asegúrate de haberlo escrito correctamente.",
Expand Down Expand Up @@ -401,6 +465,7 @@
// Module: history
// - history/cplogin
'HistoryCpLoginTitle' => 'Accesos al Panel de Control',
'HistoryCpLoginTitleShort' => 'CP Logins',
'HistoryCpLoginHeading' => 'Accesos al Panel de Control',
'HistoryLoginDateLabel' => 'Fecha/Hora de Acceso',
'HistoryIpAddrLabel' => 'Dirección IP',
Expand Down Expand Up @@ -468,8 +533,8 @@
'IpbanEditReasonLabel' => 'Razón de la Edición',
'IpbanEditButton' => 'Modifcar Expulsión de IP',
// - ipban/index
'IpbanListTitle' => 'Lista de Expulsiones de IP',
'IpbanListHeading' => 'Lista de Expulsiones de IP',
'IpbanListTitle' => 'Lista IPs bloqueadas',
'IpbanListHeading' => 'Lista IPs bloqueadas',
'IpbanBannedIpLabel' => 'IP Expulsada',
'IpbanBanDateLabel' => 'Fecha de Expulsión',
'IpbanBanReasonLabel' => 'Razón de Expulsión',
Expand Down
Loading