diff -Nru spyder-5.4.2+ds/debian/changelog spyder-5.4.2+ds/debian/changelog --- spyder-5.4.2+ds/debian/changelog 2023-02-22 10:39:48.000000000 +0000 +++ spyder-5.4.2+ds/debian/changelog 2023-02-23 10:59:49.000000000 +0000 @@ -1,3 +1,10 @@ +spyder (5.4.2+ds-5) unstable; urgency=medium + + * Fix translation-loading patch (see discussion at + https://github.com/spyder-ide/spyder/pull/20582) + + -- Julian Gilbey Thu, 23 Feb 2023 10:59:49 +0000 + spyder (5.4.2+ds-4) unstable; urgency=medium * Force pip to install boilerplate package during autopkgtest run diff -Nru spyder-5.4.2+ds/debian/patches/make-translations-singleton.patch spyder-5.4.2+ds/debian/patches/make-translations-singleton.patch --- spyder-5.4.2+ds/debian/patches/make-translations-singleton.patch 2023-02-22 10:39:48.000000000 +0000 +++ spyder-5.4.2+ds/debian/patches/make-translations-singleton.patch 2023-02-23 10:59:49.000000000 +0000 @@ -51,7 +51,7 @@ """ -from spyder.config.base import get_translation -+from spyder.config.base import _ ++from spyder.config.base import get_translation, _ --- a/spyder/api/widgets/main_widget.py +++ b/spyder/api/widgets/main_widget.py @@ -26,7 +26,7 @@