summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzhang2012-03-22 23:16:28 (EDT)
committer mwu2012-03-22 23:16:28 (EDT)
commitb38b2ad54e4a9412521890c0270fb2c98b621296 (patch)
tree0a463a2d95ec597dea74e3d0ca300f09edd83401
parent7d5d309b31022272d16703f35b4bcc9742eb975c (diff)
downloadorg.eclipse.birt-b38b2ad54e4a9412521890c0270fb2c98b621296.zip
org.eclipse.birt-b38b2ad54e4a9412521890c0270fb2c98b621296.tar.gz
org.eclipse.birt-b38b2ad54e4a9412521890c0270fb2c98b621296.tar.bz2
Label for Next N Period parameter should be updated.[48552]
-rw-r--r--data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/timeFunction/BaseTimeFunction.java2
-rw-r--r--data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/Messages.properties1
-rw-r--r--data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/ResourceConstants.java1
3 files changed, 3 insertions, 1 deletions
diff --git a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/timeFunction/BaseTimeFunction.java b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/timeFunction/BaseTimeFunction.java
index 99b6ce8..5924913 100644
--- a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/timeFunction/BaseTimeFunction.java
+++ b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/api/timeFunction/BaseTimeFunction.java
@@ -242,7 +242,7 @@ public class BaseTimeFunction implements ITimeFunction
else if ( this.name.equals( IBuildInBaseTimeFunction.NEXT_N_PERIODS ) )
{
arguments.add( new ArgumentInfo( IArgumentInfo.N_PERIOD1,
- Message.getMessage( ResourceConstants.TIMEFUNCITON_N1_DISPLAYNAME ),
+ Message.getMessage( ResourceConstants.TIMEFUNCTION_N1_NEXT_DISPLAYNAME ),
Message.getMessage( ResourceConstants.TIMEFUNCITON_N1 ),
false ) );
( (ArgumentInfo) period1 ).setPeriodChoices( period_type1 );
diff --git a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/Messages.properties b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/Messages.properties
index 0f41751..f5f99d8 100644
--- a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/Messages.properties
+++ b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/Messages.properties
@@ -113,6 +113,7 @@ timeFunction.PERIOD1.displayName = The &first period
timeFunction.PERIOD2.displayName = The second pe&riod
timeFunction.N1.displayName = Number of period Ago
timeFunction.N2.displayName = Number of period Ago
+timeFunction.N1.next.displayName = Number of period Next
timeFunction.N1.Year.displayName = Number of Year(s) Ago
timeFunction.N2.Year.displayName = Number of Year(s) Ago
diff --git a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/ResourceConstants.java b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/ResourceConstants.java
index eb2a4f2..c27e7ae 100644
--- a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/ResourceConstants.java
+++ b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/i18n/ResourceConstants.java
@@ -125,6 +125,7 @@ public class ResourceConstants
public final static String TIMEFUNCITON_PERIOD2_DISPLAYNAME = "timeFunction.PERIOD2.displayName";
public final static String TIMEFUNCITON_N1_DISPLAYNAME = "timeFunction.N1.displayName";
public final static String TIMEFUNCITON_N2_DISPLAYNAME = "timeFunction.N2.displayName";
+ public final static String TIMEFUNCTION_N1_NEXT_DISPLAYNAME = "timeFunction.N1.next.displayName";
public final static String TIMEFUNCITON_N1_YEAR_DISPLAYNAME = "timeFunction.N1.Year.displayName";
public final static String TIMEFUNCITON_N2_YEAR_DISPLAYNAME = "timeFunction.N2.Year.displayName";