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:
parent
b45fbf4337
commit
d6e4dac032
223 changed files with 9859 additions and 1426 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue