updated deployment

This commit is contained in:
Deepak Prabhakara 2024-03-26 23:54:27 +00:00
parent 99e9cdaaca
commit 8ce070d6c7
3 changed files with 25 additions and 2 deletions

23
find-dupe-locale.js Normal file
View File

@ -0,0 +1,23 @@
const allValues = {};
const localeFile = require('./locales/en/common.json');
for (const [key, value] of Object.entries(localeFile)) {
const arr = allValues[value] || [];
allValues[value] = arr.concat(key);
}
const dupValues = {};
for (const [key, value] of Object.entries(allValues)) {
if (value.length > 1) {
dupValues[key] = value;
}
}
if (Object.keys(dupValues).length) {
console.error(`Duplicate values found in locale file: ${Object.keys(dupValues).length}`);
for (const [key, value] of Object.entries(dupValues)) {
console.error(`${value}: ${key}`);
}
}

View File

@ -12,4 +12,4 @@ patches:
images:
- name: boxyhq/jackson
newTag: 1.21.3
newTag: 1.21.4

View File

@ -12,4 +12,4 @@ patches:
images:
- name: boxyhq/jackson
newTag: 1.21.3
newTag: 1.21.4