Bad english corrections.

This commit is contained in:
John Livingston 2024-07-10 11:55:54 +02:00
parent d5c0c474b3
commit 2f98dfa538
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
47 changed files with 53 additions and 53 deletions

View File

@ -759,7 +759,7 @@ Moreover, they don't seem to be used much.
### Features
* Builtin prosody use a working dir provided by Peertube (needs Peertube >= 3.2.0)
* Starting with Peertube 3.2.0, builtin prosody save room history on server. So when a user connects, he can get previously send messages.
* Starting with Peertube 3.2.0, builtin prosody save room history on server. So when a user connects, they can get previously send messages.
* Starting with Peertube 3.2.0, builtin prosody also activate mod_muc_moderation, enabling moderators to moderate messages.
* Prosody log level will be the same as the Peertube's one.
* Prosody log rotation every 24 hour.
@ -796,7 +796,7 @@ Moreover, they don't seem to be used much.
## v2.1.3
* Fix: 2.1.0 was in fact correct... Did not work on my preprod env because of... a Livebox bug...
* Fix: if the video owner is already owner of the chatroom, he should not be downgraded to admin.
* Fix: if the video owner is already owner of the chatroom, they should not be downgraded to admin.
## v2.1.2

View File

@ -171,7 +171,7 @@ async function generateAvatars (part) {
async function generateBotsAvatars () {
{
// Moderation bot avatar: choosing some parts, and turning it so he is facing left.
// Moderation bot avatar: choosing some parts, and turning it so it is facing left.
const inputDir = path.join('./assets/images/avatars/', 'sepia')
const botOutputDir = './dist/server/bot_avatars/sepia/'
fs.mkdirSync(botOutputDir, { recursive: true })
@ -196,7 +196,7 @@ async function generateBotsAvatars () {
}
{
// Moderation bot avatar: choosing some parts, and turning it so he is facing left.
// Moderation bot avatar: choosing some parts, and turning it so it is facing left.
const inputDir = path.join('./assets/images/avatars/', 'cat')
const botOutputDir = './dist/server/bot_avatars/cat/'
fs.mkdirSync(botOutputDir, { recursive: true })
@ -220,7 +220,7 @@ async function generateBotsAvatars () {
}
{
// Moderation bot avatar: choosing some parts, and turning it so he is facing left.
// Moderation bot avatar: choosing some parts, and turning it so it is facing left.
const inputDir = path.join('./assets/images/avatars/', 'bird')
const botOutputDir = './dist/server/bot_avatars/bird/'
fs.mkdirSync(botOutputDir, { recursive: true })
@ -246,7 +246,7 @@ async function generateBotsAvatars () {
}
{
// Moderation bot avatar: choosing some parts, and turning it so he is facing left.
// Moderation bot avatar: choosing some parts, and turning it so it is facing left.
const inputDir = './assets/images/avatars/fenec'
const botOutputDir = './dist/server/bot_avatars/fenec/'
fs.mkdirSync(botOutputDir, { recursive: true })
@ -273,7 +273,7 @@ async function generateBotsAvatars () {
}
{
// Moderation bot avatar: choosing some parts, and turning it so he is facing left.
// Moderation bot avatar: choosing some parts, and turning it so it is facing left.
const inputDir = './assets/images/avatars/abstract'
const botOutputDir = './dist/server/bot_avatars/abstract/'
fs.mkdirSync(botOutputDir, { recursive: true })

View File

@ -243,7 +243,7 @@ prosody_peertube_uri_description: |
prosody_muc_log_by_default_label: "Log rooms content by default"
prosody_muc_log_by_default_description: |
If checked, room contents will be saved by default.
Any user who joins a room will see what was written before he joins.<br>
Any user who joins a room will see what was written before they joins.<br>
Please note that it is always possible to enable/disable the content
archiving for a specific room, by editing its properties.

View File

@ -329,7 +329,7 @@ module:hook("muc-room-destroyed", function(event)
end);
-- When a user lose its admin/owner affilation, and is still subscribed to the node,
-- we must unsubscribe him.
-- we must unsubscribe them.
module:hook("muc-set-affiliation", function(event)
local previous_affiliation = event.previous_affiliation;
local new_affiliation = event.affiliation;
@ -374,7 +374,7 @@ module:hook("muc-occupant-left", function (event)
module:log(
"debug",
"Occupant %q has left room %q, we must unsubscribe him/her for pubsub nodes.",
"Occupant %q has left room %q, we must unsubscribe them for pubsub nodes.",
occupant.bare_jid, room_jid
);
for node in pairs(service.nodes) do

View File

@ -28,7 +28,7 @@ const got = require('got')
* - server B: server that follows ours (or used to watch V, without following A)
* - user from B connect to the B XMPP server
* - server B has server A connection informations (got it using ActivityPub)
* - but, when using Websocket S2S, server A needs information from B, that he never receives
* - but, when using Websocket S2S, server A needs information from B, that it never receives
*
* Indeed, the XMPP S2S dialback mecanism will try to connect back to
* server A, and transmit a secret key, to ensure that all incomming connection

View File

@ -41,7 +41,7 @@ function getCheckConfigurationChannelMiddleware (options: RegisterServerOptions)
} else if (await isUserAdminOrModerator(options, res)) {
logger.debug('Current user is an instance moderator or admin')
} else {
logger.warn('Current user tries to access a channel for which he has no right.')
logger.warn('Current user tries to access a channel for which they has no right.')
res.sendStatus(403)
return
}

View File

@ -57,7 +57,7 @@ let singleton: LivechatProsodyAuth | undefined
*
* The livechat tokens password are encrypted in data files.
* The associated secret key is in the database.
* This is to ensure an additional security level: if an attacker has access to file system, he also must have access
* This is to ensure an additional security level: if an attacker has access to file system, they also must have access
* to DB to get the secret key and decrypt passwords.
*/
export class LivechatProsodyAuth {

View File

@ -85,7 +85,7 @@ async function getProsodyFilePaths (options: RegisterServerOptions): Promise<Pro
if (!(await fs.promises.stat(settings['prosody-certificates-dir'] as string)).isDirectory()) {
// We can throw an exception here...
// Because if the user input a wrong directory, the plugin will not register,
// and he will never be able to fix the conf
// and they will never be able to fix the conf.
logger.error('Certificate directory does not exist or is not a directory')
certsDir = undefined
} else {

View File

@ -415,7 +415,7 @@ class ProsodyConfigContent {
// Using direct S2S for outgoing connection can be an issue, if the local instance dont allow incomming S2S.
// Indeed, the remote instance will not necessarely be able to discover the Websocket Endpoint.
// To be sure the remote instance knows the websocket endpoint, we must use Websocket for the firt outgoing connect.
// So, we will add a parameter for mod_s2s_peertubelivechat, to tell him not to use outgoint s2s connection.
// So, we will add a parameter for mod_s2s_peertubelivechat, to tell them not to use outgoin s2s connection.
this.global.set('s2s_peertubelivechat_no_outgoing_directs2s_to_peertube', s2sPort === null)
this.muc.add('modules_enabled', 'dialback') // This allows s2s connections without certicicates!

View File

@ -20,7 +20,7 @@ async function initPromoteApiRouter (options: RegisterServerOptions, router: Rou
const user = await options.peertubeHelpers.user.getAuthUser(res)
if (!user || !await isUserAdminOrModerator(options, res)) {
logger.warn('Current user tries to access the promote API for which he has no right.')
logger.warn('Current user tries to access the promote API for which they has no right.')
res.sendStatus(403)
return
}

View File

@ -27,7 +27,7 @@ You can access room settings and moderation tools using the [chat dropdown menu]
{{% notice tip %}}
The video owner will be owner of the chat room.
This means he can configure the room, delete it, promote other users as admins, ...
This means they can configure the room, delete it, promote other users as admins, ...
{{% /notice %}}
{{% notice tip %}}

View File

@ -15,7 +15,7 @@ The `mod_muc_peertubelivechat_terms` prosody modules handles the terms configura
It has a configuration option for the global terms.
It also adds muc terms in the room data.
When a new occupant session is opened, this modules sends him messages containing the global and muc terms (if set).
When a new occupant session is opened, this modules sends them messages containing the global and muc terms (if set).
Here is an example of sent messages:

View File

@ -3245,7 +3245,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3650,7 +3650,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
#, markdown-text
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3276,7 +3276,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3342,7 +3342,7 @@ msgstr "Vous pouvez accéder aux paramètres de la salle et aux outils de modér
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr "Le⋅a propriétaire de la vidéo sera le⋅a propriétaire du salon de discussion. Cela signifie qu'iel peut configurer le salon, le supprimer, promouvoir d'autres utilisateur⋅rices en tant qu'administrateur⋅rices, ..."
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3249,7 +3249,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3333,7 +3333,7 @@ msgstr "PeerTube ライブチャットプラグイン"
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3218,7 +3218,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text

View File

@ -3237,7 +3237,7 @@ msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/user/streamers/moderation.md
msgid "The video owner will be owner of the chat room. This means he can configure the room, delete it, promote other users as admins, ..."
msgid "The video owner will be owner of the chat room. This means they can configure the room, delete it, promote other users as admins, ..."
msgstr ""
#. type: Plain text