Translation support for parameter_content_type.handlebars and signature.handlebars

This commit is contained in:
Konstantin Uniyatov
2015-12-30 21:40:27 +03:00
parent 1817ac84e5
commit c23ed39ab0
3 changed files with 4 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ window.SwaggerTranslator.learn({
"can't parse JSON. Raw result":"can't parse JSON. Raw result",
"Model Schema":"Model Schema",
"Model":"Model",
"Click to set as parameter value":"Click to set as parameter value",
"apply":"apply",
"Username":"Username",
"Password":"Password",
@@ -39,6 +40,7 @@ window.SwaggerTranslator.learn({
"Contact the developer":"Contact the developer",
"api version":"api version",
"Response Content Type":"Response Content Type",
"Parameter content type:":"Parameter content type:",
"fetching resource":"fetching resource",
"fetching resource list":"fetching resource list",
"Explore":"Explore",

View File

@@ -1,4 +1,4 @@
<label for="{{parameterContentTypeId}}">Parameter content type:</label>
<label for="{{parameterContentTypeId}}" data-sw-translate>Parameter content type:</label>
<select name="parameterContentType" id="{{parameterContentTypeId}}">
{{#if consumes}}
{{#each consumes}}

View File

@@ -12,7 +12,7 @@
<div class="snippet">
<pre><code>{{sampleJSON}}</code></pre>
<small class="notice"></small>
<small class="notice" data-sw-translate></small>
</div>
</div>