aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/plugins
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-17 09:46:24 +0200
committerChocobozzz <me@florianbigard.com>2023-08-17 09:46:24 +0200
commitcb78deba475773d208ae0ff32107fc5dd3dde11f (patch)
tree490ae4ea608efe59002c310d4c731002d637ffea /support/doc/plugins
parent0632cdda04cdc3672de9a71b16c67267e420953f (diff)
downloadPeerTube-cb78deba475773d208ae0ff32107fc5dd3dde11f.tar.gz
PeerTube-cb78deba475773d208ae0ff32107fc5dd3dde11f.tar.zst
PeerTube-cb78deba475773d208ae0ff32107fc5dd3dde11f.zip
Fix broken links
Diffstat (limited to 'support/doc/plugins')
-rw-r--r--support/doc/plugins/guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 07f484934..147c5fcaf 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -387,7 +387,7 @@ function register (...) {
387 displayName: 'User display name', 387 displayName: 'User display name',
388 388
389 // Custom admin flags (bypass video auto moderation etc.) 389 // Custom admin flags (bypass video auto moderation etc.)
390 // https://github.com/Chocobozzz/PeerTube/blob/develop/packages/models/users/user-flag.model.ts 390 // https://github.com/Chocobozzz/PeerTube/blob/develop/packages/models/src/users/user-flag.model.ts
391 // PeerTube >= 5.1 391 // PeerTube >= 5.1
392 adminFlags: 0, 392 adminFlags: 0,
393 // Quota in bytes 393 // Quota in bytes
@@ -1032,7 +1032,7 @@ If you want to translate strings of your plugin (like labels of your registered
1032} 1032}
1033``` 1033```
1034 1034
1035The key should be one of the locales defined in [i18n.ts](https://github.com/Chocobozzz/PeerTube/blob/develop/packages/models/i18n/i18n.ts). 1035The key should be one of the locales defined in [i18n.ts](https://github.com/Chocobozzz/PeerTube/blob/develop/packages/core-utils/src/i18n/i18n.ts).
1036 1036
1037Translation files are just objects, with the english sentence as the key and the translation as the value. 1037Translation files are just objects, with the english sentence as the key and the translation as the value.
1038`fr.json` could contain for example: 1038`fr.json` could contain for example: