Skip to content

Commit 392b3ea

Browse files
committed
Remove useless language config section.
1 parent caf8733 commit 392b3ea

File tree

3 files changed

+0
-44
lines changed

3 files changed

+0
-44
lines changed

eternalcore-core/src/main/java/com/eternalcode/core/translation/Translation.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,6 @@ interface ItemSection {
174174
Notice enchantedMessageBy();
175175
}
176176

177-
interface LanguageSection {
178-
Notice languageChanged();
179-
180-
List<ConfigItem> decorationItems();
181-
}
182-
183177
interface ContainerSection {
184178
Notice genericContainerOpened();
185179
Notice genericContainerOpenedBy();
@@ -241,8 +235,6 @@ interface ContainerSection {
241235
ItemEditMessages itemEdit();
242236
// time and weather
243237
TimeAndWeatherMessages timeAndWeather();
244-
// language section
245-
LanguageSection language();
246238
// container section
247239
ContainerSection container();
248240
// auto message section

eternalcore-core/src/main/java/com/eternalcode/core/translation/implementation/ENTranslation.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -539,24 +539,6 @@ public static class ENContainerSection extends OkaeriConfig implements Container
539539
public Notice genericContainerOpenedFor = Notice.chat("<green>► <white>The specified container has been opened for <green>{PLAYER}<white>!");
540540
}
541541

542-
@Comment({" ", "# Information sent, when the language is changed to English"})
543-
public ENLanguageSection language = new ENLanguageSection();
544-
545-
@Getter
546-
public static class ENLanguageSection extends OkaeriConfig implements LanguageSection {
547-
public Notice languageChanged = Notice.chat("<green>► <white>Language changed to <green>English<white>!");
548-
549-
public List<ConfigItem> decorationItems = List.of(
550-
ConfigItem.builder()
551-
.withMaterial(Material.SUNFLOWER)
552-
.withGlow(true)
553-
.withSlot(40)
554-
.withName("&7Our discord")
555-
.withLore(Collections.singletonList("&8» &6https://discord.gg/TRbDApaJaJ"))
556-
.build()
557-
);
558-
}
559-
560542
@Comment({" ", "# Set's max players on the server, the messages for the /setslot command"})
561543
public ENSetSlotMessages setSlot = new ENSetSlotMessages();
562544

eternalcore-core/src/main/java/com/eternalcode/core/translation/implementation/PLTranslation.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -564,24 +564,6 @@ public static class PLContainerSection extends OkaeriConfig implements Container
564564
public Notice genericContainerOpenedFor = Notice.chat("<green>► <white>Otwarto kontener dla gracza <green>{PLAYER}<white>!");
565565
}
566566

567-
@Comment({" ", "# Informacja zwrotna, gdy gracz zmienia język pluginu na polski"})
568-
public PLLanguageSection language = new PLLanguageSection();
569-
570-
@Getter
571-
public static class PLLanguageSection extends OkaeriConfig implements LanguageSection {
572-
public Notice languageChanged = Notice.chat("<green>► <white>Zmieniono język na <green>Polski<white>!");
573-
574-
public List<ConfigItem> decorationItems = List.of(
575-
ConfigItem.builder()
576-
.withMaterial(Material.SUNFLOWER)
577-
.withGlow(true)
578-
.withSlot(40)
579-
.withName("&7Nasz discord")
580-
.withLore(Collections.singletonList("&8» &6https://discord.gg/TRbDApaJaJ"))
581-
.build()
582-
);
583-
}
584-
585567
@Comment({" ", "# Ta sekcja odpowiada za wiadomości dotyczące pojemnosci serwera"})
586568
public PLSetSlotMessages setSlot = new PLSetSlotMessages();
587569

0 commit comments

Comments
 (0)