ddnet/data/languages
bors[bot] ec75563dad
Merge #5109 #5110 #5112 #5115 #5117
5109: Only print zone messages when there is one r=heinrich5991 a=def-

```
src/game/server/entities/character.cpp: In member function ‘void CCharacter::SendZoneMsgs()’:
src/game/server/entities/character.cpp:2013:78: warning: the address of ‘CGameContext::m_aaZoneLeaveMsg’ will never be NULL [-Waddress]
 2013 |         if(m_TuneZoneOld >= 0 && GameServer()->m_aaZoneLeaveMsg[m_TuneZoneOld])
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from src/game/server/entities/character.cpp:7:
src/game/server/gamecontext.h:179:14: note: ‘CGameContext::m_aaZoneLeaveMsg’ declared here
  179 |         char m_aaZoneLeaveMsg[NUM_TUNEZONES][256];
      |              ^~~~~~~~~~~~~~~~
src/game/server/entities/character.cpp:2028:53: warning: the address of ‘CGameContext::m_aaZoneEnterMsg’ will never be NULL [-Waddress]
 2028 |         if(GameServer()->m_aaZoneEnterMsg[m_TuneZone])
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
src/game/server/gamecontext.h:178:14: note: ‘CGameContext::m_aaZoneEnterMsg’ declared here
  178 |         char m_aaZoneEnterMsg[NUM_TUNEZONES][256]; // 0 is used for switching from or to area without tunings
      |              ^~~~~~~~~~~~~~~~
```
<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


5110: Assert client id in SetSolo r=heinrich5991 a=def-

I could not find a way that an invalid client ID is used here, but
compiler warns anyway:
```
In member function ‘void CTeamsCore::SetSolo(int, bool)’,
    inlined from ‘void CCharacter::SetSolo(bool)’ at src/game/client/prediction/entities/character.cpp:29:22,
    inlined from ‘void CCharacter::HandleTiles(int)’ at src/game/client/prediction/entities/character.cpp:882:10:
src/game/teamscore.h:45:34: warning: array subscript [0, 63] is outside array bounds of ‘bool [64]’ [-Warray-bounds]
   45 |                 m_IsSolo[ClientID] = Value;
      |                 ~~~~~~~~~~~~~~~~~^
src/game/teamscore.h: In member function ‘void CCharacter::HandleTiles(int)’:
src/game/teamscore.h:27:14: note: while referencing ‘CTeamsCore::m_IsSolo’
   27 |         bool m_IsSolo[MAX_CLIENTS];
      |              ^~~~~~~~
```
<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


5112: Update traditional_chinese.txt r=def- a=Cheeser0613

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


5115: Update simplified_chinese.txt r=def- a=Cheeser0613

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


5117: Update tooltip text after changing language r=Jupeyy a=def-

Thanks to cheeser0613 for report

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: def <dennis@felsin9.de>
Co-authored-by: Cheeser0613 <54943099+Cheeser0613@users.noreply.github.com>
2022-05-14 11:15:03 +00:00
..
arabic.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
belarusian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
bosnian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
brazilian_portuguese.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
bulgarian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
catalan.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
chuvash.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
czech.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
danish.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
dutch.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
finnish.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
french.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
german.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
greek.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
hungarian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
index.txt Add chuvash and greek into language index 2021-06-19 20:24:26 +08:00
italian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
japanese.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
korean.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
kyrgyz.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
license.txt Translation fixes 2020-06-26 18:34:50 +02:00
norwegian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
persian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
polish.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
portuguese.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
romanian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
russian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
serbian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
serbian_cyrillic.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
simplified_chinese.txt Update simplified_chinese.txt 2022-05-14 18:36:35 +08:00
slovak.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
spanish.txt Merge #5104 2022-05-14 09:44:12 +00:00
swedish.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
traditional_chinese.txt Update traditional_chinese.txt 2022-05-14 18:21:19 +08:00
turkish.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00
ukrainian.txt Add translation string "Adjust the opacity..." 2022-05-14 11:05:32 +02:00