Skip to content

Commit ae50fe8

Browse files
author
Magnus Berntsson
committed
Moved strings to translation file.
1 parent 0f476d6 commit ae50fe8

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

src/app/code/community/FireGento/AdminMonitoring/Helper/Data.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ public function statusIdToName($id)
6060
{
6161
switch ($id) {
6262
case self::STATUS_SUCCESS:
63-
return "Success";
63+
return $this->__("Success");
6464
case self::STATUS_FAILURE:
65-
return "Fail";
65+
return $this->__("Fail");
6666
}
6767
}
6868

@@ -76,13 +76,13 @@ public function actionIdToName($id)
7676
{
7777
switch ($id) {
7878
case self::ACTION_INSERT:
79-
return "Insert";
79+
return $this->__("Insert");
8080
case self::ACTION_UPDATE:
81-
return "Update";
81+
return $this->__("Update");
8282
case self::ACTION_DELETE:
83-
return "Delete";
83+
return $this->__("Delete");
8484
case self::ACTION_LOGIN:
85-
return "Login";
85+
return $this->__("Login");
8686
}
8787
}
8888

src/app/locale/de_DE/FireGento_AdminMonitoring.csv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@
3131
"Exclude admin users","Admin-Benutzer ausschließen"
3232
"No admin user","Kein Admin-Benutzer"
3333
"The logging will be disabled for the admin users selected in this config setting.","Das Logging wird für die ausgewählten Benutzer in dieser Einstellung deaktiviert."
34+
"Insert","Insert"
35+
"Update","Update"
36+
"Delete","Delete"
37+
"Login","Login"
38+
"Success","Success"
39+
"Fail","Fail"

0 commit comments

Comments
 (0)