click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From take...@apache.org
Subject svn commit: r796158 - in /incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne: CayenneClasspathContainerPage.java CayennePlugin.java messages.properties messages_ja.properties
Date Tue, 21 Jul 2009 06:34:04 GMT
Author: takezoe
Date: Tue Jul 21 06:34:04 2009
New Revision: 796158

URL: http://svn.apache.org/viewvc?rev=796158&view=rev
Log: (empty)

Added:
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages.properties
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages_ja.properties
Modified:
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayenneClasspathContainerPage.java
    incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayennePlugin.java

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayenneClasspathContainerPage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayenneClasspathContainerPage.java?rev=796158&r1=796157&r2=796158&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayenneClasspathContainerPage.java
(original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayenneClasspathContainerPage.java
Tue Jul 21 06:34:04 2009
@@ -20,7 +20,7 @@
 	public CayenneClasspathContainerPage() {
 		super("CayenneClasspathContainerPage");
 		setTitle("Cayenne Libraries");
-		setDescription("Add Cayenne libraries to classpath.");
+		setDescription(CayennePlugin.getString("wizard.classpathContainer.description"));
 	}
 
 	public boolean finish() {

Modified: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayennePlugin.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayennePlugin.java?rev=796158&r1=796157&r2=796158&view=diff
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayennePlugin.java
(original)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/CayennePlugin.java
Tue Jul 21 06:34:04 2009
@@ -23,6 +23,7 @@
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.net.URL;
+import java.util.ResourceBundle;
 
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IStatus;
@@ -36,11 +37,13 @@
 public class CayennePlugin extends AbstractUIPlugin {
 
 	// The plug-in ID
-	public static final String PLUGIN_ID = "net.sf.clickide.cayenne";
+	public static final String PLUGIN_ID = "org.apache.click.eclipse.cayenne";
 
 	// The shared instance
 	private static CayennePlugin plugin;
 	
+	private ResourceBundle resource;
+	
 	/**
 	 * The constructor
 	 */
@@ -54,6 +57,7 @@
 	public void start(BundleContext context) throws Exception {
 		super.start(context);
 		plugin = this;
+		resource = ResourceBundle.getBundle("org.apache.click.eclipse.cayenne.messages");
 	}
 
 	/*
@@ -74,6 +78,10 @@
 		return plugin;
 	}
 	
+	public static String getString(String key){
+		return getDefault().resource.getString(key);
+	}
+	
 	/**
 	 * JAR files for Cayenne Modeler.
 	 */

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages.properties
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages.properties?rev=796158&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages.properties
(added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages.properties
Tue Jul 21 06:34:04 2009
@@ -0,0 +1 @@
+wizard.classpathContainer.description=Add Cayenne libraries to classpath.
\ No newline at end of file

Added: incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages_ja.properties
URL: http://svn.apache.org/viewvc/incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages_ja.properties?rev=796158&view=auto
==============================================================================
--- incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages_ja.properties
(added)
+++ incubator/click/trunk/tools/eclipse/org.apache.click.eclipse.cayenne/src/org/apache/click/eclipse/cayenne/messages_ja.properties
Tue Jul 21 06:34:04 2009
@@ -0,0 +1 @@
+wizard.classpathContainer.description=Cayenne\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30af\u30e9\u30b9\u30d1\u30b9\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002
\ No newline at end of file



Mime
View raw message