mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Added KnownTranslationFactory and use it in as many places as possible
this makes translation usage much more statically analysable. The only places this isn't used are: - places that prefix translations with colours (those are still a problem) - places where server/client translations don't match (e.g. gameMode.changed accepts different parameters in vanilla than in PM)
This commit is contained in:
@ -30,7 +30,7 @@ parameters:
|
||||
- src/PocketMine.php
|
||||
- build/make-release.php
|
||||
- build/server-phar.php
|
||||
- build/generate-known-translation-keys.php
|
||||
- build/generate-known-translation-apis.php
|
||||
paths:
|
||||
- src
|
||||
- tests/phpstan/rules
|
||||
|
Reference in New Issue
Block a user