Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2013-09-05 21:41:21 +0000
committerThomas Watson2013-09-06 18:45:46 +0000
commit75092469f948217c94704f6cb298d81b75d9f9d6 (patch)
tree260bb433e66ddca77cbd23f01415d2c15488a3a5 /bundles/org.eclipse.osgi/supplement/src
parentee16ee5520224d7e0604596c01d2737b25bd3449 (diff)
downloadrt.equinox.framework-75092469f948217c94704f6cb298d81b75d9f9d6.tar.gz
rt.equinox.framework-75092469f948217c94704f6cb298d81b75d9f9d6.tar.xz
rt.equinox.framework-75092469f948217c94704f6cb298d81b75d9f9d6.zip
Externalize Strings.I20130906-2000
Diffstat (limited to 'bundles/org.eclipse.osgi/supplement/src')
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties36
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java37
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/storagemanager/StorageManager.java2
3 files changed, 74 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties
index 59db1e6c7..58a5aecee 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/ExternalMessages.properties
@@ -107,3 +107,39 @@ RESOURCE_NOT_FOUND_EXCEPTION=The resource {0} could not be found
URL_NO_BUNDLE_ID=No bundle ID specified: {0}
URL_INVALID_BUNDLE_ID=Invalid Bundle ID specified: {0}
URL_NO_BUNDLE_FOUND=No bundle found for URL: {0}
+
+EclipseStarter_InstallLocation=No install location found.
+
+Module_Fragment_InvalidOperation=Invalid operation on a fragment.
+Module_LockError=Unable to acquire the state change lock for the module:
+Module_ResolveError=Could not resolve module:
+Module_StartError=Error starting module.
+Module_StopError=Error stopping module.
+Module_Transient_StartError=Cannot transiently start a module whose start level is not met.
+Module_UninstalledError=Module has been uninstalled.
+
+ModuleContainer_NameCollision=A bundle is already installed with the name "{0}" and version "{1}"
+ModuleContainer_NameCollisionWithLocation=A bundle is already installed with the name "{0}" and version "{1}" at location: {2}
+ModuleContainer_NegativeStartLevelError=Cannot set the start level to less than 1:
+ModuleContainer_StateLockError=Could not acquire state change lock.
+ModuleContainer_SystemNotActiveError=The system has not be activated yet.
+ModuleContainer_SystemStartLevelError=Cannot set the start level of the system bundle.
+
+ModuleResolutionReport_AnotherSingleton=Another singleton bundle selected:
+ModuleResolutionReport_FilteredByHook=Bundle was filtered by a resolver hook.
+ModuleResolutionReport_NoReport=No resolution report for the bundle.
+ModuleResolutionReport_Unknown=Unknown error:
+ModuleResolutionReport_UnresolvedReq=Unresolved requirement:
+
+ModuleResolver_RecursiveError=Detected a recursive resolve operation.
+ModuleResolver_SingletonDisabledError=Could not resolve mandatory modules because another singleton was selected or the module was disabled:
+
+OSGiManifestBuilderFactory_ExtensionImportError=Extension bundles cannot import packages.
+OSGiManifestBuilderFactory_ExtensionNativeError=Extension bundles cannot have native code.
+OSGiManifestBuilderFactory_ExtensionReqBundleError=Extension bundles cannot require bundles.
+OSGiManifestBuilderFactory_ExtensionReqCapError=Extension bundles cannot require capabilities.
+OSGiManifestBuilderFactory_InvalidManifestError=Invalid Manifest header "{0}": {1}
+
+SystemModule_LockError=Could not lock the system bundle state for shutdown.
+
+BundleContextImpl_LoadActivatorError=Error loading bundle activator.
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java
index 32f994a76..7de0d8dc9 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/internal/messages/Msg.java
@@ -42,6 +42,8 @@ public class Msg extends NLS {
public static String SERVICE_OBJECTS_UNGET_ARGUMENT_EXCEPTION;
+ public static String SystemModule_LockError;
+
public static String BUNDLE_SYSTEMBUNDLE_UNINSTALL_EXCEPTION;
public static String HEADER_DUPLICATE_KEY_EXCEPTION;
@@ -112,4 +114,39 @@ public class Msg extends NLS {
public static String URL_INVALID_BUNDLE_ID;
public static String URL_NO_BUNDLE_FOUND;
public static String URL_NO_BUNDLE_ID;
+
+ public static String EclipseStarter_InstallLocation;
+
+ public static String Module_Fragment_InvalidOperation;
+ public static String Module_LockError;
+ public static String Module_ResolveError;
+
+ public static String Module_StartError;
+ public static String Module_StopError;
+ public static String Module_Transient_StartError;
+ public static String Module_UninstalledError;
+
+ public static String ModuleContainer_NameCollision;
+ public static String ModuleContainer_NameCollisionWithLocation;
+ public static String ModuleContainer_NegativeStartLevelError;
+ public static String ModuleContainer_StateLockError;
+ public static String ModuleContainer_SystemNotActiveError;
+ public static String ModuleContainer_SystemStartLevelError;
+
+ public static String ModuleResolutionReport_AnotherSingleton;
+ public static String ModuleResolutionReport_FilteredByHook;
+ public static String ModuleResolutionReport_NoReport;
+ public static String ModuleResolutionReport_Unknown;
+ public static String ModuleResolutionReport_UnresolvedReq;
+
+ public static String ModuleResolver_RecursiveError;
+ public static String ModuleResolver_SingletonDisabledError;
+
+ public static String OSGiManifestBuilderFactory_ExtensionImportError;
+ public static String OSGiManifestBuilderFactory_ExtensionNativeError;
+ public static String OSGiManifestBuilderFactory_ExtensionReqBundleError;
+ public static String OSGiManifestBuilderFactory_ExtensionReqCapError;
+ public static String OSGiManifestBuilderFactory_InvalidManifestError;
+
+ public static String BundleContextImpl_LoadActivatorError;
}
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/storagemanager/StorageManager.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/storagemanager/StorageManager.java
index a3a3c29a6..7ddfe4c5b 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/storagemanager/StorageManager.java
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/storagemanager/StorageManager.java
@@ -561,7 +561,7 @@ public final class StorageManager {
} catch (IOException ex) {
// If IOException is thrown from our custom method.
// log and swallow for now.
- System.out.println("Unexpected IOException is thrown inside cleanupWithLock. Please look below for stacktrace");
+ System.out.println("Unexpected IOException is thrown inside cleanupWithLock. Please look below for stacktrace"); //$NON-NLS-1$
ex.printStackTrace(System.out);
}
}

Back to the top