about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2023-07-30 15:21:51 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2023-07-30 15:21:51 +0700
commit57f699a24e0b9663ea83060f9a722a38f9af1792 (patch)
tree101fe4b6a9e90867f231ecaba0abc5344f698f25
parentc0d56103096a0e12fb06bc9d286329c135f8cdea (diff)
downloadlivres-libres-57f699a24e0b9663ea83060f9a722a38f9af1792.tar.gz
Translate footer
-rw-r--r--i18n/en.toml5
-rw-r--r--i18n/fr.toml6
-rw-r--r--i18n/vi.toml6
-rw-r--r--layouts/partials/footer-extra.html8
4 files changed, 19 insertions, 6 deletions
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 <a href='https://xrvs.net'b>xarvos</a>. It uses <a href='https://readable-css.freedomtowrite.org/'>readable.css</a> by <a href='https://freedomtowrite.org/'>Freedom to Write</a> 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 <a href='https://xrvs.net'b>xarvos</a>. Il utilise <a href='https://readable-css.freedomtowrite.org/'>readable.css</a> par le projet <a href='https://freedomtowrite.org/'>Freedom to Write</a>, 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 <a href='https://xrvs.net'b>xarvos</a>. Trang có sử dụng <a href='https://readable-css.freedomtowrite.org/'>readable.css</a> được viết bởi dự án <a href='https://freedomtowrite.org/'>Freedom to Write</a>, 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 @@
 <p>
-	This website is made by <a href="https://xrvs.net">xarvos</a>.
-	It uses <a href="https://readable-css.freedomtowrite.org/">readable.css</a>
-	by <a href="https://freedomtowrite.org/">Freedom to Write</a> project,
-	which is under a 0BSD license.
+	{{ i18n "author-info" | safeHTML }}
 </p>
 <p>
-	The content of this website comprises of various public domain works
-	according to Vietnam's Intellectual Property Law.
+	{{ i18n "is-public-domain" }}
 </p>