From ff6c248d1a144def8c0e9d7acb6903fc450ce07d Mon Sep 17 00:00:00 2001 From: Kevin Matsubara Date: Wed, 14 Jan 2026 21:05:48 +0100 Subject: [PATCH] Translate "Posted on" strings. --- portfolio/site.hs | 3 +++ portfolio/templates/equipment.html | 9 +++++++++ portfolio/templates/event.html | 6 ++---- portfolio/templates/model-kit.html | 4 ++-- portfolio/templates/post.html | 6 ++---- portfolio/templates/radio.html | 3 ++- 6 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 portfolio/templates/equipment.html diff --git a/portfolio/site.hs b/portfolio/site.hs index bab7f5b..dd24d62 100644 --- a/portfolio/site.hs +++ b/portfolio/site.hs @@ -498,6 +498,7 @@ langDict "nl" = constField "title-plamo" "Plamo" <> constField "title-radio" "Radio" <> constField "title-software" "Software" <> + constField "posted-on" "Geplaatst op:" <> constField "text-plamo-not-ready" "Deze model-kit heeft nog geen gepubliceerd werk." <> constField "text-plamo-back" "Terug naar plamo kits" <> constField "text-radio-back" "Terug naar radio overzicht" <> @@ -522,6 +523,7 @@ langDict "jp" = constField "title-plamo" "プラモ" <> constField "title-radio" "ラジオ" <> constField "title-software" "ソフトウェア" <> + constField "posted-on" "投稿日:" <> constField "text-plamo-not-ready" "この模型キットには、まだ制作例が公開されていません。" <> constField "text-plamo-back" "プラモデルキットに戻る" <> constField "text-radio-back" "ラジオに戻る" <> @@ -546,6 +548,7 @@ langDict "en" = constField "title-plamo" "Plamo" <> constField "title-radio" "Radio" <> constField "title-software" "Software" <> + constField "posted-on" "Posted on:" <> constField "text-plamo-not-ready" "This model kit has no work published for it yet." <> constField "text-plamo-back" "Back to plamo kits" <> constField "text-radio-back" "Back to radio overview" <> diff --git a/portfolio/templates/equipment.html b/portfolio/templates/equipment.html new file mode 100644 index 0000000..d2eab6b --- /dev/null +++ b/portfolio/templates/equipment.html @@ -0,0 +1,9 @@ +
+
+ $posted-on$ $formatted_date$ +
+
+
+ $body$ +
+
diff --git a/portfolio/templates/event.html b/portfolio/templates/event.html index 3f7c31b..d2eab6b 100644 --- a/portfolio/templates/event.html +++ b/portfolio/templates/event.html @@ -1,9 +1,7 @@
- Posted on $formatted_date$ - $if(author)$ - by $author$ - $endif$ + $posted-on$ $formatted_date$ +
$body$ diff --git a/portfolio/templates/model-kit.html b/portfolio/templates/model-kit.html index cd018ae..68d8585 100644 --- a/portfolio/templates/model-kit.html +++ b/portfolio/templates/model-kit.html @@ -1,10 +1,10 @@
$text-plamo-back$
- Posted on: $formatted_date$ + $posted-on$ $formatted_date$ +
-

$table-plamo-model-info$

$if(model_name)$ diff --git a/portfolio/templates/post.html b/portfolio/templates/post.html index 3f7c31b..d2eab6b 100644 --- a/portfolio/templates/post.html +++ b/portfolio/templates/post.html @@ -1,9 +1,7 @@
- Posted on $formatted_date$ - $if(author)$ - by $author$ - $endif$ + $posted-on$ $formatted_date$ +
$body$ diff --git a/portfolio/templates/radio.html b/portfolio/templates/radio.html index e07e245..59c64c4 100644 --- a/portfolio/templates/radio.html +++ b/portfolio/templates/radio.html @@ -1,7 +1,8 @@
$text-radio-back$
- Posted on $formatted_date$ + $posted-on$ $formatted_date$ +
$body$