-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
fccdd28
commit 7859df4
Showing
31 changed files
with
568 additions
and
336 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<?xml version="1.0"?> | ||
<!-- prettier-ignore --> | ||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> | ||
<!-- prettier-ignore --> | ||
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?> | ||
<!-- prettier-ignore --> | ||
<?xml-stylesheet href="chrome://zotero-platform/content/zotero.css" type="text/css"?> | ||
<!-- prettier-ignore --> | ||
<?xml-stylesheet href="chrome://__addonRef__/content/styles/exportNotes.css" type="text/css"?> | ||
<!-- prettier-ignore --> | ||
<!DOCTYPE window> | ||
<window | ||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | ||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" | ||
xmlns:html="http://www.w3.org/1999/xhtml" | ||
id="bn-export-notes" | ||
data-l10n-id="title" | ||
windowtype="__addonRef__-export-notes" | ||
persist="screenX screenY width height sizemode" | ||
style="min-width: 10em" | ||
drawintitlebar-platforms="mac" | ||
> | ||
<xul:linkset> | ||
<html:link rel="localization" href="browser/menubar.ftl" /> | ||
<html:link rel="localization" href="browser/browserSets.ftl" /> | ||
<html:link rel="localization" href="toolkit/global/textActions.ftl" /> | ||
<html:link rel="localization" href="zotero.ftl" /> | ||
<html:link rel="localization" href="__addonRef__-exportNotes.ftl" /> | ||
</xul:linkset> | ||
|
||
<xul:commandset id="mainCommandSet"> | ||
<xul:command id="cmd_close" oncommand="window.close();" /> | ||
</xul:commandset> | ||
<xul:keyset id="mainKeyset"> | ||
<xul:key | ||
id="key_close" | ||
data-l10n-id="close-shortcut" | ||
command="cmd_close" | ||
modifiers="accel" | ||
reserved="true" | ||
/> | ||
</xul:keyset> | ||
|
||
<script src="chrome://zotero/content/include.js"></script> | ||
<script src="chrome://zotero/content/titlebar.js"></script> | ||
<script src="chrome://zotero/content/customElements.js"></script> | ||
<script src="chrome://__addonRef__/content/scripts/exportNotes.js"></script> | ||
|
||
<dialog | ||
buttons="accept, cancel, extra1" | ||
buttonlabelextra1="Use System Export..." | ||
> | ||
<vbox> | ||
<hbox> | ||
<label id="target" data-l10n-id="target"></label> | ||
</hbox> | ||
<hbox align="center"> | ||
<label data-l10n-id="format" for="format"></label> | ||
<menulist id="format" native="true"> | ||
<menupopup> | ||
<menuitem | ||
value="markdown" | ||
data-l10n-id="format-markdown" | ||
></menuitem> | ||
<menuitem value="msword" data-l10n-id="format-msword"></menuitem> | ||
<menuitem value="pdf" data-l10n-id="format-pdf"></menuitem> | ||
<menuitem | ||
value="freemind" | ||
data-l10n-id="format-freemind" | ||
></menuitem> | ||
<menuitem value="note" data-l10n-id="format-note"></menuitem> | ||
</menupopup> | ||
</menulist> | ||
</hbox> | ||
<vbox> | ||
<radiogroup id="linkMode" orient="vertical"> | ||
<radio value="keep" data-l10n-id="links-keep"></radio> | ||
<radio value="embed" data-l10n-id="links-embed"></radio> | ||
<radio value="standalone" data-l10n-id="links-standalone"></radio> | ||
<!-- <radio value="remove" data-l10n-id="links-remove"></radio> --> | ||
</radiogroup> | ||
</vbox> | ||
<vbox id="markdown-options"> | ||
<checkbox | ||
id="markdown-autoSync" | ||
data-l10n-id="markdown-autoSync" | ||
native="true" | ||
></checkbox> | ||
<checkbox | ||
id="markdown-withYAMLHeader" | ||
data-l10n-id="markdown-withYAMLHeader" | ||
native="true" | ||
></checkbox> | ||
<checkbox | ||
id="markdown-autoFilename" | ||
data-l10n-id="markdown-autoFilename" | ||
native="true" | ||
></checkbox> | ||
</vbox> | ||
</vbox> | ||
</dialog> | ||
</window> |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
dialog { | ||
-moz-window-dragging: drag; | ||
} | ||
|
||
#markdown-autoSync { | ||
margin-inline-start: 18px; | ||
margin-block-end: 24px; | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
title = | ||
.title = Export Notes with Better Notes | ||
target = | ||
.value = Target: {$title}{ $left -> | ||
[0]{ "" } | ||
*[other] { " " }and {$left} more. | ||
} | ||
format = | ||
.value = Format: | ||
format-markdown = | ||
.label = MarkDown(.md) | ||
format-msword = | ||
.label = MS Word(.docx) | ||
format-pdf = | ||
.label = PDF(.pdf) | ||
format-freemind = | ||
.label = Mind Map | ||
format-note = | ||
.label = Zotero Note | ||
links-keep = | ||
.label = Keep note links(zotero://note/) | ||
links-embed = | ||
.label = Embed linked notes in the content | ||
links-standalone = | ||
.label = Convert linked notes to standalone exports | ||
links-remove = | ||
.label = Remove note links | ||
markdown-autoSync = | ||
.label = Set auto-sync for each note | ||
.title = Auto-sync is available for "Convert linked notes to standalone exports" mode. | ||
markdown-withYAMLHeader = | ||
.label = With YAML header | ||
markdown-autoFilename = | ||
.label = Auto generate file name |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
title = | ||
.title = Esporta Note con Better Notes | ||
target = | ||
.value = Destinazione: {$title}{ $left -> | ||
[0]{ "" } | ||
*[other] { " " }e {$left} in più. | ||
} | ||
format = | ||
.value = Formato: | ||
format-markdown = | ||
.label = MarkDown(.md) | ||
format-msword = | ||
.label = MS Word(.docx) | ||
format-pdf = | ||
.label = PDF(.pdf) | ||
format-freemind = | ||
.label = Mappa Mentale | ||
format-note = | ||
.label = Nota Zotero | ||
links-keep = | ||
.label = Mantieni collegamenti alle note(zotero://note/) | ||
links-embed = | ||
.label = Incorpora note collegate nel contenuto | ||
links-standalone = | ||
.label = Converti note collegate in esportazioni autonome | ||
links-remove = | ||
.label = Rimuovi collegamenti alle note | ||
markdown-autoSync = | ||
.label = Imposta sincronizzazione automatica per ogni nota | ||
.title = La sincronizzazione automatica è disponibile per la modalità "Converti note collegate in esportazioni autonome". | ||
markdown-withYAMLHeader = | ||
.label = Con intestazione YAML | ||
markdown-autoFilename = | ||
.label = Genera automaticamente il nome del file |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
title = | ||
.title = Экспорт заметок с Better Notes | ||
target = | ||
.value = Цель: {$title}{ $left -> | ||
[0]{ "" } | ||
*[other] { " " }и еще {$left}. | ||
} | ||
format = | ||
.value = Формат: | ||
format-markdown = | ||
.label = MarkDown(.md) | ||
format-msword = | ||
.label = MS Word(.docx) | ||
format-pdf = | ||
.label = PDF(.pdf) | ||
format-freemind = | ||
.label = Карта разума | ||
format-note = | ||
.label = Заметка Zotero | ||
links-keep = | ||
.label = Сохранить ссылки на заметки(zotero://note/) | ||
links-embed = | ||
.label = Встроить связанные заметки в содержимое | ||
links-standalone = | ||
.label = Преобразовать связанные заметки в автономные экспорты | ||
links-remove = | ||
.label = Удалить ссылки на заметки | ||
markdown-autoSync = | ||
.label = Установить авто-синхронизацию для каждой заметки | ||
.title = Авто-синхронизация доступна в режиме "Преобразовать связанные заметки в автономные экспорты". | ||
markdown-withYAMLHeader = | ||
.label = С YAML заголовком | ||
markdown-autoFilename = | ||
.label = Автоматически генерировать имя файла |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.