From 6f91d51f9e9a2c2f8cb97c2e32271d86638fe165 Mon Sep 17 00:00:00 2001 From: Ghost_chu <30802565+Ghost-chu@users.noreply.github.com> Date: Sat, 5 Jun 2021 18:29:05 +0800 Subject: [PATCH] 4.0.8.4 (#1031) * 4.0.8.3 (#987) (#994) post back to master * Create .bettercodehub.yml * Create crowdin-merge.yml * Update crowdin-merge.yml * Update crowdin-merge.yml * New Crowdin updates (#995) * New translations messages.json (Russian) * New translations messages.json (Japanese) * New translations messages.json (Vietnamese) * New translations messages.json (Chinese Traditional) * New translations messages.json (Chinese Simplified) * New translations messages.json (Ukrainian) * New translations messages.json (Turkish) * New translations messages.json (Swedish) * New translations messages.json (Serbian (Cyrillic)) * New translations messages.json (Portuguese) * New translations messages.json (Polish) * New translations messages.json (Norwegian) * New translations messages.json (Dutch) * New translations messages.json (Korean) * New translations messages.json (Italian) * New translations messages.json (English) * New translations messages.json (Hungarian) * New translations messages.json (Hebrew) * New translations messages.json (Finnish) * New translations messages.json (Greek) * New translations messages.json (German) * New translations messages.json (Danish) * New translations messages.json (Czech) * New translations messages.json (Catalan) * New translations messages.json (Arabic) * New translations messages.json (Afrikaans) * New translations messages.json (Spanish) * New translations messages.json (French) * New translations messages.json (Romanian) * New translations messages.json (Portuguese, Brazilian) * New translations messages.json (Korean) * New translations messages.json (Chinese Traditional) * New translations messages.json (Chinese Traditional) * New translations messages.json (English) * New translations messages.json (Chinese Simplified) (#996) * New translations messages.json (Chinese Simplified) * New translations messages.json (French) * New translations messages.json (Chinese Traditional) * New translations messages.json (Swedish) * New translations messages.json (French) * New translations messages.json (German) * New translations messages.json (Chinese Traditional) * Delete linters-fixme.yml * Delete git-fixup-checks.yml * New translations messages.json (German) * New translations messages.json (English) * New translations messages.json (Norwegian) * New translations messages.json (Norwegian) * Fix ArrayIndexOutOfBoundsException when handling error * New translations messages.json (Norwegian) * New translations messages.json (Norwegian) * New translations messages.json (Norwegian) * New translations messages.json (Norwegian) * New translations messages.json (Chinese Traditional) * New translations messages.json (Norwegian) * Stop listening global exception * Bump minedown from 1.7.0-SNAPSHOT to 1.7.1-SNAPSHOT (#1006) Bumps [minedown](https://github.com/Phoenix616/MineDown) from 1.7.0-SNAPSHOT to 1.7.1-SNAPSHOT. - [Release notes](https://github.com/Phoenix616/MineDown/releases) - [Commits](https://github.com/Phoenix616/MineDown/commits) --- updated-dependencies: - dependency-name: de.themoep:minedown dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump minedown-adventure from 1.7.0-SNAPSHOT to 1.7.1-SNAPSHOT (#1007) Bumps minedown-adventure from 1.7.0-SNAPSHOT to 1.7.1-SNAPSHOT. --- updated-dependencies: - dependency-name: de.themoep:minedown-adventure dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update conflibot.yml * Improved SubCommands (#1013) * Small correction in SubCommand_Backup.java * Small correction in SubCommand_Buy.java * Small correction in SubCommand_Amount.java * Small correction in SubCommand_Clean.java * Improved SubCommand_Convert.java Messages * Tiny improvement * Improvements in SubCommand_Create.java 1.What exactly is meant by "3rd-plugin-build-check-failed"? (line 130) 2.What is this "Util" (line 147) * Small correction in SubCommand_Currency.java * Small corrections in SubCommand_Debug.java What is this "ERR" in line 154? (Maybe some kind of short form for Error?) * Small correction in SubCommand_Empty.java What is this old note: "TODO: 24/11/2019 Send message about that issue."? Should i remove it? * Small correction in SubCommand_FetchMessage.java * Small correction in SubCommand_Find.java * Small correction in SubCommand_Help.java * Small correction in SubCommand_Info.java What do you mean by "nostock selling shops"? * Small correction in SubCommand_Item.java * Small corrections in SubCommand_Paste.java * Small corrections in SubCommand_Price.java Another old TODO Note (line 205)...should i delete it? * Small correction in SubCommand_ROOT.java * Small correction in SubCommand_Refill.java * Small corrections in SubCommand_Reload.java * Small correction in SubCommand_Remove.java * Small corrections in SubCommand_RemoveAll.java * Small improvement * Small corrections in SubCommand_RemoveWorld.java Why is there such a big part greyed out? * Small correction in SubCommand_Sell.java * Small correction in SubCommand_SetOwner.java * Small correction in SubCommand_SilentBuy.java * Small correction in SubCommand_SilentEmpty.java * Quick fix * Small correction in SubCommand_SilentPreview.java * Small correction in SubCommand_SilentRemove.java * Small correction in SubCommand_SilentSell.java * Small correction in SubCommand_SilentUnlimited.java * Small correction in SubCommand_Size.java * Small correction in SubCommand_Staff.java * Small correction in SubCommand_SuperCreate.java * Small correction in SubCommand_Transferjava * Small correction in SubCommand_Unlimited.java * Small corrections in SubCommand_Update.java * Small correction in SubCommand_Recovery.java * Quick message fix * Quick message fix * Quick message fix * Quick message fix * Quick message fix * Quick message fix * Quick message improvement * Quick message improvement * Quick message fix * Quick message fix * Quick message fix * Improvement of SubCommand_CleanGhost.java Can you please explain "Starting checking the shop be ghost, all does not exist shop will be removed..." a little better...not sure what it means... (line 57) What do you mean by "posting" (to main server thread)? (line 110) What exactly is meant by "disallow create the shop"? (line 117) (Maybe that its not allowed to create a shop in this location?) * Add Starmism and Chris6ix to authors * New translations messages.json (Polish) * WorldEdit shop delete support * Some little tweaks * New translations messages.json (Polish) * WorldEdit new step * Preparing for WorldEdit cut/copy support * New translations messages.json (Romanian) * New translations messages.json (Dutch) * New translations messages.json (Vietnamese) * New translations messages.json (English) * New translations messages.json (Chinese Traditional) * New translations messages.json (Chinese Simplified) * New translations messages.json (Ukrainian) * New translations messages.json (Turkish) * New translations messages.json (Swedish) * New translations messages.json (Serbian (Cyrillic)) * New translations messages.json (Russian) * New translations messages.json (Portuguese) * New translations messages.json (Polish) * New translations messages.json (Norwegian) * New translations messages.json (Korean) * New translations messages.json (French) * New translations messages.json (Japanese) * New translations messages.json (Italian) * New translations messages.json (Hungarian) * New translations messages.json (Hebrew) * New translations messages.json (Finnish) * New translations messages.json (Greek) * New translations messages.json (German) * New translations messages.json (Danish) * New translations messages.json (Czech) * New translations messages.json (Catalan) * New translations messages.json (Arabic) * New translations messages.json (Afrikaans) * New translations messages.json (Spanish) * New translations messages.json (Portuguese, Brazilian) * Done - WorldEdit support with delete-sync feature * New translations messages.json (German) * Mark some point about possibly memory leaking * Mark it * Fix bug in AsyncSendingTask * Patch JulySafeTest unit for new version JulySafe. In newer JulySafe build, showing alert message is useless. QuickShop will unregister listener if module loaded so we don't need modify configuration anymore. * New translations messages.json (Swedish) * Remove JulySafe checks since JS (2.0.5) will check if QuickShop is new version. * Mark as final class * Fix typo * Disable GlobalExceptionFilter * Comment useless laggy code in setOwner * Cleanup * Bump version * Use ArrayBlockingQueue to instead * Fix memory leaking in ShopLoader * Force kill DisplayItem instance when shop unloading * Synchronized start and stop method in AsyncSendingTask, also volatile instance * It should fix memory leak in VirtualDisplayItem * [VirtualDisplayItem] Reduce task amount and making chunkLocation volatile * Remove offline player from packetSenders * Also set adapter to null in unload method to prevent memory leak * Revert "Remove offline player from packetSenders" This reverts commit a023fa38 * Remove useless check * protected Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: sandtechnology Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chris <65610536+Chris6ix@users.noreply.github.com> --- .bettercodehub.yml | 10 + .github/workflows/conflibot.yml | 2 +- .github/workflows/crowdin-merge.yml | 19 + .github/workflows/git-fixup-checks.yml | 12 - .github/workflows/linters-fixme.yml | 11 - pom.xml | 18 +- .../org/maxgamer/quickshop/QuickShop.java | 32 +- .../command/subcommand/SubCommand_Amount.java | 2 +- .../command/subcommand/SubCommand_Backup.java | 4 +- .../command/subcommand/SubCommand_Buy.java | 2 +- .../command/subcommand/SubCommand_Clean.java | 4 +- .../subcommand/SubCommand_CleanGhost.java | 28 +- .../subcommand/SubCommand_Convert.java | 24 +- .../command/subcommand/SubCommand_Create.java | 4 +- .../subcommand/SubCommand_Currency.java | 2 +- .../command/subcommand/SubCommand_Debug.java | 8 +- .../command/subcommand/SubCommand_Empty.java | 2 +- .../subcommand/SubCommand_FetchMessage.java | 2 +- .../command/subcommand/SubCommand_Find.java | 2 +- .../command/subcommand/SubCommand_Help.java | 2 +- .../command/subcommand/SubCommand_Info.java | 2 +- .../command/subcommand/SubCommand_Item.java | 2 +- .../command/subcommand/SubCommand_Paste.java | 14 +- .../command/subcommand/SubCommand_Price.java | 4 +- .../command/subcommand/SubCommand_ROOT.java | 6 +- .../subcommand/SubCommand_Recovery.java | 4 +- .../command/subcommand/SubCommand_Refill.java | 2 +- .../command/subcommand/SubCommand_Reload.java | 6 +- .../command/subcommand/SubCommand_Remove.java | 4 +- .../subcommand/SubCommand_RemoveAll.java | 6 +- .../subcommand/SubCommand_RemoveWorld.java | 6 +- .../command/subcommand/SubCommand_Sell.java | 2 +- .../subcommand/SubCommand_SetOwner.java | 2 +- .../subcommand/SubCommand_SilentBuy.java | 2 +- .../subcommand/SubCommand_SilentEmpty.java | 4 +- .../subcommand/SubCommand_SilentPreview.java | 4 +- .../subcommand/SubCommand_SilentRemove.java | 4 +- .../subcommand/SubCommand_SilentSell.java | 2 +- .../SubCommand_SilentUnlimited.java | 2 +- .../command/subcommand/SubCommand_Size.java | 2 +- .../command/subcommand/SubCommand_Staff.java | 2 +- .../subcommand/SubCommand_SuperCreate.java | 2 +- .../subcommand/SubCommand_Transfer.java | 2 +- .../subcommand/SubCommand_Unlimited.java | 2 +- .../command/subcommand/SubCommand_Update.java | 12 +- .../quickshop/database/DatabaseHelper.java | 1 + .../quickshop/listener/QSListener.java | 2 +- .../listener/worldedit/WorldEditAdapter.java | 58 ++ .../worldedit/WorldEditBlockListener.java | 78 +++ .../quickshop/shop/ContainerShop.java | 94 ++- .../quickshop/shop/RealDisplayItem.java | 11 +- .../org/maxgamer/quickshop/shop/Shop.java | 9 +- .../quickshop/shop/ShopInfoStorage.java | 40 ++ .../maxgamer/quickshop/shop/ShopLoader.java | 55 +- .../quickshop/shop/ShopPersistentData.java | 44 ++ .../shop/ShopPersistentDataType.java | 65 +++ .../quickshop/shop/VirtualDisplayItem.java | 38 +- .../quickshop/util/AsyncPacketSender.java | 28 +- .../maxgamer/quickshop/util/GameVersion.java | 1 - .../org/maxgamer/quickshop/util/MsgUtil.java | 3 + .../util/envcheck/EnvironmentChecker.java | 66 +-- .../reporter/error/RollbarErrorReporter.java | 22 +- src/main/resources/config.yml | 4 +- .../resources/lang-original/messages.json | 5 +- src/main/resources/lang/af-ZA/messages.json | 37 +- src/main/resources/lang/ar-SA/messages.json | 37 +- src/main/resources/lang/ca-ES/messages.json | 37 +- src/main/resources/lang/cs-CZ/messages.json | 37 +- src/main/resources/lang/da-DK/messages.json | 37 +- src/main/resources/lang/de-DE/messages.json | 27 +- src/main/resources/lang/el-GR/messages.json | 37 +- src/main/resources/lang/en-US/messages.json | 15 +- src/main/resources/lang/es-ES/messages.json | 37 +- src/main/resources/lang/fi-FI/messages.json | 37 +- src/main/resources/lang/fr-FR/messages.json | 27 +- src/main/resources/lang/he-IL/messages.json | 37 +- src/main/resources/lang/hu-HU/messages.json | 37 +- src/main/resources/lang/it-IT/messages.json | 37 +- src/main/resources/lang/ja-JP/messages.json | 37 +- src/main/resources/lang/ko-KR/messages.json | 19 +- src/main/resources/lang/nl-NL/messages.json | 37 +- src/main/resources/lang/no-NO/messages.json | 541 +++++++++--------- src/main/resources/lang/pl-PL/messages.json | 25 +- src/main/resources/lang/pt-BR/messages.json | 37 +- src/main/resources/lang/pt-PT/messages.json | 37 +- src/main/resources/lang/ro-RO/messages.json | 37 +- src/main/resources/lang/ru-RU/messages.json | 37 +- src/main/resources/lang/sr-SP/messages.json | 37 +- src/main/resources/lang/sv-SE/messages.json | 31 +- src/main/resources/lang/tr-TR/messages.json | 37 +- src/main/resources/lang/uk-UA/messages.json | 37 +- src/main/resources/lang/vi-VN/messages.json | 37 +- src/main/resources/lang/zh-CN/messages.json | 31 +- src/main/resources/lang/zh-TW/messages.json | 23 +- src/main/resources/plugin.yml | 3 +- 95 files changed, 1413 insertions(+), 1020 deletions(-) create mode 100644 .bettercodehub.yml create mode 100644 .github/workflows/crowdin-merge.yml delete mode 100644 .github/workflows/git-fixup-checks.yml delete mode 100644 .github/workflows/linters-fixme.yml create mode 100644 src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditAdapter.java create mode 100644 src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditBlockListener.java create mode 100644 src/main/java/org/maxgamer/quickshop/shop/ShopInfoStorage.java create mode 100644 src/main/java/org/maxgamer/quickshop/shop/ShopPersistentData.java create mode 100644 src/main/java/org/maxgamer/quickshop/shop/ShopPersistentDataType.java diff --git a/.bettercodehub.yml b/.bettercodehub.yml new file mode 100644 index 000000000..5dbc2c344 --- /dev/null +++ b/.bettercodehub.yml @@ -0,0 +1,10 @@ +component_depth: 100 +languages: +- java +- script +exclude: +- /src/main/resources +- /src/test/ +- /.github +- /.idea +- /lib diff --git a/.github/workflows/conflibot.yml b/.github/workflows/conflibot.yml index 3472a23d5..8dced578c 100644 --- a/.github/workflows/conflibot.yml +++ b/.github/workflows/conflibot.yml @@ -9,7 +9,7 @@ jobs: - name: Warn potential conflicts uses: wktk/conflibot@v1 with: - github-token: ${{ secrets.TOKEN }} + github-token: ${{ github.token }} exclude: | yarn.lock **/*.bin diff --git a/.github/workflows/crowdin-merge.yml b/.github/workflows/crowdin-merge.yml new file mode 100644 index 000000000..ff4310d20 --- /dev/null +++ b/.github/workflows/crowdin-merge.yml @@ -0,0 +1,19 @@ +name: Crowdin Merger +on: + push: + branches: + - "l10n_master" + pull_request: + branches: + - "l10n_master" +jobs: + merge-branch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: everlytic/branch-merge@1.1.0 + with: + github_token: ${{ github.token }} + source_ref: ${{ github.ref }} + target_branch: 'master' + commit_message_template: '[Automated] Merged {source_ref} into target {target_branch}' diff --git a/.github/workflows/git-fixup-checks.yml b/.github/workflows/git-fixup-checks.yml deleted file mode 100644 index d4c2993f5..000000000 --- a/.github/workflows/git-fixup-checks.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Git Checks - -on: [push] - -jobs: - block-fixup: - runs-on: ubuntu-18.04 - - steps: - - uses: actions/checkout@v2.0.0 - - name: Block Fixup Commit Merge - uses: 13rac1/block-fixup-merge-action@v1.1.2 diff --git a/.github/workflows/linters-fixme.yml b/.github/workflows/linters-fixme.yml deleted file mode 100644 index d46b8d775..000000000 --- a/.github/workflows/linters-fixme.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: LintersFixme - -on: [push] - -jobs: - fixmes: - name: FIXME check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: bbugh/action-fixme-check@master diff --git a/pom.xml b/pom.xml index 3eb1bddba..9d7460678 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ QuickShop - 4.0.8.3 + 4.0.8.4 org.maxgamer.quickshop Ghost-chu UTF-8 @@ -58,10 +58,19 @@ + + debug + + ${pluginver}-SNAPSHOT + + deploy + + master ${pluginver}-SNAPSHOT + install true @@ -71,6 +80,7 @@ release ${pluginver} + install @@ -261,7 +271,7 @@ 3.0.0 - install + ${mvn.sign.phrase} sign sign @@ -788,13 +798,13 @@ de.themoep minedown - 1.7.0-SNAPSHOT + 1.7.1-SNAPSHOT compile de.themoep minedown-adventure - 1.7.0-SNAPSHOT + 1.7.1-SNAPSHOT compile diff --git a/src/main/java/org/maxgamer/quickshop/QuickShop.java b/src/main/java/org/maxgamer/quickshop/QuickShop.java index 088c49618..09e0a8e01 100644 --- a/src/main/java/org/maxgamer/quickshop/QuickShop.java +++ b/src/main/java/org/maxgamer/quickshop/QuickShop.java @@ -20,6 +20,7 @@ package org.maxgamer.quickshop; import com.google.common.collect.Lists; +import com.sk89q.worldedit.bukkit.WorldEditPlugin; import lombok.Getter; import lombok.Setter; import me.minebuilders.clearlag.Clearlag; @@ -54,6 +55,7 @@ import org.maxgamer.quickshop.integration.IntegrateStage; import org.maxgamer.quickshop.integration.IntegrationHelper; import org.maxgamer.quickshop.integration.worldguard.WorldGuardIntegration; import org.maxgamer.quickshop.listener.*; +import org.maxgamer.quickshop.listener.worldedit.WorldEditAdapter; import org.maxgamer.quickshop.permission.PermissionManager; import org.maxgamer.quickshop.shop.*; import org.maxgamer.quickshop.util.Timer; @@ -78,6 +80,7 @@ import java.util.Map.Entry; import java.util.logging.Level; import static java.nio.file.StandardCopyOption.REPLACE_EXISTING; + public class QuickShop extends JavaPlugin { /** @@ -248,8 +251,12 @@ public class QuickShop extends JavaPlugin { private ShopControlPanel shopControlPanelManager; @Getter private CalendarWatcher calendarWatcher; - + @Getter private final List timerTaskList = new ArrayList<>(3); + @Getter + private Plugin worldEditPlugin; + @Getter + private WorldEditAdapter worldEditAdapter; @NotNull public static QuickShop getInstance() { @@ -324,6 +331,17 @@ public class QuickShop extends JavaPlugin { getLogger().info("Successfully loaded BlockHub support!"); } } + if (getConfig().getBoolean("plugin.WorldEdit")) { + String nmsVersion = Util.getNMSVersion(); + GameVersion gameVersion = GameVersion.get(nmsVersion); + this.worldEditPlugin = Bukkit.getPluginManager().getPlugin("WorldEdit"); + if (this.worldEditPlugin != null) { + this.worldEditAdapter = new WorldEditAdapter(this, (WorldEditPlugin) this.worldEditPlugin); + this.worldEditAdapter.register(); + getLogger().info("Successfully loaded WorldEdit support!"); + } + } + if (getConfig().getBoolean("plugin.LWC") && Util.isClassAvailable("com.griefcraft.lwc.LWC")) { this.lwcPlugin = Bukkit.getPluginManager().getPlugin("LWC"); if (this.lwcPlugin != null) { @@ -381,7 +399,7 @@ public class QuickShop extends JavaPlugin { EconomyCore core = null; switch (EconomyType.fromID(getConfig().getInt("economy-type"))) { case UNKNOWN: - setupBootError(new BootError(this.getLogger(), "Can't load the Economy provider, invaild value in config.yml.")); + setupBootError(new BootError(this.getLogger(), "Can't load the Economy provider, invaild value in config.yml.")); return false; case VAULT: core = new Economy_Vault(this); @@ -558,6 +576,10 @@ public class QuickShop extends JavaPlugin { } } catch (Exception ignored) { } + Util.debugLog("Unregister hooks..."); + if (worldEditAdapter != null) { + worldEditAdapter.unregister(); + } // this.reloadConfig(); Util.debugLog("Calling integrations..."); @@ -1758,6 +1780,12 @@ public class QuickShop extends JavaPlugin { getConfig().set("config-version", ++selectedVersion); } + if (selectedVersion == 130) { + getConfig().set("plugin.WorldEdit", true); + getConfig().set("config-version", ++selectedVersion); + } + + if (getConfig().getInt("matcher.work-type") != 0 && GameVersion.get(ReflectFactory.getServerVersion()).name().contains("1_16")) { getLogger().warning("You are not using QS Matcher, it may meeting item comparing issue mentioned there: https://hub.spigotmc.org/jira/browse/SPIGOT-5063"); } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Amount.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Amount.java index a718e7618..8ecce62d3 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Amount.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Amount.java @@ -44,7 +44,7 @@ public class SubCommand_Amount implements CommandProcesser { } if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "This command can't be run by console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Backup.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Backup.java index c1db50595..83814387d 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Backup.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Backup.java @@ -36,9 +36,9 @@ public class SubCommand_Backup implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (Util.backupDatabase()) { - MsgUtil.sendMessage(sender, "Backup successfully"); + MsgUtil.sendMessage(sender, "Backup successful!"); } else { - MsgUtil.sendMessage(sender, "Backup failed"); + MsgUtil.sendMessage(sender, "Backup failed!"); } } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Buy.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Buy.java index a9ac2f8a6..194276fd0 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Buy.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Buy.java @@ -42,7 +42,7 @@ public class SubCommand_Buy implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Can't run command by Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Clean.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Clean.java index 244d02ca3..5f0c51ef0 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Clean.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Clean.java @@ -41,7 +41,7 @@ public class SubCommand_Clean implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (sender instanceof Server) { - MsgUtil.sendMessage(sender, "Can't run this command by Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } @@ -71,7 +71,7 @@ public class SubCommand_Clean implements CommandProcesser { } for (Shop shop : pendingRemoval) { - plugin.log("Deleting shop " + shop + " request by /qs clean command."); + plugin.log("Deleting shop " + shop + " as requested by the /qs clean command."); shop.delete(); } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java index 2fcfc56e7..c6b918336 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java @@ -41,14 +41,14 @@ public class SubCommand_CleanGhost implements CommandProcesser { if (cmdArg.length < 1) { MsgUtil.sendMessage(sender, ChatColor.YELLOW - + "This command will purge all data damaged shop, create in disallow world shop, create disallow sell items shop and IN NOT LOADED WORLD SHOPS, make sure you have backup your shops data, and use /qs cleanghost confirm to continue."); + + "This command will purge all shops that: have corrupted data / are created in disallowed or unloaded worlds / trade with blacklisted items! Please make sure you have a backup of your shops data! Use /qs cleanghost to confirm the purge."); return; } if (!"confirm".equalsIgnoreCase(cmdArg[0])) { MsgUtil.sendMessage(sender, ChatColor.YELLOW - + "This command will purge all data damaged shop, create in disallow world shop, create disallow sell items shop and IN NOT LOADED WORLD SHOPS, make sure you have backup your shops data, and use /qs cleanghost confirm to continue."); + + "This command will purge all shops that: have corrupted data / are created in disallowed or unloaded worlds / trade with blacklisted items! Please make sure you have a backup of your shops data! Use /qs cleanghost to confirm the purge."); return; } @@ -57,7 +57,7 @@ public class SubCommand_CleanGhost implements CommandProcesser { + "Starting checking the shop be ghost, all does not exist shop will be removed..."); plugin.getServer().getScheduler().runTaskAsynchronously(plugin, () -> { - MsgUtil.sendMessage(sender, ChatColor.GREEN + "Async thread is started, please wait..."); + MsgUtil.sendMessage(sender, ChatColor.GREEN + "Starting async thread, please wait..."); Util.backupDatabase(); // Already warn the user, don't care about backup result. for (Shop shop : plugin.getShopLoader().getShopsInDatabase()) { MsgUtil.sendMessage(sender, @@ -77,44 +77,44 @@ public class SubCommand_CleanGhost implements CommandProcesser { }*/ if (shop.getItem().getType() == Material.AIR) { MsgUtil.sendMessage(sender, - ChatColor.YELLOW + "Shop " + shop + " removing cause item data is damaged."); - plugin.log("Deleting shop " + shop + " request by /qs cleanghost command."); + ChatColor.YELLOW + "Deleting shop " + shop + " because of corrupted item data."); + plugin.log("Deleting shop " + shop + " as requested by the /qs cleanghost command."); Util.mainThreadRun(shop::delete); continue; } /* shop.getLocation() is a constant that has NotNull annotations so. if (shop.getLocation() == null) { - MsgUtil.sendMessage(sender,ChatColor.YELLOW + "Shop " + shop + " removing cause location data is damaged."); + MsgUtil.sendMessage(sender,ChatColor.YELLOW + "Deleting shop " + shop + " because of corrupted location data."); shop.delete(); continue; }*/ if (shop.getLocation().getWorld() == null) { MsgUtil.sendMessage(sender, - ChatColor.YELLOW + "Shop " + shop + " removing cause target world not loaded."); + ChatColor.YELLOW + "Deleting shop " + shop + " because the its world is not loaded."); Util.mainThreadRun(shop::delete); - plugin.log("Deleting shop " + shop + " request by /qs cleanghost command."); + plugin.log("Deleting shop " + shop + " as requested by the /qs cleanghost command."); continue; } //noinspection ConstantConditions if (shop.getOwner() == null) { MsgUtil.sendMessage(sender, - ChatColor.YELLOW + "Shop " + shop + " removing cause owner data is damaged."); + ChatColor.YELLOW + "Deleting shop " + shop + " because of corrupted owner data."); Util.mainThreadRun(shop::delete); - plugin.log("Deleting shop " + shop + " request by /qs cleanghost command."); + plugin.log("Deleting shop " + shop + " as requested by the /qs cleanghost command."); continue; } // Shop exist check Util.mainThreadRun(() -> { Util.debugLog( - "Posted to main server thread to continue access Bukkit API for shop " + "Posted to main server thread to continue accessing Bukkit API for shop " + shop); if (!Util.canBeShop(shop.getLocation().getBlock())) { MsgUtil.sendMessage(sender, ChatColor.YELLOW - + "Shop " + + "Deleting shop " + shop - + " removing cause target location nolonger is a shop or disallow create the shop."); + + " because the target location is nolonger a shop or disallow create the shop."); shop.delete(); } }); // Post to server main thread to check. @@ -124,7 +124,7 @@ public class SubCommand_CleanGhost implements CommandProcesser { Thread.interrupted(); } } - MsgUtil.sendMessage(sender, ChatColor.GREEN + "All shops completed checks."); + MsgUtil.sendMessage(sender, ChatColor.GREEN + "All shops have been checked!"); }); } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java index 8db7b2d51..bee5c775b 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java @@ -61,20 +61,20 @@ public class SubCommand_Convert implements CommandProcesser { @Override public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (sender instanceof Player) { - sender.sendMessage(ChatColor.RED + "Danger command, please execute in console."); + sender.sendMessage(ChatColor.RED + "Executing this command can be dangerous! Please execute it in the console."); return; } if (cmdArg.length == 0) { - sender.sendMessage(ChatColor.RED + "Please select you want convert to: mysql or sqlite"); + sender.sendMessage(ChatColor.RED + "Please select what you want convert to: mysql or sqlite"); return; } if (running) { - sender.sendMessage(ChatColor.RED + "Convert command is running,Please wait until it finished!"); + sender.sendMessage(ChatColor.RED + "Conversion is already running! Please wait until it has finished!"); return; } if (cmdArg[0].equalsIgnoreCase("mysql")) { if (plugin.getDatabaseManager().getDatabase() instanceof MySQLCore) { - sender.sendMessage(ChatColor.RED + "Please switch to SQLite before converting to MySQL."); + sender.sendMessage(ChatColor.RED + "Your database is already in MySQL!"); return; } ConfigurationSection dbCfg = plugin.getConfig().getConfigurationSection("database"); @@ -92,17 +92,17 @@ public class SubCommand_Convert implements CommandProcesser { sender.sendMessage(ChatColor.GREEN + "Converting..."); transferShops(new DatabaseHelper(plugin, databaseManager), sender); databaseManager.unInit(); - sender.sendMessage(ChatColor.GREEN + "All done, please edit config.yml to mysql to apply changes."); + sender.sendMessage(ChatColor.GREEN + "All done, please change your config.yml settings to mysql to apply the changes."); } catch (Exception e) { - sender.sendMessage(ChatColor.RED + "Error when converting database, Please check your console."); - plugin.getServer().getLogger().log(Level.SEVERE, "Error when converting database", e); + sender.sendMessage(ChatColor.RED + "Error in database conversion! Please check your console."); + plugin.getServer().getLogger().log(Level.SEVERE, "Error in database conversion", e); } finally { running = false; } }); } else if (cmdArg[0].equalsIgnoreCase("sqlite")) { if (plugin.getDatabaseManager().getDatabase() instanceof SQLiteCore) { - sender.sendMessage(ChatColor.GREEN + "Please switch to MySQL before converting to SQLite."); + sender.sendMessage(ChatColor.GREEN + "Your database is already in SQLite!"); return; } running = true; @@ -113,17 +113,17 @@ public class SubCommand_Convert implements CommandProcesser { sender.sendMessage(ChatColor.GREEN + "Converting..."); transferShops(new DatabaseHelper(plugin, databaseManager), sender); databaseManager.unInit(); - sender.sendMessage(ChatColor.GREEN + "All done, please edit config.yml to sqlite to apply changes."); + sender.sendMessage(ChatColor.GREEN + "All done, please change your config.yml settings to sqlite to apply the changes."); } catch (Exception e) { - sender.sendMessage(ChatColor.RED + "Error when converting database, Please check your console."); - plugin.getServer().getLogger().log(Level.SEVERE, "Error when converting database", e); + sender.sendMessage(ChatColor.RED + "Error in database conversion! Please check your console."); + plugin.getServer().getLogger().log(Level.SEVERE, "Error in database conversion", e); } finally { running = false; } }); } else { - sender.sendMessage(ChatColor.RED + "Wrong type! Only can be mysql or sqlite"); + sender.sendMessage(ChatColor.RED + "Invalid type! Please choose mysql or sqlite"); } } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Create.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Create.java index bda2d0df5..f95aa2ee2 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Create.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Create.java @@ -76,7 +76,7 @@ public class SubCommand_Create implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "This command can't be run by console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } @@ -128,7 +128,7 @@ public class SubCommand_Create implements CommandProcesser { Result result = plugin.getPermissionChecker().canBuild(p, b); if (!result.isSuccess()) { MsgUtil.sendMessage(p, MsgUtil.getMessage("3rd-plugin-build-check-failed", p, result.getMessage())); - Util.debugLog("Failed to create shop because protection check failed, found:" + result.getMessage()); + Util.debugLog("Failed to create shop because the protection check has failed! Reason:" + result.getMessage()); return; } } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Currency.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Currency.java index a48b53abe..9f9e2a2e4 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Currency.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Currency.java @@ -44,7 +44,7 @@ public class SubCommand_Currency implements CommandProcesser { @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "This command can't be run by console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Debug.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Debug.java index 918f9d943..2436afb48 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Debug.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Debug.java @@ -62,7 +62,7 @@ public class SubCommand_Debug implements CommandProcesser { break; case "handlerlist": if (cmdArg.length < 2) { - MsgUtil.sendMessage(sender, "You must given a event class"); + MsgUtil.sendMessage(sender, "You must enter an event class"); break; } @@ -97,13 +97,13 @@ public class SubCommand_Debug implements CommandProcesser { final Block b = bIt.next(); final Shop shop = plugin.getShopManager().getShop(b.getLocation()); if (shop != null) { - shop.getSigns().forEach(sign -> MsgUtil.sendMessage(sender, ChatColor.GREEN + "Sign founded at: " + sign.getLocation())); + shop.getSigns().forEach(sign -> MsgUtil.sendMessage(sender, ChatColor.GREEN + "Sign located at: " + sign.getLocation())); break; } } break; default: - MsgUtil.sendMessage(sender, "Error, no correct args given."); + MsgUtil.sendMessage(sender, "Error! No correct arguments were entered!."); break; } } @@ -152,7 +152,7 @@ public class SubCommand_Debug implements CommandProcesser { } } catch (Exception th) { MsgUtil.sendMessage(sender, "ERR " + th.getMessage()); - plugin.getLogger().log(Level.WARNING, "Something going wrong when getting HandlerList", th); + plugin.getLogger().log(Level.WARNING, "An error has occurred while getting the HandlerList", th); } } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Empty.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Empty.java index deb805c55..b6fa349f8 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Empty.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Empty.java @@ -42,7 +42,7 @@ public class SubCommand_Empty implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Can't run this command from Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_FetchMessage.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_FetchMessage.java index 4e1f8598b..57f75325a 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_FetchMessage.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_FetchMessage.java @@ -39,7 +39,7 @@ public class SubCommand_FetchMessage implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, ChatColor.RED + "Only players may use that command."); + MsgUtil.sendMessage(sender, ChatColor.RED + "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Find.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Find.java index 7f5889823..d8c09e435 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Find.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Find.java @@ -45,7 +45,7 @@ public class SubCommand_Find implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Only player can run this command"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Help.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Help.java index b8e1e4ddb..6284379e3 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Help.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Help.java @@ -57,7 +57,7 @@ public class SubCommand_Help implements CommandProcesser { if (container.getDescription() != null) { commandDesc = container.getDescription(); if (commandDesc == null) { - commandDesc = "Error: Subcommand " + container.getPrefix() + " # " + container.getClass().getCanonicalName() + " not register the correct help description."; + commandDesc = "Error: Subcommand " + container.getPrefix() + " # " + container.getClass().getCanonicalName() + " doesn't register the correct help description."; } } if (!container.isDisabled()) { diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java index d87170170..bc85214f9 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java @@ -93,7 +93,7 @@ public class SubCommand_Info implements CommandProcesser { + doubles + " double shops. (" + doubleschests - + " shops create on double chest.)"); + + " shops created on double chest.)"); MsgUtil.sendMessage(sender, ChatColor.GREEN + "" diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Item.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Item.java index 9f0f73ed6..f92fbc196 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Item.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Item.java @@ -40,7 +40,7 @@ public class SubCommand_Item implements CommandProcesser { @Override public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Can't run command by Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } final BlockIterator bIt = new BlockIterator((Player) sender, 10); diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Paste.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Paste.java index b01eccc6a..1d274f079 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Paste.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Paste.java @@ -46,11 +46,11 @@ public class SubCommand_Paste implements CommandProcesser { plugin.getServer().getScheduler().runTaskAsynchronously(plugin, () -> { if (plugin.getServer().getPluginManager().getPlugin("ConsoleSpamFix") != null) { if (cmdArg.length < 1) { - sender.sendMessage("Warning: ConsoleSpamFix installed! Please disable it before reporting any errors!"); + sender.sendMessage("Warning: ConsoleSpamFix is installed! Please disable it before reporting any errors!"); return; } else { if (Arrays.stream(cmdArg).noneMatch(str -> str.contains("--force"))) { - sender.sendMessage("Warning: ConsoleSpamFix installed! Please disable it before reporting any errors!"); + sender.sendMessage("Warning: ConsoleSpamFix is installed! Please disable it before reporting any errors!"); return; } } @@ -60,9 +60,9 @@ public class SubCommand_Paste implements CommandProcesser { pasteToLocalFile(sender); return; } - sender.sendMessage("§aPlease wait, we're uploading the data to the pastebin..."); + sender.sendMessage("§aPlease wait, QS is uploading the data to pastebin..."); if (!pasteToPastebin(sender)) { - sender.sendMessage("The paste failed, saving the paste at local location..."); + sender.sendMessage("The paste upload has failed! Saving the paste locally..."); pasteToLocalFile(sender); } }); @@ -93,12 +93,12 @@ public class SubCommand_Paste implements CommandProcesser { fwriter.write(pasteText); fwriter.flush(); } - sender.sendMessage("Paste was saved to your server at: " + file.getAbsolutePath()); + sender.sendMessage("The paste was saved to " + file.getAbsolutePath()); return true; } catch (IOException e) { plugin.getSentryErrorReporter().ignoreThrow(); - plugin.getLogger().log(Level.WARNING, "Failed to save paste to your local drive, the content will print to Console", e); - sender.sendMessage("Saving failed, output to console..."); + plugin.getLogger().log(Level.WARNING, "Failed to save paste locally! The content will be send to the console", e); + sender.sendMessage("Paste save failed! Sending paste to the console..."); plugin.getLogger().info(pasteText); return false; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Price.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Price.java index 87de7b3f4..64751a445 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Price.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Price.java @@ -46,7 +46,7 @@ public class SubCommand_Price implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Can't run this command by Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } @@ -179,7 +179,7 @@ public class SubCommand_Price implements CommandProcesser { .getLogger() .log( Level.WARNING, - "QuickShop can't pay tax to the account in config.yml, please set the tax account name to an existing player!"); + "QuickShop can't pay taxes to the configured tax account! Please set the tax account name in the config.yml to an existing player!"); } } // Update the shop diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_ROOT.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_ROOT.java index ea020548d..3c0844ede 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_ROOT.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_ROOT.java @@ -62,11 +62,11 @@ public class SubCommand_ROOT implements CommandProcesser { && !requirePermission.isEmpty() && !QuickShop.getPermissionManager().hasPermission(sender, requirePermission)) { Util.debugLog( - "Sender " + "Player " + sender.getName() - + " trying tab-complete the command: " + + " is trying to tab-complete the command: " + commandLabel - + ", but no permission " + + ", but doesn't have the permission: " + requirePermission); return Collections.emptyList(); } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Recovery.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Recovery.java index fabf72bb5..9d1e65a84 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Recovery.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Recovery.java @@ -44,7 +44,7 @@ public class SubCommand_Recovery implements CommandProcesser { } File file = new File(plugin.getDataFolder(), "recovery.txt"); if (!file.exists()) { - MsgUtil.sendMessage(sender, "recovery.txt not exist, do not execute this command unless you know what are you doing."); + MsgUtil.sendMessage(sender, "recovery.txt doesn't exist! Do not execute this command unless you know what are you doing."); return; } plugin.getServer().getScheduler().runTaskAsynchronously(plugin, () -> { @@ -52,7 +52,7 @@ public class SubCommand_Recovery implements CommandProcesser { Util.backupDatabase(); plugin.getShopLoader().recoverFromFile(Util.readToString(file)); } catch (Exception e) { - plugin.getLogger().log(Level.WARNING, "Failed to recovery data cause something going wrong", e); + plugin.getLogger().log(Level.WARNING, "Failed to recover the data because of the following error:", e); } }); diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Refill.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Refill.java index d23e0de49..40588cd6d 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Refill.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Refill.java @@ -44,7 +44,7 @@ public class SubCommand_Refill implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Can't run by Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java index 1b31fd2b5..7de96d6fa 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Reload.java @@ -49,17 +49,17 @@ public class SubCommand_Reload implements CommandProcesser { File file = Paths.get(plugin.getClass().getProtectionDomain().getCodeSource().getLocation().toURI()).toFile(); Throwable throwable = PluginUtil.unload(plugin); if (throwable != null) { - throw new RuntimeException("Failed to reload plugin, considering restart the server. (Unload plugin failed)", throwable); + throw new RuntimeException("Failed to reload QuickShop! Please consider restarting the server. (Plugin unloading has failed)", throwable); } Plugin plugin = pluginManager.loadPlugin(file); if (plugin != null) { plugin.onLoad(); pluginManager.enablePlugin(plugin); } else { - throw new RuntimeException("Failed to reload plugin, considering restart the server. (Load plugin failed)"); + throw new RuntimeException("Failed to reload QuickShop! Please consider restarting the server. (Plugin loading has failed)"); } } catch (URISyntaxException | InvalidDescriptionException | InvalidPluginException e) { - throw new RuntimeException("Failed to reload plugin, considering restart the server.", e); + throw new RuntimeException("Failed to reload QuickShop! Please consider restarting the server.", e); } } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Remove.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Remove.java index 8e191860b..52dcf3fa1 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Remove.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Remove.java @@ -40,7 +40,7 @@ public class SubCommand_Remove implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, ChatColor.RED + "Only players may use that command."); + MsgUtil.sendMessage(sender, ChatColor.RED + "This command can't be run by the console!"); return; } @@ -64,7 +64,7 @@ public class SubCommand_Remove implements CommandProcesser { || QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.destroy")) { //shop.onUnload(); shop.delete(); - plugin.log("Deleting shop " + shop + " request by /qs remove command."); + plugin.log("Deleting shop " + shop + " as requested by the /qs remove command."); } else { MsgUtil.sendMessage(sender, ChatColor.RED + MsgUtil.getMessage("no-permission", sender)); } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveAll.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveAll.java index 7161ebd7a..be475c2f8 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveAll.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveAll.java @@ -66,7 +66,7 @@ public class SubCommand_RemoveAll implements CommandProcesser { } for (Shop shop : tempList) { if (shop.getOwner().equals(shopOwner.getUniqueId())) { - plugin.log("Deleting shop " + shop + " request by /qs removeall command."); + plugin.log("Deleting shop " + shop + " as requested by the /qs removeall command."); shop.delete(); i++; } @@ -77,12 +77,12 @@ public class SubCommand_RemoveAll implements CommandProcesser { return; } if (!(sender instanceof OfflinePlayer)) { - sender.sendMessage(ChatColor.RED + "This command only can execute by player"); + sender.sendMessage(ChatColor.RED + "This command can't be run by the console!"); return; } for (Shop shop : tempList) { if (shop.getOwner().equals(((OfflinePlayer) sender).getUniqueId())) { - plugin.log("Deleting shop " + shop + " request by /qs removeall command."); + plugin.log("Deleting shop " + shop + " as requested by the /qs removeall command."); shop.delete(); i++; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveWorld.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveWorld.java index a02e51e9b..26f0c7285 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveWorld.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_RemoveWorld.java @@ -54,11 +54,11 @@ public class SubCommand_RemoveWorld implements CommandProcesser { shopsDeleted++; } } - Util.debugLog("Successfully delete all shops in world " + cmdArg[0]); + Util.debugLog("Successfully deleted all shops in world " + cmdArg[0] + "!"); MsgUtil.sendMessage(sender, MsgUtil.getMessage("shops-removed-in-world", sender, String.valueOf(shopsDeleted), world.getName())); // if (!(sender instanceof Player)) { -// MsgUtil.sendMessage(sender, ChatColor.RED + "Only players may use that command."); +// MsgUtil.sendMessage(sender, ChatColor.RED + "This command can't be run by the console!"); // return; // } // @@ -82,7 +82,7 @@ public class SubCommand_RemoveWorld implements CommandProcesser { // || QuickShop.getPermissionManager().hasPermission(p, "quickshop.other.destroy")) { // //shop.onUnload(); // shop.delete(); -// plugin.log("Deleting shop " + shop + " request by /qs remove command."); +// plugin.log("Deleting shop " + shop + " as requested by the /qs remove command."); // } else { // MsgUtil.sendMessage(sender, ChatColor.RED + MsgUtil.getMessage("no-permission", sender)); // } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Sell.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Sell.java index db23fc56c..cbe127c87 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Sell.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Sell.java @@ -42,7 +42,7 @@ public class SubCommand_Sell implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Can't run command by Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SetOwner.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SetOwner.java index c00203b1f..77e0b5225 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SetOwner.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SetOwner.java @@ -45,7 +45,7 @@ public class SubCommand_SetOwner implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Only player can run this command"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentBuy.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentBuy.java index a633735a6..74f1a8e7a 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentBuy.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentBuy.java @@ -41,7 +41,7 @@ public class SubCommand_SilentBuy implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (cmdArg.length < 1) { - Util.debugLog("Exception on command, cancel."); + Util.debugLog("Exception on command! Canceling!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentEmpty.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentEmpty.java index 6dac65363..22b5180b3 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentEmpty.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentEmpty.java @@ -41,13 +41,13 @@ public class SubCommand_SilentEmpty implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (cmdArg.length < 1) { - Util.debugLog("Exception on command, cancel."); + Util.debugLog("Exception on command! Canceling!"); return; } Shop shop = plugin.getShopManager().getShopFromRuntimeRandomUniqueId(UUID.fromString(cmdArg[0])); // if (cmdArg.length < 1) { -// Util.debugLog("Exception on command, cancel."); +// Util.debugLog("Exception on command! Canceling!"); // return; // } // diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentPreview.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentPreview.java index 47652b11c..aef8c9b40 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentPreview.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentPreview.java @@ -41,12 +41,12 @@ public class SubCommand_SilentPreview implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Can't run this command from Console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } if (cmdArg.length < 1) { - Util.debugLog("Exception on command, cancel."); + Util.debugLog("Exception on command! Canceling!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentRemove.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentRemove.java index 53499da9c..dde0ea864 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentRemove.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentRemove.java @@ -42,7 +42,7 @@ public class SubCommand_SilentRemove implements CommandProcesser { @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (cmdArg.length < 1) { - Util.debugLog("Exception on command, cancel."); + Util.debugLog("Exception on command! Canceling!"); return; } @@ -61,7 +61,7 @@ public class SubCommand_SilentRemove implements CommandProcesser { } //shop.onUnload(); - plugin.log("Deleting shop " + shop + " request by /qs silentremove (control panel) command."); + plugin.log("Deleting shop " + shop + " as requested by the /qs silentremove command from the control panel."); shop.delete(); } } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentSell.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentSell.java index ebf9d4c9a..ff4edb7d7 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentSell.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentSell.java @@ -42,7 +42,7 @@ public class SubCommand_SilentSell implements CommandProcesser { @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (cmdArg.length < 1) { - Util.debugLog("Exception on command, cancel."); + Util.debugLog("Exception on command! Canceling!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java index 8b24bf922..1e2f58cde 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SilentUnlimited.java @@ -39,7 +39,7 @@ public class SubCommand_SilentUnlimited implements CommandProcesser { @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (cmdArg.length < 1) { - Util.debugLog("Exception on command, cancel."); + Util.debugLog("Exception on command! Canceling!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Size.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Size.java index 2d113f81e..a45f459d7 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Size.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Size.java @@ -42,7 +42,7 @@ public class SubCommand_Size implements CommandProcesser { @Override public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "This command can't be run by console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } if (cmdArg.length < 1) { diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Staff.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Staff.java index 79d28b4c2..d4ab74bca 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Staff.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Staff.java @@ -50,7 +50,7 @@ public class SubCommand_Staff implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Only player can execute this command."); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SuperCreate.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SuperCreate.java index adc2a4c23..b5b4460f6 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SuperCreate.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_SuperCreate.java @@ -47,7 +47,7 @@ public class SubCommand_SuperCreate implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "This command can't be run by console"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java index e7152d278..b8d46dce2 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Transfer.java @@ -47,7 +47,7 @@ public class SubCommand_Transfer implements CommandProcesser { public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (cmdArg.length == 1) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Only player can run this command"); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } //noinspection deprecation diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java index cb6a021e6..a7cc80f0a 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Unlimited.java @@ -39,7 +39,7 @@ public class SubCommand_Unlimited implements CommandProcesser { public void onCommand( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { if (!(sender instanceof Player)) { - MsgUtil.sendMessage(sender, "Only player can run this command."); + MsgUtil.sendMessage(sender, "This command can't be run by the console!"); return; } diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java index 864209f44..504fe455f 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Update.java @@ -41,25 +41,25 @@ public class SubCommand_Update implements CommandProcesser { MsgUtil.sendMessage(sender, ChatColor.YELLOW + "Checking for updates..."); if (plugin.getUpdateWatcher() == null) { - MsgUtil.sendMessage(sender, ChatColor.RED + "Updater seems has been disabled"); + MsgUtil.sendMessage(sender, ChatColor.RED + "It seems like the Updater has been disabled."); return; } if (plugin.getUpdateWatcher().getUpdater().isLatest(plugin.getUpdateWatcher().getUpdater().getCurrentRunning())) { - MsgUtil.sendMessage(sender, ChatColor.GREEN + "No updates can update now."); + MsgUtil.sendMessage(sender, ChatColor.GREEN + "You're running the latest version!."); return; } - MsgUtil.sendMessage(sender, ChatColor.YELLOW + "Downloading update, this may need a while..."); + MsgUtil.sendMessage(sender, ChatColor.YELLOW + "Downloading update! This may take a while..."); //final byte[] pluginBin; try { plugin.getUpdateWatcher().getUpdater().install(plugin.getUpdateWatcher().getUpdater().update(plugin.getUpdateWatcher().getUpdater().getCurrentRunning())); } catch (Exception e) { - MsgUtil.sendMessage(sender, ChatColor.RED + "Update failed, get details to look the console."); + MsgUtil.sendMessage(sender, ChatColor.RED + "Update failed! Please check your console for more information."); plugin.getSentryErrorReporter().ignoreThrow(); - plugin.getLogger().log(Level.WARNING, "Failed to update QuickShop cause something going wrong", e); + plugin.getLogger().log(Level.WARNING, "Failed to update QuickShop because of the following error:", e); return; } @@ -78,7 +78,7 @@ public class SubCommand_Update implements CommandProcesser { // } MsgUtil.sendMessage(sender, - ChatColor.GREEN + "Successfully, restart your server to apply the changes!"); + ChatColor.GREEN + "Successful! Please restart your server to apply the updated version!"); }); } diff --git a/src/main/java/org/maxgamer/quickshop/database/DatabaseHelper.java b/src/main/java/org/maxgamer/quickshop/database/DatabaseHelper.java index 20596dc2a..5171b1290 100644 --- a/src/main/java/org/maxgamer/quickshop/database/DatabaseHelper.java +++ b/src/main/java/org/maxgamer/quickshop/database/DatabaseHelper.java @@ -198,6 +198,7 @@ public class DatabaseHelper { } public void removeShop(Shop shop) { + plugin.getShopLoader().removeShopFromShopLoader(shop); plugin.log("[DATABASE HELPER] Removing shop in the database: " + shop.toString()); if (plugin.getConfig().getBoolean("debug.shop-deletion")) { for (StackTraceElement stackTraceElement : new Exception().getStackTrace()) { diff --git a/src/main/java/org/maxgamer/quickshop/listener/QSListener.java b/src/main/java/org/maxgamer/quickshop/listener/QSListener.java index a0ed032bf..a5a71c92f 100644 --- a/src/main/java/org/maxgamer/quickshop/listener/QSListener.java +++ b/src/main/java/org/maxgamer/quickshop/listener/QSListener.java @@ -23,7 +23,7 @@ import org.bukkit.event.Listener; import org.maxgamer.quickshop.QuickShop; public abstract class QSListener implements Listener { - final QuickShop plugin; + protected final QuickShop plugin; public QSListener(QuickShop plugin) { this.plugin = plugin; diff --git a/src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditAdapter.java b/src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditAdapter.java new file mode 100644 index 000000000..af1876a5a --- /dev/null +++ b/src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditAdapter.java @@ -0,0 +1,58 @@ +/* + * This file is a part of project QuickShop, the name is WorldEditAdapter.java + * Copyright (C) PotatoCraft Studio and contributors + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + +package org.maxgamer.quickshop.listener.worldedit; + +import com.sk89q.worldedit.EditSession; +import com.sk89q.worldedit.bukkit.WorldEditPlugin; +import com.sk89q.worldedit.event.extent.EditSessionEvent; +import com.sk89q.worldedit.extension.platform.Actor; +import com.sk89q.worldedit.util.eventbus.EventHandler; +import com.sk89q.worldedit.util.eventbus.Subscribe; +import com.sk89q.worldedit.world.World; +import org.maxgamer.quickshop.QuickShop; +import org.maxgamer.quickshop.listener.QSListener; + +public class WorldEditAdapter extends QSListener { + private final WorldEditPlugin weBukkit; + + public WorldEditAdapter(QuickShop plugin, WorldEditPlugin weBukkit) { + super(plugin); + this.weBukkit = weBukkit; + } + + public void register() { + weBukkit.getWorldEdit().getEventBus().register(this); + } + + public void unregister() { + weBukkit.getWorldEdit().getEventBus().unregister(this); + } + + @Subscribe(priority = EventHandler.Priority.NORMAL) + public void proxyEditSession(EditSessionEvent event) { + Actor actor = event.getActor(); + World world = event.getWorld(); + if (actor != null && event.getStage() == EditSession.Stage.BEFORE_CHANGE) { + event.setExtent(new WorldEditBlockListener(actor, world, event.getExtent(), plugin)); + } + } + + +} diff --git a/src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditBlockListener.java b/src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditBlockListener.java new file mode 100644 index 000000000..ab7283cfe --- /dev/null +++ b/src/main/java/org/maxgamer/quickshop/listener/worldedit/WorldEditBlockListener.java @@ -0,0 +1,78 @@ +/* + * This file is a part of project QuickShop, the name is WorldEditBlockListener.java + * Copyright (C) PotatoCraft Studio and contributors + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + +package org.maxgamer.quickshop.listener.worldedit; + +import com.sk89q.worldedit.WorldEditException; +import com.sk89q.worldedit.bukkit.BukkitWorld; +import com.sk89q.worldedit.extension.platform.Actor; +import com.sk89q.worldedit.extent.AbstractDelegateExtent; +import com.sk89q.worldedit.extent.Extent; +import com.sk89q.worldedit.math.BlockVector3; +import com.sk89q.worldedit.world.World; +import com.sk89q.worldedit.world.block.BlockState; +import com.sk89q.worldedit.world.block.BlockStateHolder; +import org.bukkit.Location; +import org.maxgamer.quickshop.QuickShop; +import org.maxgamer.quickshop.shop.Shop; +import org.maxgamer.quickshop.util.Util; + +/** + * Proxy class to handle WorldEdit actions + */ +public class WorldEditBlockListener extends AbstractDelegateExtent { + private final Actor actor; + private final World world; + private final Extent extent; + private final QuickShop plugin; + + // Same Package access + WorldEditBlockListener(Actor actor, World world, Extent originalExtent, QuickShop plugin) { + super(originalExtent); + this.actor = actor; + this.world = world; + this.extent = originalExtent; + this.plugin = plugin; + } + + @Override + public > boolean setBlock(final BlockVector3 position, final T block) throws WorldEditException { + if (!(this.world instanceof BukkitWorld)) { + return super.setBlock(position, block); + } + org.bukkit.World world = ((BukkitWorld) this.world).getWorld(); + BlockState oldBlock = extent.getBlock(position); + BlockState newBlock = block.toImmutableState(); + + Location location = new Location(world, position.getBlockX(), position.getBlockY(), position.getBlockZ()); + + if (extent.setBlock(position, block)) { + // Block Changed + if (oldBlock.getBlockType().getMaterial().hasContainer() && !newBlock.getBlockType().getMaterial().hasContainer()) { + Shop shop = plugin.getShopManager().getShop(location, true); // Because WorldEdit can only remove half of shop, so we can keep another half as shop if it is doublechest shop. + if (shop != null) { + plugin.getLogger().info("Removing shop at " + location + " because removed by WorldEdit."); + plugin.log("Deleting shop " + shop + " as requested by the WorldEdit support."); + Util.mainThreadRun(shop::delete); + } + } + } + return super.setBlock(position, block); + } +} diff --git a/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java b/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java index 2ab679acd..21d56a236 100644 --- a/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java +++ b/src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java @@ -158,13 +158,11 @@ public class ContainerShop implements Shop { this.extra = extra; initDisplayItem(); this.dirty = false; - //version = dataMap != null ? Integer.parseInt(String.valueOf(dataMap.getOrDefault("version", 0))) : 0; } private void initDisplayItem() { Util.ensureThread(false); if (plugin.isDisplay()) { - switch (DisplayItem.getNowUsing()) { case UNKNOWN: Util.debugLog( @@ -174,19 +172,12 @@ public class ContainerShop implements Shop { case REALITEM: this.displayItem = new RealDisplayItem(this); break; -// case ARMORSTAND: -// this.displayItem = new ArmorStandDisplayItem(this); -// break; case VIRTUALITEM: try { - if (!GameVersion.get(ReflectFactory.getServerVersion()) - .isVirtualDisplaySupports()) { - throw new IllegalStateException( - "Version not supports Virtual DisplayItem."); + if (!GameVersion.get(ReflectFactory.getServerVersion()).isVirtualDisplaySupports()) { + throw new IllegalStateException("Version not supports Virtual DisplayItem."); } this.displayItem = new VirtualDisplayItem(this); - - //Catch everything } catch (Throwable e) { Util.debugLog(e.getMessage()); MsgUtil.debugStackTrace(e.getStackTrace()); @@ -194,9 +185,7 @@ public class ContainerShop implements Shop { plugin.saveConfig(); this.displayItem = new RealDisplayItem(this); //do not throw - plugin.getLogger().log(Level.SEVERE, - "Failed to initialize VirtualDisplayItem, fallback to RealDisplayItem, are you using the latest version of ProtocolLib?", - e); + plugin.getLogger().log(Level.SEVERE, "Failed to initialize VirtualDisplayItem, fallback to RealDisplayItem, are you using the latest version of ProtocolLib?", e); } break; default: @@ -206,9 +195,6 @@ public class ContainerShop implements Shop { break; } } -// } else { -// Util.debugLog("The display was disabled."); -// } } /** @@ -283,17 +269,15 @@ public class ContainerShop implements Shop { this.setSignText(); // This should not happen. if (amount > 0) { - plugin - .getLogger() - .log( - Level.WARNING, - "Could not take all items from a players inventory on purchase! " - + buyer - + ", missing: " - + amount - + ", item: " - + Util.getItemStackName(this.getItem()) - + "!"); + plugin.getLogger().log( + Level.WARNING, + "Could not take all items from a players inventory on purchase! " + + buyer + + ", missing: " + + amount + + ", item: " + + Util.getItemStackName(this.getItem()) + + "!"); } } else { Inventory chestInv = this.getInventory(); @@ -350,13 +334,7 @@ public class ContainerShop implements Shop { if (this.displayItem == null) { Util.debugLog("Warning: DisplayItem is null, this shouldn't happened..."); StackTraceElement traceElements = Thread.currentThread().getStackTrace()[2]; - Util.debugLog( - "Call from: " - + traceElements.getClassName() - + "#" - + traceElements.getMethodName() - + "%" - + traceElements.getLineNumber()); + Util.debugLog("Call from: " + traceElements.getClassName() + "#" + traceElements.getMethodName() + "%" + traceElements.getLineNumber()); return; } @@ -375,7 +353,6 @@ public class ContainerShop implements Shop { } } } - /* Dupe is always need check, if enabled display */ this.displayItem.removeDupe(); // plugin.getDisplayDupeRemoverWatcher().add(this.displayItem); @@ -397,8 +374,7 @@ public class ContainerShop implements Shop { boolean result = this.moderator.delStaff(player); update(); if (result) { - Util.mainThreadRun(() -> plugin.getServer().getPluginManager() - .callEvent(new ShopModeratorChangedEvent(this, this.moderator))); + Util.mainThreadRun(() -> plugin.getServer().getPluginManager().callEvent(new ShopModeratorChangedEvent(this, this.moderator))); } return result; } @@ -450,6 +426,7 @@ public class ContainerShop implements Shop { } plugin.getShopManager().removeShop(this); plugin.getDatabaseHelper().removeShop(this); + plugin.getShopLoader().removeShopFromShopLoader(this); } // Use that copy we saved earlier (which is now deleted) to refresh it's now alone neighbor if (neighbor != null) { @@ -505,9 +482,11 @@ public class ContainerShop implements Shop { } if (inventoryPreview != null) { inventoryPreview.close(); + inventoryPreview = null; } - if (this.getDisplayItem() != null) { - this.getDisplayItem().remove(); + if (this.displayItem != null) { + this.displayItem.remove(); + this.displayItem = null; } update(); this.isLoaded = false; @@ -751,7 +730,7 @@ public class ContainerShop implements Shop { } } - public synchronized void update0() { + private synchronized void update0() { Util.ensureThread(false); ShopUpdateEvent shopUpdateEvent = new ShopUpdateEvent(this); if (Util.fireCancellableEvent(shopUpdateEvent)) { @@ -893,11 +872,11 @@ public class ContainerShop implements Shop { @Override public void setModerator(@NotNull ShopModerator shopModerator) { + Util.ensureThread(false); setDirty(); this.moderator = shopModerator; update(); - Util.mainThreadRun(() -> plugin.getServer().getPluginManager() - .callEvent(new ShopModeratorChangedEvent(this, this.moderator))); + plugin.getServer().getPluginManager().callEvent(new ShopModeratorChangedEvent(this, this.moderator)); } /** @@ -915,25 +894,11 @@ public class ContainerShop implements Shop { */ @Override public void setOwner(@NotNull UUID owner) { - OfflinePlayer offlinePlayer = plugin.getServer().getOfflinePlayer(owner); - //Get the sign at first - List signs = this.getSigns(); - //then setOwner + Util.ensureThread(false); this.moderator.setOwner(owner); - //then change the sign - Util.mainThreadRun(() -> { -// for (Sign shopSign : signs) { -// shopSign.setLine(0, MsgUtil -// .getMessageOfflinePlayer("signs.header", offlinePlayer, ownerName(false))); -// //Don't forgot update it -// shopSign.update(true); -// } - setSignText(); - //Event - plugin.getServer().getPluginManager() - .callEvent(new ShopModeratorChangedEvent(this, this.moderator)); - }); + setSignText(); update(); + plugin.getServer().getPluginManager().callEvent(new ShopModeratorChangedEvent(this, this.moderator)); } /** @@ -951,6 +916,7 @@ public class ContainerShop implements Shop { */ @Override public void setPrice(double price) { + Util.ensureThread(false); ShopPriceChangeEvent event = new ShopPriceChangeEvent(this, this.price, price); if (Util.fireCancellableEvent(event)) { Util.debugLog("A plugin cancelled the price change event."); @@ -1080,8 +1046,7 @@ public class ContainerShop implements Shop { @NotNull @Override public List getStaffs() { - return new ArrayList<>(this.moderator - .getStaffs()); //Clone only, so make sure external calling will use addStaff + return new ArrayList<>(this.moderator.getStaffs()); //Clone only, so make sure external calling will use addStaff } @Override @@ -1106,6 +1071,7 @@ public class ContainerShop implements Shop { @Override public void setUnlimited(boolean unlimited) { + Util.ensureThread(false); this.unlimited = unlimited; this.setSignText(); update(); @@ -1478,5 +1444,9 @@ public class ContainerShop implements Shop { inventoryPreview.show(); } + @Override + public ShopInfoStorage saveToInfoStorage() { + return new ShopInfoStorage(ShopModerator.serialize(getModerator()), getPrice(), Util.serialize(getItem()), isUnlimited() ? 1 : 0, getShopType().toID(), saveExtraToYaml()); + } } diff --git a/src/main/java/org/maxgamer/quickshop/shop/RealDisplayItem.java b/src/main/java/org/maxgamer/quickshop/shop/RealDisplayItem.java index 7cac9e9d2..16b8b5970 100644 --- a/src/main/java/org/maxgamer/quickshop/shop/RealDisplayItem.java +++ b/src/main/java/org/maxgamer/quickshop/shop/RealDisplayItem.java @@ -297,10 +297,15 @@ public class RealDisplayItem extends DisplayItem { } // If it's a left shop, check the attached shop's item instead. if (shop.isLeftShop()) { - if (shop.getAttachedShop().getDisplayItem() == null) { - return false; + Shop attachedShop = shop.getAttachedShop(); + if (attachedShop instanceof ContainerShop) { + ContainerShop shop = (ContainerShop) attachedShop; + if (shop.getDisplayItem() == null) { + return false; + } + return shop.getDisplayItem().isSpawned(); } - return shop.getAttachedShop().getDisplayItem().isSpawned(); + } return this.item.isValid(); } diff --git a/src/main/java/org/maxgamer/quickshop/shop/Shop.java b/src/main/java/org/maxgamer/quickshop/shop/Shop.java index c215eb549..eefa91fbb 100644 --- a/src/main/java/org/maxgamer/quickshop/shop/Shop.java +++ b/src/main/java/org/maxgamer/quickshop/shop/Shop.java @@ -474,8 +474,15 @@ public interface Shop { /** * Returns the attached shop object if any, otherwise null. + * * @return Shop or null */ - ContainerShop getAttachedShop(); + Shop getAttachedShop(); + /** + * Getting ShopInfoStorage that you can use for storage the shop data + * + * @return ShopInfoStorage + */ + ShopInfoStorage saveToInfoStorage(); } diff --git a/src/main/java/org/maxgamer/quickshop/shop/ShopInfoStorage.java b/src/main/java/org/maxgamer/quickshop/shop/ShopInfoStorage.java new file mode 100644 index 000000000..7efc7e8c2 --- /dev/null +++ b/src/main/java/org/maxgamer/quickshop/shop/ShopInfoStorage.java @@ -0,0 +1,40 @@ +/* + * This file is a part of project QuickShop, the name is ShopInfoStorage.java + * Copyright (C) PotatoCraft Studio and contributors + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ + +package org.maxgamer.quickshop.shop; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; + +/** + * TODO This class used for storage the shop + * Exclude location + */ +@AllArgsConstructor +@Data +@Builder +public class ShopInfoStorage { + String moderator; + double price; + String item; + int unlimited; + int shopType; + String extra; +} diff --git a/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java b/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java index 3c6842e4d..35a559b56 100644 --- a/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java +++ b/src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java @@ -330,6 +330,23 @@ public class ShopLoader { return new ArrayList<>(shopsInDatabase); } + public void removeShopFromShopLoader(Shop shop) { + if (this.shopsInDatabase.remove(shop)) { + for (ShopDatabaseInfoOrigin origin : this.originShopsInDatabase) { + if (Objects.equals(shop.getLocation().getWorld().getName(), origin.getWorld())) { + if (shop.getLocation().getBlockX() == origin.getX()) { + if (shop.getLocation().getBlockY() == origin.getY()) { + if (shop.getLocation().getBlockZ() == origin.getZ()) { + this.originShopsInDatabase.remove(origin); + break; + } + } + } + } + } + } + } + @NotNull public List getOriginShopsInDatabase() { return new ArrayList<>(originShopsInDatabase); @@ -414,7 +431,7 @@ public class ShopLoader { @Getter @Setter - public class ShopDatabaseInfoOrigin { + static public class ShopDatabaseInfoOrigin { private String item; private String moderators; @@ -435,24 +452,20 @@ public class ShopLoader { private String extra; - ShopDatabaseInfoOrigin(ResultSet rs) { - try { - this.x = rs.getInt("x"); - this.y = rs.getInt("y"); - this.z = rs.getInt("z"); - this.world = rs.getString("world"); - this.item = rs.getString("itemConfig"); - this.moderators = rs.getString("owner"); - this.price = rs.getDouble("price"); - this.type = rs.getInt("type"); - this.unlimited = rs.getBoolean("unlimited"); - this.extra = rs.getString("extra"); - //handle old shops - if (extra == null) { - extra = ""; - } - } catch (SQLException sqlex) { - exceptionHandler(sqlex, null); + ShopDatabaseInfoOrigin(ResultSet rs) throws SQLException { + this.x = rs.getInt("x"); + this.y = rs.getInt("y"); + this.z = rs.getInt("z"); + this.world = rs.getString("world"); + this.item = rs.getString("itemConfig"); + this.moderators = rs.getString("owner"); + this.price = rs.getDouble("price"); + this.type = rs.getInt("type"); + this.unlimited = rs.getBoolean("unlimited"); + this.extra = rs.getString("extra"); + //handle old shops + if (extra == null) { + extra = ""; } } @@ -469,6 +482,10 @@ public class ShopLoader { this.extra = extra; } + ShopDatabaseInfoOrigin() { + + } + @Override public String toString() { return JsonUtil.getGson().toJson(this); diff --git a/src/main/java/org/maxgamer/quickshop/shop/ShopPersistentData.java b/src/main/java/org/maxgamer/quickshop/shop/ShopPersistentData.java new file mode 100644 index 000000000..963c7eada --- /dev/null +++ b/src/main/java/org/maxgamer/quickshop/shop/ShopPersistentData.java @@ -0,0 +1,44 @@ +/* + * This file is a part of project QuickShop, the name is ShopPersistentData.java + * Copyright (C) PotatoCraft Studio and contributors + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ +package org.maxgamer.quickshop.shop; + +import com.google.gson.annotations.Expose; +import lombok.Getter; + +//TODO +@Getter +public class ShopPersistentData { + @Expose + private final String world; + @Expose + private final int x; + @Expose + private final int y; + @Expose + private final int z; + private final boolean setup; + + public ShopPersistentData(int x, int y, int z, String world, boolean setup) { + this.x = x; + this.y = y; + this.z = z; + this.world = world; + this.setup = setup; + } +} diff --git a/src/main/java/org/maxgamer/quickshop/shop/ShopPersistentDataType.java b/src/main/java/org/maxgamer/quickshop/shop/ShopPersistentDataType.java new file mode 100644 index 000000000..242024f00 --- /dev/null +++ b/src/main/java/org/maxgamer/quickshop/shop/ShopPersistentDataType.java @@ -0,0 +1,65 @@ +/* + * This file is a part of project QuickShop, the name is ShopPersistentDataType.java + * Copyright (C) PotatoCraft Studio and contributors + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */ +package org.maxgamer.quickshop.shop; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import org.bukkit.persistence.PersistentDataAdapterContext; +import org.bukkit.persistence.PersistentDataType; +import org.jetbrains.annotations.NotNull; +import org.maxgamer.quickshop.util.MsgUtil; + +public class ShopPersistentDataType implements PersistentDataType { + static final ShopPersistentDataType INSTANCE = new ShopPersistentDataType(); + + private static final Gson gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create(); + + @Override + public @NotNull Class getPrimitiveType() { + return String.class; + } + + @Override + public @NotNull Class getComplexType() { + return ShopPersistentData.class; + } + + @NotNull + @Override + public String toPrimitive(@NotNull ShopPersistentData complex, @NotNull PersistentDataAdapterContext context) { + try { + return gson.toJson(complex); + } catch (Exception th) { + MsgUtil.debugStackTrace(th.getStackTrace()); + return ""; + } + } + + @NotNull + @Override + public ShopPersistentData fromPrimitive( + @NotNull String primitive, @NotNull PersistentDataAdapterContext context) { + try { + return gson.fromJson(primitive, ShopPersistentData.class); + } catch (Exception th) { + MsgUtil.debugStackTrace(th.getStackTrace()); + return new ShopPersistentData(0, 0, 0, "null", false); + } + } +} diff --git a/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java b/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java index 2fc13d1c2..f6ac461a4 100644 --- a/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java +++ b/src/main/java/org/maxgamer/quickshop/shop/VirtualDisplayItem.java @@ -81,10 +81,11 @@ public class VirtualDisplayItem extends DisplayItem { //packetListener private PacketAdapter packetAdapter; + //packetListener + private PacketAdapter unloadPacketAdapter; //cache chunk x and z - private ShopChunk chunkLocation; - + private volatile ShopChunk chunkLocation; public VirtualDisplayItem(@NotNull Shop shop) throws RuntimeException { @@ -319,19 +320,22 @@ public class VirtualDisplayItem extends DisplayItem { Collection entityCollection = shop.getLocation().getWorld().getNearbyEntities(shop.getLocation(), plugin.getServer().getViewDistance() * 16, shop.getLocation().getWorld().getMaxHeight(), plugin.getServer().getViewDistance() * 16); for (Entity entity : entityCollection) { if (entity instanceof Player) { - packetSenders.add(entity.getUniqueId()); + packetSenders.add(entity.getUniqueId()); //TODO Possibly Memory Leaking because this list never remove single object } } } if (asyncPacketSenderTask != null) { asyncPacketSenderTask.stop(); + //Prevent memory leak + asyncPacketSenderTask = null; } asyncPacketSenderTask = AsyncPacketSender.create(); asyncPacketSenderTask.start(plugin); if (packetAdapter == null) { - packetAdapter = new PacketAdapter(plugin, ListenerPriority.HIGH, PacketType.Play.Server.MAP_CHUNK) { + //TODO: Also should listening UNLOAD_CHUNK packet to send entity destroy packet + packetAdapter = new PacketAdapter(plugin, ListenerPriority.HIGH, PacketType.Play.Server.MAP_CHUNK) { //TODO: Possibly memory leaking: The lambda point to memory leaking @Override public void onPacketSending(@NotNull PacketEvent event) { //is really full chunk data @@ -339,12 +343,19 @@ public class VirtualDisplayItem extends DisplayItem { if (!shop.isLoaded() || !isDisplay || !isFull || shop.isLeftShop()) { return; } + Player player = event.getPlayer(); + if (player instanceof TemporaryPlayer) { + return; + } + if (player == null || !player.isOnline()) { + return; + } StructureModifier integerStructureModifier = event.getPacket().getIntegers(); //chunk x int x = integerStructureModifier.read(0); //chunk z int z = integerStructureModifier.read(1); - asyncPacketSenderTask.offer(() -> { + asyncPacketSenderTask.offer(() -> { //TODO: Possibly memory leaking: The lambda point to memory leaking if (chunkLocation == null) { World world = shop.getLocation().getWorld(); Chunk chunk; @@ -356,13 +367,6 @@ public class VirtualDisplayItem extends DisplayItem { } chunkLocation = new ShopChunk(world.getName(), chunk.getX(), chunk.getZ()); } - Player player = event.getPlayer(); - if (player instanceof TemporaryPlayer) { - return; - } - if (player == null || !player.isOnline()) { - return; - } if (chunkLocation.isSame(player.getWorld().getName(), x, z)) { packetSenders.add(player.getUniqueId()); sendFakeItem(player); @@ -378,9 +382,13 @@ public class VirtualDisplayItem extends DisplayItem { packetSenders.clear(); if (packetAdapter != null) { protocolManager.removePacketListener(packetAdapter); + //Prevent memory leak + packetAdapter = null; } if (asyncPacketSenderTask != null) { asyncPacketSenderTask.stop(); + //Prevent memory leak + asyncPacketSenderTask = null; } } @@ -399,7 +407,11 @@ public class VirtualDisplayItem extends DisplayItem { @Override public boolean isSpawned() { if (shop.isLeftShop()) { - return (Objects.requireNonNull(shop.getAttachedShop().getDisplayItem())).isSpawned(); + Shop aShop = shop.getAttachedShop(); + if (aShop instanceof ContainerShop) { + return (Objects.requireNonNull(((ContainerShop) aShop).getDisplayItem())).isSpawned(); + } + } return isDisplay; } diff --git a/src/main/java/org/maxgamer/quickshop/util/AsyncPacketSender.java b/src/main/java/org/maxgamer/quickshop/util/AsyncPacketSender.java index bac17f1dc..bac667b69 100644 --- a/src/main/java/org/maxgamer/quickshop/util/AsyncPacketSender.java +++ b/src/main/java/org/maxgamer/quickshop/util/AsyncPacketSender.java @@ -21,11 +21,13 @@ package org.maxgamer.quickshop.util; import org.bukkit.scheduler.BukkitTask; import org.maxgamer.quickshop.QuickShop; -import java.util.concurrent.LinkedBlockingQueue; +import java.util.Queue; +import java.util.concurrent.ArrayBlockingQueue; +import java.util.concurrent.atomic.AtomicBoolean; public class AsyncPacketSender { - private static AsyncSendingTask instance = null; + private volatile static AsyncSendingTask instance = null; private static boolean isUsingGlobal = false; private static volatile boolean enabled = false; @@ -66,26 +68,34 @@ public class AsyncPacketSender { } public static class AsyncSendingTask { - private final LinkedBlockingQueue asyncPacketSendQueue = new LinkedBlockingQueue<>(); - private BukkitTask asyncSendingTask; + private final Queue asyncPacketSendQueue = new ArrayBlockingQueue<>(100, true); + private volatile BukkitTask asyncSendingTask; + private final AtomicBoolean taskDone = new AtomicBoolean(true); - public void start(QuickShop plugin) { + public synchronized void start(QuickShop plugin) { //lazy initialize if (asyncSendingTask == null || asyncSendingTask.isCancelled()) { asyncSendingTask = plugin.getServer().getScheduler().runTaskTimerAsynchronously(plugin, () -> { if (asyncSendingTask.isCancelled()) { return; } - Runnable nextTask = asyncPacketSendQueue.poll(); - if (nextTask != null) { - nextTask.run(); + if (!taskDone.get()) { + return; } + taskDone.set(false); + Runnable nextTask = asyncPacketSendQueue.poll(); + while (nextTask != null) { + nextTask.run(); + nextTask = asyncPacketSendQueue.poll(); + } + taskDone.set(true); }, 0, 1); } + } - public void stop() { + public synchronized void stop() { if (asyncSendingTask != null && !asyncSendingTask.isCancelled()) { asyncSendingTask.cancel(); } diff --git a/src/main/java/org/maxgamer/quickshop/util/GameVersion.java b/src/main/java/org/maxgamer/quickshop/util/GameVersion.java index c5b3fc9e0..2503d6ab0 100644 --- a/src/main/java/org/maxgamer/quickshop/util/GameVersion.java +++ b/src/main/java/org/maxgamer/quickshop/util/GameVersion.java @@ -89,5 +89,4 @@ public enum GameVersion { public boolean isPersistentStorageApiSupports() { return persistentStorageApiSupports; } - } diff --git a/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java b/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java index 5fc9dbb6a..0a03e8142 100644 --- a/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java +++ b/src/main/java/org/maxgamer/quickshop/util/MsgUtil.java @@ -1461,6 +1461,9 @@ public class MsgUtil { setAndUpdate("shop-owner-self-trade"); setAndUpdate("language-version", ++selectedVersion); } + if (selectedVersion == 55) { + setAndUpdate("chest-title", "QuickShop Store"); + } setAndUpdate("_comment", "Please edit this file after format with json formatter"); } diff --git a/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java b/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java index 66bf1e987..997fc56e0 100644 --- a/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java +++ b/src/main/java/org/maxgamer/quickshop/util/envcheck/EnvironmentChecker.java @@ -21,11 +21,6 @@ package org.maxgamer.quickshop.util.envcheck; import lombok.SneakyThrows; import org.bukkit.Bukkit; -import org.bukkit.ChatColor; -import org.bukkit.event.HandlerList; -import org.bukkit.event.block.BlockPlaceEvent; -import org.bukkit.plugin.Plugin; -import org.bukkit.plugin.RegisteredListener; import org.jetbrains.annotations.NotNull; import org.maxgamer.quickshop.QuickShop; import org.maxgamer.quickshop.shop.DisplayItem; @@ -45,7 +40,7 @@ import java.util.jar.JarEntry; import java.util.jar.JarFile; import java.util.logging.Level; -public class EnvironmentChecker { +public final class EnvironmentChecker { private final QuickShop plugin; private final List tests = new ArrayList<>(); @@ -323,7 +318,7 @@ public class EnvironmentChecker { trigged = true; } if (isFabricBasedServer()) { - plugin.getLogger().warning("WARN: QSRR is not designed and tested for Fabric!"); + plugin.getLogger().warning("WARN: QuickShop is not designed and tested for Fabric!"); plugin.getLogger().warning("WARN: Use at you own risk!."); plugin.getLogger().warning("WARN: No support will be given!"); trigged = true; @@ -334,61 +329,6 @@ public class EnvironmentChecker { return new ResultContainer(CheckResult.PASSED, "Server is unmodified."); } - public boolean checkJulySafe() { - Plugin julySafe = plugin.getServer().getPluginManager().getPlugin("JulySafe"); - boolean triggered = false; - if (julySafe != null) { - for (RegisteredListener registeredListener : BlockPlaceEvent.getHandlerList().getRegisteredListeners()) { - if (registeredListener.getPlugin().equals(julySafe)) { - Class clazz = null; - try { - clazz = Class.forName("com.github.julyss2019.bukkit.plugins.julysafe.listeners.QuickShopBugFixListener"); - } catch (ClassNotFoundException ignored) { - return false; - } - if (registeredListener.getListener().getClass().equals(clazz) - || registeredListener.getListener().getClass().getName().contains("julysafe.listeners.QuickShopBugFixListener")) { - HandlerList.unregisterAll(registeredListener.getListener()); //Unregister JulySafe's QuickShopBugFixListener - triggered = true; - } - } - } - if (julySafe.getConfig().getBoolean("quickshop_bug_fix.enabled")) { - julySafe.getConfig().set("quickshop_bug_fix.enabled", false); // Disables JulySafe's QuickShopBugFix module in configuration. - plugin.getLogger().warning("========================================");// Send chinese alert to users because this is a Chinese plugin. - plugin.getLogger().warning("警告:检测到您已安装 JulySafe 插件,且已开启 QuickShop 偷东西bug修复模块"); - plugin.getLogger().warning("警告:我们已确认不存在此 BUG 且此模块对正常 Gameplay 造成了严重影响且"); - plugin.getLogger().warning("警告:实际上并不会真正做到修复的效果。并且存在潜在破坏 QuickShop 本身保护机制的行为。"); - plugin.getLogger().warning("警告:我们强烈您使用 虚拟悬浮物 (Virtual DisplayItem) 解决潜在的安全隐患。"); - plugin.getLogger().warning("警告:同时我(Ghost_chu)也对国内部分开发者将其他插件 BUG 在不与插件本身开发者交流报告的情况下直接作为插件卖点宣传的行为强烈抨击。"); - plugin.getLogger().warning("警告:我长期活跃并维护相关插件,这些所谓的修复插件开发者完全应该可以联系插件开发者报告错误,但是这些插件的插件开发者并没有这么做。"); - plugin.getLogger().warning("警告:如果你说你的修复模块有点用,那么我也可以接受;" + - "而 JulySafe 插件采用了完全修复不了问题的解决方案去修复了一个 " + ChatColor.RED + ChatColor.BOLD + "根本不存在的BUG"); - plugin.getLogger().warning("警告:并将锅甩给 QuickShop 的行为是我所不能接受的,在此公开对此行为进行批评。"); - plugin.getLogger().warning("========================================"); - plugin.getLogger().warning("警告:QuickShop 已自动采取措施在配置文件中禁用此模块并注销 JulySafe 的 QuickShopBugFixListener 监听器使此模块强制失效。"); - plugin.getLogger().warning("警告:您的服务器将会在25秒后继续加载,以确保您已阅读相关声明,感谢您的理解。"); - triggered = true; - } - if (triggered) { - try { - Thread.sleep(25 * 1000); - } catch (InterruptedException e) { - Thread.currentThread().interrupt(); - } - } - } - return triggered; - } - - @EnvCheckEntry(name = "JulySafe Test", priority = 5) - public ResultContainer julySafeTest() { - if (checkJulySafe()) { - return new ResultContainer(CheckResult.WARNING, "JulySafe is installed and \"QuickShop *bugfix* \" module is enabled"); - } - return new ResultContainer(CheckResult.PASSED, "JulySafe is not installed or qs bug fix module is disabled."); - } - @EnvCheckEntry(name = "CoreSupport Test", priority = 6) public ResultContainer coreSupportTest() { String nmsVersion = Util.getNMSVersion(); @@ -425,7 +365,7 @@ public class EnvironmentChecker { @EnvCheckEntry(name = "PacketListenerAPI Conflict Test", priority = 9) public ResultContainer plapiConflictTest() { if (plugin.isDisplay() && DisplayItem.getNowUsing() == DisplayType.VIRTUALITEM && Bukkit.getPluginManager().isPluginEnabled("ProtocolLib") && Bukkit.getPluginManager().isPluginEnabled("PacketListenerAPI")) { - return new ResultContainer(CheckResult.WARNING, "Virtual DisplayItem may stop working on your server. We are already aware that [PacketListenerAPI] and [ProtocolLib] are conficting. (QuickShops requirement to send fake items). If your display is not showing, please uninstall [PacketListenerAPI]."); + return new ResultContainer(CheckResult.WARNING, "Virtual DisplayItem may stop working on your server. We are already aware that [PacketListenerAPI] and [ProtocolLib] are conflicting. (QuickShops requirement to send fake items). If your display is not showing, please uninstall [PacketListenerAPI]."); } return new ResultContainer(CheckResult.PASSED, "Passed checks"); } diff --git a/src/main/java/org/maxgamer/quickshop/util/reporter/error/RollbarErrorReporter.java b/src/main/java/org/maxgamer/quickshop/util/reporter/error/RollbarErrorReporter.java index 75a5c1d51..37e203559 100644 --- a/src/main/java/org/maxgamer/quickshop/util/reporter/error/RollbarErrorReporter.java +++ b/src/main/java/org/maxgamer/quickshop/util/reporter/error/RollbarErrorReporter.java @@ -41,7 +41,6 @@ import java.util.*; import java.util.logging.Filter; import java.util.logging.Level; import java.util.logging.LogRecord; -import java.util.logging.Logger; public class RollbarErrorReporter { //private volatile static String bootPaste = null; @@ -59,7 +58,7 @@ public class RollbarErrorReporter { private boolean tempDisable; private String lastPaste = null; private final GlobalExceptionFilter serverExceptionFilter; - private final GlobalExceptionFilter globalExceptionFilter; + //private final GlobalExceptionFilter globalExceptionFilter; @Getter private volatile boolean enabled = false; @@ -77,11 +76,11 @@ public class RollbarErrorReporter { quickShopExceptionFilter = new QuickShopExceptionFilter(plugin.getLogger().getFilter()); plugin.getLogger().setFilter(quickShopExceptionFilter); // Redirect log request passthrough our error catcher. - serverExceptionFilter = new GlobalExceptionFilter(plugin.getServer().getLogger().getFilter()); + serverExceptionFilter = new GlobalExceptionFilter(plugin.getLogger().getFilter()); plugin.getServer().getLogger().setFilter(serverExceptionFilter); - globalExceptionFilter = new GlobalExceptionFilter(Logger.getGlobal().getFilter()); - Logger.getGlobal().setFilter(globalExceptionFilter); + //globalExceptionFilter = new GlobalExceptionFilter(Logger.getGlobal().getFilter()); + // Logger.getGlobal().setFilter(globalExceptionFilter); Util.debugLog("Rollbar error reporter success loaded."); // if (bootPaste == null) { @@ -106,7 +105,7 @@ public class RollbarErrorReporter { enabled = false; plugin.getLogger().setFilter(quickShopExceptionFilter.preFilter); plugin.getServer().getLogger().setFilter(serverExceptionFilter.preFilter); - Logger.getGlobal().setFilter(globalExceptionFilter.preFilter); + //Logger.getGlobal().setFilter(globalExceptionFilter.preFilter); } private Map makeMapping() { @@ -284,10 +283,17 @@ public class RollbarErrorReporter { throwable = throwable.getCause(); } - if (throwable.getStackTrace()[0].getClassName().contains("org.maxgamer.quickshop")) { + StackTraceElement[] stackTraceElements = throwable.getStackTrace(); + + if (stackTraceElements.length == 0) { + return PossiblyLevel.IMPOSSIBLE; + } + + if (stackTraceElements[0].getClassName().contains("org.maxgamer.quickshop")) { return PossiblyLevel.CONFIRM; } - long errorCount = Arrays.stream(throwable.getStackTrace()) + + long errorCount = Arrays.stream(stackTraceElements) .limit(3) .filter(stackTraceElement -> stackTraceElement.getClassName().contains("org.maxgamer.quickshop")) .count(); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 9102a37b7..405276c2e 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -22,7 +22,7 @@ # TO EDIT QUICKSHOP'S CONFIGURATION, USE THE "config.yml" FILE! #Do not touch this if you don't know what you're doing! -config-version: 130 +config-version: 131 #Select the language you want to use, (e.g de), use only supported language codes from the list below. #If you use a not existant/not supported language, then QuickShop will use en_US. @@ -507,6 +507,8 @@ plugin: enable: true #Should BlockHub only be used for permission checks? only: false + #If you have WorldEdit, QuickShop will try migrating shops in EditSession. [BETA] + WorldEdit: true effect: sound: ontabcomplete: true diff --git a/src/main/resources/lang-original/messages.json b/src/main/resources/lang-original/messages.json index f4d4c0cfb..229076b7a 100644 --- a/src/main/resources/lang-original/messages.json +++ b/src/main/resources/lang-original/messages.json @@ -5,7 +5,7 @@ "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "55", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -318,5 +318,6 @@ "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", - "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance." + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/af-ZA/messages.json b/src/main/resources/lang/af-ZA/messages.json index 2e8c084ae..229076b7a 100644 --- a/src/main/resources/lang/af-ZA/messages.json +++ b/src/main/resources/lang/af-ZA/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Translator: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/ar-SA/messages.json b/src/main/resources/lang/ar-SA/messages.json index 9649e0947..c320ab6ce 100644 --- a/src/main/resources/lang/ar-SA/messages.json +++ b/src/main/resources/lang/ar-SA/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "المترجم: Ghost_chu, Andre_601, MoroccanTea", "translation-version": "إصدار الدعم: إعادة التشكيل", "translation-contributors": "المساهمون: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken و Andre_601", "translation-country": "منطقة اللغة: العربية (ar_AR)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cلا يمكن العثور على QuickShop. تحتاج إلى النظر إلى واحد.", "no-anythings-in-your-hand": "&cلا يوجد شيء في يديك.", "no-permission": "لا تملك الصلاحيّات للقيام بذلك.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aلقد دفعت &c{0}&a لتغيير السعر.", "price-is-now": "&aالسعر الجديد للمتجر هو &e{0}", "thats-not-a-number": "&cرقم غير صالح", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cالرجاء إعطاء سعر صحيح.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cالمتجر الذي حاولت استخدامه قد تغير منذ أن نقرت عليه!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/ca-ES/messages.json b/src/main/resources/lang/ca-ES/messages.json index cc414c68d..0684570e3 100644 --- a/src/main/resources/lang/ca-ES/messages.json +++ b/src/main/resources/lang/ca-ES/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Traductor: Javiooli", "translation-version": "Versiò suportada: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Zona de l'idioma: Català (ca_ES)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "No s'ha trobat cap QuickShop. Has de mirar a una.", "no-anythings-in-your-hand": "Ni hi ha res a la teva mà.", "no-permission": "No tens permisos per a fer això.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aHas pagat &c{0}&a per a canviar el preu.", "price-is-now": "&aEl nou preu de la botiga és de &e{0}.", "thats-not-a-number": "&cNúmero invàlid.", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cSi us plau, inserta un preu vàlid.", "average-price-nearby": "&aPreu proper aproximat: &e{0}", "shop-has-changed": "&cLa botiga que has intentat utilitzat ha canviat des que l'has clicat!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo s'ha proporcionat cap quantitat. Utilitza &a/qs refill &c.", "now-debuging": "&aMode de desenvolupador activat. Recarregant QuickShop...", "now-nolonger-debuging": "%Mode de desenvolupador desactivat. Recarregant QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aAjuda de QuickShop", "unlimited": "&eLi dona estoc il·limitat a una botiga.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/cs-CZ/messages.json b/src/main/resources/lang/cs-CZ/messages.json index 89f2ef3ad..005ce01f8 100644 --- a/src/main/resources/lang/cs-CZ/messages.json +++ b/src/main/resources/lang/cs-CZ/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "Toto je zkušební textový soubor. Používáme jej k testování, pokud jde o zprávy .json je rozbitý. Můžete jej vyplnit jakýmkoliv východním vejci, které se vám zde líbí :)", "translation-author": "Translator: Ghost_chu, Andre_601, LixCisCZ", "translation-version": "Verze: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: Czech (cs_CZ)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cNelze najít QuickShop. Musíš se na něj podívat.", "no-anythings-in-your-hand": "&cNemáš v ruce žádný předmět.", "no-permission": "&cNa tuto akci nemáš práva.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aZaplatili jste &c{0}&a za změnu ceny.", "price-is-now": "&aNová cena obchodu je &e{0}", "thats-not-a-number": "&cNeplatné číslo", - "forbidden-vanilla-behavior": "Operace je zakázána, protože není v souladu s vanilkovým chováním", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "Zadejte platnou cenu", "average-price-nearby": "&aBlízká průměrná cena: &e{0}", "shop-has-changed": "&cObchod, který jste se pokusili použít, se změnil od doby, kdy jste na něj klikli!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNebyla poskytnuta žádná hodnota. Použijte &a/qs refill &c", "now-debuging": "&aÚspěšně povolen vývojářský režim. Reloaduji QuickShop...", "now-nolonger-debuging": "&aÚspěšně zakázán vývojářský režim. Reloaduji QuickShop...", - "wrong-args": "&cNeplatné argumenty. Použijte &l/qs help &cpro zobrazení seznamu příkazů.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aNápověda pro QuickShop", "unlimited": "&eDá obchodu neomezený sklad.", @@ -169,14 +170,14 @@ "removeall": "&eOdebrat VŠECHNY obchody zadaného hráče", "transfer": "&ePřeneste všechny obchody do jiného", "removeworld": "&eOdebrat VŠECHNY obchody zadaného hráče", - "currency": "&eNastavte nebo odeberte nastavení měny obchodu", - "ban": "&eZabanování hráče z obchodu", - "unban": "&eOdbanování hráče z obchodu", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eZakázat nebo povolit obchodování obchodu", - "lock": "&ePřepnout stav zámku obchodu" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cTento příkaz je zakázán: &e{0}", - "feature-not-enabled": "Funkce není v konfiguraci povolena." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Prodej {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Vyprodáno", "out-of-space": "Nedostatek místa", - "freeze": "Obchod zakázán" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aVlastník: &b{0} &e[&d&lZměna&e]", @@ -219,9 +220,9 @@ "currency": "&aMěna: &b{0} &e[&d&lNastavit&e]", "currency-hover": "&eKlikněte pro nastavení nebo odebrání měny, kterou tento obchod používá", "lock": "&eZámek obchodu: &b{0} &e[&d&lPřepnout&e]", - "lock-hover": "&ePovolit/Zakázat ochranu zámku obchodu.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eRežim zmražení: &b{0} &e[&d&lPřepnout&e]", - "freeze-hover": "&ePřepnout stav zmrazení obchodu" + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doktor, QuickShop má novou aktualizaci {0}! Měl byste aktualizovat~", "Ko~ko~da~yo~ QuickShop má nový update {0}~" ], - "remote-disable-warning": "&cTato verze QuickShopu je vypnuta vzdáleným serverem, což znamená, že tato verze může mít vážný problém, získejte podrobnosti z naší stránky pluginu Spigot: {0}. Toto varování se bude objevovat až do přepnutí na stabilní verzi, ale neovlivní to výkon vašeho serveru.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "Měna &aShopu byla úspěšně odstraněna. Nyní se používá výchozí nastavení.", "currency-not-support": "&cDoplněk pro ekonomiku nepodporuje funkci více ekonomik.", "item-not-exist": "&cPoložka &e{0} neexistuje, prosím zkontrolujte pravopis.", - "backup-success": "&aZáloha úspěšná.", - "console-only": "&cTento příkaz může být spuštěn pouze v konzoli.", - "console-only-danger": "&cTento příkaz může být spuštěn pouze v konzoli.", - "clean-warning": "&eTento příkaz vyčistí &volat obchody v případě, že je obchod poškozen nebo vytvořen v nepovoleném světě nebo prodávat/nakupuje nepovolené položky a &c&lIN NEZAMĚŘENO SVĚTY SHOPS&e, Ujistěte se, že máte úplnou zálohu dat vašich obchodů a použijte &b/qs cleanghost potvrdit &eto pokračování.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/da-DK/messages.json b/src/main/resources/lang/da-DK/messages.json index 81f63bf17..5b774060f 100644 --- a/src/main/resources/lang/da-DK/messages.json +++ b/src/main/resources/lang/da-DK/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Oversættere: Ghost_chu, Andre_601, notashelf", "translation-version": "Supportversion: Reremake", "translation-contributors": "Bidragydere: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken og Andre_601", "translation-country": "Sprogzone: dansk (da_DA)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cKunne ikke finde en QuickShop. Du skal kigge på en.", "no-anythings-in-your-hand": "&cDer er intet i din hånd.", "no-permission": "&cDu har ikke rettighederne til at gøre dette.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/de-DE/messages.json b/src/main/resources/lang/de-DE/messages.json index c8b852fa9..914428529 100644 --- a/src/main/resources/lang/de-DE/messages.json +++ b/src/main/resources/lang/de-DE/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hallo Übersetzer! Wenn du das in GitHub oder durch Codequellen bearbeitest, solltest du zu https://crowdin.com/project/quickshop-reremake gehen", "file-test": "Dies ist eine Text Testdatei. Wir verwenden sie um zu testen ob die messages.json kaputt ist. Du kannst sie mit jedem Easter Egg füllen wie du willst :)", "translation-author": "Übersetzer: Ghost_chu, Andre_601", "translation-version": "Unterstütze Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Sprache: Deutsch (de_DE)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cKonnte keinen QuickShop finden. Du musst auf einen schauen.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aDu hast &c{0}&a bezahlt, um den Preis zu ändern.", "price-is-now": "&aDer neue Preis des Shops ist &e{0}", "thats-not-a-number": "&cUngültige Zahl", - "forbidden-vanilla-behavior": "&cDie Operation ist verboten da Sie nicht mit dem Vanillaverhalten übereinstimmt", + "forbidden-vanilla-behavior": "&cDie Operation ist verboten da Sie nicht mit dem Vanilla verhalten übereinstimmt", "no-price-given": "&cBitte gebe einen gültigen Preis ein.", "average-price-nearby": "&aDurchschnittspreis in der Umgebung: &e{0}", "shop-has-changed": "&cDer Shop, den du gerade benutzt wolltest, wurde verändert seit dem du drauf geklickt hast!", @@ -138,7 +139,7 @@ "no-amount-given": "&cKeine Menge angegeben. Verwende &a/qs refill &c", "now-debuging": "&aEntwicklermodus erfolgreich aktiviert. Lade QuickShop neu...", "now-nolonger-debuging": "&aEntwicklermodus erfolgreich deaktiviert. Lade QuickShop neu...", - "wrong-args": "&cUngültige Argumente. Verwende &l/qs help &cum eine Liste aller Befehle zu sehen.", + "wrong-args": "&cUngültiges Argument. Verwende &l/qs help &cum eine Liste aller Befehle zu sehen.", "description": { "title": "&aQuickShop Hilfe", "unlimited": "&eGibt einen Shop einen unbegrenzten Vorrat.", @@ -169,14 +170,14 @@ "removeall": "&eEntferne ALLE Shops eines bestimmten Spielers", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eEntferne ALLE Shops in einer bestimmten Welt", - "currency": "&eSetze oder entferne die Währungseinstellungen des Shops", + "currency": "&eSetze oder Entferne die Währungseinstellungen des Shops", "ban": "&eBannt einen Spieler vom Shop", "unban": "&eEntbannt einen Spieler vom Shop", "freeze": "&e(De)aktiviere Shop-Handel", - "lock": "&eÄndere den Lock-Status des Shops" + "lock": "&eWechsle den Lock-Status des Shops" }, "disabled": "&cDieser Befehl ist deaktiviert: &e{0}", - "feature-not-enabled": "Dieses Feature ist nicht in der Config aktiviert." + "feature-not-enabled": "Dieses Feature ist nicht in der Config Datei aktiviert." }, "signs": { "selling": "Verkauft {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Ausverkauft", "out-of-space": "Kein Platz", - "freeze": "Handeln deaktiviert" + "freeze": "Handel deaktiviert" }, "controlpanel": { "setowner": "&aBesitzer: &b{0} &e[&d&lÄndern&e]", @@ -219,7 +220,7 @@ "currency": "&aWährung: &b{0} &e[&d&lÄndern&e]", "currency-hover": "&eKlicke um die Währung zu setzen oder zu entfernen, welcher dieser Shop verwendet", "lock": "&eShop Sperre: &b{0} &e[&d&lÄndern&e]", - "lock-hover": "&eAktiviere/Deaktiviere Sperrschutz des Shops.", + "lock-hover": "&eAktiviere/Deaktiviere den Sperrschutz des Shops.", "freeze": "&eFreeze Modus: &b{0} &e[&d&lÄndern&e]", "freeze-hover": "&eÄndere den Freeze-Status des Shops." }, @@ -263,7 +264,7 @@ "Doktor, QuickShop hat ein neues Update {0}! Du solltest aktualisieren~", "Ko~ko~da~yo~ QuickShop hat ein neues Update {0} ~" ], - "remote-disable-warning": "&cDiese Version von QuickShop wurde vom Remote Server als deaktiviert markiert worden, was bedeutet, dass diese Version eventuell schwere Probleme hat. Erhalte Details von unserer Spigot Seite: {0}. Diese Warnung wird so lange erscheinen, bis du zu einer stabilen Version wechselst, wird die Server-Performance aber nicht beeinflussen.", + "remote-disable-warning": "&cDiese Version von QuickShop wurde vom Remote Server als deaktiviert markiert, was bedeutet, dass diese Version eventuell schwere Probleme hat. Erhalte Details von unserer Spigot Seite: {0}. Diese Warnung wird so lange erscheinen, bis du zu einer stabilen Version wechselst, wird die Server-Performance aber nicht beeinflussen.", "label": { "unstable": "[Instabil]", "stable": "[Stabil]", @@ -314,7 +315,9 @@ "item-not-exist": "&cDas Item &e{0} &cexistiert nicht, bitte überprüfe deine Schreibweise.", "backup-success": "&aBackup erfolgreich.", "console-only": "&cDieser Befehl kann nur per Konsole ausgeführt werden.", - "console-only-danger": "&cDies ist ein gefährlicher Befehl, weswegen er nur per Konsole ausgeführt werden kann.", - "clean-warning": "&eDieser Befehl wird &calle &eshops entfernen, welche beschädigt, in einer unerlaubten Welt sind, oder unerlaubte Items kaufen/verkaufen und &c&lIN NICHT GELADENEN SHOPWELTEN &esind. Stelle sicher dass du ein vollständiges Backup aller Shopdaten hast und fahre fort mit &b/qs cleanghost confirm &ezum bestätigen.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "console-only-danger": "&cDies ist ein gefährlicher Befehl, weswegen nur die Konsole ihn ausführen kann.", + "clean-warning": "&eDieser Befehl wird &calle &eShops löschen welche entweder beschädigt sind, in nicht erlaubten Welten erstellt wurden, nicht erlaubte Items kaufen/verkaufen oder &c&lIN EINER NICHT GELADENEN WELT EXISTIEREN&e. Stelle sicher, dass du komplette Backups sämtlicher Shopdaten erstellst und vervende &b/qs cleanghost confirm &eum zu fortzufahren.", + "shop-creation-failed": "&cShop-Erstellung fehlgeschlagen, Bitte kontaktiere einen Server Administrator.", + "shop-owner-self-trade": "&eDu handelst mit deinem eigenen Shop, also wirst du keinen extra Saldo erhalten.", + "chest-title": "QuickShop Laden" } diff --git a/src/main/resources/lang/el-GR/messages.json b/src/main/resources/lang/el-GR/messages.json index 2e8c084ae..229076b7a 100644 --- a/src/main/resources/lang/el-GR/messages.json +++ b/src/main/resources/lang/el-GR/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Translator: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/en-US/messages.json b/src/main/resources/lang/en-US/messages.json index be71de4bf..29d7d68e5 100644 --- a/src/main/resources/lang/en-US/messages.json +++ b/src/main/resources/lang/en-US/messages.json @@ -1,16 +1,17 @@ { - "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", + "_comment": "Hi translator! If you are editing this from Github or from code sources, you should go to https://crowdin.com/project/quickshop-reremake", + "file-test": "This is a test text file. We use it to test if the messages.json is broken. You can fill it with any easter-eggs you like here :)", "translation-author": "Translator: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", "integrations-check-failed-create": "&cIntegration {0} denied the shop-creation", "integrations-check-failed-trade": "&cIntegration {0} denied the Shop trading", - "3rd-plugin-build-check-failed": "&c3rd party plugin &l{0}&r&c denied the permission checks, did you have permission setup in there?", + "3rd-plugin-build-check-failed": "&c3rd party plugin &l{0}&r&c denied the permission checks, did you have permission set up in there?", "no-creative-break": "&cYou cannot break other players shops in creative mode, switch to survival mode or try to use the supertool {0} instead.", "trading-in-creative-mode-is-disabled": "&cYou cannot trade with this shop while being in creative mode.", "supertool-is-disabled": "&cSupertool is disabled. Cannot break any shops.", @@ -170,8 +171,8 @@ "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", "currency": "&eSet or remove the currency setting of the shop", - "ban": "&eBans a player from the shop", - "unban": "&eUnbans a player from the shop", + "ban": "&eBan a player from the shop", + "unban": "&eUnban a player from the shop", "freeze": "&eDisable or Enable shop trading", "lock": "&eSwitch the shop's lock status" }, @@ -316,5 +317,7 @@ "console-only": "&cThis command can only be executed by Console.", "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trade with your own shop, so you might not gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/es-ES/messages.json b/src/main/resources/lang/es-ES/messages.json index 9d616b359..de69fbb19 100644 --- a/src/main/resources/lang/es-ES/messages.json +++ b/src/main/resources/lang/es-ES/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "Este es un archivo de texto de prueba. Lo usamos para probar si el messages.json está roto. Puedes llenarlo con los huevos de pascua que quieras aquí :)", "translation-author": "Traductor: Ghost_chu, Andre_601, MarcosTheFasdox", "translation-version": "&c&lVersión soportada: &b&lReremake", "translation-contributors": "Contribuidores: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken y Andre_601", "translation-country": "&c&lZona de idioma: &b&lEspañol (es_ES)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cNo se pudo encontrar ninguna QuickShop. Tienes que mirar hacia una.", "no-anythings-in-your-hand": "&cNo hay nada en tu mano.", "no-permission": "&cNo tienes permiso para hacer eso.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aHas pagado &c{0}&a para cambiar de precio.", "price-is-now": "&aEl nuevo precio de la tienda es &e{0}", "thats-not-a-number": "&cNúmero inválido.", - "forbidden-vanilla-behavior": "&cLa operación está prohibida por no ser compatible con el comportamiento vainilla", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPor favor ingresa un precio válido.", "average-price-nearby": "&aPrecio medio en esta zona: &e{0}", "shop-has-changed": "&c¡La tienda que trataste de usar ha cambiado desde que hiciste clic!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo se especificó cantidad. Usa &a/qs refill &c", "now-debuging": "&aModo desarrollador habilitado. Recargando QuickShop...", "now-nolonger-debuging": "&aModo desarrollador deshabilitado. Recargando QuickShop...", - "wrong-args": "&cArgumentos no válidos. Usa &l/qs help &rpara previsualizar la lista de comandos.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aAyuda de QuickShop", "unlimited": "&eDa un stock ilimitado a una tienda.", @@ -169,14 +170,14 @@ "removeall": "&eElimina todas las tiendas de un jugador especificado", "transfer": "&eTransferir TODAS las tiendas de alguien a otros", "removeworld": "&ese removieron ALL tiendas en el mundo", - "currency": "&eEstablecer o remover la configuración de divisa en la tienda", - "ban": "&eBanear a un jugador de la tienda", - "unban": "&eDesbaneando a un jugador de la tienda", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDesactivar o activar el trading en la tienda", - "lock": "&eCambiar el estado de bloqueo de la tienda" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cEste comando esta deshabilitado: &e{0}", - "feature-not-enabled": "La característica no está habilitada en la configuración." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Vendo {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Agotado", "out-of-space": "Sin espacio", - "freeze": "Operación desactivada" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aPropietario: &b{0} &e[&d&lCambiar&e]", @@ -219,9 +220,9 @@ "currency": "&aMoneda: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick para establecer o remover la divisa que utiliza la tienda", "lock": "&eTienda bloqueada: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eActivar/Desactivar protección contra bloqueo de la tienda.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eTienda bloqueada: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eCambiar estado de congelación de la tienda" + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "¡Doctor, QuickShop tiene una nueva actualización {0}! Debería actualizar~", "Ko~ko~da~yo~ QuickShop tiene una nueva actualización {0} ~" ], - "remote-disable-warning": "&cEsta versión de QuickShop ha sido marcada como deshabilitada por el servidor remoto. Esto significa que esta versión puede tener serios problemas. Más detalles en nuestra página de SpigotMC: {0}. Este aviso aparecerá y te advertirá en tu consola hasta que cambies a una versión aceptada. Sin embargo, esto no tiene por qué afectar al rendimiento de tu servidor.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Inestable]", "stable": "[Estable]", @@ -312,9 +313,11 @@ "currency-unset": "&aDivisa de la tienda ha sido removida con éxito. Usando la configuración predeterminada ahora.", "currency-not-support": "&cEl plugin de economía no soporta funciones multidivisas.", "item-not-exist": "&cEl objeto &e{0} &cno existe, por favor comprueba tu ortografía.", - "backup-success": "&aCopia de seguridad exitosa.", - "console-only": "&cEste comando solo puede ser ejecutado por Consola.", - "console-only-danger": "&cPor seguridad, este comando solo puede ser ejecutado por Consola.", - "clean-warning": "&eEste comando purgará &e las tiendas si la tienda está dañada o creada en mundos no permitidos o compras/objetos no permitidos y &c&LEN MUNDOS DE TIENDAS NO CARGADOS, asegúrate de tener una copia de seguridad completa de los datos de tu tienda y usa &b/qs confirmar &eo continuar.", - "shop-creation-failed": "&cFalló la creación de la tienda, por favor contacte con el administrador del servidor." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cFalló la creación de la tienda, por favor contacte con el administrador del servidor.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/fi-FI/messages.json b/src/main/resources/lang/fi-FI/messages.json index 6a5494132..57bfb8bf5 100644 --- a/src/main/resources/lang/fi-FI/messages.json +++ b/src/main/resources/lang/fi-FI/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Kääntäjät: eemunni, Antti", "translation-version": "Tuettu versio: Reremake", "translation-contributors": "Avustajat: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Kielialue: Suomi (fi_FI)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cQuickShoppia ei löytynyt. Sinun täytyy katsoa yhtä.", "no-anythings-in-your-hand": "&cKädessäsi ei ole mitään.", "no-permission": "&cSinulla ei ole oikeutta tehdä noin.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aMaksoit {0} vaihtaaksesi kaupan hinnan.", "price-is-now": "&aKaupan uusi hinta on nyt &e{0}", "thats-not-a-number": "&cEpäkelpo numero.", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cAnnathan validin hinnan.", "average-price-nearby": "&aLähistöllä olevien keskimääräinen hinta: &e{0}", "shop-has-changed": "&cKauppa, jota yritit käyttää, on muuttanut hintaansa tai muita tietoja sen jälkeen kun klikkasit sitä!", @@ -138,7 +139,7 @@ "no-amount-given": "&cMäärää ei annettu. Käytä &a/qs refill &c", "now-debuging": "&aOnnistuneesti siirrytty kehittäjätilaan. QuickShop ladataan uudelleen...", "now-nolonger-debuging": "&aOnnistuneesti siirrytty käyttötilaan. QuickShop ladataan uudelleen...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop apu", "unlimited": "&eAntaa kaupalle loputtoman varaston.", @@ -169,14 +170,14 @@ "removeall": "&ePoista KAIKKI kaupat kyseiseltä pelaajalta", "transfer": "&eSiirrä jonkun KAIKKI kaupat toiselle", "removeworld": "&ePoista KAIKKI kaupat kyseisestä maailmasta", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "{0} kpl", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOmistaja: &b{0} &e[&dvaihda&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Tohtori, QuickShop sai uuden päivityksen {0}! Sinun pitäisi päivittää~", "Ko~ko~da~yo~ QuickShop on saanut uuden päivityksen {0}~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Epävakaa]", "stable": "[Vakaa]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/fr-FR/messages.json b/src/main/resources/lang/fr-FR/messages.json index dfe521117..ab2493680 100644 --- a/src/main/resources/lang/fr-FR/messages.json +++ b/src/main/resources/lang/fr-FR/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Bonjour traducteur! Si vous éditez ceci à partir de Github ou à partir de sources de code, vous devriez aller sur https://crowdin.com/project/quickshop-reremake", "file-test": "Ceci est un fichier texte de test. Nous l'utilisons pour tester si les messages sont cassé. Vous pouvez le remplir avec n'importe quel \"easter eggs\" que vous aimez ici :)", "translation-author": "&cYou only have room for {0} more", "translation-version": "Version suportée: Reremake", "translation-contributors": "Contributeurs : Timtower, Netherfoam, KaiNoMood, Mgazul, JackThePicken, Andre_601 et brunopaiva15, HiiRaZ", "translation-country": "Langue: Français (fr_FR)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cImpossible de trouver un QuickShop. Vous devez en regarder un.", "no-anythings-in-your-hand": "&cVous n'avez aucun objet dans votre main.", "no-permission": "&cVous n'avez pas la permission de faire ceci.", @@ -138,7 +139,7 @@ "no-amount-given": "&cAucun montant donné. Utilisez &a/qs refill &c", "now-debuging": "&aPassage réussi en mode développeur. Rechargement de QuickShop...", "now-nolonger-debuging": "&aPassage réussi en mode développeur. Rechargement de QuickShop...", - "wrong-args": "&cArguments invalides. Utilisez &l/qs help &rpour prévisualiser la liste des commandes.", + "wrong-args": "&cArgument invalide. Utilisez &l/qs help &cpour voir une liste de commandes.", "description": { "title": "&aAide QuickShop", "unlimited": "&eDonne à une boutique un stock illimité.", @@ -169,14 +170,14 @@ "removeall": "&eSupprimer toutes les boutiques d'un joueur spécifié", "transfer": "&eTransférer TOUS les shops d'un joueur vers un autre", "removeworld": "&eSupprime TOUTES les boutiques dans un monde spécifié", - "currency": "&eDéfinir ou supprimer les paramètres actuelles de la boutique", - "ban": "&eInterdire un joueur de la boutique", + "currency": "&eDéfinir ou supprimer les paramètres de devise de la boutique", + "ban": "&eBannit un joueur de la boutique", "unban": "&eDébannir un joueur de la boutique", "freeze": "&eDésactiver ou activer le trading en magasin", "lock": "&eChanger l'état de verrouillage de la boutique" }, "disabled": "&cCette commande est désactivée : &e{0}", - "feature-not-enabled": "La fonctionnalité n'est pas activée dans la configuration." + "feature-not-enabled": "Cette fonctionnalité n'est pas activée dans le fichier de configuration." }, "signs": { "selling": "Vendre : {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Rupture de stock", "out-of-space": "Espace insuffisant", - "freeze": "Transaction désactivée" + "freeze": "Echange désactivé" }, "controlpanel": { "setowner": "&aPropriétaire: &b{0} &e[&dChanger&e]", @@ -221,7 +222,7 @@ "lock": "&eVerrouillage de la boutique : &b{0} &e[&d&lActiver&e]", "lock-hover": "&eActiver/Désactiver la protection de verrouillage de la boutique.", "freeze": "&eVerrouillage de la boutique : &b{0} &e[&d&lActiver&e]", - "freeze-hover": "&eActiver/désactiver le statut de blocage de la boutique," + "freeze-hover": "&eActiver/désactiver le statut de blocage de la boutique." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Docteur, QuickShop a une nouvelle mise à jour {0}! Vous devriez mettre à jour ~", "Ko~ko~da~yo~ QuickShop a une nouvelle mise à jour {0}~" ], - "remote-disable-warning": "&cCette version de QuickShop a été désignée comme désactivée par le serveur distant. Cela signifie que cette version peux contenir de sérieux problèmes et bugs. Plus de détails sur notre page SpigotMC: {0}. Cet avertissement apparaitra dans votre console jusqu'à ce que vous utilisiez une version stable de QuickShop. Ceci n'affecte pas le fonctionnement de votre serveur.", + "remote-disable-warning": "&cCette version de QuickShop est marquée comme désactivée par le serveur distant, ce qui signifie que cette version peut avoir de sérieux problèmes, obtenez plus en profondeur des détails sur notre page SpigotMC : {0}. Cette alerte continuera d'apparaître jusqu'à ce que vous passiez à une version stable, mais elle n'affectera pas les performances de votre serveur.", "label": { "unstable": "[Instable]", "stable": "[Stable]", @@ -313,8 +314,10 @@ "currency-not-support": "&cLe plugin d'économie ne supporte pas la fonction de multi-économie.", "item-not-exist": "&cL'objet &e{0} &cn'existe pas, veuillez vérifier votre orthographe.", "backup-success": "&aSauvegarde réussie.", - "console-only": "&cCette commande ne peut être exécutée que par la Console.", - "console-only-danger": "&cIl s'agit d'une commande dangereuse qui ne peut être exécutée que par la Console.", - "clean-warning": "&eCette commande purgera &ctoutes &eles boutiques si la boutique est endommagée ou créée dans des mondes non autorisés ou vendant/achetant des objets non autorisés et &c&lDANS DES BOUTIQUES DE MONDES NON CHARGÉS&e, assurez-vous d'avoir une sauvegarde complète des données de vos boutiques et utilisez la commande &b/qs cleanghost confirm &epour continuer.", - "shop-creation-failed": "&cLa création de la boutique a échoué, veuillez contacter l'administrateur du serveur." + "console-only": "&cCette commande ne peut être exécutée que par la console.", + "console-only-danger": "&cCette commande est dangereuse pour que seule la console puisse l'exécuter.", + "clean-warning": "&eCette commande va purger &appeler &eshops si la boutique est endommagée, a été créée dans des mondes non autorisés, vende/achète des objets non autorisés ou &c&lEXISTS DANS UN MONDE DÉCHARGÉ. Assurez-vous d'abord de créer une sauvegarde complète des données de votre boutique et utilisez &b/qs cleanghost confirmer &epour continuer.", + "shop-creation-failed": "&cLa création de la boutique a échoué, veuillez contacter l'administrateur du serveur.", + "shop-owner-self-trade": "&eVous négociez avec vous en magasin, vous ne pourrez donc pas gagner de solde.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/he-IL/messages.json b/src/main/resources/lang/he-IL/messages.json index 2e8c084ae..229076b7a 100644 --- a/src/main/resources/lang/he-IL/messages.json +++ b/src/main/resources/lang/he-IL/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Translator: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/hu-HU/messages.json b/src/main/resources/lang/hu-HU/messages.json index d63418b71..e06d95c59 100644 --- a/src/main/resources/lang/hu-HU/messages.json +++ b/src/main/resources/lang/hu-HU/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Fordító: Gobli989, Mesterkender", "translation-version": "Támogatott Verzió: Reremake", "translation-contributors": "Közreműködők: Timtower, Netherfoam, KaiNoMood and Mgazul", "translation-country": "Nyelv Zóna: Magyar (hu_HU)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cEz nem egy bolt amire nézel.", "no-anythings-in-your-hand": "&cNincs semmi a kezedben.", "no-permission": "&cNincs jogod ehhez!", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aNeked fizetned kell &c{0}&a, hogy az ár megváltozzon.", "price-is-now": "&aA boltok új ára &e{0}", "thats-not-a-number": "&cIsmeretlen szám.", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cKérlek adj meg egy valós számot.", "average-price-nearby": "&aÁtlagos ár a közeledben: &e{0}", "shop-has-changed": "&cA bolt amit megpróbáltál használni, megvátozott amióta rányomtál!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNincs megadva mennyiség! Használd &a/qs refill &c", "now-debuging": "&aSikeresen átváltottál fejlesztő módba. Gyorsbolt újratöltése...", "now-nolonger-debuging": "&aSikeresen átváltottál gyártás módba. Gyorsbolt újratöltése...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aGyorsbolt segítség", "unlimited": "&eA bolt korlátlanná tétele", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Eladás {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aTulajdonos: &b{0} &e[&d&lMegváltoztatás&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doki, a QuickShopnak van egy új frissítése: {0}! Jó lenne frissíteni~", "Ko~ko~da~yo~ a QuickShopnak van egy új frissítése: {0}~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Megbízhatatlan]", "stable": "[Megbízható]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/it-IT/messages.json b/src/main/resources/lang/it-IT/messages.json index 47999df64..0f4556200 100644 --- a/src/main/resources/lang/it-IT/messages.json +++ b/src/main/resources/lang/it-IT/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Traduttori: Ghost_chu, Andre_601, MaxFederico", "translation-version": "Versione di Supporto: Reremake", "translation-contributors": "Collaboratori: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (it_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cImpossibile trovare un negozio. È necessario guardarne uno.", "no-anythings-in-your-hand": "&cNon hai nulla in mano.", "no-permission": "&cNon hai il permesso per farlo.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aHai pagato &c{0}&a per cambiare il prezzo.", "price-is-now": "&aIl nuovo prezzo del negozio è &e{0}", "thats-not-a-number": "&cNumero Invalido", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPerfavore, inserisci un prezzo valido.", "average-price-nearby": "&aPrezzo medio nelle vicinanze: &e{0}", "shop-has-changed": "&cIl negozio che hai provato ad utilizzare è cambiato da quando l'hai cliccato!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNessun importo fornito. Usa &a/qs refill &c", "now-debuging": "&aModalità sviluppatore attivata con successo. Ricaricando QuickShop...", "now-nolonger-debuging": "&aModalità sviluppatore disabilitata con successo. Ricaricando QuickShop...", - "wrong-args": "&cArgomenti non validi. Usa &l/qs help &cper vedere un elenco di comandi.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aAiuto di QuickShop", "unlimited": "&eDà a un negozio scorte illimitate.", @@ -169,14 +170,14 @@ "removeall": "&eRimuovi TUTTI i negozi di un giocatore specificato", "transfer": "&eTrasferisci tutti i negozi di qualcuno ad un altro player", "removeworld": "&eRimuovi tutti i negozi in uno specifico mondo", - "currency": "&eImposta o rimuove le impostazioni di valuta del negozio", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cQuesto comando è disabilitato: &e{0}", - "feature-not-enabled": "La funzione non è abilitata nel config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Vendi {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aProprietario: &b{0} &e[&d&lCambia&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClicca per impostare o rimuovere la valuta che questo negozio sta usando", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Dottore, QuickShop ha un nuovo aggiornamento {0}! Dovresti aggiornare~", "Ko~ko~da~yo~ QuickShop ha un nuovo aggiornamento {0}~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aValuta del negozio rimossa con successo. Utilizzando le impostazioni predefinite ora.", "currency-not-support": "&cIl plugin dell'conomia non supporta la funzione multi-economia.", "item-not-exist": "&cL'elemento &e{0} &cnon esiste, controlla la tua ortografia.", - "backup-success": "&aBackup completato.", - "console-only": "&cQuesto comando può essere eseguito solo dalla Console.", - "console-only-danger": "&cQuesto è un comando di pericolo, quindi può essere eseguito solo dalla Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/ja-JP/messages.json b/src/main/resources/lang/ja-JP/messages.json index 2c12a3f15..b757b2404 100644 --- a/src/main/resources/lang/ja-JP/messages.json +++ b/src/main/resources/lang/ja-JP/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "翻訳者: Ghost_chu, Andre_601", "translation-version": "&c&lサポートバージョン: &b&lReremake", "translation-contributors": "貢献者: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken, Andre_601 and Namiu", "translation-country": "&c&l言語圏: &b&l日本語 (ja_JP)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cQuickShopが見つかりませんでした。確認する必要があります。", "no-anythings-in-your-hand": "&cあなたは手に何も持っていません。", "no-permission": "&cあなたは権限を持っていないため実行できません。", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&a価格変更のため &c{0}&a を支払いました", "price-is-now": "&aショップの新しい価格は &e{0} です", "thats-not-a-number": "&c無効な番号です", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&c有効な価格を設定してください", "average-price-nearby": "&a近所の平均価格: &e{0}", "shop-has-changed": "&cクリックしてから利用しようとしたショップが変わっています!", @@ -138,7 +139,7 @@ "no-amount-given": "&c個数が入力されていません。&a/qs refill &c を使用してください", "now-debuging": "&a開発者モードに切り替え成功、QuickShopをリロードしています。", "now-nolonger-debuging": "&a開発者モードを無効化しました。QuickShopをリロードしています。", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop ヘルプ", "unlimited": "&eショップに無制限の在庫を与えます", @@ -169,14 +170,14 @@ "removeall": "&e指定したプレイヤーのすべてのショップを削除します", "transfer": "&e自分のすべてのショップを指定したプレイヤーに譲渡します", "removeworld": "&e指定したワールド内のすべてのショップを削除します", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "販売 {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aオーナー: &b{0} &e[&d&l変更&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "ドクター!QuickShopに新しいアップデート {0} がやってきました!アップデートした方がいいですよ~", "こ~こ~だ~よ~!QuickShopに新しいアップデート {0} があるよ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/ko-KR/messages.json b/src/main/resources/lang/ko-KR/messages.json index cba223889..a3eb1ebda 100644 --- a/src/main/resources/lang/ko-KR/messages.json +++ b/src/main/resources/lang/ko-KR/messages.json @@ -1,10 +1,11 @@ { + "_comment": "안녕하세요 번역가님! 만약 당신이 깃헙이나 소스코드에서 번역 중이라면 다음 사이트를 가보시기 바래요! https://crowdin.com/project/quickshop-reremake", "file-test": "이것은텍스트파일일까요? 한국어 일까yo? :)", "translation-author": "번역: Ghost_chu, Chicki_yeah(번역에 이상한 부분이 있다면 치키이예#0032로 연락해주시면 수정하겠습니다.), jho5245, Kim dong kwon, Ppag", "translation-version": "지원 버전: Reremake", "translation-contributors": "기여자: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "언어 지역: 한국어 (Ko)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&c퀵샵을 찾을수 없습니다. 상점을 보고있어야만합니다!", "no-anythings-in-your-hand": "&c당신의 손에 아무것도 없습니다.", "no-permission": "&c당신에게는 이것을 사용할 권한이 없습니다.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&a가격 변경비&c{0} 원을 &a지불 하였습니다.", "price-is-now": "&a새로운 상점의 가격은 &e{0}&a입니다.", "thats-not-a-number": "&c잘못된 숫자입니다. 확인하시고 다시 입력하세요.", - "forbidden-vanilla-behavior": "&c 바닐라 동작과 일치하지 않기 때문에 작업이 금지됩니다.", + "forbidden-vanilla-behavior": "&c바닐라 동작과 일치하지 않기 때문에 작업이 금지됩니다.", "no-price-given": "&c유효한 가격을 입력해주세요.", "average-price-nearby": "&a근처 평균 가격: &e{0} 원", "shop-has-changed": "&c유저님이 사용하려고 했던 상점이 유저님이 클릭한 이후로 변경되었습니다! 상점을 다시 클릭해주세요!", @@ -170,7 +171,7 @@ "transfer": "&e누군가의 모든 가게를 다른 곳으로 옮깁니다.", "removeworld": "&e지정된 월드의 모든 상점을 제거합니다.", "currency": "&a상점의 통화 설정을 설정하거나 제거합니다.", - "ban": "&e플레이어 차단", + "ban": "&e플레이어를 상점에서 거래하지 못하게 합니다.", "unban": "&e플레이어 차단헤제", "freeze": "&e상점 거래 비활성화 또는 활성화", "lock": "상점 잠금 상태 전환" @@ -221,7 +222,7 @@ "lock": "&e동결 생태: &b{0} &e[&d&l전환&e]", "lock-hover": "&e상점 잠금 보호를 활성화/비활성화 합니다. ", "freeze": "&e동결 상태: &b{0} &e[&d&l전환&e]", - "freeze-hover": "&e상점 동결 상태 전환," + "freeze-hover": "&e상점 동결 상태 전환." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "닥터, QuickShop에 새로운 업데이트 {0} 이(가) 있어! 업데이트 해야죠~", "Ko~ko~da~yo~ QuickShop에 새로운 업데이트 {0} ~" ], - "remote-disable-warning": "이 버전의 QuickShop은 원격 서버에 의해 비활성화되어 있습니다. 이 버전에는 심각한 문제가 있을 수 있습니다. SpigotMC 페이지에서 자세한 내용을 확인하십시오 : {0}.이 경고는 당신의 콘솔에 허가된 버전을 사용할 때까지 뜰 것입니다. 서버 구동에는 영향을 주지 않습니다.", + "remote-disable-warning": "이 버전의 QuickShop은 원격 서버에 의해 비활성화되어 있습니다. 이 버전에는 심각한 문제가 있을 수 있습니다. SpigotMC 페이지에서 자세한 내용을 확인하십시오 : {0}.이 경고는 당신이 안정된 버전을 사용할 때까지 뜰 것입니다. 서버 구동에는 영향을 주지 않습니다.", "label": { "unstable": "[불안정함]", "stable": "[안정됨]", @@ -314,7 +315,9 @@ "item-not-exist": "&e{0} &c이란 아이템을 찾을수 없습니다. 스펠링을 확인하세요.", "backup-success": "&a백업 완료.", "console-only": "&c이 명령어는 콘솔에서만 사용할 수 있습니다.", - "console-only-danger": "&c이 명령어는 위험하기 때문에 콘솔에서만 실행할수 있습니다. ", - "clean-warning": "이 명령어은 허용되지 않는 월드 또는 허용되지 않는 아이템을 판매/구매중인 상점과 &c&l로드되지 않은 월드의 모든 샵을 삭제합니다 샵 데이터를 전체 백업하고 /qs cleanhost를 사용하여 계속 진행하십시오.", - "shop-creation-failed": "&c상점을 만들지 못했습니다, 서버 관리자에게 문의해주세요." + "console-only-danger": "&c이 명령어는 위험하기에 콘솔에서만 실행할 수 있습니다.", + "clean-warning": "&e이 명령어는 &c손상된 상점과 허용되지 않는 아이템을 판매/구매중인 상점과 &c&l로드되지 않은 월드의 모든 샵을 삭제합니다 &e상점 데이터를 전체 백업하고 &b/qs cleanhost를 사용하여 &e계속 진행하십시오.", + "shop-creation-failed": "&c상점을 만들지 못했습니다, 서버 관리자에게 문의해주세요.", + "shop-owner-self-trade": "&e당신은 당신의 상점과 거래중이며 얼마의 돈도 얻지 못합니다.", + "chest-title": "퀵샵 상점" } diff --git a/src/main/resources/lang/nl-NL/messages.json b/src/main/resources/lang/nl-NL/messages.json index e530a0de9..8826a3cf0 100644 --- a/src/main/resources/lang/nl-NL/messages.json +++ b/src/main/resources/lang/nl-NL/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "Dit is een test textfile. We gebruiken dit om te testen of de \"message.json\" kapot is. Je kan dit vullen met elke easter egg die jij leuk vindt", "translation-author": "Vertaler", "translation-version": "ondersteunende versie: Reremake", "translation-contributors": "Medewerkers", "translation-country": "Taal Zone: Engels (nl_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cGeen QuickShop gevonden, je moet naar een QuickShop kijken.", "no-anythings-in-your-hand": "&cJe hebt niks in je hand.", "no-permission": "&cJe hebt hiervoor geen rechten.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aU betaald &c{0}&a om de prijs te wijzigen.", "price-is-now": "&aDe nieuwe prijs van de winkel is &e{0}", "thats-not-a-number": "&cOngeldig nummer", - "forbidden-vanilla-behavior": "&cDe bewerking is niet toegestaan omdat deze niet in overeenstemming is met het gedrag van vanilla", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cGeef een geldige prijs.", "average-price-nearby": "&aNabijgelegen gemiddelde prijs: &e{0}", "shop-has-changed": "&cDe winkel die u probeerde te gebruiken is veranderd sinds u erop klikt!", @@ -138,7 +139,7 @@ "no-amount-given": "&cGeen bedrag verstrekt. Gebruik &a/qs refill &c", "now-debuging": "&aSuccesvol geactiveerd ontwikkelaarsmodus. QuickShop herladen...", "now-nolonger-debuging": "&aOntwikkelaarsmodus uitgeschakeld. QuickShop herladen...", - "wrong-args": "&cOngeldige argumenten. Gebruik &l/qs help &cvoor een lijst met commando's.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGeeft een winkel onbeperkt voorraad.", @@ -169,14 +170,14 @@ "removeall": "&eVerwijder ALLE winkels van een bepaalde speler", "transfer": "&eTransfer iemands ALLE winkels naar andere", "removeworld": "&eVerwijder alle winkels in een bepaalde wereld", - "currency": "&eSet of verwijder de valuta instellingen van de winkel", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cDeze opdracht is uitgeschakeld: &e{0}", - "feature-not-enabled": "De functie niet ingeschakeld in de config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Verkopen {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aEigenaar: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aValuta: &b{0} e[&d&lSet&e]", "currency-hover": "&eKlik om de valuta die deze winkel gebruikt in te stellen of te verwijderen", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop heeft een nieuwe update {0}! U moet bijwerken~", "Ko~ko~da~yo~ QuickShop heeft een nieuwe update {0}~" ], - "remote-disable-warning": "&cDeze versie van QuickShop is uitgeschakeld door de externe server betekenis dat deze versie ernstige problemen kan hebben, krijg details op de Spigot plugin pagina: {0}. Deze waarschuwing blijft onzichtbaar tot je overschakelt naar een stabiele versie, maar het heeft geen invloed op de performentie van je server.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop valuta verwijderd. Standaard instellingen nu gebruiken.", "currency-not-support": "&cThe economy plugin ondersteunt de multi-economy functie niet.", "item-not-exist": "&cHet item &e{0} &cbestaat niet, controleer je spelling.", - "backup-success": "&aBack-up succesvol.", - "console-only": "&cDeze opdracht kan alleen worden uitgevoerd door Console.", - "console-only-danger": "&cDit is een gevaars-commando zodat alleen door Console kan worden uitgevoerd.", - "clean-warning": "&eThis command zal &call shops verwijderen als de winkel beschadigd is of gemaakt is in niet-toegestane werelden of als het kopen van niet-toegestane artikelen en &c&lIN NIET LOADED WORLD SHOPS&e, zorg ervoor dat u volledige back-up van uw winkels gegevens heeft en gebruik &b/qs cleanghost bevestig &eto continu.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/no-NO/messages.json b/src/main/resources/lang/no-NO/messages.json index 2e8c084ae..12ede5df2 100644 --- a/src/main/resources/lang/no-NO/messages.json +++ b/src/main/resources/lang/no-NO/messages.json @@ -1,227 +1,228 @@ { - "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", - "translation-author": "Translator: Ghost_chu, Andre_601", - "translation-version": "Support Version: Reremake", - "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", - "translation-country": "Language Zone: English (en_US)", - "language-version": "54", - "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", - "no-anythings-in-your-hand": "&cThere is nothing in your hand.", - "no-permission": "&cYou do not have permission to do that.", - "integrations-check-failed-create": "&cIntegration {0} denied the shop-creation", - "integrations-check-failed-trade": "&cIntegration {0} denied the Shop trading", - "3rd-plugin-build-check-failed": "&c3rd party plugin &l{0}&r&c denied the permission checks, did you have permission setup in there?", - "no-creative-break": "&cYou cannot break other players shops in creative mode, switch to survival mode or try to use the supertool {0} instead.", - "trading-in-creative-mode-is-disabled": "&cYou cannot trade with this shop while being in creative mode.", - "supertool-is-disabled": "&cSupertool is disabled. Cannot break any shops.", - "no-double-chests": "&cYou cannot create the double chest shop.", - "not-managed-shop": "&cYou are not the owner or moderator of this Shop", - "shop-already-owned": "&cThis is already a shop.", - "chest-was-removed": "&cThe chest was removed.", - "price-too-cheap": "&cPrice must be greater than &e${0}", - "no-price-change": "&cThis wouldn't result in a price change!", - "you-cant-afford-a-new-shop": "&cIt costs {0} to create a new shop.", - "player-bought-from-your-store-tax": "&c{0} purchased {1} {2} from your shop, and you earned {3} ({4} in taxes).", - "you-cant-afford-to-change-price": "&cIt costs {0} to change the price in your shop.", - "success-created-shop": "&cShop created.", - "success-removed-shop": "&aShop removed.", - "shops-arent-locked": "&cRemember, shops are NOT protected from theft! If you want to stop thieves, lock it with LWC, Lockette, etc!", - "shop-creation-cancelled": "&cShop creation cancelled.", - "shop-purchase-cancelled": "&cShop purchase cancelled.", - "shop-stock-too-low": "&cThe shop only has {0} {1} left!", - "you-cant-afford-to-buy": "&cIt costs {0}, but you only have {1}", - "negative-amount": "&cYou can't trade negative amounts", - "not-a-number": "&cYou can only input a number, your input was {0}.", - "exceeded-maximum": "&cThe value exceeded the maximum value in Java.", - "not-a-integer": "&cYou must input a number, your input was {0}.", - "player-bought-from-your-store": "&c{0} purchased {1} {2} from your shop, and you earned {3}.", - "shop-out-of-stock": "&5Your shop at {0}, {1}, {2} has run out of {3}!", - "shop-has-no-space": "&cThe shop only has room for {0} more {1}.", - "you-dont-have-that-many-items": "&cYou only have {0} {1}.", - "the-owner-cant-afford-to-buy-from-you": "&cThis costs {0}, but the shop-owner only has {1}", - "player-sold-to-your-store": "&a{0} sold {1} {2} to your shop.", - "shop-out-of-space": "&5Your shop at {0}, {1}, {2} is now full.", - "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", - "price-is-now": "&aThe new price of the shop is &e{0}", - "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", - "no-price-given": "&cPlease give a valid price.", - "average-price-nearby": "&aNearby average price: &e{0}", - "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", - "shop-not-exist": "&cThere is no shop.", - "nearby-shop-this-way": "&aShop is {0} blocks away from you.", - "nearby-shop-header": "&aNearby Shop matching &b{0}&a:", - "nearby-shop-entry": "&a- Info:{0} &aPrice:&b{1} &ax:&b{2} &ay:&b{3} &az:&b{4} &adistance: &b{5} &ablock(s)", - "no-nearby-shop": "&cNo nearby shop matching {0}.", - "buying-more-than-selling": "&cWARNING: You are buying items for more than you are selling them!", - "not-enough-space": "&cYou only have room for {0} more!", - "refill-success": "&aRefill successful", - "empty-success": "&aEmptying shop successful", + "_comment": "Hei oversetter! Hvis du redigerer dette fra Github eller fra kildekoder, bør du gå til https://crowdin.com/project/quickshop-reremake", + "file-test": "Dette er en test tekstfil. Vi bruker den til å teste om messages.json er ødelagt. Her kan du skrive hva som helst uten at det påvirker noe :)", + "translation-author": "Oversetter: Baktus_79", + "translation-version": "Støttet versjon: Reremake", + "translation-contributors": "Bidragsytere: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", + "translation-country": "Språksone: Norsk (no_NO)", + "language-version": "56", + "not-looking-at-shop": "&cKunne ikke finne en QuickShop. Du må se på en butikk.", + "no-anythings-in-your-hand": "&cDet er ingenting i hånden din.", + "no-permission": "&cDu har ikke tillatelse til å gjøre det.", + "integrations-check-failed-create": "&cIntegrasjon {0} nektet opprettelse av butikken", + "integrations-check-failed-trade": "&cIntegrasjon {0} avviste handelen", + "3rd-plugin-build-check-failed": "&cTredjeparts plugin &l{0}&r&c nektet sjekk av tillatelser. Har du satt opp korrekt tillatelser for tredjeparts pluginen?", + "no-creative-break": "&cDu kan ikke ødelegge andre spillere sine butikker i kreativ modus. Bytt til overlevelsesmodus eller prøv å bruke superverktøyet {0} i stedet.", + "trading-in-creative-mode-is-disabled": "&cDu kan ikke handle med denne butikken mens du er i kreativ modus.", + "supertool-is-disabled": "&cSuperverktøyet er deaktivert. Kan ikke ødelegge butikker.", + "no-double-chests": "&cDu kan ikke opprette en butikk med dobbelkiste.", + "not-managed-shop": "&cDu er ikke eieren eller moderator for denne butikken", + "shop-already-owned": "&cDette er allerede en butikk.", + "chest-was-removed": "&cKisten ble fjernet.", + "price-too-cheap": "&cPrisen må være høyere enn &e${0}", + "no-price-change": "&cDette ville ikke resultere i en prisendring!", + "you-cant-afford-a-new-shop": "&cDet koster {0} å opprette en ny butikk.", + "player-bought-from-your-store-tax": "&c{0} kjøpte {1} {2} fra butikken din og du tjente {3} ({4} i skatter).", + "you-cant-afford-to-change-price": "&cDet koster {0} å endre prisen i butikken.", + "success-created-shop": "&cButikk er opprettet.", + "success-removed-shop": "&aButikken ble fjernet.", + "shops-arent-locked": "&cHusk, butikker er IKKE beskyttet fra stjeling! Hvis du vil stoppe tyver, lås det med LWC, Lockette, osv!", + "shop-creation-cancelled": "&cOpprettelse av butikk ble kansellert.", + "shop-purchase-cancelled": "&cKjøpet ble avbrutt.", + "shop-stock-too-low": "&cButikken har kun {0} {1} igjen!", + "you-cant-afford-to-buy": "&cDet koster {0}, men du har bare {1}", + "negative-amount": "&cDu kan ikke handle med negativt beløp", + "not-a-number": "&cDu kan bare angi et nummer, du skrev {0}.", + "exceeded-maximum": "&cVerdien overskrider maksimumsverdien i Java.", + "not-a-integer": "&cDu kan bare angi et nummer, du skrev {0}.", + "player-bought-from-your-store": "&c{0} kjøpte {1} {2} fra butikken din, og du tjente {3}.", + "shop-out-of-stock": "&5Butikken din på lokasjon {0}, {1}, {2} har gått tom for {3}!", + "shop-has-no-space": "&cButikken har kun plass til {0} stykker til av {1}.", + "you-dont-have-that-many-items": "&cDu har bare {0} {1}.", + "the-owner-cant-afford-to-buy-from-you": "&cDette koster {0}, men butikkeier har bare {1}", + "player-sold-to-your-store": "&a{0} solgte {1} {2} til din butikk.", + "shop-out-of-space": "&5Butikken din på lokasjon {0}, {1}, {2} er nå full.", + "fee-charged-for-price-change": "&aDu betalte &c{0}&a for å endre prisen.", + "price-is-now": "&aDen nye prisen på butikken er &e{0}", + "thats-not-a-number": "&cUgyldig nummer", + "forbidden-vanilla-behavior": "&cDette er ikke mulig fordi det ikke samsvarer med vanilla atferd", + "no-price-given": "&cVennligst oppgi en gyldig pris.", + "average-price-nearby": "&aGjennomsnittlig pris i nærheten: &e{0}", + "shop-has-changed": "&cButikken du prøvde å bruke er endret etter at du klikket på den!", + "shop-not-exist": "&cDet finnes ingen butikk.", + "nearby-shop-this-way": "&aButikken er {0} blokker unna deg.", + "nearby-shop-header": "&aNærliggende butikk samsvarer med &b{0}&a:", + "nearby-shop-entry": "&a- Info:{0} &aPris:&b{1} &ax:&b{2} &ay:&b{3} &az:&b{4} &adistanse: &b{5} &ablokk(er)", + "no-nearby-shop": "&cIngen nærliggende butikker samsvarer med {0}.", + "buying-more-than-selling": "&cADVARSEL: Du kjøper gjenstander for mer enn hva du selger de for!", + "not-enough-space": "&cDu har bare plass til {0} mer!", + "refill-success": "&aPåfyllingen ble vellykket", + "empty-success": "&aTømming av butikken ble gjennomført", "admin-shop": "AdminShop", - "unknown-owner": "Unknown", - "owner-bypass-check": "&eBypassed all checks. Trade successful! (You are now the shop owner!)", - "reached-maximum-can-create": "&cYou already created a maximum of {0}/{1} shops!", - "restricted-prices": "&cRestricted price for {0}: Min {1}, max {2}", - "no-enough-money-to-keep-shops": "&cYou didn't have enough money to keep your shops! All shops have been removed...", - "nothing-to-flush": "&aYou have no new shop messages.", - "break-shop-use-supertool": "&eYou can break the shop by using the SuperTool.", - "failed-to-put-sign": "&cNot enough space around the shop to place the info sign.", - "failed-to-paste": "&cFailed to upload the data to Pastebin. Check your internet connection and try again. (See console for details)", - "warn-to-paste": "&eCollecting data and uploading it to Pastebin, this may take a while. &c&lWarning:&c The data is kept public for one week! It may leak your server configuration and other sensitive information. Make sure you only send it to <rusted staff/developers.", - "price-too-high": "&cThe shop price is too high! You cannot create one with a price higher than {0}.", - "you-cant-create-shop-in-there": "&cYou don't have permission to create a shop at this location.", - "unknown-player": "&cTarget player doesn't exist, please check the username you typed.", - "shop-staff-cleared": "&aSuccessfully removed all staff members from your shop.", - "shop-staff-added": "&aSuccessfully added {0} as a staff member for your shop.", - "shop-staff-deleted": "&aSuccessfully removed {0} as a staff member for your shop.", - "no-permission-build": "&cYou cannot build a shop here.", - "success-change-owner-to-server": "&aSuccessfully set the shop owner to Server.", - "flush-finished": "&aSuccessfully flushed the messages.", - "purchase-failed": "&cPurchase failed: Internal Error. Please contact the Server Administrator.", - "no-pending-action": "&cYou do not have any pending actions", - "permission-denied-3rd-party": "&cPermission denied: 3rd Party Plugin [{0}].", - "shops-removed-in-world": "&eTotal &b{0}&e shops has been deleted in world &b{1}&e.", - "world-not-exists": "&cThe world &e{0}&c doesn't exist", + "unknown-owner": "Ukjent", + "owner-bypass-check": "&aAlle sjekker ble ignorert. Overføringen ble gjennomført! (Du er nå eieren av butikken!)", + "reached-maximum-can-create": "&cDu har allerede opprettet maksimum {0}/{1} butikker!", + "restricted-prices": "&cBegrenset pris for {0}: Min {1}, maks {2}", + "no-enough-money-to-keep-shops": "&cDu har ikke nok penger til å beholde butikkene! Alle butikker ble fjernet...", + "nothing-to-flush": "&aDu har ingen nye butikkmeldinger.", + "break-shop-use-supertool": "&eDu kan ødelegge butikken ved å bruke superverktøyet.", + "failed-to-put-sign": "&cIkke nok plass rundt butikken til å plassere informasjonskiltet.", + "failed-to-paste": "&cKunne ikke laste opp data til Pastebin. Sjekk internettforbindelsen din og prøv igjen. (Se konsoll for detaljer)", + "warn-to-paste": "&eSamler inn data for å laste den opp til Pastebin, dette kan ta en stund. &c&lAdvarsel:&c Dataene oppbevares offentlig i en uke! Det kan lekke serverkonfigurasjonen og annen sensitiv informasjon. Sørg for at du bare sender den til &lstab/utviklere du stoler på.", + "price-too-high": "&cButikkprisen er for høy! Du kan ikke sette en pris høyere enn {0}.", + "you-cant-create-shop-in-there": "&cDu har ikke tillatelse til å opprette en butikk på denne plasseringen.", + "unknown-player": "&cSpilleren eksisterer ikke, sjekk om du har skrevet riktig spillernavn.", + "shop-staff-cleared": "&aAlle ansatte ble fjernet fra din butikk.", + "shop-staff-added": "&cDu ansatte {0} som medarbeider i din butikk.", + "shop-staff-deleted": "&aSpiller {0} ble fjernet som medarbeider i din butikk.", + "no-permission-build": "&cDu kan ikke lage en butikk her.", + "success-change-owner-to-server": "&cButikkens eier ble satt til Server.", + "flush-finished": "&cAlle meldinger ble fjernet.", + "purchase-failed": "&cKjøp feilet: Intern feil. Vennligst kontakt serveradministratoren.", + "no-pending-action": "&cDu har ingen ventende handlinger", + "permission-denied-3rd-party": "&cTillatelse nektet: Tredjeparts Plugin [{0}].", + "shops-removed-in-world": "&eTotalt &b{0}&e butikker ble slettet i verden &b{1}&e.", + "world-not-exists": "&cVerden &e{0}&c finnes ikke", "menu": { - "successful-purchase": "&aSuccessfully purchased:", - "successfully-sold": "&aSuccessfully sold:", + "successful-purchase": "&aVellykket kjøp:", + "successfully-sold": "&aVellykket solgt:", "item-name-and-price": "&e{0} {1} &afor &e{2}", - "sell-tax": "&aYou paid &e{0} &ain taxes.", - "sell-tax-self": "&aYou didn't pay taxes because you own this shop.", - "enchants": "&5Enchantments", - "stored-enchants": "&5Stored Enchantments", - "shop-information": "&aShop Information:", - "owner": "&aOwner: {0}", - "item": "&aItem: &e{0}", + "sell-tax": "&aDu betalte skatt &e{0}.", + "sell-tax-self": "&aDu betalte ikke skatt fordi du eier denne butikken.", + "enchants": "&5Fortryllelser", + "stored-enchants": "&5Lagret Fortryllelser", + "shop-information": "&aButikk informasjon:", + "owner": "&aEier: {0}", + "item": "&aGjenstand: &e{0}", "item-holochat-error": "&c[Error]", - "preview": "&b[Item Preview]", - "space": "&aSpace: &e{0}", - "stock": "&aStock &e{0}", - "price-per": "&aPrice per &e{0} &a- &e{1}", - "price-per-stack": "&aPrice per &e{2}x {0} - {1}", - "total-value-of-chest": "&aTotal value of chest: &e{0}", - "damage-percent-remaining": "&e{0}% &aremaining.", - "this-shop-is-buying": "&aThis shop is &dBUYING&a items.", - "this-shop-is-selling": "&aThis shop is &bSELLING&a items.", - "shop-stack": "&aAmount of bulk: &e{0}", - "effects": "&aEffects" + "preview": "&b[Forhåndsvisning]", + "space": "&aPlass: &e{0}", + "stock": "&aTilgjengelig &e{0}", + "price-per": "&aPris per &e{0} &a- &e{1}", + "price-per-stack": "&aPris per &e{2}x {0} - {1}", + "total-value-of-chest": "&aTotal verdi for kisten: &e{0}", + "damage-percent-remaining": "&e{0}% &agjenstår.", + "this-shop-is-buying": "&aDenne butikken &dKJØPER&a gjenstander.", + "this-shop-is-selling": "&aDenne butikken &bSELGER&a gjenstander.", + "shop-stack": "&aAntall i pakken: &e{0}", + "effects": "&aEffekter" }, - "bypassing-lock": "&cBypassing a QuickShop lock!", - "that-is-locked": "&cThis shop is locked.", - "how-many-buy": "&aEnter in chat, how many you wish to &bBUY&a. You can buy &e{0}&a. Enter &ball&a to buy them all.", - "how-many-sell": "&aEnter in chat, how much you wish to &dSELL&a. You have &e{0}&a available. Enter &ball&a in chat, to sell all.", - "not-allowed-to-create": "&cYou may not create a shop here.", - "blacklisted-item": "&cYou cannot sell this item because it is on the blacklist", - "how-much-to-trade-for": "&aEnter in chat, how much you wish to trade &e{1}x {0}&a for.", + "bypassing-lock": "&cIgnorerer en QuickShop lås!", + "that-is-locked": "&cDenne butikken er låst.", + "how-many-buy": "&aSkriv i chat hvor mange du ønsker å &bKJØPE&a. Du kan kjøpe maks &e{0}&a. Skriv &ball&a om du vil kjøpe alle.", + "how-many-sell": "&aSkriv i chat hvor mange du ønsker å &dSELGE&a. Du har &e{0}&a tilgjengelig. Skriv &ball&a for å selge alle.", + "not-allowed-to-create": "&cDu kan ikke opprette en butikk her.", + "blacklisted-item": "&cDu kan ikke selge denne gjenstanden fordi den er på svartelisten", + "how-much-to-trade-for": "&aSkriv i chat hvor mye du ønsker å selge &e{1}x {0}&a for.", "command": { "toggle-unlimited": { - "unlimited": "&aShop is now unlimited", - "limited": "&aShop is now limited" + "unlimited": "&aButikken er nå ubegrenset", + "limited": "&aButikken er nå begrenset" }, - "transfer-success": "&aTransferred &e{0} &ashop(s) to &e{1}", - "transfer-success-other": "&aTransferred &e{0} {1}&a's shop(s) to &e{2}", - "some-shops-removed": "&e{0} &ashop(s) removed", - "no-owner-given": "&cNo owner provided", - "new-owner": "&aNew owner: &e{0}", - "now-buying": "&aNow &dBUYING &e{0}", - "now-selling": "&aNow &bSELLING &e{0}", - "cleaning": "&aRemoving shops without any stock...", - "reloading": "&aReloading...", - "cleaned": "&aRemoved &e{0}&a shops.", - "no-type-given": "&cUsage: /qs find ", - "no-world-given": "&cPlease specify a world name", - "bulk-size-not-set": "&cUsage: /qs size ", - "bulk-size-now": "&aNow trading &e{0}x {1}", - "invalid-bulk-amount": "&cThe given value {0} is larger than max stack size or lower than one", - "no-trade-item": "&aPlease hold a trade item to change in main hand", - "trade-item-now": "&aNow trading &e{0}x {1}", - "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", - "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", - "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "transfer-success": "&aOverførte &e{0} &abutikk(er) til &e{1}", + "transfer-success-other": "&aOverførte &e{0} &abutikker tilhørende &e{1}&a til &e{2}", + "some-shops-removed": "&e{0} &abutikk(er) ble fjernet", + "no-owner-given": "&cIngen eier er oppgitt", + "new-owner": "&aNy eier: &e{0}", + "now-buying": "&aDenne butikken &dKJØPER &anå &e{0}", + "now-selling": "&aDenne butikken &bSELGER &anå &e{0}", + "cleaning": "&aFjerner butikker uten innhold...", + "reloading": "&aLaster om på nytt...", + "cleaned": "&aFjernet &e{0}&a butikker.", + "no-type-given": "&cBruk: /qs find ", + "no-world-given": "&cVennligst spesifiser en verden", + "bulk-size-not-set": "&cBruk: /qs size ", + "bulk-size-now": "&aNå kan du handle &e{0}x {1}", + "invalid-bulk-amount": "&cDen angitte verdien {0} er større eller lavere enn tillatt buntstørrelse", + "no-trade-item": "&aVennligst hold gjenstanden du vil selge i hånden for å endre", + "trade-item-now": "&aNå kan du handle &e{0}x {1}", + "no-amount-given": "&cIngen antall er angitt. Bruk &a/qs refill &c", + "now-debuging": "&aUtviklermodus er aktivert. Laster om QuickShop...", + "now-nolonger-debuging": "&aUtviklermodus er deaktivert. Laster om QuickShop...", + "wrong-args": "&cUgyldig argument. Bruk &l/qs help &cfor å se en liste over kommandoer.", "description": { - "title": "&aQuickShop help", - "unlimited": "&eGives a shop unlimited stock.", - "setowner": "&eChanges the ownership of a shop.", - "owner": "&eChanges the ownership of a shop.", - "buy": "&eChanges a shop to &dBUY&e mode", - "sell": "&eChanges a shop to &bSELL&e mode", - "price": "&eChanges the buy/sell price of a shop", - "clean": "&eRemoves all (loaded) shops without any stock", - "find": "&eLocates the nearest shop of a specific type.", - "reload": "&eReloads the config.yml of QuickShop", - "refill": "&eAdds a given number of items to a shop", - "empty": "&eRemoves all items from a shop", - "debug": "&eEnables Developer mode", - "create": "&eCreates a new shop from the targeted chest", - "fetchmessage": "&eShow unread shop messages", - "info": "&eShow QuickShop statistics", - "paste": "&eUploads server data to Pastebin", - "staff": "&eManage your shop staff", - "remove": "&eRemoves the shop you're looking at", - "amount": "&eTo set item amount (Useful when having chat issues)", - "about": "&eShows QuickShop info", - "help": "&eShows QuickShop help", - "item": "&eChange shop item of a shop", - "size": "&eChange per bulk amount of a shop", - "supercreate": "&eCreate a shop while bypassing all protection checks", - "language": "&eChange the currently used language", - "removeall": "&eRemove ALL shops of a specified player", - "transfer": "&eTransfer someone's ALL shops to other", - "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", - "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "title": "&aQuickShop hjelp", + "unlimited": "&eGir en butikk ubegrenset lagerbeholdning.", + "setowner": "&eEndre eierskap på en butikk.", + "owner": "&eEndre eierskap på en butikk.", + "buy": "&eEndre en butikk til &dKJØP&e modus", + "sell": "&eEndre en butikk til &dSELG&e modus", + "price": "&eEndre kjøp-/salgsprisen for en butikk", + "clean": "&eFjerner alle aktive butikker uten innhold", + "find": "&eFinn nærmeste butikk av en bestemt type.", + "reload": "&eLaster om config.yml i QuickShop", + "refill": "&eLegger til angitt antall gjenstander til en butikk", + "empty": "&eFjerner alle gjenstander fra en butikk", + "debug": "&eAktiverer utviklermodus", + "create": "&eLager en ny butikk fra den utvalgte kisten", + "fetchmessage": "&eVis uleste butikkmeldinger", + "info": "&eVis statistikk for QuickShop", + "paste": "&eLaster opp server data til Pastebin", + "staff": "&eAdministrere butikkens ansatte", + "remove": "&eFjerner butikken du ser på", + "amount": "&eSett antall på gjenstand (Nyttig om du har problemer med chat)", + "about": "&eVis QuickShop info", + "help": "&eVis QuickShop hjelp", + "item": "&eEndre gjenstand i en butikk", + "size": "&eEndre antallet i pakken på en butikk", + "supercreate": "&eOpprett en butikk mens alle beskyttelse sjekker blir ignorert", + "language": "&eBytt språk", + "removeall": "&eFjern ALLE butikker for en spesifisert spiller", + "transfer": "&eOverfør ALLE butikker fra en spiller til en annen", + "removeworld": "&eFjern ALLE butikker i en spesifikk verden", + "currency": "&eSett eller fjern valuta oppsettet til butikken", + "ban": "&eUtesteng en spiller fra butikken", + "unban": "&eOpphev utestengelsen til en spiller på butikken", + "freeze": "&eDeaktiver eller Aktiver all handel", + "lock": "&eEndre butikkens låsestatus" }, - "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "disabled": "&cDenne kommandoen er deaktivert: &e{0}", + "feature-not-enabled": "Denne funksjonen er ikke aktivert i konfigurasjonsfilen." }, "signs": { - "selling": "Selling {0}", - "stack-selling": "Selling {0}", + "selling": "Selger {0}", + "stack-selling": "Selger {0}", "header": "{1}{0}", - "buying": "Buying {0}", - "stack-buying": "Buying {0}", + "buying": "Kjøper {0}", + "stack-buying": "Kjøper {0}", "item": "{0}", - "price": "{0} each", + "price": "{0} hver", "stack-price": "{0} per {1}x {2}", - "unlimited": "Unlimited", + "unlimited": "Ubegrenset", "status-available": "&a", "status-unavailable": "&c", - "out-of-stock": "Out of Stock", - "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "out-of-stock": "Utsolgt", + "out-of-space": "Tom for plass", + "freeze": "Handel deaktivert" }, "controlpanel": { - "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", - "infomation": "&aShop Control panel:", - "setowner-hover": "&eClick to switch owner.", - "unlimited": "&aUnlimited: {0} &e[&d&lChange&e]", - "unlimited-hover": "&eClick to toggle if the shop is unlimited.", - "mode-selling": "&aShop mode: &bSelling &e[&d&lChange&e]", - "mode-selling-hover": "&eClick to change the shop to BUY mode.", - "mode-buying": "&aShop mode: &bBuying &e[&d&lChange&e]", - "mode-buying-hover": "&eClick to change the shop to SELL mode.", - "price": "&aPrice: &b{0} &e[&d&lChange&e]", - "price-hover": "&eClick to set a new price for the item.", - "refill": "&aRefill: Refill the items &e[&d&lOK&e]", - "refill-hover": "&eClick to refill the shop.", - "empty": "&aEmpty: Remove all items &e[&d&lOK&e]", - "empty-hover": "&eClick to clear the inventory of the shop.", - "remove": "&c&l[Remove Shop]", - "remove-hover": "&eClick to remove this shop.", - "stack": "&aPer bulk amount: &b{0} &e[&d&lChange&e]", - "stack-hover": "&eClick to set the amount of item per bulk. Set to 1 for normal behaviour.", - "item": "&aShop Item: {0} &e[&d&lChange&e]", - "item-hover": "&eClick to change shop Item", - "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", - "currency-hover": "&eClick to set or remove the currency that this shop is using", - "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", - "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "setowner": "&aEier: &b{0} &e[&d&lEndre&e]", + "infomation": "&aButikkens kontrollpanel:", + "setowner-hover": "&eKlikk for å bytte eier.", + "unlimited": "&aUbegrenset: {0} &e[&d&lEndre&e]", + "unlimited-hover": "&eKlikk for å veksle om butikken er ubegrenset.", + "mode-selling": "&aButikkmodus: &bSelg &e[&d&lEndre&e]", + "mode-selling-hover": "&eKlikk for å endre butikken til KJØP modus.", + "mode-buying": "&aButikkmodus: &bKjøp &e[&d&lEndre&e]", + "mode-buying-hover": "&eKlikk for å endre butikken til SELG modus.", + "price": "&aPris: &b{0} &e[&d&lEndre&e]", + "price-hover": "&eKlikk for å velge en ny pris for varen.", + "refill": "&aPåfyll: Fyll på varer &e[&d&lOK&e]", + "refill-hover": "&eKlikk for å etterfylle butikken.", + "empty": "&aTøm: Fjern alle gjenstander &e[&d&lOK&e]", + "empty-hover": "&eKlikk for å fjerne alle varer fra butikken.", + "remove": "&c&l[Fjern Butikk]", + "remove-hover": "&eKlikk for å fjerne denne butikken.", + "stack": "&aAntall i pakken: &b{0} &e[&d&lEndre&e]", + "stack-hover": "&eKlikk for å sette antallet i pakken. Sett 1 for normal adferd.", + "item": "&aVare: {0} &e[&d&lEndre&e]", + "item-hover": "&eKlikk for å endre varen i butikken", + "currency": "&aValuta: &b{0} &e[&d&lSett&e]", + "currency-hover": "&eKlikk for å sette eller fjerne valutaen på butikken", + "lock": "&eButikklås: &b{0} &e[&d&lVeksle&e]", + "lock-hover": "&eAktiver/Deaktiver butikkens låsebeskyttelse.", + "freeze": "&eFrys modus: &b{0} &e[&d&lVeksle&e]", + "freeze-hover": "&eVeksle butikkens frysestatus." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -234,87 +235,89 @@ "failed": "&c✘" }, "tabcomplete": { - "price": "[price]", + "price": "[pris]", "range": "[range]", - "amount": "[amount]", - "currency": "[currency name]", - "item": "[item]" + "amount": "[antall]", + "currency": "[valuta navn]", + "item": "[gjenstand]" }, "updatenotify": { - "buttontitle": "[Update Now]", + "buttontitle": "[Oppdater Nå]", "onekeybuttontitle": "[OneKey Update]", "list": [ - "{0} was released. You are still using {1}!", - "Boom! New update {0} incoming. Update!", - "Surprise! {0} came out. You are on {1}", - "Looks like you need to update. {0} was released!", - "Ooops! {0} was now released. You are on {1}!", - "I swear, QS has been updated to {0}. Why have you not updated yet?", - "Fixing and re... Sorry, but {0} was released!", - "Err! Nope. This is not an error. {0} has been released!", - "OMG! {0} came out! Why are you still using {1}?", - "Todays News: QuickShop has been updated to {0}!", - "Plugin k.i.a. You should update to {0}!", - "Update {0} ignited. Save update!", - "There is an update available Commander. {0} has just came out!", - "Look my style---{0} updated. You're still using {1}", - "Ahhhhhhh! New update {0}! Update!", - "What do you think? {0} has been released! Update!", - "Doctor, QuickShop has a new update {0}! You should update~", - "Ko~ko~da~yo~ QuickShop has a new update {0} ~" + "{0} er lansert. Du er fremdeles på {1}!", + "Boom! Ny oppdatering {0} på vei. Oppdater!", + "Overraskelse! {0} er lansert. Du er på {1}", + "Ser ut som du trenger å oppdatere. {0} ble utgitt!", + "Ooops! {0} ble utgitt. Du er på {1}!", + "Jeg sverger, QS har blitt oppdatert til {0}. Hvorfor har du ikke oppdatert ennå?", + "Fikser og gjen... Beklager, men {0} ble utgitt!", + "Error! Nope. Dette er ikke en feil. {0} har blitt lansert!", + "OMG! {0} kom ut! Hvorfor bruker du fortsatt {1}?", + "Dagens Nyheter: QuickShop har blitt oppdatert til {0}!", + "Plugin k.i.a. Du bør oppdatere til {0}!", + "Oppdatering {0} ignorert. Lagrer oppdatering!", + "Det er en oppdatering tilgjengelig Kommandør. {0} har akkurat kommet!", + "Se, stilen min---{0} ble oppdatert. Du bruker fortsatt {1}", + "Ahhhhhh! Ny oppdatering {0}! Oppdater!", + "Hva tenker du? {0} har blitt lansert! Oppdater!", + "Doktor, QuickShop har en ny oppdatering {0}! Du bør oppdatere~", + "Ko~ko~da~yo~ QuickShop har en ny oppdatering {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cDenne versjonen av QuickShop er markert som deaktivert av ekstern tjener; som betyr at denne versjonen kan ha alvorlige problemer. Les om detaljer fra SpigotMC siden: {0}. Denne advarselen vil fortsette å vise inntil du bytter til en stabil versjon, men det vil ikke påvirke serverens ytelse.", "label": { - "unstable": "[Unstable]", - "stable": "[Stable]", + "unstable": "[Ustabil]", + "stable": "[Stabil]", "lts": "[LTS]", - "qualityverifyed": "[Quality]", + "qualityverifyed": "[Kvalitet]", "github": "[GitHub]", "spigotmc": "[SpigotMC]", "bukkitdev": "[BukkitDev]", "master": "[Master]" } }, - "shop-removed-cause-ongoing-fee": "&cYour shop at {0} was removed because you didn't have enough money to keep it!", - "digits-reach-the-limit": "&cYou have reached the limits of decimals in the price.", - "complete": "&aComplete!", - "quickshop-gui-preview": "QuickShop GUI Item Preview", - "shops-recovering": "Recovering shops from backup...", - "shops-backingup": "Creating Shop-backup from database...", - "saved-to-path": "The Backup was saved to {0}.", - "backup-failed": "Cannot backup the database. Check the console for details.", - "translate-not-completed-yet-click": "The translation of the language {0} was not completed yet by {1}. Do you want to help us improving the translation? Click here!", - "translate-not-completed-yet-url": "The translation of the language {0} was not completed yet by {1}. Do you want to help us improving the translation? Browse: {2}", + "shop-removed-cause-ongoing-fee": "&cButikken din på lokasjon {0} ble fjernet fordi du ikke har nok penger til å beholde den!", + "digits-reach-the-limit": "&cDu har nådd grensen for antall desimaler i prisen.", + "complete": "&aFerdig!", + "quickshop-gui-preview": "GUI for forhåndsvisning av en gjenstand i QuickShop", + "shops-recovering": "Gjenoppretter butikker fra sikkerhetskopi...", + "shops-backingup": "Oppretter sikkerhetskopi av butikker fra databasen...", + "saved-to-path": "Sikkerhetskopien ble lagret til {0}.", + "backup-failed": "Kan ikke sikkerhetskopiere databasen. Kontroller konsollen for detaljer.", + "translate-not-completed-yet-click": "Oversettelsen av språket {0} er ikke fullført ennå {1}. Vil du hjelpe oss med å forbedre oversettelsen? Klikk her!", + "translate-not-completed-yet-url": "Oversettelsen av språket {0} er ikke fullført ennå {1}. Vil du hjelpe oss med å forbedre oversettelsen? Les her: {2}", "language-info-panel": { - "name": "Language: ", - "code": "Code: ", - "progress": "Progress: ", - "help": "Help us: ", - "translate-on-crowdin": "[Translate on Crowdin]" + "name": "Språk: ", + "code": "Kode: ", + "progress": "Fremdrift: ", + "help": "Hjelp oss: ", + "translate-on-crowdin": "[Oversett på Crowdin]" }, - "shop-now-freezed": "&aYou have frozen the shop. Nobody can trade with this shop now!", - "shop-nolonger-freezed": "&aYou unfroze the shop. It's back to normal now!", - "shop-cannot-trade-when-freezing": "&cYou cannot trade with this shop because it is frozen.", - "shop-freezed-at-location": "&eYour shop {0} at {1} got frozen!", - "denied-put-in-item": "&cYou cannot put this item into your shop!", - "how-many-buy-stack": "&eEnter in chat, how many bulks you wish to &bBUY&a. There are &e{0}&a items in each bulk and you can buy &e{1}&a bulks. Enter &ball&a in chat to buy all.", - "how-many-sell-stack": "&aEnter in chat, how many bulk you wish to &dSELL&a. There are &e{0}&a items per bulk and you have &e{1}&a bulks available. Enter &ball&a in chat to sell all.", + "shop-now-freezed": "&aDu har frosset butikken. Ingen kan handle med denne butikken nå!", + "shop-nolonger-freezed": "&aDu fjernet frysemodusen fra butikken. Den er tilbake til normal nå!", + "shop-cannot-trade-when-freezing": "&cDu kan ikke handle med denne butikken fordi den er frosset.", + "shop-freezed-at-location": "&eDin butikk {0} på {1} ble frosset!", + "denied-put-in-item": "&cDu kan ikke legge denne varen i butikken din!", + "how-many-buy-stack": "&eSkriv i chat hvor mange pakker du ønsker å &bKJØPE&a. Det er &e{0}&a varer i hver pakke og du kan kjøpe totalt &e{1}&a pakker. Skriv &ball&a om du vil kjøpe alle.", + "how-many-sell-stack": "&eSkriv i chat hvor mange pakker du ønsker å &bSELGE&a. Det er &e{0}&a varer i hver pakke og du har &e{1}&a pakker tilgjengelig. Skriv &ball&a om du vil selge alle.", "language": { - "name": "&eName: &6{0}", - "code": "&eCode: &6{0}", - "translate-progress": "&eTranslation Progress: &b{0}%", - "approval-progress": "&eApproval Progress: &b{0}%", - "qa-issues": "&eQuality assurance issues: &b{0}%", - "help-us": "&a[Help us improve the translation quality]" + "name": "&eNavn: &6{0}", + "code": "&eKode: &6{0}", + "translate-progress": "&eFremdrift på oversettelsen: &b{0}%", + "approval-progress": "&eGodkjent: &b{0}%", + "qa-issues": "&eKvalitetsproblem: &b{0}%", + "help-us": "&a[Hjelp oss å forbedre kvaliteten på oversettelser]" }, - "currency-not-exists": "&cCannot find the currency that you want to set. Maybe the spelling is wrong or that currency isn't available in this world.", - "currency-set": "&aShop currency successfully set to {0}.", - "currency-unset": "&aShop currency removed successfully. Using default settings now.", - "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", - "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "currency-not-exists": "&cKan ikke finne valutaen du vil sette. Kanskje stavemåten er feil, eller at valuta ikke er tilgjengelig i denne verdenen.", + "currency-set": "&aButikkens valuta er satt til {0}.", + "currency-unset": "&aButikkens valuta ble fjernet. Bruker standardinnstillinger.", + "currency-not-support": "&cØkonomi utvidelsen støtter ikke mulighet for multi-økonomi.", + "item-not-exist": "&cGjenstanden &e{0} &ceksisterer ikke, vennligst sjekk stavemåte.", + "backup-success": "&aSikkerhetskopiering vellykket.", + "console-only": "&cDenne kommandoen kan bare utføres i konsollen.", + "console-only-danger": "&cDette er en skummel kommando du skal være forsiktig med, derfor kan den bare brukes i konsollen.", + "clean-warning": "&eDenne kommandoen vil fjerne &calle &ebutikker hvis de er skadet, ble opprettet i en verden som ikke er tillatt, selger eller kjøper varer som ikke er tillatt eller &c&lEKSISTERER I EN VERDEN SOM IKKE ER AKTIVERT&e. Sørg for å opprette en fullstendig sikkerhetskopi av butikkdataene først og bruk &b/qs cleanghost confirm &efor å fortsette.", + "shop-creation-failed": "&cOpprettelse av butikk feilet, vennligst ta kontakt med server administrator.", + "shop-owner-self-trade": "&eDu handler i din egen butikk, du vil ikke tjene penger på denne måten.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/pl-PL/messages.json b/src/main/resources/lang/pl-PL/messages.json index 2d643d7cc..45a26b649 100644 --- a/src/main/resources/lang/pl-PL/messages.json +++ b/src/main/resources/lang/pl-PL/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Witaj tłumaczu! Jeśli edytujesz to z Github'a lub ze źródeł kodowych, powinieneś przejść do https://crowdin.com/project/quickshop-reremake", "file-test": "To jest testowy plik tekstowy. Używamy go do testowania jeśli messages.json jest zepsuty. Możesz wypełnić go dowolnymi easter egg'ami, które lubisz :)", "translation-author": "Tłumacz: Ghost_chu, Andre_601", "translation-version": "Wspierana wersja: Reremake", "translation-contributors": "Współtwórcy: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken i Andre_601", "translation-country": "Język: Polski (pl_PL)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cNie można znaleźć QuickShop. Musisz na niego patrzeć.", "no-anythings-in-your-hand": "&cW twojej ręce nic nie ma.", "no-permission": "&cNie masz uprawnień, aby to zrobić.", @@ -138,7 +139,7 @@ "no-amount-given": "&cNie podano ilości. Użyj &a/qs refill &c", "now-debuging": "&aPomyślnie przełączono się do trybu developerskiego. Przeładuj QuickShop...", "now-nolonger-debuging": "&aPomyślnie przełączono się do trybu developerskiego. Przeładuj QuickShop...", - "wrong-args": "&cNieprawidłowe argumenty. Użyj &l/qs help &caby zobaczyć listę poleceń.", + "wrong-args": "&cNieprawidłowy argument. Użyj &l/qs help &caby zobaczyć listę poleceń.", "description": { "title": "&aPomoc Sklepu", "unlimited": "&eDaje sklepowi nieograniczone zapasy.", @@ -170,13 +171,13 @@ "transfer": "&ePrzenieś czyjeś WSZYSTKIE sklepy do innych", "removeworld": "&eUsuń WSZYSTKIE sklepy w określonym świecie", "currency": "&eUstaw lub usuń ustawienia waluty sklepu", - "ban": "&eBanowanie gracza ze sklepu", - "unban": "&eOdbanowanie gracza ze sklepu", + "ban": "&eBanuje gracza ze sklepu", + "unban": "&eOdbanuje gracza ze sklepu", "freeze": "&eWyłącz lub włącz handel sklepowy", "lock": "&eZmień status blokady sklepu" }, "disabled": "&cTa komenda jest wyłączona: &e{0}", - "feature-not-enabled": "Funkcja nie jest włączona w konfiguracji." + "feature-not-enabled": "Ta funkcja nie jest włączona w pliku konfiguracyjnym." }, "signs": { "selling": "Kup {0}", @@ -221,7 +222,7 @@ "lock": "&eBlokada sklepu: &b{0} &e[&d&lPrzełącz&e]", "lock-hover": "&eWłącz/Wyłącz ochronę blokady sklepu.", "freeze": "&eTryb zamrożenia: &b{0} &e[&d&lPrzełącz&e]", - "freeze-hover": "&ePrzełącz status zamrożenia sklepu" + "freeze-hover": "&ePrzełącz status zamrożenia sklepu." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Lekarz, QuickShop ma nową aktualizację {0}! Powinieneś zaktualizować~", "Ko~ko~da~yo~ QuickShop ma nową aktualizację {0}~" ], - "remote-disable-warning": "&cTa wersja pluginu QuickShop jest oznaczona jako wyłączona przez serwer zdalny, co oznacza, że ta wersja może mieć poważny problem. Szczegółowe informacje można znaleźć na naszej stronie pluginu Spigot: {0}. To ostrzeżenie będzie się pojawiać, dopóki nie przełączysz się na wersję stabilną, ale nie wpłynie to na wydajność serwera.", + "remote-disable-warning": "&cTa wersja QuickShop jest oznaczona jako wyłączona przez zdalny serwer, co oznacza, że ta wersja może mieć poważny problem, uzyskaj szczegóły z naszej strony SpigotMC: {0}. To ostrzeżenie będzie wyświetlane dopóki nie przejdziesz do stabilnej wersji, ale nie wpłynie to na wydajność Twojego serwera.", "label": { "unstable": "[Niestabilny]", "stable": "[Stabilny]", @@ -313,8 +314,10 @@ "currency-not-support": "&cWtyczka ekonomiczna nie obsługuje funkcji wieloekonomicznej.", "item-not-exist": "&cElement &e{0} &cnie istnieje, sprawdź swoją pisownię.", "backup-success": "&aKopia zapasowa powiodła się.", - "console-only": "&cTa komenda może być wykonana tylko przez Konsolę.", - "console-only-danger": "&cTo jest polecenie niebezpieczne, więc może być wykonane tylko przez Konsolę.", - "clean-warning": "&eTa komenda wyczyści &cwszystkie &e sklepy, jeśli sklep jest uszkodzony lub stworzony w niedozwolonych światach lub sprzedaje/kupuje niedozwolone przedmioty i &c&lNIE JEST ZAŁADOWANY W SKLEPIE ŚWIATOWYM&e, upewnij się, że masz pełną kopię zapasową danych sklepów i użyj &b/qs cleanghost confirm &eaby kontynuować.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "console-only": "&cTo polecenie może być wykonane tylko przez konsolę.", + "console-only-danger": "&cJest to niebezpieczne polecenie, więc tylko konsola może go wykonać.", + "clean-warning": "&eTa komenda wyczyści &cwszystkie &esklepy, jeśli sklep jest uszkodzony, został utworzony w niedozwolonych światach, sprzedaje/skupuje niedozwolone przedmioty lub &c&lISTNIEJE W NIEZAŁADOWANYM ŚWIECIE&e. Upewnij się, że najpierw utwórzyłeś pełną kopię zapasową danych Twojego sklepu i użyj &b/qs cleanghost confirm &eaby kontynuować.", + "shop-creation-failed": "&cTworzenie sklepu nie powiodło się, skontaktuj się z administratorem serwera.", + "shop-owner-self-trade": "&eHandlujesz z własnym sklepem, więc nie będziesz mógł uzyskać żadnych korzyści.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/pt-BR/messages.json b/src/main/resources/lang/pt-BR/messages.json index cac2e93dc..c1df9e696 100644 --- a/src/main/resources/lang/pt-BR/messages.json +++ b/src/main/resources/lang/pt-BR/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "Este é um arquivo de texto de teste. Nós o usamos para testar se as mensagens são enviadas. filho está quebrado. Você pode preenchê-lo com quaisquer ovos de Páscoa que goste aqui :)", "translation-author": "Tradutor: Ghost_chu, Andre_601", "translation-version": "Versão de suporte: Remake", "translation-contributors": "Contribuidores: Torre de Timor, Netherfoam, KaiNoMood, Mgazul, JackTheChicken e Andre_601", "translation-country": "Zona do idioma: Português Brasileiro (pt_BR)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "Não conseguimos encontrar uma QuickShop. Você precisa estar olhando para uma.", "no-anythings-in-your-hand": "&cNão há nada na sua mão.", "no-permission": "&cVocê não tem permissão para fazer isso.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aVocê pagou &c{0}&a para mudar o valor.", "price-is-now": "&aO novo preço desta loja é &e{0}", "thats-not-a-number": "&cNumero inválido", - "forbidden-vanilla-behavior": "&cA operação é proibida porque ela não é consistente com o comportamento vanilla", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPor favor, insira um preço válido.", "average-price-nearby": "&aPreço médio: &e{0}", "shop-has-changed": "&cA loja que você tentou usar mudou desde que você clicou nela!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNenhuma quantidade fornecida. Use &a/qs refill &c", "now-debuging": "&aModo de desenvolvedor &cativado &acom sucesso. Recarregando QuickShop...", "now-nolonger-debuging": "&aModo de Desenvolvedor &cdesabilitado &acom sucesso. Recarregando QuickShop...", - "wrong-args": "&cArgumentos inválidos. Use &l/qs help &cpara ver uma lista de comandos.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aAjuda do QuickShop", "unlimited": "&eDá um estoque ilimitado para a loja.", @@ -169,14 +170,14 @@ "removeall": "&eRemover TODAS as lojas de um jogador", "transfer": "&eTransfira TODAS as lojas de alguém para outra", "removeworld": "&eRemover TODAS as lojas em um mundo específico", - "currency": "&eDefinir ou remover as configurações de moeda da loja", - "ban": "&eBanir um jogador da loja", - "unban": "&eDesbanir um jogador da loja", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDesativar ou Ativar o comércio de lojas", - "lock": "&eTrocar o status do bloqueio da loja" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cEste comando está desativado: &e{0}", - "feature-not-enabled": "O recurso não habilitado nas configurações." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Vendendo {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Sem Estoque", "out-of-space": "Sem espaço", - "freeze": "Troca desabilitada" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aProprietário: &b{0} &e[&d&lMudar&e]", @@ -219,9 +220,9 @@ "currency": "&aPreço: &b{0} &e[&d&lMudar&e]", "currency-hover": "&eClique para definir ou remover a moeda que esta loja está usando", "lock": "&eBloqueio de Loja: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eAtivar/Desativar proteção de bloqueio de loja.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eModo de bloqueio: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eAlternar estado de congelamento da loja" + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doutor, o QuickShop tem uma nova atualização {0}! Você deve atualizar~", "Ko~ko~da~yo~ O QuickShop tem uma nova atualização {0}~" ], - "remote-disable-warning": "&cEsta versão do QuickShop está marcada como desativada pelo servidor remoto, o que significa que esta versão pode ter problemas sérios, obtenha detalhes na nossa página do SpigotMC: {0}. Este aviso irá aparecer e enviar spam ao console até que você use outra versão não desabilitada para substituir esta, não comprometa o seu servidor.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Instável]", "stable": "[Estável]", @@ -312,9 +313,11 @@ "currency-unset": "&aMoeda da loja removida com sucesso. Usando as configurações padrão agora.", "currency-not-support": "&cO plugin de economia não suporta o recurso de multi-economia.", "item-not-exist": "&cO item &e{0} &cnão existe, por favor, verifique a ortografia.", - "backup-success": "&aBackup realizado com sucesso.", - "console-only": "&cEste comando só pode ser executado pelo Console.", - "console-only-danger": "&cEste é um comando de perigo para que apenas possa ser executado pelo Console.", - "clean-warning": "&eEste comando irá apagar &chamar as lojas &e se a loja for danificada ou criada em mundos não permitidos ou venda/compra de itens não permitidos e &c&lIN NOT LOADED SHOPS&e, Certifique-se de ter um backup completo dos dados das suas lojas e use a limpeza &b/qs confirmar &epara continuar.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/pt-PT/messages.json b/src/main/resources/lang/pt-PT/messages.json index 0638ec0c5..5080b7af8 100644 --- a/src/main/resources/lang/pt-PT/messages.json +++ b/src/main/resources/lang/pt-PT/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Tradutor: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/ro-RO/messages.json b/src/main/resources/lang/ro-RO/messages.json index f75132b45..c61ec2dab 100644 --- a/src/main/resources/lang/ro-RO/messages.json +++ b/src/main/resources/lang/ro-RO/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Traducător: Ghost_chu, Andre_601", "translation-version": "Versiune suport: Reproducere", "translation-contributors": "Contribuitori: Turnul, Netherfoam, KaiNoMood, Mgazul, JackTheChicken și Andre_601", "translation-country": "Zona de Limbă: Engleză (ro_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cNu am putut gasi un magazin. Trebuie sa te uiti la unul.", "no-anythings-in-your-hand": "&cNu este nimic in mana.", "no-permission": "&cNu ai permisiunea să faci asta.\".", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aAi achitat{0}&a pentru a schimba pretul.", "price-is-now": "&aNoul pret al magazinului este &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cTe rugam sa dai un pret valid.", "average-price-nearby": "&aPret mediu apropiat: &e{0}", "shop-has-changed": "&cMagazinul pe care ai incercat sa il folosesti s-a schimbat de cand ai apasat pe el!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNicio suma furnizata. Foloseste &a/qs reîncărcare &c", "now-debuging": "&aActivare modul dezvoltator activata cu succes. Reincarcare quickShop...", "now-nolonger-debuging": "&aMod dezvoltator dezactivat cu succes. Reîncărcare cu quickhop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aAjutor QuickShop", "unlimited": "&fOfera magazinului un stoc nelimitat.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/ru-RU/messages.json b/src/main/resources/lang/ru-RU/messages.json index fa297f0a5..5db43c4da 100644 --- a/src/main/resources/lang/ru-RU/messages.json +++ b/src/main/resources/lang/ru-RU/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "Это тестовый файл. Мы используем его, если файл messages.json поломан. Вы тут можете заполнить любым пасхальными яйцами, которые вам нравятся здесь :)", "translation-author": "Переводчик: Ghost_chu, Andre_601", "translation-version": "Поддерживаемая версия: Reremake", "translation-contributors": "Участники: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken и Andre_601", "translation-country": "Языковой регион: Русский (ru_RU)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cНе удалось найти игрока, который использует магазина. Возможно игрок не зарегистрирован.", "no-anythings-in-your-hand": "&cУ вас нет товаров в руках.", "no-permission": "У вас недостаточно прав.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aВы заплатили &c{0}&a за изменения цены.", "price-is-now": "&aНовая цена магазина &e{0}", "thats-not-a-number": "&cНеверное значение", - "forbidden-vanilla-behavior": "&cОперация отклонена, она не соответствует ванильному поведению", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cПожалуйста укажите верную цену.", "average-price-nearby": "&aСредняя цена: &e{0}", "shop-has-changed": "&cМагазин, который вы пытались использовать, изменился с момента нажатия!", @@ -138,7 +139,7 @@ "no-amount-given": "&cКоличество не указано. Используйте: &a/qs refill <количество>&c", "now-debuging": "&aУспешно включено режим разработчика. Перезагружаю...", "now-nolonger-debuging": "&aУспешно выключен режим разработчика. Перезагружаю...", - "wrong-args": "&cНедопустимые аргументы. Используйте &l/qs help &cдля того чтобы узнать список командов.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop справка", "unlimited": "&eПредоставляет неограниченный запас магазина.", @@ -169,14 +170,14 @@ "removeall": "&eУдалить ВСЕ магазины указанного игрока", "transfer": "&eПередайте кого-нибудь ВСЕ магазины в другие", "removeworld": "&eУдалить ВСЕ магазины в указанном мире", - "currency": "&eУстановить или удалить настройки валюты магазина", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cДанная команда недоступна: &e{0}", - "feature-not-enabled": "Функция не включена в конфигурации." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Продаёт {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aВладелец: &b{0} &e[&d&lИзменить&e]", @@ -219,9 +220,9 @@ "currency": "&aВалюта: &b{0} &e[&d&lУстановить&e]", "currency-hover": "&eНажмите, чтобы установить или удалить валюту, которую этот магазин использует", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Доктор, QuickShop уже есть новое обновление {0}! Вы должны обновить~", "Ко~ко~да~ё~ QuickShop появились новое обновление {0} ~" ], - "remote-disable-warning": "&cЭта версия QuickShop отмечена как отключенная удалённым сервером, означая, что эта версия может иметь серьезные проблемы, получить подробную информацию с нашей страницы плагина Spigot: {0}. Это предупреждение будет отображаться до тех пор, пока вы не переключитесь на стабильную версию, но это не повлияет на перфорирование вашего сервера.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Нестабильный]", "stable": "[Стабильный]", @@ -312,9 +313,11 @@ "currency-unset": "&aМагазин успешно удалён. Использование настроек теперь по умолчанию.", "currency-not-support": "&cПлагин экономики не поддерживает функцию несколько экономики.", "item-not-exist": "&cТовар &e{0} &cне существует, проверьте правильность написания.", - "backup-success": "&aРезервное копирование успешно.", - "console-only": "&cЭта команда может быть выполнена только консолью.", - "console-only-danger": "&cЭто опасная команда, так что может быть выполнена только консолью.", - "clean-warning": "&eЭта команда очистит &cвсех &eмагазинов, если магазин повреждён или создан в запрещённых мирах или продажах/покупке запрещенных товаров и &c&lНЕ ЗАГРУЖЕН МИРА МАГАЗИНОВ&e, убедитесь, что у вас есть полная резервная копия данных ваших магазинов и используйте &b/qs cleanghost confirm &eдля продолжение.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/sr-SP/messages.json b/src/main/resources/lang/sr-SP/messages.json index 2e8c084ae..229076b7a 100644 --- a/src/main/resources/lang/sr-SP/messages.json +++ b/src/main/resources/lang/sr-SP/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Translator: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/sv-SE/messages.json b/src/main/resources/lang/sv-SE/messages.json index 35d1c3791..838ed8a4f 100644 --- a/src/main/resources/lang/sv-SE/messages.json +++ b/src/main/resources/lang/sv-SE/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hej översättare! Om du redigerar detta från Github eller från kodkällor, besök https://crowdin.com/project/quickshop-reremake", "file-test": "Detta är en testtextfil. Vi använder den för att testa om messages.json är trasig. Du kan fylla den med valfria påskägg som du gillar här :)", "translation-author": "Översättare: Ghost_chu, Andre_601", "translation-version": "Supportversion: Reremake", "translation-contributors": "Medhjälpare: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken och Andre_601", "translation-country": "Språkområde: Engelska (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cKunde inte hitta en QuickShop. Du måste titta på en.", "no-anythings-in-your-hand": "&cDet finns inget i din hand.", "no-permission": "&cDu har inte tillåtelse till att göra detta.", @@ -138,7 +139,7 @@ "no-amount-given": "&cInget belopp angivet. Använd &a/qs refill &c", "now-debuging": "&Framgångsrikt aktiverat utvecklarläge. Laddar om QuickShop...", "now-nolonger-debuging": "&aFramgångsrikt inaktiverat utvecklarläge. Laddar om QuickShop...", - "wrong-args": "&cOgiltiga argument. Använd &l/qs help &rför att förhandsgranska en lista över kommandon.", + "wrong-args": "&cOgiltiga argument. Använd &l/qs help &rför att se en lista över kommandon.", "description": { "title": "&aQuickShop-hjälp", "unlimited": "&eGer en butik obegränsat lager.", @@ -169,14 +170,14 @@ "removeall": "&eTa bort alla butiker från en angiven spelare", "transfer": "&eÖverför alla butiker från en spelare till en annan", "removeworld": "&eTa bort ALLA butiker i angiven värld", - "currency": "&eSet eller ta bort valutainställningarna i butiken", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eAnge eller ta bort valutainställningarna i butiken", + "ban": "&eBannlyser en spelare från butiken", + "unban": "&eUnbannar en spelare från butiken", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eVäxla butikens låsstatus" }, "disabled": "&cDetta kommando är inaktiverat: &e{0}", - "feature-not-enabled": "Funktionen är inte aktiverad i konfigurationen." + "feature-not-enabled": "Funktionen är inte aktiverad i konfigurationsfilen." }, "signs": { "selling": "Säljer {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Handel inaktiverad" }, "controlpanel": { "setowner": "&aÄgare: &b{0} &e[&d&lÄndra&e]", @@ -219,9 +220,9 @@ "currency": "&aValuta: &b{0} &e[&d&lÄndra&e]", "currency-hover": "&eKlicka för att ändra eller ta bort den valuta som denna butik använder", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eAktivera/Inaktivera butikens låsskydd.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eVäxla butikens frysningsstatus." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -313,8 +314,10 @@ "currency-not-support": "&cEkonomi-pluginet stöder inte flervaluta-funktionen.", "item-not-exist": "&cObjektet &e{0} &cexisterar inte, kontrollera din stavning.", "backup-success": "&aBackup framgångsrik.", - "console-only": "&cDetta kommando kan endast köras av Konsolen.", - "console-only-danger": "&cDetta är ett farligt kommando så att endast kan utföras av Konsolen.", - "clean-warning": "&eDetta kommando kommer att rensa &ebutiker om butiken är skadad eller skapad i otillåtna världar eller sälja/köpa otillåtna föremål och &c&lIN INTE LADDA ORLD SHOPS&e, se till att du har full säkerhetskopiering av dina butikers data och använd &b/qs cleanghost confirm &eför att fortsätta.", - "shop-creation-failed": "&cSkapandet av butiken misslyckades, kontakta serveradministratören." + "console-only": "&cDetta kommando kan endast exekveras av Konsolen.", + "console-only-danger": "&cDetta är ett farligt kommando, varför endast konsolen kan exekvera det.", + "clean-warning": "&eDetta kommando kommer att rensa &ebutiker som är skadade eller skapade i otillåtna världar eller säljer/köper otillåtna föremål eller &c&lEXISTERAR I OLADDADE VÄRLDAR&e. Se till att du har full säkerhetskopiering av dina butikers data och använd &b/qs cleanghost confirm &eför att fortsätta.", + "shop-creation-failed": "&cSkapandet av butiken misslyckades, kontakta serveradministratören.", + "shop-owner-self-trade": "&eYou handlar med din egen butik, så du kanske inte kommer att få något saldo.", + "chest-title": "QuickShop-butik" } diff --git a/src/main/resources/lang/tr-TR/messages.json b/src/main/resources/lang/tr-TR/messages.json index 7c5ae38ca..2fb9aa61a 100644 --- a/src/main/resources/lang/tr-TR/messages.json +++ b/src/main/resources/lang/tr-TR/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Çevirmen: NOYB", "translation-version": "Destek Versiyonu: Reremake", "translation-contributors": "Katkıda Bulunanlar: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Dil Bölgesi: Türkçe (tr_TR)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&sHiç QuickShop bulunamadı. Birine bakman lazım.", "no-anythings-in-your-hand": "&cElinde hiçbir şey yok.", "no-permission": "&cBunu yapmaya iznin yok.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aFiyatı değiştirmek için &c{0}&a ödediniz.", "price-is-now": "&aMarketin yeni fiyatı &e{0}", "thats-not-a-number": "&cGeçersiz sayı", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cLütfen geçerli bir fiyat verin.", "average-price-nearby": "&aYakınlardaki ortalama fiyat: &e{0}", "shop-has-changed": "&cKullanmaya çalıştığınız market, tıkladığınızdan beri değişti!", @@ -138,7 +139,7 @@ "no-amount-given": "&cMiktar sağlanmadı. &a/qs refill &c komudunu kullan.", "now-debuging": "&aGeliştirici modu başarıyla aktive edildi. QuickShop yeniden yükleniyor...", "now-nolonger-debuging": "&aGeliştirici modu başarıyla devre dışı bırakıldı. QuickShop yeniden yükleniyor...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop yardım", "unlimited": "&eBir markete sınırsız stok sağlar.", @@ -169,14 +170,14 @@ "removeall": "&eBelirli bir oyuncunun BÜTÜN marketlerini kaldır", "transfer": "&eBirinin TÜM marketlerini bir başkasına devret", "removeworld": "&eBelirtilen dünya içindeki TÜM marketleri kaldırır", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Satıyor: {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aSahibi: &b{0} &e[&d&lDeğiştir&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doktor QuickShop'a yeni {0} güncellemesi geldi! Güncellemelisin~", "Ko~ko~da~yo~ QuickShop'a yeni {0} güncellemesi geldi ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Kararsız]", "stable": "[Kararlı]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/uk-UA/messages.json b/src/main/resources/lang/uk-UA/messages.json index 2e8c084ae..229076b7a 100644 --- a/src/main/resources/lang/uk-UA/messages.json +++ b/src/main/resources/lang/uk-UA/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Translator: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/vi-VN/messages.json b/src/main/resources/lang/vi-VN/messages.json index 2e8c084ae..229076b7a 100644 --- a/src/main/resources/lang/vi-VN/messages.json +++ b/src/main/resources/lang/vi-VN/messages.json @@ -1,10 +1,11 @@ { + "_comment": "Hi translator! If you editing this from Github or from code sources, you should go https://crowdin.com/project/quickshop-reremake", "file-test": "This is a test textfile. We use it to test if the messages.json is broken. You can fill it with any easter eggs you like here :)", "translation-author": "Translator: Ghost_chu, Andre_601", "translation-version": "Support Version: Reremake", "translation-contributors": "Contributors: Timtower, Netherfoam, KaiNoMood, Mgazul, JackTheChicken and Andre_601", "translation-country": "Language Zone: English (en_US)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&cCould not find a QuickShop. You need to look at one.", "no-anythings-in-your-hand": "&cThere is nothing in your hand.", "no-permission": "&cYou do not have permission to do that.", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&aYou paid &c{0}&a to change the price.", "price-is-now": "&aThe new price of the shop is &e{0}", "thats-not-a-number": "&cInvalid number", - "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consistent with vanilla behavior", + "forbidden-vanilla-behavior": "&cThe operation is forbidden due to it not being consisten with vanilla behaviour", "no-price-given": "&cPlease give a valid price.", "average-price-nearby": "&aNearby average price: &e{0}", "shop-has-changed": "&cThe shop you tried to use has changed since you clicked it!", @@ -138,7 +139,7 @@ "no-amount-given": "&cNo amount provided. Use &a/qs refill &c", "now-debuging": "&aSuccessfully enabled developer mode. Reloading QuickShop...", "now-nolonger-debuging": "&aSuccessfully disabled Developer mode. Reloading QuickShop...", - "wrong-args": "&cInvalid arguments. Use &l/qs help &cto see a list of commands.", + "wrong-args": "&cInvalid argument. Use &l/qs help &cto see a list of commands.", "description": { "title": "&aQuickShop help", "unlimited": "&eGives a shop unlimited stock.", @@ -169,14 +170,14 @@ "removeall": "&eRemove ALL shops of a specified player", "transfer": "&eTransfer someone's ALL shops to other", "removeworld": "&eRemove ALL shops in a specified world", - "currency": "&eSet or remove the currency settings of the shop", - "ban": "&eBanning a player from the shop", - "unban": "&eUnbanning a player from the shop", + "currency": "&eSet or remove the currency setting of the shop", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&eDisable or Enable shop trading", - "lock": "&eSwitch the shop lock status" + "lock": "&eSwitch the shop's lock status" }, "disabled": "&cThis command is disabled: &e{0}", - "feature-not-enabled": "The feature not enabled in config." + "feature-not-enabled": "This feature is not enabled in the config file." }, "signs": { "selling": "Selling {0}", @@ -192,7 +193,7 @@ "status-unavailable": "&c", "out-of-stock": "Out of Stock", "out-of-space": "Out of Space", - "freeze": "Trade disabled" + "freeze": "Trading disabled" }, "controlpanel": { "setowner": "&aOwner: &b{0} &e[&d&lChange&e]", @@ -219,9 +220,9 @@ "currency": "&aCurrency: &b{0} &e[&d&lSet&e]", "currency-hover": "&eClick to set or remove the currency that this shop is using", "lock": "&eShop lock: &b{0} &e[&d&lToggle&e]", - "lock-hover": "&eEnable/Disable shop lock protection.", + "lock-hover": "&eEnable/Disable the shop's lock protection.", "freeze": "&eFreeze mode: &b{0} &e[&d&lToggle&e]", - "freeze-hover": "&eToggle shop freeze status," + "freeze-hover": "&eToggle the shop's freeze status." }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "Doctor, QuickShop has a new update {0}! You should update~", "Ko~ko~da~yo~ QuickShop has a new update {0} ~" ], - "remote-disable-warning": "&cThis version of QuickShop is marked disabled by remote server, meaning this version may have serious problem, get details from our Spigot plugin page: {0}. This warning will continue to appear untill you switch to a stable version, but it will not affect your server's performence.", + "remote-disable-warning": "&cThis version of QuickShop is marked as disabled by the remote server, which means this version may have serious problem, get details from our SpigotMC page: {0}. This warning will continue to appear until you switch to a stable version, but it will not affect your server's performance.", "label": { "unstable": "[Unstable]", "stable": "[Stable]", @@ -312,9 +313,11 @@ "currency-unset": "&aShop currency removed successfully. Using default settings now.", "currency-not-support": "&cThe economy plugin doesn't support the multi-economy feature.", "item-not-exist": "&cThe item &e{0} &cdoes not exist, please check your spelling.", - "backup-success": "&aBackup successfully.", - "console-only": "&cThis command only can be executed by Console.", - "console-only-danger": "&cThis is a danger command so that only can be executed by Console.", - "clean-warning": "&eThis command will purge &call &e shops if the shop is damaged or created in disallowed worlds or selling/buying disallowed items and &c&lIN NOT LOADED WORLD SHOPS&e, make sure you have full backup of your shops data and use &b/qs cleanghost confirm &eto continue.", - "shop-creation-failed": "&cShop creation failed, please contact with server administrator." + "backup-success": "&aBackup successfull.", + "console-only": "&cThis command can only be executed by Console.", + "console-only-danger": "&cThis is a dangerous command, so that only the Console can execute it.", + "clean-warning": "&eThis command will purge &call &eshops if the shop is damaged, was created in not allowed worlds, is selling/buying not allowed items or &c&lEXISTS IN A UNLOADED WORLD&e. Make sure to create a full backup of your shop data first and use &b/qs cleanghost confirm &eto continue.", + "shop-creation-failed": "&cShop creation failed, please contact with server administrator.", + "shop-owner-self-trade": "&eYou trading with yourself shop, so you might won't gain any balance.", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/zh-CN/messages.json b/src/main/resources/lang/zh-CN/messages.json index a5233cbfa..26b9da2fb 100644 --- a/src/main/resources/lang/zh-CN/messages.json +++ b/src/main/resources/lang/zh-CN/messages.json @@ -1,10 +1,11 @@ { + "_comment": "译者您好!如果您正在 Github 上或直接编辑源文件的方式进行翻译,请您前往 https://crowdin.com/project/quickshop-reremake", "file-test": "这是个测试文件,我们使用它来测试messages.json是否损坏。你可以在这里填入任何喜欢的彩蛋 :)", "translation-author": "翻译人员: Ghost_chu, Andre_601", "translation-version": "支持版本:Reremake", "translation-contributors": "开发贡献者:Timtower, Netherfoam, KaiNoMood JackTheChicken 和 Andre_601", "translation-country": "本地化语言:简体中文 (zh_CN)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&c无法找到商店,您需要注视着你想要操作的商店。", "no-anythings-in-your-hand": "&c你的手里没有任何物品。", "no-permission": "&c你没有权限这样做。", @@ -44,7 +45,7 @@ "fee-charged-for-price-change": "&a你花了 &c{0}&a 修改了价格。", "price-is-now": "&a商店的新价格是 &e{0}", "thats-not-a-number": "&c输入的内容不是数字", - "forbidden-vanilla-behavior": "&c禁止操作,因为它不符合原版行为", + "forbidden-vanilla-behavior": "&c该操作有悖于原版行为,因此已被禁止", "no-price-given": "&c请输入一个有效的价格。", "average-price-nearby": "&a附近的平均价格: &e{0}", "shop-has-changed": "&c在你点击此商店之后此商店被修改了,为了避免恶意修改,您的操作已被取消!", @@ -138,7 +139,7 @@ "no-amount-given": "&c未指定数量。使用方式为 &a/qs refill <数量>&c", "now-debuging": "&a成功切换到了开发者模式,插件重载中...", "now-nolonger-debuging": "&a成功切换到了生产模式,插件重载中...", - "wrong-args": "&c无效参数。使用 &l/qs help &c查看命令列表。", + "wrong-args": "&c无效参数。使用 &l/qs help &c来查看命令帮助。", "description": { "title": "&aQuickShop 帮助", "unlimited": "&e将商店设置为无限库存。", @@ -169,14 +170,14 @@ "removeall": "&e删除指定玩家的&b所有&r&e商店", "transfer": "&e将某人的所有商店转移给其他人", "removeworld": "&e删除指定世界中的所有商店", - "currency": "&e配置或禁用货币选项", - "ban": "&e封禁商店中的玩家", - "unban": "&e解禁商店中的玩家", + "currency": "&e设置或移除该商店的货币类型设置", + "ban": "&eBans a player from the shop", + "unban": "&eUnbans a player from the shop", "freeze": "&e禁用或启用商店交易", "lock": "&e切换商店锁状态" }, "disabled": "&c此命令已禁用: &e{0}", - "feature-not-enabled": "配置中未启用此功能。" + "feature-not-enabled": "该功能未在配置文件中启用。" }, "signs": { "selling": "出售 {0}", @@ -219,9 +220,9 @@ "currency": "&a货币: &b{0} &e[&d&l设置&e]", "currency-hover": "&e点击以设置或移除商店使用的交易货币", "lock": "&e商店锁: &b{0} &e[&d&l切换&e]", - "lock-hover": "&e启用/禁用商店锁保护。", + "lock-hover": "&e启用/禁用商店锁", "freeze": "&e冻结模式: &b{0} &e[&d&l切换&e]", - "freeze-hover": "&e切换商店冻结状态" + "freeze-hover": "&e切换商店冻结状态。" }, "tableformat": { "full_line": "+---------------------------------------------------+", @@ -263,7 +264,7 @@ "博士,QuickShop有一个新的更新 {0}!你应该考虑一下更新了~", "Ko~ko~da~yo~QuickShop有一个新的更新 {0}~" ], - "remote-disable-warning": "&c这个版本的QuickShop被远程服务器标记为禁用,意味着这个版本可能存在严重的问题,可以在我们的SpigotMC插件页面获取详细信息。{0}. 此警告将继续出现,直到您切换到一个稳定的版本,但它不会影响您的服务器的性能。", + "remote-disable-warning": "&c这个版本的 QuickShop 被远程服务器标记为禁用,意味着这个版本可能存在严重的问题,可以在我们的 SpigotMC 插件页面获取详细信息。{0}. 此警告将继续出现,直到您切换到一个稳定的版本,但它不会影响您的服务器的性能。", "label": { "unstable": "[不稳定]", "stable": "[稳定]", @@ -312,9 +313,11 @@ "currency-unset": "&a商店货币单位已被成功删除。现在会使用默认货币单位。", "currency-not-support": "&c此经济插件不支持多货币功能。", "item-not-exist": "&物品 &e{0} &c不存在,请检查您的拼写。", - "backup-success": "&a备份成功。", - "console-only": "&c此命令只能由控制台执行。", - "console-only-danger": "&c这是一个危险命令,所以只能通过控制台执行。", + "backup-success": "&a备份成功", + "console-only": "&c该命令只能由控制台执行", + "console-only-danger": "&c这是一个危险的命令,只有控制台才能执行它。", "clean-warning": "&e这个命令将清理&c所有&e在不允许创建商店的世界的、出售/购买不允许的物品的,以及 &c&l所有在服务器没有加载的世界的商店, 请在确保您的商店数据备份完整后使用 &b/qs cleanghost confirm &e来继续。", - "shop-creation-failed": "&c商店创建失败,请与服务器管理员联系。" + "shop-creation-failed": "&c商店创建失败,请与服务器管理员联系。", + "shop-owner-self-trade": "&e你正在和自己的商店进行交易,你可能不会得到任何钱。", + "chest-title": "QuickShop Store" } diff --git a/src/main/resources/lang/zh-TW/messages.json b/src/main/resources/lang/zh-TW/messages.json index cbe4a9f0a..ab5d323c7 100644 --- a/src/main/resources/lang/zh-TW/messages.json +++ b/src/main/resources/lang/zh-TW/messages.json @@ -1,10 +1,11 @@ { + "_comment": "你好翻譯者 ! 假若你正在從 Github 或其他代管平台編輯,你應該前往 https://crowdin.com/project/quickshop-reremake 進行翻譯", "file-test": "這是個測試的文字檔案,我們使用它來測試 messages.json 是否損壞,你可以在這裡填入任何喜歡的彩蛋。 :)", - "translation-author": "翻譯人員 : Ghost_chu、Andre_601、Flandre_tw (主翻譯) 、Terence#3062 (主翻譯)", + "translation-author": "翻譯人員 : Ghost_chu、Andre_601、Flandre_tw (主翻譯) 、胡蝶 しのぶ こちょう しのぶ#3062(主翻譯)", "translation-version": "支援版本 : Reremake (重製版)", "translation-contributors": "貢獻人員 : Timtower、Netherfoam、KaiNoMood、Mgazul、JackTheChicken 和 Andre_601", "translation-country": "語言 : &b&l繁體中文 Chinese Traditional (zh_TW)", - "language-version": "54", + "language-version": "56", "not-looking-at-shop": "&c無法找到儲物箱商店,你需要注視著儲物箱。", "no-anythings-in-your-hand": "&c手上沒有任何東西。", "no-permission": "&4你沒有使用該指令的權限。", @@ -112,7 +113,7 @@ "how-many-sell": "&a在聊天室中輸入你想要 &d出售 &a的數量,你有 &e{0} &a個可以出售。輸入 &bALL &a賣出全部。", "not-allowed-to-create": "&c你無法在此建立商店。", "blacklisted-item": "&c由於這是黑名單的物品,所以你不能賣。", - "how-much-to-trade-for": "&a請在聊天室中輸入你想交易的 &e{1}x {0} &a的價格。", + "how-much-to-trade-for": "&a請在聊天室中輸入你想交易 &e{1}x {0} &a的價格。", "command": { "toggle-unlimited": { "unlimited": "&a這個商店現在已沒有數量限制", @@ -138,7 +139,7 @@ "no-amount-given": "&c沒有提供數量。請使用 : &a/qs refill &c", "now-debuging": "&a成功開啟開發者模式,插件重新載入中……", "now-nolonger-debuging": "&a成功關閉開發者模式,插件重新載入中……", - "wrong-args": "&c無效的參數。使用 &l/ qs help &c查看指令列表。 ", + "wrong-args": "&c無效的參數 。 使用 &l/qs help &c 查看指令列表。", "description": { "title": "&aQuickShop 說明", "unlimited": "&e將商店設為庫存無限。", @@ -169,14 +170,14 @@ "removeall": "&e刪除該玩家的所有商店", "transfer": "&e我們將某人的所有商店轉移給其他人", "removeworld": "&e指定世界的商店已全部刪除", - "currency": "&e設置或移除目前商店的貨幣", + "currency": "&e設置或移除目前商店的貨幣設定", "ban": "&e封禁商店中的玩家", "unban": "&e解除封禁商店中的玩家", "freeze": "&e停用或啟用商店交易", "lock": "&e切換商店上鎖狀態" }, "disabled": "&c這個指令被停用 : &e{0}", - "feature-not-enabled": "該功能沒有在 config 中啟用。" + "feature-not-enabled": "該功能沒有在設定檔案中啟用。" }, "signs": { "selling": "出售 {0} 個", @@ -250,7 +251,7 @@ "看來你需要更新, QuickShop {0} 已正式發布了 !", "噢 ! QuickShop {0} 已正式發布了,你還在使用 QuickShop {1} !", "我保證, QS 已更新到了 {0}。你怎麼還沒有更新 ?", - "修復並重新…… 抱歉 QuickShop {0} 已正式發布了 !", + "修復並重…… 抱歉,QuickShop {0} 已正式發布了 !", "錯誤 ! 不,其實並沒有錯誤,QuickShop {0} 已正式發布 !", "我的天啊 ! QuickShop {0} 已出來了 ! 你怎麼還在使用 QuickShop {1} ?", "今日新聞 : QuickShop 已正式發布 {0} 的更新 !", @@ -263,7 +264,7 @@ "博士, QuickShop 有一個新的更新 {0} ! 你應該考慮一下更新了~", "Ko~ko~da~yo~ QuickShop 有新的更新 {0} ~" ], - "remote-disable-warning": "&c該版本的 QuickShop 已被遠端伺服器標記為停用,這意味著該版本可能存在嚴重問題,請從我們的 Spigot 插件頁面取得詳細資訊 : {0}。在你切換到穩定版本之前,該警告將繼續出現,但不會影響伺服器的性能。", + "remote-disable-warning": "&c該版本的 QuickShop 已被遠端伺服器標記為停用 , 這意味著該版本可能存在嚴重問題 , 請從我們的 Spigot 插件頁面取得詳細資訊 : {0} 。 在你切換到穩定版本之前 , 該警告將繼續出現 , 但不會影響伺服器的性能。", "label": { "unstable": "[不穩定 Unstable]", "stable": "[穩定 Stable]", @@ -314,7 +315,9 @@ "item-not-exist": "&c物品&e {0}&c不存在,請檢查你的拼寫。 ", "backup-success": "&a備份成功。", "console-only": "&c該指令只能在控制台執行。", - "console-only-danger": "&c這是一個危險的指令,因此只能由控制台執行。 ", + "console-only-danger": "&c由於這個是一個有風險的指令 , 請你在控制台中執行。", "clean-warning": "&e此指令將清除&c&未裝載的世界商店&e及&c所有&e已損壞的、在不允許的世界中建立、或購買/販賣不允許商品的商店,請確保你已完全備份商店數據並使用 &b/qs cleanghost confirm &e以繼續。", - "shop-creation-failed": "&c商店建立失敗,請與伺服器管理員聯繫。" + "shop-creation-failed": "&c商店建立失敗,請與伺服器管理員聯繫。", + "shop-owner-self-trade": "&e你正在跟自己開的商店進行交易 , 所以你的存款不會改變。", + "chest-title": "QuickShop 商店" } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 213888938..bd1bf983a 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: ${project.name} main: ${package}.${project.name} version: ${project.version} -authors: [PotatoCraft Studio, Netherfoam, Timtower, KaiNoMood, Ghost_chu, Mgazul, TiaraRinne, sandtechnology] +authors: [ PotatoCraft Studio, Netherfoam, Timtower, KaiNoMood, Ghost_chu, Mgazul, TiaraRinne, sandtechnology, Starmism, Chris6ix ] description: Economy Shops plugin softdepend: @@ -28,6 +28,7 @@ softdepend: - JulySafe - FabledSkyblock - OpenInv + - WorldEdit api-version: 1.13