From 0089a222f667c26a50661ef4c254f1a4fd5157b8 Mon Sep 17 00:00:00 2001 From: Richard Fox Date: Wed, 1 May 2024 00:03:07 -0700 Subject: [PATCH 1/2] fix(steam): cleanup mistakes from first commit --- Steam/Readme.md | 67 ++++++++++++++++++++++-------------------- Steam/RichPresence.txt | 2 +- 2 files changed, 36 insertions(+), 33 deletions(-) diff --git a/Steam/Readme.md b/Steam/Readme.md index 6564733..efe9315 100644 --- a/Steam/Readme.md +++ b/Steam/Readme.md @@ -6,39 +6,42 @@ This file is provided to Steam via Steamworks and used to create rich presence s While this file, resembles JSON, it is not actually JSON so please be careful, PRs are welcome! Valid languages are: -English -German -French -Italian -Korean -Spanish - Spain -Simplified Chinese -Traditional Chinese -Russian -Thai -Japanese -Portuguese - Portugal -Polish -Danish -Dutch -Finnish -Norwegian -Swedish -Hungarian -Czech -Romanian -Turkish -Arabic -Portuguese - Brazil -Bulgarian -Greek -Ukrainian -Spanish - Latin America -Vietnamese -Indonesian +* English +* German +* French +* Italian +* Korean +* Spanish - Spain +* Simplified Chinese +* Traditional Chinese +* Russian +* Thai +* Japanese +* Portuguese - Portugal +* Polish +* Danish +* Dutch +* Finnish +* Norwegian +* Swedish +* Hungarian +* Czech +* Romanian +* Turkish +* Arabic +* Portuguese - Brazil +* Bulgarian +* Greek +* Ukrainian +* Spanish - Latin America +* Vietnamese +* Indonesian The language name is usually lowercased in the text file, but we can check for your after you PR the strings. -see: https://partner.steamgames.com/doc/features/enhancedrichpresence#4 for more info. +### See Also + +* [Steam's Documentation on Rich Presence Localization](https://partner.steamgames.com/doc/features/enhancedrichpresence#4) +* [Steam's Documentation on the file format used: VDF](https://developer.valvesoftware.com/wiki/KeyValues) + -The file format is VDF or "Valve Data Format", It is left in txt format to be easily editable in most user's editors. You can read about the format on Valve's wiki: https://developer.valvesoftware.com/wiki/KeyValues diff --git a/Steam/RichPresence.txt b/Steam/RichPresence.txt index 7405d41..b4d545a 100644 --- a/Steam/RichPresence.txt +++ b/Steam/RichPresence.txt @@ -5,7 +5,7 @@ "tokens" { "#StatusInPrivateWorld" "Is in a private world. (has %total_worlds% open)" - "#StatusInWorld" "Is in %current_world_name% with %current_world_users%.(has %total_worlds% open)" + "#StatusInWorld" "Is in %current_world_name% with %current_world_users% other users.(has %total_worlds% open)" } } "french" From da040554838e2f6353f5a7041b9dea265176f37b Mon Sep 17 00:00:00 2001 From: Nutcake Date: Wed, 1 May 2024 09:10:46 +0200 Subject: [PATCH 2/2] Add German translation to RichPresence.txt --- Steam/RichPresence.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Steam/RichPresence.txt b/Steam/RichPresence.txt index b4d545a..8613258 100644 --- a/Steam/RichPresence.txt +++ b/Steam/RichPresence.txt @@ -16,4 +16,12 @@ "#StatusInWorld" "I don't speak french this is just a placeholder to show how it should be formatted" } } -} \ No newline at end of file + "german" + { + "tokens" + { + "#StatusInPrivateWorld" "Ist in einer privaten Welt. (hat %total_worlds% geöffnet)" + "#StatusInWorld" "Ist in %current_world_name% mit %current_world_users% anderen Nutzern. (hat %total_worlds% geöffnet)" + } + } +}