-
-
Notifications
You must be signed in to change notification settings - Fork 833
Switch to nested object pluralisation format for i18n files #11412
Conversation
what's the story with the removed perl scripts? Are they no longer used? since when? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Help me out here, as a reviewer unfamiliar with this area: does the new format Just Work, or do we have to upgrade some other component to make it understand?
Indeed, is the new format documented anywhere?
Yup, counterpart uses this format by default, we also configure counterpart to treat |
fix-i18n.pl I'm fairly sure was a one time thing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems plausible
… t3chguy/localazy-0 # Conflicts: # src/i18n/strings/bg.json # src/i18n/strings/ca.json # src/i18n/strings/cs.json # src/i18n/strings/da.json # src/i18n/strings/de_DE.json # src/i18n/strings/el.json # src/i18n/strings/en_EN.json # src/i18n/strings/en_US.json # src/i18n/strings/eo.json # src/i18n/strings/es.json # src/i18n/strings/et.json # src/i18n/strings/eu.json # src/i18n/strings/fa.json # src/i18n/strings/fi.json # src/i18n/strings/fr.json # src/i18n/strings/gl.json # src/i18n/strings/he.json # src/i18n/strings/hu.json # src/i18n/strings/id.json # src/i18n/strings/is.json # src/i18n/strings/it.json # src/i18n/strings/ja.json # src/i18n/strings/kab.json # src/i18n/strings/ko.json # src/i18n/strings/lo.json # src/i18n/strings/lt.json # src/i18n/strings/lv.json # src/i18n/strings/nb_NO.json # src/i18n/strings/nl.json # src/i18n/strings/nn.json # src/i18n/strings/pl.json # src/i18n/strings/pt.json # src/i18n/strings/pt_BR.json # src/i18n/strings/ru.json # src/i18n/strings/sk.json # src/i18n/strings/sq.json # src/i18n/strings/sr.json # src/i18n/strings/sv.json # src/i18n/strings/th.json # src/i18n/strings/tr.json # src/i18n/strings/uk.json # src/i18n/strings/vi.json # src/i18n/strings/vls.json # src/i18n/strings/zh_Hans.json # src/i18n/strings/zh_Hant.json
For element-hq/element-web#25608
Needs element-hq/element-desktop#1172
Needs element-hq/element-web#25970
Needs matrix-org/matrix-web-i18n#7Needs #11417Performed using
find src/i18n/strings -type f -exec sh -c 'jq \'to_entries | map(.key |= split("|")) | reduce .[] as $obj({ }; setpath($obj.key; $obj.value))\' {} | sponge {}' \;
This change is marked as an internal change (Task), so will not be included in the changelog.