File tree Expand file tree Collapse file tree 8 files changed +15
-29
lines changed
Expand file tree Collapse file tree 8 files changed +15
-29
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const mssql = require('mssql');
44const yargs = require ( 'yargs' ) ;
55
66// 언어 설정
7- const LANGUAGE = process . env . LANGUAGE || 'kr ' ;
7+ const LANGUAGE = process . env . LANGUAGE || 'en ' ;
88
99// 다국어 메시지
1010const messages = {
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ const ExcelJS = require('exceljs');
22const excelStyleHelper = require ( './excel-style-helper' ) ;
33const FileUtils = require ( './file-utils' ) ;
44
5- // 언어 설정 (명령줄 인수에서 가져오기)
6- const args = process . argv . slice ( 2 ) ;
7- const langArg = args . find ( arg => arg . startsWith ( '--lang=' ) ) ;
8- const LANGUAGE = langArg ? langArg . split ( '=' ) [ 1 ] : 'en' ;
5+ // 언어 설정 (환경 변수 사용, 기본값 영어)
6+ const LANGUAGE = process . env . LANGUAGE || 'en' ;
97
108// 다국어 메시지
119const messages = {
Original file line number Diff line number Diff line change 77
88const path = require ( 'path' ) ;
99
10- // 언어 설정 (명령줄 인수에서 가져오기)
11- const args = process . argv . slice ( 2 ) ;
12- const langArg = args . find ( arg => arg . startsWith ( '--lang=' ) ) ;
13- const LANGUAGE = langArg ? langArg . split ( '=' ) [ 1 ] : 'en' ;
10+ // 언어 설정 (환경 변수 사용, 기본값 영어)
11+ const LANGUAGE = process . env . LANGUAGE || 'en' ;
1412
1513// 다국어 메시지
1614const messages = {
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ const path = require('path');
44// pkg 실행 파일 경로 처리
55const APP_ROOT = process . pkg ? path . dirname ( process . execPath ) : process . cwd ( ) ;
66
7- // 언어 설정 (명령줄 인수에서 가져오기)
8- const args = process . argv . slice ( 2 ) ;
9- const langArg = args . find ( arg => arg . startsWith ( '--lang=' ) ) ;
10- const LANGUAGE = langArg ? langArg . split ( '=' ) [ 1 ] : 'en' ;
7+ // 언어 설정 (환경 변수 사용, 기본값 영어)
8+ const LANGUAGE = process . env . LANGUAGE || 'en' ;
119
1210// 다국어 메시지
1311const messages = {
Original file line number Diff line number Diff line change @@ -7,10 +7,8 @@ const QueryParser = require('./query-parser');
77const ExcelGenerator = require ( './excel-generator' ) ;
88const MSSQLHelper = require ( './mssql-helper' ) ;
99
10- // 언어 설정 (명령줄 인수에서 가져오기)
11- const args = process . argv . slice ( 2 ) ;
12- const langArg = args . find ( arg => arg . startsWith ( '--lang=' ) ) ;
13- const LANGUAGE = langArg ? langArg . split ( '=' ) [ 1 ] : 'en' ;
10+ // 언어 설정 (환경 변수 사용, 기본값 영어)
11+ const LANGUAGE = process . env . LANGUAGE || 'en' ;
1412
1513// 다국어 메시지
1614const messages = {
Original file line number Diff line number Diff line change @@ -3,10 +3,8 @@ const xml2js = require('xml2js');
33const JSON5 = require ( 'json5' ) ;
44const FileUtils = require ( './file-utils' ) ;
55
6- // 언어 설정 (명령줄 인수에서 가져오기)
7- const args = process . argv . slice ( 2 ) ;
8- const langArg = args . find ( arg => arg . startsWith ( '--lang=' ) ) ;
9- const LANGUAGE = langArg ? langArg . split ( '=' ) [ 1 ] : 'en' ;
6+ // 언어 설정 (환경 변수 사용, 기본값 영어)
7+ const LANGUAGE = process . env . LANGUAGE || 'en' ;
108
119// 다국어 메시지
1210const messages = {
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ const fs = require('fs');
22const path = require ( 'path' ) ;
33const xml2js = require ( 'xml2js' ) ;
44
5- // 언어 설정 (명령줄 인수에서 가져오기)
6- const args = process . argv . slice ( 2 ) ;
7- const langArg = args . find ( arg => arg . startsWith ( '--lang=' ) ) ;
8- const LANGUAGE = langArg ? langArg . split ( '=' ) [ 1 ] : 'en' ;
5+ // 언어 설정 (환경 변수 사용, 기본값 영어)
6+ const LANGUAGE = process . env . LANGUAGE || 'en' ;
97
108// 다국어 메시지
119const messages = {
Original file line number Diff line number Diff line change 11const MSSQLHelper = require ( './mssql-helper' ) ;
22
3- // 언어 설정 (명령줄 인수에서 가져오기)
4- const args = process . argv . slice ( 2 ) ;
5- const langArg = args . find ( arg => arg . startsWith ( '--lang=' ) ) ;
6- const LANGUAGE = langArg ? langArg . split ( '=' ) [ 1 ] : 'en' ;
3+ // 언어 설정 (환경 변수 사용, 기본값 영어)
4+ const LANGUAGE = process . env . LANGUAGE || 'en' ;
75
86// 다국어 메시지
97const messages = {
You can’t perform that action at this time.
0 commit comments