Skip to content

Commit 8679b1d

Browse files
committed
✏️ Typos
1 parent 169fa93 commit 8679b1d

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

assets/bundles/bundle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ wayzer-maps.search-user.tip = Search uploader
2121
wayzer-maps.map-download.confirm = Whether to import map {0} locally?
2222
wayzer-maps.map-download.hint = Download and import map {0}
2323
wayzer-maps.map-download.failed = {0}[red]Failed to download and import.
24-
wayzer-maps.map-download.successed = {0}[green]Map downloaded and imported successfully!
24+
wayzer-maps.map-download.success = {0}[green]Map downloaded and imported successfully!
2525

2626
wayzer-maps.map-vote.confirm = Whether to vote for map {0}?
2727
wayzer-maps.map-vote.hint = Vote for map {0} in server

assets/bundles/bundle_zh_CN.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ wayzer-maps.login-tip = 打开浏览器登录资源站 [green]{0}
88
wayzer-maps.open-browser = 打开浏览器登录资源站
99
wayzer-maps.login-waiting = 等待确认登录中...
1010
wayzer-maps.login-success = 资源站登录成功
11-
wayzer-maps.login-faild = 资源站登录失败
11+
wayzer-maps.login-failed = 资源站登录失败
1212
wayzer-maps.login-checking = 资源站登录
1313

1414
wayzer-maps.loading = {jump}加载中...
15-
wayzer-maps.faild = {sick}加载失败
15+
wayzer-maps.failed = {sick}加载失败
1616
wayzer-maps.noResult = {sick}找不到地图
1717
wayzer-maps.refresh = 刷新地图
1818
wayzer-maps.search-map.tip = 输入地图id可以直接打开地图详情!
@@ -21,7 +21,7 @@ wayzer-maps.search-user.tip = 搜索上传用户
2121
wayzer-maps.map-download.confirm = 是否本地导入地图 {0} []
2222
wayzer-maps.map-download.hint = 本地下载导入地图{0}
2323
wayzer-maps.map-download.failed = {0}[red]下载导入失败
24-
wayzer-maps.map-download.successed = {0}[green]下载导入成功!
24+
wayzer-maps.map-download.success = {0}[green]下载导入成功!
2525

2626
wayzer-maps.map-vote.confirm = 是否投票换图 {0} []
2727
wayzer-maps.map-vote.hint = 在服务器中投票换图{0}

src/mapbrowser/ui/BrowserDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private void login(){
116116
loginDialog.addCloseListener();
117117
}, (err) -> {
118118
loginDialog.hide();
119-
Vars.ui.showException(Core.bundle.get("wayzer-maps.login-faild"), err);
119+
Vars.ui.showException(Core.bundle.get("wayzer-maps.login-failed"), err);
120120
});
121121

122122
loginDialog.hidden(() -> {

src/mapbrowser/ui/BrowserUI.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static void setLoadingText(Table table) {
7070
public static void setLoadFailedText(Table table) {
7171
table.clearChildren();
7272

73-
FLabel label = new FLabel(Core.bundle.get("wayzer-maps.faild"));
73+
FLabel label = new FLabel(Core.bundle.get("wayzer-maps.failed"));
7474
table.add(label).color(Pal.lightishGray).fontScale(1.3f).expand();
7575
}
7676

@@ -105,14 +105,14 @@ public static void downloadImportMap(int thread, String mapName){
105105
Vars.maps.importMap(tmp);
106106
});
107107
tmp.delete();
108-
infoToast(Core.bundle.format("wayzer-maps.map-download.successed", mapName), 5);
108+
infoToast(Core.bundle.format("wayzer-maps.map-download.success", mapName), 5);
109109
});
110110
}else{
111111
Vars.maps.tryCatchMapError(() -> {
112112
Vars.maps.importMap(tmp);
113113
});
114114
tmp.delete();
115-
infoToast(Core.bundle.format("wayzer-maps.map-download.successed", mapName), 5);
115+
infoToast(Core.bundle.format("wayzer-maps.map-download.success", mapName), 5);
116116
}
117117
}, err -> Core.app.post(() -> {
118118
loadfrag.hide();

0 commit comments

Comments
 (0)