i18n: use dummy localizations to avoid dependencies
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 14:42:35 +0000 (16:42 +0200)
committerZygmunt Krynicki <me@zygoon.pl>
Thu, 28 Feb 2019 17:21:26 +0000 (17:21 +0000)
commit6031ac72a7ee991788c7499df3b411f67eb3b62f
tree4c54b92139906544a2c95101d194ba2b5c2afcf3
parent470c59f311977080a3459c911eed92c14a0e3df9
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