Commit Graph

261 Commits

Author SHA1 Message Date
Jakub Hanko
caeb22c26b
Implement Honey Gather (#1360)
* Implement Honey Gather

* Updated Ability Description

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-25 08:01:08 -05:00
Jannik Tappert
aaa96ebe0e
Adding the option to have named trainers be able to have a double battle together (#1318)
* WIP: Adding the option to have named trainers be able to have a double battle together

* The team generation now works.
Also changed it so the special pools are now seperatly defined so we can access it for the team generation of the doubles.

They will happen at a 33% chance.

TODO: Option for seperate double dialogue (because for example the dialogue for tate and liza dont make sense since they reference their other sibling not beeing there...)

* Obviously didnt mean to push changes to battle.ts... (I made this change for a test)

* The doubles now have victory and encounter dialogue (the dialogue itself isnt THAT good since english isnt my first language)

* Changed signatureSpecies for the new galar elite 4

* Added Marnie & Piers as a double

* ESLint

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-25 07:47:18 -05:00
神龟
79f69ddfe0
Update move.ts (#1359) 2024-05-25 05:43:42 -05:00
Jannik Tappert
34474fb10e
German Loc for the menu.ts change (#1354) 2024-05-25 04:36:14 -05:00
SnowCharm
5f7c593365
Update zh_CN ability.ts and move.ts (#1350)
* fix translation error in zh_CN ability.ts

* add translation for Zippy Zap

* fix translation to keep up with the current impl
2024-05-24 23:46:16 -04:00
Benjamin Odom
32fadf8cb6
Update menu.ts (#1349) 2024-05-24 21:46:21 -04:00
Douglas Marchione de Souza
0d6145263f
Acrobatics does not treat vitamins as held items (#718)
* Changed the move Acrobatics so it doesn't include
non-held items on it's damage calculations

* Changed exception so it includes within_party
items, and updated the move description

* Small typo e_e'

* Change Description of Move

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-24 15:49:23 -05:00
神龟
a9af2bd6ff
Update pokemon.ts (#1297) 2024-05-24 11:15:11 -05:00
神龟
34e9236874
Make zh_CN translation easier to understand (#1292)
* Update modifier-type.ts

* Update menu.ts

* Update tutorial.ts
2024-05-24 11:13:51 -05:00
GhostFlys
6168b77761
Update Chinese battle.ts and egg-list-ui-handler.ts (#1314)
* Update battle.ts

update some lines of translation
make some translation more official

* Update egg-list-ui-handler.ts

make text position more accurate
2024-05-24 10:25:57 -05:00
Greenlamp2
e2be6ba002
added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
Lugiad
79af115278
Few new lines up to be localized from in battle.ts locales (#1144)
* Update phases.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update phases.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update phases.ts
2024-05-23 13:22:09 -05:00
Greenlamp2
bac6c22973
ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224)
* eslint config + packages

* updated eslint config

* fix the issue eslint adding ;;;; at interfaces

* first round with eslint --fix .

* removed config for unused export

* Revert "first round with eslint --fix ."

This reverts commit 77a88e0895.

* removed config for camelCase

* for real this time, first round of eslint --fix .

* halfway to manual eslint fix

* eslint done

* added "how to setup" the hook to eslint --fix each new file before commit (if wanted)

* removed eslintrc config file duplicat

* fix human error + ignore build folder + merge overrides

* added curly brace style + eslint

* applied double quote linter rule

* added lefthook

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* github action to run eslint

* added node_modules to ignore eslint

* different action for typescript

* no need for different glob (default src)

* node 20

* node 20

* removed no longer needed install file

* remove hooks part from README

* eslint fixes

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-05-23 11:03:10 -04:00
iv
2240e09406
zh_tw localization (#1279)
* zh_tw translation

* update translation to newer version

* follow file naming convention
2024-05-23 07:01:22 -05:00
Tempoanon
8b4aa872d9
Update wrong Italian ability localizations and berry pouch (#1259) 2024-05-22 18:38:00 -05:00
Jannik Tappert
e66d7026d5
Added German Localization to Voucher.ts (#1249) 2024-05-22 14:40:53 -05:00
nedpfeiffer
b72b432ce3
Spanish translations (#1084)
* spanish translations

* shortened translation
2024-05-22 13:01:29 -05:00
Jannik Tappert
5eb4077f13
Fixed german localization of bad dreams (#1206) 2024-05-21 09:33:54 -05:00
Lugiad
6405bcab87
Correction to French ability-trigger.ts (#1200) 2024-05-21 08:53:06 -05:00
Sbug98
42e2be22bc
Implements bad dreams (#633)
* test commit

* de modified readme

* first implementation, needs testing with healer

* fixed beahviour if 2+ opponents are on field, also added message

* further fixed

* reset of overrides.ts before merge to main

* fixed grammar

Co-authored-by: Jonas Pinson <jonas.pinson@gmail.com>

* Implemented changes suggested by @bennybroseph and @TempsRay

* Added more docs to the class

* removed old comments

* fixed ability name in comments

* added translation and made message localized

* fixed ability name

* added missing bracket

---------

Co-authored-by: Jonas Pinson <jonas.pinson@gmail.com>
2024-05-21 02:26:01 -05:00
GhostFlys
60cbd636e6
update chinese conifg.ts and egg.ts (#1151)
* Update chinese config.ts

* Update chinese egg.ts
2024-05-20 02:18:01 -05:00
Madmadness65
2894c8bfc3 Revert "Update chinese config.ts (#1149)"
This reverts commit 8f8ee9127d.
2024-05-20 01:51:08 -05:00
GhostFlys
8f8ee9127d
Update chinese config.ts (#1149) 2024-05-20 01:44:00 -05:00
Somod1
a32f61fbf7
update zh_CN voucher locales (#1145)
* Add files via upload

* Update zh_CN voucher locales
2024-05-19 22:05:14 -05:00
GhostFlys
a4f4a37e5c
add egg.ts (#1138) 2024-05-19 17:27:17 -05:00
Lugiad
7216990d87
Locales for Voucher names + Voucher rewards (#1137)
* Update voucher.ts

* Update vouchers-ui-handler.ts

* Update i18n.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2024-05-19 17:25:52 -05:00
Jannik Tappert
13f2cafe5e
Female Variant Trainer Class Names set explicitly in definition of trainer classes (#1126)
* Set the name for the ace trainer female class

* Wrote out the name for all females trainer classes explicitly so they are always used.

Also made some changes (added missing classes) to languages
2024-05-19 14:52:48 -05:00
Lugiad
48313e0c4d
Adjustments to French modifier-type.ts (#1117)
* Adjustments to French modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-19 08:08:19 -05:00
Alessandro Bruzzese
8ccd8085db
Update Italian modifier-type.ts (#1094) 2024-05-18 09:56:20 -05:00
José Ricardo Fleury Oliveira
2682c2faa3
fix ptBR mint (#1092) 2024-05-18 09:55:31 -05:00
Rei1mu
ab64eb5d5b
update zh_CN translation (#1089) 2024-05-18 09:52:00 -05:00
Vaner42
49adedbc0f
Fixed the replace method that was not executed in check female version exists; And fixed pokefan key in localization; (#1086)
* Translate 'trainer' into  Simplified Chinese.

* fixed translate 'hau'、 ‘diantha’ 、‘leon’ into Simplified Chinese.

* Fixed the replace method that was not executed in check female version exists; And fixed pokefan key in localization;

---------

Co-authored-by: Junhan <junhan.wu@nexttao.com>
2024-05-18 09:47:59 -05:00
Jannik Tappert
93dee06e21
Larry and Lance now only need one localization key for both of their positions (because i just use setName and now they use the same key). This does not affect their title (#1053) 2024-05-17 21:04:14 -05:00
snnh
f3c4a3838b
Update and fix zh_CN translation (#1070)
* Update zh_CN translation

* fix zh_CN translation
2024-05-17 20:16:24 -05:00
Somod1
fa6ab29946
Update zh_CN translation (#1047)
* Add files via upload

* Update zh-CN  translation

Adjusted some Chinese translations and added line breaks to some item descriptions in modifier-type.ts

* Add files via upload
2024-05-17 13:36:52 -05:00
José Ricardo Fleury Oliveira
04a345a6cc
fixed master ball (#1043) 2024-05-17 12:19:38 -05:00
Alessandro Bruzzese
7935f28089
Update Italian battle.ts (#1042) 2024-05-17 12:18:03 -05:00
Alessandro Bruzzese
b55fb8db37
Update Italian battle-message-ui-handler.ts (#1040) 2024-05-17 12:02:51 -05:00
Alessandro Bruzzese
d2a8c4a150
Update Italian berry.ts (#1039) 2024-05-17 11:58:47 -05:00
Alessandro Bruzzese
a2299ee055
Update Italian trainers.ts (#1037) 2024-05-17 11:43:38 -05:00
José Ricardo Fleury Oliveira
8c21bdc0a1
New ptBR localization (#1028)
* Some translations (battle, modifier-type, trainer)

* More translations and fixes

* Minor fixes

* finished translations

* minor fix

* removed tera type
2024-05-17 10:39:13 -05:00
Jannik Tappert
09b820161f
Localized Weather, Berries and Splash Messages (#1034)
* Localized Weather, Berries and Splash Messages

* Berry messages are now correct
2024-05-17 10:21:11 -05:00
José Ricardo Fleury Oliveira
3cc9c93643
Type localization instead of TeraType (#981)
* Type localization, now type-boosting items descriptions are fully translated

* pokemon-stat refactoration

* reverted import changes
2024-05-17 09:43:11 -05:00
Somod1
0c660f599d
Add files via upload (#1022) 2024-05-17 05:23:44 -05:00
Lugiad
48c745deee
Update French trainers.ts (#1020) 2024-05-17 05:23:23 -05:00
Lugiad
b0fd32b1a4
Update French berry.ts (#1023) 2024-05-17 05:22:58 -05:00
Lugiad
96af567cd4
IV Scanner Results Translation (#990)
* Update battle-message-ui-handler.ts

* Update i18n.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update battle-message-ui-handler.ts

* German battle-message-ui-handler.ts

* Update config.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-17 05:21:35 -05:00
Laeticia PIERRE
a44c1587d4
Fix some fr (#1013)
* Fix some modifier-type fr

* Fix some trainers fr

* Fix DYNAMAX_BAND fr
2024-05-17 05:13:32 -05:00
FanHua
250142083a
Implements localization for BerryType (#1007) 2024-05-17 05:09:08 -05:00
Gerafique
61938869c1
Added German Translations for menu.ts (#960) 2024-05-17 04:56:11 -05:00
Benjamin Odom
0cd305d78a
Fix Trainer Localization Typos (#1010)
Took a look at some of the entries for trainers and adjusted accordingly. it looks like all of these trainer types were grabbed from an online source as a sort of future-proofing which is good, but resulted in some errors. Some of which have already been fixed, and some which are included here.

Also prevents an issue if there is a missing image and displays a warning in the console instead of a crash.
2024-05-17 00:01:35 -05:00
Vaner42
dd3d38b5d8
fixed translate 'hau'、 ‘diantha’ 、‘leon’ into Simplified Chinese. (#1009)
* Translate 'trainer' into  Simplified Chinese.

* fixed translate 'hau'、 ‘diantha’ 、‘leon’ into Simplified Chinese.

---------

Co-authored-by: Junhan <junhan.wu@nexttao.com>
2024-05-16 22:03:26 -05:00
Vaner42
e035e85811
Translate 'trainer' into Simplified Chinese. (#1006)
Co-authored-by: Junhan <junhan.wu@nexttao.com>
2024-05-16 21:42:12 -05:00
Lugiad
4d804d787c
Minor French modifier-type.ts edits (#1004)
* Minor correction French modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-16 20:14:09 -05:00
Lugiad
883524f441
Even more French typos in modifier-type.ts (#1002)
* Even more French typos in modifier-type.ts

* Update modifier-type.ts
2024-05-16 19:07:26 -05:00
Lugiad
45663ceae0
French typo corrections modifier-type.ts (#1001)
* French typo corrections modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-16 18:45:23 -05:00
Lugiad
78fffaad9d
French modifier-type.ts corrections and adjustments (#1000) 2024-05-16 18:31:09 -05:00
Lugiad
63e165d62a
Complete French translation modifier-type.ts (#999)
* Complete French translation modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts

* Update modifier-type.ts
2024-05-16 18:12:19 -05:00
José Ricardo Fleury Oliveira
3f571a366a
Organized localization configs (#976) 2024-05-16 17:52:01 -05:00
Flora
5406b68f9a
Added missing word (#997) 2024-05-16 17:35:51 -05:00
Laeticia PIERRE
d1431af65f
Fix zippyZap fr (#991) 2024-05-16 15:46:12 -05:00
Alessandro Bruzzese
192deae33e
Update italian modifier-type.ts (#989) 2024-05-16 15:39:09 -05:00
Lugiad
8a8a2e128a
Corrections to French ability.ts (#979) 2024-05-16 11:09:23 -05:00
Lugiad
8d83417cee
Update French trainers.ts (#970) 2024-05-16 06:55:00 -05:00
Lugiad
2aa9180745
Update French battle.ts (#969) 2024-05-16 06:54:39 -05:00
Jannik Tappert
364b19df5d
Added localisation for workers class to all languages but german (whi… (#968)
* Added localisation for workers class to all languages but german (which already had it...)

* Added missing entries to fr and br.

Now they all have the same keys.
2024-05-16 06:33:21 -05:00
Lugiad
0e84313862
Update French trainers.ts (#965) 2024-05-16 06:11:00 -05:00
Jannik Tappert
f1e97f3b38
Added difference between the "x want to fight" for double and single battle since in some languages it needs to be (like german) (#966) 2024-05-16 06:09:12 -05:00
Jannik Tappert
7f003d46ca
Added all double battle names as trainer classes. And updated/corrected errors. (in all languages but german i used the english version) (#963)
Also fixed that the rival does not have localized name
2024-05-16 05:43:31 -05:00
Lugiad
2a15e090ce
Update French splash-messages.ts (#961) 2024-05-16 05:20:50 -05:00
Alessandro Bruzzese
5fe69fff9c
Update italian egg.ts (#958) 2024-05-16 04:19:10 -05:00
Alessandro Bruzzese
3f40225d4b
Update italian weather.ts (#956) 2024-05-16 04:14:21 -05:00
Jannik Tappert
35afbf6e44
Added german egg localization (#955)
* Added german egg localization

* Changed pull back to english since there isnt enough space for a german word that makes sense and most if not all german players understand "pull"

* This comma was too much
2024-05-16 04:13:57 -05:00
Alessandro Bruzzese
88fab1dc5f
Update italian menu (#954) 2024-05-16 04:13:27 -05:00
Gerafique
36d0243122
Update translations menu-ui-handler.ts (#946)
changed logout
added Save_and_quit message
2024-05-16 04:12:58 -05:00
mercurius-00
e5cd95859d
Chinese localization supplement and fixes (#945)
Co-authored-by: hjh <j1441257360@163.com>
2024-05-16 04:10:11 -05:00
Lugiad
41a0e90ab0
Minor Adjustment to French pokemon-stat.ts (#864) 2024-05-16 04:06:52 -05:00
Jannik Tappert
b06190c4e7
Issue #745 localized trainer names trainer classes and titles (#752)
* Issue #745 - Added the option to localize titles, trainer names (for important trainers like elite 4, champs etc) and trainer classes.

- Also i already did the whole localization for german (sorry thats the only language is speak other then english...)
- Also renamed the trainer Type "student" to school_kid (because there apparently really is a trainer class called student since the gen 9 dlc)
- And i changed it so it makes sure that i18 only gets initalized once (it may be needed to initalize it before the loading phase so the elite 4 titles etc can be localized)

* Issue #745 - Removed stuff that wasnt meant for this branch

* Translation of French trainers.ts

* Translation of French trainers.ts

* Translation of French trainers.ts

* Fixed spelling on german translation

* Fixed name of Hex Maniac

* ADded missing "," that were lost in the merge

* For Trainer Classes that have a female and male variant the correct name is now choosen. (If a language has both).

Also added a safety net that if the female version does not exist it uses the one without the suffix

* Reverting override.ts

* Added ptBR trainers.ts (thanks to zé ricardo on discord)

* Updates Pokefan to reflect the correct english spelling (in all languages that still have the english defaults)

* Updated Rich_kid trainer typ to named correctly as "Rich Boy" in english and all non yet localized languages

* Added that the title will get made lower case so the rival is correctly set

* Reverted a formatting change that i didnt make intentionally

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-05-16 04:05:25 -05:00
0xLondre$
1254ca5c4c
New spanish translations (#729)
* New spanish translations

* KO translation

* hitResultSuperEffective IX gen
2024-05-16 03:52:26 -05:00
Alessandro Bruzzese
8dce9fa2f9
Added splash messages literals for all languages (#600)
* Added splash messages literals for all languages

* Removed debug code + fixed function casing

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-16 03:37:40 -05:00
Valentin Porchet
975d1ed562
feat: added localisation for eggs and french translations (#403)
* feat: added localisation for eggs and french translations

* fixes on french translations after review

---------

Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-16 03:31:50 -05:00
Jannik Tappert
482accda18
Added german modifier-type.ts localization (#949)
* Added german modifier-type.ts

* Fixed Text that was to long and added missing formatting

* Fixed a key that was wrong

* Changed never_melt_ice again. Now it the same as in other languages
2024-05-16 03:23:47 -05:00
Gerafique
0365ca8826
Added weather.ts GER translations (#953)
added translations for each weather-type
2024-05-16 03:22:04 -05:00
Gerafique
b30f73fb72
Update GER translations starter-select-ui-handler.ts (#952)
added uncaught
corrected ability
2024-05-16 03:18:01 -05:00
Madmadness65
fff2eda127 Add additional form change entries for Terapagos
It still can't switch from it's Terastal form to Stellar form yet, but this is in preparation for it.
2024-05-16 00:26:27 -05:00
FanHua
b82b8c31d1
Fixed the incorrect translation key for ‘Never-Melt Ice’ (#944)
* Fixed the issue with the incorrect translation key for ‘Never-Melt Ice’

* fix typo

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-16 00:18:06 -05:00
FanHua
b5ae8330a2
Implements localization for ModifierType (#887)
* Implements localization on ModifierType

* All languages' translation fallback to EN locale

* Fixed some typos

* Add missing QUICK_CLAW translation entry
2024-05-15 23:32:45 -05:00
Lugiad
a5bafe5c47
Corrections to French menu.ts (#932)
* Corrections to French menu.ts

* Corrections to French menu.ts
2024-05-15 16:43:28 -05:00
José Ricardo Fleury Oliveira
1b751dddec Update translations in pt_BR/menu.ts and pt_BR/weather.ts 2024-05-15 15:25:35 -04:00
José Ricardo Fleury Oliveira
04866e503a
Minor translating fixes and Save and Quit in ptBR (#928)
* Minor fixes in menu-ui-handler

* Minor fix in menu.ts
2024-05-15 15:24:47 -04:00
Lugiad
2778eb2651
French weather.ts corrections (#923)
* French weather.ts corrections

* French weather.ts corrections
2024-05-15 13:05:07 -05:00
Surinam
b8dff030aa
Weather & evolution i18n with french translations (#380)
Co-authored-by: Marius MICHAUD <marius@lacomstore.com>
2024-05-15 12:31:18 -05:00
Adrian Torrano
44c0d29c1d
Add missing translation for learning move (#879)
* add missing translation for learn move

* fix countdown german translation

* Fix countdown French translation

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-05-15 11:42:34 -05:00
Lugiad
afcffab90f
Added Gen names localizations in Starter Selection UI (+"Uncaught" translation in French) (#907)
* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Update starter-select-ui-handler.ts

* Update starter-select-ui-handler.ts

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Updated with recent pt BR edits
2024-05-15 10:57:48 -05:00
Lugiad
fcffa000c5 French translation Save and Quit 2024-05-15 11:45:44 -04:00
Flashfyre
ac2e78129e Add Save and Quit option to replace Return to Title 2024-05-15 11:42:18 -04:00
José Ricardo Fleury Oliveira
9b8af7ad71
Fixed the ptBR text in starter menu popping out of the info box... (#902)
* Fixes the ptBR text in starter menu popping out of the info box and added language personalization, changed some ptBR natures and ordered thw switch case in alphabetic order

* Small fix
2024-05-15 10:13:35 -05:00
Alessandro Bruzzese
3aeef50507
Update Italian starter-select-ui-handler.ts (#901) 2024-05-15 09:08:32 -05:00
karl-police
3ef08e433a Correct a translation due to misleading token 2024-05-15 09:58:45 -04:00
karl-police
6bed21770d
Recoil (#863) 2024-05-14 20:36:49 -05:00