Skip to content

Commit

Permalink
Localize the 'Copy' option used in node details window, which I forgot
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrianilloo committed Sep 9, 2019
1 parent aebd4c5 commit 3d9d57e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion JBUI/src/jbui/controller/NodeDetailController.java
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public void updateItem(String item, boolean empty)
{
if (mouseEvent.getButton() == MouseButton.SECONDARY)
{
MenuItem copyMenuItem = new MenuItem("Copy");
MenuItem copyMenuItem = new MenuItem(JBUI.sInstance.mLocalizationResources.getString("Copy"));
ContextMenu contextMenu = new ContextMenu(copyMenuItem);
contextMenu.show(mFullInfoTreeView.getScene().getWindow(), mouseEvent.getScreenX(),
mouseEvent.getScreenY());
Expand Down
2 changes: 2 additions & 0 deletions JBUI/src/jbui/resource/strings_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Autosave = Autosave

ChooseSearchDepth = Choose the search depth (relative to this node)

Copy = Copy

DetailsOfNode = Details of node: %s [%s]

Edit = Edit
Expand Down
2 changes: 2 additions & 0 deletions JBUI/src/jbui/resource/strings_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Autosave = Autoguardar

ChooseSearchDepth = Elige la profundidad de b\u00FAsqueda (relativa a este nodo)

Copy = Copiar

DetailsOfNode = Detalles del nodo: %s [%s]

Edit = Editar
Expand Down

0 comments on commit 3d9d57e

Please sign in to comment.