mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 22:15:29 +00:00
Localization support
This commit is contained in:
12 files changed
+220
-34
No files matched your search
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"autocomplete": {
|
||||
"trackName": "{{title}} [Author: {{author}}]"
|
||||
},
|
||||
"commands": {
|
||||
"lyrics": {
|
||||
"metadata": {
|
||||
"description": "Search Genius lyrics for current or specified track. TEST",
|
||||
"name": "lyrics",
|
||||
"options": {
|
||||
"query": {
|
||||
"name": "query",
|
||||
"description": "Search query by text or URL. TEST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"autocompleteSearchResult": "{{title}} [Artist: {{artist}}]"
|
||||
},
|
||||
"help": {}
|
||||
}
|
||||
}
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import Resources from './resources';
|
||||
|
||||
declare module 'i18next' {
|
||||
interface CustomTypeOptions {
|
||||
defaultNS: 'bot';
|
||||
resources: Resources;
|
||||
}
|
||||
}
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
interface Resources {
|
||||
"bot": {
|
||||
"autocomplete": {
|
||||
"trackName": "{{title}} [Author: {{author}}]"
|
||||
},
|
||||
"commands": {
|
||||
"lyrics": {
|
||||
"metadata": {
|
||||
"description": "Search Genius lyrics for current or specified track. TEST",
|
||||
"name": "lyrics",
|
||||
"options": {
|
||||
"query": {
|
||||
"name": "query",
|
||||
"description": "Search query by text or URL. TEST"
|
||||
}
|
||||
}
|
||||
},
|
||||
"autocompleteSearchResult": "{{title}} [Artist: {{artist}}]"
|
||||
},
|
||||
"help": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default Resources;
|
||||
Reference in new issue
Block a user