This commit is contained in:
Daniel Odendahl Jr
2017-08-26 01:59:32 +00:00
parent 6706a94f5a
commit d5f302ca25
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ module.exports = class TranslateCommand extends Command {
},
{
key: 'target',
prompt: 'Which language would you like to translate to?',
prompt: `Which language would you like to translate to? Either ${list(Object.keys(codes), 'or')}.`,
type: 'string',
validate: target => {
if (codes[target.toLowerCase()]) return true;
@@ -36,7 +36,7 @@ module.exports = class TranslateCommand extends Command {
},
{
key: 'original',
prompt: 'Which language is your text in?',
prompt: `Which language is your text in? Either ${list(Object.keys(codes), 'or')}.`,
type: 'string',
default: '',
validate: original => {