chore: fix some comments

Signed-off-by: soonsouth <cuibuwei@163.com>
This commit is contained in:
soonsouth 2024-03-16 00:01:14 +08:00 committed by Chocobozzz
parent 1048d1054b
commit 01af40a55f
4 changed files with 6 additions and 6 deletions

View File

@ -363,7 +363,7 @@ We have many important notes in this release. We know it's a pain for sysadmin,
* :tada: Implement user registration approval (https://docs.joinpeertube.org/admin/managing-users#registration-approval) [#5544](https://github.com/Chocobozzz/PeerTube/pull/5544)
* If enabled, the user has to fill a *Registration reason* input
* Moderators have to to accept/reject the registration with a *Moderation response* that will be sent by email to the user
* Moderators have to accept/reject the registration with a *Moderation response* that will be sent by email to the user
* If the registration is accepted, the user and its channel are automatically created
* Add "back to live" button in player
* The *Live* button is red when the player is synced with the live
@ -1915,7 +1915,7 @@ A new endpoint to report videos will be created in PeerTube 2.4 and will also al
### Features
* :tada: Add global search support (has to be explicitely enabled by admins)
* :tada: Add global search support (has to be explicitly enabled by admins)
* :tada: Add ability for admins to display a banner on their instance
* :tada: Support Vietnamese and Kabyle languages. Also re-establish Occitan language locale despite lack of support in Angular
* Federation:

View File

@ -139,7 +139,7 @@ describe('Test video channel sync API validator', () => {
})
})
it('Should fail with a channelId refering nothing', async function () {
it('Should fail with a channelId referring nothing', async function () {
const attributes: VideoChannelSyncCreate = {
...baseCorrectParams,
videoChannelId: 42

View File

@ -75,13 +75,13 @@ export function setupUploadResumableRoutes (options: {
...uploadInitBeforeMiddlewares,
resumableInitValidator,
...uploadInitAfterMiddlewares,
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitely tell to uploadx it's the end
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitly tell to uploadx it's the end
)
router.delete(routePath,
authenticate,
...uploadDeleteMiddlewares,
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitely tell to uploadx it's the end
(req, res) => uploadx.upload(req, res) // Prevent next() call, explicitly tell to uploadx it's the end
)
router.put(routePath,

View File

@ -227,7 +227,7 @@ async function buildYoutubeDLImport (options: {
})
await sequelizeTypescript.transaction(async transaction => {
// Priority to explicitely set description
// Priority to explicitly set description
if (importDataOverride?.description) {
const inserted = await replaceChaptersFromDescriptionIfNeeded({ newDescription: importDataOverride.description, video, transaction })
if (inserted) return