[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)
committerZygmunt Krynicki <me@zygoon.pl>
Fri, 19 Jul 2024 05:15:23 +0000 (07:15 +0200)
commit75802c0314901780e04290cbd70f36a738bf299c
tree4d54d023a1ac91d5ea8c5c8c8e9a506e8c739910
parent9a74175f9a898f3e759a30c7ffbe78f66168cc0b
[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>
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Gbp-Pq: Name 0007-i18n-use-dummy-localizations-to-avoid-dependencies.patch
i18n/i18n.go
i18n/i18n_test.go