remote-calibrator 0.3.0-beta.6 → 0.3.0-beta.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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