瀏覽代碼

Synapse Admin i18n menu

pull/4886/head
Aine 1 月之前
父節點
當前提交
5bbb1930cb
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 34969C908CCA2804
共有 1 個文件被更改,包括 10 次插入4 次删除
  1. +10
    -4
      roles/custom/matrix-synapse-admin/defaults/main.yml

+ 10
- 4
roles/custom/matrix-synapse-admin/defaults/main.yml 查看文件

@@ -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: []


Loading…
取消
儲存