Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove false positive translations a.k.a. EN definitions in non EN dicts #9576

Merged
merged 4 commits into from Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 1 addition & 20 deletions src/resources/dicts/af.edn
@@ -1,16 +1,7 @@
{: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"
:on-boarding/new-graph-desc-1 "Logseq supports both Markdown and Org-mode. You can open an existing directory or create a new one on your device, a directory is also known simply as a folder. Your data will be stored only on this device."
:on-boarding/new-graph-desc-2 "After you have opened your directory, it will create three folders in that directory:"
:on-boarding/new-graph-desc-3 "/journals - store your journal pages"
:on-boarding/new-graph-desc-4 "/pages - store the other pages"
:on-boarding/new-graph-desc-5 "/logseq - store configuration, custom.css, and some metadata."
:help/about "Oor Logseq"
{:help/about "Oor Logseq"
:help/bug "Fout verslag"
:help/feature "Funksie versoek"
:help/changelog "Verandering-dagboek"
:help/blog "Logseq blog"
:help/privacy "Privaatheidsbeleid"
:help/terms "Terme"
:help/shortcuts "Sleutelbord kortpaaie"
Expand All @@ -32,16 +23,9 @@
:right-side-bar/switch-theme "Skakel oor na die {1} tema"
:right-side-bar/contents "Inhoud"
:right-side-bar/block-ref "Blok verwysing"
:right-side-bar/graph-view "Graph view"
:right-side-bar/all-pages "All pages"
:right-side-bar/flashcards "Flashcards"
:right-side-bar/new-page "New page"
:left-side-bar/journals "Journals"
:page/presentation-mode "Aanbiedings modus"
:page/delete-confirmation "Is jy seker jy wil die bladsy uitvee?"
:page/delete "Delete page (will delete the file too)"
:page/show-journals "Wys joernale"
:block/name "Page name"
:file/name "Lêer naam"
:file/last-modified-at "Laas verander op"
:file/no-data "Geen data"
Expand All @@ -53,9 +37,6 @@
:content/open-in-sidebar "Maak in kantlys oop"
:content/click-to-edit "Kliek om te wysig"
:settings-page/edit-config-edn "Wysig config.edn (vir huidige stoor)"
:settings-page/git-confirm "You need to restart the app after updating the Git settings."
:settings-page/git-switcher-label "Enable Git auto commit"
:settings-page/git-commit-delay "Git auto commit seconds"
:settings-page/preferred-file-format "Voorkeur lêer formaat"
:settings-page/preferred-workflow "Voorkeur werkstroom"
:settings-page/developer-mode "Ontwikkelaar modus"
Expand Down
21 changes: 0 additions & 21 deletions src/resources/dicts/de.edn
Expand Up @@ -20,11 +20,9 @@
:export-page "Seite exportieren"
:export-public-pages "Öffentliche Seiten exportieren"
:export-roam-json "Als Roam JSON exportieren"
:graph "Graph"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Romance languages do use the same English word from time to time so I'm bringing some of these back that I've confirmed are correct. There's an allowed duplicates config in lang.clj for these exceptions

Copy link
Collaborator Author

@Bad3r Bad3r Jun 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good. The issue I ran into with this is where to set the line? For example many Germanic languages use 'code' and 'plugin' since there is no equivalent for it in many languages.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:graph-search "Graph durchsuchen"
:heading "Überschrift {1}"
:highlight "Hervorhebung"
:host "Host"
:import "Importieren"
:importing "Importiere"
:italics "Kursiv"
Expand All @@ -42,8 +40,6 @@
:open-new-window "Neues Fenster"
:page-search "In der aktuellen Seite suchen"
:parsing-files "Dateien analysieren"
:plugins "Plugins"
:port "Port"
:re-index "Neu indizieren"
:re-index-detail "Graph neu aufbauen"
:re-index-discard-unsaved-changes-warning "Bei der Neuindizierung wird der aktuelle Graph verworfen, und alle Dateien werden wieder so verarbeitet, wie sie derzeit auf der Festplatte gespeichert sind. Dabei gehen nicht gespeicherte Änderungen verloren und es kann eine Weile dauern. Fortfahren?"
Expand Down Expand Up @@ -143,21 +139,15 @@

:help-shortcut-title "Hier klicken, um Tastenkombinationen und weitere Tipps zu sehen"
:help/about "Über Logseq"
:help/awesome-logseq "Awesome Logseq"
:help/block-content-autocomplete "Blockinhalt (Quelltext, Zitate, Abfragen, etc.) Autovervollständigung"
:help/block-reference "Blockverweis"
:help/blog "Logseq Blog"
:help/bug "Fehlerbericht"
:help/changelog "Änderungsprotokoll"
:help/context-menu "Kontextmenü"
:help/docs "Dokumentation"
:help/feature "Feature-Anfrage"
:help/forum-community "Forum-Community"
:help/markdown-syntax "Markdown-Syntax"
:help/org-mode-syntax "Org-Mode-Syntax"
:help/privacy "Datenschutzrichtlinie"
:help/reference-autocomplete "Seitenverweis Autovervollständigung"
:help/roadmap "Roadmap"
:help/shortcut "Tastaturkürzel"
:help/shortcut-page-title "Tastaturbefehl"
:help/shortcuts "Tastaturkürzel"
Expand Down Expand Up @@ -196,7 +186,6 @@
:on-boarding/welcome-whiteboard-modal-start "Whiteboarding beginnen"

:page/add-to-favorites "Zu Favoriten hinzufügen"
:page/backlinks "Backlinks"
:page/copy-page-url "Seiten-URL kopieren"
:page/created-at "Erstellt am"
:page/delete "Seite löschen"
Expand Down Expand Up @@ -232,7 +221,6 @@
:plugin/custom-js-alert "Datei custom.js gefunden. Darf sie ausgeführt werden? (Wenn Sie den Inhalt dieser Datei nicht verstehen, wird empfohlen, die Ausführung nicht zuzulassen, da dies gewisse Sicherheitsrisiken birgt)."
:plugin/delete-alert "Wollen Sie wirklich das Plugin [{1}] deinstallieren?"
:plugin/disabled "Deaktiviert"
:plugin/downloads "Downloads"
:plugin/enabled "Aktiviert"
:plugin/install "Installieren"
:plugin/installed "Installiert"
Expand Down Expand Up @@ -271,17 +259,14 @@
:right-side-bar/separator "Griff zur Größenänderung der rechten Seitenleiste"
:right-side-bar/show-journals "Zeige Journale"
:right-side-bar/switch-theme "Zu {1} Thema wechseln"
:right-side-bar/whiteboards "Whiteboards"

:search/items "Einträge"
:search/page-names "In Seitennamen suchen"
:search/publishing "Suchen"
:search/result-for "Suchergebnisse für"

:search-item/block "Block"
:search-item/file "Datei"
:search-item/page "Seite"
:search-item/whiteboard "Whiteboard"

:select/default-prompt "Wählen Sie einen"

Expand Down Expand Up @@ -317,8 +302,6 @@
:settings-page/enable-journals "Journale einschalten"
:settings-page/enable-shortcut-tooltip "Tooltips für Verknüpfungen aktivieren"
:settings-page/enable-timetracking "Zeiterfassung einschalten"
:settings-page/enable-tooltip "Tooltips"
:settings-page/enable-whiteboards "Whiteboards"
:settings-page/export-theme "Theme exportieren"
:settings-page/filename-format "Dateinamen-Format"
:settings-page/git-commit-delay "Anzahl Sekunden für Git Auto Commit"
Expand All @@ -327,7 +310,6 @@
:settings-page/home-default-page "Standard-Homepage einrichten"
:settings-page/login-prompt "Um vor allen anderen auf neue Funktionen zugreifen zu können, müssen Sie ein Open Collective Sponsor oder Backer von Logseq sein und sich daher zuerst anmelden."
:settings-page/network-proxy "Netzwerk-Proxy"
:settings-page/plugin-system "Plugins"
:settings-page/preferred-file-format "Bevorzugtes Datei-Format"
:settings-page/preferred-outdenting "Logische Ausrückung"
:settings-page/preferred-pasting-file "Einfügen der Datei bevorzugen"
Expand All @@ -340,7 +322,6 @@
:settings-page/tab-advanced "Erweitert"
:settings-page/tab-assets "Anlagen"
:settings-page/tab-features "Funktionen"
:settings-page/tab-editor "Editor"
:settings-page/tab-general "Allgemein"
:settings-page/tab-version-control "Versionskontrolle"

Expand Down Expand Up @@ -432,7 +413,6 @@
:command.editor/forward-word "Cursor ein Wort vorwärts bewegen"
:command.editor/highlight "Hervorheben"
:command.editor/indent "Block einrücken"
:command.editor/insert-link "HTML Link"
:command.editor/insert-youtube-timestamp "YouTube-Zeitstempel einfügen"
:command.editor/italics "Kursiv"
:command.editor/kill-line-after "Zeile nach der Cursorposition löschen"
Expand Down Expand Up @@ -490,7 +470,6 @@
:command.graph/re-index "Aktuellen Graph neu indizieren"
:command.graph/remove "Einen Graph entfernen"
:command.graph/save "Aktuellen Graph auf Festplatte speichern"
:command.misc/copy "mod+c"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with removing "mod+c" everywhere as this is the only key that used the keybinding as a description, which isn't helpful

:command.pdf/close "PDF: Aktuelles PDF-Dokument schließen"
:command.pdf/find "PDF: Text des aktuellen PDF-Dokuments durchsuchen"
:command.pdf/next-page "PDF: Nächste Seite des aktuellen PDF-Dokuments"
Expand Down
2 changes: 1 addition & 1 deletion src/resources/dicts/en.edn
Expand Up @@ -125,7 +125,7 @@
:file-rn/instruct-3 "2. Follow the instructions below to rename the files to the new format:"
:page/created-at "Created At"
:page/updated-at "Updated At"
:page/backlinks "Back Links"
:page/backlinks "Backlinks"
:linked-references/filter-search "Search in linked pages"
:editor/block-search "Search for a block"
:text/image "Image"
Expand Down
5 changes: 0 additions & 5 deletions src/resources/dicts/es.edn
Expand Up @@ -19,7 +19,6 @@
:help/privacy "Política de privacidad"
:help/terms "Términos"
:help/forum-community "Foro de la comunidad"
:help/awesome-logseq "Awesome Logseq"
:help/shortcuts "Atajos de teclado"
:help/shortcuts-triggers "Iniciadores"
:help/shortcut "Atajo"
Expand Down Expand Up @@ -143,8 +142,6 @@
:settings-page/developer-mode "Modo desarrollador"
:settings-page/developer-mode-desc "El modo desarrollador permite a los colaboradores y desarrolladores de extensiones probar sus integraciones con Logseq más eficientemente."
:settings-page/current-version "Versión actual"
:settings-page/tab-general "General"
:settings-page/tab-editor "Editor"
:settings-page/tab-version-control "Control de versiones"
:settings-page/tab-advanced "Avanzado"
:settings-page/plugin-system "Habilitar extensiones"
Expand Down Expand Up @@ -396,7 +393,6 @@
:command.search/re-index "Reconstruir índice de búsqueda"
:command.editor/bold "Negrita"
:command.editor/italics "Cursiva"
:command.editor/insert-link "Enlace html"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't be deleting these if they are translated. In en.edn this exists as :editor/insert-link. There is still some tech debt to address later around removing the weird mappings between shortcuts that don't have the :command prefix and their language keys which do have the :command prefix

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to mention that bb lang:validate-translations already catches unused keys automatically so this isn't something we have to be looking out for

:command.editor/highlight "Resaltado"
:command.editor/undo "Deshacer"
:command.editor/redo "Rehacer"
Expand Down Expand Up @@ -480,7 +476,6 @@
:command.graph/re-index "Reindexar grafo actual"
:command.graph/remove "Eliminar un grafo"
:command.graph/save "Guardar grafo actual al disco"
:command.misc/copy "mod + c"
:command.pdf/close "Pdf: Cerrar documento pdf actual"
:command.pdf/find "Pdf: Buscar texto del documento pdf actual"
:command.pdf/next-page "Pdf: Página siguiente del documento pdf actual"
Expand Down
19 changes: 1 addition & 18 deletions src/resources/dicts/fr.edn
Expand Up @@ -5,7 +5,6 @@
:help/feature "Demander une fonctionnalité"
:help/changelog "Journal des modifications"
:help/blog "Blog de Logseq"
:help/docs "Documentation"
:help/privacy "Politique de confidentialité"
:help/terms "Conditions d'utilisation"
:help/shortcuts "Raccourcis clavier"
Expand All @@ -24,7 +23,6 @@
:italics "Italique"
:highlight "Surligner"
:strikethrough "Barré"
:code "Code"
:right-side-bar/help "Aide"
:right-side-bar/switch-theme "Basculer sur le thème {1}"
:right-side-bar/contents "Contenus"
Expand Down Expand Up @@ -109,21 +107,17 @@
:open-a-directory "Ouvrir un dossier local"
:open-new-window "Nouvelle fenêtre"
:page-search "Chercher dans la page en cours"
:plugins "Extensions"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

French users purposely use extensions to mean plugins so I can undo these changes. Worth discussing this with french users in discord if you have a strong opinion about it as there are more places in this file to address

:port "Port"
:re-index-detail "Reconstruire le graphe"
:re-index-discard-unsaved-changes-warning "La réindexation va effacer le graphe actuel, puis l'indéxer à nouveau. Ceci risque de vous faire perdre le travail non sauvegardé. Continuer ?"
:re-index-multiple-windows-warning "Vous devez d'abord fermer les autres fenêtres avant de réindexer"
:relaunch-confirm-to-work "Il est nécessaire de relancer l'application pour que ça fonctionne. Voulez-vous redémarrer ?"
:remove-heading "Retirer les entêtes"
:remove-orphaned-pages "Supprimer les pages orphelines"
:save "Sauver"
:settings-of-plugins "Extensions"
:sync-from-local-changes-detected "Le rafraîchissement va mettre à jour le contenu de Logseq en fonction des modifications réalisées sur les fichiers locaux. Voulez-vous continuer ?"
:sync-from-local-files "Rafraîchir"
:sync-from-local-files-detail "Importer les changements depuis les fichiers locaux"
:themes "Thèmes"
:type "Type"
:untitled "Sans titre"
:accessibility/skip-to-main-content "Aller au contenu principal"
:asset/confirm-delete "Êtes-vous sûr de vouloir supprimer {1} ?"
Expand Down Expand Up @@ -157,7 +151,6 @@
:file-rn/legend "🟢 Actions de renommage facultatives; 🟡 Action de renommage requise"
:file-rn/need-action "Les actions de renommage de fichier sont suggérées pour être compatibles avec le nouveau format. Une réindexation est requise sur tous les postes quand les fichiers renommés auront été "
:file-rn/no-action "Bravo ! Aucune autre action requise"
:file-rn/optional-rename "Suggestion : "
:file-rn/or-select-actions "ou renommez individuellement les fichiers suivants, puis "
:file-rn/or-select-actions-2 ". Ces actions ne sont pas disponibles dès lors que vous fermez ce panneau."
:file-rn/otherwise-breaking "Ou le titre deviendra"
Expand All @@ -175,9 +168,7 @@
:graph/save "Enregistrement ..."
:graph/save-error "Enregistrement échoué"
:graph/save-success "Enregistrement réussi"
:help/awesome-logseq "Awesome Logseq"
:help/forum-community "Forum communautaire"
:help/roadmap "Roadmap"
:help/forum-community "Forum communautaire"
:help/shortcut-page-title "Raccourcis clavier"
:help/start "Démarrage"
:left-side-bar/create "Créer"
Expand Down Expand Up @@ -257,7 +248,6 @@
:search/result-for "Résultat de recherche pour "
:search-item/block "Bloc"
:search-item/file "Fichier"
:search-item/page "Page"
:search-item/whiteboard "Tableau blanc"
:select/default-prompt "Sélectionnez"
:select.graph/add-graph "Oui, ajouter un autre graphe"
Expand All @@ -282,7 +272,6 @@
:settings-page/enable-all-pages-public "Toutes les pages publiques lors de la publication"
:settings-page/enable-block-time "Horodatage de bloc"
:settings-page/enable-flashcards "Cartes-mémoire"
:settings-page/enable-journals "Journals"
:settings-page/enable-shortcut-tooltip "Activer les astuces sur les raccourcis"
:settings-page/enable-tooltip "Astuces"
:settings-page/enable-whiteboards "Tableaux blancs"
Expand All @@ -294,7 +283,6 @@
:settings-page/home-default-page "Régler la page d'accueil par défaut"
:settings-page/login-prompt "Pour accéder aux nouvelles fonctionnalités avant tout le monde, vous devez être sponsor ou \"backer\" (contributeur) sur Open Collective, puis vous connecter."
:settings-page/network-proxy "Proxy réseau"
:settings-page/plugin-system "Extensions"
:settings-page/preferred-outdenting "Mise en retrait logique"
:settings-page/shortcut-settings "Personnaliser les raccourcis"
:settings-page/show-brackets "Montrer les parenthèses, crochets et accolades"
Expand All @@ -306,7 +294,6 @@
:settings-page/tab-features "Fonctionnalités"
:settings-page/tab-general "Général"
:settings-page/tab-version-control "Contrôle de version"
:text/image "Image"
:tips/all-done "Tout terminé"
:updater/new-version-install "Une nouvelle version a été téléchargée."
:updater/quit-and-install "Relancez pour installer"
Expand All @@ -325,7 +312,6 @@
:settings-page/clear-cache-warning "Vider le cache supprimera les graphiques ouverts. Vous perdrez les modifications non enregistrées."
:settings-page/disable-sentry-desc "Logseq ne collectera jamais votre base de données de graphes locale ni ne vendra vos données."

:shortcut.category/formatting "Formats"
:command.editor/indent "Indenter un Bloc vers la droite"
:command.editor/outdent "Indenter un Bloc vers la gauche"
:command.editor/move-block-up "Déplacer un bloc au dessus"
Expand Down Expand Up @@ -386,7 +372,6 @@
:command.editor/forward-kill-word "Supprimer un mot en avant"
:command.editor/forward-word "Déplacer le curseur d'un mot en avant"
:command.editor/highlight "Surlignage"
:command.editor/insert-link "Lien HTML"
:command.editor/insert-youtube-timestamp "Insérer un horodatage YouTube"
:command.editor/italics "Italique"
:command.editor/kill-line-after "Effacer la ligne après position du curseur"
Expand Down Expand Up @@ -428,7 +413,6 @@
:command.graph/re-index "Réindexer le graph actuel"
:command.graph/remove "Retirer un graphe"
:command.graph/save "Enregistrer le graphe sur le disque"
:command.misc/copy "mod+c"
:command.pdf/close "PDF: Fermer le document PDF"
:command.pdf/find "PDF: Rechercher du texte dans le document"
:command.pdf/next-page "PDF: Page suivante du document en cours"
Expand All @@ -449,7 +433,6 @@
:shortcut.category/block-command-editing "Édition de commande de bloc"
:shortcut.category/block-editing "Édition de bloc en générale"
:shortcut.category/block-selection "Sélection de bloc (appuyer sur Esc pour quitter la sélection)"
:shortcut.category/navigating "Navigation"
:shortcut.category/others "Autres"
:shortcut.category/toggle "Basculer"
:command.editor/select-parent "Sélectionnez le bloc parent"
Expand Down
9 changes: 0 additions & 9 deletions src/resources/dicts/it.edn
Expand Up @@ -10,15 +10,13 @@
:on-boarding/new-graph-desc-5 "/logseq - contiene i dati di configurazione, custom.css, e alcuni metadati."
:help/start "Per iniziare"
:help/about "Informazioni su Logseq"
:help/roadmap "Roadmap"
:help/bug "Segnala un problema"
:help/feature "Richiedi una funzionalità"
:help/changelog "Registro delle modifiche"
:help/blog "blog di Logseq"
:help/docs "Documentazione"
:help/privacy "Politica sulla riservatezza"
:help/terms "Termini di Servizio"
:help/awesome-logseq "Awesome Logseq"
:help/shortcuts "Scorciatoie da tastiera"
:help/shortcuts-triggers "Attivazione delle scorciatoie"
:help/shortcut "Scorciatoia"
Expand Down Expand Up @@ -47,7 +45,6 @@
:right-side-bar/block-ref "Riferimento di Blocco"
:right-side-bar/graph-view "Vista del grafico"
:right-side-bar/all-pages "Tutte le pagine"
:right-side-bar/flashcards "Flashcard"
:right-side-bar/new-page "Nuova pagina"
:right-side-bar/show-journals "Mostra diari"
:left-side-bar/journals "Diario"
Expand Down Expand Up @@ -116,7 +113,6 @@
:settings-page/developer-mode-desc "La modalità sviluppatore aiuta i contributori e gli sviluppatori di estensioni a testare le loro integrazioni con Logseq in modo più efficiente."
:settings-page/current-version "Versione attuale"
:settings-page/tab-general "Generale"
:settings-page/tab-editor "Editor"
:settings-page/tab-version-control "Controllo di versione"
:settings-page/tab-advanced "Avanzate"
:settings-page/plugin-system "Sistema di plugin"
Expand All @@ -128,7 +124,6 @@
:delete "Elimina"
:save "Salva"
:type "Tipo"
:host "Host"
:port "Porta"
:re-index "Re-indicizza"
:re-index-detail "Ricostruisci il grafo"
Expand Down Expand Up @@ -167,7 +162,6 @@
:all-journals "Tutte le pagine di diario"
:settings "Impostazioni"
:settings-of-plugins "Impostazioni plugin"
:plugins "Plugin"
:themes "Temi"
:relaunch-confirm-to-work "È necessario riavviare l'app per farla funzionare. Vuoi riavviarla ora?"
:import "Importa"
Expand Down Expand Up @@ -302,7 +296,6 @@
:command.editor/cut "Taglia"
:command.editor/undo "Annulla"
:command.editor/redo "Rifai"
:command.editor/insert-link "Link HTML"
:command.editor/select-all-blocks "Seleziona tutti i blocchi"
:command.editor/zoom-in "Ingrandisci blocco di modifica / Avanti altrimenti"
:command.editor/zoom-out "Rimpicciolisci il blocco di modifica / Indietro altrimenti"
Expand All @@ -315,7 +308,6 @@
:command.search/re-index "Ricostruisci indice di ricerca"
:command.sidebar/open-today-page "Apri la pagina di oggi nella barra laterale destra"
:command.sidebar/clear "Pulisci tutto nella barra laterale destra"
:command.misc/copy "mod+c"
:command.command-palette/toggle "Attiva/disattiva tavolozza comandi"
:command.graph/open "Seleziona il diagramma da aprire"
:command.graph/remove "Rimuovi un diagramma"
Expand All @@ -337,7 +329,6 @@
:command.ui/toggle-help "Attiva/disattiva aiuto"
:command.ui/toggle-theme "Passa dal tema scuro a quello chiaro"
:command.ui/toggle-contents "Attiva/disattiva i contenuti nella barra laterale"
;; :command.ui/open-new-window "Apri un'altra finestra"
:command.command/toggle-favorite "Aggiungi a/rimuovi dai preferiti"
:command.editor/open-file-in-default-app "Apri file nell'app predefinita"
:command.editor/open-file-in-directory "Apri file nella directory principale"
Expand Down