(i18n) Add missing localized strings

Fixes #4658
pull/249/head
Francis Lachapelle 2019-02-27 09:51:43 -05:00
parent e456e47147
commit deb10f1f7e
10 changed files with 18 additions and 6 deletions

View File

@ -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 */

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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;

View File

@ -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.'));
});
}

View File

@ -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;

View File

@ -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.'));
});
}

View File

@ -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);

View File

@ -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);