From ad3eda7c25154cc055f4cb32a543dd5d8b381ae6 Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Wed, 24 May 2023 16:54:12 -0400 Subject: [PATCH] Tutorial fix and refactor. Update docs * Some langs like es didn't have tutorials translated and were pretending to * it lang had tutorials but they weren't being used * Moved tutorials to the more appropriate src/resources/tutorials * Also fixed typos and bb task --- CODEBASE_OVERVIEW.md | 2 ++ bb.edn | 2 +- docs/contributing-to-translations.md | 18 +++++++++--------- scripts/src/logseq/tasks/lang.clj | 6 +++--- src/main/frontend/dicts.cljc | 2 +- src/resources/dicts/de.edn | 3 --- src/resources/dicts/en.edn | 4 ++-- src/resources/dicts/es.edn | 4 ++-- src/resources/dicts/fr.edn | 4 ++-- src/resources/dicts/it.edn | 4 ++-- src/resources/dicts/ja.edn | 4 ++-- src/resources/dicts/ko.edn | 4 ++-- src/resources/dicts/nb-no.edn | 4 ++-- src/resources/dicts/nl.edn | 3 --- src/resources/dicts/pl.edn | 4 ++-- src/resources/dicts/pt-br.edn | 2 -- src/resources/dicts/pt-pt.edn | 2 -- src/resources/dicts/ru.edn | 4 ++-- src/resources/dicts/sk.edn | 4 ++-- src/resources/dicts/tr.edn | 4 ++-- src/resources/dicts/uk.edn | 4 ++-- src/resources/dicts/zh-cn.edn | 2 -- .../resources/tutorials}/dummy-notes-en.md | 0 .../resources/tutorials}/dummy-notes-es.md | 0 .../resources/tutorials}/dummy-notes-fr.md | 0 .../resources/tutorials}/dummy-notes-it.md | 0 .../resources/tutorials}/dummy-notes-ja.md | 0 .../resources/tutorials}/dummy-notes-ko.md | 0 .../resources/tutorials}/dummy-notes-no.md | 0 .../resources/tutorials}/dummy-notes-pl.md | 0 .../resources/tutorials}/dummy-notes-ru.md | 0 .../resources/tutorials}/dummy-notes-sk.md | 0 .../resources/tutorials}/dummy-notes-tr.md | 0 .../resources/tutorials}/dummy-notes-uk.md | 0 .../resources/tutorials}/tutorial-en.md | 0 .../resources/tutorials}/tutorial-es.md | 0 .../resources/tutorials}/tutorial-fr.md | 0 .../resources/tutorials}/tutorial-it.md | 0 .../resources/tutorials}/tutorial-ja.md | 0 .../resources/tutorials}/tutorial-ko.md | 0 .../resources/tutorials}/tutorial-no.md | 0 .../resources/tutorials}/tutorial-pl.md | 0 .../resources/tutorials}/tutorial-ru.md | 0 .../resources/tutorials}/tutorial-sk.md | 0 .../resources/tutorials}/tutorial-tr.md | 0 .../resources/tutorials}/tutorial-uk.md | 0 typos.toml | 2 +- 47 files changed, 41 insertions(+), 51 deletions(-) rename {templates => src/resources/tutorials}/dummy-notes-en.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-es.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-fr.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-it.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-ja.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-ko.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-no.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-pl.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-ru.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-sk.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-tr.md (100%) rename {templates => src/resources/tutorials}/dummy-notes-uk.md (100%) rename {templates => src/resources/tutorials}/tutorial-en.md (100%) rename {templates => src/resources/tutorials}/tutorial-es.md (100%) rename {templates => src/resources/tutorials}/tutorial-fr.md (100%) rename {templates => src/resources/tutorials}/tutorial-it.md (100%) rename {templates => src/resources/tutorials}/tutorial-ja.md (100%) rename {templates => src/resources/tutorials}/tutorial-ko.md (100%) rename {templates => src/resources/tutorials}/tutorial-no.md (100%) rename {templates => src/resources/tutorials}/tutorial-pl.md (100%) rename {templates => src/resources/tutorials}/tutorial-ru.md (100%) rename {templates => src/resources/tutorials}/tutorial-sk.md (100%) rename {templates => src/resources/tutorials}/tutorial-tr.md (100%) rename {templates => src/resources/tutorials}/tutorial-uk.md (100%) diff --git a/CODEBASE_OVERVIEW.md b/CODEBASE_OVERVIEW.md index 71d11850278..3689756997f 100644 --- a/CODEBASE_OVERVIEW.md +++ b/CODEBASE_OVERVIEW.md @@ -44,6 +44,8 @@ After cloning the [Logseq repository](https://github.com/logseq/logseq), there a - `src/test/` contains all the tests and `src/dev-cljs/` contains some development utilities. + - `src/resources/` - directory and classpath for resources used by Clojure(Script) + - `src/main/frontend/` contains code that powers the Logseq editor. Folders and files inside are organized by features or functions. For example, `components` contains all the UI components and `handler` contains all the event-handling code. You can explore on your own interest. - `src/main/logseq/` contains the api used by plugins. diff --git a/bb.edn b/bb.edn index 0cbbc988e0b..fc11c03f27e 100644 --- a/bb.edn +++ b/bb.edn @@ -1,4 +1,4 @@ -{:paths ["scripts/src" "src/main" "templates" "src/resources"] +{:paths ["scripts/src" "src/main" "src/resources"] :deps {metosin/malli {:mvn/version "0.10.0"} diff --git a/docs/contributing-to-translations.md b/docs/contributing-to-translations.md index 70cba38af4f..2a0111d80e8 100644 --- a/docs/contributing-to-translations.md +++ b/docs/contributing-to-translations.md @@ -14,7 +14,7 @@ In order to run the commands in this doc, you will need to install ## Where to Contribute Language translations are under, -[src/main/frontend/dicts/](https://github.com/logseq/logseq/blob/master/src/main/frontend/dicts/) with each language having it's own file. For example, the es locale is in `es.cljc `. +[src/resources/dicts/](https://github.com/logseq/logseq/blob/master/src/resources/dicts/) with each language having it's own file. For example, the es locale is in `es.edn`. ## Language Overview @@ -58,9 +58,9 @@ To see what translations are missing for your language, let's run a command usin $ bb lang:missing es | :translation-key | :string-to-translate | :file | |---------------------------------------+-------------------------------------------------------+---------------| -| :command.editor/toggle-number-list | Toggle number list | dicts/es.cljc | -| :command.whiteboard/bring-forward | Move forward | dicts/es.cljc | -| :command.whiteboard/bring-to-front | Move to front | dicts/es.cljc | +| :command.editor/toggle-number-list | Toggle number list | dicts/es.edn | +| :command.whiteboard/bring-forward | Move forward | dicts/es.edn | +| :command.whiteboard/bring-to-front | Move to front | dicts/es.edn | ... ``` @@ -71,14 +71,14 @@ Over time you're aiming to have this list drop to zero. Since this process can b # When pasting this content, be sure to update the indentation to match the file $ bb lang:missing es --copy -;; For dicts/es.cljc +;; For dicts/es.edn :command.editor/toggle-number-list "Toggle number list" :command.whiteboard/bring-forward "Move forward" :command.whiteboard/bring-to-front "Move to front" ... ``` -Almost all translations are small. The only exceptions to this are the keys `:tutorial/text` and `:tutorial/dummy-notes`. These reference files that are part of the onboarding tutorial. Most languages don't have this translated. If you are willing to do this, we would be happy to have this translated. +Almost all translations are small. The only exceptions to this are the keys `:tutorial/text` and `:tutorial/dummy-notes`. These translations are files that are part of the onboarding tutorial and can be found under [src/resources/tutorials/](https://github.com/logseq/logseq/blob/master/src/resources/tutorials/). ## Fix Untranslated @@ -106,6 +106,6 @@ and tell you what's wrong. To add a new language: * Add an entry to `frontend.dicts/languages` -* Create a new file under `src/main/frontend/dicts/` and name the file the same as the locale e.g. zz.cljc for a hypothetical zz locale. -* Add a `(def dicts {})` in that file and then add a entry in the `dicts` map in `src/main/frontend/dicts.cljc`. -* Then start translating for your language and adding entries in your language's `dicts` using the `bb lang:missing` workflow. \ No newline at end of file +* Create a new file under `src/resources/dicts/` and name the file the same as the locale e.g. zz.edn for a hypothetical zz locale. +* Add an entry in `frontend.dicts/dicts` referencing the file you created. +* Then start translating for your language and adding entries in your language's EDN file using the `bb lang:missing` workflow. \ No newline at end of file diff --git a/scripts/src/logseq/tasks/lang.clj b/scripts/src/logseq/tasks/lang.clj index 5e5f6784097..077b4981a5b 100644 --- a/scripts/src/logseq/tasks/lang.clj +++ b/scripts/src/logseq/tasks/lang.clj @@ -60,9 +60,9 @@ {:translation-key k ;; Shorten values :string-to-translate (shorten v 50) - :file (str "dicts/" - (-> lang name string/lower-case) - ".edn")})) + :file (if (= "tutorial" (namespace k)) + (str "Under tutorials/") + (str "dicts/" (-> lang name string/lower-case) ".edn"))})) (sort-by (juxt :file :translation-key)))] (if (:copy options) (doseq [[file missing-for-file] (group-by :file sorted-missing)] diff --git a/src/main/frontend/dicts.cljc b/src/main/frontend/dicts.cljc index eb9f6c78c39..c93ee85e087 100644 --- a/src/main/frontend/dicts.cljc +++ b/src/main/frontend/dicts.cljc @@ -4,7 +4,7 @@ #?@(:bb [[clojure.java.io :as io]] :clj [[clojure.java.io :as io] [shadow.resource :as rc]])) - #?(:cljs (:require-macros [frontend.dicts :refer [resource edn-resource]]))) + #?(:cljs (:require-macros [frontend.dicts :refer [edn-resource]]))) #?(:clj (defn resource [file] (slurp (io/resource file)))) diff --git a/src/resources/dicts/de.edn b/src/resources/dicts/de.edn index 3fe88dff566..95ca11cacdd 100644 --- a/src/resources/dicts/de.edn +++ b/src/resources/dicts/de.edn @@ -348,9 +348,6 @@ :tips/all-done "Alles erledigt" - :tutorial/dummy-notes #resource "dummy-notes-en.md" - :tutorial/text #resource "tutorial-en.md" - :updater/new-version-install "Eine neue Version wurde heruntergeladen." :updater/quit-and-install "Neu starten, um zu installieren" diff --git a/src/resources/dicts/en.edn b/src/resources/dicts/en.edn index baa2d62aafe..38a1a11b77e 100644 --- a/src/resources/dicts/en.edn +++ b/src/resources/dicts/en.edn @@ -1,6 +1,6 @@ {:accessibility/skip-to-main-content "Skip to main content" - :tutorial/text #resource "tutorial-en.md" - :tutorial/dummy-notes #resource "dummy-notes-en.md" + :tutorial/text #resource "tutorials/tutorial-en.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-en.md" :on-boarding/demo-graph "This is a demo graph, changes will not be saved until you open a local folder." :on-boarding/add-graph "Add a graph" :on-boarding/open-local-dir "Open a local directory" diff --git a/src/resources/dicts/es.edn b/src/resources/dicts/es.edn index 061125f657f..cd47ec63229 100644 --- a/src/resources/dicts/es.edn +++ b/src/resources/dicts/es.edn @@ -1,5 +1,5 @@ -{:tutorial/text #resource "tutorial-es.md" - :tutorial/dummy-notes #resource "dummy-notes-es.md" +{:tutorial/text #resource "tutorials/tutorial-es.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-es.md" :on-boarding/demo-graph "Este es un grafo de demostración, los cambios no serán guardados hasta que abras una carpeta local." :on-boarding/add-graph "Añadir gráfico" :on-boarding/open-local-dir "Abrir un directorio local" diff --git a/src/resources/dicts/fr.edn b/src/resources/dicts/fr.edn index 522819f4162..cbf57e01158 100644 --- a/src/resources/dicts/fr.edn +++ b/src/resources/dicts/fr.edn @@ -1,5 +1,5 @@ -{:tutorial/text #resource "tutorial-fr.md" - :tutorial/dummy-notes #resource "dummy-notes-fr.md" +{:tutorial/text #resource "tutorials/tutorial-fr.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-fr.md" :help/about "A propos de Logseq" :help/bug "Signaler une anomalie" :help/feature "Demander une fonctionnalité" diff --git a/src/resources/dicts/it.edn b/src/resources/dicts/it.edn index 716b59d3b8f..6e1a19093ae 100644 --- a/src/resources/dicts/it.edn +++ b/src/resources/dicts/it.edn @@ -1,5 +1,5 @@ -{:tutorial/text #resource "tutorial-en.md" - :tutorial/dummy-notes #resource "dummy-notes-en.md" +{:tutorial/text #resource "tutorials/tutorial-it.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-it.md" :on-boarding/demo-graph "Questo è un grafo dimostrativo, le modifiche non saranno salvate finché non aprirai una cartella locale." :on-boarding/add-graph "Aggiungi un grafo" :on-boarding/open-local-dir "Apri una cartella locale" diff --git a/src/resources/dicts/ja.edn b/src/resources/dicts/ja.edn index aeb3fc15ae5..58b7dafdba0 100644 --- a/src/resources/dicts/ja.edn +++ b/src/resources/dicts/ja.edn @@ -1,5 +1,5 @@ -{:tutorial/text #resource "tutorial-ja.md" - :tutorial/dummy-notes #resource "dummy-notes-ja.md" +{:tutorial/text #resource "tutorials/tutorial-ja.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-ja.md" :on-boarding/demo-graph "これはデモ用のグラフなので変更内容は保存されません。保存するにはローカルフォルダを選んで新規グラフを追加してください。" :on-boarding/add-graph "新規グラフを追加" :on-boarding/open-local-dir "ここをクリックして、データ保存先のローカルフォルダを選んでください" diff --git a/src/resources/dicts/ko.edn b/src/resources/dicts/ko.edn index db20bdf87b4..9d975d07f5f 100644 --- a/src/resources/dicts/ko.edn +++ b/src/resources/dicts/ko.edn @@ -1,5 +1,5 @@ -{:tutorial/text #resource "tutorial-ko.md" - :tutorial/dummy-notes #resource "dummy-notes-ko.md" +{:tutorial/text #resource "tutorials/tutorial-ko.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-ko.md" :on-boarding/demo-graph "이 그래프는 데모 그래프입니다. 로컬 폴더를 열기 전까지 변경 사항은 저장되지 않습니다." :on-boarding/add-graph "그래프 추가" :on-boarding/open-local-dir "로컬 폴더 열기" diff --git a/src/resources/dicts/nb-no.edn b/src/resources/dicts/nb-no.edn index 9d35a1843e5..e0319fcac62 100644 --- a/src/resources/dicts/nb-no.edn +++ b/src/resources/dicts/nb-no.edn @@ -1,5 +1,5 @@ -{:tutorial/text #resource "tutorial-no.md" - :tutorial/dummy-notes #resource "dummy-notes-no.md" +{:tutorial/text #resource "tutorials/tutorial-no.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-no.md" :on-boarding/demo-graph "Dette er en demo graf, endringer vil ikke bli lagret før du åpner en lokal mappe." :on-boarding/add-graph "Legg til en graf" :on-boarding/open-local-dir "Åpne en lokal mappe" diff --git a/src/resources/dicts/nl.edn b/src/resources/dicts/nl.edn index b4adca115f4..3b2c65c48b1 100644 --- a/src/resources/dicts/nl.edn +++ b/src/resources/dicts/nl.edn @@ -251,9 +251,6 @@ :tips/all-done "Alles klaar" - :tutorial/dummy-notes #resource "dummy-notes-en.md" - :tutorial/text #resource "tutorial-en.md" - :updater/new-version-install "Een nieuwe versie is gedownload." :updater/quit-and-install "Herstart om te installeren" diff --git a/src/resources/dicts/pl.edn b/src/resources/dicts/pl.edn index df596acddb6..0fac73ed94d 100644 --- a/src/resources/dicts/pl.edn +++ b/src/resources/dicts/pl.edn @@ -1,5 +1,5 @@ -{:tutorial/text #resource "tutorial-pl.md" - :tutorial/dummy-notes #resource "dummy-notes-pl.md" +{:tutorial/text #resource "tutorials/tutorial-pl.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-pl.md" :on-boarding/demo-graph "To jest przykładowy graf, zmiany nie zostaną zapisane dopóki nie otworzysz lokalnego katalogu." :on-boarding/add-graph "Dodaj graf" :on-boarding/open-local-dir "Otwórz lokalny katalog" diff --git a/src/resources/dicts/pt-br.edn b/src/resources/dicts/pt-br.edn index b049868fec3..065eb00afbb 100644 --- a/src/resources/dicts/pt-br.edn +++ b/src/resources/dicts/pt-br.edn @@ -228,8 +228,6 @@ :page/copy-page-url "Copiar URL da página" :plugin/not-installed "Não instalado" - :tutorial/dummy-notes #resource "dummy-notes-en.md" - :tutorial/text #resource "tutorial-en.md" :settings-page/edit-export-css "Editar export.css" :settings-page/enable-flashcards "Flashcards" :settings-page/export-theme "Exportar Tema" diff --git a/src/resources/dicts/pt-pt.edn b/src/resources/dicts/pt-pt.edn index a3bc87a9c71..b3e63cdcc84 100644 --- a/src/resources/dicts/pt-pt.edn +++ b/src/resources/dicts/pt-pt.edn @@ -1,6 +1,4 @@ {:accessibility/skip-to-main-content "Ir para o conteúdo principal" - :tutorial/text #resource "tutorial-en.md" - :tutorial/dummy-notes #resource "dummy-notes-en.md" :on-boarding/demo-graph "Isto é um grafo de demonstração, nenhuma mudança será guardada até abrir uma pasta local." :on-boarding/add-graph "Adicionar grafo" :on-boarding/open-local-dir "Abrir uma pasta local" diff --git a/src/resources/dicts/ru.edn b/src/resources/dicts/ru.edn index 20eec762516..5f74fba38db 100644 --- a/src/resources/dicts/ru.edn +++ b/src/resources/dicts/ru.edn @@ -1,6 +1,6 @@ {:accessibility/skip-to-main-content "Перейти к основному содержимому" - :tutorial/text #resource "tutorial-ru.md" - :tutorial/dummy-notes #resource "dummy-notes-ru.md" + :tutorial/text #resource "tutorials/tutorial-ru.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-ru.md" :on-boarding/demo-graph "Это демонстрационный граф, изменения не будут сохранены, пока вы не откроете локальный файл." :on-boarding/add-graph "Добавить новый граф" :on-boarding/open-local-dir "Открыть локальный каталог" diff --git a/src/resources/dicts/sk.edn b/src/resources/dicts/sk.edn index 90c863ed7e6..ce9d777224c 100644 --- a/src/resources/dicts/sk.edn +++ b/src/resources/dicts/sk.edn @@ -1,6 +1,6 @@ {:accessibility/skip-to-main-content "Preskočiť na hlavný obsah" - :tutorial/text #resource "tutorial-sk.md" - :tutorial/dummy-notes #resource "dummy-notes-sk.md" + :tutorial/text #resource "tutorials/tutorial-sk.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-sk.md" :on-boarding/demo-graph "Toto je ukážkový graf, zmeny nebudú uložené, kým neotvoríte lokálny adresár." :on-boarding/add-graph "Pridať graf" :on-boarding/open-local-dir "Otvoriť lokálny adresár" diff --git a/src/resources/dicts/tr.edn b/src/resources/dicts/tr.edn index b9674d5080b..8be5f431277 100644 --- a/src/resources/dicts/tr.edn +++ b/src/resources/dicts/tr.edn @@ -1,6 +1,6 @@ {:accessibility/skip-to-main-content "Ana içeriğe geç" - :tutorial/text #resource "tutorial-tr.md" - :tutorial/dummy-notes #resource "dummy-notes-tr.md" + :tutorial/text #resource "tutorials/tutorial-tr.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-tr.md" :on-boarding/demo-graph "Bu bir demo graftır, yerel bir klasör açana kadar değişiklikler kaydedilmeyecektir." :on-boarding/add-graph "Bir graf ekle" :on-boarding/open-local-dir "Yerel bir dizin açın" diff --git a/src/resources/dicts/uk.edn b/src/resources/dicts/uk.edn index 697c9b582db..648717bf89f 100644 --- a/src/resources/dicts/uk.edn +++ b/src/resources/dicts/uk.edn @@ -1,6 +1,6 @@ {:accessibility/skip-to-main-content "Перейти до головної" - :tutorial/text #resource "tutorial-uk.md" - :tutorial/dummy-notes #resource "dummy-notes-uk.md" + :tutorial/text #resource "tutorials/tutorial-uk.md" + :tutorial/dummy-notes #resource "tutorials/dummy-notes-uk.md" :on-boarding/demo-graph "Це демонстраційний графік, зміни не будуть збереженні поки ви не відкриєте локальну папку." :on-boarding/add-graph "Додати графік" :on-boarding/open-local-dir "Відкрити локальну директорію" diff --git a/src/resources/dicts/zh-cn.edn b/src/resources/dicts/zh-cn.edn index 66e47422870..0bc0b68940a 100644 --- a/src/resources/dicts/zh-cn.edn +++ b/src/resources/dicts/zh-cn.edn @@ -64,8 +64,6 @@ :settings-page/enable-flashcards "记忆卡片" :settings-page/enable-shortcut-tooltip "启用快捷键提示" :settings-page/export-theme "导出主题" - :tutorial/dummy-notes #resource "dummy-notes-en.md" - :tutorial/text #resource "tutorial-en.md" :right-side-bar/help "帮助" :right-side-bar/switch-theme "主题模式" :right-side-bar/contents "目录" diff --git a/templates/dummy-notes-en.md b/src/resources/tutorials/dummy-notes-en.md similarity index 100% rename from templates/dummy-notes-en.md rename to src/resources/tutorials/dummy-notes-en.md diff --git a/templates/dummy-notes-es.md b/src/resources/tutorials/dummy-notes-es.md similarity index 100% rename from templates/dummy-notes-es.md rename to src/resources/tutorials/dummy-notes-es.md diff --git a/templates/dummy-notes-fr.md b/src/resources/tutorials/dummy-notes-fr.md similarity index 100% rename from templates/dummy-notes-fr.md rename to src/resources/tutorials/dummy-notes-fr.md diff --git a/templates/dummy-notes-it.md b/src/resources/tutorials/dummy-notes-it.md similarity index 100% rename from templates/dummy-notes-it.md rename to src/resources/tutorials/dummy-notes-it.md diff --git a/templates/dummy-notes-ja.md b/src/resources/tutorials/dummy-notes-ja.md similarity index 100% rename from templates/dummy-notes-ja.md rename to src/resources/tutorials/dummy-notes-ja.md diff --git a/templates/dummy-notes-ko.md b/src/resources/tutorials/dummy-notes-ko.md similarity index 100% rename from templates/dummy-notes-ko.md rename to src/resources/tutorials/dummy-notes-ko.md diff --git a/templates/dummy-notes-no.md b/src/resources/tutorials/dummy-notes-no.md similarity index 100% rename from templates/dummy-notes-no.md rename to src/resources/tutorials/dummy-notes-no.md diff --git a/templates/dummy-notes-pl.md b/src/resources/tutorials/dummy-notes-pl.md similarity index 100% rename from templates/dummy-notes-pl.md rename to src/resources/tutorials/dummy-notes-pl.md diff --git a/templates/dummy-notes-ru.md b/src/resources/tutorials/dummy-notes-ru.md similarity index 100% rename from templates/dummy-notes-ru.md rename to src/resources/tutorials/dummy-notes-ru.md diff --git a/templates/dummy-notes-sk.md b/src/resources/tutorials/dummy-notes-sk.md similarity index 100% rename from templates/dummy-notes-sk.md rename to src/resources/tutorials/dummy-notes-sk.md diff --git a/templates/dummy-notes-tr.md b/src/resources/tutorials/dummy-notes-tr.md similarity index 100% rename from templates/dummy-notes-tr.md rename to src/resources/tutorials/dummy-notes-tr.md diff --git a/templates/dummy-notes-uk.md b/src/resources/tutorials/dummy-notes-uk.md similarity index 100% rename from templates/dummy-notes-uk.md rename to src/resources/tutorials/dummy-notes-uk.md diff --git a/templates/tutorial-en.md b/src/resources/tutorials/tutorial-en.md similarity index 100% rename from templates/tutorial-en.md rename to src/resources/tutorials/tutorial-en.md diff --git a/templates/tutorial-es.md b/src/resources/tutorials/tutorial-es.md similarity index 100% rename from templates/tutorial-es.md rename to src/resources/tutorials/tutorial-es.md diff --git a/templates/tutorial-fr.md b/src/resources/tutorials/tutorial-fr.md similarity index 100% rename from templates/tutorial-fr.md rename to src/resources/tutorials/tutorial-fr.md diff --git a/templates/tutorial-it.md b/src/resources/tutorials/tutorial-it.md similarity index 100% rename from templates/tutorial-it.md rename to src/resources/tutorials/tutorial-it.md diff --git a/templates/tutorial-ja.md b/src/resources/tutorials/tutorial-ja.md similarity index 100% rename from templates/tutorial-ja.md rename to src/resources/tutorials/tutorial-ja.md diff --git a/templates/tutorial-ko.md b/src/resources/tutorials/tutorial-ko.md similarity index 100% rename from templates/tutorial-ko.md rename to src/resources/tutorials/tutorial-ko.md diff --git a/templates/tutorial-no.md b/src/resources/tutorials/tutorial-no.md similarity index 100% rename from templates/tutorial-no.md rename to src/resources/tutorials/tutorial-no.md diff --git a/templates/tutorial-pl.md b/src/resources/tutorials/tutorial-pl.md similarity index 100% rename from templates/tutorial-pl.md rename to src/resources/tutorials/tutorial-pl.md diff --git a/templates/tutorial-ru.md b/src/resources/tutorials/tutorial-ru.md similarity index 100% rename from templates/tutorial-ru.md rename to src/resources/tutorials/tutorial-ru.md diff --git a/templates/tutorial-sk.md b/src/resources/tutorials/tutorial-sk.md similarity index 100% rename from templates/tutorial-sk.md rename to src/resources/tutorials/tutorial-sk.md diff --git a/templates/tutorial-tr.md b/src/resources/tutorials/tutorial-tr.md similarity index 100% rename from templates/tutorial-tr.md rename to src/resources/tutorials/tutorial-tr.md diff --git a/templates/tutorial-uk.md b/src/resources/tutorials/tutorial-uk.md similarity index 100% rename from templates/tutorial-uk.md rename to src/resources/tutorials/tutorial-uk.md diff --git a/typos.toml b/typos.toml index 59e42c6dbc7..d4b51e95373 100644 --- a/typos.toml +++ b/typos.toml @@ -13,4 +13,4 @@ fo = "fo" aks = "aks" Mannor = "Mannor" [files] -extend-exclude = ["resources/*", "templates/*", "src/main/frontend/dicts/*.cljc"] +extend-exclude = ["resources/*", "templates/*", "src/resources/*"]