mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 19:54:37 +00:00
initializers warning
This commit is contained in:
@@ -50,7 +50,7 @@ public class SlotConstTraitDetailPanel extends JPanel implements TraitDetail {
|
||||
add(new JLabel(translate("abc.detail.slotconst.typevalue")), BorderLayout.NORTH);
|
||||
add(new JScrollPane(slotConstEditor), BorderLayout.CENTER);
|
||||
warnLabel = new JTextPane();
|
||||
warnLabel.setText("WARNING:\nStatic fields and consts are often initialized in initializers.\nEditing value here is usually not enough!");
|
||||
warnLabel.setText(translate("warning.initializers"));
|
||||
StyledDocument doc = warnLabel.getStyledDocument();
|
||||
SimpleAttributeSet center = new SimpleAttributeSet();
|
||||
StyleConstants.setAlignment(center, StyleConstants.ALIGN_CENTER);
|
||||
|
||||
@@ -334,4 +334,6 @@ menu.language = Language
|
||||
startup.welcometo = Welcome to
|
||||
startup.selectopen = Click open icon on the top panel or drag SWF file to this window to start.
|
||||
|
||||
error.font.nocharacter = Selected source font does not contain character "%char%".
|
||||
error.font.nocharacter = Selected source font does not contain character "%char%".
|
||||
|
||||
warning.initializers = WARNING:\nStatic fields and consts are often initialized in initializers.\nEditing value here is usually not enough!
|
||||
@@ -332,4 +332,6 @@ menu.language = Jazyk
|
||||
startup.welcometo = V\u00edtejte v programu
|
||||
startup.selectopen = Pro za\u010d\u00e1tek klikn\u011bte na otev\u0159\u00edt v horn\u00edm panelu nebo p\u0159et\u00e1hn\u011bte SWF soubor p\u0159\u00edmo do tohoto okna.
|
||||
|
||||
error.font.nocharacter = Vybran\u00e9 zdrojov\u00e9 p\u00edsmo neobsahuje znak "%char%".
|
||||
error.font.nocharacter = Vybran\u00e9 zdrojov\u00e9 p\u00edsmo neobsahuje znak "%char%".
|
||||
|
||||
warning.initializers = VAROV\u00c1N\u00cd:\nStatick\u00e9 atributy a konstanty jsou \u010dasto inicializov\u00e1ny pomoc\u00ed inicializ\u00e1tor\u016f.\nPokud to uprav\u00edte zde, obvykle to nesta\u010d\u00ed!
|
||||
Reference in New Issue
Block a user