You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[translation] [update] Add informative log and a manual confirmation before uploading + Remove safety check + Bring node-fetch back since it is experimental and showing warnings.
log(`You are about to upload the freemius-en.po file to the production organization!.`);
132
+
log(`In ${chalk.bgYellow.black('Transifex')} freemius-en.po file has ${chalk.bold.magenta(resource.attributes.string_count)} lines and ${chalk.bold.cyan(resource.attributes.word_count)} words.`);
133
+
log(`In ${chalk.bgYellow.black('Local')} freemius-en.po file has ${chalk.bold.magenta(sentenceCount)} lines and ${chalk.bold.cyan(wordCount)} words.`);
134
+
log(`Please make sure you have already tested the content of the file.`);
135
+
log(chalk.bold.red('Any data loss could be permanent.'));
136
+
137
+
constconfirmation=awaitprompts({
138
+
type: 'confirm',
139
+
message: `Do you want to upload the file freemius-en.po to Transifex?`,
0 commit comments