From 159c1d1d9e666df63fdcabb55b80fb43b69829ff Mon Sep 17 00:00:00 2001 From: otavepto Date: Fri, 12 Apr 2024 04:25:50 +0200 Subject: [PATCH] proper attribution for the author of the ingame overlay project (why wasn't this done long time ago?!) --- .../overlay/steam_overlay_translations.h | 94 ------------------- overlay_experimental/steam_overlay.cpp | 9 +- post_build/README.release.md | 4 +- 3 files changed, 6 insertions(+), 101 deletions(-) diff --git a/overlay_experimental/overlay/steam_overlay_translations.h b/overlay_experimental/overlay/steam_overlay_translations.h index 5a508ae9..5b1ad906 100644 --- a/overlay_experimental/overlay/steam_overlay_translations.h +++ b/overlay_experimental/overlay/steam_overlay_translations.h @@ -844,100 +844,6 @@ const char translationSend[TRANSLATION_NUMBER_OF_LANGUAGES][TRANSLATION_BUFFER_S u8"Pošalji Poruku" }; -// C:\Program Files (x86)\Steam\tenfoot\resource\localization\tenfoot_*.txt -// SettingsInGame_Enable & SettingsInGame_Overlay -const char translationSteamOverlay[TRANSLATION_NUMBER_OF_LANGUAGES][TRANSLATION_BUFFER_SIZE] = { - // 0 - English - u8"Steam Overlay", - - // 1 - Arabic - u8"Steam Overlay", - - // 2 - Bulgarian - u8"Steam слой", - - // 3 - Simplified Chinese - u8"蒸汽界面", - - // 4 - Traditional Chinese - u8"Steam 內嵌介面", - - // 5 - Czech - u8"Překrytí služby Steam", - - // 6 - Danish - u8"Steam-overlayet", - - // 7 - Dutch - u8"Steam-overlay", - - // 8 - Finnish - u8"Steam-yhteisönäkymä", - - // 9 - French - u8"L'overlay Steam", - - // 10 - German - u8"Steam Overlay", - - // 11 - Greek - u8"Επικάλυψης Steam", - - // 12 - Hungarian - u8"Steam Átfedés", - - // 13 - Italian - u8"L'Overlay di Steam", - - // 14 - Japanese - u8"Steam オーバーレイ", - - // 15 - Korean - u8"Steam 오버레이", - - // 16 - Norwegian - u8"Steam-overlegg", - - // 17 - Polish - u8"Nakładkę Steam", - - // 18 - Portuguese - u8"Painel Steam", - - // 19 - Brazilian Portuguese - u8"Painel Steam", - - // 20 - Romanian - u8"Interfață suplimentară Steam", - - // 21 - Russian - u8"Оверлей Steam", - - // 22 - Spanish - u8"Interfaz de Steam", - - // 23 - Latin American - u8"Interfaz de Steam", - - // 24 - Swedish - u8"Steams överlägg", - - // 25 - Thai - u8"โอเวอร์เลย์ Steam", - - // 26 - Turkish - u8"Steam Arayüzü", - - // 27 - Ukrainian - u8"Оверлей Steam", - - // 28 - Vietnamese - u8"Lớp phủ Steam", - - // 29 - Croatian - u8"Steam Overlay" -}; - const char translationUserPlaying[TRANSLATION_NUMBER_OF_LANGUAGES][TRANSLATION_BUFFER_SIZE] = { // 0 - English u8"Username: %s (%llu) playing %u", diff --git a/overlay_experimental/steam_overlay.cpp b/overlay_experimental/steam_overlay.cpp index 8d300383..69fabcf3 100644 --- a/overlay_experimental/steam_overlay.cpp +++ b/overlay_experimental/steam_overlay.cpp @@ -264,7 +264,6 @@ void Steam_Overlay::create_fonts() font_builder.AddText(translationAccept[i]); font_builder.AddText(translationRefuse[i]); font_builder.AddText(translationSend[i]); - font_builder.AddText(translationSteamOverlay[i]); font_builder.AddText(translationUserPlaying[i]); font_builder.AddText(translationRenderer[i]); font_builder.AddText(translationShowAchievements[i]); @@ -1155,11 +1154,9 @@ void Steam_Overlay::render_main_window() char tmp[TRANSLATION_BUFFER_SIZE]{}; snprintf(tmp, sizeof(tmp), translationRenderer[current_language], (_renderer == nullptr ? "Unknown" : _renderer->GetLibraryName().c_str())); - std::string windowTitle; - windowTitle.append(translationSteamOverlay[current_language]); - windowTitle.append(" ("); - windowTitle.append(tmp); - windowTitle.append(")"); + std::string windowTitle{}; + // Note: don't translate this, project and author names are nouns, they must be kept intact for proper referral + windowTitle.append("Ingame Overlay - Nemirtingas (").append(tmp).append(")"); if ((settings->overlay_appearance.background_r >= 0) && (settings->overlay_appearance.background_g >= 0) && diff --git a/post_build/README.release.md b/post_build/README.release.md index 93231e89..15a7cab1 100644 --- a/post_build/README.release.md +++ b/post_build/README.release.md @@ -266,8 +266,10 @@ Do not run more than one steam game with the **same appid** at the same time on **Note: at the moment this feature is only enabled in the experimental builds** --- +This is made possible using the amazing third-party library `Ingame Overlay project`: https://github.com/Nemirtingas/ingame_overlay + The overlay can be enabled by creating a file named `enable_experimental_overlay.txt` in the `steam_settings` folder. -This feature is highly experimental and might cause crashes or other severe problems. +This feature is **highly experimental** and might cause crashes or other problems. This is for games that depend on the steam overlay to let people join multiplayer games. Alternatively, you can use the dedicated tool `lobby_connect` to join a game lobby.