objectList)
final int MAX_ELEMENTS = 21;
final int size = objectList.size();
+ // Index of the last page that has elements. Using size / MAX_ELEMENTS would point one page past the
+ // end when size is an exact multiple of MAX_ELEMENTS, showing an empty page.
+ final int lastPage = Math.max(0, (size - 1) / MAX_ELEMENTS);
+
if (this.pageIndex < 0)
{
- this.pageIndex = size / MAX_ELEMENTS;
+ this.pageIndex = lastPage;
}
- else if (this.pageIndex > (size / MAX_ELEMENTS))
+ else if (this.pageIndex > lastPage)
{
this.pageIndex = 0;
}
diff --git a/src/main/java/world/bentobox/magiccobblestonegenerator/utils/Utils.java b/src/main/java/world/bentobox/magiccobblestonegenerator/utils/Utils.java
index 79f9046..4965352 100644
--- a/src/main/java/world/bentobox/magiccobblestonegenerator/utils/Utils.java
+++ b/src/main/java/world/bentobox/magiccobblestonegenerator/utils/Utils.java
@@ -858,4 +858,135 @@ public static void sendUnlockMessage(UUID uuid,
user.getPlayer().spigot().sendMessage(component);
}
}
+
+
+ // ---------------------------------------------------------------------
+ // Section: Panel titles
+ // ---------------------------------------------------------------------
+
+
+ /**
+ * Width, in pixels, of the title area of a chest inventory. The window is 176 px wide and the title starts
+ * 8 px in from the left; keeping the same margin on the right leaves 160 px.
+ */
+ static final int TITLE_WIDTH = 160;
+
+ /**
+ * Text appended to a name that had to be shortened to fit a title.
+ */
+ static final String ELLIPSIS = "\u2026";
+
+
+ /**
+ * Shortens a name so that a panel title built from it fits inside the inventory window. The Minecraft
+ * client does not cut long titles; it draws them past the edge of the window.
+ *
+ * Formatting in the name (MiniMessage or legacy colour codes) is removed, because a title cannot be cut
+ * safely in the middle of a tag. Titles are drawn bold, so widths are measured as bold.
+ *
+ * @param user user the title is for, used to translate the rest of the title.
+ * @param titleKey locale key of the title.
+ * @param placeholder placeholder in the title that the name replaces.
+ * @param name the name to insert.
+ * @return the name, shortened with an ellipsis if needed, as plain text.
+ */
+ public static String fitTitleName(User user, String titleKey, String placeholder, String name)
+ {
+ // Width of everything in the title except the name.
+ int labelWidth = Utils.getTextWidth(Utils.toPlainText(user.getTranslation(titleKey, placeholder, "")));
+ return Utils.truncateToWidth(Utils.toPlainText(name), TITLE_WIDTH - labelWidth);
+ }
+
+
+ /**
+ * Removes MiniMessage tags and legacy colour codes from the text.
+ *
+ * @param text formatted text.
+ * @return plain text.
+ */
+ static String toPlainText(String text)
+ {
+ if (text == null || text.isEmpty())
+ {
+ return "";
+ }
+
+ return Util.stripColor(Util.componentToPlainText(Util.parseMiniMessageOrLegacy(text)));
+ }
+
+
+ /**
+ * Cuts the text so its bold width fits in the given number of pixels, ending it with an ellipsis when it
+ * was cut. At least one character is always kept so the title never ends up as just an ellipsis.
+ *
+ * @param text plain text.
+ * @param maxWidth available width in pixels.
+ * @return text that fits.
+ */
+ static String truncateToWidth(String text, int maxWidth)
+ {
+ if (Utils.getTextWidth(text) <= maxWidth)
+ {
+ return text;
+ }
+
+ int available = maxWidth - Utils.getTextWidth(ELLIPSIS);
+ int width = 0;
+ int end = 0;
+
+ while (end < text.length())
+ {
+ int next = text.offsetByCodePoints(end, 1);
+ int charWidth = Utils.getCharWidth(text.codePointAt(end));
+
+ if (width + charWidth > available && end > 0)
+ {
+ break;
+ }
+
+ width += charWidth;
+ end = next;
+ }
+
+ return text.substring(0, end).stripTrailing() + ELLIPSIS;
+ }
+
+
+ /**
+ * Returns the width of the text in pixels, drawn bold in the default Minecraft font.
+ *
+ * @param text plain text.
+ * @return width in pixels.
+ */
+ static int getTextWidth(String text)
+ {
+ return text.codePoints().map(Utils::getCharWidth).sum();
+ }
+
+
+ /**
+ * Returns how far one character moves the cursor, in pixels, when drawn bold in the default Minecraft font.
+ * This is the glyph width, plus 1 px spacing, plus 1 px for bold. Characters outside the ASCII font are
+ * estimated: wide (CJK) characters as 10 px and everything else as 7 px.
+ *
+ * @param codePoint character.
+ * @return width in pixels.
+ */
+ static int getCharWidth(int codePoint)
+ {
+ int width = switch (codePoint)
+ {
+ case '!', ',', '.', ':', ';', '|', 'i' -> 2;
+ case '\'', '`', 'l' -> 3;
+ case ' ', 'I', 't', '[', ']' -> 4;
+ case '"', '(', ')', '*', '<', '>', '{', '}', 'f', 'k' -> 5;
+ case '@', '~', '\u2026' -> 7;
+ default -> codePoint >= 0x1100 && Character.isIdeographic(codePoint)
+ || (codePoint >= 0xAC00 && codePoint <= 0xD7A3)
+ || (codePoint >= 0x3040 && codePoint <= 0x30FF) ? 9 : 6;
+ };
+
+ // Bold adds 1 px to every character.
+ return width + 1;
+ }
}
diff --git a/src/main/java/world/bentobox/magiccobblestonegenerator/web/WebManager.java b/src/main/java/world/bentobox/magiccobblestonegenerator/web/WebManager.java
index dad14b7..17888a2 100644
--- a/src/main/java/world/bentobox/magiccobblestonegenerator/web/WebManager.java
+++ b/src/main/java/world/bentobox/magiccobblestonegenerator/web/WebManager.java
@@ -7,6 +7,7 @@
import java.util.Comparator;
import java.util.List;
+import org.bukkit.Bukkit;
import org.bukkit.World;
import com.google.gson.JsonObject;
@@ -163,9 +164,11 @@ public void requestEntryGitHubData(User user, World world, LibraryEntry entry)
// Process downloaded library data
if (!stoneGeneratorLibrary.isEmpty())
{
- this.addon.getImportManager().processDownloadedFile(user,
- world,
- stoneGeneratorLibrary);
+ // This runs on an async thread. Importing touches the generator cache, database and players,
+ // so hand it back to the main server thread.
+ final String libraryData = stoneGeneratorLibrary;
+ Bukkit.getScheduler().runTask(this.plugin,
+ () -> this.addon.getImportManager().processDownloadedFile(user, world, libraryData));
}
});
}
diff --git a/src/main/resources/locales/cs.yml b/src/main/resources/locales/cs.yml
index 33d808c..aa03069 100644
--- a/src/main/resources/locales/cs.yml
+++ b/src/main/resources/locales/cs.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Exportovat databázi kouzelných generátorů z herního režimu do souboru"
+ reset:
+ parameters: ""
+ description: "resetuje data generátorů na ostrově hráče"
+ confirmation: "Tímto se resetují data generátorů hráče [player] (odemčené, zakoupené a aktivní generátory) - prosím potvrďte"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generátory"
# Title for detailed generator view.
- view-generator: "Generátor: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Panel správce"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Vybrat typ generátoru"
# Title for detailed bundle view.
- view-bundle: "Balíček: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Spravovat balíčky"
# Title for managing generators GUI.
manage-generators: "Spravovat generátory"
# Title for editing island data.
- view-island: "Ostrov: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Spravovat data ostrova"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Konfigurovat výšku materiálu"
# Title for Height Range Configuration GUI
height-range-config: "Rozsah výšky: [material]"
+ select-generator: "Vyberte generátory"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "Typ generátoru"
description: |-
- Definuje, který typ generátoru
- bude aplikován na aktuální
- generátor.
+ Určuje, který vanilla
+ mechanismus lávy aktivuje
+ tento generátor.
+
+ Dlhý kámen: proud lávy se dotkne
+ vody ve stejné úrovni.
+
+ Kámen: láva teče dolů na vodu.
+ Funguje na jakékoli vodě,
+ včetně oceánů.
+
+ Čedič: láva teče na půdu duší
+ vedle modrého ledu.
value: "Typ: [type]"
required_min_level:
name: "Minimální úroveň ostrova"
@@ -797,6 +812,36 @@ stone-generator:
name: "Jakýkoliv"
description: |-
Funguje s jakýmkoliv generátorem.
+ accept_generator:
+ name: "Potvrdit generátory"
+ description: |-
+ Potvrdí vybrané generátory
+ a vrátí se zpět.
+ selected-generators: "Vybrané generátory:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Aktivovat při odemčení"
+ description: |-
+ Když je zapnuto, tento
+ generátor se aktivuje
+ ihned po odemčení.
+ enabled: "Tento generátor se aktivuje při odemčení."
+ disabled: "Tento generátor se neaktivuje při odemčení."
+ add_custom_block:
+ name: "Přidat vlastní blok"
+ description: |-
+ Přidejte vlastní blok z
+ ItemsAdder, CraftEngine,
+ Oraxen nebo Nexo podle ID.
+ required_generators:
+ name: "Vyžadované generátory"
+ description: |-
+ Generátory, které musí být
+ odemčeny, než bude tento
+ generátor dostupný.
+ list: "Vyžadované generátory:"
+ value: "- [generator]"
+ none: "- žádné"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Klikněte pro zobrazení předchozí stránky."
@@ -889,6 +934,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Požadovaná úroveň: [number]"
@@ -902,6 +950,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Funguje v všechny biomy"
+ phase: "Vyžadovaná fáze: [name]"
+ block-count: "Vyžadováno zničených bloků: [number]"
+ required-generators-title: "Vyžadované generátory:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -980,6 +1032,7 @@ stone-generator:
import-count: "Importováno [generator] nových generátorů a [bundle] nových balíčků."
# Message that appears after clicking on download button in web library.
start-downloading: "Začněte stahovat knihovnu."
+ generator-data-reset: "Data generátorů hráče [player] byla resetována."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1004,7 +1057,7 @@ stone-generator:
no-generators-in-world: "V nejsou k dispozici žádné generátory pro vás[world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Při stahování peněz se něco pokazilo."
- max-height-less-than-min: "Maximální výška ([MAX]) nemůže být menší než minimální výška ([MIN])!"
+ max-height-less-than-min: "Maximální výška ([max]) nemůže být menší než minimální výška ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1077,6 +1130,10 @@ stone-generator:
click-text-to-activate: "Odemkli jste [generator]! Klikněte zde a aktivujte to nyní."
input-min-height: "Zadejte minimální výšku pro tento materiál (mezi -64 a 320):"
input-max-height: "Zadejte maximální výšku pro tento materiál (mezi -64 a 320):"
+ confirm-generator-purchase: "Potvrďte prosím, že chcete koupit [generator] za [number]."
+ input-custom-block: "Zadejte do chatu ID vlastního bloku s předponou jeho pluginu: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' nebo 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' není platné ID vlastního bloku. Použijte 'itemsadder:', 'craftengine:', 'oraxen:' nebo 'nexo:' následované ID bloku."
+ custom-block-not-found: "Vlastní blok '[block]' nebyl nalezen. Zkontrolujte, zda je plugin nainstalován a ID je správné."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/de.yml b/src/main/resources/locales/de.yml
index f543ac6..1cbde0a 100644
--- a/src/main/resources/locales/de.yml
+++ b/src/main/resources/locales/de.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: Exportieren Sie die Datenbank der magischen Generatoren aus dem Spielmodus in eine Datei
+ reset:
+ parameters: ""
+ description: "setzt die Generatordaten der Insel eines Spielers zurück"
+ confirmation: "Dadurch werden die Generatordaten von [player] zurückgesetzt (freigeschaltete, gekaufte und aktive Generatoren) - bitte bestätigen"
player:
main:
description: öffnet die Generatorauswahl-GUI
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "Generatoren"
- view-generator: "Generator: [generator]"
+ view-generator: "[generator]"
admin-panel: "Admin-Panel"
select-biome: "Biome auswählen"
select-block: "Block auswählen"
select-bundle: "Bundle auswählen"
select-type: "Generatortyp auswählen"
- view-bundle: "Bündel: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "Bundles verwalten"
manage-generators: "Generatoren verwalten"
- view-island: "Insel: [island]"
+ view-island: "[island]"
manage-islands: "Inseldaten verwalten"
library: "Bibliothek"
settings: "Einstellungen"
configure-material-height: Materialhöhe konfigurieren
height-range-config: 'Höhenbereich: [material]'
+ select-generator: "Generatoren auswählen"
buttons:
default:
name: "Standardgenerator"
@@ -67,9 +72,19 @@ stone-generator:
type:
name: "Generatortyp"
description: |-
- Definiert welcher Generatortyp
- wird auf den Strom angewendet
- -Generator.
+ Legt fest, welcher Lava-
+ Mechanismus diesen Generator
+ auslöst.
+
+ Kopfsteinpflaster: ein Lavastrom berührt
+ Wasser auf gleicher Höhe.
+
+ Stein: Lava fließt auf Wasser
+ herab. Funktioniert auf
+ jedem Wasser, auch Ozeanen.
+
+ Basalt: Lava fließt auf Seelenerde
+ neben Blaueis.
value: "Typ: [type]"
required_min_level:
name: "Mindestinsel-Level"
@@ -699,6 +714,37 @@ stone-generator:
description: "Legt die minimale Höhe\nfür dieses Material fest."
name: Minimale Höhe
value: 'Aktueller Wert: [min_height]'
+ accept_generator:
+ name: "Generatoren übernehmen"
+ description: |-
+ Übernimmt die ausgewählten
+ Generatoren und kehrt zurück.
+ selected-generators: "Ausgewählte Generatoren:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Bei Freischaltung aktivieren"
+ description: |-
+ Wenn aktiviert, wird dieser
+ Generator automatisch
+ aktiviert, sobald er
+ freigeschaltet ist.
+ enabled: "Dieser Generator wird bei Freischaltung aktiviert."
+ disabled: "Dieser Generator wird bei Freischaltung nicht aktiviert."
+ add_custom_block:
+ name: "Benutzerdefinierten Block hinzufügen"
+ description: |-
+ Füge einen Block aus
+ ItemsAdder, CraftEngine,
+ Oraxen oder Nexo per ID hinzu.
+ required_generators:
+ name: "Erforderliche Generatoren"
+ description: |-
+ Generatoren, die zuerst
+ freigeschaltet sein müssen,
+ bevor dieser verfügbar ist.
+ list: "Erforderliche Generatoren:"
+ value: "- [generator]"
+ none: "- keine"
tips:
click-to-previous: "Klicken Sie auf , um die vorherige Seite anzuzeigen."
click-to-next: "Klicken Sie auf , um die nächste Seite anzuzeigen."
@@ -759,6 +805,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -771,6 +818,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
level: "Erforderliches Level: [number]"
permission-title: "Fehlende Berechtigungen:"
@@ -778,6 +828,10 @@ stone-generator:
biome-title: "Funktioniert in:"
biome: "[biome]"
any: "Funktioniert in allen Biomen"
+ phase: "Erforderliche Phase: [name]"
+ block-count: "Erforderliche abgebaute Blöcke: [number]"
+ required-generators-title: "Erforderliche Generatoren:"
+ required-generator: " -[generator]"
status:
locked: "Gesperrt!"
undeployed: "Nicht bereitgestellt!"
@@ -821,6 +875,7 @@ stone-generator:
import-count: "Importierte [generator] neue Generatoren und [bundle] neue Bundles."
start-downloading: "Beginnen Sie mit dem Herunterladen der Bibliothek."
generator-exhausted: Generator '[generator]' hat sein Erzeugungslimit erreicht und ist nun für [number] weitere Minute(n) in der Abklingzeit.
+ generator-data-reset: "Generatordaten von [player] wurden zurückgesetzt."
errors:
no-generator-data: "Es konnten keine gültigen Generatordaten gefunden werden"
no-island-data: "Inseldaten wurden nicht gefunden."
@@ -833,7 +888,7 @@ stone-generator:
generator-tier-not-found: "Generator mit der ID '[generator]' nicht in [gamemode] gefunden."
no-generators-in-world: "Es gibt keine verfügbaren Generatoren für Sie in [world]"
could-not-remove-money: "Beim Geldabheben ist etwas schief gelaufen. Das kann mal passieren ;)"
- max-height-less-than-min: Die maximale Höhe ([MAX]) darf nicht kleiner als die minimale Höhe ([MIN]) sein!
+ max-height-less-than-min: Die maximale Höhe ([max]) darf nicht kleiner als die minimale Höhe ([min]) sein!
conversations:
confirm-string: wahr, an, ja, bestätigen, y, gültig, richtig
deny-string: falsch, aus, nein, verweigern, n, ungültig, falsch
@@ -871,6 +926,10 @@ stone-generator:
click-text-to-activate: "Du hast [generator]freigeschaltet! Klicken Sie hier, um es jetzt zu aktivieren."
input-max-height: Gib die maximale Höhe für dieses Material ein (zwischen -64 und 320):
input-min-height: Gib die minimale Höhe für dieses Material ein (zwischen -64 und 320):
+ confirm-generator-purchase: "Bitte bestätige, dass du [generator] für [number] kaufen möchtest."
+ input-custom-block: "Bitte gib die ID des benutzerdefinierten Blocks im Chat ein, mit dem Plugin als Präfix: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' oder 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' ist keine gültige ID für einen benutzerdefinierten Block. Verwende 'itemsadder:', 'craftengine:', 'oraxen:' oder 'nexo:' gefolgt von der Block-ID."
+ custom-block-not-found: "Benutzerdefinierter Block '[block]' wurde nicht gefunden. Prüfe, ob das Plugin installiert und die ID korrekt ist."
materials:
cobblestone: Kopfsteinpflaster
stone:
diff --git a/src/main/resources/locales/en-US.yml b/src/main/resources/locales/en-US.yml
index d0ccae6..85c41f1 100644
--- a/src/main/resources/locales/en-US.yml
+++ b/src/main/resources/locales/en-US.yml
@@ -44,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generators"
# Title for detailed generator view.
- view-generator: "Generator: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Admin Panel"
# Title for GUI that allows to select biomes for generator.
@@ -57,13 +57,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Select Generator Type"
# Title for detailed bundle view.
- view-bundle: "Bundle: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Manage Bundles"
# Title for managing generators GUI.
manage-generators: "Manage Generators"
# Title for editing island data.
- view-island: "Island: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Manage Island Data"
# Title for Library GUI
@@ -81,13 +81,13 @@ stone-generator:
name: "Minimum Height"
description: |-
Set the minimum height
- for this material.
+ for this generator.
value: "Current value: [min_height]"
max_height:
name: "Maximum Height"
description: |-
Set the maximum height
- for this material.
+ for this generator.
value: "Current value: [max_height]"
height_range:
name: "Height Range"
@@ -115,9 +115,18 @@ stone-generator:
type:
name: "Generator Type"
description: |-
- Defines which generator type
- will be applied to the current
- generator.
+ Defines which vanilla lava
+ mechanic activates this
+ generator.
+
+ Cobblestone: a lava stream
+ touches water at the same
+ level.
+ Stone: lava flows down onto
+ water. Works on any water,
+ oceans included.
+ Basalt: lava flows onto soul
+ soil next to blue ice.
value: "Type: [type]"
required_min_level:
name: "Minimum Island Level"
@@ -1055,7 +1064,10 @@ stone-generator:
no-generators-in-world: "There are no available generators for you in [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Something went wrong while withdrawing money."
- max-height-less-than-min: "Maximum height ([MAX]) cannot be less than minimum height ([MIN])!"
+ # Error message that is displayed when the new minimum height of a block is above its maximum height.
+ min-height-greater-than-max: "Minimum height ([min]) cannot be greater than maximum height ([max])!"
+ # Error message that is displayed when the new maximum height of a block is below its minimum height.
+ max-height-less-than-min: "Maximum height ([max]) cannot be less than minimum height ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
diff --git a/src/main/resources/locales/es.yml b/src/main/resources/locales/es.yml
index 0c33533..51e4410 100644
--- a/src/main/resources/locales/es.yml
+++ b/src/main/resources/locales/es.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: Exportar la base de datos de generadores mágicos desde el modo de juego a un archivo
+ reset:
+ parameters: ""
+ description: "restablece los datos de generadores de la isla de un jugador"
+ confirmation: "Esto restablecerá los datos de generadores de [player] (generadores desbloqueados, comprados y activos) - por favor confirma"
player:
main:
description: Comando del jugador principal que abre la GUI con la selección del generador
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "Generadores"
- view-generator: "Generador: [generador]"
+ view-generator: "[generator]"
admin-panel: "Panel de administración"
select-biome: "Seleccionar biomas"
select-block: "Seleccionar bloque"
select-bundle: "Seleccionar paquete"
select-type: "Seleccione el tipo de generador"
- view-bundle: 'Paquete : [paquete]'
+ view-bundle: "[bundle]"
manage-bundles: "Gestionar paquetes"
manage-generators: "Gestionar generadores"
- view-island: "Isla: [isla]"
+ view-island: "[island]"
manage-islands: "Administrar datos de la isla"
library: "Biblioteca"
settings: "Configuración"
configure-material-height: "Configurar Altura del Material"
height-range-config: 'Rango de altura: [material]'
+ select-generator: "Seleccionar generadores"
buttons:
default:
name: Generador predeterminado
@@ -68,9 +73,19 @@ stone-generator:
type:
name: Tipo de generador
description: |-
- Define qué tipo de generador
- se aplicará a la corriente
- generador.
+ Define qué mecánica de lava
+ de Minecraft activa este
+ generador.
+
+ Adoquines: un chorro de lava toca
+ agua al mismo nivel.
+
+ Piedra: la lava cae sobre el agua.
+ Funciona en cualquier agua,
+ incluidos los océanos.
+
+ Basalto: la lava cae sobre tierra de
+ almas junto a hielo azul.
value: "Tipo: [tipo]"
required_min_level:
name: Nivel de isla requerido
@@ -709,6 +724,37 @@ stone-generator:
disabled: El uso del banco está desactivado .
enabled: El uso del banco está activado .
name: Usar banco
+ accept_generator:
+ name: "Aceptar los generadores"
+ description: |-
+ Acepta los generadores
+ seleccionados y vuelve.
+ selected-generators: "Generadores seleccionados:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Activar al desbloquear"
+ description: |-
+ Si está activado, este
+ generador se activa
+ automáticamente al
+ desbloquearse.
+ enabled: "Este generador se activa al desbloquearse."
+ disabled: "Este generador no se activa al desbloquearse."
+ add_custom_block:
+ name: "Añadir bloque personalizado"
+ description: |-
+ Añade un bloque de
+ ItemsAdder, CraftEngine,
+ Oraxen o Nexo por su ID.
+ required_generators:
+ name: "Generadores requeridos"
+ description: |-
+ Generadores que deben estar
+ desbloqueados antes de que
+ este esté disponible.
+ list: "Generadores requeridos:"
+ value: "- [generator]"
+ none: "- ninguno"
tips:
click-to-previous: "Haga clic en para ver la página anterior."
click-to-next: "Haga clic en para ver la página siguiente."
@@ -765,12 +811,13 @@ stone-generator:
descriptions:
generator:
lore: |-
- [descripción]
- [bloques]
- [tesoros]
- [escribe]
- [requisitos]
- [estado]
+ [description]
+ [blocks]
+ [treasures]
+ [type]
+ [height-range]
+ [requirements]
+ [status]
blocks:
title: "loques :"
value: "[material] - [#. ##]%"
@@ -779,15 +826,22 @@ stone-generator:
value: "[material] - [#. ####]%"
requirements:
description: |-
- [biomas]
- [nivel]
- [permisos faltantes]
+ [biomes]
+ [level]
+ [phase]
+ [block-count]
+ [required-generators]
+ [missing-permissions]
level: "Nivel requerido: [número]"
permission-title: "Permisos faltantes:"
permission: "- [permiso]"
biome-title: "Opera en:"
biome: "[bioma]"
any: "Opera en todos biomas"
+ phase: "Fase requerida: [name]"
+ block-count: "Bloques rotos requeridos: [number]"
+ required-generators-title: "Generadores requeridos:"
+ required-generator: " -[generator]"
status:
locked: "Bloqueado!"
undeployed: "¡No implementado!"
@@ -831,6 +885,7 @@ stone-generator:
generator-exhausted: El generador '[generator]' ha alcanzado su límite de generación y ahora está en enfriamiento durante [number] minuto(s) más.
no-credits-bank: Tu cuenta bancaria no tiene suficientes créditos para activar el generador. La activación requiere [number] créditos.
no-credits-buy-bank: Tu cuenta bancaria no tiene suficientes créditos. Este generador cuesta [number] créditos.
+ generator-data-reset: "Los datos de generadores de [player] se han restablecido."
errors:
no-generator-data: "No se pudieron encontrar datos de generador válidos"
no-island-data: "No se encuentran los datos de la isla."
@@ -842,7 +897,7 @@ stone-generator:
file-exist: "El archivo `[archivo]` ya existe. Elija un nombre diferente."
generator-tier-not-found: "Generador con id '[generador]' no encontrado en [modo de juego]."
no-generators-in-world: "No se pudo encontrar ningún generador en [mundo]"
- max-height-less-than-min: "¡La altura máxima ([MAX]) no puede ser menor que la altura mínima ([MIN])!"
+ max-height-less-than-min: "¡La altura máxima ([max]) no puede ser menor que la altura mínima ([min])!"
could-not-remove-money: Algo salió mal al retirar el dinero.
conversations:
confirm-string: verdadero, encendido, sí, confirmar, y, válido, correcto
@@ -881,6 +936,10 @@ stone-generator:
click-text-to-activate: "¡Has desbloqueado [generador] ! Haga clic aquí para activarlo ahora."
input-min-height: "Introduce la altura mínima para este material (entre -64 y 320):"
input-max-height: "Introduce la altura máxima para este material (entre -64 y 320):"
+ confirm-generator-purchase: "Confirma que quieres comprar [generator] por [number]."
+ input-custom-block: "Escribe en el chat el ID del bloque personalizado, con el prefijo de su plugin: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' o 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' no es un ID de bloque personalizado válido. Usa 'itemsadder:', 'craftengine:', 'oraxen:' o 'nexo:' seguido del ID del bloque."
+ custom-block-not-found: "No se encontró el bloque personalizado '[block]'. Comprueba que el plugin esté instalado y que el ID sea correcto."
materials:
cobblestone: Guijarro
stone:
diff --git a/src/main/resources/locales/fr.yml b/src/main/resources/locales/fr.yml
index b060f6f..3a85bf9 100644
--- a/src/main/resources/locales/fr.yml
+++ b/src/main/resources/locales/fr.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: Exporter la base de données du générateur magique a partir du mode jeu dans un fichier
+ reset:
+ parameters: ""
+ description: "réinitialise les données de générateurs de l'île d'un joueur"
+ confirmation: "Cela réinitialisera les données de générateurs de [player] (générateurs débloqués, achetés et actifs) - merci de confirmer"
player:
main:
description: Commande du joueur principal qui ouvre l'interface graphique avec la sélection du générateur
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "Générateur"
- view-generator: "Générateur : [generator]"
+ view-generator: "[generator]"
admin-panel: "Menu Administrateur"
select-biome: "Sélectionnez Biomes"
select-block: "Sélectionnez block"
select-bundle: "Sélectionnez le Bundle"
select-type: "Sélectionnez le type de générateur"
- view-bundle: "Bundle: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "Gérer Bundles"
manage-generators: "Gérer les générateurs"
- view-island: "Île : [island]"
+ view-island: "[island]"
manage-islands: "Gérer les données des îles"
library: "Bibliothèque"
settings: "Paramètres"
configure-material-height: Configurer la hauteur du matériau
height-range-config: 'Plage de hauteur : [material]'
+ select-generator: "Sélectionner des générateurs"
buttons:
default:
name: Générateur par défaut
@@ -66,8 +71,19 @@ stone-generator:
type:
name: Type de générateur
description: |-
- Définit le type de générateur
- qui sera appliqué à l'actuelle Générateur.
+ Définit quelle mécanique de
+ lave déclenche ce
+ générateur.
+
+ Pavé: un courant de lave touche
+ de l'eau au même niveau.
+
+ Pierre: la lave coule sur de l'eau.
+ Fonctionne sur toute eau,
+ océans compris.
+
+ Basalte: la lave coule sur du sol des
+ âmes près de glace bleue.
value: "Type: [type]"
required_min_level:
name: Niveau d'île requis
@@ -653,6 +669,36 @@ stone-generator:
disabled: L'utilisation de la banque est désactivée .
enabled: L'utilisation de la banque est activée .
name: Utiliser la banque
+ accept_generator:
+ name: "Accepter les générateurs"
+ description: |-
+ Accepte les générateurs
+ sélectionnés et revient.
+ selected-generators: "Générateurs sélectionnés :"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Activer au déblocage"
+ description: |-
+ Si activé, ce générateur
+ est activé automatiquement
+ dès qu'il est débloqué.
+ enabled: "Ce générateur s'active au déblocage."
+ disabled: "Ce générateur ne s'active pas au déblocage."
+ add_custom_block:
+ name: "Ajouter un bloc personnalisé"
+ description: |-
+ Ajoutez un bloc issu de
+ ItemsAdder, CraftEngine,
+ Oraxen ou Nexo via son ID.
+ required_generators:
+ name: "Générateurs requis"
+ description: |-
+ Générateurs qui doivent être
+ débloqués avant que celui-ci
+ ne devienne disponible.
+ list: "Générateurs requis :"
+ value: "- [generator]"
+ none: "- aucun"
tips:
click-to-previous: "& e Cliquez sur & 7 pour afficher la page précédente."
click-to-next: "& e Cliquez sur & 7 pour afficher la page suivante."
@@ -709,12 +755,13 @@ stone-generator:
descriptions:
generator:
lore: |-
- [la description]
- [blocs]
- [trésors]
- [taper]
- [exigences]
- [statut]
+ [description]
+ [blocks]
+ [treasures]
+ [type]
+ [height-range]
+ [requirements]
+ [status]
blocks:
title: "& 7 & l Blocs:"
value: "& 8 [matériau] - [#. ##]%"
@@ -724,14 +771,21 @@ stone-generator:
requirements:
description: |-
[biomes]
- [niveau]
- [permissions-manquantes]
+ [level]
+ [phase]
+ [block-count]
+ [required-generators]
+ [missing-permissions]
level: "& c & l Niveau requis: & r & c [nombre]"
permission-title: "& c & l Permissions manquantes:"
permission: "& c - [permission]"
biome-title: "& 7 & l Fonctionne dans:"
biome: "& 8 [biome]"
any: "& 7 & l Fonctionne dans les biomes & e & o all & r & 7 & l"
+ phase: "Phase requise: [name]"
+ block-count: "Blocs cassés requis: [number]"
+ required-generators-title: "Générateurs requis:"
+ required-generator: " -[generator]"
status:
locked: "& c verrouillé!"
undeployed: "& c non déployé!"
@@ -775,6 +829,7 @@ stone-generator:
generator-exhausted: Le générateur '[generator]' a atteint sa limite de génération et est maintenant en recharge pendant [number] minute(s) supplémentaire(s).
no-credits-bank: Votre compte bancaire n'a pas assez de crédits pour activer le générateur. L'activation nécessite [number] crédits.
no-credits-buy-bank: Votre compte bancaire n'a pas assez de crédits. Ce générateur coûte [number] crédits.
+ generator-data-reset: "Les données de générateurs de [player] ont été réinitialisées."
errors:
no-generator-data: "& c Impossible de trouver des données de générateur valides"
no-island-data: "& c Les données de l'îlot sont introuvables."
@@ -787,7 +842,7 @@ stone-generator:
generator-tier-not-found: "& c Générateur avec l'ID '[generator]' & r & c introuvable dans [gamemode]."
no-generators-in-world: "& c Impossible de trouver un générateur dans [monde]"
could-not-remove-money: Une erreur est survenue lors du retrait de l'argent.
- max-height-less-than-min: La hauteur maximale ([MAX]) ne peut pas être inférieure à la hauteur minimale ([MIN]) !
+ max-height-less-than-min: La hauteur maximale ([max]) ne peut pas être inférieure à la hauteur minimale ([min]) !
conversations:
confirm-string: vrai, allumé, oui, confirmer, y, valide, correct
deny-string: faux, désactivé, non, refuser, n, invalide, incorrect
@@ -825,6 +880,10 @@ stone-generator:
click-text-to-activate: "Vous avez déverrouillé [generator]! Cliquez ici pour l'activer maintenant."
input-max-height: Entrez la hauteur maximale pour ce matériau (entre -64 et 320) :
input-min-height: Entrez la hauteur minimale pour ce matériau (entre -64 et 320) :
+ confirm-generator-purchase: "Merci de confirmer que vous voulez acheter [generator] pour [number]."
+ input-custom-block: "Entrez dans le chat l'identifiant du bloc personnalisé, préfixé par son plugin : 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' ou 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' n'est pas un identifiant de bloc personnalisé valide. Utilisez 'itemsadder:', 'craftengine:', 'oraxen:' ou 'nexo:' suivi de l'identifiant du bloc."
+ custom-block-not-found: "Le bloc personnalisé '[block]' est introuvable. Vérifiez que le plugin est installé et que l'identifiant est correct."
materials:
cobblestone: Cobblestone
stone:
diff --git a/src/main/resources/locales/hr.yml b/src/main/resources/locales/hr.yml
index 2acee8f..c6972f4 100644
--- a/src/main/resources/locales/hr.yml
+++ b/src/main/resources/locales/hr.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Izvezi čarobne generatore baze podataka iz režima igre u datoteku"
+ reset:
+ parameters: ""
+ description: "resetira podatke o generatorima na otoku igrača"
+ confirmation: "Ovo će resetirati podatke o generatorima igrača [player] (otključani, kupljeni i aktivni generatori) - molimo potvrdite"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generatori"
# Title for detailed generator view.
- view-generator: "Generator: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Admin Panel"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Odaberi Tip Generatora"
# Title for detailed bundle view.
- view-bundle: "Paket: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Upravljaj Paketima"
# Title for managing generators GUI.
manage-generators: "Upravljaj Generatorima"
# Title for editing island data.
- view-island: "Otok: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Upravljaj Podacima Otoka"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Konfiguriraj Visinu Materijala"
# Title for Height Range Configuration GUI
height-range-config: "Raspon Visine: [material]"
+ select-generator: "Odaberite generatore"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,18 @@ stone-generator:
type:
name: "Tip Generatora"
description: |-
- Određuje koji tip generatora
- će se primijeniti na trenutni
- generator.
+ Određuje koja mehanika lave
+ aktivira ovaj generator.
+
+ Kamenjarke: mlaz lave dodirne vodu
+ na istoj razini.
+
+ Kamen: lava teče prema dolje na
+ vodu. Radi na svakoj vodi,
+ uključujući oceane.
+
+ Bazalt: lava teče na tlo duša
+ pokraj plavog leda.
value: "Tip: [type]"
required_min_level:
name: "Minimalna Razina Otoka"
@@ -795,6 +809,36 @@ stone-generator:
name: "Bilo Koji"
description: |-
Radi s bilo kojim generatorom.
+ accept_generator:
+ name: "Prihvati generatore"
+ description: |-
+ Prihvaća odabrane generatore
+ i vraća se natrag.
+ selected-generators: "Odabrani generatori:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Aktiviraj pri otključavanju"
+ description: |-
+ Kada je uključeno, ovaj se
+ generator aktivira automatski
+ čim se otključa.
+ enabled: "Ovaj generator aktivira se pri otključavanju."
+ disabled: "Ovaj generator ne aktivira se pri otključavanju."
+ add_custom_block:
+ name: "Dodaj prilagođeni blok"
+ description: |-
+ Dodajte prilagođeni blok iz
+ ItemsAdder, CraftEngine,
+ Oraxen ili Nexo prema ID-u.
+ required_generators:
+ name: "Potrebni generatori"
+ description: |-
+ Generatori koji moraju biti
+ otključani prije nego što ovaj
+ postane dostupan.
+ list: "Potrebni generatori:"
+ value: "- [generator]"
+ none: "- nema"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Klikni da vidiš prethodnu stranicu."
@@ -887,6 +931,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Obavezna Razina: [number]"
@@ -900,6 +947,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Radi u svim biomima"
+ phase: "Potrebna faza: [name]"
+ block-count: "Potreban broj razbijenih blokova: [number]"
+ required-generators-title: "Potrebni generatori:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -978,6 +1029,7 @@ stone-generator:
import-count: "Uvezeni [generator] novi generatori i [bundle] novi paketi."
# Message that appears after clicking on download button in web library.
start-downloading: "Počinjem preuzimati biblioteku."
+ generator-data-reset: "Podaci o generatorima igrača [player] su resetirani."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1002,7 +1054,7 @@ stone-generator:
no-generators-in-world: "Nema dostupnih generatora za tebe u [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Nešto je pošlo po zlu tijekom povlačenja novca."
- max-height-less-than-min: "Maksimalna visina ([MAX]) ne može biti manja od minimalne visine ([MIN])!"
+ max-height-less-than-min: "Maksimalna visina ([max]) ne može biti manja od minimalne visine ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1075,6 +1127,10 @@ stone-generator:
click-text-to-activate: "Otključao si [generator]! Klikni ovdje da ga sada aktiviraš."
input-min-height: "Unesi minimalnu visinu za ovaj materijal (između -64 i 320):"
input-max-height: "Unesi maksimalnu visinu za ovaj materijal (između -64 i 320):"
+ confirm-generator-purchase: "Potvrdite da želite kupiti [generator] za [number]."
+ input-custom-block: "Upišite u chat ID prilagođenog bloka s prefiksom njegovog plugina: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' ili 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' nije valjan ID prilagođenog bloka. Koristite 'itemsadder:', 'craftengine:', 'oraxen:' ili 'nexo:' iza čega slijedi ID bloka."
+ custom-block-not-found: "Prilagođeni blok '[block]' nije pronađen. Provjerite je li plugin instaliran i je li ID točan."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/hu.yml b/src/main/resources/locales/hu.yml
index 52e6f3b..7df0891 100644
--- a/src/main/resources/locales/hu.yml
+++ b/src/main/resources/locales/hu.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Magic generátorok adatbázisának exportálása játékmódból fájlba"
+ reset:
+ parameters: ""
+ description: "visszaállítja egy játékos szigetének generátoradatait"
+ confirmation: "Ez visszaállítja [player] generátoradatait (feloldott, megvásárolt és aktív generátorok) - kérlek erősítsd meg"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generátorok"
# Title for detailed generator view.
- view-generator: "Generátor: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Admin Panel"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Generátor típusának kiválasztása"
# Title for detailed bundle view.
- view-bundle: "Csomag: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Csomagok kezelése"
# Title for managing generators GUI.
manage-generators: "Generátorok kezelése"
# Title for editing island data.
- view-island: "Sziget: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Sziget adatok kezelése"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Anyag magasságának konfigurálása"
# Title for Height Range Configuration GUI
height-range-config: "Magasság tartomány: [material]"
+ select-generator: "Generátorok kiválasztása"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "Generátor típusa"
description: |-
- Meghatározza, hogy melyik
- generátor típus kerül
- alkalmazásra.
+ Meghatározza, melyik láva-
+ mechanika aktiválja ezt a
+ generátort.
+
+ Kőtörmelékkő: lávafolyam vizet ér
+ azonos szinten.
+
+ Kő: a láva vízre folyik le.
+ Bármilyen vízen működik,
+ az óceánokat is beleértve.
+
+ Bazalt: a láva lélekföldre folyik
+ kék jég mellett.
value: "Típus: [type]"
required_min_level:
name: "Minimális sziget szint"
@@ -799,6 +814,36 @@ stone-generator:
name: "Bármelyik"
description: |-
Bármelyik generátorral működik.
+ accept_generator:
+ name: "Generátorok elfogadása"
+ description: |-
+ Elfogadja a kiválasztott
+ generátorokat és visszatér.
+ selected-generators: "Kiválasztott generátorok:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Aktiválás feloldáskor"
+ description: |-
+ Ha be van kapcsolva, ez a
+ generátor automatikusan
+ aktiválódik feloldáskor.
+ enabled: "Ez a generátor feloldáskor aktiválódik."
+ disabled: "Ez a generátor nem aktiválódik feloldáskor."
+ add_custom_block:
+ name: "Egyedi blokk hozzáadása"
+ description: |-
+ Adj hozzá egyedi blokkot az
+ ItemsAdder, CraftEngine,
+ Oraxen vagy Nexo pluginból.
+ required_generators:
+ name: "Szükséges generátorok"
+ description: |-
+ Generátorok, amelyeket fel
+ kell oldani, mielőtt ez
+ elérhetővé válik.
+ list: "Szükséges generátorok:"
+ value: "- [generator]"
+ none: "- nincs"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Kattintson az előző oldal megtekintéséhez."
@@ -891,6 +936,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Szükséges szint: [number]"
@@ -904,6 +952,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Működik a minden biómban"
+ phase: "Szükséges fázis: [name]"
+ block-count: "Szükséges kibányászott blokkok: [number]"
+ required-generators-title: "Szükséges generátorok:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -983,6 +1035,7 @@ stone-generator:
import-count: "[generator] új generátor és [bundle] új csomag importálva."
# Message that appears after clicking on download button in web library.
start-downloading: "Könyvtár letöltésének megkezdése."
+ generator-data-reset: "A következő játékos generátoradatai visszaálltak: [player]."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1007,7 +1060,7 @@ stone-generator:
no-generators-in-world: "Nincsenek rendelkezésre álló generátorok számodra a(z) [world] világban"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Valami hiba történt a pénz kivonásakor."
- max-height-less-than-min: "A maximális magasság ([MAX]) nem lehet kisebb, mint a minimális magasság ([MIN])!"
+ max-height-less-than-min: "A maximális magasság ([max]) nem lehet kisebb, mint a minimális magasság ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1080,6 +1133,10 @@ stone-generator:
click-text-to-activate: "Feloldottad [generator]! Kattints ide, hogy most aktiválhasd."
input-min-height: "Adja meg az anyag minimális magasságát (-64 és 320 között):"
input-max-height: "Adja meg az anyag maximális magasságát (-64 és 320 között):"
+ confirm-generator-purchase: "Erősítsd meg, hogy meg akarod venni: [generator] ennyiért: [number]."
+ input-custom-block: "Írd be a chatbe az egyedi blokk azonosítóját a plugin előtagjával: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' vagy 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' nem érvényes egyedi blokkazonosító. Használd az 'itemsadder:', 'craftengine:', 'oraxen:' vagy 'nexo:' előtagot, majd a blokk azonosítóját."
+ custom-block-not-found: "A(z) '[block]' egyedi blokk nem található. Ellenőrizd, hogy a plugin telepítve van-e és az azonosító helyes-e."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/id.yml b/src/main/resources/locales/id.yml
index d821307..77b8ecd 100644
--- a/src/main/resources/locales/id.yml
+++ b/src/main/resources/locales/id.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Ekspor magic generators database dari Game Mode ke file"
+ reset:
+ parameters: ""
+ description: "mengatur ulang data generator pulau pemain"
+ confirmation: "Ini akan mengatur ulang data generator [player] (generator yang terbuka, dibeli, dan aktif) - mohon konfirmasi"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generator"
# Title for detailed generator view.
- view-generator: "Generator: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Panel Admin"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Pilih Tipe Generator"
# Title for detailed bundle view.
- view-bundle: "Paket: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Kelola Paket"
# Title for managing generators GUI.
manage-generators: "Kelola Generator"
# Title for editing island data.
- view-island: "Pulau: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Kelola Data Pulau"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Konfigurasi Tinggi Material"
# Title for Height Range Configuration GUI
height-range-config: "Rentang Tinggi: [material]"
+ select-generator: "Pilih generator"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "Tipe Generator"
description: |-
- Menentukan tipe generator
- yang akan diterapkan ke
- generator saat ini.
+ Menentukan mekanika lava
+ vanilla mana yang memicu
+ generator ini.
+
+ Batu Bulat: aliran lava menyentuh air
+ pada ketinggian yang sama.
+
+ Batu: lava mengalir turun ke air.
+ Berlaku di semua air,
+ termasuk lautan.
+
+ Basalt: lava mengalir ke tanah jiwa
+ di samping es biru.
value: "Tipe: [type]"
required_min_level:
name: "Level Pulau Minimum"
@@ -798,6 +813,36 @@ stone-generator:
name: "Apa Pun"
description: |-
Bekerja dengan generator apa pun.
+ accept_generator:
+ name: "Terima generator"
+ description: |-
+ Menerima generator yang
+ dipilih dan kembali.
+ selected-generators: "Generator terpilih:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Aktifkan saat terbuka"
+ description: |-
+ Jika aktif, generator ini
+ langsung diaktifkan
+ begitu terbuka.
+ enabled: "Generator ini aktif saat terbuka."
+ disabled: "Generator ini tidak aktif saat terbuka."
+ add_custom_block:
+ name: "Tambah blok kustom"
+ description: |-
+ Tambahkan blok kustom dari
+ ItemsAdder, CraftEngine,
+ Oraxen atau Nexo lewat ID.
+ required_generators:
+ name: "Generator yang dibutuhkan"
+ description: |-
+ Generator yang harus dibuka
+ sebelum generator ini
+ tersedia.
+ list: "Generator yang dibutuhkan:"
+ value: "- [generator]"
+ none: "- tidak ada"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Klik untuk melihat halaman sebelumnya."
@@ -890,6 +935,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Level Diperlukan: [number]"
@@ -903,6 +951,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Beroperasi di semua biome"
+ phase: "Fase yang dibutuhkan: [name]"
+ block-count: "Blok dihancurkan yang dibutuhkan: [number]"
+ required-generators-title: "Generator yang dibutuhkan:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -981,6 +1033,7 @@ stone-generator:
import-count: "Diimpor [generator] generator baru dan [bundle] paket baru."
# Message that appears after clicking on download button in web library.
start-downloading: "Mulai mengunduh pustaka."
+ generator-data-reset: "Data generator milik [player] telah diatur ulang."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1005,7 +1058,7 @@ stone-generator:
no-generators-in-world: "Tidak ada generator yang tersedia untuk Anda di [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Sesuatu salah saat menarik uang."
- max-height-less-than-min: "Tinggi maksimum ([MAX]) tidak dapat kurang dari tinggi minimum ([MIN])!"
+ max-height-less-than-min: "Tinggi maksimum ([max]) tidak dapat kurang dari tinggi minimum ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1078,6 +1131,10 @@ stone-generator:
click-text-to-activate: "Anda telah membuka [generator]! Klik di sini untuk mengaktifkannya sekarang."
input-min-height: "Masukkan tinggi minimum untuk material ini (antara -64 dan 320):"
input-max-height: "Masukkan tinggi maksimum untuk material ini (antara -64 dan 320):"
+ confirm-generator-purchase: "Mohon konfirmasi bahwa kamu ingin membeli [generator] seharga [number]."
+ input-custom-block: "Ketik ID blok kustom di chat, diawali nama pluginnya: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' atau 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' bukan ID blok kustom yang valid. Gunakan 'itemsadder:', 'craftengine:', 'oraxen:' atau 'nexo:' diikuti ID blok."
+ custom-block-not-found: "Blok kustom '[block]' tidak ditemukan. Pastikan plugin sudah terpasang dan ID-nya benar."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/it.yml b/src/main/resources/locales/it.yml
index 8f547c8..e02e9da 100644
--- a/src/main/resources/locales/it.yml
+++ b/src/main/resources/locales/it.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Esporta generatori magici dal database della Game Mode in un file"
+ reset:
+ parameters: ""
+ description: "reimposta i dati dei generatori dell'isola di un giocatore"
+ confirmation: "Questo reimposterà i dati dei generatori di [player] (generatori sbloccati, acquistati e attivi) - conferma per favore"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generatori"
# Title for detailed generator view.
- view-generator: "Generatore: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Pannello di Amministrazione"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Seleziona Tipo di Generatore"
# Title for detailed bundle view.
- view-bundle: "Bundle: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Gestisci Bundle"
# Title for managing generators GUI.
manage-generators: "Gestisci Generatori"
# Title for editing island data.
- view-island: "Isola: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Gestisci Dati Isola"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Configura Altezza Materiale"
# Title for Height Range Configuration GUI
height-range-config: "Intervallo di Altezza: [material]"
+ select-generator: "Seleziona generatori"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "Tipo di Generatore"
description: |-
- Definisce quale tipo di generatore
- verrà applicato al generatore
- attuale.
+ Definisce quale meccanica
+ della lava attiva questo
+ generatore.
+
+ Pietrisco: un flusso di lava tocca
+ acqua allo stesso livello.
+
+ Pietra: la lava scorre sull'acqua.
+ Funziona su qualsiasi acqua,
+ oceani compresi.
+
+ Basalto: la lava scorre su terra
+ d'anime vicino a ghiaccio blu.
value: "Tipo: [type]"
required_min_level:
name: "Livello Isola Minimo"
@@ -794,6 +809,36 @@ stone-generator:
name: "Qualsiasi"
description: |-
Funziona con qualsiasi generatore.
+ accept_generator:
+ name: "Accetta i generatori"
+ description: |-
+ Accetta i generatori
+ selezionati e torna indietro.
+ selected-generators: "Generatori selezionati:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Attiva allo sblocco"
+ description: |-
+ Se attivo, questo generatore
+ viene attivato automaticamente
+ appena viene sbloccato.
+ enabled: "Questo generatore si attiva allo sblocco."
+ disabled: "Questo generatore non si attiva allo sblocco."
+ add_custom_block:
+ name: "Aggiungi blocco personalizzato"
+ description: |-
+ Aggiungi un blocco da
+ ItemsAdder, CraftEngine,
+ Oraxen o Nexo tramite ID.
+ required_generators:
+ name: "Generatori richiesti"
+ description: |-
+ Generatori che devono essere
+ sbloccati prima che questo
+ diventi disponibile.
+ list: "Generatori richiesti:"
+ value: "- [generator]"
+ none: "- nessuno"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Fai clic per visualizzare la pagina precedente."
@@ -886,6 +931,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Livello Richiesto: [number]"
@@ -899,6 +947,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Opera in tutti i biomi"
+ phase: "Fase richiesta: [name]"
+ block-count: "Blocchi rotti richiesti: [number]"
+ required-generators-title: "Generatori richiesti:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -977,6 +1029,7 @@ stone-generator:
import-count: "Importati [generator] nuovi generatori e [bundle] nuovi bundle."
# Message that appears after clicking on download button in web library.
start-downloading: "Inizio download della libreria."
+ generator-data-reset: "I dati dei generatori di [player] sono stati reimpostati."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1001,7 +1054,7 @@ stone-generator:
no-generators-in-world: "Non ci sono generatori disponibili per te in [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Qualcosa è andato storto durante il prelievo di denaro."
- max-height-less-than-min: "L'altezza massima ([MAX]) non può essere inferiore all'altezza minima ([MIN])!"
+ max-height-less-than-min: "L'altezza massima ([max]) non può essere inferiore all'altezza minima ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1074,6 +1127,10 @@ stone-generator:
click-text-to-activate: "Hai sbloccato [generator]! Fai clic qui per attivarlo ora."
input-min-height: "Inserisci l'altezza minima per questo materiale (tra -64 e 320):"
input-max-height: "Inserisci l'altezza massima per questo materiale (tra -64 e 320):"
+ confirm-generator-purchase: "Conferma che vuoi acquistare [generator] per [number]."
+ input-custom-block: "Scrivi in chat l'ID del blocco personalizzato, preceduto dal suo plugin: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' o 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' non è un ID di blocco personalizzato valido. Usa 'itemsadder:', 'craftengine:', 'oraxen:' o 'nexo:' seguito dall'ID del blocco."
+ custom-block-not-found: "Blocco personalizzato '[block]' non trovato. Controlla che il plugin sia installato e che l'ID sia corretto."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/ja.yml b/src/main/resources/locales/ja.yml
index a20b094..c59c5ad 100644
--- a/src/main/resources/locales/ja.yml
+++ b/src/main/resources/locales/ja.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "魔法生成機データベースをゲームモードからファイルにエクスポート"
+ reset:
+ parameters: ""
+ description: "プレイヤーの島の生成機データをリセットします"
+ confirmation: "[player] の生成機データ(解除済み・購入済み・有効な生成機)をリセットします - 確認してください"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "生成機"
# Title for detailed generator view.
- view-generator: "生成機: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "管理者パネル"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "生成機タイプを選択"
# Title for detailed bundle view.
- view-bundle: "バンドル: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "バンドルを管理"
# Title for managing generators GUI.
manage-generators: "生成機を管理"
# Title for editing island data.
- view-island: "島: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "島のデータを管理"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "マテリアルの高さを設定"
# Title for Height Range Configuration GUI
height-range-config: "高さの範囲: [material]"
+ select-generator: "生成機を選択"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "生成機タイプ"
description: |-
- 現在の生成機に
- 適用される生成機タイプを
- 定義します。
+ どのバニラの溶岩の仕組みで
+ この生成機が動作する
+ かを指定します。
+
+ コブルストーン: 溶岩の流れが同じ高さの
+ 水に触れたとき。
+
+ 石: 溶岩が水の上に流れ落ちた
+ とき。海を含むあらゆる水で
+ 動作します。
+
+ 玄武岩: 溶岩がソウルソイルに流れ、
+ 隣に青氷があるとき。
value: "タイプ: [type]"
required_min_level:
name: "最小島レベル"
@@ -786,6 +801,36 @@ stone-generator:
name: "任意"
description: |-
すべての生成機で動作します。
+ accept_generator:
+ name: "生成機を確定"
+ description: |-
+ 選択した生成機を
+ 確定して戻ります。
+ selected-generators: "選択中の生成機:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "解除時に有効化"
+ description: |-
+ 有効にすると、この
+ 生成機は解除された
+ 時点で自動的に有効化されます。
+ enabled: "この生成機は 解除時に有効化されます。"
+ disabled: "この生成機は 解除時に有効化されません。"
+ add_custom_block:
+ name: "カスタムブロックを追加"
+ description: |-
+ ItemsAdder、CraftEngine、
+ Oraxen、Nexo のブロックを
+ IDで追加します。
+ required_generators:
+ name: "必要な生成機"
+ description: |-
+ この生成機が使えるよう
+ になる前に解除しておく必要が
+ ある生成機です。
+ list: "必要な生成機:"
+ value: "- [generator]"
+ none: "- なし"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "クリック して前のページを表示。"
@@ -878,6 +923,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "必要なレベル: [number]"
@@ -891,6 +939,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "すべての バイオームで動作"
+ phase: "必要なフェーズ: [name]"
+ block-count: "必要な破壊ブロック数: [number]"
+ required-generators-title: "必要な生成機:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -969,6 +1021,7 @@ stone-generator:
import-count: "[generator] 個の新しい生成機と [bundle] 個の新しいバンドルをインポート。"
# Message that appears after clicking on download button in web library.
start-downloading: "ライブラリのダウンロードを開始。"
+ generator-data-reset: "プレイヤー [player] の生成機データをリセットしました。"
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -993,7 +1046,7 @@ stone-generator:
no-generators-in-world: " [world] に利用可能な生成機がありません"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "お金を引き出す際に問題が発生しました。"
- max-height-less-than-min: "最大高さ ([MAX]) は最小高さ ([MIN]) より小さくすることはできません!"
+ max-height-less-than-min: "最大高さ ([max]) は最小高さ ([min]) より小さくすることはできません!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1066,6 +1119,10 @@ stone-generator:
click-text-to-activate: "アンロック済み [generator]! ここをクリックして今すぐアクティベート。"
input-min-height: "このマテリアルの最小高さを入力してください (-64 から 320 の間):"
input-max-height: "このマテリアルの最大高さを入力してください (-64 から 320 の間):"
+ confirm-generator-purchase: "次の生成機を購入しますか: [generator] 価格: [number]"
+ input-custom-block: "カスタムブロックのIDをチャットに入力してください。プラグインの接頭辞が必要です: 'itemsadder:namespace:id'、'craftengine:namespace:id'、'oraxen:id'、'nexo:id'。"
+ custom-block-invalid-prefix: "'[block]' は有効なカスタムブロックIDではありません。'itemsadder:'、'craftengine:'、'oraxen:'、'nexo:' のいずれかに続けてブロックIDを指定してください。"
+ custom-block-not-found: "カスタムブロック '[block]' が見つかりません。プラグインが導入されていること、IDが正しいことを確認してください。"
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/ko.yml b/src/main/resources/locales/ko.yml
index 825dfbf..87cdd70 100644
--- a/src/main/resources/locales/ko.yml
+++ b/src/main/resources/locales/ko.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "게임 모드에서 매직 생성기 데이터베이스 내보내기"
+ reset:
+ parameters: ""
+ description: "플레이어 섬의 생성기 데이터를 초기화합니다"
+ confirmation: "[player] 님의 생성기 데이터(해금, 구매, 활성 생성기)를 초기화합니다 - 확인해 주세요"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "생성기"
# Title for detailed generator view.
- view-generator: "생성기: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "관리자 패널"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "생성기 유형 선택"
# Title for detailed bundle view.
- view-bundle: "번들: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "번들 관리"
# Title for managing generators GUI.
manage-generators: "생성기 관리"
# Title for editing island data.
- view-island: "섬: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "섬 데이터 관리"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "재료 높이 설정"
# Title for Height Range Configuration GUI
height-range-config: "높이 범위: [material]"
+ select-generator: "생성기 선택"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "생성기 유형"
description: |-
- 현재 생성기에
- 적용될 생성기 유형을
- 정의합니다.
+ 어떤 바닐라 용암 방식이
+ 이 생성기를 작동시키는지
+ 정합니다.
+
+ 조약돌: 용암 줄기가 같은 높이의
+ 물에 닿을 때.
+
+ 돌: 용암이 물 위로 흘러내릴 때.
+ 바다를 포함한 모든 물에서
+ 작동합니다.
+
+ 현무암: 용암이 영혼 흙 위로 흐르고
+ 옆에 푸른 얼음이 있을 때.
value: "유형: [type]"
required_min_level:
name: "최소 섬 레벨"
@@ -781,6 +796,36 @@ stone-generator:
name: "모두"
description: |-
모든 생성기에서 작동합니다.
+ accept_generator:
+ name: "생성기 확정"
+ description: |-
+ 선택한 생성기를 확정하고
+ 돌아갑니다.
+ selected-generators: "선택한 생성기:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "해금 시 활성화"
+ description: |-
+ 켜면 이 생성기는 해금되는
+ 즉시 자동으로
+ 활성화됩니다.
+ enabled: "이 생성기는 해금 시 활성화됩니다."
+ disabled: "이 생성기는 해금 시 활성화되지 않습니다."
+ add_custom_block:
+ name: "커스텀 블록 추가"
+ description: |-
+ ItemsAdder, CraftEngine,
+ Oraxen 또는 Nexo 블록을
+ ID로 추가합니다.
+ required_generators:
+ name: "필요한 생성기"
+ description: |-
+ 이 생성기를 사용하려면
+ 먼저 해금해야 하는
+ 생성기입니다.
+ list: "필요한 생성기:"
+ value: "- [generator]"
+ none: "- 없음"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "클릭 이전 페이지를 봅니다."
@@ -874,6 +919,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "필수 레벨: [number]"
@@ -887,6 +935,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "모든 바이옴에서 작동"
+ phase: "필요한 단계: [name]"
+ block-count: "필요한 파괴 블록 수: [number]"
+ required-generators-title: "필요한 생성기:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -965,6 +1017,7 @@ stone-generator:
import-count: "[generator]개의 새로운 생성기와 [bundle]개의 새로운 번들을 가져왔습니다."
# Message that appears after clicking on download button in web library.
start-downloading: "라이브러리 다운로드를 시작합니다."
+ generator-data-reset: "플레이어 [player] 의 생성기 데이터가 초기화되었습니다."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -989,7 +1042,7 @@ stone-generator:
no-generators-in-world: "[world]에서 사용 가능한 생성기가 없습니다"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "돈을 인출하는 중 문제가 발생했습니다."
- max-height-less-than-min: "최대 높이([MAX])는 최소 높이([MIN])보다 작을 수 없습니다!"
+ max-height-less-than-min: "최대 높이([max])는 최소 높이([min])보다 작을 수 없습니다!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1062,6 +1115,10 @@ stone-generator:
click-text-to-activate: "잠금이 해제되었습니다 [generator]! 지금 활성화하려면 여기를 클릭하세요."
input-min-height: "이 재료의 최소 높이를 입력하세요 (-64에서 320 사이):"
input-max-height: "이 재료의 최대 높이를 입력하세요 (-64에서 320 사이):"
+ confirm-generator-purchase: "구매하시겠습니까: [generator] 가격: [number]"
+ input-custom-block: "커스텀 블록 ID를 채팅에 입력하세요. 플러그인 접두사가 필요합니다: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' 또는 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' 은(는) 올바른 커스텀 블록 ID가 아닙니다. 'itemsadder:', 'craftengine:', 'oraxen:' 또는 'nexo:' 뒤에 블록 ID를 입력하세요."
+ custom-block-not-found: "커스텀 블록 '[block]' 을(를) 찾을 수 없습니다. 플러그인이 설치되어 있고 ID가 올바른지 확인하세요."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/lv.yml b/src/main/resources/locales/lv.yml
index 2a19b95..c53360e 100644
--- a/src/main/resources/locales/lv.yml
+++ b/src/main/resources/locales/lv.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Eksportē burvju ģeneratorus no Spēles režīma faila"
+ reset:
+ parameters: ""
+ description: "atiestata spēlētāja salas ģeneratoru datus"
+ confirmation: "Tas atiestatīs [player] ģeneratoru datus (atslēgtos, nopirktos un aktīvos ģeneratorus) - lūdzu, apstipriniet"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Ģeneratori"
# Title for detailed generator view.
- view-generator: "Ģenerators: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Administratora Panelis"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Izvēlieties Ģeneratora Veidu"
# Title for detailed bundle view.
- view-bundle: "Komplekts: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Pārvaldīt Komplektus"
# Title for managing generators GUI.
manage-generators: "Pārvaldīt Ģeneratorus"
# Title for editing island data.
- view-island: "Sala: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Pārvaldīt Salas Datus"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Konfigurēt Materiāla Augstumu"
# Title for Height Range Configuration GUI
height-range-config: "Augstuma Diapazons: [material]"
+ select-generator: "Izvēlieties ģeneratorus"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "Ģeneratora Veids"
description: |-
- Nosaka, kurš ģeneratora veids
- tiks pielietots pašreizējam
- ģeneratoram.
+ Nosaka, kurš lavas
+ mehānisms aktivizē šo
+ ģeneratoru.
+
+ Bruģakmens: lavas straume saskaras ar
+ ūdeni vienā līmenī.
+
+ Akmens: lava plūst lejup uz ūdens.
+ Darbojas jebkurā ūdenī,
+ tostarp okeānos.
+
+ Bazalts: lava plūst uz dvēseļu augsnes
+ blakus zilajam ledum.
value: "Veids: [type]"
required_min_level:
name: "Minimālais Salas Līmenis"
@@ -802,6 +817,36 @@ stone-generator:
name: "Jebkurš"
description: |-
Darbojas ar jebkuru ģeneratoru.
+ accept_generator:
+ name: "Apstiprināt ģeneratorus"
+ description: |-
+ Apstiprina izvēlētos
+ ģeneratorus un atgriežas.
+ selected-generators: "Izvēlētie ģeneratori:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Aktivizēt pēc atslēgšanas"
+ description: |-
+ Ja ieslēgts, šis ģenerators
+ tiek aktivizēts automātiski,
+ tiklīdz tas ir atslēgts.
+ enabled: "Šis ģenerators tiek aktivizēts pēc atslēgšanas."
+ disabled: "Šis ģenerators netiek aktivizēts pēc atslēgšanas."
+ add_custom_block:
+ name: "Pievienot pielāgotu bloku"
+ description: |-
+ Pievienojiet bloku no
+ ItemsAdder, CraftEngine,
+ Oraxen vai Nexo pēc ID.
+ required_generators:
+ name: "Nepieciešamie ģeneratori"
+ description: |-
+ Ģeneratori, kas jāatslēdz,
+ pirms šis ģenerators kļūst
+ pieejams.
+ list: "Nepieciešamie ģeneratori:"
+ value: "- [generator]"
+ none: "- nav"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Noklikšķiniet lai redzētu iepriekšējo lapu."
@@ -894,6 +939,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Nepieciešamais Līmenis: [number]"
@@ -907,6 +955,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Darbojas visos bioumos"
+ phase: "Nepieciešamā fāze: [name]"
+ block-count: "Nepieciešamie sasistie bloki: [number]"
+ required-generators-title: "Nepieciešamie ģeneratori:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -985,6 +1037,7 @@ stone-generator:
import-count: "Importēti [generator] jauni ģeneratori un [bundle] jauni komplekti."
# Message that appears after clicking on download button in web library.
start-downloading: "Sākt bibliotēkas lejupielādi."
+ generator-data-reset: "Spēlētāja [player] ģeneratoru dati ir atiestatīti."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1009,7 +1062,7 @@ stone-generator:
no-generators-in-world: "Jums nav pieejamu ģeneratoru [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Kaut kas notika nepareizi naudas izņemšanas laikā."
- max-height-less-than-min: "Maksimālais augstums ([MAX]) nevar būt mazāks par minimālo augstumu ([MIN])!"
+ max-height-less-than-min: "Maksimālais augstums ([max]) nevar būt mazāks par minimālo augstumu ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1082,6 +1135,10 @@ stone-generator:
click-text-to-activate: "Jūs atbloķējāt [generator]! Noklikšķiniet šeit, lai to tagad aktivizētu."
input-min-height: "Ievadiet minimālo augstumu šim materiālam (starp -64 un 320):"
input-max-height: "Ievadiet maksimālo augstumu šim materiālam (starp -64 un 320):"
+ confirm-generator-purchase: "Lūdzu, apstipriniet, ka vēlaties nopirkt [generator] par [number]."
+ input-custom-block: "Ievadiet čatā pielāgotā bloka ID ar tā spraudņa priedēkli: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' vai 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' nav derīgs pielāgotā bloka ID. Izmantojiet 'itemsadder:', 'craftengine:', 'oraxen:' vai 'nexo:', kam seko bloka ID."
+ custom-block-not-found: "Pielāgotais bloks '[block]' netika atrasts. Pārbaudiet, vai spraudnis ir uzstādīts un ID ir pareizs."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/nl.yml b/src/main/resources/locales/nl.yml
index 0d5f1a2..ad2fb2c 100644
--- a/src/main/resources/locales/nl.yml
+++ b/src/main/resources/locales/nl.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Exporteert magic generators database van Game Mode naar bestand"
+ reset:
+ parameters: ""
+ description: "zet de generatorgegevens van het eiland van een speler terug"
+ confirmation: "Hiermee worden de generatorgegevens van [player] gewist (ontgrendelde, gekochte en actieve generatoren) - bevestig alsjeblieft"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generators"
# Title for detailed generator view.
- view-generator: "Generator: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Admin Panel"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Selecteer Generatortype"
# Title for detailed bundle view.
- view-bundle: "Bundel: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Bundels Beheren"
# Title for managing generators GUI.
manage-generators: "Generators Beheren"
# Title for editing island data.
- view-island: "Eiland: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Eilandgegevens Beheren"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Materiaalhougte Configureren"
# Title for Height Range Configuration GUI
height-range-config: "Hoogtebereik: [material]"
+ select-generator: "Generatoren selecteren"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,18 @@ stone-generator:
type:
name: "Generatortype"
description: |-
- Defines which generator type
- will be applied tot the current
- generator.
+ Bepaalt welk lava-mechanisme
+ deze generator activeert.
+
+ Cobblestone: een lavastroom raakt water
+ op dezelfde hoogte.
+
+ Steen: lava stroomt omlaag op water.
+ Werkt op elk water,
+ oceanen inbegrepen.
+
+ Basalt: lava stroomt op zielenaarde
+ naast blauw ijs.
value: "Type: [type]"
required_min_level:
name: "Minimumeiiandniveau"
@@ -798,6 +812,37 @@ stone-generator:
name: "Alle"
description: |-
Werkt met elke generator.
+ accept_generator:
+ name: "Generatoren accepteren"
+ description: |-
+ Accepteert de geselecteerde
+ generatoren en keert terug.
+ selected-generators: "Geselecteerde generatoren:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Activeren bij ontgrendelen"
+ description: |-
+ Indien aan wordt deze
+ generator automatisch
+ geactiveerd zodra hij
+ ontgrendeld is.
+ enabled: "Deze generator wordt geactiveerd bij ontgrendelen."
+ disabled: "Deze generator wordt niet geactiveerd bij ontgrendelen."
+ add_custom_block:
+ name: "Aangepast blok toevoegen"
+ description: |-
+ Voeg een blok toe uit
+ ItemsAdder, CraftEngine,
+ Oraxen of Nexo via de ID.
+ required_generators:
+ name: "Vereiste generatoren"
+ description: |-
+ Generatoren die ontgrendeld
+ moeten zijn voordat deze
+ beschikbaar wordt.
+ list: "Vereiste generatoren:"
+ value: "- [generator]"
+ none: "- geen"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Klik to view previous pagina."
@@ -890,6 +935,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Vereist Niveau: [number]"
@@ -903,6 +951,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Werkt in all biomes"
+ phase: "Vereiste fase: [name]"
+ block-count: "Vereiste gebroken blokken: [number]"
+ required-generators-title: "Vereiste generatoren:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -981,6 +1033,7 @@ stone-generator:
import-count: "Ingevoerd [generator] nieuwe generators en [bundle] nieuwe bundels."
# Message that appears after clicking on download button in web library.
start-downloading: "Begin met downloaden van bibliotheek."
+ generator-data-reset: "De generatorgegevens van [player] zijn gewist."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1005,7 +1058,7 @@ stone-generator:
no-generators-in-world: "Er zijn geen beschikbare generators voor u in [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Er is iets misgegaan bij het storten van geld."
- max-height-less-than-min: "Maximale hoogte ([MAX]) kan niet minder zijn dan minimale hoogte ([MIN])!"
+ max-height-less-than-min: "Maximale hoogte ([max]) kan niet minder zijn dan minimale hoogte ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1078,6 +1131,10 @@ stone-generator:
click-text-to-activate: "U hebt ontgrendeld [generator]! Klik here tot activate it now."
input-min-height: "Voer de minimale hoogte voor dit materiaal in (tussen -64 en 320):"
input-max-height: "Voer de maximale hoogte voor dit materiaal in (tussen -64 en 320):"
+ confirm-generator-purchase: "Bevestig dat je [generator] wilt kopen voor [number]."
+ input-custom-block: "Typ de ID van het aangepaste blok in de chat, met het plugin-voorvoegsel: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' of 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' is geen geldige ID voor een aangepast blok. Gebruik 'itemsadder:', 'craftengine:', 'oraxen:' of 'nexo:' gevolgd door de blok-ID."
+ custom-block-not-found: "Aangepast blok '[block]' is niet gevonden. Controleer of de plugin is geïnstalleerd en de ID klopt."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/pl.yml b/src/main/resources/locales/pl.yml
index 5583545..8e633a9 100644
--- a/src/main/resources/locales/pl.yml
+++ b/src/main/resources/locales/pl.yml
@@ -18,6 +18,10 @@ stone-generator:
confirmation: Spowoduje to usunięcie istniejących generatorów dla [gamemode] i zaimportowanie generatorów z pliku bazy danych - proszę potwierdzić
description: importuje plik bazy danych magicznych generatorów
parameters:
+ reset:
+ parameters: ""
+ description: "resetuje dane generatorów na wyspie gracza"
+ confirmation: "To zresetuje dane generatorów gracza [player] (odblokowane, kupione i aktywne generatory) - potwierdź"
player:
main:
description: Główna komenda gracza, która otwiera GUI z wyborem generatora
@@ -94,7 +98,20 @@ stone-generator:
value: 'Priorytet: [number]'
type:
name: Typ generatora
- description: "Określa, który typ generatora\nzostanie zastosowany do obecnego\ngeneratora."
+ description: |-
+ Określa, który mechanizm
+ lawy uruchamia ten
+ generator.
+
+ Bruk: strumień lawy dotyka wody
+ na tym samym poziomie.
+
+ Kamień: lawa spływa na wodę.
+ Działa na każdej wodzie,
+ łącznie z oceanami.
+
+ Bazalt: lawa spływa na glebę dusz
+ obok błękitnego lodu.
value: 'Typ: [type]'
required_min_level:
name: Wymagany poziom wyspy
@@ -442,6 +459,36 @@ stone-generator:
description: "Odległość od graczy, do której\ngenerowanie bloków się zatrzyma.\n0 i mniej oznacza bez limitu.\nUstawienie wymaga ponownego\nuruchomienia serwera, aby zadziałać."
name: Domyślny zasięg działania
value: 'Zasięg: [number]'
+ accept_generator:
+ name: "Zatwierdź generatory"
+ description: |-
+ Zatwierdza wybrane generatory
+ i wraca.
+ selected-generators: "Wybrane generatory:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Aktywuj po odblokowaniu"
+ description: |-
+ Gdy włączone, ten generator
+ jest aktywowany automatycznie
+ zaraz po odblokowaniu.
+ enabled: "Ten generator aktywuje się po odblokowaniu."
+ disabled: "Ten generator nie aktywuje się po odblokowaniu."
+ add_custom_block:
+ name: "Dodaj własny blok"
+ description: |-
+ Dodaj własny blok z
+ ItemsAdder, CraftEngine,
+ Oraxen lub Nexo po ID.
+ required_generators:
+ name: "Wymagane generatory"
+ description: |-
+ Generatory, które muszą być
+ odblokowane, zanim ten
+ stanie się dostępny.
+ list: "Wymagane generatory:"
+ value: "- [generator]"
+ none: "- brak"
descriptions:
generator-active: "Aktywuj"
activation-cost: 'Koszt aktywacji: [number]'
@@ -463,15 +510,32 @@ stone-generator:
title: Bloki:
value: [material] - [#.##]%
height-range: 'Działa na wysokościach: [min_height] do [max_height]'
- lore: "[description]\n[blocks]\n[treasures]\n[type]\n[height-range]\n[requirements]\n[status]"
+ lore: |-
+ [description]
+ [blocks]
+ [treasures]
+ [type]
+ [height-range]
+ [requirements]
+ [status]
requirements:
any: Działa we wszystkich biomach
biome: [biome]
biome-title: Działa w:
- description: "[biomes]\n[level]\n[missing-permissions]"
+ description: |-
+ [biomes]
+ [level]
+ [phase]
+ [block-count]
+ [required-generators]
+ [missing-permissions]
level: 'Wymagany poziom: [number]'
permission: -[permission]
permission-title: Brakujące uprawnienia:
+ phase: "Wymagana faza: [name]"
+ block-count: "Wymagane zniszczone bloki: [number]"
+ required-generators-title: "Wymagane generatory:"
+ required-generator: " -[generator]"
status:
activation-cost: 'Koszt aktywacji: $[number]'
active: Aktywny
@@ -508,9 +572,10 @@ stone-generator:
select-bundle: Wybierz zestaw
select-type: Wybierz typ generatora
settings: Ustawienia
- view-bundle: 'Zestaw: [bundle]'
- view-generator: 'Generator: [generator]'
- view-island: 'Wyspa: [island]'
+ view-bundle: "[bundle]"
+ view-generator: "[generator]"
+ view-island: "[island]"
+ select-generator: "Wybierz generatory"
tips:
click-gold-to-purchase: "Kliknij na złoty blok,\naby kupić."
click-on-item: "Kliknij na przedmiot ze swojego\nekwipunku."
@@ -583,6 +648,7 @@ stone-generator:
no-credits-buy: Za mało kredytów, aby kupić generator. Ten generator kosztuje [number] kredytów.
no-credits-buy-bank: Twoje konto bankowe nie ma wystarczającej liczby kredytów. Ten generator kosztuje [number] kredytów.
start-downloading: Rozpoczęto pobieranie biblioteki.
+ generator-data-reset: "Dane generatorów gracza [player] zostały zresetowane."
errors:
generator-tier-not-found: "Generator o id '[generator]' nie został znaleziony w [gamemode]."
no-file: "Brak pliku generatorTemplate.yml. Nie można zaimportować."
@@ -598,7 +664,7 @@ stone-generator:
no-generators-in-world: "Nie można znaleźć żadnego generatora w świecie [world]"
could-not-remove-money: Coś poszło nie tak podczas pobierania pieniędzy.
file-exist: Plik `[file]` już istnieje. Wybierz inną nazwę.
- max-height-less-than-min: Maksymalna wysokość ([MAX]) nie może być mniejsza niż minimalna wysokość ([MIN])!
+ max-height-less-than-min: Maksymalna wysokość ([max]) nie może być mniejsza niż minimalna wysokość ([min])!
no-bundle-data: Nie znaleziono prawidłowych danych zestawu
no-island-data: Nie znaleziono danych wyspy.
no-library-entries: Nie znaleziono żadnego wpisu w bibliotece!
@@ -644,6 +710,10 @@ stone-generator:
write-name: Wprowadź nową nazwę na czacie.
write-permissions: Wprowadź wymagane uprawnienia, po jednym w linii na czacie, a następnie 'quit' w osobnej linii, aby zakończyć.
write-search: Wpisz wartość wyszukiwania. (wpisz 'cancel', aby wyjść)
+ confirm-generator-purchase: "Potwierdź, że chcesz kupić [generator] za [number]."
+ input-custom-block: "Wpisz na czacie ID własnego bloku z prefiksem jego pluginu: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' lub 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' nie jest prawidłowym ID własnego bloku. Użyj 'itemsadder:', 'craftengine:', 'oraxen:' lub 'nexo:', a po nim ID bloku."
+ custom-block-not-found: "Nie znaleziono własnego bloku '[block]'. Sprawdź, czy plugin jest zainstalowany i czy ID jest poprawne."
materials:
cobblestone: Bruk
stone:
diff --git a/src/main/resources/locales/pt-BR.yml b/src/main/resources/locales/pt-BR.yml
index efb32af..e774ac8 100644
--- a/src/main/resources/locales/pt-BR.yml
+++ b/src/main/resources/locales/pt-BR.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Exporta geradores mágicos do banco de dados do Game Mode para arquivo"
+ reset:
+ parameters: ""
+ description: "redefine os dados de geradores da ilha de um jogador"
+ confirmation: "Isso vai redefinir os dados de geradores de [player] (geradores desbloqueados, comprados e ativos) - confirme por favor"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Geradores"
# Title for detailed generator view.
- view-generator: "Gerador: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Painel de Admin"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Selecionar Tipo de Gerador"
# Title for detailed bundle view.
- view-bundle: "Pacote: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Gerenciar Pacotes"
# Title for managing generators GUI.
manage-generators: "Gerenciar Geradores"
# Title for editing island data.
- view-island: "Ilha: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Gerenciar Dados da Ilha"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Configurar Altura do Material"
# Title for Height Range Configuration GUI
height-range-config: "Faixa de Altura: [material]"
+ select-generator: "Selecionar geradores"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,18 @@ stone-generator:
type:
name: "Tipo de Gerador"
description: |-
- Define qual tipo de gerador
- será aplicado ao gerador
- atual.
+ Define qual mecânica de lava
+ do jogo ativa este gerador.
+
+ Pedregulho: um fluxo de lava toca água
+ no mesmo nível.
+
+ Pedra: a lava escorre sobre a água.
+ Funciona em qualquer água,
+ incluindo oceanos.
+
+ Basalto: a lava escorre sobre solo
+ das almas perto de gelo azul.
value: "Tipo: [type]"
required_min_level:
name: "Nível Mínimo da Ilha"
@@ -797,6 +811,36 @@ stone-generator:
name: "Qualquer Um"
description: |-
Funciona com qualquer gerador.
+ accept_generator:
+ name: "Aceitar os geradores"
+ description: |-
+ Aceita os geradores
+ selecionados e volta.
+ selected-generators: "Geradores selecionados:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Ativar ao desbloquear"
+ description: |-
+ Quando ligado, este gerador
+ é ativado automaticamente
+ assim que for desbloqueado.
+ enabled: "Este gerador é ativado ao ser desbloqueado."
+ disabled: "Este gerador não é ativado ao ser desbloqueado."
+ add_custom_block:
+ name: "Adicionar bloco personalizado"
+ description: |-
+ Adicione um bloco do
+ ItemsAdder, CraftEngine,
+ Oraxen ou Nexo pelo ID.
+ required_generators:
+ name: "Geradores necessários"
+ description: |-
+ Geradores que precisam estar
+ desbloqueados antes deste
+ ficar disponível.
+ list: "Geradores necessários:"
+ value: "- [generator]"
+ none: "- nenhum"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Clique para ver a página anterior."
@@ -889,6 +933,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Nível Requerido: [number]"
@@ -902,6 +949,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Funciona em todos os biomas"
+ phase: "Fase necessária: [name]"
+ block-count: "Blocos quebrados necessários: [number]"
+ required-generators-title: "Geradores necessários:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -980,6 +1031,7 @@ stone-generator:
import-count: "Importados [generator] novos geradores e [bundle] novos pacotes."
# Message that appears after clicking on download button in web library.
start-downloading: "Começando download da biblioteca."
+ generator-data-reset: "Os dados de geradores de [player] foram redefinidos."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1004,7 +1056,7 @@ stone-generator:
no-generators-in-world: "Não há geradores disponíveis para você em [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Algo deu errado ao sacar dinheiro."
- max-height-less-than-min: "A altura máxima ([MAX]) não pode ser menor que a altura mínima ([MIN])!"
+ max-height-less-than-min: "A altura máxima ([max]) não pode ser menor que a altura mínima ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1077,6 +1129,10 @@ stone-generator:
click-text-to-activate: "Você desbloqueou [generator]! Clique aqui para ativar agora."
input-min-height: "Insira a altura mínima para este material (entre -64 e 320):"
input-max-height: "Insira a altura máxima para este material (entre -64 e 320):"
+ confirm-generator-purchase: "Confirme que você quer comprar [generator] por [number]."
+ input-custom-block: "Digite no chat o ID do bloco personalizado, com o prefixo do plugin: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' ou 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' não é um ID de bloco personalizado válido. Use 'itemsadder:', 'craftengine:', 'oraxen:' ou 'nexo:' seguido do ID do bloco."
+ custom-block-not-found: "Bloco personalizado '[block]' não encontrado. Verifique se o plugin está instalado e se o ID está correto."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/pt.yml b/src/main/resources/locales/pt.yml
index 58eb5bb..2c8dff3 100644
--- a/src/main/resources/locales/pt.yml
+++ b/src/main/resources/locales/pt.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Exporta geradores mágicos de um Modo de Jogo para arquivo"
+ reset:
+ parameters: ""
+ description: "repõe os dados de geradores da ilha de um jogador"
+ confirmation: "Isto irá repor os dados de geradores de [player] (geradores desbloqueados, comprados e ativos) - confirme por favor"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Geradores"
# Title for detailed generator view.
- view-generator: "Gerador: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Painel de Administração"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Selecionar Tipo de Gerador"
# Title for detailed bundle view.
- view-bundle: "Pacote: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Gerir Pacotes"
# Title for managing generators GUI.
manage-generators: "Gerir Geradores"
# Title for editing island data.
- view-island: "Ilha: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Gerir Dados de Ilhas"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Configurar Altura do Material"
# Title for Height Range Configuration GUI
height-range-config: "Intervalo de Altura: [material]"
+ select-generator: "Selecionar geradores"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,18 @@ stone-generator:
type:
name: "Tipo de Gerador"
description: |-
- Define qual tipo de gerador
- será aplicado ao gerador
- atual.
+ Define qual mecânica de lava
+ do jogo ativa este gerador.
+
+ Pedra Ardósia: um fluxo de lava toca água
+ no mesmo nível.
+
+ Pedra: a lava escorre sobre a água.
+ Funciona em qualquer água,
+ incluindo oceanos.
+
+ Basalto: a lava escorre sobre solo
+ das almas perto de gelo azul.
value: "Tipo: [type]"
required_min_level:
name: "Nível Mínimo da Ilha"
@@ -797,6 +811,36 @@ stone-generator:
name: "Qualquer"
description: |-
Funciona com qualquer gerador.
+ accept_generator:
+ name: "Aceitar os geradores"
+ description: |-
+ Aceita os geradores
+ selecionados e regressa.
+ selected-generators: "Geradores selecionados:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Ativar ao desbloquear"
+ description: |-
+ Quando ligado, este gerador
+ é ativado automaticamente
+ assim que for desbloqueado.
+ enabled: "Este gerador é ativado ao ser desbloqueado."
+ disabled: "Este gerador não é ativado ao ser desbloqueado."
+ add_custom_block:
+ name: "Adicionar bloco personalizado"
+ description: |-
+ Adicione um bloco do
+ ItemsAdder, CraftEngine,
+ Oraxen ou Nexo pelo ID.
+ required_generators:
+ name: "Geradores necessários"
+ description: |-
+ Geradores que têm de estar
+ desbloqueados antes de este
+ ficar disponível.
+ list: "Geradores necessários:"
+ value: "- [generator]"
+ none: "- nenhum"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Clique para ver a página anterior."
@@ -889,6 +933,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Nível Obrigatório: [number]"
@@ -902,6 +949,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Opera em todos os biomas"
+ phase: "Fase necessária: [name]"
+ block-count: "Blocos partidos necessários: [number]"
+ required-generators-title: "Geradores necessários:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -980,6 +1031,7 @@ stone-generator:
import-count: "Importados [generator] novos geradores e [bundle] novos pacotes."
# Message that appears after clicking on download button in web library.
start-downloading: "Iniciando descarregamento de biblioteca."
+ generator-data-reset: "Os dados de geradores de [player] foram repostos."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1004,7 +1056,7 @@ stone-generator:
no-generators-in-world: "Não há geradores disponíveis para você em [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Algo deu errado ao retirar dinheiro."
- max-height-less-than-min: "A altura máxima ([MAX]) não pode ser menor que a altura mínima ([MIN])!"
+ max-height-less-than-min: "A altura máxima ([max]) não pode ser menor que a altura mínima ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1077,6 +1129,10 @@ stone-generator:
click-text-to-activate: "Você desbloqueou [generator]! Clique aqui para ativar agora."
input-min-height: "Insira a altura mínima para este material (entre -64 e 320):"
input-max-height: "Insira a altura máxima para este material (entre -64 e 320):"
+ confirm-generator-purchase: "Confirme que pretende comprar [generator] por [number]."
+ input-custom-block: "Escreva no chat o ID do bloco personalizado, com o prefixo do plugin: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' ou 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' não é um ID de bloco personalizado válido. Use 'itemsadder:', 'craftengine:', 'oraxen:' ou 'nexo:' seguido do ID do bloco."
+ custom-block-not-found: "Bloco personalizado '[block]' não encontrado. Verifique se o plugin está instalado e se o ID está correto."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/ro.yml b/src/main/resources/locales/ro.yml
index cf5c8c6..f40660c 100644
--- a/src/main/resources/locales/ro.yml
+++ b/src/main/resources/locales/ro.yml
@@ -20,6 +20,10 @@ stone-generator:
export:
parameters: ""
description: "Exportă baza de date generatoare magic din modul joc în fișier"
+ reset:
+ parameters: ""
+ description: "resetează datele generatoarelor de pe insula unui jucător"
+ confirmation: "Aceasta va reseta datele generatoarelor lui [player] (generatoare deblocate, cumpărate și active) - te rog confirmă"
# This section contains only player commands translations.
player:
main:
@@ -40,7 +44,7 @@ stone-generator:
# Title for listing all generators.
player-panel: "Generatoare"
# Title for detailed generator view.
- view-generator: "Generator: [generator]"
+ view-generator: "[generator]"
# Title for admin panel.
admin-panel: "Panou Admin"
# Title for GUI that allows to select biomes for generator.
@@ -52,13 +56,13 @@ stone-generator:
# Title for GUI that allows to choose generator type.
select-type: "Selectați Tipul de Generator"
# Title for detailed bundle view.
- view-bundle: "Pachet: [bundle]"
+ view-bundle: "[bundle]"
# Title for managing bundles GUI.
manage-bundles: "Administrare Pachete"
# Title for managing generators GUI.
manage-generators: "Administrare Generatoare"
# Title for editing island data.
- view-island: "Insulă: [island]"
+ view-island: "[island]"
# Title for managing all island data.
manage-islands: "Administrare Date Insulă"
# Title for Library GUI
@@ -69,6 +73,7 @@ stone-generator:
configure-material-height: "Configurați Înălțimea Materialului"
# Title for Height Range Configuration GUI
height-range-config: "Interval Înălțime: [material]"
+ select-generator: "Selectează generatoare"
# This section contains translations for all buttons inside GUI.
buttons:
# Section of buttons for Generator View GUI
@@ -110,9 +115,19 @@ stone-generator:
type:
name: "Tip Generator"
description: |-
- Defines which generator type
- will be applied la the current
- generator.
+ Stabilește ce mecanică a
+ lavei activează acest
+ generator.
+
+ Cobblestone: un curent de lavă atinge apa
+ la același nivel.
+
+ Piatră: lava curge peste apă.
+ Funcționează pe orice apă,
+ inclusiv oceane.
+
+ Bazalt: lava curge pe sol al
+ sufletelor lângă gheață albastră.
value: "Tip: [type]"
required_min_level:
name: "Nivel Insulă Minim"
@@ -798,6 +813,36 @@ stone-generator:
name: "Orice"
description: |-
Funcționează cu orice generator.
+ accept_generator:
+ name: "Acceptă generatoarele"
+ description: |-
+ Acceptă generatoarele
+ selectate și revine.
+ selected-generators: "Generatoare selectate:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Activare la deblocare"
+ description: |-
+ Când este pornit, acest
+ generator este activat automat
+ imediat ce este deblocat.
+ enabled: "Acest generator se activează la deblocare."
+ disabled: "Acest generator nu se activează la deblocare."
+ add_custom_block:
+ name: "Adaugă bloc personalizat"
+ description: |-
+ Adaugă un bloc din
+ ItemsAdder, CraftEngine,
+ Oraxen sau Nexo după ID.
+ required_generators:
+ name: "Generatoare necesare"
+ description: |-
+ Generatoare care trebuie
+ deblocate înainte ca acesta
+ să devină disponibil.
+ list: "Generatoare necesare:"
+ value: "- [generator]"
+ none: "- niciunul"
# This section contains translations for GUI button tips.
tips:
click-to-previous: "Click to view previous page."
@@ -890,6 +935,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
# Generates [level] message.
level: "Required Level: [number]"
@@ -903,6 +951,10 @@ stone-generator:
biome: "[biome]"
# Generates [biomes] message for All Biomes.
any: "Operates in all biomes"
+ phase: "Fază necesară: [name]"
+ block-count: "Blocuri sparte necesare: [number]"
+ required-generators-title: "Generatoare necesare:"
+ required-generator: " -[generator]"
# Generates [status] section
status:
# Message that is showed for Locked generators.
@@ -981,6 +1033,7 @@ stone-generator:
import-count: "Importat [generator] generatoare noi și [bundle] pachete noi."
# Message that appears after clicking on download button in web library.
start-downloading: "Începeți descărcarea bibliotecii."
+ generator-data-reset: "Datele generatoarelor lui [player] au fost resetate."
# This section contains translations for different error messages.
errors:
# Error message that is displayed when generator tier data is not find.
@@ -1005,7 +1058,7 @@ stone-generator:
no-generators-in-world: "Nu sunt generatoare disponibile pentru tine în [world]"
# Error message that is displayed when addon failed to withdraw money.
could-not-remove-money: "Ceva s-a întâmplat în timp ce se retragea bani."
- max-height-less-than-min: "Înălțimea maximă ([MAX]) nu poate fi mai mică decât înălțimea minimă ([MIN])!"
+ max-height-less-than-min: "Înălțimea maximă ([max]) nu poate fi mai mică decât înălțimea minimă ([min])!"
# Conversations are chat input between server and user.
# They are used to get some information that requires more than clicking on icon.
conversations:
@@ -1078,6 +1131,10 @@ stone-generator:
click-text-to-activate: "You have unlocked [generator]! Click here la activate it now."
input-min-height: "Introduceți înălțimea minimă pentru acest material (între -64 și 320):"
input-max-height: "Introduceți înălțimea maximă pentru acest material (între -64 și 320):"
+ confirm-generator-purchase: "Confirmă că vrei să cumperi [generator] pentru [number]."
+ input-custom-block: "Scrie în chat ID-ul blocului personalizat, precedat de pluginul său: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' sau 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' nu este un ID valid de bloc personalizat. Folosește 'itemsadder:', 'craftengine:', 'oraxen:' sau 'nexo:' urmat de ID-ul blocului."
+ custom-block-not-found: "Blocul personalizat '[block]' nu a fost găsit. Verifică dacă pluginul este instalat și dacă ID-ul este corect."
# Showcase for manual material translation
materials:
# Names should be lowercase.
diff --git a/src/main/resources/locales/ru.yml b/src/main/resources/locales/ru.yml
index ef9e3f5..718e624 100644
--- a/src/main/resources/locales/ru.yml
+++ b/src/main/resources/locales/ru.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: "<файл>"
description: Экспорт базы данных магических генераторов из игрового режима в файл
+ reset:
+ parameters: ""
+ description: "сбрасывает данные генераторов острова игрока"
+ confirmation: "Это сбросит данные генераторов игрока [player] (разблокированные, купленные и активные генераторы) - подтвердите"
player:
main:
description: открывает графический интерфейс выбора генератора
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "Генераторы"
- view-generator: "Генератор: [generator]"
+ view-generator: "[generator]"
admin-panel: "Панель администратора"
select-biome: "Выбрать биомы"
select-block: "Выбрать блок"
select-bundle: "Выбрать пакет"
select-type: "Выбор типа генератора"
- view-bundle: "Пакет: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "Управление пакетами"
manage-generators: "Управление генераторами"
- view-island: "Остров: [island]"
+ view-island: "[island]"
manage-islands: "Управление данными острова"
library: "Библиотека"
settings: "Настройки"
configure-material-height: Настройка высоты материала
height-range-config: 'Диапазон высот: [material]'
+ select-generator: "Выберите генераторы"
buttons:
default:
name: "Генератор по умолчанию"
@@ -67,9 +72,19 @@ stone-generator:
type:
name: "Тип генератора"
description: |-
- Определяет, какой тип генератора
- будет применяться к текущему
- генератор.
+ Определяет, какой ванильный
+ механизм лавы запускает
+ этот генератор.
+
+ Булыжник: поток лавы касается воды
+ на том же уровне.
+
+ Камень: лава стекает на воду.
+ Работает на любой воде,
+ включая океаны.
+
+ Базальт: лава стекает на почву душ
+ рядом с синим льдом.
value: "Тип: [type]"
required_min_level:
name: "Минимальный уровень острова"
@@ -697,6 +712,36 @@ stone-generator:
description: "Задать минимальную высоту\nдля этого материала."
name: Минимальная высота
value: 'Текущее значение: [min_height]'
+ accept_generator:
+ name: "Подтвердить генераторы"
+ description: |-
+ Подтверждает выбранные
+ генераторы и возвращает.
+ selected-generators: "Выбранные генераторы:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Активировать при разблокировке"
+ description: |-
+ Если включено, этот генератор
+ активируется автоматически
+ сразу после разблокировки.
+ enabled: "Этот генератор активируется при разблокировке."
+ disabled: "Этот генератор не активируется при разблокировке."
+ add_custom_block:
+ name: "Добавить свой блок"
+ description: |-
+ Добавьте блок из
+ ItemsAdder, CraftEngine,
+ Oraxen или Nexo по ID.
+ required_generators:
+ name: "Требуемые генераторы"
+ description: |-
+ Генераторы, которые нужно
+ разблокировать, прежде чем
+ станет доступен этот.
+ list: "Требуемые генераторы:"
+ value: "- [generator]"
+ none: "- нет"
tips:
click-to-previous: "Нажмите , чтобы просмотреть предыдущую страницу."
click-to-next: "Нажмите для просмотра следующей страницы."
@@ -757,6 +802,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -769,6 +815,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
level: "Требуемый уровень: [number]"
permission-title: "Отсутствующие разрешения:"
@@ -776,6 +825,10 @@ stone-generator:
biome-title: "Работает в:"
biome: "[biome]"
any: "Работает во всех биомах "
+ phase: "Требуемая фаза: [name]"
+ block-count: "Требуется сломано блоков: [number]"
+ required-generators-title: "Требуемые генераторы:"
+ required-generator: " -[generator]"
status:
locked: "Заблокировано!"
undeployed: "Не развернуто!"
@@ -819,6 +872,7 @@ stone-generator:
import-count: "Импортированы [generator] новые генераторы и [bundle] новые пакеты."
start-downloading: "Начать загрузку библиотеки."
generator-exhausted: Генератор '[generator]' достиг лимита генерации и теперь на перезарядке ещё [number] минут(ы).
+ generator-data-reset: "Данные генераторов игрока [player] сброшены."
errors:
no-generator-data: "Не удалось найти допустимые данные генератора"
no-island-data: "Данные острова не найдены."
@@ -831,7 +885,7 @@ stone-generator:
generator-tier-not-found: "Генератор с идентификатором '[generator]' не найден в [gamemode]."
no-generators-in-world: "В [world] для вас нет доступных генераторов"
could-not-remove-money: "Что-то пошло не так при выводе денег."
- max-height-less-than-min: Максимальная высота ([MAX]) не может быть меньше минимальной высоты ([MIN])!
+ max-height-less-than-min: Максимальная высота ([max]) не может быть меньше минимальной высоты ([min])!
conversations:
confirm-string: true, on, да, подтвердить, y, действительный, правильный
deny-string: false, выключено, нет, отрицать, n, недопустимо, неправильно
@@ -869,6 +923,10 @@ stone-generator:
click-text-to-activate: "Вы разблокировали [generator]! Нажмите здесь, чтобы активировать его сейчас."
input-max-height: Введите максимальную высоту для этого материала (от -64 до 320):
input-min-height: Введите минимальную высоту для этого материала (от -64 до 320):
+ confirm-generator-purchase: "Подтвердите, что хотите купить [generator] за [number]."
+ input-custom-block: "Введите в чат ID пользовательского блока с префиксом плагина: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' или 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' не является корректным ID пользовательского блока. Используйте 'itemsadder:', 'craftengine:', 'oraxen:' или 'nexo:', а затем ID блока."
+ custom-block-not-found: "Пользовательский блок '[block]' не найден. Проверьте, установлен ли плагин и правильный ли ID."
materials:
cobblestone: булыжник
stone:
diff --git a/src/main/resources/locales/tr.yml b/src/main/resources/locales/tr.yml
index bcb624f..2814cd9 100644
--- a/src/main/resources/locales/tr.yml
+++ b/src/main/resources/locales/tr.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: Sihir üreteçleri veritabanını Oyun Modundan dosyaya aktarın
+ reset:
+ parameters: ""
+ description: "bir oyuncunun ada jeneratör verilerini sıfırlar"
+ confirmation: "Bu işlem [player] oyuncusunun jeneratör verilerini sıfırlar (açılmış, satın alınmış ve etkin jeneratörler) - lütfen onaylayın"
player:
main:
description: jeneratör seçimi GUI'sini açar
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "Jeneratörler"
- view-generator: "Oluşturucu: [generator]"
+ view-generator: "[generator]"
admin-panel: "Yönetici Paneli"
select-biome: "Biyomları Seçin"
select-block: "Blok Seç"
select-bundle: "Paket Seç"
select-type: "Oluşturucu Türünü Seçin"
- view-bundle: "Paketi: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "Paketleri Yönet"
manage-generators: "Oluşturucuları Yönet"
- view-island: "Adası: [island]"
+ view-island: "[island]"
manage-islands: "Ada Verilerini Yönet"
library: "Kitaplık"
settings: "Ayarları"
configure-material-height: Materyal Yüksekliğini Yapılandır
height-range-config: 'Yükseklik Aralığı: [material]'
+ select-generator: "Jeneratörleri seç"
buttons:
default:
name: "Varsayılan Oluşturucu"
@@ -67,9 +72,19 @@ stone-generator:
type:
name: "Jeneratör Tipi"
description: |-
- Hangi jeneratör tipini tanımlar
- şu anki duruma uygulanacak
- jeneratör.
+ Bu jeneratörü hangi lav
+ mekaniğinin tetiklediğini
+ belirler.
+
+ Arnavut kaldırımı: bir lav akıntısı aynı
+ seviyedeki suya değer.
+
+ Taş: lav suyun üzerine akar.
+ Okyanuslar dahil her suda
+ çalışır.
+
+ Bazalt: lav, mavi buzun yanındaki
+ ruh toprağına akar.
value: "Tür: [bundle]"
required_min_level:
name: "Minimum Ada Seviyesi"
@@ -683,6 +698,36 @@ stone-generator:
description: "Bu materyal için minimum\nyüksekliği ayarla."
name: Minimum Yükseklik
value: 'Geçerli değer: [min_height]'
+ accept_generator:
+ name: "Jeneratörleri onayla"
+ description: |-
+ Seçilen jeneratörleri onaylar
+ ve geri döner.
+ selected-generators: "Seçilen jeneratörler:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Açılınca etkinleştir"
+ description: |-
+ Etkinse bu jeneratör
+ kilidi açılır açılmaz
+ otomatik olarak etkinleşir.
+ enabled: "Bu jeneratör kilidi açılınca etkinleşir."
+ disabled: "Bu jeneratör kilidi açılınca etkinleşmez."
+ add_custom_block:
+ name: "Özel blok ekle"
+ description: |-
+ ItemsAdder, CraftEngine,
+ Oraxen veya Nexo blokunu
+ kimliğiyle ekleyin.
+ required_generators:
+ name: "Gerekli jeneratörler"
+ description: |-
+ Bu jeneratör kullanılabilir
+ olmadan önce açılması gereken
+ jeneratörler.
+ list: "Gerekli jeneratörler:"
+ value: "- [generator]"
+ none: "- yok"
tips:
click-to-previous: "Önceki sayfayı görüntülemek için 'ye tıklayın."
click-to-next: "Sonraki sayfayı görüntülemek için 'ye tıklayın."
@@ -743,6 +788,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -755,13 +801,20 @@ stone-generator:
description: |-
[biomes]
[level]
- [missing-permission]
+ [phase]
+ [block-count]
+ [required-generators]
+ [missing-permissions]
level: "Gerekli Düzey: [number]"
permission-title: "Eksik İzinler:"
permission: "-[permission]"
biome-title: "Şurada çalışır:"
biome: "[biome]"
any: "tüm biyomlarında çalışır"
+ phase: "Gerekli aşama: [name]"
+ block-count: "Gerekli kırılan blok: [number]"
+ required-generators-title: "Gerekli jeneratörler:"
+ required-generator: " -[generator]"
status:
locked: "Kilitli!"
undeployed: "Dağıtılmadı!"
@@ -805,6 +858,7 @@ stone-generator:
import-count: "[generator] yeni oluşturucular ve [bundle] yeni paketler içe aktarıldı."
start-downloading: "Kitaplığı indirmeye başla."
generator-exhausted: Jeneratör '[generator]' üretim limitine ulaştı ve şimdi [number] dakika daha bekleme süresinde.
+ generator-data-reset: "Oyuncu [player] için jeneratör verileri sıfırlandı."
errors:
no-generator-data: "Geçerli bir oluşturucu verisi bulunamadı"
no-island-data: "Ada Verisi bulunamadı."
@@ -817,7 +871,7 @@ stone-generator:
generator-tier-not-found: "'[generator]' kimliğine sahip Jeneratör [gamemode]'da bulunamadı."
no-generators-in-world: "[world] içinde sizin için uygun jeneratör yok"
could-not-remove-money: "Para çekerken bir şeyler ters gitti."
- max-height-less-than-min: Maksimum yükseklik ([MAX]), minimum yükseklikten ([MIN]) küçük olamaz!
+ max-height-less-than-min: Maksimum yükseklik ([max]), minimum yükseklikten ([min]) küçük olamaz!
conversations:
confirm-string: doğru, açık, evet, onayla, y, geçerli, doğru
deny-string: yanlış, kapalı, hayır, reddet, n, geçersiz, yanlış
@@ -855,6 +909,10 @@ stone-generator:
click-text-to-activate: " [generator]'nin kilidini açtınız! Şimdi etkinleştirmek için buraya tıklayın."
input-max-height: Bu materyal için maksimum yüksekliği girin (-64 ile 320 arasında):
input-min-height: Bu materyal için minimum yüksekliği girin (-64 ile 320 arasında):
+ confirm-generator-purchase: "Satın almak istediğinizi onaylayın: [generator] fiyat: [number]"
+ input-custom-block: "Özel blok kimliğini sohbete yazın, eklenti önekiyle birlikte: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' veya 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' geçerli bir özel blok kimliği değil. 'itemsadder:', 'craftengine:', 'oraxen:' veya 'nexo:' önekinin ardından blok kimliğini yazın."
+ custom-block-not-found: "Özel blok '[block]' bulunamadı. Eklentinin kurulu olduğundan ve kimliğin doğru olduğundan emin olun."
materials:
cobblestone: Kırıktaş
stone:
diff --git a/src/main/resources/locales/uk.yml b/src/main/resources/locales/uk.yml
index 3863e5d..64d4a42 100644
--- a/src/main/resources/locales/uk.yml
+++ b/src/main/resources/locales/uk.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: Експортуйте базу даних генераторів магії з ігрового режиму у файл
+ reset:
+ parameters: ""
+ description: "скидає дані генераторів на острові гравця"
+ confirmation: "Це скине дані генераторів гравця [player] (розблоковані, куплені та активні генератори) - підтвердьте"
player:
main:
description: відкриває GUI вибору генератора
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "Генератори"
- view-generator: "Генератор: [generator]"
+ view-generator: "[generator]"
admin-panel: "Панель адміністратора"
select-biome: "Виберіть біоми"
select-block: "Виберіть Блок"
select-bundle: "Виберіть пакет"
select-type: "Виберіть тип генератора"
- view-bundle: "Комплект: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "Керувати пакетами"
manage-generators: "Керування генераторами"
- view-island: "Острів: [island]"
+ view-island: "[island]"
manage-islands: "Керування даними острова"
library: "Бібліотека"
settings: "Налаштування"
configure-material-height: Налаштування висоти матеріалу
height-range-config: 'Діапазон висот: [material]'
+ select-generator: "Виберіть генератори"
buttons:
default:
name: "Генератор за замовчуванням"
@@ -67,9 +72,19 @@ stone-generator:
type:
name: "Тип генератора"
description: |-
- Визначає тип генератора
- буде застосовано до поточного
- генератор.
+ Визначає, який ванільний
+ механізм лави запускає
+ цей генератор.
+
+ Кругляк: потік лави торкається води
+ на тому ж рівні.
+
+ Камінь: лава стікає на воду.
+ Працює на будь-якій воді,
+ включно з океанами.
+
+ Базальт: лава стікає на ґрунт душ
+ поруч із синім льодом.
value: "Тип: [type]"
required_min_level:
name: "Мінімальний рівень острова"
@@ -697,6 +712,36 @@ stone-generator:
description: "Задати мінімальну висоту\nдля цього матеріалу."
name: Мінімальна висота
value: 'Поточне значення: [min_height]'
+ accept_generator:
+ name: "Підтвердити генератори"
+ description: |-
+ Підтверджує вибрані
+ генератори та повертає.
+ selected-generators: "Вибрані генератори:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Активувати при розблокуванні"
+ description: |-
+ Якщо увімкнено, цей генератор
+ активується автоматично
+ одразу після розблокування.
+ enabled: "Цей генератор активується при розблокуванні."
+ disabled: "Цей генератор не активується при розблокуванні."
+ add_custom_block:
+ name: "Додати власний блок"
+ description: |-
+ Додайте блок з
+ ItemsAdder, CraftEngine,
+ Oraxen або Nexo за ID.
+ required_generators:
+ name: "Потрібні генератори"
+ description: |-
+ Генератори, які треба
+ розблокувати, перш ніж
+ стане доступним цей.
+ list: "Потрібні генератори:"
+ value: "- [generator]"
+ none: "- немає"
tips:
click-to-previous: "Натисніть , щоб переглянути попередню сторінку."
click-to-next: "Натисніть , щоб переглянути наступну сторінку."
@@ -757,6 +802,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -769,6 +815,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
level: "Необхідний рівень: [number]"
permission-title: "Відсутні дозволи:"
@@ -776,6 +825,10 @@ stone-generator:
biome-title: "Працює в:"
biome: "[biome]"
any: "Діє в всіх біомах"
+ phase: "Потрібна фаза: [name]"
+ block-count: "Потрібно зламано блоків: [number]"
+ required-generators-title: "Потрібні генератори:"
+ required-generator: " -[generator]"
status:
locked: "Заблоковано!"
undeployed: "Не розгорнуто!"
@@ -819,6 +872,7 @@ stone-generator:
import-count: "Імпортовано [generator] нові генератори та [bundle] нові пакети."
start-downloading: "Розпочати завантаження бібліотеки."
generator-exhausted: Генератор '[generator]' досяг ліміту генерації і тепер на перезарядці ще [number] хвилин(и).
+ generator-data-reset: "Дані генераторів гравця [player] скинуто."
errors:
no-generator-data: "Не вдалося знайти дійсні дані генератора"
no-island-data: "Данні острова не знайдено."
@@ -831,7 +885,7 @@ stone-generator:
generator-tier-not-found: "Генератор з ідентифікатором '[generator]' не знайдено в [gamemode]."
no-generators-in-world: "Для вас немає доступних генераторів у [world]"
could-not-remove-money: "Щось пішло не так під час зняття грошей."
- max-height-less-than-min: Максимальна висота ([MAX]) не може бути меншою за мінімальну висоту ([MIN])!
+ max-height-less-than-min: Максимальна висота ([max]) не може бути меншою за мінімальну висоту ([min])!
conversations:
confirm-string: true, on, yes, confirm, y, valid, correct
deny-string: false, off, no, deny, n, invalid, incorrect
@@ -869,6 +923,10 @@ stone-generator:
click-text-to-activate: "Ви розблокували [generator]! Натисніть тут, щоб активувати його зараз."
input-max-height: Введіть максимальну висоту для цього матеріалу (від -64 до 320):
input-min-height: Введіть мінімальну висоту для цього матеріалу (від -64 до 320):
+ confirm-generator-purchase: "Підтвердьте, що хочете купити [generator] за [number]."
+ input-custom-block: "Введіть у чат ID власного блоку з префіксом його плагіна: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' або 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' не є коректним ID власного блоку. Використайте 'itemsadder:', 'craftengine:', 'oraxen:' або 'nexo:', а після нього ID блоку."
+ custom-block-not-found: "Власний блок '[block]' не знайдено. Перевірте, чи встановлено плагін і чи правильний ID."
materials:
cobblestone: Кругляк
stone:
diff --git a/src/main/resources/locales/vi.yml b/src/main/resources/locales/vi.yml
index 0471b1e..8e4909e 100644
--- a/src/main/resources/locales/vi.yml
+++ b/src/main/resources/locales/vi.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: Xuất cơ sở dữ liệu trình Máy Tái Tạo Khối từ Chế độ trò chơi thành tệp
+ reset:
+ parameters: ""
+ description: "đặt lại dữ liệu trình tạo của đảo người chơi"
+ confirmation: "Thao tác này sẽ đặt lại dữ liệu trình tạo của [player] (đã mở khóa, đã mua và đang bật) - vui lòng xác nhận"
player:
main:
description: mở GUI lựa chọn trình tạo
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "Trình tạo"
- view-generator: "Trình tạo: [generator]"
+ view-generator: "[generator]"
admin-panel: "Bảng điều khiển của quản trị viên"
select-biome: "Chọn Quần xã sinh vật"
select-block: "Chọn Khối"
select-bundle: "Chọn gói"
select-type: "Chọn loại Trình tạo"
- view-bundle: "Gói: [gói]"
+ view-bundle: "[bundle]"
manage-bundles: "Quản lý gói"
manage-generators: "Quản lý Trình tạo"
- view-island: "Đảo: [island]"
+ view-island: "[island]"
manage-islands: "Quản lý dữ liệu đảo"
library: "Thư viện"
settings: "Cài đặt"
configure-material-height: Cấu Hình Độ Cao Vật Liệu
height-range-config: 'Khoảng Độ Cao: [material]'
+ select-generator: "Chọn trình tạo"
buttons:
default:
name: "Trình tạo mặc định"
@@ -67,9 +72,19 @@ stone-generator:
type:
name: "Loại Trình tạo"
description: |-
- Xác định loại trình tạo nào
- sẽ được áp dụng cho hiện tại
- máy phát điện.
+ Xác định cơ chế dung nham
+ nào kích hoạt trình tạo
+ này.
+
+ Đá cuội: dòng dung nham chạm nước
+ ở cùng độ cao.
+
+ Đá: dung nham chảy xuống nước.
+ Hoạt động với mọi vùng nước,
+ kể cả đại dương.
+
+ Bazan: dung nham chảy lên đất linh
+ hồn cạnh băng xanh.
value: "Loại: [type]"
required_min_level:
name: "Cấp đảo tối thiểu"
@@ -697,6 +712,36 @@ stone-generator:
description: "Đặt độ cao tối thiểu\ncho vật liệu này."
name: Độ Cao Tối Thiểu
value: 'Giá trị hiện tại: [min_height]'
+ accept_generator:
+ name: "Chấp nhận trình tạo"
+ description: |-
+ Chấp nhận các trình tạo
+ đã chọn và quay lại.
+ selected-generators: "Trình tạo đã chọn:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "Bật khi mở khóa"
+ description: |-
+ Khi bật, trình tạo này
+ sẽ tự động được kích hoạt
+ ngay khi mở khóa.
+ enabled: "Trình tạo này được bật khi mở khóa."
+ disabled: "Trình tạo này không được bật khi mở khóa."
+ add_custom_block:
+ name: "Thêm khối tùy chỉnh"
+ description: |-
+ Thêm khối từ ItemsAdder,
+ CraftEngine, Oraxen
+ hoặc Nexo bằng ID.
+ required_generators:
+ name: "Trình tạo bắt buộc"
+ description: |-
+ Các trình tạo phải được
+ mở khóa trước khi trình tạo
+ này khả dụng.
+ list: "Trình tạo bắt buộc:"
+ value: "- [generator]"
+ none: "- không có"
tips:
click-to-previous: "Bấm để xem trang trước."
click-to-next: "Nhấp vào để xem trang tiếp theo."
@@ -757,6 +802,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -769,6 +815,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
level: "Cấp độ Yêu cầu: [number]"
permission-title: "Thiếu quyền:"
@@ -776,6 +825,10 @@ stone-generator:
biome-title: "Hoạt động tại:"
biome: "[biome]"
any: "Hoạt động trong tất cả quần xã"
+ phase: "Giai đoạn yêu cầu: [name]"
+ block-count: "Số khối đã phá yêu cầu: [number]"
+ required-generators-title: "Trình tạo bắt buộc:"
+ required-generator: " -[generator]"
status:
locked: "Đã khóa!"
undeployed: "Không được triển khai!"
@@ -819,6 +872,7 @@ stone-generator:
import-count: "Đã nhập [generator] trình tạo mới và [bundle] gói mới."
start-downloading: "Bắt đầu tải xuống thư viện."
generator-exhausted: Máy tạo '[generator]' đã đạt giới hạn tạo và hiện đang trong thời gian hồi thêm [number] phút nữa.
+ generator-data-reset: "Dữ liệu trình tạo của [player] đã được đặt lại."
errors:
no-generator-data: "Không thể tìm thấy dữ liệu trình tạo hợp lệ"
no-island-data: "Dữ liệu Đảo không được tìm thấy."
@@ -831,7 +885,7 @@ stone-generator:
generator-tier-not-found: "Trình tạo có id '[generator]' không tìm thấy trong [gamemode]."
no-generators-in-world: "Không có máy phát điện nào cho bạn ở [world]"
could-not-remove-money: "Đã xảy ra sự cố khi rút tiền."
- max-height-less-than-min: Độ cao tối đa ([MAX]) không thể nhỏ hơn độ cao tối thiểu ([MIN])!
+ max-height-less-than-min: Độ cao tối đa ([max]) không thể nhỏ hơn độ cao tối thiểu ([min])!
conversations:
confirm-string: đúng, trên, có, xác nhận, y, hợp lệ, chính xác
deny-string: sai, tắt, không, từ chối, n, không hợp lệ, không chính xác
@@ -869,6 +923,10 @@ stone-generator:
click-text-to-activate: "Bạn đã mở khóa [generator]! Nhấn vào đây để kích hoạt nó ngay bây giờ."
input-max-height: Nhập độ cao tối đa cho vật liệu này (từ -64 đến 320):
input-min-height: Nhập độ cao tối thiểu cho vật liệu này (từ -64 đến 320):
+ confirm-generator-purchase: "Vui lòng xác nhận bạn muốn mua [generator] với giá [number]."
+ input-custom-block: "Nhập ID khối tùy chỉnh vào khung chat, kèm tiền tố plugin: 'itemsadder:namespace:id', 'craftengine:namespace:id', 'oraxen:id' hoặc 'nexo:id'."
+ custom-block-invalid-prefix: "'[block]' không phải ID khối tùy chỉnh hợp lệ. Dùng 'itemsadder:', 'craftengine:', 'oraxen:' hoặc 'nexo:' rồi tới ID khối."
+ custom-block-not-found: "Không tìm thấy khối tùy chỉnh '[block]'. Hãy kiểm tra plugin đã được cài và ID có đúng không."
materials:
cobblestone: đá cuội
stone:
diff --git a/src/main/resources/locales/zh-CN.yml b/src/main/resources/locales/zh-CN.yml
index 1df19de..0e023a8 100644
--- a/src/main/resources/locales/zh-CN.yml
+++ b/src/main/resources/locales/zh-CN.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: 将刷石机数据导出到文件
+ reset:
+ parameters: ""
+ description: "重置玩家岛屿的刷石机数据"
+ confirmation: "这将重置 [player] 的刷石机数据(已解锁、已购买和已启用的刷石机)- 请确认"
player:
main:
description: 打开刷石机控制面板
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "刷石机"
- view-generator: "[generator]"
+ view-generator: "[generator]"
admin-panel: "刷石机管理"
select-biome: "选择生物群系"
select-block: "选择方块"
select-bundle: "选择捆绑包"
select-type: "选择刷石机类型"
- view-bundle: "捆绑包: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "管理捆绑包"
manage-generators: "管理刷石机"
- view-island: "岛屿: [island]"
+ view-island: "[island]"
manage-islands: "管理岛屿刷石机"
library: "刷石机库"
settings: "插件设置"
configure-material-height: 配置材料高度
height-range-config: 高度范围:[material]
+ select-generator: "选择刷石机"
buttons:
default:
name: "默认刷石机"
@@ -63,8 +68,18 @@ stone-generator:
type:
name: "刷石机类型"
description: |-
- 指定应用于当前刷石机的类型,
- 可指定多种类型。
+ 定义哪种原版岩浆机制
+ 会触发该刷石机。
+
+ 圆石: 岩浆流接触到同一
+ 高度的水。
+
+ 石头: 岩浆向下流到水面上。
+ 对任何水域都有效,
+ 包括海洋。
+
+ 玄武岩: 岩浆流到灵魂土上,
+ 旁边有蓝冰。
value: "类型: [type]"
required_min_level:
name: "最低岛屿等级"
@@ -524,6 +539,34 @@ stone-generator:
disabled: 银行使用已禁用 。
enabled: 银行使用已启用 。
name: 使用银行
+ accept_generator:
+ name: "确认刷石机"
+ description: |-
+ 确认所选刷石机
+ 并返回。
+ selected-generators: "已选刷石机:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "解锁时启用"
+ description: |-
+ 启用后,该刷石机会在
+ 解锁的同时自动启用。
+ enabled: "该刷石机 解锁时会自动启用。"
+ disabled: "该刷石机 解锁时不会自动启用。"
+ add_custom_block:
+ name: "添加自定义方块"
+ description: |-
+ 通过 ID 添加来自
+ ItemsAdder、CraftEngine、
+ Oraxen 或 Nexo 的方块。
+ required_generators:
+ name: "前置刷石机"
+ description: |-
+ 在此刷石机可用之前
+ 必须先解锁的刷石机。
+ list: "前置刷石机:"
+ value: "- [generator]"
+ none: "- 无"
tips:
click-to-previous: "点击 浏览上一页"
click-to-next: "点击 浏览下一页"
@@ -580,6 +623,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -590,15 +634,22 @@ stone-generator:
value: "[材料] - [#.####]%"
requirements:
description: |-
- [生物群系]
- [等级]
- [缺失权限]
+ [biomes]
+ [level]
+ [phase]
+ [block-count]
+ [required-generators]
+ [missing-permissions]
level: "需要岛屿等级: [数量]"
permission-title: "缺少权限:"
permission: " -[权限]"
biome-title: "适用生物群系:"
biome: "[生物群系]"
any: "适用于 所有 生物群系"
+ phase: "所需阶段: [name]"
+ block-count: "所需破坏方块数: [number]"
+ required-generators-title: "前置刷石机:"
+ required-generator: " -[generator]"
status:
locked: "未解锁!"
undeployed: "未部署!"
@@ -641,6 +692,7 @@ stone-generator:
generator-exhausted: 生成器 '[generator]' 已达到生成上限,现在进入冷却,还需 [number] 分钟。
no-credits-bank: 你的银行账户没有足够的点数来激活生成器。激活需要 [number] 点数。
no-credits-buy-bank: 你的银行账户没有足够的点数。此生成器需要 [number] 点数。
+ generator-data-reset: "玩家 [player] 的刷石机数据已重置。"
errors:
no-generator-data: "找不到有效的刷石机数据。"
no-island-data: "没有找到岛屿数据。"
@@ -653,7 +705,7 @@ stone-generator:
generator-tier-not-found: "刷石机ID '[generator]' 在游戏模式 [gamemode] 里不存在。"
no-generators-in-world: "在世界 [world] 中没有适合您的刷石机。"
could-not-remove-money: 扣款时出现错误。
- max-height-less-than-min: 最大高度([MAX])不能小于最小高度([MIN])!
+ max-height-less-than-min: 最大高度([max])不能小于最小高度([min])!
conversations:
confirm-string: true, on, yes, confirm, y, valid, correct, ok, 同意, 接受, 确定, 是
deny-string: false, off, no, deny, n, invalid, incorrect, 拒绝, 否定, 否, 不
@@ -691,6 +743,10 @@ stone-generator:
click-text-to-activate: "您已解锁 [generator]!点击此处立即激活。"
input-max-height: 请输入此材料的最大高度(-64 到 320 之间):
input-min-height: 请输入此材料的最小高度(-64 到 320 之间):
+ confirm-generator-purchase: "请确认你要购买 [generator] 价格为 [number]。"
+ input-custom-block: "请在聊天栏输入自定义方块 ID,并带上插件前缀:'itemsadder:namespace:id'、'craftengine:namespace:id'、'oraxen:id' 或 'nexo:id'。"
+ custom-block-invalid-prefix: "'[block]' 不是有效的自定义方块 ID。请使用 'itemsadder:'、'craftengine:'、'oraxen:' 或 'nexo:' 加上方块 ID。"
+ custom-block-not-found: "未找到自定义方块 '[block]'。请检查该插件是否已安装以及 ID 是否正确。"
materials:
cobblestone: 圆石
stone:
diff --git a/src/main/resources/locales/zh-HK.yml b/src/main/resources/locales/zh-HK.yml
index e3869d5..8d33d78 100644
--- a/src/main/resources/locales/zh-HK.yml
+++ b/src/main/resources/locales/zh-HK.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: 從該遊戲模式導出神奇的鵝卵石產生器資料庫檔案
+ reset:
+ parameters: ""
+ description: "重置玩家島嶼的產生器資料"
+ confirmation: "這將重置 [player] 的產生器資料(已解鎖、已購買及已啟用的產生器)- 請確認"
player:
main:
description: 打開目前套用的產生器介面
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "神奇的鵝卵石產生器"
- view-generator: "產生器: [generator]"
+ view-generator: "[generator]"
admin-panel: "管理員面板"
select-biome: "選擇生態系"
select-block: "選擇方塊"
select-bundle: "選擇組合"
select-type: "選擇產生器的類型"
- view-bundle: "組合: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "管理組合"
manage-generators: "管理產生器"
- view-island: "島嶼:[island]"
+ view-island: "[island]"
manage-islands: "管理島嶼資料"
library: "知識庫"
settings: "設定"
configure-material-height: 設定材料高度
height-range-config: 高度範圍:[material]
+ select-generator: "選擇產生器"
buttons:
default:
name: "預設產生器"
@@ -64,8 +69,18 @@ stone-generator:
type:
name: "產生器類別"
description: |-
- 決定要使用哪種產生器類型
- 將會套用至島嶼上的產生器
+ 定義哪種原版岩漿機制
+ 會觸發此產生器。
+
+ 鵝卵石: 岩漿流接觸到同一
+ 高度的水。
+
+ 石頭: 岩漿向下流到水面上。
+ 對任何水域都有效,
+ 包括海洋。
+
+ 玄武岩: 岩漿流到靈魂土上,
+ 旁邊有藍冰。
value: "類型: [type]"
required_min_level:
name: "最小所需島嶼等級"
@@ -529,6 +544,34 @@ stone-generator:
disabled: 銀行使用已停用 。
enabled: 銀行使用已啟用 。
name: 使用銀行
+ accept_generator:
+ name: "確認產生器"
+ description: |-
+ 確認所選產生器
+ 並返回。
+ selected-generators: "已選產生器:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "解鎖時啟用"
+ description: |-
+ 啟用後,此產生器會在
+ 解鎖的同時自動啟用。
+ enabled: "此產生器 解鎖時會自動啟用。"
+ disabled: "此產生器 解鎖時不會自動啟用。"
+ add_custom_block:
+ name: "新增自訂方塊"
+ description: |-
+ 透過 ID 新增來自
+ ItemsAdder、CraftEngine、
+ Oraxen 或 Nexo 的方塊。
+ required_generators:
+ name: "前置產生器"
+ description: |-
+ 在此產生器可用之前
+ 必須先解鎖的產生器。
+ list: "前置產生器:"
+ value: "- [generator]"
+ none: "- 無"
tips:
click-to-previous: "點擊 顯示前一頁。"
click-to-next: "點擊 顯示下一頁。"
@@ -585,6 +628,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -597,6 +641,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
level: "所需等級:[number]"
permission-title: "缺少的權限:"
@@ -604,6 +651,10 @@ stone-generator:
biome-title: "可運作在:"
biome: "[biome]"
any: "可在 所有的 生態系 運作"
+ phase: "所需階段: [name]"
+ block-count: "所需破壞方塊數: [number]"
+ required-generators-title: "前置產生器:"
+ required-generator: " -[generator]"
status:
locked: "尚未解鎖。"
undeployed: "尚未部署!"
@@ -646,6 +697,7 @@ stone-generator:
generator-exhausted: 產生器 '[generator]' 已達到產生上限,現在進入冷卻,還需 [number] 分鐘。
no-credits-bank: 你的銀行帳戶沒有足夠的點數來啟用產生器。啟用需要 [number] 點數。
no-credits-buy-bank: 你的銀行帳戶沒有足夠的點數。此產生器需要 [number] 點數。
+ generator-data-reset: "玩家 [player] 的產生器資料已重置。"
errors:
no-generator-data: "無法找到格式正確的產生器資料"
no-island-data: "找不到島嶼資料。"
@@ -658,7 +710,7 @@ stone-generator:
generator-tier-not-found: " 在遊戲模式 [gamemode] 找不到名稱叫做 '[generator]' 的產生器."
no-generators-in-world: "你所在得世界 [world] 沒有神奇的鵝卵石產生器"
could-not-remove-money: 扣款時發生錯誤。
- max-height-less-than-min: 最大高度([MAX])不能小於最小高度([MIN])!
+ max-height-less-than-min: 最大高度([max])不能小於最小高度([min])!
conversations:
confirm-string: 是, true, on, yes, confirm, y, valid, correct
deny-string: 否, false, off, no, deny, n, invalid, incorrect
@@ -696,6 +748,10 @@ stone-generator:
click-text-to-activate: "您已解鎖 [generator]! 點擊這裡啟動。"
input-max-height: 請輸入此材料的最大高度(-64 到 320 之間):
input-min-height: 請輸入此材料的最小高度(-64 到 320 之間):
+ confirm-generator-purchase: "請確認你要購買 [generator] 價格為 [number]。"
+ input-custom-block: "請在聊天欄輸入自訂方塊 ID,並加上插件前綴:'itemsadder:namespace:id'、'craftengine:namespace:id'、'oraxen:id' 或 'nexo:id'。"
+ custom-block-invalid-prefix: "'[block]' 不是有效的自訂方塊 ID。請使用 'itemsadder:'、'craftengine:'、'oraxen:' 或 'nexo:' 加上方塊 ID。"
+ custom-block-not-found: "找不到自訂方塊 '[block]'。請檢查該插件是否已安裝以及 ID 是否正確。"
materials:
cobblestone: 鵝卵石
stone:
diff --git a/src/main/resources/locales/zh-TW.yml b/src/main/resources/locales/zh-TW.yml
index e3869d5..8d33d78 100644
--- a/src/main/resources/locales/zh-TW.yml
+++ b/src/main/resources/locales/zh-TW.yml
@@ -18,6 +18,10 @@ stone-generator:
export:
parameters: ""
description: 從該遊戲模式導出神奇的鵝卵石產生器資料庫檔案
+ reset:
+ parameters: ""
+ description: "重置玩家島嶼的產生器資料"
+ confirmation: "這將重置 [player] 的產生器資料(已解鎖、已購買及已啟用的產生器)- 請確認"
player:
main:
description: 打開目前套用的產生器介面
@@ -33,21 +37,22 @@ stone-generator:
gui:
titles:
player-panel: "神奇的鵝卵石產生器"
- view-generator: "產生器: [generator]"
+ view-generator: "[generator]"
admin-panel: "管理員面板"
select-biome: "選擇生態系"
select-block: "選擇方塊"
select-bundle: "選擇組合"
select-type: "選擇產生器的類型"
- view-bundle: "組合: [bundle]"
+ view-bundle: "[bundle]"
manage-bundles: "管理組合"
manage-generators: "管理產生器"
- view-island: "島嶼:[island]"
+ view-island: "[island]"
manage-islands: "管理島嶼資料"
library: "知識庫"
settings: "設定"
configure-material-height: 設定材料高度
height-range-config: 高度範圍:[material]
+ select-generator: "選擇產生器"
buttons:
default:
name: "預設產生器"
@@ -64,8 +69,18 @@ stone-generator:
type:
name: "產生器類別"
description: |-
- 決定要使用哪種產生器類型
- 將會套用至島嶼上的產生器
+ 定義哪種原版岩漿機制
+ 會觸發此產生器。
+
+ 鵝卵石: 岩漿流接觸到同一
+ 高度的水。
+
+ 石頭: 岩漿向下流到水面上。
+ 對任何水域都有效,
+ 包括海洋。
+
+ 玄武岩: 岩漿流到靈魂土上,
+ 旁邊有藍冰。
value: "類型: [type]"
required_min_level:
name: "最小所需島嶼等級"
@@ -529,6 +544,34 @@ stone-generator:
disabled: 銀行使用已停用 。
enabled: 銀行使用已啟用 。
name: 使用銀行
+ accept_generator:
+ name: "確認產生器"
+ description: |-
+ 確認所選產生器
+ 並返回。
+ selected-generators: "已選產生器:"
+ list-value: "- [value]"
+ activate_on_unlock:
+ name: "解鎖時啟用"
+ description: |-
+ 啟用後,此產生器會在
+ 解鎖的同時自動啟用。
+ enabled: "此產生器 解鎖時會自動啟用。"
+ disabled: "此產生器 解鎖時不會自動啟用。"
+ add_custom_block:
+ name: "新增自訂方塊"
+ description: |-
+ 透過 ID 新增來自
+ ItemsAdder、CraftEngine、
+ Oraxen 或 Nexo 的方塊。
+ required_generators:
+ name: "前置產生器"
+ description: |-
+ 在此產生器可用之前
+ 必須先解鎖的產生器。
+ list: "前置產生器:"
+ value: "- [generator]"
+ none: "- 無"
tips:
click-to-previous: "點擊 顯示前一頁。"
click-to-next: "點擊 顯示下一頁。"
@@ -585,6 +628,7 @@ stone-generator:
[blocks]
[treasures]
[type]
+ [height-range]
[requirements]
[status]
blocks:
@@ -597,6 +641,9 @@ stone-generator:
description: |-
[biomes]
[level]
+ [phase]
+ [block-count]
+ [required-generators]
[missing-permissions]
level: "所需等級:[number]"
permission-title: "缺少的權限:"
@@ -604,6 +651,10 @@ stone-generator:
biome-title: "可運作在:"
biome: "[biome]"
any: "可在 所有的 生態系 運作"
+ phase: "所需階段: [name]"
+ block-count: "所需破壞方塊數: [number]"
+ required-generators-title: "前置產生器:"
+ required-generator: " -[generator]"
status:
locked: "尚未解鎖。"
undeployed: "尚未部署!"
@@ -646,6 +697,7 @@ stone-generator:
generator-exhausted: 產生器 '[generator]' 已達到產生上限,現在進入冷卻,還需 [number] 分鐘。
no-credits-bank: 你的銀行帳戶沒有足夠的點數來啟用產生器。啟用需要 [number] 點數。
no-credits-buy-bank: 你的銀行帳戶沒有足夠的點數。此產生器需要 [number] 點數。
+ generator-data-reset: "玩家 [player] 的產生器資料已重置。"
errors:
no-generator-data: "無法找到格式正確的產生器資料"
no-island-data: "找不到島嶼資料。"
@@ -658,7 +710,7 @@ stone-generator:
generator-tier-not-found: " 在遊戲模式 [gamemode] 找不到名稱叫做 '[generator]' 的產生器."
no-generators-in-world: "你所在得世界 [world] 沒有神奇的鵝卵石產生器"
could-not-remove-money: 扣款時發生錯誤。
- max-height-less-than-min: 最大高度([MAX])不能小於最小高度([MIN])!
+ max-height-less-than-min: 最大高度([max])不能小於最小高度([min])!
conversations:
confirm-string: 是, true, on, yes, confirm, y, valid, correct
deny-string: 否, false, off, no, deny, n, invalid, incorrect
@@ -696,6 +748,10 @@ stone-generator:
click-text-to-activate: "您已解鎖 [generator]! 點擊這裡啟動。"
input-max-height: 請輸入此材料的最大高度(-64 到 320 之間):
input-min-height: 請輸入此材料的最小高度(-64 到 320 之間):
+ confirm-generator-purchase: "請確認你要購買 [generator] 價格為 [number]。"
+ input-custom-block: "請在聊天欄輸入自訂方塊 ID,並加上插件前綴:'itemsadder:namespace:id'、'craftengine:namespace:id'、'oraxen:id' 或 'nexo:id'。"
+ custom-block-invalid-prefix: "'[block]' 不是有效的自訂方塊 ID。請使用 'itemsadder:'、'craftengine:'、'oraxen:' 或 'nexo:' 加上方塊 ID。"
+ custom-block-not-found: "找不到自訂方塊 '[block]'。請檢查該插件是否已安裝以及 ID 是否正確。"
materials:
cobblestone: 鵝卵石
stone:
diff --git a/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorImportManagerTest.java b/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorImportManagerTest.java
index 96729a8..9002c4f 100644
--- a/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorImportManagerTest.java
+++ b/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorImportManagerTest.java
@@ -1,11 +1,14 @@
package world.bentobox.magiccobblestonegenerator.managers;
import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertFalse;
+import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.atLeastOnce;
import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
@@ -162,4 +165,54 @@ void testImportExhaustionLimit() throws IOException {
// Absent key falls back to -1, meaning "use the global default".
assertEquals(-1L, def.getExhaustionLimit());
}
+
+ /**
+ * A missing database file must not wipe the game mode's existing generators.
+ */
+ @Test
+ void testImportDatabaseFileMissingDoesNotWipeGenerators() {
+ when(manager.getAllGeneratorTiers(world)).thenReturn(List.of(mock(GeneratorTierObject.class)));
+
+ assertFalse(im.importDatabaseFile(null, world, "does-not-exist"));
+
+ verify(manager, never()).wipeGameModeGenerators(any());
+ }
+
+ /**
+ * An empty database file must not wipe the game mode's existing generators either.
+ */
+ @Test
+ void testImportDatabaseFileEmptyDoesNotWipeGenerators() throws IOException {
+ when(manager.getAllGeneratorTiers(world)).thenReturn(List.of(mock(GeneratorTierObject.class)));
+ Files.write(new File(dataFolder, "empty.json").toPath(), new byte[0]);
+
+ assertFalse(im.importDatabaseFile(null, world, "empty"));
+
+ verify(manager, never()).wipeGameModeGenerators(any());
+ }
+
+ @Test
+ void testResolveDataFileInsideFolder() throws IOException {
+ File file = StoneGeneratorImportManager.resolveDataFile(dataFolder, "backup.json");
+ assertEquals(new File(dataFolder, "backup.json").getCanonicalFile(), file);
+ }
+
+ @Test
+ void testResolveDataFileRejectsTraversal() {
+ assertNull(StoneGeneratorImportManager.resolveDataFile(dataFolder, "../outside.json"));
+ assertNull(StoneGeneratorImportManager.resolveDataFile(dataFolder, "../../etc/passwd"));
+ assertNull(StoneGeneratorImportManager.resolveDataFile(dataFolder, "sub/inner.json"));
+ }
+
+ @Test
+ void testImportFileRejectsTraversal() throws IOException {
+ // A valid template one level above the data folder must not be importable via "../".
+ File outside = new File(dataFolder.getParentFile(), "mcg-outside-" + System.nanoTime() + ".yml");
+ Files.write(outside.toPath(), "tiers: {}\n".getBytes(StandardCharsets.UTF_8));
+ try {
+ assertFalse(im.importFile(null, world, "../" + outside.getName()));
+ } finally {
+ Files.deleteIfExists(outside.toPath());
+ }
+ }
}
diff --git a/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorManagerTest.java b/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorManagerTest.java
index 267e9b1..c593ac6 100644
--- a/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorManagerTest.java
+++ b/src/test/java/world/bentobox/magiccobblestonegenerator/managers/StoneGeneratorManagerTest.java
@@ -40,6 +40,7 @@
import world.bentobox.magiccobblestonegenerator.StoneGeneratorAddon;
import world.bentobox.magiccobblestonegenerator.database.objects.GeneratorBundleObject;
import world.bentobox.magiccobblestonegenerator.database.objects.GeneratorDataObject;
+import world.bentobox.magiccobblestonegenerator.database.objects.GeneratorExhaustionData;
import world.bentobox.magiccobblestonegenerator.database.objects.GeneratorTierObject;
import world.bentobox.magiccobblestonegenerator.database.objects.GeneratorTierObject.GeneratorType;
import world.bentobox.magiccobblestonegenerator.events.GeneratorBuyEvent;
@@ -724,6 +725,48 @@ void testCanGenerateBlockExhausted() {
assertFalse(sgm.canGenerateBlock(island, generatorTier));
}
+ @Test
+ void testCanGenerateBlockCooldownShorterThanPeriodStartsNewPeriod() {
+ s.setGeneratorExhaustionLimit(1);
+ s.setGeneratorExhaustionPeriod(60);
+ s.setGeneratorExhaustionCooldown(10);
+ assertTrue(sgm.canGenerateBlock(island, generatorTier));
+ assertFalse(sgm.canGenerateBlock(island, generatorTier));
+
+ // Simulate the 10-minute cooldown expiring while the 60-minute period is still running.
+ GeneratorExhaustionData exhaustion =
+ sgm.getGeneratorData(island).getExhaustionData().get(generatorTier.getUniqueId());
+ long now = System.currentTimeMillis();
+ exhaustion.setPeriodStart(now - 11 * 60_000L);
+ exhaustion.setCooldownUntil(now - 60_000L);
+
+ // Generator must work again, with a fresh count.
+ assertTrue(sgm.canGenerateBlock(island, generatorTier));
+ assertEquals(1, exhaustion.getGeneratedCount());
+ assertEquals(0, exhaustion.getCooldownUntil());
+ }
+
+ @Test
+ void testCanGenerateBlockZeroCooldownWaitsForPeriodEnd() {
+ s.setGeneratorExhaustionLimit(1);
+ s.setGeneratorExhaustionPeriod(60);
+ s.setGeneratorExhaustionCooldown(0);
+ assertTrue(sgm.canGenerateBlock(island, generatorTier));
+ assertFalse(sgm.canGenerateBlock(island, generatorTier));
+
+ GeneratorExhaustionData exhaustion =
+ sgm.getGeneratorData(island).getExhaustionData().get(generatorTier.getUniqueId());
+ // Blocked until the period ends, not released immediately.
+ assertEquals(exhaustion.getPeriodStart() + 60 * 60_000L, exhaustion.getCooldownUntil());
+ assertFalse(sgm.canGenerateBlock(island, generatorTier));
+
+ // Once the period is over, generation resumes.
+ long now = System.currentTimeMillis();
+ exhaustion.setPeriodStart(now - 61 * 60_000L);
+ exhaustion.setCooldownUntil(now - 60_000L);
+ assertTrue(sgm.canGenerateBlock(island, generatorTier));
+ }
+
@Test
void testCanGenerateBlockTierOverridesLimit() {
s.setGeneratorExhaustionLimit(1000);
@@ -848,6 +891,22 @@ void testActivateGeneratorUserIslandGeneratorDataObjectGeneratorTierObject() {
assertDoesNotThrow(() -> sgm.activateGenerator(user, island, generatorData, generatorTier));
}
+ @Test
+ void testActivateGeneratorOverwritesDeletedActiveGenerator() {
+ // Island is at its active-generator limit, and the active generator has since been deleted.
+ s.setOverwriteOnActive(true);
+ GeneratorDataObject data = new GeneratorDataObject();
+ data.setUniqueId("island-overwrite");
+ data.setOwnerActiveGeneratorCount(1);
+ data.getActiveGeneratorList().add("deleted_generator");
+
+ assertDoesNotThrow(() -> sgm.activateGenerator(user, island, data, generatorTier, true));
+
+ // The stale id is dropped to free the slot, and the new generator is activated.
+ assertFalse(data.getActiveGeneratorList().contains("deleted_generator"));
+ assertTrue(data.getActiveGeneratorList().contains(generatorTier.getUniqueId()));
+ }
+
@Test
void testActivateGeneratorUserIslandGeneratorDataObjectGeneratorTierObjectBoolean() {
assertDoesNotThrow(() -> sgm.activateGenerator(user, island, generatorData, generatorTier, true));
@@ -858,6 +917,19 @@ void testCanPurchaseGenerator() {
assertFalse(sgm.canPurchaseGenerator(user, island, generatorData, generatorTier));
}
+ @Test
+ void testCanPurchaseGeneratorOnSpawnIslandDoesNotThrow() {
+ // Spawn islands (and unowned islands) have no owner; this used to throw a NullPointerException.
+ when(island.isSpawn()).thenReturn(true);
+ assertDoesNotThrow(() -> sgm.canPurchaseGenerator(user, island, generatorData, generatorTier));
+ }
+
+ @Test
+ void testCanPurchaseGeneratorNoOwnerDoesNotThrow() {
+ when(island.getOwner()).thenReturn(null);
+ assertDoesNotThrow(() -> sgm.canPurchaseGenerator(user, island, generatorData, generatorTier));
+ }
+
@Test
void testPurchaseGeneratorUserIslandGeneratorDataObjectGeneratorTierObject() {
assertDoesNotThrow(() -> sgm.purchaseGenerator(user, island, generatorData, generatorTier));
diff --git a/src/test/java/world/bentobox/magiccobblestonegenerator/utils/UtilsTitleTest.java b/src/test/java/world/bentobox/magiccobblestonegenerator/utils/UtilsTitleTest.java
new file mode 100644
index 0000000..d1d90a2
--- /dev/null
+++ b/src/test/java/world/bentobox/magiccobblestonegenerator/utils/UtilsTitleTest.java
@@ -0,0 +1,66 @@
+package world.bentobox.magiccobblestonegenerator.utils;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+import org.junit.jupiter.api.Test;
+
+/**
+ * Tests for shortening names so panel titles fit inside the inventory window.
+ */
+class UtilsTitleTest {
+
+ @Test
+ void testCharWidthsAreBold() {
+ // Glyph + 1 px spacing + 1 px bold.
+ assertEquals(7, Utils.getCharWidth('A'));
+ assertEquals(3, Utils.getCharWidth('i'));
+ assertEquals(5, Utils.getCharWidth(' '));
+ assertEquals(10, Utils.getCharWidth('島'));
+ }
+
+ @Test
+ void testShortNameUnchanged() {
+ assertEquals("Diamond Generator", Utils.truncateToWidth("Diamond Generator", Utils.TITLE_WIDTH));
+ }
+
+ @Test
+ void testNameThatJustFitsUnchanged() {
+ // 159 px bold: fits in the 160 px title area without the label.
+ assertEquals(159, Utils.getTextWidth("Starting Nether Generator"));
+ assertEquals("Starting Nether Generator",
+ Utils.truncateToWidth("Starting Nether Generator", Utils.TITLE_WIDTH));
+ }
+
+ @Test
+ void testLongNameShortenedToFit() {
+ String name = "Extremely Long Ultimate Netherite Generator";
+ String result = Utils.truncateToWidth(name, Utils.TITLE_WIDTH);
+
+ assertTrue(result.endsWith(Utils.ELLIPSIS), result);
+ assertTrue(Utils.getTextWidth(result) <= Utils.TITLE_WIDTH, result);
+ assertTrue(name.startsWith(result.substring(0, result.length() - 1)), result);
+ }
+
+ @Test
+ void testNoSpaceBeforeEllipsis() {
+ // If the cut lands just after a space, the space is dropped.
+ String result = Utils.truncateToWidth("AAAAAAAAAAAAAAAAAAAAA BBBBBBBBB", Utils.TITLE_WIDTH);
+ assertTrue(!result.contains(" " + Utils.ELLIPSIS), result);
+ }
+
+ @Test
+ void testAlwaysKeepsOneCharacter() {
+ // Even with no room, the title shows at least the first character.
+ assertEquals("D" + Utils.ELLIPSIS, Utils.truncateToWidth("Diamond", 0));
+ }
+
+ @Test
+ void testWideCharactersShortened() {
+ String name = "島島島島島島島島島島島島島島島島島島島島";
+ String result = Utils.truncateToWidth(name, Utils.TITLE_WIDTH);
+
+ assertTrue(result.endsWith(Utils.ELLIPSIS), result);
+ assertTrue(Utils.getTextWidth(result) <= Utils.TITLE_WIDTH, result);
+ }
+}