Support localizing discord link

link to http://chat.teeworlds.cn/ for Simplified Chinese

Maintained by TsFreddie, KaiHei is a Chinese Discord clone
This commit is contained in:
def 2021-03-05 17:08:54 +01:00
parent 9b847d0862
commit 9e009e280d
33 changed files with 194 additions and 2 deletions

View file

@ -1275,3 +1275,9 @@ Regular Background Color
DDNet %s is available:
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1186,6 +1186,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1237,6 +1237,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
https://wiki.ddnet.tw/
==

View file

@ -1294,3 +1294,9 @@ Entities Background color
Regular Background Color
== Cor de fundo comum
Discord
==
https://ddnet.tw/discord
==

View file

@ -1186,6 +1186,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1248,6 +1248,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
https://wiki.ddnet.tw/
==

View file

@ -1282,3 +1282,9 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1280,3 +1280,9 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1260,6 +1260,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
https://wiki.ddnet.tw/
==

View file

@ -1187,6 +1187,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1305,3 +1305,9 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1294,3 +1294,9 @@ Entities Background color
Regular Background Color
== Normale Hintergrundfarbe
Discord
==
https://ddnet.tw/discord
==

View file

@ -1279,5 +1279,11 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==
https://wiki.ddnet.tw/
==

View file

@ -1314,5 +1314,11 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==
FPM
==

View file

@ -1186,6 +1186,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1185,6 +1185,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1177,6 +1177,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1281,3 +1281,9 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1060,6 +1060,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1282,3 +1282,9 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1202,6 +1202,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1192,6 +1192,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1285,3 +1285,9 @@ Entities Background color
Regular Background Color
== Станд. фоновый цвет
Discord
==
https://ddnet.tw/discord
==

View file

@ -1190,6 +1190,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
https://wiki.ddnet.tw/
==

View file

@ -1279,3 +1279,9 @@ Use current map as background
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1256,6 +1256,12 @@ Particles
Assets directory
== 材质目录
https://ddnet.tw/discord
== http://chat.teeworlds.cn/
Discord
== 开黑啦
The width of texture %s is not divisible by %d, or the height is not divisible by %d, which might cause visual bugs.
==

View file

@ -1186,6 +1186,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
Learn
==

View file

@ -1286,3 +1286,9 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1282,3 +1282,9 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1285,3 +1285,9 @@ Entities Background color
Regular Background Color
==
Discord
==
https://ddnet.tw/discord
==

View file

@ -1260,6 +1260,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
https://wiki.ddnet.tw/
==

View file

@ -1255,6 +1255,12 @@ Particles
Assets directory
==
Discord
==
https://ddnet.tw/discord
==
https://wiki.ddnet.tw/
==

View file

@ -37,9 +37,9 @@ void CMenus::RenderStartMenu(CUIRect MainView)
ExtMenu.HSplitBottom(20.0f, &ExtMenu, &Button);
static int s_DiscordButton;
if(DoButton_Menu(&s_DiscordButton, "Discord", 0, &Button, 0, CUI::CORNER_ALL, 5.0f, 0.0f, vec4(0.0f, 0.0f, 0.0f, 0.5f), vec4(0.0f, 0.0f, 0.0f, 0.25f)))
if(DoButton_Menu(&s_DiscordButton, Localize("Discord"), 0, &Button, 0, CUI::CORNER_ALL, 5.0f, 0.0f, vec4(0.0f, 0.0f, 0.0f, 0.5f), vec4(0.0f, 0.0f, 0.0f, 0.25f)))
{
if(!open_link("https://ddnet.tw/discord"))
if(!open_link(Localize("https://ddnet.tw/discord")))
{
dbg_msg("menus", "couldn't open link");
}