diff --git a/CHANGELOG.md b/CHANGELOG.md index da9ab01f2..e97066ae7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Added +- Display object depth in flash panel + ### Fixed - [#1761] AS3 - try..finally inside another structure like if diff --git a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java index f7929eb35..b5ab16dc8 100644 --- a/src/com/jpexs/decompiler/flash/gui/ImagePanel.java +++ b/src/com/jpexs/decompiler/flash/gui/ImagePanel.java @@ -2208,7 +2208,9 @@ public final class ImagePanel extends JPanel implements MediaDisplay { CharacterTag c = swf.getCharacter(ds.characterId); ret.append(c.toString()); if(ds.depth > 0) { - ret.append(" Depth: "); + ret.append(" "); + ret.append(AppStrings.translate("imagePanel.depth")); + ret.append(" "); ret.append(ds.depth); } } diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties index 0c54b8e7f..ca9b3de5d 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame.properties @@ -846,4 +846,6 @@ message.info.importSymbolClass = During importing Symbol-Class, you need to sele message.info.importXml = For XML importing, you need a XML file in special format - the format in which FFDec exports.\r\n \ The best way to create such XML file is to export XML from existing SWF first. -tagInfo.dependentFrames = Dependent Frames \ No newline at end of file +tagInfo.dependentFrames = Dependent Frames + +imagePanel.depth = depth: \ No newline at end of file diff --git a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties index e06c7fab5..f5e5ad262 100644 --- a/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties +++ b/src/com/jpexs/decompiler/flash/gui/locales/MainFrame_cs.properties @@ -822,4 +822,6 @@ message.info.importSymbolClass = B\u011bhem importu Symbol-Class mus\u00edte vyb message.info.importXml = Pro XML import je pot\u0159eba XML soubor ve speci\u00e1ln\u00edm form\u00e1tu - form\u00e1tu, ve kter\u00e9m FFDec exportuje.\r\n \ Nejlep\u0161\u00ed zp\u016fsob jak vytvo\u0159it takov\u00e9 XML je exportovat XML z existuj\u00edc\u00edho SWF. -tagInfo.dependentFrames = Z\u00e1visl\u00e9 sn\u00edmky \ No newline at end of file +tagInfo.dependentFrames = Z\u00e1visl\u00e9 sn\u00edmky + +imagePanel.depth = hloubka: \ No newline at end of file