mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-01 14:38:48 +00:00
fix(lang): Fixed translation string bug
- Fixed translation string bug in the move command where it incorrectly displayed {track} instead of {{track}} to properly represent the moved track.
chore(deps): Updated dependencies
This commit is contained in:
1 parent
8c18480357
commit
1728503bb6
5 files changed
+94
-94
No files matched your search
+1
-1
@@ -146,7 +146,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"trackMoved": "{{icon}} **Moved track**\n{track}\n\nTrack has been moved from position **`{{fromPosition}}`** to position **`{{toPosition}}`**.",
|
||||
"trackMoved": "{{icon}} **Moved track**\n{{track}}\n\nTrack has been moved from position **`{{fromPosition}}`** to position **`{{toPosition}}`**.",
|
||||
"trackPositionHigherThanQueueLength_one": "{{icon}} **Oops!**\nYou cannot move the track in position **`{{fromPosition}}`** to position **`{{toPosition}}`**. There is only **`1`** track in the queue.\n\nView tracks added to the queue with {{queueCommand}}.",
|
||||
"trackPositionHigherThanQueueLength": "{{icon}} **Oops!**\nYou cannot move the track in position **`{{fromPosition}}`** to position **`{{toPosition}}`**. There are only **`{{count}}`** tracks in the queue.\n\nView tracks added to the queue with {{queueCommand}}."
|
||||
},
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"trackMoved": "{{icon}} **Canción movida**\n{track}\n\nLa canción ha sido movida desde la posición **`{{fromPosition}}`** hasta la posición **`{{toPosition}}`**.",
|
||||
"trackMoved": "{{icon}} **Canción movida**\n{{track}}\n\nLa canción ha sido movida desde la posición **`{{fromPosition}}`** hasta la posición **`{{toPosition}}`**.",
|
||||
"trackPositionHigherThanQueueLength_one": "{{icon}} **Oops!**\nNo puedes mover la canción en la posición **`{{fromPosition}}`** a la posición **`{{toPosition}}`**. Solo hay **`1`** canción en la cola.\n\nConsulta las canciones añadidas a la cola con {{queueCommand}}.",
|
||||
"trackPositionHigherThanQueueLength": "{{icon}} **Oops!**\nNo puedes mover la canción en la posición **`{{fromPosition}}`** a la posición **`{{toPosition}}`**. Solo hay **`{{count}}`** canciones en la cola.\n\nConsulta las canciones añadidas a la cola con {{queueCommand}}."
|
||||
},
|
||||
|
||||
+1
-1
@@ -146,7 +146,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"trackMoved": "{{icon}} **Flyttet låten**\n{track}\n\nLåten har blitt flyttet fra posisjon **`{{fromPosition}}`** til posisjon **`{{toPosition}}`** i køen.",
|
||||
"trackMoved": "{{icon}} **Flyttet låten**\n{{track}}\n\nLåten har blitt flyttet fra posisjon **`{{fromPosition}}`** til posisjon **`{{toPosition}}`** i køen.",
|
||||
"trackPositionHigherThanQueueLength_one": "{{icon}} **Oi sann!**\nDu kan ikke flytte låten i posisjon **`{{fromPosition}}`** til posisjon **`{{toPosition}}`** i køen. Det er bare **`1`** låt i køen.\n\nVis låter lagt til i køen med {{queueCommand}}.",
|
||||
"trackPositionHigherThanQueueLength": "{{icon}} **Oi sann!**\nDu kan ikke flytte låten i posisjon **`{{fromPosition}}`** til posisjon **`{{toPosition}}`** i køen. Det er bare **`{{count}}`** låter i køen.\n\nVis låter lagt til i køen med {{queueCommand}}."
|
||||
},
|
||||
|
||||
+1
-1
@@ -146,7 +146,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"trackMoved": "{{icon}} **Piesă mutată**\n{track}\n\nPiesa a fost mutată din poziția **`{{fromPosition}}`** la poziția **`{{toPosition}}`**.",
|
||||
"trackMoved": "{{icon}} **Piesă mutată**\n{{track}}\n\nPiesa a fost mutată din poziția **`{{fromPosition}}`** la poziția **`{{toPosition}}`**.",
|
||||
"trackPositionHigherThanQueueLength_one": "{{icon}} **Ups!**\nNu poți muta piesa din poziția **`{{fromPosition}}`** spre poziția **`{{toPosition}}`**. Coada conține doar **o** singură piesă.\n\nVezi piese adăugate în coadă folosind {{queueCommand}}.",
|
||||
"trackPositionHigherThanQueueLength": "{{icon}} **Ups!**\nNu puteți muta melodia în poziția **`{{fromPosition}}`** la poziția **`{{toPosition}}`**. Sunt doar **`{{count}}`** piese în coadă.\n\nVezi melodiile adăugate la coada de redare cu {{queueCommand}}."
|
||||
},
|
||||
|
||||
+90
-90
@@ -1,91 +1,91 @@
|
||||
{
|
||||
"name": "cadence-discord-bot",
|
||||
"version": "5.7.0",
|
||||
"description": "A free Discord music and audio bot.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mariusbegby/cadence-discord-bot"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/mariusbegby/cadence-discord-bot/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mariusbegby/cadence-discord-bot#readme",
|
||||
"author": {
|
||||
"name": "Marius Begby",
|
||||
"url": "https://github.com/mariusbegby"
|
||||
},
|
||||
"publisher": "mariusbegby",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"jest": {
|
||||
"preset": "ts-jest",
|
||||
"testEnvironment": "node",
|
||||
"testMatch": [
|
||||
"**/__tests__/**/*.ts",
|
||||
"**/?(*.)+(spec|test).ts"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node .",
|
||||
"deploy": "node ./dist/startup/deploySlashCommands.js",
|
||||
"predev": "npx prisma generate && npx prisma db push",
|
||||
"dev": "concurrently --names \"TSC,TOC,BOT\" --prefix-colors \"yellow,blue,green\" \"npx tsc -w\" \"nodemon -w locales/en -x npm run toc\" \"nodemon -x npm run start\"",
|
||||
"eslint": "eslint ./src --fix",
|
||||
"prebuild": "npm run toc",
|
||||
"build": "tsc",
|
||||
"toc": "i18next-resources-for-ts interface -i ./locales/en -o ./locales/resources.d.ts",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"coverage": "jest --coverage",
|
||||
"prisma:migrate": "npx prisma migrate dev",
|
||||
"prisma:generate": "npx prisma generate",
|
||||
"prisma:studio": "npx prisma studio",
|
||||
"postinstall": "npx prisma generate"
|
||||
},
|
||||
"nodemonConfig": {
|
||||
"ignore": [
|
||||
"src/**",
|
||||
"logs/**"
|
||||
],
|
||||
"execMap": {}
|
||||
},
|
||||
"dependencies": {
|
||||
"@discord-player/extractor": "^4.4.6",
|
||||
"@discord-player/opus": "^0.1.2",
|
||||
"@discordjs/rest": "^2.2.0",
|
||||
"@prisma/client": "^5.9.0",
|
||||
"config": "^3.3.10",
|
||||
"discord-player": "^6.6.7",
|
||||
"discord-voip": "^0.1.3",
|
||||
"discord.js": "^14.14.1",
|
||||
"dotenv": "^16.4.1",
|
||||
"i18next": "^23.8.1",
|
||||
"i18next-fs-backend": "^2.3.1",
|
||||
"mediaplex": "^0.0.9",
|
||||
"node-os-utils": "^1.3.7",
|
||||
"pino": "^8.17.2",
|
||||
"youtube-ext": "^1.1.16"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/config": "^3.3.3",
|
||||
"@types/jest": "^29.5.11",
|
||||
"@types/node": "^20.11.10",
|
||||
"@types/node-os-utils": "^1.3.4",
|
||||
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
||||
"@typescript-eslint/parser": "^6.20.0",
|
||||
"concurrently": "^8.2.2",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"i18next-resources-for-ts": "^1.5.0",
|
||||
"jest": "^29.7.0",
|
||||
"nodemon": "^3.0.3",
|
||||
"prettier": "^3.2.4",
|
||||
"ts-jest": "^29.1.2",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"pino-loki": "^2.2.1",
|
||||
"pino-pretty": "^10.3.1"
|
||||
}
|
||||
{
|
||||
"name": "cadence-discord-bot",
|
||||
"version": "5.7.0",
|
||||
"description": "A free Discord music and audio bot.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mariusbegby/cadence-discord-bot"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/mariusbegby/cadence-discord-bot/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mariusbegby/cadence-discord-bot#readme",
|
||||
"author": {
|
||||
"name": "Marius Begby",
|
||||
"url": "https://github.com/mariusbegby"
|
||||
},
|
||||
"publisher": "mariusbegby",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"jest": {
|
||||
"preset": "ts-jest",
|
||||
"testEnvironment": "node",
|
||||
"testMatch": [
|
||||
"**/__tests__/**/*.ts",
|
||||
"**/?(*.)+(spec|test).ts"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node .",
|
||||
"deploy": "node ./dist/startup/deploySlashCommands.js",
|
||||
"predev": "npx prisma generate && npx prisma db push",
|
||||
"dev": "concurrently --names \"TSC,TOC,BOT\" --prefix-colors \"yellow,blue,green\" \"npx tsc -w\" \"nodemon -w locales/en -x npm run toc\" \"nodemon -x npm run start\"",
|
||||
"eslint": "eslint ./src --fix",
|
||||
"prebuild": "npm run toc",
|
||||
"build": "tsc",
|
||||
"toc": "i18next-resources-for-ts interface -i ./locales/en -o ./locales/resources.d.ts",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"coverage": "jest --coverage",
|
||||
"prisma:migrate": "npx prisma migrate dev",
|
||||
"prisma:generate": "npx prisma generate",
|
||||
"prisma:studio": "npx prisma studio",
|
||||
"postinstall": "npx prisma generate"
|
||||
},
|
||||
"nodemonConfig": {
|
||||
"ignore": [
|
||||
"src/**",
|
||||
"logs/**"
|
||||
],
|
||||
"execMap": {}
|
||||
},
|
||||
"dependencies": {
|
||||
"@discord-player/extractor": "^4.4.6",
|
||||
"@discord-player/opus": "^0.1.2",
|
||||
"@discordjs/rest": "^2.2.0",
|
||||
"@prisma/client": "^5.9.1",
|
||||
"config": "^3.3.11",
|
||||
"discord-player": "^6.6.7",
|
||||
"discord-voip": "^0.1.3",
|
||||
"discord.js": "^14.14.1",
|
||||
"dotenv": "^16.4.1",
|
||||
"i18next": "^23.8.2",
|
||||
"i18next-fs-backend": "^2.3.1",
|
||||
"mediaplex": "^0.0.9",
|
||||
"node-os-utils": "^1.3.7",
|
||||
"pino": "^8.18.0",
|
||||
"youtube-ext": "^1.1.16"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/config": "^3.3.3",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/node": "^20.11.16",
|
||||
"@types/node-os-utils": "^1.3.4",
|
||||
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
||||
"@typescript-eslint/parser": "^6.21.0",
|
||||
"concurrently": "^8.2.2",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"i18next-resources-for-ts": "^1.5.0",
|
||||
"jest": "^29.7.0",
|
||||
"nodemon": "^3.0.3",
|
||||
"prettier": "^3.2.5",
|
||||
"ts-jest": "^29.1.2",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"pino-loki": "^2.2.1",
|
||||
"pino-pretty": "^10.3.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user