Skip to content

Commit 6178f3f

Browse files
committed
refactor: Rename default file names
- MyBundle.kt -> CodeXPBundle.kt - MyBundle.properties -> CodeXPBundle.properties
1 parent d518564 commit 6178f3f

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

src/main/java/com/github/ilovegamecoding/intellijcodexp/form/CodeXPDashboard.form

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<constraints/>
3939
<properties>
4040
<font name="Noto Sans Medium" size="12" style="0"/>
41-
<text resource-bundle="messages/MyBundle" key="TEXT_+"/>
41+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_+"/>
4242
</properties>
4343
</component>
4444
<component id="de0" class="javax.swing.JLabel" binding="tvCurrentLevelXP">
@@ -52,7 +52,7 @@
5252
<constraints/>
5353
<properties>
5454
<font name="Noto Sans Medium" size="12" style="0"/>
55-
<text resource-bundle="messages/MyBundle" key="TEXT_XP"/>
55+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_XP"/>
5656
</properties>
5757
</component>
5858
</children>
@@ -71,7 +71,7 @@
7171
</constraints>
7272
<properties>
7373
<font name="Noto Sans SemiBold" size="12" style="0"/>
74-
<text resource-bundle="messages/MyBundle" key="TEXT_LV"/>
74+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_LV"/>
7575
<verticalAlignment value="3"/>
7676
<verticalTextPosition value="3"/>
7777
</properties>
@@ -101,7 +101,7 @@
101101
</constraints>
102102
<properties>
103103
<font name="Noto Sans SemiBold" size="12" style="0"/>
104-
<text resource-bundle="messages/MyBundle" key="TEXT_LV"/>
104+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_LV"/>
105105
<verticalAlignment value="3"/>
106106
<verticalTextPosition value="3"/>
107107
</properties>
@@ -133,15 +133,15 @@
133133
</constraints>
134134
<properties>
135135
<font name="Noto Sans Black" size="28" style="0"/>
136-
<text resource-bundle="messages/MyBundle" key="TEXT_CODEXP_DASHBOARD"/>
136+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_CODEXP_DASHBOARD"/>
137137
</properties>
138138
</component>
139139
<component id="fc9cf" class="javax.swing.JButton" binding="resetButton" default-binding="true">
140140
<constraints>
141141
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
142142
</constraints>
143143
<properties>
144-
<text resource-bundle="messages/MyBundle" key="TEXT_RESET"/>
144+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_RESET"/>
145145
</properties>
146146
</component>
147147
<hspacer id="6219b">
@@ -165,7 +165,7 @@
165165
</constraints>
166166
<properties>
167167
<font name="Noto Sans SemiBold" size="16" style="0"/>
168-
<text resource-bundle="messages/MyBundle" key="TEXT_NAME"/>
168+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_NAME"/>
169169
</properties>
170170
</component>
171171
</children>
@@ -184,7 +184,7 @@
184184
</constraints>
185185
<properties>
186186
<font name="Noto Sans SemiBold" size="16" style="0"/>
187-
<text resource-bundle="messages/MyBundle" key="TEXT_LEVEL"/>
187+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_LEVEL"/>
188188
</properties>
189189
</component>
190190
</children>
@@ -203,7 +203,7 @@
203203
</constraints>
204204
<properties>
205205
<font name="Noto Sans SemiBold" size="16" style="0"/>
206-
<text resource-bundle="messages/MyBundle" key="TEXT_TOTAL_XP"/>
206+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_TOTAL_XP"/>
207207
</properties>
208208
</component>
209209
</children>
@@ -222,7 +222,7 @@
222222
</constraints>
223223
<properties>
224224
<font name="Noto Sans SemiBold" size="16" style="0"/>
225-
<text resource-bundle="messages/MyBundle" key="TEXT_CHALLENGES"/>
225+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_CHALLENGES"/>
226226
</properties>
227227
</component>
228228
</children>
@@ -241,7 +241,7 @@
241241
</constraints>
242242
<properties>
243243
<font name="Noto Sans SemiBold" size="16" style="0"/>
244-
<text resource-bundle="messages/MyBundle" key="TEXT_COMPLETED_CHALLENGES"/>
244+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_COMPLETED_CHALLENGES"/>
245245
</properties>
246246
</component>
247247
</children>
@@ -293,7 +293,7 @@
293293
</constraints>
294294
<properties>
295295
<font name="Noto Sans Medium" size="12" style="0"/>
296-
<text resource-bundle="messages/MyBundle" key="TEXT_LV"/>
296+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_LV"/>
297297
</properties>
298298
</component>
299299
</children>
@@ -322,7 +322,7 @@
322322
</constraints>
323323
<properties>
324324
<font name="Noto Sans Medium" size="12" style="0"/>
325-
<text resource-bundle="messages/MyBundle" key="TEXT_XP"/>
325+
<text resource-bundle="messages/CodeXPBundle" key="TEXT_XP"/>
326326
</properties>
327327
</component>
328328
</children>

src/main/kotlin/com/github/ilovegamecoding/intellijcodexp/MyBundle.kt renamed to src/main/kotlin/com/github/ilovegamecoding/intellijcodexp/CodeXPBundle.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import org.jetbrains.annotations.NonNls
55
import org.jetbrains.annotations.PropertyKey
66

77
@NonNls
8-
private const val BUNDLE = "messages.MyBundle"
8+
private const val BUNDLE = "messages.CodeXPBundle"
99

10-
object MyBundle : DynamicBundle(BUNDLE) {
10+
object CodeXPBundle : DynamicBundle(BUNDLE) {
1111

1212
@Suppress("SpreadOperator")
1313
@JvmStatic

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<depends>com.intellij.modules.platform</depends>
88

9-
<resource-bundle>messages.MyBundle</resource-bundle>
9+
<resource-bundle>messages.CodeXPBundle</resource-bundle>
1010

1111
<extensions defaultExtensionNs="com.intellij">
1212
<toolWindow factoryClass="com.github.ilovegamecoding.intellijcodexp.toolWindow.CodeXPToolWindowFactory"
File renamed without changes.

0 commit comments

Comments
 (0)