タブにリンクをドロップした時とブックマークフォルダをタブで開く時の挙動の設定を、ブール値の組み合わせから1つの整数値に変更

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4817 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-27 07:22:56 +00:00
parent f322c5ee7b
commit 79cecd42c9
14 changed files with 254 additions and 180 deletions

View File

@ -8,21 +8,21 @@ window.addEventListener('load', function() {
).replace(
'browserWindow.getBrowser().loadTabs(',
<![CDATA[
var howToOpenGroupBookmark = TreeStyleTabService.howToOpenGroupBookmark();
var openGroupBookmarkBehavior = TreeStyleTabService.openGroupBookmarkBehavior();
if (
where.indexOf('tab') == 0 ||
aEvent.target.id == 'placesContext_openContainer:tabs' ||
aEvent.target == aEvent.target.parentNode._endOptOpenAllInTabs ||
aEvent.target.getAttribute('openInTabs') == 'true'
) {
if (howToOpenGroupBookmark & TreeStyleTabService.kGROUP_BOOKMARK_SUBTREE) {
if (openGroupBookmarkBehavior & TreeStyleTabService.kGROUP_BOOKMARK_SUBTREE) {
TreeStyleTabService.readyToOpenNewTabGroup();
if (howToOpenGroupBookmark & TreeStyleTabService.kGROUP_BOOKMARK_USE_DUMMY)
if (openGroupBookmarkBehavior & TreeStyleTabService.kGROUP_BOOKMARK_USE_DUMMY)
urls.unshift(TreeStyleTabService.getGroupTabURI(aFolderTitle));
replaceCurrentTab = false;
}
else {
replaceCurrentTab = howToOpenGroupBookmark & TreeStyleTabService.kGROUP_BOOKMARK_REPLACE ? true : false ;
replaceCurrentTab = openGroupBookmarkBehavior & TreeStyleTabService.kGROUP_BOOKMARK_REPLACE ? true : false ;
}
}
$&]]>

View File

@ -2,9 +2,35 @@ const XULAppInfo = Components.classes['@mozilla.org/xre/app-info;1']
.getService(Components.interfaces.nsIXULAppInfo);
const comparator = Components.classes['@mozilla.org/xpcom/version-comparator;1']
.getService(Components.interfaces.nsIVersionComparator);
var Prefs = Components
.classes['@mozilla.org/preferences;1']
.getService(Components.interfaces.nsIPrefBranch);
var gGroupBookmarkRadio,
gGroupBookmarkUnderParent,
gGroupBookmarkPref,
gGroupBookmarkReplace;
function ensureGroupBookmarkItems()
{
if (gGroupBookmarkPref) return;
gGroupBookmarkRadio = document.getElementById('openGroupBookmark-radiogroup');
gGroupBookmarkPref = document.getElementById('extensions.treestyletab.openGroupBookmark.behavior');
gGroupBookmarkUnderParent = document.getElementById('openGroupBookmark.underParent-check');
var bookmarkReplaceKey = 'browser.tabs.loadFolderAndReplace';
gGroupBookmarkReplace = document.getElementById(bookmarkReplaceKey);
try {
gGroupBookmarkReplace.value = Prefs.getBoolPref(bookmarkReplaceKey);
}
catch(e) {
Prefs.setBoolPref(bookmarkReplaceKey, gGroupBookmarkReplace.value != 'false');
}
}
function init()
{
ensureGroupBookmarkItems();
// sizeToContent();
}
@ -12,9 +38,6 @@ function init()
var gOpenLinkInTabScale,
gLoadLocationBarToNewTabScale,
gLoadLocationBarToChildTabScale,
gGroupBookmarkRadio,
gGroupBookmarkTree,
gGroupBookmarkReplace,
gLastStateIsVertical;
var gTabbarPlacePositionInitialized = false;
@ -39,12 +62,6 @@ function initTabPane()
'loadLocationBarToChildTab-labels'
);
gGroupBookmarkRadio = document.getElementById('openGroupBookmarkAsTabSubTree-radiogroup');
gGroupBookmarkTree = document.getElementById('extensions.treestyletab.openGroupBookmarkAsTabSubTree');
var Prefs = Components.classes['@mozilla.org/preferences;1']
.getService(Components.interfaces.nsIPrefBranch);
var restrictionKey = 'browser.link.open_newwindow.restriction';
var restriction = document.getElementById(restrictionKey);
@ -55,34 +72,33 @@ function initTabPane()
Prefs.setIntPref(restrictionKey, parseInt(restriction.value));
}
var bookmarkReplaceKey = 'browser.tabs.loadFolderAndReplace';
gGroupBookmarkReplace = document.getElementById(bookmarkReplaceKey);
try {
gGroupBookmarkReplace.value = Prefs.getBoolPref(bookmarkReplaceKey);
}
catch(e) {
Prefs.setBoolPref(bookmarkReplaceKey, gGroupBookmarkReplace.value != 'false');
}
gGroupBookmarkRadio.value =
gGroupBookmarkTree.value && !gGroupBookmarkReplace.value ? 'subtree' :
!gGroupBookmarkTree.value && !gGroupBookmarkReplace.value ? 'flat' :
'replace';
gLastStateIsVertical = document.getElementById('extensions.treestyletab.tabbar.position-radiogroup').value;
gLastStateIsVertical = gLastStateIsVertical == 'left' || gLastStateIsVertical == 'right';
}
function onChangeGroupBookmarkRadio()
function onSyncGroupBookmarkRadioToPref()
{
gGroupBookmarkTree.value = gGroupBookmarkRadio.value == 'subtree';
gGroupBookmarkReplace.value = gGroupBookmarkRadio.value == 'replace';
ensureGroupBookmarkItems();
var behavior = parseInt(gGroupBookmarkRadio.value);
if (gGroupBookmarkUnderParent.checked) behavior += 256;
var underParent = document.getElementById('openGroupBookmarkAsTabSubTree.underParent-check');
if (gGroupBookmarkTree.value)
underParent.removeAttribute('disabled');
if (behavior & 1)
gGroupBookmarkUnderParent.removeAttribute('disabled');
else
underParent.setAttribute('disabled', true);
gGroupBookmarkUnderParent.setAttribute('disabled', true);
return behavior;
}
function onSyncPrefToGroupBookmarkRadio()
{
ensureGroupBookmarkItems();
var behavior = gGroupBookmarkPref.value & 1 ? 1 :
gGroupBookmarkPref.value & 2 ? 2 :
gGroupBookmarkPref.value & 4 ? 4 :
0;
gGroupBookmarkUnderParent.checked = gGroupBookmarkPref.value & 256 ? true : false ;
return behavior;
}

View File

@ -323,15 +323,12 @@
<preference id="extensions.treestyletab.urlbar.loadSameDomainToNewTab.asChild"
name="extensions.treestyletab.urlbar.loadSameDomainToNewTab.asChild"
type="bool"/>
<preference id="extensions.treestyletab.loadDroppedLinkToNewChildTab"
name="extensions.treestyletab.loadDroppedLinkToNewChildTab"
type="bool"/>
<preference id="extensions.treestyletab.openGroupBookmarkAsTabSubTree"
name="extensions.treestyletab.openGroupBookmarkAsTabSubTree"
type="bool"/>
<preference id="extensions.treestyletab.openGroupBookmarkAsTabSubTree.underParent"
name="extensions.treestyletab.openGroupBookmarkAsTabSubTree.underParent"
type="bool"/>
<preference id="extensions.treestyletab.dropLinksOnTab.behavior"
name="extensions.treestyletab.dropLinksOnTab.behavior"
type="int"/>
<preference id="extensions.treestyletab.openGroupBookmark.behavior"
name="extensions.treestyletab.openGroupBookmark.behavior"
type="int"/>
<preference id="browser.tabs.loadFolderAndReplace"
name="browser.tabs.loadFolderAndReplace.override"
type="bool"/>
@ -405,27 +402,31 @@
</hbox>
</groupbox>
<groupbox>
<caption label="&config.loadDroppedLinkToNewChildTab.caption;"/>
<radiogroup id="extensions.treestyletab.loadDroppedLinkToNewChildTab-radiogroup"
preference="extensions.treestyletab.loadDroppedLinkToNewChildTab"
<caption label="&config.dropLinksOnTab.caption;"/>
<radiogroup id="extensions.treestyletab.dropLinksOnTab.behavior-radiogroup"
preference="extensions.treestyletab.dropLinksOnTab.behavior"
orient="vertical">
<radio value="false" label="&config.loadDroppedLinkToNewChildTab.load;"/>
<radio value="true" label="&config.loadDroppedLinkToNewChildTab.newTab;"/>
<radio value="0" label="&config.dropLinksOnTab.ask;"/>
<radio value="1" label="&config.dropLinksOnTab.load;"/>
<radio value="2" label="&config.dropLinksOnTab.newTab;"/>
</radiogroup>
</groupbox>
<groupbox>
<caption label="&config.openGroupBookmarkAsTabSubTree.caption;"/>
<radiogroup id="openGroupBookmarkAsTabSubTree-radiogroup"
<caption label="&config.openGroupBookmark.caption;"/>
<radiogroup id="openGroupBookmark-radiogroup"
orient="vertical"
oncommand="onChangeGroupBookmarkRadio();">
onsynctopreference="return onSyncGroupBookmarkRadioToPref();"
onsyncfrompreference="return onSyncPrefToGroupBookmarkRadio();"
preference="extensions.treestyletab.openGroupBookmark.behavior">
<radio value="0" label="&config.openGroupBookmark.ask;"/>
<hbox align="center">
<radio value="subtree" label="&config.openGroupBookmarkAsTabSubTree.subtree;"/>
<checkbox id="openGroupBookmarkAsTabSubTree.underParent-check"
label="&config.openGroupBookmarkAsTabSubTree.underParent;"
preference="extensions.treestyletab.openGroupBookmarkAsTabSubTree.underParent"/>
<radio value="1" label="&config.openGroupBookmark.subtree;"/>
<checkbox id="openGroupBookmark.underParent-check"
label="&config.openGroupBookmark.underParent;"
oncommand="gGroupBookmarkPref.value = onSyncGroupBookmarkRadioToPref();"/>
</hbox>
<radio value="flat" label="&config.openGroupBookmarkAsTabSubTree.flat;"/>
<radio value="replace" label="&config.openGroupBookmarkAsTabSubTree.replace;"/>
<radio value="2" label="&config.openGroupBookmark.flat;"/>
<radio value="4" label="&config.openGroupBookmark.replace;"/>
</radiogroup>
</groupbox>
</tabpanel>

View File

@ -1130,10 +1130,10 @@ var TreeStyleTabService = {
useTMPSessionAPI : false,
kTMP_SESSION_DATA_PREFIX : 'tmp-session-data-',
shouldLoadDroppedLinkToNewChildTab : function()
dropLinksOnTabBehavior : function()
{
if (!this.getTreePref('loadDroppedLinkToNewChildTab.confirm'))
return this.getTreePref('loadDroppedLinkToNewChildTab');
var behavior = this.getTreePref('dropLinksOnTab.behavior');
if (behavior & this.kDROPLINK_FIXED) return behavior;
var checked = { value : false };
var newChildTab = this.PromptService.confirmEx(window,
@ -1147,29 +1147,27 @@ var TreeStyleTabService = {
this.stringbundle.getString('dropLinkOnTab.never'),
checked
) == 0;
if (checked.value) {
this.setTreePref('loadDroppedLinkToNewChildTab.confirm', false);
this.setTreePref('loadDroppedLinkToNewChildTab', newChildTab);
}
return newChildTab
},
howToOpenGroupBookmark : function()
{
var dummyTabFlag = this.getTreePref('openGroupBookmarkAsTabSubTree.underParent') ?
this.kGROUP_BOOKMARK_USE_DUMMY :
0 ;
if (!this.getTreePref('openGroupBookmarkBehavior.confirm')) {
return this.getTreePref('openGroupBookmarkAsTabSubTree') ?
this.kGROUP_BOOKMARK_SUBTREE | dummyTabFlag :
this.getPref('browser.tabs.loadFolderAndReplace') ?
this.kGROUP_BOOKMARK_REPLACE :
this.kGROUP_BOOKMARK_SEPARATE ;
}
behavior = newChildTab ? this.kDROPLINK_NEWTAB : this.kDROPLINK_LOAD ;
if (checked.value)
this.setTreePref('dropLinksOnTab.behavior', behavior);
return behavior
},
kDROPLINK_ASK : 0,
kDROPLINK_FIXED : 1 + 2,
kDROPLINK_LOAD : 1,
kDROPLINK_NEWTAB : 2,
openGroupBookmarkBehavior : function()
{
var behavior = this.getTreePref('openGroupBookmark.behavior');
if (behavior & this.kGROUP_BOOKMARK_FIXED) return behavior;
var dummyTabFlag = behavior & this.kGROUP_BOOKMARK_USE_DUMMY;
var checked = { value : false };
var behavior = this.PromptService.confirmEx(window,
var button = this.PromptService.confirmEx(window,
this.stringbundle.getString('openGroupBookmarkBehavior.title'),
this.stringbundle.getString('openGroupBookmarkBehavior.text'),
(this.PromptService.BUTTON_TITLE_IS_STRING * this.PromptService.BUTTON_POS_0) +
@ -1182,21 +1180,22 @@ var TreeStyleTabService = {
checked
);
if (behavior < 0) behavior = 1;
if (button < 0) button = 1;
var behaviors = [
this.kGROUP_BOOKMARK_SUBTREE | dummyTabFlag,
this.kGROUP_BOOKMARK_SEPARATE,
this.kGROUP_BOOKMARK_REPLACE
];
behavior = behaviors[behavior];
behavior = behaviors[button];
if (checked.value) {
this.setTreePref('openGroupBookmarkBehavior.confirm', false);
this.setTreePref('openGroupBookmarkAsTabSubTree', behavior & this.kGROUP_BOOKMARK_SUBTREE ? true : false );
this.setTreePref('openGroupBookmark.behavior', behavior);
this.setPref('browser.tabs.loadFolderAndReplace', behavior & this.kGROUP_BOOKMARK_REPLACE ? true : false );
}
return behavior;
},
kGROUP_BOOKMARK_ASK : 0,
kGROUP_BOOKMARK_FIXED : 1 + 2 + 4,
kGROUP_BOOKMARK_SUBTREE : 1,
kGROUP_BOOKMARK_SEPARATE : 2,
kGROUP_BOOKMARK_REPLACE : 4,
@ -1246,9 +1245,29 @@ var TreeStyleTabService = {
this.registerTabFocusAllowance(this.defaultTabFocusAllowance);
this.migratePrefs();
},
preInitialized : false,
defaultTabFocusAllowance : function(aBrowser)
{
var tab = aBrowser.selectedTab;
return (
!this.getPref('browser.tabs.selectOwnerOnClose') ||
!tab.owner ||
(
aBrowser._removingTabs &&
aBrowser._removingTabs.indexOf(tab.owner) > -1
)
);
},
kPREF_VERSION : 4,
migratePrefs : function()
{
// migrate old prefs
var orientalPrefs = [];
switch (this.getTreePref('orientalPrefsMigrated'))
switch (this.getTreePref('prefsVersion'))
{
case 0:
orientalPrefs = orientalPrefs.concat([
@ -1267,7 +1286,37 @@ var TreeStyleTabService = {
this.setTreePref('urlbar.loadSameDomainToNewTab', value);
this.setTreePref('urlbar.loadSameDomainToNewTab.asChild', value);
if (value) this.setTreePref('urlbar.loadDifferentDomainToNewTab', value);
this.clearPref('extensions.treestyletab.urlbar.loadSameDomainToNewChildTab');
this.clearTreePref('urlbar.loadSameDomainToNewChildTab');
}
case 3:
if (this.getTreePref('loadDroppedLinkToNewChildTab') !== null) {
this.setTreePref('dropLinksOnTab.behavior',
this.getTreePref('loadDroppedLinkToNewChildTab.confirm') ?
this.kDROPLINK_ASK :
this.getTreePref('loadDroppedLinkToNewChildTab') ?
this.kDROPLINK_NEWTAB :
this.kDROPLINK_LOAD
);
this.clearTreePref('loadDroppedLinkToNewChildTab.confirm');
this.clearTreePref('loadDroppedLinkToNewChildTab');
}
if (this.getTreePref('openGroupBookmarkAsTabSubTree') !== null) {
let behavior = 0;
if (this.getTreePref('openGroupBookmarkAsTabSubTree.underParent'))
behavior += this.kGROUP_BOOKMARK_USE_DUMMY;
if (!this.getTreePref('openGroupBookmarkBehavior.confirm')) {
if (this.getTreePref('openGroupBookmarkAsTabSubTree'))
behavior += this.kGROUP_BOOKMARK_SUBTREE;
else if (this.getTreePref('browser.tabs.loadFolderAndReplace'))
behavior += this.kGROUP_BOOKMARK_REPLACE;
else
behavior += this.kGROUP_BOOKMARK_SEPARATE;
}
this.setTreePref('openGroupBookmark.behavior', behavior);
this.clearTreePref('openGroupBookmarkBehavior.confirm');
this.clearTreePref('openGroupBookmarkAsTabSubTree');
this.clearTreePref('openGroupBookmarkAsTabSubTree.underParent');
this.setPref('browser.tabs.loadFolderAndReplace', behavior & this.kGROUP_BOOKMARK_REPLACE ? true : false );
}
default:
orientalPrefs.forEach(function(aPref) {
@ -1279,21 +1328,7 @@ var TreeStyleTabService = {
}, this);
break;
}
this.setTreePref('orientalPrefsMigrated', 3);
},
preInitialized : false,
defaultTabFocusAllowance : function(aBrowser)
{
var tab = aBrowser.selectedTab;
return (
!this.getPref('browser.tabs.selectOwnerOnClose') ||
!tab.owner ||
(
aBrowser._removingTabs &&
aBrowser._removingTabs.indexOf(tab.owner) > -1
)
);
this.setTreePref('prefsVersion', this.kPREF_VERSION);
},
init : function()
@ -1523,7 +1558,7 @@ catch(e) {
);
if (!loadDroppedLinkToNewChildTab &&
dropActionInfo.position == TreeStyleTabService.kDROP_ON) {
loadDroppedLinkToNewChildTab = TreeStyleTabService.shouldLoadDroppedLinkToNewChildTab();
loadDroppedLinkToNewChildTab = TreeStyleTabService.dropLinksOnTabBehavior() == TreeStyleTabService.kDROPLINK_NEWTAB;
}
if (
loadDroppedLinkToNewChildTab ||
@ -2601,6 +2636,11 @@ catch(e) {
setTreePref : function(aPrefstring, aNewValue)
{
return this.setPref('extensions.treestyletab.'+aPrefstring, aNewValue);
},
clearTreePref : function(aPrefstring)
{
return this.clearPref('extensions.treestyletab.'+aPrefstring);
}
};

View File

@ -81,11 +81,10 @@ pref("extensions.treestyletab.urlbar.loadDifferentDomainToNewTab.asChild", false
pref("extensions.treestyletab.urlbar.loadSameDomainToNewTab", true);
pref("extensions.treestyletab.urlbar.loadSameDomainToNewTab.asChild", true);
pref("extensions.treestyletab.urlbar.invertDefaultBehavior", true);
pref("extensions.treestyletab.loadDroppedLinkToNewChildTab", false);
pref("extensions.treestyletab.loadDroppedLinkToNewChildTab.confirm", true);
pref("extensions.treestyletab.openGroupBookmarkBehavior.confirm", true);
pref("extensions.treestyletab.openGroupBookmarkAsTabSubTree", true);
pref("extensions.treestyletab.openGroupBookmarkAsTabSubTree.underParent", true);
// 0 = always ask, 1 = load into the tab, 2 = open new child tab
pref("extensions.treestyletab.dropLinksOnTab.behavior", 0);
// 0 = always ask, 1 = tree, 2 = separate, 4 = replace, 256 = use dummy tab (for subtree)
pref("extensions.treestyletab.openGroupBookmark.behavior", 256);
pref("extensions.treestyletab.useEffectiveTLD", true);
pref("extensions.treestyletab.autoCollapseExpandSubTreeOnSelect", true);
@ -123,7 +122,7 @@ pref("extensions.multipletab.show.multipletab-selection-item-createSubTree", tru
pref("extensions.treestyletab.TMP.doNotUpdate.isTabVisible", false);
pref("extensions.treestyletab.orientalPrefsMigrated", 0);
pref("extensions.treestyletab.prefsVersion", 0);
pref("extensions.treestyletab@piro.sakura.ne.jp.name", "chrome://treestyletab/locale/treestyletab.properties");

View File

@ -61,15 +61,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Verhalten für das Drag &amp; Drop von URLs auf Tabs">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "Seite im Tab laden (Firefox Standard)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "Seite in einem neuen untergeordneten Tab laden">
<!ENTITY config.dropLinksOnTab.caption "Verhalten für das Drag &amp; Drop von URLs auf Tabs">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "Seite im Tab laden (Firefox Standard)">
<!ENTITY config.dropLinksOnTab.newTab "Seite in einem neuen untergeordneten Tab laden">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "Verhalten von &quot;Alle in Tabs öffnen&quot; für Seiten in einem Lesezeichenordner">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "Als Zweig öffnen (Empfohlen)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "Als eigenständige Tabs öffnen (Firefox Standard)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "Aktuelles Tab durch die neuen Tabs ersetzen">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "Seiten zur Gruppierung einem Dummytab unterordnen">
<!ENTITY config.openGroupBookmark.caption "Verhalten von &quot;Alle in Tabs öffnen&quot; für Seiten in einem Lesezeichenordner">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "Als Zweig öffnen (Empfohlen)">
<!ENTITY config.openGroupBookmark.flat "Als eigenständige Tabs öffnen (Firefox Standard)">
<!ENTITY config.openGroupBookmark.replace "Aktuelles Tab durch die neuen Tabs ersetzen">
<!ENTITY config.openGroupBookmark.underParent "Seiten zur Gruppierung einem Dummytab unterordnen">
<!ENTITY config.tabs.restriction.tab "Neue Tabs statt neue Fenster öffnen">

View File

@ -60,15 +60,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Action for drag drop of links or URLs to existing tab">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "Load link into the tab (Firefox default)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "Open link in a new child tab of the tab">
<!ENTITY config.dropLinksOnTab.caption "Action for drag drop of links or URLs to existing tab">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "Load link into the tab (Firefox default)">
<!ENTITY config.dropLinksOnTab.newTab "Open link in a new child tab of the tab">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "&quot;Open All in Tabs&quot; from bookmark folders">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "Open as a tree (Recommended)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "Open as separate tabs (Firefox default)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.openGroupBookmark.caption "&quot;Open All in Tabs&quot; from bookmark folders">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "Open as a tree (Recommended)">
<!ENTITY config.openGroupBookmark.flat "Open as separate tabs (Firefox default)">
<!ENTITY config.openGroupBookmark.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmark.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.tabs.restriction.tab "Open tabs instead of windows">

View File

@ -60,15 +60,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Acción para arrastrar y soltar enlaces o URIs en pestañas existentes">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "Cargar enlace dentro de una nueva pestaña (Predeterminado en Firefox)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "Abrir enlace como hija de la pestaña actual">
<!ENTITY config.dropLinksOnTab.caption "Acción para arrastrar y soltar enlaces o URIs en pestañas existentes">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "Cargar enlace dentro de una nueva pestaña (Predeterminado en Firefox)">
<!ENTITY config.dropLinksOnTab.newTab "Abrir enlace como hija de la pestaña actual">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "&quot;Abrir todos en pestañas&quot; desde carpetas de marcadores">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "Abrir como un sub-árbol (Recomendado)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "Abrir como pestañas separadas (Firefox default)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.openGroupBookmark.caption "&quot;Abrir todos en pestañas&quot; desde carpetas de marcadores">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "Abrir como un sub-árbol (Recomendado)">
<!ENTITY config.openGroupBookmark.flat "Abrir como pestañas separadas (Firefox default)">
<!ENTITY config.openGroupBookmark.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmark.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.tabs.restriction.tab "Abrir pestañas en vez de ventanas">

View File

@ -60,15 +60,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Il trascinamento di collegamenti o indirizzi su una scheda esistente">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "carica il collegamento nella scheda (comportamento predefinito di Firefox)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "apre il collegamento in una nuova sottoscheda">
<!ENTITY config.dropLinksOnTab.caption "Il trascinamento di collegamenti o indirizzi su una scheda esistente">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "carica il collegamento nella scheda (comportamento predefinito di Firefox)">
<!ENTITY config.dropLinksOnTab.newTab "apre il collegamento in una nuova sottoscheda">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "La voce &quot;Apri tutti in schede&quot; nel menu Segnalibri">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "apre i segnalibri come sottoalbero (Raccomandato)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "apre i segnalibri in schede separate (comportamento predefinito di Firefox)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "sostituisce la scheda in uso con i segnalibri contenuti nella cartella selezionata">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.openGroupBookmark.caption "La voce &quot;Apri tutti in schede&quot; nel menu Segnalibri">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "apre i segnalibri come sottoalbero (Raccomandato)">
<!ENTITY config.openGroupBookmark.flat "apre i segnalibri in schede separate (comportamento predefinito di Firefox)">
<!ENTITY config.openGroupBookmark.replace "sostituisce la scheda in uso con i segnalibri contenuti nella cartella selezionata">
<!ENTITY config.openGroupBookmark.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.tabs.restriction.tab "Finestre">

View File

@ -60,15 +60,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 同じサイトのタブを現在のタブの子として開く">
<!ENTITY config.urlbar.asChild.any "Lv.2 すべて現在のタブの子として開く">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "リンクやURLをタブにドラッグドロップした時">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "ドロップ先のタブの中に読み込むFirefox初期状態">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "ドロップ先のタブのツリーに新しいタブを開く">
<!ENTITY config.dropLinksOnTab.caption "リンクやURLをタブにドラッグドロップした時">
<!ENTITY config.dropLinksOnTab.ask "どうするか毎回尋ねる">
<!ENTITY config.dropLinksOnTab.load "ドロップ先のタブの中に読み込むFirefox初期状態">
<!ENTITY config.dropLinksOnTab.newTab "ドロップ先のタブのツリーに新しいタブを開く">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "ブックマークフォルダの内容をタブで開く時の扱い">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "一つのツリーとして開く(推奨)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "ばらばらのタブとして開くFirefox初期状態">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "現在のタブ1つだけをブックマークの内容で置き換える">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "グループ化用のダミーのタブを親にする">
<!ENTITY config.openGroupBookmark.caption "ブックマークフォルダの内容をタブで開く時の扱い">
<!ENTITY config.openGroupBookmark.ask "どうするか毎回尋ねる">
<!ENTITY config.openGroupBookmark.subtree "一つのツリーとして開く(推奨)">
<!ENTITY config.openGroupBookmark.flat "ばらばらのタブとして開くFirefox初期状態">
<!ENTITY config.openGroupBookmark.replace "現在のタブ1つだけをブックマークの内容で置き換える">
<!ENTITY config.openGroupBookmark.underParent "グループ化用のダミーのタブを親にする">
<!ENTITY config.tabs.restriction.tab "ウィンドウの代わりにタブを開く">

View File

@ -60,15 +60,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Działanie po przeciągnięciu odnośników lub adresów URL do istniejącej karty">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "Otwieraj odnośnik w nowej karcie (domyślne działanie Firefoksa)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "Otwieraj odnośnik w nowej, potomnej karcie">
<!ENTITY config.dropLinksOnTab.caption "Działanie po przeciągnięciu odnośników lub adresów URL do istniejącej karty">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "Otwieraj odnośnik w nowej karcie (domyślne działanie Firefoksa)">
<!ENTITY config.dropLinksOnTab.newTab "Otwieraj odnośnik w nowej, potomnej karcie">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "Działanie funkcji „Otwórz wszystkie w kartach” wywoływanej z poziomu menu zakładek">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "Otwieraj jako potomne drzewo (zalecane)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "Otwieraj jako osobne karty (domyślnie działanie Firefoksa)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.openGroupBookmark.caption "Działanie funkcji „Otwórz wszystkie w kartach” wywoływanej z poziomu menu zakładek">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "Otwieraj jako potomne drzewo (zalecane)">
<!ENTITY config.openGroupBookmark.flat "Otwieraj jako osobne karty (domyślnie działanie Firefoksa)">
<!ENTITY config.openGroupBookmark.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmark.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.tabs.restriction.tab "Otwieranie kart zamiast okien">

View File

@ -60,15 +60,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Действие при перетаскивании ссылок или URL-ов в имеющуюся вкладку">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "Загрузить ссылку во вкладке (в Firefox по умолчанию)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "Открыть ссылку в новой вкладке дочерней от текущей">
<!ENTITY config.dropLinksOnTab.caption "Действие при перетаскивании ссылок или URL-ов в имеющуюся вкладку">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "Загрузить ссылку во вкладке (в Firefox по умолчанию)">
<!ENTITY config.dropLinksOnTab.newTab "Открыть ссылку в новой вкладке дочерней от текущей">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "&quot;Открытие во вкладках &quot; из папок закладок">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "Открывать как поддерево (рекомендуется)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "Открывать как раздельные вкладки (в Firefox по умолчанию)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.openGroupBookmark.caption "&quot;Открытие во вкладках &quot; из папок закладок">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "Открывать как поддерево (рекомендуется)">
<!ENTITY config.openGroupBookmark.flat "Открывать как раздельные вкладки (в Firefox по умолчанию)">
<!ENTITY config.openGroupBookmark.replace "Replace the current one tab with the pages in the folder">
<!ENTITY config.openGroupBookmark.underParent "Put tabs under a dummy tab for grouping">
<!ENTITY config.tabs.restriction.tab "Открытие вкладок вместо окон">

View File

@ -60,15 +60,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "将链接或URL拖拽到现有标签后">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "在标签中加载链接 Firefox 默认)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "在此标签的新建子标签中打开链接">
<!ENTITY config.dropLinksOnTab.caption "将链接或URL拖拽到现有标签后">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "在标签中加载链接 Firefox 默认)">
<!ENTITY config.dropLinksOnTab.newTab "在此标签的新建子标签中打开链接">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "点击“在标签页中打开书签组”菜单:">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "在子树中打开 (推荐)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "在单独标签中打开 Firefox 默认)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "覆盖当前标签打开">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "将标签置于一伪标签下以便分组">
<!ENTITY config.openGroupBookmark.caption "点击“在标签页中打开书签组”菜单:">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "在子树中打开 (推荐)">
<!ENTITY config.openGroupBookmark.flat "在单独标签中打开 Firefox 默认)">
<!ENTITY config.openGroupBookmark.replace "覆盖当前标签打开">
<!ENTITY config.openGroupBookmark.underParent "将标签置于一伪标签下以便分组">
<!ENTITY config.tabs.restriction.tab "打开标签而非窗口">

View File

@ -59,15 +59,17 @@
<!ENTITY config.urlbar.asChild.inner "Lv.1 Open as child tab if it is the same website">
<!ENTITY config.urlbar.asChild.any "Lv.2 Open as child tab anytime">
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "拖曳鏈結或 URL 到現有的分頁時">
<!ENTITY config.loadDroppedLinkToNewChildTab.load "在拖曳目的地分頁載入鏈結Firefox 預設)">
<!ENTITY config.loadDroppedLinkToNewChildTab.newTab "用拖曳目的地分頁之下的新子分頁開啟鏈結">
<!ENTITY config.dropLinksOnTab.caption "拖曳鏈結或 URL 到現有的分頁時">
<!ENTITY config.dropLinksOnTab.ask "Ask me always">
<!ENTITY config.dropLinksOnTab.load "在拖曳目的地分頁載入鏈結Firefox 預設)">
<!ENTITY config.dropLinksOnTab.newTab "用拖曳目的地分頁之下的新子分頁開啟鏈結">
<!ENTITY config.openGroupBookmarkAsTabSubTree.caption "按書籤資料夾的「全部開啟」時">
<!ENTITY config.openGroupBookmarkAsTabSubTree.subtree "用一個子樹開啟(推薦)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.flat "用分開的分頁開啟Firefox 預設)">
<!ENTITY config.openGroupBookmarkAsTabSubTree.replace "將目前瀏覽的分頁取代為書籤的內容">
<!ENTITY config.openGroupBookmarkAsTabSubTree.underParent "將各分頁開啟於一虛分頁之下以便分組">
<!ENTITY config.openGroupBookmark.caption "按書籤資料夾的「全部開啟」時">
<!ENTITY config.openGroupBookmark.ask "Ask me always">
<!ENTITY config.openGroupBookmark.subtree "用一個子樹開啟(推薦)">
<!ENTITY config.openGroupBookmark.flat "用分開的分頁開啟Firefox 預設)">
<!ENTITY config.openGroupBookmark.replace "將目前瀏覽的分頁取代為書籤的內容">
<!ENTITY config.openGroupBookmark.underParent "將各分頁開啟於一虛分頁之下以便分組">
<!ENTITY config.tabs.restriction.tab "開啟分頁代替視窗">
<!ENTITY config.open_newwindow.caption "從網頁鏈結開啟新視窗的控制">