diff options
| author | Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> | 2024-01-19 09:33:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 09:33:11 +0000 |
| commit | 7140956da0820d4b818119eff7dfc72345f3328e (patch) | |
| tree | 503e1129a999fe834d2a7b98a4e82bf07264f49f /src | |
| parent | a4f3cb02befe658594c076144be2e5200f36682a (diff) | |
| parent | 83c3460191a2089b56b091a7f4e09f39ac636e1e (diff) | |
Merge pull request #65 from joeacarstairs/deployment-staging
Update production
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/CommitteeList/CommitteeListItem.astro | 3 | ||||
| -rw-r--r-- | src/i18n/translations/pages/home.ts | 12 | ||||
| -rw-r--r-- | src/i18n/translations/site.ts | 10 | ||||
| -rw-r--r-- | src/pages/[locale]/index.astro | 1 |
4 files changed, 11 insertions, 15 deletions
diff --git a/src/components/CommitteeList/CommitteeListItem.astro b/src/components/CommitteeList/CommitteeListItem.astro index 9a5a55b..542d11f 100644 --- a/src/components/CommitteeList/CommitteeListItem.astro +++ b/src/components/CommitteeList/CommitteeListItem.astro @@ -43,8 +43,7 @@ const t = translate(locale); {committeeMember.name} { committeeMember.roles.length > 0 && ( - <span class="font-weight-lighter"> - |{' '} + <span class="committee__member__role"> {committeeMember.roles.map((role) => t(tRole, { key: CommitteeRole[role] })).join(', ')} </span> ) diff --git a/src/i18n/translations/pages/home.ts b/src/i18n/translations/pages/home.ts index 3a81710..b577a46 100644 --- a/src/i18n/translations/pages/home.ts +++ b/src/i18n/translations/pages/home.ts @@ -6,8 +6,8 @@ const tPage = { 'en-GB': () => 'Home', }, submit: { - sco: () => 'Sangschaw apen for submeissions', - 'en-GB': () => 'Sangschaw open for submissions', + sco: () => 'Sang\u00adschaw apen for submeissions', + 'en-GB': () => 'Sang\u00adschaw open for submissions', }, 'submit-para-1': { sco: () => ` @@ -97,13 +97,9 @@ const tPage = { sco: () => 'Meet the Commattee', 'en-GB': () => 'Meet the Committee', }, - 'mair-commattee-details-soon': { - sco: () => 'Mair details comin shuin!', - 'en-GB': () => 'More details coming soon!', - }, furthsettins: { - sco: () => 'Furthsettins', - 'en-GB': () => 'Publications', + sco: () => 'Furth\u00adsettins', + 'en-GB': () => 'Public\u00adations', }, 'furthsettins-para': { sco: () => ` diff --git a/src/i18n/translations/site.ts b/src/i18n/translations/site.ts index 59a8cd4..51e4183 100644 --- a/src/i18n/translations/site.ts +++ b/src/i18n/translations/site.ts @@ -5,8 +5,9 @@ import type { TranslationsDictionary } from '$types/TranslationsDictionary'; const tSite = { title: { - sco: () => 'Scots Leid Associe', - 'en-GB': () => 'Scots Language Society', + // On very narrow screens, use \u00ad to suggest hyphenation points + sco: () => 'Scots Leid Assoc\u00adie', + 'en-GB': () => 'Scots Lang\u00aduage Soc\u00adiety', }, description: { sco: () => 'The wabsteid o the Scots Leid Associe', @@ -21,8 +22,9 @@ const tSite = { 'en-GB': () => 'Scotsoun', }, 'scots-leid-associe': { - sco: () => 'Scots Leid Associe', - 'en-GB': () => 'Scots Language Society', + // On very narrow screens, use \u00ad to suggest hyphenation points + sco: () => 'Scots Leid Assoc\u00adie', + 'en-GB': () => 'Scots Lang\u00aduage Soc\u00adiety', }, by: { sco: () => 'bi', diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index b08f412..e8b9cf0 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -44,7 +44,6 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale); <p set:html={t(tPage, { key: 'about-us-para-2' })} /> <p set:html={t(tPage, { key: 'about-us-para-3' })} /> <h3 set:html={t(tPage, { key: 'meet-the-commattee' })} /> - <p class="italic">{t(tPage, { key: 'mair-commattee-details-soon' })}</p> <CommitteeList /> </section> |
