Skip to content

Commit

Permalink
Linked Accounts 0.1.2
Browse files Browse the repository at this point in the history
- [NEW] Support for Spanish (es)
- Fixes in the English translation
- Fixes in the Galician translation
  • Loading branch information
Flerex committed Mar 11, 2018
1 parent fe901ab commit 9e0a5dd
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "A phpBB 3.2 extension that allows users to switch between their accounts with ease.",
"homepage": "https://github.com/flerex/linkedaccounts",
"version": "0.1.1",
"version": "0.1.2",
"time": "2018-3-01",
"keywords": ["flerex", "topic", "participants", "list"],
"license": "GPL-2.0",
Expand Down
6 changes: 3 additions & 3 deletions language/en/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
'FIND_ACCOUNT' => 'Find account',
'CURRENT_PASSWORD_EXPLAIN_LINKACCOUNTS' => 'You must enter your current password if you wish to create a link to the previous account.',
'EMPTY_FIELDS' => 'Username and password cannot be empty.',
'INCORRECT_LINKED_ACCOUNT_CREDENTIALS' => 'The account you are trying to link to does not match the introduced credentials.',
'INCORRECT_LINKED_ACCOUNT_CREDENTIALS' => 'The introduced credentials don\'t match any account.',
'SAME_ACCOUNT' => 'You cannot link this account to itself!',
'INACTIVE_ACCOUNT' => 'The account you are trying to link to appears to be inactive.',
'BANNED_ACCOUNT' => 'The account you are trying to link to appears to be banned.',
'ALREADY_LINKED' => 'You are already linked to this account.',

// Switching process
'ACCOUNTS_SWITCHED' => 'Accounts switched successfuly',
'INVALID_LINKED_ACCOUNT' => 'You cannot switch to this account',
'ACCOUNTS_SWITCHED' => 'Accounts switched successfuly.',
'INVALID_LINKED_ACCOUNT' => 'You cannot switch to this account.',
));
49 changes: 49 additions & 0 deletions language/es/common.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
*
* @package phpBB Extension - Linked Accounts
* @copyright (c) 2018 Flerex
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

$lang = array_merge($lang, array(

'LINKED_ACCOUNTS' => 'Cuentas enlazadas',

// UCP Management Module
'LINKED_ACCOUNTS_MANAGEMENT' => 'Gestión de cuentas',
'LINKED_ACCOUNTS_DESCRIPTION' => 'Desde aquí podrá enlazar otras cuentas a esta. El enlace permitirá cambiar entre distintas cuentas sin tener que escribir la contraseña.',
'LINK_ACCOUNT' => 'Enlazar cuenta',
'ACCOUNT' => 'Cuenta',
'LINKED_ON' => 'Enlazada el',
'NO_LINKED_ACCOUNTS' => 'No hay cuentas enlazadas actualmente.',
'UNLINK_ACCOUNT' => 'Desenlazar cuenta',
'SUCCESSFUL_UNLINKING' => 'Cuentas desenlazadas satisfactoriamente.',

// UCP Linking Module
'LINKING_ACCOUNT' => 'Crear enlace',
'ACCOUNT_LINKING_EXPLAIN' => 'Aquí deberá introducir las credenciales de la cuenta a la que intentas enlazarte.',
'FIND_ACCOUNT' => 'Buscar cuentas',
'CURRENT_PASSWORD_EXPLAIN_LINKACCOUNTS' => 'Debe introducir la contraseña de su cuenta actual si desea crear un enlace a la misma.',
'EMPTY_FIELDS' => 'El nombre de usuario y la contraseña no pueden estar vacíos.',
'INCORRECT_LINKED_ACCOUNT_CREDENTIALS' => 'Los credenciales introducidos no se corresponden a los de ninguna cuenta.',
'SAME_ACCOUNT' => '¡No puedes crear un enlace a ti mismo!',
'INACTIVE_ACCOUNT' => 'La cuenta a la que se intenta vincular parece estar inactiva.',
'BANNED_ACCOUNT' => 'La cuenta a la que se intenta vincular parece estar sancionada.',
'ALREADY_LINKED' => 'Ya estaba enlazado a esa cuenta.',

// Switching process
'ACCOUNTS_SWITCHED' => 'Se ha cambiado de cuenta satisfactoriamente.',
'INVALID_LINKED_ACCOUNT' => 'No se ha podido realizar el cambio a esa cuenta.',
));
23 changes: 23 additions & 0 deletions language/es/permissions_linkedaccounts.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
*
* @package phpBB Extension - Linked Accounts
* @copyright (c) 2018 Flerex
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

if (!defined('IN_PHPBB'))
{
exit;
}

if (empty($lang) || !is_array($lang))
{
$lang = array();
}

$lang = array_merge($lang, array(

'ACL_U_LINK_ACCOUNTS' => 'Puede enlazar cuentas',
));
8 changes: 4 additions & 4 deletions language/gl/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
'SUCCESSFUL_UNLINKING' => 'Contas desvinculadas satisfactoriamente.',

// UCP Linking Module
'LINKING_ACCOUNT' => 'Crear enlace',
'LINKING_ACCOUNT' => 'Crear vínculo',
'ACCOUNT_LINKING_EXPLAIN' => 'Aquí deberás introducir as credenciais da conta á que intentas vincularte.',
'FIND_ACCOUNT' => 'Procurar contas',
'CURRENT_PASSWORD_EXPLAIN_LINKACCOUNTS' => 'Debes introducir o teu contrasinal actual se desexas crear un vínculo á devandita.',
'EMPTY_FIELDS' => 'O nome de usuario e contrasinal non deben estar vacíos.',
'INCORRECT_LINKED_ACCOUNT_CREDENTIALS' => 'A conta que introduciches non se corresponde cos credentiais.',
'INCORRECT_LINKED_ACCOUNT_CREDENTIALS' => 'Os credenciais introducidos non se corresponden a ningunha conta.',
'SAME_ACCOUNT' => 'Non podes vincularte a ti mesmo!',
'INACTIVE_ACCOUNT' => 'A conta á que tratas de vincularte parece estar inactiva.',
'BANNED_ACCOUNT' => 'A conta á que tratas de vincularte parece estar prohibida.',
'ALREADY_LINKED' => 'Xa estabas vinculado a esta conta.',

// Switching process
'ACCOUNTS_SWITCHED' => 'Cambiouse de conta satisfactoriamente',
'INVALID_LINKED_ACCOUNT' => 'Non podes cambiar a esta conta',
'ACCOUNTS_SWITCHED' => 'Cambiouse de conta satisfactoriamente.',
'INVALID_LINKED_ACCOUNT' => 'Non se puido cambiar a esta conta.',
));
2 changes: 1 addition & 1 deletion language/gl/permissions_linkedaccounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@

$lang = array_merge($lang, array(

'ACL_U_LINK_ACCOUNTS' => 'Can link accounts',
'ACL_U_LINK_ACCOUNTS' => 'Pode vincular contas',
));

0 comments on commit 9e0a5dd

Please sign in to comment.