mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
1 parent
c3c9432cc2
commit
c17165d85d
1 file changed
+8
-3
@@ -1144,9 +1144,14 @@
|
||||
* @return a localized string
|
||||
*/
|
||||
Component.prototype.repeatDescription = function() {
|
||||
var localizedString = null;
|
||||
if (this.repeat)
|
||||
localizedString = l('repeat_' + this.repeat.frequency.toUpperCase());
|
||||
var localizedString = null,
|
||||
frequency;
|
||||
if (this.repeat) {
|
||||
frequency = this.repeat.frequency;
|
||||
if (frequency == 'weekly' && this.repeat.interval == 2)
|
||||
frequency = 'bi-weekly';
|
||||
localizedString = l('repeat_' + frequency.toUpperCase());
|
||||
}
|
||||
|
||||
return localizedString;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user