remove: unused fluent strings
This commit is contained in:
parent
3a42791729
commit
90ae072bf7
|
|
@ -1,13 +1,7 @@
|
|||
pref-title = BNotes
|
||||
|
||||
menuItem-setMainNote = As Workspace Note
|
||||
menuItem-exportNote = Export Note
|
||||
|
||||
menuFile-openMainNote = Choose and Open Workspace Note
|
||||
menuFile-openMainNote-error = Choosen item is not a valid note item
|
||||
menuFile-openRecent = Open Recent Workspace Note
|
||||
menuFile-openRecent-empty = No Recent Workspace Note
|
||||
|
||||
menuEdit-insertTemplate = Insert Template to Workspace Note
|
||||
menuEdit-exportTemplate = Export Template to File...
|
||||
menuEdit-templateEditor = Template Editor
|
||||
|
|
@ -15,11 +9,6 @@ menuEdit-importTemplate = New Template from Clipboard
|
|||
|
||||
menuTools-syncManager = Sync Manager
|
||||
|
||||
menuAddNote-newMainNote = New Workspace Note
|
||||
menuAddNote-newMainNote-confirmHead = Will create a new note in collection
|
||||
menuAddNote-newMainNote-confirmTail = and set it the workspace note. Continue?
|
||||
menuAddNote-newMainNote-enterNoteTitle = Enter new note title:
|
||||
menuAddNote-newMainNote-openWorkspaceTab = Open note workspace now?
|
||||
menuAddNote-newTemplateStandaloneNote = New Standalone Note from Template
|
||||
menuAddNote-newTemplateItemNote = New Item Note from Template
|
||||
menuAddNote-importMD = Import MarkDown File as Note
|
||||
|
|
@ -34,9 +23,6 @@ editor-resizeImage-title = Resize Image
|
|||
editor-resizeImage-prompt = Resize image width to:
|
||||
editor-previewImage-title = Preview Image
|
||||
|
||||
tab-name = Note Workspace
|
||||
tab-openInWindow = Drag and drop here to open workspace in new window
|
||||
|
||||
syncManager-noteName = Note Name
|
||||
syncManager-lastSync = Last Sync
|
||||
syncManager-filePath = MarkDown Path
|
||||
|
|
@ -63,7 +49,6 @@ sync-running-hint-finish = Finish
|
|||
sync-running-hint-synced = Synced
|
||||
sync-running-hint-upToDate = Up To Date
|
||||
|
||||
workspace-notesPane-hint = PDF NotePane is not accesible if no PDF files are opened.
|
||||
workspace-switchOutline = Swith Outline Mode
|
||||
workspace-saveOutlineImage = Save Image
|
||||
workspace-saveOutlineFreeMind = Save MindMap
|
||||
|
|
@ -72,12 +57,8 @@ workspace-emptyWorkspaceGuideOpen = Choose a note to open
|
|||
workspace-emptyWorkspaceGuideOr = or
|
||||
workspace-emptyWorkspaceGuideCreate = Create a new note
|
||||
|
||||
editor-toolbar-main = Workspace Note
|
||||
editor-toolbar-settings-title = Workspace Settings
|
||||
editor-toolbar-settings-openAsTab = Open as tab
|
||||
editor-toolbar-settings-openAsWindow = Open as window
|
||||
editor-toolbar-settings-setWorkspace = Set as Workspace Note
|
||||
editor-toolbar-settings-previewInWorkspace = Preview in Workspace
|
||||
editor-toolbar-settings-showInLibrary = Show in Library
|
||||
editor-toolbar-settings-insertTemplate = Insert template
|
||||
editor-toolbar-settings-copyLink = Copy link (L{ $line })
|
||||
|
|
@ -86,8 +67,6 @@ editor-toolbar-settings-openParent = Open Attachment
|
|||
editor-toolbar-settings-export = Export Current Note...
|
||||
editor-toolbar-settings-refreshSyncing = Sync Now
|
||||
editor-toolbar-settings-updateRelatedNotes = Update Related Notes
|
||||
editor-toolbar-link-title = Link current note to workspace
|
||||
editor-toolbar-link-popup-nodata = Workspace note is invalid
|
||||
|
||||
templatePicker-itemData-info = are selected in library. Please choose the data source:
|
||||
templatePicker-itemData-useLibrary = Use selected items in library
|
||||
|
|
@ -96,5 +75,4 @@ templatePicker-itemData-title = Choose Item Template Data Source
|
|||
|
||||
alert-notValidCollectionError = Please select a valid collection.
|
||||
alert-notValidParentItemError = No valid parent item.
|
||||
alert-notValidWorkspaceNote = Workspace note is not set. Create one?
|
||||
alert-syncImportedNotes = Keep imported notes in sync with MarkDown files?
|
||||
|
|
|
|||
|
|
@ -1,13 +1,7 @@
|
|||
pref-title = BNotes
|
||||
|
||||
menuItem-setMainNote = Come nota di lavoro
|
||||
menuItem-exportNote = Esporta nota
|
||||
|
||||
menuFile-openMainNote = Scegli e apri nota di lavoro
|
||||
menuFile-openMainNote-error = L'elemento selezionato non è un elemento nota valido
|
||||
menuFile-openRecent = Apri nota di lavoro recente
|
||||
menuFile-openRecent-empty = Nessuna nota di lavoro recente
|
||||
|
||||
menuEdit-insertTemplate = Inserisci template nella nota di lavoro
|
||||
menuEdit-exportTemplate = Esporta il template su file...
|
||||
menuEdit-templateEditor = Editor dei template
|
||||
|
|
@ -15,11 +9,6 @@ menuEdit-importTemplate = Nuovo template dagli appunti
|
|||
|
||||
menuTools-syncManager = Manager di sincronizzazione
|
||||
|
||||
menuAddNote-newMainNote = Nuova nota di lavoro
|
||||
menuAddNote-newMainNote-confirmHead = Verrà creata una nuova nota nella collezione
|
||||
menuAddNote-newMainNote-confirmTail = e impostata come nota di lavoro. Continuare?
|
||||
menuAddNote-newMainNote-enterNoteTitle = Inserire il titolo della nuova nota:
|
||||
menuAddNote-newMainNote-openWorkspaceTab = Aprire la nota di lavoro?
|
||||
menuAddNote-newTemplateStandaloneNote = Nuova nota indipendente da template
|
||||
menuAddNote-newTemplateItemNote = Nuova nota dell'elemento da template
|
||||
menuAddNote-importMD = Importa file MarkDown come nota
|
||||
|
|
@ -30,9 +19,6 @@ menuEditor-resizeImage = Ridimensiona immagine
|
|||
|
||||
templateEditor-templateName = Nome template
|
||||
|
||||
tab-name = Spazio di lavoro della nota
|
||||
tab-openInWindow = Trascina qui per aprire lo spazio di lavoro in una nuova finestra
|
||||
|
||||
syncManager-noteName = Nome nota
|
||||
syncManager-lastSync = Ultima sincronizzazione
|
||||
syncManager-filePath = Percorso MarkDown
|
||||
|
|
@ -59,7 +45,6 @@ sync-running-hint-finish = Terminato
|
|||
sync-running-hint-synced = Sincronizzato
|
||||
sync-running-hint-upToDate = Aggiornato
|
||||
|
||||
workspace-notesPane-hint = Il pannello delle note dei PDF non è accesibile se non è aperto alcun file PDF.
|
||||
workspace-switchOutline = Cambia modalità dello schema
|
||||
workspace-saveOutlineImage = Salva immagine
|
||||
workspace-saveOutlineFreeMind = Salva mappa mentale
|
||||
|
|
@ -68,12 +53,8 @@ workspace-emptyWorkspaceGuideOpen = Scegli una nota da aprire
|
|||
workspace-emptyWorkspaceGuideOr = o
|
||||
workspace-emptyWorkspaceGuideCreate = Crea una nuova nota
|
||||
|
||||
editor-toolbar-main = Nota di lavoro
|
||||
editor-toolbar-settings-title = Impostazioni dello spazio di lavoro
|
||||
editor-toolbar-settings-openAsTab = Open as tab
|
||||
editor-toolbar-settings-openAsWindow = Open as window
|
||||
editor-toolbar-settings-setWorkspace = Imposta come nota di lavoro
|
||||
editor-toolbar-settings-previewInWorkspace = Anteprima nello spazio di lavoro
|
||||
editor-toolbar-settings-showInLibrary = Show in Library
|
||||
editor-toolbar-settings-insertTemplate = Inserisci template
|
||||
editor-toolbar-settings-copyLink = Copia link (L{ $line })
|
||||
|
|
@ -82,8 +63,6 @@ editor-toolbar-settings-openParent = Apri allegato
|
|||
editor-toolbar-settings-export = Esporta nota corrente...
|
||||
editor-toolbar-settings-refreshSyncing = Sincronizza ora
|
||||
editor-toolbar-settings-updateRelatedNotes = Aggiorna note correlate
|
||||
editor-toolbar-link-title = Collega la nota corrente alla nota di lavoro
|
||||
editor-toolbar-link-popup-nodata = La nota di lavoro non è valida
|
||||
|
||||
templatePicker-itemData-info = sono in uso nella biblioteca. Si prega di selezionare la sorgente dei dati:
|
||||
templatePicker-itemData-useLibrary = Usa gli elementi selezionati nella biblioteca
|
||||
|
|
@ -92,5 +71,4 @@ templatePicker-itemData-title = Scegli la sorgente dei dati del template dell'el
|
|||
|
||||
alert-notValidCollectionError = Si prega di scegliere una collezione valida.
|
||||
alert-notValidParentItemError = Nessun elemento genitore valido.
|
||||
alert-notValidWorkspaceNote = La nota di lavoro non è impostata. Si desidera crearne una?
|
||||
alert-syncImportedNotes = Si desidera sincronizzare le note importate con i file markdown?
|
||||
|
|
|
|||
|
|
@ -1,13 +1,7 @@
|
|||
pref-title=BNotes
|
||||
|
||||
menuItem-setMainNote=Как заметка раб. пространства
|
||||
menuItem-exportNote=Экспорт заметки
|
||||
|
||||
menuFile-openMainNote = Выбрать и Открыть Заметку раб. пространства
|
||||
menuFile-openMainNote-error = Выбрана невалидная Заметка
|
||||
menuFile-openRecent = Открыть недавнюю Заметку раб. пространства
|
||||
menuFile-openRecent-empty = Нет недавних Заметок раб. пространства
|
||||
|
||||
menuEdit-insertTemplate=Вставить шаблон в Заметку раб. пространства
|
||||
menuEdit-exportTemplate=Экспорт шаблона в файл...
|
||||
menuEdit-templateEditor=Редактор шаблонов
|
||||
|
|
@ -15,11 +9,6 @@ menuEdit-importTemplate=Новый шаблон из буфера обмена
|
|||
|
||||
menuTools-syncManager=Синк менеджер
|
||||
|
||||
menuAddNote-newMainNote=Новая Заметка раб. пространства
|
||||
menuAddNote-newMainNote-confirmHead=Создать новую Заметку в коллекции
|
||||
menuAddNote-newMainNote-confirmTail=и установить её как Заметку раб. пространства. Продолжить?
|
||||
menuAddNote-newMainNote-enterNoteTitle=Ввести имя новой Заметки:
|
||||
menuAddNote-newMainNote-openWorkspaceTab=Открыть Пространство заметок?
|
||||
menuAddNote-newTemplateStandaloneNote=Новая отдельная Заметка из шаблона
|
||||
menuAddNote-newTemplateItemNote=Новая элементная Заметка из шаблона
|
||||
menuAddNote-importMD = Импорт файла MarkDown в качестве примечания
|
||||
|
|
@ -34,9 +23,6 @@ editor-resizeImage-title = Resize Image
|
|||
editor-resizeImage-prompt = Resize image width to:
|
||||
editor-previewImage-title = Preview Image
|
||||
|
||||
tab-name=Рабочее пространство заметок
|
||||
tab-openInWindow=Перетащите сюда для открытия раб. пространства в новом окне
|
||||
|
||||
syncManager-noteName=Имя заметки
|
||||
syncManager-lastSync=Последний Синк
|
||||
syncManager-filePath=MarkDown путь
|
||||
|
|
@ -63,7 +49,6 @@ sync-running-hint-finish=Финиш
|
|||
sync-running-hint-synced=Синхронизировано
|
||||
sync-running-hint-upToDate=Обновить
|
||||
|
||||
workspace-notesPane-hint=PDF панель заметок недоступна если PDF файлы не открыты.
|
||||
workspace-switchOutline=Переключить режим Набросок
|
||||
workspace-saveOutlineImage=Сохранить изображение
|
||||
workspace-saveOutlineFreeMind=Сохранить MindMap
|
||||
|
|
@ -72,12 +57,8 @@ workspace-emptyWorkspaceGuideOpen = Choose a note to open
|
|||
workspace-emptyWorkspaceGuideOr = or
|
||||
workspace-emptyWorkspaceGuideCreate = Create a new note
|
||||
|
||||
editor-toolbar-main=Заметка рабочего пространства
|
||||
editor-toolbar-settings-title=Настройки рабочего пространства
|
||||
editor-toolbar-settings-openAsTab = Open as tab
|
||||
editor-toolbar-settings-openAsWindow = Open as window
|
||||
editor-toolbar-settings-setWorkspace=Установить как Заметку раб. пространства
|
||||
editor-toolbar-settings-previewInWorkspace=Предпросмотр в рабочем пространстве
|
||||
editor-toolbar-settings-showInLibrary = Show in Library
|
||||
editor-toolbar-settings-insertTemplate=Вставить шаблон
|
||||
editor-toolbar-settings-copyLink = Копировать Ссылку (L{ $line })
|
||||
|
|
@ -86,8 +67,6 @@ editor-toolbar-settings-openParent=Открыть вложение
|
|||
editor-toolbar-settings-export=Экспортировать текущую заметку...
|
||||
editor-toolbar-settings-refreshSyncing=Синхронизировать сейчас
|
||||
editor-toolbar-settings-updateRelatedNotes = Update Related Notes
|
||||
editor-toolbar-link-title=Ссылка текущей заметки в рабочее пространство
|
||||
editor-toolbar-link-popup-nodata=Невалидная Заметка раб. пространства
|
||||
|
||||
templatePicker-itemData-info=выбрано в библиотеке. Выберите источник данных:
|
||||
templatePicker-itemData-useLibrary=Использовать выбранные записи в библиотеке
|
||||
|
|
@ -96,5 +75,4 @@ templatePicker-itemData-title=Выбрать источник данных ша
|
|||
|
||||
alert-notValidCollectionError=Выберите валидную коллекцию.
|
||||
alert-notValidParentItemError=Нет валидного родительского элемента.
|
||||
alert-notValidWorkspaceNote=Заметка рабочего пространства не установлена. Создать?
|
||||
alert-syncImportedNotes = Синхронизировать импортированные заметки с файлами MarkDown?
|
||||
|
|
|
|||
|
|
@ -1,13 +1,7 @@
|
|||
pref-title = BNotes
|
||||
|
||||
menuItem-setMainNote = Çalışma Alanı Notu Olarak
|
||||
menuItem-exportNote = Notu Dışa Aktar
|
||||
|
||||
menuFile-openMainNote = Çalışma Alanı Notunu Seç ve Aç
|
||||
menuFile-openMainNote-error = Seçilen öge geçerli bir not ögesi değil
|
||||
menuFile-openRecent = Önceki Çalışma Alanı Notunu Aç
|
||||
menuFile-openRecent-empty = Geçmiş Çalışma Alanı Notu Yok
|
||||
|
||||
menuEdit-insertTemplate = Çalışma Alanı Notu İçerisine Şablon Yerleştir
|
||||
menuEdit-exportTemplate = Şablonu Dosya Olarak Dışa Aktar...
|
||||
menuEdit-templateEditor = Şablon Düzenleyici
|
||||
|
|
@ -15,11 +9,6 @@ menuEdit-importTemplate = Panodan Yeni Şablon Al
|
|||
|
||||
menuTools-syncManager = Senkronizasyon Yönetimi
|
||||
|
||||
menuAddNote-newMainNote = Yeni Çalışma Alanı Notu
|
||||
menuAddNote-newMainNote-confirmHead = Koleksiyon içerisinde yeni bir not oluşturulacak
|
||||
menuAddNote-newMainNote-confirmTail = ve çalışma alanı notu olarak ayarlanacak. Devam edilsin mi?
|
||||
menuAddNote-newMainNote-enterNoteTitle = Yeni bir not başlığı girin:
|
||||
menuAddNote-newMainNote-openWorkspaceTab = Not Çalışma Alanı Açılsın mı?
|
||||
menuAddNote-newTemplateStandaloneNote = Şablondan Yeni Bağımsız Not
|
||||
menuAddNote-newTemplateItemNote = Şablondan Yeni Öge Notu
|
||||
menuAddNote-importMD = Markdown Dosyasını Not Olarak İçe Aktar
|
||||
|
|
@ -34,9 +23,6 @@ editor-resizeImage-title = Resmi Boyutlandır
|
|||
editor-resizeImage-prompt = Resmi Şuna Boyutlandır:
|
||||
editor-previewImage-title = Resmi Önizle
|
||||
|
||||
tab-name = Not Çalışma Alanı
|
||||
tab-openInWindow = Çalışma alanını yeni bir pencerede açmak için buraya sürükleyip bırakın
|
||||
|
||||
syncManager-noteName = Not Adı
|
||||
syncManager-lastSync = Son Senkronizasyon
|
||||
syncManager-filePath = MarkDown Yolu
|
||||
|
|
@ -63,7 +49,6 @@ sync-running-hint-finish = Bitir
|
|||
sync-running-hint-synced = Senkronize Edildi
|
||||
sync-running-hint-upToDate = Güncel
|
||||
|
||||
workspace-notesPane-hint = Hiçbir PDF Dosyası açık değilse PDF Not Paneline Erişilemez.
|
||||
workspace-switchOutline = Anahat Moduna Geç
|
||||
workspace-saveOutlineImage = Resmi Kaydet
|
||||
workspace-saveOutlineFreeMind = Zihin Haritasını Kaydet
|
||||
|
|
@ -72,12 +57,8 @@ workspace-emptyWorkspaceGuideOpen = Açmak için bir not seçin
|
|||
workspace-emptyWorkspaceGuideOr = ya da
|
||||
workspace-emptyWorkspaceGuideCreate = Yeni bir not oluşturun
|
||||
|
||||
editor-toolbar-main = Çalışma Alanı Notu
|
||||
editor-toolbar-settings-title = Çalışma Alanı Ayarları
|
||||
editor-toolbar-settings-openAsTab = Open as tab
|
||||
editor-toolbar-settings-openAsWindow = Open as window
|
||||
editor-toolbar-settings-setWorkspace = Çalışma Alanı Notu Olarak Ayarla
|
||||
editor-toolbar-settings-previewInWorkspace = Çalışma Alanında Ön İzle Preview in Workspace
|
||||
editor-toolbar-settings-showInLibrary = Show in Library
|
||||
editor-toolbar-settings-insertTemplate = Insert template
|
||||
editor-toolbar-settings-copyLink = Copy link (L{ $line })
|
||||
|
|
@ -86,8 +67,6 @@ editor-toolbar-settings-openParent = Eki Aç
|
|||
editor-toolbar-settings-export = Bu Notu Dışa Aktar...
|
||||
editor-toolbar-settings-refreshSyncing = Senkronize Et
|
||||
editor-toolbar-settings-updateRelatedNotes = Alakalı Notları Güncelle
|
||||
editor-toolbar-link-title = Şuanki notu çalışma alanına ilintile
|
||||
editor-toolbar-link-popup-nodata = Çalışma alanı notu geçersiz
|
||||
|
||||
templatePicker-itemData-info = kütphanede seçili. Lütfen veri kaynağı seçin:
|
||||
templatePicker-itemData-useLibrary = Seçili ögeleri kütüphanede kullan
|
||||
|
|
@ -96,5 +75,4 @@ templatePicker-itemData-title = Öge Şablonu İçin Veri Kaynağı Seç
|
|||
|
||||
alert-notValidCollectionError = Lütfen geçerli bir koleksiyon seçin.
|
||||
alert-notValidParentItemError = Geçerli üst öge yok.
|
||||
alert-notValidWorkspaceNote = Çalışma alanı notu yok. Yeni bir tane oluşturmak ister misiniz?
|
||||
alert-syncImportedNotes = İçe aktarılmış notları Markdown dosyalarıyla senkron tutmak ister misiniz?
|
||||
|
|
|
|||
|
|
@ -1,13 +1,7 @@
|
|||
pref-title=BNotes
|
||||
|
||||
menuItem-setMainNote=设为工作区主笔记
|
||||
menuItem-exportNote=导出笔记
|
||||
|
||||
menuFile-openMainNote = 设置并打开工作区笔记
|
||||
menuFile-openMainNote-error = 选择的条目不是有效的笔记条目
|
||||
menuFile-openRecent = 打开最近使用的工作区笔记
|
||||
menuFile-openRecent-empty = 无最近使用的工作区笔记
|
||||
|
||||
menuEdit-insertTemplate=插入模板到工作区笔记
|
||||
menuEdit-exportTemplate=运行模板并导出为文件...
|
||||
menuEdit-templateEditor=模板编辑器
|
||||
|
|
@ -15,11 +9,6 @@ menuEdit-importTemplate=从剪贴板导入笔记模板
|
|||
|
||||
menuTools-syncManager=同步管理器
|
||||
|
||||
menuAddNote-newMainNote=新建工作区笔记
|
||||
menuAddNote-newMainNote-confirmHead=将在当前分类
|
||||
menuAddNote-newMainNote-confirmTail=下创建新笔记并将它设为工作区笔记。确认继续吗?
|
||||
menuAddNote-newMainNote-enterNoteTitle=请输入新笔记的标题:
|
||||
menuAddNote-newMainNote-openWorkspaceTab=现在打开笔记工作区吗?
|
||||
menuAddNote-newTemplateStandaloneNote=从模板新建独立笔记
|
||||
menuAddNote-newTemplateItemNote=从模板新建条目子笔记
|
||||
menuAddNote-importMD = 导入MarkDown为笔记
|
||||
|
|
@ -34,9 +23,6 @@ editor-resizeImage-title = 缩放图片
|
|||
editor-resizeImage-prompt = 缩放图片宽度为:
|
||||
editor-previewImage-title = 预览图片
|
||||
|
||||
tab-name=笔记工作区
|
||||
tab-openInWindow=拖放到此处以在新窗口打开
|
||||
|
||||
syncManager-noteName=笔记名称
|
||||
syncManager-lastSync=最近同步
|
||||
syncManager-filePath=MarkDown路径
|
||||
|
|
@ -63,7 +49,6 @@ sync-running-hint-upToDate=已最新
|
|||
|
||||
fileInterface-sync=同步到
|
||||
|
||||
workspace-notesPane-hint=PDF笔记侧栏在没有PDF文件打开时不可访问-
|
||||
workspace-switchOutline=切换大纲模式
|
||||
workspace-saveOutlineImage=保存图片
|
||||
workspace-saveOutlineFreeMind=保存思维导图
|
||||
|
|
@ -72,12 +57,8 @@ workspace-emptyWorkspaceGuideOpen = 打开现有笔记
|
|||
workspace-emptyWorkspaceGuideOr = 或
|
||||
workspace-emptyWorkspaceGuideCreate = 创建新笔记
|
||||
|
||||
editor-toolbar-main=工作区笔记
|
||||
editor-toolbar-settings-title=工作区选项
|
||||
editor-toolbar-settings-openAsTab = 在标签页中打开
|
||||
editor-toolbar-settings-openAsWindow = 在窗口中打开
|
||||
editor-toolbar-settings-setWorkspace=设为工作区笔记
|
||||
editor-toolbar-settings-previewInWorkspace=在工作区预览
|
||||
editor-toolbar-settings-showInLibrary = 在文库中显示
|
||||
editor-toolbar-settings-insertTemplate=插入模板到光标行
|
||||
editor-toolbar-settings-copyLink=复制当前行({ $line })笔记链接
|
||||
|
|
@ -86,8 +67,6 @@ editor-toolbar-settings-openParent=打开附件
|
|||
editor-toolbar-settings-export=导出当前笔记...
|
||||
editor-toolbar-settings-refreshSyncing=立即同步
|
||||
editor-toolbar-settings-updateRelatedNotes = 更新关联笔记
|
||||
editor-toolbar-link-title=链接当前笔记到工作区
|
||||
editor-toolbar-link-popup-nodata=工作区笔记不可用
|
||||
|
||||
templatePicker-itemData-info=在文库中被选中。请选择模板数据源:
|
||||
templatePicker-itemData-useLibrary=使用文库中选中的条目
|
||||
|
|
@ -96,5 +75,4 @@ templatePicker-itemData-title=选择条目模板数据源
|
|||
|
||||
alert-notValidCollectionError=请选择一个有效的分类。
|
||||
alert-notValidParentItemError=无效的父条目。
|
||||
alert-notValidWorkspaceNote=工作区笔记未设置。创建一个吗?
|
||||
alert-syncImportedNotes = 保持导入的笔记与 MarkDown 文件同步?
|
||||
|
|
|
|||
|
|
@ -146,42 +146,6 @@ async function updateEditorLinkPopup(editor: Zotero.EditorInstance) {
|
|||
_window.document
|
||||
.querySelector(".link-popup")
|
||||
?.append(insertButton, updateButton, openButton);
|
||||
// if (linkPopup) {
|
||||
// if (Zotero.Prefs.get("Knowledge4Zotero.linkAction.preview") as boolean) {
|
||||
// let previewContainer =
|
||||
// _window.document.getElementById("note-link-preview");
|
||||
// if (previewContainer) {
|
||||
// previewContainer.remove();
|
||||
// }
|
||||
// previewContainer = ztoolkit.UI.createElement(
|
||||
// _window.document,
|
||||
// "div"
|
||||
// ) as HTMLDivElement;
|
||||
// previewContainer.id = "note-link-preview";
|
||||
// previewContainer.className = "ProseMirror primary-editor";
|
||||
// previewContainer.innerHTML =
|
||||
// await this._Addon.NoteParse.parseNoteStyleHTML(linkNote);
|
||||
// previewContainer.addEventListener("click", (e) => {
|
||||
// this._Addon.WorkspaceWindow.setWorkspaceNote("preview", linkNote);
|
||||
// });
|
||||
// linkPopup.append(previewContainer);
|
||||
// previewContainer.setAttribute(
|
||||
// "style",
|
||||
// `width: 98%;height: ${
|
||||
// linkPopup ? Math.min(linkPopup.offsetTop, 300) : 300
|
||||
// }px;position: absolute;background: white;bottom: 36px;overflow: hidden;box-shadow: 0 0 5px 5px rgba(0,0,0,0.2);border-radius: 5px;cursor: pointer;opacity: 0.9;`
|
||||
// );
|
||||
// previewContainer
|
||||
// .querySelector("div[data-schema-version]")
|
||||
// ?.childNodes.forEach((node) => {
|
||||
// if ((node as Element).setAttribute) {
|
||||
// (node as Element).setAttribute("style", "margin: 0");
|
||||
// } else {
|
||||
// node.remove();
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
} else {
|
||||
Array.from(_window.document.querySelectorAll(".link-popup-extra")).forEach(
|
||||
(elem) => elem.remove(),
|
||||
|
|
|
|||
|
|
@ -96,86 +96,6 @@ export function registerMenus() {
|
|||
const menuFileAnchor = document.querySelector(
|
||||
"#menu_newCollection",
|
||||
) as XUL.MenuItem;
|
||||
const recentMainNotesMenuId = "zotero-recent-main-notes-menu";
|
||||
const recentMainNotesMenuPopupId = "zotero-recent-main-notes-popup";
|
||||
const removeChildren = (parent: Element) => {
|
||||
while (parent.lastChild) {
|
||||
parent.removeChild(parent.lastChild);
|
||||
}
|
||||
};
|
||||
ztoolkit.Menu.register(
|
||||
"menuFile",
|
||||
{
|
||||
tag: "menu",
|
||||
id: recentMainNotesMenuId,
|
||||
label: getString("menuFile-openRecent"),
|
||||
icon: `chrome://${config.addonRef}/content/icons/favicon.png`,
|
||||
children: [],
|
||||
popupId: recentMainNotesMenuPopupId,
|
||||
},
|
||||
"after",
|
||||
menuFileAnchor,
|
||||
);
|
||||
|
||||
// document
|
||||
// .querySelector(`#${recentMainNotesMenuId}`)
|
||||
// ?.addEventListener("popupshowing", () => {
|
||||
// const popup = document.querySelector(`#${recentMainNotesMenuPopupId}`)!;
|
||||
// removeChildren(popup);
|
||||
// const children = Zotero.Items.get(
|
||||
// ((getPref("recentMainNoteIds") as string) || "")
|
||||
// .split(",")
|
||||
// .map((id) => parseInt(id))
|
||||
// .filter((id) => id !== addon.data.workspace.mainId),
|
||||
// )
|
||||
// .filter((item) => item.isNote())
|
||||
// .map((item) => ({
|
||||
// tag: "menuitem",
|
||||
// attributes: {
|
||||
// label: slice(
|
||||
// `${slice(item.getNoteTitle().trim() || item.key, 30)} - ${
|
||||
// item.parentItem
|
||||
// ? "📄" + item.parentItem.getField("title")
|
||||
// : "📁" +
|
||||
// Zotero.Collections.get(item.getCollections())
|
||||
// .map(
|
||||
// (collection) => (collection as Zotero.Collection).name,
|
||||
// )
|
||||
// .join(", ")
|
||||
// }`,
|
||||
// 200,
|
||||
// ),
|
||||
// },
|
||||
// listeners: [
|
||||
// {
|
||||
// type: "command",
|
||||
// listener: () => {
|
||||
// addon.hooks.onSetWorkspaceNote(item.id, "main");
|
||||
// addon.hooks.onOpenWorkspace();
|
||||
// },
|
||||
// },
|
||||
// ],
|
||||
// }));
|
||||
// const defaultChildren = [
|
||||
// {
|
||||
// tag: "menuitem",
|
||||
// attributes: {
|
||||
// label: getString("menuFile-openRecent-empty"),
|
||||
// disabled: true,
|
||||
// },
|
||||
// },
|
||||
// ];
|
||||
|
||||
// ztoolkit.UI.appendElement(
|
||||
// {
|
||||
// tag: "fragment",
|
||||
// children: children.length === 0 ? defaultChildren : children,
|
||||
// enableElementRecord: false,
|
||||
// },
|
||||
// popup,
|
||||
// );
|
||||
// return true;
|
||||
// });
|
||||
|
||||
ztoolkit.Menu.register(
|
||||
"menuFile",
|
||||
|
|
|
|||
Loading…
Reference in New Issue