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 721097 - Include colon in translatable string instead of concatenating
Include colon in translatable string instead of concatenating
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: interface
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-26 19:00 UTC by helion331990
Modified: 2014-08-17 10:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for Bug 720197 (813 bytes, patch)
2014-05-28 09:47 UTC, Amulya Kumar Sahoo
committed Details | Review

Description helion331990 2013-12-26 19:00:12 UTC
Hello,

In Ubuntu 13.10, the Ubuntu Software Center version is 3.5.0. 
The string " Example Path " should include the " : " so in French we could add the unbreakable space after the last letter as we have to. So the string to translate should be " Example Path: "

Thank you for your work
Comment 1 André Klapper 2013-12-26 20:43:46 UTC
Easy to fix in https://git.gnome.org/browse/sound-juicer/tree/src/sj-prefs.c#n306 by moving the colon one line higher (Note that this would break any string freezes though):

  format = g_strconcat ("<small><i><b>",
                        _("Example Path"),
                        ":</b> ",
                        example,
                        ".",
                        rb_gst_media_type_to_extension (media_type),
                        "</i></small>", NULL);
Comment 2 Christophe Fergeau 2014-01-06 10:22:43 UTC
sound-juicer is not really following gnome release schedule, so I'd tend to say it's not impacted by the freezes. Could you push what you suggest André?
Comment 3 Amulya Kumar Sahoo 2014-05-28 09:47:48 UTC
Created attachment 277371 [details] [review]
Patch for Bug 720197

I am new to open source. I had tried to read the code and created a patch. I don't know if its correct or not. If not, please help me over this.
Comment 4 Bastien Nocera 2014-05-28 09:51:14 UTC
Review of attachment 277371 [details] [review]:

The patch looks mostly fine, but your commit message needs to:
- explain what problems this fixes (in the first line, the "Subject" line
- explain how you did it (in the body of the commit message)
- link to the bug report (put the full URL at the bottom of the commit message)

Good first contribution! :)

::: src/sj-prefs.c
@@ +310,3 @@
   format = g_strconcat ("<small><i><b>",
+                        _("Example Path: "),
+						"</b>",

Indentation is broken now.
Comment 5 Phillip Wood 2014-05-29 10:37:32 UTC
> Indentation is broken now.

Please make sure you indent your code with spaces rather than tabs to avoid this.
Comment 6 Phillip Wood 2014-08-17 10:02:26 UTC
I've fixed this patch and pushed it for ready for the next release.

Attachment 277371 [details] edited and pushed as a83066d - Include colon in translatable string