externalized strings in SNMP plugin
authorVictor Kirhenshtein <victor@netxms.org>
Wed, 18 May 2016 18:29:55 +0000 (21:29 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Wed, 18 May 2016 18:29:55 +0000 (21:29 +0300)
23 files changed:
src/java/netxms-eclipse/SNMP/plugin.xml
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/Messages.java
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/actions/OpenSnmpCredentialsEditor.java [moved from webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/actions/SnmpConfigrationAction.java with 86% similarity]
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/messages.properties
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/messages_cs.properties
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/messages_de.properties
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/messages_es.properties
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/messages_fr.properties
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/messages_ru.properties
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/messages_zh_CN.properties
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/shared/MibCache.java
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/views/SnmpCredentials.java
src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/views/helpers/SnmpConfig.java
webui/webapp/SNMP/plugin.xml
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/Messages.java
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/actions/OpenSnmpCredentialsEditor.java [moved from src/java/netxms-eclipse/SNMP/src/org/netxms/ui/eclipse/snmp/actions/SnmpConfigrationAction.java with 86% similarity]
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages.properties
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages_cs.properties
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages_de.properties
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages_es.properties
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages_fr.properties
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages_ru.properties
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages_zh_CN.properties

index eff2f9d..a1e6cb2 100644 (file)
             label="SNMP Credentials"
             visible="true">
          <action
             label="SNMP Credentials"
             visible="true">
          <action
-               class="org.netxms.ui.eclipse.snmp.actions.SnmpConfigrationAction"
+               class="org.netxms.ui.eclipse.snmp.actions.OpenSnmpCredentialsEditor"
                definitionId="org.netxms.ui.eclipse.snmp.commands.open_snmp_configuration"
                id="org.netxms.ui.eclipse.snmp.actions.open_snmp_configuration"
                label="%action.label.SNMPCredentials"
                definitionId="org.netxms.ui.eclipse.snmp.commands.open_snmp_configuration"
                id="org.netxms.ui.eclipse.snmp.actions.open_snmp_configuration"
                label="%action.label.SNMPCredentials"
index 434ebd7..18fb9d6 100644 (file)
@@ -52,7 +52,9 @@ public class Messages extends NLS
        public static String OpenMibExplorer_ErrorText;
        public static String OpenMibExplorerForNode_Error;
        public static String OpenMibExplorerForNode_ErrorText;
        public static String OpenMibExplorer_ErrorText;
        public static String OpenMibExplorerForNode_Error;
        public static String OpenMibExplorerForNode_ErrorText;
-       public static String OpenSnmpTrapMonitor_Error;
+       public static String OpenSnmpCredentialsEditor_CannotOpenView;
+   public static String OpenSnmpCredentialsEditor_Error;
+   public static String OpenSnmpTrapMonitor_Error;
        public static String OpenSnmpTrapMonitor_ErrorText;
        public static String OpenSnmpTrapMonitor_JobError;
        public static String OpenSnmpTrapMonitor_JobTitle;
        public static String OpenSnmpTrapMonitor_ErrorText;
        public static String OpenSnmpTrapMonitor_JobError;
        public static String OpenSnmpTrapMonitor_JobTitle;
@@ -80,7 +82,17 @@ public class Messages extends NLS
    public static String SnmpConfigurator_SectionCommunitiesDescr;
    public static String SnmpConfigurator_SectionUSM;
    public static String SnmpConfigurator_SectionUSMDescr;
    public static String SnmpConfigurator_SectionCommunitiesDescr;
    public static String SnmpConfigurator_SectionUSM;
    public static String SnmpConfigurator_SectionUSMDescr;
-       public static String SnmpTrapComparator_Unknown;
+       public static String SnmpCredentials_AddPort;
+   public static String SnmpCredentials_CannotSaveConfig;
+   public static String SnmpCredentials_ErrorLoadingConfig;
+   public static String SnmpCredentials_ErrorSavingConfig;
+   public static String SnmpCredentials_FormTitle;
+   public static String SnmpCredentials_LoadingConfig;
+   public static String SnmpCredentials_PleaseEnterPort;
+   public static String SnmpCredentials_Ports;
+   public static String SnmpCredentials_PortsDescription;
+   public static String SnmpCredentials_SaveConfig;
+   public static String SnmpTrapComparator_Unknown;
        public static String SnmpTrapEditor_ColDescription;
        public static String SnmpTrapEditor_ColEvent;
        public static String SnmpTrapEditor_ColID;
        public static String SnmpTrapEditor_ColDescription;
        public static String SnmpTrapEditor_ColEvent;
        public static String SnmpTrapEditor_ColID;
@@ -23,6 +23,7 @@ import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
 import org.eclipse.ui.PartInitException;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
 import org.eclipse.ui.PartInitException;
+import org.netxms.ui.eclipse.snmp.Messages;
 import org.netxms.ui.eclipse.snmp.views.SnmpCredentials;
 import org.netxms.ui.eclipse.tools.MessageDialogHelper;
 
 import org.netxms.ui.eclipse.snmp.views.SnmpCredentials;
 import org.netxms.ui.eclipse.tools.MessageDialogHelper;
 
@@ -30,7 +31,7 @@ import org.netxms.ui.eclipse.tools.MessageDialogHelper;
  * Workbench action for opening SNMP trap configurator view.
  *
  */
  * Workbench action for opening SNMP trap configurator view.
  *
  */
-public class SnmpConfigrationAction implements IWorkbenchWindowActionDelegate
+public class OpenSnmpCredentialsEditor implements IWorkbenchWindowActionDelegate
 {
        private IWorkbenchWindow window;
        
 {
        private IWorkbenchWindow window;
        
@@ -65,7 +66,7 @@ public class SnmpConfigrationAction implements IWorkbenchWindowActionDelegate
                        } 
                        catch (PartInitException e) 
                        {
                        } 
                        catch (PartInitException e) 
                        {
-                               MessageDialogHelper.openError(window.getShell(), "Error opening view", "Error: " + e.getMessage());
+                               MessageDialogHelper.openError(window.getShell(), Messages.get().OpenSnmpCredentialsEditor_Error, String.format(Messages.get().OpenSnmpCredentialsEditor_CannotOpenView, e.getLocalizedMessage()));
                        }
                }
        }
                        }
                }
        }
index f0853a6..495a817 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -74,6 +76,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapEditor_ColID=ID
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapEditor_ColID=ID
index d4ec7dc..2116713 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Chyba
 OpenMibExplorerForNode_ErrorText=Chyba p\u0159i otev\u00edr\u00e1n\u00ed\:
 OpenMibExplorer_Error=Chyba
 OpenMibExplorer_ErrorText=Chyba p\u0159i otev\u00edr\u00e1n\u00ed\:
 OpenMibExplorerForNode_ErrorText=Chyba p\u0159i otev\u00edr\u00e1n\u00ed\:
 OpenMibExplorer_Error=Chyba
 OpenMibExplorer_ErrorText=Chyba p\u0159i otev\u00edr\u00e1n\u00ed\:
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Chyba
 OpenSnmpTrapMonitor_ErrorText=Chyba p\u0159i otev\u00edr\u00e1n\u00ed\:
 OpenSnmpTrapMonitor_JobError=Nelze se p\u0159ihl\u00e1sit k odb\u011bru SNMP trap ud\u00e1lost\u00ed
 OpenSnmpTrapMonitor_Error=Chyba
 OpenSnmpTrapMonitor_ErrorText=Chyba p\u0159i otev\u00edr\u00e1n\u00ed\:
 OpenSnmpTrapMonitor_JobError=Nelze se p\u0159ihl\u00e1sit k odb\u011bru SNMP trap ud\u00e1lost\u00ed
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP community
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community stringy pou\u017eit\u00e9 v s\u00edti
 SnmpConfigurator_SectionUSM=SNMP USM pov\u011b\u0159en\u00ed
 SnmpConfigurator_SectionUSMDescr=SNMP USM pov\u011b\u0159en\u00ed pou\u017eit\u00e1 v s\u00edti
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community stringy pou\u017eit\u00e9 v s\u00edti
 SnmpConfigurator_SectionUSM=SNMP USM pov\u011b\u0159en\u00ed
 SnmpConfigurator_SectionUSMDescr=SNMP USM pov\u011b\u0159en\u00ed pou\u017eit\u00e1 v s\u00edti
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<nezn\u00e1m\u00fd>
 SnmpTrapEditor_ColDescription=Popis
 SnmpTrapEditor_ColEvent=Ud\u00e1lost
 SnmpTrapComparator_Unknown=<nezn\u00e1m\u00fd>
 SnmpTrapEditor_ColDescription=Popis
 SnmpTrapEditor_ColEvent=Ud\u00e1lost
index 50cba3b..84c04cf 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
index 26c028e..b940042 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error al abrir la vista: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error al abrir la vista: 
 OpenMibExplorerForNode_ErrorText=Error al abrir la vista: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error al abrir la vista: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error al abrir la vista: 
 OpenSnmpTrapMonitor_JobError=No es posible suscribir al registro de traps SNMP
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error al abrir la vista: 
 OpenSnmpTrapMonitor_JobError=No es posible suscribir al registro de traps SNMP
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<desconocido>
 SnmpTrapEditor_ColDescription=Descripci\u00f3n
 SnmpTrapEditor_ColEvent=Evento
 SnmpTrapComparator_Unknown=<desconocido>
 SnmpTrapEditor_ColDescription=Descripci\u00f3n
 SnmpTrapEditor_ColEvent=Evento
index 50cba3b..84c04cf 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
index c920dbc..bd04ce3 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenMibExplorerForNode_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenMibExplorer_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenMibExplorer_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenMibExplorerForNode_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenMibExplorer_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenMibExplorer_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenSnmpTrapMonitor_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenSnmpTrapMonitor_JobError=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f SNMP Traps
 OpenSnmpTrapMonitor_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenSnmpTrapMonitor_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenSnmpTrapMonitor_JobError=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f SNMP Traps
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e>
 SnmpTrapEditor_ColDescription=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
 SnmpTrapEditor_ColEvent=\u0421\u043e\u0431\u044b\u0442\u0438\u0435
 SnmpTrapComparator_Unknown=<\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e>
 SnmpTrapEditor_ColDescription=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
 SnmpTrapEditor_ColEvent=\u0421\u043e\u0431\u044b\u0442\u0438\u0435
index 50cba3b..84c04cf 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
index 9376f3f..c01b421 100644 (file)
@@ -53,7 +53,7 @@ public final class MibCache implements ConsoleLoginListener
        @Override
        public void afterLogin(final NXCSession session, Display display)
        {
        @Override
        public void afterLogin(final NXCSession session, Display display)
        {
-          Boolean slowLink = (Boolean)ConsoleSharedData.getProperty("SlowLink");
+          Boolean slowLink = (Boolean)ConsoleSharedData.getProperty("SlowLink"); //$NON-NLS-1$
           if ((slowLink != null) && slowLink.booleanValue())
              return;
           
           if ((slowLink != null) && slowLink.booleanValue())
              return;
           
index e7c5766..a96ad20 100644 (file)
@@ -94,7 +94,7 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
        {
                toolkit = new FormToolkit(getSite().getShell().getDisplay());
                form = toolkit.createScrolledForm(parent);
        {
                toolkit = new FormToolkit(getSite().getShell().getDisplay());
                form = toolkit.createScrolledForm(parent);
-               form.setText("SNMP Configuration");
+               form.setText(Messages.get().SnmpCredentials_FormTitle);
 
                TableWrapLayout layout = new TableWrapLayout();
                layout.numColumns = 2;
 
                TableWrapLayout layout = new TableWrapLayout();
                layout.numColumns = 2;
@@ -108,7 +108,7 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
                contributeToActionBars();
 
       // Load config
                contributeToActionBars();
 
       // Load config
-      new ConsoleJob("Loading SNMP configuration", this, Activator.PLUGIN_ID, null) {
+      new ConsoleJob(Messages.get().SnmpCredentials_LoadingConfig, this, Activator.PLUGIN_ID, null) {
          @Override
          protected void runInternal(IProgressMonitor monitor) throws Exception
          {
          @Override
          protected void runInternal(IProgressMonitor monitor) throws Exception
          {
@@ -125,7 +125,7 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
          @Override
          protected String getErrorMessage()
          {
          @Override
          protected String getErrorMessage()
          {
-            return "Error while loading SNMP configuration";
+            return Messages.get().SnmpCredentials_ErrorLoadingConfig;
          }
       }.start();
        }
          }
       }.start();
        }
@@ -306,8 +306,8 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
    private void createSnmpPortList()
    {
       Section section = toolkit.createSection(form.getBody(), Section.DESCRIPTION | Section.TITLE_BAR);
    private void createSnmpPortList()
    {
       Section section = toolkit.createSection(form.getBody(), Section.DESCRIPTION | Section.TITLE_BAR);
-      section.setText("SNMP Ports");
-      section.setDescription("SNMP ports used in the network");
+      section.setText(Messages.get().SnmpCredentials_Ports);
+      section.setDescription(Messages.get().SnmpCredentials_PortsDescription);
       TableWrapData td = new TableWrapData();
       td.align = TableWrapData.FILL;
       td.grabHorizontal = true;
       TableWrapData td = new TableWrapData();
       td.align = TableWrapData.FILL;
       td.grabHorizontal = true;
@@ -410,7 +410,7 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
                catch(Exception e)
                {
                        MessageDialogHelper.openError(getSite().getShell(), Messages.get().SnmpConfigurator_Error, 
                catch(Exception e)
                {
                        MessageDialogHelper.openError(getSite().getShell(), Messages.get().SnmpConfigurator_Error, 
-                             String.format("Cannot save SNMP configuration: %s", e.getLocalizedMessage()));
+                             String.format(Messages.get().SnmpCredentials_CannotSaveConfig, e.getLocalizedMessage()));
                }
        }
 
                }
        }
 
@@ -454,7 +454,7 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
         */
        private void save()
        {
         */
        private void save()
        {
-               new ConsoleJob("Save SNMP Configuration", this, Activator.PLUGIN_ID, null) {
+               new ConsoleJob(Messages.get().SnmpCredentials_SaveConfig, this, Activator.PLUGIN_ID, null) {
                        @Override
                        protected void runInternal(IProgressMonitor monitor) throws Exception
                        {
                        @Override
                        protected void runInternal(IProgressMonitor monitor) throws Exception
                        {
@@ -472,7 +472,7 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
                        @Override
                        protected String getErrorMessage()
                        {
                        @Override
                        protected String getErrorMessage()
                        {
-                               return "Error while saving SNMP configuration";
+                               return Messages.get().SnmpCredentials_ErrorSavingConfig;
                        }
                }.start();
        }
                        }
                }.start();
        }
@@ -557,8 +557,8 @@ public class SnmpCredentials extends ViewPart implements ISaveablePart
     */
    private void addSnmpPort()
    {
     */
    private void addSnmpPort()
    {
-      InputDialog dlg = new InputDialog(getSite().getShell(), "Add SNMP Port"
-            "Please enter SNMP Port", "", null); //$NON-NLS-1$
+      InputDialog dlg = new InputDialog(getSite().getShell(), Messages.get().SnmpCredentials_AddPort
+            Messages.get().SnmpCredentials_PleaseEnterPort, "", null); //$NON-NLS-1$
       if (dlg.open() == Window.OK)
       {
          String value = dlg.getValue();
       if (dlg.open() == Window.OK)
       {
          String value = dlg.getValue();
index 1e96505..a010cad 100644 (file)
@@ -39,8 +39,8 @@ public class SnmpConfig
       config.communities = session.getSnmpCommunities();
       config.usmCredentials = session.getSnmpUsmCredentials();
       Map<String, ServerVariable> variables = session.getServerVariables();
       config.communities = session.getSnmpCommunities();
       config.usmCredentials = session.getSnmpUsmCredentials();
       Map<String, ServerVariable> variables = session.getServerVariables();
-      ServerVariable v = variables.get("SNMPPorts");
-      config.ports = parsePorts(v != null ? v.getValue() : "" );
+      ServerVariable v = variables.get("SNMPPorts"); //$NON-NLS-1$
+      config.ports = parsePorts(v != null ? v.getValue() : "" ); //$NON-NLS-1$
 
       return config;
    }
 
       return config;
    }
@@ -51,7 +51,7 @@ public class SnmpConfig
     */
    public static List<String> parsePorts(String portList)
    {
     */
    public static List<String> parsePorts(String portList)
    {
-      String[] arr = portList.split(",");
+      String[] arr = portList.split(","); //$NON-NLS-1$
       List<String> list = new ArrayList<String>(Arrays.asList(arr));
       return list;      
    }
       List<String> list = new ArrayList<String>(Arrays.asList(arr));
       return list;      
    }
@@ -64,7 +64,7 @@ public class SnmpConfig
          str.append(ports.get(i));
          if(i != ports.size() - 1)
          {
          str.append(ports.get(i));
          if(i != ports.size() - 1)
          {
-            str.append(",");            
+            str.append(",");             //$NON-NLS-1$
          }
       }
       return str.toString();
          }
       }
       return str.toString();
@@ -81,7 +81,7 @@ public class SnmpConfig
    {
       session.updateSnmpCommunities(communities);
       session.updateSnmpUsmCredentials(usmCredentials);
    {
       session.updateSnmpCommunities(communities);
       session.updateSnmpUsmCredentials(usmCredentials);
-      session.setServerVariable("SNMPPorts", parsePorts());
+      session.setServerVariable("SNMPPorts", parsePorts()); //$NON-NLS-1$
    }
    
    /**
    }
    
    /**
index eff2f9d..a1e6cb2 100644 (file)
             label="SNMP Credentials"
             visible="true">
          <action
             label="SNMP Credentials"
             visible="true">
          <action
-               class="org.netxms.ui.eclipse.snmp.actions.SnmpConfigrationAction"
+               class="org.netxms.ui.eclipse.snmp.actions.OpenSnmpCredentialsEditor"
                definitionId="org.netxms.ui.eclipse.snmp.commands.open_snmp_configuration"
                id="org.netxms.ui.eclipse.snmp.actions.open_snmp_configuration"
                label="%action.label.SNMPCredentials"
                definitionId="org.netxms.ui.eclipse.snmp.commands.open_snmp_configuration"
                id="org.netxms.ui.eclipse.snmp.actions.open_snmp_configuration"
                label="%action.label.SNMPCredentials"
index 009598b..7764931 100644 (file)
@@ -55,7 +55,9 @@ public class Messages extends NLS
        public String OpenMibExplorer_ErrorText;
        public String OpenMibExplorerForNode_Error;
        public String OpenMibExplorerForNode_ErrorText;
        public String OpenMibExplorer_ErrorText;
        public String OpenMibExplorerForNode_Error;
        public String OpenMibExplorerForNode_ErrorText;
-       public String OpenSnmpTrapMonitor_Error;
+       public String OpenSnmpCredentialsEditor_CannotOpenView;
+   public String OpenSnmpCredentialsEditor_Error;
+   public String OpenSnmpTrapMonitor_Error;
        public String OpenSnmpTrapMonitor_ErrorText;
        public String OpenSnmpTrapMonitor_JobError;
        public String OpenSnmpTrapMonitor_JobTitle;
        public String OpenSnmpTrapMonitor_ErrorText;
        public String OpenSnmpTrapMonitor_JobError;
        public String OpenSnmpTrapMonitor_JobTitle;
@@ -83,7 +85,17 @@ public class Messages extends NLS
    public String SnmpConfigurator_SectionCommunitiesDescr;
    public String SnmpConfigurator_SectionUSM;
    public String SnmpConfigurator_SectionUSMDescr;
    public String SnmpConfigurator_SectionCommunitiesDescr;
    public String SnmpConfigurator_SectionUSM;
    public String SnmpConfigurator_SectionUSMDescr;
-       public String SnmpTrapComparator_Unknown;
+       public String SnmpCredentials_AddPort;
+   public String SnmpCredentials_CannotSaveConfig;
+   public String SnmpCredentials_ErrorLoadingConfig;
+   public String SnmpCredentials_ErrorSavingConfig;
+   public String SnmpCredentials_FormTitle;
+   public String SnmpCredentials_LoadingConfig;
+   public String SnmpCredentials_PleaseEnterPort;
+   public String SnmpCredentials_Ports;
+   public String SnmpCredentials_PortsDescription;
+   public String SnmpCredentials_SaveConfig;
+   public String SnmpTrapComparator_Unknown;
        public String SnmpTrapEditor_ColDescription;
        public String SnmpTrapEditor_ColEvent;
        public String SnmpTrapEditor_ColID;
        public String SnmpTrapEditor_ColDescription;
        public String SnmpTrapEditor_ColEvent;
        public String SnmpTrapEditor_ColID;
@@ -23,6 +23,7 @@ import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
 import org.eclipse.ui.PartInitException;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
 import org.eclipse.ui.PartInitException;
+import org.netxms.ui.eclipse.snmp.Messages;
 import org.netxms.ui.eclipse.snmp.views.SnmpCredentials;
 import org.netxms.ui.eclipse.tools.MessageDialogHelper;
 
 import org.netxms.ui.eclipse.snmp.views.SnmpCredentials;
 import org.netxms.ui.eclipse.tools.MessageDialogHelper;
 
@@ -30,7 +31,7 @@ import org.netxms.ui.eclipse.tools.MessageDialogHelper;
  * Workbench action for opening SNMP trap configurator view.
  *
  */
  * Workbench action for opening SNMP trap configurator view.
  *
  */
-public class SnmpConfigrationAction implements IWorkbenchWindowActionDelegate
+public class OpenSnmpCredentialsEditor implements IWorkbenchWindowActionDelegate
 {
        private IWorkbenchWindow window;
        
 {
        private IWorkbenchWindow window;
        
@@ -65,7 +66,7 @@ public class SnmpConfigrationAction implements IWorkbenchWindowActionDelegate
                        } 
                        catch (PartInitException e) 
                        {
                        } 
                        catch (PartInitException e) 
                        {
-                               MessageDialogHelper.openError(window.getShell(), "Error opening view", "Error: " + e.getMessage());
+                               MessageDialogHelper.openError(window.getShell(), Messages.get().OpenSnmpCredentialsEditor_Error, String.format(Messages.get().OpenSnmpCredentialsEditor_CannotOpenView, e.getLocalizedMessage()));
                        }
                }
        }
                        }
                }
        }
index f0853a6..495a817 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -74,6 +76,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapEditor_ColID=ID
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapEditor_ColID=ID
index bef1d2e..07be52f 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Chyba
 OpenMibExplorerForNode_ErrorText=Chyba p\u0159i otev\u00EDr\u00E1n\u00ED\:
 OpenMibExplorer_Error=Chyba
 OpenMibExplorer_ErrorText=Chyba p\u0159i otev\u00EDr\u00E1n\u00ED\:
 OpenMibExplorerForNode_ErrorText=Chyba p\u0159i otev\u00EDr\u00E1n\u00ED\:
 OpenMibExplorer_Error=Chyba
 OpenMibExplorer_ErrorText=Chyba p\u0159i otev\u00EDr\u00E1n\u00ED\:
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Chyba
 OpenSnmpTrapMonitor_ErrorText=Chyba p\u0159i otev\u00EDr\u00E1n\u00ED\:
 OpenSnmpTrapMonitor_JobError=Nelze se p\u0159ihl\u00E1sit k odb\u011Bru SNMP trap ud\u00E1lost\u00ED
 OpenSnmpTrapMonitor_Error=Chyba
 OpenSnmpTrapMonitor_ErrorText=Chyba p\u0159i otev\u00EDr\u00E1n\u00ED\:
 OpenSnmpTrapMonitor_JobError=Nelze se p\u0159ihl\u00E1sit k odb\u011Bru SNMP trap ud\u00E1lost\u00ED
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP community
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community stringy pou\u017eit\u00e9 v s\u00edti
 SnmpConfigurator_SectionUSM=SNMP USM pov\u011b\u0159en\u00ed
 SnmpConfigurator_SectionUSMDescr=SNMP USM pov\u011b\u0159en\u00ed pou\u017eit\u00e1 v s\u00edti
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community stringy pou\u017eit\u00e9 v s\u00edti
 SnmpConfigurator_SectionUSM=SNMP USM pov\u011b\u0159en\u00ed
 SnmpConfigurator_SectionUSMDescr=SNMP USM pov\u011b\u0159en\u00ed pou\u017eit\u00e1 v s\u00edti
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<nezn\u00E1m\u00FD>
 SnmpTrapEditor_ColDescription=Popis
 SnmpTrapEditor_ColEvent=Ud\u00E1lost
 SnmpTrapComparator_Unknown=<nezn\u00E1m\u00FD>
 SnmpTrapEditor_ColDescription=Popis
 SnmpTrapEditor_ColEvent=Ud\u00E1lost
index 50cba3b..84c04cf 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
index 26c028e..b940042 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error al abrir la vista: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error al abrir la vista: 
 OpenMibExplorerForNode_ErrorText=Error al abrir la vista: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error al abrir la vista: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error al abrir la vista: 
 OpenSnmpTrapMonitor_JobError=No es posible suscribir al registro de traps SNMP
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error al abrir la vista: 
 OpenSnmpTrapMonitor_JobError=No es posible suscribir al registro de traps SNMP
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<desconocido>
 SnmpTrapEditor_ColDescription=Descripci\u00f3n
 SnmpTrapEditor_ColEvent=Evento
 SnmpTrapComparator_Unknown=<desconocido>
 SnmpTrapEditor_ColDescription=Descripci\u00f3n
 SnmpTrapEditor_ColEvent=Evento
index 50cba3b..84c04cf 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
index c920dbc..bd04ce3 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenMibExplorerForNode_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenMibExplorer_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenMibExplorer_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenMibExplorerForNode_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenMibExplorer_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenMibExplorer_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenSnmpTrapMonitor_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenSnmpTrapMonitor_JobError=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f SNMP Traps
 OpenSnmpTrapMonitor_Error=\u041e\u0448\u0438\u0431\u043a\u0430
 OpenSnmpTrapMonitor_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f: 
 OpenSnmpTrapMonitor_JobError=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f SNMP Traps
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u0441\u0435\u0442\u0438
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e>
 SnmpTrapEditor_ColDescription=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
 SnmpTrapEditor_ColEvent=\u0421\u043e\u0431\u044b\u0442\u0438\u0435
 SnmpTrapComparator_Unknown=<\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e>
 SnmpTrapEditor_ColDescription=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
 SnmpTrapEditor_ColEvent=\u0421\u043e\u0431\u044b\u0442\u0438\u0435
index 50cba3b..84c04cf 100644 (file)
@@ -45,6 +45,8 @@ OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
 OpenMibExplorer_ErrorText=Error opening view: 
+OpenSnmpCredentialsEditor_CannotOpenView=Cannot open SNMP credentials editor: %s
+OpenSnmpCredentialsEditor_Error=Error
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
 OpenSnmpTrapMonitor_Error=Error
 OpenSnmpTrapMonitor_ErrorText=Error opening view: 
 OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
@@ -73,6 +75,16 @@ SnmpConfigurator_SectionCommunities=SNMP Communities
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
 SnmpConfigurator_SectionCommunitiesDescr=SNMP community strings used in the network
 SnmpConfigurator_SectionUSM=SNMP USM Credentials
 SnmpConfigurator_SectionUSMDescr=SNMP USM credentials used in the network
+SnmpCredentials_AddPort=Add SNMP Port
+SnmpCredentials_CannotSaveConfig=Cannot save SNMP configuration: %s
+SnmpCredentials_ErrorLoadingConfig=Error while loading SNMP configuration
+SnmpCredentials_ErrorSavingConfig=Error while saving SNMP configuration
+SnmpCredentials_FormTitle=SNMP Configuration
+SnmpCredentials_LoadingConfig=Loading SNMP configuration
+SnmpCredentials_PleaseEnterPort=Please enter SNMP Port
+SnmpCredentials_Ports=SNMP Ports
+SnmpCredentials_PortsDescription=SNMP ports used in the network
+SnmpCredentials_SaveConfig=Save SNMP Configuration
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event
 SnmpTrapComparator_Unknown=<unknown>
 SnmpTrapEditor_ColDescription=Description
 SnmpTrapEditor_ColEvent=Event