diff options
Diffstat (limited to 'web/app/view/ReportController.js')
-rw-r--r-- | web/app/view/ReportController.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/ReportController.js b/web/app/view/ReportController.js index 775394d0..46543ba1 100644 --- a/web/app/view/ReportController.js +++ b/web/app/view/ReportController.js @@ -272,8 +272,7 @@ Ext.define('Traccar.view.ReportController', { text: Strings.sharedType, dataIndex: 'type', renderer: function (value) { - var typeKey = 'event' + value.charAt(0).toUpperCase() + value.slice(1); - return Strings[typeKey]; + return Traccar.app.getEventString(value); } }, { text: Strings.sharedGeofence, |