[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 <michael.vogt@ubuntu.com>
Mon, 6 Apr 2020 06:27:11 +0000 (07:27 +0100)
commitec298d1235ece16bf3547a125805028c5fd03fc7
tree014d6754f2e5c40dce5d4de7986b0b16dd6e0d85
parent4d7fc0f1c35f4749f72bd6df6b6d40da4fcfbef0
[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>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch
i18n/i18n.go
i18n/i18n_test.go