[Bug 1901741] Re: debconf-updatepo fails to setup translations due to crash.c, livepatch.c and livepatch-tray.c

Balint Reczey 1901741 at bugs.launchpad.net
Thu Nov 12 15:32:26 UTC 2020


** Changed in: update-notifier (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1901741

Title:
  debconf-updatepo fails to setup translations due to crash.c,
  livepatch.c and livepatch-tray.c

Status in update-notifier package in Ubuntu:
  Incomplete

Bug description:
  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 at uptown:/tmp/update-notifier$ debconf-updatepo 
  csmith at uptown:/tmp/update-notifier$ echo $?
  0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1901741/+subscriptions



More information about the foundations-bugs mailing list