mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-11 23:46:15 +00:00
Revisions.
This commit is contained in:
parent
a7a2c86ab3
commit
bb0a7c26c7
@ -648,9 +648,6 @@ class ExtractedContentPanel extends javax.swing.JPanel {
|
|||||||
return source.getText();
|
return source.getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
@NbBundle.Messages({
|
|
||||||
"ExtractedContentPanel.getText.error=Error getting text."
|
|
||||||
})
|
|
||||||
@Override
|
@Override
|
||||||
protected void done() {
|
protected void done() {
|
||||||
super.done();
|
super.done();
|
||||||
@ -667,7 +664,7 @@ class ExtractedContentPanel extends javax.swing.JPanel {
|
|||||||
|
|
||||||
} catch (InterruptedException | CancellationException | ExecutionException ex) {
|
} catch (InterruptedException | CancellationException | ExecutionException ex) {
|
||||||
logger.log(Level.SEVERE, "Error getting marked up text", ex); //NON-NLS
|
logger.log(Level.SEVERE, "Error getting marked up text", ex); //NON-NLS
|
||||||
setPanelText(Bundle.ExtractedContentPanel_getText_error(), true);
|
setPanelText(Bundle.IndexedText_errorMessage_errorGettingText(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
updateControls(source);
|
updateControls(source);
|
||||||
|
@ -27,10 +27,9 @@ import org.openide.util.NbBundle;
|
|||||||
* view the stored text.
|
* view the stored text.
|
||||||
*/
|
*/
|
||||||
@NbBundle.Messages({
|
@NbBundle.Messages({
|
||||||
"IndexedText.errorMessage.errorGettingText=<p style\\=''font-style\\:italic''>Error retrieving indexed text.</p>",
|
"IndexedText.errorMessage.errorGettingText=<span style='font-style:italic'>Error retrieving indexed text.</span>",
|
||||||
"IndexedText.warningMessage.knownFile=<p style\\=''font-style\\:italic''>This file is a known file (based on MD5 hash) and does not have indexed text.</p>",
|
"IndexedText.warningMessage.knownFile=<span style='font-style:italic'>This file is a known file (based on MD5 hash) and does not have indexed text.</span>",
|
||||||
"IndexedText.warningMessage.noTextAvailable=<p style\\=''font-style\\:italic''>No indexed text for this file.</p>",
|
"IndexedText.warningMessage.noTextAvailable=<span style='font-style:italic'>No indexed text for this file.</span>"
|
||||||
"IndexedText.htmlStyle.textBodyItalics=<span style\\=''font-style\\:italic''>{0}</span>"
|
|
||||||
})
|
})
|
||||||
interface IndexedText {
|
interface IndexedText {
|
||||||
|
|
||||||
|
@ -245,8 +245,7 @@ class RawText implements IndexedText {
|
|||||||
if (msg == null) {
|
if (msg == null) {
|
||||||
msg = Bundle.IndexedText_warningMessage_noTextAvailable();
|
msg = Bundle.IndexedText_warningMessage_noTextAvailable();
|
||||||
}
|
}
|
||||||
String htmlMsg = Bundle.IndexedText_htmlStyle_textBodyItalics(msg);
|
return msg;
|
||||||
return htmlMsg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int chunkId = currentPage;
|
int chunkId = currentPage;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user