From f4d7091c19fb187ab23eae5656117758a9091f05 Mon Sep 17 00:00:00 2001 From: daudix Date: Sun, 27 Oct 2024 04:14:13 +0300 Subject: [PATCH] Translate more_matches string --- i18n/ar.toml | 1 + i18n/en.toml | 3 ++- i18n/es.toml | 1 + i18n/fa.toml | 1 + i18n/ms.toml | 1 + i18n/ru.toml | 1 + i18n/zh-Hans.toml | 1 + static/comments.js | 2 +- 8 files changed, 9 insertions(+), 2 deletions(-) diff --git a/i18n/ar.toml b/i18n/ar.toml index ca87791..5d5a9ff 100644 --- a/i18n/ar.toml +++ b/i18n/ar.toml @@ -47,6 +47,7 @@ load_comments = "تحميل التعليقات" loading = "التحميل" many_minutes_read = "$NUMBER دقائق القراءة" minutes_read = "$NUMBER دقائق القراءة" +more_matches = "$MATCHES المزيد من التطابق" next = "التالي" no_comments = "لا توجد تعليقات حتى الآن :/" note = "ملاحظة" diff --git a/i18n/en.toml b/i18n/en.toml index cfc8494..e6083d8 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -29,7 +29,7 @@ comments = "Comments" comments_description = "You can comment on this blog post by publicly replying to this post using a Mastodon or other ActivityPub/Fediverse account. Known non-private replies are displayed below." comments_noscript = "Loading comments relies on JavaScript. Try enabling JavaScript and reloading, or visit the original post on Mastodon." comments_qr = "QR code to a Mastodon post" -copy_code = "Copy code" +copy_code = "Copy Code" disclaimer = "Disclaimer" drafted = "Drafted" faves_from = "Favorites from $INSTANCE" @@ -49,6 +49,7 @@ many_minutes_read = "$NUMBER minutes read" many_posts = "$NUMBER posts in total" many_tags = "$NUMBER tags in total" minutes_read = "$NUMBER minute read" +more_matches = "$MATCHES more matches" next = "Next" no_comments = "No Comments yet :/" note = "Note" diff --git a/i18n/es.toml b/i18n/es.toml index 9033337..d7fcdc7 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -49,6 +49,7 @@ many_minutes_read = "$NUMBER minutos leídos" many_posts = "$NUMBER publicaciones en total" many_tags = "$NUMBER etiquetas en total" minutes_read = "$NUMBER minuto leído" +more_matches = "$MATCHES más coincidencias" next = "Siguiente" no_comments = "Sin comentarios aún :/" note = "Nota" diff --git a/i18n/fa.toml b/i18n/fa.toml index 199671c..f8cb0ca 100644 --- a/i18n/fa.toml +++ b/i18n/fa.toml @@ -49,6 +49,7 @@ many_minutes_read = "زمان مطالعه $NUMBER دقیقه" many_posts = "$NUMBER مطلب در کل" many_tags = "$NUMBER برچسب در کل" minutes_read = "زمان مطالعه $NUMBER دقیقه" +more_matches = "$MATCHES مسابقات بیشتر" next = "بعدی" no_comments = "هنوز نظری نیست :/" note = "یادداشت" diff --git a/i18n/ms.toml b/i18n/ms.toml index a4134d9..ae7b5f4 100644 --- a/i18n/ms.toml +++ b/i18n/ms.toml @@ -49,6 +49,7 @@ many_minutes_read = "$NUMBER minit membaca" many_posts = "$NUMBER siaran kesemuanya" many_tags = "$NUMBER tag kesemuanya" minutes_read = "$NUMBER minit membaca" +more_matches = "$MATCHES lagi perlawanan" next = "Seterusnya" no_comments = "Tiada komen lagi :/" note = "Nota" diff --git a/i18n/ru.toml b/i18n/ru.toml index 35a4a8f..c35f826 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -56,6 +56,7 @@ many_minutes_read = "$NUMBER минуты чтения" many_posts = "Всего $NUMBER постов" many_tags = "Всего $NUMBER тегов" minutes_read = "$NUMBER минута чтения" +more_matches = "$MATCHES больше совпадений" next = "Следующий" no_comments = "Комментариев пока нет :/" note = "Заметьте" diff --git a/i18n/zh-Hans.toml b/i18n/zh-Hans.toml index 69bcfaf..33c40b9 100644 --- a/i18n/zh-Hans.toml +++ b/i18n/zh-Hans.toml @@ -50,6 +50,7 @@ many_minutes_read = "阅读需要 $NUMBER 分钟" many_posts = "共有 $NUMBER 篇文章" many_tags = "共有 $NUMBER 个标签" minutes_read = "阅读需要 $NUMBER 分钟" +more_matches = "$MATCHES 更多匹配" next = "下一篇" no_comments = "目前没有评论 :/" note = "注意" diff --git a/static/comments.js b/static/comments.js index 5491d2c..8c78d61 100644 --- a/static/comments.js +++ b/static/comments.js @@ -1,5 +1,5 @@ // Taken from https://carlschwan.eu/2020/12/29/adding-comments-to-your-static-blog-with-mastodon/ -// Attachment code taken from https://github.com/cassidyjames/cassidyjames.github.io/blob/99782788a7e3ba3cc52d6803010873abd1b02b9e/_includes/comments.html#L251-L296 +// Attachment, card, and spoiler code taken from https://github.com/cassidyjames/cassidyjames.github.io/blob/99782788a7e3ba3cc52d6803010873abd1b02b9e/_includes/comments.html#L251-L296 let blogPostAuthorText = document.getElementById("blog-post-author-text").textContent; let boostsFromText = document.getElementById("boosts-from-text").textContent;