Notifications - some translations from Stefan Unverricht

This commit is contained in:
nathangray 2018-01-23 14:07:27 -07:00
parent 886655597c
commit 7c118f6d4f
4 changed files with 11 additions and 3 deletions

View File

@ -470,6 +470,8 @@ class notifications {
throw new Exception('Error: cannot send notifications. No valid messages supplied');
}
Api\Translation::add_app('notifications');
$available_chains = $this->get_available_chains('routing');
foreach ($this->receivers as $receiver) {

View File

@ -144,10 +144,10 @@
.text(egw.lang('yesterday'))
, $this_month = jQuery(document.createElement('div'))
.addClass('egwpopup_time_label')
.text('this month')
.text(egw.lang('this month'))
, $last_month = jQuery(document.createElement('div'))
.addClass('egwpopup_time_label')
.text('last month');
.text(egw.lang('last month'));
// reverse indexes to get the latest messages at the top
var indexes = Object.keys(notifymessages).reverse()
for(var index in indexes)
@ -545,7 +545,7 @@
$egwpopup_fw_notifications.addClass('egwpopup_notify');
$egwpopup_fw_notifications.text(counter);
$egwpopup_fw_notifications.append($popup_note);
$popup_note.text(egw.lang('You have '+counter+' unread notifications'));
$popup_note.text(egw.lang('You have %1 unread notifications', counter));
setTimeout(function (){$popup_note.remove();}, 5000);
}
else

View File

@ -56,6 +56,7 @@ mark all as read notifications de Alle als gelesen markieren
mark as read notifications de Als gelesen markieren
message from notifications de Nachricht von
minutes notifications de Minuten
more info notifications de Mehr Info
notification common de Benachrichtigung
notifier notifications de Benachrichtiger
notify me by notifications de Benachrichtige mich per
@ -87,6 +88,8 @@ subject dn: notifications de Serveradresse
the server certificate is not a valid trust center certificate! notifications de Das Zertifikat des Webservers ist nicht vertrauenswürdig!
this egroupware notification has been sent to you by mail because your notifications de Diese EGroupware Benachrichtigung wurde Ihnen per E-Mail zugestellt.
this egroupware notification has been sent to you by mail because your chosen notification-chain has been disabled by the administrator. please choose another notification-chain in your preferences! notifications de Diese EGroupware-Benachrichtigung wurde Ihnen per Mail zugesandt, da Ihre gewählte Benachrichtigungskette vom Administrator deaktiviert wurde. Bitte wählen Sie eine andere Benachrichtigungskette in Ihren Einstellungen!
this month notifications de diesen Monat
you have %1 unread notifications notifications de Sie haben %1 ungelesene Nachrichten
user: notifications de Benutzer:
warning notifications de Warnung
windows-popup and e-mail notifications de Windows-Popup und E-Mail

View File

@ -50,6 +50,7 @@ if set, embedded links get rendered special for external clients notifications e
info on load config file: create config file. notifications en Info on load config file: create config file.
issuer dn: notifications en Issuer DN:
java desktop notification app preferences en Java desktop notification app
last month notifications en Last month
linked entries: common en Linked entries:
login aborted, application exit? notifications en Login aborted, application exit?
login in egroupware: notifications en login in EGroupware:
@ -90,6 +91,8 @@ subject dn: notifications en Subject DN:
the server certificate is not a valid trust center certificate! notifications en The server certificate is not a valid trust center certificate!
this egroupware notification has been sent to you by mail because your notifications en This EGroupware notification has been sent to you by mail because your
this egroupware notification has been sent to you by mail because your chosen notification-chain has been disabled by the administrator. please choose another notification-chain in your preferences! notifications en This EGroupware notification has been sent to you by mail because your chosen notification chain has been disabled by the administrator. Please choose another notification chain in your preferences!
this month notifications en This month
you have %1 unread notifications notifications en You have %1 unread notifications
user: notifications en User:
warning notifications en Warning
windows-popup and e-mail notifications en Windows popup and email