From 3095eb3b4f2e0e4b93acaa785b586066a79307b2 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Sat, 7 Dec 2024 08:02:11 +0100 Subject: [PATCH] feat: feat: Configure Chat Application added in Topbar - Meeds-io/MIPs#159 This change will add more information about Chat application added in topbar in order to allow displaying those information inside a Table in General Settings UI. --- crowdin.yml | 18 ++++++++++++++++++ .../portlet/GeneralSettings_en.properties | 2 ++ .../conf/chat/container-configuration.xml | 12 ++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 extension/src/main/resources/locale/portlet/GeneralSettings_en.properties diff --git a/crowdin.yml b/crowdin.yml index 2a1111dbfc..3e12841a56 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -69,4 +69,22 @@ files: [ "escape_special_characters": 0, "escape_quotes" : 0, }, + { + "source" : "/extension/src/main/resources/locale/portlet/GeneralSettings_en.properties", + + "translation" : "%original_path%/%file_name%!_%locale_with_underscore%.%file_extension%", + "translation_replace" : { + "_en!": "","ar_SA": "ar","ar_OM": "aro","az_AZ": "az","ca_ES": "ca","ceb_PH": "ceb", + "co_FR": "co","cs_CZ": "cs","de_DE": "de","el_GR": "el","en_US": "en","es_ES": "es_ES","eu_ES": "eu","fa_IR": "fa", + "fi_FI": "fi","fil_PH": "fil","fr_FR": "fr","hi_IN": "hi","hu_HU": "hu","id_ID": "id","it_IT": "it","ja_JP": "ja", + "kab_KAB": "kab","ko_KR": "ko","lt_LT": "lt","ms_MY": "ms","nl_NL": "nl","no_NO": "no","pcm_NG": "pcm","pl_PL": "pl", + "pt_BR": "pt_BR","pt_PT": "pt_PT","ro_RO": "ro","ru_RU": "ru","sk_SK": "sk","sl_SI": "sl","sq_AL": "sq", + "sv_SE": "sv_SE","th_TH": "th","tl_PH": "tl","tr_TR": "tr","uk_UA": "uk","ur_IN": "ur_IN","vi_VN": "vi", + "zh_CN": "zh_CN","zh_TW": "zh_TW", + }, + "dest" : "add__ons/chat__application/GeneralSettings.properties", + "update_option" : "update_as_unapproved", + "escape_special_characters": 0, + "escape_quotes" : 0, + }, ] diff --git a/extension/src/main/resources/locale/portlet/GeneralSettings_en.properties b/extension/src/main/resources/locale/portlet/GeneralSettings_en.properties new file mode 100644 index 0000000000..585afb8077 --- /dev/null +++ b/extension/src/main/resources/locale/portlet/GeneralSettings_en.properties @@ -0,0 +1,2 @@ +generalSettings.chat.name=Chat +generalSettings.chat.description=Chat application diff --git a/extension/src/main/webapp/WEB-INF/conf/chat/container-configuration.xml b/extension/src/main/webapp/WEB-INF/conf/chat/container-configuration.xml index dd22915b23..3f4861ef02 100644 --- a/extension/src/main/webapp/WEB-INF/conf/chat/container-configuration.xml +++ b/extension/src/main/webapp/WEB-INF/conf/chat/container-configuration.xml @@ -74,6 +74,18 @@ ChatButtonApplication Chat button portlet + + exo-chat + + + generalSettings.chat.name + + + generalSettings.chat.description + + + fa-comments +