mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 21:48:12 +00:00
Added: #2499 Information about frames which do not have ShowFrame tag
This commit is contained in:
@@ -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:
|
||||
decompilationWarning.replacementsFollow = List of replacements follows:
|
||||
frame.withoutShowFrame = without ShowFrame
|
||||
@@ -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:
|
||||
decompilationWarning.replacementsFollow = N\u00e1sleduje seznam n\u00e1hrad:
|
||||
frame.withoutShowFrame = bez ShowFrame
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user