Compare commits

...
Author SHA1 Message Date
Ron c7439c7913 Merge pull request #3134 from ZuzannaSt/2.x
Add translations for each Authorize tag in 2.x
2017-05-30 15:47:54 -07:00
Zuzanna Stolińska bfe55894e7 Add translations for each Authorize tag 2017-05-26 08:52:48 +02:00
Ron 7e72281527 Merge pull request #2883 from aline-matos/patch-1
Create pt-br.js
2017-04-07 15:05:29 -07:00
Aline Matos 5eebb4ce08 Create pt-br.js
Translation to portuguese of Brazil
2017-04-07 17:06:19 -03:00
Ron 1a11eb912f Merge pull request #2781 from raupachz/2.x
added language support German
2017-03-24 08:16:04 -07:00
Björn Raupach cddb022f40 added language support German 2017-03-24 14:00:58 +01:00
12 changed files with 136 additions and 21 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -29,7 +29,7 @@ templates['apikey_auth'] = template({"1":function(container,depth0,helpers,parti
+ " </div>\n </div>\n</div>\n"; + " </div>\n </div>\n</div>\n";
},"useData":true}); },"useData":true});
templates['auth_button'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { templates['auth_button'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "<a class='authorize__btn' href=\"#\">Authorize</a>\n"; return "<a class='authorize__btn' href=\"#\" data-sw-translate>Authorize</a>\n";
},"useData":true}); },"useData":true});
templates['auth_button_operation'] = template({"1":function(container,depth0,helpers,partials,data) { templates['auth_button_operation'] = template({"1":function(container,depth0,helpers,partials,data) {
return " authorize__btn_operation_login\n"; return " authorize__btn_operation_login\n";
+1 -1
View File
File diff suppressed because one or more lines are too long
+57
View File
@@ -0,0 +1,57 @@
'use strict';
/* jshint quotmark: double */
window.SwaggerTranslator.learn({
"Warning: Deprecated":"Warnung: Deprecated",
"Implementation Notes":"Implementierungshinweise",
"Response Class":"Response Class",
"Status":"Status",
"Parameters":"Parameter",
"Parameter":"Parameter",
"Value":"Wert",
"Description":"Beschreibung",
"Parameter Type":"Parametertyp",
"Data Type":"Datentyp",
"Response Messages":"Response Messages",
"HTTP Status Code":"HTTP Status Code",
"Reason":"Grund",
"Response Model":"Response Model",
"Request URL":"Request URL",
"Response Body":"Response Body",
"Response Code":"Response Code",
"Response Headers":"Response Headers",
"Hide Response":"Response ausblenden",
"Headers":"Headers",
"Try it out!":"Ausprobieren",
"Show/Hide":"Einblenden/Ausblenden",
"List Operations":"Endpunkte anzeigen",
"Expand Operations":"Endpunkte ausklappen",
"Raw":"Raw",
"can't parse JSON. Raw result":"Parsen von JSON fehlgeschlagen. Raw result",
"Example Value":"Beispielwert",
"Model Schema":"Schemamodell",
"Model":"Modell",
"Click to set as parameter value":"Klicken um Parameter zu setzen",
"apply":"anlegen",
"Username":"Benutzername",
"Password":"Passwort",
"Terms of service":"Nutzungsbedingungen",
"Created by":"Erstellt von",
"See more at":"Mehr unter",
"Contact the developer":"Entwickler kontaktieren",
"api version":"API-Version",
"Response Content Type":"Response Content Type",
"Parameter content type:":"Parameter Content Type:",
"fetching resource":"Lade Ressourcen",
"fetching resource list":"Lade Liste der Ressourcen",
"Explore":"Erkunde",
"Show Swagger Petstore Example Apis":"Anzeigen der Swagger Petstore Example Apis",
"Can't read from server. It may not have the appropriate access-control-origin settings.":"Lesen vom Server nicht möglich. Prüfen Sie die 'access-control-origin' Einstellungen.",
"Please specify the protocol for":"Bitte geben Sie das Protokoll an",
"Can't read swagger JSON from":"Swagger JSON kann nicht gelesen werden",
"Finished Loading Resource Information. Rendering Swagger UI":"Ressourceninformationen sind geladen. Rendern der Swagger UI",
"Unable to read api":"API kann nicht gelesen werden",
"from path":"von Pfad",
"server returned":"Server antwortet",
"Authorize":"Autorisieren"
});
+2 -1
View File
@@ -52,5 +52,6 @@ window.SwaggerTranslator.learn({
"Finished Loading Resource Information. Rendering Swagger UI":"Finished Loading Resource Information. Rendering Swagger UI", "Finished Loading Resource Information. Rendering Swagger UI":"Finished Loading Resource Information. Rendering Swagger UI",
"Unable to read api":"Unable to read api", "Unable to read api":"Unable to read api",
"from path":"from path", "from path":"from path",
"server returned":"server returned" "server returned":"server returned",
"Authorize":"Authorize"
}); });
+2 -1
View File
@@ -50,5 +50,6 @@ window.SwaggerTranslator.learn({
"Finished Loading Resource Information. Rendering Swagger UI":"Chargement des informations terminé. Affichage de Swagger UI", "Finished Loading Resource Information. Rendering Swagger UI":"Chargement des informations terminé. Affichage de Swagger UI",
"Unable to read api":"Impossible de lire l'api", "Unable to read api":"Impossible de lire l'api",
"from path":"à partir du chemin", "from path":"à partir du chemin",
"server returned":"réponse du serveur" "server returned":"réponse du serveur",
"Authorize":"Autorisez"
}); });
+2 -1
View File
@@ -48,5 +48,6 @@ window.SwaggerTranslator.learn({
"Finished Loading Resource Information. Rendering Swagger UI":"Lettura informazioni risorse termianta. Swagger UI viene mostrata", "Finished Loading Resource Information. Rendering Swagger UI":"Lettura informazioni risorse termianta. Swagger UI viene mostrata",
"Unable to read api":"Impossibile leggere la api", "Unable to read api":"Impossibile leggere la api",
"from path":"da cartella", "from path":"da cartella",
"server returned":"il server ha restituito" "server returned":"il server ha restituito",
"Authorize":"Autorizzare"
}); });
+2 -1
View File
@@ -49,5 +49,6 @@ window.SwaggerTranslator.learn({
"Finished Loading Resource Information. Rendering Swagger UI":"Ukończono Ładowanie Informacji o Zasobie. Renderowanie Swagger UI", "Finished Loading Resource Information. Rendering Swagger UI":"Ukończono Ładowanie Informacji o Zasobie. Renderowanie Swagger UI",
"Unable to read api":"Nie można odczytać api", "Unable to read api":"Nie można odczytać api",
"from path":"ze ścieżki", "from path":"ze ścieżki",
"server returned":"serwer zwrócił" "server returned":"serwer zwrócił",
"Authorize":"Autoryzuj"
}); });
+54
View File
@@ -0,0 +1,54 @@
'use strict';
/* jshint quotmark: double */
window.SwaggerTranslator.learn({
"Warning: Deprecated":"Aviso: Descontinuado",
"Implementation Notes":"Notas de Implementação",
"Response Class":"Classe de resposta",
"Status":"Status",
"Parameters":"Parâmetros",
"Parameter":"Parâmetro",
"Value":"Valor",
"Description":"Descrição",
"Parameter Type":"Tipo de parâmetro",
"Data Type":"Tipo de dados",
"Response Messages":"Mensagens de resposta",
"HTTP Status Code":"Código de status HTTP",
"Reason":"Razão",
"Response Model":"Modelo de resposta",
"Request URL":"Requisição URL",
"Response Body":"Corpo da resposta",
"Response Code":"Código da resposta",
"Response Headers":"Cabeçalho da resposta",
"Headers":"Cabeçalhos",
"Hide Response":"Esconder resposta",
"Try it out!":"Tente agora!",
"Show/Hide":"Mostrar/Esconder",
"List Operations":"Listar operações",
"Expand Operations":"Expandir operações",
"Raw":"Cru",
"can't parse JSON. Raw result":"Falha ao analisar JSON. Resulto cru",
"Model Schema":"Esquema do modelo",
"Model":"Modelo",
"apply":"Aplicar",
"Username":"Usuário",
"Password":"Senha",
"Terms of service":"Termos de serviço",
"Created by":"Criado por",
"See more at":"Veja mais em",
"Contact the developer":"Contate o desenvolvedor",
"api version":"Versão da api",
"Response Content Type":"Tipo do conteúdo de resposta",
"fetching resource":"buscar recurso",
"fetching resource list":"buscar lista de recursos",
"Explore":"Explorar",
"Show Swagger Petstore Example Apis":"Show Swagger Petstore Example Apis",
"Can't read from server. It may not have the appropriate access-control-origin settings.":"Não é possível ler do servidor. Ele pode não ter as configurações apropriadas de access-control-origin",
"Please specify the protocol for":"Por favor especifique o protocolo",
"Can't read swagger JSON from":"Não é possível ler o JSON Swagger de",
"Finished Loading Resource Information. Rendering Swagger UI":"Carregamento de informação de recurso finalizada. Renderizando Swagger UI",
"Unable to read api":"Não foi possível ler a api",
"from path":"do caminho",
"server returned":"servidor retornou",
"Example Value":"Exemplo de Valores"
});
+1 -1
View File
@@ -53,7 +53,7 @@ function handleLogin() {
'<ul class="api-popup-scopes">', '<ul class="api-popup-scopes">',
'</ul>', '</ul>',
'<p class="error-msg"></p>', '<p class="error-msg"></p>',
'<div class="api-popup-actions"><button class="api-popup-authbtn api-button green" type="button">Authorize</button><button class="api-popup-cancel api-button gray" type="button">Cancel</button></div>', '<div class="api-popup-actions"><button class="api-popup-authbtn api-button green" type="button" data-sw-translate>Authorize</button><button class="api-popup-cancel api-button gray" type="button">Cancel</button></div>',
'</div>', '</div>',
'</div>'].join('')); '</div>'].join(''));
$(document.body).append(popupDialog); $(document.body).append(popupDialog);
+1 -1
View File
@@ -1 +1 @@
<a class='authorize__btn' href="#">Authorize</a> <a class='authorize__btn' href="#" data-sw-translate>Authorize</a>
+1 -1
View File
@@ -23,7 +23,7 @@ templates['apikey_auth'] = template({"1":function(container,depth0,helpers,parti
+ " </div>\n </div>\n</div>\n"; + " </div>\n </div>\n</div>\n";
},"useData":true}); },"useData":true});
templates['auth_button'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { templates['auth_button'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
return "<a class='authorize__btn' href=\"#\">Authorize</a>\n"; return "<a class='authorize__btn' href=\"#\" data-sw-translate>Authorize</a>\n";
},"useData":true}); },"useData":true});
templates['auth_button_operation'] = template({"1":function(container,depth0,helpers,partials,data) { templates['auth_button_operation'] = template({"1":function(container,depth0,helpers,partials,data) {
return " authorize__btn_operation_login\n"; return " authorize__btn_operation_login\n";