mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-02-02 01:41:02 +03:00
Synapse Admin i18n menu
This commit is contained in:
@@ -215,15 +215,21 @@ matrix_synapse_admin_config_corsCredentials: "same-origin" # noqa var-naming
|
||||
|
||||
# Controls the menu configuration setting, which, if defined, adds new menu items to the Synapse Admin UI.
|
||||
# The format is a list of objects, where each object has the following keys:
|
||||
# - `label` (string): The label of the menu item.
|
||||
# - `icon` (string): The icon of the menu item, one of the https://github.com/etkecc/synapse-admin/blob/main/src/components/icons.ts
|
||||
# - `url` (string): The URL of the menu item.
|
||||
# - `label` (string, required): The label of the menu item.
|
||||
# - `i18n` (dict, optional): Dictionary of translations for the label. The keys should be BCP 47 language tags (e.g., en, fr, de) supported by Synapse Admin (see src/i18n).
|
||||
# - `icon` (string, optional): The icon of the menu item, one of the https://github.com/etkecc/synapse-admin/blob/main/src/components/icons.ts
|
||||
# - `url` (string, required): The URL of the menu item.
|
||||
# Example:
|
||||
# [
|
||||
# {
|
||||
# "label": "Contact support",
|
||||
# "i18n": {
|
||||
# "de": "Support kontaktieren",
|
||||
# "fr": "Contacter le support",
|
||||
# "zh": "联系支持"
|
||||
# },
|
||||
# "icon": "SupportAgent",
|
||||
# "url": "https://github.com/spantaleev/matrix-docker-ansible-deploy/issues"
|
||||
# "url": "https://github.com/etkecc/synapse-admin/issues"
|
||||
# }
|
||||
# ]
|
||||
matrix_synapse_admin_config_menu: []
|
||||
|
||||
Reference in New Issue
Block a user