diff --git a/src/styles/helpers.js b/src/styles/helpers.js index 4574f53d..98bdf75f 100644 --- a/src/styles/helpers.js +++ b/src/styles/helpers.js @@ -26,9 +26,10 @@ export const lighten = (c: string, a: number) => export const ff = (v: string) => { const [font, type = 'Regular'] = v.split('|') const { style, weight } = fontFamilies[font][type] + const fallback = fontFamilies[font]['fallback'] || 'Arial' return { - fontFamily: font, + fontFamily: `${font}, ${fallback}`, fontWeight: weight, fontStyle: style, } diff --git a/static/i18n/en/emptyState.yml b/static/i18n/en/emptyState.yml index 301afbd5..b58a2b8c 100644 --- a/static/i18n/en/emptyState.yml +++ b/static/i18n/en/emptyState.yml @@ -1,5 +1,5 @@ sidebar: - text: You don’t have any account for the moment. Press the + button to create an account + text: You don’t have any accounts at the moment. Press the + button to create an account dashboard: title: This is a title, use it with caution desc: Please create a new account or recover an old account from your Ledger device. diff --git a/static/i18n/fr/emptyState.yml b/static/i18n/fr/emptyState.yml index e599bece..f0436336 100644 --- a/static/i18n/fr/emptyState.yml +++ b/static/i18n/fr/emptyState.yml @@ -1,6 +1,6 @@ --- sidebar: - text: You don’t have any account for the moment. Press the + button to create an account + text: You don’t have any accounts at the moment. Press the + button to create an account dashboard: title: This is a title, use it with caution desc: Please create a new account or recover an old account from your Ledger device.