Skip to content

Commit f7250e1

Browse files
chore(t9n): rename message files (#11054)
**Related Issue:** #11081 ## Summary - Updates filenames of message files in each component. New specification follow `message.lang.json` format. - Removes `util:sync-t9n-en-bundles` script. - Update `t9nmanifest.txt` files with updated path. Related to https://devtopia.esri.com/WebGIS/arcgis-web-components/discussions/1522 --------- Co-authored-by: JC Franco <[email protected]>
1 parent af7e7f8 commit f7250e1

File tree

2,019 files changed

+149
-196
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,019 files changed

+149
-196
lines changed

package-lock.json

Lines changed: 39 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"util:sync-linked-package-versions": "tsx support/syncLinkedPackageVersions.ts"
3434
},
3535
"devDependencies": {
36-
"@arcgis/lumina-compiler": "4.32.0-next.46",
36+
"@arcgis/lumina-compiler": "4.32.0-next.50",
3737
"@cspell/eslint-plugin": "8.16.1",
3838
"@esri/calcite-base": "1.2.0",
3939
"@octokit/webhooks-types": "7.6.1",

packages/calcite-components/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,12 @@
6464
"util:hydration-styles": "tsx support/hydrationStyles.ts",
6565
"util:is-working-tree-clean": "[ -z \"$(git status --porcelain=v1)\" ]",
6666
"util:prep-build-reqs": "npm run util:copy-assets",
67-
"util:sync-t9n-en-bundles": "tsx support/syncEnT9nBundles.ts",
6867
"util:test-types": "! grep -rnw 'dist/types' -e '<reference types='"
6968
},
7069
"dependencies": {
71-
"@arcgis/components-controllers": "4.32.0-next.46",
72-
"@arcgis/components-utils": "4.32.0-next.46",
73-
"@arcgis/lumina": "4.32.0-next.46",
70+
"@arcgis/components-controllers": "4.32.0-next.50",
71+
"@arcgis/components-utils": "4.32.0-next.50",
72+
"@arcgis/lumina": "4.32.0-next.50",
7473
"@esri/calcite-ui-icons": "4.0.0-next.2",
7574
"@floating-ui/dom": "1.6.12",
7675
"@floating-ui/utils": "0.2.8",

packages/calcite-components/src/components/action-bar/action-bar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { DEBOUNCE } from "../../utils/resources";
2929
import { useT9n } from "../../controllers/useT9n";
3030
import type { Tooltip } from "../tooltip/tooltip";
3131
import type { ActionGroup } from "../action-group/action-group";
32-
import T9nStrings from "./assets/t9n/action-bar.t9n.en.json";
32+
import T9nStrings from "./assets/t9n/messages.en.json";
3333
import { CSS, SLOTS } from "./resources";
3434
import { geActionDimensions, getOverflowCount, overflowActions, queryActions } from "./utils";
3535
import { styles } from "./action-bar.scss";

packages/calcite-components/src/components/action-group/action-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { focusFirstTabbable, slotChangeHasAssignedElement } from "../../utils/do
1313
import { useT9n } from "../../controllers/useT9n";
1414
import type { ActionMenu } from "../action-menu/action-menu";
1515
import { Columns } from "./interfaces";
16-
import T9nStrings from "./assets/t9n/action-group.t9n.en.json";
16+
import T9nStrings from "./assets/t9n/messages.en.json";
1717
import { CSS, ICONS, SLOTS } from "./resources";
1818
import { styles } from "./action-group.scss";
1919

packages/calcite-components/src/components/action-pad/action-pad.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { OverlayPositioning } from "../../utils/floating-ui";
1414
import { useT9n } from "../../controllers/useT9n";
1515
import type { Tooltip } from "../tooltip/tooltip";
1616
import type { ActionGroup } from "../action-group/action-group";
17-
import T9nStrings from "./assets/t9n/action-pad.t9n.en.json";
17+
import T9nStrings from "./assets/t9n/messages.en.json";
1818
import { CSS, SLOTS } from "./resources";
1919
import { styles } from "./action-pad.scss";
2020

packages/calcite-components/src/components/action/action.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { Alignment, Appearance, Scale } from "../interfaces";
1818
import { IconNameOrString } from "../icon/interfaces";
1919
import { useT9n } from "../../controllers/useT9n";
2020
import type { Tooltip } from "../tooltip/tooltip";
21-
import T9nStrings from "./assets/t9n/action.t9n.en.json";
21+
import T9nStrings from "./assets/t9n/messages.en.json";
2222
import { CSS, SLOTS } from "./resources";
2323
import { styles } from "./action.scss";
2424

packages/calcite-components/src/components/alert/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { Kind, Scale } from "../interfaces";
2828
import { KindIcons } from "../resources";
2929
import { IconNameOrString } from "../icon/interfaces";
3030
import { useT9n } from "../../controllers/useT9n";
31-
import T9nStrings from "./assets/t9n/alert.t9n.en.json";
31+
import T9nStrings from "./assets/t9n/messages.en.json";
3232
import { AlertDuration, AlertQueue } from "./interfaces";
3333
import { CSS, DURATIONS, SLOTS } from "./resources";
3434
import AlertManager from "./AlertManager";

packages/calcite-components/src/components/block-section/block-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from "../../utils/loadable";
1111
import { IconNameOrString } from "../icon/interfaces";
1212
import { useT9n } from "../../controllers/useT9n";
13-
import T9nStrings from "./assets/t9n/block-section.t9n.en.json";
13+
import T9nStrings from "./assets/t9n/messages.en.json";
1414
import { BlockSectionToggleDisplay } from "./interfaces";
1515
import { CSS, ICONS, IDS } from "./resources";
1616
import { styles } from "./block-section.scss";

packages/calcite-components/src/components/block/block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { IconNameOrString } from "../icon/interfaces";
2525
import { useT9n } from "../../controllers/useT9n";
2626
import { logger } from "../../utils/logger";
2727
import { CSS, ICONS, IDS, SLOTS } from "./resources";
28-
import T9nStrings from "./assets/t9n/block.t9n.en.json";
28+
import T9nStrings from "./assets/t9n/messages.en.json";
2929
import { styles } from "./block.scss";
3030

3131
declare global {

0 commit comments

Comments
 (0)