Skip to content

Commit

Permalink
Merge pull request #4807 from kwvanderlinde/bugfix/2042-missing-trans…
Browse files Browse the repository at this point in the history
…lation-keys

Fix for missing translation keys
  • Loading branch information
cwisniew authored May 30, 2024
2 parents e9a5a85 + d6a6dd4 commit d449221
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/rptools/maptool/client/AppActions.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private static int getMenuShortcutKeyMask() {
public static final Action NEXT_TOKEN =
new ZoneClientAction() {
{
init("menu.nextToken");
init("action.nextToken");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import javax.swing.tree.TreePath;
import net.rptools.maptool.client.MapTool;
import net.rptools.maptool.events.MapToolEventBus;
import net.rptools.maptool.language.I18N;
import net.rptools.maptool.model.Zone;
import net.rptools.maptool.model.drawing.AbstractTemplate;
import net.rptools.maptool.model.drawing.DrawablesGroup;
Expand All @@ -56,18 +55,12 @@ public static View getByLayer(Zone.Layer layer) {
return byLayer.get(layer);
}

private final String displayName;
private final Zone.Layer layer;

private View(Zone.Layer layer) {
this.displayName = I18N.getText("panel.DrawExplorer.View." + layer.name());
this.layer = layer;
}

public String getDisplayName() {
return displayName;
}

public Zone.Layer getLayer() {
return layer;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,7 @@ action.commandPanel = Command Panel
# In order to prevent I18N from warning that they don't exist these
# lines have been added.
action.commitCommand = Not used (action.commitCommand)
action.newlineCommand = Not used (action.newlineCommand)
action.copyTokens = Copy
action.copyTokens.accel = C
action.copyTokens.description = Copy selected tokens to an internal clipboard.
Expand Down Expand Up @@ -1420,6 +1421,7 @@ action.saveMapAs = &Export Map...
action.saveMapAs.description = Save a map to an external file.
action.saveMessageHistory = Save Chat Log &History...
action.saveMessageHistory.description = Save the contents of your chat log, including whispers.
action.nextToken = Select next token
# Tool
action.sendChat = C&hat
action.sendChat.accel = ENTER
Expand Down

0 comments on commit d449221

Please sign in to comment.