generated from windingwind/zotero-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fda48c
commit 2fc0b16
Showing
16 changed files
with
418 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,69 @@ | ||
<?xml-stylesheet href="chrome://zoplicate/content/zoteroPane.css"?> | ||
|
||
<linkset> | ||
<html:link rel="localization" href="__addonRef__-preferences.ftl" /> | ||
<html:link rel="localization" href="__addonRef__-preferences.ftl" /> | ||
</linkset> | ||
<vbox id="zotero-prefpane-__addonRef__" onload="Zotero.__addonInstance__.hooks.onPrefsEvent('load', {window})"> | ||
<label> | ||
|
||
<label> | ||
<html:h1>__addonName__</html:h1> | ||
</label> | ||
<groupbox> | ||
<label> | ||
<html:h2 data-l10n-id="pref-title"></html:h2> | ||
</label> | ||
|
||
<label data-l10n-id="pref-default-action-title" /> | ||
<!-- `preference="extensions.zotero.__addonRef__.default.action"` also works. --> | ||
<!-- Because __prefsPrefix__ = extensions.zotero.__addonRef__ in package.json--> | ||
<radiogroup | ||
id="zotero-prefpane-__addonRef__-default-action" | ||
preference="__prefsPrefix__.duplicate.default.action" | ||
orient="vertical"> | ||
<radio data-l10n-id="pref-default-action-keep-this" value="keep" /> | ||
<radio data-l10n-id="pref-default-action-keep-others" value="discard" /> | ||
<radio data-l10n-id="pref-default-action-keep-all" value="cancel" /> | ||
<radio data-l10n-id="pref-default-action-always-ask" value="ask" /> | ||
</radiogroup> | ||
</groupbox> | ||
</label> | ||
<vbox class="pref-section"> | ||
<groupbox> | ||
<label> | ||
<html:h1 data-l10n-id="pref-duplicate-detection-title"></html:h1> | ||
</label> | ||
|
||
<label> | ||
<html:h2 data-l10n-id="pref-action-title"></html:h2> | ||
</label> | ||
|
||
<label data-l10n-id="pref-default-action-description" /> | ||
<!-- `preference="extensions.zotero.__addonRef__.default.action"` also works. --> | ||
<!-- Because __prefsPrefix__ = extensions.zotero.__addonRef__ in package.json--> | ||
<radiogroup | ||
id="zotero-prefpane-__addonRef__-default-action" | ||
preference="__prefsPrefix__.duplicate.default.action" | ||
orient="vertical"> | ||
<radio data-l10n-id="pref-default-action-keep-this" value="keep" /> | ||
<radio data-l10n-id="pref-default-action-keep-others" value="discard" /> | ||
<radio data-l10n-id="pref-default-action-keep-all" value="cancel" /> | ||
<radio data-l10n-id="pref-default-action-always-ask" value="ask" /> | ||
</radiogroup> | ||
</groupbox> | ||
</vbox> | ||
|
||
|
||
<vbox class="pref-section"> | ||
<groupbox> | ||
<label> | ||
<html:h1 data-l10n-id="pref-bulk-merge-title"></html:h1> | ||
</label> | ||
<label> | ||
<html:h2 data-l10n-id="pref-master-item-title"></html:h2> | ||
</label> | ||
|
||
<label data-l10n-id="pref-master-item-description" /> | ||
<radiogroup | ||
id="zotero-prefpane-__addonRef__-master-item" | ||
preference="__prefsPrefix__.bulk.master.item" | ||
orient="vertical"> | ||
<radio data-l10n-id="pref-default-master-item-oldest" value="oldest" /> | ||
<radio data-l10n-id="pref-default-master-item-newest" value="newest" /> | ||
<radio data-l10n-id="pref-default-master-item-modified" value="modified" /> | ||
<radio data-l10n-id="pref-default-master-item-detailed" value="detailed" /> | ||
<!-- <radio data-l10n-id="pref-default-master-item-always-ask" value="ask" />--> | ||
|
||
</radiogroup> | ||
</groupbox> | ||
</vbox> | ||
|
||
<spacer height="20" /> | ||
</vbox> | ||
|
||
|
||
<spacer height="20" flex="1" /> | ||
<vbox> | ||
<html:label | ||
data-l10n-id="pref-help" | ||
data-l10n-args='{"time": "__buildTime__","name": "__addonName__","version":"__buildVersion__"}'></html:label> | ||
<html:label | ||
data-l10n-id="pref-help" | ||
data-l10n-args='{"time": "__buildTime__","name": "__addonName__","version":"__buildVersion__"}'></html:label> | ||
</vbox> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
/* Put your custom css style here */ | ||
/* Headers in subsections */ | ||
.pref-section { | ||
margin-top: 16px; | ||
border-top: 1px solid lightgray; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/* eslint-disable no-undef */ | ||
pref("__prefsPrefix__.duplicate.default.action", "ask"); | ||
pref("__prefsPrefix__.bulk.master.item", "oldest"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.