2094 Commits

Author SHA1 Message Date
madez dbd2f8245a Iterate over downloaded po files 2026-11-17 16:39:09 +01:00
thaelina 1863fec1b2 Change from index access to json.get in wounds parser 2026-10-27 07:13:59 -05:00
Anton Simakov af0d17fca7 Merge pull request #88985 from kuutekitty/fault
cut wounds!
2026-10-19 19:34:49 +02:00
kuutekitty e1e08af19f wounds, abstracts, parser, doc, wound fixes
Update lang/string_extractor/parsers/wounds.py

fixes for translation

bleeding wounds

fix bleed wounds copy-from

parser

Co-authored-by: dobbry-vechur <dumbkevin@proton.me>
2026-10-18 08:20:17 +03:00
Eugene Lesnov 10f2a25813 Extract NPC temporary profession suffixes 2026-10-16 21:17:43 +03:00
Eugene Lesnov 92fdd66807 Extract missing translatable JSON fields 2026-10-16 21:17:43 +03:00
Kai Maier 57d2a3a010 - Moved the marloss and mycus stuff to EOC's
- Since the marloss stuff did a lot of stuff i had to add a few new affects to not change the old logic
- These include: u_add_addiction, u_lose_addiction, u_vomit (that one is evil :o ), u_fall_asleep, u_heal_all, u_hurt_all, u_set_hunger, u_mod_healthy, u_fil_stomach, u_marlossify (i went of the name already existing for that) and u_add_memorial
- I also added what they do to the documentation EFFECT_ON_CONDITION.md

- The reason for that is that the callback functions that triggered the effect on eating a seed or beery were not called anymore aka dead code

- I also saw that the EOC's for the addictions already existed and used those.
- This allowed me to remove the old / dead code from the iuse.h and iuse.cpp. Same thing in the item_factory.cpp

- The f_map_is_passible function in condition.cpp is supposed to make the spores skip walls like the old code does

- Ah yes and a few tests so i dont go insane testing it manually

- I am also very thankful (!) to the Magiclism and Mind over Matter people since i was able to use that as a reference
- Also whoever made the Docs is amazing too!

This took in fact 9 hours of my life... just for anyone wondering

Changes after feedback:

Fixed the janky broken map logic i created to keep the iuse rng logic
Removed the boolean parameter for vomit and marlossify since it did nothing
Moved the daily_health and hunger assertions to math like suggested
Fixed the eating order issue and now it uses a MARLOSS guard in the can_eat function like suggested
Renamed the NPC_AUTOCONSUME flag to MARLOSS to better reflect the actual usage
Adjustd my existing tests and also added for the order of eating and blacking out. This now uses the time_in_future to keep it in a safe order
Also added a test for the marloss refusal
Added tests in for the new hunger and daily heath math parsers
2026-09-24 19:10:29 +02:00
Procyonae af20495abc Update translation parser 2026-09-15 10:10:55 +01:00
Procyonae d4a0ef571c IMGUIfy Help Menu 2026-09-14 15:02:21 +01:00
Eugene Lesnov 3d5f444760 Extract translatable JSON strings (#88516) 2026-09-11 17:59:51 +02:00
ShnitzelX2 7209c74ff3 update parser with new dimension JSON types 2026-07-15 20:19:05 -04:00
Sab Pyrope bda4fdd3b8 Update tools 2026-06-30 14:18:23 +08:00
Uwuewsky 264113406c Check for conflicting plural forms of strings (#87702)
* Check for conflicting plural forms of strings

* Fix conflicting plural string forms.
2026-06-18 08:23:36 -05:00
Wind Shodow c8754f0fbb Merge pull request #87434 from Minecrafthyr/tr-patch
Fix some translation issues part 3
2026-06-10 00:16:58 -05:00
Wind Shodow 6f4cdc0a94 Fix some translation issues (again) (#87017)
* translation patch

* styled

* extract practice result EOCs

* Add blank line

* Allow translation ":%s" format for armor info

* maybe right

* correct some item_info

* astyle again

* update test
2026-05-24 21:32:08 -05:00
Wind Shodow 550bd10ad8 Fix some translation issues (#86916)
* translation-patch

* extract recipe steps

* add recipe step words to dictionary

* use translate_marker

* apply astyle

* add context to muzzle and base

* fix inventory ui mode translate
2026-05-12 14:55:12 +02:00
dumb-kevin 870b33372d Create pp_generator JSON type for post-process generators
- Added pp_generator registered via generic_factory
- Sub-generators read params from JSON instead of hardcoded locals
- Three generators: riot_damage, riot_damage_road, aftershock_ruin
- Dispatch in map::generate uses pp_generator_id lookups
- Fixed double-roll bug in add_fire chance evaluation
- Type-specific validation warns on ignored fields
2026-04-17 14:31:22 +04:00
Anton Simakov 4d3879be78 Create parse_shopkeeper_whitelist for string extractor (#86290)
* Create parse_shopkeeper_whitelist for string extractor

* fix syntax

* Fix

* Fix

* fix
2026-04-06 19:19:19 -05:00
dumb-kevin 3639f30243 Add string extractor for requirement display names
Register parse_requirement in the i18n string extractor so the
optional "name" field on requirement definitions gets picked up
for translation.
2026-03-23 21:08:55 +04:00
dumb-kevin 32afa182d9 Fix sub_body_part string extractor crash on copy-from objects 2026-02-24 13:09:17 +04:00
thaelina 0304026eef Support copy from in string extractor for overmap special (#85071)
* Support copy from in string extractor for overmap special

* Move check up to fail earlier if there is no overmaps

* Linter fix
2026-02-02 09:52:38 +01:00
Anton Simakov 7ae2d24251 Support fmtlib formatted translated strings with _fmt() (#84724)
Co-authored-by: Andrew Krieger <akrieger@users.noreply.github.com>
2026-01-17 20:32:27 +01:00
Maleclypse f88bce7023 Sort translation file (#84653) 2026-01-16 19:25:21 -06:00
Andrew Krieger d4b2e3988f Support fmtlib formatted translated strings with _fmt() 2026-01-16 09:49:21 -08:00
Sab Pyrope 5d48743e88 Sort translation file 2026-01-12 22:12:54 +08:00
Binrui Dong d498df94f6 Update Makefile clean target in lang/ directory 2026-01-01 12:42:53 +08:00
Binrui Dong d4fab502f1 Extract mutation activation messages for translation (#84312) 2025-12-24 20:30:03 -05:00
Standing-Storm e35042ca64 Add Mind Over Matter: Psychic Scream mod to the CDDA repository (#84212)
* Initial commit

* Remove Latent Psion and Limited Awakening

* Remove > on mod name

* Assign `dummy_parser` to profession_blacklist for translation

* Kick tests
2025-12-15 21:14:24 -06:00
Sab Pyrope b881962efa Exclude tags from translations 2025-11-27 18:48:24 +08:00
Sab Pyrope 412062e293 Exclude debug stuff/background traits 2025-11-27 18:47:40 +08:00
Anton Simakov cc1a41fe33 Make a code for prof migration (#83673)
* Make a code for prof migration

* Apply suggestions from code review
2025-11-11 00:53:41 -06:00
GuardianDll 25f8515ef1 Add effect migration code 2025-11-10 20:15:59 +01:00
Antti Riikonen 9bba8d7468 Placeholder .po and lang/mo folder to ensure .po-less builds succeed 2025-11-09 09:41:17 +00:00
Antti Riikonen 3f4b32df4f Delete translations from repo 2025-11-09 09:41:17 +00:00
Antti Riikonen 113d0f04af Pull translations in CI instead of using repo ones 2025-11-09 09:41:17 +00:00
kevingranade 41fb851819 Routine i18n updates on 08 November 2025 2025-11-08 02:18:09 +00:00
kevingranade 5909f69733 Routine i18n updates on 01 November 2025 2025-11-01 02:24:08 +00:00
Maleclypse 34e74e770a Merge pull request #83476 from Uwuewsky/update-xtr3
Update string extractor, part 3
2025-10-27 09:16:57 -05:00
Maleclypse 1c8baa43c8 Merge pull request #83470 from CleverRaven/i18n
Routine i18n updates on 25 October 2025
2025-10-26 02:13:41 -05:00
Sab Pyrope f3670c4e56 Update string extractor, part 3 2025-10-25 22:31:53 +08:00
Anton Simakov bd69c6a694 Make name and description of variants optional (#83434)
* make name and description of variants optional

* Apply suggestions from code review

Co-authored-by: ehughsbaird <44244083+ehughsbaird@users.noreply.github.com>

* update string exactor

* Please clang, please flake8

* Properly extend pride_flag

---------

Co-authored-by: ehughsbaird <44244083+ehughsbaird@users.noreply.github.com>
2025-10-24 23:21:54 -05:00
kevingranade 5a2325eeb7 Routine i18n updates on 25 October 2025 2025-10-25 02:20:24 +00:00
Sab Pyrope e026b9cc5d Update extractor part 2 2025-10-22 20:08:01 +08:00
Maleclypse e21b3b60e2 Update extractor p1 (#83371) 2025-10-21 22:04:53 -05:00
Sab Pyrope afe6956908 Update extractor p1 2025-10-18 16:40:50 +08:00
kevingranade af38238ee2 Routine i18n updates on 18 October 2025 2025-10-18 02:14:51 +00:00
Uwuewsky 7b53e4fc72 Merge pull request #83317 from Uwuewsky/xtr-subtypes
Few translation fixes
2025-10-15 15:37:54 -05:00
kevingranade fffb8b7a98 Routine i18n updates on 11 October 2025 2025-10-11 02:15:06 +00:00
Anton Simakov 3e51e785bf Merge pull request #83188 from ShnitzelX2/rename-region-settings
Rename region settings C++/JSON, add new region settings docs
2025-10-06 19:00:15 +02:00
Maleclypse 09818637cc Merge pull request #83193 from Uwuewsky/fix-tr
Fix translation
2025-10-05 22:46:28 -05:00