From 775e81e5f5975a5520e4a9050887adb1f792430e Mon Sep 17 00:00:00 2001 From: TheDutchMC Date: Wed, 7 Oct 2020 13:49:54 +0200 Subject: [PATCH] Added NL.properties, and added the activeLang entry in the config.yml --- languages/en.properties | 32 +++++++++++++++++++++++++++ languages/nl.properties | 41 +++++++++++++++++++++++++++++++++++ src/main/resources/config.yml | 2 ++ 3 files changed, 75 insertions(+) create mode 100644 languages/en.properties create mode 100644 languages/nl.properties diff --git a/languages/en.properties b/languages/en.properties new file mode 100644 index 0000000..75affc8 --- /dev/null +++ b/languages/en.properties @@ -0,0 +1,32 @@ +welcome=Welcome to HaroTorch + +#Commands +commandOnlyForPlayers=This command can only be used by Players! +noPermission=You do not have permission to use this command! +missingArguments=Missing arguments! Use %HELP_COMMAND% for help! + +#GiveExecutor +quantityNaN=The given quantity is not a number! +quantityNegOrZero=Quantity may not be 0 or negative! + +#HighlightAreaOfEffectExecutor +startingAoe=Showing the area of effect for %SECONDS% seconds! +endingAoe=Highlighting has ended! + +#HighlightExecutor +highlightVersionNotSupported=The highlight feature is not supported on this version of Minecraft! (%NMS_VERSION%) +startingHiglight=Highlighting all Torches for %SECONDS% seconds! +endingHighlight=Highlighting has ended! + +#ConvertExecutor +v1NotInstalledMessage=HaroTorch v1 is not installed. Aborting. +convertingToV2Start=Converting HaroTorch v1 Torches to v2... +convertingToV2Complete=Conversion complete. Disabling HaroTorch v1! + +#BreakEvent +blockBreakNotAllowedTorchOntop=You may not break this block. A HaroTorch stands ontop! +blockBreakNotAllowedOwnerMismatch=You are not allowed to break this Torch since you do not own it! +torchBroken=Torch broken successfully! + +#PlaceEvent +torchPlaced=Torch placed successfully! diff --git a/languages/nl.properties b/languages/nl.properties new file mode 100644 index 0000000..c66e096 --- /dev/null +++ b/languages/nl.properties @@ -0,0 +1,41 @@ +welcome=Welkom bij HaroTorch + +#Commands +commandOnlyForPlayers=Dit commando mag alleen door spelers gebruikt worden! +noPermission=U hebt geen toestemming om dit commando te gebruiken! +missingArguments=Er ontbreken argumenten! Gebruik %HELP_COMMAND% voor hulp! + +#GiveExecutor +quantityNaN=De opgegeven kwantiteit is niet een geldig nummer! +quantityNegOrZero=De opgegeven kwantiteit mag niet negatief of nul zijn! + +#HighlightAreaOfEffectExecutor +startingAoe=Het gebied van effect weergeven gedurende %SECONDS% seconden! +endingAoe=Het markeren is beëindigd! + +#HighlightExecutor +highlightVersionNotSupported=De highlight-functie wordt niet ondersteund op deze versie van Minecraft! (%NMS_VERSION%) +startingHiglight=Alle HaroTorch's voor %SECONDS% seconden markeren. +endingHighlight=Het markeren is beeindigd! + +#ConvertExecutor +v1NotInstalledMessage=HaroTorch v1 is niet geïnstalleerd. Afgebroken. +convertingToV2Start=HaroTorch v1 Torches omzetten naar v2... +convertingToV2Complete=Conversie voltooid. HaroTorch v1 uitgeschakelt. + +#BreakEvent +blockBreakNotAllowedTorchOntop=U mag dit blok niet doorbreken. Een HaroTorch staat er bovenop! +blockBreakNotAllowedOwnerMismatch=Je mag deze HaroTorch niet breken omdat je hem niet bezit! +torchBroken=HaroTorch successvol gebroken! + +#PlaceEvent +torchPlaced=HaroTorch successvol geplaatst! + +#HelpExecutor +helpMenuTitle=HaroTorch Help Menu +helpHelp=Toont je deze pagina. +helpHighlight=Highlight all nearby torches. +helpGive=Markeer alle HaroTorch's in de buurt. +helpConvert=Converteer v1-HaroTorch's naar v2-HaroTorch's. +helpVersion=Verkrijg het versienummer van HaroTorch en NMS. +helpAoe=Toon het effectgebied van alle nabije HaroTorch's met behulp van particles \ No newline at end of file diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 430233f..af3cfa1 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -17,6 +17,8 @@ torchHighlightTime: 30 #How many 'rows' of particles should be spawned when a user uses /torch aoe. Default: 10 torchAoeParticleHeight: 10 +activeLang: "en" + # Recipe for the Torch # # Example: