Translation fixes

- Code didn't work with newlines, get rid of them
- Some stylistic improvements
This commit is contained in:
def 2020-06-26 18:17:20 +02:00
parent 1a87abe96b
commit 2d6e56fec8
37 changed files with 158 additions and 103 deletions

View file

@ -876,7 +876,7 @@ Please use a different name
Use high DPI
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Welcome to DDNet
@ -1195,4 +1195,4 @@ Demo
==
Connect Dummy
==
==

View file

@ -1157,7 +1157,7 @@ Replay feature is disabled!
Friend message
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Converse
@ -1197,4 +1197,4 @@ Manual %3d:%02d
==
Connect Dummy
==
==

View file

@ -609,8 +609,8 @@ FSAA samples
Inner color
== Cor interna
\n\nReconnect in %d sec
== \n\nReconnetar em %d segundos
Reconnect in %d sec
== Reconnetar em %d segundos
Save ghost
== Salvar fantasma
@ -1032,8 +1032,11 @@ Vanilla skins only
Date
== Data
Show DDNet map finishes in server browser\n(transmits your player name to info.ddnet.tw)
== Mostrar finalizações de mapas do DDNet no navegador do servidor\n(transmite seu nome de jogador para info.ddnet.tw)
Show DDNet map finishes in server browser
== Mostrar finalizações de mapas do DDNet no navegador do servidor
transmits your player name to info.ddnet.tw
== transmite seu nome de jogador para info.ddnet.tw
Reload
== Recarregar
@ -1197,4 +1200,5 @@ IncSpeed
==
Connect Dummy
==
==

View file

@ -1035,7 +1035,7 @@ Toggle ghost
Welcome to DDNet
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
DDNet %s is available:
@ -1195,4 +1195,4 @@ Markers
==
Connect Dummy
==
==

View file

@ -674,7 +674,7 @@ Map sound volume
Countries
== Països
\n\nReconnect in %d sec
Reconnect in %d sec
== Reconnectar-se en %d segons
Grabs
@ -1013,8 +1013,11 @@ Vanilla skins only
Date
== Data
Show DDNet map finishes in server browser\n(transmits your player name to info.ddnet.tw)
== Mostrar finalitzacions de mapes en el buscador de servidors\n(retransmet el teu nom de jugar a info.ddnet.tw)
Show DDNet map finishes in server browser
== Mostrar finalitzacions de mapes en el buscador de servidors
transmits your player name to info.ddnet.tw
== retransmet el teu nom de jugar a info.ddnet.tw
Reload
== Recarga
@ -1184,4 +1187,5 @@ Update failed! Check log...
==
Connect Dummy
==
==

View file

@ -1089,7 +1089,7 @@ Refresh Rate
Converse
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Zoom in
@ -1198,4 +1198,4 @@ Enable game sounds
==
Connect Dummy
==
==

View file

@ -1062,7 +1062,7 @@ seconds
Render
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Save
@ -1198,4 +1198,4 @@ Hi o/
==
Connect Dummy
==
==

View file

@ -1098,7 +1098,7 @@ Show quads
%.2f MiB
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
DDNet %s is available:
@ -1198,4 +1198,4 @@ Show only chat messages from friends
==
Connect Dummy
==
==

View file

@ -819,7 +819,7 @@ DDNet %s is available:
Default length: %d
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Spree
@ -1210,4 +1210,4 @@ Markers
==
Connect Dummy
==
==

View file

@ -802,7 +802,7 @@ Spectator
Date
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Please use a different name
@ -1199,4 +1199,4 @@ Use OpenGL 3.3 (experimental)
==
Connect Dummy
==
==

View file

@ -899,7 +899,7 @@ Wait before try for
Follow
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Converse
@ -1206,4 +1206,4 @@ Gameplay
==
Connect Dummy
==
==

View file

@ -675,7 +675,7 @@ Vanilla skins only
Default zoom
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Use OpenGL 3.3 (experimental)
@ -1195,4 +1195,4 @@ Automatically take statboard screenshot
==
Connect Dummy
==
==

View file

@ -647,8 +647,8 @@ Show only chat messages from friends
Countries
== Országok
\n\nReconnect in %d sec
== \\nÚjracsatlakozás %d másodperc múlva
Reconnect in %d sec
== Újracsatlakozás %d másodperc múlva
Grabs
== Megfog
@ -1023,8 +1023,11 @@ Vanilla skins only
Date
== Idő
Show DDNet map finishes in server browser\n(transmits your player name to info.ddnet.tw)
== Mutassa a DDNet befejezett pályákat a keresőben\n(Keress rá a játékosnevedre az info.ddnet.tw oldalon)
Show DDNet map finishes in server browser
== Mutassa a DDNet befejezett pályákat a keresőben
transmits your player name to info.ddnet.tw
== Keress rá a játékosnevedre az info.ddnet.tw oldalon
Reload
== újratöltés
@ -1197,4 +1200,4 @@ Are you sure that you want to disconnect your dummy?
==
Connect Dummy
==
==

View file

@ -119,3 +119,4 @@ turkish
ukrainian
== Українська
== 804

View file

@ -990,7 +990,7 @@ Inner color
\xEE\x85\x8B
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Default zoom
@ -1204,4 +1204,4 @@ DDNet %s is out!
==
Connect Dummy
==
==

View file

@ -1188,11 +1188,11 @@ Replay %3d:%02d
Connecting dummy
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Old mouse mode
==
Connect Dummy
==
==

View file

@ -1088,7 +1088,7 @@ No updates available
Video speed:
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Reload
@ -1194,4 +1194,4 @@ We will win
==
Connect Dummy
==
==

View file

@ -732,7 +732,7 @@ DDNet %s is available:
Select a name
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Show others
@ -1192,4 +1192,4 @@ Threaded sound loading
==
Connect Dummy
==
==

View file

@ -1,2 +1,3 @@
All content is released under CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/).
Information about the authors can be found within the according file.

View file

@ -1104,7 +1104,7 @@ Are you sure that you want to disconnect your dummy?
Render
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Outline color
@ -1195,4 +1195,4 @@ Max CSVs
==
Connect Dummy
==
==

View file

@ -1050,7 +1050,7 @@ Messages
Length
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Date
@ -1381,4 +1381,4 @@ Disconnect Dummy
==
Connect Dummy
==
==

View file

@ -942,7 +942,7 @@ Render
%d new mentions
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Threaded sound loading
@ -1195,4 +1195,4 @@ Render demo
==
Connect Dummy
==
==

View file

@ -855,7 +855,7 @@ DDraceNetwork is a cooperative online game where the goal is for you and your gr
Update failed! Check log...
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Updating...
@ -1204,4 +1204,4 @@ Show votes window after voting
==
Connect Dummy
==
==

View file

@ -1033,7 +1033,7 @@ Replace video
Personal best:
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
\xEE\x85\x8B
@ -1202,4 +1202,4 @@ Gameplay
==
Connect Dummy
==
==

View file

@ -1037,7 +1037,7 @@ Show kill messages
Use DDRace Scoreboard
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Automatically take statboard screenshot
@ -1197,4 +1197,4 @@ Wait before try for
==
Connect Dummy
==
==

View file

@ -880,7 +880,7 @@ AntiPing
Countries
== 国家
\n\nReconnect in %d sec
Reconnect in %d sec
== \n\n在 %d 秒后重新连接
Grabs
@ -1019,8 +1019,11 @@ Save
Date
== 日期
Show DDNet map finishes in server browser\n(transmits your player name to info.ddnet.tw)
== 在服务器浏览器中显示已完成的 DDNet 地图\n(将会发送您的玩家名称到 info.ddnet.tw)
Show DDNet map finishes in server browser
== 在服务器浏览器中显示已完成的 DDNet 地图
transmits your player name to info.ddnet.tw
== 将会发送您的玩家名称到 info.ddnet.tw
Reload
== 刷新
@ -1155,8 +1158,26 @@ Toggle dyncam
##### generated by copy_fix.py, please translate this #####
DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you.\n\nThe maps contain freeze, which temporarily make a tee unable to move. You have to work together to get through these parts.\n\nThe mouse wheel changes weapons. Hammer (left mouse) can be used to hit other tees and wake them up from being frozen.\n\nHook (right mouse) can be used to swing through the map and to hook other tees to you.\n\nMost importantly communication is key: There is no tutorial so you'll have to chat (t key) with other players to learn the basics and tricks of the game.\n\nIt's recommended that you check the settings to adjust them to your liking before joining a server.\n\nPlease enter your nick name below.
== DDraceNetwork 是以到达地图终点为目标,单人或组队的在线合作游戏。如果你是新手,你可以从有入门级地图的 Novice 服务器开始。记得选择 Ping 值低的服务器。\n\n地图中的冰冻可以使 tee 暂时无法移动。你需要合作来通过这些关卡。\n\n鼠标滚轮可以切换武器。锤子 (鼠标左键) 击中其他 tee 时,可以让他们从冰冻中苏醒。\n\n钩子 (鼠标右键) 可以悬挂通过地图关卡,或者将其他 tee 拉向你。\n\n沟通是最关键的游戏内没有教程你需要通过聊天 (t键) 向其他玩家学习基本技巧。\n\n推荐在进入服务器前先将设置调整到符合你的习惯。\n\n请输入你的昵称。
DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you.
== DDraceNetwork 是以到达地图终点为目标,单人或组队的在线合作游戏。如果你是新手,你可以从有入门级地图的 Novice 服务器开始。记得选择 Ping 值低的服务器。
The maps contain freeze, which temporarily make a tee unable to move. You have to work together to get through these parts.
== 地图中的冰冻可以使 tee 暂时无法移动。你需要合作来通过这些关卡。
The mouse wheel changes weapons. Hammer (left mouse) can be used to hit other tees and wake them up from being frozen.
== 鼠标滚轮可以切换武器。锤子 (鼠标左键) 击中其他 tee 时,可以让他们从冰冻中苏醒。
Hook (right mouse) can be used to swing through the map and to hook other tees to you.
== 钩子 (鼠标右键) 可以悬挂通过地图关卡,或者将其他 tee 拉向你。
Most importantly communication is key: There is no tutorial so you'll have to chat (t key) with other players to learn the basics and tricks of the game.
== 沟通是最关键的:游戏内没有教程,你需要通过聊天 (t键) 向其他玩家学习基本技巧。
It's recommended that you check the settings to adjust them to your liking before joining a server.
== 推荐在进入服务器前,先将设置调整到符合你的习惯。
Please enter your nick name below.
== 请输入你的昵称。
IncSpeed
== 倍速增
@ -1200,4 +1221,4 @@ Video name:
### needs translation ###
Connect Dummy
==
==

View file

@ -846,7 +846,7 @@ Grabs
Toggle dyncam
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Countries
@ -1198,4 +1198,4 @@ FPM
==
Connect Dummy
==
==

View file

@ -754,7 +754,7 @@ second
Show other players' hook collision lines
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Gameplay
@ -1202,4 +1202,4 @@ Show tiles layers from BG map
==
Connect Dummy
==
==

View file

@ -740,7 +740,7 @@ Indicate map finish
Map sound volume
== Bana ljud Volym
\n\nReconnect in %d sec
Reconnect in %d sec
== \n\nÅterkopplar om %d sekunder
Successfully saved the replay!
@ -788,14 +788,35 @@ Kill
Personal best:
== Personligs bästa:
Show DDNet map finishes in server browser\n(transmits your player name to info.ddnet.tw)
== Visa DDNet bana avklarningar i server bläddraren\n(skickar ditt spel namn till info.ddnet.tw)
Show DDNet map finishes in server browser
== Visa DDNet bana avklarningar i server bläddraren
transmits your player name to info.ddnet.tw
== skickar ditt spel namn till info.ddnet.tw
9+ new mentions
== 9+ nya nämningar
DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you.\n\nThe maps contain freeze, which temporarily make a tee unable to move. You have to work together to get through these parts.\n\nThe mouse wheel changes weapons. Hammer (left mouse) can be used to hit other tees and wake them up from being frozen.\n\nHook (right mouse) can be used to swing through the map and to hook other tees to you.\n\nMost importantly communication is key: There is no tutorial so you'll have to chat (t key) with other players to learn the basics and tricks of the game.\n\nIt's recommended that you check the settings to adjust them to your liking before joining a server.\n\nPlease enter your nick name below.
== DDraceNetwork är ett kooperativ online spel där målet är för dig och en group av tees att nå banas mål. Som en nykomling så borde du starta på Novice serverna, vilket har bara de enklast banorna. Kom ihåg att använda ping till att välja en server som är nära dig.\n\nBanorna innehåller freeze, vilket temporärt gör att en tee inte kan röra sig. Du behöver att arbeta tillsamas för att komma igenom dessa delar.\n\nMed Skrollhjulet så kan du ändra vapen. Hammaren (vänster klick) kan användas till att slå andra tees och vakna up de från att bli frysta.\n\nHook (höger klick) kan användas till att svinga sig igenom banan och att dra andra tees till dig.\n\nMest viktiga är kommunikation: Det finns ingen tutorial så du kommer att behöva chatta (t knappen) med andra spelare för att lära dig grunderna och tricks till spelet.\n\nDet är rekomenderad att du kollar igenom inställningarna och ändra dom så de passar dig innan du ansluter dig till en server.\n\nSkriv ditt smeknamn nedanför.
DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you.
== DDraceNetwork är ett kooperativ online spel där målet är för dig och en group av tees att nå banas mål. Som en nykomling så borde du starta på Novice serverna, vilket har bara de enklast banorna. Kom ihåg att använda ping till att välja en server som är nära dig.
The maps contain freeze, which temporarily make a tee unable to move. You have to work together to get through these parts.
== Banorna innehåller freeze, vilket temporärt gör att en tee inte kan röra sig. Du behöver att arbeta tillsamas för att komma igenom dessa delar.
The mouse wheel changes weapons. Hammer (left mouse) can be used to hit other tees and wake them up from being frozen.
== Med Skrollhjulet så kan du ändra vapen. Hammaren (vänster klick) kan användas till att slå andra tees och vakna up de från att bli frysta.
Hook (right mouse) can be used to swing through the map and to hook other tees to you.
== Hook (höger klick) kan användas till att svinga sig igenom banan och att dra andra tees till dig.
Most importantly communication is key: There is no tutorial so you'll have to chat (t key) with other players to learn the basics and tricks of the game.
= Mest viktiga är kommunikation: Det finns ingen tutorial så du kommer att behöva chatta (t knappen) med andra spelare för att lära dig grunderna och tricks till spelet.
It's recommended that you check the settings to adjust them to your liking before joining a server.
= Det är rekomenderad att du kollar igenom inställningarna och ändra dom så de passar dig innan du ansluter dig till en server.
Please enter your nick name below.
= Skriv ditt smeknamn nedanför.
Render
== Rendera
@ -1200,4 +1221,4 @@ Hook collisions
== Hook kollisioner
Connect Dummy
== Anslut Dummy
== Anslut Dummy

View file

@ -874,7 +874,7 @@ AntiPing
Countries
== 國家
\n\nReconnect in %d sec
Reconnect in %d sec
== \n\n在 %d 秒內重新連接
Grabs
@ -1013,8 +1013,11 @@ Save
Date
== 日期
Show DDNet map finishes in server browser\n(transmits your player name to info.ddnet.tw)
== 在伺服器瀏覽器中顯示已完成的 DDNet 地圖\n(將會發送您的玩家名稱到 info.ddnet.tw)
Show DDNet map finishes in server browser
== 在伺服器瀏覽器中顯示已完成的 DDNet 地圖
transmits your player name to info.ddnet.tw
== 將會發送您的玩家名稱到 info.ddnet.tw
Reload
== 刷新
@ -1193,4 +1196,4 @@ Dummy copy
==
Connect Dummy
==
==

View file

@ -689,7 +689,7 @@ Automatically take statboard screenshot
Update now
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
DecSpeed
@ -1200,4 +1200,4 @@ Outline color
==
Connect Dummy
==
==

View file

@ -765,7 +765,7 @@ Destination file already exist
Unable to rename the demo
==
\n\nReconnect in %d sec
Reconnect in %d sec
==
Vote command:
@ -1195,4 +1195,4 @@ Skin prefix
==
Connect Dummy
==
==

View file

@ -38,8 +38,8 @@ $ ./find_unchanged.py ../spanish.txt
To update all languages:
$ for i in data/languages/*.txt; do scripts/languages/copy_fix.py $i $i.$$.tmp --delete-unused --append-missing && mv $i.$$.tmp $i; done
$ for i in data/languages/*.txt; do [ "${i:t}" != "license.txt" ] && [ "${i:t}" != "index.txt" ] && scripts/languages/copy_fix.py $i $i.$$.tmp --delete-unused --append-missing && mv $i.$$.tmp $i; done
To get a statistic of how complete the translation is:
$ for i in *.txt; do COVERED=$(cat $i|grep "^== "|grep -v "^== $"|wc -l); TOTAL=$(cat $i|grep "^== "|wc -l); [ "$i" != "license.txt" ] && [ "$i" != "index.txt" ] && echo "$(($COVERED*100/$TOTAL))% ${i:r}"; done | sort -n -r
$ for i in data/languages/*.txt; do COVERED=$(cat $i|grep "^== "|grep -v "^== $"|wc -l); TOTAL=$(cat $i|grep "^== "|wc -l); [ "${i:t}" != "license.txt" ] && [ "${i:t}" != "index.txt" ] && echo "$(($COVERED*100/$TOTAL))% ${i:r:t}"; done | sort -n -r

View file

@ -1070,7 +1070,7 @@ int CMenus::Render()
// make sure that other windows doesn't do anything funnay!
//UI()->SetHotItem(0);
//UI()->SetActiveItem(0);
char aBuf[128];
char aBuf[1536];
const char *pTitle = "";
const char *pExtraText = "";
const char *pButtonText = "";
@ -1101,7 +1101,7 @@ int CMenus::Render()
pButtonText = Localize("Ok");
if(Client()->m_ReconnectTime > 0)
{
str_format(aBuf, sizeof(aBuf), Localize("\n\nReconnect in %d sec"), (int)((Client()->m_ReconnectTime - time_get()) / time_freq()));
str_format(aBuf, sizeof(aBuf), Localize("Reconnect in %d sec"), (int)((Client()->m_ReconnectTime - time_get()) / time_freq()));
pTitle = Client()->ErrorString();
pExtraText = aBuf;
pButtonText = Localize("Abort");
@ -1181,7 +1181,15 @@ int CMenus::Render()
else if(m_Popup == POPUP_FIRST_LAUNCH)
{
pTitle = Localize("Welcome to DDNet");
pExtraText = Localize("DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you.\n\nThe maps contain freeze, which temporarily make a tee unable to move. You have to work together to get through these parts.\n\nThe mouse wheel changes weapons. Hammer (left mouse) can be used to hit other tees and wake them up from being frozen.\n\nHook (right mouse) can be used to swing through the map and to hook other tees to you.\n\nMost importantly communication is key: There is no tutorial so you'll have to chat (t key) with other players to learn the basics and tricks of the game.\n\nIt's recommended that you check the settings to adjust them to your liking before joining a server.\n\nPlease enter your nick name below.");
str_format(aBuf, sizeof(aBuf), "%s\n\n%s\n\n%s\n\n%s\n\n%s\n\n%s\n\n%s",
Localize("DDraceNetwork is a cooperative online game where the goal is for you and your group of tees to reach the finish line of the map. As a newcomer you should start on Novice servers, which host the easiest maps. Consider the ping to choose a server close to you."),
Localize("The maps contain freeze, which temporarily make a tee unable to move. You have to work together to get through these parts."),
Localize("The mouse wheel changes weapons. Hammer (left mouse) can be used to hit other tees and wake them up from being frozen."),
Localize("Hook (right mouse) can be used to swing through the map and to hook other tees to you."),
Localize("Most importantly communication is key: There is no tutorial so you'll have to chat (t key) with other players to learn the basics and tricks of the game."),
Localize("It's recommended that you check the settings to adjust them to your liking before joining a server."),
Localize("Please enter your nick name below."));
pExtraText = aBuf;
pButtonText = Localize("Ok");
ExtraAlign = -1;
}
@ -1661,22 +1669,6 @@ int CMenus::Render()
Part.VSplitLeft(Button.h, &Button, &Part);
if(DoButton_CheckBox(&g_Config.m_ClVideoSndEnable, Localize("Use sounds"), g_Config.m_ClVideoSndEnable, &Button))
g_Config.m_ClVideoSndEnable ^= 1;
/*
static int s_ButtonInc = 0;
if(DoButton_Menu(&s_ButtonInc, Localize("IncSpeed"), 0, &IncSpeed))
m_Popup = POPUP_NONE;
static int s_ButtonDec = 0;
if(DoButton_Menu(&s_ButtonDec, Localize("DecSpeed"), 0, &DecSpeed))
m_Popup = POPUP_NONE;
*/
//Abort.VMargin(20.0f, &Abort);
//SpeedBox.VSplitLeft(40.0f, 0, &SpeedBox);
//SpeedBox.VSplitRight(80.0f, &SpeedBox, 0);
//UI()->DoLabel(&Label, Localize("Video speed:"), 18.0f, -1);
//static float Offset2 = 0.0f;
//char Speed[10] = "1";
//DoEditBox(&Offset2, &SpeedBox, Speed, sizeof(Speed), 12.0f, &Offset2);
Box.HSplitBottom(20.f, &Box, &Part);
#if defined(__ANDROID__)
@ -1776,7 +1768,12 @@ int CMenus::Render()
Box.HSplitBottom(24.f, &Box, &Part);
Part.VSplitLeft(30.0f, 0, &Part);
if(DoButton_CheckBox(&g_Config.m_BrIndicateFinished, Localize("Show DDNet map finishes in server browser\n(transmits your player name to info.ddnet.tw)"), g_Config.m_BrIndicateFinished, &Part))
char aBuf[128];
str_format(aBuf, sizeof(aBuf), "%s\n(%s)",
Localize("Show DDNet map finishes in server browser"),
Localize("transmits your player name to info.ddnet.tw"));
if(DoButton_CheckBox(&g_Config.m_BrIndicateFinished, aBuf, g_Config.m_BrIndicateFinished, &Part))
g_Config.m_BrIndicateFinished ^= 1;
Box.HSplitBottom(20.f, &Box, &Part);

View file

@ -507,7 +507,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
// render quick exclude
{
const char *pLabel = Localize("\xEE\x85\x8B"); // U+0e14b
const char *pLabel = "\xEE\x85\x8B"; // U+0e14b
TextRender()->SetCurFont(TextRender()->GetFont(TEXT_FONT_ICON_FONT));
TextRender()->SetRenderFlags(ETextRenderFlags::TEXT_RENDER_FLAG_ONLY_ADVANCE_WIDTH | ETextRenderFlags::TEXT_RENDER_FLAG_NO_X_BEARING | ETextRenderFlags::TEXT_RENDER_FLAG_NO_Y_BEARING | ETextRenderFlags::TEXT_RENDER_FLAG_NO_OVERSIZE);
UI()->DoLabelScaled(&QuickExclude, pLabel, 16.0f, -1);

View file

@ -943,7 +943,7 @@ void CMenus::RenderDemoList(CUIRect MainView)
if(m_lDemos[m_DemolistSelectedIndex].m_MapInfo.m_Sha256 != SHA256_ZEROED)
{
Left.VSplitLeft(150.0f, &Left, &Right);
UI()->DoLabelScaled(&Left, Localize("SHA256:"), 14.0f, -1);
UI()->DoLabelScaled(&Left, "SHA256:", 14.0f, -1);
char aSha[SHA256_MAXSTRSIZE];
sha256_str(m_lDemos[m_DemolistSelectedIndex].m_MapInfo.m_Sha256, aSha, sizeof(aSha)/2);
UI()->DoLabelScaled(&Right, aSha, 14.0f, -1);

View file

@ -120,7 +120,7 @@ void CMenus::RenderGame(CUIRect MainView)
static int s_DemoButton = 0;
bool Recording = DemoRecorder(RECORDER_MANUAL)->IsRecording();
if(DoButton_Menu(&s_DemoButton, Localize(Recording ? "Stop record" : "Record demo"), 0, &Button)) // Localize("Stop record");Localize("Record demo");
if(DoButton_Menu(&s_DemoButton, Recording ? Localize("Stop record") : Localize("Record demo"), 0, &Button))
{
if(!Recording)
Client()->DemoRecorder_Start(Client()->GetCurrentMap(), true, RECORDER_MANUAL);