1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-27 20:29:45 +02:00

Compare commits

...

228 Commits

Author SHA1 Message Date
Laurent Cozic
377adea51d Android release v1.0.140 2018-10-02 18:19:27 +01:00
Laurent Cozic
cda3d20834 Android release v1.0.138 2018-10-02 18:10:37 +01:00
Laurent Cozic
d11870b1eb Trying to get RN 0.57.1 to work 2018-10-02 19:02:38 +00:00
Laurent Cozic
53bda3eea7 Trying RN 0.57.1 upgrade 2018-10-02 18:57:31 +00:00
Laurent Cozic
2202eb6570 Merge branch 'master' of github.com:laurent22/joplin 2018-10-01 20:55:52 +01:00
Laurent Cozic
720927f488 All: Fixes #832: Enex import: Don't add extra line breaks at the beginning of list item when it contains a block element 2018-10-01 20:55:24 +01:00
Helmut K. C. Tessarek
2858c0fce0 CLI v1.0.116 2018-09-30 18:28:54 -04:00
Laurent Cozic
36c3521f40 Update website 2018-09-30 21:15:21 +01:00
Laurent Cozic
98a3b99d17 Electron release v1.0.111 2018-09-30 20:45:03 +01:00
Laurent Cozic
95a06c4531 All: Fixes #818: Use sort options when displayed tagged notes 2018-09-30 20:43:46 +01:00
Laurent Cozic
6ea77b36ce Electron: Resolves #820: Allow dragging and dropping a note in another note to create a link 2018-09-30 20:15:30 +01:00
Laurent Cozic
0cd7ebf9d3 Electron: Fixes resources being incorrectly auto-deleted when inside an IMG tag 2018-09-30 19:24:02 +01:00
Laurent Cozic
a816498fc6 Android release v1.0.135 2018-09-30 10:52:30 +01:00
Laurent Cozic
549c1a6767 Android: Make camera features optional to, maybe, enable Chromebooks 2018-09-30 10:48:10 +01:00
Laurent Cozic
f87d1f11b0 API: Allow downloading a resource data 2018-09-30 10:15:46 +01:00
Laurent Cozic
fb913bc33c Mobile: Fixes #654: Fixed auto-title logic so that set title doesn't get overwritten in some conditions for new notes 2018-09-29 15:57:18 +01:00
Laurent Cozic
53d7a51cb0 Removed API doc from translations and updated FR translation 2018-09-29 13:29:07 +01:00
Laurent Cozic
12da48c756 Electron release v1.0.110 2018-09-29 13:17:48 +01:00
Laurent Cozic
a0a6bdb684 Update website 2018-09-29 13:15:36 +01:00
Laurent Cozic
eb4aa2c026 API: Added more calls 2018-09-29 12:54:44 +01:00
Laurent Cozic
a9e789f845 Clipper: Fixed screenshot text box label colour 2018-09-29 12:53:16 +01:00
Laurent Cozic
89b76918bd Merge branch 'master' of github.com:laurent22/joplin 2018-09-28 21:04:23 +01:00
Laurent Cozic
e98575643c API: Added documentation generator and built documentation 2018-09-28 21:03:28 +01:00
Laurent Cozic
7c9e7743f1 Merge pull request #825 from sensor-freak/patch-2
Fixed some german translations
2018-09-28 20:58:32 +01:00
sensor-freak
435aa4845b Fixed some german translations 2018-09-28 21:43:17 +02:00
Laurent Cozic
9841488ce4 Updated translations 2018-09-28 19:25:56 +01:00
Laurent Cozic
9c907989a5 Merge branch 'master' of github.com:laurent22/joplin 2018-09-28 19:25:18 +01:00
Laurent Cozic
f684d8e59a Merge pull request #824 from sensor-freak/patch-1
Update de_DE.json
2018-09-28 19:25:05 +01:00
Laurent Cozic
a1ad6c9712 API: Added more API calls 2018-09-28 19:24:57 +01:00
Laurent Cozic
b6ca3090df Merge pull request #822 from foxmask/master
Forbidden is 403 - typo :)
2018-09-28 19:23:48 +01:00
Helmut K. C. Tessarek
ff2d793fbb CLI v1.0.115 2018-09-28 14:08:21 -04:00
sensor-freak
fcfb7f1111 Update de_DE.json
Fix and add some german translations
2018-09-28 07:39:13 +02:00
FoxMaSk
6125cde223 Forbidden is 403 - typo :) 2018-09-27 21:38:16 +02:00
Laurent Cozic
c83391e624 Update website 2018-09-27 19:02:01 +01:00
Laurent Cozic
a3a818ea74 Clipper release v1.0.7 2018-09-27 19:00:04 +01:00
Laurent Cozic
54a4965503 Android release v1.0.133 2018-09-27 18:54:14 +01:00
Laurent Cozic
2233d88c01 Electron release v1.0.109 2018-09-27 18:50:38 +01:00
Laurent Cozic
9680ab74a3 All: Allow loading image resources in IMG html tags 2018-09-27 18:42:34 +01:00
Laurent Cozic
ef711af5b5 Api: Added method to get notes 2018-09-27 18:35:10 +00:00
Laurent Cozic
8a619e4b8b All: Refactored REST API to make it testable and to allow further extension 2018-09-27 09:14:05 +01:00
Laurent Cozic
bc09d2c640 Clipper: Fixes #817: Added support for PICTURE tags, which will fix issues with certain pages from which images were not being imported 2018-09-25 21:19:54 +01:00
Laurent Cozic
f82dfde6f4 Clipper: Fixed importing certain images with sources that contain brackets 2018-09-24 20:15:23 +01:00
Laurent Cozic
312c7f2d27 Electron: Fixed regression following security fix - links were being opened inside Joplin instead of in external browser 2018-09-24 20:14:21 +01:00
Laurent Cozic
953cc327c6 Electron: Fixes #805: Fixed app freezing when opening note in external editor and then creating new note 2018-09-24 07:10:00 +01:00
Laurent Cozic
14cff96713 Mobile: Fix potential crash when going back to OneDrive login screen 2018-09-23 20:45:34 +01:00
Laurent Cozic
34b9af2ce0 Electron: Fixes #802: Scale note text correctly when using zoom 2018-09-23 19:48:50 +01:00
Laurent Cozic
6a6ee280c3 All: Fixes #801: Replaced freegeoip which is no longer free with ip-api 2018-09-23 19:45:13 +01:00
Laurent Cozic
861387707a CLI: Fixes #795: Display tree of notebooks correctly 2018-09-23 19:33:44 +01:00
Laurent Cozic
830e665366 Updated translation 2018-09-23 19:15:49 +01:00
Laurent Cozic
f14ae68ea0 Merge pull request #812 from ikunya/update-japo
Update Japanese Translations.
2018-09-23 19:15:16 +01:00
Laurent Cozic
c7084bf27e Updated French translation 2018-09-23 19:15:04 +01:00
Laurent Cozic
fc8ffcbe46 Clipper: Fixes #672: Make sure selected notebook is saved and restored correctly 2018-09-23 18:44:39 +01:00
Laurent Cozic
77f089654e Clipper: Resolves #681: Allow adding tags from Web Clipper 2018-09-23 18:03:11 +01:00
Laurent Cozic
e7a12bb0dd Clipper: Fixes #809: Saves full URL with note, including query parameters 2018-09-22 17:41:09 +01:00
AWASHIRO Ikuya
22fe3a4e44 Update Japanese Translations. 2018-09-22 23:34:07 +09:00
Laurent Cozic
afb8b92528 Clipper: Fixed init sequence 2018-09-22 11:21:39 +01:00
Laurent Cozic
5178f99100 Electron release v1.0.108 2018-09-21 18:20:34 +01:00
Laurent Cozic
72af564382 Electron: Fixed security issue by enabling contextIsolation and proxying IPC messages via preload script 2018-09-21 18:20:06 +01:00
Laurent Cozic
0a2b83998c Merge pull request #811 from mvonmaltitz/master
Fix ubuntu install script
2018-09-21 12:00:54 +01:00
Marcel von Maltitz
73e79213dc Fix ubuntu install script
If no former version is present, the script fails since the rm commands do not succeed.
Added -f to rm in order to ignore non-existent directories to be deleted.
2018-09-21 12:55:01 +02:00
Laurent Cozic
e31ffc9474 Update website 2018-09-16 20:51:28 +01:00
Laurent Cozic
fdb8706a5f Android release v1.0.132 2018-09-16 20:12:56 +01:00
Laurent Cozic
4c0262bd82 Electron release v1.0.107 2018-09-16 20:09:07 +01:00
Laurent Cozic
3b2dcb37a6 CLI: Updated Readme 2018-09-16 20:03:29 +01:00
Laurent Cozic
46a3b020a6 Merge pull request #784 from Kriechi/cli-decrypt
CLI: improve e2ee decrypt command
2018-09-16 20:01:09 +01:00
Laurent Cozic
8373392e99 Merge pull request #793 from tanrax/patch-4
Added comments and information texts
2018-09-16 19:53:33 +01:00
Laurent Cozic
695c2623c2 Added Romanian translation 2018-09-16 19:53:06 +01:00
Laurent Cozic
979e7f2486 Merge pull request #796 from cdorin93/ro-translation-added
Romanian translation added
2018-09-16 19:50:03 +01:00
Laurent Cozic
e7a9f630ec All: Fixes #799: Handle restricted_content error for Dropbox 2018-09-16 19:49:07 +01:00
Laurent Cozic
4e8372174b Electron: Resolves #755: Added note properties dialog box to view and edit created time, updated time, source URL and geolocation 2018-09-16 19:37:31 +01:00
cdorin93
1b8912d7e9 Romanian translation added 2018-09-15 22:49:40 +02:00
Andros Fenollosa
8c3669588b Added comments and information texts
Comments, presentation title, final informative text have been added and temporary variable is deleted.
2018-09-14 19:03:09 +02:00
Laurent Cozic
1b784fe3b0 Merge branch 'master' of github.com:laurent22/joplin 2018-09-13 20:53:39 +01:00
Laurent Cozic
5ab1d8dfd6 All: Resolves #781: Allow creating notebooks with duplicate titles to allow two notebooks with same name to exist under different parents 2018-09-13 20:53:31 +01:00
Laurent Cozic
cda8b95bfa Merge pull request #768 from sebastienjust/master
Notebooks list is sorted alphabetically as default
2018-09-13 19:56:57 +01:00
Laurent Cozic
9664842b1a Update Chinese translation 2018-09-13 19:48:00 +01:00
Laurent Cozic
09836e1d34 Merge branch 'master' of github.com:laurent22/joplin 2018-09-13 19:46:12 +01:00
Laurent Cozic
8974e20c7f Update readme 2018-09-13 19:46:06 +01:00
Laurent Cozic
761a49803e Merge pull request #775 from tanrax/patch-1
Script to install on Ubuntu with Gnome Shell
2018-09-13 19:45:24 +01:00
Laurent Cozic
a40028f0c0 Merge pull request #776 from tanrax/patch-2
Create install_ubuntu.sh
2018-09-13 19:45:14 +01:00
Laurent Cozic
d4fca7e313 Merge pull request #787 from tessus/external-storage
allow the app to be installed on external storage (SD card)
2018-09-13 19:42:34 +01:00
Laurent Cozic
6748d4d825 Merge branch 'master' of github.com:laurent22/joplin 2018-09-13 19:31:18 +01:00
Laurent Cozic
0a5ad1d628 Electron: Fixes #710: Don't unwatch file when it is temporarily deleted 2018-09-13 19:29:48 +01:00
Laurent Cozic
4080958e10 Merge pull request #790 from chaifeng/zh_CN
Update zh_CN.po
2018-09-12 23:15:32 +01:00
Chai Feng
95c4a717e3 Update zh_CN.po 2018-09-12 09:13:10 +08:00
Helmut K. C. Tessarek
c5b9353105 fix whitespace errors (spaces to tabs) 2018-09-10 20:06:38 -04:00
Helmut K. C. Tessarek
17595f7ceb allow the app to be installed on external storage (SD card) 2018-09-10 20:04:54 -04:00
Andros Fenollosa
dcf78e8a06 Prevent the folder from being deleted 2018-09-10 22:57:50 +02:00
Andros Fenollosa
de0c54c3c3 Add set -e 2018-09-10 22:54:01 +02:00
Laurent Cozic
38970e9a52 Merge branch 'master' of github.com:laurent22/joplin 2018-09-10 19:19:42 +01:00
Laurent Cozic
563f43168b All: Fix #764: Fix equation tag positioning 2018-09-10 19:19:33 +01:00
Thomas Kriechbaumer
6e235605ed CLI: improve e2ee decrypt command 2018-09-10 18:39:19 +02:00
Laurent Cozic
0749e0b675 Merge pull request #777 from tanrax/patch-3
Add fastmail WebDAV synchronisation list
2018-09-09 20:54:30 +01:00
Laurent Cozic
756f3e627c All: Fixes #718: Allow recursively importing Markdown folder 2018-09-09 20:32:23 +01:00
Andros Fenollosa
4b39ed42b1 Add fastmail WebDAV synchronisation list 2018-09-09 21:16:42 +02:00
Andros Fenollosa
abe85ca4bd Update README.md 2018-09-09 21:11:42 +02:00
Andros Fenollosa
a559565ace Create install_ubuntu.sh 2018-09-09 21:08:23 +02:00
Laurent Cozic
d35e3163ca Update translations 2018-09-09 20:05:36 +01:00
Laurent Cozic
f22ad85681 Removed incorrectly duplicated translation 2018-09-09 20:02:08 +01:00
Andros Fenollosa
727bdaeea4 Update README.md 2018-09-09 20:58:30 +02:00
Laurent Cozic
42f7764eed Merge pull request #773 from Vistaus/master
Added Dutch (Netherlands) translation
2018-09-09 19:54:20 +01:00
Andros Fenollosa
1fbc1073ca Script to install on Ubuntu with Gnome Shell
Add script to install on Ubuntu or Debian with Gnome Shell Icon
2018-09-09 20:47:57 +02:00
Heimen Stoffels
66b683e5e7 Added Dutch (Netherlands) translation 2018-09-09 18:26:58 +02:00
Laurent Cozic
7d1f61e47b Electron release v1.0.106 2018-09-08 15:47:15 +01:00
Laurent Cozic
643e5a6a2a Electron: Resolves #714: Allow starting application minimised in the tray icon 2018-09-06 18:56:23 +01:00
Laurent Cozic
a1e7e29279 All: Fixes #709: Now that HTML is supported in notes, remove BR tag replacement hack. 2018-09-06 18:40:05 +01:00
Laurent Cozic
abf6c3f3f1 Electron: Fixes #697: Focus search text input after clearing search 2018-09-06 18:37:39 +01:00
Laurent Cozic
32c81ad8c2 All: Fixes #657: Disallow giving name of existing tag to another tag 2018-09-06 18:33:21 +01:00
Sebastien Just
0f461c4caa #206 Notebooks list defaults to alphabetical order 2018-09-06 12:26:35 +02:00
Sebastien Just
57ed718993 #206 Notebooks list defaults to alphabetical order 2018-09-06 12:22:09 +02:00
Laurent Cozic
ef1ae63233 Electron: Fix #759: Add border around code block when exporting to PDF 2018-09-05 14:59:33 +01:00
Laurent Cozic
81ac200cc0 All: Resolves #761: Highlight single tick code segments 2018-09-05 14:51:50 +01:00
Laurent Cozic
3a2d62f6c7 Update website 2018-09-05 12:30:37 +01:00
Laurent Cozic
7f80f67fd6 CLI v1.0.114 2018-09-05 12:30:09 +01:00
Laurent Cozic
cebd8de77a Android release v1.0.131 2018-09-05 12:19:53 +01:00
Laurent Cozic
417218fc34 Electron release v1.0.105 2018-09-05 12:11:56 +01:00
Laurent Cozic
29586437c2 Merge pull request #719 from gufertum/tag-list-long-op
added support for 'tag list -l [tag]' to show long format as for 'not…
2018-09-05 12:11:03 +01:00
Thomas Schädler
f51d0ad914 fixed indention (again, this time for real) 2018-09-05 12:46:49 +02:00
Laurent Cozic
35294b5f97 Electron: Resolves #679: Drag a note on a tag to associate the tag. 2018-09-05 11:43:03 +01:00
Laurent Cozic
758562cff9 Electron: Fixes #113: Upgraded Ace Editor to try to fix Korean input issue (to be confirmed). 2018-09-05 11:35:40 +01:00
Laurent Cozic
da0678c6fe Merge pull request #726 from tfinnberg/enable_file-urls_in_notes_html_view
enable file-URLs in note html view
2018-09-05 11:23:12 +01:00
Laurent Cozic
afe4fd70cc Update FAQ 2018-09-05 11:22:04 +01:00
Laurent Cozic
4cef383fe7 Added warning when changing WebDAV URL 2018-09-05 11:20:26 +01:00
Laurent Cozic
b58c30889e Updated FAQ and contribution guide 2018-09-05 11:17:47 +01:00
Laurent Cozic
1561c0e4d7 Merge pull request #756 from tessus/cli-correct-date-time-ls
show correct date/time for cli command `ls`
2018-09-05 10:56:44 +01:00
Thomas Schädler
32b11c15a4 fixed indention 2018-09-05 08:45:18 +02:00
Helmut K. C. Tessarek
5e06efc1b9 show correct date/time for cli command ls
closes #729
2018-09-04 18:03:21 -04:00
Helmut K. C. Tessarek
43bd88703c fix 'No newline at end of file' and whitespace errors 2018-09-04 18:00:12 -04:00
Laurent Cozic
cdd70230af Electron: Fixes #663: Fixed copy, cut and paste context menu on text editor 2018-09-04 18:20:41 +01:00
Laurent Cozic
eaf3eef2d3 All: Resolves #734: Allow exporting to a hierarchy of Markdown files, and fixed a few issues related to exporting notebooks 2018-09-04 11:59:09 +01:00
Laurent Cozic
81ec8eaf83 Merge pull request #757 from pensierocrea/patch-1
Update it_IT.po
2018-09-04 11:10:17 +01:00
Laurent Cozic
23f7e350c6 Redirect to app logger 2018-09-04 11:08:55 +01:00
Laurent Cozic
cea368cd3f Fix sharing text when no folder exists 2018-09-04 11:08:08 +01:00
Laurent Cozic
50c8f2ae61 Merge pull request #689 from CalebJohn/android-sharing
Add text sharing on android
2018-09-04 11:06:08 +01:00
pensierocrea
ed0ecababb Update it_IT.po
Hi,
i'm new to github... i hope this help and i've not done some mistake
i think that:
"notebook" should be named "taccuini" in italian like evenote does 
"to-do" can be translated in "Cose-da-fare" not in "attività" that means "activity/activities"

now... i've also a feature request to improve the user interaction with the sidebar and to focus more on the "to-do" stuff
where i can send/post my little suggestion?

thank you
2018-09-04 11:12:19 +02:00
Thomas Schädler
72aa4c40a5 added correct time format method (using user properties)
cleanup (spaces -> tabs, consistent line endings)
2018-09-03 22:18:15 +02:00
Laurent Cozic
4f6784e2e5 Upgraded Katex to support tag 2018-09-03 16:08:56 +01:00
Laurent Cozic
01f015a54f Update translations 2018-09-03 15:11:12 +01:00
Laurent Cozic
806acad22a Fix Sweden flag 2018-09-03 12:16:35 +01:00
Laurent Cozic
1d322d8a39 Fix Korean flag 2018-09-03 12:13:59 +01:00
Laurent Cozic
aef94e6950 Updated translations 2018-09-03 12:08:50 +01:00
Laurent Cozic
456fcec334 Merge branch 'master' of github.com:laurent22/joplin 2018-09-03 12:08:02 +01:00
Laurent Cozic
3b6937c2f0 Merge pull request #746 from jony0008/master
Add Swedish translation
2018-09-03 12:01:46 +01:00
Laurent Cozic
7cdd1d41c1 Merge pull request #728 from fmrtn/master
Spanish translation updated
2018-09-03 12:00:33 +01:00
Laurent Cozic
1fc535a740 Merge pull request #706 from tessus/fix-421
use correct date/time format for sync time - fix for #421
2018-09-03 11:56:04 +01:00
Laurent Cozic
033b37077a Merge pull request #705 from tessus/res-icon-j
use the Joplin icon for internal links
2018-09-03 11:55:25 +01:00
Laurent Cozic
07f6a4a08b Merge pull request #676 from RaphaelKimmig/electron_focus_new_notes_only
focus NoteText only when creating new notes
2018-09-03 11:53:03 +01:00
Laurent Cozic
8c1b592a51 Updated translations 2018-09-03 11:49:41 +01:00
Jony
9460f7a17a Add Swedish translation 2018-08-30 19:48:41 +02:00
Fernando
106260ed69 Spanish translation updated 2018-08-20 02:43:18 +02:00
tfinnberg
123162e946 enable file-URLs in note html view 2018-08-18 11:14:34 +02:00
Thomas Schädler
54e81966e5 added support for 'tag list -l [tag]' to show long format as for 'notebook' lists using 'ls -l' 2018-08-13 23:28:19 +02:00
Helmut K. C. Tessarek
9bf6ab60bb use correct date/time format for sync time
fixes #421
2018-08-01 17:22:24 -04:00
Helmut K. C. Tessarek
4f0ff3cdfc fix whitespace errors 2018-08-01 17:05:09 -04:00
Helmut K. C. Tessarek
47cfaaa5ab replace the resource icon (for internal links) with the Joplin icon (from ForkAwesome) 2018-07-31 23:04:33 -04:00
Helmut K. C. Tessarek
1f49788f21 fix 'No newline at end of file' 2018-07-31 23:00:28 -04:00
Laurent Cozic
7e4cf9aeda All: Resolves #678: Added Korean translation 2018-07-25 18:01:56 +02:00
Laurent Cozic
4b6964b683 CLI v1.0.113 2018-07-25 17:59:00 +02:00
Caleb John
3caf398021 refresh notes list on AppState Changes
- remove mistaken console.log calls in root.js
2018-07-20 15:59:55 +02:00
Caleb John
8840631266 Add simple sharing facilities for Android
- react code should be cross platform but support needs to be added
    for ios
  - only shares plain text notes for now
2018-07-20 11:04:25 +02:00
Raphael Kimmig
c4411bb895 focus NoteText only when creating new notes
This changes the behaviour so that loading a note does automatically
focus the note text/title only when a new note is being created.

This reduces accidental edits and is in line with other note taking
applications such as Simplenote, Evernote and Apple Notes.
2018-07-10 08:35:21 +02:00
Laurent Cozic
f63668350b CLI v1.0.110 2018-06-30 19:58:36 +01:00
Laurent Cozic
3fc54d7ffd CLI: Updating SQLite to support Node 10 2018-06-30 19:57:49 +01:00
Laurent Cozic
2c6c20f44f Mobile: Resolves #350: Open non-image resources in external application 2018-06-30 19:45:21 +01:00
Laurent Cozic
08ee939951 Electron: Resolves #594: Enable support for SVG graphics 2018-06-30 19:05:45 +01:00
Laurent Cozic
463b1441d3 Updated DE translation 2018-06-30 16:20:22 +01:00
Laurent Cozic
6754d4ee89 Electron: Fixes #653: Don't detect horizontal rule as bullet list item 2018-06-30 16:15:44 +01:00
Laurent Cozic
d5d0732bf3 Clipper: Upgrade joplin-turndonw to fix import of literal HTML code 2018-06-30 16:12:01 +01:00
Laurent Cozic
d27cbaa663 Electron: Improve speed of loading notes that include many resources, and prevent UI from freezing 2018-06-29 18:51:50 +00:00
Laurent Cozic
70adf10f2e Clipper: Skip noscript elements 2018-06-29 18:45:33 +00:00
Laurent Cozic
e75417d26e Tools: Automate updating Git repo when creating new Clipper release 2018-06-28 22:16:15 +01:00
Laurent Cozic
2ded983828 Clipper: Resolves #641: Allow clipping selected part of the page 2018-06-28 22:01:55 +01:00
Laurent Cozic
0c708f766b All: Resolves #427: Import source-url from Enex files 2018-06-28 21:36:32 +01:00
Laurent Cozic
a801f8d8ed Update website 2018-06-28 21:27:54 +01:00
Laurent Cozic
26fc26c9fe CLI v1.0.109 2018-06-28 20:49:26 +01:00
Laurent Cozic
df4c07d204 CLI: Added way to decrypt string 2018-06-28 20:48:39 +01:00
Laurent Cozic
cf565d1563 Android release v1.0.129 2018-06-27 22:02:15 +01:00
Laurent Cozic
6b425cf543 Electron release v1.0.104 2018-06-27 22:00:38 +01:00
Laurent Cozic
6188e7a0fa Updated translations 2018-06-27 22:00:02 +01:00
Laurent Cozic
310afb0ad6 Electron: Resolves #612: Allow duplicating a note 2018-06-27 21:45:31 +01:00
Laurent Cozic
7d7e1e1637 Electron: Resolves #647: Allow specifying text editor path and arguments in setting 2018-06-27 21:34:41 +01:00
Laurent Cozic
424c8a2723 Clipper: Support 'author' property 2018-06-27 20:14:20 +01:00
Laurent Cozic
187fb1b85d Electron: Resolves #619: Context menu to cut, copy and paste. Also added menu to copy link in web view 2018-06-26 00:52:46 +01:00
Laurent Cozic
595fd7a9aa All: Resolves #644: Added support for .markdown extension when importing files 2018-06-26 00:07:53 +01:00
Laurent Cozic
0027cb9036 All: Fixes #646: Mentioned that TLS settings must be saved before checking sync config 2018-06-25 23:54:28 +01:00
Laurent Cozic
db6878b978 Electron: Fixes #639: Make sure text wraps when printing or exporting as PDF 2018-06-25 23:32:23 +01:00
Laurent Cozic
1c78722573 CLI: Upgraded Turndown plugins 2018-06-25 18:19:27 +01:00
Laurent Cozic
fea83e28c4 All: Optimised encryption and decryption of items so that it doesn't freeze the UI, especially on mobile 2018-06-25 18:14:57 +01:00
Laurent Cozic
84adf64271 Electron: Set PDF default file name 2018-06-22 18:36:15 +00:00
Laurent Cozic
74e2b0d15d Electron: Fixes #634: Press ESC to dismiss dialog in non-English languages 2018-06-22 18:31:55 +00:00
Laurent Cozic
df302206dd Electron: Allow HTML in Markdown documents in a secure way 2018-06-22 18:18:15 +00:00
Laurent Cozic
6d8941c005 Update website 2018-06-21 22:14:47 +01:00
Laurent Cozic
971b20062f Electron release v1.0.103 2018-06-21 19:13:10 +01:00
Laurent Cozic
936f334b61 Electron: Remove 'New notebook' shortcut 2018-06-21 19:12:08 +01:00
Laurent Cozic
7e3a290939 Merge pull request #628 from Abijeet/master
Adds a shortcut to insert the date and time.
2018-06-21 19:09:36 +01:00
Laurent Cozic
c6466a780e Android release v1.0.128 2018-06-21 19:08:59 +01:00
Laurent Cozic
43774ad3fb Electron release v1.0.102 2018-06-21 19:05:58 +01:00
Laurent Cozic
b3ba5b7747 All: Revert #554 to try to fix #624: WebDAV error when syncing with SeaFile 2018-06-21 19:00:20 +01:00
Laurent Cozic
599f4ccef4 Electron: Fixes #626: Auto-completion for indented items 2018-06-21 18:53:42 +01:00
Laurent Cozic
a67600d264 Updated Chinese and French translation 2018-06-21 18:04:10 +01:00
Laurent Cozic
ebf4c89ef0 All: Fixes #343, Fixes #191: Added options to specify custom TLS certificates 2018-06-20 01:18:58 +01:00
Laurent Cozic
aa7da784fc All: Fixes #343, Fixes #191: Added options to ignore TLS cert errors to allow self-signed certificates on desktop and CLI 2018-06-20 00:28:50 +01:00
Laurent Cozic
617ed42d8c Update website 2018-06-18 19:08:13 +01:00
Laurent Cozic
5848e7d90d Doc: Fixed image 2018-06-18 19:08:07 +01:00
Abijeet Patro
01d032261c Merge branch 'master' into master 2018-06-18 23:32:10 +05:30
Laurent Cozic
54d06646aa Update website 2018-06-18 19:01:52 +01:00
Laurent Cozic
81da46035a Doc: Fixed image 2018-06-18 19:01:42 +01:00
Laurent Cozic
74d0f75802 Update website 2018-06-18 19:00:07 +01:00
Laurent Cozic
f25a352dcb Doc: Mentioned Web Clipper 2018-06-18 18:59:54 +01:00
Laurent Cozic
21ef8da45f Clipper: Completed doc and simplified logic to get clipper port to make it easier to use by third-party 2018-06-18 18:54:48 +01:00
Laurent Cozic
1f3a1c49df Electron: Resolves #611: Allow opening and editing note in external editor 2018-06-18 18:56:07 +00:00
Laurent Cozic
a8b58aaec3 All: Fixes #632: Handle restricted_content error in Dropbox 2018-06-18 08:47:51 +01:00
Laurent Cozic
44f9b35d93 Update website 2018-06-17 19:35:25 +01:00
Laurent Cozic
711af9beed Electron release v1.0.101 2018-06-17 19:12:28 +01:00
Laurent Cozic
971339ca9a Electron: Fixes #630: PDF export in context menu 2018-06-17 17:12:28 +01:00
Laurent Cozic
f5a72ffbaf All: Fixes #593: Resource should not be auto-deleted if they've never been linked to any note 2018-06-17 16:59:06 +01:00
Laurent Cozic
cf4331c5af Electron: Fixes #623: Improved handling of text selection and fixed infinite loop 2018-06-17 02:44:37 +01:00
Abijeet
07b85388fc Adds a shortcut to insert the date and time.
Closes #521
2018-06-16 20:46:27 +05:30
Laurent Cozic
553b086ba2 Update website 2018-06-15 19:56:17 +01:00
Laurent Cozic
ff89537899 Update website 2018-06-15 19:28:58 +01:00
Laurent Cozic
f20792889a Removed Twitter and FB share buttons 2018-06-15 19:28:35 +01:00
Laurent Cozic
ee22a7ff73 Update website 2018-06-15 18:23:23 +01:00
Laurent Cozic
4fc4353859 Update translation 2018-06-15 18:23:15 +01:00
Laurent Cozic
f4f9e25e6b Update website 2018-06-15 18:14:55 +01:00
Laurent Cozic
e54f9934b5 Fixed Catalan flag 2018-06-15 18:14:31 +01:00
Laurent Cozic
f599ae065a CLI v1.0.108 2018-06-14 22:42:43 +01:00
Laurent Cozic
5bd9bf6a4e Update dependencies 2018-06-14 22:42:15 +01:00
Laurent Cozic
cb9e8d4f76 Update website 2018-06-14 18:41:57 +01:00
226 changed files with 21195 additions and 5728 deletions

View File

@@ -9,8 +9,6 @@
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
If you get a node-gyp related error you might need to manually install it: `npm install -g node-gyp`
## Linux and Windows (WSL) dependencies
- Install yarn - https://yarnpkg.com/lang/en/docs/install/
@@ -37,6 +35,10 @@ yarn dist
If there's an error `while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory`, run `sudo apt-get install libgconf-2-4`
If you get a node-gyp related error you might need to manually install it: `npm install -g node-gyp`.
If you get the error `libtool: unrecognized option '-static'`, follow the instructions [in this post](https://stackoverflow.com/a/38552393/561309) to use the correct libtool version.
That will create the executable file in the `dist` directory.
From `/ElectronClient` you can also run `run.sh` to run the app for testing.

View File

@@ -17,3 +17,10 @@ Again, please check that it has not already been requested. If it has, simply **
If you want to add a new feature, consider asking about it before implementing it or checking existing discussions to make sure it is within the scope of the project. Of course you are free to create the pull request directly but it is not guaranteed it is going to be accepted.
Building the apps is relatively easy - please [see the build instructions](https://github.com/laurent22/joplin/blob/master/BUILD.md) for more details.
# Coding style
There are only two rules, but not following them means the pull request will not be accepted (it can be accepted once the issues are fixed):
- **Please use tabs, NOT spaces.**
- **Please do not add or remove optional characters, such as spaces or colons.** Please setup your editor so that it only changes what you are working on and is not making automated changes elsewhere. The reason for this is that small white space changes make diff hard to read and can cause needless conflicts.

View File

@@ -13,6 +13,7 @@ tests/fuzzing.*
tests/fuzzing -*
tests/logs/*
tests/cli-integration/
tests/tmp/
*.mo
*.*~
tests/sync

View File

@@ -0,0 +1,276 @@
const { BaseCommand } = require('./base-command.js');
const { _ } = require('lib/locale.js');
const { cliUtils } = require('./cli-utils.js');
const EncryptionService = require('lib/services/EncryptionService');
const DecryptionWorker = require('lib/services/DecryptionWorker');
const MasterKey = require('lib/models/MasterKey');
const BaseItem = require('lib/models/BaseItem');
const BaseModel = require('lib/BaseModel');
const Setting = require('lib/models/Setting.js');
const { toTitleCase } = require('lib/string-utils.js');
const { reg } = require('lib/registry.js');
const markdownUtils = require('lib/markdownUtils');
const { Database } = require('lib/database.js');
class Command extends BaseCommand {
usage() {
return 'apidoc';
}
description() {
return 'Build the API doc';
}
createPropertiesTable(tableFields) {
const headers = [
{ name: 'name', label: 'Name' },
{ name: 'type', label: 'Type', filter: (value) => {
return Database.enumName('fieldType', value);
}},
{ name: 'description', label: 'Description' },
];
return markdownUtils.createMarkdownTable(headers, tableFields);
}
async action(args) {
const models = [
{
type: BaseModel.TYPE_NOTE,
},
{
type: BaseModel.TYPE_FOLDER,
},
{
type: BaseModel.TYPE_RESOURCE,
},
{
type: BaseModel.TYPE_TAG,
},
];
const lines = [];
lines.push('# Joplin API');
lines.push('');
lines.push('When the Web Clipper service is enabled, Joplin exposes a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer) which allows third-party applications to access Joplin\'s data and to create, modify or delete notes, notebooks, resources or tags.');
lines.push('');
lines.push('In order to use it, you\'ll first need to find on which port the service is running. To do so, open the Web Clipper Options in Joplin and if the service is running it should tell you on which port. Normally it runs on port **41184**. If you want to find it programmatically, you may follow this kind of algorithm:');
lines.push('');
lines.push('```javascript');
lines.push('let port = null;');
lines.push('for (let portToTest = 41184; portToTest <= 41194; portToTest++) {');
lines.push(' const result = pingPort(portToTest); // Call GET /ping');
lines.push(' if (result == \'JoplinClipperServer\') {');
lines.push(' port = portToTest; // Found the port');
lines.push(' break;');
lines.push(' }');
lines.push('}');
lines.push('```');
lines.push('# Authorisation')
lines.push('');
lines.push('To prevent unauthorised applications from accessing the API, the calls must be authentified. To do so, you must provide a token as a query parameter for each API call. You can get this token from the Joplin desktop application, on the Web Clipper Options screen.');
lines.push('');
lines.push('This would be an example of valid cURL call using a token:');
lines.push('');
lines.push('\tcurl http://localhost:41184/notes?token=ABCD123ABCD123ABCD123ABCD123ABCD123');
lines.push('');
lines.push('In the documentation below, the token will not be specified every time however you will need to include it.');
lines.push('# Using the API');
lines.push('');
lines.push('All the calls, unless noted otherwise, receives and send **JSON data**. For example to create a new note:');
lines.push('');
lines.push('\tcurl --data \'{ "title": "My note", "body": "Some note in **Markdown**"}\' http://localhost:41184/notes');
lines.push('');
lines.push('In the documentation below, the calls may include special parameters such as :id or :note_id. You would replace this with the item ID or note ID.');
lines.push('');
lines.push('For example, for the endpoint `DELETE /tags/:id/notes/:note_id`, to remove the tag with ID "ABCD1234" from the note with ID "EFGH789", you would run for example:');
lines.push('');
lines.push('\tcurl -X DELETE http://localhost:41184/tags/ABCD1234/notes/EFGH789');
lines.push('');
lines.push('The four verbs supported by the API are the following ones:');
lines.push('');
lines.push('* **GET**: To retrieve items (notes, notebooks, etc.).');
lines.push('* **POST**: To create new items. In general most item properties are optional. If you omit any, a default value will be used.');
lines.push('* **PUT**: To update an item. Note in a REST API, traditionally PUT is used to completely replace an item, however in this API it will only replace the properties that are provided. For example if you PUT {"title": "my new title"}, only the "title" property will be changed. The other properties will be left untouched (they won\'t be cleared nor changed).');
lines.push('* **DELETE**: To delete items.');
lines.push('');
lines.push('# Filtering data');
lines.push('');
lines.push('You can change the fields that will be returned by the API using the `fields=` query parameter, which takes a list of comma separated fields. For example, to get the longitude and latitude of a note, use this:');
lines.push('');
lines.push('\tcurl http://localhost:41184/notes/ABCD123?fields=longitude,latitude');
lines.push('');
lines.push('To get the IDs only of all the tags:');
lines.push('');
lines.push('\tcurl http://localhost:41184/tags?fields=id');
lines.push('');
lines.push('# About the property types');
lines.push('');
lines.push('* Text is UTF-8.');
lines.push('* All date/time are Unix timestamps in milliseconds.');
lines.push('* Booleans are integer values 0 or 1.');
lines.push('');
lines.push('# Testing if the service is available');
lines.push('');
lines.push('Call **GET /ping** to check if the service is available. It should return "JoplinClipperServer" if it works.');
lines.push('');
for (let i = 0; i < models.length; i++) {
const model = models[i];
const ModelClass = BaseItem.getClassByItemType(model.type);
const tableName = ModelClass.tableName();
let tableFields = reg.db().tableFields(tableName, { includeDescription: true });
const singular = tableName.substr(0, tableName.length - 1);
if (model.type === BaseModel.TYPE_NOTE) {
tableFields = tableFields.slice();
tableFields.push({
name: 'body_html',
type: Database.enumId('fieldType', 'text'),
description: 'Note body, in HTML format',
});
tableFields.push({
name: 'base_url',
type: Database.enumId('fieldType', 'text'),
description: 'If `body_html` is provided and contains relative URLs, provide the `base_url` parameter too so that all the URLs can be converted to absolute ones. The base URL is basically where the HTML was fetched from, minus the query (everything after the \'?\'). For example if the original page was `https://stackoverflow.com/search?q=%5Bjava%5D+test`, the base URL is `https://stackoverflow.com/search`.',
});
tableFields.push({
name: 'image_data_url',
type: Database.enumId('fieldType', 'text'),
description: 'An image to attach to the note, in [Data URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) format.',
});
tableFields.push({
name: 'crop_rect',
type: Database.enumId('fieldType', 'text'),
description: 'If an image is provided, you can also specify an optional rectangle that will be used to crop the image. In format `{ x: x, y: y, width: width, height: height }`',
});
}
lines.push('# ' + toTitleCase(tableName));
lines.push('');
if (model.type === BaseModel.TYPE_FOLDER) {
lines.push('This is actually a notebook. Internally notebooks are called "folders".');
lines.push('');
}
lines.push('## Properties');
lines.push('');
lines.push(this.createPropertiesTable(tableFields));
lines.push('');
lines.push('## GET /' + tableName);
lines.push('');
lines.push('Gets all ' + tableName);
lines.push('');
if (model.type === BaseModel.TYPE_FOLDER) {
lines.push('The folders are returned as a tree. The sub-notebooks of a notebook, if any, are under the `children` key.');
lines.push('');
}
lines.push('## GET /' + tableName + '/:id');
lines.push('');
lines.push('Gets ' + singular + ' with ID :id');
lines.push('');
if (model.type === BaseModel.TYPE_TAG) {
lines.push('## GET /tags/:id/notes');
lines.push('');
lines.push('Gets all the notes with this tag.');
lines.push('');
}
if (model.type === BaseModel.TYPE_NOTE) {
lines.push('## GET /notes/:id/tags');
lines.push('');
lines.push('Gets all the tags attached to this note.');
lines.push('');
}
if (model.type === BaseModel.TYPE_FOLDER) {
lines.push('## GET /folders/:id/notes');
lines.push('');
lines.push('Gets all the notes inside this folder.');
lines.push('');
}
if (model.type === BaseModel.TYPE_RESOURCE) {
lines.push('## GET /resources/:id/file');
lines.push('');
lines.push('Gets the actual file associated with this resource.');
lines.push('');
}
lines.push('## POST /' + tableName);
lines.push('');
lines.push('Creates a new ' + singular);
lines.push('');
if (model.type === BaseModel.TYPE_RESOURCE) {
lines.push('Creating a new resource is special because you also need to upload the file. Unlike other API calls, this one must have the "multipart/form-data" Content-Type. The file data must be passed to the "data" form field, and the other properties to the "props" form field. An example of a valid call with cURL would be:');
lines.push('');
lines.push('\tcurl -F \'data=@/path/to/file.jpg\' -F \'props={"title":"my resource title"}\' http://localhost:41184/resources');
lines.push('');
lines.push('The "data" field is required, while the "props" one is not. If not specified, default values will be used.');
lines.push('');
}
if (model.type === BaseModel.TYPE_TAG) {
lines.push('## POST /tags/:id/notes');
lines.push('');
lines.push('Post a note to this endpoint to add the tag to the note. The note data must at least contain an ID property (all other properties will be ignored).');
lines.push('');
}
if (model.type === BaseModel.TYPE_NOTE) {
lines.push('You can either specify the note body as Markdown by setting the `body` parameter, or in HTML by setting the `body_html`.');
lines.push('');
lines.push('Examples:');
lines.push('');
lines.push('* Create a note from some Markdown text');
lines.push('');
lines.push(' curl --data \'{ "title": "My note", "body": "Some note in **Markdown**"}\' http://127.0.0.1:41184/notes');
lines.push('');
lines.push('* Create a note from some HTML');
lines.push('');
lines.push(' curl --data \'{ "title": "My note", "body_html": "Some note in <b>HTML</b>"}\' http://127.0.0.1:41184/notes');
lines.push('');
lines.push('* Create a note and attach an image to it:');
lines.push('');
lines.push(' curl --data \'{ "title": "Image test", "body": "Here is Joplin icon:", "image_data_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANZJREFUeNoAyAA3/wFwtO3K6gUB/vz2+Prw9fj/+/r+/wBZKAAExOgF4/MC9ff+MRH6Ui4E+/0Bqc/zutj6AgT+/Pz7+vv7++nu82c4DlMqCvLs8goA/gL8/fz09fb59vXa6vzZ6vjT5fbn6voD/fwC8vX4UiT9Zi//APHyAP8ACgUBAPv5APz7BPj2+DIaC2o3E+3o6ywaC5fT6gD6/QD9/QEVf9kD+/dcLQgJA/7v8vqfwOf18wA1IAIEVycAyt//v9XvAPv7APz8LhoIAPz9Ri4OAgwARgx4W/6fVeEAAAAASUVORK5CYII="}\' http://127.0.0.1:41184/notes');
lines.push('');
}
lines.push('## PUT /' + tableName + '/:id');
lines.push('');
lines.push('Sets the properties of the ' + singular + ' with ID :id');
lines.push('');
lines.push('## DELETE /' + tableName + '/:id');
lines.push('');
lines.push('Deletes the ' + singular + ' with ID :id');
lines.push('');
if (model.type === BaseModel.TYPE_TAG) {
lines.push('## DELETE /tags/:id/notes/:note_id');
lines.push('');
lines.push('Remove the tag from the note.');
lines.push('');
}
}
this.stdout(lines.join('\n'));
}
}
module.exports = Command;

View File

@@ -47,12 +47,48 @@ class Command extends BaseCommand {
}
if (args.command === 'decrypt') {
this.stdout(_('Starting decryption... Please wait as it may take several minutes depending on how much there is to decrypt.'));
while (true) {
try {
await DecryptionWorker.instance().start();
break;
if (args.path) {
const plainText = await EncryptionService.instance().decryptString(args.path);
this.stdout(plainText);
return;
} else {
if (process.stdin.isTTY) {
this.stdout(_('Starting decryption... Please wait as it may take several minutes depending on how much there is to decrypt.'));
await DecryptionWorker.instance().start();
this.stdout(_('Completed decryption.'));
return;
} else {
// var repl = require("repl");
// var r = repl.start("node> ");
const text = await new Promise((accept, reject) => {
var buffer = '';
process.stdin.setEncoding('utf8');
process.stdin.on('data', function(chunk) {
buffer += chunk;
// process.stdout.write(chunk);
});
process.stdin.on('end', function() {
accept(buffer.trim());
});
});
if (text.length > 0) {
var cipherText = text;
try {
var item = await BaseItem.unserialize(text);
cipherText = item.encryption_cipher_text;
} catch (error) {
// we already got the pure cipher text
}
const plainText = await EncryptionService.instance().decryptString(cipherText);
this.stdout(plainText);
}
return;
}
}
} catch (error) {
if (error.code === 'masterKeyNotLoaded') {
const masterKeyId = error.masterKeyId;
@@ -70,8 +106,6 @@ class Command extends BaseCommand {
}
}
this.stdout(_('Completed decryption.'));
return;
}
@@ -181,4 +215,4 @@ class Command extends BaseCommand {
}
module.exports = Command;
module.exports = Command;

View File

@@ -22,7 +22,7 @@ class Command extends BaseCommand {
enabled() {
return false;
}
options() {
return [
['-n, --limit <num>', _('Displays only the first top <num> notes.')],
@@ -93,7 +93,7 @@ class Command extends BaseCommand {
row.push(await Folder.noteCount(item.id));
}
row.push(time.unixMsToLocalDateTime(item.user_updated_time));
row.push(time.formatMsToLocal(item.user_updated_time));
}
let title = item.title;
@@ -123,4 +123,4 @@ class Command extends BaseCommand {
}
module.exports = Command;
module.exports = Command;

View File

@@ -3,6 +3,7 @@ const { app } = require('./app.js');
const { _ } = require('lib/locale.js');
const Tag = require('lib/models/Tag.js');
const BaseModel = require('lib/BaseModel.js');
const { time } = require('lib/time-utils.js');
class Command extends BaseCommand {
@@ -11,11 +12,19 @@ class Command extends BaseCommand {
}
description() {
return _('<tag-command> can be "add", "remove" or "list" to assign or remove [tag] from [note], or to list the notes associated with [tag]. The command `tag list` can be used to list all the tags.');
return _('<tag-command> can be "add", "remove" or "list" to assign or remove [tag] from [note], or to list the notes associated with [tag]. The command `tag list` can be used to list all the tags (use -l for long option).');
}
options() {
return [
['-l, --long', _('Use long list format. Format is ID, NOTE_COUNT (for notebook), DATE, TODO_CHECKED (for to-dos), TITLE')],
];
}
async action(args) {
let tag = null;
let options = args.options;
if (args.tag) tag = await app().loadItem(BaseModel.TYPE_TAG, args.tag);
let notes = [];
if (args.note) {
@@ -41,7 +50,28 @@ class Command extends BaseCommand {
} else if (command == 'list') {
if (tag) {
let notes = await Tag.notes(tag.id);
notes.map((note) => { this.stdout(note.title); });
notes.map((note) => {
let line = '';
if (options.long) {
line += BaseModel.shortId(note.id);
line += ' ';
line += time.formatMsToLocal(note.user_updated_time);
line += ' ';
}
if (note.is_todo) {
line += '[';
if (note.todo_completed) {
line += 'X';
} else {
line += ' ';
}
line += '] ';
} else {
line += ' ';
}
line += note.title;
this.stdout(line);
});
} else {
let tags = await Tag.all();
tags.map((tag) => { this.stdout(tag.title); });

View File

@@ -32,8 +32,6 @@ class FolderListWidget extends ListWidget {
output.push(_('Search:'));
output.push(item.title);
}
// if (item && item.id) output.push(item.id.substr(0, 5));
return output.join(' ');
};
@@ -85,7 +83,6 @@ class FolderListWidget extends ListWidget {
}
set notesParentType(v) {
//if (this.notesParentType_ === v) return;
this.notesParentType_ = v;
this.updateIndexFromSelectedItemId()
this.invalidate();
@@ -123,6 +120,14 @@ class FolderListWidget extends ListWidget {
this.updateIndexFromSelectedItemId()
this.invalidate();
}
folderHasChildren_(folders, folderId) {
for (let i = 0; i < folders.length; i++) {
let folder = folders[i];
if (folder.parent_id === folderId) return true;
}
return false;
}
render() {
if (this.updateItems_) {
@@ -130,7 +135,18 @@ class FolderListWidget extends ListWidget {
const wasSelectedItemId = this.selectedJoplinItemId;
const previousParentType = this.notesParentType;
let newItems = this.folders.slice();
let newItems = [];
const orderFolders = (parentId) => {
for (let i = 0; i < this.folders.length; i++) {
const f = this.folders[i];
if (f.parent_id === parentId) {
newItems.push(f);
if (this.folderHasChildren_(this.folders, f.id)) orderFolders(f.id);
}
}
}
orderFolders('');
if (this.tags.length) {
if (newItems.length) newItems.push('-');

View File

@@ -463,10 +463,11 @@ msgstr "Està començant la sincronització..."
msgid "Cancelling... Please wait."
msgstr "S'està cancel·lant... Espereu."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command>pot ser «add», «remove» o «list» per a assignar o suprimir "
"[tag] de la [nota], o per a llistar les notes associades amb [tag]. L'ordre "
@@ -638,6 +639,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Cerca a totes les notes"
@@ -709,6 +716,9 @@ msgstr "Sí"
msgid "No"
msgstr "No"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
"El servei de desa-retalls de webs és actiu i configurat per a iniciar-se "
@@ -759,6 +769,21 @@ msgstr "Pas 2: Instal·leu l'extensió"
msgid "Download and install the relevant extension for your browser:"
msgstr "Baixeu i instal·leu l'extensió adient per al vostre navegador:"
#, fuzzy
msgid "Advanced options"
msgstr "Mostra les opcions avançades"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Comprova la configuració de la sincronització"
@@ -766,12 +791,15 @@ msgstr "Comprova la configuració de la sincronització"
msgid "Notes and settings are stored in: %s"
msgstr "Les notes i la configuració es desen a: %s"
msgid "Save"
msgstr "Desa"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr "Tramet"
msgid "Save"
msgstr "Desa"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -910,6 +938,13 @@ msgstr "Establiu la contrasenya"
msgid "Add or remove tags"
msgstr "Afegeix o suprimeix etiquetes"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Copia"
msgid "Switch between note and to-do type"
msgstr "Alterna entre el tipus nota i tasques pendents"
@@ -931,6 +966,12 @@ msgstr ""
"Ara mateix no hi ha cap bloc de notes. Creeu-ne un fent clic a «Bloc de "
"notes nou»."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Obre..."
@@ -944,6 +985,9 @@ msgstr "Anomena i desa..."
msgid "Copy path to clipboard"
msgstr "Copia el camí al porta-retalls"
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Missatge o enllaç no suportat: %s"
@@ -962,6 +1006,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -978,6 +1025,9 @@ msgstr "Estableix una alarma"
msgid "In: %s"
msgstr "A: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -999,6 +1049,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "S'està cancel·lant..."
msgid "to-do"
msgstr "Tasques pendents"
@@ -1176,10 +1233,6 @@ msgstr "Conflictes"
msgid "Cannot move notebook to this location"
msgstr "No es pot moure el bloc de notes a aquesta ubicació"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Ja existeix un bloc de notes amb aquest títol: «%s»"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr "Els blocs de notes no poden tenir el nom «%s», és un títol reservat."
@@ -1207,16 +1260,6 @@ msgstr "No es pot copiar la nota al bloc de notes «%s»"
msgid "Cannot move note to \"%s\" notebook"
msgstr "No es pot moure la nota al bloc de notes «%s»"
msgid "Text editor"
msgstr "Editor de text"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"L'editor que s'usarà per a obrir una nota. Si no s'indica cap, intentarà "
"detectar automàticament l'editor predeterminat."
msgid "Language"
msgstr "Llengua"
@@ -1268,6 +1311,9 @@ msgstr "Mostra la icona a la safata"
msgid "Note: Does not work in all desktop environments."
msgstr "Nota: no funciona en tots els entorns d'escriptori."
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "Percentatge de zoom global"
@@ -1300,6 +1346,18 @@ msgstr "%d hora"
msgid "%d hours"
msgstr "%d hores"
#, fuzzy
msgid "Text editor command"
msgstr "Editor de text"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"L'editor que s'usarà per a obrir una nota. Si no s'indica cap, intentarà "
"detectar automàticament l'editor predeterminat."
msgid "Show advanced options"
msgstr "Mostra les opcions avançades"
@@ -1326,6 +1384,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "URL del Nextcloud WebDAV"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Nom d'usuari del Nextcloud"
@@ -1341,10 +1406,27 @@ msgstr "Nom d'usuari WebDAV"
msgid "WebDAV password"
msgstr "Contrasenya de WebDAV"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "El valor de l'opció no és vàlid: «%s». Els valors possibles són: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Fitxer d'exportació del Joplin"
@@ -1608,3 +1690,6 @@ msgstr ""
msgid "Welcome"
msgstr "Benvingut"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Ja existeix un bloc de notes amb aquest títol: «%s»"

View File

@@ -451,10 +451,11 @@ msgstr "Zahajuji synchronizaci..."
msgid "Cancelling... Please wait."
msgstr "Zastavuji, chvíli strpení."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> může být \"add\", \"remove\" nebo \"list\" - přidat (add) či "
"odebrat (remove) [tag] k [poznámce], nebo vypsat (list) seznam poznámek "
@@ -620,6 +621,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Hledat ve všech poznámkách"
@@ -691,6 +698,9 @@ msgstr "Ano"
msgid "No"
msgstr "Ne"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -734,6 +744,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Ukázat pokročilé volby"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Zkontrolujte nastavení synchronizace"
@@ -741,12 +766,15 @@ msgstr "Zkontrolujte nastavení synchronizace"
msgid "Notes and settings are stored in: %s"
msgstr "Poznámky a nastavení uloženo v: %s"
msgid "Save"
msgstr "Uložit"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr "Uložit"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -882,6 +910,13 @@ msgstr "Nastavit heslo"
msgid "Add or remove tags"
msgstr "Přidat či odebrat tagy"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Kopírovat"
msgid "Switch between note and to-do type"
msgstr "Přepnout mezi poznámkou a to-do"
@@ -902,6 +937,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "Nemáte žádný zápisník. Vytvořte jeden kliknutím na \"Nový zápisník\"."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Otevřít..."
@@ -915,6 +956,9 @@ msgstr "Uložit jako..."
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Nepodporovaný link či zpráva: %s"
@@ -931,6 +975,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -947,6 +994,9 @@ msgstr "Nastavit alarm"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -968,6 +1018,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "Zastavuji..."
msgid "to-do"
msgstr "to-do"
@@ -1147,10 +1204,6 @@ msgstr "Konflikty"
msgid "Cannot move notebook to this location"
msgstr "Poznámku nelze přesunout do zápisníku \"%s\""
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Zápisník s tímto názvem již existuje: \"%s\""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr "Zápisník se nemůže jmenovat \"%s\", tento název je rezervován."
@@ -1181,16 +1234,6 @@ msgstr "Poznámku \"%s\" nelze zkopírovat do zápisníku"
msgid "Cannot move note to \"%s\" notebook"
msgstr "Poznámku nelze přesunout do zápisníku \"%s\""
msgid "Text editor"
msgstr "Textový editor"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Editor ve kterém budou otvírány poznámky. Pokud není specifikováno, aplikace "
"se pokusí o autodetekci defaultního editoru."
msgid "Language"
msgstr "Jazyk"
@@ -1243,6 +1286,9 @@ msgstr "Zobrazovat ikonu v panelu"
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "Globální zoom"
@@ -1275,6 +1321,18 @@ msgstr "%d hodina"
msgid "%d hours"
msgstr "%d hodin"
#, fuzzy
msgid "Text editor command"
msgstr "Textový editor"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Editor ve kterém budou otvírány poznámky. Pokud není specifikováno, aplikace "
"se pokusí o autodetekci defaultního editoru."
msgid "Show advanced options"
msgstr "Ukázat pokročilé volby"
@@ -1301,6 +1359,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV URL"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Nextcloud uživatelské jméno"
@@ -1316,10 +1381,27 @@ msgstr "WebDAV uživatelské jméno"
msgid "WebDAV password"
msgstr "WebDAV heslo"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Neplatná hodnota: \"%s\". Přípustné hodnoty jsou: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Soubor Joplin Export"
@@ -1577,5 +1659,8 @@ msgstr "Nemáte žádný zápisník. Vytvořte jeden kliknutím na tlačítko (+
msgid "Welcome"
msgstr "Vítejte"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Zápisník s tímto názvem již existuje: \"%s\""
#~ msgid "Searches"
#~ msgstr "Hledané výrazy"

View File

@@ -455,10 +455,11 @@ msgstr "Starter synkronisering."
msgid "Cancelling... Please wait."
msgstr "Annullerer... Vent venligst."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> (mærke-kommando) kan enten være \"add\" (tilføj), \"remove"
"\" (slet) eller \"list\" (liste) for at tilføje eller fjerne mærke [tag] fra "
@@ -625,6 +626,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Søg i alle noter"
@@ -696,6 +703,9 @@ msgstr "Ja"
msgid "No"
msgstr "Nej"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -739,6 +749,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Vis avancerede indstillinger"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Check synkroniserings Indstillinger"
@@ -746,12 +771,15 @@ msgstr "Check synkroniserings Indstillinger"
msgid "Notes and settings are stored in: %s"
msgstr "Noter og indstillinger er gemt i: %s"
msgid "Save"
msgstr "Gem"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr "Gem"
msgid "Save"
msgstr "Gem"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -891,6 +919,13 @@ msgstr "Indstil kodeord"
msgid "Add or remove tags"
msgstr "Tilføj eller slet mærker"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Kopier"
msgid "Switch between note and to-do type"
msgstr "Skift mellem note- og opgave type"
@@ -911,6 +946,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "Der er ingen notesbog. Opret en ved at klikke på \"Ny Notesbog\"."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Åben..."
@@ -924,6 +965,9 @@ msgstr "Gem som..."
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Ugyldigt- eller ulovligt link eller besked: %s"
@@ -940,6 +984,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -956,6 +1003,9 @@ msgstr "Indstil alarm"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -977,6 +1027,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "Annullerer..."
msgid "to-do"
msgstr "opgave"
@@ -1156,10 +1213,6 @@ msgstr "Konflikter"
msgid "Cannot move notebook to this location"
msgstr "Kan ikke flytte note til \"%s\" notesbog"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "En notesbog bruger allerede dette navn: \"%s\""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr "Notesbøger kan ikke få navnet \"%s\", da det er en beskyttet titel."
@@ -1190,16 +1243,6 @@ msgstr "Kan ikke kopiere note til \"%s\" notesbog"
msgid "Cannot move note to \"%s\" notebook"
msgstr "Kan ikke flytte note til \"%s\" notesbog"
msgid "Text editor"
msgstr "Tekst editor"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Editor der bruges til at åbne note. Hvis ingen valgt/udfyldt, vil auto-"
"funktion søge efter standard editor."
msgid "Language"
msgstr "Sprog"
@@ -1252,6 +1295,9 @@ msgstr "Vis ikon på bundbjælke"
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "Global zoom procent"
@@ -1284,6 +1330,18 @@ msgstr "%d time"
msgid "%d hours"
msgstr "%d timer"
#, fuzzy
msgid "Text editor command"
msgstr "Tekst editor"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Editor der bruges til at åbne note. Hvis ingen valgt/udfyldt, vil auto-"
"funktion søge efter standard editor."
msgid "Show advanced options"
msgstr "Vis avancerede indstillinger"
@@ -1310,6 +1368,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV URL"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Nextcloud brugernavn"
@@ -1325,10 +1390,27 @@ msgstr "WebDAV brugernavn"
msgid "WebDAV password"
msgstr "WebDAV kodeord"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Ulovlig værdi: \"%s\". Mulige valg er: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Joplin eksport fil"
@@ -1586,6 +1668,9 @@ msgstr "Du har ingen notesbøger. Opret en ved at klikke på (+) knappen."
msgid "Welcome"
msgstr "Velkommen"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "En notesbog bruger allerede dette navn: \"%s\""
#~ msgid ""
#~ "For more information about End-To-End Encryption (E2EE) and advices on "
#~ "how to enable it please check the documentation"

View File

@@ -7,18 +7,18 @@ msgid ""
msgstr ""
"Project-Id-Version: Joplin-CLI 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Philipp Zumstein <zuphilip@gmail.com>\n"
"Last-Translator: Michael Sonntag <ms@editorei.de>\n"
"Language-Team: \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.7\n"
"X-Generator: Poedit 2.1.1\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "To delete a tag, untag the associated notes."
msgstr ""
"Um eine Markierung zu löschen, entferne diese bei allen damit verbundenen "
"Um ein Schlagwort zu löschen, entferne es bei allen damit verbundenen "
"Notizen."
msgid "Please select the note or notebook to be deleted first."
@@ -53,7 +53,7 @@ msgid "y"
msgstr "j"
msgid "Cancelling background synchronisation... Please wait."
msgstr "Breche Hintergrund-Synchronisation ab... Bitte warten."
msgstr "Breche Hintergrundsynchronisation ab Bitte warten."
#, javascript-format
msgid "No such command: %s"
@@ -475,15 +475,16 @@ msgstr "Starte Synchronisation..."
msgid "Cancelling... Please wait."
msgstr "Abbrechen… Bitte warten."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> kann \"add\", \"remove\" or \"list\" sein, um eine "
"[Markierung] zu [Notiz] zuzuweisen oder zu entfernen, oder um mit "
"[Markierung] markierte Notizen anzuzeigen. Mit dem Befehl `tag list` können "
"alle Markierungen angezeigt werden."
"<tag-command> kann \"add\", \"remove\" or \"list\" sein, um ein [Schlagwort] "
"zu [Notiz] zuzuweisen oder zu entfernen, oder um mit [Schlagwort] markierte "
"Notizen anzuzeigen. Mit dem Befehl `tag list` können alle Schlagwörter "
"angezeigt werden."
#, javascript-format
msgid "Invalid command: \"%s\""
@@ -644,10 +645,16 @@ msgid "Paste"
msgstr "Einfügen"
msgid "Bold"
msgstr ""
msgstr "Fett"
msgid "Italic"
msgstr ""
msgstr "Kursiv"
msgid "Insert Date Time"
msgstr "Datum / Uhrzeit einfügen"
msgid "Edit in external editor"
msgstr "Im externen Editor bearbeiten"
msgid "Search in all the notes"
msgstr "Alle Notizen durchsuchen"
@@ -686,7 +693,7 @@ msgid "Make a donation"
msgstr "Spenden"
msgid "Check for updates..."
msgstr "Überprüfe auf Updates..."
msgstr "Überprüfe auf Updates"
msgid "About Joplin"
msgstr "Über Joplin"
@@ -712,7 +719,7 @@ msgid "Current version is up-to-date."
msgstr "Die aktuelle Version ist up-to-date."
msgid "An update is available, do you want to download it now?"
msgstr "Es ist ein Update verfügbar! Soll dies jetzt heruntergeladen werden?"
msgstr "Es ist ein Update verfügbar! Soll es jetzt heruntergeladen werden?"
msgid "Yes"
msgstr "Ja"
@@ -720,10 +727,12 @@ msgstr "Ja"
msgid "No"
msgstr "Nein"
#, fuzzy
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
"Der Web Clipper Service ist bereits aktiviert und auf Autostart eingestellt."
"Der Webclipperservice ist bereits aktiviert und auf Autostart eingestellt."
#, javascript-format
msgid "Status: Started on port %d"
@@ -772,6 +781,21 @@ msgstr ""
"Lade die entsprechende Erweiterung für deinen Browser herunter und "
"installiere sie:"
#, fuzzy
msgid "Advanced options"
msgstr "Erweiterte Optionen anzeigen"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Überprüfen der Synchronisationseinstellungen"
@@ -779,12 +803,15 @@ msgstr "Überprüfen der Synchronisationseinstellungen"
msgid "Notes and settings are stored in: %s"
msgstr "Notizen und Einstellungen werden gespeichert in: %s"
msgid "Save"
msgstr "Speichern"
msgid "Apply"
msgstr "Anwenden"
msgid "Submit"
msgstr "Absenden"
msgid "Save"
msgstr "Speichern"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -888,16 +915,16 @@ msgid "Notebook title:"
msgstr "Notizbuch Titel:"
msgid "Add or remove tags:"
msgstr "Füge hinzu oder entferne Markierungen:"
msgstr "Füge hinzu oder entferne Schlagwörter:"
msgid "Separate each tag by a comma."
msgstr "Trenne jede Markierung mit einem Komma."
msgstr "Trenne jedes Schlagwort mit einem Komma."
msgid "Rename notebook:"
msgstr "Notizbuch umbenennen:"
msgid "Rename tag:"
msgstr "Markierung umbenennen:"
msgstr "Schlagwort umbenennen:"
msgid "Set alarm:"
msgstr "Alarm erstellen:"
@@ -921,7 +948,14 @@ msgid "Set the password"
msgstr "Setze ein Passwort"
msgid "Add or remove tags"
msgstr "Markierungen hinzufügen oder entfernen"
msgstr "Schlagwörter hinzufügen oder entfernen"
msgid "Duplicate"
msgstr "Duplizieren"
#, javascript-format
msgid "%s - Copy"
msgstr "%s kopieren"
msgid "Switch between note and to-do type"
msgstr "Zwischen Notiz und To-Do Typ wechseln"
@@ -946,12 +980,18 @@ msgstr ""
"Momentan existieren noch keine Notizbücher. Erstelle eines, indem du auf "
"\"Neues Notizbuch\" drückst."
msgid "Location"
msgstr "Ablageort"
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Öffne..."
#, fuzzy, javascript-format
#, javascript-format
msgid "This file could not be opened: %s"
msgstr "Dieses Notizbuch konnte nicht gespeichert werden: %s"
msgstr "Dieses Notizbuch konnte nicht geöffnet werden: %s"
msgid "Save as..."
msgstr "Sichern unter..."
@@ -959,6 +999,9 @@ msgstr "Sichern unter..."
msgid "Copy path to clipboard"
msgstr "Pfad in Zwischenablage kopieren"
msgid "Copy Link Address"
msgstr "Link-Adresse kopieren"
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Nicht unterstützter Link oder Nachricht: %s"
@@ -972,13 +1015,16 @@ msgstr ""
"und die Notiz zu bearbeiten."
msgid "strong text"
msgstr ""
msgstr "Fetter Text"
msgid "emphasized text"
msgstr ""
msgstr "hervorgehobener Text"
msgid "List item"
msgstr "Listeneintrag"
msgid "Insert Hyperlink"
msgstr ""
msgstr "Weblink einfügen"
msgid "Attach file"
msgstr "Datei anhängen"
@@ -989,30 +1035,40 @@ msgstr "Markierungen"
msgid "Set alarm"
msgstr "Alarm erstellen"
#, fuzzy, javascript-format
#, javascript-format
msgid "In: %s"
msgstr "%s: %s"
msgstr "In: %s"
msgid "Note properties"
msgstr "Notiz-Eigenschaften"
msgid "Hyperlink"
msgstr ""
msgstr "Weblink"
msgid "Code"
msgstr ""
msgstr "Code"
msgid "Numbered List"
msgstr ""
msgstr "Nummerierte Liste"
msgid "Bulleted List"
msgstr ""
msgstr "Aufzählung"
msgid "Checkbox"
msgstr ""
msgstr "Kontrollkästchen"
msgid "Heading"
msgstr ""
msgstr "Überschrift"
msgid "Horizontal Rule"
msgstr ""
msgstr "Horizontale Linie"
msgid "Click to stop external editing"
msgstr "Klicken Sie hier, um die externe Bearbeitung anzuhalten"
#, fuzzy
msgid "Watching..."
msgstr "Ansehen…"
msgid "to-do"
msgstr "To-Do"
@@ -1049,7 +1105,7 @@ msgid "Clipper Options"
msgstr "Clipper Einstellungen"
msgid "Remove this tag from all the notes?"
msgstr "Diese Markierung von allen Notizen entfernen?"
msgstr "Dieses Schlagwort von allen Notizen entfernen?"
msgid "Remove this search from the sidebar?"
msgstr "Diese Suche von der Seitenleiste entfernen?"
@@ -1160,7 +1216,7 @@ msgid "State: %s."
msgstr "Status: %s."
msgid "Cancelling..."
msgstr "Abbrechen..."
msgstr "Abbrechen"
#, javascript-format
msgid "Completed: %s"
@@ -1171,7 +1227,7 @@ msgid "Last error: %s"
msgstr "Letzte Fehlermeldung: %s"
msgid "Idle"
msgstr "wartend"
msgstr "Wartend"
msgid "In progress"
msgstr "In Bearbeitung"
@@ -1192,26 +1248,19 @@ msgstr "Konflikte"
msgid "Cannot move notebook to this location"
msgstr "Kann Notizbuch nicht an diesen Ort verschieben"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Ein Notizbuch mit diesem Titel existiert bereits : \"%s\""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
"Notizbuch kann nicht \"%s\" genannt werden. Dies ist ein reservierter Titel."
#, fuzzy
msgid "title"
msgstr "Unbenannt"
msgstr "Titel"
#, fuzzy
msgid "updated date"
msgstr "Aktualisiert: %d."
msgstr "Aktualsierungsdatum"
#, fuzzy
msgid "created date"
msgstr "Erstellt: %d."
msgstr "Erstelldatum"
msgid "Untitled"
msgstr "Unbenannt"
@@ -1227,17 +1276,6 @@ msgstr "Kann Notiz nicht zu Notizbuch \"%s\" kopieren"
msgid "Cannot move note to \"%s\" notebook"
msgstr "Kann Notiz nicht zu Notizbuch \"%s\" verschieben"
msgid "Text editor"
msgstr "Textverarbeitungsprogramm"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Das Textverarbeitungsprogramm, mit dem Notizen geöffnet werden. Wenn keines "
"ausgewählt wurde, wird Joplin versuchen das standard-"
"Textverarbeitungsprogramm zu erkennen."
msgid "Language"
msgstr "Sprache"
@@ -1289,6 +1327,9 @@ msgstr "Zeige Tray Icon"
msgid "Note: Does not work in all desktop environments."
msgstr "Hinweis: Funktioniert nicht in allen Desktopumgebungen."
msgid "Start application minimised in the tray icon"
msgstr "Starte die Anwendung minimiert im Tray"
msgid "Global zoom percentage"
msgstr "Zoomstufe der Benutzeroberfläche"
@@ -1321,6 +1362,16 @@ msgstr "%d Stunde"
msgid "%d hours"
msgstr "%d Stunden"
msgid "Text editor command"
msgstr "Editoraufruf"
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Der Editor, mit dem Notizen geöffnet werden. Wenn keiner ausgewählt wurde, "
"wird Joplin versuchen den Standardeditor zu erkennen."
msgid "Show advanced options"
msgstr "Erweiterte Optionen anzeigen"
@@ -1348,6 +1399,16 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV URL"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
"Achtung: Stelle sicher, dass Du vor der Synchronisation alle Inhalte an den "
"neuen Ablageort kopiert hast, sonst werden alle Dateien gelöscht! Lies auch "
"die FAQs hierzu: %s"
msgid "Nextcloud username"
msgstr "Nextcloud Benutzername"
@@ -1363,10 +1424,33 @@ msgstr "WebDAV Benutzername"
msgid "WebDAV password"
msgstr "WebDAV Passwort"
msgid "Custom TLS certificates"
msgstr "Benutzerdefinierte TLS-Zertifikate"
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
"Kommagetrennte Liste von Pfaden zu Verzeichnissen, aus denen die Zertifikate "
"geladen werden, oder Pfad zu einzelnen Zertifikatsdateien. Zum Beispiel: / "
"my / cert_dir, /other/custom.pem. Wenn Sie Änderungen an den TLS-"
"Einstellungen vornehmen, müssen Sie Ihre Änderungen speichern, bevor Sie auf "
"\"Synchronisierungskonfiguration prüfen\" klicken."
msgid "Ignore TLS certificate errors"
msgstr "Ignoriere TLS-Zertifikatfehler"
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Ungültiger Optionswert: \"%s\". Mögliche Werte sind: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
"Das Schlagwort \"%s\" existiert bereits. Bitte wähle einen anderen Namen."
msgid "Joplin Export File"
msgstr "Joplin Export Datei"
@@ -1384,7 +1468,7 @@ msgstr "Verzeichnis"
#, javascript-format
msgid "Cannot load \"%s\" module for format \"%s\""
msgstr "Das Modul „%s“ für das Format „%s“ kann nicht geladen werden"
msgstr "Das Modul \"%s\" für das Format \"%s\" kann nicht geladen werden"
#, javascript-format
msgid "Please specify import format for %s"
@@ -1496,15 +1580,15 @@ msgstr "Bestätigen"
msgid "Cancel synchronisation"
msgstr "Synchronisation abbrechen"
#, fuzzy, javascript-format
#, javascript-format
msgid "Decrypting items: %d/%d"
msgstr "Geladene Objekte: %d/%d."
msgstr "Entschlüsselte Objekte: %d/%d"
msgid "New tags:"
msgstr "Neue Markierungen:"
msgstr "Neue Schlagwörter:"
msgid "Type new tags or select from list"
msgstr "Neue Markierungen eingeben oder aus der Liste auswählen"
msgstr "Neues Schlagwort eingeben oder aus der Liste auswählen"
msgid ""
"To work correctly, the app needs the following permissions. Please enable "
@@ -1623,8 +1707,8 @@ msgid ""
"Click on the (+) button to create a new note or notebook. Click on the side "
"menu to access your existing notebooks."
msgstr ""
"Drücke auf den (+) Knopf, um eine neue Notiz oder ein neues Notizbuch zu "
"erstellen. Tippe auf die Seitenleiste, um auf deine existierenden "
"Drücke auf die (+)-Schaltfläche, um eine neue Notiz oder ein neues Notizbuch "
"zu erstellen. Tippe auf die Seitenleiste, um auf deine existierenden "
"Notizbücher zuzugreifen."
msgid "You currently have no notebook. Create one by clicking on (+) button."
@@ -1635,6 +1719,9 @@ msgstr ""
msgid "Welcome"
msgstr "Willkommen"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Ein Notizbuch mit diesem Titel existiert bereits : \"%s\""
#~ msgid "Searches"
#~ msgstr "Suchen"

View File

@@ -414,7 +414,7 @@ msgstr ""
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
#, javascript-format
@@ -558,6 +558,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr ""
@@ -629,6 +635,9 @@ msgstr ""
msgid "No"
msgstr ""
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -672,6 +681,20 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
msgid "Advanced options"
msgstr ""
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr ""
@@ -679,12 +702,15 @@ msgstr ""
msgid "Notes and settings are stored in: %s"
msgstr ""
msgid "Save"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr ""
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -807,6 +833,13 @@ msgstr ""
msgid "Add or remove tags"
msgstr ""
msgid "Duplicate"
msgstr ""
#, javascript-format
msgid "%s - Copy"
msgstr ""
msgid "Switch between note and to-do type"
msgstr ""
@@ -826,6 +859,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr ""
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr ""
@@ -839,6 +878,9 @@ msgstr ""
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr ""
@@ -855,6 +897,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -871,6 +916,9 @@ msgstr ""
msgid "In: %s"
msgstr ""
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -892,6 +940,12 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
msgid "Watching..."
msgstr ""
msgid "to-do"
msgstr ""
@@ -1061,10 +1115,6 @@ msgstr ""
msgid "Cannot move notebook to this location"
msgstr ""
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr ""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
@@ -1092,14 +1142,6 @@ msgstr ""
msgid "Cannot move note to \"%s\" notebook"
msgstr ""
msgid "Text editor"
msgstr ""
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
msgid "Language"
msgstr ""
@@ -1151,6 +1193,9 @@ msgstr ""
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr ""
@@ -1180,6 +1225,14 @@ msgstr ""
msgid "%d hours"
msgstr ""
msgid "Text editor command"
msgstr ""
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
msgid "Show advanced options"
msgstr ""
@@ -1202,6 +1255,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr ""
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr ""
@@ -1217,10 +1277,27 @@ msgstr ""
msgid "WebDAV password"
msgstr ""
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr ""
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr ""

View File

@@ -460,10 +460,11 @@ msgstr "Iniciando sincronización..."
msgid "Cancelling... Please wait."
msgstr "Cancelando... Por favor espere."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> puede ser \"add\", \"remove\" o \"list\" para asignar o "
"eliminar [tag] de [note], o para listar las notas asociadas con [tag]. El "
@@ -629,10 +630,16 @@ msgid "Paste"
msgstr "Pegar"
msgid "Bold"
msgstr ""
msgstr "Negrita"
msgid "Italic"
msgstr ""
msgstr "Cursiva"
msgid "Insert Date Time"
msgstr "Introduce fecha"
msgid "Edit in external editor"
msgstr "Editar con un editor externo"
msgid "Search in all the notes"
msgstr "Buscar en todas las notas"
@@ -705,11 +712,13 @@ msgstr "Sí"
msgid "No"
msgstr "No"
#, fuzzy
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
"El servicio de recorte web está habilitado y configurado para inicie "
"automaticamente"
"El servicio de recorte web está habilitado y configurado para que inicie "
"automáticamente."
#, javascript-format
msgid "Status: Started on port %d"
@@ -756,6 +765,21 @@ msgstr "Paso 2: Instalar la extensión"
msgid "Download and install the relevant extension for your browser:"
msgstr "Descargar e instalar para su navegador:"
#, fuzzy
msgid "Advanced options"
msgstr "Mostrar opciones avanzadas"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Comprobar sincronización"
@@ -763,12 +787,15 @@ msgstr "Comprobar sincronización"
msgid "Notes and settings are stored in: %s"
msgstr "Las notas y los ajustes se guardan en: %s"
msgid "Save"
msgstr "Guardar"
msgid "Apply"
msgstr "Aplicar"
msgid "Submit"
msgstr "Aceptar"
msgid "Save"
msgstr "Guardar"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -906,6 +933,13 @@ msgstr "Establecer la contraseña"
msgid "Add or remove tags"
msgstr "Añadir o borrar etiquetas"
msgid "Duplicate"
msgstr "Duplicado"
#, javascript-format
msgid "%s - Copy"
msgstr "%s - Copiar"
msgid "Switch between note and to-do type"
msgstr "Cambiar entre nota y lista de tareas"
@@ -925,12 +959,18 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "No hay ninguna libreta. Cree una pulsando en «Libreta nueva»."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Abrir..."
#, fuzzy, javascript-format
#, javascript-format
msgid "This file could not be opened: %s"
msgstr "No se ha podido guardar esta libreta: %s"
msgstr "No se ha podido abrir este archivo: %s"
msgid "Save as..."
msgstr "Guardar como..."
@@ -938,6 +978,9 @@ msgstr "Guardar como..."
msgid "Copy path to clipboard"
msgstr "Copiar la ruta en el portapapeles"
msgid "Copy Link Address"
msgstr "Copiar enlace"
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Enlace o mensaje no soportado: %s"
@@ -951,13 +994,16 @@ msgstr ""
"editar la nota."
msgid "strong text"
msgstr ""
msgstr "texto destacado"
msgid "emphasized text"
msgstr ""
msgstr "texto resaltado"
msgid "List item"
msgstr "Listar elementos"
msgid "Insert Hyperlink"
msgstr ""
msgstr "Insertar hipervínculo"
msgid "Attach file"
msgstr "Adjuntar archivo"
@@ -968,30 +1014,39 @@ msgstr "Etiquetas"
msgid "Set alarm"
msgstr "Establecer alarma"
#, fuzzy, javascript-format
#, javascript-format
msgid "In: %s"
msgstr "%s: %s"
msgstr "En: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
msgstr "Hipervínculo"
msgid "Code"
msgstr ""
msgstr "Código"
msgid "Numbered List"
msgstr ""
msgstr "Lista numerada"
msgid "Bulleted List"
msgstr ""
msgstr "Lista con viñetas"
msgid "Checkbox"
msgstr ""
msgstr "Casilla"
msgid "Heading"
msgstr ""
msgstr "Título"
msgid "Horizontal Rule"
msgstr ""
msgstr "Regla horizontal"
msgid "Click to stop external editing"
msgstr "Pulsa para detener la edición externa"
msgid "Watching..."
msgstr "Mirando..."
msgid "to-do"
msgstr "lista de tareas"
@@ -1170,26 +1225,19 @@ msgstr "Conflictos"
msgid "Cannot move notebook to this location"
msgstr "No se puede mover la libreta a este lugar"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Ya existe una libreta con este nombre: «%s»"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
"No se puede usar el nombre «%s» para una libreta; es un título reservado."
#, fuzzy
msgid "title"
msgstr "Sin título"
msgstr "título"
#, fuzzy
msgid "updated date"
msgstr "Actualizado: %d."
msgstr "fecha de actualización"
#, fuzzy
msgid "created date"
msgstr "Creado: %d."
msgstr "fecha de creación"
msgid "Untitled"
msgstr "Sin título"
@@ -1205,16 +1253,6 @@ msgstr "No se ha podido copiar la nota a la libreta «%s»"
msgid "Cannot move note to \"%s\" notebook"
msgstr "No se ha podido mover la nota a la libreta «%s»"
msgid "Text editor"
msgstr "Editor de texto"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"El editor que se usará para abrir una nota. Se intentará auto-detectar el "
"editor predeterminado si no se proporciona ninguno."
msgid "Language"
msgstr "Idioma"
@@ -1266,6 +1304,9 @@ msgstr "Mostrar icono en la bandeja"
msgid "Note: Does not work in all desktop environments."
msgstr "Nota: No funciona en todos los entornos de escritorio."
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "Establecer el porcentaje de aumento de la aplicación"
@@ -1298,6 +1339,17 @@ msgstr "%d hora"
msgid "%d hours"
msgstr "%d horas"
msgid "Text editor command"
msgstr "Editor de texto"
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"El comando del editor (puede incluir argumentos) que se utilizará para abrir "
"una nota. Si no se provee ninguno se intentará auto detectar el editor por "
"defecto."
msgid "Show advanced options"
msgstr "Mostrar opciones avanzadas"
@@ -1325,6 +1377,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Servidor WebDAV de Nextcloud"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Usuario de Nextcloud"
@@ -1340,10 +1399,32 @@ msgstr "Usuario de WebDAV"
msgid "WebDAV password"
msgstr "Contraseña de WebDAV"
msgid "Custom TLS certificates"
msgstr "Certificados TLS personalizados"
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
"Lista de rutas de los directorios de dónde cargar los certificados separados "
"por comas, o la ruta individual de los certificados. Por ejemplo: /mi/"
"cert_dir, /otro/personalizado.pem. Tenga en cuenta que si realiza cambios en "
"la configuración de los certificados debe guardar los cambios antes de "
"pulsar en \"Comprobar la configuración de sincronización\"."
msgid "Ignore TLS certificate errors"
msgstr "Ignorar errores en certificados TLS"
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Opción inválida: «%s». Los valores posibles son: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Archivo de exportación de Joplin"
@@ -1458,7 +1539,6 @@ msgstr "¿Desea mover %d notas a libreta «%s»?"
msgid "Press to set the decryption password."
msgstr "Presione para establecer la contraseña de descifrado."
#, fuzzy
msgid "Save alarm"
msgstr "Establecer alarma"
@@ -1471,9 +1551,9 @@ msgstr "Confirmar"
msgid "Cancel synchronisation"
msgstr "Cancelar sincronización"
#, fuzzy, javascript-format
#, javascript-format
msgid "Decrypting items: %d/%d"
msgstr "Elementos obtenidos: %d/%d."
msgstr "Descifrando elementos: %d/%d."
msgid "New tags:"
msgstr "Nuevas etiquetas:"
@@ -1609,6 +1689,9 @@ msgstr ""
msgid "Welcome"
msgstr "Bienvenido"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Ya existe una libreta con este nombre: «%s»"
#~ msgid ""
#~ "For more information about End-To-End Encryption (E2EE) and advices on "
#~ "how to enable it please check the documentation"

View File

@@ -458,10 +458,11 @@ msgstr "Sinkronizazioa hasten..."
msgid "Cancelling... Please wait."
msgstr "Bertan behera uzten... itxaron, mesedez."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> izan daiteke \"add\", \"remove\" edo \"list\" [oharra]tik "
"[etiketa] esleitu edo kentzeko, edo [etiketa]rekin elkartutako oharrak "
@@ -633,6 +634,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Bilatu ohar guztietan"
@@ -706,6 +713,9 @@ msgstr ""
msgid "No"
msgstr "E"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -749,6 +759,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Erakutsi aukera aurreratuak"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
#, fuzzy
msgid "Check synchronisation configuration"
msgstr "Sinkronizazioa utzi"
@@ -757,12 +782,15 @@ msgstr "Sinkronizazioa utzi"
msgid "Notes and settings are stored in: %s"
msgstr "Oharrak eta ezarpenak hemen daude gordeta: %s"
msgid "Save"
msgstr "Gorde"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr "Gorde"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -901,6 +929,13 @@ msgstr "Ezarri pasahitza"
msgid "Add or remove tags"
msgstr "Gehitu edo ezabatu etiketak"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Kopiatu"
msgid "Switch between note and to-do type"
msgstr "Aldatu oharra eta zeregin eren artean."
@@ -920,6 +955,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "Momentuz ez dago koadernorik. Sortu bat \"Koaderno berria\" sakatuta."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr ""
@@ -934,6 +975,9 @@ msgstr "Gorde aldaketak"
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Esteka edo mezu ez dago onartua: %s"
@@ -950,6 +994,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -966,6 +1013,9 @@ msgstr "Ezarri alarma"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -987,6 +1037,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "Bertan behera uzten..."
#, fuzzy
msgid "to-do"
msgstr "Zeregin berria"
@@ -1171,10 +1228,6 @@ msgstr "Gatazkak"
msgid "Cannot move notebook to this location"
msgstr "Ezin eraman daiteke oharra \"%s\" koadernora"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Dagoeneko bada koaderno bat izen horrekin: \"%s\""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
@@ -1206,16 +1259,6 @@ msgstr "Ezin kopia daiteke oharra \"%s\" koadernora"
msgid "Cannot move note to \"%s\" notebook"
msgstr "Ezin eraman daiteke oharra \"%s\" koadernora"
msgid "Text editor"
msgstr "Testu editorea"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Editorea erabiliko da oharra zabaltzeko. Ez badago zehaztutakorik lehenetsia "
"igartzen ahaleginduko da."
msgid "Language"
msgstr "Hizkuntza"
@@ -1272,6 +1315,9 @@ msgstr ""
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
#, fuzzy
msgid "Global zoom percentage"
msgstr "Ezarri aplikazioaren zoomaren ehunekoa"
@@ -1302,6 +1348,18 @@ msgstr "% ordua"
msgid "%d hours"
msgstr "% orduak"
#, fuzzy
msgid "Text editor command"
msgstr "Testu editorea"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Editorea erabiliko da oharra zabaltzeko. Ez badago zehaztutakorik lehenetsia "
"igartzen ahaleginduko da."
msgid "Show advanced options"
msgstr "Erakutsi aukera aurreratuak"
@@ -1328,6 +1386,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV URL"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Nextcloud erabiltzaile-izena"
@@ -1346,10 +1411,27 @@ msgstr "Nextcloud erabiltzaile-izena"
msgid "WebDAV password"
msgstr "Ezarri pasahitza"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Balio aukera baliogabea: \"%s\". Litezkeen balioak: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
#, fuzzy
msgid "Joplin Export File"
msgstr "Evernotetik esportatutako fitxategiak"
@@ -1607,6 +1689,9 @@ msgstr "Oraindik ez duzu koadernorik. Sortu bat (+) botoian sakatuta."
msgid "Welcome"
msgstr "Ongi etorri!"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Dagoeneko bada koaderno bat izen horrekin: \"%s\""
#~ msgid "Searches"
#~ msgstr "Bilaketak"

View File

@@ -59,7 +59,7 @@ msgstr ""
"La commande \"%s\" est disponible uniquement en mode d'interface graphique"
msgid "Cannot change encrypted item"
msgstr "Un objet crypté ne peut pas être modifié"
msgstr "Un objet chiffré ne peut pas être modifié"
#, javascript-format
msgid "Missing required argument: %s"
@@ -127,7 +127,7 @@ msgid ""
"Manages E2EE configuration. Commands are `enable`, `disable`, `decrypt`, "
"`status` and `target-status`."
msgstr ""
"Gérer la configuration E2EE (Cryptage de bout à bout). Les commandes sont "
"Gérer la configuration E2EE (Chiffrement de bout à bout). Les commandes sont "
"`enable`, `disable`, `decrypt` et `status` et `target-status`."
msgid "Enter master password:"
@@ -140,11 +140,11 @@ msgid ""
"Starting decryption... Please wait as it may take several minutes depending "
"on how much there is to decrypt."
msgstr ""
"Démarrage du décryptage... Veuillez patienter car cela pourrait prendre "
"plusieurs minutes selon le nombre d'objets à décrypter."
"Démarrage du déchiffrement... Veuillez patienter car cela pourrait prendre "
"plusieurs minutes selon le nombre d'objets à déchiffrer."
msgid "Completed decryption."
msgstr "Décryptage complété."
msgstr "Déchiffrement complété."
msgid "Enabled"
msgstr "Activé"
@@ -154,7 +154,7 @@ msgstr "Désactivé"
#, javascript-format
msgid "Encryption is: %s"
msgstr "Le cryptage est : %s"
msgstr "Le chiffrement est : %s"
msgid "Edit note."
msgstr "Éditer la note."
@@ -464,12 +464,12 @@ msgstr "Annulation... Veuillez attendre."
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> peut être \"add\", \"remove\" ou \"list\" pour assigner ou "
"enlever l'étiquette [tag] de la [note], our pour lister les notes associées "
"avec l'étiquette [tag]. La commande `tag list` peut être utilisée pour "
"lister les étiquettes."
"lister les étiquettes (utilisez l'option -l pour les options complètes)."
#, javascript-format
msgid "Invalid command: \"%s\""
@@ -571,10 +571,10 @@ msgid ""
"supplied the password, the encrypted items are being decrypted in the "
"background and will be available soon."
msgstr ""
"Au moins un objet est actuellement crypté et il se peut que vous deviez "
"Au moins un objet est actuellement chiffré et il se peut que vous deviez "
"fournir votre mot de passe maître. Pour se faire, veuillez taper `e2ee "
"decrypt`. Si vous avez déjà fourni ce mot de passe, les objets cryptés vont "
"être décrypté en tâche de fond et seront disponible prochainement."
"decrypt`. Si vous avez déjà fourni ce mot de passe, les objets chiffrés vont "
"être déchiffré en tâche de fond et seront disponible prochainement."
#, javascript-format
msgid "Exporting to \"%s\" as \"%s\" format. Please wait..."
@@ -628,10 +628,16 @@ msgid "Paste"
msgstr "Coller"
msgid "Bold"
msgstr ""
msgstr "Gras"
msgid "Italic"
msgstr ""
msgstr "Italique"
msgid "Insert Date Time"
msgstr "Insérer la date et l'heure"
msgid "Edit in external editor"
msgstr "Ouvrir dans un éditeur externe"
msgid "Search in all the notes"
msgstr "Chercher dans toutes les notes"
@@ -655,7 +661,7 @@ msgid "Web clipper options"
msgstr "Options du Web Clipper"
msgid "Encryption options"
msgstr "Options de cryptage"
msgstr "Options de chiffrement"
msgid "General Options"
msgstr "Options générales"
@@ -705,12 +711,15 @@ msgstr "Oui"
msgid "No"
msgstr "Non"
msgid "Token has been copied to the clipboard!"
msgstr "Le code d'authentification a été copié dans le presse-papiers !"
msgid "The web clipper service is enabled and set to auto-start."
msgstr "Le service du Web Clipper est activé et démarrera automatiquement."
#, javascript-format
msgid "Status: Started on port %d"
msgstr "État : Commencé sur le port %d"
msgstr "État : Démarré sur le port %d"
#, javascript-format
msgid "Status: %s"
@@ -729,8 +738,8 @@ msgid ""
"Joplin Web Clipper allows saving web pages and screenshots from your browser "
"to Joplin."
msgstr ""
"Le Web Clipper permet de sauver des pages web et des captures d'écran depuis "
"votre navigateur vers Joplin."
"Le Web Clipper permet d'enregistrer des pages web et des captures d'écran "
"depuis votre navigateur vers Joplin."
msgid "In order to use the web clipper, you need to do the following:"
msgstr "Pour utiliser le Web Clipper, veuillez suivre ces instructions :"
@@ -755,6 +764,22 @@ msgstr ""
"Téléchargez et installez le module complémentaire correspondant à votre "
"navigateur :"
msgid "Advanced options"
msgstr "Options avancées"
msgid "Authorisation token:"
msgstr "Code d'authentification :"
msgid "Copy token"
msgstr "Copier le code"
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
"Ce code d'authentification est nécessaire uniquement pour permettre aux "
"logiciels tiers d'accéder aux données de Joplin."
msgid "Check synchronisation configuration"
msgstr "Vérifier config synchronisation"
@@ -762,20 +787,23 @@ msgstr "Vérifier config synchronisation"
msgid "Notes and settings are stored in: %s"
msgstr "Les notes et paramètres se trouve dans : %s"
msgid "Save"
msgstr "Enregistrer"
msgid "Apply"
msgstr "Appliquer"
msgid "Submit"
msgstr "Envoyer"
msgid "Save"
msgstr "Enregistrer"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
"continue?"
msgstr ""
"Désactiver le cryptage signifie que *toutes* les notes et fichiers vont être "
"re-synchronisés et envoyés décryptés sur la cible de la synchronisation. "
"Souhaitez vous continuer ?"
"Désactiver le chiffrement signifie que *toutes* les notes et fichiers vont "
"être re-synchronisés et envoyés déchiffrés sur la cible de la "
"synchronisation. Souhaitez vous continuer ?"
msgid ""
"Enabling encryption means *all* your notes and attachments are going to be "
@@ -783,17 +811,17 @@ msgid ""
"password as, for security purposes, this will be the *only* way to decrypt "
"the data! To enable encryption, please enter your password below."
msgstr ""
"Activer le cryptage signifie que *toutes* les notes et fichiers vont être re-"
"synchronisés et envoyés cryptés vers la cible de la synchronisation. Ne "
"Activer le chiffrement signifie que *toutes* les notes et fichiers vont être "
"re-synchronisés et envoyés chiffrés vers la cible de la synchronisation. Ne "
"perdez pas votre mot de passe car, pour des raisons de sécurité, ce sera la "
"*seule* façon de décrypter les données ! Pour activer le cryptage, veuillez "
"entrer votre mot de passe ci-dessous."
"*seule* façon de déchiffrer les données ! Pour activer le chiffrement, "
"veuillez entrer votre mot de passe ci-dessous."
msgid "Disable encryption"
msgstr "Désactiver le cryptage"
msgstr "Désactiver le chiffrement"
msgid "Enable encryption"
msgstr "Activer le cryptage"
msgstr "Activer le chiffrement"
msgid "Master Keys"
msgstr "Clefs maître"
@@ -824,10 +852,10 @@ msgid ""
"as \"active\"). Any of the keys might be used for decryption, depending on "
"how the notes or notebooks were originally encrypted."
msgstr ""
"Note : seule une clef maître va être utilisée pour le cryptage (celle "
"Note : seule une clef maître va être utilisée pour le chiffrement (celle "
"marquée comme \"actif\" ci-dessus). N'importe quelle clef peut être utilisée "
"pour le décryptage, selon la façon dont les notes ou carnets étaient cryptés "
"à l'origine."
"pour le déchiffrement, selon la façon dont les notes ou carnets étaient "
"chiffrés à l'origine."
msgid "Missing Master Keys"
msgstr "Clefs maître manquantes"
@@ -837,7 +865,7 @@ msgid ""
"however the application does not currently have access to them. It is likely "
"they will eventually be downloaded via synchronisation."
msgstr ""
"Les clefs maître avec ces identifiants sont utilisées pour crypter certains "
"Les clefs maître avec ces identifiants sont utilisées pour chiffrer certains "
"de vos objets, cependant le logiciel n'y a pour l'instant pas accès. Il est "
"probable qu'elle vont être prochainement disponible via la synchronisation."
@@ -845,14 +873,14 @@ msgid ""
"For more information about End-To-End Encryption (E2EE) and advices on how "
"to enable it please check the documentation:"
msgstr ""
"Pour plus d'informations sur l'encryption de bout en bout, ainsi que des "
"Pour plus d'informations sur le chiffrement de bout en bout, ainsi que des "
"conseils pour l'activer, veuillez consulter la documentation :"
msgid "Status"
msgstr "État"
msgid "Encryption is:"
msgstr "Le cryptage est :"
msgstr "Le chiffrement est :"
msgid "Back"
msgstr "Retour"
@@ -901,7 +929,7 @@ msgid "View them now"
msgstr "Les voir maintenant"
msgid "Some items cannot be decrypted."
msgstr "Certains objets ne peuvent être décryptés."
msgstr "Certains objets ne peuvent être déchiffrés."
msgid "Set the password"
msgstr "Définir le mot de passe"
@@ -909,6 +937,13 @@ msgstr "Définir le mot de passe"
msgid "Add or remove tags"
msgstr "Gérer les étiquettes"
msgid "Duplicate"
msgstr "Dupliquer"
#, javascript-format
msgid "%s - Copy"
msgstr "%s - Copie"
msgid "Switch between note and to-do type"
msgstr "Alterner entre note et tâche"
@@ -931,12 +966,18 @@ msgstr ""
"Il n'y a pour l'instant aucun carnet. Créez-en un en cliquant sur \"Nouveau "
"carnet\"."
msgid "Location"
msgstr "Lieu"
msgid "URL"
msgstr "URL"
msgid "Open..."
msgstr "Ouvrir..."
#, fuzzy, javascript-format
#, javascript-format
msgid "This file could not be opened: %s"
msgstr "Ce carnet n'a pas pu être sauvegardé : %s"
msgstr "Ce fichier n'a pas pu être ouvert : %s"
msgid "Save as..."
msgstr "Enregistrer sous..."
@@ -944,6 +985,9 @@ msgstr "Enregistrer sous..."
msgid "Copy path to clipboard"
msgstr "Copier le chemin"
msgid "Copy Link Address"
msgstr "Copier l'adresse du lien"
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Lien ou message non géré : %s"
@@ -957,13 +1001,16 @@ msgstr ""
"l'éditeur et éditer cette note."
msgid "strong text"
msgstr ""
msgstr "texte en gras"
msgid "emphasized text"
msgstr ""
msgstr "texte en italique"
msgid "List item"
msgstr "Élément de liste"
msgid "Insert Hyperlink"
msgstr ""
msgstr "Insérer lien"
msgid "Attach file"
msgstr "Attacher un fichier"
@@ -978,26 +1025,35 @@ msgstr "Régler alarme"
msgid "In: %s"
msgstr "Dans : %s"
msgid "Note properties"
msgstr "Propriétés de la note"
msgid "Hyperlink"
msgstr ""
msgstr "Lien"
msgid "Code"
msgstr ""
msgstr "Code"
msgid "Numbered List"
msgstr ""
msgstr "Liste numérotée"
msgid "Bulleted List"
msgstr ""
msgstr "Liste à puces"
msgid "Checkbox"
msgstr ""
msgstr "Case à cocher"
msgid "Heading"
msgstr ""
msgstr "Titre"
msgid "Horizontal Rule"
msgstr ""
msgstr "Règle horizontale"
msgid "Click to stop external editing"
msgstr "Cliquez pour arrêter l'édition externe"
msgid "Watching..."
msgstr "En cours..."
msgid "to-do"
msgstr "tâche"
@@ -1028,7 +1084,7 @@ msgid "Synchronisation Status"
msgstr "État de la synchronisation"
msgid "Encryption Options"
msgstr "Options de cryptage"
msgstr "Options de chiffrement"
msgid "Clipper Options"
msgstr "Options du Web Clipper"
@@ -1166,20 +1222,16 @@ msgid "Synchronisation is already in progress. State: %s"
msgstr "La synchronisation est déjà en cours. État : %s"
msgid "Encrypted"
msgstr "Crypté"
msgstr "Chiffré"
msgid "Encrypted items cannot be modified"
msgstr "Les objets cryptés ne peuvent être modifiés"
msgstr "Les objets chiffrés ne peuvent être modifiés"
msgid "Conflicts"
msgstr "Conflits"
msgid "Cannot move notebook to this location"
msgstr "Impossible de déplacer le carnet vers le carnet \"%s\""
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Un carnet avec ce titre existe déjà : \"%s\""
msgstr "Impossible de déplacer le carnet à cet endroit"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
@@ -1189,10 +1241,10 @@ msgid "title"
msgstr "titre"
msgid "updated date"
msgstr "Date modification"
msgstr "date de modification"
msgid "created date"
msgstr "Date création"
msgstr "date de création"
msgid "Untitled"
msgstr "Sans titre"
@@ -1208,16 +1260,6 @@ msgstr "Impossible de copier la note vers le carnet \"%s\""
msgid "Cannot move note to \"%s\" notebook"
msgstr "Impossible de déplacer la note vers le carnet \"%s\""
msgid "Text editor"
msgstr "Éditeur de texte"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"L'éditeur de texte pour ouvrir et modifier les notes. Si aucun n'est "
"spécifié, il sera détecté automatiquement."
msgid "Language"
msgstr "Langue"
@@ -1264,11 +1306,14 @@ msgid "When creating a new note:"
msgstr "Lors de la création d'une note :"
msgid "Show tray icon"
msgstr "Afficher icône dans la zone de notifications"
msgstr "Afficher l'icône dans la zone de notifications"
msgid "Note: Does not work in all desktop environments."
msgstr "Note : Ne fonctionne pas dans tous les environnements de bureau."
msgid "Start application minimised in the tray icon"
msgstr "Démarrer minimisé dans la zone de notification"
msgid "Global zoom percentage"
msgstr "Niveau de zoom"
@@ -1301,6 +1346,16 @@ msgstr "%d heure"
msgid "%d hours"
msgstr "%d heures"
msgid "Text editor command"
msgstr "Commande de l'éditeur de texte"
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"La commande de l'éditeur de texte (peut inclure des options) pour ouvrir et "
"modifier les notes. Si non-spécifiée, elle sera détectée automatiquement."
msgid "Show advanced options"
msgstr "Montrer les options avancées"
@@ -1328,6 +1383,16 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud : URL WebDAV"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
"Attention : si vous changez cet emplacement, copiez-y tout le contenu avant "
"de synchroniser, sinon tous les fichiers seront supprimés ! Consulter la FAQ "
"pour plus de détails : %s"
msgid "Nextcloud username"
msgstr "Nextcloud : Nom utilisateur"
@@ -1343,10 +1408,32 @@ msgstr "WebDAV : Nom utilisateur"
msgid "WebDAV password"
msgstr "WebDAV : Mot de passe"
msgid "Custom TLS certificates"
msgstr "Certificats TLS personnalisés"
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
"Liste séparée par des virgules contenant les chemins des répertoires "
"contenants des certificats, ou les chemins de certificats individuels. Par "
"exemple : /my/cert_dir, /other/custom.pem. Remarquez que si vous changez les "
"paramètres TLS, vous devez enregistrer vos changements avant de cliquer sur "
"\"Vérifier config synchronisation\"."
msgid "Ignore TLS certificate errors"
msgstr "Ignorer les erreurs de certificats TLS"
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Option invalide: \"%s\". Les valeurs possibles sont : %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr "L'étiquette \"%s\" existe déjà. Veuillez choisir un autre nom."
msgid "Joplin Export File"
msgstr "Fichier d'export Joplin"
@@ -1375,7 +1462,7 @@ msgid ""
"This item is currently encrypted: %s \"%s\". Please wait for all items to be "
"decrypted and try again."
msgstr ""
"Cet objet est crypté : %s \"%s\". Veuillez attendre que tout soit décrypté "
"Cet objet est chiffré : %s \"%s\". Veuillez attendre que tout soit déchiffré "
"et réessayez."
msgid "There is no data to export."
@@ -1448,7 +1535,7 @@ msgid "Export Debug Report"
msgstr "Exporter rapport de débogage"
msgid "Encryption Config"
msgstr "Config cryptage"
msgstr "Config chiffrement"
msgid "Configuration"
msgstr "Configuration"
@@ -1475,9 +1562,9 @@ msgstr "Confirmer"
msgid "Cancel synchronisation"
msgstr "Annuler synchronisation"
#, fuzzy, javascript-format
#, javascript-format
msgid "Decrypting items: %d/%d"
msgstr "Téléchargés : %d/%d."
msgstr "Déchiffrement des objets : %d/%d"
msgid "New tags:"
msgstr "Nouvelles étiquettes :"
@@ -1613,12 +1700,15 @@ msgstr ""
msgid "Welcome"
msgstr "Bienvenue"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Un carnet avec ce titre existe déjà : \"%s\""
#~ msgid ""
#~ "For more information about End-To-End Encryption (E2EE) and advices on "
#~ "how to enable it please check the documentation"
#~ msgstr ""
#~ "Pour plus d'informations sur l'encryption de bout en bout, ainsi que des "
#~ "conseils pour l'activer, veuillez consulter la documentation"
#~ "Pour plus d'informations sur le chiffrement de bout en bout, ainsi que "
#~ "des conseils pour l'activer, veuillez consulter la documentation"
#~ msgid "Searches"
#~ msgstr "Recherches"

View File

@@ -455,10 +455,11 @@ msgstr "Iniciando sincronización..."
msgid "Cancelling... Please wait."
msgstr "Cancelando... Agarde."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> pode ser «add», «remove» ou «list» para asignar ou eliminar "
"[tag] da [note] ou para listar as notas asociadas con [tag]. A orde «list» "
@@ -625,6 +626,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Buscar en todas as notas"
@@ -696,6 +703,9 @@ msgstr "Si"
msgid "No"
msgstr "Non"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -739,6 +749,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Mostrar opcións avanzadas"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Comprobar a configuración da sincronización"
@@ -746,12 +771,15 @@ msgstr "Comprobar a configuración da sincronización"
msgid "Notes and settings are stored in: %s"
msgstr "As notas e axustes gardáronse en: %s"
msgid "Save"
msgstr "Gardar"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr "Gardar"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -888,6 +916,13 @@ msgstr "Estabelecer un contrasinal"
msgid "Add or remove tags"
msgstr "Engadir ou eliminar etiquetas"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Copiar"
msgid "Switch between note and to-do type"
msgstr "Cambiar entre notas e tarefas"
@@ -908,6 +943,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "Este no é un caderno. Cree un, premendo en «Novo caderno»."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Abrir…"
@@ -921,6 +962,9 @@ msgstr "Gardar como…"
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Ligazón ou mensaxe incompatíbeis: %s"
@@ -939,6 +983,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -955,6 +1002,9 @@ msgstr "Estabelecer alarma"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -976,6 +1026,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "Cancelando..."
msgid "to-do"
msgstr "tarefas pendentes"
@@ -1155,10 +1212,6 @@ msgstr "Conflitos"
msgid "Cannot move notebook to this location"
msgstr "Non é posíbel mover a nota ao caderno «%s»"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Xa existe un caderno con ese título: «%s»"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr "Os cadernos non poden levar o nome «%s» porque é un título reservado."
@@ -1189,16 +1242,6 @@ msgstr "Non é posíbel copiar a nota ao caderno «%s»"
msgid "Cannot move note to \"%s\" notebook"
msgstr "Non é posíbel mover a nota ao caderno «%s»"
msgid "Text editor"
msgstr "Editor de texto"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Editor a usar para abrir unha nota. Se non se indica ningún tentará detectar "
"automaticamente o editor predeterminado."
msgid "Language"
msgstr "Idioma"
@@ -1251,6 +1294,9 @@ msgstr "Mostrar a icona na bandexa"
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "Porcentaxe de ampliación"
@@ -1283,6 +1329,18 @@ msgstr "%d hora"
msgid "%d hours"
msgstr "%d horas"
#, fuzzy
msgid "Text editor command"
msgstr "Editor de texto"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Editor a usar para abrir unha nota. Se non se indica ningún tentará detectar "
"automaticamente o editor predeterminado."
msgid "Show advanced options"
msgstr "Mostrar opcións avanzadas"
@@ -1309,6 +1367,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "URL de Nextcloud WebDAV"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Usuario de Nextcloud"
@@ -1324,10 +1389,27 @@ msgstr "Usuario de WebDAV"
msgid "WebDAV password"
msgstr "Contrasinal do WebDAV"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Valor incorrecto de opción: «%s». Os valores posíbeis son: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Ficheiro de exportación do Joplin"
@@ -1584,3 +1666,6 @@ msgstr "Non ten cadernos actualmente. Cree un premendo no botón (+)."
msgid "Welcome"
msgstr "Benvido/a"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Xa existe un caderno con ese título: «%s»"

View File

@@ -462,7 +462,7 @@ msgstr "Prekidam... Pričekaj."
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
@@ -631,6 +631,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Pretraži u svim bilješkama"
@@ -705,6 +711,9 @@ msgstr ""
msgid "No"
msgstr "N"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -748,6 +757,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Prikaži napredne opcije"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
#, fuzzy
msgid "Check synchronisation configuration"
msgstr "Prekini sinkronizaciju"
@@ -756,12 +780,15 @@ msgstr "Prekini sinkronizaciju"
msgid "Notes and settings are stored in: %s"
msgstr "Bilješke i postavke su pohranjene u: %s"
msgid "Save"
msgstr "Spremi"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr "Spremi"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -889,6 +916,13 @@ msgstr ""
msgid "Add or remove tags"
msgstr "Dodaj ili makni oznake"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Kopiraj"
msgid "Switch between note and to-do type"
msgstr "Zamijeni bilješku i zadatak"
@@ -908,6 +942,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "Ovdje nema bilježnica. Stvori novu pritiskom na \"Nova bilježnica\"."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr ""
@@ -922,6 +962,9 @@ msgstr "Spremi promjene"
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Nepodržana poveznica ili poruka: %s"
@@ -938,6 +981,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -954,6 +1000,9 @@ msgstr "Postavi upozorenje"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -975,6 +1024,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "Prekidam..."
#, fuzzy
msgid "to-do"
msgstr "Novi zadatak"
@@ -1155,10 +1211,6 @@ msgstr "Sukobi"
msgid "Cannot move notebook to this location"
msgstr "Ne mogu premjestiti bilješku u bilježnicu %s"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Bilježnica s ovim naslovom već postoji: \"%s\""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr "Naslov \"%s\" je rezerviran i ne može se koristiti."
@@ -1189,16 +1241,6 @@ msgstr "Ne mogu kopirati bilješku u bilježnicu %s"
msgid "Cannot move note to \"%s\" notebook"
msgstr "Ne mogu premjestiti bilješku u bilježnicu %s"
msgid "Text editor"
msgstr "Uređivač teksta"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Program za uređivanje koji će biti korišten za uređivanje bilješki. Ako ni "
"jedan nije odabran, pokušati će se sa default programom."
msgid "Language"
msgstr "Jezik"
@@ -1256,6 +1298,9 @@ msgstr ""
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr ""
@@ -1285,6 +1330,18 @@ msgstr "%d sat"
msgid "%d hours"
msgstr "%d sati"
#, fuzzy
msgid "Text editor command"
msgstr "Uređivač teksta"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Program za uređivanje koji će biti korišten za uređivanje bilješki. Ako ni "
"jedan nije odabran, pokušati će se sa default programom."
msgid "Show advanced options"
msgstr "Prikaži napredne opcije"
@@ -1309,6 +1366,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr ""
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr ""
@@ -1324,10 +1388,27 @@ msgstr ""
msgid "WebDAV password"
msgstr ""
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Nevažeća vrijednost: \"%s\". Moguće vrijednosti su: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
#, fuzzy
msgid "Joplin Export File"
msgstr "Evernote izvozne datoteke"
@@ -1584,6 +1665,9 @@ msgstr "Trenutno nemaš nijednu bilježnicu. Stvori novu klikom na (+) gumb."
msgid "Welcome"
msgstr "Dobro došli"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Bilježnica s ovim naslovom već postoji: \"%s\""
#~ msgid "Searches"
#~ msgstr "Pretraživanja"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -414,7 +414,7 @@ msgstr ""
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
#, javascript-format
@@ -558,6 +558,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr ""
@@ -629,6 +635,9 @@ msgstr ""
msgid "No"
msgstr ""
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -672,6 +681,20 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
msgid "Advanced options"
msgstr ""
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr ""
@@ -679,12 +702,15 @@ msgstr ""
msgid "Notes and settings are stored in: %s"
msgstr ""
msgid "Save"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr ""
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -807,6 +833,13 @@ msgstr ""
msgid "Add or remove tags"
msgstr ""
msgid "Duplicate"
msgstr ""
#, javascript-format
msgid "%s - Copy"
msgstr ""
msgid "Switch between note and to-do type"
msgstr ""
@@ -826,6 +859,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr ""
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr ""
@@ -839,6 +878,9 @@ msgstr ""
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr ""
@@ -855,6 +897,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -871,6 +916,9 @@ msgstr ""
msgid "In: %s"
msgstr ""
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -892,6 +940,12 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
msgid "Watching..."
msgstr ""
msgid "to-do"
msgstr ""
@@ -1061,10 +1115,6 @@ msgstr ""
msgid "Cannot move notebook to this location"
msgstr ""
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr ""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
@@ -1092,14 +1142,6 @@ msgstr ""
msgid "Cannot move note to \"%s\" notebook"
msgstr ""
msgid "Text editor"
msgstr ""
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
msgid "Language"
msgstr ""
@@ -1151,6 +1193,9 @@ msgstr ""
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr ""
@@ -1180,6 +1225,14 @@ msgstr ""
msgid "%d hours"
msgstr ""
msgid "Text editor command"
msgstr ""
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
msgid "Show advanced options"
msgstr ""
@@ -1202,6 +1255,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr ""
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr ""
@@ -1217,10 +1277,27 @@ msgstr ""
msgid "WebDAV password"
msgstr ""
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr ""
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr ""

1662
CliClient/locales/ko.po Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -459,10 +459,11 @@ msgstr "Synchronisatie starten..."
msgid "Cancelling... Please wait."
msgstr "Annuleren.. Even geduld."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> kan \"add\", \"remove\" of \"list\" zijn om een [tag] toe te "
"voegen aan een [note] of te verwijderen, of om alle notities geassocieerd "
@@ -635,6 +636,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Zoek in alle notities"
@@ -708,6 +715,9 @@ msgstr ""
msgid "No"
msgstr "N"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -751,6 +761,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Toon geavanceerde opties"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
#, fuzzy
msgid "Check synchronisation configuration"
msgstr "Annuleer synchronisatie"
@@ -759,12 +784,15 @@ msgstr "Annuleer synchronisatie"
msgid "Notes and settings are stored in: %s"
msgstr "Notities en instellingen zijn opgeslaan in %s"
msgid "Save"
msgstr "Sla op"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr "Sla op"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -903,6 +931,13 @@ msgstr "Stel wachtwoord in"
msgid "Add or remove tags"
msgstr "Voeg tag toe of verwijder tag"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Kopieer"
msgid "Switch between note and to-do type"
msgstr "Wissel tussen notitie en to-do type"
@@ -924,6 +959,12 @@ msgstr ""
"U heeft momenteel geen notitieboek. Maak een notitieboek door op \"Nieuw "
"notitieboek\" te klikken."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr ""
@@ -938,6 +979,9 @@ msgstr "Sla wijzigingen op"
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Link of bericht \"%s\" wordt niet ondersteund"
@@ -954,6 +998,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -970,6 +1017,9 @@ msgstr "Zet melding"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -991,6 +1041,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "Annuleren..."
#, fuzzy
msgid "to-do"
msgstr "Nieuwe to-do"
@@ -1173,10 +1230,6 @@ msgstr "Conflicten"
msgid "Cannot move notebook to this location"
msgstr "Kan notitie niet naar notitieboek \"%s\" verplaatsen."
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Er bestaat al een notitieboek met \"%s\" als titel"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
@@ -1209,17 +1262,6 @@ msgstr "Kan notitie niet naar notitieboek \"%s\" kopiëren."
msgid "Cannot move note to \"%s\" notebook"
msgstr "Kan notitie niet naar notitieboek \"%s\" verplaatsen."
msgid "Text editor"
msgstr "Tekst editor"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"De editor die zal gebruikt worden bij het openen van een notitie. Als er "
"geen meegegeven wordt, zal het programma de standaard editor proberen te "
"detecteren. "
msgid "Language"
msgstr "Taal"
@@ -1276,6 +1318,9 @@ msgstr ""
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr ""
@@ -1305,6 +1350,19 @@ msgstr "%d uur"
msgid "%d hours"
msgstr "%d uren"
#, fuzzy
msgid "Text editor command"
msgstr "Tekst editor"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"De editor die zal gebruikt worden bij het openen van een notitie. Als er "
"geen meegegeven wordt, zal het programma de standaard editor proberen te "
"detecteren. "
msgid "Show advanced options"
msgstr "Toon geavanceerde opties"
@@ -1329,6 +1387,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr ""
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr ""
@@ -1346,10 +1411,27 @@ msgstr ""
msgid "WebDAV password"
msgstr "Stel wachtwoord in"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Ongeldige optie: \"%s\". Geldige waarden zijn: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
#, fuzzy
msgid "Joplin Export File"
msgstr "Exporteer Evernote bestanden"
@@ -1611,6 +1693,9 @@ msgstr ""
msgid "Welcome"
msgstr "Welkom"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Er bestaat al een notitieboek met \"%s\" als titel"
#~ msgid "Searches"
#~ msgstr "Zoekopdrachten"

1700
CliClient/locales/nl_NL.po Normal file

File diff suppressed because it is too large Load Diff

1680
CliClient/locales/no.po Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -246,9 +246,8 @@ msgstr ""
"Use as setas e a Page Up/Page Down para rolar as listas e áreas de texto "
"(incluindo este console)."
#, fuzzy
msgid "To maximise/minimise the console, press \"tc\"."
msgstr "Para maximizar / minimizar o console, pressione \"TC\"."
msgstr "Para maximizar / minimizar o console, pressione \"tc\"."
msgid "To enter command line mode, press \":\""
msgstr "Para entrar no modo de linha de comando, pressione \":\""
@@ -363,12 +362,11 @@ msgstr "Exclui o caderno informado."
msgid "Deletes the notebook without asking for confirmation."
msgstr "Exclui o caderno sem pedir confirmação."
#, fuzzy
msgid ""
"Delete notebook? All notes and sub-notebooks within this notebook will also "
"be deleted."
msgstr ""
"Excluir o caderno? Todas as notas deste caderno notebook também serão "
"Excluir o caderno? Todas as notas e sub-cadernos dentro deste também serão "
"excluídas."
msgid "Deletes the notes matching <note-pattern>."
@@ -459,10 +457,11 @@ msgstr "Iniciando sincronização..."
msgid "Cancelling... Please wait."
msgstr "Cancelando... Aguarde."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> pode ser \"add\", \"remove\" ou \"list\" para atribuir ou "
"remover [tag] de [nota], ou para listar as notas associadas a [tag]. O "
@@ -627,10 +626,16 @@ msgid "Paste"
msgstr "Colar"
msgid "Bold"
msgstr ""
msgstr "Negrito"
msgid "Italic"
msgstr ""
msgstr "Itálico"
msgid "Insert Date Time"
msgstr "Inserir Data e Hora"
msgid "Edit in external editor"
msgstr "Editar com editor externo"
msgid "Search in all the notes"
msgstr "Pesquisar em todas as notas"
@@ -639,7 +644,7 @@ msgid "View"
msgstr "Visualizar"
msgid "Toggle sidebar"
msgstr ""
msgstr "Alternar barra lateral"
msgid "Toggle editor layout"
msgstr "Alternar layout do editor"
@@ -651,7 +656,7 @@ msgid "Synchronisation status"
msgstr "Status de sincronização"
msgid "Web clipper options"
msgstr ""
msgstr "Opções do Web clipper"
msgid "Encryption options"
msgstr "Opções de Encriptação"
@@ -703,47 +708,71 @@ msgstr "Sim"
msgid "No"
msgstr "Não"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
"O serviço de web clipper está habilitado e configurado para auto-start."
#, javascript-format
msgid "Status: Started on port %d"
msgstr ""
msgstr "Status: Iniciado, na porta %d"
#, fuzzy, javascript-format
#, javascript-format
msgid "Status: %s"
msgstr "Estado: \"%s\"."
msgstr "Status: \"%s\"."
msgid "Disable Web Clipper Service"
msgstr ""
msgstr "Desabilitar serviço Web Clipper"
msgid "The web clipper service is not enabled."
msgstr ""
msgstr "O serviço de web clipper não está habilitado."
msgid "Enable Web Clipper Service"
msgstr ""
msgstr "Habilitar serviço Web Clipper"
msgid ""
"Joplin Web Clipper allows saving web pages and screenshots from your browser "
"to Joplin."
msgstr ""
"O serviço de Web Clipper do Joplin permite salvar páginas da web e "
"screenshots do seu browser, no Joplin."
msgid "In order to use the web clipper, you need to do the following:"
msgstr ""
msgstr "Para usar o web clipper, você precisa fazer o seguinte:"
msgid "Step 1: Enable the clipper service"
msgstr ""
msgstr "Passo 1: Habilitar o serviço do clipper"
msgid ""
"This service allows the browser extension to communicate with Joplin. When "
"enabling it your firewall may ask you to give permission to Joplin to listen "
"to a particular port."
msgstr ""
"Este serviço permite a extensão do browser se comunicat com o Joplin. Quando "
"habilitar, talvez seu firewall peça que você conceda permissão ao Joplin "
"para escutar determinada porta."
msgid "Step 2: Install the extension"
msgstr ""
msgstr "Passo 2: Instalar a extensão"
msgid "Download and install the relevant extension for your browser:"
msgstr "Baixe e instale a extensão relevante para seu browser:"
#, fuzzy
msgid "Advanced options"
msgstr "Mostrar opções avançadas"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
@@ -753,12 +782,15 @@ msgstr "Verificar a configuração da sincronização"
msgid "Notes and settings are stored in: %s"
msgstr "Notas e configurações estão armazenadas em: %s"
msgid "Save"
msgstr "Salvar"
msgid "Apply"
msgstr "Aplicar"
msgid "Submit"
msgstr "Enviar"
msgid "Save"
msgstr "Salvar"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -870,9 +902,8 @@ msgstr "Separe cada tag por vírgula."
msgid "Rename notebook:"
msgstr "Renomear caderno:"
#, fuzzy
msgid "Rename tag:"
msgstr "Renomear"
msgstr "Renomear tag:"
msgid "Set alarm:"
msgstr "Definir alarme:"
@@ -898,12 +929,18 @@ msgstr "Configurar a senha"
msgid "Add or remove tags"
msgstr "Adicionar ou remover tags"
msgid "Duplicate"
msgstr "Duplicar"
#, javascript-format
msgid "%s - Copy"
msgstr "%s - Copiar"
msgid "Switch between note and to-do type"
msgstr "Alternar entre os tipos Nota e Tarefa"
#, fuzzy
msgid "Copy Markdown link"
msgstr "Markdown"
msgstr "Copiar link de Markdown"
msgid "Delete"
msgstr "Excluir"
@@ -918,18 +955,27 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "Atualmente, não há cadernos. Crie um, clicando em \"Novo caderno\"."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Abrir..."
#, fuzzy, javascript-format
#, javascript-format
msgid "This file could not be opened: %s"
msgstr "O caderno não pôde ser salvo: %s"
msgstr "Este arquivo não pôde ser aberto: %s"
msgid "Save as..."
msgstr "Salvar como..."
msgid "Copy path to clipboard"
msgstr ""
msgstr "Copiar caminho para a área de transferência"
msgid "Copy Link Address"
msgstr "Copiar endereço do link"
#, javascript-format
msgid "Unsupported link or message: %s"
@@ -944,13 +990,16 @@ msgstr ""
"e edite a nota."
msgid "strong text"
msgstr ""
msgstr "texto forte"
msgid "emphasized text"
msgstr ""
msgstr "texto enfatizado"
msgid "List item"
msgstr "Listar item"
msgid "Insert Hyperlink"
msgstr ""
msgstr "Inserir Hiperlink"
msgid "Attach file"
msgstr "Anexar arquivo"
@@ -961,30 +1010,39 @@ msgstr "Tags"
msgid "Set alarm"
msgstr "Definir alarme"
#, fuzzy, javascript-format
#, javascript-format
msgid "In: %s"
msgstr "%s: %s"
msgstr "Em: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
msgstr "Hiperlink"
msgid "Code"
msgstr ""
msgstr "Código"
msgid "Numbered List"
msgstr ""
msgstr "Lista numerada"
msgid "Bulleted List"
msgstr ""
msgstr "Lista com bullets"
msgid "Checkbox"
msgstr ""
msgstr "Checkbox"
msgid "Heading"
msgstr ""
msgstr "Cabeçalho"
msgid "Horizontal Rule"
msgstr ""
msgstr "Régua horizontal"
msgid "Click to stop external editing"
msgstr "Clique para encerrar edição externa"
msgid "Watching..."
msgstr "Verificando..."
msgid "to-do"
msgstr "tarefa"
@@ -1017,9 +1075,8 @@ msgstr "Status de sincronização"
msgid "Encryption Options"
msgstr "Opções de Encriptação"
#, fuzzy
msgid "Clipper Options"
msgstr "Opções Gerais"
msgstr "Opções do clipper"
msgid "Remove this tag from all the notes?"
msgstr "Remover esta tag de todas as notas?"
@@ -1163,30 +1220,22 @@ msgstr "Itens encriptados não podem ser modificados"
msgid "Conflicts"
msgstr "Conflitos"
#, fuzzy
msgid "Cannot move notebook to this location"
msgstr "Não é possível mover a nota para o caderno \"%s\""
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Já existe caderno com este título: \"%s\""
msgstr "Não é possível mover a nota para este local"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
"Os cadernos não podem ser nomeados como\"%s\", que é um título reservado."
#, fuzzy
msgid "title"
msgstr "Sem título"
msgstr "título"
#, fuzzy
msgid "updated date"
msgstr "Atualizado: %d."
msgstr "data de ataualização"
#, fuzzy
msgid "created date"
msgstr "Criado: %d."
msgstr "data de criação"
msgid "Untitled"
msgstr "Sem título"
@@ -1202,16 +1251,6 @@ msgstr "Não é possível copiar a nota para o caderno \"%s\""
msgid "Cannot move note to \"%s\" notebook"
msgstr "Não é possível mover a nota para o caderno \"%s\""
msgid "Text editor"
msgstr "Editor de texto"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"O editor que será usado para abrir uma nota. Se nenhum for indicado, ele "
"tentará detectar automaticamente o editor padrão."
msgid "Language"
msgstr "Idioma"
@@ -1233,9 +1272,8 @@ msgstr "Dark"
msgid "Uncompleted to-dos on top"
msgstr "Mostrar tarefas incompletas no topo"
#, fuzzy
msgid "Show completed to-dos"
msgstr "Mostrar tarefas incompletas no topo"
msgstr "Mostrar tarefas completas"
msgid "Sort notes by"
msgstr "Ordenar notas por"
@@ -1262,6 +1300,9 @@ msgid "Show tray icon"
msgstr "Exibir tray icon"
msgid "Note: Does not work in all desktop environments."
msgstr "Nota: não funciona em todos os ambientes de desktop"
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
@@ -1270,13 +1311,12 @@ msgstr "Porcentagem global do zoom"
msgid "Editor font family"
msgstr "Família de fontes do editor"
#, fuzzy
msgid ""
"This must be *monospace* font or it will not work properly. If the font is "
"incorrect or empty, it will default to a generic monospace font."
msgstr ""
"O nomes da fonte não será verificado. Se estiver incorreto ou vazio, será "
"usado por default uma fonte genérica monospace."
"Deve ser uma fonte *monospace\" ou não vai funcionar direito. Se a fonte "
"estiver incorreta ou vazia, será usada uma fonte genérica monospace default."
msgid "Automatically update the application"
msgstr "Atualizar automaticamente o aplicativo"
@@ -1296,6 +1336,17 @@ msgstr "%d hora"
msgid "%d hours"
msgstr "%d horas"
msgid "Text editor command"
msgstr "Comando do editor de texto"
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"O comando do editor (pode incluir argumentos) que será usado para abrir uma "
"nota. Se nenhum for indicado, ele tentará detectar automaticamente o editor "
"padrão."
msgid "Show advanced options"
msgstr "Mostrar opções avançadas"
@@ -1322,6 +1373,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV URL"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Usuário da Nextcloud"
@@ -1337,10 +1395,32 @@ msgstr "Usuário do WebDAV"
msgid "WebDAV password"
msgstr "Senha do WebDAV"
msgid "Custom TLS certificates"
msgstr "Certificados TLS customizados"
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
"Lista de caminhos para diretórios, separados por vírgula, de onde carregar "
"os certificados, ou caminhos para arquivos cert. Por exemplo, /my/cert_dir, /"
"other/custom.pem. Note que se você fizer mudanças nas configurações de TLS, "
"você tem que salvar as mudanças antes de clicar em \"Verificar a "
"configuração da sincronização\""
msgid "Ignore TLS certificate errors"
msgstr "Ignorar erros de certificados TLS"
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Valor da opção inválida: \"%s\". Os valores possíveis são: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Arquivo de Exportação do Joplin"
@@ -1456,9 +1536,8 @@ msgstr "Mover %d notas para o caderno \"%s\"?"
msgid "Press to set the decryption password."
msgstr "Pressione para configurar a senha de decriptação."
#, fuzzy
msgid "Save alarm"
msgstr "Definir alarme"
msgstr "Salvar alarme"
msgid "Select date"
msgstr "Selecionar data"
@@ -1469,9 +1548,9 @@ msgstr "Confirmar"
msgid "Cancel synchronisation"
msgstr "Cancelar sincronização"
#, fuzzy, javascript-format
#, javascript-format
msgid "Decrypting items: %d/%d"
msgstr "Itens pesquisados: %d/%d."
msgstr "Decriptando itens: %d/%d."
msgid "New tags:"
msgstr "Novas tags:"
@@ -1483,17 +1562,24 @@ msgid ""
"To work correctly, the app needs the following permissions. Please enable "
"them in your phone settings, in Apps > Joplin > Permissions"
msgstr ""
"Para funcionar corretamente, o app precisa das seguintes permissões. Por "
"favor, habilite-as nas configurações do seu telefone, em Apps >Joplin > "
"Permissões"
msgid ""
"- Storage: to allow attaching files to notes and to enable filesystem "
"synchronisation."
msgstr ""
"- Armazenamento: para permitir anexar arquivos a notas, e para permitir a "
"sincronização do sistema de arquivos "
msgid "- Camera: to allow taking a picture and attaching it to a note."
msgstr ""
msgstr "- Câmera: para permitir tirar fotos e anexar a uma nota."
msgid "- Location: to allow attaching geo-location information to a note."
msgstr ""
"- Localização: para permitir anexar informações de geo-localização a uma "
"nota."
msgid "Joplin website"
msgstr "Site do Joplin"
@@ -1542,11 +1628,11 @@ msgstr "Descartar alterações"
#, javascript-format
msgid "No item with ID %s"
msgstr ""
msgstr "Nenhum item com ID %s"
#, javascript-format
msgid "The Joplin mobile app does not currently support this type of link: %s"
msgstr ""
msgstr "O app mobile do Joplin não suporta, atualmente, esse tipo de link: %s"
#, javascript-format
msgid "Unsupported image type: %s"
@@ -1559,7 +1645,7 @@ msgid "Attach any file"
msgstr "Anexar qualquer arquivo"
msgid "Share"
msgstr ""
msgstr "Compartilhar"
msgid "Convert to note"
msgstr "Converter para nota"
@@ -1598,6 +1684,9 @@ msgstr "Você não possui cadernos. Crie um clicando no botão (+)."
msgid "Welcome"
msgstr "Bem-vindo"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Já existe caderno com este título: \"%s\""
#~ msgid "Searches"
#~ msgstr "Pesquisas"

1567
CliClient/locales/ro.po Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -459,10 +459,11 @@ msgstr "Начало синхронизации..."
msgid "Cancelling... Please wait."
msgstr "Отмена... Пожалуйста, ожидайте."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> может быть «add», «remove» или «list», чтобы назначить или "
"убрать [tag] с [note], или чтобы вывести список заметок, ассоциированых с "
@@ -632,6 +633,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Поиск во всех заметках"
@@ -703,6 +710,9 @@ msgstr "Да"
msgid "No"
msgstr "Нет"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -746,6 +756,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Показывать расширенные настройки"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Проверить настройки синхронизации"
@@ -753,12 +778,15 @@ msgstr "Проверить настройки синхронизации"
msgid "Notes and settings are stored in: %s"
msgstr "Заметки и настройки сохранены в: %s"
msgid "Save"
msgstr "Сохранить"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr "Сохранить"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -898,6 +926,13 @@ msgstr "Установить пароль"
msgid "Add or remove tags"
msgstr "Добавить или удалить теги"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Копировать"
msgid "Switch between note and to-do type"
msgstr "Переключить тип между заметкой и задачей"
@@ -918,6 +953,12 @@ msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "Сейчас здесь нет блокнотов. Создайте новый нажав «Новый блокнот»."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Открыть..."
@@ -931,6 +972,9 @@ msgstr "Сохранить как..."
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Неподдерживаемая ссыка или сообщение: %s"
@@ -949,6 +993,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -965,6 +1012,9 @@ msgstr "Установить напоминание"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -986,6 +1036,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "Отмена..."
msgid "to-do"
msgstr "задача"
@@ -1165,10 +1222,6 @@ msgstr "Конфликты"
msgid "Cannot move notebook to this location"
msgstr "Не удалось переместить заметку в блокнот «%s»"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Блокнот с таким названием уже существует: «%s»"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr "Блокнот не может быть назван «%s», это зарезервированное название."
@@ -1199,16 +1252,6 @@ msgstr "Не удалось скопировать заметку в блокн
msgid "Cannot move note to \"%s\" notebook"
msgstr "Не удалось переместить заметку в блокнот «%s»"
msgid "Text editor"
msgstr "Текстовый редактор"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Редактор, в котором будут открываться заметки. Если не задан, будет "
"произведена попытка автоматического определения редактора по умолчанию."
msgid "Language"
msgstr "Язык"
@@ -1261,6 +1304,9 @@ msgstr "Показывать иконку в панели задач"
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "Глобальный масштаб в процентах"
@@ -1293,6 +1339,18 @@ msgstr "%d час"
msgid "%d hours"
msgstr "%d часов"
#, fuzzy
msgid "Text editor command"
msgstr "Текстовый редактор"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Редактор, в котором будут открываться заметки. Если не задан, будет "
"произведена попытка автоматического определения редактора по умолчанию."
msgid "Show advanced options"
msgstr "Показывать расширенные настройки"
@@ -1319,6 +1377,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV URL"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Имя пользователя Nextcloud"
@@ -1334,10 +1399,27 @@ msgstr "Имя пользователя WebDAV"
msgid "WebDAV password"
msgstr "Пароль WebDAV"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Неверное значение параметра: «%s». Доступные значения: %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Файл экспорта Joplin"
@@ -1596,6 +1678,9 @@ msgstr "У вас сейчас нет блокнота. Создайте его
msgid "Welcome"
msgstr "Добро пожаловать"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Блокнот с таким названием уже существует: «%s»"
#~ msgid "Searches"
#~ msgstr "Запросы"

View File

@@ -458,10 +458,11 @@ msgstr "Sinhronizacija se začenja."
msgid "Cancelling... Please wait."
msgstr "V preklicu...Prosim počakajte."
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> je lahko \"dodaj\", \"odstrani\" ali \"naštej\", da dodeliš "
"ali odstraniš [tag] from [note] ali našteje zabeležke povezane z oznako "
@@ -631,6 +632,12 @@ msgstr ""
msgid "Italic"
msgstr ""
msgid "Insert Date Time"
msgstr ""
msgid "Edit in external editor"
msgstr ""
msgid "Search in all the notes"
msgstr "Išči znotraj vseh zabeležk"
@@ -702,6 +709,9 @@ msgstr "Da"
msgid "No"
msgstr "Ne"
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr ""
@@ -745,6 +755,21 @@ msgstr ""
msgid "Download and install the relevant extension for your browser:"
msgstr ""
#, fuzzy
msgid "Advanced options"
msgstr "Pokaži napredne možnosti"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
msgstr "Preveri nastavitve sinhronizacije"
@@ -752,12 +777,15 @@ msgstr "Preveri nastavitve sinhronizacije"
msgid "Notes and settings are stored in: %s"
msgstr "Zabeležke in nastavitve so shranjene v: %s"
msgid "Save"
msgstr "Shrani"
msgid "Apply"
msgstr ""
msgid "Submit"
msgstr ""
msgid "Save"
msgstr "Shrani"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
@@ -898,6 +926,13 @@ msgstr "Nastavi geslo"
msgid "Add or remove tags"
msgstr "Dodaj ali odstrani oznake"
msgid "Duplicate"
msgstr ""
#, fuzzy, javascript-format
msgid "%s - Copy"
msgstr "Kopiraj"
msgid "Switch between note and to-do type"
msgstr "Menjaj med zabeležko in seznamom opravil"
@@ -922,6 +957,12 @@ msgstr ""
"Trenutno ni tukaj nobene beležnice. Ustvarite jo z klikom na \"Nova beležnica"
"\"."
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "Odpri..."
@@ -935,6 +976,9 @@ msgstr "Shrani kot..."
msgid "Copy path to clipboard"
msgstr ""
msgid "Copy Link Address"
msgstr ""
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr "Nepodprta povezava ali sporočilo: %s"
@@ -953,6 +997,9 @@ msgstr ""
msgid "emphasized text"
msgstr ""
msgid "List item"
msgstr ""
msgid "Insert Hyperlink"
msgstr ""
@@ -969,6 +1016,9 @@ msgstr "Nastavi alarm"
msgid "In: %s"
msgstr "%s: %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
@@ -990,6 +1040,13 @@ msgstr ""
msgid "Horizontal Rule"
msgstr ""
msgid "Click to stop external editing"
msgstr ""
#, fuzzy
msgid "Watching..."
msgstr "V preklicu..."
msgid "to-do"
msgstr "seznam opravil"
@@ -1169,10 +1226,6 @@ msgstr "Konfikti"
msgid "Cannot move notebook to this location"
msgstr "Ni moč premakniti zabeležke v \"%s\" beležnico"
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr "Beležnica s tem naslovom že obstaja: \"%s\""
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr "Beležnica ne more biti imenovana \"%s\", ker je to rezerviran naslov."
@@ -1203,16 +1256,6 @@ msgstr "Ni moč kopirati zabeležke v \"%s\" beležnico"
msgid "Cannot move note to \"%s\" notebook"
msgstr "Ni moč premakniti zabeležke v \"%s\" beležnico"
msgid "Text editor"
msgstr "Urejevalnik besedila"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
"Urejevalnik, ki bo uporabljen za odpiranje zabeležk. Če noben ni izbran, bo "
"avtomatsko zaznan privzeti urejevalnik."
msgid "Language"
msgstr "Jezik"
@@ -1265,6 +1308,9 @@ msgstr "Pokaži ikono v območju za obvestila(opravilna vrstica)"
msgid "Note: Does not work in all desktop environments."
msgstr ""
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "Celokupen procent povečave"
@@ -1297,6 +1343,18 @@ msgstr "Števil ur: %d"
msgid "%d hours"
msgstr "Število ur: %d"
#, fuzzy
msgid "Text editor command"
msgstr "Urejevalnik besedila"
#, fuzzy
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"Urejevalnik, ki bo uporabljen za odpiranje zabeležk. Če noben ni izbran, bo "
"avtomatsko zaznan privzeti urejevalnik."
msgid "Show advanced options"
msgstr "Pokaži napredne možnosti"
@@ -1323,6 +1381,13 @@ msgstr ""
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV URL"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Nextcloud uporabniško ime"
@@ -1338,10 +1403,27 @@ msgstr "WebDAV uporabniško ime"
msgid "WebDAV password"
msgstr "WebDAV geslo"
msgid "Custom TLS certificates"
msgstr ""
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
msgid "Ignore TLS certificate errors"
msgstr ""
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "Neveljavna vrednost: \"%s\". Možne vrednosti so : %s."
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Joplin izvozna datoteka"
@@ -1599,5 +1681,8 @@ msgstr "Trenutno nimate nobene beležnice. Ustvarite jo s klikom na (+) gumb."
msgid "Welcome"
msgstr "Dobrodošli"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "Beležnica s tem naslovom že obstaja: \"%s\""
#~ msgid "Searches"
#~ msgstr "Iskalni niz"

1704
CliClient/locales/sv.po Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -16,15 +16,14 @@ msgstr ""
"X-Generator: Poedit 2.0.8\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#, fuzzy
msgid "To delete a tag, untag the associated notes."
msgstr "要刪除標籤,請取消關聯已標籤的記事。"
msgstr "要刪除標籤,請取消關聯已標籤的記事。"
msgid "Please select the note or notebook to be deleted first."
msgstr "請先選擇要刪除的記事或記事本。"
msgid "Press Ctrl+D or type \"exit\" to exit the application"
msgstr "Press Ctrl+D or type \"exit\" to exit the application"
msgstr " Ctrl+D 或鍵入 \"exit\" 以退出應用程式"
#, javascript-format
msgid "More than one item match \"%s\". Please narrow down your query."
@@ -53,11 +52,11 @@ msgstr "正在取消同步...請稍等。"
#, javascript-format
msgid "No such command: %s"
msgstr "沒有該令: %s"
msgstr "沒有該令: %s"
#, javascript-format
msgid "The command \"%s\" is only available in GUI mode"
msgstr ""
msgstr "命令 \"%s\" 僅在 GUI 模式下可用"
msgid "Cannot change encrypted item"
msgstr "無法更改已加密項目"
@@ -95,9 +94,11 @@ msgid ""
"value of [name]. If neither [name] nor [value] is provided, it will list the "
"current configuration."
msgstr ""
"取得或設定一個設置值。如果沒有指明 [value],則會顯示 [name] 的值。如果 "
"[name] 和 [vallue] 兩者均沒有指明,則會列出當前設置。"
msgid "Also displays unset and hidden config variables."
msgstr ""
msgstr "亦顯示未設置和隱藏的設置變數。"
#, javascript-format
msgid "%s = %s (%s)"
@@ -111,8 +112,8 @@ msgid ""
"Duplicates the notes matching <note> to [notebook]. If no notebook is "
"specified the note is duplicated in the current notebook."
msgstr ""
"將匹配 <note> 的記事複製到 [記事本]。如果未指定筆記本,則預設複製到當前記事"
"中。"
"將匹配 <note> 的記事複製到 [notebook]。如果未指定筆記本,則預設複製到當前記事"
"中。"
msgid "Marks a to-do as done."
msgstr "標記待辦事項為完成。"
@@ -125,6 +126,8 @@ msgid ""
"Manages E2EE configuration. Commands are `enable`, `disable`, `decrypt`, "
"`status` and `target-status`."
msgstr ""
"管理 E2EE 設置。命令是 `enable`,`disable`,`decrypt`,`status` 和 `target-"
"status`。"
msgid "Enter master password:"
msgstr "輸入主密碼:"
@@ -148,17 +151,17 @@ msgstr "已停用"
#, javascript-format
msgid "Encryption is: %s"
msgstr ""
msgstr "加密: %s"
msgid "Edit note."
msgstr "編輯記事。"
msgid ""
"No text editor is defined. Please set it using `config editor <editor-path>`"
msgstr "未設置文字編輯器。請用 `config editor <editor-path>` 去設置"
msgstr "未設置文字編輯器。請用 `config editor <editor-path>` 去設置"
msgid "No active notebook."
msgstr "無使用中的記本。"
msgstr "無使用中的記本。"
#, javascript-format
msgid "Note does not exist: \"%s\". Create it?"
@@ -202,45 +205,49 @@ msgstr "顯示使用資訊。"
#, javascript-format
msgid "For information on how to customise the shortcuts please visit %s"
msgstr ""
msgstr "有關如何自訂快捷鍵,請訪問 %s"
msgid "Shortcuts are not available in CLI mode."
msgstr ""
msgstr "在 CLI 模式下無法使用快捷鍵。"
msgid ""
"Type `help [command]` for more information about a command; or type `help "
"all` for the complete usage information."
msgstr ""
"輸入 `help [command]` 查看關於命令的更多資訊; 或者輸入 `help all` 獲取完整的"
"使用說明。"
msgid "The possible commands are:"
msgstr ""
msgstr "可能的命令是:"
msgid ""
"In any command, a note or notebook can be referred to by title or ID, or "
"using the shortcuts `$n` or `$b` for, respectively, the currently selected "
"note or notebook. `$c` can be used to refer to the currently selected item."
msgstr ""
"在任何一個命令中,可以通過標題或 ID 去引用記事或記事本,或使用快捷鍵 `$n` or "
"`$b` 分別選定記事或記事本的。您亦可以用 `$ c` 來引用當前選擇的項目。"
msgid "To move from one pane to another, press Tab or Shift+Tab."
msgstr ""
msgstr "要從一個窗格移動到另一個窗格,請按 Tab 或 Shift+Tab。"
msgid ""
"Use the arrows and page up/down to scroll the lists and text areas "
"(including this console)."
msgstr ""
msgstr "使用方向鍵和上/下頁鍵去捲動清單和文本區域 (包括此主控台)。"
msgid "To maximise/minimise the console, press \"tc\"."
msgstr ""
msgstr "要最大化/最小化主控台,請按 \"tc\"。"
msgid "To enter command line mode, press \":\""
msgstr ""
msgstr "要進入命令行模式,請按 \":\""
msgid "To exit command line mode, press ESCAPE"
msgstr ""
msgstr "要退出命令行模式,請按 ESC 鍵"
msgid ""
"For the list of keyboard shortcuts and config options, type `help keymap`"
msgstr ""
msgstr "請輸入`help keymap` 查看有關鍵盤快捷鍵和設置選項"
msgid "Imports data into Joplin."
msgstr "匯入資料到 Joplin。"
@@ -289,7 +296,7 @@ msgid ""
msgstr "顯示當前記事本中的記事。使用 \"ls/\" 顯示記事本的清單。"
msgid "Displays only the first top <num> notes."
msgstr "僅顯示頭 <num> 記事。"
msgstr "僅顯示頭 <num> 記事。"
msgid "Sorts the item by <field> (eg. title, updated_time, created_time)."
msgstr "按 <field> 對項目進行排序 (例如: 標題、更新時間、建立時間等等)。"
@@ -302,14 +309,19 @@ msgid ""
"for to-dos, or `nt` for notes and to-dos (eg. `-tt` would display only the "
"to-dos, while `-ttd` would display notes and to-dos."
msgstr ""
"僅顯示特定類型的項目。您可用 `n` 來顯示記事,`t` 來顯示待辦事項,或者 `nt` 一"
"併顯示記事及待辦事項。又例如,用 `-tt` 僅顯示待辦事項,而 `-ttd` 則一併顯示記"
"事及待辦事項。"
msgid "Either \"text\" or \"json\""
msgstr ""
msgstr "\"text\" 或 \"json\" 二者之一"
msgid ""
"Use long list format. Format is ID, NOTE_COUNT (for notebook), DATE, "
"TODO_CHECKED (for to-dos), TITLE"
msgstr ""
"使用長清單格式。格式為 ID, NOTE_COUNT (用於記事本), DATE, TODO_CHECKED (用於"
"待辦事項), TITLE"
msgid "Please select a notebook first."
msgstr "請先選擇記事本。"
@@ -327,7 +339,7 @@ msgid "Creates a new to-do."
msgstr "新增待辦事項。"
msgid "Moves the notes matching <note> to [notebook]."
msgstr "將匹配 <note> 的記事移動到 [記事本]。"
msgstr "將匹配 <note> 的記事移動到 [notebook]。"
msgid "Renames the given <item> (note or notebook) to <name>."
msgstr "將特定的 <item> (記事或記事本) 重新命名為 <name>。"
@@ -351,7 +363,7 @@ msgstr "刪除記事時不要求確認。"
#, javascript-format
msgid "%d notes match this pattern. Delete them?"
msgstr "%d 記事與此模式匹配。要刪除它們?"
msgstr "%d 記事與此模式匹配。要刪除它們?"
msgid "Delete note?"
msgstr "刪除記事?"
@@ -377,15 +389,15 @@ msgid "Synchronises with remote storage."
msgstr "與遠端儲存設備同步。"
msgid "Sync to provided target (defaults to sync.target config value)"
msgstr ""
msgstr "同步到已指明的目標 (預設是 sync.target 的設置值)"
msgid ""
"Authentication was not completed (did not receive an authentication token)."
msgstr ""
msgstr "身份驗證未完成 (未收到身份驗證的 token)。"
msgid ""
"To allow Joplin to synchronise with Dropbox, please follow the steps below:"
msgstr "請按照以下步驟,設置 Joplin 與 Dropbox 同步所需的選項"
msgstr "請按照以下步驟,設置 Joplin 與 Dropbox 同步所需的選項:"
msgid "Step 1: Open this URL in your browser to authorise the application:"
msgstr "步驟 1: 在瀏覽器中打開此網址以授權應用程式:"
@@ -406,6 +418,8 @@ msgid ""
"taking place, you may delete the lock file at \"%s\" and resume the "
"operation."
msgstr ""
"鎖定檔已被保留。如果您知道沒有正在同步,您可刪除 \"%s\" 上的鎖定檔並繼續操"
"作。"
#, javascript-format
msgid "Synchronisation target: %s (%s)"
@@ -420,15 +434,19 @@ msgstr "正在啟動同步..."
msgid "Cancelling... Please wait."
msgstr "正在取消中...請稍候。"
#, fuzzy
msgid ""
"<tag-command> can be \"add\", \"remove\" or \"list\" to assign or remove "
"[tag] from [note], or to list the notes associated with [tag]. The command "
"`tag list` can be used to list all the tags."
"`tag list` can be used to list all the tags (use -l for long option)."
msgstr ""
"<tag-command> 可以是 \"add\" (新增),\"remove\" (刪除) 或用 \"list\" 從 [記"
"事] 中分配或移除 [標籤],或列出與 [標籤] 關聯的記事。而命令 `tag list` 可以用"
"來列出所有的標籤。"
#, javascript-format
msgid "Invalid command: \"%s\""
msgstr "無效的令: \"%s\""
msgstr "無效的令: \"%s\""
msgid ""
"<todo-command> can either be \"toggle\" or \"clear\". Use \"toggle\" to "
@@ -436,6 +454,9 @@ msgid ""
"target is a regular note it will be converted to a to-do). Use \"clear\" to "
"convert the to-do back to a regular note."
msgstr ""
"<todo-command> 可以是 \"toggle\" (切換) 或 \"clear\" (清除)。使用 \"toggle\" "
"在已完成和未完成的待辦事項之間互相切換 (如果目標是一般記事,則會轉換為待辦事"
"項)。使用 \"clear\" 將待辦事項轉換為一般記事。"
msgid "Marks a to-do as non-completed."
msgstr "標記待辦事項為未完成。"
@@ -443,21 +464,21 @@ msgstr "標記待辦事項為未完成。"
msgid ""
"Switches to [notebook] - all further operations will happen within this "
"notebook."
msgstr ""
msgstr "切換到 [notebook] - 所有進一步的操作將在此筆記本中發生。"
msgid "Displays version information"
msgstr "顯示版本資訊"
#, javascript-format
msgid "%s %s (%s)"
msgstr ""
msgstr "%s %s (%s)"
msgid "Enum"
msgstr ""
msgstr "列舉 (Enum)"
#, javascript-format
msgid "Type: %s."
msgstr ""
msgstr "類型: %s。"
#, javascript-format
msgid "Possible values: %s."
@@ -468,20 +489,20 @@ msgid "Default: %s"
msgstr "預設: %s"
msgid "Possible keys/values:"
msgstr ""
msgstr "可能的鍵/值:"
msgid "Type `joplin help` for usage information."
msgstr ""
msgstr "鍵入 `joplin help` 檢視使用說明。"
msgid "Fatal error:"
msgstr ""
msgstr "嚴重錯誤:"
msgid ""
"The application has been authorised - you may now close this browser tab."
msgstr ""
msgstr "應用程式已取得權限 - 您現在可以關閉此瀏覽器分頁。"
msgid "The application has been successfully authorised."
msgstr ""
msgstr "應用程式已成功取得權限。"
msgid ""
"Please open the following URL in your browser to authenticate the "
@@ -490,6 +511,9 @@ msgid ""
"any files outside this directory nor to any other personal data. No data "
"will be shared with any third party."
msgstr ""
"請在瀏覽器開啟以下 URL 去驗證應用程式。應用程式將在 \"Apps/Joplin\" 中建立一"
"個目錄,並只會在該目錄中進行讀取和寫入。應用程式將無法訪問此目錄之外的任何檔"
"案,同時也無法使用任何其他個人資料。我們不會與任何第三方廠商共用任何資料。"
msgid "Search:"
msgstr "搜尋:"
@@ -502,6 +526,11 @@ msgid ""
"\n"
"For example, to create a notebook press `mb`; to create a note press `mn`."
msgstr ""
"Joplin 歡迎您!\n"
"\n"
"鍵入: `:help shortcuts` 檢視鍵盤快速鍵清單,或只鍵入 `:help` 檢視使用說明。\n"
"\n"
"例如,您可鍵入: `mb` 去新增一本記事本; 鍵入 `mn` 去新增記事。"
msgid ""
"One or more items are currently encrypted and you may need to supply a "
@@ -509,14 +538,16 @@ msgid ""
"supplied the password, the encrypted items are being decrypted in the "
"background and will be available soon."
msgstr ""
"當前已加密一個或多個一個項目,您可能需要提供主密碼。請鍵入 \"e2ee decrypt\" "
"去解碼。如果您已經提供了密碼,那加密的項目將會在後臺解密,請耐心等候。"
#, javascript-format
msgid "Exporting to \"%s\" as \"%s\" format. Please wait..."
msgstr ""
msgstr "匯出到 \"%s\" 為 \"%s\" 格式。請稍候..."
#, javascript-format
msgid "Importing from \"%s\" as \"%s\" format. Please wait..."
msgstr ""
msgstr "從 \"%s\" 匯入為 \"%s\" 格式。請稍候..."
msgid "PDF File"
msgstr "PDF 檔案"
@@ -562,10 +593,16 @@ msgid "Paste"
msgstr "貼上"
msgid "Bold"
msgstr ""
msgstr "粗體"
msgid "Italic"
msgstr ""
msgstr "斜體"
msgid "Insert Date Time"
msgstr "插入日期時間"
msgid "Edit in external editor"
msgstr "使用外部編輯器編輯"
msgid "Search in all the notes"
msgstr "在所有記事中搜尋"
@@ -611,7 +648,7 @@ msgstr "關於 Joplin"
#, javascript-format
msgid "%s %s (%s, %s)"
msgstr ""
msgstr "%s %s (%s, %s)"
#, javascript-format
msgid "Open %s"
@@ -638,12 +675,15 @@ msgstr "是"
msgid "No"
msgstr "否"
msgid "The web clipper service is enabled and set to auto-start."
msgid "Token has been copied to the clipboard!"
msgstr ""
msgid "The web clipper service is enabled and set to auto-start."
msgstr "Web clipper 服務已啟用,並設置為自動啟動。"
#, javascript-format
msgid "Status: Started on port %d"
msgstr ""
msgstr "狀態: 已在 %d 端口上啟動"
#, javascript-format
msgid "Status: %s"
@@ -653,7 +693,7 @@ msgid "Disable Web Clipper Service"
msgstr "停用 Web Clipper 服務"
msgid "The web clipper service is not enabled."
msgstr ""
msgstr "Web clipper 服務已停用。"
msgid "Enable Web Clipper Service"
msgstr "啟用 Web Clipper 服務"
@@ -661,24 +701,41 @@ msgstr "啟用 Web Clipper 服務"
msgid ""
"Joplin Web Clipper allows saving web pages and screenshots from your browser "
"to Joplin."
msgstr ""
msgstr "Joplin Web Clipper 可以讓您從瀏覽器保存網頁和螢幕截圖到 Joplin。"
msgid "In order to use the web clipper, you need to do the following:"
msgstr ""
msgstr "要使用 web clipper,您需要執行以下動作:"
msgid "Step 1: Enable the clipper service"
msgstr ""
msgstr "步驟 1: 啟用 clipper 服務"
msgid ""
"This service allows the browser extension to communicate with Joplin. When "
"enabling it your firewall may ask you to give permission to Joplin to listen "
"to a particular port."
msgstr ""
"此服務允許瀏覽器插件與 Joplin 溝通。當啟用它時,您的防火牆可能要求您授予 "
"Joplin 偵聽特定端口的許可權。"
msgid "Step 2: Install the extension"
msgstr ""
msgstr "步驟 2: 安裝插件"
msgid "Download and install the relevant extension for your browser:"
msgstr "下載並安裝瀏覽器插件:"
#, fuzzy
msgid "Advanced options"
msgstr "顯示進階選項"
msgid "Authorisation token:"
msgstr ""
msgid "Copy token"
msgstr ""
msgid ""
"This authorisation token is only needed to allow third-party applications to "
"access Joplin."
msgstr ""
msgid "Check synchronisation configuration"
@@ -686,20 +743,24 @@ msgstr "檢測同步設置"
#, javascript-format
msgid "Notes and settings are stored in: %s"
msgstr ""
msgstr "所有記事和設置均儲存於: %s"
msgid "Apply"
msgstr "套用"
msgid "Submit"
msgstr "送出"
msgid "Save"
msgstr "儲存"
#, fuzzy
msgid "Submit"
msgstr "提交 / 送出"
msgid ""
"Disabling encryption means *all* your notes and attachments are going to be "
"re-synchronised and sent unencrypted to the sync target. Do you wish to "
"continue?"
msgstr ""
"禁用加密意味著*所有*您的筆記和附件將被重新同步並且在未加密的情況下發送到同步"
"目標。您想繼續嗎?"
msgid ""
"Enabling encryption means *all* your notes and attachments are going to be "
@@ -707,6 +768,9 @@ msgid ""
"password as, for security purposes, this will be the *only* way to decrypt "
"the data! To enable encryption, please enter your password below."
msgstr ""
"啟用加密意味著*所有*您的筆記和附件將被重新同步並在已加密的情況下發送到同步目"
"標。為了安全起見,不要丟失密碼,這將是解密數據的唯一方式!要啟用加密,請在下"
"面輸入您的密碼。"
msgid "Disable encryption"
msgstr "停用加密"
@@ -718,13 +782,13 @@ msgid "Master Keys"
msgstr "主密碼"
msgid "Active"
msgstr ""
msgstr "使用中"
msgid "ID"
msgstr ""
msgstr "ID"
msgid "Source"
msgstr ""
msgstr "來源"
msgid "Created"
msgstr "已建立"
@@ -743,6 +807,8 @@ msgid ""
"as \"active\"). Any of the keys might be used for decryption, depending on "
"how the notes or notebooks were originally encrypted."
msgstr ""
"注意: 只有一個主密碼將用於加密 (標記為 \"使用中\" 的那個)。根據記事或記事本最"
"初加密的方式,任何密碼都可能用於解密。"
msgid "Missing Master Keys"
msgstr "缺少主密碼"
@@ -752,18 +818,19 @@ msgid ""
"however the application does not currently have access to them. It is likely "
"they will eventually be downloaded via synchronisation."
msgstr ""
"某些項目使用這些 ID 的主密碼進行加密,但應用程式目前焦法訪問它們。這些許可權"
"可能最終會通過同步下載。"
msgid ""
"For more information about End-To-End Encryption (E2EE) and advices on how "
"to enable it please check the documentation:"
msgstr ""
"有關端到端加密 (E2EE) 的詳細資訊以及該如何啟用它的建議,請參考線上文檔:"
msgstr "有關端到端加密 (E2EE) 的詳細資訊以及該如何啟用它,請參考線上文檔:"
msgid "Status"
msgstr "狀態"
msgid "Encryption is:"
msgstr ""
msgstr "加密:"
msgid "Back"
msgstr "返回"
@@ -771,13 +838,13 @@ msgstr "返回"
#, javascript-format
msgid ""
"New notebook \"%s\" will be created and file \"%s\" will be imported into it"
msgstr ""
msgstr "將建立新的記事本 \"%s\",檔案 \"%s\" 將會匯入其中"
msgid "Please create a notebook first."
msgstr "請先新增記事本。"
msgid "Please create a notebook first"
msgstr "請先新增記事本"
msgstr "請先新增記事本"
msgid "Notebook title:"
msgstr "記事本標題:"
@@ -786,7 +853,7 @@ msgid "Add or remove tags:"
msgstr "新增或移除標籤:"
msgid "Separate each tag by a comma."
msgstr "用逗號分隔每個標籤。"
msgstr "您可用逗號分隔每個標籤。"
msgid "Rename notebook:"
msgstr "重新命名記事本:"
@@ -810,7 +877,7 @@ msgid "View them now"
msgstr "立即檢視"
msgid "Some items cannot be decrypted."
msgstr ""
msgstr "有些項目不能解密。"
msgid "Set the password"
msgstr "設置密碼"
@@ -818,8 +885,15 @@ msgstr "設置密碼"
msgid "Add or remove tags"
msgstr "新增或移除標籤"
msgid "Duplicate"
msgstr "新增複本"
#, javascript-format
msgid "%s - Copy"
msgstr "%s - 複本"
msgid "Switch between note and to-do type"
msgstr ""
msgstr "切換到記事 / 待辦事項"
msgid "Copy Markdown link"
msgstr "複製 Markdown 連結"
@@ -831,18 +905,24 @@ msgid "Delete notes?"
msgstr "刪除此記事?"
msgid "No notes in here. Create one by clicking on \"New note\"."
msgstr ""
msgstr "當前沒有任何筆記。通過按一下 \"新增筆記\" 去建立。"
msgid ""
"There is currently no notebook. Create one by clicking on \"New notebook\"."
msgstr "您當前沒有任何記事本。通過按一下 \"新增記事本\" 去建立。"
msgid "Location"
msgstr ""
msgid "URL"
msgstr ""
msgid "Open..."
msgstr "開啟..."
#, fuzzy, javascript-format
#, javascript-format
msgid "This file could not be opened: %s"
msgstr "無法儲存記事本: %s"
msgstr "無法開啟檔案: %s"
msgid "Save as..."
msgstr "另存為..."
@@ -850,24 +930,30 @@ msgstr "另存為..."
msgid "Copy path to clipboard"
msgstr "複製路徑到剪貼板"
msgid "Copy Link Address"
msgstr "複製鏈接位址"
#, javascript-format
msgid "Unsupported link or message: %s"
msgstr ""
msgstr "不支援的鏈接或訊息: %s"
#, javascript-format
msgid ""
"This note has no content. Click on \"%s\" to toggle the editor and edit the "
"note."
msgstr ""
msgstr "此筆記沒有內容。按一下 \"%s\" 切換到編輯模式並編輯筆記。"
msgid "strong text"
msgstr ""
msgstr "重要文字 <strong>"
msgid "emphasized text"
msgstr ""
msgstr "強調文字 <em>"
msgid "List item"
msgstr "清單項目"
msgid "Insert Hyperlink"
msgstr ""
msgstr "插入超連結"
msgid "Attach file"
msgstr "附加檔案"
@@ -878,30 +964,39 @@ msgstr "標籤"
msgid "Set alarm"
msgstr "設置提醒"
#, fuzzy, javascript-format
#, javascript-format
msgid "In: %s"
msgstr "%s: %s"
msgstr ": %s"
msgid "Note properties"
msgstr ""
msgid "Hyperlink"
msgstr ""
msgstr "超連結"
msgid "Code"
msgstr ""
msgstr "引言"
msgid "Numbered List"
msgstr ""
msgstr "編號清單"
msgid "Bulleted List"
msgstr ""
msgstr "項目清單"
msgid "Checkbox"
msgstr ""
msgstr "核取方塊"
msgid "Heading"
msgstr ""
msgstr "標題"
msgid "Horizontal Rule"
msgstr ""
msgstr "水平線"
msgid "Click to stop external editing"
msgstr "按下停止外部編輯"
msgid "Watching..."
msgstr "觀察中..."
msgid "to-do"
msgstr "待辦事項"
@@ -953,15 +1048,15 @@ msgid "Notebooks"
msgstr "記事本"
msgid "Please select where the sync status should be exported to"
msgstr ""
msgstr "請選擇將同步狀態導出到的位置"
#, javascript-format
msgid "Usage: %s"
msgstr ""
msgstr "使用資訊: %s"
#, javascript-format
msgid "Unknown flag: %s"
msgstr ""
msgstr "未知的標誌: %s"
msgid "Dropbox"
msgstr "Dropbox"
@@ -983,16 +1078,16 @@ msgstr "WebDAV"
#, javascript-format
msgid "Unknown log level: %s"
msgstr ""
msgstr "未知的日誌級別: %s"
#, javascript-format
msgid "Unknown level ID: %s"
msgstr ""
msgstr "未知的級別 ID: %s"
msgid ""
"Cannot refresh token: authentication data is missing. Starting the "
"synchronisation again may fix the problem."
msgstr ""
msgstr "無法刷新 token: 缺少身份驗證資料。再次啟動同步可能會解決此問題。"
msgid ""
"Could not synchronize with OneDrive.\n"
@@ -1002,49 +1097,54 @@ msgid ""
"\n"
"Please consider using a regular OneDrive account."
msgstr ""
"無法與 OneDrive 同步。\n"
"\n"
"此錯誤通常發生在 OneDrive for Business,不幸地,該操作無法被支援。\n"
"\n"
"請考慮使用一般的 OneDrive 帳戶。"
#, javascript-format
msgid "Cannot access %s"
msgstr ""
msgstr "無法訪問 %s"
#, javascript-format
msgid "Created local items: %d."
msgstr ""
msgstr "已建立的本地項目: %d 項"
#, javascript-format
msgid "Updated local items: %d."
msgstr ""
msgstr "已更新的本地項目: %d 項"
#, javascript-format
msgid "Created remote items: %d."
msgstr ""
msgstr "已建立的遠端項目: %d 項"
#, javascript-format
msgid "Updated remote items: %d."
msgstr ""
msgstr "已更新的遠端項目: %d 項"
#, javascript-format
msgid "Deleted local items: %d."
msgstr ""
msgstr "已刪除的本地項目: %d 項"
#, javascript-format
msgid "Deleted remote items: %d."
msgstr ""
msgstr "已刪除的遠端項目: %d 項"
#, javascript-format
msgid "Fetched items: %d/%d."
msgstr ""
msgstr "已擷取的本地項目: %d/%d 項"
#, javascript-format
msgid "State: %s."
msgstr ""
msgstr "狀態: %s。"
msgid "Cancelling..."
msgstr "正在取消中..."
#, javascript-format
msgid "Completed: %s"
msgstr "已完成: %s"
msgstr "已完成: %s"
#, javascript-format
msgid "Last error: %s"
@@ -1058,7 +1158,7 @@ msgstr "進行中"
#, javascript-format
msgid "Synchronisation is already in progress. State: %s"
msgstr ""
msgstr "同步已在進行中。狀態: %s"
msgid "Encrypted"
msgstr "已加密"
@@ -1067,30 +1167,23 @@ msgid "Encrypted items cannot be modified"
msgstr "無法修改已加密項目"
msgid "Conflicts"
msgstr ""
msgstr "衝突"
msgid "Cannot move notebook to this location"
msgstr ""
#, javascript-format
msgid "A notebook with this title already exists: \"%s\""
msgstr ""
msgstr "無法移動記事本到此位置"
#, javascript-format
msgid "Notebooks cannot be named \"%s\", which is a reserved title."
msgstr ""
msgstr "筆記本無法命名為 \"%s\",這標題已被保留。"
#, fuzzy
msgid "title"
msgstr "未命名"
msgstr "標題"
#, fuzzy
msgid "updated date"
msgstr "更新: %d。"
msgstr "更新日期"
#, fuzzy
msgid "created date"
msgstr "建立: %d。"
msgstr "建立日期"
msgid "Untitled"
msgstr "未命名"
@@ -1106,14 +1199,6 @@ msgstr "無法複製此記事到 \"%s\" 記事本"
msgid "Cannot move note to \"%s\" notebook"
msgstr "無法移動此記事到 \"%s\" 記事本"
msgid "Text editor"
msgstr "文字編輯器"
msgid ""
"The editor that will be used to open a note. If none is provided it will try "
"to auto-detect the default editor."
msgstr ""
msgid "Language"
msgstr "語言"
@@ -1151,10 +1236,10 @@ msgid "When creating a new to-do:"
msgstr "當新增待辦事項時:"
msgid "Focus title"
msgstr "游標放置在標題"
msgstr "游標置於標題"
msgid "Focus body"
msgstr "游標放置在內文"
msgstr "游標置於內文"
msgid "When creating a new note:"
msgstr "當新增記事時:"
@@ -1165,8 +1250,11 @@ msgstr "顯示系統匣圖示"
msgid "Note: Does not work in all desktop environments."
msgstr "注意: 不是在全部桌面環境中都能發揮作用。"
msgid "Start application minimised in the tray icon"
msgstr ""
msgid "Global zoom percentage"
msgstr "整體縮放比例"
msgstr "整體縮放比例 (%)"
msgid "Editor font family"
msgstr "編輯器字型系列"
@@ -1175,8 +1263,8 @@ msgid ""
"This must be *monospace* font or it will not work properly. If the font is "
"incorrect or empty, it will default to a generic monospace font."
msgstr ""
"必須是 *等距 (monospace)* 字,否則程式將無法正常工作。如果字不正確或"
"空, 則預設為通用等距字。"
"必須是 *等距 (monospace)* 字,否則程式將無法正常工作。如果字不正確或沒有"
"填寫,則預設為通用等距字。"
msgid "Automatically update the application"
msgstr "自動更新應用程式"
@@ -1196,6 +1284,16 @@ msgstr "%d 小時"
msgid "%d hours"
msgstr "%d 小時"
msgid "Text editor command"
msgstr "文字編輯器命令"
msgid ""
"The editor command (may include arguments) that will be used to open a note. "
"If none is provided it will try to auto-detect the default editor."
msgstr ""
"用於開啟筆記的編輯器命令 (可能包括參數)。如果沒有指明,程式將嘗試自動檢測預設"
"的編輯器。"
msgid "Show advanced options"
msgstr "顯示進階選項"
@@ -1220,6 +1318,13 @@ msgstr "啟用檔案系統同步時要同步的路徑。請參閱 `sync.target`
msgid "Nextcloud WebDAV URL"
msgstr "Nextcloud WebDAV 網址"
#, javascript-format
msgid ""
"Attention: If you change this location, make sure you copy all your content "
"to it before syncing, otherwise all files will be removed! See the FAQ for "
"more details: %s"
msgstr ""
msgid "Nextcloud username"
msgstr "Nextcloud 用戶名稱"
@@ -1235,10 +1340,30 @@ msgstr "WebDAV 用戶名稱"
msgid "WebDAV password"
msgstr "WebDAV 密碼"
msgid "Custom TLS certificates"
msgstr "自訂 TLS 證書"
msgid ""
"Comma-separated list of paths to directories to load the certificates from, "
"or path to individual cert files. For example: /my/cert_dir, /other/custom."
"pem. Note that if you make changes to the TLS settings, you must save your "
"changes before clicking on \"Check synchronisation configuration\"."
msgstr ""
"要載入證書,可用逗號分隔的目錄路徑清單,或指明特定證書的路徑。例如: /my/"
"cert_dir, /other/custom.pem。請注意,如果修改了 TLS 的設置,您必須先儲存變"
"更,然後再按一下 \"檢測同步設置\"。"
msgid "Ignore TLS certificate errors"
msgstr "忽略 TLS 證書錯誤"
#, javascript-format
msgid "Invalid option value: \"%s\". Possible values are: %s."
msgstr "不正確選項值: \"%s\"。可能的值為: %s。"
#, javascript-format
msgid "The tag \"%s\" already exists. Please choose a different name."
msgstr ""
msgid "Joplin Export File"
msgstr "Joplin 匯出檔"
@@ -1313,7 +1438,7 @@ msgstr "資料夾"
#, javascript-format
msgid "%s: %d notes"
msgstr "%s:%d 記事"
msgstr "%s:%d 記事"
msgid "Coming alarms"
msgstr "將會發生的提醒事項"
@@ -1364,29 +1489,31 @@ msgstr "取消同步"
#, javascript-format
msgid "Decrypting items: %d/%d"
msgstr ""
msgstr "正在解密項目: %d/%d 項"
msgid "New tags:"
msgstr "新增標籤:"
msgid "Type new tags or select from list"
msgstr ""
msgstr "輸入新標籤,或在清單中選擇"
msgid ""
"To work correctly, the app needs the following permissions. Please enable "
"them in your phone settings, in Apps > Joplin > Permissions"
msgstr ""
"應用程式需要以下權限才能正常運作。請在您的電話設定中啟用它們。(應用程式 > "
"Joplin > 權限)"
msgid ""
"- Storage: to allow attaching files to notes and to enable filesystem "
"synchronisation."
msgstr ""
msgstr "- 儲存: 允許將檔案附加到筆記並啟用檔案系統同步。"
msgid "- Camera: to allow taking a picture and attaching it to a note."
msgstr ""
msgstr "- 相機: 允許拍照並附加相片到記事。"
msgid "- Location: to allow attaching geo-location information to a note."
msgstr ""
msgstr "- 位置: 允許將地理位置資訊附加到筆記。"
msgid "Joplin website"
msgstr "Joplin 官方網站"
@@ -1422,13 +1549,13 @@ msgid "Show all"
msgstr "顯示全部"
msgid "Errors only"
msgstr "僅出錯時"
msgstr "僅顯示錯誤"
msgid "This note has been modified:"
msgstr "此記事已被修改:"
msgid "Save changes"
msgstr "存變更"
msgstr "存變更"
msgid "Discard changes"
msgstr "放棄變更"
@@ -1481,10 +1608,13 @@ msgstr "搜尋"
msgid ""
"Click on the (+) button to create a new note or notebook. Click on the side "
"menu to access your existing notebooks."
msgstr "可以點撃 (+) 鍵去新增記事或記事本。點撃側邊欄去檢視現有的記事本。"
msgstr "可以點撃 (+) 鍵去新增記事或記事本。點撃側邊欄去檢視現有的記事本。"
msgid "You currently have no notebook. Create one by clicking on (+) button."
msgstr "您當前沒有任何筆記本。通過按一下 (+) 鍵去建立一本筆記。"
msgid "Welcome"
msgstr "歡迎"
#~ msgid "A notebook with this title already exists: \"%s\""
#~ msgstr "同名筆記本已經存在: \"%s\""

File diff suppressed because it is too large Load Diff

View File

@@ -19,7 +19,7 @@
],
"owner": "Laurent Cozic"
},
"version": "1.0.107",
"version": "1.0.116",
"bin": {
"joplin": "./main.js"
},
@@ -37,12 +37,14 @@
"fs-extra": "^5.0.0",
"html-entities": "^1.2.1",
"html-minifier": "^3.5.15",
"image-data-uri": "^2.0.0",
"image-type": "^3.0.0",
"joplin-turndown": "^4.0.3",
"joplin-turndown-plugin-gfm": "^1.0.2",
"joplin-turndown": "^4.0.9",
"joplin-turndown-plugin-gfm": "^1.0.7",
"jssha": "^2.3.0",
"levenshtein": "^1.0.5",
"lodash": "^4.17.4",
"markdown-it": "^8.4.2",
"md5": "^2.2.1",
"mime": "^2.0.3",
"moment": "^2.18.1",
@@ -56,12 +58,13 @@
"redux": "^3.7.2",
"sax": "^1.2.2",
"server-destroy": "^1.0.1",
"sharp": "^0.18.4",
"sharp": "^0.20.8",
"sprintf-js": "^1.1.1",
"sqlite3": "^3.1.8",
"sqlite3": "^4.0.1",
"string-padding": "^1.0.2",
"string-to-stream": "^1.1.0",
"strip-ansi": "^4.0.0",
"syswide-cas": "^5.2.0",
"tar": "^4.4.0",
"tcp-port-used": "^0.1.2",
"tkwidgets": "^0.5.26",

View File

@@ -22,14 +22,16 @@ trap finish EXIT
cd "$ROOT_DIR"
npm test tests-build/ArrayUtils.js
npm test tests-build/encryption.js
npm test tests-build/EnexToMd.js
npm test tests-build/HtmlToMd.js
npm test tests-build/markdownUtils.js
npm test tests-build/models_Folder.js
npm test tests-build/models_Note.js
npm test tests-build/models_Tag.js
npm test tests-build/models_Setting.js
npm test tests-build/services_InteropService.js
npm test tests-build/services_ResourceService.js
npm test tests-build/synchronizer.js
npm test tests-build/urlUtils.js
npm test tests-build/urlUtils.js
npm test tests-build/encryption.js
npm test tests-build/services_rest_Api.js
npm test tests-build/synchronizer.js

View File

@@ -36,7 +36,7 @@ describe('HtmlToMd', function() {
const htmlPath = basePath + '/' + htmlFilename;
const mdPath = basePath + '/' + filename(htmlFilename) + '.md';
// if (htmlFilename !== 'code_1.html') continue;
// if (htmlFilename !== 'anchor_with_url_with_spaces.html') continue;
const html = await shim.fsDriver().readFile(htmlPath);
const expectedMd = await shim.fsDriver().readFile(mdPath);

View File

@@ -0,0 +1,5 @@
<ul>
<li><div>This note has an unordered list</div></li>
<li><div>List item</div></li>
<li><div>List item</div></li>
</ul>

View File

@@ -0,0 +1,3 @@
- This note has an unordered list
- List item
- List item

View File

@@ -0,0 +1 @@
<a href="http://example.com/That is not right"/>Testing</a>

View File

@@ -0,0 +1 @@
[Testing](http://example.com/That%20is%20not%20right)

View File

@@ -0,0 +1,29 @@
Some pictures:
<picture>
<!--[if IE 9]><video style="display: none;"><![endif]-->
<source media="(min-width: 768px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w">
<source media="(min-width: 768px)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w">
<source media="(min-width: 481px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w">
<source media="(min-width: 481px)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w">
<source media="(min-width: 321px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="450px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop&amp;dpr=1.5 675w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop&amp;dpr=1.5 675w">
<source media="(min-width: 321px)" sizes="450px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop 450w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop 450w">
<source media="(min-width: 0px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="320px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop&amp;dpr=1.5 480w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop&amp;dpr=1.5 480w">
<source media="(min-width: 0px)" sizes="320px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop 320w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop 320w">
<!--[if IE 9]></video><![endif]-->
<img class=" lazyloaded" title="" alt="" id="img-id-0">
</picture>
<picture>
<!--[if IE 9]><video style="display: none;"><![endif]-->
<source media="(min-width: 768px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w">
<source media="(min-width: 768px)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w">
<source media="(min-width: 481px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop&amp;dpr=1.5 882w">
<source media="(min-width: 481px)" sizes="588px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=588&amp;h=900&amp;fit=crop 588w">
<source media="(min-width: 321px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="450px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop&amp;dpr=1.5 675w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop&amp;dpr=1.5 675w">
<source media="(min-width: 321px)" sizes="450px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop 450w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=450&amp;h=688&amp;fit=crop 450w">
<source media="(min-width: 0px) and (-webkit-min-device-pixel-ratio: 1.25), (min-width: px) and (min-resolution: 120dpi)" sizes="320px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop&amp;dpr=1.5 480w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop&amp;dpr=1.5 480w">
<source media="(min-width: 0px)" sizes="320px" data-srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop 320w" srcset="https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&amp;w=320&amp;h=489&amp;fit=crop 320w">
<!--[if IE 9]></video><![endif]-->
<img class=" lazyloaded" title="" alt="" id="img-id-0" src="http://example.com/test.gif">
</picture>

View File

@@ -0,0 +1 @@
Some pictures: ![](https://static2.cbrimages.com/wp-content/uploads/2018/09/Die-01-cvrA.jpg?q=35&w=588&h=900&fit=crop&dpr=1.5) ![](http://example.com/test.gif)

View File

@@ -0,0 +1,5 @@
<p>Some text, not an image, so it should remain escaped:</p>
<p>&lt;img src="http://test.com/image.png" /&gt;</p>
<p>&lt;p class="testing"&gt;Paragraph example&lt;/p&gt;
<p>But this is code so it can be unescaped:</p>
<pre><code>&lt;img src="http://test.com/image.png" /&gt;</code></pre>

View File

@@ -0,0 +1,9 @@
Some text, not an image, so it should remain escaped:
&lt;img src="http://test.com/image.png" /&gt;
&lt;p class="testing"&gt;Paragraph example&lt;/p&gt;
But this is code so it can be unescaped:
<img src="http://test.com/image.png" />

View File

@@ -39,6 +39,7 @@ describe('markdownUtils', function() {
['![something](http://test.com/img.png)', ['http://test.com/img.png']],
['![something](http://test.com/img.png) ![something2](http://test.com/img2.png)', ['http://test.com/img.png', 'http://test.com/img2.png']],
['![something](http://test.com/img.png "Some description")', ['http://test.com/img.png']],
['![something](https://test.com/ohoh_(123).png)', ['https://test.com/ohoh_(123).png']],
];
for (let i = 0; i < testCases.length; i++) {

View File

@@ -34,6 +34,12 @@ describe('models_Note', function() {
expect(items.length).toBe(2);
expect(items[0].type_).toBe(BaseModel.TYPE_NOTE);
expect(items[1].type_).toBe(BaseModel.TYPE_RESOURCE);
const resource = items[1];
note2.body += '<img alt="bla" src=":/' + resource.id + '"/>';
note2.body += '<img src=\':/' + resource.id + '\' />';
items = await Note.linkedItems(note2.body);
expect(items.length).toBe(4);
}));
});

View File

@@ -0,0 +1,45 @@
require('app-module-path').addPath(__dirname);
const { time } = require('lib/time-utils.js');
const { asyncTest, fileContentEqual, setupDatabase, setupDatabaseAndSynchronizer, db, synchronizer, fileApi, sleep, clearDatabase, switchClient, syncTargetId, objectsEqual, checkThrowAsync } = require('test-utils.js');
const Folder = require('lib/models/Folder.js');
const Note = require('lib/models/Note.js');
const Tag = require('lib/models/Tag.js');
const BaseModel = require('lib/BaseModel.js');
const { shim } = require('lib/shim');
process.on('unhandledRejection', (reason, p) => {
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
});
describe('models_Tag', function() {
beforeEach(async (done) => {
await setupDatabaseAndSynchronizer(1);
await switchClient(1);
done();
});
it('should add tags by title', asyncTest(async () => {
let folder1 = await Folder.save({ title: "folder1" });
let note1 = await Note.save({ title: 'ma note', parent_id: folder1.id });
await Tag.setNoteTagsByTitles(note1.id, ['un', 'deux']);
const noteTags = await Tag.tagsByNoteId(note1.id);
expect(noteTags.length).toBe(2);
}));
it('should not allow renaming tag to existing tag names', asyncTest(async () => {
let folder1 = await Folder.save({ title: "folder1" });
let note1 = await Note.save({ title: 'ma note', parent_id: folder1.id });
await Tag.setNoteTagsByTitles(note1.id, ['un', 'deux']);
const tagUn = await Tag.loadByTitle('un');
const hasThrown = await checkThrowAsync(async () => await Tag.save({ id: tagUn.id, title: 'deux' }, { userSideValidation: true }));
expect(hasThrown).toBe(true);
}));
});

View File

@@ -79,7 +79,6 @@ describe('services_ResourceService', function() {
let note2 = await Note.save({ title: 'ma deuxième note', parent_id: folder1.id });
note1 = await shim.attachFileToNote(note1, __dirname + '/../tests/support/photo.jpg');
let resource1 = (await Resource.all())[0];
const resourcePath = Resource.fullPath(resource1);
await service.indexNoteResources();
@@ -96,4 +95,33 @@ describe('services_ResourceService', function() {
expect(!!(await Resource.load(resource1.id))).toBe(true);
}));
it('should not delete a resource that has never been associated with any note, because it probably means the resource came via sync, and associated note has not arrived yet', asyncTest(async () => {
const service = new ResourceService();
const resource = await shim.createResourceFromPath(__dirname + '/../tests/support/photo.jpg');
await service.indexNoteResources();
await service.deleteOrphanResources(0);
expect((await Resource.all()).length).toBe(1);
}));
it('should not delete resource if it is used in an IMG tag', asyncTest(async () => {
const service = new ResourceService();
let folder1 = await Folder.save({ title: "folder1" });
let note1 = await Note.save({ title: 'ma note', parent_id: folder1.id });
note1 = await shim.attachFileToNote(note1, __dirname + '/../tests/support/photo.jpg');
let resource1 = (await Resource.all())[0];
await service.indexNoteResources();
await Note.save({ id: note1.id, body: 'This is HTML: <img src=":/' + resource1.id + '"/>' });
await service.indexNoteResources();
await service.deleteOrphanResources(0);
expect(!!(await Resource.load(resource1.id))).toBe(true);
}));
});

View File

@@ -0,0 +1,275 @@
require('app-module-path').addPath(__dirname);
const { time } = require('lib/time-utils.js');
const { fileContentEqual, setupDatabase, setupDatabaseAndSynchronizer, db, synchronizer, fileApi, sleep, clearDatabase, switchClient, syncTargetId, objectsEqual, checkThrowAsync } = require('test-utils.js');
const markdownUtils = require('lib/markdownUtils.js');
const Api = require('lib/services/rest/Api');
const Folder = require('lib/models/Folder');
const Note = require('lib/models/Note');
const Tag = require('lib/models/Tag');
const Resource = require('lib/models/Resource');
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
process.on('unhandledRejection', (reason, p) => {
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
});
let api = null;
describe('services_rest_Api', function() {
beforeEach(async (done) => {
api = new Api();
await setupDatabaseAndSynchronizer(1);
await switchClient(1);
done();
});
it('should ping', async (done) => {
const response = await api.route('GET', 'ping');
expect(response).toBe('JoplinClipperServer');
done();
});
it('should handle Not Found errors', async (done) => {
const hasThrown = await checkThrowAsync(async () => await api.route('GET', 'pong'));
expect(hasThrown).toBe(true);
done();
});
it('should get folders', async (done) => {
let f1 = await Folder.save({ title: "mon carnet" });
const response = await api.route('GET', 'folders');
expect(response.length).toBe(1);
expect(response[0].title).toBe('mon carnet');
done();
});
it('should update folders', async (done) => {
let f1 = await Folder.save({ title: "mon carnet" });
const response = await api.route('PUT', 'folders/' + f1.id, null, JSON.stringify({
title: 'modifié',
}));
let f1b = await Folder.load(f1.id);
expect(f1b.title).toBe('modifié');
done();
});
it('should delete folders', async (done) => {
let f1 = await Folder.save({ title: "mon carnet" });
await api.route('DELETE', 'folders/' + f1.id);
let f1b = await Folder.load(f1.id);
expect(!f1b).toBe(true);
done();
});
it('should create folders', async (done) => {
const response = await api.route('POST', 'folders', null, JSON.stringify({
title: 'from api',
}));
expect(!!response.id).toBe(true);
let f = await Folder.all();
expect(f.length).toBe(1);
expect(f[0].title).toBe('from api');
done();
});
it('should get one folder', async (done) => {
let f1 = await Folder.save({ title: "mon carnet" });
const response = await api.route('GET', 'folders/' + f1.id);
expect(response.id).toBe(f1.id);
const hasThrown = await checkThrowAsync(async () => await api.route('GET', 'folders/doesntexist'));
expect(hasThrown).toBe(true);
done();
});
it('should get the folder notes', async (done) => {
let f1 = await Folder.save({ title: "mon carnet" });
const response2 = await api.route('GET', 'folders/' + f1.id + '/notes');
expect(response2.length).toBe(0);
const n1 = await Note.save({ title: 'un', parent_id: f1.id });
const n2 = await Note.save({ title: 'deux', parent_id: f1.id });
const response = await api.route('GET', 'folders/' + f1.id + '/notes');
expect(response.length).toBe(2);
done();
});
it('should fail on invalid paths', async (done) => {
const hasThrown = await checkThrowAsync(async () => await api.route('GET', 'schtroumpf'));
expect(hasThrown).toBe(true);
done();
});
it('should get notes', async (done) => {
let response = null;
const f1 = await Folder.save({ title: "mon carnet" });
const f2 = await Folder.save({ title: "mon deuxième carnet" });
const n1 = await Note.save({ title: 'un', parent_id: f1.id });
const n2 = await Note.save({ title: 'deux', parent_id: f1.id });
const n3 = await Note.save({ title: 'trois', parent_id: f2.id });
response = await api.route('GET', 'notes');
expect(response.length).toBe(3);
response = await api.route('GET', 'notes/' + n1.id);
expect(response.id).toBe(n1.id);
response = await api.route('GET', 'notes/' + n3.id, { fields: 'id,title' });
expect(Object.getOwnPropertyNames(response).length).toBe(3);
expect(response.id).toBe(n3.id);
expect(response.title).toBe('trois');
done();
});
it('should create notes', async (done) => {
let response = null;
const f = await Folder.save({ title: "mon carnet" });
response = await api.route('POST', 'notes', null, JSON.stringify({
title: 'testing',
parent_id: f.id,
}));
expect(response.title).toBe('testing');
expect(!!response.id).toBe(true);
response = await api.route('POST', 'notes', null, JSON.stringify({
title: 'testing',
parent_id: f.id,
}));
expect(response.title).toBe('testing');
expect(!!response.id).toBe(true);
done();
});
it('should create notes with images', async (done) => {
let response = null;
const f = await Folder.save({ title: "mon carnet" });
response = await api.route('POST', 'notes', null, JSON.stringify({
title: 'testing image',
parent_id: f.id,
image_data_url: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANZJREFUeNoAyAA3/wFwtO3K6gUB/vz2+Prw9fj/+/r+/wBZKAAExOgF4/MC9ff+MRH6Ui4E+/0Bqc/zutj6AgT+/Pz7+vv7++nu82c4DlMqCvLs8goA/gL8/fz09fb59vXa6vzZ6vjT5fbn6voD/fwC8vX4UiT9Zi//APHyAP8ACgUBAPv5APz7BPj2+DIaC2o3E+3o6ywaC5fT6gD6/QD9/QEVf9kD+/dcLQgJA/7v8vqfwOf18wA1IAIEVycAyt//v9XvAPv7APz8LhoIAPz9Ri4OAgwARgx4W/6fVeEAAAAASUVORK5CYII="
}));
const resources = await Resource.all();
expect(resources.length).toBe(1);
const resource = resources[0];
expect(response.body.indexOf(resource.id) >= 0).toBe(true);
done();
});
it('should create notes from HTML', async (done) => {
let response = null;
const f = await Folder.save({ title: "mon carnet" });
response = await api.route('POST', 'notes', null, JSON.stringify({
title: 'testing HTML',
parent_id: f.id,
body_html: '<b>Bold text</b>',
}));
expect(response.body).toBe('**Bold text**');
done();
});
it('should filter fields', async (done) => {
let f = api.fields_({ query: { fields: 'one,two' } }, []);
expect(f.length).toBe(2);
expect(f[0]).toBe('one');
expect(f[1]).toBe('two');
f = api.fields_({ query: { fields: 'one ,, two ' } }, []);
expect(f.length).toBe(2);
expect(f[0]).toBe('one');
expect(f[1]).toBe('two');
f = api.fields_({ query: { fields: ' ' } }, ['def']);
expect(f.length).toBe(1);
expect(f[0]).toBe('def');
done();
});
it('should handle tokens', async (done) => {
api = new Api('mytoken');
let hasThrown = await checkThrowAsync(async () => await api.route('GET', 'notes'));
expect(hasThrown).toBe(true);
const response = await api.route('GET', 'notes', { token: 'mytoken' })
expect(response.length).toBe(0);
hasThrown = await checkThrowAsync(async () => await api.route('POST', 'notes', null, JSON.stringify({title:'testing'})));
expect(hasThrown).toBe(true);
done();
});
it('should add tags to notes', async (done) => {
const tag = await Tag.save({ title: "mon étiquette" });
const note = await Note.save({ title: "ma note" });
const response = await api.route('POST', 'tags/' + tag.id + '/notes', null, JSON.stringify({
id: note.id,
}));
const noteIds = await Tag.noteIds(tag.id);
expect(noteIds[0]).toBe(note.id);
done();
});
it('should remove tags from notes', async (done) => {
const tag = await Tag.save({ title: "mon étiquette" });
const note = await Note.save({ title: "ma note" });
await Tag.addNote(tag.id, note.id);
const response = await api.route('DELETE', 'tags/' + tag.id + '/notes/' + note.id);
const noteIds = await Tag.noteIds(tag.id);
expect(noteIds.length).toBe(0);
done();
});
it('should list all tag notes', async (done) => {
const tag = await Tag.save({ title: "mon étiquette" });
const tag2 = await Tag.save({ title: "mon étiquette 2" });
const note1 = await Note.save({ title: "ma note un" });
const note2 = await Note.save({ title: "ma note deux" });
await Tag.addNote(tag.id, note1.id);
await Tag.addNote(tag.id, note2.id);
const response = await api.route('GET', 'tags/' + tag.id + '/notes');
expect(response.length).toBe(2);
expect('id' in response[0]).toBe(true);
expect('title' in response[0]).toBe(true);
const response2 = await api.route('GET', 'notes/' + note1.id + '/tags');
expect(response2.length).toBe(1);
await Tag.addNote(tag2.id, note1.id);
const response3 = await api.route('GET', 'notes/' + note1.id + '/tags');
expect(response3.length).toBe(2);
done();
});
});

View File

@@ -48,7 +48,9 @@ EncryptionService.fsDriver_ = fsDriver;
FileApiDriverLocal.fsDriver_ = fsDriver;
const logDir = __dirname + '/../tests/logs';
const tempDir = __dirname + '/../tests/tmp';
fs.mkdirpSync(logDir, 0o755);
fs.mkdirpSync(tempDir, 0o755);
SyncTargetRegistry.addClass(SyncTargetMemory);
SyncTargetRegistry.addClass(SyncTargetFilesystem);
@@ -80,6 +82,7 @@ BaseItem.loadClass('MasterKey', MasterKey);
Setting.setConstant('appId', 'net.cozic.joplin-cli');
Setting.setConstant('appType', 'cli');
Setting.setConstant('tempDir', tempDir);
BaseService.logger_ = logger;

View File

@@ -38,7 +38,7 @@
const node = childNodes[i];
let isVisible = node.nodeType === 1 ? window.getComputedStyle(node).display !== 'none' : true;
if (isVisible && ['input', 'textarea', 'script', 'style', 'select', 'option', 'button'].indexOf(node.nodeName.toLowerCase()) >= 0) isVisible = false;
if (isVisible && ['input', 'textarea', 'script', 'noscript', 'style', 'select', 'option', 'button'].indexOf(node.nodeName.toLowerCase()) >= 0) isVisible = false;
if (!isVisible) {
element.removeChild(node);
@@ -74,6 +74,18 @@
async function prepareCommandResponse(command) {
console.info('Got command: ' + command.name);
const clippedContentResponse = (title, html) => {
return {
name: 'clippedContent',
title: title,
html: html,
base_url: baseUrl(),
url: location.origin + location.pathname + location.search,
parent_id: command.parent_id,
tags: command.tags || '',
};
}
if (command.name === "simplifiedPageHtml") {
let article = null;
@@ -87,29 +99,20 @@
response.warning = 'Could not retrieve simplified version of page - full page has been saved instead.';
return response;
}
return {
name: 'clippedContent',
html: article.body,
title: article.title,
base_url: baseUrl(),
url: location.origin + location.pathname,
parent_id: command.parent_id,
};
return clippedContentResponse(article.title, article.body);
} else if (command.name === "completePageHtml") {
const cleanDocument = document.body.cloneNode(true);
cleanUpElement(cleanDocument);
return clippedContentResponse(pageTitle(), cleanDocument.innerHTML);
return {
name: 'clippedContent',
html: cleanDocument.innerHTML,
title: pageTitle(),
base_url: baseUrl(),
url: location.origin + location.pathname,
parent_id: command.parent_id,
};
} else if (command.name === "selectedHtml") {
const range = window.getSelection().getRangeAt(0);
const container = document.createElement('div');
container.appendChild(range.cloneContents());
return clippedContentResponse(pageTitle(), container.innerHTML);
} else if (command.name === 'screenshot') {
@@ -135,6 +138,7 @@
messageComp.style.maxWidth = messageCompWidth + 'px'
messageComp.style.border = '1px solid black'
messageComp.style.background = 'white'
messageComp.style.color = 'black';
messageComp.style.top = '10px'
messageComp.style.textAlign = 'center';
messageComp.style.padding = '10px'
@@ -212,6 +216,7 @@
crop_rect: selectionArea,
url: location.origin + location.pathname,
parent_id: command.parent_id,
tags: command.tags,
};
browser_.runtime.sendMessage({

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Joplin Web Clipper [DEV]",
"version": "1.0.5",
"version": "1.0.7",
"description": "Capture and save web pages and screenshots from your browser to Joplin.",
"homepage_url": "https://joplin.cozic.net",
"icons": {

View File

@@ -1,5 +1,7 @@
<!DOCTYPE html>
<!-- NOTE: I think this is not used at all -->
<html>
<head>
<meta charset="utf-8">

View File

@@ -100,21 +100,34 @@
flex: 0;
}
.App .Folders {
.App .Folders,
.App .Tags {
display: flex;
flex-direction: row;
align-items: center;
align-items: top;
padding: 5px 0;
}
.App .Folders label {
.App .Folders label,
.App .Tags label {
flex: 0;
white-space: nowrap;
margin-right: .5em;
}
.App .Folders select {
flex: 1;
margin-left: 10px;
}
.App .Tags input {
display: inline-block;
flex: 1;
margin-bottom: .5em;
}
.App .ClearTagButton {
margin-left: .5em;
text-decoration: none;
}
.App .StatusBar {

View File

@@ -14,6 +14,7 @@ class AppComponent extends Component {
this.state = ({
contentScriptLoaded: false,
selectedTags: [],
});
this.confirm_click = () => {
@@ -31,6 +32,7 @@ class AppComponent extends Component {
bridge().sendCommandToActiveTab({
name: 'simplifiedPageHtml',
parent_id: this.props.selectedFolderId,
tags: this.state.selectedTags.join(','),
});
}
@@ -38,6 +40,15 @@ class AppComponent extends Component {
bridge().sendCommandToActiveTab({
name: 'completePageHtml',
parent_id: this.props.selectedFolderId,
tags: this.state.selectedTags.join(','),
});
}
this.clipSelection_click = () => {
bridge().sendCommandToActiveTab({
name: 'selectedHtml',
parent_id: this.props.selectedFolderId,
tags: this.state.selectedTags.join(','),
});
}
@@ -49,6 +60,7 @@ class AppComponent extends Component {
name: 'screenshot',
api_base_url: baseUrl,
parent_id: this.props.selectedFolderId,
tags: this.state.selectedTags.join(','),
});
window.close();
@@ -67,6 +79,41 @@ class AppComponent extends Component {
id: event.target.value,
});
}
this.tagCompChanged = this.tagCompChanged.bind(this);
this.onAddTagClick = this.onAddTagClick.bind(this);
this.onClearTagButtonClick = this.onClearTagButtonClick.bind(this);
}
onAddTagClick(event) {
const newTags = this.state.selectedTags.slice();
newTags.push('');
this.setState({ selectedTags: newTags });
this.focusNewTagInput_ = true;
}
onClearTagButtonClick(event) {
const index = event.target.getAttribute('data-index');
const newTags = this.state.selectedTags.slice();
newTags.splice(index, 1);
this.setState({ selectedTags: newTags });
}
tagCompChanged(event) {
const index = Number(event.target.getAttribute('data-index'));
const value = event.target.value;
if (this.state.selectedTags.length <= index) {
const newTags = this.state.selectedTags.slice();
newTags.push(value);
this.setState({ selectedTags: newTags });
} else {
if (this.state.selectedTags[index] !== value) {
const newTags = this.state.selectedTags.slice();
newTags[index] = value;
this.setState({ selectedTags: newTags });
}
}
}
async loadContentScripts() {
@@ -80,6 +127,39 @@ class AppComponent extends Component {
this.setState({
contentScriptLoaded: true,
});
let foundSelectedFolderId = false;
const searchSelectedFolder = (folders) => {
for (let i = 0; i < folders.length; i++) {
const folder = folders[i];
if (folder.id === this.props.selectedFolderId) foundSelectedFolderId = true;
if (folder.children) searchSelectedFolder(folder.children);
}
}
searchSelectedFolder(this.props.folders);
if (!foundSelectedFolderId) {
const newFolderId = this.props.folders.length ? this.props.folders[0].id : null;
this.props.dispatch({
type: 'SELECTED_FOLDER_SET',
id: newFolderId,
});
}
}
componentDidUpdate() {
if (this.focusNewTagInput_) {
this.focusNewTagInput_ = false;
let lastRef = null;
for (let i = 0; i < 100; i++) {
const ref = this.refs['tagSelector' + i];
if (!ref) break;
lastRef = ref;
}
if (lastRef) lastRef.focus();
}
}
render() {
@@ -112,24 +192,17 @@ class AppComponent extends Component {
<p className="Info">{ msg }</p>
</div>
);
} else {
if (hasContent) {
previewComponent = (
<div className="Preview">
<input className={"Title"} value={content.title} onChange={this.contentTitle_change}/>
<div className={"BodyWrapper"}>
<div className={"Body"} dangerouslySetInnerHTML={{__html: content.body_html}}></div>
</div>
<a className={"Confirm Button"} onClick={this.confirm_click}>Confirm</a>
} else if (hasContent) {
previewComponent = (
<div className="Preview">
<h2>Preview:</h2>
<input className={"Title"} value={content.title} onChange={this.contentTitle_change}/>
<div className={"BodyWrapper"}>
<div className={"Body"} dangerouslySetInnerHTML={{__html: content.body_html}}></div>
</div>
);
} else {
previewComponent = (
<div className="Preview">
<p className="Info">(No preview yet)</p>
</div>
);
}
<a className={"Confirm Button"} onClick={this.confirm_click}>Confirm</a>
</div>
);
}
const clipperStatusComp = () => {
@@ -159,8 +232,6 @@ class AppComponent extends Component {
return <div className="StatusBar"><img alt={foundState} className="Led" src={led}/><span className="ServerStatus">{ msg }{ helpLink }</span></div>
}
console.info(this.props.selectedFolderId);
const foldersComp = () => {
const optionComps = [];
@@ -189,18 +260,56 @@ class AppComponent extends Component {
);
}
const tagsComp = () => {
const comps = [];
for (let i = 0; i < this.state.selectedTags.length; i++) {
comps.push(<div>
<input
ref={'tagSelector' + i}
data-index={i}
key={i}
type="text"
list="tags"
value={this.state.selectedTags[i]}
onChange={this.tagCompChanged}
onInput={this.tagCompChanged}
/>
<a data-index={i} href="#" className="ClearTagButton" onClick={this.onClearTagButtonClick}>[x]</a>
</div>);
}
return (
<div>
{comps}
<a className="AddTagButton" href="#" onClick={this.onAddTagClick}>Add tag</a>
</div>
);
}
const tagDataListOptions = [];
for (let i = 0; i < this.props.tags.length; i++) {
const tag = this.props.tags[i];
tagDataListOptions.push(<option key={tag.id}>{tag.title}</option>);
}
return (
<div className="App">
<div className="Controls">
<ul>
<li><a className="Button" onClick={this.clipSimplified_click}>Clip simplified page</a></li>
<li><a className="Button" onClick={this.clipComplete_click}>Clip complete page</a></li>
<li><a className="Button" onClick={this.clipSelection_click}>Clip selection</a></li>
<li><a className="Button" onClick={this.clipScreenshot_click}>Clip screenshot</a></li>
</ul>
</div>
{ foldersComp() }
<div className="Tags">
<label>Tags:</label>
{tagsComp()}
<datalist id="tags">
{tagDataListOptions}
</datalist>
</div>
{ warningComponent }
<h2>Preview:</h2>
{ previewComponent }
{ clipperStatusComp() }
</div>
@@ -216,6 +325,7 @@ const mapStateToProps = (state) => {
contentUploadOperation: state.contentUploadOperation,
clipperServer: state.clipperServer,
folders: state.folders,
tags: state.tags,
selectedFolderId: state.selectedFolderId,
};
};

View File

@@ -2,7 +2,7 @@ const randomClipperPort = require('./randomClipperPort');
class Bridge {
init(browser, browserSupportsPromises, dispatch) {
async init(browser, browserSupportsPromises, dispatch) {
console.info('Popup: Init bridge');
this.browser_ = browser;
@@ -28,6 +28,7 @@ class Bridge {
base_url: command.base_url,
source_url: command.url,
parent_id: command.parent_id,
tags: command.tags || '',
};
this.dispatch({ type: 'CLIPPED_CONTENT_SET', content: content });
@@ -36,7 +37,7 @@ class Bridge {
this.browser_.runtime.onMessage.addListener(this.browser_notify);
const backgroundPage = this.browser_.extension.getBackgroundPage();
const backgroundPage = await this.backgroundPage(this.browser_);
// Not sure why the getBackgroundPage() sometimes returns null, so
// in that case default to "prod" environment, which means the live
@@ -53,6 +54,17 @@ class Bridge {
this.findClipperServerPort();
}
async backgroundPage(browser) {
const bgp = browser.extension.getBackgroundPage();
if (bgp) return bgp;
return new Promise((resolve, reject) => {
browser.runtime.getBackgroundPage((bgp) => {
resolve(bgp);
})
});
}
env() {
return this.env_;
}
@@ -111,6 +123,11 @@ class Bridge {
const folders = await this.folderTree();
this.dispatch({ type: 'FOLDERS_SET', folders: folders });
const tags = await this.clipperApiExec('GET', 'tags');
this.dispatch({ type: 'TAGS_SET', tags: tags });
bridge().restoreState();
return;
}
} catch (error) {

View File

@@ -16,6 +16,7 @@ const defaultState = {
port: null,
},
folders: [],
tags: [],
selectedFolderId: null,
env: 'prod',
};
@@ -65,6 +66,11 @@ function reducer(state = defaultState, action) {
newState.selectedFolderId = action.folders[0].id;
}
} else if (action.type === 'TAGS_SET') {
newState = Object.assign({}, state);
newState.tags = action.tags;
} else if (action.type === 'SELECTED_FOLDER_SET') {
newState = Object.assign({}, state);
@@ -88,11 +94,18 @@ function reducer(state = defaultState, action) {
return newState;
}
const store = createStore(reducer, applyMiddleware(reduxMiddleware));
async function main() {
const store = createStore(reducer, applyMiddleware(reduxMiddleware));
bridge().init(window.browser ? window.browser : window.chrome, !!window.browser, store.dispatch);
bridge().restoreState();
console.info('Popup: Init bridge and restore state...');
console.info('Popup: Creating React app...');
await bridge().init(window.browser ? window.browser : window.chrome, !!window.browser, store.dispatch);
ReactDOM.render(<Provider store={store}><App /></Provider>, document.getElementById('root'));
console.info('Popup: Creating React app...');
ReactDOM.render(<Provider store={store}><App /></Provider>, document.getElementById('root'));
}
main().catch((error) => {
console.error('Fatal error on initialisation:', error);
});

View File

@@ -1,166 +1,20 @@
const reservedPorts = [1024, 1027, 1028, 1029, 1058, 1059, 1080, 1085, 1098, 1099, 1109, 1119, 1167, 1194, 1198, 1214, 1220, 1234, 1241, 1270, 1293, 1311, 1314, 1337, 1341, 1344,
1352, 1360, 1414, 1417, 1418, 1419, 1420, 1431, 1433, 1434, 1492, 1494, 1500, 1501, 1503, 1512, 1513, 1521, 1524, 1527, 1533, 1547, 1550, 1581, 1582, 1583, 1589, 1604, 1626, 1627,
1628, 1629, 1645, 1646, 1666, 1677, 1688, 1701, 1707, 1716, 1719, 1720, 1723, 1755, 1761, 1783, 1801, 1812, 1813, 1863, 1880, 1883, 1900, 1935, 1967, 1970, 1972, 1984, 1985, 1998,
2000, 2010, 2033, 2049, 2056, 2080, 2082, 2083, 2086, 2087, 2095, 2096, 2100, 2101, 2102, 2103, 2104, 2123, 2142, 2152, 2159, 2181, 2195, 2196, 2210, 2211, 2221, 2222, 2261, 2262,
2266, 2305, 2351, 2368, 2369, 2370, 2372, 2375, 2376, 2377, 2379, 2380, 2399, 2401, 2404, 2424, 2427, 2447, 2480, 2483, 2484, 2535, 2541, 2546, 2593, 2598, 2599, 2638, 2710, 2727,
2809, 2811, 2827, 2944, 2945, 2947, 2948, 2949, 2967, 3000, 3004, 3020, 3050, 3052, 3074, 3101, 3128, 3225, 3233, 3260, 3268, 3269, 3283, 3290, 3305, 3306, 3313, 3316, 3323, 3332,
3333, 3351, 3386, 3389, 3396, 3412, 3423, 3424, 3455, 3478, 3479, 3480, 3483, 3493, 3516, 3527, 3535, 3544, 3632, 3645, 3659, 3667, 3689, 3690, 3702, 3724, 3725, 3768, 3784, 3785,
3799, 3804, 3825, 3826, 3830, 3835, 3856, 3868, 3872, 3880, 3900, 3960, 3962, 3978, 3979, 3999, 4000, 4001, 4018, 4035, 4045, 4050, 4069, 4089, 4090, 4093, 4096, 4105, 4111, 4116,
4125, 4172, 4190, 4198, 4201, 4222, 4226, 4242, 4243, 4244, 4303, 4321, 4352, 4444, 4486, 4488, 4500, 4502, 4505, 4534, 4560, 4567, 4569, 4604, 4605, 4610, 4662, 4664, 4672, 4711,
4713, 4728, 4730, 4739, 4747, 4750, 4753, 4840, 4843, 4847, 4848, 4894, 4949, 4950, 5000, 5001, 5002, 5003, 5004, 5005, 5010, 5011, 5031, 5037, 5048, 5050, 5051, 5060, 5061, 5062,
5064, 5065, 5070, 5084, 5085, 5093, 5099, 5104, 5121, 5124, 5125, 5150, 5151, 5154, 5190, 5201, 5222, 5223, 5228, 5242, 5243, 5246, 5247, 5269, 5280, 5281, 5298, 5310, 5349, 5351,
5353, 5355, 5357, 5358, 5394, 5402, 5405, 5412, 5413, 5417, 5421, 5432, 5433, 5445, 5480, 5481, 5495, 5498, 5499, 5500, 5501, 5517, 5550, 5554, 5555, 5556, 5568, 5601, 5631, 5632,
5656, 5666, 5667, 5670, 5672, 5678, 5683, 5701, 5718, 5719, 5722, 5723, 5724, 5741, 5742, 5800, 5900, 5931, 5938, 5984, 5985, 5986, 5988, 6000, 6001, 6002, 6003, 6004, 6005, 6006,
6007, 6008, 6009, 6010, 6011, 6012, 6013, 6014, 6015, 6016, 6017, 6018, 6019, 6020, 6021, 6022, 6023, 6024, 6025, 6026, 6027, 6028, 6029, 6030, 6031, 6032, 6033, 6034, 6035, 6036,
6037, 6038, 6039, 6040, 6041, 6042, 6043, 6044, 6045, 6046, 6047, 6048, 6049, 6050, 6051, 6052, 6053, 6054, 6055, 6056, 6057, 6058, 6059, 6060, 6061, 6062, 6063, 6086, 6100, 6101,
6110, 6111, 6112, 6113, 6136, 6159, 6200, 6201, 6225, 6227, 6240, 6244, 6255, 6257, 6260, 6262, 6343, 6346, 6347, 6350, 6379, 6389, 6432, 6436, 6437, 6444, 6445, 6463, 6502, 6513,
6514, 6515, 6543, 6556, 6560, 6566, 6571, 6600, 6601, 6602, 6619, 6622, 6653, 6660, 6665, 6679, 6690, 6697, 6699, 6715, 6771, 6783, 6789, 6869, 6881, 6888, 6889, 6891, 6901, 6902,
6969, 6970, 7000, 7001, 7002, 7005, 7006, 7010, 7022, 7023, 7025, 7047, 7070, 7133, 7144, 7145, 7171, 7262, 7272, 7306, 7307, 7312, 7396, 7400, 7401, 7402, 7471, 7473, 7474, 7478,
7542, 7547, 7575, 7624, 7631, 7634, 7652, 7655, 7656, 7670, 7687, 7707, 7717, 7777, 7831, 7880, 7890, 7915, 7935, 7946, 7990, 8000, 8005, 8006, 8007, 8008, 8009, 8042, 8069, 8070,
8074, 8075, 8080, 8088, 8089, 8090, 8091, 8092, 8111, 8112, 8116, 8118, 8123, 8139, 8140, 8172, 8184, 8194, 8200, 8222, 8243, 8245, 8280, 8281, 8291, 8303, 8332, 8333, 8337, 8384,
8388, 8443, 8444, 8484, 8500, 8530, 8531, 8580, 8629, 8642, 8691, 8767, 8834, 8840, 8880, 8883, 8887, 8888, 8889, 8983, 8997, 8998, 8999, 9000, 9001, 9002, 9006, 9030, 9042, 9043,
9050, 9060, 9080, 9090, 9091, 9092, 9100, 9101, 9102, 9103, 9119, 9150, 9191, 9199, 9200, 9217, 9293, 9300, 9303, 9306, 9309, 9312, 9332, 9333, 9339, 9389, 9418, 9419, 9420, 9421,
9422, 9425, 9443, 9535, 9536, 9600, 9675, 9676, 9695, 9785, 9800, 9875, 9898, 9899, 9981, 9982, 9987, 9993, 9997, 9999, 10000, 10001, 10009, 10010, 10024, 10025, 10042, 10050, 10051,
10080, 10110, 10172, 10200, 10201, 10212, 10308, 10480, 10505, 10514, 10823, 10891, 10933, 11001, 11111, 11112, 11211, 11214, 11215, 11235, 11311, 11371, 11753, 12012, 12013, 12035,
12043, 12046, 12201, 12222, 12223, 12345, 12443, 12489, 12975, 13000, 13008, 13075, 13720, 13721, 13724, 13782, 13783, 13785, 13786, 14550, 14567, 15000, 15345, 15441, 15567, 15672,
16000, 16080, 16200, 16225, 16250, 16261, 16300, 16384, 16385, 16386, 16387, 16393, 16394, 16395, 16396, 16397, 16398, 16399, 16400, 16401, 16402, 16403, 16404, 16405, 16406, 16407,
16408, 16409, 16410, 16411, 16412, 16413, 16414, 16415, 16416, 16417, 16418, 16419, 16420, 16421, 16422, 16423, 16424, 16425, 16426, 16427, 16428, 16429, 16430, 16431, 16432, 16433,
16434, 16435, 16436, 16437, 16438, 16439, 16440, 16441, 16442, 16443, 16444, 16445, 16446, 16447, 16448, 16449, 16450, 16451, 16452, 16453, 16454, 16455, 16456, 16457, 16458, 16459,
16460, 16461, 16462, 16463, 16464, 16465, 16466, 16467, 16468, 16469, 16470, 16471, 16472, 16482, 16567, 17011, 17500, 18091, 18092, 18104, 18200, 18201, 18206, 18300, 18301, 18306,
18333, 18400, 18401, 18505, 18506, 18605, 18606, 19000, 19001, 19132, 19150, 19226, 19294, 19295, 19302, 19812, 19813, 19814, 19999, 20000, 20560, 20595, 20808, 21025, 22000, 22136,
22222, 23073, 23399, 23513, 24441, 24444, 24465, 24554, 24800, 24842, 25565, 25575, 25826, 26000, 26900, 27000, 27016, 27017, 27031, 27036, 27037, 27374, 27500, 27888, 27901, 27950,
27960, 28001, 28015, 28770, 28785, 28852, 28910, 28960, 29000, 29070, 29900, 29920, 30564, 31337, 31416, 31438, 31457, 32137, 32400, 32764, 32887, 32976, 33434, 33848, 34000, 34197,
35357, 37008, 40000, 43110, 43594, 44405, 44818, 47001, 47808, 49151];
// From https://github.com/coverslide/node-alea
const AleaModule = function () {
// importState to sync generator states
Alea.importState = function(i){
var random = new Alea();
random.importState(i);
return random;
function randomClipperPort(state, env) {
const startPorts = {
prod: 41184,
dev: 27583,
};
return Alea;
const startPort = env === 'prod' ? startPorts.prod : startPorts.dev;
function Alea() {
return (function(args) {
// Johannes Baagøe <baagoe@baagoe.com>, 2010
var s0 = 0;
var s1 = 0;
var s2 = 0;
var c = 1;
if (args.length === 0) {
args = [+new Date()];
}
var mash = Mash();
s0 = mash(' ');
s1 = mash(' ');
s2 = mash(' ');
for (var i = 0; i < args.length; i++) {
s0 -= mash(args[i]);
if (s0 < 0) {
s0 += 1;
}
s1 -= mash(args[i]);
if (s1 < 0) {
s1 += 1;
}
s2 -= mash(args[i]);
if (s2 < 0) {
s2 += 1;
}
}
mash = null;
var random = function() {
var t = 2091639 * s0 + c * 2.3283064365386963e-10; // 2^-32
s0 = s1;
s1 = s2;
return s2 = t - (c = t | 0);
};
random.uint32 = function() {
return random() * 0x100000000; // 2^32
};
random.fract53 = function() {
return random() +
(random() * 0x200000 | 0) * 1.1102230246251565e-16; // 2^-53
};
random.version = 'Alea 0.9';
random.args = args;
// my own additions to sync state between two generators
random.exportState = function(){
return [s0, s1, s2, c];
};
random.importState = function(i){
s0 = +i[0] || 0;
s1 = +i[1] || 0;
s2 = +i[2] || 0;
c = +i[3] || 0;
};
return random;
} (Array.prototype.slice.call(arguments)));
if (!state) {
state = { offset: 0 };
} else {
state.offset++;
}
function Mash() {
var n = 0xefc8249d;
state.port = startPort + state.offset;
var mash = function(data) {
data = data.toString();
for (var i = 0; i < data.length; i++) {
n += data.charCodeAt(i);
var h = 0.02519603282416938 * n;
n = h >>> 0;
h -= n;
h *= n;
n = h >>> 0;
h -= n;
n += h * 0x100000000; // 2^32
}
return (n >>> 0) * 2.3283064365386963e-10; // 2^-32
};
mash.version = 'Mash 0.9';
return mash;
}
return state;
}
const Alea = AleaModule()
function findClipperPort(state, mode = 'prod') {
const seed = mode === 'prod' ? 1867 : 2001;
const minPort = 1024
const maxPort = 49151
let prng = null;
if (!state) {
prng = new Alea(seed)
state = { prng: prng }
} else {
prng = state.prng;
}
const randomPort = () => {
return minPort + Math.floor(prng() * ((maxPort + 1) - minPort));
}
let port = null;
for (let i = 0; i < maxPort; i++) {
port = randomPort();
if (reservedPorts.indexOf(port) < 0) break;
}
if (!port) throw new Error('Cannot find a non-reserved port');
state.port = port;
return state;
}
module.exports = findClipperPort;
module.exports = randomClipperPort;

View File

@@ -60,6 +60,14 @@ class ElectronAppWrapper {
// Fix: https://github.com/electron-userland/electron-builder/issues/2269
if (shim.isLinux()) windowOptions.icon = __dirname + '/build/icons/128x128.png';
require('electron-context-menu')({
shouldShowMenu: (event, params) => {
// params.inputFieldType === 'none' when right-clicking the text editor. This is a bit of a hack to detect it because in this
// case we don't want to use the built-in context menu but a custom one.
return params.isEditable && params.inputFieldType !== 'none';
},
});
this.win_ = new BrowserWindow(windowOptions)
this.win_.loadURL(url.format({

View File

@@ -11,7 +11,7 @@ class InteropServiceHelper {
if (module.target === 'file') {
path = bridge().showSaveDialog({
filters: [{ name: module.description, extensions: [module.fileExtension]}]
filters: [{ name: module.description, extensions: module.fileExtensions}]
});
} else {
path = bridge().showOpenDialog({

View File

@@ -41,6 +41,7 @@ const appDefaultState = Object.assign({}, defaultState, {
noteVisiblePanes: ['editor', 'viewer'],
sidebarVisibility: true,
windowContentSize: bridge().windowContentSize(),
watchedNoteFiles: [],
});
class Application extends BaseApplication {
@@ -142,6 +143,35 @@ class Application extends BaseApplication {
newState.sidebarVisibility = action.visibility;
break;
case 'NOTE_FILE_WATCHER_ADD':
if (newState.watchedNoteFiles.indexOf(action.id) < 0) {
newState = Object.assign({}, state);
const watchedNoteFiles = newState.watchedNoteFiles.slice();
watchedNoteFiles.push(action.id);
newState.watchedNoteFiles = watchedNoteFiles;
}
break;
case 'NOTE_FILE_WATCHER_REMOVE':
newState = Object.assign({}, state);
const idx = newState.watchedNoteFiles.indexOf(action.id);
if (idx >= 0) {
const watchedNoteFiles = newState.watchedNoteFiles.slice();
watchedNoteFiles.splice(idx, 1);
newState.watchedNoteFiles = watchedNoteFiles;
}
break;
case 'NOTE_FILE_WATCHER_CLEAR':
if (state.watchedNoteFiles.length) {
newState = Object.assign({}, state);
newState.watchedNoteFiles = [];
}
break;
}
} catch (error) {
error.message = 'In reducer: ' + error.message + ' Action: ' + JSON.stringify(action);
@@ -155,7 +185,7 @@ class Application extends BaseApplication {
if (action.type == 'SETTING_UPDATE_ONE' && action.key == 'locale' || action.type == 'SETTING_UPDATE_ALL') {
setLocale(Setting.value('locale'));
// The bridge runs within the main process, with its own instance of locale.js
// so it needs to be set too here.
// so it needs to be set too here.
bridge().setLocale(Setting.value('locale'));
this.refreshMenu();
}
@@ -257,7 +287,7 @@ class Application extends BaseApplication {
if (moduleSource === 'file') {
path = bridge().showOpenDialog({
filters: [{ name: module.description, extensions: [module.fileExtension]}]
filters: [{ name: module.description, extensions: module.fileExtensions}]
});
} else {
path = bridge().showOpenDialog({
@@ -334,7 +364,6 @@ class Application extends BaseApplication {
}
}, {
label: _('New notebook'),
accelerator: 'CommandOrControl+B',
screens: ['Main'],
click: () => {
this.dispatch({
@@ -414,9 +443,30 @@ class Application extends BaseApplication {
name: 'textItalic',
});
},
}, {
label: _('Insert Date Time'),
screens: ['Main'],
visible: false,
accelerator: 'CommandOrControl+Shift+T',
click: () => {
this.dispatch({
type: 'WINDOW_COMMAND',
name: 'insertDateTime',
});
},
}, {
type: 'separator',
screens: ['Main'],
}, {
label: _('Edit in external editor'),
screens: ['Main'],
accelerator: 'CommandOrControl+E',
click: () => {
this.dispatch({
type: 'WINDOW_COMMAND',
name: 'commandStartExternalEditing',
});
},
}, {
label: _('Search in all the notes'),
screens: ['Main'],
@@ -710,6 +760,10 @@ class Application extends BaseApplication {
AlarmService.garbageCollect();
}, 1000 * 60 * 60);
if (Setting.value('startMinimized') && Setting.value('showTrayIcon')) {
bridge().window().hide();
}
ResourceService.runInBackground();
if (Setting.value('env') === 'dev') {

View File

@@ -87,6 +87,7 @@ class Bridge {
const result = this.showMessageBox_(this.window(), {
type: 'question',
message: message,
cancelId: 1,
buttons: [_('OK'), _('Cancel')],
});
return result === 0;

File diff suppressed because one or more lines are too long

View File

@@ -63,6 +63,7 @@ class ConfigScreenComponent extends React.Component {
color: theme.colorFaded,
marginTop: 5,
fontStyle: 'italic',
maxWidth: '70em',
});
const updateSettingValue = (key, value) => {
@@ -148,6 +149,10 @@ class ConfigScreenComponent extends React.Component {
return output;
}
onApplyClick() {
shared.saveSettings(this);
}
onSaveClick() {
shared.saveSettings(this);
this.props.dispatch({ type: 'NAV_BACK' });
@@ -203,8 +208,9 @@ class ConfigScreenComponent extends React.Component {
{_('Notes and settings are stored in: %s', pathUtils.toSystemSlashes(Setting.value('profileDir'), process.platform))}
</div>
{ settingComps }
<button onClick={() => {this.onSaveClick()}} style={buttonStyle}>{_('Save')}</button>
<button onClick={() => {this.onSaveClick()}} style={buttonStyle}>{_('OK')}</button>
<button onClick={() => {this.onCancelClick()}} style={buttonStyle}>{_('Cancel')}</button>
<button onClick={() => {this.onApplyClick()}} style={buttonStyle}>{_('Apply')}</button>
</div>
</div>
);

View File

@@ -35,6 +35,7 @@ class HeaderComponent extends React.Component {
this.search_onClear = (event) => {
this.setState({ searchQuery: '' });
triggerOnQuery('');
if (this.searchElement_) this.searchElement_.focus();
}
}

View File

@@ -59,7 +59,7 @@ class ImportScreenComponent extends React.Component {
async doImport() {
const filePath = this.props.filePath;
const folderTitle = await Folder.findUniqueFolderTitle(filename(filePath));
const folderTitle = await Folder.findUniqueItemTitle(filename(filePath));
const messages = this.state.messages.slice();
this.addMessage('start', _('New notebook "%s" will be created and file "%s" will be imported into it', folderTitle, basename(filePath)));

View File

@@ -5,6 +5,7 @@ const { SideBar } = require('./SideBar.min.js');
const { NoteList } = require('./NoteList.min.js');
const { NoteText } = require('./NoteText.min.js');
const { PromptDialog } = require('./PromptDialog.min.js');
const NotePropertiesDialog = require('./NotePropertiesDialog.min.js');
const Setting = require('lib/models/Setting.js');
const BaseModel = require('lib/BaseModel.js');
const Tag = require('lib/models/Tag.js');
@@ -19,13 +20,24 @@ const eventManager = require('../eventManager');
class MainScreenComponent extends React.Component {
constructor() {
super();
this.notePropertiesDialog_close = this.notePropertiesDialog_close.bind(this);
}
notePropertiesDialog_close() {
this.setState({ notePropertiesDialogOptions: {} });
}
componentWillMount() {
this.setState({
promptOptions: null,
modalLayer: {
visible: false,
message: '',
}
},
notePropertiesDialogOptions: {},
});
}
@@ -189,6 +201,13 @@ class MainScreenComponent extends React.Component {
});
}
} else if (command.name === 'commandNoteProperties') {
this.setState({
notePropertiesDialogOptions: {
noteId: command.noteId,
visible: true,
},
});
} else if (command.name === 'toggleVisiblePanes') {
this.toggleVisiblePanes();
} else if (command.name === 'toggleSidebar') {
@@ -412,10 +431,19 @@ class MainScreenComponent extends React.Component {
const modalLayerStyle = Object.assign({}, styles.modalLayer, { display: this.state.modalLayer.visible ? 'block' : 'none' });
const notePropertiesDialogOptions = this.state.notePropertiesDialogOptions;
return (
<div style={style}>
<div style={modalLayerStyle}>{this.state.modalLayer.message}</div>
<NotePropertiesDialog
theme={this.props.theme}
noteId={notePropertiesDialogOptions.noteId}
visible={!!notePropertiesDialogOptions.visible}
onClose={this.notePropertiesDialog_close}
/>
<PromptDialog
autocomplete={promptOptions && ('autocomplete' in promptOptions) ? promptOptions.autocomplete : null}
defaultValue={promptOptions && promptOptions.value ? promptOptions.value : ''}
@@ -427,6 +455,7 @@ class MainScreenComponent extends React.Component {
visible={!!this.state.promptOptions}
buttons={promptOptions && ('buttons' in promptOptions) ? promptOptions.buttons : null}
inputType={promptOptions && ('inputType' in promptOptions) ? promptOptions.inputType : null} />
<Header style={styles.header} showBackButton={false} items={headerItems} />
{messageComp}
<SideBar style={styles.sideBar} />

View File

@@ -88,6 +88,15 @@ class NoteListComponent extends React.Component {
});
}}));
menu.append(new MenuItem({label: _('Duplicate'), click: async () => {
for (let i = 0; i < noteIds.length; i++) {
const note = await Note.load(noteIds[i]);
await Note.duplicate(noteIds[i], {
uniqueTitle: _('%s - Copy', note.title),
});
}
}}));
menu.append(new MenuItem({label: _('Switch between note and to-do type'), click: async () => {
for (let i = 0; i < noteIds.length; i++) {
const note = await Note.load(noteIds[i]);
@@ -119,6 +128,13 @@ class NoteListComponent extends React.Component {
}}));
}
exportMenu.append(new MenuItem({ label: 'PDF - ' + _('PDF File') , click: () => {
this.props.dispatch({
type: 'WINDOW_COMMAND',
name: 'exportPdf',
});
}}));
const exportMenuItem = new MenuItem({label: _('Export'), submenu: exportMenu});
menu.append(exportMenuItem);

View File

@@ -0,0 +1,364 @@
const React = require('react');
const { connect } = require('react-redux');
const { _ } = require('lib/locale.js');
const moment = require('moment');
const { themeStyle } = require('../theme.js');
const { time } = require('lib/time-utils.js');
const Datetime = require('react-datetime');
const Note = require('lib/models/Note');
const formatcoords = require('formatcoords');
const { bridge } = require('electron').remote.require('./bridge');
class NotePropertiesDialog extends React.Component {
constructor() {
super();
this.okButton_click = this.okButton_click.bind(this);
this.cancelButton_click = this.cancelButton_click.bind(this);
this.state = {
formNote: null,
editedKey: null,
editedValue: null,
visible: false,
};
this.keyToLabel_ = {
id: _('ID'),
user_created_time: _('Created'),
user_updated_time: _('Updated'),
location: _('Location'),
source_url: _('URL'),
};
}
componentWillReceiveProps(newProps) {
if ('visible' in newProps && newProps.visible !== this.state.visible) {
this.setState({ visible: newProps.visible });
}
if ('noteId' in newProps) {
this.loadNote(newProps.noteId);
}
}
async loadNote(noteId) {
if (!noteId) {
this.setState({ formNote: null });
} else {
const note = await Note.load(noteId);
const formNote = this.noteToFormNote(note);
this.setState({ formNote: formNote });
}
}
latLongFromLocation(location) {
const o = {};
const l = location.split(',');
if (l.length == 2) {
o.latitude = l[0].trim();
o.longitude = l[1].trim();
} else {
o.latitude = '';
o.longitude = '';
}
return o;
}
noteToFormNote(note) {
const formNote = {};
formNote.user_updated_time = time.formatMsToLocal(note.user_updated_time);
formNote.user_created_time = time.formatMsToLocal(note.user_created_time);
formNote.source_url = note.source_url;
formNote.location = '';
if (Number(note.latitude) || Number(note.longitude)) {
formNote.location = note.latitude + ', ' + note.longitude;
}
formNote.id = note.id;
return formNote;
}
formNoteToNote(formNote) {
const note = Object.assign({ id: formNote.id }, this.latLongFromLocation(formNote.location));
note.user_created_time = time.formatLocalToMs(formNote.user_created_time);
note.user_updated_time = time.formatLocalToMs(formNote.user_updated_time);
note.source_url = formNote.source_url;
return note;
}
styles(themeId) {
const styleKey = themeId;
if (styleKey === this.styleKey_) return this.styles_;
const theme = themeStyle(themeId);
this.styles_ = {};
this.styleKey_ = styleKey;
this.styles_.modalLayer = {
zIndex: 9999,
display: 'flex',
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
backgroundColor: 'rgba(0,0,0,0.6)',
alignItems: 'flex-start',
justifyContent: 'center',
};
this.styles_.dialogBox = {
backgroundColor: 'white',
padding: 16,
boxShadow: '6px 6px 20px rgba(0,0,0,0.5)',
marginTop: 20,
}
this.styles_.controlBox = {
marginBottom: '1em',
};
this.styles_.button = {
minWidth: theme.buttonMinWidth,
minHeight: theme.buttonMinHeight,
marginLeft: 5,
};
this.styles_.editPropertyButton = {
color: theme.color,
textDecoration: 'none',
};
this.styles_.dialogTitle = Object.assign({}, theme.h1Style, { marginBottom: '1.2em' });
return this.styles_;
}
async closeDialog(applyChanges) {
if (applyChanges) {
await this.saveProperty();
const note = this.formNoteToNote(this.state.formNote);
note.updated_time = Date.now();
await Note.save(note, { autoTimestamp: false });
} else {
await this.cancelProperty();
}
this.setState({
visible: false,
});
if (this.props.onClose) {
this.props.onClose();
}
}
okButton_click() {
this.closeDialog(true);
}
cancelButton_click() {
this.closeDialog(false);
}
editPropertyButtonClick(key, initialValue) {
this.setState({
editedKey: key,
editedValue: initialValue,
});
setTimeout(() => {
if (this.refs.editField.openCalendar) {
this.refs.editField.openCalendar();
} else {
this.refs.editField.focus();
}
}, 100);
}
async saveProperty() {
if (!this.state.editedKey) return;
return new Promise((resolve, reject) => {
const newFormNote = Object.assign({}, this.state.formNote);
if (this.state.editedKey.indexOf('_time') >= 0) {
const dt = time.anythingToDateTime(this.state.editedValue, new Date());
newFormNote[this.state.editedKey] = time.formatMsToLocal(dt.getTime());
} else {
newFormNote[this.state.editedKey] = this.state.editedValue;
}
this.setState({
formNote: newFormNote,
editedKey: null,
editedValue: null
}, () => { resolve() });
});
}
async cancelProperty() {
return new Promise((resolve, reject) => {
this.setState({
editedKey: null,
editedValue: null
}, () => { resolve() });
});
}
createNoteField(key, value) {
const styles = this.styles(this.props.theme);
const theme = themeStyle(this.props.theme);
const labelComp = <label style={Object.assign({}, theme.textStyle, {marginRight: '1em', width: '6em', display:'inline-block', fontWeight: 'bold'})}>{this.formatLabel(key)}</label>;
let controlComp = null;
let editComp = null;
let editCompHandler = null;
let editCompIcon = null;
const onKeyDown = (event) => {
if (event.keyCode === 13) {
this.saveProperty();
} else if (event.keyCode === 27) {
this.cancelProperty();
}
}
if (this.state.editedKey === key) {
if (key.indexOf('_time') >= 0) {
controlComp = <Datetime
ref="editField"
defaultValue={value}
dateFormat={time.dateFormat()}
timeFormat={time.timeFormat()}
inputProps={{
onKeyDown: (event) => onKeyDown(event, key)
}}
onChange={(momentObject) => {this.setState({ editedValue: momentObject })}}
/>
editCompHandler = () => {this.saveProperty()};
editCompIcon = 'fa-save';
} else {
controlComp = <input
defaultValue={value}
type="text"
ref="editField"
onChange={(event) => {this.setState({ editedValue: event.target.value })}}
onKeyDown={(event) => onKeyDown(event)}
style={{display:'inline-block'}}
/>
}
} else {
let displayedValue = value;
if (key === 'location') {
try {
const dms = formatcoords(value);
displayedValue = dms.format('DDMMss', { decimalPlaces: 0 });
} catch (error) {
displayedValue = '';
}
}
if (['source_url', 'location'].indexOf(key) >= 0) {
let url = '';
if (key === 'source_url') url = value;
if (key === 'location') {
const ll = this.latLongFromLocation(value);
url = Note.geoLocationUrlFromLatLong(ll.latitude, ll.longitude);
}
controlComp = <a href="#" onClick={() => bridge().openExternal(url)} style={theme.urlStyle}>{displayedValue}</a>
} else {
controlComp = <div style={Object.assign({}, theme.textStyle, {display: 'inline-block'})}>{displayedValue}</div>
}
if (key !== 'id') {
editCompHandler = () => {this.editPropertyButtonClick(key, value)};
editCompIcon = 'fa-edit';
}
}
if (editCompHandler) {
editComp = (
<a href="#" onClick={editCompHandler} style={styles.editPropertyButton}>
<i className={'fa ' + editCompIcon} aria-hidden="true" style={{ marginLeft: '.5em'}}></i>
</a>
);
}
return (
<div key={key} style={this.styles_.controlBox} className="note-property-box">
{ labelComp }
{ controlComp }
{ editComp }
</div>
);
}
formatLabel(key) {
if (this.keyToLabel_[key]) return this.keyToLabel_[key];
return key;
}
formatValue(key, note) {
if (key === 'location') {
if (!Number(note.latitude) && !Number(note.longitude)) return null;
const dms = formatcoords(Number(note.latitude), Number(note.longitude))
return dms.format('DDMMss', { decimalPlaces: 0 });
}
if (['user_updated_time', 'user_created_time'].indexOf(key) >= 0) {
return time.formatMsToLocal(note[key]);
}
return note[key];
}
render() {
const style = this.props.style;
const theme = themeStyle(this.props.theme);
const styles = this.styles(this.props.theme);
const formNote = this.state.formNote;
const buttonComps = [];
buttonComps.push(<button key="ok" style={styles.button} onClick={this.okButton_click}>{_('Apply')}</button>);
buttonComps.push(<button key="cancel" style={styles.button} onClick={this.cancelButton_click}>{_('Cancel')}</button>);
const noteComps = [];
const modalLayerStyle = Object.assign({}, styles.modalLayer);
if (!this.state.visible) modalLayerStyle.display = 'none';
if (formNote) {
for (let key in formNote) {
if (!formNote.hasOwnProperty(key)) continue;
const comp = this.createNoteField(key, formNote[key]);
noteComps.push(comp);
}
}
return (
<div style={modalLayerStyle}>
<div style={styles.dialogBox}>
<div style={styles.dialogTitle}>Note properties</div>
<div>{noteComps}</div>
<div style={{ textAlign: 'right', marginTop: 10 }}>
{buttonComps}
</div>
</div>
</div>
);
}
}
module.exports = NotePropertiesDialog;

View File

@@ -20,13 +20,15 @@ const MenuItem = bridge().MenuItem;
const { shim } = require('lib/shim.js');
const eventManager = require('../eventManager');
const fs = require('fs-extra');
const {clipboard} = require('electron')
const md5 = require('md5');
const mimeUtils = require('lib/mime-utils.js').mime;
const ArrayUtils = require('lib/ArrayUtils');
const urlUtils = require('lib/urlUtils');
const dialogs = require('./dialogs');
const markdownUtils = require('lib/markdownUtils');
const ExternalEditWatcher = require('lib/services/ExternalEditWatcher');
const { toSystemSlashes, safeFilename } = require('lib/path-utils');
const { clipboard } = require('electron');
require('brace/mode/markdown');
// https://ace.c9.io/build/kitchen-sink.html
@@ -66,6 +68,7 @@ class NoteTextComponent extends React.Component {
this.restoreScrollTop_ = null;
this.lastSetHtml_ = '';
this.lastSetMarkers_ = [];
this.selectionRange_ = null;
// Complicated but reliable method to get editor content height
// https://github.com/ajaxorg/ace/issues/2046
@@ -84,13 +87,14 @@ class NoteTextComponent extends React.Component {
this.onNoteTypeToggle_ = (event) => { if (event.noteId === this.props.noteId) this.reloadNote(this.props); }
this.onTodoToggle_ = (event) => { if (event.noteId === this.props.noteId) this.reloadNote(this.props); }
this.onEditorPaste_ = async (event) => {
this.onEditorPaste_ = async (event = null) => {
const formats = clipboard.availableFormats();
for (let i = 0; i < formats.length; i++) {
const format = formats[i].toLowerCase();
const formatType = format.split('/')[0]
if (formatType === 'image') {
event.preventDefault();
if (event) event.preventDefault();
const image = clipboard.readImage();
@@ -111,8 +115,47 @@ class NoteTextComponent extends React.Component {
this.setState({ lastKeys: lastKeys });
}
this.onEditorContextMenu_ = (event) => {
const menu = new Menu();
const selectedText = this.selectedText();
const clipboardText = clipboard.readText();
menu.append(new MenuItem({label: _('Cut'), enabled: !!selectedText, click: async () => {
this.editorCutText();
}}));
menu.append(new MenuItem({label: _('Copy'), enabled: !!selectedText, click: async () => {
this.editorCopyText();
}}));
menu.append(new MenuItem({label: _('Paste'), enabled: true, click: async () => {
if (clipboardText) {
this.editorPasteText();
} else {
// To handle pasting images
this.onEditorPaste_();
}
}}));
menu.popup(bridge().window());
}
this.onDrop_ = async (event) => {
const files = event.dataTransfer.files;
const dt = event.dataTransfer;
if (dt.types.indexOf("text/x-jop-note-ids") >= 0) {
const noteIds = JSON.parse(dt.getData("text/x-jop-note-ids"));
const linkText = [];
for (let i = 0; i < noteIds.length; i++) {
const note = await Note.load(noteIds[i]);
linkText.push(Note.markdownTag(note));
}
this.wrapSelectionWithStrings("", "", '', linkText.join('\n'));
}
const files = dt.files;
if (!files || !files.length) return;
const filesToAttach = [];
@@ -127,11 +170,12 @@ class NoteTextComponent extends React.Component {
}
const updateSelectionRange = () => {
const ranges = this.rawEditor().getSelection().getAllRanges();
if (!ranges || !ranges.length || !this.state.note) {
this.setState({ selectionRange: null });
this.selectionRange_ = null;
} else {
this.setState({ selectionRange: ranges[0] });
this.selectionRange_ = ranges[0];
}
}
@@ -142,20 +186,32 @@ class NoteTextComponent extends React.Component {
this.aceEditor_focus = (event) => {
updateSelectionRange();
}
this.externalEditWatcher_noteChange = (event) => {
if (!this.state.note || !this.state.note.id) return;
if (event.id === this.state.note.id) {
this.reloadNote(this.props);
}
}
}
// Note:
// - What's called "cursor position" is expressed as { row: x, column: y } and is how Ace Editor get/set the cursor position
// - A "range" defines a selection with a start and end cusor position, expressed as { start: <CursorPos>, end: <CursorPos> }
// - A "text offset" below is the absolute position of the cursor in the string, as would be used in the indexOf() function.
// The functions below are used to convert between the different types.
rangeToTextOffsets(range, body) {
return {
start: this.cursorPositionToTextOffsets(range.start, body),
end: this.cursorPositionToTextOffsets(range.end, body),
start: this.cursorPositionToTextOffset(range.start, body),
end: this.cursorPositionToTextOffset(range.end, body),
};
}
cursorPosition() {
return this.cursorPositionToTextOffsets(this.editor_.editor.getCursorPosition(), this.state.note.body);
currentTextOffset() {
return this.cursorPositionToTextOffset(this.editor_.editor.getCursorPosition(), this.state.note.body);
}
cursorPositionToTextOffsets(cursorPos, body) {
cursorPositionToTextOffset(cursorPos, body) {
if (!this.editor_ || !this.editor_.editor || !this.state.note || !this.state.note.body) return 0;
const noteLines = body.split('\n');
@@ -172,7 +228,25 @@ class NoteTextComponent extends React.Component {
}
}
return pos;
return pos;
}
textOffsetToCursorPosition(offset, body) {
const lines = body.split('\n');
let row = 0;
let currentOffset = 0;
for (let i = 0; i < lines.length; i++) {
const line = lines[i];
if (currentOffset + line.length >= offset) {
return {
row: row,
column: offset - currentOffset,
}
}
row++;
currentOffset += line.length + 1;
}
}
mdToHtml() {
@@ -219,6 +293,8 @@ class NoteTextComponent extends React.Component {
eventManager.removeListener('alarmChange', this.onAlarmChange_);
eventManager.removeListener('noteTypeToggle', this.onNoteTypeToggle_);
eventManager.removeListener('todoToggle', this.onTodoToggle_);
this.destroyExternalEditWatcher();
}
async saveIfNeeded(saveIfNewNote = false) {
@@ -230,6 +306,8 @@ class NoteTextComponent extends React.Component {
if (!shared.isModified(this)) return;
}
await shared.saveNoteButton_press(this);
this.externalEditWatcherUpdateNoteFile(this.state.note);
}
async saveOneProperty(name, value) {
@@ -267,6 +345,7 @@ class NoteTextComponent extends React.Component {
if (props.newNote) {
note = Object.assign({}, props.newNote);
this.lastLoadedNoteId_ = null;
this.externalEditWatcherStopWatchingAll();
} else {
noteId = props.noteId;
loadingNewNote = stateNoteId !== noteId;
@@ -292,6 +371,8 @@ class NoteTextComponent extends React.Component {
// Scroll back to top when loading new note
if (loadingNewNote) {
this.externalEditWatcherStopWatchingAll();
this.editorMaxScrollTop_ = 0;
// HACK: To go around a bug in Ace editor, we first set the scroll position to 1
@@ -301,9 +382,8 @@ class NoteTextComponent extends React.Component {
this.editorSetScrollTop(1);
this.restoreScrollTop_ = 0;
// If a search is in progress we don't focus any field otherwise it will
// take the focus out of the search box.
if (note && this.props.notesParentType !== 'Search') {
// Only force focus on notes when creating a new note/todo
if (this.props.newNote) {
const focusSettingName = !!note.is_todo ? 'newTodoFocus' : 'newNoteFocus';
if (Setting.value(focusSettingName) === 'title') {
@@ -426,7 +506,7 @@ class NoteTextComponent extends React.Component {
const menu = new Menu()
if (itemType === "image" || itemType === "link") {
if (itemType === "image" || itemType === "resource") {
const resource = await Resource.load(arg0.resourceId);
const resourcePath = Resource.fullPath(resource);
@@ -444,10 +524,16 @@ class NoteTextComponent extends React.Component {
}}));
menu.append(new MenuItem({label: _('Copy path to clipboard'), click: async () => {
const { clipboard } = require('electron');
const { toSystemSlashes } = require('lib/path-utils.js');
clipboard.writeText(toSystemSlashes(resourcePath));
}}));
} else if (itemType === "text") {
menu.append(new MenuItem({label: _('Copy'), click: async () => {
clipboard.writeText(arg0.textToCopy);
}}));
} else if (itemType === "link") {
menu.append(new MenuItem({label: _('Copy Link Address'), click: async () => {
clipboard.writeText(arg0.textToCopy);
}}));
} else {
reg.logger().error('Unhandled item type: ' + itemType);
return;
@@ -546,6 +632,7 @@ class NoteTextComponent extends React.Component {
this.editor_.editor.renderer.off('afterRender', this.onAfterEditorRender_);
document.querySelector('#note-editor').removeEventListener('paste', this.onEditorPaste_, true);
document.querySelector('#note-editor').removeEventListener('keydown', this.onEditorKeyDown_);
document.querySelector('#note-editor').removeEventListener('contextmenu', this.onEditorContextMenu_);
}
this.editor_ = element;
@@ -557,8 +644,8 @@ class NoteTextComponent extends React.Component {
const letters = ['F', 'T', 'P', 'Q', 'L', ','];
for (let i = 0; i < letters.length; i++) {
const l = letters[i];
cancelledKeys.push('Ctrl+' + l);
cancelledKeys.push('Command+' + l);
cancelledKeys.push('Ctrl+' + l);
cancelledKeys.push('Command+' + l);
}
for (let i = 0; i < cancelledKeys.length; i++) {
@@ -574,6 +661,19 @@ class NoteTextComponent extends React.Component {
document.querySelector('#note-editor').addEventListener('paste', this.onEditorPaste_, true);
document.querySelector('#note-editor').addEventListener('keydown', this.onEditorKeyDown_);
document.querySelector('#note-editor').addEventListener('contextmenu', this.onEditorContextMenu_);
const lineLeftSpaces = function(line) {
let output = '';
for (let i = 0; i < line.length; i++) {
if ([' ', '\t'].indexOf(line[i]) >= 0) {
output += line[i];
} else {
break;
}
}
return output;
}
// Disable Markdown auto-completion (eg. auto-adding a dash after a line with a dash.
// https://github.com/ajaxorg/ace/issues/2754
@@ -582,12 +682,15 @@ class NoteTextComponent extends React.Component {
const ls = that.state.lastKeys;
if (ls.length >= 2 && ls[ls.length - 1] === 'Enter' && ls[ls.length - 2] === 'Enter') return this.$getIndent(line);
if (line.indexOf('- [ ] ') === 0 || line.indexOf('- [x] ') === 0 || line.indexOf('- [X] ') === 0) return '- [ ] ';
if (line.indexOf('- ') === 0) return '- ';
if (line.indexOf('* ') === 0) return '* ';
const leftSpaces = lineLeftSpaces(line);
const lineNoLeftSpaces = line.trimLeft();
const bulletNumber = markdownUtils.olLineNumber(line);
if (bulletNumber) return (bulletNumber + 1) + '. ';
if (lineNoLeftSpaces.indexOf('- [ ] ') === 0 || lineNoLeftSpaces.indexOf('- [x] ') === 0 || lineNoLeftSpaces.indexOf('- [X] ') === 0) return leftSpaces + '- [ ] ';
if (lineNoLeftSpaces.indexOf('- ') === 0) return leftSpaces + '- ';
if (lineNoLeftSpaces.indexOf('* ') === 0 && line.trim() !== '* * *') return leftSpaces + '* ';
const bulletNumber = markdownUtils.olLineNumber(lineNoLeftSpaces);
if (bulletNumber) return leftSpaces + (bulletNumber + 1) + '. ';
return this.$getIndent(line);
};
@@ -647,10 +750,18 @@ class NoteTextComponent extends React.Component {
updateHtml(body = null) {
const mdOptions = {
onResourceLoaded: () => {
this.updateHtml();
this.forceUpdate();
if (this.resourceLoadedTimeoutId_) {
clearTimeout(this.resourceLoadedTimeoutId_);
this.resourceLoadedTimeoutId_ = null;
}
this.resourceLoadedTimeoutId_ = setTimeout(() => {
this.resourceLoadedTimeoutId_ = null;
this.updateHtml();
this.forceUpdate();
}, 100);
},
postMessageSyntax: 'ipcRenderer.sendToHost',
postMessageSyntax: 'ipcProxySendToHost',
};
const theme = themeStyle(this.props.theme);
@@ -672,13 +783,14 @@ class NoteTextComponent extends React.Component {
}
async doCommand(command) {
if (!command) return;
if (!command || !this.state.note) return;
let commandProcessed = true;
if (command.name === 'exportPdf' && this.webview_) {
const path = bridge().showSaveDialog({
filters: [{ name: _('PDF File'), extensions: ['pdf']}]
filters: [{ name: _('PDF File'), extensions: ['pdf']}],
defaultPath: safeFilename(this.state.note.title),
});
if (path) {
@@ -696,6 +808,10 @@ class NoteTextComponent extends React.Component {
this.commandTextBold();
} else if (command.name === 'textItalic') {
this.commandTextItalic();
} else if (command.name === 'insertDateTime' ) {
this.commandDateTime();
} else if (command.name === 'commandStartExternalEditing') {
this.commandStartExternalEditing();
} else {
commandProcessed = false;
}
@@ -719,7 +835,7 @@ class NoteTextComponent extends React.Component {
await this.saveIfNeeded(true);
let note = await Note.load(this.state.note.id);
const position = this.cursorPosition();
const position = this.currentTextOffset();
for (let i = 0; i < filePaths.length; i++) {
const filePath = filePaths[i];
@@ -750,6 +866,44 @@ class NoteTextComponent extends React.Component {
});
}
externalEditWatcher() {
if (!this.externalEditWatcher_) {
this.externalEditWatcher_ = new ExternalEditWatcher((action) => { return this.props.dispatch(action) });
this.externalEditWatcher_.setLogger(reg.logger());
this.externalEditWatcher_.on('noteChange', this.externalEditWatcher_noteChange);
}
return this.externalEditWatcher_;
}
externalEditWatcherUpdateNoteFile(note) {
if (this.externalEditWatcher_) this.externalEditWatcher().updateNoteFile(note);
}
externalEditWatcherStopWatchingAll() {
if (this.externalEditWatcher_) this.externalEditWatcher().stopWatchingAll();
}
destroyExternalEditWatcher() {
if (!this.externalEditWatcher_) return;
this.externalEditWatcher_.off('noteChange', this.externalEditWatcher_noteChange);
this.externalEditWatcher_.stopWatchingAll();
this.externalEditWatcher_ = null;
}
async commandStartExternalEditing() {
try {
await this.externalEditWatcher().openAndWatch(this.state.note);
} catch (error) {
bridge().showErrorMessageBox(_('Error opening note in editor: %s', error.message));
}
}
async commandStopExternalEditing() {
this.externalEditWatcherStopWatchingAll();
}
async commandSetTags() {
await this.saveIfNeeded(true);
@@ -780,60 +934,116 @@ class NoteTextComponent extends React.Component {
return lines[row];
}
selectedText() {
if (!this.state.note || !this.state.note.body) return '';
const selection = this.textOffsetSelection();
if (!selection || selection.start === selection.end) return '';
return this.state.note.body.substr(selection.start, selection.end - selection.start);
}
editorCopyText() {
clipboard.writeText(this.selectedText());
}
editorCutText() {
const selectedText = this.selectedText();
if (!selectedText) return;
clipboard.writeText(selectedText);
const s = this.textOffsetSelection();
if (!s || s.start === s.end) return '';
const s1 = this.state.note.body.substr(0, s.start);
const s2 = this.state.note.body.substr(s.end);
shared.noteComponent_change(this, 'body', s1 + s2);
this.updateEditorWithDelay((editor) => {
const range = this.selectionRange_;
range.setStart(range.start.row, range.start.column);
range.setEnd(range.start.row, range.start.column);
editor.getSession().getSelection().setSelectionRange(range, false);
editor.focus();
}, 10);
}
editorPasteText() {
const s = this.textOffsetSelection();
const s1 = this.state.note.body.substr(0, s.start);
const s2 = this.state.note.body.substr(s.end);
this.wrapSelectionWithStrings("", "", '', clipboard.readText());
}
selectionRangePreviousLine() {
if (!this.state.selectionRange) return '';
const row = this.state.selectionRange.start.row;
if (!this.selectionRange_) return '';
const row = this.selectionRange_.start.row;
return this.lineAtRow(row - 1);
}
selectionRangeCurrentLine() {
if (!this.state.selectionRange) return '';
const row = this.state.selectionRange.start.row;
if (!this.selectionRange_) return '';
const row = this.selectionRange_.start.row;
return this.lineAtRow(row);
}
wrapSelectionWithStrings(string1, string2 = '', defaultText = '') {
textOffsetSelection() {
return this.selectionRange_ ? this.rangeToTextOffsets(this.selectionRange_, this.state.note.body) : null;
}
wrapSelectionWithStrings(string1, string2 = '', defaultText = '', replacementText = '') {
if (!this.rawEditor() || !this.state.note) return;
const selection = this.state.selectionRange ? this.rangeToTextOffsets(this.state.selectionRange, this.state.note.body) : null;
const selection = this.textOffsetSelection();
let newBody = this.state.note.body;
if (selection && selection.start !== selection.end) {
const s1 = this.state.note.body.substr(0, selection.start);
const s2 = this.state.note.body.substr(selection.start, selection.end - selection.start);
const s2 = replacementText ? replacementText : this.state.note.body.substr(selection.start, selection.end - selection.start);
const s3 = this.state.note.body.substr(selection.end);
newBody = s1 + string1 + s2 + string2 + s3;
const r = this.state.selectionRange;
const r = this.selectionRange_;
const newRange = {
start: { row: r.start.row, column: r.start.column + string1.length},
end: { row: r.end.row, column: r.end.column + string1.length},
};
if (replacementText) {
const diff = replacementText.length - (selection.end - selection.start);
newRange.end.column += diff;
}
this.updateEditorWithDelay((editor) => {
const range = this.state.selectionRange;
const range = this.selectionRange_;
range.setStart(newRange.start.row, newRange.start.column);
range.setEnd(newRange.end.row, newRange.end.column);
editor.getSession().getSelection().setSelectionRange(range, false);
editor.focus();
});
} else {
const cursorPos = this.cursorPosition();
const s1 = this.state.note.body.substr(0, cursorPos);
const s2 = this.state.note.body.substr(cursorPos);
newBody = s1 + string1 + defaultText + string2 + s2;
let middleText = replacementText ? replacementText : defaultText;
const textOffset = this.currentTextOffset();
const s1 = this.state.note.body.substr(0, textOffset);
const s2 = this.state.note.body.substr(textOffset);
newBody = s1 + string1 + middleText + string2 + s2;
const r = this.state.selectionRange;
const newRange = !r ? null : {
start: { row: r.start.row, column: r.start.column + string1.length },
end: { row: r.end.row, column: r.start.column + string1.length + defaultText.length },
const p = this.textOffsetToCursorPosition(textOffset + string1.length, newBody);
const newRange = {
start: { row: p.row, column: p.column },
end: { row: p.row, column: p.column + middleText.length },
};
// BUG!! If replacementText contains newline characters, the logic
// to select the new text will not work.
this.updateEditorWithDelay((editor) => {
if (defaultText && newRange) {
const range = this.state.selectionRange;
if (middleText && newRange) {
const range = this.selectionRange_;
range.setStart(newRange.start.row, newRange.start.column);
range.setEnd(newRange.end.row, newRange.end.column);
editor.getSession().getSelection().setSelectionRange(range, false);
@@ -848,6 +1058,7 @@ class NoteTextComponent extends React.Component {
shared.noteComponent_change(this, 'body', newBody);
this.scheduleHtmlUpdate();
this.scheduleSave();
}
commandTextBold() {
@@ -858,30 +1069,34 @@ class NoteTextComponent extends React.Component {
this.wrapSelectionWithStrings('*', '*', _('emphasized text'));
}
commandDateTime() {
this.wrapSelectionWithStrings(time.formatMsToLocal(new Date().getTime()));
}
commandTextCode() {
this.wrapSelectionWithStrings('`', '`');
}
addListItem(item) {
addListItem(string1, string2 = '', defaultText = '') {
const currentLine = this.selectionRangeCurrentLine();
let newLine = '\n'
if (!currentLine) newLine = '';
this.wrapSelectionWithStrings(newLine + item);
this.wrapSelectionWithStrings(newLine + string1, string2, defaultText);
}
commandTextCheckbox() {
this.addListItem('- [ ] ');
this.addListItem('- [ ] ', '', _('List item'));
}
commandTextListUl() {
this.addListItem('- ');
this.addListItem('- ', '', _('List item'));
}
commandTextListOl() {
let bulletNumber = markdownUtils.olLineNumber(this.selectionRangeCurrentLine());
if (!bulletNumber) bulletNumber = markdownUtils.olLineNumber(this.selectionRangePreviousLine());
if (!bulletNumber) bulletNumber = 0;
this.addListItem((bulletNumber + 1) + '. ');
this.addListItem((bulletNumber + 1) + '. ', '', _('List item'));
}
commandTextHeading() {
@@ -946,11 +1161,30 @@ class NoteTextComponent extends React.Component {
type: 'separator',
});
toolbarItems.push({
tooltip: _('Note properties'),
iconName: 'fa-info-circle',
onClick: () => {
const n = this.state.note;
if (!n || !n.id) return;
this.props.dispatch({
type: 'WINDOW_COMMAND',
name: 'commandNoteProperties',
noteId: n.id,
});
},
});
toolbarItems.push({
type: 'separator',
});
toolbarItems.push({
tooltip: _('Hyperlink'),
iconName: 'fa-link',
onClick: () => { return this.commandTextLink(); },
});
});
toolbarItems.push({
tooltip: _('Code'),
@@ -998,10 +1232,31 @@ class NoteTextComponent extends React.Component {
onClick: () => { return this.commandTextHorizontalRule(); },
});
toolbarItems.push({
tooltip: _('Insert Date Time'),
iconName: 'fa-calendar-plus-o',
onClick: () => { return this.commandDateTime(); },
});
toolbarItems.push({
type: 'separator',
});
if (note && this.props.watchedNoteFiles.indexOf(note.id) >= 0) {
toolbarItems.push({
tooltip: _('Click to stop external editing'),
title: _('Watching...'),
iconName: 'fa-external-link',
onClick: () => { return this.commandStopExternalEditing(); },
});
} else {
toolbarItems.push({
tooltip: _('Edit in external editor'),
iconName: 'fa-external-link',
onClick: () => { return this.commandStartExternalEditing(); },
});
}
toolbarItems.push({
tooltip: _('Tags'),
iconName: 'fa-tags',
@@ -1163,8 +1418,9 @@ class NoteTextComponent extends React.Component {
const viewer = <webview
style={viewerStyle}
nodeintegration="1"
preload="gui/note-viewer/preload.js"
src="gui/note-viewer/index.html"
webpreferences="contextIsolation"
ref={(elem) => { this.webview_ref(elem); } }
/>
@@ -1214,7 +1470,7 @@ class NoteTextComponent extends React.Component {
editorProps={{$blockScrolling: true}}
// This is buggy (gets outside the container)
highlightActiveLine={false}
highlightActiveLine={false}
/>
return (
@@ -1247,6 +1503,7 @@ const mapStateToProps = (state) => {
notesParentType: state.notesParentType,
searches: state.searches,
selectedSearchId: state.selectedSearchId,
watchedNoteFiles: state.watchedNoteFiles,
};
};

View File

@@ -102,7 +102,8 @@ class PromptDialog extends React.Component {
if (this.props.onClose) {
let outputAnswer = this.state.answer;
if (this.props.inputType === 'datetime') {
outputAnswer = anythingToDate(outputAnswer);
// outputAnswer = anythingToDate(outputAnswer);
outputAnswer = time.anythingToDateTime(outputAnswer);
}
this.props.onClose(accept ? outputAnswer : null, buttonType);
}
@@ -113,14 +114,14 @@ class PromptDialog extends React.Component {
this.setState({ answer: event.target.value });
}
const anythingToDate = (o) => {
if (o && o.toDate) return o.toDate();
if (!o) return null;
let m = moment(o, time.dateTimeFormat());
if (m.isValid()) return m.toDate();
m = moment(o, time.dateFormat());
return m.isValid() ? m.toDate() : null;
}
// const anythingToDate = (o) => {
// if (o && o.toDate) return o.toDate();
// if (!o) return null;
// let m = moment(o, time.dateTimeFormat());
// if (m.isValid()) return m.toDate();
// m = moment(o, time.dateFormat());
// return m.isValid() ? m.toDate() : null;
// }
const onDateTimeChange = (momentObject) => {
this.setState({ answer: momentObject });

View File

@@ -55,6 +55,21 @@ class SideBarComponent extends React.Component {
}
};
this.onTagDrop_ = async (event) => {
const tagId = event.currentTarget.getAttribute('tagid');
const dt = event.dataTransfer;
if (!dt) return;
if (dt.types.indexOf("text/x-jop-note-ids") >= 0) {
event.preventDefault();
const noteIds = JSON.parse(dt.getData("text/x-jop-note-ids"));
for (let i = 0; i < noteIds.length; i++) {
await Tag.addNote(tagId, noteIds[i]);
}
}
}
this.onFolderToggleClick_ = async (event) => {
const folderId = event.currentTarget.getAttribute('folderid');
@@ -238,14 +253,22 @@ class SideBarComponent extends React.Component {
const InteropService = require("lib/services/InteropService.js");
const exportMenu = new Menu();
const ioService = new InteropService();
const ioModules = ioService.modules();
for (let i = 0; i < ioModules.length; i++) {
const module = ioModules[i];
if (module.type !== 'exporter') continue;
exportMenu.append(new MenuItem({ label: module.fullLabel() , click: async () => {
await InteropServiceHelper.export(this.props.dispatch.bind(this), module, { sourceFolderIds: [itemId] });
}}));
}
menu.append(
new MenuItem({
label: _("Export"),
click: async () => {
const ioService = new InteropService();
const module = ioService.moduleByFormat_("exporter", "jex");
await InteropServiceHelper.export(this.props.dispatch.bind(this), module, { sourceFolderIds: [itemId] });
},
submenu: exportMenu,
})
);
}
@@ -346,8 +369,10 @@ class SideBarComponent extends React.Component {
data-id={tag.id}
data-type={BaseModel.TYPE_TAG}
onContextMenu={event => this.itemContextMenu(event)}
tagid={tag.id}
key={tag.id}
style={style}
onDrop={this.onTagDrop_}
onClick={() => {
this.tagItem_click(tag);
}}

View File

@@ -34,9 +34,24 @@
<div id="content" ondragstart="return false;" ondrop="return false;"></div>
<script>
const { ipcRenderer } = require('electron');
const contentElement = document.getElementById('content');
const ipc = {};
window.addEventListener('message', (event) => {
// Here we only deal with messages that are sent from the main Electro process to the webview.
if (!event.data || event.data.target !== 'webview') return;
const callName = event.data.name;
const callData = event.data.data;
if (!ipc[callName]) {
console.warn('Missing IPC function:', event.data);
} else {
ipc[callName](callData);
}
});
// ----------------------------------------------------------------------
// Handle dynamically loading HLJS when a code element is present
// ----------------------------------------------------------------------
@@ -120,7 +135,9 @@
setPercentScroll(percentScroll_);
}
ipcRenderer.on('setHtml', (event, html) => {
ipc.setHtml = (event) => {
const html = event.html;
updateBodyHeight();
contentElement.innerHTML = html;
@@ -159,10 +176,12 @@
}
}, 1);
}
});
}
let ignoreNextScrollEvent = false;
ipcRenderer.on('setPercentScroll', (event, percent) => {
ipc.setPercentScroll = (event) => {
const percent = event.percent;
if (checkScrollIID_) {
clearInterval(checkScrollIID_);
checkScrollIID_ = null;
@@ -170,7 +189,7 @@
ignoreNextScrollEvent = true;
setPercentScroll(percent);
});
}
let mark_ = null;
function setMarkers(keywords) {
@@ -185,7 +204,9 @@
}
let markLoaded_ = false;
ipcRenderer.on('setMarkers', (event, keywords) => {
ipc.setMarkers = (event) => {
const keywords = event.keywords;
if (!keywords.length && !markLoaded_) return;
if (!markLoaded_) {
@@ -200,7 +221,7 @@
} else {
setMarkers(keywords);
}
});
}
function maxScrollTop() {
return Math.max(0, contentElement.scrollHeight - contentElement.clientHeight);
@@ -211,6 +232,10 @@
document.getElementById('body').style.height = window.innerHeight + 'px';
}
const ipcProxySendToHost = (methodName, arg) => {
window.postMessage({ target: 'main', name: methodName, args: [ arg ] }, '*');
}
contentElement.addEventListener('scroll', function(e) {
if (ignoreNextScrollEvent) {
ignoreNextScrollEvent = false;
@@ -219,7 +244,8 @@
const m = maxScrollTop();
const percent = m ? contentElement.scrollTop / m : 0;
setPercentScroll(percent);
ipcRenderer.sendToHost('percentScroll', percent);
ipcProxySendToHost('percentScroll', percent);
});
document.addEventListener('contextmenu', function(event) {
@@ -229,10 +255,24 @@
if (element && !element.getAttribute('data-resource-id')) element = element.parentElement;
if (element && element.getAttribute('data-resource-id')) {
ipcRenderer.sendToHost('contextMenu', {
type: element.getAttribute('src') ? 'image' : 'link',
ipcProxySendToHost('contextMenu', {
type: element.getAttribute('src') ? 'image' : 'resource',
resourceId: element.getAttribute('data-resource-id'),
});
} else {
const selectedText = window.getSelection().toString();
if (selectedText) {
ipcProxySendToHost('contextMenu', {
type: 'text',
textToCopy: selectedText,
});
} else if (event.target.getAttribute('href')) {
ipcProxySendToHost('contextMenu', {
type: 'link',
textToCopy: event.target.getAttribute('href'),
});
}
}
});

View File

@@ -0,0 +1,36 @@
// In order to give access to the webview to certain functions of the main process, we need
// this bridge which listens from the main process and sends to the webview and the other
// way around. This is necessary after having enabled the "contextIsolation" option, which
// prevents the webview from accessing low-level methods in the main process.
const ipcRenderer = require('electron').ipcRenderer;
ipcRenderer.on('setHtml', (event, html) => {
window.postMessage({ target: 'webview', name: 'setHtml', data: { html: html } }, '*');
});
ipcRenderer.on('setPercentScroll', (event, percent) => {
window.postMessage({ target: 'webview', name: 'setPercentScroll', data: { percent: percent } }, '*');
});
ipcRenderer.on('setMarkers', (event, keywords) => {
window.postMessage({ target: 'webview', name: 'setMarkers', data: { keywords: keywords } }, '*');
});
window.addEventListener('message', (event) => {
// Here we only deal with messages that are sent from the webview to the main Electron process
if (!event.data || event.data.target !== 'main') return;
const callName = event.data.name;
const args = event.data.args;
if (args.length === 0) {
ipcRenderer.sendToHost(callName);
} else if (args.length === 1) {
ipcRenderer.sendToHost(callName, args[0]);
} else if (args.length === 2) {
ipcRenderer.sendToHost(callName, args[1]);
} else {
throw new Error('Unsupported number of args');
}
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -11,10 +11,15 @@ locales['gl_ES'] = require('./gl_ES.json');
locales['hr_HR'] = require('./hr_HR.json');
locales['it_IT'] = require('./it_IT.json');
locales['ja_JP'] = require('./ja_JP.json');
locales['ko'] = require('./ko.json');
locales['nl_BE'] = require('./nl_BE.json');
locales['nl_NL'] = require('./nl_NL.json');
locales['no'] = require('./no.json');
locales['pt_BR'] = require('./pt_BR.json');
locales['ro'] = require('./ro.json');
locales['ru_RU'] = require('./ru_RU.json');
locales['sl_SI'] = require('./sl_SI.json');
locales['sv'] = require('./sv.json');
locales['zh_CN'] = require('./zh_CN.json');
locales['zh_TW'] = require('./zh_TW.json');
module.exports = { locales: locales };

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More