Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-02-08 22:59:19 -0500
committerIgor Fedorenko2011-02-08 22:59:19 -0500
commitd1a98188ef3c32542b815f62b3aadb22e92b11ce (patch)
tree5d6f27fcc2b95f1c532e6e24f99a81bd2195c1dc /org.eclipse.m2e.scm
parent2f45d5f5759604bb5c802bfe2972d015570b8fb0 (diff)
downloadm2e-core-d1a98188ef3c32542b815f62b3aadb22e92b11ce.tar.gz
m2e-core-d1a98188ef3c32542b815f62b3aadb22e92b11ce.tar.xz
m2e-core-d1a98188ef3c32542b815f62b3aadb22e92b11ce.zip
336555 separated messages
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.scm')
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/ScmUrl.java2
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/Messages.java92
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/messages.properties30
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutLocationPage.java2
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutWizard.java2
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenMaterializePomWizard.java2
-rw-r--r--org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java2
7 files changed, 127 insertions, 5 deletions
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/ScmUrl.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/ScmUrl.java
index 58eabb1b..584ef5df 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/ScmUrl.java
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/ScmUrl.java
@@ -17,7 +17,7 @@ import org.eclipse.core.runtime.Status;
import org.eclipse.osgi.util.NLS;
import org.eclipse.m2e.core.core.IMavenConstants;
-import org.eclipse.m2e.core.internal.Messages;
+import org.eclipse.m2e.scm.internal.Messages;
/**
* An SCM URL wrapper used to adapt 3rd party resources:
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/Messages.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/Messages.java
new file mode 100644
index 00000000..46aa8942
--- /dev/null
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/Messages.java
@@ -0,0 +1,92 @@
+/*******************************************************************************
+ * Copyright (c) 2008-2010 Sonatype, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sonatype, Inc. - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.m2e.scm.internal;
+
+import org.eclipse.osgi.util.NLS;
+
+
+/**
+ * Messages
+ *
+ * @author mkleint
+ */
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.eclipse.m2e.scm.internal.messages"; //$NON-NLS-1$
+
+ public static String MavenCheckoutLocationPage_btnBrowse;
+
+ public static String MavenCheckoutLocationPage_btnCheckout;
+
+ public static String MavenCheckoutLocationPage_btnHead;
+
+ public static String MavenCheckoutLocationPage_btnRevSelect;
+
+ public static String MavenCheckoutLocationPage_description;
+
+ public static String MavenCheckoutLocationPage_error_empty;
+
+ public static String MavenCheckoutLocationPage_error_empty_url;
+
+ public static String MavenCheckoutLocationPage_error_scm_empty;
+
+ public static String MavenCheckoutLocationPage_error_scm_invalid;
+
+ public static String MavenCheckoutLocationPage_error_url_empty;
+
+ public static String MavenCheckoutLocationPage_lblRevision;
+
+ public static String MavenCheckoutLocationPage_lblurl;
+
+ public static String MavenCheckoutLocationPage_title;
+
+ public static String MavenCheckoutWizard_location1;
+
+ public static String MavenCheckoutWizard_location2;
+
+ public static String MavenCheckoutWizard_title;
+
+ public static String MavenMaterializePomWizard_btnCheckout;
+
+ public static String MavenMaterializePomWizard_btnDev;
+
+ public static String MavenMaterializePomWizard_dialog_message;
+
+ public static String MavenMaterializePomWizard_dialog_title;
+
+ public static String MavenMaterializePomWizard_location_message;
+
+ public static String MavenMaterializePomWizard_location_title;
+
+ public static String MavenMaterializePomWizard_title;
+
+ public static String ScmUrl_error;
+
+ public static String MavenProjectCheckoutJob_title;
+
+ public static String MavenProjectCheckoutJob_confirm_title;
+
+ public static String MavenProjectCheckoutJob_confirm_message;
+
+ public static String MavenProjectCheckoutJob_confirm2_title;
+
+ public static String MavenProjectCheckoutJob_confirm2_message;
+
+ public static String MavenProjectCheckoutJob_job;
+
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/messages.properties b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/messages.properties
new file mode 100644
index 00000000..a8ed03b0
--- /dev/null
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/messages.properties
@@ -0,0 +1,30 @@
+MavenCheckoutLocationPage_btnBrowse=&Browse...
+MavenCheckoutLocationPage_btnCheckout=Check out &All projects
+MavenCheckoutLocationPage_btnHead=Check out &Head Revision
+MavenCheckoutLocationPage_btnRevSelect=&Select...
+MavenCheckoutLocationPage_description=Select target location and revision
+MavenCheckoutLocationPage_error_empty=Select SCM type and URL
+MavenCheckoutLocationPage_error_empty_url=SCM URL field is required
+MavenCheckoutLocationPage_error_scm_empty=SCM revision fied is required
+MavenCheckoutLocationPage_error_scm_invalid=SCM revision is invalid
+MavenCheckoutLocationPage_error_url_empty=SCM URL is invalid
+MavenCheckoutLocationPage_lblRevision=&Revision:
+MavenCheckoutLocationPage_lblurl=SCM &URL:
+MavenCheckoutLocationPage_title=Target Location
+MavenCheckoutWizard_location1=Select Project Location
+MavenCheckoutWizard_location2=Select project location and working set
+MavenCheckoutWizard_title=Checkout as Maven project from SCM
+MavenProjectCheckoutJob_confirm_message=No Maven projects found, but there is Eclipse projects configuration avaialble.\nDo you want to select and import Eclipse projects?
+MavenProjectCheckoutJob_confirm_title=Project Import
+MavenProjectCheckoutJob_confirm2_message=No Maven projects found. Do you want to create project using new project wizard?\nCheck out location will be copied into clipboard.
+MavenProjectCheckoutJob_confirm2_title=Project Import
+MavenProjectCheckoutJob_job=Importing Maven projects
+MavenProjectCheckoutJob_title=Checking out Maven projects
+ScmUrl_error=Invalid SCM url {0}
+MavenMaterializePomWizard_btnCheckout=&Check out All projects
+MavenMaterializePomWizard_btnDev=Use &Developer connection
+MavenMaterializePomWizard_dialog_message=Select Maven artifacts to import
+MavenMaterializePomWizard_dialog_title=Select Maven artifacts
+MavenMaterializePomWizard_location_message=Select project location and working set
+MavenMaterializePomWizard_location_title=Select project location
+MavenMaterializePomWizard_title=Import Maven Projects
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutLocationPage.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutLocationPage.java
index 6857c634..072b7519 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutLocationPage.java
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutLocationPage.java
@@ -17,7 +17,7 @@ import java.util.Set;
import org.apache.maven.model.Scm;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.wizard.IWizardContainer;
-import org.eclipse.m2e.core.internal.Messages;
+import org.eclipse.m2e.scm.internal.Messages;
import org.eclipse.m2e.core.project.ProjectImportConfiguration;
import org.eclipse.m2e.core.ui.internal.wizards.AbstractMavenWizardPage;
import org.eclipse.m2e.scm.ScmHandlerFactory;
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutWizard.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutWizard.java
index 74ea7e77..b589fc3d 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutWizard.java
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenCheckoutWizard.java
@@ -21,7 +21,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.m2e.core.core.IMavenConstants;
-import org.eclipse.m2e.core.internal.Messages;
+import org.eclipse.m2e.scm.internal.Messages;
import org.eclipse.m2e.core.ui.internal.actions.SelectionUtil;
import org.eclipse.m2e.core.ui.internal.wizards.AbstractMavenProjectWizard;
import org.eclipse.m2e.core.ui.internal.wizards.MavenProjectWizardLocationPage;
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenMaterializePomWizard.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenMaterializePomWizard.java
index 984a3a93..ddfd234f 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenMaterializePomWizard.java
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenMaterializePomWizard.java
@@ -20,7 +20,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.m2e.core.MavenPlugin;
import org.eclipse.m2e.core.embedder.ArtifactKey;
-import org.eclipse.m2e.core.internal.Messages;
+import org.eclipse.m2e.scm.internal.Messages;
import org.eclipse.m2e.core.project.ProjectImportConfiguration;
import org.eclipse.m2e.core.ui.internal.actions.SelectionUtil;
import org.eclipse.m2e.core.ui.internal.wizards.AbstractMavenProjectWizard;
diff --git a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
index 9781321f..053926db 100644
--- a/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
+++ b/org.eclipse.m2e.scm/src/org/eclipse/m2e/scm/internal/wizards/MavenProjectCheckoutJob.java
@@ -40,7 +40,7 @@ import org.eclipse.m2e.core.MavenPlugin;
import org.eclipse.m2e.core.core.MavenConsole;
import org.eclipse.m2e.core.core.MavenLogger;
import org.eclipse.m2e.core.embedder.MavenModelManager;
-import org.eclipse.m2e.core.internal.Messages;
+import org.eclipse.m2e.scm.internal.Messages;
import org.eclipse.m2e.core.project.IMavenProjectImportResult;
import org.eclipse.m2e.core.project.LocalProjectScanner;
import org.eclipse.m2e.core.project.MavenProjectInfo;

Back to the top