From c0c5847bd393a6692351305a51e7537c27f91aea Mon Sep 17 00:00:00 2001 From: Josh Ponelat Date: Tue, 16 Jun 2015 11:51:12 +0200 Subject: [PATCH] add lang to gulpfile --- gulpfile.js | 6 ++++++ src/main/template/operation.handlebars | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 7422ffda..d9434e8b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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/**/*']) diff --git a/src/main/template/operation.handlebars b/src/main/template/operation.handlebars index a5759b16..1205783a 100644 --- a/src/main/template/operation.handlebars +++ b/src/main/template/operation.handlebars @@ -41,7 +41,7 @@ {{/oauth}} {{#if type}} -

Response Class (Status {{successCode}})

+

Response Class (Status {{successCode}})