mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge pull request #634 from mrtizmo/scalpel
ScalpelCarver module Japanese internationalization update
This commit is contained in:
commit
cec0f4291a
@ -7,3 +7,7 @@ OpenIDE-Module-Short-Description=Carves files from unallocated space
|
||||
ScalpelCarverIngestModule.moduleName=Scalpel Carver
|
||||
ScalpelCarverIngestModule.moduleDesc.text=Carves files from unallocated space at ingest time.\
|
||||
Carved files are reanalyzed and displayed in the directory tree.
|
||||
ScalpelCarverIngestModule.startUp.exception.msg1=Scalpel carving module is not compatible with non-Windows OS's at this time.
|
||||
ScalpelCarverIngestModule.startUp.exception.msg2=Error initializing scalpel carver.
|
||||
ScalpelCarverIngestModule.startUp.exception.msg3=Could not create the output directory for the Scalpel module.
|
||||
ScalpelCarverIngestModule.startUp.exception.msg4=Could not obtain the path to the Scalpel configuration file.
|
||||
|
@ -6,4 +6,8 @@ OpenIDE-Module-Long-Description=\
|
||||
OpenIDE-Module-Short-Description=\u672A\u5272\u308A\u5F53\u3066\u9818\u57DF\u304B\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u5207\u308A\u51FA\u3057\u307E\u3059
|
||||
ScalpelCarverIngestModule.moduleName=Scalpel\u30AB\u30FC\u30D0
|
||||
ScalpelCarverIngestModule.moduleDesc.text=\u30A4\u30F3\u30B8\u30A7\u30B9\u30C8\u3092\u5B9F\u884C\u3059\u308B\u969B\u306B\u672A\u5272\u308A\u5F53\u3066\u9818\u57DF\u304B\u3089\u30D5\u30A1\u30A4\u30EB\u3092\u5207\u308A\u51FA\u3057\u307E\u3059\u3002\
|
||||
\u5207\u308A\u51FA\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u306F\u518D\u5EA6\u89E3\u6790\u3055\u308C\u3001\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u30C4\u30EA\u30FC\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002
|
||||
\u5207\u308A\u51FA\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u306F\u518D\u5EA6\u89E3\u6790\u3055\u308C\u3001\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u30C4\u30EA\u30FC\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002
|
||||
ScalpelCarverIngestModule.startUp.exception.msg1=\u73FE\u6642\u70B9\u3067\u306F\u3001Scalpel\u30AB\u30FC\u30D3\u30F3\u30B0\u30E2\u30B8\u30E5\u30FC\u30EB\u306FWindows OS\u4EE5\u5916\u3068\u306F\u4E92\u63DB\u6027\u304C\u3042\u308A\u307E\u305B\u3093\u3002
|
||||
ScalpelCarverIngestModule.startUp.exception.msg2=Scalpel\u30AB\u30FC\u30D0\u306E\u521D\u671F\u5316\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002
|
||||
ScalpelCarverIngestModule.startUp.exception.msg3=Scalpel\u30E2\u30B8\u30E5\u30FC\u30EB\u306E\u30A2\u30A6\u30C8\u30D7\u30C3\u30C8\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002
|
||||
ScalpelCarverIngestModule.startUp.exception.msg4=Scalpel\u8A2D\u5B9A\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9\u304C\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002
|
@ -23,6 +23,8 @@ import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.openide.util.NbBundle;
|
||||
import org.sleuthkit.autopsy.casemodule.Case;
|
||||
import org.sleuthkit.autopsy.coreutils.Logger;
|
||||
import org.sleuthkit.autopsy.coreutils.PlatformUtil;
|
||||
@ -69,14 +71,14 @@ class ScalpelCarverIngestModule extends IngestModuleAdapter implements FileInges
|
||||
// make sure this is Windows
|
||||
String os = System.getProperty("os.name");
|
||||
if (!os.startsWith("Windows")) {
|
||||
String message = "Scalpel carving module is not compatible with non-Windows OS's at this time.";
|
||||
String message = NbBundle.getMessage(this.getClass(), "ScalpelCarverIngestModule.startUp.exception.msg1");
|
||||
logger.log(Level.SEVERE, message);
|
||||
throw new IngestModuleException(message);
|
||||
}
|
||||
|
||||
carver = new ScalpelCarver();
|
||||
if (!carver.isInitialized()) {
|
||||
String message = "Error initializing scalpel carver.";
|
||||
String message = NbBundle.getMessage(this.getClass(), "ScalpelCarverIngestModule.startUp.exception.msg2");
|
||||
logger.log(Level.SEVERE, message);
|
||||
throw new IngestModuleException(message);
|
||||
}
|
||||
@ -87,7 +89,8 @@ class ScalpelCarverIngestModule extends IngestModuleAdapter implements FileInges
|
||||
File moduleOutputDir = new File(moduleOutputDirPath);
|
||||
if (!moduleOutputDir.exists()) {
|
||||
if (!moduleOutputDir.mkdir()) {
|
||||
String message = "Could not create the output directory for the Scalpel module.";
|
||||
String message = NbBundle
|
||||
.getMessage(this.getClass(), "ScalpelCarverIngestModule.startUp.exception.msg3");
|
||||
logger.log(Level.SEVERE, message);
|
||||
throw new IngestModuleException(message);
|
||||
}
|
||||
@ -102,7 +105,7 @@ class ScalpelCarverIngestModule extends IngestModuleAdapter implements FileInges
|
||||
try {
|
||||
PlatformUtil.extractResourceToUserConfigDir(this.getClass(), configFileName, false);
|
||||
} catch (IOException ex) {
|
||||
String message = "Could not obtain the path to the Scalpel configuration file.";
|
||||
String message = NbBundle.getMessage(this.getClass(), "ScalpelCarverIngestModule.startUp.exception.msg4");
|
||||
logger.log(Level.SEVERE, message, ex);
|
||||
throw new IngestModuleException(message);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user