Skip to content

Commit

Permalink
fixed small things
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasabbe committed Nov 10, 2024
1 parent cb96389 commit 9f0841d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public ConfigScreenFactory<?> getModConfigScreenFactory() {
.setSaveConsumer(val -> BookshelfinspectorClient.config.lecternToggle = val).build())
.addEntry(entryBuilder
.startIntSlider(Text.translatable("bookshelfinspector.config.scale"),BookshelfinspectorClient.config.scale,0,20)
.setTooltip(Text.translatable("bookshelfinspector.config.scale.tooltip"))
.setDefaultValue(10).setSaveConsumer(val -> BookshelfinspectorClient.config.scale = val)
.build());
builder.setSavingRunnable(BookshelfinspectorClient.config::saveConfig);
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/assets/bookshelfinspector/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"bookshelfinspector.config.category": "Settings",
"bookshelfinspector.config.lectern.toggle": "Turn OFF or ON lectern support",
"bookshelfinspector.config.lectern.toggle.tooltip": "This will turn OFF/ON the visibility of lectern inspection",
"bookshelfinspector.config.scale": "Change the scale of the text by dragging the slider",
"bookshelfinspector.config.scale.tooltip": "Change the scale of the text, if you drag it against 0 it will become smaller and if you drag it against 20 it will become bigger"
"bookshelfinspector.config.scale": "Change the scale of the text",
"bookshelfinspector.config.scale.tooltip": "Change the scale of the text by dragging the slider"
}
4 changes: 2 additions & 2 deletions src/main/resources/assets/bookshelfinspector/lang/sv_se.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"bookshelfinspector.config.category": "Inställningar",
"bookshelfinspector.config.lectern.toggle": "Stäng AV eller PÅ läspulpet stöd",
"bookshelfinspector.config.lectern.toggle.tooltip": "Denna inställning kommer stänga av eller på synligeten av läspulpet inspektion",
"bookshelfinspector.config.scale": "Ändra storleken på texten igenom att dra på inställningen nedan",
"bookshelfinspector.config.scale.tooltip": "Ändra storleken på texten, om du drar den mot 0 så kommer texten bli mindre och om du drar den mot 20 så kommer den bli störe"
"bookshelfinspector.config.scale": "Ändra storleken på texten",
"bookshelfinspector.config.scale.tooltip": "Du kan göra det igenom att dra på den nedan"
}
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"minecraft": ">=1.21.4-alpha.24.44.a",
"fabric-api-base": "*",
"fabric-networking-api-v1": "*",
"fabric-lifecycle-events-v1": "*"
"fabric-lifecycle-events-v1": "*",
"fabric-resource-loader-v0": "*"
}
}

0 comments on commit 9f0841d

Please sign in to comment.