Spaces:
Build error
Build error
Update src/components/tw-fonts-modal/fonts-modal.jsx
Browse files
src/components/tw-fonts-modal/fonts-modal.jsx
CHANGED
@@ -42,9 +42,9 @@ const FontModal = props => (
|
|
42 |
<div className={styles.openButtonTextSub}>
|
43 |
<FormattedMessage
|
44 |
// eslint-disable-next-line max-len
|
45 |
-
defaultMessage="
|
46 |
description="Part of font management modal"
|
47 |
-
id="
|
48 |
/>
|
49 |
</div>
|
50 |
</div>
|
@@ -65,10 +65,10 @@ const FontModal = props => (
|
|
65 |
</div>
|
66 |
<div className={styles.openButtonTextSub}>
|
67 |
<FormattedMessage
|
68 |
-
defaultMessage="
|
69 |
// eslint-disable-next-line max-len
|
70 |
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'"
|
71 |
-
id="
|
72 |
values={{
|
73 |
formats: Object.values(FONT_FORMATS)
|
74 |
.map(i => `.${i}`)
|
@@ -155,4 +155,4 @@ FontModal.propTypes = {
|
|
155 |
onOpenCustomFonts: PropTypes.func.isRequired
|
156 |
};
|
157 |
|
158 |
-
export default injectIntl(FontModal);
|
|
|
42 |
<div className={styles.openButtonTextSub}>
|
43 |
<FormattedMessage
|
44 |
// eslint-disable-next-line max-len
|
45 |
+
defaultMessage="Doesn't require downloading a font, but will not appear correctly for everyone."
|
46 |
description="Part of font management modal"
|
47 |
+
id="pm.fonts.system2"
|
48 |
/>
|
49 |
</div>
|
50 |
</div>
|
|
|
65 |
</div>
|
66 |
<div className={styles.openButtonTextSub}>
|
67 |
<FormattedMessage
|
68 |
+
defaultMessage="Supported formats: {formats}."
|
69 |
// eslint-disable-next-line max-len
|
70 |
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'"
|
71 |
+
id="pm.fonts.custom2"
|
72 |
values={{
|
73 |
formats: Object.values(FONT_FORMATS)
|
74 |
.map(i => `.${i}`)
|
|
|
155 |
onOpenCustomFonts: PropTypes.func.isRequired
|
156 |
};
|
157 |
|
158 |
+
export default injectIntl(FontModal);
|