Skip to content

Commit

Permalink
Update mod version to 0.2.15
Browse files Browse the repository at this point in the history
Signed-off-by: Zailer43 <zailer.g2jku@slmails.com>
  • Loading branch information
Zailer43 committed Nov 22, 2024
1 parent e37c2da commit cca17cc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ yarn_mappings=1.20.4+build.3
loader_version=0.15.7

# Mod Properties
mod_version=0.2.14
mod_version=0.2.15
maven_group=zailer.me
archives_base_name=fzmm

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package fzmm.zailer.me.client.gui.components.image.source;

import fzmm.zailer.me.client.FzmmClient;
import net.minecraft.text.Text;
import net.minecraft.util.Util;
import org.lwjgl.PointerBuffer;
import org.lwjgl.system.MemoryStack;
Expand Down Expand Up @@ -37,10 +36,10 @@ public void execute(Consumer<BufferedImage> consumer) {
filterPatterns.flip();

String imagePath = TinyFileDialogs.tinyfd_openFileDialog(
Text.translatable("fzmm.gui.fileDialog.image.title").getString(),
"Choose image file",
null,
filterPatterns,
Text.translatable("fzmm.gui.fileDialog.image.filter").getString(),
"Image files (JPG, PNG, GIF, BMP)",
false
);
if (imagePath != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public Text getMessage() {
public CompletableFuture<Boolean> save(TranslationEncryptProfile profile) {
return CompletableFuture.supplyAsync(() -> {
String resourcePackPath = TinyFileDialogs.tinyfd_saveFileDialog(
Text.translatable("fzmm.gui.resourcePackBuilder.dialog.newResourcePack.title").getString(),
"Save resource pack",
MinecraftClient.getInstance().getResourcePackDir().resolve("resourcepack.zip").toString(),
null,
null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ public CompletableFuture<Boolean> save(TranslationEncryptProfile profile) {
filterPatterns.flip();

String resourcePackPath = TinyFileDialogs.tinyfd_openFileDialog(
Text.translatable("fzmm.gui.resourcePackBuilder.dialog.updateResourcePack.title").getString(),
"Choose resource pack",
MinecraftClient.getInstance().getResourcePackDir().toString() + "/",
filterPatterns,
Text.translatable("fzmm.gui.resourcePackBuilder.dialog.updateResourcePack.filter").getString(),
"Resource pack (ZIP)",
false
);
boolean cancelled = resourcePackPath == null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public Text getMessage() {
public CompletableFuture<Boolean> save(TranslationEncryptProfile profile) {
return CompletableFuture.supplyAsync(() -> {
String langPath = TinyFileDialogs.tinyfd_saveFileDialog(
Text.translatable("fzmm.gui.encryptbook.getDecryptor.option.writeLang.dialog.title").getString(),
"Save language file",
MinecraftClient.getInstance().getResourcePackDir().resolve("en_us.json").toString(),
null,
null
Expand Down
6 changes: 0 additions & 6 deletions src/main/resources/assets/fzmm/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@
"fzmm.gui.encryptbook.button.give": "Give book",
"fzmm.gui.encryptbook.getDecryptor.option.copyTranslation": "Copy translation",
"fzmm.gui.encryptbook.getDecryptor.option.writeLang": "Write language file",
"fzmm.gui.encryptbook.getDecryptor.option.writeLang.dialog.title": "Save language file",
"fzmm.gui.encryptbook.getDecryptor.snack_bar.error": "Error saving decryptor",
"fzmm.gui.encryptbook.getDecryptor.snack_bar.success": "Decryptor saved (requires F3+T)",
"fzmm.gui.encryptbook.getDecryptor.title": "Get decryptor",
Expand All @@ -171,8 +170,6 @@
"fzmm.gui.encryptbook.option.paddingCharacters.tooltip": "Characters to add to the end of the message\nto reach the required numbers of characters.",
"fzmm.gui.encryptbook.option.title": "Book title",
"fzmm.gui.encryptbook.option.title.tooltip": "Title of the book.",
"fzmm.gui.fileDialog.image.filter": "Image files (JPG, PNG, GIF, BMP)",
"fzmm.gui.fileDialog.image.title": "Choose image file",
"fzmm.gui.headGallery.button.category.alphabet": "Alphabet",
"fzmm.gui.headGallery.button.category.animals": "Animals",
"fzmm.gui.headGallery.button.category.blocks": "Blocks",
Expand Down Expand Up @@ -363,9 +360,6 @@
"fzmm.gui.playerStatue.tab.update.tooltip": "Update the player statue container in your hand with new values,\navoiding having to re-generate it to change place.",
"fzmm.gui.playerStatuePlacer.label.requirement.invalidYaw": "Invalid yaw, try to rotate the camera",
"fzmm.gui.playerStatuePlacer.option.execute": "Place player statue",
"fzmm.gui.resourcePackBuilder.dialog.newResourcePack.title": "Save resource pack",
"fzmm.gui.resourcePackBuilder.dialog.updateResourcePack.filter": "Resource pack (ZIP)",
"fzmm.gui.resourcePackBuilder.dialog.updateResourcePack.title": "Choose resource pack",
"fzmm.gui.resourcePackBuilder.option.newResourcePack": "New resource pack",
"fzmm.gui.resourcePackBuilder.option.updateResourcePack": "Update resource pack",
"fzmm.gui.selectItem.button.source.all": "All",
Expand Down

0 comments on commit cca17cc

Please sign in to comment.