wiki.techinc.nl/tests/phpunit/data/resourceloader/codex/messageKeys.json
Eric Gardner 095a4ec6f4 CodexModule: use list of i18n message keys from Codex package
Previously, ResourceLoader's CodexModule class was using a hard-coded
list of message keys to add to the payload any time Codex components
get used. But now we can get the list of messages directly from
Codex. This change replaces the hardcoded list of strings with
a call to file_get_contents().

The list of messages is defined in a file called "messageKeys.json"
in the Codex package. In the next release of Codex, this file will
be pulled in via foreign-resources.yml; for now it has been added
manually to the Codex files in resources/lib.

Bug: T371330
Change-Id: Ib7ca66d67153dfba72d8d49b0181d49b007eedce
2024-08-12 15:30:11 -07:00

5 lines
No EOL
100 B
JSON

[
"cdx-dialog-close-button-label",
"cdx-input-chip-aria-description",
"cdx-label-optional-flag"
]