[PATCH 7/9] i18n: use dummy localizations to avoid dependencies
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 14:42:35 +0000 (16:42 +0200)
committerMichael Vogt <mvo@debian.org>
Wed, 23 Feb 2022 09:04:21 +0000 (09:04 +0000)
commite68877bb469e8b45604dd213b28fcc181c6f61bb
tree04f497ab2e7fe03a6beffe8bac1b12015afb387d
parentb330b219ed39a6e51a722301b5f1c2e961fa9a9f
[PATCH 7/9] i18n: use dummy localizations to avoid dependencies

Upstream snapd uses the github.com/ojii/gettext.go package for access to
translation catalogs. This package is currently not available in Debian
and prevents building the package. As such, replace the real
implementation with a simple dummy one that always uses the English
input strings.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch
i18n/i18n.go
i18n/i18n_test.go