Merge pull request #1462 from pafcu/translation-fixes
Use standard subsitution syntax in _tJsx
This commit is contained in:
commit
f32ba0b54c
18 changed files with 20 additions and 19 deletions
|
@ -70,9 +70,9 @@ module.exports = React.createClass({
|
|||
// it sucks that _tJsx doesn't support normal _t substitutions :((
|
||||
return (
|
||||
<div className="mx_RoomAvatarEvent">
|
||||
{ _tJsx('$senderDisplayName changed the room avatar to <img/>',
|
||||
{ _tJsx('%(senderDisplayName)s changed the room avatar to <img/>',
|
||||
[
|
||||
/\$senderDisplayName/,
|
||||
/%\(senderDisplayName\)s/,
|
||||
/<img\/>/,
|
||||
],
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue