Fix mod update channel i18n (#3331)

* Fix mod update channel i18n

* Update

Co-authored-by: Burning_TNT <pangyl08@163.com>

* update

---------

Co-authored-by: Burning_TNT <pangyl08@163.com>
Co-authored-by: Glavo <zjx001202@gmail.com>
This commit is contained in:
3gf8jv4dv
2024-10-19 21:34:11 +08:00
committed by GitHub
parent f68e056e47
commit 0562051989
4 changed files with 12 additions and 3 deletions

View File

@@ -388,15 +388,15 @@ public class DownloadPage extends Control implements DecoratorPage {
switch (dataItem.getVersionType()) {
case Alpha:
content.getTags().add(i18n("version.game.snapshot"));
content.getTags().add(i18n("mods.channel.alpha"));
graphicPane.getChildren().setAll(SVG.ALPHA_CIRCLE_OUTLINE.createIcon(Theme.blackFill(), 24, 24));
break;
case Beta:
content.getTags().add(i18n("version.game.snapshot"));
content.getTags().add(i18n("mods.channel.beta"));
graphicPane.getChildren().setAll(SVG.BETA_CIRCLE_OUTLINE.createIcon(Theme.blackFill(), 24, 24));
break;
case Release:
content.getTags().add(i18n("version.game.release"));
content.getTags().add(i18n("mods.channel.release"));
graphicPane.getChildren().setAll(SVG.RELEASE_CIRCLE_OUTLINE.createIcon(Theme.blackFill(), 24, 24));
break;
}

View File

@@ -930,6 +930,9 @@ mods.add.success=%s was added successfully.
mods.broken_dependency.title=Broken dependency
mods.broken_dependency.desc=This dependency existed before. However, it doesn't exist now. Try using another download source.
mods.category=Category
mods.channel.alpha=Alpha
mods.channel.beta=Beta
mods.channel.release=Release
mods.check_updates=Check for Updates
mods.check_updates.current_version=Current Version
mods.check_updates.empty=All mods are up-to-date

View File

@@ -799,6 +799,9 @@ mods.add.success=成功新增模組 %s。
mods.broken_dependency.title=損壞的前置模組
mods.broken_dependency.desc=該前置模組曾經在該模組倉庫上存在過,但現在被刪除了,換個下載源試試吧。
mods.category=類別
mods.channel.alpha=Alpha
mods.channel.beta=Beta
mods.channel.release=Release
mods.check_updates=檢查模組更新
mods.check_updates.current_version=當前版本
mods.check_updates.empty=沒有需要更新的模組

View File

@@ -798,6 +798,9 @@ mods.add.success=成功添加模组 %s。
mods.broken_dependency.title=损坏的前置模组
mods.broken_dependency.desc=该前置模组曾经在该模组仓库上存在过,但现在被删除了。换个下载源试试吧。
mods.category=类别
mods.channel.alpha=快照版本
mods.channel.beta=测试版本
mods.channel.release=稳定版本
mods.check_updates=检查模组更新
mods.check_updates.current_version=当前版本
mods.check_updates.empty=没有需要更新的模组