|
@@ -489,16 +489,16 @@ public class Hostage extends Service {
|
|
|
builder = new NotificationCompat.Builder(this).setContentTitle(getString(R.string.app_name)).setWhen(System.currentTimeMillis());
|
|
|
if (!listening) {
|
|
|
builder.setSmallIcon(R.drawable.ic_launcher);
|
|
|
- builder.setContentText("HosTaGe is not active.");
|
|
|
+ builder.setContentText(getString(R.string.hostage_not_monitoring));
|
|
|
} else if (activeHandlers) {
|
|
|
builder.setSmallIcon(R.drawable.ic_service_red);
|
|
|
- builder.setContentText("Network is infected!");
|
|
|
+ builder.setContentText(getString(R.string.hostage_live_threat));
|
|
|
} else if (bssidSeen) {
|
|
|
builder.setSmallIcon(R.drawable.ic_service_yellow);
|
|
|
- builder.setContentText("Network has been infected in previous session!");
|
|
|
+ builder.setContentText(getString(R.string.hostage_past_threat));
|
|
|
} else {
|
|
|
builder.setSmallIcon(R.drawable.ic_service_green);
|
|
|
- builder.setContentText("Everything looks fine!");
|
|
|
+ builder.setContentText(getString(R.string.hostage_no_threat));
|
|
|
}
|
|
|
Intent launchIntent = new Intent(getApplicationContext(), MainActivity.class);
|
|
|
TaskStackBuilder stackBuilder = TaskStackBuilder.create(this);
|