Skip to content

Commit 929e997

Browse files
committed
Chore: Clean up duplicate key-value pairs for No results found
1 parent 886319a commit 929e997

4 files changed

Lines changed: 1 addition & 4 deletions

File tree

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ protected ModDownloadListPageSkin(DownloadListPage control) {
519519
if (getSkinnable().isFailed()) {
520520
return i18n("download.failed.refresh");
521521
} else if (!getSkinnable().isLoading() && getSkinnable().pageCount.get() >= 0 && getSkinnable().items.isEmpty()) {
522-
return i18n("download.failed.no_results_found");
522+
return i18n("search.no_results_found");
523523
} else {
524524
return null;
525525
}

HMCL/src/main/resources/assets/lang/I18N.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ download.external_link=Visit Download Website
399399
download.failed=Failed to download "%1$s", response code: %2$d.
400400
download.failed.empty=No versions are available. Please click here to go back.
401401
download.failed.no_code=Failed to download
402-
download.failed.no_results_found=No results found
403402
download.failed.refresh=Failed to fetch version list. Please click here to retry.
404403
download.game=New Game
405404
download.provider.bmclapi=BMCLAPI & MCIM

HMCL/src/main/resources/assets/lang/I18N_zh.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ download.external_link=開啟下載網站
397397
download.failed=下載失敗:%1$s\n錯誤碼:%2$d
398398
download.failed.empty=沒有可供安裝的版本,按一下此處返回。
399399
download.failed.no_code=下載失敗
400-
download.failed.no_results_found=搜尋無結果
401400
download.failed.refresh=載入版本清單失敗,按一下此處重試。
402401
download.game=新遊戲
403402
download.provider.bmclapi=BMCLAPI & MCIM

HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ download.external_link=打开下载网站
399399
download.failed=下载失败: %1$s,\n错误码:%2$d\n你可以点击右上角帮助按钮进行求助。
400400
download.failed.empty=[没有可供安装的版本,点击此处返回]\n(你可以点击右上角帮助按钮进行求助)
401401
download.failed.no_code=下载失败
402-
download.failed.no_results_found=搜索无结果
403402
download.failed.refresh=[加载版本列表失败,点击此处重试]\n(你可以点击右上角帮助按钮进行求助)
404403
download.game=新游戏
405404
download.provider.bmclapi=BMCLAPI & MCIM

0 commit comments

Comments
 (0)