Escape <>, fixes #29
This commit is contained in:
parent
f14bb9547f
commit
5b0c3df4d3
7 changed files with 51 additions and 49 deletions
|
@ -119,6 +119,8 @@ MessageInsertion.prototype.toString = function insertionToString() {
|
|||
function enhanceMessageText(formattedText) {
|
||||
|
||||
var messageText = formattedText.text;
|
||||
messageText = messageText.replace("<", "<");
|
||||
messageText = messageText.replace(">", ">");
|
||||
var messageInsertions = [];
|
||||
|
||||
for (var i = 0; i < formattedText.entities.length; i++) {
|
||||
|
|
|
@ -129,14 +129,6 @@
|
|||
<source>%1 members</source>
|
||||
<translation>%1 Mitglieder</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1T</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 subscribers</source>
|
||||
<translation>%1 Abonnenten</translation>
|
||||
|
@ -511,5 +503,13 @@
|
|||
<source>left this chat</source>
|
||||
<translation>hat diesen Chat verlassen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1T</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
|
@ -129,14 +129,6 @@
|
|||
<source>%1 members</source>
|
||||
<translation>%1 miembros</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1K</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 subscribers</source>
|
||||
<translation>%1 suscriptores</translation>
|
||||
|
@ -511,5 +503,13 @@
|
|||
<source>left this chat</source>
|
||||
<translation>dejó esta charla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1K</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
|
@ -129,14 +129,6 @@
|
|||
<source>%1 members</source>
|
||||
<translation>%1 tag</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1K</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 subscribers</source>
|
||||
<translation>%1 feliratkozott</translation>
|
||||
|
@ -511,5 +503,13 @@
|
|||
<source>left this chat</source>
|
||||
<translation>kilépett a csevegésből</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1K</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
|
@ -129,14 +129,6 @@
|
|||
<source>%1 members</source>
|
||||
<translation>%1 czlonków</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1K</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 subscribers</source>
|
||||
<translation>%1 subskrybentów</translation>
|
||||
|
@ -511,5 +503,13 @@
|
|||
<source>left this chat</source>
|
||||
<translation>opuścił ten czat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1K</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
</message>
|
||||
<message>
|
||||
<source>This project uses twemoji. Copyright 2018 Twitter, Inc. and other contributors. Thanks for making it available under the conditions of the MIT License (coding) and CC-BY 4.0 (graphics)!</source>
|
||||
<translation><该项目使用 twemoji 2018 Twitter, Inc. 版权所有。感谢使它在 MIT 许可证(编码)及 CC-BY 4.0(图像)许可证下可用。</translation>
|
||||
<translation>该项目使用 twemoji 2018 Twitter, Inc. 版权所有。感谢使它在 MIT 许可证(编码)及 CC-BY 4.0(图像)许可证下可用。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open twemoji on GitHub</source>
|
||||
|
@ -129,14 +129,6 @@
|
|||
<source>%1 members</source>
|
||||
<translation>%1 位成员</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1T</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 subscribers</source>
|
||||
<translation>%1 订阅者</translation>
|
||||
|
@ -511,5 +503,13 @@
|
|||
<source>left this chat</source>
|
||||
<translation>离开此对话</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation>%1M</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation>%1T</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
|
@ -129,14 +129,6 @@
|
|||
<source>%1 members</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1 subscribers</source>
|
||||
<translation type="unfinished"></translation>
|
||||
|
@ -511,5 +503,13 @@
|
|||
<source>left this chat</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1M</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>%1K</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
Loading…
Reference in a new issue