Strings missing from the apport template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Low
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt | ||
python-distutils-extra (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
Binary package hint: apport
There are a few strings in gtk/apport-gtk and in kde/apport-kde, that marked for translation, but are not in the template.
In particular, in apport-gtk, we have:
def ui_present_
# adapt dialog heading and label appropriately
if desktop_entry:
heading = _('Sorry, %s closed unexpectedly') % desktop_
elif self.report.
heading = _('Sorry, the program "%s" closed unexpectedly') % os.path.
else:
heading = _('Sorry, %s closed unexpectedly') % self.cur_package
apport-kde has this:
def ui_present_
# adapt dialog heading and label appropriately
if desktop_entry:
name = desktop_
heading = _('Sorry, %s closed unexpectedly') % name
elif self.report.
name = os.path.
heading = _('Sorry, the program "%s" closed unexpectedly.') % name
else:
name = self.cur_package
heading = _('Sorry, %s closed unexpectedly.') % name
The strings should show up here:
https:/
I guess
Changed in ubuntu-translations: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in apport (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in ubuntu-translations: | |
status: | Triaged → Fix Released |
It seems that none of the strings from gtk/apport-gtk are extracted.
apport uses python- distutils- extra, so the file should have been processed and the strings extracted without the need for a POTFILES.in.
I've tried generating the template locally with './setup.py build_i18n', but it seems to present the same problem: strings from gtk/apport-gtk are not extracted