mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
(fix) more defaults values in the prefs
This commit is contained in:
committed by
Francis Lachapelle
parent
7168779684
commit
f262347149
@@ -66,6 +66,12 @@
|
||||
if (![[defaults source] objectForKey: @"SOGoLongDateFormat"])
|
||||
[[defaults source] setObject: @"default" forKey: @"SOGoLongDateFormat"];
|
||||
|
||||
if (![[defaults source] objectForKey: @"SOGoFirstWeekOfYear"])
|
||||
[[defaults source] setObject: [defaults firstWeekOfYear] forKey: @"SOGoFirstWeekOfYear"];
|
||||
|
||||
if (![[defaults source] objectForKey: @"SOGoSelectedAddressBook"])
|
||||
[[defaults source] setObject: @"personal" forKey: @"SOGoSelectedAddressBook"];
|
||||
|
||||
// Populate default calendar categories, based on the user's preferred language
|
||||
if (![defaults calendarCategories])
|
||||
{
|
||||
|
||||
@@ -318,7 +318,7 @@
|
||||
<div>
|
||||
<md-select ng-model="preferences.defaults.SOGoFirstWeekOfYear">
|
||||
<var:foreach list="firstWeekList" item="item">
|
||||
<md-option var:ng-value="item">
|
||||
<md-option var:value="item">
|
||||
<var:string value="itemFirstWeekText"/>
|
||||
</md-option>
|
||||
</var:foreach>
|
||||
|
||||
Reference in New Issue
Block a user