mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 08:56:15 +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
|
||||
org_sleuthkit_autopsy_core_update_center=http://sleuthkit.org/autopsy/updates.xml
|
||||
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 javafx.application.Platform;
|
||||
import javafx.embed.swing.JFXPanel;
|
||||
import org.openide.util.NbBundle;
|
||||
import org.sleuthkit.autopsy.coreutils.Logger;
|
||||
import org.openide.modules.ModuleInstall;
|
||||
import org.openide.windows.WindowManager;
|
||||
@ -110,9 +111,8 @@ public class Installer extends ModuleInstall {
|
||||
javaFxInit = true;
|
||||
} catch (UnsatisfiedLinkError | NoClassDefFoundError | Exception e) {
|
||||
//in case javafx not present
|
||||
final String msg = "Error initializing JavaFX. ";
|
||||
final String details = " Some features will not be available. "
|
||||
+ " Check that you have the right JRE installed (Oracle JRE > 1.7.10). ";
|
||||
final String msg = NbBundle.getMessage(Installer.class, "Installer.errorInitJavafx.msg");
|
||||
final String details = NbBundle.getMessage(Installer.class, "Installer.errorInitJavafx.details");
|
||||
logger.log(Level.SEVERE, msg
|
||||
+ details, e);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user