Give translators more control over toolbar label
Bug #1074115 reported by
Sergey "Shnatsel" Davidoff
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Noise |
Fix Released
|
Low
|
Corentin Noël |
Bug Description
Currently the order in which content items appear in "Songname by Artist on Album" label is hardcoded in Noise. I need "Songname on Album by Artist" to avoid using the [apparently unsupported] declensions for artist names, otherwise the label reads very awkward.
Please give translators more control over the order of the content items in the label.
tags: | added: l10n |
Changed in noise: | |
status: | New → Confirmed |
Changed in noise: | |
importance: | Undecided → Low |
assignee: | nobody → Victor Eduardo (victored) |
milestone: | none → luna-beta1 |
status: | Confirmed → In Progress |
Changed in noise: | |
milestone: | luna-beta1 → luna-beta2 |
Changed in noise: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Okay, we will give you this power. But there is no easy function to do that, I recommend to do a string :
_("(title) by (artist) on (album)")
and use the string.replace ("(title)", title_var); function.
If you are aware of something easiest, fell free to say ;)
(I tried the _(@"$(t.title) by $(t.artist)") function but the string is evaluated at compilation time…)