(html) Improve Preferences template

pull/186/head
Francis Lachapelle 2015-12-07 11:08:39 -05:00
parent ecf297208a
commit 04e0286992
3 changed files with 81 additions and 43 deletions

View File

@ -18,8 +18,10 @@
"Color" = "Color";
"Add" = "Add";
"Delete" = "Delete";
/* contacts categories */
"contacts_category_labels" = "Colleague, Competitor, Customer, Friend, Family, Business Partner, Provider, Press, VIP";
/* vacation (auto-reply) */
"Enable vacation auto reply" = "Enable vacation auto reply";
"Auto reply message" = "Auto reply message";
@ -34,6 +36,7 @@
"Your vacation message must not end with a single dot on a line." = "Your vacation message must not end with a single dot on a line.";
"End date of your auto reply must be in the future."
= "End date of your auto reply must be in the future.";
/* forward messages */
"Forward incoming messages" = "Forward incoming messages";
"Keep a copy" = "Keep a copy";
@ -41,6 +44,7 @@
= "Please specify an address to which you want to forward your messages.";
"You are not allowed to forward your messages to an external email address." = "You are not allowed to forward your messages to an external email address.";
"You are not allowed to forward your messages to an internal email address." = "You are not allowed to forward your messages to an internal email address.";
/* d & t */
"Current Time Zone" = "Current Time Zone";
"Short Date Format" = "Short Date Format";
@ -82,6 +86,7 @@
"timeFmt_2" = "";
"timeFmt_3" = "";
"timeFmt_4" = "";
/* calendar */
"Week begins on" = "Week begins on";
"Day start time" = "Day start time";
@ -98,6 +103,7 @@
"Prevent from being invited to appointments" = "Prevent from being invited to appointments";
"White list for appointment invitations" = "White list for appointment invitations";
"Contacts Names" = "Contacts Names";
/* Default Calendar */
"Default calendar" = "Default calendar";
"selectedCalendar" = "Selected calendar";
@ -116,6 +122,7 @@
"reminder_1_DAY_BEFORE" = "1 day before";
"reminder_2_DAYS_BEFORE" = "2 days before";
"reminder_1_WEEK_BEFORE" = "1 week before";
/* Mailer */
"Labels" = "Labels";
"Label" = "Label";
@ -140,9 +147,11 @@
"displayremoteinlineimages_always" = "Always";
"Auto save every" = "Auto save every";
"minutes" = "minutes";
/* Contact */
"Personal Address Book" = "Personal Address Book";
"Collected Address Book" = "Collected Address Book";
/* IMAP Accounts */
"Mail Account" = "Mail Account";
"New Mail Account" = "New Mail Account";
@ -159,18 +168,22 @@
"Please enter your signature below" = "Please enter your signature below";
"Please specify a valid sender address." = "Please specify a valid sender address.";
"Please specify a valid reply-to address." = "Please specify a valid reply-to address.";
/* Additional Parameters */
"Additional Parameters" = "Additional Parameters";
/* password */
"New password" = "New password";
"Confirmation" = "Confirmation";
"Change" = "Change";
/* Event+task classifications */
"Default events classification" = "Default events classification";
"Default tasks classification" = "Default tasks classification";
"PUBLIC_item" = "Public";
"CONFIDENTIAL_item" = "Confidential";
"PRIVATE_item" = "Private";
/* Event+task categories */
"Calendar Category" = "Calendar Category";
"Add Calendar Category" = "Add Calendar Category";
@ -180,6 +193,7 @@
"Remove Contact Category" = "Remove Contact Category";
"category_none" = "None";
"calendar_category_labels" = "Anniversary,Birthday,Business,Calls,Clients,Competition,Customer,Favorites,Follow up,Gifts,Holidays,Ideas,Meeting,Issues,Miscellaneous,Personal,Projects,Public Holiday,Status,Suppliers,Travel,Vacation";
/* Default module */
"Calendar" = "Calendar";
"Contacts" = "Address Book";
@ -187,6 +201,7 @@
"Last" = "Last used";
"Default Module " = "Default Module";
"SOGo Version" = "SOGo Version";
/* Confirmation asked when changing the language */
"Save preferences and reload page now?" = "Save preferences and reload page now?";
"Language" = "Language";
@ -226,6 +241,7 @@
"refreshview_every_20_minutes" = "Every 20 minutes";
"refreshview_every_30_minutes" = "Every 30 minutes";
"refreshview_once_per_hour" = "Once per hour";
/* Return receipts */
"When I receive a request for a return receipt" = "When I receive a request for a return receipt";
"Never send a return receipt" = "Never send a return receipt";
@ -236,6 +252,7 @@
"Never send" = "Never send";
"Always send" = "Always send";
"Ask me" = "Ask me";
/* Filters - UIxPreferences */
"Filters" = "Filters";
"Active" = "Active";
@ -243,8 +260,13 @@
"Move Down" = "Move Down";
"Connection error" = "Connection error";
"Service temporarily unavailable" = "Service temporarily unavailable";
/* Filters - UIxFilterEditor */
"Filter name" = "Filter name";
/* Button label */
"Add a condition" = "Add a condition";
/* Button label */
"Add an action" = "Add an action";
"For incoming messages that" = "For incoming messages that";
"match all of the following rules" = "match all of the following rules";
"match any of the following rules" = "match any of the following rules";
@ -285,6 +307,7 @@
"Flagged" = "Flagged";
"Junk" = "Junk";
"Not Junk" = "Not Junk";
/* Password policy */
"The password was changed successfully." = "The password was changed successfully.";
"Password must not be empty." = "Password must not be empty.";
@ -313,6 +336,7 @@
"Account Name" = "Account Name";
"SSL" = "SSL";
"TLS" = "TLS";
/* Avatars */
"Alternate Avatar" = "Alternate Avatar";
"none" = "None";

View File

@ -90,6 +90,7 @@
</div>
<div layout="row" layout-align="end center">
<label class="button-label"><var:string label:value="Add a condition"/></label>
<md-button class="sg-icon-button" type="button"
ng-click="filterEditor.addMailFilterRule($event)">
<md-icon>add_circle</md-icon>
@ -163,6 +164,7 @@
</md-list>
<div layout="row" layout-align="end center">
<label class="button-label"><var:string label:value="Add an action"/></label>
<md-button class="sg-icon-button" type="button"
ng-click="filterEditor.addMailFilterAction($event)">
<md-icon>add_circle</md-icon>

View File

@ -89,7 +89,7 @@
<md-tab id="generalOptionsView" aria-controls="generalOptionsView-content" label:label="General">
<md-content layout="row"
aria-labelledby="generalOptionsView"
id="generalOptionsView-content" class="sg-padded">
id="generalOptionsView-content" class="md-padding">
<div layout="column" flex="100">
<md-input-container>
<label><var:string label:value="SOGo Version"/></label>
@ -205,7 +205,7 @@
<md-tab id="generalPasswordView"
aria-controls="generalPasswordView-content"
label:label="Password">
<md-content id="passwordView" class="sg-padded">
<md-content id="passwordView" class="md-padding">
<div layout="row">
<md-input-container>
<label><var:string label:value="New password"/>
@ -244,7 +244,7 @@
label:label="General">
<md-content layout="row" layout-align="center center"
aria-labelledby="calendarOptionsView"
class="sg-padded"
class="md-padding"
id="calendarOptionsView-content">
<div layout="column" flex="100">
<div layout="row">
@ -354,7 +354,7 @@
<md-tab id="calendarCategories"
aria-controls="calendarCategories-content"
label:label="Categories">
<md-content>
<md-content class="md-padding">
<div layout="column" flex="100">
<md-list layout="row" layout-wrap="layout-wrap">
<md-list-item flex="50" flex-sm="100"
@ -484,23 +484,27 @@
<!-- MAIL > GENERAL -->
<md-tab id="mailGeneralTab" aria-controls="mailGeneralTab-content" label:label="General">
<md-content role="tabpanel" aria-labelledby="mailGeneralView"
id="mailGeneralView-content" class="sg-padded">
id="mailGeneralView-content" class="md-padding">
<md-checkbox
ng-model="app.preferences.defaults.SOGoMailShowSubscribedFoldersOnly"
ng-true-value="1"
ng-false-value="0"
label:aria-label="Show subscribed mailboxes only">
<var:string label:value="Show subscribed mailboxes only"/>
</md-checkbox>
<div>
<md-checkbox
ng-model="app.preferences.defaults.SOGoMailShowSubscribedFoldersOnly"
ng-true-value="1"
ng-false-value="0"
label:aria-label="Show subscribed mailboxes only">
<var:string label:value="Show subscribed mailboxes only"/>
</md-checkbox>
</div>
<md-checkbox
ng-model="app.preferences.defaults.SOGoMailSortByThreads"
ng-true-value="1"
ng-false-value="0"
label:aria-label="Sort messages by threads">
<var:string label:value="Sort messages by threads"/>
</md-checkbox>
<div>
<md-checkbox
ng-model="app.preferences.defaults.SOGoMailSortByThreads"
ng-true-value="1"
ng-false-value="0"
label:aria-label="Sort messages by threads">
<var:string label:value="Sort messages by threads"/>
</md-checkbox>
</div>
<div layout="row" layout-align="space-around end">
<md-checkbox
@ -649,7 +653,7 @@
aria-controls="mailLabelsTab-content" label:label="Labels">
<md-content role="tabpanel" aria-labelledby="mailLabelsView"
id="mailLabelsView-content" class="sg-padded">
id="mailLabelsView-content" class="md-padding">
<md-list layout="row" layout-wrap="layout-wrap">
<md-list-item flex="50"
ng-repeat="(key, value) in
@ -685,7 +689,7 @@
aria-controls="mailAccountsTab-content"
label:label="IMAP Accounts">
<md-list class="sg-padded">
<md-list class="md-padding">
<md-list-item ng-repeat="item in
app.preferences.defaults.AuxiliaryMailAccounts
track by $index">
@ -731,7 +735,7 @@
<var:if condition="isVacationEnabled">
<md-tab id="mailVacationTab" aria-controls="mailVacationTab-content" label:label="Vacation">
<div role="tabpanel" aria-labelledby="mailVacationView"
id="mailVacationView-content" class="sg-padded">
id="mailVacationView-content" class="md-padding">
<md-checkbox
ng-model="app.preferences.defaults.Vacation.enabled"
@ -741,7 +745,7 @@
<var:string label:value="Enable vacation auto reply"/>
</md-checkbox>
<div ng-show="app.preferences.defaults.Vacation.enabled == 1">
<div flex-offset="5" ng-show="app.preferences.defaults.Vacation.enabled == 1">
<md-input-container>
<label><var:string label:value="Auto reply message"/></label>
<textarea const:name="autoReplyText"
@ -773,12 +777,14 @@
</md-select>
</md-input-container>
<md-checkbox
ng-model="app.preferences.defaults.Vacation.ignoreLists"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="Do not send responses to mailing lists" />
</md-checkbox>
<div>
<md-checkbox
ng-model="app.preferences.defaults.Vacation.ignoreLists"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="Do not send responses to mailing lists" />
</md-checkbox>
</div>
<div layout="row" layout-align="start center">
<md-checkbox
@ -792,12 +798,15 @@
ng-model="app.preferences.defaults.Vacation.endDate"><!-- datepicker --></md-datepicker>
</div>
<md-checkbox
ng-model="app.preferences.defaults.Vacation.alwaysSend"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="Always send vacation message response"/>
</md-checkbox>
<div>
<md-checkbox
ng-model="app.preferences.defaults.Vacation.alwaysSend"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="Always send vacation message response"/>
</md-checkbox>
</div>
</div>
</div>
</md-tab>
@ -808,7 +817,8 @@
<var:if condition="isForwardEnabled">
<md-tab id="mailForwardTab" aria-controls="mailForwardTab-content" label:label="Forward">
<div role="tabpanel" aria-labelledby="mailForwardView"
id="mailForwardView-content" class="sg-padded">
id="mailForwardView-content" class="md-padding">
<md-checkbox
ng-model="app.preferences.defaults.Forward.enabled"
ng-true-value="1"
@ -816,7 +826,7 @@
<var:string label:value="Forward incoming messages"/>
</md-checkbox>
<div ng-show="app.preferences.defaults.Forward.enabled == 1">
<div flex-offset="5" ng-show="app.preferences.defaults.Forward.enabled == 1">
<md-input-container>
<label><var:string label:value="Email addresses (separated by commas)"/></label>
<textarea const:name="forwardAddress"
@ -824,12 +834,14 @@
ng-model="app.preferences.defaults.Forward.forwardAddress" />
</md-input-container>
<md-checkbox
ng-model="app.preferences.defaults.Forward.keepCopy"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="Keep a copy" />
</md-checkbox>
<div>
<md-checkbox
ng-model="app.preferences.defaults.Forward.keepCopy"
ng-true-value="1"
ng-false-value="0">
<var:string label:value="Keep a copy" />
</md-checkbox>
</div>
</div>
</div>