Skip to content

Commit

Permalink
Update fallback option screen notice
Browse files Browse the repository at this point in the history
Fixes #15
  • Loading branch information
Grayray75 committed Jun 28, 2024
1 parent acceaf9 commit af91518
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ protected void init() {

@Override
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
this.renderBackground(context, mouseX, mouseY, delta);
super.render(context, mouseX, mouseY, delta);
context.drawCenteredTextWithShadow(this.textRenderer, this.title, this.width / 2, 20, 0xFFFFFF);
context.drawCenteredTextWithShadow(this.textRenderer, Text.translatable("text.fpsdisplay.options.fallback_message"), this.width / 2, this.height / 2, 0xFFFFFF);
super.render(context, mouseX, mouseY, delta);
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/fpsdisplay/lang/de_de.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"text.fpsdisplay.options.fallback_title": "FPS-Display Einstellungen Hinweis",
"text.fpsdisplay.options.fallback_message": "Bitte installiere 'Cloth Config API', um auf das Optionsmenü zugreifen zu können",
"text.fpsdisplay.options.fallback_message": "Bitte installiere 'Cloth Config API' oder 'YetAnotherConfigLib', um auf das Optionsmenü zugreifen zu können",
"text.fpsdisplay.options.title": "FPS-Display Einstellungen",
"text.fpsdisplay.options.enabled": "Aktiv",
"text.fpsdisplay.options.advancedStats": "Zeige minimale, durchschittliche und maximale FPS",
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/fpsdisplay/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"text.fpsdisplay.options.fallback_title": "FPS-Display Settings Notice",
"text.fpsdisplay.options.fallback_message": "Please install 'Cloth Config API' in order to access the option menu",
"text.fpsdisplay.options.fallback_message": "Please install 'Cloth Config' or 'YetAnotherConfigLib' in order to access the option menu",
"text.fpsdisplay.options.title": "FPS-Display Settings",
"text.fpsdisplay.options.enabled": "Enabled",
"text.fpsdisplay.options.advancedStats": "Show minimal, average and maximal FPS",
Expand Down

0 comments on commit af91518

Please sign in to comment.