Explorar el Código

add lang to gulpfile

bubble
Josh Ponelat hace 9 años
padre
commit
c0c5847bd3
Se han modificado 2 ficheros con 7 adiciones y 1 borrados
  1. +6
    -0
      gulpfile.js
  2. +1
    -1
      src/main/template/operation.handlebars

+ 6
- 0
gulpfile.js Ver fichero

@@ -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 Ver fichero

@@ -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" />


Cargando…
Cancelar
Guardar