Commit 5c0987eb27508b80ede8dad4c801f2c49e0f71f0

Authored by Tiago Zimmermann
1 parent 3a51879f
Exists in master

translate

bin/es.mo
No preview for this file type
bin/es.po
... ... @@ -7,8 +7,8 @@ msgid ""
7 7 msgstr ""
8 8 "Project-Id-Version: Snep v-1.4\n"
9 9 "Report-Msgid-Bugs-To: \n"
10   -"POT-Creation-Date: 2014-12-08 16:20-0200\n"
11   -"PO-Revision-Date: 2014-12-09 17:16-0300\n"
  10 +"POT-Creation-Date: 2014-12-10 09:30-0200\n"
  11 +"PO-Revision-Date: 2014-12-10 09:31-0300\n"
12 12 "Last-Translator: Tiago <tiago.zimmermann@opens.com.br>\n"
13 13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 14 "Language: es\n"
... ... @@ -609,7 +609,7 @@ msgstr &quot;Audio: Tú eres el siguiente&quot;
609 609 msgid "Authentication failure"
610 610 msgstr "Fallo de autenticación"
611 611  
612   -#: ../modules/default/views/layouts/layout.phtml:58
  612 +#: ../modules/default/views/layouts/layout.phtml:60
613 613 #: ../modules/default/views/scripts/ip-status/asterisk-error.phtml:17
614 614 #: ../modules/default/views/scripts/trunks/error.phtml:16
615 615 #: ../modules/default/views/scripts/trunks/asterisk-error.phtml:17
... ... @@ -1184,7 +1184,7 @@ msgstr &quot;Predeterminado de correo electrónico donde se enviarán las alertas par
1184 1184  
1185 1185 #: /var/www/snep-1.4/modules/default/info.xml
1186 1186 msgid "Default module that provides basic features to Snep PBX."
1187   -msgstr "Módulo por defecto que proporciona funciones básicas para Snep PBX."
  1187 +msgstr "Módulo por defecto que proporciona funciones básicas para Snep PBX"
1188 1188  
1189 1189 #: /var/www/snep-1.4/modules/default/forms/music_on_hold.xml
1190 1190 msgid "Default path"
... ... @@ -1669,6 +1669,10 @@ msgstr &quot;Exportación CSV&quot;
1669 1669 msgid "Export PDF"
1670 1670 msgstr "Exportación PDF"
1671 1671  
  1672 +#: ../lib/Snep/CsvIE.php:161
  1673 +msgid "Export to CSV"
  1674 +msgstr "Exportación CSV"
  1675 +
1672 1676 #: ../modules/default/views/scripts/route/add_edit.phtml:18
1673 1677 #: ../modules/default/controllers/ExpressionAliasController.php:42
1674 1678 #: ../modules/default/controllers/ExpressionAliasController.php:81
... ... @@ -2044,6 +2048,10 @@ msgstr &quot;Entrante&quot;
2044 2048 msgid "Incoming Call"
2045 2049 msgstr "llamada entrante"
2046 2050  
  2051 +#: ../modules/default/views/scripts/index/index.phtml:128
  2052 +msgid "Indexed Rules"
  2053 +msgstr "Reglas Indexadas"
  2054 +
2047 2055 #: /var/www/snep-1.4/modules/default/forms/trunks.xml
2048 2056 #: /var/www/snep-1.4/modules/default/forms/extensions.xml
2049 2057 #: /var/www/snep-1.4/modules/default/forms/extensionsMulti.xml
... ... @@ -2359,7 +2367,7 @@ msgstr &quot;&quot;
2359 2367 msgid "Mode"
2360 2368 msgstr "Modo"
2361 2369  
2362   -#: ../modules/default/views/layouts/layout.phtml:63
  2370 +#: ../modules/default/views/layouts/layout.phtml:65
2363 2371 #: ../modules/default/views/scripts/index/index.phtml:84
2364 2372 msgid "Modules"
2365 2373 msgstr "Módulos"
... ... @@ -3196,7 +3204,6 @@ msgstr &quot;Tiempo de llamada por agente&quot;
3196 3204 msgid "Ringing"
3197 3205 msgstr "Zumbido"
3198 3206  
3199   -#: ../modules/default/views/scripts/index/index.phtml:128
3200 3207 #: ../modules/default/controllers/RouteController.php:83
3201 3208 #: ../modules/default/controllers/RouteController.php:218
3202 3209 #: ../modules/default/controllers/RouteController.php:279
... ... @@ -3204,8 +3211,8 @@ msgstr &quot;Zumbido&quot;
3204 3211 #: ../modules/default/controllers/SimulatorController.php:38
3205 3212 #: /var/www/snep-1.4/modules/default/resources.xml
3206 3213 #: /var/www/snep-1.4/configs/dashboard.xml
3207   -msgid "\t"
3208   -msgstr ""
  3214 +msgid "Routes"
  3215 +msgstr "Rutas"
3209 3216  
3210 3217 #: ../modules/default/controllers/ActionConfigsController.php:35
3211 3218 #: ../modules/default/controllers/ExpressionAliasController.php:41
... ... @@ -3914,6 +3921,10 @@ msgstr &quot;&quot;
3914 3921 msgid "Total Time"
3915 3922 msgstr "Tiempo Total"
3916 3923  
  3924 +#: ../lib/Snep/CsvIE.php:162
  3925 +msgid "Total entries to be exported: "
  3926 +msgstr "Total de entradas a exportar"
  3927 +
3917 3928 #: ../modules/default/controllers/CallsReportController.php:819
3918 3929 msgid "Totals"
3919 3930 msgstr "Totais"
... ...
bin/messages.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2014-12-08 16:20-0200\n"
  11 +"POT-Creation-Date: 2014-12-10 09:30-0200\n"
12 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 14 "Language-Team: LANGUAGE <LL@li.org>\n"
... ... @@ -609,7 +609,7 @@ msgstr &quot;&quot;
609 609 msgid "Authentication failure"
610 610 msgstr ""
611 611  
612   -#: ../modules/default/views/layouts/layout.phtml:58
  612 +#: ../modules/default/views/layouts/layout.phtml:60
613 613 #: ../modules/default/views/scripts/ip-status/asterisk-error.phtml:17
614 614 #: ../modules/default/views/scripts/trunks/error.phtml:16
615 615 #: ../modules/default/views/scripts/trunks/asterisk-error.phtml:17
... ... @@ -1672,6 +1672,10 @@ msgstr &quot;&quot;
1672 1672 msgid "Export PDF"
1673 1673 msgstr ""
1674 1674  
  1675 +#: ../lib/Snep/CsvIE.php:161
  1676 +msgid "Export to CSV"
  1677 +msgstr ""
  1678 +
1675 1679 #: ../modules/default/views/scripts/route/add_edit.phtml:18
1676 1680 #: ../modules/default/controllers/ExpressionAliasController.php:42
1677 1681 #: ../modules/default/controllers/ExpressionAliasController.php:81
... ... @@ -2046,6 +2050,10 @@ msgstr &quot;&quot;
2046 2050 msgid "Incoming Call"
2047 2051 msgstr ""
2048 2052  
  2053 +#: ../modules/default/views/scripts/index/index.phtml:128
  2054 +msgid "Indexed Rules"
  2055 +msgstr ""
  2056 +
2049 2057 #: /var/www/snep-1.4/modules/default/forms/trunks.xml
2050 2058 #: /var/www/snep-1.4/modules/default/forms/extensions.xml
2051 2059 #: /var/www/snep-1.4/modules/default/forms/extensionsMulti.xml
... ... @@ -2361,7 +2369,7 @@ msgstr &quot;&quot;
2361 2369 msgid "Mode"
2362 2370 msgstr ""
2363 2371  
2364   -#: ../modules/default/views/layouts/layout.phtml:63
  2372 +#: ../modules/default/views/layouts/layout.phtml:65
2365 2373 #: ../modules/default/views/scripts/index/index.phtml:84
2366 2374 msgid "Modules"
2367 2375 msgstr ""
... ... @@ -3197,7 +3205,6 @@ msgstr &quot;&quot;
3197 3205 msgid "Ringing"
3198 3206 msgstr ""
3199 3207  
3200   -#: ../modules/default/views/scripts/index/index.phtml:128
3201 3208 #: ../modules/default/controllers/RouteController.php:83
3202 3209 #: ../modules/default/controllers/RouteController.php:218
3203 3210 #: ../modules/default/controllers/RouteController.php:279
... ... @@ -3205,7 +3212,7 @@ msgstr &quot;&quot;
3205 3212 #: ../modules/default/controllers/SimulatorController.php:38
3206 3213 #: /var/www/snep-1.4/modules/default/resources.xml
3207 3214 #: /var/www/snep-1.4/configs/dashboard.xml
3208   -msgid " "
  3215 +msgid "Routes"
3209 3216 msgstr ""
3210 3217  
3211 3218 #: ../modules/default/controllers/ActionConfigsController.php:35
... ... @@ -3938,6 +3945,10 @@ msgstr &quot;&quot;
3938 3945 msgid "Total Time"
3939 3946 msgstr ""
3940 3947  
  3948 +#: ../lib/Snep/CsvIE.php:162
  3949 +msgid "Total entries to be exported: "
  3950 +msgstr ""
  3951 +
3941 3952 #: ../modules/default/controllers/CallsReportController.php:819
3942 3953 msgid "Totals"
3943 3954 msgstr ""
... ...
bin/pt_BR.mo
No preview for this file type
bin/pt_BR.po
... ... @@ -7,8 +7,8 @@ msgid &quot;&quot;
7 7 msgstr ""
8 8 "Project-Id-Version: Snep v-2.0\n"
9 9 "Report-Msgid-Bugs-To: \n"
10   -"POT-Creation-Date: 2014-12-08 15:14-0200\n"
11   -"PO-Revision-Date: 2014-12-08 15:15-0300\n"
  10 +"POT-Creation-Date: 2014-12-10 09:30-0200\n"
  11 +"PO-Revision-Date: 2014-12-10 09:30-0300\n"
12 12 "Last-Translator: Tiago <tiago.zimmermann@opens.com.br>\n"
13 13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 14 "Language: pt_BR\n"
... ... @@ -611,7 +611,7 @@ msgstr &quot;Áudio: Você é o próximo da fila&quot;
611 611 msgid "Authentication failure"
612 612 msgstr "Falha na Autenticação"
613 613  
614   -#: ../modules/default/views/layouts/layout.phtml:58
  614 +#: ../modules/default/views/layouts/layout.phtml:60
615 615 #: ../modules/default/views/scripts/ip-status/asterisk-error.phtml:17
616 616 #: ../modules/default/views/scripts/trunks/error.phtml:16
617 617 #: ../modules/default/views/scripts/trunks/asterisk-error.phtml:17
... ... @@ -753,7 +753,7 @@ msgstr &quot;Ranking de Ligação&quot;
753 753 msgid "Call Rankings"
754 754 msgstr "Ranking de Ligação"
755 755  
756   -#: ../modules/default/controllers/ParametersController.php:132
  756 +#: ../modules/default/controllers/ParametersController.php:133
757 757 msgid "Call Recording Configuration"
758 758 msgstr "Configuração da Gravação de Ligação"
759 759  
... ... @@ -1671,6 +1671,10 @@ msgstr &quot;Exportar para CSV&quot;
1671 1671 msgid "Export PDF"
1672 1672 msgstr "Exportar para PDF"
1673 1673  
  1674 +#: ../lib/Snep/CsvIE.php:161
  1675 +msgid "Export to CSV"
  1676 +msgstr "Exportar para CSV"
  1677 +
1674 1678 #: ../modules/default/views/scripts/route/add_edit.phtml:18
1675 1679 #: ../modules/default/controllers/ExpressionAliasController.php:42
1676 1680 #: ../modules/default/controllers/ExpressionAliasController.php:81
... ... @@ -2046,6 +2050,10 @@ msgstr &quot;Entrada&quot;
2046 2050 msgid "Incoming Call"
2047 2051 msgstr "Ligação de Entrada"
2048 2052  
  2053 +#: ../modules/default/views/scripts/index/index.phtml:128
  2054 +msgid "Indexed Rules"
  2055 +msgstr "Regras Cadastradas"
  2056 +
2049 2057 #: /var/www/snep-1.4/modules/default/forms/trunks.xml
2050 2058 #: /var/www/snep-1.4/modules/default/forms/extensions.xml
2051 2059 #: /var/www/snep-1.4/modules/default/forms/extensionsMulti.xml
... ... @@ -2114,7 +2122,7 @@ msgstr &quot;Arquivo inválido&quot;
2114 2122 msgid "Invalid column count on line %d"
2115 2123 msgstr "Contagem inválida de colunas na linha %d"
2116 2124  
2117   -#: ../modules/default/controllers/ParametersController.php:173
  2125 +#: ../modules/default/controllers/ParametersController.php:174
2118 2126 msgid "Invalid path"
2119 2127 msgstr "Caminho Inválido"
2120 2128  
... ... @@ -2361,7 +2369,7 @@ msgstr &quot;MixMonitor&quot;
2361 2369 msgid "Mode"
2362 2370 msgstr "Modo"
2363 2371  
2364   -#: ../modules/default/views/layouts/layout.phtml:63
  2372 +#: ../modules/default/views/layouts/layout.phtml:65
2365 2373 #: ../modules/default/views/scripts/index/index.phtml:84
2366 2374 msgid "Modules"
2367 2375 msgstr "Módulos"
... ... @@ -3208,10 +3216,6 @@ msgstr &quot;Chamando&quot;
3208 3216 msgid "Routes"
3209 3217 msgstr "Rotas"
3210 3218  
3211   -#: ../modules/default/views/scripts/index/index.phtml:128
3212   -msgid "Routes"
3213   -msgstr "Rotas Registradas"
3214   -
3215 3219 #: ../modules/default/controllers/ActionConfigsController.php:35
3216 3220 #: ../modules/default/controllers/ExpressionAliasController.php:41
3217 3221 #: ../modules/default/controllers/ExpressionAliasController.php:80
... ... @@ -3923,6 +3927,10 @@ msgstr &quot;Total&quot;
3923 3927 msgid "Total Time"
3924 3928 msgstr "Tempo Total"
3925 3929  
  3930 +#: ../lib/Snep/CsvIE.php:162
  3931 +msgid "Total entries to be exported: "
  3932 +msgstr "Total de dados a serem exportados:"
  3933 +
3926 3934 #: ../modules/default/controllers/CallsReportController.php:819
3927 3935 msgid "Totals"
3928 3936 msgstr "Totais"
... ... @@ -3953,7 +3961,7 @@ msgstr &quot;Tipo de tronco&quot;
3953 3961 msgid "Trunks"
3954 3962 msgstr "Troncos"
3955 3963  
3956   -#: ../modules/default/controllers/ParametersController.php:157
  3964 +#: ../modules/default/controllers/ParametersController.php:158
3957 3965 msgid "Trunks Configuration"
3958 3966 msgstr "Configuração dos Troncos"
3959 3967  
... ... @@ -4143,6 +4151,10 @@ msgstr &quot;Dias da Semana&quot;
4143 4151 msgid "Welcome to SNEP!"
4144 4152 msgstr "Bem-vindo ao SNEP!"
4145 4153  
  4154 +#: ../modules/default/controllers/IndexController.php:40
  4155 +msgid "Welcome to Snep, "
  4156 +msgstr "Bem-vindo ao SNEP, "
  4157 +
4146 4158 #: /var/www/snep-1.4/modules/default/forms/trunks.xml
4147 4159 msgid "Without Authentication"
4148 4160 msgstr "Sem Autenticação"
... ...
lang/es.mo
No preview for this file type
lang/pt_BR.mo
No preview for this file type
lib/Snep/CsvIE.php
... ... @@ -158,13 +158,15 @@ class Snep_CsvIE {
158 158 $total = $db->fetchOne("SELECT COUNT(*) AS count FROM $this->table");
159 159 }
160 160  
  161 + $label = Snep_Locale::getInstance()->getZendTranslate()->translate("Export to CSV");
  162 + $label2 = Snep_Locale::getInstance()->getZendTranslate()->translate("Total entries to be exported: ");
  163 +
161 164 return '<form enctype="" action="' . Zend_Controller_Front::getInstance()->getBaseUrl() . '/' . Zend_Controller_Front::getInstance()->getRequest()->getModuleName() . '/' . Zend_Controller_Front::getInstance()->getRequest()->getControllerName() . '/' . Zend_Controller_Front::getInstance()->getRequest()->getActionName() . '/download/true" method="post">' .
162 165 '<div class="zend_form" id="form_ie">' .
163   - '<h4><span>Exportar CSV</span><br><br></h4>' .
164   - 'Total de cadastros a serem exportados: <b>' . $total . '</b>' .
  166 + '<h4><span>'.$label.'</span><br><br></h4>' .
  167 + $label2 . '<b>' . $total . '</b>' .
165 168 '<div class="menus">' .
166 169 '<br><br><input type="submit" style="width:100px;" name="submit" id="submit" title="Download" value="Download">' .
167   - ' <a href="../"> <input type="submit" style="width:100px;" name="submit" id="submit" title="Voltar" value="Voltar">' .
168 170 '</div>' .
169 171 '</div>' .
170 172 '</div>' .
... ...
modules/default/views/layouts/layout.phtml
... ... @@ -96,7 +96,7 @@ $this-&gt;headLink()-&gt;appendStylesheet($this-&gt;baseUrl() . &#39;/css/main.css&#39;);
96 96 if ($controller != "auth") {
97 97 $eng = '<img src="/snep/imagens/Eua.png" class="right" title="Click to change language to english";">';
98 98 $port = '<img src="/snep/imagens/Brazil.png" class="right" title="Clique para mudar o idioma para português";">';
99   - $es = '<img src="/snep/imagens/es.png" class="right" title="Clique para mudar o idioma para espanhol";">';
  99 + $es = '<img src="/snep/imagens/es.png" class="right" title="Haga clic para cambiar el idioma a español";">';
100 100  
101 101 echo "<a href=\"{$this->PAGEINFO}/snep/index.php/default/parameters/eng?module=$controller\">$eng<a/>";
102 102 echo "<a href=\"{$this->PAGEINFO}/snep/index.php/default/parameters/es?module=$controller\">$es<a/>";
... ...
modules/default/views/scripts/index/index.phtml
... ... @@ -125,7 +125,7 @@ $this-&gt;headLink()-&gt;appendStylesheet($this-&gt;baseUrl() . &quot;/css/system_status.css&quot;)
125 125  
126 126 <table>
127 127 <tr>
128   - <th><?php echo $this->translate("Routes"); ?></th>
  128 + <th><?php echo $this->translate("Indexed Rules"); ?></th>
129 129 <td> <?php echo $this->indexData["num_routes"]; ?></td>
130 130 </tr>
131 131 </table>
... ...