summaryrefslogtreecommitdiff
path: root/app/java/src/WifiListenerService.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/java/src/WifiListenerService.java')
-rw-r--r--app/java/src/WifiListenerService.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/java/src/WifiListenerService.java b/app/java/src/WifiListenerService.java
index da4c337..0920677 100644
--- a/app/java/src/WifiListenerService.java
+++ b/app/java/src/WifiListenerService.java
@@ -160,12 +160,12 @@ public class WifiListenerService extends Service
Notification notification = new Notification.Builder(this, WifiListenerService.NOTIFICATION_CHANNEL_ID)
.setSmallIcon(R.drawable.logo)
- .setContentTitle("Pihole DNS Proxy - WiFi Listener")
- .setContentText("Listening for WiFi connection change")
+ .setContentTitle(getString(R.string.app_label) + " - WiFi Listener")
+ .setContentText(getString(R.string.wifi_listener_service__notification__text))
.setContentIntent(PendingIntent.getActivity(this, 0, new Intent(this, SettingsActivity.class), Intent.FLAG_ACTIVITY_NEW_TASK))
.addAction(
R.drawable.logo,
- "Stop Listener",
+ getString(R.string.wifi_listener_service__notification__action__stop_listener),
PendingIntent.getService(this, 0,
(new Intent(this, WifiListenerService.class)).setAction(WifiListenerService.ACTION_STOP_SET_PREFERENCE),
PendingIntent.FLAG_IMMUTABLE
@@ -173,7 +173,7 @@ public class WifiListenerService extends Service
)
.addAction(
R.drawable.logo,
- "Start Proxy",
+ getString(R.string.wifi_listener_service__notification__action__start_proxy),
PendingIntent.getService(this, 0,
(new Intent(this, DNSProxyService.class)).setAction(DNSProxyService.ACTION_START),
PendingIntent.FLAG_IMMUTABLE