Skip to content

Commit 8a6be7a

Browse files
committed
Don't internationalize the VERSION label
1 parent 0b47d24 commit 8a6be7a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

src/org/netbeans/modules/php/phpcsfixer/options/Bundle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@ PhpCsFixerOptionsPanel.rulesCheckBox.text=--rules=
1818
PhpCsFixerOptionsPanel.rulesTextField.text=
1919
PhpCsFixerPanel.showOutputWindowCheckBox.text=Show an output window
2020
PhpCsFixerOptionsPanel.diffFormatUdiffCheckBox.text=--diff-format=udiff
21-
PhpCsFixerPanel.versionLabel.text=VERSION
2221
PhpCsFixerPanel.selfUpdateButton.text=Self Update...
2322
PhpCsFixerPanel.runSelfUpdateOnBootCheckBox.text=Run self-update command on boot

src/org/netbeans/modules/php/phpcsfixer/options/PhpCsFixerPanel.form

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@
131131
</Component>
132132
<Component class="javax.swing.JLabel" name="versionLabel">
133133
<Properties>
134-
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
135-
<ResourceString bundle="org/netbeans/modules/php/phpcsfixer/options/Bundle.properties" key="PhpCsFixerPanel.versionLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
136-
</Property>
134+
<Property name="text" type="java.lang.String" value="VERSION" noResource="true"/>
137135
</Properties>
138136
</Component>
139137
<Component class="javax.swing.JButton" name="selfUpdateButton">

src/org/netbeans/modules/php/phpcsfixer/options/PhpCsFixerPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void actionPerformed(ActionEvent evt) {
124124

125125
Mnemonics.setLocalizedText(showOutputWindowCheckBox, NbBundle.getMessage(PhpCsFixerPanel.class, "PhpCsFixerPanel.showOutputWindowCheckBox.text")); // NOI18N
126126

127-
Mnemonics.setLocalizedText(versionLabel, NbBundle.getMessage(PhpCsFixerPanel.class, "PhpCsFixerPanel.versionLabel.text")); // NOI18N
127+
Mnemonics.setLocalizedText(versionLabel, "VERSION"); // NOI18N
128128

129129
Mnemonics.setLocalizedText(selfUpdateButton, NbBundle.getMessage(PhpCsFixerPanel.class, "PhpCsFixerPanel.selfUpdateButton.text")); // NOI18N
130130
selfUpdateButton.addActionListener(new ActionListener() {

0 commit comments

Comments
 (0)