diff options
Diffstat (limited to 'support/doc/plugins')
-rw-r--r-- | support/doc/plugins/guide.md | 4 |
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 | ||
1035 | The key should be one of the locales defined in [i18n.ts](https://github.com/Chocobozzz/PeerTube/blob/develop/packages/models/i18n/i18n.ts). | 1035 | The 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 | ||
1037 | Translation files are just objects, with the english sentence as the key and the translation as the value. | 1037 | Translation 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: |