diff --git a/scripts/updatetranslations.js b/scripts/updatetranslations.js index e0317404..e46a9079 100644 --- a/scripts/updatetranslations.js +++ b/scripts/updatetranslations.js @@ -14,63 +14,72 @@ const compareAndRemoveKeys = (json1, json2) => { } }; -try { - const localesDir = path.join(__dirname, '../src/i18n/locales'); - const achievementsDir = path.join(localesDir, 'achievements'); +const localesDir = path.join(__dirname, '../src/i18n/locales'); +const achievementsDir = path.join(localesDir, 'achievements'); - // Check if the locales directory exists, if not, create it - if (!fs.existsSync(localesDir)) { - fs.mkdirSync(localesDir, { recursive: true }); - } - - // Check if the achievements directory exists, if not, create it - if (!fs.existsSync(achievementsDir)) { - fs.mkdirSync(achievementsDir, { recursive: true }); - } - - fs.readdirSync(localesDir).forEach((file) => { - if (file === 'en_GB.json') { - return; - } - - const en = require(path.join(localesDir, 'en_GB.json')); - const newdata = merge(en, require(path.join(localesDir, file))); - - compareAndRemoveKeys(newdata, en); - - fs.writeFileSync(path.join(localesDir, file), JSON.stringify(newdata, null, 2)); - - fs.appendFileSync(path.join(localesDir, file), '\n'); - }); - - fs.readdirSync(achievementsDir).forEach((file) => { - if (file === 'en_GB.json') { - return; - } - - const enGBFilePath = path.join(achievementsDir, 'en_GB.json'); - if (!fs.existsSync(enGBFilePath)) { - console.error(`File 'en_GB.json' does not exist in the directory '${achievementsDir}'`); - return; - } - - const en = require(enGBFilePath); - const newdata = merge(en, require(path.join(achievementsDir, file))); - - compareAndRemoveKeys(newdata, en); - - fs.writeFileSync(path.join(achievementsDir, file), JSON.stringify(newdata, null, 2)); - - fs.appendFileSync(path.join(achievementsDir, file), '\n'); - - const locales = fs.readdirSync(localesDir); - locales.forEach((locale) => { - if (!fs.existsSync(path.join(achievementsDir, locale))) { - fs.writeFileSync(path.join(achievementsDir, locale), JSON.stringify(en, null, 2)); - fs.appendFileSync(path.join(achievementsDir, locale), '\n'); - } - }); - }); -} catch (error) { - console.error(`An error occurred: ${error.message}`); +// Check if the locales directory exists, if not, create it +if (!fs.existsSync(localesDir)) { + fs.mkdirSync(localesDir, { recursive: true }); } + +// Check if the achievements directory exists, if not, create it +if (!fs.existsSync(achievementsDir)) { + fs.mkdirSync(achievementsDir, { recursive: true }); +} + +fs.readdirSync(localesDir).forEach((file) => { + if (file === 'en_GB.json') { + return; + } + + if (fs.lstatSync(path.join(localesDir, file)).isDirectory()) { + return; + } + + const en = require(path.join(localesDir, 'en_GB.json')); + const newdata = merge(en, require(path.join(localesDir, file))); + + compareAndRemoveKeys(newdata, en); + + fs.writeFileSync(path.join(localesDir, file), JSON.stringify(newdata, null, 2)); + + fs.appendFileSync(path.join(localesDir, file), '\n'); +}); + +fs.readdirSync(achievementsDir).forEach((file) => { + if (file === 'en_GB.json') { + return; + } + + if (fs.lstatSync(path.join(achievementsDir, file)).isDirectory()) { + return; + } + + const enGBFilePath = path.join(achievementsDir, 'en_GB.json'); + if (!fs.existsSync(enGBFilePath)) { + console.error(`File 'en_GB.json' does not exist in the directory '${achievementsDir}'`); + return; + } + + const en = require(enGBFilePath); + const newdata = merge(en, require(path.join(achievementsDir, file))); + + compareAndRemoveKeys(newdata, en); + + fs.writeFileSync(path.join(achievementsDir, file), JSON.stringify(newdata, null, 2)); + + fs.appendFileSync(path.join(achievementsDir, file), '\n'); + + const locales = fs.readdirSync(localesDir); + locales.forEach((locale) => { + if (!fs.existsSync(path.join(achievementsDir, locale))) { + // ignore directories + if (fs.lstatSync(path.join(localesDir, locale)).isDirectory()) { + return; + } + + fs.writeFileSync(path.join(achievementsDir, locale), JSON.stringify(en, null, 2)); + fs.appendFileSync(path.join(achievementsDir, locale), '\n'); + } + }); +}); diff --git a/src/i18n/locales/achievements/bn.json b/src/i18n/locales/achievements/bn.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/bn.json +++ b/src/i18n/locales/achievements/bn.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/de_DE.json b/src/i18n/locales/achievements/de_DE.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/de_DE.json +++ b/src/i18n/locales/achievements/de_DE.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/en_US.json b/src/i18n/locales/achievements/en_US.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/en_US.json +++ b/src/i18n/locales/achievements/en_US.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/es.json b/src/i18n/locales/achievements/es.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/es.json +++ b/src/i18n/locales/achievements/es.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/es_419.json b/src/i18n/locales/achievements/es_419.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/es_419.json +++ b/src/i18n/locales/achievements/es_419.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/fr.json b/src/i18n/locales/achievements/fr.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/fr.json +++ b/src/i18n/locales/achievements/fr.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/id_ID.json b/src/i18n/locales/achievements/id_ID.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/id_ID.json +++ b/src/i18n/locales/achievements/id_ID.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/nl.json b/src/i18n/locales/achievements/nl.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/nl.json +++ b/src/i18n/locales/achievements/nl.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/no.json b/src/i18n/locales/achievements/no.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/no.json +++ b/src/i18n/locales/achievements/no.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/pt.json b/src/i18n/locales/achievements/pt.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/pt.json +++ b/src/i18n/locales/achievements/pt.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/pt_BR.json b/src/i18n/locales/achievements/pt_BR.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/pt_BR.json +++ b/src/i18n/locales/achievements/pt_BR.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/ru.json b/src/i18n/locales/achievements/ru.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/ru.json +++ b/src/i18n/locales/achievements/ru.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/tr_TR.json b/src/i18n/locales/achievements/tr_TR.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/tr_TR.json +++ b/src/i18n/locales/achievements/tr_TR.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/achievements/zh_CN.json b/src/i18n/locales/achievements/zh_CN.json index 8dcc1526..6859159a 100644 --- a/src/i18n/locales/achievements/zh_CN.json +++ b/src/i18n/locales/achievements/zh_CN.json @@ -1,8 +1,50 @@ -[ - "Opened 10 tabs", - "Opened 39 tabs", - "Opened 100 tabs", - "Opened 305 tabs", - "Installed an add-on", - "Installed 5 add-ons" -] +{ + "727": { + "name": "When You See It", + "description": "Opened 727 tabs" + }, + "1337": { + "name": "MU3T4B", + "description": "Opened 1337 tabs" + }, + "10tabs": { + "name": "10/10 IGN", + "description": "Opened 10 tabs" + }, + "thankyou": { + "name": "Thank You", + "description": "Opened 39 tabs" + }, + "seasoning": { + "name": "Seasoning", + "description": "Opened 100 tabs" + }, + "mrworldwide": { + "name": "Mr. Worldwide", + "description": "Opened 305 tabs" + }, + "tabaholic": { + "name": "Tabaholic", + "description": "Opened 500 tabs" + }, + "808s": { + "name": "808s & Tab Breaks", + "description": "Opened 808 tabs" + }, + "averagelinuxuser": { + "name": "Average Linux User", + "description": "Installed an add-on" + }, + "fullyriced": { + "name": "Fully Riced", + "description": "Installed 5 add-ons" + }, + "21addons": { + "name": "They installed 21 add-ons? Whaaat?", + "description": "Installed 21 add-ons" + }, + "overload": { + "name": "System Overload", + "description": "Installed 50 add-ons" + } +} diff --git a/src/i18n/locales/bn.json b/src/i18n/locales/bn.json index 6f26bbb0..4304c4f4 100644 --- a/src/i18n/locales/bn.json +++ b/src/i18n/locales/bn.json @@ -676,6 +676,7 @@ "error": "Something went wrong", "imported": "Successfully imported", "no_storage": "Not enough storage", - "link_copied": "Link copied" + "link_copied": "Link copied", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/de_DE.json b/src/i18n/locales/de_DE.json index b08ef32a..b1c7f2aa 100644 --- a/src/i18n/locales/de_DE.json +++ b/src/i18n/locales/de_DE.json @@ -676,6 +676,7 @@ "error": "Etwas ist schief gelaufen", "imported": "Erfolgreich importiert", "no_storage": "Nicht genügend Speicherplatz", - "link_copied": "Link kopiert" + "link_copied": "Link kopiert", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/en_US.json b/src/i18n/locales/en_US.json index 5f8dad0d..9f0f96b5 100644 --- a/src/i18n/locales/en_US.json +++ b/src/i18n/locales/en_US.json @@ -676,6 +676,7 @@ "error": "Something went wrong", "imported": "Successfully imported", "no_storage": "Not enough storage", - "link_copied": "Link copied" + "link_copied": "Link copied", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index c2ffdfe3..01987a3d 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -676,6 +676,7 @@ "error": "Algo salió mal", "imported": "Importado correctamente", "no_storage": "No hay espacio suficiente", - "link_copied": "Enlace copiado" + "link_copied": "Enlace copiado", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/es_419.json b/src/i18n/locales/es_419.json index eb928f1c..0ee96dd5 100644 --- a/src/i18n/locales/es_419.json +++ b/src/i18n/locales/es_419.json @@ -676,6 +676,7 @@ "error": "Algo salió mal", "imported": "Importado correctamente", "no_storage": "Not enough storage", - "link_copied": "Link copied" + "link_copied": "Link copied", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index c0413807..b8fb2e24 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -676,6 +676,7 @@ "error": "Quelque chose s'est mal passé", "imported": "Importé avec succès", "no_storage": "Not enough storage", - "link_copied": "Link copied" + "link_copied": "Link copied", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/id_ID.json b/src/i18n/locales/id_ID.json index ac8a0167..fa3cb3d9 100644 --- a/src/i18n/locales/id_ID.json +++ b/src/i18n/locales/id_ID.json @@ -676,6 +676,7 @@ "error": "Terdapat kesalahan", "imported": "Berhasil mengimpor", "no_storage": "Not enough storage", - "link_copied": "Link copied" + "link_copied": "Link copied", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/nl.json b/src/i18n/locales/nl.json index 01a1f9fa..89207ab9 100644 --- a/src/i18n/locales/nl.json +++ b/src/i18n/locales/nl.json @@ -676,6 +676,7 @@ "error": "Er is iets misgegaan", "imported": "Het importeren is voltooid", "no_storage": "Niet genoeg opslag", - "link_copied": "Link gekopieerd" + "link_copied": "Link gekopieerd", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/no.json b/src/i18n/locales/no.json index 48a816db..87ee6854 100644 --- a/src/i18n/locales/no.json +++ b/src/i18n/locales/no.json @@ -676,6 +676,7 @@ "error": "Noe gikk galt", "imported": "Successfully imported", "no_storage": "Not enough storage", - "link_copied": "Link copied" + "link_copied": "Link copied", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/pt.json b/src/i18n/locales/pt.json index d15623d6..b1ce7982 100644 --- a/src/i18n/locales/pt.json +++ b/src/i18n/locales/pt.json @@ -676,6 +676,7 @@ "error": "Algo deu errado", "imported": "Importado com sucesso", "no_storage": "Espaço de armazenamento insuficiente", - "link_copied": "Ligação copiada" + "link_copied": "Ligação copiada", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/pt_BR.json b/src/i18n/locales/pt_BR.json index f7f05831..9a7ff7f1 100644 --- a/src/i18n/locales/pt_BR.json +++ b/src/i18n/locales/pt_BR.json @@ -676,6 +676,7 @@ "error": "Algo deu errado", "imported": "Importado com sucesso", "no_storage": "Espaço de armazenamento insuficiente", - "link_copied": "Link copiado" + "link_copied": "Link copiado", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index d3638b6f..ad9dc363 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -676,6 +676,7 @@ "error": "Что-то пошло не так", "imported": "Успешно импортировано", "no_storage": "Недостаточно места", - "link_copied": "Ссылка скопирована" + "link_copied": "Ссылка скопирована", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/tr_TR.json b/src/i18n/locales/tr_TR.json index f097fd51..6cb3430b 100644 --- a/src/i18n/locales/tr_TR.json +++ b/src/i18n/locales/tr_TR.json @@ -676,6 +676,7 @@ "error": "Bir şeyler yanlış gitti.", "imported": "Başarıyla içe aktarıldı.", "no_storage": "Yeteri kadar yer yok.", - "link_copied": "Bağlantı kopyalandı." + "link_copied": "Bağlantı kopyalandı.", + "stats_reset": "Stats reset" } } diff --git a/src/i18n/locales/zh_CN.json b/src/i18n/locales/zh_CN.json index 796b56a1..2854260d 100644 --- a/src/i18n/locales/zh_CN.json +++ b/src/i18n/locales/zh_CN.json @@ -676,6 +676,7 @@ "error": "发生错误", "imported": "导入成功", "no_storage": "Not enough storage", - "link_copied": "Link copied" + "link_copied": "Link copied", + "stats_reset": "Stats reset" } }