From 847b0568bd5bb23ef08ddd8cbbe24f7158eeaaca Mon Sep 17 00:00:00 2001 From: Ned Redmond Date: Fri, 10 Nov 2023 15:35:50 -0500 Subject: [PATCH] Add string for translation (#799) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Just adds a single string for translation so that our international team can get a jump-start on internationalization. Issue: LC-1447 Author: nedredmond Reviewers: nixterrimus Required Reviewers: Approved By: nixterrimus Checks: ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 16.x), ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Extract i18n strings (ubuntu-latest, 16.x), ✅ Cypress (ubuntu-latest, 16.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x), ⌛ Jest Coverage (ubuntu-latest, 16.x), ✅ Check builds for changes in size (ubuntu-latest, 16.x), ✅ Publish Storybook to Chromatic (ubuntu-latest, 16.x), ✅ gerald Pull Request URL: https://github.com/Khan/perseus/pull/799 --- .changeset/four-zoos-boil.md | 5 +++++ packages/perseus/src/widgets/label-image/strings.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/four-zoos-boil.md create mode 100644 packages/perseus/src/widgets/label-image/strings.ts diff --git a/.changeset/four-zoos-boil.md b/.changeset/four-zoos-boil.md new file mode 100644 index 0000000000..e94edb5673 --- /dev/null +++ b/.changeset/four-zoos-boil.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/perseus": patch +--- + +Add string for translation for label image changes diff --git a/packages/perseus/src/widgets/label-image/strings.ts b/packages/perseus/src/widgets/label-image/strings.ts new file mode 100644 index 0000000000..2de44605d8 --- /dev/null +++ b/packages/perseus/src/widgets/label-image/strings.ts @@ -0,0 +1,3 @@ +export const strings = { + hideAnswersToggleLabel: "Hide answer choices", +};