[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>
Fri, 10 Jul 2020 18:06:29 +0000 (19:06 +0100)
commit53942717772a3e0660b21b77ca5957872016205b
treea05a9c4910a44f0bfb4336e9196592a8686de6d1
parent37a10a3da0db42006467470c6dcdf2377dd68bcf
[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