Public bug reported: Steps to reproduce on Focal system:
$ git clone -b master https://git.launchpad.net/update-notifier Cloning into 'update-notifier'... ... $ debconf-updatepo ERROR: xgettext failed to generate PO template file because there is non-ASCII string marked for translation. Please make sure that all strings marked for translation are in uniform encoding (say UTF-8), then *prepend* the following line to POTFILES.in and rerun intltool-update: [encoding: UTF-8] debconf-updatepo succeeds when applying the following diff: diff --git a/po/POTFILES.in b/po/POTFILES.in index de4ee8a..f5dd85f 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -7,11 +7,8 @@ data/apt_check.py data/apt-cdrom-check data/cddistupgrader -src/crash.c src/cdroms.c src/hooks.c -src/livepatch.c -src/livepatch-tray.c src/update.c src/update-notifier.c [type: gettext/glade]ui/hooks-dialog.ui csmith@uptown:/tmp/update-notifier$ debconf-updatepo csmith@uptown:/tmp/update-notifier$ echo $? 0 ** Affects: update-notifier (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901741 Title: debconf-updatepo fails to setup translations due to crash.c, livepatch.c and livepatch-tray.c To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1901741/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs