From ead9598fbec88d524148371698308b274265ddfe Mon Sep 17 00:00:00 2001 From: vinitS101 Date: Wed, 13 Mar 2019 23:51:38 +0530 Subject: [PATCH] user status: Change Active now to Online now in full user profile. Change "Active now" to "Online now" in Last seen field of full user profile. --- frontend_tests/node_tests/buddy_data.js | 2 +- static/js/buddy_data.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend_tests/node_tests/buddy_data.js b/frontend_tests/node_tests/buddy_data.js index 4c22fbbd7a..24756e2054 100644 --- a/frontend_tests/node_tests/buddy_data.js +++ b/frontend_tests/node_tests/buddy_data.js @@ -199,7 +199,7 @@ run_test('level', () => { run_test('user_last_seen_time_status', () => { assert.equal(buddy_data.user_last_seen_time_status(selma.user_id), - 'translated: Active now'); + 'translated: Online now'); page_params.realm_is_zephyr_mirror_realm = true; assert.equal(buddy_data.user_last_seen_time_status(old_user.user_id), diff --git a/static/js/buddy_data.js b/static/js/buddy_data.js index b917f31db1..08dd67179c 100644 --- a/static/js/buddy_data.js +++ b/static/js/buddy_data.js @@ -153,7 +153,7 @@ exports.my_user_status = function (user_id) { exports.user_last_seen_time_status = function (user_id) { var status = presence.get_status(user_id); if (status === "active") { - return i18n.t("Active now"); + return i18n.t("Online now"); } if (page_params.realm_is_zephyr_mirror_realm) {