[PR #72] [MERGED] [Minecraft Modrinth] Add translations #99

Closed
opened 2026-05-07 00:18:05 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/plugins/pull/72
Author: @Nico4devv
Created: 1/2/2026
Status: Merged
Merged: 1/3/2026
Merged by: @Boy132

Base: mainHead: main


📝 Commits (10+)

  • b39cd21 Add localization support for Modrinth project types and notifications
  • 1c6a1c9 Add German localization for Modrinth plugin
  • 5b59451 Remove unnecessary whitespace in localization files for Modrinth plugin
  • 338e0b9 Fix missing newline at end of file in main.php
  • 3833767 Update English localization strings in main.php
  • 2bd89f0 Remove trailing whitespace in German localization file
  • a2a2a64 Fix missing newline at end of file in localization files
  • 786837c Fix missing newline at end of file in English and German localization files
  • ecfc55f Set default values for CPU, memory, and disk inputs in ServerResourcePage
  • cd6a9ba Refactor localization calls to use trans() instead of __() in ModrinthProjectType and MinecraftModrinthPlugin

📊 Changes

5 files changed (+104 additions, -12 deletions)

View changed files

minecraft-modrinth/lang/de/strings.php (+46 -0)
minecraft-modrinth/lang/en/strings.php (+46 -0)
📝 minecraft-modrinth/src/Enums/ModrinthProjectType.php (+2 -2)
📝 minecraft-modrinth/src/Filament/Server/Pages/MinecraftModrinthProjectPage.php (+8 -8)
📝 minecraft-modrinth/src/MinecraftModrinthPlugin.php (+2 -2)

📄 Description

Summary by CodeRabbit

  • Localization
    • Added multilingual support with English and German language files
    • All user-facing interface text including labels, notification titles, buttons, and messages are now localized and translatable
    • Plugin can now display in multiple languages for improved accessibility

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/plugins/pull/72 **Author:** [@Nico4devv](https://github.com/Nico4devv) **Created:** 1/2/2026 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`b39cd21`](https://github.com/pelican-dev/plugins/commit/b39cd21473b29248ce30ed21d0760d32ed01ce77) Add localization support for Modrinth project types and notifications - [`1c6a1c9`](https://github.com/pelican-dev/plugins/commit/1c6a1c9fa29d8da8676b24bbcb3fcc83f1c97df8) Add German localization for Modrinth plugin - [`5b59451`](https://github.com/pelican-dev/plugins/commit/5b5945167688f63032e9910defad535fabbcdeed) Remove unnecessary whitespace in localization files for Modrinth plugin - [`338e0b9`](https://github.com/pelican-dev/plugins/commit/338e0b954a0714c6838869ea8b19f99924e06244) Fix missing newline at end of file in main.php - [`3833767`](https://github.com/pelican-dev/plugins/commit/38337676a7542abf5881208ffaa2b0ce8f816404) Update English localization strings in main.php - [`2bd89f0`](https://github.com/pelican-dev/plugins/commit/2bd89f05e1a419c2a891854b44cab1ccde174d34) Remove trailing whitespace in German localization file - [`a2a2a64`](https://github.com/pelican-dev/plugins/commit/a2a2a6427d756b1e752fb6eb621a21a4c6ef7f23) Fix missing newline at end of file in localization files - [`786837c`](https://github.com/pelican-dev/plugins/commit/786837c50e10ff1cb7fcf86b3cece5985c13b16a) Fix missing newline at end of file in English and German localization files - [`ecfc55f`](https://github.com/pelican-dev/plugins/commit/ecfc55fa389c9f6616424b9008b3c44c5277eb3d) Set default values for CPU, memory, and disk inputs in ServerResourcePage - [`cd6a9ba`](https://github.com/pelican-dev/plugins/commit/cd6a9ba7edcd52ad65edde3bdc4d7c35a7f12f3d) Refactor localization calls to use trans() instead of __() in ModrinthProjectType and MinecraftModrinthPlugin ### 📊 Changes **5 files changed** (+104 additions, -12 deletions) <details> <summary>View changed files</summary> ➕ `minecraft-modrinth/lang/de/strings.php` (+46 -0) ➕ `minecraft-modrinth/lang/en/strings.php` (+46 -0) 📝 `minecraft-modrinth/src/Enums/ModrinthProjectType.php` (+2 -2) 📝 `minecraft-modrinth/src/Filament/Server/Pages/MinecraftModrinthProjectPage.php` (+8 -8) 📝 `minecraft-modrinth/src/MinecraftModrinthPlugin.php` (+2 -2) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Localization** * Added multilingual support with English and German language files * All user-facing interface text including labels, notification titles, buttons, and messages are now localized and translatable * Plugin can now display in multiple languages for improved accessibility <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:05 +02:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/plugins#99
No description provided.