[Patch] Dynamic Playlists: Change Text on "On"-Togglebutton to "Off" if deactivated

Andreas Mützel andreas.muetzel at gmx.net
Mon Aug 25 18:16:26 UTC 2008


> Well, I had to look it up, but in i18nc( "State, as in disabled", "Off" )
> the translation for the string "Off" will be found by using the 
corresponding
> text of the first parameter, "State, as in disabled". So simply using
> i18n( "Off" ) results in a different string from the translators point of 
view.
> So the patch as it is would break string freeze. But I guess using
> i18nc( "State, as in disabled", "Off" ) here should be fine, too.
> 
> 
http://techbase.kde.org/Development/Tutorials/Localization/i18n#Adding_Context_with_i18nc.28.29

Thanks for the explanation, I didn't really know how the translations work in 
amarok/kde. 

> Can you create a patch with that change? Thanks. :)
No problem, see attachment :-)

Cu
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynamic_on_off.patch
Type: text/x-diff
Size: 1303 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/amarok/attachments/20080825/3d779eee/attachment.bin>


More information about the Amarok mailing list