From 73cec697ea9aec6ed7e224fbf6ff709cadf3502a Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 14 May 2015 16:04:05 -0600 Subject: [PATCH] Rename 'Block Resource' i18n key (prepping to add it to request logger) --- platform/firefox/vapi-background.js | 2 +- src/_locales/en/messages.json | 2 +- tools/make-firefox-meta.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 5416cb2ff..c9972c1e4 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -2037,7 +2037,7 @@ vAPI.contextMenu.registerForNetMonitor = function(eventName, toolbox, panel) { var insertBeforeMenuItem = doc.getElementById("request-menu-context-separator"); if (menuPopup && insertBeforeMenuItem) { - var menuitem = vAPI.contextMenu.createContextMenuItem(doc, vAPI.i18n('netMonitorContextMenuEntry')); + var menuitem = vAPI.contextMenu.createContextMenuItem(doc, vAPI.i18n('netLoggerBlockResourcePrompt')); menuitem.addEventListener('command', function() { var selectedRequest = panel.panelWin.NetMonitorView.RequestsMenu.selectedAttachment; if (selectedRequest) { diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index 2a3dc8bbd..6f49658ab 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -147,7 +147,7 @@ "message":"Block element", "description":"English: Block element" }, - "netMonitorContextMenuEntry":{ + "netLoggerBlockResourcePrompt":{ "message":"Block resource", "description":"English: Block resource" }, diff --git a/tools/make-firefox-meta.py b/tools/make-firefox-meta.py index 0401eddfc..0732f7e53 100644 --- a/tools/make-firefox-meta.py +++ b/tools/make-firefox-meta.py @@ -24,7 +24,7 @@ source_locale_dir = pj(build_dir, '_locales') target_locale_dir = pj(build_dir, 'locale') language_codes = [] descriptions = OrderedDict({}) -title_case_strings = ['pickerContextMenuEntry', 'netMonitorContextMenuEntry'] +title_case_strings = ['pickerContextMenuEntry', 'netLoggerBlockResourcePrompt'] for alpha2 in sorted(os.listdir(source_locale_dir)): locale_path = pj(source_locale_dir, alpha2, 'messages.json')