Skip to content

Commit

Permalink
[🔥AUDIT🔥] Wrap string in i18n function (#839)
Browse files Browse the repository at this point in the history
🖍 _This is an audit!_ 🖍

## Summary:
Somehow missed this when adding this file before.

Issue: XXX-XXXX

## Test plan:
String appears in CrowdIn

Author: nedredmond

Auditors: jeremywiebe, nixterrimus

Required Reviewers:

Approved By: jeremywiebe

Checks: ✅ codecov/project, ❌ codecov/patch, ✅ Upload Coverage, ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 16.x), ✅ Extract i18n strings (ubuntu-latest, 16.x), ✅ Cypress (ubuntu-latest, 16.x), ✅ Jest Coverage (ubuntu-latest, 16.x), ✅ Check for .changeset entries for all changed files (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: #839
  • Loading branch information
nedredmond authored Dec 5, 2023
1 parent a91c84f commit 3e17624
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/heavy-books-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@khanacademy/perseus": patch
---

Wrap string in internationalization function
4 changes: 3 additions & 1 deletion packages/perseus/src/widgets/label-image/strings.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as i18n from "@khanacademy/wonder-blocks-i18n";

export const strings = {
hideAnswersToggleLabel: "Hide answer choices",
hideAnswersToggleLabel: i18n._("Hide answer choices"),
};

0 comments on commit 3e17624

Please sign in to comment.