diff --git a/blog/config.toml b/blog/config.toml index 2fe016b4..39b4f507 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -35,15 +35,65 @@ author = { name = "Philipp Oppermann" } [translations.en] lang_name = "English" +toc = "Table Of Contents" +all_posts = "« All Posts" +comments = "Comments" +comments_notice = "Please leave your comments in English if possible." +readmore = "read more »" +not_translated = "(This post is not translated yet.)" +translated_content = "Translated Content:" +translated_content_notice = "This is a community translation of the _original.title_ post. It might be incomplete, outdated or contain errors. Please report any issues!" +translated_by = "Translation By" +word_separator = "and" [translations.zh-CN] lang_name = "Chinese (simplified)" +toc = "Table Of Contents" +all_posts = "« All Posts" +comments = "Comments" +comments_notice = "Please leave your comments in English if possible." +readmore = "read more »" +not_translated = "(This post is not translated yet.)" +translated_content = "Translated Content:" +translated_content_notice = "This is a community translation of the _original.title_ post. It might be incomplete, outdated or contain errors. Please report any issues!" +translated_by = "Translation By" +word_separator = "and" [translations.zh-TW] lang_name = "Chinese (traditional)" +toc = "Table Of Contents" +all_posts = "« All Posts" +comments = "Comments" +comments_notice = "Please leave your comments in English if possible." +readmore = "read more »" +not_translated = "(This post is not translated yet.)" +translated_content = "Translated Content:" +translated_content_notice = "This is a community translation of the _original.title_ post. It might be incomplete, outdated or contain errors. Please report any issues!" +translated_by = "Translation By" +word_separator = "and" [translations.ja] lang_name = "Japanese" +toc = "Table Of Contents" +all_posts = "« All Posts" +comments = "Comments" +comments_notice = "Please leave your comments in English if possible." +readmore = "read more »" +not_translated = "(This post is not translated yet.)" +translated_content = "Translated Content:" +translated_content_notice = "This is a community translation of the _original.title_ post. It might be incomplete, outdated or contain errors. Please report any issues!" +translated_by = "Translation By" +word_separator = "and" [translations.fa] lang_name = "Persian" +toc = "فهرست مطالب" +all_posts = "« همه پستها" +comments = "نظرات" +comments_notice = "لطفا نظرات خود را در صورت امکان به انگلیسی بنویسید." +readmore = "ادامهمطلب»" +not_translated = "(این پست هنوز ترجمه نشده است.)" +translated_content = "محتوای ترجمه شده:" +translated_content_notice = "این یک ترجمه از جامعه کاربران برای پست _original.title_ است. ممکن است ناقص ، منسوخ شده یا دارای خطا باشد. لطفا هر گونه مشکل را گزارش دهید!" +translated_by = "ترجمه توسط" +word_separator = "و" diff --git a/blog/content/_index.fa.md b/blog/content/_index.fa.md index 493e0c96..5e1e57b1 100644 --- a/blog/content/_index.fa.md +++ b/blog/content/_index.fa.md @@ -2,12 +2,12 @@ template = "edition-2/index.html" +++ -
- Translated Content: - This is a community translation of the {{ original.title }} post. It might be incomplete, outdated or contain errors. Please report any issues! + {{ trans(key="translated_content", lang=lang) }} + {{ trans(key="translated_content_notice", lang=lang) | + replace(from="_original.permalink_", to=original.permalink) | + replace(from="_original.title_", to=original.title) | safe }}
{%- if page.extra.translators %}- Translation by {% for user in page.extra.translators -%} + {{ trans(key="translated_by", lang=lang) }} {% for user in page.extra.translators -%} {%- if not loop.first -%} - {%- if loop.last %}, and {% else %}, {% endif -%} + {%- if loop.last %} {{ trans(key="word_separator", lang=lang) }} {% else %}, {% endif -%} {%- endif -%} @{{user}} {%- endfor %}. @@ -70,11 +73,11 @@
I'm a Rust freelancer with a master's degree in computer science. I love systems programming, open source software, and new challenges.
- If you want to work with me, reach out on LinkedIn or write me at job@phil-opp.com. + If you want to work with me, reach out on LinkedIn or write me at job@phil-opp.com.