Bug 826487: Change "Open in New Private Tab" to "Open in Private Tab". [r=mfinkle]

This commit is contained in:
Sriram Ramasubramanian 2013-01-04 11:39:12 -08:00
parent 7c7c25027c
commit fbdb783306
6 changed files with 8 additions and 8 deletions

View File

@ -508,7 +508,7 @@ public class AwesomeBar extends GeckoActivity {
switch (item.getItemId()) {
case R.id.open_new_tab:
case R.id.open_new_private_tab: {
case R.id.open_private_tab: {
if (url == null) {
Log.e(LOGTAG, "Can't open in new tab because URL is null");
break;
@ -519,7 +519,7 @@ public class AwesomeBar extends GeckoActivity {
newTabUrl = ReaderModeUtils.getAboutReaderForUrl(url, true);
int flags = Tabs.LOADURL_NEW_TAB;
if (item.getItemId() == R.id.open_new_private_tab)
if (item.getItemId() == R.id.open_private_tab)
flags |= Tabs.LOADURL_PRIVATE;
Tabs.getInstance().loadUrl(newTabUrl, flags);

View File

@ -154,7 +154,7 @@ size. -->
<!ENTITY find_close "Close">
<!ENTITY contextmenu_open_new_tab "Open in New Tab">
<!ENTITY contextmenu_open_new_private_tab "Open in New Private Tab">
<!ENTITY contextmenu_open_private_tab "Open in Private Tab">
<!ENTITY contextmenu_open_in_reader "Open in Reader">
<!ENTITY contextmenu_remove_history "Remove">
<!ENTITY contextmenu_remove_bookmark "Remove">

View File

@ -8,8 +8,8 @@
<item android:id="@+id/open_new_tab"
android:title="@string/contextmenu_open_new_tab"/>
<item android:id="@+id/open_new_private_tab"
android:title="@string/contextmenu_open_new_private_tab"/>
<item android:id="@+id/open_private_tab"
android:title="@string/contextmenu_open_private_tab"/>
<item android:id="@+id/open_in_reader"
android:title="@string/contextmenu_open_in_reader"/>

View File

@ -161,7 +161,7 @@
<string name="reader">&reader;</string>
<string name="contextmenu_open_new_tab">&contextmenu_open_new_tab;</string>
<string name="contextmenu_open_new_private_tab">&contextmenu_open_new_private_tab;</string>
<string name="contextmenu_open_private_tab">&contextmenu_open_private_tab;</string>
<string name="contextmenu_open_in_reader">&contextmenu_open_in_reader;</string>
<string name="contextmenu_remove_history">&contextmenu_remove_history;</string>
<string name="contextmenu_remove_bookmark">&contextmenu_remove_bookmark;</string>

View File

@ -328,7 +328,7 @@ var BrowserApp = {
NativeWindow.toast.show(label, "short");
});
NativeWindow.contextmenus.add(Strings.browser.GetStringFromName("contextmenu.openInNewPrivateTab"),
NativeWindow.contextmenus.add(Strings.browser.GetStringFromName("contextmenu.openInPrivateTab"),
NativeWindow.contextmenus.linkOpenableContext,
function(aTarget) {
let url = NativeWindow.contextmenus._getLinkURL(aTarget);

View File

@ -215,7 +215,7 @@ selectionHelper.textCopied=Text copied to clipboard
# Context menu
contextmenu.openInNewTab=Open Link in New Tab
contextmenu.openInNewPrivateTab=Open Link in New Private Tab
contextmenu.openInPrivateTab=Open Link in Private Tab
contextmenu.share=Share
contextmenu.copyLink=Copy Link
contextmenu.shareLink=Share Link