Merge branch 'switch-to-es-module-publish-and-use-exports' of github.com:elikoga/noVNC
This commit is contained in:
6
po/po2js
6
po/po2js
@@ -17,9 +17,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
const { program } = require('commander');
|
||||
const fs = require('fs');
|
||||
const pofile = require("pofile");
|
||||
import { program } from 'commander';
|
||||
import fs from 'fs';
|
||||
import pofile from "pofile";
|
||||
|
||||
program
|
||||
.argument('<input>')
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
* Licensed under MPL 2.0 (see LICENSE.txt)
|
||||
*/
|
||||
|
||||
const { program } = require('commander');
|
||||
const jsdom = require("jsdom");
|
||||
const fs = require("fs");
|
||||
import { program } from 'commander';
|
||||
import jsdom from 'jsdom';
|
||||
import fs from 'fs';
|
||||
|
||||
program
|
||||
.argument('<INPUT...>')
|
||||
@@ -106,7 +106,7 @@ let output = "";
|
||||
|
||||
for (let str in strings) {
|
||||
output += "#:";
|
||||
for (location in strings[str]) {
|
||||
for (let location in strings[str]) {
|
||||
output += " " + location;
|
||||
}
|
||||
output += "\n";
|
||||
|
||||
Reference in New Issue
Block a user