Update file paths in localazy.json for new structure (#32629)
* Update file paths in localazy.json for new structure * Update path for en_EN.json in workflow
This commit is contained in:
@@ -3,7 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [develop]
|
branches: [develop]
|
||||||
paths:
|
paths:
|
||||||
- "src/i18n/strings/en_EN.json"
|
- "apps/web/src/i18n/strings/en_EN.json"
|
||||||
- "packages/shared-components/src/i18n/strings/en_EN.json"
|
- "packages/shared-components/src/i18n/strings/en_EN.json"
|
||||||
permissions: {} # No permissions needed
|
permissions: {} # No permissions needed
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
+4
-4
@@ -8,15 +8,15 @@
|
|||||||
"features": ["plural_object", "filter_untranslated"],
|
"features": ["plural_object", "filter_untranslated"],
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"pattern": "src/i18n/strings/en_EN.json",
|
"pattern": "apps/web/src/i18n/strings/en_EN.json",
|
||||||
"file": "element-web.json",
|
"file": "element-web.json",
|
||||||
"lang": "inherited"
|
"lang": "inherited"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"group": "existing",
|
"group": "existing",
|
||||||
"pattern": "src/i18n/strings/*.json",
|
"pattern": "apps/web/src/i18n/strings/*.json",
|
||||||
"file": "element-web.json",
|
"file": "element-web.json",
|
||||||
"excludes": ["src/i18n/strings/en_EN.json"],
|
"excludes": ["apps/web/src/i18n/strings/en_EN.json"],
|
||||||
"lang": "${autodetectLang}"
|
"lang": "${autodetectLang}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"conditions": "equals: ${file}, element-web.json",
|
"conditions": "equals: ${file}, element-web.json",
|
||||||
"output": "src/i18n/strings/${langLsrUnderscore}.json"
|
"output": "apps/web/src/i18n/strings/${langLsrUnderscore}.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"conditions": "equals: ${file}, shared-components.json",
|
"conditions": "equals: ${file}, shared-components.json",
|
||||||
|
|||||||
Reference in New Issue
Block a user