externalized strings
authorVictor Kirhenshtein <victor@netxms.org>
Wed, 18 May 2016 12:09:11 +0000 (15:09 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Wed, 18 May 2016 12:09:11 +0000 (15:09 +0300)
26 files changed:
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/Messages.java
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/messages.properties
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/messages_cs.properties
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/messages_de.properties
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/messages_es.properties
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/messages_fr.properties
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/messages_ru.properties
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/messages_zh_CN.properties
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/objecttabs/internal/PerfTabGraph.java
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/propertypages/General.java
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/views/HistoricalGraphView.java
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/views/PredefinedGraphTree.java
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/widgets/TableValue.java
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/Messages.java
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/messages.properties
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/messages_cs.properties
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/messages_de.properties
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/messages_es.properties
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/messages_fr.properties
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/messages_ru.properties
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/messages_zh_CN.properties
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/objecttabs/internal/PerfTabGraph.java
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/propertypages/General.java
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/views/HistoricalGraphView.java
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/views/PredefinedGraphTree.java
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/widgets/TableValue.java

index 7f95523..88c0ea5 100644 (file)
@@ -39,15 +39,22 @@ public class Messages extends NLS
    public static String DciListLabelProvider_ResolveJobError;
    public static String DciListLabelProvider_ResolveJobName;
    public static String DciListLabelProvider_Unresolved;
+   public static String General_8;
    public static String General_Autorefresh;
+   public static String General_Bottom;
    public static String General_JobError;
    public static String General_JobName;
+   public static String General_Left;
+   public static String General_LegendPosition;
+   public static String General_LineWidth;
    public static String General_LogScale;
    public static String General_Options;
    public static String General_RefreshInterval;
+   public static String General_Right;
    public static String General_ShowGridLines;
    public static String General_ShowHostNames;
    public static String General_ShowLegend;
+   public static String General_Stacked;
    public static String General_TimeFrom;
    public static String General_TimeInterval;
    public static String General_TimePeriod;
@@ -59,6 +66,8 @@ public class Messages extends NLS
    public static String General_TimeUnitMinutes;
    public static String General_TimeUnits;
    public static String General_Title;
+   public static String General_Top;
+   public static String General_Translucent;
    public static String GraphTreeContentProvider_Root;
    public static String HistoricalDataSelectionDialog_LastRecords;
    public static String HistoricalDataSelectionDialog_TimeFrame;
@@ -158,6 +167,7 @@ public class Messages extends NLS
    public static String PredefinedGraphTree_LoadJobName;
    public static String PredefinedGraphTree_Open;
    public static String PredefinedGraphTree_Properties;
+   public static String PredefinedGraphTree_ShowFilter;
    public static String PredefinedGraphTree_UpdateJobError;
    public static String PredefinedGraphTree_UpdateJobName;
    public static String SaveGraphDlg_Name;
index bcbd154..3edb1e7 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -151,6 +160,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 SaveGraphDlg_Name=Name
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index d96be8a..e492e56 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=\u0410\u0432\u0442\u043e
 DciListLabelProvider_ResolveJobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0438
 DciListLabelProvider_ResolveJobName=\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0438
 DciListLabelProvider_Unresolved=<\u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e>
+General_8=Show extended legend
 General_Autorefresh=\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435
+General_Bottom=Bottom
 General_JobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
 General_JobName=\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=\u041b\u043e\u0433\u0430\u0440\u0438\u0444\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0448\u043a\u0430\u043b\u0430
 General_Options=\u041e\u043f\u0446\u0438\u0438
 General_RefreshInterval=\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f:
+General_Right=Right
 General_ShowGridLines=\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043b\u0438\u043d\u0438\u0438 \u0441\u0435\u0442\u043a\u0438
 General_ShowHostNames=\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u0443\u0437\u043b\u043e\u0432
 General_ShowLegend=\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043b\u0435\u0433\u0435\u043d\u0434\u0443
+General_Stacked=Stacked
 General_TimeFrom=\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441
 General_TimeInterval=\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b
 General_TimePeriod=\u041f\u0435\u0440\u0438\u043e\u0434\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438
@@ -52,6 +59,8 @@ General_TimeUnitHours=\u0427\u0430\u0441
 General_TimeUnitMinutes=\u041c\u0438\u043d\u0443\u0442\u0430
 General_TimeUnits=\u0415\u0434\u0438\u043d\u0438\u0446\u044b
 General_Title=\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[\u041a\u043e\u0440\u0435\u043d\u044c]
 HistoricalDataSelectionDialog_LastRecords=\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 n \u0441\u0435\u043a\u0443\u043d\u0434
 HistoricalDataSelectionDialog_TimeFrame=&\u041f\u0435\u0440\u0438\u043e\u0434 \u0432\u0440\u0435\u043c\u0435\u043d\u0438:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u04
 PredefinedGraphTree_LoadJobName=\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432
 PredefinedGraphTree_Open=&\u041e\u0442\u043a\u0440\u044b\u0442\u044c
 PredefinedGraphTree_Properties=\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
 PredefinedGraphTree_UpdateJobName=\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
 PredefinedGraph_AccessRights=\u041f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 1421381..91aae27 100644 (file)
@@ -97,7 +97,7 @@ public class PerfTabGraph extends DashboardComposite
       {
                   chart.setYAxisRange(settings.getMinYScaleValue(), settings.getMaxYScaleValue());
       }
-               chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$
+               chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$ //$NON-NLS-2$
                
                addDisposeListener(new DisposeListener() {
          @Override
@@ -128,7 +128,7 @@ public class PerfTabGraph extends DashboardComposite
                        else
                                styles.set(items.size() - 1, style);
                        chart.setItemStyles(styles);
-                       chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$
+                       chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$ //$NON-NLS-2$
                }
        }
        
index 41f5503..8d437a5 100644 (file)
@@ -115,7 +115,7 @@ public class General extends PropertyPage
       checkLogScale.setSelection(config.isLogScale());
 
       lineWidth = new LabeledSpinner(optionsGroup, SWT.NONE);
-      lineWidth.setLabel("Line width");
+      lineWidth.setLabel(Messages.get().General_LineWidth);
       lineWidth.setRange(1, 99);
       lineWidth.setSelection(config.getLineWidth());
       gd = new GridData();
@@ -124,11 +124,11 @@ public class General extends PropertyPage
       lineWidth.setLayoutData(gd);
             
       checkStacked = new Button(optionsGroup, SWT.CHECK);
-      checkStacked.setText("Stacked");
+      checkStacked.setText(Messages.get().General_Stacked);
       checkStacked.setSelection(config.isStacked());
       
       checkTranslucent= new Button(optionsGroup, SWT.CHECK);
-      checkTranslucent.setText("Translucent");
+      checkTranslucent.setText(Messages.get().General_Translucent);
       checkTranslucent.setSelection(config.isTranslucent());
       
       checkShowLegend = new Button(optionsGroup, SWT.CHECK);
@@ -160,16 +160,16 @@ public class General extends PropertyPage
       gd.grabExcessHorizontalSpace = true;
       gd.verticalSpan = 2;
       gd.verticalAlignment = SWT.TOP;
-      legendLocation = WidgetHelper.createLabeledCombo(optionsGroup, SWT.READ_ONLY, "Legend location", gd);
-      legendLocation.add("left");
-      legendLocation.add("right");
-      legendLocation.add("top");
-      legendLocation.add("bottom");
+      legendLocation = WidgetHelper.createLabeledCombo(optionsGroup, SWT.READ_ONLY, Messages.get().General_LegendPosition, gd);
+      legendLocation.add(Messages.get().General_Left);
+      legendLocation.add(Messages.get().General_Right);
+      legendLocation.add(Messages.get().General_Top);
+      legendLocation.add(Messages.get().General_Bottom);
       legendLocation.select(31 - Integer.numberOfLeadingZeros(config.getLegendPosition()));      
       legendLocation.setEnabled(config.isShowLegend()); 
       
       checkExtendedLegend = new Button(optionsGroup, SWT.CHECK);
-      checkExtendedLegend.setText("Show extended legend");
+      checkExtendedLegend.setText(Messages.get().General_8);
       checkExtendedLegend.setSelection(config.isExtendedLegend());         
       checkExtendedLegend.setEnabled(config.isShowLegend());   
       
index 44a89f0..129662f 100644 (file)
@@ -535,7 +535,7 @@ public class HistoricalGraphView extends ViewPart implements GraphSettingsChange
             {
                MessageDialogHelper.openError(getSite().getShell(), Messages.get().HistoricalGraphView_Error,
                      String.format(Messages.get().HistoricalGraphView_LogScaleSwitchError, e.getLocalizedMessage()));
-               Activator.logError("Cannot change log scale mode", e);
+               Activator.logError("Cannot change log scale mode", e); //$NON-NLS-1$
             }
             setChecked(config.isLogScale());
          }
index afdf771..b783010 100644 (file)
@@ -272,7 +272,7 @@ public class PredefinedGraphTree extends ViewPart implements SessionListener
                        }
                };
 
-      actionShowFilter = new Action("Show &filter", Action.AS_CHECK_BOX) {
+      actionShowFilter = new Action(Messages.get().PredefinedGraphTree_ShowFilter, Action.AS_CHECK_BOX) {
          @Override
          public void run()
          {
index 57edc2a..8fc4c63 100644 (file)
@@ -288,7 +288,7 @@ public class TableValue extends Composite
          Arrays.fill(widths, 150);
          viewer.createColumns(names, widths, 0, SWT.UP);
          
-         StringBuilder sb = new StringBuilder("TableLastValues.");
+         StringBuilder sb = new StringBuilder("TableLastValues."); //$NON-NLS-1$
          sb.append(dciId);
          if (configId != null)
          {
index 6fed6f0..117bcd0 100644 (file)
@@ -42,15 +42,22 @@ public class Messages extends NLS
    public String DciListLabelProvider_ResolveJobError;
    public String DciListLabelProvider_ResolveJobName;
    public String DciListLabelProvider_Unresolved;
+   public String General_8;
    public String General_Autorefresh;
+   public String General_Bottom;
    public String General_JobError;
    public String General_JobName;
+   public String General_Left;
+   public String General_LegendPosition;
+   public String General_LineWidth;
    public String General_LogScale;
    public String General_Options;
    public String General_RefreshInterval;
+   public String General_Right;
    public String General_ShowGridLines;
    public String General_ShowHostNames;
    public String General_ShowLegend;
+   public String General_Stacked;
    public String General_TimeFrom;
    public String General_TimeInterval;
    public String General_TimePeriod;
@@ -62,6 +69,8 @@ public class Messages extends NLS
    public String General_TimeUnitMinutes;
    public String General_TimeUnits;
    public String General_Title;
+   public String General_Top;
+   public String General_Translucent;
    public String GraphTreeContentProvider_Root;
    public String HistoricalDataSelectionDialog_LastRecords;
    public String HistoricalDataSelectionDialog_TimeFrame;
@@ -161,6 +170,7 @@ public class Messages extends NLS
    public String PredefinedGraphTree_LoadJobName;
    public String PredefinedGraphTree_Open;
    public String PredefinedGraphTree_Properties;
+   public String PredefinedGraphTree_ShowFilter;
    public String PredefinedGraphTree_UpdateJobError;
    public String PredefinedGraphTree_UpdateJobName;
    public String SaveGraphDlg_Name;
index bcbd154..3edb1e7 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -151,6 +160,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 SaveGraphDlg_Name=Name
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index d96be8a..e492e56 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=\u0410\u0432\u0442\u043e
 DciListLabelProvider_ResolveJobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0438
 DciListLabelProvider_ResolveJobName=\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u0440\u0438\u043a\u0438
 DciListLabelProvider_Unresolved=<\u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e>
+General_8=Show extended legend
 General_Autorefresh=\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435
+General_Bottom=Bottom
 General_JobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
 General_JobName=\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=\u041b\u043e\u0433\u0430\u0440\u0438\u0444\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0448\u043a\u0430\u043b\u0430
 General_Options=\u041e\u043f\u0446\u0438\u0438
 General_RefreshInterval=\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f:
+General_Right=Right
 General_ShowGridLines=\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043b\u0438\u043d\u0438\u0438 \u0441\u0435\u0442\u043a\u0438
 General_ShowHostNames=\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u0443\u0437\u043b\u043e\u0432
 General_ShowLegend=\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043b\u0435\u0433\u0435\u043d\u0434\u0443
+General_Stacked=Stacked
 General_TimeFrom=\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441
 General_TimeInterval=\u0418\u043d\u0442\u0435\u0440\u0432\u0430\u043b
 General_TimePeriod=\u041f\u0435\u0440\u0438\u043e\u0434\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438
@@ -52,6 +59,8 @@ General_TimeUnitHours=\u0427\u0430\u0441
 General_TimeUnitMinutes=\u041c\u0438\u043d\u0443\u0442\u0430
 General_TimeUnits=\u0415\u0434\u0438\u043d\u0438\u0446\u044b
 General_Title=\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[\u041a\u043e\u0440\u0435\u043d\u044c]
 HistoricalDataSelectionDialog_LastRecords=\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 n \u0441\u0435\u043a\u0443\u043d\u0434
 HistoricalDataSelectionDialog_TimeFrame=&\u041f\u0435\u0440\u0438\u043e\u0434 \u0432\u0440\u0435\u043c\u0435\u043d\u0438:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u04
 PredefinedGraphTree_LoadJobName=\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0432
 PredefinedGraphTree_Open=&\u041e\u0442\u043a\u0440\u044b\u0442\u044c
 PredefinedGraphTree_Properties=\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
 PredefinedGraphTree_UpdateJobName=\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u0433\u0440\u0430\u0444\u0438\u043a\u0430
 PredefinedGraph_AccessRights=\u041f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430
index 90cb797..dc0baed 100644 (file)
@@ -32,15 +32,22 @@ DciListLabelProvider_Auto=auto
 DciListLabelProvider_ResolveJobError=Cannot resolve DCI names
 DciListLabelProvider_ResolveJobName=Resolve DCI names
 DciListLabelProvider_Unresolved=<unresolved>
+General_8=Show extended legend
 General_Autorefresh=&Refresh automatically
+General_Bottom=Bottom
 General_JobError=Cannot update predefined graph
 General_JobName=Update predefined graph
+General_Left=Left
+General_LegendPosition=Legend position
+General_LineWidth=Line width
 General_LogScale=L&ogaritmic scale
 General_Options=Options
 General_RefreshInterval=Refresh interval:
+General_Right=Right
 General_ShowGridLines=Show &grid lines
 General_ShowHostNames=Show &host names
 General_ShowLegend=Show &legend
+General_Stacked=Stacked
 General_TimeFrom=Time from
 General_TimeInterval=Time interval
 General_TimePeriod=Time Period
@@ -52,6 +59,8 @@ General_TimeUnitHours=Hours
 General_TimeUnitMinutes=Minutes
 General_TimeUnits=Time units
 General_Title=Title
+General_Top=Top
+General_Translucent=Translucent
 GraphTreeContentProvider_Root=[root]
 HistoricalDataSelectionDialog_LastRecords=&Last n records
 HistoricalDataSelectionDialog_TimeFrame=&Time frame:
@@ -140,6 +149,7 @@ PredefinedGraphTree_LoadJobError=Cannot get list of predefined graphs
 PredefinedGraphTree_LoadJobName=Load list of predefined graphs
 PredefinedGraphTree_Open=&Open
 PredefinedGraphTree_Properties=Properties
+PredefinedGraphTree_ShowFilter=Show &filter
 PredefinedGraphTree_UpdateJobError=Cannot update predefined graph
 PredefinedGraphTree_UpdateJobName=Update predefined graph
 PredefinedGraph_AccessRights=Access Rights
index 1421381..91aae27 100644 (file)
@@ -97,7 +97,7 @@ public class PerfTabGraph extends DashboardComposite
       {
                   chart.setYAxisRange(settings.getMinYScaleValue(), settings.getMaxYScaleValue());
       }
-               chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$
+               chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$ //$NON-NLS-2$
                
                addDisposeListener(new DisposeListener() {
          @Override
@@ -128,7 +128,7 @@ public class PerfTabGraph extends DashboardComposite
                        else
                                styles.set(items.size() - 1, style);
                        chart.setItemStyles(styles);
-                       chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$
+                       chart.addParameter(new GraphItem(nodeId, dci.getId(), 0, 0, "", settings.getRuntimeName(), "%s")); //$NON-NLS-1$ //$NON-NLS-2$
                }
        }
        
index 41f5503..8d437a5 100644 (file)
@@ -115,7 +115,7 @@ public class General extends PropertyPage
       checkLogScale.setSelection(config.isLogScale());
 
       lineWidth = new LabeledSpinner(optionsGroup, SWT.NONE);
-      lineWidth.setLabel("Line width");
+      lineWidth.setLabel(Messages.get().General_LineWidth);
       lineWidth.setRange(1, 99);
       lineWidth.setSelection(config.getLineWidth());
       gd = new GridData();
@@ -124,11 +124,11 @@ public class General extends PropertyPage
       lineWidth.setLayoutData(gd);
             
       checkStacked = new Button(optionsGroup, SWT.CHECK);
-      checkStacked.setText("Stacked");
+      checkStacked.setText(Messages.get().General_Stacked);
       checkStacked.setSelection(config.isStacked());
       
       checkTranslucent= new Button(optionsGroup, SWT.CHECK);
-      checkTranslucent.setText("Translucent");
+      checkTranslucent.setText(Messages.get().General_Translucent);
       checkTranslucent.setSelection(config.isTranslucent());
       
       checkShowLegend = new Button(optionsGroup, SWT.CHECK);
@@ -160,16 +160,16 @@ public class General extends PropertyPage
       gd.grabExcessHorizontalSpace = true;
       gd.verticalSpan = 2;
       gd.verticalAlignment = SWT.TOP;
-      legendLocation = WidgetHelper.createLabeledCombo(optionsGroup, SWT.READ_ONLY, "Legend location", gd);
-      legendLocation.add("left");
-      legendLocation.add("right");
-      legendLocation.add("top");
-      legendLocation.add("bottom");
+      legendLocation = WidgetHelper.createLabeledCombo(optionsGroup, SWT.READ_ONLY, Messages.get().General_LegendPosition, gd);
+      legendLocation.add(Messages.get().General_Left);
+      legendLocation.add(Messages.get().General_Right);
+      legendLocation.add(Messages.get().General_Top);
+      legendLocation.add(Messages.get().General_Bottom);
       legendLocation.select(31 - Integer.numberOfLeadingZeros(config.getLegendPosition()));      
       legendLocation.setEnabled(config.isShowLegend()); 
       
       checkExtendedLegend = new Button(optionsGroup, SWT.CHECK);
-      checkExtendedLegend.setText("Show extended legend");
+      checkExtendedLegend.setText(Messages.get().General_8);
       checkExtendedLegend.setSelection(config.isExtendedLegend());         
       checkExtendedLegend.setEnabled(config.isShowLegend());   
       
index 674bd1c..5a020c8 100644 (file)
@@ -530,7 +530,7 @@ public class HistoricalGraphView extends ViewPart implements GraphSettingsChange
             {
                MessageDialogHelper.openError(getSite().getShell(), Messages.get().HistoricalGraphView_Error,
                      String.format(Messages.get().HistoricalGraphView_LogScaleSwitchError, e.getLocalizedMessage()));
-               Activator.logError("Cannot change log scale mode", e);
+               Activator.logError("Cannot change log scale mode", e); //$NON-NLS-1$
             }
             setChecked(config.isLogScale());
          }
index afdf771..b783010 100644 (file)
@@ -272,7 +272,7 @@ public class PredefinedGraphTree extends ViewPart implements SessionListener
                        }
                };
 
-      actionShowFilter = new Action("Show &filter", Action.AS_CHECK_BOX) {
+      actionShowFilter = new Action(Messages.get().PredefinedGraphTree_ShowFilter, Action.AS_CHECK_BOX) {
          @Override
          public void run()
          {
index 57edc2a..8fc4c63 100644 (file)
@@ -288,7 +288,7 @@ public class TableValue extends Composite
          Arrays.fill(widths, 150);
          viewer.createColumns(names, widths, 0, SWT.UP);
          
-         StringBuilder sb = new StringBuilder("TableLastValues.");
+         StringBuilder sb = new StringBuilder("TableLastValues."); //$NON-NLS-1$
          sb.append(dciId);
          if (configId != null)
          {