From 57f699a24e0b9663ea83060f9a722a38f9af1792 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Sun, 30 Jul 2023 15:21:51 +0700 Subject: Translate footer --- i18n/en.toml | 5 +++++ i18n/fr.toml | 6 ++++++ i18n/vi.toml | 6 ++++++ layouts/partials/footer-extra.html | 8 ++------ 4 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 i18n/en.toml create mode 100644 i18n/fr.toml create mode 100644 i18n/vi.toml diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..48e7855 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,5 @@ +[author-info] +other = "This website is made by xarvos. It uses readable.css by Freedom to Write project, which is under a 0BSD license." + +[is-public-domain] +other = "The content of this website comprises of various public domain works according to Vietnam's Intellectual Property Law." diff --git a/i18n/fr.toml b/i18n/fr.toml new file mode 100644 index 0000000..4b83699 --- /dev/null +++ b/i18n/fr.toml @@ -0,0 +1,6 @@ +[author-info] +other = "Ce site web est écrit par xarvos. Il utilise readable.css par le projet Freedom to Write, qui est mis à disposition selon les termes de la licence 0BSD." + +[is-public-domain] +other = "Ce site web utilise des œuvres en domaine publique selon la loi de la propriété intellectuelle du Vietnam." + diff --git a/i18n/vi.toml b/i18n/vi.toml new file mode 100644 index 0000000..bf07b30 --- /dev/null +++ b/i18n/vi.toml @@ -0,0 +1,6 @@ +[author-info] +other = "Trang web này được viết bởi xarvos. Trang có sử dụng readable.css được viết bởi dự án Freedom to Write, sử dụng giấy phép 0BSD." + +[is-public-domain] +other = "Trang web có sử dụng các tác phẩm thuộc sở hữu công chúng theo Luật Sở hữu Trí tuệ Việt Nam." + diff --git a/layouts/partials/footer-extra.html b/layouts/partials/footer-extra.html index 5e9e63b..8a8ea6d 100644 --- a/layouts/partials/footer-extra.html +++ b/layouts/partials/footer-extra.html @@ -1,10 +1,6 @@

- This website is made by xarvos. - It uses readable.css - by Freedom to Write project, - which is under a 0BSD license. + {{ i18n "author-info" | safeHTML }}

- The content of this website comprises of various public domain works - according to Vietnam's Intellectual Property Law. + {{ i18n "is-public-domain" }}

-- cgit 1.4.1