From 98d95cd7ee02bcbdefa366e2e5435e6133cbc4ac Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 16 Jun 2016 15:23:07 -0700 Subject: [PATCH] UX: switch to glyph for exit anon --- app/assets/javascripts/discourse/widgets/user-menu.js.es6 | 4 +--- config/locales/client.en.yml | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/discourse/widgets/user-menu.js.es6 b/app/assets/javascripts/discourse/widgets/user-menu.js.es6 index da2c8504f..042ab259f 100644 --- a/app/assets/javascripts/discourse/widgets/user-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/user-menu.js.es6 @@ -46,9 +46,7 @@ createWidget('user-menu-links', { className: 'enable-anonymous', icon: 'user-secret' }); } else { - links.push({ className: 'disable-anonymous', - action: 'toggleAnonymous', - label: 'switch_from_anon' }); + glyphs.push({ action: 'toggleAnonymous', } } diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 16af30105..9bc4c2a58 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -297,8 +297,8 @@ en: revert: "Revert" failed: "Failed" - switch_to_anon: "Anonymous Mode" - switch_from_anon: "Exit Anonymous" + switch_to_anon: "Enter Anonymous Mode" + switch_from_anon: "Exit Anonymous Mode" banner: close: "Dismiss this banner."