Browse Source

add lang to gulpfile

bubble
Josh Ponelat 9 years ago
parent
commit
c0c5847bd3
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      gulpfile.js
  2. +1
    -1
      src/main/template/operation.handlebars

+ 6
- 0
gulpfile.js View File

@@ -113,6 +113,12 @@ gulp.task('copy', ['less'], function() {
.pipe(gulp.dest('./dist/lib'))
.on('error', log);

// copy `lang` for translations
gulp
.src(['./lang/**/*.js'])
.pipe(gulp.dest('./dist/lang'))
.on('error', log);

// copy all files inside html folder
gulp
.src(['./src/main/html/**/*'])


+ 1
- 1
src/main/template/operation.handlebars View File

@@ -41,7 +41,7 @@
</div>
{{/oauth}}
{{#if type}}
<h4>Response Class (Status {{successCode}})</h4>
<h4><span data-sw-translate>Response Class</span> (<span data-sw-translate>Status</span> {{successCode}})</h4>
<p><span class="model-signature" /></p>
<br/>
<div class="response-content-type" />


Loading…
Cancel
Save