Translation template for ibus is missing some strings

Bug #1764161 reported by AsciiWolf
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Medium
Gunnar Hjalmarsson
ibus (Ubuntu)
Fix Released
High
Unassigned

Bug Description

There are some strings missing in the translation template for ibus, at least in my (Czech) language. For example these strings:

#: ../setup/setup.ui.h:50
msgid "Emoji choice:"
msgstr "Výběr emoji:"

#: ../setup/setup.ui.h:51
msgid "Set a font of emoji candidates on the emoji dialog"
msgstr "Nastavit písmo kandidátů emoji v dialogu emoji"

#: ../setup/setup.ui.h:52
msgid "Emoji font:"
msgstr "Font emoji:"

#: ../setup/setup.ui.h:53
msgid "Set a language of emoji annotations on the emoji dialog"
msgstr "Nastavit jazyk anotací emoji v dialogu emoji"

#: ../setup/setup.ui.h:54
msgid "Emoji annotation language:"
msgstr "Jazyk anotací emoji:"

They are fully translated upstream, but are missing on Launchpad and are untranslated in Ubuntu 18.04 (see the attached screenshot).

But there are more strings missing.

Tags: bionic l10n patch
Revision history for this message
AsciiWolf (asciiwolf) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report!

Right, the LP template was almost three years old. I created and uploaded a new template for now. That ought to help a bit. But it resulted in 64 untranslated strings, which indicates that the upstream PO files were created with an old template.

3 days before deadline. Some translators will hate me...

Looking at the build log, dh_translations isn't mentioned and - consequently - the latest translation tarball is without a POT file.

@Sebastien: What determines whether dh_translations should be run when building?

Changed in ubuntu-translations:
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I noticed that dh-translations is not in Build-Depends, so I added cdbs to Build-Depends to pull it and uploaded to PPA, but the dh_translations program was still not run according to the build log.

Revision history for this message
AsciiWolf (asciiwolf) wrote :

Should I add the missing Czech translated strings manually?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Not sure. Possibly a no-change rebuild would make a difference now when an up-to-date template is in. But for that we need a developer who has time to do it by tomorrow. You may want to wait another day before doing it manually.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Or, even better, a real upload which fixes the issue also going forward. :) Sebastien let me know on IRC what's needed, so I wrote a patch.

Changed in ibus (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Medium
status: New → In Progress
tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

The use of dh-translations was removed without explanation in that upload
http://launchpadlibrarian.net/227995812/ibus_1.5.10-1ubuntu1_1.5.11-1ubuntu1.diff.gz

I just did an upload adding the build-depends and rules translations use

Changed in ibus (Ubuntu):
importance: Medium → High
status: In Progress → Fix Committed
Changed in ibus (Ubuntu):
assignee: Gunnar Hjalmarsson (gunnarhj) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus - 1.5.17-3ubuntu4

---------------
ibus (1.5.17-3ubuntu4) bionic; urgency=medium

  * debian/control, debian/rules:
     - restore use of dh_translations which was removed in 1.5.11-1ubuntu1
       without explanation (lp: #1764161)

 -- Sebastien Bacher <email address hidden> Tue, 17 Apr 2018 19:43:24 +0200

Changed in ibus (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

The missing upstream translations seem to have been successfully imported to LP through that upload.

Changed in ubuntu-translations:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.