From c188720e176be030cf46099c2301f80daaad687a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 9 Jun 2021 18:25:44 +0200 Subject: Basic internationalisation stuff --- po/LINGUAS | 0 po/POTFILES | 1 + po/meson.build | 8 ++++++++ po/starlet.pot | 30 ++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 po/LINGUAS create mode 100644 po/POTFILES create mode 100644 po/meson.build create mode 100644 po/starlet.pot diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..e69de29 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 , 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 \n" +"Language-Team: LANGUAGE \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 "" -- cgit v1.2.3