mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
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:
parent
9b847d0862
commit
9e009e280d
|
@ -1275,3 +1275,9 @@ Regular Background Color
|
|||
|
||||
DDNet %s is available:
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1186,6 +1186,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1237,6 +1237,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
https://wiki.ddnet.tw/
|
||||
==
|
||||
|
||||
|
|
|
@ -1294,3 +1294,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
== Cor de fundo comum
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1186,6 +1186,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1248,6 +1248,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
https://wiki.ddnet.tw/
|
||||
==
|
||||
|
||||
|
|
|
@ -1282,3 +1282,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1280,3 +1280,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1260,6 +1260,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
https://wiki.ddnet.tw/
|
||||
==
|
||||
|
||||
|
|
|
@ -1187,6 +1187,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1305,3 +1305,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1294,3 +1294,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
== Normale Hintergrundfarbe
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1279,5 +1279,11 @@ Entities Background color
|
|||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
https://wiki.ddnet.tw/
|
||||
==
|
||||
|
|
|
@ -1314,5 +1314,11 @@ Entities Background color
|
|||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
FPM
|
||||
==
|
||||
|
|
|
@ -1186,6 +1186,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1185,6 +1185,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1177,6 +1177,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1281,3 +1281,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1060,6 +1060,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1282,3 +1282,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1202,6 +1202,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1192,6 +1192,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1285,3 +1285,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
== Станд. фоновый цвет
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1190,6 +1190,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
https://wiki.ddnet.tw/
|
||||
==
|
||||
|
||||
|
|
|
@ -1279,3 +1279,9 @@ Use current map as background
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -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.
|
||||
==
|
||||
|
||||
|
|
|
@ -1186,6 +1186,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
Learn
|
||||
==
|
||||
|
||||
|
|
|
@ -1286,3 +1286,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1282,3 +1282,9 @@ Particles
|
|||
|
||||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1285,3 +1285,9 @@ Entities Background color
|
|||
|
||||
Regular Background Color
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
|
|
@ -1260,6 +1260,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
https://wiki.ddnet.tw/
|
||||
==
|
||||
|
||||
|
|
|
@ -1255,6 +1255,12 @@ Particles
|
|||
Assets directory
|
||||
==
|
||||
|
||||
Discord
|
||||
==
|
||||
|
||||
https://ddnet.tw/discord
|
||||
==
|
||||
|
||||
https://wiki.ddnet.tw/
|
||||
==
|
||||
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue