remote-calibrator 0.3.0-beta.6 → 0.3.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/i18n/fetch-languages-sheets.js +9 -0
- package/lib/RemoteCalibrator.min.js +1 -1
- package/lib/RemoteCalibrator.min.js.LICENSE.txt +1 -1
- package/lib/RemoteCalibrator.min.js.map +1 -1
- package/package.json +5 -5
- package/src/components/swalOptions.js +1 -1
- package/src/const.js +2 -0
- package/src/core.js +5 -0
- package/src/css/buttons.scss +18 -2
- package/src/css/main.css +13 -3
- package/src/css/panel.scss +0 -5
- package/src/css/screenSize.css +4 -3
- package/src/css/swal.css +0 -1
- package/src/i18n.js +1 -1
- package/src/panel.js +16 -3
@@ -31,6 +31,15 @@ async function processLanguageSheet() {
|
|
31
31
|
data[language] = translations
|
32
32
|
}
|
33
33
|
|
34
|
+
for (let phrase in data) {
|
35
|
+
for (let lang in data[phrase]) {
|
36
|
+
if (data[phrase][lang].includes('XX'))
|
37
|
+
data[phrase][lang] = data[phrase][lang]
|
38
|
+
.replace('XXX', 'xxx')
|
39
|
+
.replace('XX', 'xx')
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
34
43
|
const exportWarning = `/*
|
35
44
|
Do not modify this file! Run npm \`npm run phrases\` at ROOT of this project to fetch from the Google Sheets.
|
36
45
|
https://docs.google.com/spreadsheets/d/1UFfNikfLuo8bSromE34uWDuJrMPFiJG3VpoQKdCGkII/edit#gid=0
|