Skip to content

Commit 639449b

Browse files
thePunderWomanjosephperrott
authored andcommitted
fix(ng-dev): Add mapping between localize scope and i18n label (#2545)
This mapping was preferred by the fw-team. PR Close #2545
1 parent 8076a69 commit 639449b

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed

.github/local-actions/branch-manager/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62489,6 +62489,12 @@ var managedLabels = createTypedObject(ManagedLabel)({
6248962489
name: "area: zones",
6249062490
commitCheck: (c) => c.scope === "zone.js",
6249162491
repositories: [ManagedRepositories.ANGULAR]
62492+
},
62493+
DETECTED_LOCALIZE_CHANGE: {
62494+
description: "Issues related to localization and internationalization",
62495+
name: "area: i18n",
62496+
commitCheck: (c) => c.scope === "localize",
62497+
repositories: [ManagedRepositories.ANGULAR]
6249262498
}
6249362499
});
6249462500

.github/local-actions/labels-sync/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45913,6 +45913,12 @@ var managedLabels = createTypedObject(ManagedLabel)({
4591345913
name: "area: zones",
4591445914
commitCheck: (c) => c.scope === "zone.js",
4591545915
repositories: [ManagedRepositories.ANGULAR]
45916+
},
45917+
DETECTED_LOCALIZE_CHANGE: {
45918+
description: "Issues related to localization and internationalization",
45919+
name: "area: i18n",
45920+
commitCheck: (c) => c.scope === "localize",
45921+
repositories: [ManagedRepositories.ANGULAR]
4591645922
}
4591745923
});
4591845924

github-actions/branch-manager/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45913,6 +45913,12 @@ var managedLabels = createTypedObject(ManagedLabel)({
4591345913
name: "area: zones",
4591445914
commitCheck: (c) => c.scope === "zone.js",
4591545915
repositories: [ManagedRepositories.ANGULAR]
45916+
},
45917+
DETECTED_LOCALIZE_CHANGE: {
45918+
description: "Issues related to localization and internationalization",
45919+
name: "area: i18n",
45920+
commitCheck: (c) => c.scope === "localize",
45921+
repositories: [ManagedRepositories.ANGULAR]
4591645922
}
4591745923
});
4591845924

github-actions/commit-message-based-labels/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46378,6 +46378,12 @@ var managedLabels = createTypedObject(ManagedLabel)({
4637846378
name: "area: zones",
4637946379
commitCheck: (c) => c.scope === "zone.js",
4638046380
repositories: [ManagedRepositories.ANGULAR]
46381+
},
46382+
DETECTED_LOCALIZE_CHANGE: {
46383+
description: "Issues related to localization and internationalization",
46384+
name: "area: i18n",
46385+
commitCheck: (c) => c.scope === "localize",
46386+
repositories: [ManagedRepositories.ANGULAR]
4638146387
}
4638246388
});
4638346389

github-actions/unified-status-check/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47733,6 +47733,12 @@ var managedLabels = createTypedObject(ManagedLabel)({
4773347733
name: "area: zones",
4773447734
commitCheck: (c) => c.scope === "zone.js",
4773547735
repositories: [ManagedRepositories.ANGULAR]
47736+
},
47737+
DETECTED_LOCALIZE_CHANGE: {
47738+
description: "Issues related to localization and internationalization",
47739+
name: "area: i18n",
47740+
commitCheck: (c) => c.scope === "localize",
47741+
repositories: [ManagedRepositories.ANGULAR]
4773647742
}
4773747743
});
4773847744

ng-dev/pr/common/labels/managed.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,10 @@ export const managedLabels = createTypedObject(ManagedLabel)({
7777
commitCheck: (c: Commit) => c.scope === 'zone.js',
7878
repositories: [ManagedRepositories.ANGULAR],
7979
},
80+
DETECTED_LOCALIZE_CHANGE: {
81+
description: 'Issues related to localization and internationalization',
82+
name: 'area: i18n',
83+
commitCheck: (c: Commit) => c.scope === 'localize',
84+
repositories: [ManagedRepositories.ANGULAR],
85+
},
8086
});

0 commit comments

Comments
 (0)