Skip to content

Commit

Permalink
web: mejoro nombres y arreglo bug de columnAlignedCommas
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoefe committed Nov 7, 2016
1 parent 8b57866 commit 7c2bdb5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions lib/txt-to-sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,9 @@ txtToSql.defaultOpts = {
verboseErrors: false,
inputEncoding: false,
outputEncoding: false,
addDropTable: false, // agregar a .jade
addDropTable: false,
ignoreNullLines: false,
compactInsertLimit:0 // agregar a .jade
compactInsertLimit:0
};

module.exports = txtToSql;
10 changes: 5 additions & 5 deletions src/txt-to-sql.jade
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ html(lang=lang)
generating:'generando',
opts:{
commas:'Alinear commas',
width:'Ancho máximo',
columnAlignedMaxWidth:'Ancho máximo',
format:'Formato campos',
separator:'Separador',
outformat:'Formato salida',
Expand Down Expand Up @@ -104,7 +104,7 @@ html(lang=lang)
generating:'generating',
opts:{
commas:'Align commas',
width:'Max width',
columnAlignedMaxWidth:'Max width',
format:'Field format',
separator:'Field separator',
outformat:'Output format',
Expand All @@ -113,7 +113,7 @@ html(lang=lang)
inputEncoding:'Input encoding',
outputEncoding:'Output encoding',
ignoreNullLines:'Ignore NULL lines',
ignoreNullLines:'Add DROP TABLE',
addDropTable:'Add DROP TABLE',
},
cols:{
name:'Name',
Expand Down Expand Up @@ -275,8 +275,8 @@ html(lang=lang)
prepared.columns.filter(function(c) {return c.inPrimaryKey; }).length>0;
var tblOpts = html.table({class:'inner'},[
html.th({colspan:2},[html.td("Options")]).create(),
createOption(messages.opts.commas, 'columnAlignedCommas', 'text', prepared.opts.columnAlignedCommas, 1),
createOption(messages.opts.width, 'columnAlignedMaxWidth', 'text', prepared.opts.columnAlignedMaxWidth, 1),
createOption(messages.opts.commas, 'columnAlignedCommas', 'checkbox', prepared.opts.columnAlignedCommas, 1),
createOption(messages.opts.columnAlignedMaxWidth, 'columnAlignedMaxWidth', 'text', prepared.opts.columnAlignedMaxWidth, 1),
createOption(messages.opts.format, 'columnNamesFormat', 'text', prepared.opts.columnNamesFormat, 15),
createOption(messages.opts.separator, 'separator', 'text', prepared.opts.separator, 1),
createOption(messages.opts.outformat, 'outputEngine', 'text', prepared.opts.outputEngine, 10),
Expand Down
10 changes: 5 additions & 5 deletions web/txt-to-sql.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
generating:'generando',
opts:{
commas:'Alinear commas',
width:'Ancho máximo',
columnAlignedMaxWidth:'Ancho máximo',
format:'Formato campos',
separator:'Separador',
outformat:'Formato salida',
Expand Down Expand Up @@ -49,7 +49,7 @@
generating:'generating',
opts:{
commas:'Align commas',
width:'Max width',
columnAlignedMaxWidth:'Max width',
format:'Field format',
separator:'Field separator',
outformat:'Output format',
Expand All @@ -58,7 +58,7 @@
inputEncoding:'Input encoding',
outputEncoding:'Output encoding',
ignoreNullLines:'Ignore NULL lines',
ignoreNullLines:'Add DROP TABLE',
addDropTable:'Add DROP TABLE',
},
cols:{
name:'Name',
Expand Down Expand Up @@ -220,8 +220,8 @@
prepared.columns.filter(function(c) {return c.inPrimaryKey; }).length>0;
var tblOpts = html.table({class:'inner'},[
html.th({colspan:2},[html.td("Options")]).create(),
createOption(messages.opts.commas, 'columnAlignedCommas', 'text', prepared.opts.columnAlignedCommas, 1),
createOption(messages.opts.width, 'columnAlignedMaxWidth', 'text', prepared.opts.columnAlignedMaxWidth, 1),
createOption(messages.opts.commas, 'columnAlignedCommas', 'checkbox', prepared.opts.columnAlignedCommas, 1),
createOption(messages.opts.columnAlignedMaxWidth, 'columnAlignedMaxWidth', 'text', prepared.opts.columnAlignedMaxWidth, 1),
createOption(messages.opts.format, 'columnNamesFormat', 'text', prepared.opts.columnNamesFormat, 15),
createOption(messages.opts.separator, 'separator', 'text', prepared.opts.separator, 1),
createOption(messages.opts.outformat, 'outputEngine', 'text', prepared.opts.outputEngine, 10),
Expand Down
4 changes: 2 additions & 2 deletions web/txt-to-sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,9 @@ txtToSql.defaultOpts = {
verboseErrors: false,
inputEncoding: false,
outputEncoding: false,
addDropTable: false, // agregar a .jade
addDropTable: false,
ignoreNullLines: false,
compactInsertLimit:0 // agregar a .jade
compactInsertLimit:0
};

module.exports = txtToSql;

0 comments on commit 7c2bdb5

Please sign in to comment.