Navigation Menu

Skip to content

Commit

Permalink
(i18n) Add missing localized strings
Browse files Browse the repository at this point in the history
Fixes #4658
  • Loading branch information
cgx committed Feb 27, 2019
1 parent e456e47 commit deb10f1
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions UI/AdministrationUI/English.lproj/Localizable.strings
Expand Up @@ -10,6 +10,7 @@
/* Modules descriptions */
"ACLs_description" = "<p>The Access Control Lists administration module allows to change the ACLs of each user's Calendars and Address books.</p><p>To modify the ACLs of a user's folder, type the name of the user in the search field at the top of the window and double-click on the desired folder.</p>";
"Name or Email" = "Name or Email";
"ACLs saved" = "ACLs saved";
/* Rights module: initial search message */
"Start a search to edit the rights" = "Start a search to edit the rights";
/* Rights module: Empty search result */
Expand Down
9 changes: 9 additions & 0 deletions UI/Common/English.lproj/Localizable.strings
Expand Up @@ -143,11 +143,20 @@
/* Error message displayed when a file upload exceeds WOMaxUploadSize */
"File size upload limit reached" = "File size upload limit reached";

/* Generic server error */
"An error occured, please try again." = "An error occured, please try again.";

/* Open datepicker */
"Open Calendar" = "Open Calendar";

/* Toggle visibility (ex: mail account in left navigation menu) */
"Toggle visibility" = "Toggle visibility";

"Keyboard Shortcuts" = "Keyboard Shortcuts";

/* Aria label for avatar button to select and unselect an item */
"Toggle item" = "Toggle item";

/* Toggle multiple items at the same time (hotkeys cheatsheet) */
"Toggle range of items" = "Toggle range of items";

Expand Down
1 change: 1 addition & 0 deletions UI/MainUI/English.lproj/Localizable.strings
Expand Up @@ -16,6 +16,7 @@
"Authentication Failed" = "Authentication Failed";
"Wrong username or password." = "Wrong username or password.";
"Retry" = "Retry";
"Login failed due to unhandled error case:" = "Login failed due to unhandled error case:";
"cookiesNotEnabled" = "You cannot login because your browser's cookies are disabled. Please enable cookies in your browser's settings and try again.";
"browserNotCompatible" = "We've detected that your browser version is currently not supported on this site. Our recommendation is to use Firefox. Click on the link below to download the most current version of this browser.";
"alternativeBrowsers" = "Alternatively, you can also use the following compatible browsers";
Expand Down
1 change: 1 addition & 0 deletions UI/PreferencesUI/English.lproj/Localizable.strings
Expand Up @@ -219,6 +219,7 @@
"When composing a message" = "When composing a message";
"Digitally sign the message by default" = "Digitally sign the message by default";
"Always try to encrypt the message" = "Always try to encrypt the message";
"An error occurred while importing the certificate. Verify your password." = "An error occurred while importing the certificate. Verify your password.";

/* Additional Parameters */
"Additional Parameters" = "Additional Parameters";
Expand Down
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Common/Acl.service.js
Expand Up @@ -100,7 +100,7 @@
_this.users.push(user);
deferred.resolve(user);
}, function(data, status) {
deferred.reject(l('An error occured please try again.'));
deferred.reject(l('An error occured, please try again.'));
});
}
return deferred.promise;
Expand Down
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Common/AclController.js
Expand Up @@ -57,7 +57,7 @@
folder.$acl.$saveUsersRights().then(function() {
$mdDialog.hide();
}, function(data, status) {
Dialog.alert(l('Warning'), l('An error occured please try again.'));
Dialog.alert(l('Warning'), l('An error occured, please try again.'));
});
}

Expand Down
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Mailer/Account.service.js
Expand Up @@ -402,7 +402,7 @@
_this.delegates.push(user);
deferred.resolve(_this.users);
}, function(data, status) {
deferred.reject(l('An error occured please try again.'));
deferred.reject(l('An error occured, please try again.'));
});
}
return deferred.promise;
Expand Down
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Mailer/MailboxesController.js
Expand Up @@ -249,7 +249,7 @@

function removeUser(user) {
account.$removeDelegate(user.uid).catch(function(data, status) {
Dialog.alert(l('Warning'), l('An error occured please try again.'));
Dialog.alert(l('Warning'), l('An error occured, please try again.'));
});
}

Expand Down
Expand Up @@ -140,7 +140,7 @@
_this.$mdDateLocaleProvider.weekNumberFormatter = function(weekNumber) {
return l('Week %d', weekNumber);
};
_this.$mdDateLocaleProvider.msgCalendar = l('Calender');
_this.$mdDateLocaleProvider.msgCalendar = l('Calendar');
_this.$mdDateLocaleProvider.msgOpenCalendar = l('Open Calendar');
_this.$mdDateLocaleProvider.parseDate = function(dateString) {
return dateString? dateString.parseDate(_this.$mdDateLocaleProvider, _this.defaults.SOGoShortDateFormat) : new Date(NaN);
Expand Down
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Scheduler/Calendar.service.js
Expand Up @@ -536,7 +536,7 @@
}, function(response) {
if (response.status == 401) {
// Authentication failed
d.reject(l('Wrong username or password'));
d.reject(l('Wrong username or password.'));
}
else {
d.reject(response.statusText);
Expand Down

0 comments on commit deb10f1

Please sign in to comment.