From 361622ec37f031c048e6fd71df89f845492370c6 Mon Sep 17 00:00:00 2001 From: def Date: Mon, 3 Oct 2022 00:11:01 +0200 Subject: [PATCH] Add help text at bottom left when menu is open --- data/languages/arabic.txt | 9 ++++++--- data/languages/belarusian.txt | 9 ++++++--- data/languages/bosnian.txt | 9 ++++++--- data/languages/brazilian_portuguese.txt | 9 ++++++--- data/languages/bulgarian.txt | 9 ++++++--- data/languages/catalan.txt | 9 ++++++--- data/languages/chuvash.txt | 9 ++++++--- data/languages/czech.txt | 9 ++++++--- data/languages/danish.txt | 9 ++++++--- data/languages/dutch.txt | 9 ++++++--- data/languages/esperanto.txt | 9 ++++++--- data/languages/finnish.txt | 9 ++++++--- data/languages/french.txt | 9 ++++++--- data/languages/german.txt | 9 ++++++--- data/languages/greek.txt | 9 ++++++--- data/languages/hungarian.txt | 9 ++++++--- data/languages/italian.txt | 9 ++++++--- data/languages/japanese.txt | 9 ++++++--- data/languages/korean.txt | 9 ++++++--- data/languages/kyrgyz.txt | 9 ++++++--- data/languages/norwegian.txt | 9 ++++++--- data/languages/persian.txt | 9 ++++++--- data/languages/polish.txt | 9 ++++++--- data/languages/portuguese.txt | 9 ++++++--- data/languages/romanian.txt | 9 ++++++--- data/languages/russian.txt | 9 ++++++--- data/languages/serbian.txt | 9 ++++++--- data/languages/serbian_cyrillic.txt | 9 ++++++--- data/languages/simplified_chinese.txt | 9 ++++++--- data/languages/slovak.txt | 9 ++++++--- data/languages/spanish.txt | 9 ++++++--- data/languages/swedish.txt | 9 ++++++--- data/languages/traditional_chinese.txt | 9 ++++++--- data/languages/turkish.txt | 15 +++++++++------ data/languages/ukrainian.txt | 9 ++++++--- src/game/client/components/menus.cpp | 1 + src/game/client/components/menus.h | 1 + src/game/client/components/menus_ingame.cpp | 9 +++++++++ 38 files changed, 224 insertions(+), 108 deletions(-) diff --git a/data/languages/arabic.txt b/data/languages/arabic.txt index 473461f5b..d8e6ccebc 100644 --- a/data/languages/arabic.txt +++ b/data/languages/arabic.txt @@ -723,9 +723,6 @@ Show score %.2f KiB == %.2f KiB -Try fast HTTP map download first -== ﻝﻭﺍ ﺏﺎﻤﻟﺍ ﻞﻴﻤﺤﺘﻟ ﻉﺮﺳﺍ HTTP ﻡﺪﺨﺘﺳﺍ ﺏﺮﺟ - Enable regular chat sound == ﺔﻳﺩﺎﻌﻟﺍ ﺔﺷﺩﺭﺩ ﺕﻮﺻ ﻞﻴﻌﻔﺗ @@ -1312,6 +1309,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1539,6 +1539,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/belarusian.txt b/data/languages/belarusian.txt index 886dba504..f95827266 100644 --- a/data/languages/belarusian.txt +++ b/data/languages/belarusian.txt @@ -910,6 +910,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Connect Dummy == @@ -1368,6 +1371,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1446,9 +1452,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/bosnian.txt b/data/languages/bosnian.txt index cf626371d..c1ad69b1a 100644 --- a/data/languages/bosnian.txt +++ b/data/languages/bosnian.txt @@ -985,9 +985,6 @@ Old mouse mode Show tiles layers from BG map == Prikaži slojeve od pozadinske mape -Try fast HTTP map download first -== Pokušaj prvo brzo HTTP skidanje mape - DDNet %s is available: == DDNet %s je dostupan: @@ -1216,6 +1213,9 @@ Loading demo files Demos directory == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1485,6 +1485,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/brazilian_portuguese.txt b/data/languages/brazilian_portuguese.txt index 6f8b2bc9c..f4ca81dcf 100644 --- a/data/languages/brazilian_portuguese.txt +++ b/data/languages/brazilian_portuguese.txt @@ -799,9 +799,6 @@ Show score UI Color == Cor da UI -Try fast HTTP map download first -== Tentar baixar mapa por HTTP (rápido) primeiro - Best == Melhor @@ -1623,3 +1620,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == Cor interna do laser do congelamento + +Menu opened. Press Esc key again to close menu. +== + +Set all to Rifle +== diff --git a/data/languages/bulgarian.txt b/data/languages/bulgarian.txt index c2e3a48b9..0dcdb6b6a 100644 --- a/data/languages/bulgarian.txt +++ b/data/languages/bulgarian.txt @@ -907,6 +907,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Connect Dummy == @@ -1368,6 +1371,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1446,9 +1452,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/catalan.txt b/data/languages/catalan.txt index d9a2ea624..b07a51f90 100644 --- a/data/languages/catalan.txt +++ b/data/languages/catalan.txt @@ -795,9 +795,6 @@ Max CSVs %.2f KiB == %.2f KiB -Try fast HTTP map download first -== Intentar primer la descàrrega ràpida del mapa - Use DDRace Scoreboard == Utilitzar la taula d'estadístiques DDRace @@ -1390,6 +1387,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1566,6 +1566,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/chuvash.txt b/data/languages/chuvash.txt index 1ea297119..fd4092b58 100644 --- a/data/languages/chuvash.txt +++ b/data/languages/chuvash.txt @@ -910,6 +910,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Connect Dummy == @@ -1368,6 +1371,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1446,9 +1452,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/czech.txt b/data/languages/czech.txt index 33911c864..fd86dc385 100644 --- a/data/languages/czech.txt +++ b/data/languages/czech.txt @@ -987,9 +987,6 @@ Old mouse mode Show tiles layers from BG map == Zobrazit vrstvy dlaždic z mapy BG -Try fast HTTP map download first -== Zkusit rychlé HTTP stáhnutí map jako první - DDNet %s is available: == DDNet %s je k dispozici: @@ -1325,6 +1322,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1549,6 +1549,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/danish.txt b/data/languages/danish.txt index 3a275971b..88deaa305 100644 --- a/data/languages/danish.txt +++ b/data/languages/danish.txt @@ -1061,9 +1061,6 @@ Use current map as background Show tiles layers from BG map == Vis fliselag fra baggrundskortet -Try fast HTTP map download first -== Prøv hurtig download af HTTP kort først - DDNet %s is available: == DDNet %s er tilgængelig: @@ -1323,6 +1320,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1547,6 +1547,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/dutch.txt b/data/languages/dutch.txt index 6bac2f8c1..de54cb4b2 100644 --- a/data/languages/dutch.txt +++ b/data/languages/dutch.txt @@ -1009,9 +1009,6 @@ Old mouse mode Show tiles layers from BG map == Laat tegellagen van achtergrondmap zien -Try fast HTTP map download first -== Probeer eerst een snelle HTTP download voor deze map - DDNet %s is available: == DDNet %s is beschikbaar @@ -1439,6 +1436,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1606,6 +1606,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Extras == diff --git a/data/languages/esperanto.txt b/data/languages/esperanto.txt index dbda79528..70f238127 100644 --- a/data/languages/esperanto.txt +++ b/data/languages/esperanto.txt @@ -872,6 +872,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Stop record == @@ -1405,6 +1408,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1483,9 +1489,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/finnish.txt b/data/languages/finnish.txt index 91f8fd904..6d255ea20 100644 --- a/data/languages/finnish.txt +++ b/data/languages/finnish.txt @@ -1066,9 +1066,6 @@ Background Use current map as background == Käytä nykyistä kenttää taustana -Try fast HTTP map download first -== Yritä nopeaa HTTP-kentänlatausta ensin - DDNet %s is available: == DDNet %s on saatavilla: @@ -1280,6 +1277,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1522,6 +1522,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/french.txt b/data/languages/french.txt index 53b17d50e..f4c476c8d 100644 --- a/data/languages/french.txt +++ b/data/languages/french.txt @@ -920,9 +920,6 @@ Hammerfly dummy Switch weapon when out of ammo == Changer d'arme lorsqu'il n'y a plus de munition -Try fast HTTP map download first -== Carte : essayer d'abord le téléchargement rapide HTTP - Save the best demo of each race == Sauvegarder la meilleure démo de chaque course @@ -1601,6 +1598,9 @@ Export cut as a separate demo Toggle keyboard shortcuts == +Menu opened. Press Esc key again to close menu. +== + Weapons == @@ -1627,3 +1627,6 @@ Freeze Laser Outline Color Freeze Laser Inner Color == + +Set all to Rifle +== diff --git a/data/languages/german.txt b/data/languages/german.txt index 6e97d18c9..dd50dbbaa 100644 --- a/data/languages/german.txt +++ b/data/languages/german.txt @@ -770,9 +770,6 @@ Show score %.2f KiB == %.2f KiB -Try fast HTTP map download first -== Schnellen HTTP-Kartendownload nutzen - Enable regular chat sound == Ton für normale Nachrichten aktivieren @@ -1621,3 +1618,9 @@ Mark the beginning of a cut Mark the end of a cut == Das Ende eines Schnitts markieren + +Menu opened. Press Esc key again to close menu. +== Menü geöffnet. Erneut Esc-Taste drücken um Menü zu schließen. + +Set all to Rifle +== Alle auf Gewehr setzen diff --git a/data/languages/greek.txt b/data/languages/greek.txt index 194527b4c..d3afa3f86 100644 --- a/data/languages/greek.txt +++ b/data/languages/greek.txt @@ -913,6 +913,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Connect Dummy == @@ -1368,6 +1371,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1446,9 +1452,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/hungarian.txt b/data/languages/hungarian.txt index 4262dc248..f3d9fb539 100644 --- a/data/languages/hungarian.txt +++ b/data/languages/hungarian.txt @@ -793,9 +793,6 @@ Max CSVs Strict gametype filter == Szigorú játékmód szűrő -Try fast HTTP map download first -== Próbáljon elősször gyors HTTP letöltést - Use DDRace Scoreboard == DDRace pontszámtábla használata @@ -1579,6 +1576,9 @@ Export cut as a separate demo Toggle keyboard shortcuts == +Menu opened. Press Esc key again to close menu. +== + Weapons == @@ -1605,3 +1605,6 @@ Freeze Laser Outline Color Freeze Laser Inner Color == + +Set all to Rifle +== diff --git a/data/languages/italian.txt b/data/languages/italian.txt index c7dcec4cc..d128c6581 100644 --- a/data/languages/italian.txt +++ b/data/languages/italian.txt @@ -1090,9 +1090,6 @@ Use current map as background Show tiles layers from BG map == Mostra i layer dei tile dalla mappa in sfondo -Try fast HTTP map download first -== Prova un download veloce della mappa con HTTP - DDNet %s is available: == DDNet %s è disponibile: @@ -1350,6 +1347,9 @@ Markers: %.2f KiB == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1577,6 +1577,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/japanese.txt b/data/languages/japanese.txt index e58b7475f..b6c8fec20 100644 --- a/data/languages/japanese.txt +++ b/data/languages/japanese.txt @@ -1096,9 +1096,6 @@ Show tiles layers from BG map Regular Background Color == 普通の背景色 -Try fast HTTP map download first -== マップのダウンロードは HTTP を優先にする - New random timeout code == ランダムにタイムアウト・コードを生成 @@ -1355,6 +1352,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1561,6 +1561,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/korean.txt b/data/languages/korean.txt index e3f13c5aa..b87f6162b 100644 --- a/data/languages/korean.txt +++ b/data/languages/korean.txt @@ -1123,9 +1123,6 @@ Show tiles layers from BG map Regular Background Color == 기본 배경 색상 -Try fast HTTP map download first -== 빠른 HTTP 맵 다운로드 우선 시도 - New random timeout code == 새로운 무작위 타임아웃 코드 생성 @@ -1614,3 +1611,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == 동결 레이저 광선 색상 + +Menu opened. Press Esc key again to close menu. +== + +Set all to Rifle +== diff --git a/data/languages/kyrgyz.txt b/data/languages/kyrgyz.txt index 607515d92..cbfeb52d3 100644 --- a/data/languages/kyrgyz.txt +++ b/data/languages/kyrgyz.txt @@ -904,6 +904,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Connect Dummy == @@ -1359,6 +1362,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1437,9 +1443,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/norwegian.txt b/data/languages/norwegian.txt index 49139fba5..63d421f02 100644 --- a/data/languages/norwegian.txt +++ b/data/languages/norwegian.txt @@ -999,9 +999,6 @@ Old mouse mode Show tiles layers from BG map == Vis tile-lag fra BG-bane -Try fast HTTP map download first -== Forsøk først rask HTTP-nedlasting av bane - DDNet %s is available: == DDNet %s er tilgjengelig: @@ -1324,6 +1321,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1548,6 +1548,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/persian.txt b/data/languages/persian.txt index b70cc6f3f..f680fbd34 100644 --- a/data/languages/persian.txt +++ b/data/languages/persian.txt @@ -963,6 +963,9 @@ Fetch Info Render == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1325,6 +1328,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1388,9 +1394,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/polish.txt b/data/languages/polish.txt index 93caedb57..a6d249f6d 100644 --- a/data/languages/polish.txt +++ b/data/languages/polish.txt @@ -635,9 +635,6 @@ Show other players' hook collision lines Show other players' key presses == Pokazuj naciśnięcia klawiszy innych graczy -Try fast HTTP map download first -== Próbuj najpierw ściągać mapy z serwera HTTP. - Gameplay == Rozgrywka @@ -1431,6 +1428,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1598,6 +1598,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Extras == diff --git a/data/languages/portuguese.txt b/data/languages/portuguese.txt index fab1b7a4e..e9da90450 100644 --- a/data/languages/portuguese.txt +++ b/data/languages/portuguese.txt @@ -1163,6 +1163,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Kill == @@ -1468,6 +1471,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Enable replays == @@ -1513,9 +1519,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - Run on join == diff --git a/data/languages/romanian.txt b/data/languages/romanian.txt index 5625cbd1a..587f5b182 100644 --- a/data/languages/romanian.txt +++ b/data/languages/romanian.txt @@ -919,6 +919,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Connect Dummy == @@ -1374,6 +1377,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1452,9 +1458,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/russian.txt b/data/languages/russian.txt index 6222a82ec..30b346a64 100644 --- a/data/languages/russian.txt +++ b/data/languages/russian.txt @@ -1005,9 +1005,6 @@ Show other players' key presses Show tiles layers from BG map == Показывать тайловые слои фона -Try fast HTTP map download first -== Быстро загружать карты по HTTP - DDNet %s is available: == Доступен DDNet %s: @@ -1613,3 +1610,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == Цвет фриз лазера + +Menu opened. Press Esc key again to close menu. +== + +Set all to Rifle +== diff --git a/data/languages/serbian.txt b/data/languages/serbian.txt index 9f6d3d8c9..f6299c05f 100644 --- a/data/languages/serbian.txt +++ b/data/languages/serbian.txt @@ -1034,9 +1034,6 @@ Old mouse mode Show tiles layers from BG map == Prikaži slojeve pločica sa BG mape -Try fast HTTP map download first -== Probaj brzi HTTP preuzimač mapa prvo - DDNet %s is available: == DDNet %s je dostupan: @@ -1583,6 +1580,9 @@ Export cut as a separate demo Toggle keyboard shortcuts == +Menu opened. Press Esc key again to close menu. +== + Weapons == @@ -1609,3 +1609,6 @@ Freeze Laser Outline Color Freeze Laser Inner Color == + +Set all to Rifle +== diff --git a/data/languages/serbian_cyrillic.txt b/data/languages/serbian_cyrillic.txt index 5c2a0d83a..2bd156c39 100644 --- a/data/languages/serbian_cyrillic.txt +++ b/data/languages/serbian_cyrillic.txt @@ -1033,9 +1033,6 @@ Old mouse mode Show tiles layers from BG map == Прикажи слојеве плочица са BG мапе -Try fast HTTP map download first -== Пробај брзи HTTP преузимач мапа прво - DDNet %s is available: == DDNet %s је доступан: @@ -1579,6 +1576,9 @@ Export cut as a separate demo Toggle keyboard shortcuts == +Menu opened. Press Esc key again to close menu. +== + Weapons == @@ -1605,3 +1605,6 @@ Freeze Laser Outline Color Freeze Laser Inner Color == + +Set all to Rifle +== diff --git a/data/languages/simplified_chinese.txt b/data/languages/simplified_chinese.txt index 26f51d3c2..4cb9daa71 100644 --- a/data/languages/simplified_chinese.txt +++ b/data/languages/simplified_chinese.txt @@ -765,9 +765,6 @@ Show other players' key presses Show tiles layers from BG map == 显示实体层背景地图的图块层 -Try fast HTTP map download first -== 优先尝试使用 HTTP 协议快速下载地图 - DDNet %s is available: == DDNet %s 现已可用: @@ -1634,3 +1631,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == 冻结激光实心颜色 + +Menu opened. Press Esc key again to close menu. +== + +Set all to Rifle +== diff --git a/data/languages/slovak.txt b/data/languages/slovak.txt index 1f50dcef9..e2e39fde4 100644 --- a/data/languages/slovak.txt +++ b/data/languages/slovak.txt @@ -910,6 +910,9 @@ Demos directory Render == +Menu opened. Press Esc key again to close menu. +== + Connect Dummy == @@ -1368,6 +1371,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Save the best demo of each race == @@ -1446,9 +1452,6 @@ Show tiles layers from BG map Regular Background Color == -Try fast HTTP map download first -== - New random timeout code == diff --git a/data/languages/spanish.txt b/data/languages/spanish.txt index 74428f78f..e72cef70a 100644 --- a/data/languages/spanish.txt +++ b/data/languages/spanish.txt @@ -1011,9 +1011,6 @@ Old mouse mode Show tiles layers from BG map == Mostrar capas de tiles del mapa de fondo -Try fast HTTP map download first -== Intentar primero la descarga rápida de HTTP para mapas - DDNet %s is available: == DDNet %s está disponible: @@ -1527,6 +1524,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1611,6 +1611,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + Loading assets == diff --git a/data/languages/swedish.txt b/data/languages/swedish.txt index c1870208e..2caeb49f6 100644 --- a/data/languages/swedish.txt +++ b/data/languages/swedish.txt @@ -834,9 +834,6 @@ Are you sure that you want to disconnect your dummy? Overlay entities == Overlay entities -Try fast HTTP map download first -== Pröva snabb HTTP bana nedladdning först - Date == Datum @@ -1378,6 +1375,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1569,6 +1569,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/data/languages/traditional_chinese.txt b/data/languages/traditional_chinese.txt index 1e7735e88..306cac371 100644 --- a/data/languages/traditional_chinese.txt +++ b/data/languages/traditional_chinese.txt @@ -754,9 +754,6 @@ Show other players' key presses Show tiles layers from BG map == 顯示實體層背景地圖的圖塊層 -Try fast HTTP map download first -== 優先嘗試用HTTP高速下載地圖 - DDNet %s is available: == DDNet %s 現已可用: @@ -1623,3 +1620,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == 凍結鐳射實心顔色 + +Menu opened. Press Esc key again to close menu. +== + +Set all to Rifle +== diff --git a/data/languages/turkish.txt b/data/languages/turkish.txt index dc7d62206..e7e275113 100644 --- a/data/languages/turkish.txt +++ b/data/languages/turkish.txt @@ -1008,9 +1008,6 @@ Old mouse mode Show tiles layers from BG map == Yapı katmanlarını göster -Try fast HTTP map download first -== Önce HTTP üzerinden haritayı hızlı indirmeyi dene - DDNet %s is available: == DDNet %s yayınlandı: @@ -1080,6 +1077,9 @@ Auto Replay == Yeniden oynatma +https://wiki.ddnet.org/ +== https://wiki.ddnet.org/wiki/Main_Page/tr + Saving ddnet-settings.cfg failed == @@ -1254,6 +1254,9 @@ Loading demo files Demos directory == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1514,6 +1517,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == @@ -1568,9 +1574,6 @@ Discord https://ddnet.org/discord == -https://wiki.ddnet.org/ -== https://wiki.ddnet.org/wiki/Main_Page/tr - Tutorial == diff --git a/data/languages/ukrainian.txt b/data/languages/ukrainian.txt index a75104900..ca7bb48bb 100644 --- a/data/languages/ukrainian.txt +++ b/data/languages/ukrainian.txt @@ -994,9 +994,6 @@ Old mouse mode Show tiles layers from BG map == Показувати шари з тайлами з фонової карти -Try fast HTTP map download first -== Намагатися скакачати карту швидко по HTTP - DDNet %s is available: == Доступний новий DDNet %s: @@ -1361,6 +1358,9 @@ Toggle keyboard shortcuts Loading demo files == +Menu opened. Press Esc key again to close menu. +== + Loading ghost files == @@ -1561,6 +1561,9 @@ Freeze Laser Outline Color Freeze Laser Inner Color == +Set all to Rifle +== + When you cross the start line, show a ghost tee replicating the movements of your best time == diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 4056562b2..6096845b1 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -1390,6 +1390,7 @@ int CMenus::Render() RenderServerControl(MainView); else if(m_GamePage == PAGE_SETTINGS) RenderSettings(MainView); + RenderIngameHint(); } else if(m_MenuPage == PAGE_NEWS) { diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h index df8459b70..d0b5354b2 100644 --- a/src/game/client/components/menus.h +++ b/src/game/client/components/menus.h @@ -507,6 +507,7 @@ protected: void RenderServerControl(CUIRect MainView); bool RenderServerControlKick(CUIRect MainView, bool FilterSpectators); bool RenderServerControlServer(CUIRect MainView); + void RenderIngameHint(); // found in menus_browser.cpp int m_SelectedIndex; diff --git a/src/game/client/components/menus_ingame.cpp b/src/game/client/components/menus_ingame.cpp index ed543c67b..b32f42288 100644 --- a/src/game/client/components/menus_ingame.cpp +++ b/src/game/client/components/menus_ingame.cpp @@ -1159,3 +1159,12 @@ void CMenus::RenderGhost(CUIRect MainView) m_pClient->m_Ghost.SaveGhost(pGhost); } } + +void CMenus::RenderIngameHint() +{ + float Width = 300 * Graphics()->ScreenAspect(); + Graphics()->MapScreen(0, 0, Width, 300); + TextRender()->TextColor(1, 1, 1, 1); + TextRender()->Text(0x0, 5, 290, 5, Localize("Menu opened. Press Esc key again to close menu."), -1.0f); + UI()->MapScreen(); +}