diff --git a/CHANGELOG.md b/CHANGELOG.md index f29667d1e..b484db746 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file. - AS3 docs generator - reorganized to distinguish float and float 4 instructions, hilight float instruction blue - Icons for every tag type +- [#2499] Information about frames which do not have ShowFrame tag ### Fixed - [#2474] Gotos incorrectly decompiled @@ -3947,6 +3948,7 @@ Major version of SWF to XML export changed to 2. [#2477]: https://www.free-decompiler.com/flash/issues/2477 [#2478]: https://www.free-decompiler.com/flash/issues/2478 [#2485]: https://www.free-decompiler.com/flash/issues/2485 +[#2499]: https://www.free-decompiler.com/flash/issues/2499 [#2474]: https://www.free-decompiler.com/flash/issues/2474 [#2480]: https://www.free-decompiler.com/flash/issues/2480 [#2338]: https://www.free-decompiler.com/flash/issues/2338 diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources.properties b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources.properties index 76ed4688a..d52186ca3 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources.properties +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources.properties @@ -65,4 +65,5 @@ configuration.removed = WARNING: This configuration was REMOVED. It is unused. #after 24.0.1 decompilationWarning.as2.noUninitializedClassFieldsDetection = WARNING: This class was decompiled without detecting uninitialized class fields. decompilationWarning.obfuscatedIdentifiers = WARNING: The original code has obfuscated identifiers. -decompilationWarning.replacementsFollow = List of replacements follows: \ No newline at end of file +decompilationWarning.replacementsFollow = List of replacements follows: +frame.withoutShowFrame = without ShowFrame \ No newline at end of file diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources_cs.properties b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources_cs.properties index 185c22a64..04a18305d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources_cs.properties +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/locales/AppResources_cs.properties @@ -66,4 +66,5 @@ configuration.removed = VAROV\u00c1N\u00cd: Tato konfigurace byla ODSTRAN\u011aN #after 24.0.1 decompilationWarning.as2.noUninitializedClassFieldsDetection = VAROV\u00c1N\u00cd: Tato t\u0159\u00edda byla dekompilov\u00e1na bez detekce neinicializovan\u00fdch pol\u00ed t\u0159\u00edd. decompilationWarning.obfuscatedIdentifiers = VAROV\u00c1N\u00cd: P\u016fvodn\u00ed k\u00f3d m\u00e1 obfuskovan\u00e9 identifik\u00e1tory. -decompilationWarning.replacementsFollow = N\u00e1sleduje seznam n\u00e1hrad: \ No newline at end of file +decompilationWarning.replacementsFollow = N\u00e1sleduje seznam n\u00e1hrad: +frame.withoutShowFrame = bez ShowFrame \ No newline at end of file diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java index 22f852e69..0c527c552 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Frame.java @@ -16,6 +16,7 @@ */ package com.jpexs.decompiler.flash.timeline; +import com.jpexs.decompiler.flash.AppResources; import com.jpexs.decompiler.flash.tags.DoActionTag; import com.jpexs.decompiler.flash.tags.FrameLabelTag; import com.jpexs.decompiler.flash.tags.ShowFrameTag; @@ -168,6 +169,9 @@ public class Frame implements TreeItem, Exportable { if (!labels.isEmpty()) { name += " (name: " + String.join(", ", labels) + ")"; } + if (allInnerTags.isEmpty() || !(allInnerTags.get(allInnerTags.size() - 1) instanceof ShowFrameTag)) { + name += " - " + AppResources.translate("frame.withoutShowFrame"); + } return name; }