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 <michael.vogt@ubuntu.com>
Wed, 30 Oct 2019 12:17:43 +0000 (12:17 +0000)
commitab938b5658fe8f2c501204bf4ace1a5add5c0678
treea3cc2f3877ce427c1f41ee492482233dc67598fa
parenta91d90c58c85296663b713b3eb7d9c3d336f1398
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>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch
i18n/i18n.go
i18n/i18n_test.go