From afd346effb86c193f7f2946d6994578f5e3fe996 Mon Sep 17 00:00:00 2001 From: Liviu Nicolae Date: Tue, 10 Nov 2015 18:10:57 +0200 Subject: [PATCH] call compiler.convertPo with 'dest' param in order to check the filname extansion and generate a .cs file for csharp translations.cs generation --- tasks/compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/compile.js b/tasks/compile.js index 46ab25f..8093fb1 100644 --- a/tasks/compile.js +++ b/tasks/compile.js @@ -25,7 +25,7 @@ module.exports = function (grunt) { for (var dest in output) { var compiler = new Compiler(options); - grunt.file.write(dest, compiler.convertPo(output[dest])); + grunt.file.write(dest, compiler.convertPo(output[dest], dest)); } }); };