Skip to content

Commit

Permalink
1.1 修正语言包为英语和简体中文
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Jul 18, 2014
1 parent 86e7c74 commit 360990e
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 9 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
- 需要有 WizBrother Wiz Plugin 2.0 扩展。
- 默认忽略 .ttf 结尾的字体文件。在某些站点 Scrapbook 会保存字体,会让导出到 Wiz 的文件偏大。

安装地址:https://github.com/ywzhaiqi/ExportScrapbookToWiz/releases
### 地址及镜像

- [ExportScrapbookToWiz :: Firefox 附加组件](https://addons.mozilla.org/zh-cn/firefox/addon/exportscrapbooktowiz/)
- [github](https://github.com/ywzhaiqi/ExportScrapbookToWiz)[安装包地址](https://github.com/ywzhaiqi/ExportScrapbookToWiz/releases)
- [卡饭论坛](http://bbs.kafan.cn/thread-1756913-1-1.html)
- [Mozilla 社区](http://g.mozest.com/thread-44774-1-1)

![menu.png](menu.png)

Expand Down
2 changes: 2 additions & 0 deletions src/chrome.manifest
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
content exportscrapbooktowiz chrome/content/
skin exportscrapbooktowiz classic/1.0 chrome/skin/
locale exportscrapbooktowiz en-US chrome/locale/en-US/
locale exportscrapbooktowiz zh-CN chrome/locale/zh-CN/

overlay chrome://scrapbook/content/tree.xul chrome://exportscrapbooktowiz/content/scrapbook-sidebar.xul
4 changes: 2 additions & 2 deletions src/chrome/content/scrapbook-sidebar.xul
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type"text/css" ?>
<!DOCTYPE page SYSTEM "chrome://exportscrapbooktowiz/locale/overlay.dtd">
<!DOCTYPE page SYSTEM "chrome://exportscrapbooktowiz/locale/sidebar.dtd">

<overlay id="exportscrapbooktowizSidebar" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="scrapbook-sidebar.js"/>

<menupopup id="sbPopupToolsMenu">
<menuitem id="sbPopupExportToWiz" label="导出到 Wiz" oncommand="ExportToWiz.export();" />
<menuitem id="sbPopupExportToWiz" label="&sidebar.exportToWiz;" oncommand="ExportToWiz.export();" />
</menupopup>
</overlay>
1 change: 0 additions & 1 deletion src/chrome/locale/en-US/overlay.dtd

This file was deleted.

4 changes: 0 additions & 4 deletions src/chrome/locale/en-US/overlay.properties
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
helloMessage=Hello World!
helloMessageTitle=Hello
prefMessage=Int Pref Value: %d
extensions.exportscrapbooktowiz@ywzhaiqi.description=description
1 change: 1 addition & 0 deletions src/chrome/locale/en-US/sidebar.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!ENTITY sidebar.exportToWiz "Export To Wiz">
Empty file.
1 change: 1 addition & 0 deletions src/chrome/locale/zh-CN/sidebar.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!ENTITY sidebar.exportToWiz "导出到 Wiz">
2 changes: 1 addition & 1 deletion src/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Description about="urn:mozilla:install-manifest">
<em:type>2</em:type> <!-- 2 : Extension -->
<em:id>exportscrapbooktowiz@ywzhaiqi</em:id>
<em:version>1.0</em:version>
<em:version>1.1</em:version>
<em:name>ExportScrapbookToWiz</em:name>
<em:description>导出 Scrapbook 条目到 Wiz</em:description>
<em:creator>ywzhaiqi</em:creator>
Expand Down

0 comments on commit 360990e

Please sign in to comment.