1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Add email translations

Convert emails from Pug template to Handlebars because i18next doesn't
support Pug
This commit is contained in:
Chocobozzz 2025-07-18 11:04:30 +02:00
parent b45fbf4337
commit d6e4dac032
No known key found for this signature in database
GPG key ID: 583A612D890159BE
223 changed files with 9859 additions and 1426 deletions

View file

@ -48,7 +48,7 @@ import { CONFIG, registerConfigChangedHandler } from './config.js'
// ---------------------------------------------------------------------------
export const LAST_MIGRATION_VERSION = 905
export const LAST_MIGRATION_VERSION = 910
// ---------------------------------------------------------------------------
@ -1119,6 +1119,9 @@ export const REDUNDANCY = {
}
export const ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENTIAL_ACCEPT_HEADERS)
export const LANGUAGE_COOKIE_NAME = 'clientLanguage'
export const LANGUAGE_HEADER = 'x-peertube-language'
export const OTP = {
HEADER_NAME: 'x-peertube-otp',
HEADER_REQUIRED_VALUE: 'required; app'
@ -1129,6 +1132,8 @@ export const ASSETS_PATH = {
DEFAULT_LIVE_BACKGROUND: join(root(), 'dist', 'core', 'assets', 'default-live-background.jpg')
}
export const SERVER_INTERNAL_LOCALES_BASE_PATH = join(root(), 'dist', 'locales')
// ---------------------------------------------------------------------------
export const CUSTOM_HTML_TAG_COMMENTS = {