mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Updated Language to 2.2.0
This commit is contained in:
parent
6e67c7532a
commit
c04b00d09d
@ -41,7 +41,7 @@
|
||||
"pocketmine/classloader": "^0.2.0",
|
||||
"pocketmine/color": "^0.2.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-pthreads": "^0.4.0",
|
||||
"pocketmine/math": "^0.4.0",
|
||||
|
14
composer.lock
generated
14
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "6a1fde030a0133e4ff23047afab5727e",
|
||||
"content-hash": "c6ea83d1ae49200c45ab58fcff2ae1ac",
|
||||
"packages": [
|
||||
{
|
||||
"name": "adhocore/json-comment",
|
||||
@ -535,16 +535,16 @@
|
||||
},
|
||||
{
|
||||
"name": "pocketmine/locale-data",
|
||||
"version": "2.1.25",
|
||||
"version": "2.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pmmp/Language.git",
|
||||
"reference": "0c810aaa24baffcccd57ca5bca16ca8f346c483c"
|
||||
"reference": "dc88ad618a482e55b7c9fec162257efa62a67d6f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/pmmp/Language/zipball/0c810aaa24baffcccd57ca5bca16ca8f346c483c",
|
||||
"reference": "0c810aaa24baffcccd57ca5bca16ca8f346c483c",
|
||||
"url": "https://api.github.com/repos/pmmp/Language/zipball/dc88ad618a482e55b7c9fec162257efa62a67d6f",
|
||||
"reference": "dc88ad618a482e55b7c9fec162257efa62a67d6f",
|
||||
"shasum": ""
|
||||
},
|
||||
"type": "library",
|
||||
@ -552,9 +552,9 @@
|
||||
"description": "Language resources used by PocketMine-MP",
|
||||
"support": {
|
||||
"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",
|
||||
|
@ -2131,6 +2131,14 @@ final class KnownTranslationFactory{
|
||||
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{
|
||||
return new Translatable(KnownTranslationKeys::SERVER_PROPERTIES, []);
|
||||
}
|
||||
@ -2155,6 +2163,10 @@ final class KnownTranslationFactory{
|
||||
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{
|
||||
return new Translatable(KnownTranslationKeys::WELCOME_TO_POCKETMINE, [
|
||||
0 => $param0,
|
||||
|
@ -443,12 +443,15 @@ final class KnownTranslationKeys{
|
||||
public const QUERY_WARNING1 = "query_warning1";
|
||||
public const QUERY_WARNING2 = "query_warning2";
|
||||
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 SETTING_UP_SERVER_NOW = "setting_up_server_now";
|
||||
public const SKIP_INSTALLER = "skip_installer";
|
||||
public const TILE_BED_NOSLEEP = "tile.bed.noSleep";
|
||||
public const TILE_BED_OCCUPIED = "tile.bed.occupied";
|
||||
public const TILE_BED_TOOFAR = "tile.bed.tooFar";
|
||||
public const VIEW_DISTANCE = "view_distance";
|
||||
public const WELCOME_TO_POCKETMINE = "welcome_to_pocketmine";
|
||||
public const WHITELIST_ENABLE = "whitelist_enable";
|
||||
public const WHITELIST_INFO = "whitelist_info";
|
||||
|
Loading…
x
Reference in New Issue
Block a user