aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app/view/SettingsMenuController.js2
-rw-r--r--web/app/view/UserDialog.js6
-rw-r--r--web/app/view/UserDialogController.js2
-rw-r--r--web/l10n/en.json2
4 files changed, 6 insertions, 6 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index 16813fa6..41867f61 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -63,7 +63,7 @@ Ext.define('Traccar.view.SettingsMenuController', {
onUserClick: function () {
var dialog = Ext.create('Traccar.view.UserDialog');
dialog.down('form').loadRecord(Traccar.app.getUser());
- dialog.lookupReference('testMailButton').setHidden(false);
+ dialog.lookupReference('testNotificationButton').setHidden(false);
dialog.show();
},
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index f0510880..5e4e00a8 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -208,10 +208,10 @@ Ext.define('Traccar.view.UserDialog', {
}, {
glyph: 'xf003@FontAwesome',
minWidth: 0,
- handler: 'testMail',
+ handler: 'testNotification',
hidden: true,
- reference: 'testMailButton',
- tooltip: Strings.sharedTestMail,
+ reference: 'testNotificationButton',
+ tooltip: Strings.sharedTestNotification,
tooltipType: 'title'
}, {
xtype: 'tbfill'
diff --git a/web/app/view/UserDialogController.js b/web/app/view/UserDialogController.js
index bfb934da..d187dec0 100644
--- a/web/app/view/UserDialogController.js
+++ b/web/app/view/UserDialogController.js
@@ -46,7 +46,7 @@ Ext.define('Traccar.view.UserDialogController', {
this.lookupReference('tokenField').setValue(newToken);
},
- testMail: function () {
+ testNotification: function () {
Ext.Ajax.request({
url: 'api/users/notifications/test',
method: 'POST',
diff --git a/web/l10n/en.json b/web/l10n/en.json
index cade5245..c6b9b2f0 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -41,7 +41,7 @@
"sharedAlias": "Alias",
"sharedDeviceDistance": "Device Distance",
"sharedDevice": "Device",
- "sharedTestMail": "Send Test Email",
+ "sharedTestNotification": "Send Test Notification",
"sharedCalendar": "Calendar",
"sharedCalendars": "Calendars",
"sharedFile": "File",