Procházet zdrojové kódy

Synapse Admin i18n menu

pull/4886/head
Aine před 1 měsícem
rodič
revize
5bbb1930cb
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 34969C908CCA2804
1 změnil soubory, kde provedl 10 přidání a 4 odebrání
  1. +10
    -4
      roles/custom/matrix-synapse-admin/defaults/main.yml

+ 10
- 4
roles/custom/matrix-synapse-admin/defaults/main.yml Zobrazit soubor

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


Načítá se…
Zrušit
Uložit