diff --git a/layouts/v7/modules/Calendar/resources/Calendar.js b/layouts/v7/modules/Calendar/resources/Calendar.js index 83175bb3a0baf8e98c60701edc8ad7530b015ba5..b04334ac2e7b76b2b6a2078352f8f999bddbd70c 100644 --- a/layouts/v7/modules/Calendar/resources/Calendar.js +++ b/layouts/v7/modules/Calendar/resources/Calendar.js @@ -557,6 +557,8 @@ Vtiger.Class("Calendar_Calendar_Js", { var feedIndicatorTemplate = jQuery('#calendarview-feeds').find('ul.dummy > li.feed-indicator-template'); feedIndicatorTemplate.removeClass('.feed-indicator-template'); var newFeedIndicator = feedIndicatorTemplate.clone(true, true); + //replacing module name prefix with translated module name and concatinating with field name + feedIndicatorTitle = translatedModuleName + feedIndicatorTitle.substr(feedIndicatorTitle.indexOf('-')); newFeedIndicator.find('span:first').text(feedIndicatorTitle); var newFeedCheckbox = newFeedIndicator.find('.toggleCalendarFeed'); newFeedCheckbox.attr('data-calendar-sourcekey', calendarSourceKey). @@ -1989,4 +1991,4 @@ Vtiger.Class("Calendar_Calendar_Js", { this.initializeWidgets(); this.registerPostQuickCreateSaveEvent(); } -}); \ No newline at end of file +});