mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge branch '3284_DiskImageBlockSize' into 3545_LocalDiskImageBlockSize
This commit is contained in:
commit
2012bfb773
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user