proper attribution for the author of the ingame overlay project (why wasn't this done long time ago?!)
This commit is contained in:
parent
7a3c1b82f6
commit
159c1d1d9e
@ -844,100 +844,6 @@ const char translationSend[TRANSLATION_NUMBER_OF_LANGUAGES][TRANSLATION_BUFFER_S
|
|||||||
u8"Pošalji Poruku"
|
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] = {
|
const char translationUserPlaying[TRANSLATION_NUMBER_OF_LANGUAGES][TRANSLATION_BUFFER_SIZE] = {
|
||||||
// 0 - English
|
// 0 - English
|
||||||
u8"Username: %s (%llu) playing %u",
|
u8"Username: %s (%llu) playing %u",
|
||||||
|
@ -264,7 +264,6 @@ void Steam_Overlay::create_fonts()
|
|||||||
font_builder.AddText(translationAccept[i]);
|
font_builder.AddText(translationAccept[i]);
|
||||||
font_builder.AddText(translationRefuse[i]);
|
font_builder.AddText(translationRefuse[i]);
|
||||||
font_builder.AddText(translationSend[i]);
|
font_builder.AddText(translationSend[i]);
|
||||||
font_builder.AddText(translationSteamOverlay[i]);
|
|
||||||
font_builder.AddText(translationUserPlaying[i]);
|
font_builder.AddText(translationUserPlaying[i]);
|
||||||
font_builder.AddText(translationRenderer[i]);
|
font_builder.AddText(translationRenderer[i]);
|
||||||
font_builder.AddText(translationShowAchievements[i]);
|
font_builder.AddText(translationShowAchievements[i]);
|
||||||
@ -1155,11 +1154,9 @@ void Steam_Overlay::render_main_window()
|
|||||||
|
|
||||||
char tmp[TRANSLATION_BUFFER_SIZE]{};
|
char tmp[TRANSLATION_BUFFER_SIZE]{};
|
||||||
snprintf(tmp, sizeof(tmp), translationRenderer[current_language], (_renderer == nullptr ? "Unknown" : _renderer->GetLibraryName().c_str()));
|
snprintf(tmp, sizeof(tmp), translationRenderer[current_language], (_renderer == nullptr ? "Unknown" : _renderer->GetLibraryName().c_str()));
|
||||||
std::string windowTitle;
|
std::string windowTitle{};
|
||||||
windowTitle.append(translationSteamOverlay[current_language]);
|
// Note: don't translate this, project and author names are nouns, they must be kept intact for proper referral
|
||||||
windowTitle.append(" (");
|
windowTitle.append("Ingame Overlay - Nemirtingas (").append(tmp).append(")");
|
||||||
windowTitle.append(tmp);
|
|
||||||
windowTitle.append(")");
|
|
||||||
|
|
||||||
if ((settings->overlay_appearance.background_r >= 0) &&
|
if ((settings->overlay_appearance.background_r >= 0) &&
|
||||||
(settings->overlay_appearance.background_g >= 0) &&
|
(settings->overlay_appearance.background_g >= 0) &&
|
||||||
|
@ -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**
|
**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.
|
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.
|
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.
|
Alternatively, you can use the dedicated tool `lobby_connect` to join a game lobby.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user