Skip to content

Commit

Permalink
fix: item menu jigging
Browse files Browse the repository at this point in the history
add: new add-on icon
  • Loading branch information
xiangyu committed Mar 16, 2022
1 parent 4da9522 commit f33397f
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 18 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Zotero Tag
This is an add-on for [Zotero](https://www.zotero.org/) that enables automatic add tags for items.
*One add-on to rule Tags all.*
Manage all your Tags in one [Zotero](https://www.zotero.org/) add-on.
- Automatically add `/unread` tag for new items and remove `/unread` after read
- Support batch processing with tags
- Manage tags with custom rules


# Quick Start Guide

Expand Down Expand Up @@ -55,7 +60,7 @@ make VERSION=0.0.1
````

## Disclaimer
Use this code at your own peril. No warranties are provided. Keep the laws of your
Use this code under AGPL License. No warranties are provided. Keep the laws of your
locality in mind!

Part of the code of this repo refers to other open-source projects within the allowed scope.
Expand Down
3 changes: 1 addition & 2 deletions chrome/content/overlay.xul
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
</popup>

<popup
id="zotero-itemmenu"
onpopupshowing="ZoteroPane.buildItemContextMenu();">
id="zotero-itemmenu">
<menuseparator/>
<menuitem
id="zotero-itemmenu-zoterotag-add"
Expand Down
16 changes: 8 additions & 8 deletions chrome/locale/en-US/overlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<!ENTITY zotero.zoterotag.updateAll.label "Update All Tags">
<!ENTITY zotero.zoterotag.updateCollection.label "Update Collection Tags">

<!ENTITY zotero.zoterotag.rules.title "Rules Management">
<!ENTITY zotero.zoterotag.rules.title "Rules">
<!ENTITY zotero.zoterotag.rules.listheader.id "ID">
<!ENTITY zotero.zoterotag.rules.listheader.tags "Tags">
<!ENTITY zotero.zoterotag.rules.listheader.autoadd "Auto-Add">
<!ENTITY zotero.zoterotag.rules.listheader.autoremove "Remove After Read">
<!ENTITY zotero.zoterotag.rules.listheader.autoadd "Auto-Tag">
<!ENTITY zotero.zoterotag.rules.listheader.autoremove "Read-Untag">
<!ENTITY zotero.zoterotag.rules.listheader.group "Group">
<!ENTITY zotero.zoterotag.rules.listheader.operation "Operation">
<!ENTITY zotero.zoterotag.rules.listheader.delete "Delete">
Expand All @@ -25,9 +25,9 @@

<!ENTITY zotero.zoterotag.help.title.label "Help">
<!ENTITY zotero.zoterotag.help.rules.caption.label "Rules">
<!ENTITY zotero.zoterotag.rules.info.1.label "All rules can be added/removed using shortcut keys;">
<!ENTITY zotero.zoterotag.rules.info.2.label "Rules in group 1, 2, and 3 can also be controlled through the right-click menu;">
<!ENTITY zotero.zoterotag.rules.info.3.label "You can set automatic addition for different rules;">
<!ENTITY zotero.zoterotag.rules.info.1.label "Tag groups can be added/removed using shortcut keys;">
<!ENTITY zotero.zoterotag.rules.info.2.label "Group 1, 2, and 3 can also be controlled through the right-click menu;">
<!ENTITY zotero.zoterotag.rules.info.3.label "You can set Auto-Tag/Read-Untag for different rules;">
<!ENTITY zotero.zoterotag.rules.info.4.label "Split different tags by ','(comma) and manage them in one rule;">
<!ENTITY zotero.zoterotag.rules.info.5.label "Example: rule 2 contains 'tag1, tag2, tag3', and all three tags can be managed in rule 2.">
<!ENTITY zotero.zoterotag.help.shortcuts.caption.label "Shortcut Keys">
Expand All @@ -39,5 +39,5 @@
<!ENTITY zotero.zoterotag.help.feedback.caption.label "Feedback">
<!ENTITY zotero.zoterotag.help.feedback.label "github">

<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag VERSION 0.1.1">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-10 18:38:34">
<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag VERSION 0.1.3">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-16 19:35:44">
6 changes: 3 additions & 3 deletions chrome/locale/zh-CN/overlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!ENTITY zotero.zoterotag.updateAll.label "更新所有标签">
<!ENTITY zotero.zoterotag.updateCollection.label "更新分类下所有标签">

<!ENTITY zotero.zoterotag.rules.title "规则管理">
<!ENTITY zotero.zoterotag.rules.title "规则">
<!ENTITY zotero.zoterotag.rules.listheader.id "序号">
<!ENTITY zotero.zoterotag.rules.listheader.tags "标签">
<!ENTITY zotero.zoterotag.rules.listheader.autoadd "自动添加">
Expand Down Expand Up @@ -39,5 +39,5 @@
<!ENTITY zotero.zoterotag.help.feedback.caption.label "意见反馈">
<!ENTITY zotero.zoterotag.help.feedback.label "github">

<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag 版本 0.1.1">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-10 18:38:34">
<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag 版本 0.1.3">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-16 19:35:44">
Binary file modified chrome/skin/default/zoterotag/add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified chrome/skin/default/zoterotag/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified chrome/skin/default/zoterotag/remove.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
RDF:about="urn:mozilla:install-manifest"
em:id="zoterotag@euclpts.com"
em:name="Zotero Tag"
em:version="0.1.1"
em:version="0.1.3"
em:type="2"
em:creator="windingwind"
em:description="Zotero plugin for automatically add tag for an added item."
em:description="One add-on to rule Tags all."
em:homepageURL="https://github.com/windingwind/zotero-tag"
em:iconURL="chrome://zoterotag/skin/favicon.png"
em:updateURL="https://raw.githubusercontent.com/windingwind/zotero-tag/master/update.rdf">>
<em:type>2</em:type>
<em:targetApplication RDF:resource="rdf:#$x61SL3"/>
Expand Down
2 changes: 1 addition & 1 deletion update.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<rdf:Seq>
<rdf:li>
<rdf:Description>
<em:version>0.1.1</em:version>
<em:version>0.1.3</em:version>
<em:targetApplication>
<rdf:Description>
<em:id>zotero@chnm.gmu.edu</em:id>
Expand Down

0 comments on commit f33397f

Please sign in to comment.