Commit graph

929 commits

Author SHA1 Message Date
def d77bf206dc Regenerate language files 2020-06-26 18:38:41 +02:00
def 2d6e56fec8 Translation fixes
- Code didn't work with newlines, get rid of them
- Some stylistic improvements
2020-06-26 18:34:50 +02:00
def 853d312436 Update polish translation by TortiLeq 2020-06-26 13:22:30 +02:00
sven 9d0bae9769 Fix unused translation 2020-06-26 02:49:35 +02:00
sven d6ba7863c8 Update Swedish translations 2020-06-25 18:22:20 +02:00
Nyte_BK201 6d11aeec81 Add 14.0 Simplified-Chinese translation; Edit few translation errors 2020-06-25 07:17:13 +08:00
def f51a443998 Merge remote-tracking branch 'edg-l/pr_show_spec'
Update x_spec with the more minimal version by HiRavie
Fix CMakeLists.txt
2020-06-24 09:55:59 +02:00
Edgar 3f476171f1
change to white and use colors 2020-06-22 18:43:49 +02:00
Edgar f3466e05ba
Show /spec tees with a dashed skin 2020-06-21 17:48:33 +02:00
def c64691db01 Update translation files
With:

  for i in data/languages/*.txt; do scripts/languages/copy_fix.py $i $i.$$.tmp --delete-unused --append-missing && mv $i.$$.tmp $i; done
2020-06-21 01:18:42 +02:00
bors[bot] 98b448ebcc
Merge #2247
2247: Thread safe SQL interaction r=def- a=Zwelf

This PR intends to make the database interaction thread safe and optimizes some SQL queries. This is still a WIP, but since it is a rather big PR I wanted to get feedback early on.

Benefits:

* remove race conditions leading to undefined behavior and potential crashes
* logging game related database results in teehistorian would be possible

Behavior change:

* /top5team prints ranks in reverse order when passing a negative number (like /top5, /top5points)
* Optimize SQL statements for /rank /teamrank /top5 /top5team /points /top5points
* /load without parameters doesn't pass the SQL error to the user (as most other functions)
* Simplify IScore interface
* Add UUID to /save table (update of database schema necessary):
  ```
  ALTER TABLE record_saves ADD SaveID varchar(64);
  ```
* /save immediately kills team and loads it again if the database insert fails.

still TBD:
* [x] saving (team) score when finishing
* [x] loading team save
* [x] loading initial time and birthday check
* [x] /map and random map votes
* [x] RFC: generate a passphrase (2-3 word) if save-code exists or no save-code is given making /save failures much more rare and save-codes more secure
* [x] clean up code (removing now unused structs, ordering of functions in IScore)

Co-authored-by: Zwelf <zwelf@strct.cc>
2020-06-17 19:35:45 +00:00
Zwelf ea31171873 Generate passphrase for save-code
* when none is given
* if the given save-code already exist
* if the database connection fails therefore it can't be checked if the save-code already exists

Using the short word list from eff:
https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases
2020-06-15 11:14:15 +02:00
def 2d0340b1cd Add Entites off sign to front layer (fixes #2261) 2020-06-14 16:01:32 +02:00
MikiGamer 95c419d684 BlockWorlds Entities 2020-05-19 16:49:28 +02:00
Rafael Fontenelle 9652ef46f1
Update brazilian_portuguese.txt 2019-12-18 02:51:47 -03:00
bors[bot] 9b8675b774
Merge #1991
1991: Translate the replay feature to german (+more) r=def- a=ChillerDragon



Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
2019-12-16 13:41:33 +00:00
清歌 72ac1a2cc8
Add/Optimize some simplified Chinese translations 2019-12-16 19:55:35 +08:00
ChillerDragon b36e010aed Translate the replay feature to german (+more) 2019-12-13 16:37:55 +01:00
Dennis Felsing 0498df2508 Update localizations (Thanks to Cellegen for report)
- Remove duplicate laser entries
- Update menus_settings.cpp comment for scripts
- Update instructions for scripts
- Run script to get updated localizations
2019-12-02 09:09:01 +01:00
ChillerDragon 96c9b1ab73 Rename rifle to laser
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
12pm 36df86fcd2 Add toggle keyboard shortcuts button to demo player
Demo shortcuts can be annoying if you have other binds on them.

Icons made by eNJi
2019-10-05 18:06:58 +02:00
def 6394924210 Replace browse_icons (by MiM) (fixes #1880) 2019-08-04 11:17:18 +02:00
Rafael Fontenelle 55ae5e2376
Update Brazilian Portuguese translation 2019-04-06 16:54:34 -03:00
def cc1ce8699b Update language files
Is this the proper way?

for i in data/languages/*.txt; do scripts/languages/copy_fix.py $i $i.tmp --delete-unused --append-missing --delete-empty && mv $i.tmp $i; done
2019-04-06 15:19:07 +02:00
Dennis Felsing 1b34283001 Switch verified icon to checkmark again (by MiM) 2019-03-22 07:14:30 +01:00
def 0535f31bea Remove unused norank icon from browse_icons.png 2019-03-19 21:54:47 +01:00
def 4f515bf67e Add symbol for official servers in server browser (fixes #1501)
- Also fix favorites checkbox when removing favorite
- Might need a nicer looking symbol
2019-03-19 07:46:50 +01:00
def 6701000931 Rename Score board to Scoreboard for consistency 2019-03-12 19:00:47 +01:00
def 9452851764 Update Hungarian translations (by Cellegen) 2018-12-24 11:03:21 +01:00
Ryozuki 62dbda204e fix entities clear and remove tele-activator from gametile as it doesn't make sense. 2018-11-04 15:50:56 +01:00
Ryozuki 007eb71d2a new tele-activator tiles (edited by Ravie, based on Sonix work) 2018-11-03 10:26:20 +01:00
Ryozuki c831b5e0c1 change tele-blocker to tele-activator 2018-11-03 10:26:18 +01:00
12pm 5a5dc45368 Update GL and LY flags 2018-10-22 18:31:13 +02:00
Ryozuki 183f335606 Improve teleblocker tile, thanks to Ravie 2018-10-22 18:25:08 +02:00
Dennis Felsing a09fa562be
Merge pull request #1314 from timakro/pr_editor_entities_gametypes
Allow choosing game layer entities for different gametypes, closes #1283
2018-10-07 23:02:20 +02:00
yangfl 6ead5e6f9c Update Chinese translations 2018-10-07 20:49:30 +08:00
Tim Schumacher 3d7ee89104
Add game layer entities images 2018-10-02 23:24:22 +02:00
Tim Schumacher fd52bc7a26
List all game layer entities images in directory 2018-10-02 23:08:17 +02:00
def d92b7ef6b7 newline 2018-08-25 19:40:18 +02:00
def 23874f8ac2 grass_main automapper fix by Ravie 2018-08-25 19:39:30 +02:00
Dennis Felsing 285b6f1ca7
Merge pull request #1222 from heinrich5991/pr_ddnet_langscripts
Move language scripts and make them callable from everywhere
2018-08-09 13:03:54 +02:00
Dennis Felsing eb1b4a8b74 Add back Vanilla maps for compatibility 2018-08-07 08:39:08 +02:00
Jupeyy d7bb03ee19 don't render all border all the time 2018-08-02 18:26:12 +02:00
heinrich5991 3a8cc43e13 Move language scripts to scripts/ 2018-07-25 00:34:02 +02:00
fokkonaut b8b97eb740 added skin prefix (#1218) 2018-07-24 17:26:39 +02:00
Ryozuki 50c84a60f7 add teleport gun/grenade/laser 2018-07-15 10:21:59 +02:00
bors[bot] 861746a641 Merge #1185
1185: Port lang scripts to Python3 r=heinrich5991 a=rffontenelle

Scripts for managing translations are currently available for Python 2. DDNet already uses Python 3, so it make sense IMO to have these scripts using this version as well.

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
2018-07-06 12:14:46 +00:00
Rafael Fontenelle 85a15fe442 Port lang scripts to Python3 2018-07-06 08:39:08 -03:00
Rafael Fontenelle 7697f3072b
Update Brazilian Portuguese translation 2018-07-04 07:38:51 -03:00
Edgar 1a83968df2
remove warning 2018-07-04 09:22:21 +02:00
Edgar 3ca0bd4f69
Update catalan translation 2018-07-04 09:20:19 +02:00
Rafael Fontenelle 099e9faafe Remove duplicated "please translate this" comment lines 2018-07-03 20:12:23 -03:00
Rafael Fontenelle 27a15d491a Update translations 2018-07-03 20:00:31 -03:00
Rafael Fontenelle b67d2247b9 Fix Simplified Chinese
The multiple occurrences of a key string was resulting in failure
when running analyze.py.
2018-07-03 19:53:21 -03:00
ChillerDragon ba842a9672 Add new freeze automap rule 2018-06-29 15:48:52 +02:00
Dennis Felsing bf772769ad Update portuguese.txt (by Rockus) 2018-04-06 10:46:35 +02:00
Dennis Felsing a01939a6f7 Update portuguese.txt (by Rockus) 2018-04-06 07:34:37 +02:00
David-U-Tang db75df4d92 Change the wrong translation of Simplified Chinese
“Manual” here should be translated to “手动” or "手动录制" but not "手册"。
2018-04-03 17:42:07 +03:00
Dennis Felsing ed33557a97
Merge pull request #1081 from Jupeyy/master
New buffer system and text renderer to support buffering of hud, text and map components, that are displayed ingame
2018-04-03 10:12:09 +02:00
Jupeyy e642b14c88 add icon font 2018-03-13 21:43:27 +01:00
Jupeyy 91dcab6645 add new shaders for quads,text and sprites 2018-03-13 21:42:05 +01:00
Jupeyy b911ee9044 calcualte texel offset on CPU not GPU 2018-03-13 21:41:37 +01:00
Ryozuki 1230f4e016 update catalan translation 2018-03-12 19:45:55 +01:00
Emir Marincic 4264652573
Fix UI break on portuguese
This very badly overflows, just "Information" should work fine in this context.
2018-02-22 22:03:20 +01:00
清歌 360e475d74
Change the wrong translation of Chinese
Countries should mean “国家” but not "次数"。
2018-02-04 19:03:53 +08:00
def 151da9af97 Remove Emojis 2018-01-25 20:03:18 +01:00
def 1e5985a4b3 Update portuguese translations by Rockus 2018-01-21 16:50:37 +01:00
Deeper b095c0b864
Update russian.txt 2018-01-20 01:12:11 +03:00
def ae0525a027 Update hungarian translation (by Cellegen) 2018-01-04 20:02:33 +01:00
bors[bot] 27722633a3 Merge #940
940: Put shaders into the data/ directory r=Learath2 a=heinrich5991

Simplifies a lot of things
2017-11-15 23:29:55 +00:00
heinrich5991 a3f544a73e Add missing EOL at end of file to shaders 2017-11-09 11:31:13 +01:00
heinrich5991 17d3f4afa4 Put shaders into the data/ directory
Simplifies a lot of things
2017-11-08 22:19:47 +01:00
Dennis Felsing 445b0de5ec Update German translation (by Stitch626) 2017-11-07 08:01:14 +01:00
bors[bot] 8227a725d4 Merge #932
932: Update German translation (27 Oct 2017 UTC) r=heinrich5991 a=Wuzzy2

Here's my update for the German translation of the client.

I've already ran the `copy_fix` update string thingie. Have fun! :-)
2017-10-31 23:30:35 +00:00
Wuzzy 0614c03db6 Update German translation (27 Oct 2017 UTC) 2017-10-31 14:52:44 +01:00
Michał 085203abe2 Add emoji spritesheet and python list 2017-10-28 09:08:17 +02:00
Dennis Felsing 648452ca60 Update hungarian.txt (by Cellegen) 2017-10-16 15:21:26 +02:00
Dennis Felsing 943decd627 Update hungarian.txt (by Cellegen) 2017-10-16 09:34:07 +02:00
nobody1 0bd51db7cd fng2 entities 2017-09-21 21:19:10 -05:00
def a9b80e8c11 Update to Portuguese translations (by RockuS) 2017-09-21 21:55:58 +02:00
Rafael Fontenelle c93189b61a Update Brazilian Portuguese translation 2017-09-06 09:56:53 -03:00
def 16f3ddc5a7 Show if user has rank on map in browser (+filter)
UI implementation by timakro
2017-08-30 21:34:04 +02:00
Deeper 098c9101cc Update russian.txt
Corrected errors in translation
2017-08-25 14:14:39 +03:00
def e7814635fe Add jungle_midground rules by hi_leute_gll 2017-08-15 17:22:31 +02:00
Tom 549f95c741 update simplified chinese language file 2017-08-01 09:07:49 +08:00
def 8d621dfc00 Add kitty skins (by Ravie + fuzzy ninja by patwo.*) 2017-07-25 00:11:37 +02:00
def 22c3c13828 Turns out we also need Intermediate Certificates... 2017-07-16 22:02:50 +02:00
def c9b871146b Also trust Let's Encrypt Root CA 2017-07-16 11:23:55 +02:00
def a8b2bb599f Update translations and translation scripts (fixes #595) 2017-07-09 09:09:14 +02:00
Dennis Felsing 7f407aa303 Remove useless comment 2017-03-14 08:46:24 +01:00
heinrich5991 609c8db0e4 Merge pull request #618 from necropotame/pr-palestine
Add palestinian flag (completed version)
2017-02-03 12:46:53 +01:00
heinrich5991 6b9178125b Merge pull request #593 from Echchouik/master
Add palestinian flag
2017-02-03 12:46:31 +01:00
necropotame 3c8f6938b7 Add palestinian flag in countryflags index 2017-02-03 11:23:24 +01:00
def 465b61fe92 Use Taiwanese flag for Traditional Chinese 2016-12-16 21:34:21 +01:00
Jhon Doe 9c2c2a329c Add palestinian flag 2016-11-25 14:40:15 +01:00
Dennis Felsing 45ccf033ad Fix german language file a bit 2016-11-15 13:53:46 +01:00
Dennis Felsing 2de9f9c279 Merge pull request #571 from PathosEthosLogos/patch-1
More Korean translations
2016-11-07 10:17:10 +01:00
BannZay e67fc795a5 Russian localization update 2016-11-07 04:59:42 +02:00
Dennis Felsing 40da13695a Add traditional_chinese to index 2016-11-04 08:33:29 +01:00
def 5074355591 Rename traditional_chinese language file, still missing in index 2016-11-03 22:19:57 +01:00