Merge branch '3284_DiskImageBlockSize' into 3545_LocalDiskImageBlockSize

This commit is contained in:
U-BASIS\dgrove 2018-02-23 13:03:49 -05:00
commit 2012bfb773

View File

@ -177,7 +177,8 @@ final class LogicalEvidenceFilePanel extends javax.swing.JPanel implements Docum
* selection * selection
*/ */
@Messages({ @Messages({
"LogicalEvidenceFilePanel.validatePanel.nonL01Error.text=Only files with the .l01 file extension are supported here." "LogicalEvidenceFilePanel.validatePanel.nonL01Error.text=Only files with the .l01 file extension are supported here.",
"LogicalEvidenceFilePanel.pathValidation.dataSourceOnCDriveError=Warning: Path to multi-user data source is on \"C:\" drive"
}) })
boolean validatePanel() { boolean validatePanel() {
errorLabel.setVisible(false); errorLabel.setVisible(false);
@ -189,7 +190,7 @@ final class LogicalEvidenceFilePanel extends javax.swing.JPanel implements Docum
// display warning if there is one (but don't disable "next" button) // display warning if there is one (but don't disable "next" button)
if (!PathValidator.isValid(path, Case.getCurrentCase().getCaseType())) { if (!PathValidator.isValid(path, Case.getCurrentCase().getCaseType())) {
errorLabel.setVisible(true); errorLabel.setVisible(true);
errorLabel.setText(Bundle.DataSourceOnCDriveError_text()); errorLabel.setText(Bundle.LogicalEvidenceFilePanel_pathValidation_dataSourceOnCDriveError());
return false; return false;
} }
//check the extension incase the path was manually entered //check the extension incase the path was manually entered