Переглянути джерело

Merge pull request #1486 from rest4hub/develop_2.0

Missing some data-sw-translation
bubble
Tony Tam 9 роки тому
джерело
коміт
190b47501b
9 змінених файлів з 898 додано та 895 видалено
  1. +1
    -0
      dist/lang/en.js
  2. +1
    -0
      dist/lang/pt.js
  3. +867
    -867
      dist/swagger-ui.js
  4. +12
    -13
      dist/swagger-ui.min.js
  5. +1
    -0
      lang/en.js
  6. +1
    -0
      lang/pt.js
  7. +1
    -1
      src/main/template/content_type.handlebars
  8. +13
    -13
      src/main/template/operation.handlebars
  9. +1
    -1
      src/main/template/response_content_type.handlebars

+ 1
- 0
dist/lang/en.js Переглянути файл

@@ -21,6 +21,7 @@ window.SwaggerTranslator.learn({
"Response Code":"Response Code",
"Response Headers":"Response Headers",
"Hide Response":"Hide Response",
"Headers":"Headers",
"Try it out!":"Try it out!",
"Show/Hide":"Show/Hide",
"List Operations":"List Operations",


+ 1
- 0
dist/lang/pt.js Переглянути файл

@@ -20,6 +20,7 @@ window.SwaggerTranslator.learn({
"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",


+ 867
- 867
dist/swagger-ui.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 12
- 13
dist/swagger-ui.min.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 1
- 0
lang/en.js Переглянути файл

@@ -21,6 +21,7 @@ window.SwaggerTranslator.learn({
"Response Code":"Response Code",
"Response Headers":"Response Headers",
"Hide Response":"Hide Response",
"Headers":"Headers",
"Try it out!":"Try it out!",
"Show/Hide":"Show/Hide",
"List Operations":"List Operations",


+ 1
- 0
lang/pt.js Переглянути файл

@@ -20,6 +20,7 @@ window.SwaggerTranslator.learn({
"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",


+ 1
- 1
src/main/template/content_type.handlebars Переглянути файл

@@ -1,4 +1,4 @@
<label for="{{contentTypeId}}">Response Content Type</label>
<label data-sw-translate for="{{contentTypeId}}">Response Content Type</label>
<select name="contentType" id="{{contentTypeId}}">
{{#if produces}}
{{#each produces}}


+ 13
- 13
src/main/template/operation.handlebars Переглянути файл

@@ -49,15 +49,15 @@
<form accept-charset='UTF-8' class='sandbox'>
<div style='margin:0;padding:0;display:inline'></div>
{{#if parameters}}
<h4>Parameters</h4>
<h4 data-sw-translate>Parameters</h4>
<table class='fullwidth'>
<thead>
<tr>
<th style="width: 100px; max-width: 100px">Parameter</th>
<th style="width: 310px; max-width: 310px">Value</th>
<th style="width: 200px; max-width: 200px">Description</th>
<th style="width: 100px; max-width: 100px">Parameter Type</th>
<th style="width: 220px; max-width: 230px">Data Type</th>
<th style="width: 100px; max-width: 100px" data-sw-translate>Parameter</th>
<th style="width: 310px; max-width: 310px" data-sw-translate>Value</th>
<th style="width: 200px; max-width: 200px" data-sw-translate>Description</th>
<th style="width: 100px; max-width: 100px" data-sw-translate>Parameter Type</th>
<th style="width: 220px; max-width: 230px" data-sw-translate>Data Type</th>
</tr>
</thead>
<tbody class="operation-params">
@@ -67,14 +67,14 @@
{{/if}}
{{#if responseMessages}}
<div style='margin:0;padding:0;display:inline'></div>
<h4>Response Messages</h4>
<h4 data-sw-translate>Response Messages</h4>
<table class='fullwidth'>
<thead>
<tr>
<th>HTTP Status Code</th>
<th>Reason</th>
<th>Response Model</th>
<th>Headers</th>
<th data-sw-translate>HTTP Status Code</th>
<th data-sw-translate>Reason</th>
<th data-sw-translate>Response Model</th>
<th data-sw-translate>Headers</th>
</tr>
</thead>
<tbody class="operation-status">
@@ -85,8 +85,8 @@
{{#if isReadOnly}}
{{else}}
<div class='sandbox_header'>
<input class='submit' type='button' value='Try it out!' />
<a href='#' class='response_hider' style='display:none'>Hide Response</a>
<input class='submit' type='button' value='Try it out!' data-sw-translate/>
<a href='#' class='response_hider' style='display:none' data-sw-translate>Hide Response</a>
<span class='response_throbber' style='display:none'></span>
</div>
{{/if}}


+ 1
- 1
src/main/template/response_content_type.handlebars Переглянути файл

@@ -1,4 +1,4 @@
<label for="{{responseContentTypeId}}">Response Content Type</label>
<label data-sw-translate for="{{responseContentTypeId}}">Response Content Type</label>
<select name="responseContentType" id="{{responseContentTypeId}}">
{{#if produces}}
{{#each produces}}


Завантаження…
Відмінити
Зберегти