Update I18N_zh.land and I18N_zh.properties
This commit is contained in:
52
README.md
52
README.md
@@ -1,5 +1,5 @@
|
||||
# Hello Minecraft! Launcher [](https://travis-ci.org/huanghongxun/HMCL)
|
||||
开源协议为GPL v3, 详情参见http://www.gnu.org/licenses/gpl.html
|
||||
GPL v3, see http://www.gnu.org/licenses/gpl.html
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -12,15 +12,47 @@ If you want to submit a pull request, there're some requirements:
|
||||
* Do NOT modify `gradle` files.
|
||||
|
||||
## Code
|
||||
* package `org.jackhuang.hellominecraft.util`: HMCL development utilities.
|
||||
* package `org.jackhuang.hellominecraft.launcher`: HMCL UI core.
|
||||
* package `org.jackhuang.hellominecraft.launcher.core`: HMCL game launcher core.
|
||||
* package `org.jackhuang.hellominecraft.launcher.api`: Nothing here!
|
||||
* package `org.jackhuang.hellominecraft.svrmgr`: All HMCSM codes.
|
||||
* Folder `HMCUtils/src/main/resources/org/jackhuang/hellominecraft/lang` contains language files.
|
||||
* package `HMCLCore/org.jackhuang.hmcl.util`: HMCL development utilities.
|
||||
* package `HMCL/org.jackhuang.hmcl`: HMCL UI core.
|
||||
* package `HMCLCore/org.jackhuang.hmcl.core`: HMCL game launcher core.
|
||||
* package `HMCLAPI(HMCL)/org.jackhuang.hmcl.api`: HMCL API, see API section.
|
||||
* Folder `HMCLCore/src/main/resources/org/jackhuang/hmcl/lang` contains language files.
|
||||
|
||||
## Pay Attention
|
||||
* When you do decide to modify this app, please and you MUST delete `org.jackhuang.hellominecraft.launcher.util.CrashReporter`, or errors your code cause will be sent to my server.
|
||||
* package `org.jackhuang.hellominecraft.util.logging`: repackaged Apache Log4j, Apache License 2.0.
|
||||
* When you do decide to modify this app, please and you MUST delete `HMCL/org.jackhuang.hmcl.util.CrashReporter`, or errors your code cause will be sent to my server.
|
||||
* package `org.jackhuang.hmcl.util.logging`: repackaged Apache Log4j, Apache License 2.0.
|
||||
* package `com.google.gson`: Apache License 2.0
|
||||
* package `org.jackhuang.hellominecraft.lookandfeel.ui`: contains some NimbusLAF's code belonging to Sun Microsystems under LGPL.
|
||||
* package `org.jackhuang.hmcl.laf.ui`: contains some NimbusLAF's code belonging to Sun Microsystems under LGPL.
|
||||
|
||||
## API
|
||||
HMCLAPI is based on Event bus. There are all events below.
|
||||
* org.jackhuang.hmcl.api.event
|
||||
- OutOfDateEvent - you can cancel checking new versions and upgrading by this event.
|
||||
* org.jackhuang.hmcl.api.event.config
|
||||
- AuthenticatorChangedEvent
|
||||
- DownloadTypeChangedEvent
|
||||
- ThemeChangedEvent
|
||||
* org.jackhuang.hmcl.api.event.launch
|
||||
- DecompressLibrariesEvent
|
||||
- DownloadLibrariesEvent
|
||||
- LaunchEvent
|
||||
- LaunchSucceededEvent
|
||||
- LaunchingStateChangedEvent
|
||||
- ProcessingLaunchOptionsEvent
|
||||
- ProcessingLoginResultEvent
|
||||
* org.jackhuang.hmcl.api.event.process
|
||||
- JVMLaunchFailedEvent
|
||||
- JavaProcessExitedAbnormallyEvent
|
||||
- JavaProcessStartingEvent
|
||||
- JavaProcessStoppedEvent
|
||||
* org.jackhuang.hmcl.api.event.version
|
||||
- LoadedOneVersionEvent
|
||||
- RefreshedVersionsEvent
|
||||
- RefreshingVersionsEvent
|
||||
|
||||
You can also add tabs to root window or add authenticators through IPlugin.
|
||||
|
||||
### Remember
|
||||
* A valid plugin will have a main class that implements `org.jackhuang.hmcl.api.IPlugin`. HMCL will search all jar files in `plugins` folder and load classes that implements IPlugin.
|
||||
* If you want to debug, use option: `--plugin=<Your IPlugin Class Name>` and add your jar to classpath.
|
||||
* You'd better only access `org.jackhuang.hmcl.api.*`, and other classes may change in different versions.
|
||||
|
||||
Reference in New Issue
Block a user