add lang to gulpfile

This commit is contained in:
Josh Ponelat
2015-06-16 11:51:12 +02:00
parent 372723b82d
commit c0c5847bd3
2 changed files with 7 additions and 1 deletions

View File

@@ -113,6 +113,12 @@ gulp.task('copy', ['less'], function() {
.pipe(gulp.dest('./dist/lib')) .pipe(gulp.dest('./dist/lib'))
.on('error', log); .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 // copy all files inside html folder
gulp gulp
.src(['./src/main/html/**/*']) .src(['./src/main/html/**/*'])

View File

@@ -41,7 +41,7 @@
</div> </div>
{{/oauth}} {{/oauth}}
{{#if type}} {{#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> <p><span class="model-signature" /></p>
<br/> <br/>
<div class="response-content-type" /> <div class="response-content-type" />