Просмотр исходного кода

Move the OpenFilter String into Bundle.properties so we can add Localization for it.

MeFisto94 9 лет назад
Родитель
Сommit
ccf5e3285e

+ 1 - 0
jme3-core/src/com/jme3/gde/core/filters/Bundle.properties

@@ -1,3 +1,4 @@
 CTL_FilterExplorerAction=FilterExplorer
 CTL_FilterExplorerTopComponent=FilterExplorer
+CTL_OpenFilterAction=Open Filter
 HINT_FilterExplorerTopComponent=The FilterExplorer provides an Overview over your current Filter

+ 0 - 2
jme3-core/src/com/jme3/gde/core/filters/OpenFilterAction.java

@@ -38,7 +38,6 @@ import org.openide.awt.ActionID;
 import org.openide.awt.ActionReference;
 import org.openide.awt.ActionReferences;
 import org.openide.awt.ActionRegistration;
-import org.openide.util.NbBundle.Messages;
 
 @ActionID(category = "Filters",
 id = "com.jme3.gde.core.filters.OpenFilterAction")
@@ -46,7 +45,6 @@ id = "com.jme3.gde.core.filters.OpenFilterAction")
 @ActionReferences({
     @ActionReference(path = "Loaders/application/jme3filterpostprocessor/Actions", position = 10)
 })
-@Messages("CTL_OpenFilterAction=Open Filter")
 public final class OpenFilterAction implements ActionListener {
 
     private final FilterDataObject context;