Updated Language to 2.2.0

This commit is contained in:
Dylan K. Taylor 2021-12-15 02:15:24 +00:00
parent 6e67c7532a
commit c04b00d09d
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
4 changed files with 23 additions and 8 deletions

View File

@ -41,7 +41,7 @@
"pocketmine/classloader": "^0.2.0", "pocketmine/classloader": "^0.2.0",
"pocketmine/color": "^0.2.0", "pocketmine/color": "^0.2.0",
"pocketmine/errorhandler": "^0.3.0", "pocketmine/errorhandler": "^0.3.0",
"pocketmine/locale-data": "^2.1.0", "pocketmine/locale-data": "^2.2.0",
"pocketmine/log": "^0.4.0", "pocketmine/log": "^0.4.0",
"pocketmine/log-pthreads": "^0.4.0", "pocketmine/log-pthreads": "^0.4.0",
"pocketmine/math": "^0.4.0", "pocketmine/math": "^0.4.0",

14
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "6a1fde030a0133e4ff23047afab5727e", "content-hash": "c6ea83d1ae49200c45ab58fcff2ae1ac",
"packages": [ "packages": [
{ {
"name": "adhocore/json-comment", "name": "adhocore/json-comment",
@ -535,16 +535,16 @@
}, },
{ {
"name": "pocketmine/locale-data", "name": "pocketmine/locale-data",
"version": "2.1.25", "version": "2.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pmmp/Language.git", "url": "https://github.com/pmmp/Language.git",
"reference": "0c810aaa24baffcccd57ca5bca16ca8f346c483c" "reference": "dc88ad618a482e55b7c9fec162257efa62a67d6f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pmmp/Language/zipball/0c810aaa24baffcccd57ca5bca16ca8f346c483c", "url": "https://api.github.com/repos/pmmp/Language/zipball/dc88ad618a482e55b7c9fec162257efa62a67d6f",
"reference": "0c810aaa24baffcccd57ca5bca16ca8f346c483c", "reference": "dc88ad618a482e55b7c9fec162257efa62a67d6f",
"shasum": "" "shasum": ""
}, },
"type": "library", "type": "library",
@ -552,9 +552,9 @@
"description": "Language resources used by PocketMine-MP", "description": "Language resources used by PocketMine-MP",
"support": { "support": {
"issues": "https://github.com/pmmp/Language/issues", "issues": "https://github.com/pmmp/Language/issues",
"source": "https://github.com/pmmp/Language/tree/2.1.25" "source": "https://github.com/pmmp/Language/tree/2.2.0"
}, },
"time": "2021-12-14T00:29:11+00:00" "time": "2021-12-15T02:01:24+00:00"
}, },
{ {
"name": "pocketmine/log", "name": "pocketmine/log",

View File

@ -2131,6 +2131,14 @@ final class KnownTranslationFactory{
return new Translatable(KnownTranslationKeys::SERVER_PORT, []); return new Translatable(KnownTranslationKeys::SERVER_PORT, []);
} }
public static function server_port_v4() : Translatable{
return new Translatable(KnownTranslationKeys::SERVER_PORT_V4, []);
}
public static function server_port_v6() : Translatable{
return new Translatable(KnownTranslationKeys::SERVER_PORT_V6, []);
}
public static function server_properties() : Translatable{ public static function server_properties() : Translatable{
return new Translatable(KnownTranslationKeys::SERVER_PROPERTIES, []); return new Translatable(KnownTranslationKeys::SERVER_PROPERTIES, []);
} }
@ -2155,6 +2163,10 @@ final class KnownTranslationFactory{
return new Translatable(KnownTranslationKeys::TILE_BED_TOOFAR, []); return new Translatable(KnownTranslationKeys::TILE_BED_TOOFAR, []);
} }
public static function view_distance() : Translatable{
return new Translatable(KnownTranslationKeys::VIEW_DISTANCE, []);
}
public static function welcome_to_pocketmine(Translatable|string $param0) : Translatable{ public static function welcome_to_pocketmine(Translatable|string $param0) : Translatable{
return new Translatable(KnownTranslationKeys::WELCOME_TO_POCKETMINE, [ return new Translatable(KnownTranslationKeys::WELCOME_TO_POCKETMINE, [
0 => $param0, 0 => $param0,

View File

@ -443,12 +443,15 @@ final class KnownTranslationKeys{
public const QUERY_WARNING1 = "query_warning1"; public const QUERY_WARNING1 = "query_warning1";
public const QUERY_WARNING2 = "query_warning2"; public const QUERY_WARNING2 = "query_warning2";
public const SERVER_PORT = "server_port"; public const SERVER_PORT = "server_port";
public const SERVER_PORT_V4 = "server_port_v4";
public const SERVER_PORT_V6 = "server_port_v6";
public const SERVER_PROPERTIES = "server_properties"; public const SERVER_PROPERTIES = "server_properties";
public const SETTING_UP_SERVER_NOW = "setting_up_server_now"; public const SETTING_UP_SERVER_NOW = "setting_up_server_now";
public const SKIP_INSTALLER = "skip_installer"; public const SKIP_INSTALLER = "skip_installer";
public const TILE_BED_NOSLEEP = "tile.bed.noSleep"; public const TILE_BED_NOSLEEP = "tile.bed.noSleep";
public const TILE_BED_OCCUPIED = "tile.bed.occupied"; public const TILE_BED_OCCUPIED = "tile.bed.occupied";
public const TILE_BED_TOOFAR = "tile.bed.tooFar"; public const TILE_BED_TOOFAR = "tile.bed.tooFar";
public const VIEW_DISTANCE = "view_distance";
public const WELCOME_TO_POCKETMINE = "welcome_to_pocketmine"; public const WELCOME_TO_POCKETMINE = "welcome_to_pocketmine";
public const WHITELIST_ENABLE = "whitelist_enable"; public const WHITELIST_ENABLE = "whitelist_enable";
public const WHITELIST_INFO = "whitelist_info"; public const WHITELIST_INFO = "whitelist_info";