Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies upgrade to 1.21.4 / change message file name #39

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ plugins {

allprojects {
group = "me.kous500.curvebuilding"
version = "0.6.2"
version = "0.6.3"
}
6 changes: 3 additions & 3 deletions curvebuilding-bukkit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ repositories {
}

dependencies {
compileOnly "org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT"
compileOnly "com.sk89q.worldedit:worldedit-bukkit:7.3.4"
compileOnly "org.spigotmc:spigot-api:1.21.3-R0.1-SNAPSHOT"
compileOnly "com.sk89q.worldedit:worldedit-bukkit:7.3.9"
compileOnly "org.jetbrains:annotations:24.1.0"
api "com.github.fierioziy.particlenativeapi:ParticleNativeAPI-core:4.3.0"
api "com.github.fierioziy.particlenativeapi:ParticleNativeAPI-core:4.4.0"
api project(':curvebuilding-core')
}

Expand Down
23 changes: 23 additions & 0 deletions curvebuilding-bukkit/src/main/resources/messages/en-US.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
messages:
plugin-load-error: "An error occurred while loading {0}: "
non-player-execution: "Can not execute this command from console."
incorrect-argument: "Invalid argument for command."
integer-less: "Integer must not be less than {0}, found {1}."
invalid-integer: "Invalid integer '{0}'."
pos-not-exist: "Connection point {0} does not exist."
problem-here: "<--[HERE]"
pos-N: "Connection position {0}"
pos-Nf: "Control position {0}f"
pos-Nb: "Control position {0}b"
pos-set: "{0} set to {1}."
pos-clear: "{0} deleted."
pos-clear-all: "Deleted all positions."
pos-remove: "Removed connection point {0}."
pos-shift: "Pos shifted."
bc-changed: "{0} blocks changed. Undo with //undo"
bc-length: "Curve length: {0} blocks (estimated)"
incomplete-region: "Select a region first."
incomplete-pos: "Select a starting position first."
max-changed-blocks: "Max blocks changed in an operation reached ({0})."
max-set-length: "Max curve length in an operation reached ({0})."
max-pos-value: "Max pos value in an operation reached ({0})."
23 changes: 23 additions & 0 deletions curvebuilding-bukkit/src/main/resources/messages/ja-JP.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
messages:
plugin-load-error: "{0}の読み込み中にエラーが発生しました: "
non-player-execution: "コンソールからそのコマンドは実行できません。"
incorrect-argument: "コマンドの引数が正しくありません。"
integer-less: "この整数は{0}以上でなくてはならないため、{1}は適しません。"
invalid-integer: "「{0}」は無効な整数です。"
pos-not-exist: "接続点 {0} は存在しません。"
problem-here: "←[問題箇所]"
pos-N: "接続点 {0}"
pos-Nf: "制御点 {0}f"
pos-Nb: "制御点 {0}b"
pos-set: "{0} を {1} に設定しました。"
pos-clear: "{0} を削除しました。"
pos-clear-all: "全てのPosを削除しました。"
pos-remove: "接続点 {0} を取り除きました。"
pos-shift: "posをシフトしました。"
bc-changed: "{0} 個のブロックが変更されました。//undo で元に戻します。"
bc-length: "曲線の長さ: {0} ブロック (推定)"
incomplete-region: "領域を選択してください。"
incomplete-pos: "始点を選択してください。"
max-changed-blocks: "変更できるブロックの最大値は ({0}) に設定されています。"
max-set-length: "設定できる曲線の最大長は ({0}) に設定されています。"
max-pos-value: "設定できるposの最大値は ({0}) に設定されています。"
2 changes: 1 addition & 1 deletion curvebuilding-bukkit/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '${version}'
description: A plugin to build curves.
author: kous500
main: me.kous500.curvebuilding.bukkit.CurveBuildingPlugin
api-version: 1.20
api-version: 1.21.4
depend: [WorldEdit]

commands:
Expand Down
2 changes: 1 addition & 1 deletion curvebuilding-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
}

dependencies {
compileOnly "com.sk89q.worldedit:worldedit-core:7.3.4"
compileOnly "com.sk89q.worldedit:worldedit-core:7.3.9"
implementation 'org.yaml:snakeyaml:2.2'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class ResourceFiles {
public static ResourceFiles load(MainInitializer mainInitializer) {
ResourceFiles resourceFiles = new ResourceFiles(mainInitializer);

for (String language : new String[]{"en", "ja", "zh-Hant", "zh-CN"}) {
for (String language : new String[]{"en-US", "ja-JP", "zh-Hant", "zh-CN"}) {
resourceFiles.create("messages/" + language + ".yml");
}

Expand Down
23 changes: 23 additions & 0 deletions curvebuilding-fabric/src/main/resources/messages/en-US.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
messages:
plugin-load-error: "An error occurred while loading {0}: "
non-player-execution: "Can not execute this command from console."
incorrect-argument: "Invalid argument for command."
integer-less: "Integer must not be less than {0}, found {1}."
invalid-integer: "Invalid integer '{0}'."
pos-not-exist: "Connection point {0} does not exist."
problem-here: "<--[HERE]"
pos-N: "Connection position {0}"
pos-Nf: "Control position {0}f"
pos-Nb: "Control position {0}b"
pos-set: "{0} set to {1}."
pos-clear: "{0} deleted."
pos-clear-all: "Deleted all positions."
pos-remove: "Removed connection point {0}."
pos-shift: "Pos shifted."
bc-changed: "{0} blocks changed. Undo with //undo"
bc-length: "Curve length: {0} blocks (estimated)"
incomplete-region: "Select a region first."
incomplete-pos: "Select a starting position first."
max-changed-blocks: "Max blocks changed in an operation reached ({0})."
max-set-length: "Max curve length in an operation reached ({0})."
max-pos-value: "Max pos value in an operation reached ({0})."
23 changes: 23 additions & 0 deletions curvebuilding-fabric/src/main/resources/messages/ja-JP.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
messages:
plugin-load-error: "{0}の読み込み中にエラーが発生しました: "
non-player-execution: "コンソールからそのコマンドは実行できません。"
incorrect-argument: "コマンドの引数が正しくありません。"
integer-less: "この整数は{0}以上でなくてはならないため、{1}は適しません。"
invalid-integer: "「{0}」は無効な整数です。"
pos-not-exist: "接続点 {0} は存在しません。"
problem-here: "←[問題箇所]"
pos-N: "接続点 {0}"
pos-Nf: "制御点 {0}f"
pos-Nb: "制御点 {0}b"
pos-set: "{0} を {1} に設定しました。"
pos-clear: "{0} を削除しました。"
pos-clear-all: "全てのPosを削除しました。"
pos-remove: "接続点 {0} を取り除きました。"
pos-shift: "posをシフトしました。"
bc-changed: "{0} 個のブロックが変更されました。//undo で元に戻します。"
bc-length: "曲線の長さ: {0} ブロック (推定)"
incomplete-region: "領域を選択してください。"
incomplete-pos: "始点を選択してください。"
max-changed-blocks: "変更できるブロックの最大値は ({0}) に設定されています。"
max-set-length: "設定できる曲線の最大長は ({0}) に設定されています。"
max-pos-value: "設定できるposの最大値は ({0}) に設定されています。"