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 618500 - Strings containing hyphens/dashes aren't translated
Strings containing hyphens/dashes aren't translated
Status: RESOLVED FIXED
Product: hamster-applet
Classification: Deprecated
Component: general
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: hamster-applet-maint
hamster-applet-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-13 03:26 UTC by Jean-Philippe Fleury
Modified: 2010-06-05 19:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Strings not translated (59.23 KB, image/png)
2010-05-13 14:34 UTC, Jean-Philippe Fleury
Details

Description Jean-Philippe Fleury 2010-05-13 03:26:55 UTC
I don't know how to name the symbol "—" (hyphens/dashes/minus symbol), but strings containing this symbol don't seem to be translated. I'll give examples:

1.1) In the source, go to the file "hamster-applet/src/hamster/about.py" to the line 42. We have a string that can be translated:

    _("Project Hamster — track your time")

See the symbol "—" in the string.

1.2) Now, go to the file "hamster-applet/po/fr.po" to the line 120:

    #: ../data/Hamster_Applet.server.in.in.h:1 ../src/hamster/about.py:42
    msgid "Project Hamster — track your time"
    msgstr "Projet Hamster — Gérez votre emploi du temps"

The string is translated in the "po" file, but not in my French interface.

2.1) Go to the file "hamster-applet/src/hamster/stats.py" to the line 176:

    _("Collecting data — check back after a week has passed!")

2.2) Now, go to the file "hamster-applet/po/fr.po" to the line 699:

    #: ../src/hamster/stats.py:179
    msgid "Collecting data — check back after a week has passed!"
    msgstr "La collecte des données est en cours — revenez dans une semaine !"

I have the English string in my French interface.

3.1) Go to the file "hamster-applet/data/overview.ui" to the line 7:

    <property name="title" translatable="yes">Overview — Hamster</property>

3.2) Now, go to the file "hamster-applet/po/fr.po" to the line 120:

    #: ../data/overview.ui.h:4
    msgid "Overview - Hamster"
    msgstr "Résumé - Hamster"

In my French interface, it's in English. Also, I don't know why, but note that in the "msgid" string, the hyphen is not as long as the hyphen in the file "hamster-applet/data/overview.ui".

4.1) Go to the file "hamster-applet/src/hamster/widgets/reportchooserdialog.py" to the line 38:

    _("Save Report — Time Tracker")

4.2) Now, go to the file "hamster-applet/po/fr.po" to the line 817:

    #: ../src/hamster/widgets/reportchooserdialog.py:38
    msgid "Save report - Time Tracker"
    msgstr "Enregistrer le rapport - Gestionnaire de temps"

In my interface, it's in English. Note that it seems that the "msgid" string is not up-to-date. The "msgid" string has a lowercase "r" in "report", but in "reportchooserdialog.py" it's uppercase. Note also that in the "msgid" string, the hyphen is not as long as the hyphen in "reportchooserdialog.py".
Comment 1 Jean-Philippe Fleury 2010-05-13 14:34:44 UTC
Created attachment 160971 [details]
Strings not translated

See the blue dots in the attached screen shot.
Comment 2 Toms Bauģis 2010-06-05 19:36:58 UTC
thanks! fix pushed to git master and 2-30