From 7b5a5bffe43e06fb4b124dab896bb12079248f6b Mon Sep 17 00:00:00 2001 From: emmebi Date: Mon, 10 Apr 2023 14:38:53 +0100 Subject: [PATCH] Adds the tooltip for Initiative button in Full Screen Mode Fixes #3806 --- src/main/java/net/rptools/maptool/client/ui/MapToolFrame.java | 1 + src/main/resources/net/rptools/maptool/language/i18n.properties | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/java/net/rptools/maptool/client/ui/MapToolFrame.java b/src/main/java/net/rptools/maptool/client/ui/MapToolFrame.java index 826d193ea3..39a988b993 100644 --- a/src/main/java/net/rptools/maptool/client/ui/MapToolFrame.java +++ b/src/main/java/net/rptools/maptool/client/ui/MapToolFrame.java @@ -1721,6 +1721,7 @@ public void showFullScreenTools() { }); initiativeButton.setBorder(btn.getBorder()); + initiativeButton.setToolTipText(I18N.getText("tools.initiative.tooltip")); fullScreenToolPanel.add(initiativeButton); // set buttons to uniform size diff --git a/src/main/resources/net/rptools/maptool/language/i18n.properties b/src/main/resources/net/rptools/maptool/language/i18n.properties index 3921e337cc..2eb62baca4 100644 --- a/src/main/resources/net/rptools/maptool/language/i18n.properties +++ b/src/main/resources/net/rptools/maptool/language/i18n.properties @@ -1583,6 +1583,7 @@ initiative.menu.remove = Remove initiative.menu.resume = Resume initiative.menu.setState = Set Initiative... + layer.token = Token layer.gm = Hidden layer.object = Object @@ -2496,6 +2497,7 @@ tools.token.fow.npc.tooltip = Show FoW for NPC Tokens you explicitly own or are tools.token.fow.pc.tooltip = Show FoW for PC Tokens you explicitly own or are owned by all. tools.topo.tooltip = Vision Blocking Layer (VBL) Tools tools.zoneselector.tooltip = Select Map +tools.initiative.tooltip = Initiative Tools undefinedmacro.unknownCommand = Unknown command: "{0}". Try /help for a list of commands.