Evince missing translation for "save current settings as default"

Bug #659051 reported by micred
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Low
Unassigned
evince (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: evince

Description: Ubuntu 10.10
Release: 10.10

evince:
  Installato: 2.32.0-0ubuntu1
  Candidato: 2.32.0-0ubuntu1

"Save current settings as default" menu entry is not translated to Italian.

Changed in evince (Ubuntu):
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

looks translated on the po file

#: ../shell/ev-window.c:5457
msgid "Save Current Settings as _Default"
msgstr "Salva impostazioni attuali come _predefinite"

Revision history for this message
Milo Casagrande (milo) wrote :

Pedro, did you look at the upstream translation?
Upstream the string is there, but not in Launchpad. If I take the evince.mo file and "unformat" it, the string is not in there.
Is it possible that we have a not updated pot file in Launchpad?

Changed in ubuntu-translations:
status: New → Confirmed
Revision history for this message
Gabor Kelemen (kelemeng) wrote :
Changed in ubuntu-translations:
status: Confirmed → Triaged
Changed in evince (Ubuntu):
status: New → Confirmed
Robert Roth (evfool)
Changed in ubuntu-translations:
importance: Undecided → Low
Revision history for this message
David Planella (dpm) wrote :

Is this bug still present?

We should investigate why this happened (is the package not generating a .pot file perhaps?), but one thing we can do in the meantime is to manually upload the upstream POT template and with a bit of luck the strings will be shipped in next week's Maverick language pack update.

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

David: still present, Evince in Natty still contains 333 strings.
It is also interesting that the rules file includes gnome.mk, so in theory, it should build the pot file.

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Okay, I just imported the upstream pot from Gnome 2.32, looks good: 371 translated strings for Hungarian :).

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

There is something strange in the build log:

https://launchpad.net/ubuntu/+source/evince/2.32.0-0ubuntu11/+buildjob/2310346

if [ -d /build/buildd/evince-2.32.0/debian/build/evince/po ]; then \
     if grep -q intltool /build/buildd/evince-2.32.0/debian/build/evince/po/Makefile*; then \
  if [ -x /usr/bin/intltool-update ]; then \
      cd /build/buildd/evince-2.32.0/debian/build/evince/po; /usr/bin/intltool-update -p --verbose || true; \
  elif [ -x /build/buildd/evince-2.32.0/debian/build/evince/intltool-update ]; then \
      cd /build/buildd/evince-2.32.0/debian/build/evince/po; env XGETTEXT=/usr/bin/xgettext ../intltool-update -p --verbose || true; \
  else \
      echo 'langpack.mk: po/Makefile* mentions intltool, but intltool-update is not available'; \
      exit 1; \
  fi; \
     elif [ -e /build/buildd/evince-2.32.0/debian/build/evince/po/Makefile ]; then \
         DOMAIN=$(grep --max-count 1 '^GETTEXT_PACKAGE[[:space:]]*=' /build/buildd/evince-2.32.0/debian/build/evince/po/Makefile | sed 's/^.*=[[:space:]]\([^[:space:]]\)/\1/'); \
         if [ "$DOMAIN" ]; then \
             echo "langpack.mk: Generating $DOMAIN.pot..."; \
             make -C /build/buildd/evince-2.32.0/debian/build/evince/po "$DOMAIN.pot" || true; \
         fi; \
     fi; \
 fi
Unsuccessful open on filename containing newline at /usr/bin/intltool-update line 1117.
intltool-update: POTFILES.in not found.

If I build evince 2.32 locally on Natty, I get the same error, but running intltool-update -p manually gives no error.

Revision history for this message
Sebastien Bacher (seb128) wrote :

 evince (2.32.0-0ubuntu12) natty; urgency=low

   * debian/rules: update the translation template in the correct directory

Changed in evince (Ubuntu):
status: Confirmed → Fix Released
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: Triaged → Fix Released
Revision history for this message
Bruno (bruno666-666) wrote :

This bug is still present in the latest language packs for natty (only 333 strings in .po file, src package : language-pack-gnome-fr-base-11.04+20110407)
A French user also report it in 10.10 with the latest language packs.
We hope this will be fixed in the next updates.

Revision history for this message
Gabor Kelemen (kelemeng) wrote :

Strange, but I see this too on Natty, with the mentioned language pack. The header of the file look like this:

"POT-Creation-Date: 2010-04-30 13:24+0000\n"
"PO-Revision-Date: 2011-01-03 00:51+0000\n"
"Last-Translator: Michael Terry <email address hidden>\n"
"Language-Team: Hungarian <gnome at fsf dot hu>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Launchpad-Export-Date: 2011-03-07 23:13+0000\n"
"X-Generator: Launchpad (build 12532)\n"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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