summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorAndreas Widen <andreas@harmonicflow.org>2023-11-25 17:21:37 +0100
committerAndreas Widen <andreas@harmonicflow.org>2023-11-25 17:21:37 +0100
commit1b2b7c3eb939724696894f31ff27db97b0cac84c (patch)
treeefb7b7746a628efb7bb99b2e44c9c2fbfd75b656 /po
downloadhf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.tar.xz
hf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.zip
Initial commit.
Signed-off-by: Andreas Widen <andreas@harmonicflow.org>
Diffstat (limited to 'po')
-rw-r--r--po/LINGUAS3
-rw-r--r--po/POTFILES22
-rw-r--r--po/ietf-tags.scm26
3 files changed, 51 insertions, 0 deletions
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..d4dd759
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1,3 @@
+# Translation with sexp-xgettext requires the full LL_CC locale name
+# to be specified.
+en_US
diff --git a/po/POTFILES b/po/POTFILES
new file mode 100644
index 0000000..82df595
--- /dev/null
+++ b/po/POTFILES
@@ -0,0 +1,22 @@
+# high-priority files that should come first in the PO file
+apps/base/utils.scm
+apps/base/templates/home.scm
+apps/base/templates/theme.scm
+apps/base/templates/components.scm
+apps/base/templates/about.scm
+apps/base/data.scm
+# other files
+apps/base/templates/contact.scm
+apps/base/templates/menu.scm
+apps/base/templates/hfge-about.scm
+apps/base/templates/hfge-download.scm
+apps/base/templates/hfge-git.scm
+apps/blog/templates/components.scm
+apps/blog/templates/feed.scm
+apps/blog/templates/post-list.scm
+apps/blog/templates/post.scm
+apps/blog/templates/tag.scm
+apps/media/data.scm
+apps/media/templates/components.scm
+apps/media/templates/screenshot.scm
+apps/media/templates/screenshots-overview.scm \ No newline at end of file
diff --git a/po/ietf-tags.scm b/po/ietf-tags.scm
new file mode 100644
index 0000000..bb92b65
--- /dev/null
+++ b/po/ietf-tags.scm
@@ -0,0 +1,26 @@
+;;; This file contains an association list for each translation from
+;;; the locale to an IETF language tag to be used in the URL path of
+;;; translated pages. The language tag results from the translation
+;;; team’s language code from
+;;; <https://translationproject.org/team/index.html>. The underscore
+;;; in the team’s code is replaced by a hyphen. For example, az would
+;;; be used for the Azerbaijani language (not az-Latn) and zh-CN would
+;;; be used for mainland Chinese (not zh-Hans-CN).
+(("en_US" . "en")
+ ("cs_CZ" . "cs")
+ ("de_DE" . "de")
+ ("eo" . "eo")
+ ("es_ES" . "es")
+ ("fa_IR" . "fa")
+ ("fr_FR" . "fr")
+ ("ja_JP" . "ja")
+ ("ko_KR" . "ko")
+ ("lt_LT" . "lt")
+ ("nb_NO" . "nb-NO")
+ ("pt_BR" . "pt-BR")
+ ("ru_RU" . "ru")
+ ("sk_SK" . "sk")
+ ("tr_TR" . "tr")
+ ("uk_UA" . "uk")
+ ("zh_CN" . "zh-CN")
+ ("zh_TW" . "zh-TW"))