Skip to content

Commit

Permalink
Added Spanish (thanks 4Kstore) and Polish (thanks phantomm) translati…
Browse files Browse the repository at this point in the history
…ons; Moved language files to a directory; revision changed to 1.4
  • Loading branch information
emanuele committed Feb 16, 2012
1 parent 679c709 commit 25ab8f2
Show file tree
Hide file tree
Showing 13 changed files with 230 additions and 11 deletions.
File renamed without changes.
31 changes: 31 additions & 0 deletions IntegrationHooks/IntegrationHooks.english.php
@@ -0,0 +1,31 @@
<?php
/**
* Integration Hooks Report (IHR)
*
* @package IHR
* @author [SiNaN]
* @2nd-author emanuele
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
*/

$txt['hooks_title_list'] = 'Integration Hooks';
$txt['hooks_field_hook_name'] = 'Hook Name';
$txt['hooks_field_function_name'] = 'Function Name';
$txt['hooks_field_file_name'] = 'File Name';
$txt['hooks_field_hook_exists'] = 'Status';
$txt['hooks_active'] = 'Exists';
$txt['hooks_disabled'] = 'Disabled';
$txt['hooks_missing'] = 'Not found';
$txt['hooks_no_hooks'] = 'There are not any hooks setup.';
$txt['hooks_button_remove'] = 'Remove';
$txt['hooks_disable_instructions'] = 'Click on the status icon to enable or disable the hook';
$txt['hooks_disable_legend'] = 'Legend';
$txt['hooks_disable_legend_exists'] = 'the hook exists and is active';
$txt['hooks_disable_legend_disabled'] = 'the hook exists but has been disabled';
$txt['hooks_disable_legend_missing'] = 'the hook has not been found';
$txt['hooks_reset_filter'] = 'Reset filter';

?>
31 changes: 31 additions & 0 deletions IntegrationHooks/IntegrationHooks.english_british-utf8.php
@@ -0,0 +1,31 @@
<?php
/**
* Integration Hooks Report (IHR)
*
* @package IHR
* @author [SiNaN]
* @2nd-author emanuele
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
*/

$txt['hooks_title_list'] = 'Integration Hooks';
$txt['hooks_field_hook_name'] = 'Hook Name';
$txt['hooks_field_function_name'] = 'Function Name';
$txt['hooks_field_file_name'] = 'File Name';
$txt['hooks_field_hook_exists'] = 'Status';
$txt['hooks_active'] = 'Exists';
$txt['hooks_disabled'] = 'Disabled';
$txt['hooks_missing'] = 'Not found';
$txt['hooks_no_hooks'] = 'There are not any hooks setup.';
$txt['hooks_button_remove'] = 'Remove';
$txt['hooks_disable_instructions'] = 'Click on the status icon to enable or disable the hook';
$txt['hooks_disable_legend'] = 'Legend';
$txt['hooks_disable_legend_exists'] = 'the hook exists and is active';
$txt['hooks_disable_legend_disabled'] = 'the hook exists but has been disabled';
$txt['hooks_disable_legend_missing'] = 'the hook has not been found';
$txt['hooks_reset_filter'] = 'Reset filter';

?>
31 changes: 31 additions & 0 deletions IntegrationHooks/IntegrationHooks.english_british.php
@@ -0,0 +1,31 @@
<?php
/**
* Integration Hooks Report (IHR)
*
* @package IHR
* @author [SiNaN]
* @2nd-author emanuele
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
*/

$txt['hooks_title_list'] = 'Integration Hooks';
$txt['hooks_field_hook_name'] = 'Hook Name';
$txt['hooks_field_function_name'] = 'Function Name';
$txt['hooks_field_file_name'] = 'File Name';
$txt['hooks_field_hook_exists'] = 'Status';
$txt['hooks_active'] = 'Exists';
$txt['hooks_disabled'] = 'Disabled';
$txt['hooks_missing'] = 'Not found';
$txt['hooks_no_hooks'] = 'There are not any hooks setup.';
$txt['hooks_button_remove'] = 'Remove';
$txt['hooks_disable_instructions'] = 'Click on the status icon to enable or disable the hook';
$txt['hooks_disable_legend'] = 'Legend';
$txt['hooks_disable_legend_exists'] = 'the hook exists and is active';
$txt['hooks_disable_legend_disabled'] = 'the hook exists but has been disabled';
$txt['hooks_disable_legend_missing'] = 'the hook has not been found';
$txt['hooks_reset_filter'] = 'Reset filter';

?>
33 changes: 33 additions & 0 deletions IntegrationHooks/IntegrationHooks.polish-utf8.php
@@ -0,0 +1,33 @@
<?php
/**
* Integration Hooks Report (IHR)
*
* @package IHR
* @author [SiNaN]
* @2nd-author emanuele
* @translation by phantomm
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
* Translated to Polish by phantom
*/

$txt['hooks_title_list'] = 'Haki integracyjne';
$txt['hooks_field_hook_name'] = 'Nazwa haku';
$txt['hooks_field_function_name'] = 'Nazwa funkcji';
$txt['hooks_field_file_name'] = 'Nazwa pliku';
$txt['hooks_field_hook_exists'] = 'Status';
$txt['hooks_active'] = 'Istnieje';
$txt['hooks_disabled'] = 'Wyłączony';
$txt['hooks_missing'] = 'Nie znaleziono';
$txt['hooks_no_hooks'] = 'Nie znaleziono żadnych ustawień haków.';
$txt['hooks_button_remove'] = 'Usuń';
$txt['hooks_disable_instructions'] = 'Kliknij na ikonie statusu aby włączyć lub wyłączyć hak';
$txt['hooks_disable_legend'] = 'Legenda';
$txt['hooks_disable_legend_exists'] = 'hak istnieje i jest aktywny';
$txt['hooks_disable_legend_disabled'] = 'hak istnieje, ale został wyłączony';
$txt['hooks_disable_legend_missing'] = 'haku nie znaleziono';
$txt['hooks_reset_filter'] = 'Zresetuj filtr';

?>
33 changes: 33 additions & 0 deletions IntegrationHooks/IntegrationHooks.polish.php
@@ -0,0 +1,33 @@
<?php
/**
* Integration Hooks Report (IHR)
*
* @package IHR
* @author [SiNaN]
* @2nd-author emanuele
* @translation by phantomm
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
* Translated to Polish by phantom
*/

$txt['hooks_title_list'] = 'Haki integracyjne';
$txt['hooks_field_hook_name'] = 'Nazwa haku';
$txt['hooks_field_function_name'] = 'Nazwa funkcji';
$txt['hooks_field_file_name'] = 'Nazwa pliku';
$txt['hooks_field_hook_exists'] = 'Status';
$txt['hooks_active'] = 'Istnieje';
$txt['hooks_disabled'] = 'Wy³±czony';
$txt['hooks_missing'] = 'Nie znaleziono';
$txt['hooks_no_hooks'] = 'Nie znaleziono ¿adnych ustawieñ haków.';
$txt['hooks_button_remove'] = 'Usuñ';
$txt['hooks_disable_instructions'] = 'Kliknij na ikonie statusu aby w³±czyæ lub wy³±czyæ hak';
$txt['hooks_disable_legend'] = 'Legenda';
$txt['hooks_disable_legend_exists'] = 'hak istnieje i jest aktywny';
$txt['hooks_disable_legend_disabled'] = 'hak istnieje, ale zosta³ wy³±czony';
$txt['hooks_disable_legend_missing'] = 'haku nie znaleziono';
$txt['hooks_reset_filter'] = 'Zresetuj filtr';

?>
File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions IntegrationHooks/IntegrationHooks.spanish_latin-utf8.php
@@ -0,0 +1,32 @@
<?php
/**
* Integration Hooks Report (IHR)
*
* @package IHR
* @author [SiNaN]
* @2nd-author emanuele
* @translation by 4Kstore
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
*/

$txt['hooks_title_list'] = 'Integration Hooks';
$txt['hooks_field_hook_name'] = 'Nombre del Hook';
$txt['hooks_field_function_name'] = 'Funcion del Hook';

This comment has been minimized.

Copy link
@emanuele45

emanuele45 Feb 17, 2012

Owner

Thanks MAS!
Now should be correct:
8dd9e66

$txt['hooks_field_file_name'] = 'Nombre del Archivo';
$txt['hooks_field_hook_exists'] = 'Estado';
$txt['hooks_active'] = 'Existe';
$txt['hooks_disabled'] = 'Deshabilitado';
$txt['hooks_missing'] = 'No Encontrado';
$txt['hooks_no_hooks'] = 'No hay hooks instalados.';
$txt['hooks_button_remove'] = 'Eliminar';
$txt['hooks_disable_instructions'] = 'Click en el icono de estado para habilitar o deshabilitar hooks';
$txt['hooks_disable_legend'] = 'Leyenda';
$txt['hooks_disable_legend_exists'] = 'El hook existe y esta activo';
$txt['hooks_disable_legend_disabled'] = 'El hook existe pero esta deshabilitado';
$txt['hooks_disable_legend_missing'] = 'No se encontro el hook';
$txt['hooks_reset_filter'] = 'Reiniciar filtro';

?>
32 changes: 32 additions & 0 deletions IntegrationHooks/IntegrationHooks.spanish_latin.php
@@ -0,0 +1,32 @@
<?php
/**
* Integration Hooks Report (IHR)
*
* @package IHR
* @author [SiNaN]
* @2nd-author emanuele
* @translation by 4Kstore
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
*/

$txt['hooks_title_list'] = 'Integration Hooks';
$txt['hooks_field_hook_name'] = 'Nombre del Hook';
$txt['hooks_field_function_name'] = 'Funcion del Hook';
$txt['hooks_field_file_name'] = 'Nombre del Archivo';
$txt['hooks_field_hook_exists'] = 'Estado';
$txt['hooks_active'] = 'Existe';
$txt['hooks_disabled'] = 'Deshabilitado';
$txt['hooks_missing'] = 'No Encontrado';
$txt['hooks_no_hooks'] = 'No hay hooks instalados.';
$txt['hooks_button_remove'] = 'Eliminar';
$txt['hooks_disable_instructions'] = 'Click en el icono de estado para habilitar o deshabilitar hooks';
$txt['hooks_disable_legend'] = 'Leyenda';
$txt['hooks_disable_legend_exists'] = 'El hook existe y esta activo';
$txt['hooks_disable_legend_disabled'] = 'El hook existe pero esta deshabilitado';
$txt['hooks_disable_legend_missing'] = 'No se encontro el hook';
$txt['hooks_reset_filter'] = 'Reiniciar filtro';

?>
4 changes: 2 additions & 2 deletions Subs-IntegrationHooks.php
Expand Up @@ -8,7 +8,7 @@
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
* @version 1.4
*/

if (!defined('SMF'))
Expand All @@ -18,7 +18,7 @@ function hooks_admin_areas($areas)
{
global $context, $txt;

loadLanguage('IntegrationHooks');
loadLanguage('IntegrationHooks/IntegrationHooks');

$areas['config']['areas']['modsettings']['subsections']['hooks'] = array($txt['hooks_title_list']);
}
Expand Down
2 changes: 1 addition & 1 deletion install.php
Expand Up @@ -8,7 +8,7 @@
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
* @version 1.4
*/

if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
Expand Down
12 changes: 4 additions & 8 deletions package-info.xml
Expand Up @@ -12,29 +12,25 @@
* @copyright 2011 [SiNaN], Simple Machines
* @license http://www.simplemachines.org/about/smf/license.php BSD
*
* @version 1.3
* @version 1.4
*/
-->
</license>
<id>[SiNaN]:IntegrationHooks</id>
<name>Integration Hooks Report</name>
<version>1.3</version>
<version>1.4</version>
<type>modification</type>
<install for="2.0 - 2.0.99">
<require-file name="Subs-IntegrationHooks.php" destination="$sourcedir" />
<require-file name="IntegrationHooks.template.php" destination="$themedir" />
<require-file name="IntegrationHooks.english.php" destination="$languagedir" />
<require-file name="IntegrationHooks.russian.php" destination="$languagedir" />
<require-file name="IntegrationHooks.russian-utf8.php" destination="$languagedir" />
<require-dir name="IntegrationHooks" destination="$languagedir" />
<redirect url="?action=admin;area=modsettings;sa=hooks" />
<code>install.php</code>
</install>
<uninstall for="2.0 - 2.0.99">
<remove-file name="$sourcedir/Subs-IntegrationHooks.php" />
<remove-file name="$themedir/IntegrationHooks.template.php" />
<remove-file name="$languagedir/IntegrationHooks.english.php" />
<remove-file name="$languagedir/IntegrationHooks.russian.php" />
<remove-file name="$languagedir/IntegrationHooks.russian-utf8.php" />
<remove-dir name="$languagedir/IntegrationHooks" />
<redirect url="?action=admin;area=packages" />
<code>install.php</code>
</uninstall>
Expand Down

0 comments on commit 25ab8f2

Please sign in to comment.