Skip to content
Permalink
Browse files

Fix translation of dateformat in audit log

  • Loading branch information...
cornelinux committed Apr 8, 2019
1 parent d02ae88 commit c11c37b485a774cd0d9229778b0ab5652721db49
@@ -4535,6 +4535,10 @@ msgstr "Benutzername"
msgid "window"
msgstr "Fenster"

#: privacyidea/static/components/audit/controllers/auditControllers.js:33
msgid "yyyy-MM-dd HH:mm:ss"
msgstr "d.M.yy HH:mm:ss"

#: privacyidea/static/components/audit/views/audit.log.html:18
msgid "{{ auditdata.count }} entries found."
msgstr "Es wurden {{ auditdata.count }} Einträge gefunden."
@@ -4548,9 +4552,6 @@ msgstr "Es wurden {{ auditdata.count }} Einträge gefunden."
#~ msgid "Failed authentication requests per user"
#~ msgstr "Fehlgeschlagene Authentisierungen pro Benutzer"

#~ msgid "M/d/yy HH:mm:ss"
#~ msgstr "d.M.yy HH:mm:ss"

#~ msgid "Overall token usage"
#~ msgstr "Allgemeine Tokennutzung"

@@ -4023,6 +4023,10 @@ msgstr ""
msgid "window"
msgstr ""

#: privacyidea/static/components/audit/controllers/auditControllers.js:33
msgid "yyyy-MM-dd HH:mm:ss"
msgstr ""

#: privacyidea/static/components/audit/views/audit.log.html:18
msgid "{{ auditdata.count }} entries found."
msgstr ""
@@ -30,7 +30,8 @@ myApp.controller("auditController", function (AuditFactory, $scope,
page_size: 10,
page: 1};
$scope.instanceUrl = instanceUrl;
$scope.dateFormat = gettextCatalog.getString("M/d/yy HH:mm:ss");
var df = gettextCatalog.getString("yyyy-MM-dd HH:mm:ss");
$scope.dateFormat = df;

// If the state is called with some filter values
if ($stateParams.serial) {

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit c11c37b

Please sign in to comment.
You can’t perform that action at this time.