--- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/discovery/ui/Messages.java Wed Aug 25 15:24:01 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/discovery/ui/Messages.java Wed Aug 25 15:37:23 2010 -0500
@@ -65,8 +65,10 @@
public static String ExportPage_Title;
public static String ExportPage_ViewerGroupLabel;
public static String ExportWizard_ErrorTitle;
+ public static String ExportWizard_ReadInstalledFeaturesError;
public static String ExportWizard_Title;
public static String ExportWizard_WriteFileError;
+ public static String ExportWizard_WriteInstalledFeaturesError;
public static String FeatureInstallOperation_ConfiguringTaskName;
public static String FeatureInstallOperation_IdLabel;
public static String FeatureInstallOperation_MissingFeaturesError;
--- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/discovery/ui/messages.properties Wed Aug 25 15:24:01 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/discovery/ui/messages.properties Wed Aug 25 15:37:23 2010 -0500
@@ -43,8 +43,10 @@
ExportPage_Title=Export Installed Feature Configuration
ExportPage_ViewerGroupLabel=Export features:
ExportWizard_ErrorTitle=Error
+ExportWizard_ReadInstalledFeaturesError=Could not read installed features file:
ExportWizard_Title=Export
ExportWizard_WriteFileError=Could not write export file due to error: {0}
+ExportWizard_WriteInstalledFeaturesError=Could not write installed features file:
FeatureInstallOperation_ConfiguringTaskName=Configuring install operation
FeatureInstallOperation_IdLabel=id=
FeatureInstallOperation_MissingFeaturesError=Install failed. Could not find some features: \n
--- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/wizard/ExportWizard.java Wed Aug 25 15:24:01 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/wizard/ExportWizard.java Wed Aug 25 15:37:23 2010 -0500
@@ -88,7 +88,7 @@
try {
Streamer.writeToXML(new FileOutputStream(file), data);
} catch (Exception e) {
- Activator.logError("Could not write installed features file: " + file, e);
+ Activator.logError(Messages.ExportWizard_WriteInstalledFeaturesError + file, e);
}
}
else {
@@ -96,7 +96,7 @@
ImportExportData data = Streamer.readFromXML(new FileInputStream(file));
installedFeatures = data.getFeatureInfos();
} catch (Exception e) {
- Activator.logError("Could not read installed features file: " + file, e);
+ Activator.logError(Messages.ExportWizard_ReadInstalledFeaturesError + file, e);
}
}
--- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/wizard/FeatureInfo.java Wed Aug 25 15:24:01 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/wizard/FeatureInfo.java Wed Aug 25 15:37:23 2010 -0500
@@ -73,6 +73,6 @@
@Override
public String toString() {
- return getId() + " " + getVersion().toString();
+ return getId() + " " + getVersion().toString(); //$NON-NLS-1$
}
}
\ No newline at end of file