Skip to content

Commit

Permalink
Update some strings
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 16, 2023
1 parent 8520402 commit 6bebed5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/tw-fonts-modal/fonts-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const FontModal = props => (
>
<div className={styles.body}>
{props.screen === '' ? (

<div className={styles.openButtons}>
<button
className={styles.openButton}
Expand All @@ -35,15 +34,15 @@ const FontModal = props => (
<div className={styles.openButtonText}>
<div className={styles.openButtonTextMain}>
<FormattedMessage
defaultMessage="Use a system font"
defaultMessage="Add a system font"
description="Part of font management modal"
id="tw.fonts.system1"
/>
</div>
<div className={styles.openButtonTextSub}>
<FormattedMessage
// eslint-disable-next-line max-len
defaultMessage="May not appear correctly for everyone."
defaultMessage="May work in Scratch, but will not appear correctly for everyone."
description="Part of font management modal"
id="tw.fonts.system2"
/>
Expand All @@ -66,12 +65,14 @@ const FontModal = props => (
</div>
<div className={styles.openButtonTextSub}>
<FormattedMessage
defaultMessage="{formats} supported."
defaultMessage="Usually will not work in Scratch. Supported formats: {formats}."
// eslint-disable-next-line max-len
description="Part of font management modal. Appears under option to add a font from a local file. {formats} is replace with a comma-separated list of file formats like '.ttf, .otf'"
id="tw.fonts.custom2"
values={{
formats: Object.values(FONT_FORMATS).join(', ')
formats: Object.values(FONT_FORMATS)
.map(i => `.${i}`)
.join(', ')
}}
/>
</div>
Expand Down

0 comments on commit 6bebed5

Please sign in to comment.