Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2017-01-12 22:21:12 -0500
committerMarc-André Laperle2017-02-21 11:35:44 -0500
commit889bbf8f21938517de41945efdf92b93c6d63b2b (patch)
tree9930bf27431817a9ecb029d774f1576508e14ba9
parent3c2b9044887058f0a6446c8c107f340067fb8615 (diff)
downloadorg.eclipse.cdt-889bbf8f21938517de41945efdf92b93c6d63b2b.tar.gz
org.eclipse.cdt-889bbf8f21938517de41945efdf92b93c6d63b2b.tar.xz
org.eclipse.cdt-889bbf8f21938517de41945efdf92b93c6d63b2b.zip
cmake: Fix missing NLS messages
For example, opening the CMake property page, there was a missing message for the cmake-ui button. Change-Id: I126fe1cb6e290edc289a2dade44500dd35ed1207 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> (cherry picked from commit 6cad124cf0c38f1eca85ae9e08929d1eefcb63ad)
-rw-r--r--build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.java4
-rw-r--r--build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.properties (renamed from build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/messages.properties)0
2 files changed, 2 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.java b/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.java
index 235e191c86..cffd11d715 100644
--- a/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.java
+++ b/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.java
@@ -3,7 +3,7 @@ package org.eclipse.cdt.cmake.ui.internal;
import org.eclipse.osgi.util.NLS;
public class Messages extends NLS {
- private static final String BUNDLE_NAME = "org.eclipse.cdt.cmake.ui.properties.messages"; //$NON-NLS-1$
+
public static String CMakeBuildTab_BuildCommand;
public static String CMakeBuildTab_CleanCommand;
public static String CMakeBuildTab_Cmake;
@@ -17,7 +17,7 @@ public class Messages extends NLS {
static {
// initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ NLS.initializeMessages(Messages.class.getName(), Messages.class);
}
private Messages() {
diff --git a/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/messages.properties b/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.properties
index e0e45fd3d9..e0e45fd3d9 100644
--- a/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/messages.properties
+++ b/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/Messages.properties

Back to the top