Add multiplayer turn sound notification (#6995)

* Refactor: Extract methods & reduce code duplication

* Refactor: Rename Sounds to SoundPlayer

* Refactor: Make UncivSound a data class

As far as I can see, UncivSoundConstants served no purpose

* Refactor: Reorder sounds

* Refactor: Split up ExtensionFunctions and move into own package

* Add multiplayer turn sound notification

* Refactor: Remove unnecessary double translation

* Refactor: Reduce code duplication

* Refactor: No if for boolean logic
This commit is contained in:
Timo T
2022-06-10 15:44:29 +02:00
committed by GitHub
parent 9918353c66
commit 3e6fc0e22a
182 changed files with 1730 additions and 972 deletions

View File

@ -602,12 +602,16 @@ Resign =
Are you sure you want to resign? =
You can only resign if it's your turn =
[civName] resigned and is now controlled by AI =
Last refresh: [time] [timeUnit] ago =
Current Turn: [civName] since [time] [timeUnit] ago =
Last refresh: [duration] ago =
Current Turn: [civName] since [duration] ago =
Seconds =
Minutes =
Hours =
Days =
[amount] Seconds =
[amount] Minutes =
[amount] Hours =
[amount] Days =
Server limit reached! Please wait for [time] seconds =
File could not be found on the multiplayer server =
Unhandled problem, [errorMessage] =
@ -1395,7 +1399,7 @@ Doing this will reset your current user ID to the clipboard contents - are you s
ID successfully set! =
Invalid ID! =
# Multiplayer options menu
# Multiplayer options tab
Enable multiplayer status button in singleplayer games =
Update status of currently played game every: =
@ -1406,7 +1410,12 @@ Check connection to server =
Awaiting response... =
Success! =
Failed! =
Sound notification for when it's your turn in your currently open game: =
Sound notification for when it's your turn in any other game: =
Notification [number] =
Chimes =
Choir =
[unit] Attack Sound =
# Mods