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.
This commit is contained in:
vinitS101 2019-03-13 23:51:38 +05:30 committed by Tim Abbott
parent e90ed827bb
commit ead9598fbe
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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) {