5a455fff93
* Prosody mod_muc_peertubelivechat_roles module * Fix ConverseJS to disable the message field when room is unmoderated and user is visitor * Mute/voice anonymous users when changing room configuration. * Display a specific message to muted anonymous users. * Default value for mute_anonymous in channel options. * Feature documentation
42 lines
1.2 KiB
JavaScript
42 lines
1.2 KiB
JavaScript
// SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
/** Localization keys to inject in ConverseJS:
|
|
* these keys are used to:
|
|
* - inject needed localization strings in ConverseJS language files
|
|
* - defined global variable using Webpack, to retrieve the english key to pass to the ConverseJS localization function
|
|
*/
|
|
const locKeys = [
|
|
'slow_mode_info',
|
|
'login_using_external_account',
|
|
'login_remote_peertube',
|
|
'login_remote_peertube_searching',
|
|
'login_remote_peertube_url',
|
|
'login_remote_peertube_url_invalid',
|
|
'login_remote_peertube_no_livechat',
|
|
'login_remote_peertube_video_not_found',
|
|
'login_remote_peertube_video_not_found_try_anyway',
|
|
'login_remote_peertube_video_not_found_try_anyway_button',
|
|
'login_remote_peertube_video_open_failed',
|
|
'login_external_auth_alert_message',
|
|
'online_help',
|
|
'tasks',
|
|
'task_list_create',
|
|
'task_list_create_error',
|
|
'task_list_name',
|
|
'task_list_delete',
|
|
'task_list_delete_confirm',
|
|
'task_create',
|
|
'task_name',
|
|
'task_description',
|
|
'task_delete',
|
|
'task_delete_confirm',
|
|
'task_list_pick_title',
|
|
'task_list_pick_empty',
|
|
'task_list_pick_message',
|
|
'muted_anonymous_message'
|
|
]
|
|
|
|
module.exports = locKeys
|