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, 24 Jan 2019 03:11:17 +0000 (03:11 +0000)
commit87048efc731da2e3ea8b1d96463c6401e1e9f057
tree4a36bc115feb12a4305a0ee57266a52758612675
parent3c8721fb5688f0d72d600873fc3c3413d191cbfa
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