Changes between Version 2 and Version 3 of Ticket #1071, comment 10
- Timestamp:
- 10/23/12 16:28:16 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1071, comment 10
v2 v3 2 2 * Split strings are awful for i18n. Maybe we can try something like this? 3 3 {{{ 4 ${_("There are {0} talks in the event. <a class="uncapable">Some of them ({1})</a> 5 are not in a room capable of recording and thus cannot be recorded while 6 <a class="capable">the remaining ({2})</a> are going to be recorded.").format(/* .. */)} 7 }}} 8 [...] 9 {{{ 4 10 #!js 5 format(6 $T('There are {0} talks in the event. <a class="uncapable">Some of them ({1})</a> ' +7 'are not in a room capable of recording and thus cannot be recorded while ' +8 '<a class="capable">the remaining ({2})</a> are going to be recorded.'),9 [/* ... */]);10 11 // [...]12 13 11 $('.warning .uncapable').click( /* ... */); 14 12 }}}