diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 20:59:52 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 20:59:52 +0000 |
commit | f522800ade9624102400dbe3b338213b67b8a1fe (patch) | |
tree | 0c92620a415cc12f5094255f70e2a737149061e1 /chrome | |
parent | d010fb59d8436d1df1efa34d904541c2cf863e3d (diff) | |
download | chromium_src-f522800ade9624102400dbe3b338213b67b8a1fe.zip chromium_src-f522800ade9624102400dbe3b338213b67b8a1fe.tar.gz chromium_src-f522800ade9624102400dbe3b338213b67b8a1fe.tar.bz2 |
Cleanup: Remove IDS_MEDIA_STREAM_STATUS_TRAY_MENU_ITEM which has no need to be translated.
Review URL: https://codereview.chromium.org/11340053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/app/generated_resources.grd | 3 | ||||
-rw-r--r-- | chrome/browser/media/media_stream_capture_indicator.cc | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index bb36bbb..069c026 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -14724,9 +14724,6 @@ Some features may be unavailable. Please check that the profile exists and you </message> <!-- MediaStream capture status tray icon --> - <message name="IDS_MEDIA_STREAM_STATUS_TRAY_MENU_ITEM" desc="Title of the web page to display in the capture tray icon menu when it is using the capture devices"> - <ph name="TITLE">$1<ex>html5rocks.com</ex></ph> - </message> <message name="IDS_MEDIA_STREAM_STATUS_TRAY_TEXT_AUDIO_AND_VIDEO" desc="Tool tip for the capture status tray icon when microphone and camera are being used"> <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> is using your camera and microphone. </message> diff --git a/chrome/browser/media/media_stream_capture_indicator.cc b/chrome/browser/media/media_stream_capture_indicator.cc index 30c196e..4733a09 100644 --- a/chrome/browser/media/media_stream_capture_indicator.cc +++ b/chrome/browser/media/media_stream_capture_indicator.cc @@ -340,9 +340,7 @@ void MediaStreamCaptureIndicator::UpdateStatusTrayIconContextMenu() { audio = audio || iter->audio_ref_count > 0; video = video || iter->video_ref_count > 0; - string16 message = l10n_util::GetStringFUTF16( - IDS_MEDIA_STREAM_STATUS_TRAY_MENU_ITEM, tab_title); - menu->AddItem(command_id, message); + menu->AddItem(command_id, tab_title); // If reaching the maximum number, no more item will be added to the menu. if (command_id == IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST) |