設定ダイアログ構成変更

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5021 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-08-26 15:13:12 +00:00
parent bb8ee05059
commit 5cb56e1e28
13 changed files with 57 additions and 58 deletions

View File

@ -234,7 +234,7 @@ function onTabbarTransparencyScaleChange()
}
function initAdvancedPane()
function initTreePane()
{
updateCloseRootBehaviorCheck();

View File

@ -621,8 +621,8 @@
</prefpane>
<prefpane id="prefpane-advanced" label="&config.tabs.advanced;"
onpaneload="initAdvancedPane();">
<prefpane id="prefpane-tree" label="&config.tabs.tree;"
onpaneload="initTreePane();">
<preferences>
<preference id="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect"
name="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect"
@ -652,22 +652,8 @@
<preference id="extensions.treestyletab.insertNewChildAt"
name="extensions.treestyletab.insertNewChildAt"
type="int"/>
<preference id="extensions.treestyletab.animation.enabled"
name="extensions.treestyletab.animation.enabled"
type="bool"/>
<preference id="extensions.treestyletab.useEffectiveTLD"
name="extensions.treestyletab.useEffectiveTLD"
type="bool"/>
</preferences>
<tabbox orient="vertical">
<tabs orient="horizontal">
<tab label="&config.tabs.advanced.tree;"/>
<tab label="&config.tabs.advanced.misc;"/>
</tabs>
<tabpanels>
<tabpanel orient="vertical">
<checkbox id="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect-check"
preference="extensions.treestyletab.autoCollapseExpandSubTreeOnSelect"
label="&config.autoCollapseExpandSubTreeOnSelect;"/>
@ -720,9 +706,19 @@
<radio value="1" label="&config.insertNewChildAt.last;"/>
</radiogroup>
</groupbox>
</tabpanel>
<tabpanel orient="vertical">
</prefpane>
<prefpane id="prefpane-advanced" label="&config.tabs.advanced;">
<preferences>
<preference id="extensions.treestyletab.animation.enabled"
name="extensions.treestyletab.animation.enabled"
type="bool"/>
<preference id="extensions.treestyletab.useEffectiveTLD"
name="extensions.treestyletab.useEffectiveTLD"
type="bool"/>
</preferences>
<checkbox id="extensions.treestyletab.animation.enabled-check"
preference="extensions.treestyletab.animation.enabled"
label="&config.animation.enabled;"/>
@ -735,10 +731,7 @@
<radio value="false" label="&config.useEffectiveTLD.disabled;"/>
</radiogroup>
</groupbox>
</tabpanel>
</tabpanels>
</tabbox>
</prefpane>
<script src="config.js" type="application/x-javascript"/>

View File

@ -115,10 +115,7 @@
<!ENTITY config.transparent.style.2 "Transparent">
<!ENTITY config.tabs.advanced "Erweitert">
<!ENTITY config.tabs.advanced.focus "Focus">
<!ENTITY config.tabs.advanced.tree "Tree Structure">
<!ENTITY config.tabs.advanced.misc "Misc.">
<!ENTITY config.tabs.tree "Tree">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "Nicht aktive Zweige zuklappen">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect.onCurrentTabRemove "Exclude focus moving caused by current tab closing">
@ -139,6 +136,9 @@
<!ENTITY config.insertNewChildAt.first "Oben im Zweig einfügen">
<!ENTITY config.insertNewChildAt.last "Unten im Zweig einfügen">
<!ENTITY config.tabs.advanced "Erweitert">
<!ENTITY config.animation.enabled "Animationseffekte aktivieren">
<!ENTITY config.useEffectiveTLD.caption "Erkennung der &quot;gleichen Webseite&quot;">

View File

@ -114,10 +114,7 @@
<!ENTITY config.transparent.style.2 "Transparent">
<!ENTITY config.tabs.advanced "Advanced">
<!ENTITY config.tabs.advanced.focus "Focus">
<!ENTITY config.tabs.advanced.tree "Tree Structure">
<!ENTITY config.tabs.advanced.misc "Misc.">
<!ENTITY config.tabs.tree "Tree">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "When a tab gets focus, expand his tree and collapse others automatically">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect.onCurrentTabRemove "Exclude focus moving caused by current tab closing">
@ -138,6 +135,9 @@
<!ENTITY config.insertNewChildAt.first "Insert to the top of the tree, as the first child">
<!ENTITY config.insertNewChildAt.last "Append to the last of the tree">
<!ENTITY config.tabs.advanced "Advanced">
<!ENTITY config.animation.enabled "Enable Animation Effects">
<!ENTITY config.useEffectiveTLD.caption "Detecting method for &quot;same website&quot;">

View File

@ -116,10 +116,7 @@
<!ENTITY config.transparent.style.2 "Transparente">
<!ENTITY config.tabs.advanced "Avanzado">
<!ENTITY config.tabs.advanced.focus "Focus">
<!ENTITY config.tabs.advanced.tree "Tree Structure">
<!ENTITY config.tabs.advanced.misc "Misc.">
<!ENTITY config.tabs.tree "Tree">
<!--ENTITY config.autoCollapseExpandSubTreeOnSelect "Colapsar otros árboles automáticamente cuando una pestaña es abierta o seleccionada"-->
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "When a tab gets focus, expand his tree and collapse others automatically">
@ -142,6 +139,9 @@
<!ENTITY config.insertNewChildAt.first "Insertar arriba del todo en el árbol">
<!ENTITY config.insertNewChildAt.last "Insertar abajo del todo en el árbol">
<!ENTITY config.tabs.advanced "Avanzado">
<!ENTITY config.animation.enabled "Activar los efectos de animación">
<!ENTITY config.useEffectiveTLD.caption "Detecting method for &quot;same website&quot;">

View File

@ -116,10 +116,7 @@
<!ENTITY config.transparent.style.2 "Trasparente">
<!ENTITY config.tabs.advanced "Avanzate">
<!ENTITY config.tabs.advanced.focus "Focus">
<!ENTITY config.tabs.advanced.tree "Tree Structure">
<!ENTITY config.tabs.advanced.misc "Misc.">
<!ENTITY config.tabs.tree "Tree">
<!--ENTITY config.autoCollapseExpandSubTreeOnSelect "Contrai automaticamente gli altri sottoalberi quando viene aperta o selezionata una scheda"-->
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "When a tab gets focus, expand his tree and collapse others automatically">
@ -142,6 +139,9 @@
<!ENTITY config.insertNewChildAt.first "Inserisci all&apos;inizio del sottoalbero, come prima sottoscheda">
<!ENTITY config.insertNewChildAt.last "Accoda all&apos;ultimo sottoalbero">
<!ENTITY config.tabs.advanced "Avanzate">
<!ENTITY config.animation.enabled "Attiva effetti di animazione">
<!ENTITY config.useEffectiveTLD.caption "Metodo di individuazione per lo stesso sito web">

View File

@ -114,10 +114,7 @@
<!ENTITY config.transparent.style.2 "完全な透明">
<!ENTITY config.tabs.advanced "詳細">
<!ENTITY config.tabs.advanced.focus "フォーカス">
<!ENTITY config.tabs.advanced.tree "ツリーの構造">
<!ENTITY config.tabs.advanced.misc "その他">
<!ENTITY config.tabs.tree "ツリー">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "タブを切り替えた時は、フォーカスされたタブのツリーを自動的に展開して、他のツリーを折り畳む">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect.onCurrentTabRemove "現在のタブを閉じてタブのフォーカスが切り替わった場合は何もしない">
@ -139,6 +136,9 @@
<!ENTITY config.insertNewChildAt.first "ツリーの最初の位置に挿入する">
<!ENTITY config.insertNewChildAt.last "ツリーの末尾に追加する">
<!ENTITY config.tabs.advanced "詳細">
<!ENTITY config.animation.enabled "アニメーション効果を有効にする">
<!ENTITY config.useEffectiveTLD.caption "同じサイトかどうかの判別方法">

View File

@ -116,10 +116,7 @@
<!ENTITY config.transparent.style.2 "Przezroczyste">
<!ENTITY config.tabs.advanced "Zaawansowane">
<!ENTITY config.tabs.advanced.focus "Focus">
<!ENTITY config.tabs.advanced.tree "Tree Structure">
<!ENTITY config.tabs.advanced.misc "Misc.">
<!ENTITY config.tabs.tree "Tree">
<!--ENTITY config.autoCollapseExpandSubTreeOnSelect "Zwijaj automatycznie drzewa potomne, gdy jest otwierana lub uaktywniana nowa karta"-->
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "When a tab gets focus, expand his tree and collapse others automatically">
@ -141,6 +138,9 @@
<!ENTITY config.insertNewChildAt.first "Wstaw jako pierwszą na górze drzewa">
<!ENTITY config.insertNewChildAt.last "Wstaw na końcu drzewa">
<!ENTITY config.tabs.advanced "Zaawansowane">
<!ENTITY config.animation.enabled "Włącz efekty animacji">
<!ENTITY config.useEffectiveTLD.caption "Detecting method for &quot;same website&quot;">

View File

@ -116,10 +116,7 @@
<!ENTITY config.transparent.style.2 "Прозрачный">
<!ENTITY config.tabs.advanced "Дополнительно">
<!ENTITY config.tabs.advanced.focus "Focus">
<!ENTITY config.tabs.advanced.tree "Tree Structure">
<!ENTITY config.tabs.advanced.misc "Misc.">
<!ENTITY config.tabs.tree "Tree">
<!--ENTITY config.autoCollapseExpandSubTreeOnSelect "При открытии или выборе вкладки в поддереве, автоматически сворачивать другие поддеревья"-->
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "When a tab gets focus, expand his tree and collapse others automatically">
@ -142,6 +139,8 @@
<!ENTITY config.insertNewChildAt.first "Вставлять первой в начало поддерева">
<!ENTITY config.insertNewChildAt.last "Добавлять в конце поддерева">
<!ENTITY config.tabs.advanced "Дополнительно">
<!ENTITY config.animation.enabled "Использование эффектов анимации">
<!ENTITY config.useEffectiveTLD.caption "Detecting method for &quot;same website&quot;">

View File

@ -119,10 +119,7 @@
<!ENTITY config.transparent.style.2 "完全透明">
<!ENTITY config.tabs.advanced "高级">
<!ENTITY config.tabs.advanced.focus "焦点处理">
<!ENTITY config.tabs.advanced.tree "树状结构">
<!ENTITY config.tabs.advanced.misc "其他">
<!ENTITY config.tabs.tree "树状结构">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "某一标签获得焦点时,自动展开该标签的树和折叠其他标签树">
<!ENTITY config.autoCollapseExpandSubTreeOnSelect.onCurrentTabRemove "当前标签关闭引起的焦点转移除外">
@ -143,6 +140,9 @@
<!ENTITY config.insertNewChildAt.first "插入到子树顶部,成为首个子标签">
<!ENTITY config.insertNewChildAt.last "添加到子树的最后">
<!ENTITY config.tabs.advanced "高级">
<!ENTITY config.animation.enabled "使用动画效果">
<!ENTITY config.useEffectiveTLD.caption "“相同网站”的标准">

View File

@ -116,10 +116,7 @@
<!ENTITY config.transparent.style.2 "完全透明">
<!ENTITY config.tabs.advanced "進階">
<!ENTITY config.tabs.advanced.focus "前景分頁">
<!ENTITY config.tabs.advanced.tree "樹狀結構">
<!ENTITY config.tabs.advanced.misc "雜項">
<!ENTITY config.tabs.tree "樹狀結構">
<!--ENTITY config.autoCollapseExpandSubTreeOnSelect "當開新分頁或切換分頁時,自動摺疊無關的子樹"-->
<!ENTITY config.autoCollapseExpandSubTreeOnSelect "切換分頁時,自動展開該子樹並摺疊無關者">
@ -141,6 +138,9 @@
<!ENTITY config.insertNewChildAt.first "插入到子樹的開端">
<!ENTITY config.insertNewChildAt.last "新增到子樹的末端">
<!ENTITY config.tabs.advanced "進階">
<!ENTITY config.animation.enabled "啟用動畫效果">
<!ENTITY config.useEffectiveTLD.caption "「同類其他分頁」定義依據">

View File

@ -3,3 +3,7 @@
radio[pane] {
list-style-image: url("jar:resource:///chrome/browser.jar!/skin/classic/browser/preferences/Options.png");
}
radio[pane="prefpane-tree"] {
list-style-image: url("chrome://treestyletab/content/res/icon32.png");
}

View File

@ -50,6 +50,9 @@ radio[pane="prefpane-advanced"][selected="true"] {
-moz-image-region: rect(32px, 224px, 64px, 192px);
}
radio[pane="prefpane-tree"] {
list-style-image: url("chrome://treestyletab/content/res/icon32.png");
}
label.scale-label {
min-width: 0;