Commit graph

11 commits

Author SHA1 Message Date
Hannu Lyytikainen
f7368e4824 Change confirmation response to case insensitive 2018-11-27 12:36:45 +02:00
Hannu Lyytikainen
0cfd8ce22b Split execution to two parts
Split execution so that after translating a key the application does not
return to the beginning but to the keys listing with the same language.
2018-11-27 12:36:45 +02:00
Hannu Lyytikainen
ad0c591be5 Rename source lang code field 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
d15a9652e0 Remove confirmation values filter
Use 'y' and 'N' instead of filtering them to booleans as the filtered
value is printed to the console and is confusing is differs from the one
user typed.
2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
3f18707e72 Write new translation on a new line 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
aeb3369914 Change executable to normal .js file
An executable provides little or nothing extra in this case and running
the tool as 'node translations.js' is more universal across platforms
than './translations'.
2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
e52f318750 Change translations.js into an executable 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
eb90087624 Fix formatting 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
31b4cbecba Improve the missing keys list 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
fc7ddb0b63 Add some color to outputs 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
9808df89f1 Add a CLI tool for managing translations 2018-11-27 12:36:44 +02:00