Browse Source

fix(lang): remove non-exist key

rcmerci 1 year ago
parent
commit
5d28129f81

+ 5 - 5
scripts/src/logseq/tasks/lang.clj

@@ -161,19 +161,19 @@
   "Allows certain keys in a language to have the same translation
    as English. Happens more in romance languages but pretty rare otherwise"
   {:fr #{:port :type :help/docs :search-item/page :shortcut.category/navigating :text/image
-         :settings-of-plugins :code :on-boarding/section-pages :paginates/pages :right-side-bar/history-global
+         :settings-of-plugins :code :on-boarding/section-pages :paginates/pages
          :shortcut.category/plugins :whiteboard/rectangle :whiteboard/triangle}
    :de #{:graph :host :plugins :port :right-side-bar/whiteboards
          :settings-of-plugins :search-item/whiteboard :shortcut.category/navigating
          :settings-page/enable-tooltip :settings-page/enable-whiteboards :settings-page/plugin-system}
-   :es #{:settings-page/tab-general :settings-page/tab-editor :whiteboard/color :right-side-bar/history-global}
+   :es #{:settings-page/tab-general :settings-page/tab-editor :whiteboard/color}
    :it #{:home :handbook/home :host :help/awesome-logseq :on-boarding/section-computer
          :settings-page/tab-account :settings-page/tab-editor :whiteboard/link}
    :nl #{:plugins :type :left-side-bar/nav-recent-pages :plugin/update}
    :pl #{:port}
    :pt-BR #{:plugins :right-side-bar/flashcards :settings-page/enable-flashcards :page/backlinks
             :host :settings-page/tab-editor :shortcut.category/plugins :whiteboard/link :settings-of-plugins :whiteboard
-            :whiteboards :on-boarding/quick-tour-journal-page-desc-2 :plugin/downloads :right-side-bar/history-global
+            :whiteboards :on-boarding/quick-tour-journal-page-desc-2 :plugin/downloads
             :right-side-bar/whiteboards :search-item/whiteboard :settings-page/enable-whiteboards :settings-page/plugin-system
             :shortcut.category/whiteboard :command.whiteboard/zoom-in :command.whiteboard/zoom-out}
    :pt-PT #{:plugins :settings-of-plugins :plugin/downloads :right-side-bar/flashcards
@@ -181,9 +181,9 @@
    :nb-NO #{:port :type :whiteboard :right-side-bar/flashcards :right-side-bar/whiteboards
             :search-item/whiteboard :settings-page/enable-flashcards :settings-page/enable-whiteboards
             :settings-page/tab-editor :shortcut.category/whiteboard :whiteboard/medium
-            :whiteboard/twitter-url :whiteboard/youtube-url :right-side-bar/history-global :linked-references/filter-heading}
+            :whiteboard/twitter-url :whiteboard/youtube-url :linked-references/filter-heading}
    :tr #{:help/awesome-logseq}
-   :id #{:host :port :on-boarding/section-app :right-side-bar/history-global}})
+   :id #{:host :port :on-boarding/section-app}})
 
 (defn- validate-languages-dont-have-duplicates
   "Looks up duplicates for all languages"

+ 0 - 5
src/resources/dicts/de.edn

@@ -355,10 +355,6 @@
  :right-side-bar/graph-view "Graph-Ansicht"
  :right-side-bar/help "Hilfe"
  :right-side-bar/history "(Dev) Verlauf rückgängig machen / wiederherstellen"
- :right-side-bar/history-global "Global"
- :right-side-bar/history-pageonly "Nur Seite"
- :right-side-bar/history-redos "Rückgängig gemacht"
- :right-side-bar/history-undos "Wiederhergestellt"
  :right-side-bar/new-page "Neue Seite"
  :right-side-bar/page-graph "Seiten-Graph"
  :right-side-bar/separator "Griff zur Größenänderung der rechten Seitenleiste"
@@ -656,7 +652,6 @@
  :command.editor/strike-through          "Durchgestrichen"
  :command.editor/toggle-number-list      "Nummeriert/Unnummeriert umschalten"
  :command.editor/toggle-open-blocks      "Öffnen von Blöcken umschalten (alle Blöcke ein- oder ausklappen)"
- :command.editor/toggle-undo-redo-mode   "Rückgängig / Wiederherstellen umschalten (global oder nur die Seite)"
  :command.editor/undo                    "Rückgängig"
  :command.editor/up                      "Cursor nach oben bewegen / Nach oben auswählen"
  :command.editor/zoom-in                 "Heranzoomen"

+ 0 - 4
src/resources/dicts/en.edn

@@ -134,10 +134,6 @@
  :right-side-bar/contents "Contents"
  :right-side-bar/page-graph "Page graph"
  :right-side-bar/history "(Dev) Undo/Redo history"
- :right-side-bar/history-undos "Undos"
- :right-side-bar/history-redos "Redos"
- :right-side-bar/history-global "global"
- :right-side-bar/history-pageonly "page only"
  :right-side-bar/block-ref "Block references"
  :right-side-bar/graph-view "Graph view"
  :right-side-bar/all-pages "All pages"

+ 0 - 5
src/resources/dicts/es.edn

@@ -184,7 +184,6 @@
  :command.editor/strike-through                     "Tachado"
  :command.editor/toggle-number-list                 "Alternar lista de números"
  :command.editor/toggle-open-blocks                 "Alternar bloques abiertos, (colapsar o expandir todos)"
- :command.editor/toggle-undo-redo-mode              "Alternar modo deshacer rehacer (global o solo en página)"
  :command.editor/undo                               "Deshacer"
  :command.editor/up                                 "Mover cursor arriba / Seleccionar arriba"
  :command.editor/zoom-in                            "Acercar / Adelante"
@@ -542,10 +541,6 @@
  :right-side-bar/graph-view                         "Vista de Grafo"
  :right-side-bar/help                               "Ayuda"
  :right-side-bar/history                            " (Dev) Deshacer/Rehacer history "
- :right-side-bar/history-global                     "global"
- :right-side-bar/history-pageonly                   "únicamente de página"
- :right-side-bar/history-redos                      "Rehacer"
- :right-side-bar/history-undos                      "Deshacer"
  :right-side-bar/new-page                           "Nueva página"
  :right-side-bar/page-graph                         "Grafo de página"
  :right-side-bar/pane-close                         "Cerrar"

+ 0 - 2
src/resources/dicts/fa.edn

@@ -104,8 +104,6 @@
  :right-side-bar/switch-theme         "پوسته"
  :right-side-bar/contents             "محتوا"
  :right-side-bar/page-graph           "گراف برگه"
- :right-side-bar/history-global       "سراسری"
- :right-side-bar/history-pageonly     "فقط برگه"
  :right-side-bar/block-ref            "ارجاعات بلوک"
  :right-side-bar/graph-view           "نمای گراف"
  :right-side-bar/all-pages            "همه برگه‌ها"

+ 0 - 5
src/resources/dicts/fr.edn

@@ -556,7 +556,6 @@
     :command.dev/show-page-data "(Dev) Montrer les données de la page"
     :command.editor/copy-page-url "Copier l'URL de la page"
     :command.editor/toggle-number-list "Activer la liste numérotée"
-    :command.editor/toggle-undo-redo-mode "Activer le mode défaire/refaire (global ou page seulement)"
     :command.misc/copy "Copier"
     :command.ui/clear-all-notifications "Effacer toutes les notifications"
     :command.whiteboard/bring-forward "Amener vers l'avant"
@@ -704,10 +703,6 @@
     :plugin/updates-downloading "Téléchargement des extensions"
     :query/config-property-settings "Paramètres des propriétés pour cette requête :"
     :right-side-bar/history "(Dev) Défaire/Refaire l'historique"
-    :right-side-bar/history-global "global"
-    :right-side-bar/history-pageonly "page seulement"
-    :right-side-bar/history-redos "Refabrications"
-    :right-side-bar/history-undos "Défabrications"
     :right-side-bar/toggle-right-sidebar "Activer le panneau latéral droit"
     :search-item/no-result "Aucun résultat correspondant"
     :select/default-select-multiple "Choisir un ou plusieurs"

+ 0 - 5
src/resources/dicts/id.edn

@@ -124,10 +124,6 @@
  :right-side-bar/contents "Konten"
  :right-side-bar/page-graph "Grafik halaman"
  :right-side-bar/history "(Dev) Urungkan/Ubah riwayat"
- :right-side-bar/history-undos "Urungkan"
- :right-side-bar/history-redos "Pengulangan"
- :right-side-bar/history-global "global"
- :right-side-bar/history-pageonly "halaman saja"
  :right-side-bar/block-ref "Referensi blok"
  :right-side-bar/graph-view "Tampilan grafik"
  :right-side-bar/all-pages "Semua halaman"
@@ -685,7 +681,6 @@
  :command.editor/strike-through "Coret"
  :command.editor/toggle-number-list "Hidupkan/matikan daftar angka"
  :command.editor/toggle-open-blocks "Hidupkan/matikan blok terbuka (perluas atau perkecil semua blok)"
- :command.editor/toggle-undo-redo-mode "Hidupkan/matikan mode undo redo (global atau hanya halaman)"
  :command.editor/undo "Batal"
  :command.editor/up "Geser kursor ke atas / Pilih ke atas"
  :command.editor/zoom-in "Perbesar blok yang sedang disunting / Maju sebaliknya"

+ 0 - 5
src/resources/dicts/it.edn

@@ -374,7 +374,6 @@
  :command.editor/new-whiteboard "Nuova lavagna"
  :command.editor/select-parent "Seleziona blocco genitore"
  :command.editor/toggle-number-list "Attiva/disattiva elenco numerato"
- :command.editor/toggle-undo-redo-mode "Attiva/disattiva modalità disfare/rifare (globalmente o solo per la pagina)"
  :command.go/all-graphs "Vai a tutti i grafi"
  :command.go/electron-find-in-page "Cerca testo nella pagina"
  :command.go/electron-jump-to-the-next "Vai al prossimo risultato nella ricerca"
@@ -586,10 +585,6 @@
  :query/config-property-settings "Impostazioni per le proprietà di questa richiesta:"
  :right-side-bar/flashcards "Flashcard"
  :right-side-bar/history "(Dev) cronologia disfare/rifare"
- :right-side-bar/history-global "globale"
- :right-side-bar/history-pageonly "solo pagina corrente"
- :right-side-bar/history-redos "Rifai"
- :right-side-bar/history-undos "Rifare"
  :right-side-bar/pane-close "Chiudi"
  :right-side-bar/pane-close-all "Chiudi tutti"
  :right-side-bar/pane-close-others "Chiudi altri"

+ 0 - 5
src/resources/dicts/ja.edn

@@ -133,10 +133,6 @@
  :right-side-bar/contents "目次"
  :right-side-bar/page-graph "ページグラフ"
  :right-side-bar/history "(開発) 「元に戻す/やり直し」の履歴"
- :right-side-bar/history-undos "元に戻す"
- :right-side-bar/history-redos "やり直し"
- :right-side-bar/history-global "全体"
- :right-side-bar/history-pageonly "ページのみ"
  :right-side-bar/block-ref "ブロック参照"
  :right-side-bar/graph-view "グラフビュー"
  :right-side-bar/all-pages "全ページ"
@@ -697,7 +693,6 @@
  :command.editor/select-parent "親ブロックを選択"
  :command.editor/zoom-in "ズームイン"
  :command.editor/zoom-out "ズームアウト"
- :command.editor/toggle-undo-redo-mode "「元に戻す/やり直し」の動作を切り替える (全体かページ毎か)"
  :command.editor/toggle-number-list "数字付きリスト/通常のリストへ切り替え"
  :command.whiteboard/select "選択ツール"
  :command.whiteboard/pan "画面移動ツール"

+ 0 - 5
src/resources/dicts/nb-no.edn

@@ -419,7 +419,6 @@
  :command.editor/new-whiteboard "Nytt whiteboard"
  :command.editor/select-parent "Velg overordnet blokk"
  :command.editor/toggle-number-list "Veksle nummerliste"
- :command.editor/toggle-undo-redo-mode "Veksle angremodus (global eller kun side)"
  :command.go/whiteboards "Gå til whiteboards"
  :command.graph/export-as-html "Eksporter offentlig graf som html"
  :command.pdf/find "Pdf: Søk tekst i nåværende pdf doc"
@@ -717,10 +716,6 @@
  :bug-report/clipboard-inspector-title "Utklippstavle datainspektør"
  :page/slide-view-tip-go-fullscreen (fn [] [[:span.opacity-70 "Tips: trykk "] [:code "f"] [:span.opacity-70 " for fullskjerm"]])
  :query/config-property-settings "Egenskapsinnstillinger for denne spørringen:"
- :right-side-bar/history-global "global"
- :right-side-bar/history-pageonly "kun side"
- :right-side-bar/history-redos "Omgjøringer"
- :right-side-bar/history-undos "Angret"
  :search-item/no-result "Ingen matchende resultat"
  :settings-permission/start-granting "Gi tillatelse"
  :whiteboard/edit-pdf "Rediger PDF"

+ 0 - 5
src/resources/dicts/pt-br.edn

@@ -130,9 +130,6 @@
  :right-side-bar/contents "Conteúdo"
  :right-side-bar/page-graph "Grafo da página"
  :right-side-bar/history "(Dev) Histórico de desfazer/refazer"
- :right-side-bar/history-undos "Desfazer"
- :right-side-bar/history-redos "Refazer"
- :right-side-bar/history-pageonly "somente página"
  :right-side-bar/block-ref "Referências de bloco"
  :right-side-bar/graph-view "Visualização de grafo"
  :right-side-bar/all-pages "Todas as páginas"
@@ -687,7 +684,6 @@
  :command.editor/strike-through "Riscar"
  :command.editor/toggle-number-list "Alternar lista numerada"
  :command.editor/toggle-open-blocks "Alternar blocos abertos (contrair ou expandir todos os blocos)"
- :command.editor/toggle-undo-redo-mode "Alternar modo desfazer/refazer (global ou apenas nesta página)"
  :command.editor/undo "Desfazer"
  :command.editor/up "Mover cursor para cima / Selecionar para cima"
  :command.editor/zoom-in "Dar zoom no bloco em edição / Avançar caso contrário"
@@ -781,7 +777,6 @@
  :whiteboards "Whiteboards"
  :on-boarding/quick-tour-journal-page-desc-2 "[[link]]"
  :plugin/downloads "Downloads"
- :right-side-bar/history-global "global"
  :right-side-bar/whiteboards "Whiteboards"
  :search-item/whiteboard "Whiteboard"
  :settings-page/enable-whiteboards "Whiteboards"

+ 0 - 1
src/resources/dicts/ru.edn

@@ -526,7 +526,6 @@
  :command.editor/select-parent                         "Выбрать родительский блок"
  :command.editor/zoom-in                               "Войти в редактируемый блок / Иначе вперёд"
  :command.editor/zoom-out                              "Выйти из редактируемого блока / Иначе назад"
- :command.editor/toggle-undo-redo-mode                 "Переключить режим Отменить/Повторить (глобально или только на странице)"
  :command.editor/toggle-number-list                    "Переключить формат нумерованного списка"
  :command.whiteboard/select                            "Инструмент 'Выделение'"
  :command.whiteboard/pan                               "Инструмент 'Рука'"

+ 0 - 5
src/resources/dicts/sk.edn

@@ -129,10 +129,6 @@
  :right-side-bar/contents                          "Obsah"
  :right-side-bar/page-graph                        "Graf stránok"
  :right-side-bar/history                           "(Dev) Historia Späť/Znova"
- :right-side-bar/history-undos                     "Späť"
- :right-side-bar/history-redos                     "Znova"
- :right-side-bar/history-global                    "globálny"
- :right-side-bar/history-pageonly                  "len stránka"
  :right-side-bar/block-ref                         "Referencie bloku"
  :right-side-bar/graph-view                        "Zobrazenie grafu"
  :right-side-bar/all-pages                         "Všetky stránky"
@@ -682,7 +678,6 @@
  :command.editor/select-parent                     "Vybrať rodičovský blok"
  :command.editor/zoom-in                           "Priblížiť upravovaný blok/Inak vpred"
  :command.editor/zoom-out                          "Oddialiť upravaný blok/Inak dozadu"
- :command.editor/toggle-undo-redo-mode             "Prepnúť režim undo/redo (globálny alebo len na stránke)"
  :command.editor/toggle-number-list                "Prepnúť číslovaný zoznam"
  :command.whiteboard/select                        "Nástroj výberu"
  :command.whiteboard/pan                           "Nástroj posunu"

+ 0 - 5
src/resources/dicts/tr.edn

@@ -133,10 +133,6 @@
  :right-side-bar/contents "İçindekiler"
  :right-side-bar/page-graph "Sayfa grafı"
  :right-side-bar/history "(Dev) Geri Al / Yinele geçmişi"
- :right-side-bar/history-undos "Geri Alınanlar"
- :right-side-bar/history-redos "Yinelenenler"
- :right-side-bar/history-global "genel"
- :right-side-bar/history-pageonly "yalnızca sayfa"
  :right-side-bar/block-ref "Blok referansı"
  :right-side-bar/graph-view "Graf görünümü"
  :right-side-bar/all-pages "Bütün sayfalar"
@@ -713,7 +709,6 @@
  :command.editor/select-all-blocks       "Tüm blokları seç"
  :command.editor/zoom-in                 "Düzenlenen bloğu yakınlaştır / Aksi takdirde ileri git"
  :command.editor/zoom-out                "Düzenlenen bloğu uzaklaştır / Aksi takdirde geri git"
- :command.editor/toggle-undo-redo-mode   "Geri alma / yineleme modunu değiştir (yalnızca sayfa veya genel)"
  :command.editor/toggle-number-list      "Numaralı liste olarak değiştir"
  :command.whiteboard/select              "Seçim aracı"
  :command.whiteboard/pan                 "Kaydırma aracı"

+ 0 - 1
src/resources/dicts/uk.edn

@@ -388,7 +388,6 @@
  :command.editor/select-parent                             "Вибрати батьківський блок"
  :command.editor/zoom-in                                   "Збільшити"
  :command.editor/zoom-out                                  "Зменшити"
- :command.editor/toggle-undo-redo-mode                     "Переключити режим скасування/повтору (глобально чи лише на сторінці)"
  :command.editor/toggle-number-list                        "Переключити номерний список"
  :command.whiteboard/select                                "Вибрати інструмент"
  :command.whiteboard/pan                                   "Прокрутка"

+ 0 - 4
src/resources/dicts/zh-cn.edn

@@ -117,10 +117,6 @@
  :right-side-bar/separator "调整右侧边栏大小"
  :right-side-bar/whiteboards "白板"
  :right-side-bar/history "(开发人员工具) 撤销/重做 历史"
- :right-side-bar/history-undos "撤销"
- :right-side-bar/history-redos "重做"
- :right-side-bar/history-global "全局"
- :right-side-bar/history-pageonly "仅当前页"
  :left-side-bar/switch "切换到:"
  :left-side-bar/journals "日志"
  :left-side-bar/new-page "新页面"