diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 00279e39..44e15596 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +- TMS-934: Add screen-reader info for article categories. - TMS-936: Image carousel accessibility fixes - TMS-933: Modaal accessibility fixes diff --git a/lang/fi.mo b/lang/fi.mo index 75478cb3..ec69258d 100644 Binary files a/lang/fi.mo and b/lang/fi.mo differ diff --git a/lang/fi.po b/lang/fi.po index d6c187bd..c8fdc949 100644 --- a/lang/fi.po +++ b/lang/fi.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: TMS Theme Base\n" -"POT-Creation-Date: 2023-10-05 11:17+0300\n" -"PO-Revision-Date: 2023-10-05 11:17+0300\n" +"POT-Creation-Date: 2023-10-11 13:38+0300\n" +"PO-Revision-Date: 2023-10-11 13:39+0300\n" "Last-Translator: \n" "Language-Team: \n" "Language: fi\n" @@ -818,6 +818,11 @@ msgctxt "theme-frontend" msgid "Text:" msgstr "Teksti:" +#: models/strings.php:105 +msgctxt "theme-frontend" +msgid "Articletype:" +msgstr "Artikkelityyppi:" + #: models/strings.php:108 models/strings.php:182 msgctxt "theme-frontend" msgid "Month" diff --git a/lang/tms-theme-base.pot b/lang/tms-theme-base.pot index 0efd07b1..bb91094a 100644 --- a/lang/tms-theme-base.pot +++ b/lang/tms-theme-base.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: TMS Theme Base\n" -"POT-Creation-Date: 2023-10-05 11:17+0300\n" +"POT-Creation-Date: 2023-10-11 13:38+0300\n" "PO-Revision-Date: 2022-01-12 10:08+0200\n" "Last-Translator: \n" "Language-Team: \n" @@ -806,7 +806,7 @@ msgstr "" #: models/strings.php:105 msgctxt "theme-frontend" -msgid "Text:" +msgid "Articletype:" msgstr "" #: models/strings.php:108 models/strings.php:182 diff --git a/models/strings.php b/models/strings.php index 8c12fabf..e51b765b 100644 --- a/models/strings.php +++ b/models/strings.php @@ -103,6 +103,7 @@ public function s() : array { 'single' => [ 'image_credits' => _x( 'Image:', 'theme-frontend', 'tms-theme-base' ), 'writing_credits' => _x( 'Text:', 'theme-frontend', 'tms-theme-base' ), + 'article_type' => _x( 'Articletype:', 'theme-frontend', 'tms-theme-base' ), ], 'home' => [ 'month' => _x( 'Month', 'theme-frontend', 'tms-theme-base' ), diff --git a/partials/views/single/single-meta.dust b/partials/views/single/single-meta.dust index 13af6611..82ecc2aa 100644 --- a/partials/views/single/single-meta.dust +++ b/partials/views/single/single-meta.dust @@ -1,4 +1,4 @@ -
+
{@strtodate value=content.post_date format="j.n.Y H:i" /} @@ -7,15 +7,15 @@
{?content.fields.writing_credits}
- {Strings.s.single.writing_credits|s} - {content.fields.writing_credits|s} + {Strings.s.single.writing_credits|html} + {content.fields.writing_credits|html}
{/content.fields.writing_credits} {?content.fields.image_credits}
- {Strings.s.single.image_credits|s} - {content.fields.image_credits|s} + {Strings.s.single.image_credits|html} + {content.fields.image_credits|html}
{/content.fields.image_credits}
@@ -24,7 +24,10 @@ {?content.categories}
{#content.categories} - {name|s} + + {Strings.s.single.article_type|html} + {name|html} + {/content.categories}
{/content.categories} @@ -32,7 +35,7 @@ {?content.tags}
{#content.tags} - {name|s} + {name|html} {/content.tags}
{/content.tags}