After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663480 - The title of the window ("Document Viewer") is not translated
The title of the window ("Document Viewer") is not translated
Status: RESOLVED DUPLICATE of bug 631612
Product: evince
Classification: Core
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-05 23:45 UTC by thibault.drevet
Modified: 2011-12-07 13:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the bug (19.54 KB, image/png)
2011-11-05 23:45 UTC, thibault.drevet
Details

Description thibault.drevet 2011-11-05 23:45:42 UTC
Created attachment 200800 [details]
screenshot of the bug

Distribution : Ubuntu Oneiric 11.10 (french)
Evince 3.2.1

1. Open evince ("superkey > evince" in Ubuntu - do not open evince with a .pdf)
2. The title of the window "Document Viewer" is not translated (in french it should be "Visionneur de documents")
Comment 1 André Klapper 2011-11-07 11:30:57 UTC
http://l10n.gnome.org/POT/evince.gnome-3-2/evince.gnome-3-2.fr.po includes
#. Manually set name and icon
#: ../data/evince.desktop.in.in.h:1 ../shell/ev-window.c:4810
#: ../shell/ev-window-title.c:157 ../shell/main.c:310
#, c-format
msgid "Document Viewer"
msgstr "Visionneur de documents"

and grep'ing the code base provides:

$:andre\> grep -r "\"Document Viewer\"" .
./shell/ev-window-title.c:	title = g_strdup (_("Document Viewer"));
./shell/ev-window.c:		_("Document Viewer"));
./shell/main.c:	g_set_application_name (_("Document Viewer"));
$:andre\> grep -r "_Name=Document Viewer" .
./data/evince.desktop.in:_Name=Document Viewer
./data/evince.desktop.in.in:_Name=Document Viewer

which is exactly the same list that also gets picked up in the .po translation file (except for the desktop.in file that is also correct).

Please file your Ubuntu bugs in Ubuntu's bugtracker and not in GNOME Bugzilla.
Comment 2 thibault.drevet 2011-11-14 18:11:03 UTC
Reported here : https://bugs.launchpad.net/evince/+bug/656033
Comment 3 Sebastien Bacher 2011-12-07 13:31:39 UTC
Hum, Andre if you look at the screenshot the string is correctly translated (see the unity panel which shows the correct title), it seems evince doesn't set the title for the wm correctly rather
Comment 4 Sebastien Bacher 2011-12-07 13:33:42 UTC
Ok, it was a real upstream bug, see bug #631612 and http://git.gnome.org/browse/evince/commit/?id=8041cc524a55a9f0943b382212daefb88f7bdb9b
Comment 5 Sebastien Bacher 2011-12-07 13:33:48 UTC

*** This bug has been marked as a duplicate of bug 631612 ***