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:
Aaron Sandoval committed 2024-02-07 09:56:42 -07:00
1 parent 8c18480357
commit 1728503bb6
5 files changed
+94 -94

No files matched your search

+1 -1
View File
@@ -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_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}}." "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}}."
}, },
+1 -1
View File
@@ -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_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}}." "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
View File
@@ -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_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}}." "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
View File
@@ -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_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}}." "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
View File
@@ -1,91 +1,91 @@
{ {
"name": "cadence-discord-bot", "name": "cadence-discord-bot",
"version": "5.7.0", "version": "5.7.0",
"description": "A free Discord music and audio bot.", "description": "A free Discord music and audio bot.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/mariusbegby/cadence-discord-bot" "url": "https://github.com/mariusbegby/cadence-discord-bot"
}, },
"bugs": { "bugs": {
"url": "https://github.com/mariusbegby/cadence-discord-bot/issues" "url": "https://github.com/mariusbegby/cadence-discord-bot/issues"
}, },
"homepage": "https://github.com/mariusbegby/cadence-discord-bot#readme", "homepage": "https://github.com/mariusbegby/cadence-discord-bot#readme",
"author": { "author": {
"name": "Marius Begby", "name": "Marius Begby",
"url": "https://github.com/mariusbegby" "url": "https://github.com/mariusbegby"
}, },
"publisher": "mariusbegby", "publisher": "mariusbegby",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "dist/index.js",
"jest": { "jest": {
"preset": "ts-jest", "preset": "ts-jest",
"testEnvironment": "node", "testEnvironment": "node",
"testMatch": [ "testMatch": [
"**/__tests__/**/*.ts", "**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts" "**/?(*.)+(spec|test).ts"
] ]
}, },
"scripts": { "scripts": {
"start": "node .", "start": "node .",
"deploy": "node ./dist/startup/deploySlashCommands.js", "deploy": "node ./dist/startup/deploySlashCommands.js",
"predev": "npx prisma generate && npx prisma db push", "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\"", "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", "eslint": "eslint ./src --fix",
"prebuild": "npm run toc", "prebuild": "npm run toc",
"build": "tsc", "build": "tsc",
"toc": "i18next-resources-for-ts interface -i ./locales/en -o ./locales/resources.d.ts", "toc": "i18next-resources-for-ts interface -i ./locales/en -o ./locales/resources.d.ts",
"test": "jest", "test": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"coverage": "jest --coverage", "coverage": "jest --coverage",
"prisma:migrate": "npx prisma migrate dev", "prisma:migrate": "npx prisma migrate dev",
"prisma:generate": "npx prisma generate", "prisma:generate": "npx prisma generate",
"prisma:studio": "npx prisma studio", "prisma:studio": "npx prisma studio",
"postinstall": "npx prisma generate" "postinstall": "npx prisma generate"
}, },
"nodemonConfig": { "nodemonConfig": {
"ignore": [ "ignore": [
"src/**", "src/**",
"logs/**" "logs/**"
], ],
"execMap": {} "execMap": {}
}, },
"dependencies": { "dependencies": {
"@discord-player/extractor": "^4.4.6", "@discord-player/extractor": "^4.4.6",
"@discord-player/opus": "^0.1.2", "@discord-player/opus": "^0.1.2",
"@discordjs/rest": "^2.2.0", "@discordjs/rest": "^2.2.0",
"@prisma/client": "^5.9.0", "@prisma/client": "^5.9.1",
"config": "^3.3.10", "config": "^3.3.11",
"discord-player": "^6.6.7", "discord-player": "^6.6.7",
"discord-voip": "^0.1.3", "discord-voip": "^0.1.3",
"discord.js": "^14.14.1", "discord.js": "^14.14.1",
"dotenv": "^16.4.1", "dotenv": "^16.4.1",
"i18next": "^23.8.1", "i18next": "^23.8.2",
"i18next-fs-backend": "^2.3.1", "i18next-fs-backend": "^2.3.1",
"mediaplex": "^0.0.9", "mediaplex": "^0.0.9",
"node-os-utils": "^1.3.7", "node-os-utils": "^1.3.7",
"pino": "^8.17.2", "pino": "^8.18.0",
"youtube-ext": "^1.1.16" "youtube-ext": "^1.1.16"
}, },
"devDependencies": { "devDependencies": {
"@types/config": "^3.3.3", "@types/config": "^3.3.3",
"@types/jest": "^29.5.11", "@types/jest": "^29.5.12",
"@types/node": "^20.11.10", "@types/node": "^20.11.16",
"@types/node-os-utils": "^1.3.4", "@types/node-os-utils": "^1.3.4",
"@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.20.0", "@typescript-eslint/parser": "^6.21.0",
"concurrently": "^8.2.2", "concurrently": "^8.2.2",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"i18next-resources-for-ts": "^1.5.0", "i18next-resources-for-ts": "^1.5.0",
"jest": "^29.7.0", "jest": "^29.7.0",
"nodemon": "^3.0.3", "nodemon": "^3.0.3",
"prettier": "^3.2.4", "prettier": "^3.2.5",
"ts-jest": "^29.1.2", "ts-jest": "^29.1.2",
"typescript": "^5.3.3" "typescript": "^5.3.3"
}, },
"optionalDependencies": { "optionalDependencies": {
"pino-loki": "^2.2.1", "pino-loki": "^2.2.1",
"pino-pretty": "^10.3.1" "pino-pretty": "^10.3.1"
} }
} }