From aeb0415d0000bf944a4372f5f4e5c0acf0c35f1a Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Tue, 26 Apr 2022 12:17:22 +0200 Subject: [PATCH 1/2] Create source file errors.json --- lang/en/errors.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lang/en/errors.json diff --git a/lang/en/errors.json b/lang/en/errors.json new file mode 100644 index 0000000..225d04b --- /dev/null +++ b/lang/en/errors.json @@ -0,0 +1,7 @@ +{ + "errors": { + "guildOnly": "You can only use this command in a guild!", + "userNotFound": "Could not find user <@{{user}}>.", + "amountNotFound": "We could not read your requested amount!" + } +} From 89b500ff2cb46e4bf7789262fd115ff6c8b051f1 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Tue, 26 Apr 2022 12:17:22 +0200 Subject: [PATCH 2/2] Update source file plugins.json --- lang/en/plugins.json | 114 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 113 insertions(+), 1 deletion(-) diff --git a/lang/en/plugins.json b/lang/en/plugins.json index 24e05e9..45bd203 100644 --- a/lang/en/plugins.json +++ b/lang/en/plugins.json @@ -1,3 +1,115 @@ { - "test":"test" + "credits": { + "modules": { + "balance": { + "general": { + "title": "[:dollar:] Credits (Balance)" + }, + "user_has_amount_credits": "<@{{user}}> has {{amount}} credits", + "error01": { + "description": "<@{{user}}> has no credits!" + }, + "success01": { + "description": "<@{{user}}> has {{amount}} credits!\n" + } + }, + "gift": { + "general": { + "title": "[:dollar:] Credits (Gift)" + }, + "error01": { + "description": "You can not pay yourself!" + }, + "error02": { + "description": "You can't gift zero or below!" + }, + "error03": { + "description": "You have insufficient credits. Your balance is {{amount}}!" + }, + "success01": { + "description": "You have received {{amount}} credits from {{user}} with reason {{reason}}!" + }, + "success02": { + "description": "Successfully gifted {{amount}} credits to <@{{user}}> with reason {{reason}}!" + } + }, + "top": { + "entry": "{{index}}. <@{{user}}> - {{amount}}", + "success01": { + "description": "Top 10 users with the most credits." + }, + "general": { + "title": "[:dollar:] Credits (Top)" + } + }, + "work": { + "general": { + "title": "[:dollar:] Credits (Work)" + }, + "error01": { + "description": "You can not work while on timeout, please wait {{time}} seconds." + }, + "success01": { + "description": "You worked and earned {{amount}} credits" + } + } + } + }, + "utility": { + "modules": { + "avatar": { + "general": { + "title": "[:hammer:] Utility (Avatar)" + }, + "success01": { + "description": "Here you have <@{{user}}> avatar!" + } + } + } + }, + "counters": { + "modules": { + "view": { + "general": { + "title": "[:1234:] Counters (View)" + }, + "error01": { + "description": "No counter found for channel <#{{channel}}>!" + }, + "success01": { + "description": "Viewing counter for channel <#{{channel}} with count {{amount}}." + } + } + } + }, + "manage": { + "groups": { + "counters": { + "modules": { + "create": { + "general": { + "title": "[:toolbox:] Manage - Counters (Create)" + }, + "success01": { + "description": "Created counter for <#{{channel}}>." + }, + "error01": { + "description": "A counter already exists for this channel." + } + }, + "delete": { + "general": { + "title": "[:toolbox:] Manage - Counters (Delete)" + }, + "error01": { + "description": "The counter for this channel does not exist." + }, + "success01": { + "description": "The counter for this channel has been deleted." + } + } + } + } + } + } }