Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-04-12 18:51:33 +0000
committerChris Aniszczyk2011-04-13 02:52:39 +0000
commitab165b5a1dda36e4bc1d01e6c1c234731f6a4332 (patch)
treec6a1f05df85c2b7fddb4874bdcaeb94522a2daa2
parenta7917108a61b9cedd4958614a8a4efe3de12e607 (diff)
downloadegit-github-ab165b5a1dda36e4bc1d01e6c1c234731f6a4332.tar.gz
egit-github-ab165b5a1dda36e4bc1d01e6c1c234731f6a4332.tar.xz
egit-github-ab165b5a1dda36e4bc1d01e6c1c234731f6a4332.zip
Add issue task attribute externalized label strings
Change-Id: Ie5a68f68662be770acc08688cf3aebf88bd79e42 Signed-off-by: Kevin Sawicki <kevin@github.com> Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
-rw-r--r--org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Messages.java71
-rw-r--r--org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/messages.properties14
2 files changed, 85 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Messages.java b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Messages.java
new file mode 100644
index 00000000..b86705ea
--- /dev/null
+++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/Messages.java
@@ -0,0 +1,71 @@
+/*******************************************************************************
+ * Copyright (c) 2011 GitHub 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:
+ * Kevin Sawicki (GitHub Inc.) - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.mylyn.github.internal;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * NLS for Mylyn GitHub Core
+ */
+public class Messages extends NLS {
+
+ private static final String BUNDLE_NAME = "org.eclipse.mylyn.github.internal.messages"; //$NON-NLS-1$
+
+ /** */
+ public static String GitHubTaskAttributes_LabekSummary;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelAssignee;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelAssigneeGravatar;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelClosed;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelComment;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelCreated;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelDescription;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelKey;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelLabels;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelMilestone;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelModified;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelReporter;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelReporterGravatar;
+
+ /** */
+ public static String GitHubTaskAttributes_LabelStatus;
+
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
diff --git a/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/messages.properties b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/messages.properties
new file mode 100644
index 00000000..29eaa585
--- /dev/null
+++ b/org.eclipse.mylyn.github.core/src/org/eclipse/mylyn/github/internal/messages.properties
@@ -0,0 +1,14 @@
+GitHubTaskAttributes_LabekSummary=Summary
+GitHubTaskAttributes_LabelAssignee=Assignee:
+GitHubTaskAttributes_LabelAssigneeGravatar=Assignee
+GitHubTaskAttributes_LabelClosed=Closed:
+GitHubTaskAttributes_LabelComment=Comment:
+GitHubTaskAttributes_LabelCreated=Created:
+GitHubTaskAttributes_LabelDescription=Description
+GitHubTaskAttributes_LabelKey=Key
+GitHubTaskAttributes_LabelLabels=Labels:
+GitHubTaskAttributes_LabelMilestone=Milestone:
+GitHubTaskAttributes_LabelModified=Modified:
+GitHubTaskAttributes_LabelReporter=Reporter:
+GitHubTaskAttributes_LabelReporterGravatar=Reporter
+GitHubTaskAttributes_LabelStatus=Status:

Back to the top