From 76876bd5a95c3ce1ff6ccf3f633a6cce6fa4e5b2 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 29 Sep 2018 01:20:17 +0100 Subject: i18n: Source-level framework: call setlocale, provide __ and ___ This is the general plumbing for looking up translated messages - the consumer-side. No actual messages are flagged for translation yet. Signed-off-by: Ian Jackson --- debian/control | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index 5bc2a65..e9afddc 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,7 @@ Vcs-Browser: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/dgit.git/ Package: dgit Depends: perl, libwww-perl, libdpkg-perl, git-core, devscripts, dpkg-dev, ${misc:Depends}, git-buildpackage, liblist-moreutils-perl, + liblocale-gettext-perl, coreutils (>= 8.23-1~), libdigest-sha-perl, dput, curl, apt, libjson-perl, ca-certificates, @@ -28,6 +29,7 @@ Description: git interoperability with the Debian archive Package: git-debrebase Depends: perl, git-core, libdpkg-perl, libfile-fnmatch-perl, devscripts, + liblocale-gettext-perl, ${misc:Depends} Recommends: dgit, git-buildpackage Architecture: all @@ -38,7 +40,8 @@ Description: rebasing git workflow tool for Debian packaging Package: dgit-infrastructure Depends: ${misc:Depends}, perl, git-core, gpgv, chiark-utils-bin, libjson-perl, libdigest-sha-perl, libdbd-sqlite3-perl, sqlite3, - libwww-perl, libdpkg-perl + libwww-perl, libdpkg-perl, + liblocale-gettext-perl Recommends: dgit Architecture: all Priority: extra -- cgit v1.2.3 From fcdb956e300aba37722f9c57512c4c0afb2e285f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 4 Oct 2018 02:01:23 +0100 Subject: i18n, packaging: Add missing build-dependency on xgettext Signed-off-by: Ian Jackson --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index e9afddc..498c318 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: devel Priority: optional Maintainer: Ian Jackson Standards-Version: 3.9.4.0 -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 9), gettext Testsuite: autopkgtest Vcs-Git: git://git.chiark.greenend.org.uk/~ianmdlvl/dgit.git Vcs-Browser: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/dgit.git/ -- cgit v1.2.3 From 73ecf6019fa28d7464af55cb023600f5c389623e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 3 Oct 2018 23:58:06 +0100 Subject: i18n: po4a: debian/rules: Install translated documents XXX I have tested this by creating a git-debrebase_5.en_US.po containing one translation, forcing -k0 (in list-documents), uncommenting the two .install file entries, installing the resulting package, and asking for Signed-off-by: Ian Jackson --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index 498c318..62a4a11 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: devel Priority: optional Maintainer: Ian Jackson Standards-Version: 3.9.4.0 -Build-Depends: debhelper (>= 9), gettext +Build-Depends: debhelper (>= 9), gettext, po4a Testsuite: autopkgtest Vcs-Git: git://git.chiark.greenend.org.uk/~ianmdlvl/dgit.git Vcs-Browser: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git/dgit.git/ -- cgit v1.2.3