From 989fc127795b20e8d602791493f1eed7e5ac58aa Mon Sep 17 00:00:00 2001 From: GregTCLTK Date: Sat, 7 Dec 2019 02:05:23 +0100 Subject: [PATCH] Translation test --- crowdin.yml | 1 + src/main/Translations/en_us.json | 2 +- src/main/Translations/en_us.properties | 119 ++++++++++++++++++ .../com/bbn/hadder/utils/MessageEditor.java | 2 +- 4 files changed, 122 insertions(+), 2 deletions(-) create mode 100644 src/main/Translations/en_us.properties diff --git a/crowdin.yml b/crowdin.yml index 8baa1e6..4f8e676 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,3 +1,4 @@ +base_url: https://bigbotnetwork.com files: - source: /src/main/Translations/en_us.json translation: /src/main/Translations/%two_letters_code%/%original_file_name% diff --git a/src/main/Translations/en_us.json b/src/main/Translations/en_us.json index 43351cb..ce4b243 100644 --- a/src/main/Translations/en_us.json +++ b/src/main/Translations/en_us.json @@ -10,7 +10,7 @@ "": "", "": "", "<@user> ": "<@user> ", - + "error": "Error", "none": "None", "success!": "Success!", diff --git a/src/main/Translations/en_us.properties b/src/main/Translations/en_us.properties new file mode 100644 index 0000000..c2a8da8 --- /dev/null +++ b/src/main/Translations/en_us.properties @@ -0,0 +1,119 @@ +# +# @author Skidder / GregTCLTK +# + +Hadder = Hadder + +user/id= <@User>/ +searchterm = +username = +number = +guildprefix = +<@User> = <@User> +on/off = +vc-name/id = +user+nickname = <@user> + +error = Error +none = None +success! = Success! + +commands.fun.avatar.success.title = Avatar of +commands.fun.avatar.help.description = Sends the avatar of the specified member. +commands.fun.gif.error.description = Please try again with another term. +commands.fun.gif.help.description = Look for a GIF on Giphy +commands.fun.meme.success.title = Your random meme +commands.fun.meme.api.error = The request to the meme API could not be processed. Please try it again later. +commands.fun.meme.help.description = Sends you a random meme. + +commands.general.about.success.title = Hadder - About +commands.general.about.success.description = Hadder is an open source Discord bot. +commands.general.about.success.field.one.title = Support the Developers +commands.general.about.success.field.one.description = Hadder is completely free for everyone. We would appreciate it you donate some money [here] +commands.general.about.help.description = Shows infos about Hadder +commands.general.equals.string.first.request = Please send me the first String +commands.general.equals.string.second.request = Please send me the second String +commands.general.equals.string.equals.true = Yes! The first string equals the second string! +commands.general.equals.string.equals.false = Well yes but actually No. This isn't the same. +commands.general.equals.string.first = First String +commands.general.equals.string.second = Second String +commands.general.equals.string.result = Result +commands.general.equals.help.description = Check if two strings are the same +commands.general.help.error.description = I need the Embed Links Permission to send the Help Menu! +commands.general.help.help.description = Shows each command or explains its usage +commands.general.help.help.label = [CommandName] +commands.general.invite.success.title = Invite me! +commands.general.invite.success.description = [Invite me here!] +commands.general.invite.help.description = Shows the invitation to invite Hadder to your server +commands.general.ping.help.description = Shows the ping to the Discord API + +commands.misc.feedback.title.request.title = Feedback Topic +commands.misc.feedback.title.request.description = Please send me the feedback topic. +commands.misc.feedback.description.request.title = Feedback Description +commands.misc.feedback.description.request.description = Please send me the feedback description now. +commands.misc.feedback.help.description = Sends feedback directly to the developers. +commands.misc.github.link.title = Link your GitHub Account +commands.misc.github.success.title = Information about +commands.misc.github.success.bio = User bio +commands.misc.github.success.location = Location +commands.misc.github.success.website = Website +commands.misc.github.success.repositories = Public repositories +commands.misc.github.success.gists = Public gists +commands.misc.github.success.followers = Followers +commands.misc.github.success.following = Following +commands.misc.github.api.error.description = The GitHub API might be down at the moment! +commands.misc.github.user.error.description = This user does not exist! +commands.misc.github.connect.title = Connect you GH account +commands.misc.github.connect.description = Please connect your GitHub account here +commands.misc.github.help.description = Displays information about a GitHub user profile. +commands.misc.screenshare.success.title = Here's your Url to share your Screen +commands.misc.screenshare.id.error.title = Wait that's illegal +commands.misc.screenshare.id.error.description = This ID is invalid. \nMaybe you entered a wrong ID? \n\nNote: Make sure the Voice Channel is on this Guild. +commands.misc.screenshare.channel.error.title = Please Choose a Voice Channel +commands.misc.screenshare.channel.error.description = There is more than one channel with this name +commands.misc.screenshare.number.error.title = You specified a wrong number! +commands.misc.screenshare.number.error.description = This isn't a Number. +commands.misc.screenshare.channel.existing.error = Hol' up +commands.misc.screenshare.channel.existing.description = There is no Voice Channel named like this. \n\nNote: Make sure the Voice Channel is on this Guild. +commands.misc.screenshare.help.description = Shows you the link to share your screen. + +commands.moderation.ban.success.title = Successfully banned +commands.moderation.ban.success.description = I successfully baned +commands.moderation.ban.error.title = Not possible +commands.moderation.ban.myself.error.description = I can not ban myself! +commands.moderation.ban.yourself.error.description = You can't ban yourself! +commands.moderation.ban.help.description = Bans one ore more user from the server +commands.moderation.clear.number.error.description = You have to choose a number between 1 and 200! +commands.moderation.clear.success.description = Successfully deleted 69 messages. +commands.moderation.clear.help.description = Deletes the specified number of messages. +commands.moderation.prefix.success.title = Successfully set +commands.moderation.prefix.success.description = I successfully set the new prefix for the guild to +commands.moderation.prefix.error.description = The prefix must not contain **\** +commands.moderation.prefix.help.description = Sets the Guild-Prefix. +commands.moderation.invitedetect.activate.success.title = Successfully activated +commands.moderation.invitedetect.activate.success.description = I successfully activated the invite link detection for this guild. +commands.moderation.invitedetect.activate.error.title = Already activated +commands.moderation.invitedetect.activate.error.description = The invite link detection is already activated on this guild. +commands.moderation.invitedetect.deactivate.success.title = Successfully deactivated +commands.moderation.invitedetect.deactivate.success.description = I successfully deactivated the invite link detection for this guild. +commands.moderation.invitedetect.deactivate.error.title = Already deactivated +commands.moderation.invitedetect.deactivate.error.description = The invite link detection is already deactivated on this guild. +commands.moderation.invitedetect.help.description = Activate or deactivate the Discord invite link detection. +commands.moderation.kick.success.title = Successfully kicked +commands.moderation.kick.success.description = I successfully kicked +commands.moderation.kick.myself.error.description = I can not kick myself! +commands.moderation.kick.yourself.error.description = You can't kick yourself. +commands.moderation.kick.mass.success.description = I successfully kicked 69 Members! +commands.moderation.kick.help.description = Kicks one or more user from the server. +commands.moderation.link.request.success.description = If i'm on this guild i sent a message to accept the link. +commands.moderation.link.error.title = Wait that's illegal. +commands.moderation.link.request.error.description = You specified the same guild as the guild on which you're reading this +commands.moderation.link.request.accept.title = Skidder wants to link guilds! +commands.moderation.link.request.accept.description = React with the reactions to accept or decline it +commands.moderation.link.set.title = Set the thing boi +commands.moderation.link.help.description = Links two or more servers. +commands.moderation.nick.success.title = Successfully nicked +commands.moderation.nick.success.description = I successfully nicked +commands.moderation.nick.myself.success.description = I successfully changed my nickname. +commands.moderation.nick.mass.success.description = I successfully nicked 69 Members! +commands.moderation.nick.help.description = Rename a one or more user. diff --git a/src/main/java/com/bbn/hadder/utils/MessageEditor.java b/src/main/java/com/bbn/hadder/utils/MessageEditor.java index 0121acd..de93685 100644 --- a/src/main/java/com/bbn/hadder/utils/MessageEditor.java +++ b/src/main/java/com/bbn/hadder/utils/MessageEditor.java @@ -43,7 +43,7 @@ public class MessageEditor { case NO_SELF_PERMISSION: builder .setTitle("⛔ No Permission ⛔") - .setDescription("Unfortunately, I do not have the required rights to perform this action") + .setDescription("Unfortunately, I do not have the required rights to perform this action!") .setColor(Color.RED) .setFooter("Hadder", "https://bigbotnetwork.com/images/Hadder.png") .setTimestamp(Instant.now());