mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Update to latest
This commit is contained in:
@@ -20,10 +20,7 @@ module.exports = class TranslateCommand extends Command {
|
||||
key: 'text',
|
||||
prompt: 'What text would you like to translate?',
|
||||
type: 'string',
|
||||
validate: text => {
|
||||
if (text.length < 500) return true;
|
||||
return 'Invalid text, please keep the text under 500 characters.';
|
||||
}
|
||||
max: 500
|
||||
},
|
||||
{
|
||||
key: 'target',
|
||||
|
||||
Reference in New Issue
Block a user