aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-06-09 18:25:44 +0200
committerThomas White <taw@physics.org>2021-06-19 19:49:05 +0200
commitc188720e176be030cf46099c2301f80daaad687a (patch)
treec707d69d33daad0f83b59880e5f368d3e08eb4dc
parent602e45a6de90ec9ab4caea2f2bdd2e3ee60edf22 (diff)
Basic internationalisation stuff
-rw-r--r--po/LINGUAS0
-rw-r--r--po/POTFILES1
-rw-r--r--po/meson.build8
-rw-r--r--po/starlet.pot30
4 files changed, 39 insertions, 0 deletions
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/po/LINGUAS
diff --git a/po/POTFILES b/po/POTFILES
new file mode 100644
index 0000000..85fb64a
--- /dev/null
+++ b/po/POTFILES
@@ -0,0 +1 @@
+src/starlet-fixture-display.c
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 0000000..24c7f2e
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,8 @@
+i18n = import('i18n')
+
+add_project_arguments('-DGETTEXT_PACKAGE="starlet"',
+ language : 'c')
+
+i18n.gettext(meson.project_name(),
+ preset : 'glib',
+ args : '--directory='+meson.source_root())
diff --git a/po/starlet.pot b/po/starlet.pot
new file mode 100644
index 0000000..afd8a8c
--- /dev/null
+++ b/po/starlet.pot
@@ -0,0 +1,30 @@
+# Starlet translation file
+# Copyright (C) 2021 Thomas White
+# This file is distributed under the same license as the Starlet package.
+# Thomas White <taw@bitwiz.me.uk>, 20201
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: starlet\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-06-09 18:21+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/starlet-fixture-display.c:231
+#, c-format
+msgid ""
+"Syntax: %s [options]\n"
+"\n"
+msgstr ""
+
+#: src/starlet-fixture-display.c:232
+#, c-format
+msgid "Show fixtures in Starlet -h, --help Display this help message.\n"
+msgstr ""