mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
REmove unsued task
This commit is contained in:
@@ -15,21 +15,6 @@ const SLACK_CHANNEL = '#' + nconf.get('TRANSIFEX_SLACK:channel');
|
|||||||
const SLACK_USERNAME = 'Transifex';
|
const SLACK_USERNAME = 'Transifex';
|
||||||
const SLACK_EMOJI = ':transifex:';
|
const SLACK_EMOJI = ':transifex:';
|
||||||
|
|
||||||
gulp.task('transifex:look', () => {
|
|
||||||
|
|
||||||
let equivalentStrings = [];
|
|
||||||
let nonEnglishLanguages = getNonEnglishLanguages();
|
|
||||||
|
|
||||||
eachTranslationString(nonEnglishLanguages, (language, filename, key, englishString, translationString) => {
|
|
||||||
if (englishString === translationString) {
|
|
||||||
let hash = getHash(key);
|
|
||||||
let json = filename.replace('.','');
|
|
||||||
let url = `https://www.transifex.com/api/2/project/habitrpg/resource/${json}/translation/${language}/string/${hash}/`
|
|
||||||
console.log(url);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task('transifex:untranslatedStrings', () => {
|
gulp.task('transifex:untranslatedStrings', () => {
|
||||||
|
|
||||||
let missingStrings = [];
|
let missingStrings = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user