Skip to content
Merged
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
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@
"keyword-spacing": "error",
"max-nested-callbacks": ["error", { "max": 4 }],
"max-statements-per-line": ["error", { "max": 2 }],
"max-len": [
"error",
{
"code": 160,
"ignoreStrings": true,
"ignoreComments": true,
"ignoreTemplateLiterals": true
}
],
"no-console": "off",
"no-empty-function": "error",
"no-floating-decimal": "error",
Expand Down
16 changes: 0 additions & 16 deletions lang/de.ftl

This file was deleted.

16 changes: 0 additions & 16 deletions lang/en-US.ftl

This file was deleted.

2 changes: 2 additions & 0 deletions locales/de/avatar.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
command-name = Avatar anzeigen
embed = {$username}'s Avatar
Empty file added locales/de/comman.ftl
Empty file.
2 changes: 2 additions & 0 deletions locales/de/count.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
command-name = Zeichenanzahl zählen
reply = {-b}{$username}{-b}'s Nachricht enthält {-cl}{$length}{-cl} Zeichen.
8 changes: 8 additions & 0 deletions locales/de/ping.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# de
## command builder
command-name = ping
command-description = Antwortet mit Pong

## message content
reply = Pong
button = Ping
5 changes: 5 additions & 0 deletions locales/en-US/auto.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
command-name = autocomplete
command-description = Demonstration of Autocomplete
option1-name = option
option1-description = Choose a Fruit
reply = You selected {-b}{$fruit}{-b}
2 changes: 2 additions & 0 deletions locales/en-US/avatar.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
command-name = Display Avatar
embed = Avatar for {$username}
10 changes: 10 additions & 0 deletions locales/en-US/comman.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# comman.ftl is the fallback regardless of namespace
# command words and messages should be placed here

## Fruit
oranges = Oranges
bananas = Bananas
apples = Apples
grapefruits = Grapefruits
avocados = Avocados
apricots = Apricots
2 changes: 2 additions & 0 deletions locales/en-US/count.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
command-name = Count characters
reply = {-b}{$username}{-b}'s message has {-cl}{$length}{-cl} characters.
10 changes: 10 additions & 0 deletions locales/en-US/modal.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
command-name = modal
command-description = Demonstration of modal
modal-title = Modal Window
modal-short-label = Short text feild
modal-short-placeholder = Short text
modal-paragraph-label = Paragraph text feild
modal-paragraph-placeholder = Paragraph text
embed-title = Modal Response
embed-short = Short Text
embed-paragraph = Paragraph Text
8 changes: 8 additions & 0 deletions locales/en-US/ping.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# en-US
## command builder
command-name = ping
command-description = Replies with Pong

## message content
reply = Pong
button = Ping
15 changes: 15 additions & 0 deletions locales/en-US/select.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# en-US

## Command
command-name = select-menu
command-description = Select Menu Example

## string
menu-string-name = string
menu-string-description = Example of a String Select Menu
menu-string-placeholder = Nothing selected
menu-string-first-label = Select me
menu-string-first-description = This is a description
menu-string-second-label = You can select me too
menu-string-second-description = This is also a description
string-reply = Something was selected!
6 changes: 3 additions & 3 deletions lang/resources/global.ftl → locales/global.ftl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Global variables
# Global variables

### Formatting
## Formatting
# Italics markers, put these around text to italicize it
-i = {"*"}
# Bold markers, put these around text to bolden it
Expand All @@ -20,4 +20,4 @@
# Code Block
-cb = {"```"}
# Hashtag
-h = {"#"}
-h = {"#"}
Loading