Merge branch 'main' into jae-rich-presence-and-strings

This commit is contained in:
Jae Lo Presti 2024-05-01 11:19:27 +03:00 committed by GitHub
commit 8f89fee1f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 44 additions and 33 deletions

View file

@ -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

View file

@ -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"
@ -16,4 +16,12 @@
"#StatusInWorld" "Est dans %current_world_name% avec %current_world_users% utilisateurs. (à %total_worlds% mondes ouverts%)"
}
}
"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)"
}
}
}