mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Pulled static strings into Bundle.
This commit is contained in:
parent
77ba2e8c5f
commit
6b214095de
@ -10,3 +10,5 @@ OpenIDE-Module-Name=Autopsy-Core
|
|||||||
OpenIDE-Module-Short-Description=Autopsy Core Module
|
OpenIDE-Module-Short-Description=Autopsy Core Module
|
||||||
org_sleuthkit_autopsy_core_update_center=http://sleuthkit.org/autopsy/updates.xml
|
org_sleuthkit_autopsy_core_update_center=http://sleuthkit.org/autopsy/updates.xml
|
||||||
Services/AutoupdateType/org_sleuthkit_autopsy_core_update_center.settings=Autopsy Update Center
|
Services/AutoupdateType/org_sleuthkit_autopsy_core_update_center.settings=Autopsy Update Center
|
||||||
|
Installer.errorInitJavafx.msg=Error initializing JavaFX.
|
||||||
|
Installer.errorInitJavafx.details=\ Some features will not be available. Check that you have the right JRE installed (Oracle JRE > 1.7.10).
|
||||||
|
@ -23,6 +23,7 @@ import java.util.List;
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import javafx.application.Platform;
|
import javafx.application.Platform;
|
||||||
import javafx.embed.swing.JFXPanel;
|
import javafx.embed.swing.JFXPanel;
|
||||||
|
import org.openide.util.NbBundle;
|
||||||
import org.sleuthkit.autopsy.coreutils.Logger;
|
import org.sleuthkit.autopsy.coreutils.Logger;
|
||||||
import org.openide.modules.ModuleInstall;
|
import org.openide.modules.ModuleInstall;
|
||||||
import org.openide.windows.WindowManager;
|
import org.openide.windows.WindowManager;
|
||||||
@ -110,9 +111,8 @@ public class Installer extends ModuleInstall {
|
|||||||
javaFxInit = true;
|
javaFxInit = true;
|
||||||
} catch (UnsatisfiedLinkError | NoClassDefFoundError | Exception e) {
|
} catch (UnsatisfiedLinkError | NoClassDefFoundError | Exception e) {
|
||||||
//in case javafx not present
|
//in case javafx not present
|
||||||
final String msg = "Error initializing JavaFX. ";
|
final String msg = NbBundle.getMessage(Installer.class, "Installer.errorInitJavafx.msg");
|
||||||
final String details = " Some features will not be available. "
|
final String details = NbBundle.getMessage(Installer.class, "Installer.errorInitJavafx.details");
|
||||||
+ " Check that you have the right JRE installed (Oracle JRE > 1.7.10). ";
|
|
||||||
logger.log(Level.SEVERE, msg
|
logger.log(Level.SEVERE, msg
|
||||||
+ details, e);
|
+ details, e);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user