diff options
author | nea <romangraef@gmail.com> | 2022-08-27 15:41:16 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-27 15:41:16 +0200 |
commit | d9353ff54c20a08e4e078e0190fc1f364b08a2d1 (patch) | |
tree | cbff878e3d4ebbf943b2ebc732a8bbbcce74ff10 /src/main/kotlin/moe/nea/notenoughupdates/gui/repogui.kt | |
parent | 2019473c50dfe3f1c6fd071d123d49d43bc180c4 (diff) | |
download | firmament-d9353ff54c20a08e4e078e0190fc1f364b08a2d1.tar.gz firmament-d9353ff54c20a08e4e078e0190fc1f364b08a2d1.tar.bz2 firmament-d9353ff54c20a08e4e078e0190fc1f364b08a2d1.zip |
translation
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/gui/repogui.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/gui/repogui.kt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/gui/repogui.kt b/src/main/kotlin/moe/nea/notenoughupdates/gui/repogui.kt index 00bc099..23c8d18 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/gui/repogui.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/gui/repogui.kt @@ -1,31 +1,31 @@ package moe.nea.notenoughupdates.gui -import moe.nea.notenoughupdates.repo.RepoManager import net.minecraft.text.Text +import moe.nea.notenoughupdates.repo.RepoManager fun repoGui(): ConfigGui<RepoManager.Config> { return ConfigGui(RepoManager) { - title(Text.literal("NotEnoughUpdates Repo Settings")) - toggle(Text.literal("Auto Update"), RepoManager.Config::autoUpdate) + title(Text.translatable("notenoughupdates.gui.repo.title")) + toggle(Text.translatable("notenoughupdates.gui.repo.autoupdate"), RepoManager.Config::autoUpdate) textfield( - Text.literal("Repo Username"), - Text.literal("<github user>"), + Text.translatable("notenoughupdates.gui.repo.username"), + Text.translatable("notenoughupdates.gui.repo.hint.username"), RepoManager.Config::user, maxLength = 255 ) textfield( - Text.literal("Repo Name"), - Text.literal("<repo name>"), + Text.translatable("notenoughupdates.gui.repo.reponame"), + Text.translatable("notenoughupdates.gui.repo.hint.reponame"), RepoManager.Config::repo ) textfield( - Text.literal("Repo Branch"), - Text.literal("<repo branch>"), + Text.translatable("notenoughupdates.gui.repo.branch"), + Text.translatable("notenoughupdates.gui.repo.hint.branch"), RepoManager.Config::branch ) button( - Text.literal("Reset to Defaults"), - Text.literal("Reset"), + Text.translatable("notenoughupdates.gui.repo.reset.label"), + Text.translatable("notenoughupdates.gui.repo.reset"), ) { RepoManager.config.user = "NotEnoughUpdates" RepoManager.config.repo = "NotEnoughUpdates-REPO" |