scripts: add langmover

a tool to move strings between language file sections. Will be used to
move login strings from admin into their own "login" file section.
This commit is contained in:
Harvey Tindall
2023-06-16 17:27:09 +01:00
parent 726acb9c29
commit a1af6e3892
3 changed files with 175 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"meta": {
"explanation": "values here can either be folder, folder:section, or folder:section:subkey, and then either nothing, or /keyname. It all depends on whether the sections and keys match up, or if you want to pull a plural/singular only or not."
},
"strings": {
"inviteInfiniteUsesWarning": "admin",
"emailAddress": "form:strings/emailAddress",
"modifySettingsFor": "admin:quantityStrings:plural/",
"deleteNUsers": "admin:quantityStrings:singular/deleteNUsers"
},
"quantityStrings": {
"reEnableUsers": "admin"
}
}