Commit graph

1439 commits

Author SHA1 Message Date
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
heinrich5991 ee21fde231 Make default server start a little less noisy
Spam like the following is now hidden by the default config file:
```
[2022-06-16 01:55:22][console]: moderator access for 'left' is now enabled
[2022-06-16 01:55:22][console]: helper access for 'left' is now enabled
[2022-06-16 01:55:22][console]: user access for 'left' is now disabled
```

Also, the following were already converted to debug messages by #5904.
```
[2022-06-16 01:57:05][datafile]: loading data index=88 size=6159 uncompressed=875088
[2022-06-16 01:57:05][datafile]: loading data index=89 size=1481 uncompressed=972400
[2022-06-16 01:57:05][datafile]: loading data index=90 size=7199 uncompressed=972400
```
2023-07-24 23:43:44 +02:00
Robert Müller 69b5c62f04
Merge pull request #6895 from By622/patch-1
Update traditional_chinese.txt
2023-07-20 11:38:09 +00:00
By 19e36b6d04
Update traditional_chinese.txt 2023-07-20 16:51:08 +08:00
By ee0f3b4033
Update simplified_chinese.txt 2023-07-20 16:11:59 +08:00
By 8c2d2247b3
Update traditional_chinese.txt 2023-07-20 15:56:35 +08:00
Dennis Felsing 92cffee24e Fix copyright for kitty_x_ninja (fixes #6830) 2023-07-11 15:01:24 +02:00
Vlad 459bf94d40
Revert Наблюдать за change 2023-07-08 12:01:46 +03:00
Rafael Fontenelle 6bafafe832
Update translation credits in brazilian_portuguese.txt 2023-07-07 12:11:37 -03:00
Rafael Fontenelle b8e8538b1f
Update brazilian_portuguese.txt 2023-07-07 12:10:15 -03:00
heinrich5991 db707f24ae Add Galician flag from gu (overdue_) from Discord 2023-07-07 12:59:44 +02:00
heinrich5991 f4e85151cd Add Galician language (thanks to TormentaDeFacha and Mercadona) 2023-07-07 12:36:05 +02:00
Vlad 48af74f538 some fixes
`Наблюдать` -> `Наблюдение за`
`*новых упоминаний` -> `*упоминаний`
2023-07-03 20:51:44 +03:00
noKetchup 1801c43892
Update spanish.txt 2023-07-01 22:52:27 -04:00
Pavukoplov 4a6d21247a Update Belarusian translation 2023-07-02 00:58:20 +03:00
lolipodass 05ef4c7e03
Update russian.txt
Add missing translation and rewrite old to match new
2023-07-01 18:51:29 +03:00
Dennis Felsing 1261cf6bb1 Update German translations 2023-06-30 10:47:58 +02:00
Dennis Felsing c8269bf6c3 Update translations for upcoming 17.1 2023-06-30 09:50:21 +02:00
Dennis Felsing 87e46dbc65 Fix Ukrainian translation 2023-06-26 19:10:13 +02:00