[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)
committerAlex Murray <alex.murray@canonical.com>
Mon, 28 Nov 2022 10:37:00 +0000 (10:37 +0000)
commitdffe09fcbb924e0f9c946cb4c9395d83a58049b0
treeff14b03b92fd804abe052abfb5008f850586d0f1
parenteb44976ba991b6aa80bebd6e1fcae08c445bd3b6
[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