diff --git a/browser/main/SideNav/StorageItem.js b/browser/main/SideNav/StorageItem.js index 92222d27..9ad1ec30 100644 --- a/browser/main/SideNav/StorageItem.js +++ b/browser/main/SideNav/StorageItem.js @@ -10,6 +10,7 @@ import dataApi from 'browser/main/lib/dataApi' import StorageItemChild from 'browser/components/StorageItem' import _ from 'lodash' import { SortableElement } from 'react-sortable-hoc' +import i18n from 'browser/lib/i18n' const { remote } = require('electron') const { Menu, dialog } = remote diff --git a/browser/main/modals/PreferencesModal/UiTab.js b/browser/main/modals/PreferencesModal/UiTab.js index deb70c06..81e29746 100644 --- a/browser/main/modals/PreferencesModal/UiTab.js +++ b/browser/main/modals/PreferencesModal/UiTab.js @@ -369,7 +369,7 @@ class UiTab extends React.Component { -
Preview
+
{i18n.__('Preview')}
{i18n.__('Preview Font Size')} diff --git a/locales/da.json b/locales/da.json index 60201b34..e54245f9 100644 --- a/locales/da.json +++ b/locales/da.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/de.json b/locales/de.json index fb2b6b11..9c36871c 100644 --- a/locales/de.json +++ b/locales/de.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Zeilennummern im Editor anzeigen", "Allow editor to scroll past the last line": "Editor das Scrollen über das Ende hinaus erlauben", "Bring in web page title when pasting URL on editor": "Websitetitel beim Einfügen in den Editor anzeigen", + "Preview": "Vorschau", "Preview Font Size": "Vorschau Schriftgröße", "Preview Font Family": "Vorschau Schriftart", "Code block Theme": "Code block Theme", diff --git a/locales/en.json b/locales/en.json index 91cb7f18..ee3dda06 100644 --- a/locales/en.json +++ b/locales/en.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/es.json b/locales/es.json index 60201b34..e54245f9 100644 --- a/locales/es.json +++ b/locales/es.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/fr.json b/locales/fr.json index 60201b34..6f664280 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -1,144 +1,143 @@ { "Notes": "Notes", "Tags": "Tags", - "Preferences": "Preferences", - "Make a note": "Make a note", + "Preferences": "Préférences", + "Make a note": "Créer une note", "Ctrl": "Ctrl", "Ctrl(^)": "Ctrl", - "to create a new note": "to create a new note", + "to create a new note": "pour créer une nouvelle note", "Toggle Mode": "Toggle Mode", - "Trash": "Trash", - "MODIFICATION DATE": "MODIFICATION DATE", - "Words": "Words", - "Letters": "Letters", - "STORAGE": "STORAGE", - "FOLDER": "FOLDER", - "CREATION DATE": "CREATION DATE", - "NOTE LINK": "NOTE LINK", + "Trash": "Poubelle", + "MODIFICATION DATE": "DATE DE MODIFICATION", + "Words": "Mots", + "Letters": "Lettres", + "STORAGE": "STOCKAGE", + "FOLDER": "DOSSIER", + "CREATION DATE": "DATE DE CREATION", + "NOTE LINK": "LIEN DE LA NOTE", ".md": ".md", ".txt": ".txt", ".html": ".html", - "Print": "Print", - "Your preferences for Boostnote": "Your preferences for Boostnote", - "Storages": "Storages", - "Add Storage Location": "Add Storage Location", - "Add Folder": "Add Folder", - "Open Storage folder": "Open Storage folder", - "Unlink": "Unlink", - "Edit": "Edit", - "Delete": "Delete", + "Print": "Imprimer", + "Your preferences for Boostnote": "Vos préférences pour Boostnote", + "Storages": "Stockages", + "Add Storage Location": "Ajouter un espace de stockage", + "Add Folder": "Ajouter un dossier", + "Open Storage folder": "Ouvrir un dossier de stockage", + "Unlink": "Délier", + "Edit": "Editer", + "Delete": "Supprimer", "Interface": "Interface", - "Interface Theme": "Interface Theme", - "Default": "Delete", - "White": "White", - "Solarized Dark": "Solarized Dark", - "Dark": "Dark", - "Show a confirmation dialog when deleting notes": "Show a confirmation dialog when deleting notes", - "Editor Theme": "Editor Theme", - "Editor Font Size": "Editor Font Size", - "Editor Font Family": "Editor Font Family", - "Editor Indent Style": "Editor Indent Style", - "Spaces": "Spaces", - "Tabs": "Tabs", - "Switch to Preview": "Switch to Preview", - "When Editor Blurred": "When Editor Blurred", - "When Editor Blurred, Edit On Double Click": "When Editor Blurred, Edit On Double Click", - "On Right Click": "On Right Click", - "Editor Keymap": "Editor Keymap", - "default": "default", + "Interface Theme": "Thème d'interface", + "Default": "Effacer", + "White": "Blanc", + "Solarized Dark": "Foncé solarisé", + "Dark": "Foncé", + "Show a confirmation dialog when deleting notes": "Montrer une alerte de confirmation lors de la suppression de notes", + "Editor Theme": "Theme d'éditeur", + "Editor Font Size": "Taille de police de l'éditeur", + "Editor Font Family": "Police de l'éditeur", + "Editor Indent Style": "Style d'indentation de l'éditeur", + "Spaces": "Espaces", + "Tabs": "Tabulations", + "Switch to Preview": "Switcher vers l'aperçu", + "When Editor Blurred": "Quand l'éditeur n'est pas sélectionné", + "When Editor Blurred, Edit On Double Click": "Quand l'éditeur n'est pas sélectionné, éditer avec un double clic", + "On Right Click": "Avec un clic droit", + "Editor Keymap": "Keymap de l'éditeur", + "default": "Par défaut", "vim": "vim", "emacs": "emacs", - "⚠️ Please restart boostnote after you change the keymap": "⚠️ Please restart boostnote after you change the keymap", - "Show line numbers in the editor": "Show line numbers in the editor", - "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", - "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", - "Preview Font Size": "Preview Font Size", - "Preview Font Family": "Preview Font Family", - "Code block Theme": "Code block Theme", - "Allow preview to scroll past the last line": "Allow preview to scroll past the last line", - "Show line numbers for preview code blocks": "Show line numbers for preview code blocks", + "⚠️ Please restart boostnote after you change the keymap": "⚠️ Redémarrez Boostnote après avoir changé la keymap", + "Show line numbers in the editor": "Montrer les numéros de lignes dans l'éditeur", + "Allow editor to scroll past the last line": "Contrôle si l'éditeur défile au-delà de la dernière ligne", + "Bring in web page title when pasting URL on editor": "Mettre le titre de la page lors d'un collé d'une URL dans l'éditeur", + "Preview": "Aperçu", + "Preview Font Size": "Taille de police de l'aperçu", + "Preview Font Family": "Police de l'aperçu", + "Code block Theme": "Thème des blocs de code", + "Show line numbers for preview code blocks": "Montrer les numéros de lignes dans les blocs de code dans l'aperçu", "LaTeX Inline Open Delimiter": "LaTeX Inline Open Delimiter", "LaTeX Inline Close Delimiter": "LaTeX Inline Close Delimiter", "LaTeX Block Open Delimiter": "LaTeX Block Open Delimiter", "LaTeX Block Close Delimiter": "LaTeX Block Close Delimiter", - "Community": "Community", - "Subscribe to Newsletter": "Subscribe to Newsletter", + "Community": "Communauté", + "Subscribe to Newsletter": "Souscrire à la newsletter", "GitHub": "GitHub", "Blog": "Blog", - "Facebook Group": "Facebook Group", + "Facebook Group": "Groupe Facebook", "Twitter": "Twitter", - "About": "About", + "About": "A propos", "Boostnote": "Boostnote", - "An open source note-taking app made for programmers just like you.": "An open source note-taking app made for programmers just like you.", - "Website": "Website", - "Development": "Development", - " : Development configurations for Boostnote.": " : Development configurations for Boostnote.", + "An open source note-taking app made for programmers just like you.": "Une appli de prise de notes open-source faite pour les développeurs comme vous.", + "Website": "Site web", + "Development": "Développement", + " : Development configurations for Boostnote.": " : Configurations de développement pour Boostnote.", "Copyright (C) 2017 - 2018 BoostIO": "Copyright (C) 2017 - 2018 BoostIO", "License: GPL v3": "License: GPL v3", "Analytics": "Analytics", - "Boostnote collects anonymous data for the sole purpose of improving the application, and strictly does not collect any personal information such the contents of your notes.": "Boostnote collects anonymous data for the sole purpose of improving the application, and strictly does not collect any personal information such the contents of your notes.", - "You can see how it works on ": "You can see how it works on ", - "You can choose to enable or disable this option.": "You can choose to enable or disable this option.", - "Enable analytics to help improve Boostnote": "Enable analytics to help improve Boostnote", + "Boostnote collects anonymous data for the sole purpose of improving the application, and strictly does not collect any personal information such the contents of your notes.": "Boostnote collecte des données anonymisées dans le seul but d'améliorer l'application, et ne collecte aucune donnée personnelle telle que le contenu de vos notes.", + "You can see how it works on ": "Vous pouvez voir comment ça marche sur", + "You can choose to enable or disable this option.": "Vous pouvez choisir d'activer/désactiver cette option.", + "Enable analytics to help improve Boostnote": "Activer la collecte de données anonymisées pour améliorer Boostnote", "Crowdfunding": "Crowdfunding", - "Dear everyone,": "Dear everyone,", - "Thank you for using Boostnote!": "Thank you for using Boostnote!", - "Boostnote is used in about 200 different countries and regions by an awesome community of developers.": "Boostnote is used in about 200 different countries and regions by an awesome community of developers.", - "To continue supporting this growth, and to satisfy community expectations,": "To continue supporting this growth, and to satisfy community expectations,", - "we would like to invest more time and resources in this project.": "we would like to invest more time and resources in this project.", - "If you like this project and see its potential, you can help by supporting us on OpenCollective!": "If you like this project and see its potential, you can help by supporting us on OpenCollective!", - "Thanks,": "Thanks,", - "Boostnote maintainers": "Boostnote maintainers", + "Dear everyone,": "Cher utilisateur,", + "Thank you for using Boostnote!": "Merci d'utiliser Boostnote !", + "Boostnote is used in about 200 different countries and regions by an awesome community of developers.": "Boostnote est utilisé dans plus de 200 pays et régions par une impressionnante communauté de développeurs.", + "To continue supporting this growth, and to satisfy community expectations,": "Afin de continuer à grandir, et de satisfaire les attentes de la communauté,", + "we would like to invest more time and resources in this project.": "nous aimerions investir d'avantage de temps et de ressources dans ce proje.", + "If you like this project and see its potential, you can help by supporting us on OpenCollective!": "Si vous aimez ce projet et que vous en voyez tout le potentiel, vous pouvez aider par un support sur OpenCollective !", + "Thanks,": "Merci,", + "Boostnote maintainers": "Les mainteneurs de Boostnote", "Support via OpenCollective": "Support via OpenCollective", - "Language": "Language", - "English": "English", - "German": "German", - "French": "French", - "Show \"Saved to Clipboard\" notification when copying": "Show \"Saved to Clipboard\" notification when copying", - "All Notes": "All Notes", - "Starred": "Starred", - "Are you sure to ": "Are you sure to ", - " delete": " delete", - "this folder?": "this folder?", - "Confirm": "Confirm", - "Cancel": "Cancel", - "Markdown Note": "Markdown Note", - "This format is for creating text documents. Checklists, code blocks and Latex blocks are available.": "This format is for creating text documents. Checklists, code blocks and Latex blocks are available.", - "Snippet Note": "Snippet Note", - "This format is for creating code snippets. Multiple snippets can be grouped into a single note.": "This format is for creating code snippets. Multiple snippets can be grouped into a single note.", - "Tab to switch format": "Tab to switch format", - "Updated": "Updated", - "Created": "Created", - "Alphabetically": "Alphabetically", - "Default View": "Default View", - "Compressed View": "Compressed View", - "Search": "Search", + "Language": "Langues", + "English": "Anglais", + "German": "Allemand", + "French": "Français", + "Show \"Saved to Clipboard\" notification when copying": "Montrer la notification \"Sauvegardé dans le presse-papiers\" lors de la copie", + "All Notes": "Toutes les notes", + "Starred": "Favoris", + "Are you sure to ": "Etes-vous sûr de ", + " delete": " supprimer", + "this folder?": "ce dossier ?", + "Confirm": "Confimer", + "Cancel": "Annuler", + "Markdown Note": "Note Markdown", + "This format is for creating text documents. Checklists, code blocks and Latex blocks are available.": "Ce format est pour créer des documents texte. Checklists, blocks de code et blocks Latex sont disponibles.", + "Snippet Note": "Note Snippet", + "This format is for creating code snippets. Multiple snippets can be grouped into a single note.": "Ce format est pour créer des snippets de code. Plusieurs snippets peuvent être groupés en une seule note.", + "Tab to switch format": "Tab pour changer de format", + "Updated": "Mis à jour", + "Created": "Créé", + "Alphabetically": "De manière alphabétique", + "Default View": "Vue par défaut", + "Compressed View": "Vue compressée", + "Search": "Chercher", "Blog Type": "Blog Type", "Blog Address": "Blog Address", - "Save": "Save", + "Save": "Sauvegarder", "Auth": "Auth", - "Authentication Method": "Authentication Method", + "Authentication Method": "Méthode d'Authentification", "JWT": "JWT", "USER": "USER", "Token": "Token", - "Storage": "Storage", - "Hotkeys": "Hotkeys", - "Show/Hide Boostnote": "Show/Hide Boostnote", - "Restore": "Restore", - "Permanent Delete": "Permanent Delete", - "Confirm note deletion": "Confirm note deletion", - "This will permanently remove this note.": "This will permanently remove this note.", - "Successfully applied!": "Successfully applied!", - "Albanian": "Albanian", - "Chinese (zh-CN)": "Chinese (zh-CN)", - "Chinese (zh-TW)": "Chinese (zh-TW)", - "Danish": "Danish", - "Japanese": "Japanese", - "Korean": "Korean", - "Norwegian": "Norwegian", - "Polish": "Polish", - "Portuguese": "Portuguese", - "Spanish": "Spanish", - "You have to save!": "You have to save!", - "Russian": "Russian" -} \ No newline at end of file + "Storage": "Stockage", + "Hotkeys": "Raccourcis", + "Show/Hide Boostnote": "Montrer/Cacher Boostnote", + "Restore": "Restaurer", + "Permanent Delete": "Supprimer définivitement", + "Confirm note deletion": "Confirmer la suppression de la note", + "This will permanently remove this note.": "Cela va supprimer cette note définitivement.", + "Successfully applied!": " Succès !", + "Albanian": "Albanais", + "Chinese (zh-CN)": "Chinois (zh-CN)", + "Chinese (zh-TW)": "Chinois (zh-TW)", + "Danish": "Danois", + "Japanese": "Japonais", + "Korean": "Coréen", + "Norwegian": "Norvégien", + "Polish": "Polonais", + "Portuguese": "Portugais", + "Spanish": "Espagnol", + "You have to save!": "Il faut sauvegarder !" + } \ No newline at end of file diff --git a/locales/ja.json b/locales/ja.json index 60201b34..e54245f9 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/ko.json b/locales/ko.json index 60201b34..e54245f9 100644 --- a/locales/ko.json +++ b/locales/ko.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/no.json b/locales/no.json index 60201b34..e54245f9 100644 --- a/locales/no.json +++ b/locales/no.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/pl.json b/locales/pl.json index 60201b34..e54245f9 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/pt.json b/locales/pt.json index 60201b34..e54245f9 100644 --- a/locales/pt.json +++ b/locales/pt.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/ru.json b/locales/ru.json index 798f9c8d..74f83388 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Показывать номера строк в редакторе", "Allow editor to scroll past the last line": "Разрешить прокрутку дальше последней строки в редакторе", "Bring in web page title when pasting URL on editor": "Копировать заголовок страницы при вставке URL-ссылки в редакторе", + "Preview": "Preview", "Preview Font Size": "Размер шрифта", "Preview Font Family": "Шрифт", "Code block Theme": "Тема оформления кода", diff --git a/locales/sq.json b/locales/sq.json index 60201b34..e54245f9 100644 --- a/locales/sq.json +++ b/locales/sq.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 60201b34..e54245f9 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme", diff --git a/locales/zh-TW.json b/locales/zh-TW.json index 60201b34..e54245f9 100644 --- a/locales/zh-TW.json +++ b/locales/zh-TW.json @@ -52,6 +52,7 @@ "Show line numbers in the editor": "Show line numbers in the editor", "Allow editor to scroll past the last line": "Allow editor to scroll past the last line", "Bring in web page title when pasting URL on editor": "Bring in web page title when pasting URL on editor", + "Preview": "Preview", "Preview Font Size": "Preview Font Size", "Preview Font Family": "Preview Font Family", "Code block Theme": "Code block Theme",