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 341930 - totem's time display should be localizable
totem's time display should be localizable
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Movie player
1.0.x
Other All
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks: Persian
 
 
Reported: 2006-05-16 02:21 UTC by Roozbeh Pournader
Modified: 2006-05-17 14:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch against head to fix the problem, only tested on 1.0.4 (1.36 KB, patch)
2006-05-16 02:22 UTC, Roozbeh Pournader
none Details | Review

Description Roozbeh Pournader 2006-05-16 02:21:20 UTC
totem's time display on the main windows uses the formats "%d:%02d:%02d" and "%d:%02d" which may need localization in the following cases:
1) If the locale uses something other than a colon for separating time parts.
2) If the locale uses localized digits (like Persian)

Bug still exists in HEAD. Will attach a patch.

FarsiWeb's internal reference:
farsiweb #217, totem-persiandigits.patch, reported and fixed by Roozbeh Pournader
Comment 1 Roozbeh Pournader 2006-05-16 02:22:36 UTC
Created attachment 65566 [details] [review]
Patch against head to fix the problem, only tested on 1.0.4
Comment 2 Bastien Nocera 2006-05-17 14:49:36 UTC
Fixed in HEAD, thanks.

2006-05-17  Bastien Nocera  <hadess@hadess.net>

        * src/backend/video-utils.c: (totem_time_to_string): make the
        time labels localisable, patch from Roozbeh Pournader
        <roozbeh@farsiweb.info> (Closes: #341930)