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 771348 - Space separation for articles does not work in localizations
Space separation for articles does not work in localizations
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2016-09-13 10:10 UTC by GunChleoc
Modified: 2016-10-04 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
query: Use vertical bar instead of space as separator (1.70 KB, patch)
2016-09-15 06:55 UTC, Marinus Schraal
none Details | Review
query: Use vertical bar instead of space as I18N separator (1.71 KB, patch)
2016-09-15 06:55 UTC, Marinus Schraal
committed Details | Review

Description GunChleoc 2016-09-13 10:10:42 UTC
I have difficulty translating the following string:

> the a an

The translators' comment is:

> TRANSLATORS: _("the") should be a space-separated list of all-lowercase articles
(such as 'the') that should be ignored when alphabetizing artists/albums. This
list should include 'the' regardless of language. If some articles occur more
frequently than others, most common should appear first, least common last.

I have 2 forms of the article that I cannot enter here, because they contain a space. They are:

> na h-
> an t-

Can we use a character as a separator that doesn't normally occur in natural language writing, e.g. |, /, @?
Comment 1 Marinus Schraal 2016-09-13 12:05:06 UTC
Ah interesting. Yeah, I think we should be able to do something along those lines.
Comment 2 Marinus Schraal 2016-09-15 06:55:02 UTC
Created attachment 335605 [details] [review]
query: Use vertical bar instead of space as separator

Some languages use space in as part of articles used in band names, so
using it as a separator is a bad idea. Use a vertical bar (|) instead.
Comment 3 Marinus Schraal 2016-09-15 06:55:58 UTC
Created attachment 335606 [details] [review]
query: Use vertical bar instead of space as I18N separator

Some languages use space as part of articles used in band names, so
using it as a separator is a bad idea. Use a vertical bar (|) instead.
Comment 4 Marinus Schraal 2016-09-15 06:58:47 UTC
Well, this should do it. I'm hesitant to add it before the 3.22 release, because it would invalidate all translations. But should be ok for next cycle.
Comment 5 GunChleoc 2016-09-15 07:24:36 UTC
Yes, next cycle is fine.
Comment 6 Marinus Schraal 2016-10-04 12:40:16 UTC
This is in master now for 3.24. Thanks for reporting the issue.

This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
Comment 7 GunChleoc 2016-10-04 14:37:27 UTC
Thanks for fixing :)