i18n powered by [matrix] sanely
This commit is contained in:
parent
cabbd16dd3
commit
da69d03b1d
|
@ -122,7 +122,7 @@
|
||||||
<a href="https://riot.im"><img src="home/images/logo.svg" class="mx_HomePage_logo"></a>
|
<a href="https://riot.im"><img src="home/images/logo.svg" class="mx_HomePage_logo"></a>
|
||||||
<div>
|
<div>
|
||||||
<h1>_t("Welcome to Riot.im")</h1>
|
<h1>_t("Welcome to Riot.im")</h1>
|
||||||
<h2>_t("Decentralised, encrypted chat & collaboration powered by") <a href="https://matrix.org"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="home/images/matrix.svg"/></a></h2>
|
<h2>_t("Decentralised, encrypted chat & collaboration powered by [matrix]")</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mx_HomePage_col mx_HomePage_toprow">
|
<div class="mx_HomePage_col mx_HomePage_toprow">
|
||||||
|
|
|
@ -48,7 +48,8 @@ module.exports = React.createClass({
|
||||||
translate: function(s) {
|
translate: function(s) {
|
||||||
s = sanitizeHtml(_t(s));
|
s = sanitizeHtml(_t(s));
|
||||||
// ugly fix for https://github.com/vector-im/riot-web/issues/4243
|
// ugly fix for https://github.com/vector-im/riot-web/issues/4243
|
||||||
s = s.replace(/Riot\.im/, '<a href="https://riot.im">Riot.im</a>');
|
s = s.replace(/Riot\.im/, '<a href="https://riot.im target="_blank">Riot.im</a>');
|
||||||
|
s = s.replace(/\[matrix\]/, '<a href="https://matrix.org" target="_blank"><img width="79" height="34" alt="[matrix]" style="padding-left: 1px;vertical-align: middle" src="home/images/matrix.svg"/></a>');
|
||||||
return s;
|
return s;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,7 @@
|
||||||
"OK": "OK",
|
"OK": "OK",
|
||||||
"Login": "Anmeldung",
|
"Login": "Anmeldung",
|
||||||
"Welcome to Riot.im": "Willkommen bei Riot.im",
|
"Welcome to Riot.im": "Willkommen bei Riot.im",
|
||||||
"Decentralised, encrypted chat & collaboration powered by": "Dezentralisierter, verschlüsselter Chat & Zusammenarbeit unterstützt von",
|
"Decentralised, encrypted chat & collaboration powered by [matrix]": "Dezentralisierter, verschlüsselter Chat & Zusammenarbeit unterstützt von [matrix]",
|
||||||
"Search the room directory": "Durchsuche Raum-Verzeichnis",
|
"Search the room directory": "Durchsuche Raum-Verzeichnis",
|
||||||
"Chat with Riot Bot": "Chatte mit dem Riot-Bot",
|
"Chat with Riot Bot": "Chatte mit dem Riot-Bot",
|
||||||
"Get started with some tips from Riot Bot!": "Beginne mit einigen Tipps vom Riot-Bot!",
|
"Get started with some tips from Riot Bot!": "Beginne mit einigen Tipps vom Riot-Bot!",
|
||||||
|
|
|
@ -163,7 +163,7 @@
|
||||||
"Welcome page": "Welcome page",
|
"Welcome page": "Welcome page",
|
||||||
"With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!": "With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!",
|
"With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!": "With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!",
|
||||||
"Welcome to Riot.im": "Welcome to Riot.im",
|
"Welcome to Riot.im": "Welcome to Riot.im",
|
||||||
"Decentralised, encrypted chat & collaboration powered by": "Decentralised, encrypted chat & collaboration powered by",
|
"Decentralised, encrypted chat & collaboration powered by [matrix]": "Decentralised, encrypted chat & collaboration powered by [matrix]",
|
||||||
"Search the room directory": "Search the room directory",
|
"Search the room directory": "Search the room directory",
|
||||||
"Chat with Riot Bot": "Chat with Riot Bot",
|
"Chat with Riot Bot": "Chat with Riot Bot",
|
||||||
"Get started with some tips from Riot Bot!": "Get started with some tips from Riot Bot!",
|
"Get started with some tips from Riot Bot!": "Get started with some tips from Riot Bot!",
|
||||||
|
|
|
@ -170,7 +170,7 @@
|
||||||
"With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!": "Еали ваш браузер не корректно отображает информацию и все или некоторые фукции отключены, вы можете и дальше этим браузеом пользоваться но но ваши проблемы останутся с вами!",
|
"With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!": "Еали ваш браузер не корректно отображает информацию и все или некоторые фукции отключены, вы можете и дальше этим браузеом пользоваться но но ваши проблемы останутся с вами!",
|
||||||
"Login": "Войти",
|
"Login": "Войти",
|
||||||
"Welcome to Riot.im": "Добро пожаловать на Riot.im",
|
"Welcome to Riot.im": "Добро пожаловать на Riot.im",
|
||||||
"Decentralised, encrypted chat & collaboration powered by": "Децентрализованное, шифрованное общение и сотрудничество на основе",
|
"Decentralised, encrypted chat & collaboration powered by [matrix]": "Децентрализованное, шифрованное общение и сотрудничество на основе [matrix]",
|
||||||
"Search the room directory": "Поиск по директории комнат",
|
"Search the room directory": "Поиск по директории комнат",
|
||||||
"Chat with Riot Bot": "Пообщаться с Riot Bot"
|
"Chat with Riot Bot": "Пообщаться с Riot Bot"
|
||||||
}
|
}
|
||||||
|
|
|
@ -195,5 +195,5 @@
|
||||||
"This will allow you to return to your account after signing out, and sign in on other devices.": "เพื่อคุณจะได้กลับมายังบัญชีเดิมของคุณได้ หลังจากออกจากระบบ แล้วกลับเข้าสู่ระบบในอุปกรณ์อื่น ๆ",
|
"This will allow you to return to your account after signing out, and sign in on other devices.": "เพื่อคุณจะได้กลับมายังบัญชีเดิมของคุณได้ หลังจากออกจากระบบ แล้วกลับเข้าสู่ระบบในอุปกรณ์อื่น ๆ",
|
||||||
"Design and implementation of E2E in Matrix": "การออกแบบและใช้งาน E2E ใน Matrix",
|
"Design and implementation of E2E in Matrix": "การออกแบบและใช้งาน E2E ใน Matrix",
|
||||||
"Discussion of the Identity Service API": "พูดคุยเกี่ยวกับ Identity Service API",
|
"Discussion of the Identity Service API": "พูดคุยเกี่ยวกับ Identity Service API",
|
||||||
"Decentralised, encrypted chat & collaboration powered by": "แชทและประสานงานบนระบบที่ทั้งเข้ารหัสได้และกระจายศูนย์กลาง โดยใช้เทคโนโลยีจาก"
|
"Decentralised, encrypted chat & collaboration powered by [matrix]": "แชทและประสานงานบนระบบที่ทั้งเข้ารหัสได้และกระจายศูนย์กลาง โดยใช้เทคโนโลยีจาก [matrix]"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue