----- Original Message -----

> From: D. Michael McIntyre <[email protected]>
> 
> While working on a translation update, I came across the following:
> 
>     if (segments.size() == 1)
>         text = tr("Turn Linked Segment into Real Copies");
>     else
>         text = tr("Turn Linked Segments into Real Copies");
> 

Ah yes, I did wonder about that when I put that in. I used the existing code in 
the "turn repeats into copies" command as boilerplate code without much extra 
thought I'm afraid, so the same fault exists in that command too.

Another fault with both repeats-to-copies and links-to-copies is that the 
segment selection may comprise any collection of segments, be they ordinary 
segments, copies, links or any mixture, so even if 10 segments are selected and 
none of them are links or copies, the options to convert to copies are still 
enabled, and the value of segments.size() will still return 10. I'll try to 
tidy all that up (that won't affect the strings though).

Thanks for the tip about the (s) method for translatable strings, will endevour 
to use it in future where appropriate.

Cheers,

Ian.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to