code sync
authorVictor Kirhenshtein <victor@netxms.org>
Mon, 18 Nov 2013 12:42:07 +0000 (14:42 +0200)
committerVictor Kirhenshtein <victor@netxms.org>
Mon, 18 Nov 2013 12:42:07 +0000 (14:42 +0200)
32 files changed:
webui/webapp/SNMP/OSGI-INF/l10n/bundle.properties [new file with mode: 0644]
webui/webapp/SNMP/OSGI-INF/l10n/bundle_es.properties [new file with mode: 0644]
webui/webapp/SNMP/OSGI-INF/l10n/bundle_ru.properties [new file with mode: 0644]
webui/webapp/SNMP/OSGI-INF/l10n/bundle_zh_CN.properties [new file with mode: 0644]
webui/webapp/SNMP/build.properties
webui/webapp/SNMP/plugin.xml
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/dialogs/MibSelectionDialog.java
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/dialogs/MibWalkDialog.java
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages.properties
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/messages_es.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
webui/webapp/SNMP/src/org/netxms/ui/eclipse/snmp/widgets/MibObjectDetails.java
webui/webapp/ServiceView/META-INF/MANIFEST.MF
webui/webapp/ServiceView/OSGI-INF/l10n/bundle.properties [new file with mode: 0644]
webui/webapp/ServiceView/OSGI-INF/l10n/bundle_es.properties [new file with mode: 0644]
webui/webapp/ServiceView/OSGI-INF/l10n/bundle_ru.properties [new file with mode: 0644]
webui/webapp/ServiceView/OSGI-INF/l10n/bundle_zh_CN.properties [new file with mode: 0644]
webui/webapp/ServiceView/build.properties
webui/webapp/ServiceView/plugin.xml
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/Activator.java
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/Messages.java [new file with mode: 0644]
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/actions/OpenServiceTree.java
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages.properties [new file with mode: 0644]
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_es.properties [new file with mode: 0644]
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_ru.properties [new file with mode: 0644]
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_zh_CN.properties [new file with mode: 0644]
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/views/ServiceTreeView.java
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/widgets/ServiceTree.java
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/widgets/helpers/ServiceFigure.java
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/widgets/helpers/ServiceTreeContentProvider.java
webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/widgets/helpers/ServiceTreeLabelProvider.java

diff --git a/webui/webapp/SNMP/OSGI-INF/l10n/bundle.properties b/webui/webapp/SNMP/OSGI-INF/l10n/bundle.properties
new file mode 100644 (file)
index 0000000..5b99b89
--- /dev/null
@@ -0,0 +1,19 @@
+#Properties file for org.netxms.ui.eclipse.snmp
+view.name.TrapCfg = SNMP Trap Configuration
+view.name.MIBExplorer = MIB Explorer
+view.name.TrapMonitor = SNMP Trap Monitor
+command.description.TrapCfg = Open SNMP traps configuration
+command.name.TrapCfg = SNMP Traps Configuration
+command.description.MIBExplorer = Open MIB Explorer
+command.name.MIBExplorer = MIB Explorer
+command.description.TrapMonitor = Open SNMP trap monitor
+command.name.TrapMonitor = SNMP Trap Monitor
+actionSet.label.TrapCfg = SNMP Traps Configuration
+action.label.TrapCfg = SNMP Traps Configuration
+action.tooltip.TrapCfg = Open SNMP traps configuration
+action.label.TrapMonitor = SNMP Traps
+action.tooltip.TrapMonitor = Open SNMP trap monitor
+actionSet.label.MIBExplorer = MIB Explorer
+action.label.MIBExplorer = MIB Explorer
+action.tooltip.MIBExplorer = Open MIB Explorer
+action.label.MIBExplorerNode = &MIB Explorer
\ No newline at end of file
diff --git a/webui/webapp/SNMP/OSGI-INF/l10n/bundle_es.properties b/webui/webapp/SNMP/OSGI-INF/l10n/bundle_es.properties
new file mode 100644 (file)
index 0000000..db2df7f
--- /dev/null
@@ -0,0 +1,18 @@
+action.label.MIBExplorer = MIB Explorer
+action.label.MIBExplorerNode = &MIB Explorer
+action.label.TrapCfg = SNMP Traps Configuration
+action.label.TrapMonitor = SNMP Traps
+action.tooltip.MIBExplorer = Open MIB Explorer
+action.tooltip.TrapCfg = Open SNMP traps configuration
+action.tooltip.TrapMonitor = Open SNMP trap monitor
+actionSet.label.MIBExplorer = MIB Explorer
+actionSet.label.TrapCfg = SNMP Traps Configuration
+command.description.MIBExplorer = Open MIB Explorer
+command.description.TrapCfg = Open SNMP traps configuration
+command.description.TrapMonitor = Open SNMP trap monitor
+command.name.MIBExplorer = MIB Explorer
+command.name.TrapCfg = SNMP Traps Configuration
+command.name.TrapMonitor = SNMP Trap Monitor
+view.name.MIBExplorer = MIB Explorer
+view.name.TrapCfg = SNMP Trap Configuration
+view.name.TrapMonitor = SNMP Trap Monitor
diff --git a/webui/webapp/SNMP/OSGI-INF/l10n/bundle_ru.properties b/webui/webapp/SNMP/OSGI-INF/l10n/bundle_ru.properties
new file mode 100644 (file)
index 0000000..8f2bcda
--- /dev/null
@@ -0,0 +1,18 @@
+action.label.MIBExplorer = \u041f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a \u043f\u043e MIB
+action.label.MIBExplorerNode = \u041f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a \u043f\u043e &MIB
+action.label.TrapCfg = \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+action.label.TrapMonitor = \u041b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+action.tooltip.MIBExplorer = \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a \u043f\u043e MIB
+action.tooltip.TrapCfg = \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+action.tooltip.TrapMonitor = \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+actionSet.label.MIBExplorer = \u041f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a \u043f\u043e MIB
+actionSet.label.TrapCfg = \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+command.description.MIBExplorer = \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a \u043f\u043e MIB
+command.description.TrapCfg = \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+command.description.TrapMonitor = \u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+command.name.MIBExplorer = \u041f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a \u043f\u043e MIB
+command.name.TrapCfg = \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+command.name.TrapMonitor = \u041c\u043e\u043d\u0438\u0442\u043e\u0440 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+view.name.MIBExplorer = \u041f\u0440\u043e\u0432\u043e\u0434\u043d\u0438\u043a \u043f\u043e MIB
+view.name.TrapCfg = \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+view.name.TrapMonitor = \u041c\u043e\u043d\u0438\u0442\u043e\u0440 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
diff --git a/webui/webapp/SNMP/OSGI-INF/l10n/bundle_zh_CN.properties b/webui/webapp/SNMP/OSGI-INF/l10n/bundle_zh_CN.properties
new file mode 100644 (file)
index 0000000..db2df7f
--- /dev/null
@@ -0,0 +1,18 @@
+action.label.MIBExplorer = MIB Explorer
+action.label.MIBExplorerNode = &MIB Explorer
+action.label.TrapCfg = SNMP Traps Configuration
+action.label.TrapMonitor = SNMP Traps
+action.tooltip.MIBExplorer = Open MIB Explorer
+action.tooltip.TrapCfg = Open SNMP traps configuration
+action.tooltip.TrapMonitor = Open SNMP trap monitor
+actionSet.label.MIBExplorer = MIB Explorer
+actionSet.label.TrapCfg = SNMP Traps Configuration
+command.description.MIBExplorer = Open MIB Explorer
+command.description.TrapCfg = Open SNMP traps configuration
+command.description.TrapMonitor = Open SNMP trap monitor
+command.name.MIBExplorer = MIB Explorer
+command.name.TrapCfg = SNMP Traps Configuration
+command.name.TrapMonitor = SNMP Trap Monitor
+view.name.MIBExplorer = MIB Explorer
+view.name.TrapCfg = SNMP Trap Configuration
+view.name.TrapMonitor = SNMP Trap Monitor
index 6c480f3..d919694 100644 (file)
@@ -3,4 +3,5 @@ output.. = bin/
 bin.includes = META-INF/,\
                .,\
                plugin.xml,\
-               icons/
+               icons/,\
+               OSGI-INF/
index be8eadc..e14b40b 100644 (file)
@@ -9,7 +9,7 @@
             class="org.netxms.ui.eclipse.snmp.views.SnmpTrapEditor"
             icon="icons/trapeditor.png"
             id="org.netxms.ui.eclipse.snmp.views.SnmpTrapEditor"
-            name="SNMP Trap Configuration"
+            name="%view.name.TrapCfg"
             restorable="true">
       </view>
       <view
             class="org.netxms.ui.eclipse.snmp.views.MibExplorer"
             icon="icons/mibexplorer.gif"
             id="org.netxms.ui.eclipse.snmp.views.MibExplorer"
-            name="MIB Explorer"
+            name="%view.name.MIBExplorer"
             restorable="true">
       </view>
       <view
             class="org.netxms.ui.eclipse.snmp.views.SnmpTrapMonitor"
             icon="icons/snmp_trap_monitor.png"
             id="org.netxms.ui.eclipse.snmp.views.SnmpTrapMonitor"
-            name="SNMP Trap Monitor"
+            name="%view.name.TrapMonitor"
             restorable="true">
       </view>
    </extension>
    <extension
          point="org.eclipse.ui.commands">
       <command
-            description="Open SNMP traps configuration"
+            description="%command.description.TrapCfg"
             id="org.netxms.ui.eclipse.snmp.commands.open_snmp_trap_editor"
-            name="SNMP Traps Configuration">
+            name="%command.name.TrapCfg">
       </command>
       <command
-            description="Open MIB Explorer"
+            description="%command.description.MIBExplorer"
             id="org.netxms.ui.eclipse.snmp.commands.open_mib_explorer"
-            name="MIB Explorer">
+            name="%command.name.MIBExplorer">
       </command>
       <command
             categoryId="org.netxms.ui.eclipse.console.category.views"
-            description="Open SNMP trap monitor"
+            description="%command.description.TrapMonitor"
             id="org.netxms.ui.eclipse.snmp.commands.open_snmp_trap_monitor"
-            name="SNMP Trap Monitor">
+            name="%command.name.TrapMonitor">
       </command>
    </extension>
    <extension
          point="org.eclipse.ui.actionSets">
       <actionSet
             id="org.netxms.ui.eclipse.action_set.snmp_traps_configuration"
-            label="SNMP Traps Configuration"
+            label="%actionSet.label.TrapCfg"
             visible="true">
          <action
                class="org.netxms.ui.eclipse.snmp.actions.OpenTrapEditor"
                definitionId="org.netxms.ui.eclipse.snmp.commands.open_snmp_trap_editor"
                icon="icons/trapeditor.png"
                id="org.netxms.ui.eclipse.snmp.actions.open_trap_editor"
-               label="SNMP Traps Configuration"
+               label="%action.label.TrapCfg"
                menubarPath="config/additions"
                style="push"
-               tooltip="Open SNMP traps configuration">
+               tooltip="%action.tooltip.TrapCfg">
          </action>
          <action
                class="org.netxms.ui.eclipse.snmp.actions.OpenSnmpTrapMonitor"
                definitionId="org.netxms.ui.eclipse.snmp.commands.open_snmp_trap_monitor"
                id="org.netxms.ui.eclipse.snmp.actions.open_snmp_trap_monitor"
-               label="SNMP Traps"
+               label="%action.label.TrapMonitor"
                menubarPath="monitor/additions"
-               tooltip="Open SNMP trap monitor">
+               tooltip="%action.tooltip.TrapMonitor">
          </action>
       </actionSet>
       <actionSet
             id="org.netxms.ui.eclipse.action_set.mib_explorer"
-            label="MIB Explorer"
+            label="%actionSet.label.MIBExplorer"
             visible="true">
          <action
                class="org.netxms.ui.eclipse.snmp.actions.OpenMibExplorer"
                definitionId="org.netxms.ui.eclipse.snmp.commands.open_mib_explorer"
                icon="icons/mibexplorer.gif"
                id="org.netxms.ui.eclipse.snmp.actions.open_mib_explorer"
-               label="MIB Explorer"
+               label="%action.label.MIBExplorer"
                menubarPath="view/tools"
                style="push"
-               tooltip="Open MIB Explorer">
+               tooltip="%action.tooltip.MIBExplorer">
          </action>
       </actionSet>
    </extension>
@@ -99,7 +99,7 @@
                enablesFor="1"
                icon="icons/mibexplorer.gif"
                id="org.netxms.ui.eclipse.snmp.popupActions.OpenMibExplorer"
-               label="&amp;MIB Explorer"
+               label="%action.label.MIBExplorerNode"
                menubarPath="additions">
          </action>
       </objectContribution>
index 51805cc..31afed6 100644 (file)
@@ -157,7 +157,7 @@ public class MibSelectionDialog extends Dialog
                if (nodeId != 0)
                {
                        Button button = new Button(dialogArea, SWT.PUSH);
-                       button.setText("&Walk...");
+                       button.setText(Messages.get().MibSelectionDialog_Walk);
                        gd = new GridData();
                        gd.widthHint = WidgetHelper.BUTTON_WIDTH_HINT;
                        gd.verticalAlignment = SWT.BOTTOM;
@@ -224,7 +224,7 @@ public class MibSelectionDialog extends Dialog
                }
                catch(SnmpObjectIdFormatException e)
                {
-                       MessageDialogHelper.openWarning(getShell(), Messages.get().MibSelectionDialog_Warning, "Please enter valid SNMP object ID or select one from the tree");
+                       MessageDialogHelper.openWarning(getShell(), Messages.get().MibSelectionDialog_Warning, Messages.get().MibSelectionDialog_EnterValidOID);
                        return;
                }
                
@@ -306,7 +306,7 @@ public class MibSelectionDialog extends Dialog
                }
                catch(SnmpObjectIdFormatException e)
                {
-                       MessageDialogHelper.openError(getShell(), "Error", "Error parsing SNMP OID");
+                       MessageDialogHelper.openError(getShell(), Messages.get().MibSelectionDialog_Error, Messages.get().MibSelectionDialog_OIDParseError);
                }
        }
 
index 111a5b6..6871b5c 100644 (file)
@@ -65,7 +65,7 @@ public class MibWalkDialog extends Dialog implements SnmpWalkListener
        protected void configureShell(Shell newShell)
        {
                super.configureShell(newShell);
-               newShell.setText("MIB Walk Results");
+               newShell.setText(Messages.get().MibWalkDialog_Title);
                IDialogSettings settings = Activator.getDefault().getDialogSettings();
                try
                {
index f112689..aca9e1a 100644 (file)
@@ -5,6 +5,7 @@ MibExplorer_CopyToClipboard=Copy to clipboard
 MibExplorer_CopyType=Copy &type to clipboard
 MibExplorer_CopyValue=Copy &value to clipboard
 MibExplorer_OID=OID
+MibExplorer_SelectInTree=Select in MIB tree
 MibExplorer_SetNodeObject=Set &node object...
 MibExplorer_Type=Type
 MibExplorer_Value=Value
@@ -14,13 +15,20 @@ MibExplorer_WalkJob_Title=Walk MIB tree
 MibObjectDetails_8=Description
 MibObjectDetails_Access=Access
 MibObjectDetails_OID=Object identifier (OID)
+MibObjectDetails_OIDAsText=OID as text
 MibObjectDetails_Status=Status
+MibObjectDetails_TextualConv=Textual Convention
 MibObjectDetails_Type=Type
+MibSelectionDialog_EnterValidOID=Please enter valid SNMP object ID or select one from the tree
+MibSelectionDialog_Error=Error
 MibSelectionDialog_MIBTree=MIB tree
 MibSelectionDialog_OID=Object identifier (OID)
+MibSelectionDialog_OIDParseError=Error parsing SNMP OID
 MibSelectionDialog_Title=Select MIB Object
+MibSelectionDialog_Walk=&Walk...
 MibSelectionDialog_Warning=Warning
 MibSelectionDialog_WarningText=Please select MIB object before pressing OK
+MibWalkDialog_Title=MIB Walk Results
 OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
index cc692a5..97d336c 100644 (file)
@@ -5,6 +5,7 @@ MibExplorer_CopyToClipboard=Copiar al portapapeles
 MibExplorer_CopyType=Copiar el &tipo al portapapeles
 MibExplorer_CopyValue=Copiar el &valor al portapapeles
 MibExplorer_OID=OID
+MibExplorer_SelectInTree=Select in MIB tree
 MibExplorer_SetNodeObject=Configurar el objeto &node...
 MibExplorer_Type=Tipo
 MibExplorer_Value=Valor
@@ -14,13 +15,20 @@ MibExplorer_WalkJob_Title=Recorrer el \u00e1rbol de la MIB
 MibObjectDetails_8=Descripci\u00f3n
 MibObjectDetails_Access=Acceso
 MibObjectDetails_OID=Identificador del Objeto (OID)
+MibObjectDetails_OIDAsText=OID as text
 MibObjectDetails_Status=Estado
+MibObjectDetails_TextualConv=Textual Convention
 MibObjectDetails_Type=Tipo
+MibSelectionDialog_EnterValidOID=Please enter valid SNMP object ID or select one from the tree
+MibSelectionDialog_Error=Error
 MibSelectionDialog_MIBTree=\u00c1rbol de la MIB
 MibSelectionDialog_OID=Identificador del Objeto (OID)
+MibSelectionDialog_OIDParseError=Error parsing SNMP OID
 MibSelectionDialog_Title=Seleccionar objeto de la MIB
+MibSelectionDialog_Walk=&Walk...
 MibSelectionDialog_Warning=Advertencia
 MibSelectionDialog_WarningText=Seleccionar un objeto de la MIB y pulsar Aceptar
+MibWalkDialog_Title=MIB Walk Results
 OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error al abrir la vista: 
 OpenMibExplorer_Error=Error
index f112689..5d3d997 100644 (file)
@@ -1,88 +1,96 @@
-LoginListener_JobError=Cannot load MIB file from server
-LoginListener_JobTitle=Load MIB file on startup
-MibExplorer_CopyName=Copy &name to clipboard
-MibExplorer_CopyToClipboard=Copy to clipboard
-MibExplorer_CopyType=Copy &type to clipboard
-MibExplorer_CopyValue=Copy &value to clipboard
+LoginListener_JobError=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b MIB \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430
+LoginListener_JobTitle=\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 MIB
+MibExplorer_CopyName=\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c &\u0438\u043c\u044f \u0432 \u0431\u0443\u0444\u0435\u0440
+MibExplorer_CopyToClipboard=\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0431\u0443\u0444\u0435\u0440
+MibExplorer_CopyType=\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c &\u0442\u0438\u043f \u0432 \u0431\u0443\u0444\u0435\u0440
+MibExplorer_CopyValue=\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442 &\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0431\u0443\u0444\u0435\u0440
 MibExplorer_OID=OID
-MibExplorer_SetNodeObject=Set &node object...
-MibExplorer_Type=Type
-MibExplorer_Value=Value
-MibExplorer_Walk=&Walk
-MibExplorer_WalkJob_Error=Cannot do SNMP MIB tree walk
-MibExplorer_WalkJob_Title=Walk MIB tree
-MibObjectDetails_8=Description
-MibObjectDetails_Access=Access
-MibObjectDetails_OID=Object identifier (OID)
-MibObjectDetails_Status=Status
-MibObjectDetails_Type=Type
-MibSelectionDialog_MIBTree=MIB tree
-MibSelectionDialog_OID=Object identifier (OID)
-MibSelectionDialog_Title=Select MIB Object
-MibSelectionDialog_Warning=Warning
-MibSelectionDialog_WarningText=Please select MIB object before pressing OK
-OpenMibExplorerForNode_Error=Error
-OpenMibExplorerForNode_ErrorText=Error opening view: 
-OpenMibExplorer_Error=Error
-OpenMibExplorer_ErrorText=Error opening view: 
-OpenSnmpTrapMonitor_Error=Error
-OpenSnmpTrapMonitor_ErrorText=Error opening view: 
-OpenSnmpTrapMonitor_JobError=Cannot subscribe to SNMP trap events
-OpenSnmpTrapMonitor_JobTitle=Subscribing to SNMP trap events
-OpenTrapEditor_Error=Error
-OpenTrapEditor_ErrorText=Error opening view: 
-ParamMappingEditDialog_ByOID=By object ID (OID)
-ParamMappingEditDialog_ByPos=By position
-ParamMappingEditDialog_Description=Description
-ParamMappingEditDialog_EnterVarbindPos=Enter varbind's position in range 1 .. 255
-ParamMappingEditDialog_NeverConvertToHex=&Never convert value to hex string
-ParamMappingEditDialog_Options=Options
-ParamMappingEditDialog_Select=Select...
-ParamMappingEditDialog_Title=Edit SNMP Trap Parameter Mapping
-ParamMappingEditDialog_Varbind=Varbind
-ParamMappingEditDialog_Warning=Warning
-ParamMappingEditDialog_WarningInvalidOID=SNMP OID you have entered is invalid. Please enter correct SNMP OID.
-ParamMappingLabelProvider_PositionPrefix=POS: 
-SnmpTrapComparator_Unknown=<unknown>
-SnmpTrapEditor_ColDescription=Description
-SnmpTrapEditor_ColEvent=Event
-SnmpTrapEditor_ColID=ID
-SnmpTrapEditor_ColOID=SNMP Trap OID
-SnmpTrapEditor_CreateJob_Error=Cannot modify SNMP trap configuration
-SnmpTrapEditor_CreateJob_Title=Create SNMP trap configuration record
-SnmpTrapEditor_Delete=&Delete
-SnmpTrapEditor_DeleteJob_Error=Cannot delete SNMP trap configuration record
-SnmpTrapEditor_DeleteJob_Title=Delete SNMP trap configuration records
-SnmpTrapEditor_LoadJob_Error=Cannot load SNMP traps configuration from server
-SnmpTrapEditor_LoadJob_Title=Load SNMP traps configuration
-SnmpTrapEditor_ModifyJob_Error=Cannot modify SNMP trap configuration
-SnmpTrapEditor_ModifyJob_Title=Modify SNMP trap configuration
-SnmpTrapEditor_NewMapping=&New trap mapping...
-SnmpTrapEditor_Properties=&Properties...
-SnmpTrapLabelProvider_Unknown=<unknown>
-SnmpTrapMonitorLabelProvider_Unknown=<unknown>
+MibExplorer_SelectInTree=\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 MIB
+MibExplorer_SetNodeObject=\u0412\u044b\u0431\u0440\u0430\u0442\u044c &\u0443\u0437\u0435\u043b...
+MibExplorer_Type=\u0422\u0438\u043f
+MibExplorer_Value=\u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435
+MibExplorer_Walk=&\u041e\u0431\u0445\u043e\u0434
+MibExplorer_WalkJob_Error=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u0431\u0445\u043e\u0434 SNMP MIB
+MibExplorer_WalkJob_Title=\u041e\u0431\u0445\u043e\u0434 \u0434\u0435\u0440\u0435\u0432\u0430 MIB
+MibObjectDetails_8=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
+MibObjectDetails_Access=\u0414\u043e\u0441\u0442\u0443\u043f
+MibObjectDetails_OID=\u041a\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (OID)
+MibObjectDetails_OIDAsText=OID \u043a\u0430\u043a \u0442\u0435\u043a\u0441\u0442
+MibObjectDetails_Status=\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435
+MibObjectDetails_TextualConv=\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f
+MibObjectDetails_Type=\u0422\u0438\u043f
+MibSelectionDialog_EnterValidOID=\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 SNMP \u0438\u043b\u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0435\u0433\u043e \u0438\u0437 \u0434\u0435\u0440\u0435\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432
+MibSelectionDialog_Error=\u041e\u0448\u0438\u0431\u043a\u0430
+MibSelectionDialog_MIBTree=\u0414\u0435\u0440\u0435\u0432\u043e MIB
+MibSelectionDialog_OID=\u041a\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (OID)
+MibSelectionDialog_OIDParseError=\u041e\u0448\u0438\u0431\u043a\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 SNMP OID
+MibSelectionDialog_Title=\u0412\u044b\u0431\u043e\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 MIB
+MibSelectionDialog_Walk=&\u041e\u0431\u0445\u043e\u0434...
+MibSelectionDialog_Warning=\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435
+MibSelectionDialog_WarningText=\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u043e\u0431\u044a\u0435\u043a\u0442 MIB \u0434\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044f OK
+MibWalkDialog_Title=\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0431\u0445\u043e\u0434\u0430 MIB
+OpenMibExplorerForNode_Error=\u041e\u0448\u0438\u0431\u043a\u0430
+OpenMibExplorerForNode_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432\u0438\u0434\u0430: 
+OpenMibExplorer_Error=\u041e\u0448\u0438\u0431\u043a\u0430
+OpenMibExplorer_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432\u0438\u0434\u0430: 
+OpenSnmpTrapMonitor_Error=\u041e\u0448\u0438\u0431\u043a\u0430
+OpenSnmpTrapMonitor_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432\u0438\u0434\u0430: 
+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 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+OpenSnmpTrapMonitor_JobTitle=\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+OpenTrapEditor_Error=\u041e\u0448\u0438\u0431\u043a\u0430
+OpenTrapEditor_ErrorText=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432\u0438\u0434\u0430: 
+ParamMappingEditDialog_ByOID=\u041f\u043e \u043a\u043e\u0434\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 (OID)
+ParamMappingEditDialog_ByPos=\u041f\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u0438
+ParamMappingEditDialog_Description=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
+ParamMappingEditDialog_EnterVarbindPos=\u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0432 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 \u043e\u0442 1 \u0434\u043e 255
+ParamMappingEditDialog_NeverConvertToHex=&\u041d\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0438\u0440\u0438\u0447\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443
+ParamMappingEditDialog_Options=\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b
+ParamMappingEditDialog_Select=\u0412\u044b\u0431\u0440\u0430\u0442\u044c...
+ParamMappingEditDialog_Title=\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+ParamMappingEditDialog_Varbind=\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f
+ParamMappingEditDialog_Warning=\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435
+ParamMappingEditDialog_WarningInvalidOID=\u0423\u043a\u0430\u0437\u0430\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 SNMP OID. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 SNMP OID.
+ParamMappingLabelProvider_PositionPrefix=\u041f\u041e\u0417: 
+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
+SnmpTrapEditor_ColID=\u041a\u043e\u0434
+SnmpTrapEditor_ColOID=\u041a\u043e\u0434 \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_CreateJob_Error=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_CreateJob_Title=\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_Delete=&\u0423\u0434\u0430\u043b\u0438\u0442\u044c
+SnmpTrapEditor_DeleteJob_Error=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_DeleteJob_Title=\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_LoadJob_Error=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430
+SnmpTrapEditor_LoadJob_Title=\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_ModifyJob_Error=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_ModifyJob_Title=\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043b\u043e\u0432\u0443\u0448\u043a\u0438 SNMP
+SnmpTrapEditor_NewMapping=&\u041d\u043e\u0432\u043e\u0435 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u043e\u0432\u0443\u0448\u043a\u0438...
+SnmpTrapEditor_Properties=&\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430...
+SnmpTrapLabelProvider_Unknown=<\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e>
+SnmpTrapMonitorLabelProvider_Unknown=<\u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e>
 SnmpTrapMonitor_ColOID=OID
-SnmpTrapMonitor_ColSourceIP=Source IP
-SnmpTrapMonitor_ColSourceNode=Source node
-SnmpTrapMonitor_ColTime=Timestamp
-SnmpTrapMonitor_ColVarbinds=Varbinds
-SnmpTrapMonitor_SubscribeJob_Error=Cannot subscribe to SNMP trap events
-SnmpTrapMonitor_SubscribeJob_Title=Subscribing to SNMP trap events
-SnmpTrapMonitor_UnsubscribeJob_Error=Cannot unsubscribe from SNMP trap events
-SnmpTrapMonitor_UnsubscribeJob_Title=Unsubscribe from SNMP trap events
-TrapConfigurationDialog_Add=&Add...
-TrapConfigurationDialog_Delete=&Delete
-TrapConfigurationDialog_Description=Description
-TrapConfigurationDialog_Edit=&Edit...
-TrapConfigurationDialog_Event=Event
-TrapConfigurationDialog_MoveDown=Move &down
-TrapConfigurationDialog_MoveUp=Move &up
-TrapConfigurationDialog_Number=Number
-TrapConfigurationDialog_Parameter=Parameter
-TrapConfigurationDialog_Parameters=Parameters
-TrapConfigurationDialog_Select=Select...
-TrapConfigurationDialog_Title=Edit SNMP Trap Mapping
-TrapConfigurationDialog_TrapOID=Trap OID
-TrapConfigurationDialog_UserTag=User Tag
-TrapConfigurationDialog_Warning=Warning
-TrapConfigurationDialog_WarningInvalidOID=SNMP OID you have entered is invalid. Please enter correct SNMP OID.
+SnmpTrapMonitor_ColSourceIP=\u0410\u0434\u0440\u0435\u0441 IP \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430
+SnmpTrapMonitor_ColSourceNode=\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a
+SnmpTrapMonitor_ColTime=\u0412\u0440\u0435\u043c\u044f
+SnmpTrapMonitor_ColVarbinds=\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435
+SnmpTrapMonitor_SubscribeJob_Error=\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 \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+SnmpTrapMonitor_SubscribeJob_Title=\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+SnmpTrapMonitor_UnsubscribeJob_Error=\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0443 \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+SnmpTrapMonitor_UnsubscribeJob_Title=\u041e\u0442\u043c\u0435\u043d\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+TrapConfigurationDialog_Add=&\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c...
+TrapConfigurationDialog_Delete=&\u0423\u0434\u0430\u043b\u0438\u0442\u044c
+TrapConfigurationDialog_Description=\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
+TrapConfigurationDialog_Edit=&\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c...
+TrapConfigurationDialog_Event=\u0421\u043e\u0431\u044b\u0442\u0438\u0435
+TrapConfigurationDialog_MoveDown=\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c &\u043d\u0438\u0436\u0435
+TrapConfigurationDialog_MoveUp=\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c &\u0432\u044b\u0448\u0435
+TrapConfigurationDialog_Number=\u041d\u043e\u043c\u0435\u0440
+TrapConfigurationDialog_Parameter=\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440
+TrapConfigurationDialog_Parameters=\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b
+TrapConfigurationDialog_Select=\u0412\u044b\u0431\u0440\u0430\u0442\u044c...
+TrapConfigurationDialog_Title=\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u043e\u0432\u0443\u0448\u0435\u043a SNMP
+TrapConfigurationDialog_TrapOID=\u041a\u043e\u0434 \u043b\u043e\u0432\u0443\u0448\u043a\u0438
+TrapConfigurationDialog_UserTag=\u041e\u0442\u043c\u0435\u0442\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f
+TrapConfigurationDialog_Warning=\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435
+TrapConfigurationDialog_WarningInvalidOID=\u0423\u043a\u0430\u0437\u0430\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043a\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 SNMP. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 SNMP.
index f112689..aca9e1a 100644 (file)
@@ -5,6 +5,7 @@ MibExplorer_CopyToClipboard=Copy to clipboard
 MibExplorer_CopyType=Copy &type to clipboard
 MibExplorer_CopyValue=Copy &value to clipboard
 MibExplorer_OID=OID
+MibExplorer_SelectInTree=Select in MIB tree
 MibExplorer_SetNodeObject=Set &node object...
 MibExplorer_Type=Type
 MibExplorer_Value=Value
@@ -14,13 +15,20 @@ MibExplorer_WalkJob_Title=Walk MIB tree
 MibObjectDetails_8=Description
 MibObjectDetails_Access=Access
 MibObjectDetails_OID=Object identifier (OID)
+MibObjectDetails_OIDAsText=OID as text
 MibObjectDetails_Status=Status
+MibObjectDetails_TextualConv=Textual Convention
 MibObjectDetails_Type=Type
+MibSelectionDialog_EnterValidOID=Please enter valid SNMP object ID or select one from the tree
+MibSelectionDialog_Error=Error
 MibSelectionDialog_MIBTree=MIB tree
 MibSelectionDialog_OID=Object identifier (OID)
+MibSelectionDialog_OIDParseError=Error parsing SNMP OID
 MibSelectionDialog_Title=Select MIB Object
+MibSelectionDialog_Walk=&Walk...
 MibSelectionDialog_Warning=Warning
 MibSelectionDialog_WarningText=Please select MIB object before pressing OK
+MibWalkDialog_Title=MIB Walk Results
 OpenMibExplorerForNode_Error=Error
 OpenMibExplorerForNode_ErrorText=Error opening view: 
 OpenMibExplorer_Error=Error
index 668c9c6..6f3983e 100644 (file)
@@ -75,7 +75,7 @@ public class MibObjectDetails extends Composite
                                }
                        });
 
-                       oidText = WidgetHelper.createLabeledText(this, SWT.BORDER, 500, "OID as text", "", WidgetHelper.DEFAULT_LAYOUT_DATA);
+                       oidText = WidgetHelper.createLabeledText(this, SWT.BORDER, 500, Messages.get().MibObjectDetails_OIDAsText, "", WidgetHelper.DEFAULT_LAYOUT_DATA); //$NON-NLS-1$
                        oidText.setEditable(false);
                }
                else
@@ -124,7 +124,7 @@ public class MibObjectDetails extends Composite
                gd.grabExcessVerticalSpace = true;
                gd.verticalAlignment = SWT.FILL;
                textualConvention = WidgetHelper.createLabeledText(this, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL | SWT.READ_ONLY,
-                                                                  500, "Textual Convention", "", gd);
+                                                                  500, Messages.get().MibObjectDetails_TextualConv, "", gd); //$NON-NLS-1$
                gd = new GridData();
                gd.grabExcessHorizontalSpace = true;
                gd.horizontalAlignment = SWT.FILL;
index ac5b4a9..1ee6f97 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Service View Plug-in for NXMC
 Bundle-SymbolicName: org.netxms.ui.eclipse.serviceview;singleton:=true
-Bundle-Version: 1.2.6
+Bundle-Version: 1.2.10
 Bundle-Activator: org.netxms.ui.eclipse.serviceview.Activator
 Bundle-Vendor: netxms.org
 Require-Bundle: org.eclipse.core.runtime;bundle-version="3.8.0",
diff --git a/webui/webapp/ServiceView/OSGI-INF/l10n/bundle.properties b/webui/webapp/ServiceView/OSGI-INF/l10n/bundle.properties
new file mode 100644 (file)
index 0000000..d77954c
--- /dev/null
@@ -0,0 +1,6 @@
+#Properties file for org.netxms.ui.eclipse.serviceview
+view.name.ServiceTree = Service Tree
+command.description.ServiceTree = Open service tree vizualization
+command.name.ServiceTree = Service Tree
+actionSet.label.ServiceTree = Service View
+action.label.ServiceTree = Service Tree
\ No newline at end of file
diff --git a/webui/webapp/ServiceView/OSGI-INF/l10n/bundle_es.properties b/webui/webapp/ServiceView/OSGI-INF/l10n/bundle_es.properties
new file mode 100644 (file)
index 0000000..44e1800
--- /dev/null
@@ -0,0 +1,5 @@
+action.label.ServiceTree = Service Tree
+actionSet.label.ServiceTree = Service View
+command.description.ServiceTree = Open service tree vizualization
+command.name.ServiceTree = Service Tree
+view.name.ServiceTree = Service Tree
diff --git a/webui/webapp/ServiceView/OSGI-INF/l10n/bundle_ru.properties b/webui/webapp/ServiceView/OSGI-INF/l10n/bundle_ru.properties
new file mode 100644 (file)
index 0000000..44e1800
--- /dev/null
@@ -0,0 +1,5 @@
+action.label.ServiceTree = Service Tree
+actionSet.label.ServiceTree = Service View
+command.description.ServiceTree = Open service tree vizualization
+command.name.ServiceTree = Service Tree
+view.name.ServiceTree = Service Tree
diff --git a/webui/webapp/ServiceView/OSGI-INF/l10n/bundle_zh_CN.properties b/webui/webapp/ServiceView/OSGI-INF/l10n/bundle_zh_CN.properties
new file mode 100644 (file)
index 0000000..44e1800
--- /dev/null
@@ -0,0 +1,5 @@
+action.label.ServiceTree = Service Tree
+actionSet.label.ServiceTree = Service View
+command.description.ServiceTree = Open service tree vizualization
+command.name.ServiceTree = Service Tree
+view.name.ServiceTree = Service Tree
index 6c480f3..d919694 100644 (file)
@@ -3,4 +3,5 @@ output.. = bin/
 bin.includes = META-INF/,\
                .,\
                plugin.xml,\
-               icons/
+               icons/,\
+               OSGI-INF/
index 0fd0ec3..0f1fd47 100644 (file)
@@ -9,30 +9,30 @@
             class="org.netxms.ui.eclipse.serviceview.views.ServiceTreeView"
             icon="icons/service_tree.png"
             id="org.netxms.ui.eclipse.serviceview.views.ServiceTreeView"
-            name="Service Tree"
+            name="%view.name.ServiceTree"
             restorable="true">
       </view>
    </extension>
    <extension
          point="org.eclipse.ui.commands">
       <command
-            description="Open service tree vizualization"
+            description="%command.description.ServiceTree"
             id="org.netxms.ui.eclipse.serviceview.commands.open_service_tree"
-            name="Service Tree">
+            name="%command.name.ServiceTree">
       </command>
    </extension>
    <extension
          point="org.eclipse.ui.actionSets">
       <actionSet
             id="org.netxms.ui.eclipse.action_set.service_view"
-            label="Service View"
+            label="%actionSet.label.ServiceTree"
             visible="true">
          <action
                class="org.netxms.ui.eclipse.serviceview.actions.OpenServiceTree"
                definitionId="org.netxms.ui.eclipse.serviceview.commands.open_service_tree"
                icon="icons/service_tree.png"
                id="org.netxms.ui.eclipse.serviceview.actions.open_service_tree"
-               label="Service Tree"
+               label="%action.label.ServiceTree"
                menubarPath="view/primary"
                style="push">
          </action>
index 50b8ed3..d36682f 100644 (file)
@@ -28,7 +28,7 @@ import org.osgi.framework.BundleContext;
 public class Activator extends AbstractUIPlugin
 {
        // The plug-in ID
-       public static final String PLUGIN_ID = "org.netxms.ui.eclipse.serviceview";
+       public static final String PLUGIN_ID = "org.netxms.ui.eclipse.serviceview"; //$NON-NLS-1$
 
        // The shared instance
        private static Activator plugin;
diff --git a/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/Messages.java b/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/Messages.java
new file mode 100644 (file)
index 0000000..59a921c
--- /dev/null
@@ -0,0 +1,28 @@
+package org.netxms.ui.eclipse.serviceview;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS
+{
+       private static final String BUNDLE_NAME = "org.netxms.ui.eclipse.serviceview.messages"; //$NON-NLS-1$
+       public static String OpenServiceTree_Error;
+       public static String OpenServiceTree_OpenViewError;
+       static
+       {
+               // initialize resource bundle
+               NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+       }
+
+       private Messages()
+       {
+ }
+
+
+       private static Messages instance = new Messages();
+
+       public static Messages get()
+       {
+               return instance;
+       }
+
+}
index 3bff58a..678c07a 100644 (file)
 package org.netxms.ui.eclipse.serviceview.actions;
 
 import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.MessageDialog;
 import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.IWorkbenchWindowActionDelegate;
 import org.eclipse.ui.PartInitException;
+import org.netxms.ui.eclipse.serviceview.Messages;
 import org.netxms.ui.eclipse.serviceview.views.ServiceTreeView;
+import org.netxms.ui.eclipse.tools.MessageDialogHelper;
 
 /**
  * Open service tree view
@@ -65,7 +66,7 @@ public class OpenServiceTree implements IWorkbenchWindowActionDelegate
                        } 
                        catch (PartInitException e) 
                        {
-                               MessageDialog.openError(window.getShell(), "Error", "Error opening view: " + e.getMessage());
+                               MessageDialogHelper.openError(window.getShell(), Messages.get().OpenServiceTree_Error, Messages.get().OpenServiceTree_OpenViewError + e.getMessage());
                        }
                }
        }
diff --git a/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages.properties b/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages.properties
new file mode 100644 (file)
index 0000000..d9e96eb
--- /dev/null
@@ -0,0 +1,2 @@
+OpenServiceTree_Error=Error
+OpenServiceTree_OpenViewError=Error opening view: 
diff --git a/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_es.properties b/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_es.properties
new file mode 100644 (file)
index 0000000..d9e96eb
--- /dev/null
@@ -0,0 +1,2 @@
+OpenServiceTree_Error=Error
+OpenServiceTree_OpenViewError=Error opening view: 
diff --git a/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_ru.properties b/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_ru.properties
new file mode 100644 (file)
index 0000000..d9e96eb
--- /dev/null
@@ -0,0 +1,2 @@
+OpenServiceTree_Error=Error
+OpenServiceTree_OpenViewError=Error opening view: 
diff --git a/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_zh_CN.properties b/webui/webapp/ServiceView/src/org/netxms/ui/eclipse/serviceview/messages_zh_CN.properties
new file mode 100644 (file)
index 0000000..d9e96eb
--- /dev/null
@@ -0,0 +1,2 @@
+OpenServiceTree_Error=Error
+OpenServiceTree_OpenViewError=Error opening view: 
index 30349f6..42194ef 100644 (file)
@@ -32,7 +32,7 @@ import org.netxms.ui.eclipse.shared.ConsoleSharedData;
  */
 public class ServiceTreeView extends ViewPart
 {
-       public static final String ID = "org.netxms.ui.eclipse.serviceview.views.ServiceTreeView";
+       public static final String ID = "org.netxms.ui.eclipse.serviceview.views.ServiceTreeView"; //$NON-NLS-1$
        
        private NXCSession session;
        private ServiceTree serviceTree;
index 7938223..3108b03 100644 (file)
@@ -39,8 +39,6 @@ import org.netxms.ui.eclipse.shared.ConsoleSharedData;
  */
 public class ServiceTree extends Composite implements IServiceFigureListener
 {
-       private static final long serialVersionUID = 1L;
-
        private GraphViewer viewer;
        private ServiceTreeModel model;
        
@@ -56,7 +54,7 @@ public class ServiceTree extends Composite implements IServiceFigureListener
                // Initiate loading of object manager plugin if it was not loaded before
                try
                {
-                       Platform.getAdapterManager().loadAdapter(((NXCSession)ConsoleSharedData.getSession()).getTopLevelObjects()[0], "org.eclipse.ui.model.IWorkbenchAdapter");
+                       Platform.getAdapterManager().loadAdapter(((NXCSession)ConsoleSharedData.getSession()).getTopLevelObjects()[0], "org.eclipse.ui.model.IWorkbenchAdapter"); //$NON-NLS-1$
                }
                catch(Exception e)
                {
index 3e18eed..259cab1 100644 (file)
@@ -69,7 +69,7 @@ public class ServiceFigure extends Figure
                label.setMaximumSize(new Dimension(MAX_LABEL_WIDTH, -1));
                add(label, BorderLayout.LEFT);
                
-               expandBox = new Label("");
+               expandBox = new Label(""); //$NON-NLS-1$
                expandBox.setFont(labelProvider.getFont());
                expandBox.setIcon(labelProvider.getExpansionStatusIcon(service));
                expandBox.setIconAlignment(PositionConstants.LEFT);
index 99cbb2c..b874bd2 100644 (file)
@@ -27,8 +27,6 @@ import org.eclipse.gef4.zest.core.viewers.IGraphEntityContentProvider;
  */
 public class ServiceTreeContentProvider implements IGraphEntityContentProvider
 {
-       private static final long serialVersionUID = 1L;
-
        /* (non-Javadoc)
         * @see org.eclipse.gef4.zest.core.viewers.IGraphEntityContentProvider#getConnectedTo(java.lang.Object)
         */
index 3de7896..c5e5233 100644 (file)
@@ -37,8 +37,6 @@ import org.netxms.ui.eclipse.serviceview.Activator;
  */
 public class ServiceTreeLabelProvider extends LabelProvider implements IFigureProvider
 {
-       private static final long serialVersionUID = 1L;
-
        private GraphViewer viewer;
        private IServiceFigureListener figureListener;
        private ILabelProvider workbenchLabelProvider;
@@ -56,9 +54,9 @@ public class ServiceTreeLabelProvider extends LabelProvider implements IFigurePr
                this.viewer = viewer;
                this.figureListener = figureListener;
                workbenchLabelProvider = WorkbenchLabelProvider.getDecoratingWorkbenchLabelProvider();
-               font = new Font(Display.getDefault(), "Verdana", 7, SWT.NORMAL);
-               collapsedIcon = Activator.getImageDescriptor("icons/collapsed.png").createImage();
-               expandedIcon = Activator.getImageDescriptor("icons/expanded.png").createImage();
+               font = new Font(Display.getDefault(), "Verdana", 7, SWT.NORMAL); //$NON-NLS-1$
+               collapsedIcon = Activator.getImageDescriptor("icons/collapsed.png").createImage(); //$NON-NLS-1$
+               expandedIcon = Activator.getImageDescriptor("icons/expanded.png").createImage(); //$NON-NLS-1$
        }
 
        /* (non-Javadoc)