From e6c14537a6c8fbdaba0c8cd3d947e98e760aa92a Mon Sep 17 00:00:00 2001 From: FelisCatus Date: Tue, 12 Jun 2018 11:50:39 -0700 Subject: [PATCH] Get message for profile names in popup. Fix #1433. --- omega-web/src/popup/js/profiles.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/omega-web/src/popup/js/profiles.js b/omega-web/src/popup/js/profiles.js index e14afae..0507352 100644 --- a/omega-web/src/popup/js/profiles.js +++ b/omega-web/src/popup/js/profiles.js @@ -187,7 +187,8 @@ function createMenuItemForProfile(profile, profiles) { var profileDisp = profileTemplate.cloneNode(true); - var text = profile.name; + var text = OmegaTargetPopup.getMessage('profile_' + profile.name) || + profile.name; if (profile.defaultProfileName) { text += ' [' + profile.defaultProfileName + ']'; }