diff --git a/crowdin.yml b/crowdin.yml index 73011c726..1aec10a51 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -105,4 +105,22 @@ files: [ "escape_special_characters": 0, "escape_quotes" : 0, }, + { + "source" : "/kudos-webapps/src/main/resources/locale/portlet/LayoutEditor_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/kudos/LayoutEditor.properties", + "update_option" : "update_as_unapproved", + "escape_special_characters": 0, + "escape_quotes" : 0, + }, ] \ No newline at end of file diff --git a/kudos-services/src/main/resources/portlet-instances.json b/kudos-services/src/main/resources/portlet-instances.json new file mode 100644 index 000000000..aa0169504 --- /dev/null +++ b/kudos-services/src/main/resources/portlet-instances.json @@ -0,0 +1,20 @@ +{ + "descriptors":[ + { + "nameId":"KudosOverview", + "categoryNameId":"profile", + "portletName":"KudosOverview", + "names":{ + "en":"layout.portletInstance.KudosOverview.name" + }, + "descriptions":{ + "en":"layout.portletInstance.KudosOverview.description" + }, + "permissions":[ + "*:/platform/administrators", + "*:/platform/web-contributors" + ], + "system":true + } + ] +} \ No newline at end of file diff --git a/kudos-webapps/src/main/resources/locale/portlet/LayoutEditor_en.properties b/kudos-webapps/src/main/resources/locale/portlet/LayoutEditor_en.properties new file mode 100644 index 000000000..8592d4863 --- /dev/null +++ b/kudos-webapps/src/main/resources/locale/portlet/LayoutEditor_en.properties @@ -0,0 +1,2 @@ +layout.portletInstance.KudosOverview.name=Kudos Overview +layout.portletInstance.KudosOverview.description=List of received or sent kudos related to the user