[Bug 1767549] Re: org.gnome.Characters.desktop untranslated

Gunnar Hjalmarsson 1767549 at bugs.launchpad.net
Mon Apr 30 19:11:04 UTC 2018


** Description changed:

+ [Impact]
+ 
+ The version of dh_translations, which was present when gnome-characters
+ was last uploaded, resulted in a .desktop file with the wrong gettext
+ domain, so the name of the application in e.g. the Activities overview
+ is always shown in English.
+ 
+ Meson support has been added to dh_translations since, so a no-change
+ rebuild is sufficient to fix the issue.
+ 
+ [Test Case]
+ 
+ On a system with some other language but English:
+ 
+ * Install the gnome-characters .deb package
+ 
+ -> find that its name is "Characters".
+ 
+ * Install the rebuilt version of gnome-characters
+ 
+ * Relogin
+ 
+ -> find that its name is the translation of "Characters"
+ 
+ [Regression Potential]
+ 
+ None.
+ 
+ [Original description]
+ 
  $ tail -n1 /usr/share/applications/org.gnome.Characters.desktop
  X-Ubuntu-Gettext-Domain=$PACKAGE_NAME
  
  dh_translations is confused by files in the source package belonging to
  the old build system. configure.ac contains this line:
  
  GETTEXT_PACKAGE=$PACKAGE_NAME
  
  and dh_translations happily uses it to do its things.
  
  The gnome-characters source package should apparently be cleaned up, but
  I think that dh_translations should also be changed to not accept a
  domain starting with '$'.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767549

Title:
  org.gnome.Characters.desktop untranslated

Status in gnome-characters package in Ubuntu:
  In Progress
Status in pkgbinarymangler package in Ubuntu:
  New
Status in gnome-characters source package in Bionic:
  In Progress
Status in pkgbinarymangler source package in Bionic:
  New

Bug description:
  [Impact]

  The version of dh_translations, which was present when gnome-
  characters was last uploaded, resulted in a .desktop file with the
  wrong gettext domain, so the name of the application in e.g. the
  Activities overview is always shown in English.

  Meson support has been added to dh_translations since, so a no-change
  rebuild is sufficient to fix the issue.

  [Test Case]

  On a system with some other language but English:

  * Install the gnome-characters .deb package

  -> find that its name is "Characters".

  * Install the rebuilt version of gnome-characters

  * Relogin

  -> find that its name is the translation of "Characters"

  [Regression Potential]

  None.

  [Original description]

  $ tail -n1 /usr/share/applications/org.gnome.Characters.desktop
  X-Ubuntu-Gettext-Domain=$PACKAGE_NAME

  dh_translations is confused by files in the source package belonging
  to the old build system. configure.ac contains this line:

  GETTEXT_PACKAGE=$PACKAGE_NAME

  and dh_translations happily uses it to do its things.

  The gnome-characters source package should apparently be cleaned up,
  but I think that dh_translations should also be changed to not accept
  a domain starting with '$'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-characters/+bug/1767549/+subscriptions



More information about the Ubuntu-sponsors mailing list