english i18n
This commit is contained in:
@@ -32,7 +32,7 @@ public final class Locales {
|
|||||||
/**
|
/**
|
||||||
* English
|
* English
|
||||||
*/
|
*/
|
||||||
public static final SupportedLocale EN = new SupportedLocale(Locale.ENGLISH);
|
public static final SupportedLocale EN = new SupportedLocale(Locale.ROOT);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Traditional Chinese
|
* Traditional Chinese
|
||||||
|
|||||||
@@ -126,9 +126,12 @@ public final class LeftPaneController {
|
|||||||
ripplerContainer.setOnMouseClicked(e -> {
|
ripplerContainer.setOnMouseClicked(e -> {
|
||||||
// clean selected property
|
// clean selected property
|
||||||
for (Node node : profilePane.getChildren())
|
for (Node node : profilePane.getChildren())
|
||||||
if (node instanceof RipplerContainer)
|
if (node instanceof RipplerContainer) {
|
||||||
((RipplerContainer) node).setSelected(false);
|
((RipplerContainer) node).setSelected(false);
|
||||||
|
((VersionListItem) ((RipplerContainer) node).getContainer()).setVersionName("");
|
||||||
|
}
|
||||||
ripplerContainer.setSelected(true);
|
ripplerContainer.setSelected(true);
|
||||||
|
item.setVersionName(Main.i18n("profile.selected"));
|
||||||
Settings.INSTANCE.setSelectedProfile(profile);
|
Settings.INSTANCE.setSelectedProfile(profile);
|
||||||
});
|
});
|
||||||
ripplerContainer.getProperties().put("profile", new Pair<>(profile.getName(), item));
|
ripplerContainer.getProperties().put("profile", new Pair<>(profile.getName(), item));
|
||||||
|
|||||||
@@ -545,16 +545,17 @@
|
|||||||
* *
|
* *
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
.jfx-list-cell {
|
|
||||||
-fx-background-insets: 0.0;
|
|
||||||
-fx-text-fill: BLACK;
|
|
||||||
}
|
|
||||||
|
|
||||||
.jfx-list-cell:odd,
|
.jfx-list-cell:odd,
|
||||||
.jfx-list-cell:even {
|
.jfx-list-cell:even {
|
||||||
-fx-background-color: WHITE;
|
-fx-background-color: WHITE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list-cell:selected, .jfx-list-cell:selected {
|
||||||
|
-fx-background-insets: 0.0;
|
||||||
|
-fx-text-fill: BLACK;
|
||||||
|
-fx-background-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
.jfx-list-cell:filled:hover,
|
.jfx-list-cell:filled:hover,
|
||||||
.jfx-list-cell:selected .label {
|
.jfx-list-cell:selected .label {
|
||||||
-fx-text-fill: black;
|
-fx-text-fill: black;
|
||||||
@@ -564,9 +565,9 @@
|
|||||||
-jfx-rippler-fill: -fx-base-color;
|
-jfx-rippler-fill: -fx-base-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jfx-list-cell:odd:selected > .jfx-rippler > StackPane,
|
.list-cell:odd:selected > .jfx-rippler > StackPane,
|
||||||
.jfx-list-cell:even:selected > .jfx-rippler > StackPane {
|
.list-cell:even:selected > .jfx-rippler > StackPane {
|
||||||
-fx-background-color: rgba(0.0, 0.0, 255.0, 0.2);
|
-fx-background-color: derive(-fx-base-check-color, 30%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.jfx-list-view {
|
.jfx-list-view {
|
||||||
|
|||||||
BIN
HMCL/src/main/resources/assets/img/alex.png
Normal file
BIN
HMCL/src/main/resources/assets/img/alex.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
HMCL/src/main/resources/assets/img/steve.png
Normal file
BIN
HMCL/src/main/resources/assets/img/steve.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -299,6 +299,7 @@ profile.new=New Config
|
|||||||
profile.new_name=New Profile Name:
|
profile.new_name=New Profile Name:
|
||||||
profile.remove=Sure to remove profile %s?
|
profile.remove=Sure to remove profile %s?
|
||||||
profile.title=Game Directories
|
profile.title=Game Directories
|
||||||
|
profile.selected=Current directory
|
||||||
|
|
||||||
selector.choose=Choose
|
selector.choose=Choose
|
||||||
selector.choose_file=Select a file
|
selector.choose_file=Select a file
|
||||||
|
|||||||
@@ -299,6 +299,7 @@ profile.new=新建配置
|
|||||||
profile.new_name=新配置名:
|
profile.new_name=新配置名:
|
||||||
profile.remove=真的要删除配置%s吗?
|
profile.remove=真的要删除配置%s吗?
|
||||||
profile.title=游戏目录
|
profile.title=游戏目录
|
||||||
|
profile.selected=当前目录
|
||||||
|
|
||||||
selector.choose=选择
|
selector.choose=选择
|
||||||
selector.choose_file=选择文件
|
selector.choose_file=选择文件
|
||||||
|
|||||||
Reference in New Issue
Block a user