i18n: use dummy localizations to avoid dependencies
authorZygmunt Krynicki <me@zygoon.pl>
Thu, 17 Jan 2019 14:42:35 +0000 (16:42 +0200)
committerMichael Hudson-Doyle <mwhudson@debian.org>
Thu, 7 Feb 2019 08:26:34 +0000 (08:26 +0000)
commit23ef8effad40ab766d22098c3427cbf76b3571e5
treec70fa2c8adc79e3e8a929e4bb151c8b6cf3abe99
parent8acb30e9c843fbb575177f3062aea91727a8cd34
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