Skip to content

Commit

Permalink
Basic support for ModMenu with mod description translation into all s…
Browse files Browse the repository at this point in the history
…upported languages
  • Loading branch information
NaoCraftLab committed Oct 14, 2024
1 parent 71c4b70 commit 3cd1542
Show file tree
Hide file tree
Showing 20 changed files with 65 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.21.2-2.5.0

### Added

- Basic support for ModMenu with mod description translation into all supported languages

## 1.21.2-2.4.1

### Fixed
Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ tasks.processResources {
"modHomepage" to project.property("modHomepage"),
"modSources" to project.property("modSources"),
"modIssueTracker" to project.property("modIssueTracker"),
"modGitHubReleases" to project.property("modGitHubReleases"),
"modModrinth" to project.property("modModrinth"),
"modCurseForge" to project.property("modCurseForge"),
"modDiscord" to project.property("modDiscord"),
"modKoFi" to project.property("modKoFi"),
"modAuthorYouTube" to project.property("modAuthorYouTube"),
"fabricLoaderMinVersion" to project.property("fabricLoaderMinVersion"),
"fabricApiVersion" to project.property("fabricApiVersion"),
"minecraftJavaVersion" to project.property("minecraftJavaVersion"),
Expand Down
9 changes: 7 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@ org.gradle.parallel=true
group=com.naocraftlab
modId=foggy-pale-garden
modCurseForgeId=1114471
modVersion=2.4.1
modVersion=2.5.0
modName=Foggy Pale Garden
modDescription=Adds dense fog to the Pale Garden biome.
modLicense=MIT
modHomepage=https://modrinth.com/mod/foggy-pale-garden
modSources=https://github.com/NaoCraftLab/foggy-pale-garden
modIssueTracker=https://github.com/NaoCraftLab/foggy-pale-garden/issues
modGitHubReleases=https://github.com/NaoCraftLab/foggy-pale-garden/releases
modModrinth=https://modrinth.com/mod/foggy-pale-garden
modCurseForge=https://www.curseforge.com/minecraft/mc-mods/foggy-pale-garden
modDiscord=https://discord.gg/NmzHNyrGK4
modKoFi=https://ko-fi.com/naocraftlab
modAuthorYouTube=https://www.youtube.com/@NaoCraftLab

# minecraft
minecraftJavaVersion=21
Expand All @@ -25,5 +30,5 @@ fabricSupportedLoaders=Fabric, Quilt
fabricYarnMappingsVersion=24w40a+build.11
fabricLoaderMinVersion=0.16.4
fabricApiVersion=0.105.2+1.21.2
fabricModrinthGameVersions=24w40a,1.21.2-pre1,1.21.2-pre2
fabricModrinthGameVersions=24w40a,1.21.2-pre1,1.21.2-pre2,1.21.2-pre3
fabricCurseForgeGameVersions=1.21.2-Snapshot
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/ar_sa.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "يضيف الضباب إلى الحديقة الشاحبة وأي مكان آخر!",
"modmenu.descriptionTranslation.foggy-pale-garden": "استكشف صفحة المود ويمكنك إضافة أي ضباب إلى أي مكان في اللعبة بفضل نظام التكوين المرن.",
"fpg.command.help": "أوامر إدارة مود Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "الإعداد الحالي للضباب: %s",
"fpg.command.preset.applied": "تم تطبيق إعداد الضباب بنجاح: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/be_by.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Дадае туман у Бледны Сад і куды заўгодна!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Азнаёмцеся са старонкай мода, і вы зможаце дадаць любы туман у любое месца ў гульні дзякуючы гнуткай сістэме канфігурацыі.",
"fpg.command.help": "Каманды кіравання модам Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "Бягучы прэсет туману: %s",
"fpg.command.preset.applied": "Прэсет туману паспяхова прымяніўся: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/de_de.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Fügt Nebel zum Blassen Garten und überall sonst hinzu!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Erkunde die Mod-Seite und du kannst dank eines flexiblen Konfigurationssystems jeden Nebel an jeden Ort im Spiel hinzufügen.",
"fpg.command.help": "Befehle zur Verwaltung des Foggy Pale Garden Mods:\n%s",
"fpg.command.preset.current": "Aktuelles Nebel-Preset: %s",
"fpg.command.preset.applied": "Nebel-Preset erfolgreich angewendet: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Adds fog to the Pale Garden and anywhere else!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Explore the mod's page and you can add any fog to any place in the game thanks to a flexible configuration system.",
"fpg.command.help": "Foggy Pale Garden mod management commands:\n%s",
"fpg.command.preset.current": "Current fog preset: %s",
"fpg.command.preset.applied": "Fog preset successfully applied: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/es_mx.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "¡Agrega niebla al Jardín Pálido y a cualquier otro lugar!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Explora la página del mod y podrás agregar cualquier niebla a cualquier lugar del juego gracias a un sistema de configuración flexible.",
"fpg.command.help": "Comandos de gestión del mod Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "Preset de niebla actual: %s",
"fpg.command.preset.applied": "Preset de niebla aplicado con éxito: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/fr_fr.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Ajoute du brouillard au Jardin Pâle et partout ailleurs !",
"modmenu.descriptionTranslation.foggy-pale-garden": "Explorez la page du mod et vous pourrez ajouter n'importe quel brouillard n'importe où dans le jeu grâce à un système de configuration flexible.",
"fpg.command.help": "Commandes de gestion du mod Foggy Pale Garden :\n%s",
"fpg.command.preset.current": "Preset de brouillard actuel : %s",
"fpg.command.preset.applied": "Preset de brouillard appliqué avec succès : %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/it_it.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Aggiunge nebbia al Giardino Pallido e ovunque tu voglia!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Esplora la pagina della mod e potrai aggiungere qualsiasi nebbia in qualsiasi luogo del gioco grazie a un sistema di configurazione flessibile.",
"fpg.command.help": "Comandi di gestione del mod Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "Preset di nebbia corrente: %s",
"fpg.command.preset.applied": "Preset di nebbia applicato con successo: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/ja_jp.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "ペイルガーデンや他のどこにでも霧を追加します!",
"modmenu.descriptionTranslation.foggy-pale-garden": "モッドのページをチェックして、柔軟な設定システムによりゲーム内のどこにでも任意の霧を追加できます。",
"fpg.command.help": "Foggy Pale Garden モッドの管理コマンド:\n%s",
"fpg.command.preset.current": "現在の霧プリセット: %s",
"fpg.command.preset.applied": "霧プリセットが正常に適用されました: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/ka_ge.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "ამატებს ნისლს ფერმკრთალ ბაღში და საერთოდ სადაც გინდათ!",
"modmenu.descriptionTranslation.foggy-pale-garden": "შეისწავლეთ მოდის გვერდი და შეძლებთ დაამატოთ ნებისმიერი ნისლი თამაშში ნებისმიერ ადგილას მოქნილი კონფიგურაციის სისტემის წყალობით.",
"fpg.command.help": "Foggy Pale Garden მოდის მართვის ბრძანებები:\n%s",
"fpg.command.preset.current": "მიმდინარე ნისლის პრესეტი: %s",
"fpg.command.preset.applied": "ნისლის პრესეტი წარმატებით გამოყენებულია: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/kk_kz.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Ақ баққа және кез келген жерге тұман қосады!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Мод бетімен танысып, икемді конфигурация жүйесінің арқасында ойынның кез келген жеріне кез келген тұманды қоса аласыз.",
"fpg.command.help": "Foggy Pale Garden модын басқару командалары:\n%s",
"fpg.command.preset.current": "Ағымдағы тұман пресеті: %s",
"fpg.command.preset.applied": "Тұман пресеті сәтті қолданылды: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/ko_kr.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "창백한 정원과 어디든지 안개를 추가합니다!",
"modmenu.descriptionTranslation.foggy-pale-garden": "모드 페이지를 탐색하여 유연한 구성 시스템으로 게임 내 어디든 원하는 안개를 추가할 수 있습니다.",
"fpg.command.help": "Foggy Pale Garden 모드 관리 명령어:\n%s",
"fpg.command.preset.current": "현재 안개 프리셋: %s",
"fpg.command.preset.applied": "안개 프리셋이 성공적으로 적용되었습니다: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/pt_br.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Adiciona névoa ao Jardim Pálido e a qualquer outro lugar!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Explore a página do mod e você poderá adicionar qualquer névoa a qualquer lugar do jogo graças a um sistema de configuração flexível.",
"fpg.command.help": "Comandos de gerenciamento do mod Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "Preset de névoa atual: %s",
"fpg.command.preset.applied": "Preset de névoa aplicado com sucesso: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/ru_ru.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Добавляет туман в Бледный Сад и вообще куда угодно!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Изучите страницу мода и вы сможете добавить любой туман в любое место в игре благодаря гибкой системе конфигурации.",
"fpg.command.help": "Команды управления модом Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "Текущий пресет тумана: %s",
"fpg.command.preset.applied": "Пресет тумана успешно установлен: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/sv_se.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Lägger till dimma i Bleka Trädgården och var som helst!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Utforska moddens sida så kan du lägga till vilken dimma som helst var som helst i spelet tack vare ett flexibelt konfigurationssystem.",
"fpg.command.help": "Kommandon för att hantera modden Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "Aktuell dimmapreset: %s",
"fpg.command.preset.applied": "Dimmapreset har tillämpats framgångsrikt: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/uk_ua.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "Додає туман у Блідий Сад і куди завгодно!",
"modmenu.descriptionTranslation.foggy-pale-garden": "Вивчіть сторінку мода, і ви зможете додати будь-який туман у будь-яке місце в грі завдяки гнучкій системі конфігурації.",
"fpg.command.help": "Команди керування модом Foggy Pale Garden:\n%s",
"fpg.command.preset.current": "Поточний пресет туману: %s",
"fpg.command.preset.applied": "Пресет туману успішно застосовано: %s",
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/assets/foggy-pale-garden/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"modmenu.summaryTranslation.foggy-pale-garden": "在苍白花园和任何地方添加雾!",
"modmenu.descriptionTranslation.foggy-pale-garden": "浏览模组页面,您可以通过灵活的配置系统在游戏中的任何地方添加任何雾。",
"fpg.command.help": "Foggy Pale Garden 模组管理命令:\n%s",
"fpg.command.preset.current": "当前雾预设:%s",
"fpg.command.preset.applied": "雾预设已成功应用:%s",
Expand Down
16 changes: 15 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,19 @@
"fabricloader": ">=${fabricLoaderMinVersion}",
"fabric-api": ">=${fabricApiVersion}"
},
"suggests": {}
"suggests": {},
"custom": {
"modmenu": {
"update_checker": true,
"modmenu.credits.role.author": "NaoCraftLab",
"links": {
"modmenu.curseforge": "${modCurseForge}",
"modmenu.modrinth": "${modModrinth}",
"modmenu.github_releases": "${modGitHubReleases}",
"modmenu.discord": "${modDiscord}",
"modmenu.kofi": "${modKoFi}",
"modmenu.youtube": "${modAuthorYouTube}"
}
}
}
}

0 comments on commit 3cd1542

Please sign in to comment.