Commit graph

1557 commits

Author SHA1 Message Date
Egehan 8ecb7415d3 Update data/languages/turkish.txt
Co-authored-by: Emir Marincic <learath2@gmail.com>
2024-03-04 10:48:26 +01:00
Egehan f3113e5136 Update turkish.txt 2024-03-04 10:48:26 +01:00
甘竹 Bamcane 57985cd8bd Update simplified_chinese.txt 2024-03-04 10:47:55 +01:00
noKetchup dde7b8a624
Update spanish.txt 2024-03-04 06:30:02 -03:00
Vladislav Gerasimov a68eacf500
Update russian.txt 2024-03-03 03:33:31 +03:00
Vladislav Gerasimov 9409d2e0f1
Update russian.txt 2024-03-03 03:11:51 +03:00
Dennis Felsing 885ae7ecae
Merge pull request #8049 from rffontenelle/patch-4
Update brazilian_portuguese.txt
2024-03-02 22:32:31 +00:00
Rafael Fontenelle 82b27c85b7
Update brazilian_portuguese.txt 2024-03-02 16:19:23 -03:00
furo 6ab99c4760 Update Swedish translations for 18.1 2024-03-02 18:22:06 +01:00
Dennis Felsing 66cc7b5e5b Update translations for upcoming 18.1 2024-03-02 14:09:33 +01:00
MilkeeyCat da01e73db5 fix: i had to use nano to add these spaces... 2024-02-22 23:54:42 +02:00
MilkeeyCat d40e4f5fd8 fix: it's not troll 2024-02-22 23:32:09 +02:00
Dennis Felsing 5ddf6aefa1
Merge pull request #7926 from dobrykafe/pr-hud-teamlock
Add team-lock indicator to HUD
2024-02-05 10:22:50 +00:00
dobrykafe 01d87707ef add team-lock indicator to hud 2024-02-05 02:26:48 +01:00
Robert Müller 7c9b1fbbb4 Add tabs for favorite communities, separate country/type filters
Support adding up to three communities as favorites in the server browser. Favorites can be changed with favorite buttons which are shown in the community filter on the Internet and Favorites tabs. The commands `add_favorite_community` and `remove_favorite_community` are added to change the favorite communities via the console and for saving the favorite communities to the config file. For the favorite communities, additional tabs using the communities' icons are shown in the server browser next to the Internet, LAN and Favorites tabs. Each community tab shows only the servers from the respective community, hence the community filters UI is not shown on the community tabs but only on the Internet and Favorites tabs. The country and type filters on community tabs cover only the countries and types from the respective community. Favorite communities are added from left to right. When more than three favorite communities are added, the oldest (leftmost) favorite community will be removed from the list.

When starting the client for the first time, i.e. with `cl_show_welcome 1`, the DDNet tab will be created as the only favorite community and selected initially. The community, country and type filters are unset when starting for the first time, so the Internet tab now shows all servers per default.

When starting with a `ui_page` for a favorite community that is not configured, the page is reset to the Internet tab. This also affects those who upgrade from versions with the old DDNet and KoG tabs. The server browser is now also correctly updated when changing `ui_page` via the console.

Track country and type filters for every community separately, to avoid filters resetting when switching between community tabs or changing the community filter. The commands `add_excluded_community`, `remove_excluded_community`, `add_excluded_country`, `remove_excluded_country`, `add_excluded_type` and `remove_excluded_type` are added to change the exclusion filters via the console and for saving the exclusion filters to the config file.

Render community filters above the toolbox (filter, info and friends) tabs when on the Internet and Favorites tab, so this setting is more visible and can be changed also when the other toolbox tabs are selected.

Add icon for the none community, based on the tee country flag color. This icon is hard-coded in the client, as the none community also is, so fetching the icon from the server would be inconvenient. Load community icons already when rendering the menu instead of only when rendering the server browser, so the icons are immediately available when using the start menu.

Find tutorial server by searching for community type "Tutorial" instead of searching for "(Tutorial)" in the server name.

Avoid cleaning favorite communities and filters when there are no communities, i.e. when the DDNet info failed to be loaded or does not contain any communities, to avoid losing all favorite communities and filters in this case.

Closes #7774.
2024-02-03 21:12:23 +01:00
noKetchup 752e837e2a
Update spanish.txt 2024-01-22 12:07:29 -03:00
Dennis Felsing b375d74083
Merge pull request #7808 from By622/patch-8
Update simplified_chinese.txt
2024-01-15 08:49:33 +00:00
Dennis Felsing a24d71eeed
Merge pull request #7807 from By622/patch-7
Update traditional_chinese.txt
2024-01-15 08:49:31 +00:00
Dennis Felsing 93d5ea5c7c
Merge pull request #7806 from rffontenelle/patch-3
Update brazilian_portuguese.txt
2024-01-15 08:49:29 +00:00
By 97360df89d
Update simplified_chinese.txt 2024-01-15 16:12:51 +08:00
By 9b2284da88
Update traditional_chinese.txt 2024-01-15 16:11:06 +08:00
Rafael Fontenelle 94b8b5dd10
Update brazilian_portuguese.txt 2024-01-15 00:42:16 -03:00
Vladislav Gerasimov 6e3e439983
Update russian.txt 2024-01-15 02:33:32 +03:00
furo c7fb6dda7f Update Swedish translations for 18.0 2024-01-14 18:54:55 +01:00
Dennis Felsing 835c759ae0 Update German translations 2024-01-14 12:12:30 +01:00
Dennis Felsing a9b0787623 Update translations for upcoming DDNet 18.0 2024-01-13 23:58:09 +01:00
Corantin H ffd7776147 Add cursor types and use resize cursor for dragbars 2023-12-28 18:35:23 +01:00
Jupeyy caecb31751 Fix multi sampling accuracy 2023-12-17 10:39:28 +01:00
Rafael Fontenelle 40bfbf2dd0
Update brazilian_portuguese.txt 2023-12-05 17:01:40 -03:00
heinrich5991 21cfb01ec3
Merge pull request #7515 from furo321/racefinish-message
Add finish info messages from 0.7
2023-12-01 16:13:06 +00:00
Valentin Bashkirov a55a69620e updated russian.txt 2023-11-27 14:14:57 +01:00
furo 2cb948a57b Add finish info messages. 2023-11-26 17:29:40 +01:00
Dennis Felsing ecf2f594c6
Merge pull request #7541 from By622/patch-5
Update traditional_chinese.txt
2023-11-25 09:54:32 +00:00
By 91a875bede
Update simplified_chinese.txt 2023-11-25 16:28:39 +08:00
By 8eab64f3f1
Update traditional_chinese.txt 2023-11-25 16:26:38 +08:00
ChillerDragon f70c288d07 Check red tele and dragger in CI 2023-11-17 21:49:31 +01:00
noKetchup 3f725509f0
Update spanish.txt 2023-11-15 19:31:27 -03:00
Pavukoplov c97c39ad1e Update Belarusian translation for 17.4 2023-11-14 13:03:58 +03:00
ByFox 361f3121a9 Update russian.txt 2023-11-14 13:29:42 +05:00
Dennis Felsing 76d27e734a
Merge pull request #7444 from Chairn/demo_filename
Update string when cutting demo to indicate file name
2023-11-12 22:45:26 +00:00
Chairn c6f78ea3c3 Update string when cutting demo to indicate file name 2023-11-12 23:29:32 +01:00
Dennis Felsing 34fb10fcb4
Merge pull request #7443 from JuraIBOZO/patch-7
Update ukrainian.txt 17.4
2023-11-12 21:51:54 +00:00
lolipodass 31e1d41dfa
Update russian.txt 2023-11-12 18:57:58 +03:00
JuraIBOZO c5da8a5965
Update ukrainian.txt 2023-11-12 15:13:29 +02:00
furo 7b34024289 Update Swedish translations for 17.4 2023-11-12 11:31:44 +01:00
Robert Müller 5ef0e77145
Merge pull request #7437 from def-/pr-17.4-translations
Translations for upcoming 17.4 (including updated German)
2023-11-12 09:57:31 +00:00
Dennis Felsing 44b97ce6c1 Translations for upcoming 17.4 (including updated German) 2023-11-12 00:01:19 +01:00
Jupeyy 639a8c3c8b Switch to a fragment shader solution for border tile rendering 2023-11-04 14:51:39 +01:00
furo 5512049946 Remove unused commands from autoexec cfg 2023-10-01 11:42:58 +02:00
Rafael Fontenelle 3023d0b100
Update brazilian_portuguese.txt 2023-09-25 14:23:46 -03:00
Pavukoplov 318fe09e94 Update Belarusian translation 2023-09-22 18:19:03 +03:00
h-kaan f88136f949 Update turkish.txt 2023-09-21 21:05:18 +03:00
lolipodass 90691e636e
Update russian.txt 2023-09-21 19:12:10 +03:00
lolipodass 6d754bebc0
Update russian.txt
add missing translations
2023-09-21 18:54:03 +03:00
Dennis Felsing 5033f6c440
Merge pull request #7219 from furo321/fix-winter-theme
Fix winter theme
2023-09-20 13:39:17 +00:00
furo 88ffaecee8 Fix winter theme 2023-09-20 15:04:38 +02:00
+KZ 716eccfed3
Update spanish.txt 2023-09-18 14:02:04 -03:00
Dennis Felsing 4c97d46dd5 Fix Ukrainian translation 2023-09-17 22:27:37 +02:00
JuraIBOZO a4101a751b
Merge branch 'master' into Translation 2023-09-17 22:22:11 +03:00
JuraIBOZO 366c15da2d
Update Ukrainian translations for 17.3 2023-09-17 22:12:06 +03:00
furo c23096f7ad Update swedish translations for 17.3 2023-09-17 19:59:13 +02:00
Dennis Felsing 33cae23768 Update translations for upcoming 17.3 2023-09-17 18:20:34 +02:00
Robert Müller 6440cdcf91 Fix country flags MW and MQ not being loaded anymore
These PNG files were using an indexed color palette, which is currently not supported, although most image optimizer tools will try to use it if possible.

Closes #7121.
2023-09-13 18:56:10 +02:00
louis 2e24e743d3
additional optimization 2023-09-11 17:23:39 -04:00
louis be74fed25b replace unsymmetrical default skin with fixed+optimized version
replace unsymmetrical default skin
2023-09-11 16:55:47 -04:00
furo 50d0efb410 Add "render cut to demo" 2023-09-06 21:03:51 +02:00
Robert Müller 16bc489afb Move editor automap .rules files to separate subfolder
For better organization of the `data/editor` folder.
2023-09-02 11:41:46 +02:00
Robert Müller 8001b6fde9 Update displayed country codes of flags
Update the country codes which are displayed for the flags in the UI. This only changes the names which are displayed in the UI but not how flags are communicated between server and client.

- Use ISO 3166-2 subdivision codes:
   - England: XEN → GB-ENG
   - Northern Ireland: XNI → GB-NIR
   - Scotland: XSC → GB-SCT
   - Wales: XWA → GB-WLS
   - Catalonia: XCA → ES-CT
   - Galicia: XGL → ES-GA
- Use ISO 3166/MA exceptional reservation code:
   - European Union: XEU → EU
- Move South Sudan (SS) to official codes, as it was officially assigned in the year 2011.

Closes #7071.
2023-09-01 21:55:47 +02:00
Robert Müller c139ae0188
Merge pull request #7106 from furo321/pr_update_swedish_translations
Update Swedish translations
2023-08-31 20:33:34 +02:00
Dennis Felsing ba09a3a30d Update country flags by JuralBOZO (fixes #7090) 2023-08-31 11:15:14 +02:00
Dennis Felsing 693fec28ff
Merge pull request #7108 from h-kaan/update-turkish
Update turkish.txt
2023-08-30 17:57:31 +00:00
Kaan cf3f90f62d
add the modification date 2023-08-30 01:53:11 +03:00
h-kaan ca306b9007 kesim -> kesit & improvements 2023-08-30 01:43:50 +03:00
furo 38ad2e956a Update Swedish Translations 2023-08-29 23:49:03 +02:00
Robert Müller 669f384535
Update data/languages/serbian.txt 2023-08-27 11:25:16 +02:00
JuraIBOZO b4e0e49ccb
Update serbian.txt
Update Serbian translation (by Jurai!)
2023-08-27 12:02:55 +03:00
Dennis Felsing 90cf635a0e
Merge pull request #7072 from Robyt3/Ukrainian-Update
Update Ukrainian translation (by Jurai!)
2023-08-26 18:36:44 +00:00
Robert Müller 859efe5e95 Update Serbian translation (by Jurai!) 2023-08-26 17:14:10 +02:00
Robert Müller 9733cff7e8 Update Ukrainian translation (by Jurai!) 2023-08-26 16:48:26 +02:00
hamdikaan cfcde2d115 small fix & edit 2023-08-23 18:33:56 +03:00
hamdikaan 37fc267720 turkish translation 2023-08-23 17:18:59 +03:00
Dennis Felsing f4d3c04168 fix by JuralBOZO 2023-08-20 01:06:00 +02:00
Dennis Felsing 857e954d4c More Ukrainian fixes by Jurai! 2023-08-18 21:23:23 +02:00
Dennis Felsing a953481cdf Fix Ukrainian translation (by Jurai!) 2023-08-18 21:12:05 +02:00
Rafael Fontenelle 92a364ebac
Update brazilian_portuguese.txt 2023-08-14 14:18:22 -03:00
Samuele Radici 5d4bd3ce9f
Update italian.txt 2023-08-14 11:57:48 +02:00
Samuele Radici 27e3c9fa03
Update italian.txt 2023-08-12 18:54:23 +02:00
Dennis Felsing b572310a34
Merge pull request #6996 from By622/patch-3
Update traditional_chinese.txt
2023-08-11 21:09:14 +00:00
Dennis Felsing a8dae6c90b
Merge pull request #6998 from By622/patch-4
Update simplified_chinese.txt
2023-08-11 21:09:12 +00:00
noKetchup 68acdf8850
Update spanish.txt 2023-08-11 15:40:42 -04:00
By edaafbfff0
Update simplified_chinese.txt 2023-08-11 17:06:09 +08:00
By 4c63ba354a
Update traditional_chinese.txt 2023-08-11 16:59:44 +08:00
lolipodass aa64829b19
Update russian.txt
add missing translation and made some of the translations shorter so they wouldn't come out of the blocks.
2023-08-07 14:32:26 +03:00
Dennis Felsing 0fa06b0165 Update translations for upcoming 17.2 2023-08-06 15:35:36 +02:00
Edgar 8c49c2ea4b
Merge pull request #6952 from Robyt3/TextRender-Font-Index-File
Add font index, support font family variants depending on language
2023-08-05 15:49:12 +00:00
Robert Müller d642abd722 Add font index, support font family variants depending on language
Add `fonts/index.json` which specifies:

- List of all font files that should be loaded (filenames).
- Default font (specified by family name or by family and style name).
- Font variants for different languages, using the name of the language file as key.
- Fallback fonts.
- Icon font.

There are characters (e.g. all in `刃直海角骨入`) that look different depending on the language of the content being Japanese, Simplified Chinese, Traditional Chinese and Hangul, because Unicode uses the same codepoint for characters regardless of the language. To render these characters correctly, the active variant font is switched depending on the selected language.

The `ITextRender` interface is changed so the current language variant can be set using `SetFontLanguageVariant` and the default and icon fonts can be toggled using `SetFontPreset`. The class `CFont` is removed entirely.

The text render is restructured: The font faces and font atlas are now managed by a separate class `CGlyphMap` like on upstream. As the text fill and outline textures always have the same size, the texture skyline only needs to be stored once and free positions in the atlas only need to be calculated once for each glyph instead of separately for the fill and outline textures.

The font files and their licenses are also updated:

- Update Source Han Sans to version 2.001.
- Update Glow Sans Japanese Compressed to version 0.93.
- Update Deja Vu Sans to version 2.37.
- Update Font Awesome icons font to March 2023 version.

Closes #6881.
2023-08-01 19:30:25 +02:00
Edgar 27e846f8db
Merge pull request #5434 from heinrich5991/pr_ddnet_loglevels
Add separate log levels for each output
2023-08-01 09:20:06 +00:00
Robert Müller 210a2a8bb9
Merge pull request #6948 from Vy0x2/pr-fix-localization-malformed
Fix malformed lines in some translation files
2023-07-29 17:49:24 +00:00
devdenn 4ea46f2df9 Fix malformed lines in some translation files 2023-07-29 19:13:24 +02:00
ChillerDragon ab9f6e02c6 Update grass_doodads_0.7.png to match upstream
Was updated 5 years ago in

593468a16d (diff-d570e380a82098e31392ddf78d5183a71925031927420f88914d08c6ae053196)

And reordered in 2018

aa65feaff5
2023-07-29 14:02:28 +02:00