Skip to content

Commit

Permalink
Some refactoring, updated i18n strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Rodrigues committed May 6, 2015
1 parent 4e66231 commit 898f12c
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 127 deletions.
Binary file modified languages/wp-cas-server-pt_PT.mo
Binary file not shown.
176 changes: 107 additions & 69 deletions languages/wp-cas-server-pt_PT.po
Expand Up @@ -2,134 +2,172 @@
# This file is distributed under the same license as the Cassava CAS Server package.
msgid ""
msgstr ""
"PO-Revision-Date: 2014-08-09 21:15:28+0000\n"
"Project-Id-Version: Cassava CAS Server\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-cas-server\n"
"POT-Creation-Date: 2015-05-06 21:31-0000\n"
"PO-Revision-Date: 2015-05-06 21:32-0000\n"
"Last-Translator: Luís Rodrigues <hello@goblindegook.net>\n"
"Language-Team: \n"
"Language: pt_PT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: GlotPress/0.1\n"
"Project-Id-Version: Cassava CAS Server\n"

#: includes/WPCASServer.php:196
msgid "The CAS server is disabled."
msgstr "O servidor CAS está desativado."

#: includes/WPCASServer.php:208
msgid "The handler for the route is invalid."
msgstr "O suporte para a rota é inválido."

#: includes/WPCASServer.php:235
msgid "The server does not support the method requested."
msgstr "O servidor não suporta o método pedido."

#: includes/WPCASServer.php:419
msgid "Unknown error"
msgstr "Erro desconhecido"

#: includes/WPCASServer.php:453
msgid "Ticket is required."
msgstr "É obrigatório o ticket."
"X-Generator: Poedit 1.8beta2\n"

#: includes/WPCASServer.php:457
msgid "Service is required."
msgstr "É obrigatório o service."

#: includes/WPCASServer.php:481
msgid "Ticket does not match the service provided."
msgstr "O ticket não corresponde ao service indicado."

#: includes/WPCASServerPluginAdmin.php:55
#: includes/WPCASServerPluginAdmin.php:56
#: lib/Admin.php:50 lib/Admin.php:51
msgid "Cassava CAS Server"
msgstr "Cassava CAS Server"

#: includes/WPCASServerPluginAdmin.php:89
msgid "Cassava CAS Server requires that this site be configured for HTTPS. For more information, contact your system administrator or hosting provider."
msgstr "O Cassava CAS Server precisa que este site se encontre configurado para HTTPS. Para mais informações, contacte o seu administrador de sistemas ou prestador de alojamento."
#: lib/Admin.php:84
msgid ""
"Cassava CAS Server requires that this site be configured for HTTPS. For more "
"information, contact your system administrator or hosting provider."
msgstr ""
"O Cassava CAS Server precisa que este site se encontre configurado para HTTPS. "
"Para mais informações, contacte o seu administrador de sistemas ou prestador de "
"alojamento."

#: includes/WPCASServerPluginAdmin.php:135
#: lib/Admin.php:134
msgid "User Attributes To Return"
msgstr "Atributos do utilizador a devolver"

#: includes/WPCASServerPluginAdmin.php:144
#: lib/Admin.php:143
msgid "CAS server base"
msgstr "Base do servidor CAS"

#: includes/WPCASServerPluginAdmin.php:196
#: lib/Admin.php:199
msgid "Cassava CAS Server Settings"
msgstr "Definições do Cassava CAS Server"

#: includes/WPCASServerPluginAdmin.php:198
msgid "Configuration panel for the Central Authentication Service provided by this site."
msgstr "Painel de configuração para o Serviço Central de Autenticação (CAS) prestado por este site."
#: lib/Admin.php:201
msgid ""
"Configuration panel for the Central Authentication Service provided by this site."
msgstr ""
"Painel de configuração para o Serviço Central de Autenticação (CAS) prestado por "
"este site."

#: includes/WPCASServerPluginAdmin.php:228
#: lib/Admin.php:231
msgid "First Name"
msgstr "Nome"

#: includes/WPCASServerPluginAdmin.php:229
#: lib/Admin.php:232
msgid "Last Name"
msgstr "Apelido"

#: includes/WPCASServerPluginAdmin.php:230
#: lib/Admin.php:233
msgid "Public Name"
msgstr "Nome público"

#: includes/WPCASServerPluginAdmin.php:231
#: lib/Admin.php:234
msgid "Email"
msgstr "Correio eletrónico"

#: includes/WPCASServerPluginAdmin.php:232
#: lib/Admin.php:235
msgid "Website"
msgstr "Website"

#: includes/WPCASServerPluginAdmin.php:254
#: lib/Admin.php:257
msgid "User Attributes"
msgstr "Atributos do utilizador"

#: includes/WPCASServerPluginAdmin.php:264
#: lib/Admin.php:267
msgid "(e.g. %s)"
msgstr "(ex: %s)"

#: includes/WPCASServerPluginAdmin.php:269
msgid "Checked attributes are disclosed on successful validation requests (CAS 2.0 only)."
msgstr "Os atributos assinalados serão disponibilizados aquando de pedidos de validação com êxito (CAS 2.0 apenas)."
#: lib/Admin.php:272
msgid ""
"Checked attributes are disclosed on successful validation requests (CAS 2.0 only)."
msgstr ""
"Os atributos assinalados serão disponibilizados aquando de pedidos de validação "
"com êxito (CAS 2.0 apenas)."

#: lib/CAS/Controller/ValidateController.php:105
msgid "Ticket is required."
msgstr "É obrigatório o ticket."

#: lib/CAS/Controller/ValidateController.php:109
msgid "Service is required."
msgstr "É obrigatório o service."

#: lib/CAS/Controller/ValidateController.php:120
msgid "Ticket does not match the service provided."
msgstr "O ticket não corresponde ao service indicado."

#: lib/CAS/Response/BaseResponse.php:87
msgid "Unknown error"
msgstr "Erro desconhecido"

#: lib/CAS/Server.php:190
msgid "The CAS server is disabled."
msgstr "O servidor CAS está desativado."

#: lib/CAS/Server.php:204
msgid "The controller for the route is invalid."
msgstr "O controlador para a rota é inválido."

#: lib/CAS/Server.php:235
msgid "The server does not support the method requested."
msgstr "O servidor não suporta o método pedido."

#: includes/WPCASTicket.php:144
msgid "Ticket is malformed."
msgstr "O ticket está incorrecto."
#: lib/CAS/Ticket.php:141
msgid "Expired ticket."
msgstr "Ticket fora do prazo de validade."

#: includes/WPCASTicket.php:150
msgid "Ticket has expired."
msgstr "O ticket expirou."
#: lib/CAS/Ticket.php:147
msgid "No user matches ticket."
msgstr "Nenhum utilizador corresponde ao ticket."

#: includes/WPCASTicket.php:156
msgid "Ticket does not match a valid user."
msgstr "O ticket não diz respeito a um utilizador válido."
#: lib/CAS/Ticket.php:153
msgid "Corrupted ticket."
msgstr "Ticket corrompido."

#: includes/WPCASTicket.php:162
msgid "Ticket is corrupted."
msgstr "O ticket está corrompido."
#: lib/CAS/Ticket.php:157
msgid "Unknown or used ticket."
msgstr "Ticket desconhecido ou usado."

#: includes/WPCASTicket.php:166
msgid "Ticket is unknown or has already been used."
msgstr "Ticket desconhecido ou já utilizado."
#: lib/CAS/Ticket.php:200
msgid "Malformed ticket."
msgstr "Ticket defeituoso."

#: includes/WPCASTicket.php:204
#: lib/CAS/Ticket.php:254
msgid "Ticket type cannot be validated."
msgstr "O tipo de ticket não pode ser validado."

#. Plugin Name of the plugin/theme
msgid "Cassava: A WordPress CAS Server"
msgstr "Cassava: Um servidor CAS para WordPress"

#. Plugin URI of the plugin/theme
msgid "https://goblindegook.github.io/wp-cas-server"
msgstr "https://goblindegook.github.io/wp-cas-server"

#. Description of the plugin/theme
msgid "Provides authentication services based on the Jasig CAS protocol."
msgstr "Presta serviços de autenticação baseados no protocolo Jasig CAS."

#. Author of the plugin/theme
msgid "Luís Rodrigues"
msgstr "Luís Rodrigues"

#. Author URI of the plugin/theme
msgid "http://goblindegook.net/"
msgstr "http://goblindegook.net/"
msgstr "http://goblindegook.net/"

#~ msgid "The handler for the route is invalid."
#~ msgstr "O suporte para a rota é inválido."

#~ msgid "Ticket is malformed."
#~ msgstr "O ticket está incorrecto."

#~ msgid "Ticket has expired."
#~ msgstr "O ticket expirou."

#~ msgid "Ticket does not match a valid user."
#~ msgstr "O ticket não diz respeito a um utilizador válido."

#~ msgid "Ticket is corrupted."
#~ msgstr "O ticket está corrompido."

#~ msgid "Ticket is unknown or has already been used."
#~ msgstr "Ticket desconhecido ou já utilizado."
58 changes: 29 additions & 29 deletions languages/wp-cas-server.pot
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the same license as the Cassava: A WordPress CAS Server package.
msgid ""
msgstr ""
"Project-Id-Version: Cassava: A WordPress CAS Server 1.2.0\n"
"Project-Id-Version: Cassava: A WordPress CAS Server 1.2.1\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-cas-server\n"
"POT-Creation-Date: 2015-02-22 19:30:29+00:00\n"
"POT-Creation-Date: 2015-05-06 20:29:47+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand All @@ -22,53 +22,53 @@ msgid ""
"information, contact your system administrator or hosting provider."
msgstr ""

#: lib/Admin.php:132
#: lib/Admin.php:134
msgid "User Attributes To Return"
msgstr ""

#: lib/Admin.php:141
#: lib/Admin.php:143
msgid "CAS server base"
msgstr ""

#: lib/Admin.php:197
#: lib/Admin.php:199
msgid "Cassava CAS Server Settings"
msgstr ""

#: lib/Admin.php:199
#: lib/Admin.php:201
msgid ""
"Configuration panel for the Central Authentication Service provided by this "
"site."
msgstr ""

#: lib/Admin.php:229
#: lib/Admin.php:231
msgid "First Name"
msgstr ""

#: lib/Admin.php:230
#: lib/Admin.php:232
msgid "Last Name"
msgstr ""

#: lib/Admin.php:231
#: lib/Admin.php:233
msgid "Public Name"
msgstr ""

#: lib/Admin.php:232
#: lib/Admin.php:234
msgid "Email"
msgstr ""

#: lib/Admin.php:233
#: lib/Admin.php:235
msgid "Website"
msgstr ""

#: lib/Admin.php:255
#: lib/Admin.php:257
msgid "User Attributes"
msgstr ""

#: lib/Admin.php:265
#: lib/Admin.php:267
msgid "(e.g. %s)"
msgstr ""

#: lib/Admin.php:270
#: lib/Admin.php:272
msgid ""
"Checked attributes are disclosed on successful validation requests (CAS 2.0 "
"only)."
Expand All @@ -86,43 +86,43 @@ msgstr ""
msgid "Ticket does not match the service provided."
msgstr ""

#: lib/CAS/Response/BaseResponse.php:84
#: lib/CAS/Response/BaseResponse.php:87
msgid "Unknown error"
msgstr ""

#: lib/CAS/Server.php:189
#: lib/CAS/Server.php:190
msgid "The CAS server is disabled."
msgstr ""

#: lib/CAS/Server.php:203
#: lib/CAS/Server.php:204
msgid "The controller for the route is invalid."
msgstr ""

#: lib/CAS/Server.php:234
#: lib/CAS/Server.php:235
msgid "The server does not support the method requested."
msgstr ""

#: lib/CAS/Ticket.php:146
msgid "Ticket is malformed."
#: lib/CAS/Ticket.php:141
msgid "Expired ticket."
msgstr ""

#: lib/CAS/Ticket.php:154
msgid "Ticket has expired."
#: lib/CAS/Ticket.php:147
msgid "No user matches ticket."
msgstr ""

#: lib/CAS/Ticket.php:160
msgid "Ticket does not match a valid user."
#: lib/CAS/Ticket.php:153
msgid "Corrupted ticket."
msgstr ""

#: lib/CAS/Ticket.php:166
msgid "Ticket is corrupted."
#: lib/CAS/Ticket.php:157
msgid "Unknown or used ticket."
msgstr ""

#: lib/CAS/Ticket.php:170
msgid "Ticket is unknown or has already been used."
#: lib/CAS/Ticket.php:200
msgid "Malformed ticket."
msgstr ""

#: lib/CAS/Ticket.php:208
#: lib/CAS/Ticket.php:254
msgid "Ticket type cannot be validated."
msgstr ""

Expand Down

0 comments on commit 898f12c

Please sign in to comment.