summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/weechat')
-rw-r--r--net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch20
-rw-r--r--net-irc/weechat/weechat-3.8.ebuild1
2 files changed, 21 insertions, 0 deletions
diff --git a/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch b/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch
new file mode 100644
index 000000000000..339b3ebe2d26
--- /dev/null
+++ b/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/908976
+
+From 7c811ad118d073c23038e61ee68ecdc07d5b563a Mon Sep 17 00:00:00 2001
+From: blockiv <blockiv@tuta.io>
+Date: Thu, 22 Jun 2023 05:26:02 +0000
+Subject: [PATCH] Mark breaking translation as fuzzy
+
+--- a/po/cs.po
++++ b/po/cs.po
+@@ -142,7 +142,7 @@ msgstr "%sChyba: příkaz \"%s\" již existuje pro plugin \"%s\""
+ msgid "%sBad file descriptor (%d) used in hook_fd"
+ msgstr ""
+
+-#, c-format
++#, c-format, fuzzy
+ msgid "End of command '%s', timeout reached (%.1fs)"
+ msgstr "Konec příkazu '%s', vypršel časový limit (%.lfs)"
+
+--
+2.41.0
diff --git a/net-irc/weechat/weechat-3.8.ebuild b/net-irc/weechat/weechat-3.8.ebuild
index 11bbd607533d..ef801944230e 100644
--- a/net-irc/weechat/weechat-3.8.ebuild
+++ b/net-irc/weechat/weechat-3.8.ebuild
@@ -82,6 +82,7 @@ BDEPEND+="
PATCHES=(
"${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch
+ "${FILESDIR}"/${PN}-3.8-workaround-broken-translations.patch
)
DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc"