Commit graph

1458 commits

Author SHA1 Message Date
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