5c2ed210fc
Merge branch 'next-minor' into next-major
2023-01-14 20:53:41 +00:00
1bbe053848
Language: fixed another couple of hardcoded translation keys
2023-01-13 17:52:20 +00:00
8909aa6a18
Merge branch 'next-minor' into next-major
2023-01-13 17:29:25 +00:00
a9f06fc5f4
Replaced hardcoded record.nowPlaying with KnownTranslationKeys
2023-01-13 17:27:57 +00:00
ecd8f151f1
Merge branch 'next-minor' into next-major
2023-01-12 22:08:25 +00:00
4df1f7f502
Updated composer dependencies (next-minor)
2023-01-12 19:03:55 +00:00
81ca0c8fbf
Language: do not parse translations if the text was a plain key
...
this unintentionally allowed translations to reference other translations 1 level deep, which is not desired behaviour.
This also improves performance for the cases where formatting isn't used.
2023-01-08 20:56:12 +00:00
d4b8c47a65
Language: document poorly-named function parseTranslation()
2023-01-08 16:46:25 +00:00
c2918709a3
Merge branch 'next-minor' into next-major
2023-01-06 01:59:04 +00:00
172ce659b8
Use str_starts_with, str_ends_with and str_contains instead of strpos ( #5485 )
2022-12-31 13:02:23 +00:00
7ac6bd79a9
Localized remaining disconnection screens (except one or two that should never actually happen)
2022-12-27 20:05:59 +00:00
d03caafc2b
Merge branch 'next-minor' into next-major
2022-11-25 15:00:39 +00:00
641d35a30f
Updated pocketmine/locale-data to get new translations
2022-11-25 14:59:58 +00:00
b6982a84ef
Merge branch 'next-minor' into next-major
2022-11-25 14:52:56 +00:00
cca22046ab
Updated pocketmine/locale-data
2022-11-15 20:21:39 +00:00
d19f0bf7be
Language: added getAll()
2022-11-15 15:27:14 +00:00
fba4895a17
Merge branch 'next-minor' into next-major
2022-10-31 19:11:39 +00:00
b6f6671a81
Merge branch 'stable' into next-minor
2022-10-31 15:34:24 +00:00
6da467b142
Updated composer dependencies
2022-10-31 15:27:56 +00:00
7bcc663b60
Migrate core code to using symfony/filesystem
...
webmozart/path-util is retained for plugin compatibility, but is dropped in 5.0
2022-10-14 21:51:29 +01:00
f88ae93897
BC break: Replaced webmozart/path-util with symfony/filesystem, closes #5332
2022-10-13 16:43:36 +01:00
f80ffd8de0
Merge branch 'next-minor' into next-major
2022-09-15 13:59:21 +01:00
222049927a
Language: fixed bogus callable reference in array_map
...
for some reason phpstan only reports this under checkImplicitMixed.
2022-09-02 19:15:05 +01:00
9e0b4621be
Fixed languages-not-found bug ( #5272 )
...
* Fixed languages-not-found bug
* Update Language.php
Co-authored-by: Dylan T <odigiman@gmail.com >
2022-09-02 03:51:31 +01:00
456439566b
Language: treat empty translation files the same as missing ones
2022-08-31 01:53:15 +01:00
aa9f8781ff
Merge branch 'next-minor' into next-major
2022-06-07 19:56:26 +01:00
083a35f970
Modernize property type declarations
2022-06-04 18:16:32 +01:00
38d6284671
Use PHP-CS-Fixer to enforce file header presence
2022-06-04 17:34:49 +01:00
3b7e274c34
Server: localize 'forcing server shutdown' message
2022-05-11 14:54:29 +01:00
212c94ce98
PluginManager: Log an error message when a plugin disables itself during enabling
2022-05-11 13:07:45 +01:00
3353a00641
List command aliases in /help <commandName>
2022-04-10 21:32:46 +01:00
ac3a6033b9
PluginManager: account for possible abstract main classes
...
idk why anyone does this, but it shouldn't cause a core crash ...
2022-04-01 23:42:37 +01:00
4e956d5d1d
Replace remaining disallowed operators
2022-01-20 19:23:19 +00:00
8532e9c8e0
Merge remote-tracking branch 'origin/stable' into next-minor
2022-01-04 14:38:15 +00:00
0d595e4324
Update Language dependency
2022-01-04 00:47:04 +00:00
57e1509c3a
Updated translation APIs
2021-12-15 03:24:13 +00:00
c04b00d09d
Updated Language to 2.2.0
2021-12-15 02:15:24 +00:00
8a94aa10a4
Merge branch 'stable' into next-minor
2021-12-14 00:34:54 +00:00
c334e6dec7
Updated locale-data dependency
2021-12-14 00:31:44 +00:00
e06eefeab0
build/generate-known-translation-apis: fixed incorrect positional parameter order
...
closes #4639
2021-12-11 21:28:52 +00:00
ede07c4314
Mark KnownTranslationKeys and KnownTranslationFactory as @internal
2021-12-11 21:24:18 +00:00
889d048ca3
Make use of Utils::assumeNotFalse() in a bunch of places
...
I've stuck to only doing this in the places where I'm sure we should never get false back. Other places I'm less sure of (and I found more bugs along the way).
2021-12-08 19:39:04 +00:00
e4754ab029
PluginBase: Improved error messages for commands containing illegal characters
2021-11-12 00:16:53 +00:00
6b316dc29a
PluginManager: Make declaration of duplicate permissions a load error
2021-11-06 17:05:37 +00:00
3c754b079c
Move resources/locale to Composer dependency
...
all remaining submodules are now non-essential to running a server.
They are also versioned and updates can be done automatically using 'composer update'.
Finally, we can also put an end to the issue of translations being rendered incorrectly or being missing due to outdated submodules.
2021-11-06 00:32:58 +00:00
7e4be29fc4
Gracefully force-shutdown on failure to start RakLib
...
this now won't generate a crashdump.
2021-11-02 13:51:01 +00:00
aa408c9a97
Fixed 9646128d01
2021-10-20 21:54:57 +01:00
34f54750c8
Added support for creation-time validation of generator options, closes #2717
2021-10-11 17:37:47 +01:00
e1ee320c8d
PluginManager: Localize plugin loading error messages
2021-10-11 00:58:33 +01:00
ccc881ee58
Switch to custom permission denied message
...
closes #4494
2021-10-09 00:57:15 +01:00