summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-02-09 09:22:25 (EST)
committer Stephan Born2012-04-24 04:33:25 (EDT)
commit04b83e0ba5c01cad5655ca90ef33404443cc55d9 (patch)
treedc59d53831cd1e30d14ace01c0cd8c1c702d8627
parentad21434e24006b7dcf0987e6f12c704266bd01f0 (diff)
downloadorg.eclipse.stardust.ide-04b83e0ba5c01cad5655ca90ef33404443cc55d9.zip
org.eclipse.stardust.ide-04b83e0ba5c01cad5655ca90ef33404443cc55d9.tar.gz
org.eclipse.stardust.ide-04b83e0ba5c01cad5655ca90ef33404443cc55d9.tar.bz2
Jira-ID: CRNT-23200 Stardust: Rename NL Plugins to new name pattern (fixing missing externalized Strings)
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@53666 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/BpmCommonActivator.java2
-rw-r--r--modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holiday.java2
-rw-r--r--modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holidays.java40
-rw-r--r--modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/States.java32
4 files changed, 38 insertions, 38 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/BpmCommonActivator.java b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/BpmCommonActivator.java
index 1f7a0e3..88f896f 100644
--- a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/BpmCommonActivator.java
+++ b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/BpmCommonActivator.java
@@ -23,7 +23,7 @@ public class BpmCommonActivator extends Plugin
{
// The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.stardust.modeling.common";
+ public static final String PLUGIN_ID = "org.eclipse.stardust.modeling.common"; //$NON-NLS-1$
// The shared instance
private static BpmCommonActivator plugin;
diff --git a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holiday.java b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holiday.java
index bc74834..76c9166 100644
--- a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holiday.java
+++ b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holiday.java
@@ -47,7 +47,7 @@ public class Holiday
this.nationWide = nationWide;
this.states = states;
- log.debug("Holiday " + name + " created for date " + new Date(time));
+ log.debug("Holiday " + name + " created for date " + new Date(time)); //$NON-NLS-1$ //$NON-NLS-2$
}
public boolean isHoliday()
diff --git a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holidays.java b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holidays.java
index 0772380..dddccd1 100644
--- a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holidays.java
+++ b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/Holidays.java
@@ -44,14 +44,14 @@ public class Holidays
*/
public Holidays(int year)
{
- log.debug("Creating holidays for year " + year);
+ log.debug("Creating holidays for year " + year); //$NON-NLS-1$
GregorianCalendar eastern = eastern(year);
GregorianCalendar temp;
- days.add(new Holiday("Neujahr", new GregorianCalendar(year, 0, 1)
+ days.add(new Holiday("Neujahr", new GregorianCalendar(year, 0, 1) //$NON-NLS-1$
.getTimeInMillis(), true, true, null));
- days.add(new Holiday("Heilige drei Könige", new GregorianCalendar(year,
+ days.add(new Holiday("Heilige drei Könige", new GregorianCalendar(year, //$NON-NLS-1$
0, 6).getTimeInMillis(), true, true, new String[]
{ States.BAYERN, States.BADEN_WUERTTEMBERG, States.SACHSEN_ANHALT }));
@@ -60,18 +60,18 @@ public class Holidays
temp = (GregorianCalendar) eastern.clone();
temp.add(Calendar.DAY_OF_MONTH, -2);
- days.add(new Holiday("Karfreitag", temp.getTimeInMillis(), true, true,
+ days.add(new Holiday("Karfreitag", temp.getTimeInMillis(), true, true, //$NON-NLS-1$
null));
temp.add(Calendar.DAY_OF_MONTH, +2);
- days.add(new Holiday("Ostersonntag", temp.getTimeInMillis(), true, true,
+ days.add(new Holiday("Ostersonntag", temp.getTimeInMillis(), true, true, //$NON-NLS-1$
null));
temp.add(Calendar.DAY_OF_MONTH, +1);
- days.add(new Holiday("Ostermontag", temp.getTimeInMillis(), true, true,
+ days.add(new Holiday("Ostermontag", temp.getTimeInMillis(), true, true, //$NON-NLS-1$
null));
// Maifeiertag
- days.add(new Holiday("Tag der Arbeit", new GregorianCalendar(year, 4, 1)
+ days.add(new Holiday("Tag der Arbeit", new GregorianCalendar(year, 4, 1) //$NON-NLS-1$
.getTimeInMillis(), true, true, null));
// Himmelfahrt
@@ -80,7 +80,7 @@ public class Holidays
temp.add(Calendar.DAY_OF_MONTH, 39);
- days.add(new Holiday("Himmelfahrt", temp.getTimeInMillis(), true, true,
+ days.add(new Holiday("Himmelfahrt", temp.getTimeInMillis(), true, true, //$NON-NLS-1$
null));
// Pfingsten
@@ -88,10 +88,10 @@ public class Holidays
temp = (GregorianCalendar) eastern.clone();
temp.add(Calendar.DAY_OF_MONTH, 49);
- days.add(new Holiday("Pfingssonntag", temp.getTimeInMillis(), true, true,
+ days.add(new Holiday("Pfingssonntag", temp.getTimeInMillis(), true, true, //$NON-NLS-1$
null));
temp.add(Calendar.DAY_OF_MONTH, 1);
- days.add(new Holiday("Pfingsmontag", temp.getTimeInMillis(), true, true,
+ days.add(new Holiday("Pfingsmontag", temp.getTimeInMillis(), true, true, //$NON-NLS-1$
null));
// Fronleichnam
@@ -100,7 +100,7 @@ public class Holidays
temp.add(Calendar.DAY_OF_MONTH, 60);
- days.add(new Holiday("Fronleichnam", temp.getTimeInMillis(), true, true,
+ days.add(new Holiday("Fronleichnam", temp.getTimeInMillis(), true, true, //$NON-NLS-1$
new String[]
{ States.BAYERN, States.BADEN_WUERTTEMBERG,
States.NORDRHEIN_WESTFALEN, States.HESSEN,
@@ -109,30 +109,30 @@ public class Holidays
// Tag der Deutschen Einheit
- days.add(new Holiday("Tag der deutschen Einheit", new GregorianCalendar(
+ days.add(new Holiday("Tag der deutschen Einheit", new GregorianCalendar( //$NON-NLS-1$
year, 9, 3).getTimeInMillis(), true, true, null));
// Reformationstag
- days.add(new Holiday("Reformationstag",
+ days.add(new Holiday("Reformationstag", //$NON-NLS-1$
new GregorianCalendar(year, 9, 31).getTimeInMillis(), true,
true, new String[]
{ States.BRANDENBURG, States.MECKLENBURG_VORPOMMERN,
States.SACHSEN, States.SACHSEN_ANHALT,
States.THUERINGEN }));
- days.add(new Holiday("Allerheiligen", new GregorianCalendar(year, 10, 1)
+ days.add(new Holiday("Allerheiligen", new GregorianCalendar(year, 10, 1) //$NON-NLS-1$
.getTimeInMillis(), true, true, new String[]
{ States.BADEN_WUERTTEMBERG, States.BAYERN, States.NORDRHEIN_WESTFALEN,
States.RHEINLAND_PFALZ, States.SAARLAND }));
// Weihnachtsfeiertage
- days.add(new Holiday("Heiligabend", new GregorianCalendar(year, 11, 24)
+ days.add(new Holiday("Heiligabend", new GregorianCalendar(year, 11, 24) //$NON-NLS-1$
.getTimeInMillis(), true, true, null));
- days.add(new Holiday("1. Weihnachtstag", new GregorianCalendar(year, 11,
+ days.add(new Holiday("1. Weihnachtstag", new GregorianCalendar(year, 11, //$NON-NLS-1$
25).getTimeInMillis(), true, true, null));
- days.add(new Holiday("2. Weihnachtstage", new GregorianCalendar(year, 11,
+ days.add(new Holiday("2. Weihnachtstage", new GregorianCalendar(year, 11, //$NON-NLS-1$
26).getTimeInMillis(), true, true, null));
}
@@ -192,7 +192,7 @@ public class Holidays
if (currentDay.getTime() == day.getTimeInMillis())
{
- log.debug("Day found " + currentDay.getName());
+ log.debug("Day found " + currentDay.getName()); //$NON-NLS-1$
return currentDay;
}
@@ -213,8 +213,8 @@ public class Holidays
if (year < 2001 || year > 2030)
{
- throw new UnsupportedOperationException("Year " + year
- + " is not supported.");
+ throw new UnsupportedOperationException("Year " + year //$NON-NLS-1$
+ + " is not supported."); //$NON-NLS-1$
}
return HOLIDAYS[year - 2001];
diff --git a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/States.java b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/States.java
index 2ca0257..204b556 100644
--- a/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/States.java
+++ b/modeling/org.eclipse.stardust.modeling.common/src/org/eclipse/stardust/modeling/common/worktime/States.java
@@ -16,22 +16,22 @@ package org.eclipse.stardust.modeling.common.worktime;
*/
public interface States
{
- static final String BADEN_WUERTTEMBERG = "Baden-Wuerttemberg";
- static final String BAYERN = "Bayern";
- static final String BERLIN = "Berlin";
- static final String BRANDENBURG = "Brandenburg";
- static final String BREMEN = "Bremen";
- static final String HAMBURG = "Hamburg";
- static final String HESSEN = "Hessen";
- static final String MECKLENBURG_VORPOMMERN = "Mecklenburg-Vorpommern";
- static final String NIEDERSACHSEN = "Niedersachsen";
- static final String NORDRHEIN_WESTFALEN = "Nordrhein-Westfalen";
- static final String RHEINLAND_PFALZ = "Rheinland-Pfalz";
- static final String SACHSEN = "Sachsen";
- static final String SACHSEN_ANHALT = "Sachsen-Anhalt";
- static final String SAARLAND = "Saarland";
- static final String SCHLESWIG_HOLSTEIN = "Schleswig-Holstein";
- static final String THUERINGEN = "Thueringen";
+ static final String BADEN_WUERTTEMBERG = "Baden-Wuerttemberg"; //$NON-NLS-1$
+ static final String BAYERN = "Bayern"; //$NON-NLS-1$
+ static final String BERLIN = "Berlin"; //$NON-NLS-1$
+ static final String BRANDENBURG = "Brandenburg"; //$NON-NLS-1$
+ static final String BREMEN = "Bremen"; //$NON-NLS-1$
+ static final String HAMBURG = "Hamburg"; //$NON-NLS-1$
+ static final String HESSEN = "Hessen"; //$NON-NLS-1$
+ static final String MECKLENBURG_VORPOMMERN = "Mecklenburg-Vorpommern"; //$NON-NLS-1$
+ static final String NIEDERSACHSEN = "Niedersachsen"; //$NON-NLS-1$
+ static final String NORDRHEIN_WESTFALEN = "Nordrhein-Westfalen"; //$NON-NLS-1$
+ static final String RHEINLAND_PFALZ = "Rheinland-Pfalz"; //$NON-NLS-1$
+ static final String SACHSEN = "Sachsen"; //$NON-NLS-1$
+ static final String SACHSEN_ANHALT = "Sachsen-Anhalt"; //$NON-NLS-1$
+ static final String SAARLAND = "Saarland"; //$NON-NLS-1$
+ static final String SCHLESWIG_HOLSTEIN = "Schleswig-Holstein"; //$NON-NLS-1$
+ static final String THUERINGEN = "Thueringen"; //$NON-NLS-1$
static String[] STATES = new String[]{BADEN_WUERTTEMBERG, BAYERN, BERLIN, BRANDENBURG, BREMEN, HAMBURG, HESSEN,
MECKLENBURG_VORPOMMERN, NIEDERSACHSEN, NORDRHEIN_WESTFALEN, RHEINLAND_PFALZ, SACHSEN, SACHSEN_ANHALT, SAARLAND, SCHLESWIG_HOLSTEIN, THUERINGEN};