Compare commits

...

3482 Commits
v1.4 ... v2.7

Author SHA1 Message Date
Veronica Berglyd Olsen
007934e538 Release 2.7 (#2364) 2025-06-01 12:27:51 +02:00
Veronica Berglyd Olsen
9cec3bf4ca Update credits 2025-05-31 23:43:24 +02:00
Veronica Berglyd Olsen
41b9219d66 Correct note copied from previous release 2025-05-31 23:37:33 +02:00
Veronica Berglyd Olsen
18180b87b9 Update changelog 2025-05-31 23:33:43 +02:00
Veronica Berglyd Olsen
f1580928eb Bump version number for 2.7 release 2025-05-31 23:24:00 +02:00
Veronica Berglyd Olsen
b4a844ea0b Update i18n for 2.7 (#2353) 2025-05-31 23:19:03 +02:00
Veronica Berglyd Olsen
5489f39c0f Update project translation for Nynorsk 2025-05-31 23:15:52 +02:00
Veronica Berglyd Olsen
391b72e04b Update German, Italian, Polish and Brazilian Portuguese 2025-05-31 23:12:14 +02:00
Veronica Berglyd Olsen
15934049db Merge branch 'release' into update_i18n 2025-05-31 23:08:18 +02:00
Veronica Berglyd Olsen
0bde8b0b3c Update contributing guide 2025-05-31 00:10:02 +02:00
Veronica Berglyd Olsen
a83376d810 Update the French documentation to reflect the new structure (#2361) 2025-05-29 16:25:18 +02:00
jim on linux
f405e13521 fr Documentation updated to reflect the new structure. 2025-05-29 14:43:40 +02:00
Veronica Berglyd Olsen
b8143154c8 Merge branch 'main' into update_i18n 2025-05-26 23:56:39 +02:00
Veronica Berglyd Olsen
480d633b13 Restructure and simplify documentation (#2355) 2025-05-26 23:49:41 +02:00
Veronica Berglyd Olsen
e6f47b1908 Clean up the remaining sections 2025-05-26 23:46:49 +02:00
Veronica Berglyd Olsen
caa1a7653d Clean up the "User Interface" section 2025-05-26 22:39:03 +02:00
Veronica Berglyd Olsen
acfef7b4cb Clean up the "Getting Started" section 2025-05-25 18:56:11 +02:00
Veronica Berglyd Olsen
77eb377cf3 Improve documentation for dialogue highlighting and story comments 2025-05-25 17:25:14 +02:00
Veronica Berglyd Olsen
b8b0879ef2 Update main menu 2025-05-25 16:04:27 +02:00
Veronica Berglyd Olsen
bc6b89f399 Remove redundant images 2025-05-25 16:03:00 +02:00
Veronica Berglyd Olsen
77662f9505 Merge the remaining old documents into the new structure 2025-05-25 16:01:25 +02:00
Veronica Berglyd Olsen
d3fa06dccc Update usage documentation and incorporate last usage file from old doc 2025-05-25 15:08:55 +02:00
Veronica Berglyd Olsen
b7a8664cf9 Move more docs into new structure 2025-05-24 21:00:14 +02:00
Veronica Berglyd Olsen
d4b9cfd0cb Move manuscript docs into new structure 2025-05-24 20:25:25 +02:00
Veronica Berglyd Olsen
0c2d392166 Move documentation files to keep into new structure 2025-05-24 20:17:14 +02:00
Veronica Berglyd Olsen
b2f30565b1 Merge branch 'main' into restructure_docs 2025-05-24 19:37:34 +02:00
Veronica Berglyd Olsen
d0c838450d Complete the usage section 2025-05-24 19:35:58 +02:00
Veronica Berglyd Olsen
60973954ef Move and expand text into usage section 2025-05-24 18:09:34 +02:00
Veronica Berglyd Olsen
8018edb183 Add usage section 2025-05-21 23:41:22 +02:00
Veronica Berglyd Olsen
ff5d8c2ba0 Update US English, Japanese, Norwegian and Chinese, and German project file, for 2.7 2025-05-21 09:41:54 +02:00
Veronica Berglyd Olsen
1496fdb482 Update all i18n files with new strings 2025-05-21 09:39:33 +02:00
Veronica Berglyd Olsen
c0521833d9 Update unpublished i18n files from 2.6.3 branch 2025-05-21 09:38:39 +02:00
Veronica Berglyd Olsen
b59b6e1dad Change behaviour of build settings dialog (#2351) 2025-05-20 21:43:02 +02:00
Veronica Berglyd Olsen
7fa7fdee3f Make a small optimisation to build settings dialog 2025-05-20 21:39:16 +02:00
Veronica Berglyd Olsen
f177f82417 Update tests 2025-05-20 21:32:58 +02:00
Veronica Berglyd Olsen
6b4aac0235 Use a copy of the build settings for the build settings dialog (#2350) 2025-05-20 21:16:34 +02:00
Veronica Berglyd Olsen
e7e0d6bf2b Post release updates (#2349) 2025-05-19 21:48:27 +02:00
Veronica Berglyd Olsen
84e5ef2dcf Update base translation file 2025-05-19 21:42:59 +02:00
Veronica Berglyd Olsen
cdb8536e8d Update project settings and scripts after release 2025-05-19 21:42:47 +02:00
Veronica Berglyd Olsen
197c5ad2d0 Release 2.7 RC 1 (#2347) 2025-05-19 19:56:13 +02:00
Veronica Berglyd Olsen
d033a3b23e Bump version and update changelog 2025-05-19 17:50:38 +02:00
Veronica Berglyd Olsen
e901c19b5b Add story notes and comment auto-complete (#2346) 2025-05-18 22:54:34 +02:00
Veronica Berglyd Olsen
5fb45f7647 Rename notes to manuscript notes 2025-05-18 22:51:17 +02:00
Veronica Berglyd Olsen
70ae2bd595 Update tests 2025-05-18 22:47:01 +02:00
Veronica Berglyd Olsen
47814e35cb Add support for including notes in manuscript 2025-05-18 22:46:54 +02:00
Veronica Berglyd Olsen
ceadd52d1a Update tests 2025-05-18 22:37:15 +02:00
Veronica Berglyd Olsen
f22f80dafd Add support for indexing and auto-completing story notes 2025-05-18 22:36:25 +02:00
Veronica Berglyd Olsen
f2f2e6cb46 Extend completer for editor to also support comments 2025-05-18 21:56:58 +02:00
Veronica Berglyd Olsen
779026408e Fix auto-complete bug and outline export bug (#2343) 2025-05-18 17:16:40 +02:00
Veronica Berglyd Olsen
bbcd11531a Fix order of story structure columns in CSV export (#2313) 2025-05-18 17:10:32 +02:00
Veronica Berglyd Olsen
c2059a8701 Notify the index when an item's class changes (#2330) 2025-05-18 16:58:39 +02:00
Veronica Berglyd Olsen
ab328d0764 Add a setting for using character count as main count (#2323) 2025-05-18 16:32:20 +02:00
Veronica Berglyd Olsen
28c70dfc2e Update tests 2025-05-18 16:28:27 +02:00
Veronica Berglyd Olsen
916039b420 Allow display of character count in editor footer and status bar 2025-05-18 16:27:30 +02:00
Veronica Berglyd Olsen
51c7fb2614 Merge branch 'main' into primary_count 2025-05-18 15:30:32 +02:00
Veronica Berglyd Olsen
4c16e17d44 Change lock threads schedule to run only every 3 days 2025-05-15 12:42:55 +02:00
Veronica Berglyd Olsen
a1aba9bed4 Run on a hourly schedule for now 2025-05-15 00:36:38 +02:00
Veronica Berglyd Olsen
ca17263640 Disable lock thread comment to reduce notification spam 2025-05-15 00:33:05 +02:00
Veronica Berglyd Olsen
6c20847cc9 Change schedule to lock old threads once a day 2025-05-14 23:32:09 +02:00
Veronica Berglyd Olsen
c0ac50a501 Fix lock threads job issues 2025-05-14 22:56:25 +02:00
Veronica Berglyd Olsen
44e901ab08 Enable log output 2025-05-14 22:50:01 +02:00
Veronica Berglyd Olsen
6818fdd00a Add lock threads cron job 2025-05-14 22:48:30 +02:00
Veronica Berglyd Olsen
705eee2739 Update Debian install instructions 2025-05-14 22:35:54 +02:00
Veronica Berglyd Olsen
d58a883ca5 Merge branch 'main' into primary_count 2025-05-12 19:41:33 +02:00
Veronica Berglyd Olsen
be4151c979 Update accessibility for switches, settings and trees (#2337) 2025-05-11 19:07:37 +02:00
Veronica Berglyd Olsen
da698b946b Improve accessibility of settings forms and dialogs 2025-05-11 19:03:59 +02:00
Veronica Berglyd Olsen
9b0890c9b7 Improve accessibility labels for novel and project trees 2025-05-11 18:32:10 +02:00
Veronica Berglyd Olsen
4417e275fd Add highlight to switch when it has focus 2025-05-11 18:12:58 +02:00
Veronica Berglyd Olsen
4e98914a8b Link switches and their labels 2025-05-11 18:08:33 +02:00
Veronica Berglyd Olsen
e200e6b900 Change how the switch is animated 2025-05-11 17:33:04 +02:00
Veronica Berglyd Olsen
746c6f79d2 Make the Snazzy Light syntax theme easier to read (#2336) 2025-05-11 16:53:33 +02:00
Veronica Berglyd Olsen
c0d9f00adb Improve the Snazzy Light syntax theme a little 2025-05-11 16:48:48 +02:00
Veronica Berglyd Olsen
26e67c5f18 Add a Snazzy Light GUI theme (#2334) 2025-05-11 15:43:59 +02:00
Veronica Berglyd Olsen
6fdc6cfaa3 Add a Snazzy Light GUI theme 2025-05-11 15:28:49 +02:00
Veronica Berglyd Olsen
5ba6dfd538 Fix minor issues and make improvements for 2.7 RC 1 (#2333) 2025-05-11 13:45:01 +02:00
Veronica Berglyd Olsen
08dda5d58b Apply title and author also to sample projects 2025-05-11 13:42:05 +02:00
Veronica Berglyd Olsen
c909297504 Remember last used author name 2025-05-11 13:32:32 +02:00
Veronica Berglyd Olsen
699c27e3dc Improve new project creation, and generate new id for sample projects 2025-05-11 13:07:55 +02:00
Veronica Berglyd Olsen
39c072050b Add shapes to default status labels (#2332) 2025-05-11 12:50:00 +02:00
Veronica Berglyd Olsen
c6e50d8b25 Add tests using the Qt model tester (#2331) 2025-05-08 21:20:07 +02:00
Veronica Berglyd Olsen
307965a464 Add tests using the Qt model tester 2025-05-08 21:15:55 +02:00
Veronica Berglyd Olsen
7c15b76c8c Restrict dialogue symbols (#2327) 2025-05-04 22:22:15 +02:00
Veronica Berglyd Olsen
607001f2dd Restrict dialogue line symbols 2025-05-04 22:17:13 +02:00
Veronica Berglyd Olsen
6f38867972 Limit narrator symbols to dashes (#2324) 2025-05-04 21:53:49 +02:00
Veronica Berglyd Olsen
68cc38e443 Fix datetime truncation bug (#2326) 2025-05-04 17:28:29 +02:00
Veronica Berglyd Olsen
ae5e90be02 Lock the date and time format in the config test, and make it time zone ignorant 2025-05-04 17:24:35 +02:00
Veronica Berglyd Olsen
d6fcc89da3 Explicitly convert date and datetime to QDate and QDateTime (#2325) 2025-05-04 17:03:39 +02:00
Veronica Berglyd Olsen
6d2e9d8a04 Refresh novel view on count method change 2025-04-29 23:45:05 +02:00
Veronica Berglyd Olsen
53e60c7b59 Add character counts to session log 2025-04-29 23:31:25 +02:00
Veronica Berglyd Olsen
67d0b486e9 Update tests 2025-04-29 22:49:22 +02:00
Veronica Berglyd Olsen
bd4a658bd9 Add project variables for character counts 2025-04-29 22:00:53 +02:00
Veronica Berglyd Olsen
8de6fd25e2 Add character count setting to Preferences 2025-04-29 21:36:04 +02:00
Veronica Berglyd Olsen
ba7fdb314b Add a main count setting and use it for the project tree 2025-04-29 21:26:13 +02:00
Veronica Berglyd Olsen
da84d40cd5 Fix missing icon (#2317) 2025-04-27 16:28:32 +02:00
Veronica Berglyd Olsen
ea4fb4e7ff Add missing project copy icon for Remix icons (#2314) 2025-04-27 16:22:22 +02:00
Veronica Berglyd Olsen
047cc75051 Updates to app launch (#2316) 2025-04-25 19:00:39 +02:00
Veronica Berglyd Olsen
1ec8754456 Delete the splash screen when done 2025-04-25 18:55:50 +02:00
Veronica Berglyd Olsen
9c8030e588 Connect the splash screen and add messages to track progress 2025-04-25 18:41:28 +02:00
Veronica Berglyd Olsen
dc6259133f Add a splash screen 2025-04-25 18:40:04 +02:00
Veronica Berglyd Olsen
40441c8451 Fix bug in theme test 2025-04-24 23:27:54 +02:00
Veronica Berglyd Olsen
d319051942 Add a small delay before opening welcome dialog 2025-04-24 23:27:43 +02:00
Veronica Berglyd Olsen
045808b69f Fix wrong issue referenced in changelog 2025-04-24 11:12:08 +02:00
Veronica Berglyd Olsen
99918cdc17 Update git ignore file 2025-04-24 10:52:19 +02:00
Veronica Berglyd Olsen
892c1b6aa8 Fix minor issues after release (#2310) 2025-04-20 23:12:07 +02:00
Veronica Berglyd Olsen
a4bb049eac Fix pip package build script 2025-04-20 23:07:40 +02:00
Veronica Berglyd Olsen
0bb7017cf8 Fix incorrect info in changelog 2025-04-20 23:07:25 +02:00
Veronica Berglyd Olsen
9a79173a46 Release 2.7 Beta 1 (#2308) 2025-04-20 20:57:50 +02:00
Veronica Berglyd Olsen
f92a1e5995 Bump version to 2.7 Beta 1 and update changelog 2025-04-20 19:02:03 +02:00
Veronica Berglyd Olsen
f1b3e0b8ce Update package utils and docs (#2307) 2025-04-20 18:01:24 +02:00
Veronica Berglyd Olsen
529b93f154 Change the output folder structure for HTML docs 2025-04-20 17:21:42 +02:00
Veronica Berglyd Olsen
f15ed32101 Update build scripts for docs 2025-04-20 17:18:07 +02:00
Veronica Berglyd Olsen
c5915664f0 Add compression to sample.zip for assets, see #907 2025-04-20 16:02:58 +02:00
Veronica Berglyd Olsen
d12961a9ed Fix more documents link in documentation 2025-04-20 16:02:16 +02:00
Veronica Berglyd Olsen
88ab5ae502 Update builds and CI/CD (#2306) 2025-04-20 15:08:45 +02:00
Veronica Berglyd Olsen
f458d1f9d1 Upgrade everything to run on Python 3.13 2025-04-20 15:01:06 +02:00
Veronica Berglyd Olsen
6fa33b9187 Fix AppImage build script 2025-04-20 14:58:00 +02:00
Veronica Berglyd Olsen
f64c3bfeb2 Remove project format spec docs (#2305) 2025-04-20 13:40:16 +02:00
Veronica Berglyd Olsen
17b3793b3b Rephrase the file format spec reference 2025-04-20 13:33:51 +02:00
Veronica Berglyd Olsen
f3fe7c8d11 Add a "More Documents" link to the main website 2025-04-20 13:32:29 +02:00
Veronica Berglyd Olsen
bced0ad474 Remove the file format specs file from the docs 2025-04-20 13:13:28 +02:00
Veronica Berglyd Olsen
d0ee4cfbeb Fix typo in docs 2025-04-19 23:19:41 +02:00
Veronica Berglyd Olsen
047470d3b7 Improve placement of new documents (#2302) 2025-04-19 15:05:38 +02:00
Veronica Berglyd Olsen
fcb9b60046 Tweak the rules for selecting a new items parent 2025-04-18 23:27:02 +02:00
Veronica Berglyd Olsen
b75ec3677c Fix tests and update coverage 2025-04-18 19:20:56 +02:00
Veronica Berglyd Olsen
b60ce68fcd Also record keyboard selections as a selection change 2025-04-18 18:20:13 +02:00
Veronica Berglyd Olsen
bec414a405 Move the decision logic of where to put new items to the NWTree class and improve (#2260) 2025-04-18 17:38:55 +02:00
Veronica Berglyd Olsen
1522b6b682 Update MacOS build for Qt6 (#2301) 2025-04-18 11:34:37 +02:00
Veronica Berglyd Olsen
1b93ad7b3f Update build assets dependencies 2025-04-18 10:52:27 +02:00
Rachel Powers
e78a3e63fc Patched MacOS build 2025-04-18 10:41:32 +02:00
Veronica Berglyd Olsen
8c46463204 Improve single quote dialogue highlighting (#2300) 2025-04-17 18:14:31 +02:00
Veronica Berglyd Olsen
da6cc88cd8 Replace alternative apostrophes before spell checking 2025-04-17 17:32:23 +02:00
Veronica Berglyd Olsen
f72e96662a Fix apostrophe and single quote ambiguity in dialogue (#2271) 2025-04-17 17:25:33 +02:00
Veronica Berglyd Olsen
ba9adfb7f8 Fix dialogue highlighting inconsistency (#2299) 2025-04-17 16:49:51 +02:00
Veronica Berglyd Olsen
857856ccd3 Turn off dialogue syntax highlighting in notes (#2297) 2025-04-17 16:45:01 +02:00
Veronica Berglyd Olsen
ca90926e02 Add story structure to build settings (#2298) 2025-04-17 16:39:45 +02:00
Veronica Berglyd Olsen
484c1958d6 Add build setting for story story structure comments 2025-04-17 16:33:15 +02:00
Veronica Berglyd Olsen
312ad2a21b Use a set to track comment styles to include in build 2025-04-17 16:27:06 +02:00
Veronica Berglyd Olsen
21431058be Create story structure docs (#2295) 2025-04-17 15:59:32 +02:00
Veronica Berglyd Olsen
f8bc8d4f28 Update index and overview 2025-04-17 15:58:55 +02:00
Veronica Berglyd Olsen
e30b69cf77 Remove link to external commercial source 2025-04-17 15:58:05 +02:00
Veronica Berglyd Olsen
281ed74ffa Rename file and add screenshot 2025-04-17 15:56:46 +02:00
Veronica Berglyd Olsen
5174bb0d13 Reformat the story structure document 2025-04-17 15:33:57 +02:00
Alan Langford
9257a462d5 Create project_story.rst 2025-04-12 08:44:29 -04:00
Veronica Berglyd Olsen
81b7d6fda2 Export story structure (#2293) 2025-04-10 22:06:21 +02:00
Veronica Berglyd Olsen
0728f43d96 Update test 2025-04-10 22:01:25 +02:00
Veronica Berglyd Olsen
6dcdd34fe1 Export the entire novel structure from the Outline view 2025-04-10 21:59:36 +02:00
Veronica Berglyd Olsen
0a9c530f06 Add story structure comment parsing (#2284) 2025-04-09 21:25:23 +02:00
Veronica Berglyd Olsen
7d4ae2328c Improve test coverage 2025-04-09 21:08:43 +02:00
Veronica Berglyd Olsen
c107978173 Add processing of story structure comments in the build tool 2025-04-08 20:12:48 +02:00
Veronica Berglyd Olsen
04be98fd59 Merge branch 'main' into parse_story_structure 2025-04-08 12:27:41 +02:00
Veronica Berglyd Olsen
f3dd4bd8ee Add more linting rules (#2287) 2025-04-07 17:35:20 +02:00
Veronica Berglyd Olsen
72652fecaa Fix linting errors in the utils 2025-04-07 17:21:01 +02:00
Veronica Berglyd Olsen
9b93736985 Fix linting errors in the tests 2025-04-07 17:20:31 +02:00
Veronica Berglyd Olsen
8ed3bd889d Fix linting errors in the main code 2025-04-07 17:18:43 +02:00
Veronica Berglyd Olsen
dab48d43a5 Update linting rules and workflow 2025-04-07 16:52:02 +02:00
Veronica Berglyd Olsen
a760b22341 Update readme 2025-04-07 16:47:22 +02:00
Veronica Berglyd Olsen
e2293e7c1e Add support for reading and caching story keys 2025-04-06 20:00:46 +02:00
Veronica Berglyd Olsen
edc19187f0 Generalise heading comments 2025-04-06 19:13:37 +02:00
Veronica Berglyd Olsen
c5afeda726 Update linting settings (#2282) 2025-04-05 15:32:54 +02:00
Veronica Berglyd Olsen
2975cc7f8f Enable Ruff preview flag 2025-04-05 15:24:23 +02:00
Veronica Berglyd Olsen
4a94a36a1d Update readme 2025-04-04 16:46:33 +02:00
Veronica Berglyd Olsen
cbaa86dc86 Update linting tools and configs (#2281) 2025-04-04 16:42:45 +02:00
Veronica Berglyd Olsen
6a66e06544 Add a couple more rules 2025-04-03 01:27:55 +02:00
Veronica Berglyd Olsen
53a2d0e691 Use Ruff for linting and fix a ton of issues 2025-04-03 01:15:52 +02:00
Veronica Berglyd Olsen
d2796d27c3 Move pytest settings to pyproject.toml 2025-04-02 23:44:58 +02:00
Veronica Berglyd Olsen
89b3529554 Fix Windows launch script for manual usage (#2280) 2025-03-31 20:28:48 +02:00
Veronica Berglyd Olsen
ed22432e82 Remove shebang from Windows launch script (#1284) 2025-03-31 20:23:27 +02:00
Veronica Berglyd Olsen
717887ff7d Add Pyright to syntax workflow and fix errors (#2279) 2025-03-30 23:57:41 +02:00
Veronica Berglyd Olsen
19d01662e5 Update PR template 2025-03-30 23:53:02 +02:00
Veronica Berglyd Olsen
fd802d1a1e Delete commented out test 2025-03-30 23:51:53 +02:00
Veronica Berglyd Olsen
9715955618 Drop aspell dictionary from Linux workflow 2025-03-30 23:49:48 +02:00
Veronica Berglyd Olsen
d0c8227d15 Move spell check testing to the editor 2025-03-30 23:49:19 +02:00
Veronica Berglyd Olsen
01275876c1 Add main requirements for type checking 2025-03-30 23:20:16 +02:00
Veronica Berglyd Olsen
15de0c8dd7 Fix typing errors 2025-03-30 23:17:25 +02:00
Veronica Berglyd Olsen
e8c4f2db25 Add pyright check to workflow 2025-03-30 23:16:47 +02:00
Veronica Berglyd Olsen
b4b19667f4 Add pyright config to project config 2025-03-30 23:15:20 +02:00
Veronica Berglyd Olsen
5934700cea Re-implement Novel View as an item model (#2272) 2025-03-30 23:04:42 +02:00
Veronica Berglyd Olsen
8ef99c4cfa Add test coverage of new modified widget 2025-03-30 22:59:51 +02:00
Veronica Berglyd Olsen
bf4a923b08 Fix type error due to type change in novel selector 2025-03-30 22:45:52 +02:00
Veronica Berglyd Olsen
d1aa576bfd Remove unused nonlocals in tests 2025-03-30 22:37:32 +02:00
Veronica Berglyd Olsen
799b8e24ec Merge branch 'main' into novel_model 2025-03-30 22:37:07 +02:00
Veronica Berglyd Olsen
95bef4c6c2 Add novel view test coverage 2025-03-30 22:28:37 +02:00
Veronica Berglyd Olsen
43c934c9cd Fix typo 2025-03-25 10:37:47 +01:00
Benson Muite
83d1072e6e Grammar improvement 2025-03-25 12:14:26 +03:00
Veronica Berglyd Olsen
1090a160de Add novel model test coverage 2025-03-24 22:17:34 +01:00
Veronica Berglyd Olsen
34a3a6e85c Fix existing tests 2025-03-23 22:37:16 +01:00
Veronica Berglyd Olsen
762efedb96 Merge branch 'main' into novel_model 2025-03-23 17:16:25 +01:00
Veronica Berglyd Olsen
f4999df457 Fix linting and novel view clear 2025-03-23 17:15:49 +01:00
Veronica Berglyd Olsen
4d9c87b019 Improve novel extra data column 2025-03-23 17:01:48 +01:00
Veronica Berglyd Olsen
95d8e3ac98 Add back extra column content 2025-03-23 16:41:40 +01:00
Veronica Berglyd Olsen
9d63a018e8 Add back extra column GUI handling 2025-03-23 00:42:35 +01:00
Veronica Berglyd Olsen
04c6847590 Add some error checking and handling 2025-03-22 22:52:36 +01:00
Veronica Berglyd Olsen
848027856d Allow refreshing a novel model node 2025-03-22 22:37:03 +01:00
Veronica Berglyd Olsen
ef652355bf Refresh model when document heading count changes 2025-03-22 21:10:01 +01:00
Veronica Berglyd Olsen
9990ebf193 Handle novel model refresh scenarios 2025-03-22 20:25:34 +01:00
Veronica Berglyd Olsen
edf765f91f Allow novel model refresh 2025-03-22 16:51:10 +01:00
Veronica Berglyd Olsen
cf42eeeae3 Fix typos 2025-03-22 16:32:52 +01:00
Veronica Berglyd Olsen
e1cd848a77 Fix type and redundant parentheses 2025-03-15 17:26:37 +01:00
Veronica Berglyd Olsen
9831fdbe0f Add required info to bug report template 2025-03-15 17:01:12 +01:00
Veronica Berglyd Olsen
4da120633e Save handle and title key with other data in novel model 2025-02-23 22:34:53 +01:00
Veronica Berglyd Olsen
43e420ab0b Restore novel heading details tooltip and active row colouring 2025-02-22 23:13:57 +01:00
Veronica Berglyd Olsen
71ad7c3229 Re-implement basic novel view functionality 2025-02-22 21:54:24 +01:00
Veronica Berglyd Olsen
9a63a84fc1 Add a basic model for the novel view 2025-02-22 20:12:50 +01:00
Veronica Berglyd Olsen
bc26d2250e Update index data model (#2255) 2025-02-22 16:07:15 +01:00
Veronica Berglyd Olsen
4e6a26e787 Fix docstring and rename NWIndex to just Index 2025-02-22 15:59:19 +01:00
Veronica Berglyd Olsen
71675ee4a1 Update test coverage 2025-02-22 15:52:47 +01:00
Veronica Berglyd Olsen
3a2440fb92 Add test coverage 2025-02-22 15:07:15 +01:00
Veronica Berglyd Olsen
1fa7e08b17 Move index data classes to a new file 2025-02-22 14:40:48 +01:00
Veronica Berglyd Olsen
655c9d9439 Restructure index, and add support for story structure comments 2025-02-20 23:28:50 +01:00
Veronica Berglyd Olsen
05feaf7d2d Move comment processing to a separate file 2025-02-18 15:18:46 +01:00
Veronica Berglyd Olsen
9bae8f762f Merge changes from 2.6.2 and 2.6.3 (#2252) 2025-02-16 21:58:36 +01:00
Veronica Berglyd Olsen
c377e2a26a Fix issues from merge from 2.6.3 2025-02-16 21:54:25 +01:00
Veronica Berglyd Olsen
1f14c55ce0 Merge branch 'release' into from_2.6.3 2025-02-16 21:47:13 +01:00
Veronica Berglyd Olsen
02fda08dab Release 2.6.3 (#2250) 2025-02-16 20:57:13 +01:00
Veronica Berglyd Olsen
bbf18709b3 Clarify changelog 2025-02-16 20:54:10 +01:00
Veronica Berglyd Olsen
76b6759c63 Bump version to 2.6.3 and update changelog 2025-02-16 20:51:05 +01:00
Veronica Berglyd Olsen
c5e0258792 Change context of shape translation strings (#2249) 2025-02-16 20:44:09 +01:00
Veronica Berglyd Olsen
c0bb0fa54a Reduce to only two constant types 2025-02-16 20:40:56 +01:00
Veronica Berglyd Olsen
8b238f3767 Update translation files 2025-02-16 20:23:10 +01:00
Veronica Berglyd Olsen
e9a73ee785 Revert back to using constant as context for shapes 2025-02-16 19:50:02 +01:00
Veronica Berglyd Olsen
3ff4cc462f Fix i18n bug for certain constants (#2247) 2025-02-16 19:25:10 +01:00
Veronica Berglyd Olsen
a6be3f9081 Allow specifying context to trConst i18n function (#2246) 2025-02-16 19:08:00 +01:00
Veronica Berglyd Olsen
cd1c7a3b0b Make a minor change to windows build 2025-02-16 17:21:47 +01:00
Veronica Berglyd Olsen
c13c90488d Release 2.6.2 (#2244) 2025-02-16 17:18:54 +01:00
Veronica Berglyd Olsen
c9d44ccec0 Fix typo in changelog 2025-02-16 17:14:40 +01:00
Veronica Berglyd Olsen
96b3656176 Bump version, update changelog, and update credits 2025-02-16 17:12:58 +01:00
Veronica Berglyd Olsen
d72c84a3d1 Update Italian, Polish and Brazilian Portuguese 2025-02-16 16:58:56 +01:00
Veronica Berglyd Olsen
a0a8ea85c9 Add Czech translation 2025-02-16 16:58:21 +01:00
Veronica Berglyd Olsen
733fba09cb Fix various bugs (#2242) 2025-02-16 16:47:24 +01:00
Veronica Berglyd Olsen
6d9b1f7b36 Make the model parent call a little more robust 2025-02-16 16:44:08 +01:00
Veronica Berglyd Olsen
1431944c49 Add test coverage of root item drop 2025-02-16 16:38:41 +01:00
Veronica Berglyd Olsen
2157dc8a35 Block dropping items on invisible root 2025-02-16 16:33:19 +01:00
Veronica Berglyd Olsen
32feba3d17 Fix typos in changelog 2025-02-16 15:19:39 +01:00
Veronica Berglyd Olsen
ed1b11a932 Restore empty trash from menu (#2239) 2025-02-16 14:20:33 +01:00
Veronica Berglyd Olsen
40a41dbc6b Centre screenshot in readme 2025-02-11 12:58:04 +01:00
Veronica Berglyd Olsen
a8416542c1 Add screenshot to readme 2025-02-11 12:55:55 +01:00
Veronica Berglyd Olsen
0c2c952637 Merge bug fix from release 2025-02-09 15:22:20 +01:00
Veronica Berglyd Olsen
c6991b36b8 Fix bug in splitting on alt scene headings (#2234) 2025-02-09 15:19:09 +01:00
Veronica Berglyd Olsen
ec8a6b9925 Clean up variables 2025-02-09 15:14:28 +01:00
Veronica Berglyd Olsen
d4d258e170 Fix document splitter not recognising alt scene format (#2233) 2025-02-09 15:11:07 +01:00
Veronica Berglyd Olsen
bf8f6f0dd8 Fix cursor width text in preferences 2025-02-06 22:16:16 +01:00
Veronica Berglyd Olsen
585f2e567b Reorganise preferences and add cursor width setting (#2230) 2025-02-06 21:55:41 +01:00
Veronica Berglyd Olsen
598667826f Add a setting for cursor width (#2219) 2025-02-06 17:24:57 +01:00
Veronica Berglyd Olsen
aa84d998a0 Move project tree preferences to their own section 2025-02-06 17:24:31 +01:00
Veronica Berglyd Olsen
589bc7c313 Update Appdata XML and add screenshot (#2229) 2025-02-05 15:31:56 +00:00
Veronica Berglyd Olsen
85b953bbec Add support for log colour env variables (#2228) 2025-02-04 20:50:23 +01:00
Veronica Berglyd Olsen
f1fc95d82d Simplify log colour handling 2025-02-04 20:45:18 +01:00
Veronica Berglyd Olsen
706c61c550 Add more single character switches 2025-02-04 20:16:47 +01:00
Veronica Berglyd Olsen
a931fe5cfd Add support for NO_COLOR and FORCE_COLOR 2025-02-04 20:14:13 +01:00
Veronica Berglyd Olsen
67a2f634c1 Update build scripts for i18n docs (#2227) 2025-02-04 16:43:06 +01:00
Veronica Berglyd Olsen
ceec883d93 Bump version to 2.7 Alpha 3 2025-02-04 16:36:28 +01:00
Veronica Berglyd Olsen
e8d548b24e Fix build scripts and add i18n docs 2025-02-04 16:36:12 +01:00
Veronica Berglyd Olsen
99db1a1c3a Add French translation files for the docs (#2226) 2025-02-03 23:42:33 +01:00
jim on linux
9f9438f20b First commit for french .po files.
Change french translator author.
2025-02-03 22:37:53 +01:00
Veronica Berglyd Olsen
52f1c3156b Add internationalisation support for docs (#2224) 2025-02-03 20:05:19 +01:00
Veronica Berglyd Olsen
dd61836a35 Use full language code for manual file 2025-02-03 01:03:17 +01:00
Veronica Berglyd Olsen
18f7280cf2 Only build specified docs languages 2025-02-03 00:27:11 +01:00
Veronica Berglyd Olsen
85af7d7f03 Add docs i18n build script 2025-02-03 00:24:27 +01:00
Veronica Berglyd Olsen
b0169067be Add utils entry to generate docs i18n source files 2025-02-02 23:34:04 +01:00
Veronica Berglyd Olsen
92cd4e0169 Add i18n settings to docs config and change the documentation title to pull it from the main index file 2025-02-02 23:10:40 +01:00
Veronica Berglyd Olsen
4cbbe5f2e3 Move docs requirements to docs root folder 2025-02-02 21:34:43 +01:00
Veronica Berglyd Olsen
a87e8289f7 Merge 2.6.1 release into main 2025-02-02 18:54:08 +01:00
Veronica Berglyd Olsen
2401fc2531 Relase 2.6.1 (#2221) 2025-02-02 18:12:19 +01:00
Veronica Berglyd Olsen
d0ea15c03b Bump version to 2.6.1 and update changelog 2025-02-02 18:05:11 +01:00
Veronica Berglyd Olsen
7adf0251e0 Update i18n for 2.6.1 (#2214) 2025-02-02 17:45:12 +01:00
Veronica Berglyd Olsen
2e3beaf8ed Merge branch 'release' into update_i18n 2025-02-02 17:42:37 +01:00
Veronica Berglyd Olsen
df6e57760f Add French PDF manual (#2220) 2025-02-02 17:34:09 +01:00
Veronica Berglyd Olsen
868af2d5f3 Fix tests 2025-02-02 17:27:08 +01:00
Veronica Berglyd Olsen
1c6625ec2b Add French manual and add local manual detection in Config 2025-02-02 17:26:57 +01:00
Veronica Berglyd Olsen
9e40676c16 Update JP 2025-02-01 16:03:08 +01:00
Veronica Berglyd Olsen
6e821910b7 Update DE and ES-419 2025-01-31 00:04:55 +01:00
Veronica Berglyd Olsen
d5b025cf41 Update FR, ES-419, NB-NO and EN-US 2025-01-31 00:04:54 +01:00
Veronica Berglyd Olsen
7adc36eecb Track recent projects via UUID (#2218) 2025-01-31 00:03:19 +01:00
Veronica Berglyd Olsen
247702babe Don't break recent projects file compatibility 2025-01-30 23:59:02 +01:00
Veronica Berglyd Olsen
dcc25dac31 Update tests 2025-01-30 23:11:21 +01:00
Veronica Berglyd Olsen
f686ec6a5a Save recent projects by their ID instead of path (#2217) 2025-01-30 23:11:10 +01:00
Veronica Berglyd Olsen
f10328803c Fix issue with "create note from tag" (#2215) 2025-01-30 17:40:36 +01:00
Veronica Berglyd Olsen
8da56e56c1 Remove unused flags and debug print 2025-01-30 17:33:43 +01:00
Veronica Berglyd Olsen
f83e9d8c87 Drop the trinary enum 2025-01-30 17:28:39 +01:00
Veronica Berglyd Olsen
9532be585b Don't show create note for tag option for story and mention keywords (#2212) 2025-01-30 17:28:18 +01:00
Veronica Berglyd Olsen
3509374f25 Allow to disable ask on exit (#2213) 2025-01-29 18:29:25 +01:00
Veronica Berglyd Olsen
1a96441bbd Add help text to ask before exit setting 2025-01-29 18:24:38 +01:00
Veronica Berglyd Olsen
fd4fa68553 Add ask before exit setting in Preferences 2025-01-29 18:17:50 +01:00
Veronica Berglyd Olsen
36d8ad4d8c Add a flag to disable asking before exit 2025-01-29 18:17:32 +01:00
Veronica Berglyd Olsen
c1b35b6672 Merge release 2.6 into main 2025-01-26 20:50:58 +01:00
Veronica Berglyd Olsen
448057edf6 Release 2.6 (#2208) 2025-01-26 20:05:33 +01:00
Veronica Berglyd Olsen
9d993b2992 Fix typo in changelog 2025-01-26 20:05:03 +01:00
Veronica Berglyd Olsen
8ca13f6e08 Update changelog with last changes 2025-01-26 20:01:34 +01:00
Veronica Berglyd Olsen
80fc4c9538 Merge branch 'release' into release_2.6 2025-01-26 19:56:51 +01:00
Veronica Berglyd Olsen
9f8867c1b4 Update i18n for 2.6 final (#2207) 2025-01-26 19:56:32 +01:00
Veronica Berglyd Olsen
481ce883ab Update Italian translation 2025-01-26 18:36:25 +01:00
Veronica Berglyd Olsen
63f184dd60 Update Codecov action to v5 2025-01-26 18:34:44 +01:00
Veronica Berglyd Olsen
3d4d9ed111 Merge branch 'release' into i18n 2025-01-26 18:31:21 +01:00
Veronica Berglyd Olsen
b2ba932735 Update docs for 2.6 (#2210) 2025-01-26 18:31:00 +01:00
Veronica Berglyd Olsen
8c1070b318 Disable flaky test on Windows 2025-01-26 18:26:45 +01:00
Veronica Berglyd Olsen
6c4d8f3ede Update tests with change of default config 2025-01-26 18:19:12 +01:00
Veronica Berglyd Olsen
f2c118776a Update the project sections of the docs to 2.6 2025-01-26 18:15:36 +01:00
Veronica Berglyd Olsen
87890dd249 Update the Introduction section of the docs to 2.6 2025-01-26 16:17:56 +01:00
Veronica Berglyd Olsen
15301c9121 Bump version and update changelog 2025-01-25 22:00:14 +01:00
Veronica Berglyd Olsen
8dc4b661d8 Update final translations for de, en, ja, nb and pl 2025-01-25 21:43:41 +01:00
Veronica Berglyd Olsen
d47ec4157d Update completed translations before #2206 2025-01-25 21:41:44 +01:00
Veronica Berglyd Olsen
9d64a59b70 Update project translations 2025-01-25 21:38:59 +01:00
Veronica Berglyd Olsen
234fc20048 Change chapter heading level to H1 (#2206) 2025-01-25 21:36:13 +01:00
Veronica Berglyd Olsen
8432dfdd1f Extend ODT and DocX tests 2025-01-25 21:18:30 +01:00
Veronica Berglyd Olsen
5fddfd395e Update HTML output 2025-01-25 21:06:20 +01:00
Veronica Berglyd Olsen
11d0e4220f Use alternative level 1 format for titles and partitions for markdown 2025-01-25 20:51:24 +01:00
Veronica Berglyd Olsen
6d4e066810 Update other tests 2025-01-25 16:17:31 +01:00
Veronica Berglyd Olsen
9f1274f953 Update ODT and DocX to work with new chapter headers 2025-01-25 16:17:19 +01:00
Veronica Berglyd Olsen
9ac1692e2a Drop separate types for chapters, scenes and sections as they seem to not be needed 2025-01-25 16:11:57 +01:00
Veronica Berglyd Olsen
6f88357977 Update QTextDocument to work with new chapter headers 2025-01-25 15:35:02 +01:00
Veronica Berglyd Olsen
19bdbf9aca Update build settings margin labels 2025-01-25 15:26:25 +01:00
Veronica Berglyd Olsen
5a25d34ba3 Update HTML to work with new chapter headers 2025-01-25 15:05:11 +01:00
Veronica Berglyd Olsen
13e6199af2 Separate ordinary headers and novel headers in the Tokenizer 2025-01-25 14:58:06 +01:00
Veronica Berglyd Olsen
9e2310fdf3 Qt6 theming changes and editor search issue fixes (#2204) 2025-01-22 22:52:59 +01:00
Veronica Berglyd Olsen
47ffc83c73 Use error text colour instead for editor search box 2025-01-22 22:43:38 +01:00
Veronica Berglyd Olsen
7c3eb16800 Be even more specific on what widget to return focus to after searching next document 2025-01-22 22:30:02 +01:00
Veronica Berglyd Olsen
a8116a0fd9 Fix focus after search goes to next document 2025-01-22 22:20:46 +01:00
Veronica Berglyd Olsen
34645be975 Remove redundant cssCol helper 2025-01-22 21:52:50 +01:00
Veronica Berglyd Olsen
eb34a32760 Clean up background colours in editor and sidebar 2025-01-22 21:52:26 +01:00
Veronica Berglyd Olsen
5dee5ecefe Make trees/search consistent again using background role setter 2025-01-22 21:27:09 +01:00
Veronica Berglyd Olsen
f6edda3f97 Fix theme update for search widget 2025-01-22 21:16:46 +01:00
Veronica Berglyd Olsen
0f0b667fb8 Theme updates (#2203) 2025-01-22 20:01:26 +01:00
Veronica Berglyd Olsen
2735f30eab Fix side panel header margins 2025-01-22 17:01:20 +01:00
Veronica Berglyd Olsen
033bccf242 Update icons themes 2025-01-22 16:41:07 +01:00
Veronica Berglyd Olsen
93104d6a65 Separate sidebar icons from other icons 2025-01-22 16:40:54 +01:00
Veronica Berglyd Olsen
7e7bff9d06 Merge branch 'release' 2025-01-22 11:22:55 +01:00
Veronica Berglyd Olsen
5be1e2c954 Make some minor code and GUI fixes (#2202) 2025-01-22 01:05:28 +01:00
Veronica Berglyd Olsen
306bd245fc Block tree context menu in blank area 2025-01-22 00:58:55 +01:00
Veronica Berglyd Olsen
7e42d04e36 Drop deleteLater for context menus 2025-01-22 00:53:18 +01:00
Veronica Berglyd Olsen
53dfdb3a2e Fix potential undefined variable in editor 2025-01-22 00:48:59 +01:00
Veronica Berglyd Olsen
eb113a8928 Make sure status label in item details panel can wrap 2025-01-22 00:48:03 +01:00
Veronica Berglyd Olsen
ca046d8016 Editor code cleanup, and a few other places (#2201) 2025-01-22 00:46:51 +01:00
Veronica Berglyd Olsen
23398f2f8a Use Color and Colour consistently in the code 2025-01-22 00:42:45 +01:00
Veronica Berglyd Olsen
41a32b4fe9 Make sure status labels can wrap in item details panel 2025-01-22 00:36:06 +01:00
Veronica Berglyd Olsen
49e3403d69 Remove deleteLater calls that can be replaced by setParent(None) 2025-01-22 00:35:53 +01:00
Veronica Berglyd Olsen
5b840ada83 Make some improvements to the doc editor code 2025-01-22 00:35:01 +01:00
Veronica Berglyd Olsen
3672ae8be6 Windows launcher, attempt 2 (#2199) 2025-01-21 00:02:32 +01:00
Veronica Berglyd Olsen
d39d33c6cc Update signed windows launcher 2025-01-20 23:48:52 +01:00
Veronica Berglyd Olsen
d9424d0362 Bump launcher version 2025-01-20 23:46:36 +01:00
Veronica Berglyd Olsen
bcd7f8350b Add C redistributable to root of novelwriter install 2025-01-20 23:43:31 +01:00
Veronica Berglyd Olsen
4ec276642a Rewrite Windows launcher as a GUI exe 2025-01-20 23:33:46 +01:00
Veronica Berglyd Olsen
15cbc8d4fe Release 2.7 Alpha 2 (#2198) 2025-01-20 22:22:07 +01:00
Veronica Berglyd Olsen
b4672759f8 Make some minor improvements to the main init file 2025-01-20 22:19:24 +01:00
Veronica Berglyd Olsen
8e4127fbb1 Update release date and make some minor changes to Windows launcher 2025-01-20 22:18:54 +01:00
Veronica Berglyd Olsen
2621e0cf1b Update windows launcher exe 2025-01-18 15:21:30 +01:00
Veronica Berglyd Olsen
ce0f05a53a Bump launcher version 2025-01-18 15:19:27 +01:00
Veronica Berglyd Olsen
fe0d316ff6 Bump version to 2.7 Alpha 2 2025-01-18 15:16:56 +01:00
Veronica Berglyd Olsen
30be5a3746 Fix minor issue in Windows launcher 2025-01-18 15:16:11 +01:00
Veronica Berglyd Olsen
b64bd382ce Add a Windows exe launcher (#2197) 2025-01-18 15:04:22 +01:00
Veronica Berglyd Olsen
707427cde4 Remove Unicode character 2025-01-18 15:00:23 +01:00
Veronica Berglyd Olsen
7a52d32af9 Fix bug in windows installer build script 2025-01-18 14:56:40 +01:00
Veronica Berglyd Olsen
d2e208ef26 Split launcher and installer build, and add launcher exe 2025-01-18 14:29:42 +01:00
Veronica Berglyd Olsen
b6778128da Update installer build definitions 2025-01-18 14:21:38 +01:00
Veronica Berglyd Olsen
4e86693a97 Fix launcher path 2025-01-18 13:49:09 +01:00
Veronica Berglyd Olsen
567d61a8ea Add make script and update build job 2025-01-18 13:44:08 +01:00
Veronica Berglyd Olsen
d97b985d1c Move windows launcher source to the setup folder 2025-01-18 12:56:38 +01:00
Veronica Berglyd Olsen
6905653bdd Add file info to windows launcher resource file 2025-01-18 12:46:20 +01:00
Veronica Berglyd Olsen
a89058ab6c Add license header 2025-01-18 02:06:18 +01:00
Veronica Berglyd Olsen
296b18ba5f Add a minimal launcher for novelWriter on Windows 2025-01-18 01:19:47 +01:00
Veronica Berglyd Olsen
f548df2e64 Clean up pkgutils and update Windows installer (#2196) 2025-01-16 22:23:32 +01:00
Veronica Berglyd Olsen
d7730e9b04 Clean up function names a little 2025-01-16 22:19:58 +01:00
Veronica Berglyd Olsen
aabc21d611 Clean up some more files for Windows build 2025-01-16 22:10:22 +01:00
Veronica Berglyd Olsen
9c04899df5 Fix failing test due to config init change 2025-01-16 21:46:22 +01:00
Veronica Berglyd Olsen
0380a7fe72 Make sure the pkgutils script has no third party dependencies by default 2025-01-16 21:40:20 +01:00
Veronica Berglyd Olsen
0306701e6f Move asset builder functions 2025-01-16 21:32:56 +01:00
Veronica Berglyd Olsen
3ef790fbe3 Move AppImage builder functions 2025-01-16 21:27:39 +01:00
Veronica Berglyd Olsen
c8410e8527 Rename build utils 2025-01-16 21:22:07 +01:00
Veronica Berglyd Olsen
4bc17d42e3 Drop XDG functions 2025-01-16 21:20:38 +01:00
Veronica Berglyd Olsen
9332bd882c Move debian builder functions 2025-01-16 21:20:10 +01:00
Veronica Berglyd Olsen
ca70da2c28 Move common functions 2025-01-16 21:13:28 +01:00
Veronica Berglyd Olsen
767c22f348 Move and update Windows build for Qt6 2025-01-16 21:03:00 +01:00
Veronica Berglyd Olsen
931863d4ee Build binary on linux 2025-01-16 19:55:50 +01:00
Veronica Berglyd Olsen
b9602da177 Restructure icon theme builder 2025-01-16 19:26:04 +01:00
Veronica Berglyd Olsen
eb419fc4e0 Update Debian and Ubuntu builds (#2191) 2025-01-16 11:12:29 +01:00
Veronica Berglyd Olsen
cd8da61977 Update various Qt 5 references and links 2025-01-16 00:38:10 +01:00
Veronica Berglyd Olsen
9388ea12f9 Update Launchpad build 2025-01-16 00:23:14 +01:00
Veronica Berglyd Olsen
4b30ce0f39 Set package requirements to Qt 6.4 2025-01-15 23:51:27 +01:00
Veronica Berglyd Olsen
c760a22cfa Bump version to 2.7 Alpha 1 2025-01-15 23:38:34 +01:00
Veronica Berglyd Olsen
9de55ca286 Merge branch 'release' 2025-01-15 23:23:24 +01:00
Veronica Berglyd Olsen
a20508b83d Fix a few minor issues with the new icon themes, and Qt6 theme support (#2190) 2025-01-15 23:20:16 +01:00
Veronica Berglyd Olsen
167a4baa46 Improve painter on custom switch 2025-01-15 23:16:06 +01:00
Veronica Berglyd Olsen
ef8a54c49c Tune the other themes a little and remove no longer used colours 2025-01-15 23:12:12 +01:00
Veronica Berglyd Olsen
5274344237 Correct wrong colours in solarized themes 2025-01-15 23:07:37 +01:00
Veronica Berglyd Olsen
f3f7133961 Remove status led colours in theme and use icon colours instead 2025-01-15 23:06:36 +01:00
Veronica Berglyd Olsen
c369ef450f Fix add dicitonary tool (#2189) 2025-01-15 20:56:08 +01:00
Veronica Berglyd Olsen
6674cf99a6 Update spell check dictionary download links 2025-01-15 20:28:53 +01:00
Veronica Berglyd Olsen
785322e577 Add handling of user icon themes and account for missing theme 2025-01-15 20:24:01 +01:00
Veronica Berglyd Olsen
d44a5e57b2 Make sure theme shades are not all black 2025-01-15 20:23:21 +01:00
Veronica Berglyd Olsen
58a0799c8e Clean up after switching to Qt6 (#2187) 2025-01-14 22:51:52 +01:00
Veronica Berglyd Olsen
0b7c31b6a9 Fix warnings in tests 2025-01-13 19:43:04 +01:00
Veronica Berglyd Olsen
72ed5d84f6 Fix minor issues 2025-01-13 19:42:48 +01:00
Veronica Berglyd Olsen
7e280b2371 Clean up warnings and deprecations in gui tools 2025-01-13 02:53:55 +01:00
Veronica Berglyd Olsen
5027b8df19 Clean up warnings and deprecations in gui components 2025-01-13 02:21:56 +01:00
Veronica Berglyd Olsen
a60e0b3c87 Clean up warnings and deprecations in extensions and formats 2025-01-13 00:38:50 +01:00
Veronica Berglyd Olsen
ca2943775d Clean up warnings and deprecations in base and dialogs 2025-01-12 23:59:09 +01:00
Veronica Berglyd Olsen
717ade24e3 Remove scaling and add slots to main config class 2025-01-12 23:30:27 +01:00
Veronica Berglyd Olsen
0728b35735 Drop the custom data class decorator for now, since it is not performance relevant 2025-01-12 22:23:20 +01:00
Veronica Berglyd Olsen
e7a0803ca4 Switch to Qt6 (#2184) 2025-01-12 19:40:34 +01:00
Veronica Berglyd Olsen
b83d7ca2cc Fix theme test 2025-01-12 19:36:47 +01:00
Veronica Berglyd Olsen
1878adf78c Use data classes for theme values 2025-01-12 19:31:30 +01:00
Veronica Berglyd Olsen
4c2185fa1e Add custom data class decorator that uses slots 2025-01-12 19:30:11 +01:00
Veronica Berglyd Olsen
fe064c9d99 Move handling of theme meta data 2025-01-12 17:31:11 +01:00
Veronica Berglyd Olsen
029ac58a75 Complete GUI theme colour handling to match Qt's own 2025-01-12 17:30:46 +01:00
Veronica Berglyd Olsen
60130f067b Remove computed GUI scaling 2025-01-12 15:39:10 +01:00
Veronica Berglyd Olsen
a1d94d63a3 Remove main app testmode flag 2025-01-12 03:16:52 +01:00
Veronica Berglyd Olsen
27a0a47aaa Fix custom theme handling for Qt6 2025-01-11 23:55:08 +01:00
Veronica Berglyd Olsen
ff7446a2ef Update references to Qt5 and PyQt5 2025-01-11 21:55:26 +01:00
Veronica Berglyd Olsen
1307fccc59 Fix some minor GUI issues 2025-01-11 21:42:37 +01:00
Veronica Berglyd Olsen
86f210cfbf Fix duplicate tests issue 2025-01-11 20:55:09 +01:00
Veronica Berglyd Olsen
da036efdcf Switch test code to PyQt6 2025-01-11 20:36:42 +01:00
Veronica Berglyd Olsen
40c4e74d48 Switch app code to PyQt6 2025-01-11 20:15:32 +01:00
Veronica Berglyd Olsen
3ec210df9b Drop Python 3.9 (#2182) 2025-01-11 19:02:08 +01:00
Veronica Berglyd Olsen
cfb93924b0 Fix one more import blocker 2025-01-11 18:58:58 +01:00
Veronica Berglyd Olsen
98db7db2b1 Remove code excluded due to Python 3.9 2025-01-11 18:53:51 +01:00
Veronica Berglyd Olsen
31c58c29d5 Remove references to Python 3.9 2025-01-11 18:53:28 +01:00
Veronica Berglyd Olsen
859211fb6d Merge fixes from release branch 2025-01-11 18:45:05 +01:00
Veronica Berglyd Olsen
70cca405f5 Make sure selection model exists before accessing (#2181) 2025-01-11 18:43:47 +01:00
Veronica Berglyd Olsen
d7d211baf2 Fix empty selection model bug (#2173) 2025-01-11 18:39:23 +01:00
Veronica Berglyd Olsen
30429fac58 Fix bug in theme update in outline view (#2178) 2025-01-11 18:38:38 +01:00
Veronica Berglyd Olsen
d5a35fa86f Fix novel selector bug (#2179) 2025-01-11 18:37:06 +01:00
Veronica Berglyd Olsen
dc265e57f3 Store previous selection before clear in novel selector widget 2025-01-11 18:30:53 +01:00
Veronica Berglyd Olsen
bff341db60 Fix theme update in outline view 2025-01-11 18:23:14 +01:00
Veronica Berglyd Olsen
92b6ed2e9e Improve icon colouring after feedback (#2177) 2025-01-11 17:58:31 +01:00
Veronica Berglyd Olsen
84b0553797 Fix a couple of mistakes in theme files 2025-01-11 02:18:20 +01:00
Veronica Berglyd Olsen
d9a9f39556 Change some of the Remix icons 2025-01-11 02:14:49 +01:00
Veronica Berglyd Olsen
66c6fa5590 Tone down the default icon colour a little from the text colour 2025-01-11 02:11:53 +01:00
Veronica Berglyd Olsen
31ea53135f Make the faded colour available as an override colour 2025-01-11 01:01:09 +01:00
Veronica Berglyd Olsen
fce18689b7 Add a faded icon colour 2025-01-11 00:56:16 +01:00
Veronica Berglyd Olsen
5bf113de23 Add a setting to keep theme colours on documents when using override 2025-01-11 00:48:09 +01:00
Veronica Berglyd Olsen
c3c24d5533 Remove colour from the non-checkable icon for active/inactive 2025-01-11 00:30:50 +01:00
Veronica Berglyd Olsen
a54a5b3d55 Add Remix Icon and Font Awesome themes (#2174) 2025-01-10 19:09:44 +01:00
Veronica Berglyd Olsen
1e8b33a74f Add credits and license info 2025-01-10 19:04:40 +01:00
Veronica Berglyd Olsen
22fe8f1d12 Update other themes with renamed icon keys 2025-01-10 18:50:19 +01:00
Veronica Berglyd Olsen
fbcf185c13 Add Remix Icon themes 2025-01-10 18:49:23 +01:00
Veronica Berglyd Olsen
586370188b Add Font Awesome icons 2025-01-10 17:40:16 +01:00
Veronica Berglyd Olsen
723cba5b56 Separate out icons for sidebar 2025-01-10 17:40:02 +01:00
Veronica Berglyd Olsen
ec1047207c Restructure how icon themes are generated 2025-01-10 17:39:20 +01:00
Veronica Berglyd Olsen
daa916a0c4 Replace icons with Material Symbols (#2171) 2025-01-10 12:43:58 +01:00
Veronica Berglyd Olsen
591a17eb19 Update license info 2025-01-10 12:30:28 +01:00
Veronica Berglyd Olsen
acca753a77 Fix view panel theme update 2025-01-10 12:22:05 +01:00
Veronica Berglyd Olsen
9e9c24d8c0 Drop lxml, it's not needed 2025-01-10 03:01:25 +01:00
Veronica Berglyd Olsen
c3fc1d4e5a Update tests 2025-01-10 02:24:24 +01:00
Veronica Berglyd Olsen
894c48b5b0 Merge branch 'main' into material_icons 2025-01-10 01:59:49 +01:00
Veronica Berglyd Olsen
5503db376a Move main to 2.7 Alpha 0 2025-01-10 01:58:50 +01:00
Veronica Berglyd Olsen
4b79b2bd57 Fix i18n sources (#2169) 2025-01-10 01:06:24 +01:00
Veronica Berglyd Olsen
80c9e54a9a Update translation files 2025-01-10 01:00:16 +01:00
Veronica Berglyd Olsen
eba0b607a4 Fix translation issues 2025-01-10 00:59:53 +01:00
Veronica Berglyd Olsen
04464a2798 Separate some constants due to duplicate words 2025-01-09 23:51:29 +01:00
Veronica Berglyd Olsen
202b5192ed Release 2.6 RC 1 (#2168) 2025-01-09 23:07:24 +01:00
Veronica Berglyd Olsen
62397225f9 Update translations 2025-01-09 22:58:28 +01:00
Veronica Berglyd Olsen
b220fffd6f Bump version to 2.6 RC 1 and update changelog 2025-01-09 22:54:19 +01:00
Veronica Berglyd Olsen
e14f7881a3 Fix search panel theme update bug (#2167) 2025-01-09 22:42:47 +01:00
Veronica Berglyd Olsen
2085fbe107 Drop the wrapper widget for the search tool header (#2162) 2025-01-09 22:36:11 +01:00
Veronica Berglyd Olsen
31a75f044e Fix minor issues with some constants (#2166) 2025-01-09 22:27:08 +01:00
Veronica Berglyd Olsen
5b74125fcd Merge branch 'main' into minor_fixes 2025-01-09 22:22:39 +01:00
Veronica Berglyd Olsen
1cf3cfcf77 Fix typo in constant 2025-01-09 22:15:33 +01:00
Veronica Berglyd Olsen
defaf6c1ee Fix constant in error handler 2025-01-09 22:15:20 +01:00
Veronica Berglyd Olsen
a6fde426a7 Add override settings for project tree icon colours 2025-01-08 22:22:53 +01:00
Veronica Berglyd Olsen
a0fea3c025 Separate project tree icons from the rest 2025-01-08 22:22:09 +01:00
Veronica Berglyd Olsen
5650792be8 Add icon theme selector to Preferences 2025-01-08 02:09:22 +01:00
Veronica Berglyd Olsen
24eb99cdaa Change the material icons a little 2025-01-08 02:09:04 +01:00
Veronica Berglyd Olsen
c571d701ac Remove old icon themes 2025-01-08 01:17:47 +01:00
Veronica Berglyd Olsen
f4bdf3be71 Fix a few remaining issues with icon refresh 2025-01-08 01:16:31 +01:00
Veronica Berglyd Olsen
553958b952 Fix decoration loading 2025-01-08 00:57:01 +01:00
Veronica Berglyd Olsen
fa046897dc Fix a few icons and add icon theme setting 2025-01-08 00:21:08 +01:00
Veronica Berglyd Olsen
5cc29a7605 Update icons files 2025-01-08 00:20:31 +01:00
Veronica Berglyd Olsen
b97844512a Update icons in the GUI 2025-01-07 19:19:11 +01:00
Veronica Berglyd Olsen
8a671dee59 Add some icon themes 2025-01-07 19:16:56 +01:00
Veronica Berglyd Olsen
486b6a19d2 Add script to generate theme icon files 2025-01-07 17:57:02 +01:00
Veronica Berglyd Olsen
fafd088751 Set theme icon colours 2025-01-07 17:56:41 +01:00
Veronica Berglyd Olsen
e66288b4de Add basic support for loading icons from a single file 2025-01-07 17:55:49 +01:00
Veronica Berglyd Olsen
e0f467fa10 Fix minor bug from in editor counter (#2157) 2025-01-04 01:42:21 +01:00
Veronica Berglyd Olsen
362da679b6 Fix minor issue introduced by selection counter update 2025-01-04 01:38:06 +01:00
Veronica Berglyd Olsen
0b35bcfc3b Fix minor issue with editor word counter (#2156) 2025-01-03 23:47:24 +01:00
Veronica Berglyd Olsen
fad162c6c1 Give selection counter priority in editor footer (#2155) 2025-01-03 23:42:41 +01:00
Veronica Berglyd Olsen
97fc64fcae Update copyright (#2154) 2025-01-03 12:02:48 +00:00
Veronica Berglyd Olsen
5224234637 Make sure imported status labels are saved (#2153) 2024-12-31 01:05:38 +01:00
Veronica Berglyd Olsen
b4f1d0ec77 Fix bug in status label import 2024-12-31 00:59:25 +01:00
Veronica Berglyd Olsen
5911c43b5b Add Import/export of status labels (#2152) 2024-12-31 00:40:52 +01:00
Veronica Berglyd Olsen
4f137466c5 Fix test for Windows 2024-12-31 00:38:02 +01:00
Veronica Berglyd Olsen
3836a2a56c Fix column stretch setting 2024-12-31 00:35:52 +01:00
Veronica Berglyd Olsen
49e59d74cc Update tests 2024-12-31 00:28:42 +01:00
Veronica Berglyd Olsen
9461eea03a Add import/export for status labels 2024-12-31 00:14:47 +01:00
Veronica Berglyd Olsen
136939d391 Make some general import/export functionality improvements 2024-12-31 00:14:25 +01:00
Veronica Berglyd Olsen
33aea82e6e Remove "Apply" buttons in Project Settings (#2151) 2024-12-30 17:00:18 +01:00
Veronica Berglyd Olsen
4a6511b39f Add some minor code cleanup 2024-12-30 16:55:54 +01:00
Veronica Berglyd Olsen
6448f05557 Also remove apply button from auto-replace settings 2024-12-30 16:50:34 +01:00
Veronica Berglyd Olsen
c08eca7c3b Update test 2024-12-30 16:39:44 +01:00
Veronica Berglyd Olsen
df6ca2e17b Drop the status/importance Apply button (#2150) 2024-12-30 16:34:54 +01:00
Veronica Berglyd Olsen
c39a5f9708 Hide session timer (#2149) 2024-12-29 18:02:17 +01:00
Veronica Berglyd Olsen
46d69c31d1 Update docs 2024-12-29 17:43:54 +01:00
Veronica Berglyd Olsen
e924d121bf Update tests 2024-12-29 17:38:21 +01:00
Veronica Berglyd Olsen
2fa1dcccac Use correct signal naming 2024-12-29 17:38:03 +01:00
Veronica Berglyd Olsen
dc9413fa7e Show or hide the status bar timer when it is clicked 2024-12-29 17:30:03 +01:00
Veronica Berglyd Olsen
1b34bc30c7 Add a modified label widget that emits a click signal 2024-12-29 17:29:07 +01:00
Veronica Berglyd Olsen
4d33f087df Fix project tree status/importance for folders (#2147) 2024-12-29 16:33:38 +01:00
Veronica Berglyd Olsen
81a4d5fadb Fix wrong check type for single item status label chang (#2145) 2024-12-29 16:15:56 +01:00
Veronica Berglyd Olsen
7682ae0425 Update MacOS DMG build (#2141) 2024-12-23 15:57:46 +01:00
Veronica Berglyd Olsen
677274adb3 Try a different MacOS image 2024-12-23 15:37:28 +01:00
Veronica Berglyd Olsen
83fca9fd94 Release 2.6 Beta 2 (#2139) 2024-12-23 15:06:51 +01:00
Veronica Berglyd Olsen
4150a9740b Bump version and update changelog 2024-12-23 15:00:01 +01:00
Veronica Berglyd Olsen
f7021559d0 Refactor quoted dialogue detection (#2138) 2024-12-23 14:23:53 +01:00
Veronica Berglyd Olsen
00d4c550f1 Update tests 2024-12-23 14:20:02 +01:00
Veronica Berglyd Olsen
97903993c8 Restructure dialogue detection from quotes 2024-12-23 14:19:47 +01:00
Veronica Berglyd Olsen
3d858ed9ab Remove boundary condition in quote dialogue highlighting in most cases (#2131) 2024-12-09 00:23:48 +01:00
Veronica Berglyd Olsen
cc5cd50065 Improve editor auto-replace (#2132) 2024-12-05 23:41:22 +01:00
Veronica Berglyd Olsen
0c0d909dcb Remove debug code 2024-12-05 23:34:12 +01:00
Veronica Berglyd Olsen
8dafaa13c0 Use slots for some of the often called attributes in the editor 2024-12-05 23:01:17 +01:00
Veronica Berglyd Olsen
05385ba73b Improve the text auto-replace class 2024-12-05 22:57:43 +01:00
Veronica Berglyd Olsen
924a2c3381 Move editor auto-replace to a separate class 2024-12-05 22:40:15 +01:00
Veronica Berglyd Olsen
6502c424e2 Align headers to bottom of page margin for ODT and DocX (#2128) 2024-11-29 12:52:50 +01:00
Veronica Berglyd Olsen
243124a4ba Update tests 2024-11-29 00:41:15 +01:00
Veronica Berglyd Olsen
4a2a14bc05 Make header margins similar in ODT and DocX files (#2120) 2024-11-29 00:40:45 +01:00
Veronica Berglyd Olsen
976328c9dc Fix font style and PDF issues (#2122) 2024-11-27 22:59:20 +01:00
Veronica Berglyd Olsen
3b0086e75e Use a frame for page break marker in manuscript preview 2024-11-26 23:56:31 +01:00
Veronica Berglyd Olsen
7c38a748b6 Merge branch 'main' into font_styles 2024-11-26 22:58:32 +01:00
Veronica Berglyd Olsen
4d98689304 Merge release 2.5.3 2024-11-26 22:57:51 +01:00
Veronica Berglyd Olsen
8307822e20 Release 2.5.3 (#2126) 2024-11-26 22:27:30 +01:00
Veronica Berglyd Olsen
f1548dc8ea Fix some issues in the changelog 2024-11-26 22:23:15 +01:00
Veronica Berglyd Olsen
25b33ab4d3 Bump version to 2.5.3 and update changelog 2024-11-26 22:21:30 +01:00
Veronica Berglyd Olsen
4af98dcab5 Add Russian translation 2024-11-26 22:13:55 +01:00
Veronica Berglyd Olsen
3cf916c845 Update translations 2024-11-26 22:10:43 +01:00
Veronica Berglyd Olsen
bcac05ca20 Only use 1200 DPI for scalable fonts 2024-11-26 21:42:54 +01:00
Veronica Berglyd Olsen
07c61450c7 Try forcing resolution for PDF printer 2024-11-26 18:57:07 +01:00
Veronica Berglyd Olsen
43d95462e0 Optimise a few details and add some tests 2024-11-26 17:07:02 +01:00
Veronica Berglyd Olsen
c091e0b9bb Apply the font matcher closer to config read 2024-11-26 17:06:34 +01:00
Veronica Berglyd Olsen
18c70ffe3e Allow setting resolution for ToQTextDocument converter 2024-11-26 02:22:36 +01:00
Veronica Berglyd Olsen
ff470028be Add a font matcher for text fonts (#2118) 2024-11-26 02:03:09 +01:00
Veronica Berglyd Olsen
8463188336 Fix default font in editor 2024-11-26 01:06:47 +01:00
Veronica Berglyd Olsen
2808c36753 Rename tokenizer setFont to setTextFont 2024-11-26 00:40:09 +01:00
Veronica Berglyd Olsen
05b1fdd7f2 Drop relative font weights in ODT output 2024-11-25 23:43:38 +01:00
Veronica Berglyd Olsen
00017e8065 Reset to default font style after emphasis in QTextDocuments (#2121) 2024-11-25 23:36:35 +01:00
Veronica Berglyd Olsen
ff34112532 Rewrite project tree as a model/view set (#2119) 2024-11-25 00:11:53 +01:00
Veronica Berglyd Olsen
4cadd1597e Add coverage to remaining missed lines 2024-11-25 00:07:32 +01:00
Veronica Berglyd Olsen
e30d2cbbf1 Always use forward slash for ToC file 2024-11-24 19:25:46 +01:00
Veronica Berglyd Olsen
0449cf824d Add test coverage of the gui project tree 2024-11-24 18:39:23 +01:00
Veronica Berglyd Olsen
32d899dbfb Fix windows path 2024-11-24 02:53:54 +01:00
Veronica Berglyd Olsen
9ec9c55c3f Add test coverage of the project tree 2024-11-24 02:48:17 +01:00
Veronica Berglyd Olsen
01b2b53fd5 Add test coverage of the item model 2024-11-24 00:43:01 +01:00
Veronica Berglyd Olsen
be6888f8c8 Fix Python 3.9 incompatible type 2024-11-23 20:29:02 +01:00
Veronica Berglyd Olsen
c1ed0647fe Refactor project signal proxies 2024-11-23 19:56:24 +01:00
Veronica Berglyd Olsen
1bf42ceb55 Update tests other than tree-related 2024-11-23 19:30:29 +01:00
Veronica Berglyd Olsen
ca8bd8d271 Disable project tree tests in core and gui 2024-11-22 17:04:53 +01:00
Veronica Berglyd Olsen
bf23a4920f Merge branch 'main' into project_model 2024-11-22 16:46:50 +01:00
Veronica Berglyd Olsen
cfb048ec19 Update log formatting again (#2117) 2024-11-22 16:46:28 +01:00
Veronica Berglyd Olsen
5284bea0f0 Rewrite log colouring 2024-11-22 16:41:11 +01:00
Veronica Berglyd Olsen
1244a4058c Merge branch 'main' into project_model 2024-11-22 02:22:47 +01:00
Veronica Berglyd Olsen
8c51363651 Colourise log output (#2114) 2024-11-22 02:22:10 +01:00
Veronica Berglyd Olsen
893f18c7ad Add test coverage 2024-11-22 02:18:31 +01:00
Veronica Berglyd Olsen
909c97feda Add ANSI colours to log output 2024-11-22 01:47:21 +01:00
Veronica Berglyd Olsen
fea989c1f8 Update comments 2024-11-22 00:56:33 +01:00
Veronica Berglyd Olsen
a64ed405f3 Add some clear data functions 2024-11-22 00:44:14 +01:00
Veronica Berglyd Olsen
ffe6cd0a65 Update item change signals 2024-11-22 00:15:12 +01:00
Veronica Berglyd Olsen
e0b27317f3 Make sure deleted documents are closed if open 2024-11-21 22:24:34 +01:00
Veronica Berglyd Olsen
7ed619cf2e Restore project item emphasis 2024-11-21 01:33:09 +01:00
Veronica Berglyd Olsen
d55f53be0a Clean up item notification and item main icon 2024-11-21 01:18:28 +01:00
Veronica Berglyd Olsen
55eed706fb Re-implement word counters 2024-11-21 00:14:54 +01:00
Veronica Berglyd Olsen
2f71ec68d8 Re-implement row highlight, empty trash, and fix recursive permanent delete 2024-11-20 23:07:40 +01:00
Veronica Berglyd Olsen
a45ab2f017 Remove tooltip for non-checkable items 2024-11-20 22:36:44 +01:00
Veronica Berglyd Olsen
26b4da9eb4 Fix most tests with minor issues 2024-11-20 19:58:34 +01:00
Veronica Berglyd Olsen
4897f6ad69 Update tests 2024-11-20 18:48:54 +01:00
Veronica Berglyd Olsen
bbe8683d59 Re-implement project item duplication 2024-11-20 18:48:14 +01:00
Veronica Berglyd Olsen
072be78991 Re-enable project tree context menu and clean up split and merge 2024-11-20 16:42:08 +01:00
Veronica Berglyd Olsen
3f41e62e21 Move some variables around 2024-11-20 16:41:26 +01:00
Veronica Berglyd Olsen
ec01336c21 Fix active status icon and tooltip 2024-11-20 13:06:49 +01:00
Veronica Berglyd Olsen
5dcfe5c874 Allow drag and drop to open documents 2024-11-20 02:12:28 +01:00
Veronica Berglyd Olsen
72f1bc2d77 Add model support for drag and drop 2024-11-20 01:31:56 +01:00
Veronica Berglyd Olsen
54685c8184 Reimplement item deletion 2024-11-19 23:26:01 +01:00
Veronica Berglyd Olsen
3532306833 Add move to trash functionality 2024-11-19 17:48:01 +01:00
Veronica Berglyd Olsen
442b065834 Handle item consistency in the nodes tree 2024-11-19 17:47:21 +01:00
Veronica Berglyd Olsen
53e70c118c Add back create new project item functionality 2024-11-19 00:22:59 +01:00
Veronica Berglyd Olsen
a5575992d6 Re-enable project tree move item and navigation 2024-11-18 18:04:25 +01:00
Veronica Berglyd Olsen
df0244095f Rewrite how project items are refreshed on the GUI 2024-11-18 17:51:05 +01:00
Veronica Berglyd Olsen
337f05f60e Re-enable item rename 2024-11-18 00:01:40 +01:00
Veronica Berglyd Olsen
4f8e898440 Switch data tree to new model structure 2024-11-17 23:24:49 +01:00
Veronica Berglyd Olsen
7991b9b27c Re-enable item selection 2024-11-17 22:41:45 +01:00
Veronica Berglyd Olsen
ef42e1956c Merge new and old project tree 2024-11-17 22:07:37 +01:00
Veronica Berglyd Olsen
27b3dde6f6 Complete build initial tree and save tree logic 2024-11-17 21:24:55 +01:00
Veronica Berglyd Olsen
cbe557507f Add a basic project tree model 2024-11-17 19:25:55 +01:00
Veronica Berglyd Olsen
7a9da5f219 Merge branch 'release' 2024-11-16 20:58:09 +01:00
Veronica Berglyd Olsen
d944a70063 Fix secondary issues due to Qt tree widget bug (#2109) 2024-11-16 20:35:14 +01:00
Veronica Berglyd Olsen
c20f970405 Block drops on project tree viewport, and allow non-root items on root to be deleted (#2108) 2024-11-16 20:21:57 +01:00
Veronica Berglyd Olsen
49bb7f3a34 Fix default button issue on Build dialog (#2105) 2024-11-15 21:51:25 +01:00
Veronica Berglyd Olsen
021827ff2d Force the Build button to be default on the build dialog (#2101) 2024-11-15 20:49:45 +01:00
Veronica Berglyd Olsen
97312aecf5 Fix PDF formatting (#2104) 2024-11-15 20:25:29 +01:00
Veronica Berglyd Olsen
f3c9a77989 Revert to QPrinter, but update paint device 2024-11-15 19:31:55 +01:00
Veronica Berglyd Olsen
2c031bc093 Skip anchors when generating PDF 2024-11-15 01:34:02 +01:00
Veronica Berglyd Olsen
69147c2480 Correct pixel units 2024-11-15 01:27:49 +01:00
Veronica Berglyd Olsen
22ca0045bc Correct font scaling on PDF output 2024-11-15 00:40:58 +01:00
Veronica Berglyd Olsen
af431a4766 Merge branch 'main' into pdf_format_fixes 2024-11-14 23:20:12 +01:00
Veronica Berglyd Olsen
5a8045131b Update editor toolbar icon (#2103) 2024-11-14 23:18:43 +01:00
Veronica Berglyd Olsen
7c0a6f1d02 Use correct em calculation in qdoc class 2024-11-14 23:18:22 +01:00
Veronica Berglyd Olsen
4fc69ef7c6 Replace printer with Qt's PDF writer 2024-11-14 23:17:54 +01:00
Veronica Berglyd Olsen
91e502deb6 Add a new icon for the editor toolbar 2024-11-14 21:10:33 +01:00
Veronica Berglyd Olsen
1ee191220f Refactor manuscript format text scaling and text margin settings (#2102) 2024-11-13 23:22:28 +01:00
Veronica Berglyd Olsen
a96ccf8422 Add icons for text margins 2024-11-13 23:16:54 +01:00
Veronica Berglyd Olsen
57641ecd7d Make page number work with Office 365 2024-11-13 20:50:47 +01:00
Veronica Berglyd Olsen
ed431aa30f Update tests 2024-11-13 20:40:44 +01:00
Veronica Berglyd Olsen
7a111bb173 Update default margins 2024-11-13 20:24:10 +01:00
Veronica Berglyd Olsen
220be06631 Make HTML margins scale to em units 2024-11-13 20:05:03 +01:00
Veronica Berglyd Olsen
d8c14f6712 Make ODT margins scale to em units 2024-11-13 20:04:52 +01:00
Veronica Berglyd Olsen
e514b1be4f Fix DocX line height setting 2024-11-13 19:51:36 +01:00
Veronica Berglyd Olsen
5e7ef1d25a Minor improvements for 2.6 beta release (#2095) 2024-11-13 18:43:11 +01:00
Veronica Berglyd Olsen
c2b3eb4ac2 Fix issue of alternative unicode symbols being replaced too early 2024-11-13 00:03:38 +01:00
Veronica Berglyd Olsen
1bd8370864 Update dialogue highlighting settings text in Preferences 2024-11-12 23:10:57 +01:00
Veronica Berglyd Olsen
8c952953e3 Release 2.6 Beta 1 (#2092) 2024-11-12 17:42:59 +01:00
Veronica Berglyd Olsen
c065c9b30f Fix a couple of mistakes in the changelog 2024-11-12 17:35:59 +01:00
Veronica Berglyd Olsen
a18eb1158e Bump version to 2.6b1 and update changelog 2024-11-12 00:38:49 +01:00
Veronica Berglyd Olsen
08ef352288 GUI improvements and fixes (#2089) 2024-11-08 22:02:35 +01:00
Veronica Berglyd Olsen
25297b8b0b Add some coverage settings to the main project file 2024-11-08 17:34:06 +01:00
Veronica Berglyd Olsen
ea591fe707 Fix bug in outline view preserving details panel split position 2024-11-08 17:31:23 +01:00
Veronica Berglyd Olsen
b0bcf8605c Fix closing app with no project bug 2024-11-08 17:30:54 +01:00
Veronica Berglyd Olsen
b28921d6c2 Add an edit button to the viewer (#1963) 2024-11-08 17:30:10 +01:00
Veronica Berglyd Olsen
87ae7585e8 Add status column to project outline (#2088) 2024-11-08 00:37:57 +01:00
Veronica Berglyd Olsen
b39b37fb2f Add timing to outline build 2024-11-08 00:34:21 +01:00
Veronica Berglyd Olsen
cd9e0de9dd Update test 2024-11-07 23:59:52 +01:00
Veronica Berglyd Olsen
5107849909 Add status column to outline 2024-11-07 23:55:59 +01:00
Veronica Berglyd Olsen
5c988960f5 Revert a mistake in page break cleanup 2024-11-07 19:05:49 +01:00
Veronica Berglyd Olsen
44792778aa Simplify collection of raw text (#2087) 2024-11-07 19:03:34 +01:00
Veronica Berglyd Olsen
0a7bd68258 Simplify collection of raw text 2024-11-07 18:56:16 +01:00
Veronica Berglyd Olsen
30118eceaa Make page breaks visible in manuscript preview (#2086) 2024-11-07 18:39:10 +01:00
Veronica Berglyd Olsen
87512eb13b Rename variable 2024-11-07 18:33:53 +01:00
Veronica Berglyd Olsen
9919e1a49e Add new features to new project title page 2024-11-07 18:31:08 +01:00
Veronica Berglyd Olsen
d04a21b70f Improve page break handling in the tokenizer 2024-11-07 17:53:19 +01:00
Veronica Berglyd Olsen
fc6e0a577f Add a switch to enable/disable showing page breaks in the manuscript tool 2024-11-07 17:52:56 +01:00
Veronica Berglyd Olsen
0c659422b7 Add page break markers to the QTextDocument format class 2024-11-07 17:52:01 +01:00
Veronica Berglyd Olsen
2018023dc7 Remove redundant if-checks 2024-11-07 14:34:35 +01:00
Veronica Berglyd Olsen
04645cab71 Merge bugfix for #2080 from 2.5 release branch 2024-11-05 18:46:12 +01:00
Veronica Berglyd Olsen
bec082c0ae Fix HTML formatting issue (#2085) 2024-11-05 18:44:05 +01:00
Veronica Berglyd Olsen
83b244a8a3 Fix head tags order in HTML output (#2080) 2024-11-05 18:39:43 +01:00
Veronica Berglyd Olsen
ae261381aa Add build copy feature (#2084) 2024-11-05 18:38:32 +01:00
Veronica Berglyd Olsen
b088b79ee8 Add test coverage 2024-11-05 18:32:02 +01:00
Veronica Berglyd Olsen
0b59ee8634 Add duplicate build feature 2024-11-05 18:17:43 +01:00
Veronica Berglyd Olsen
f62b755903 Add copy button icon 2024-11-05 18:17:21 +01:00
Veronica Berglyd Olsen
04036ef35c Improve dialogue highlighting after feedback (#2082) 2024-11-05 17:34:04 +01:00
Veronica Berglyd Olsen
e4a2ca2d19 Add horizontal bar to em dash conversion in tokenizer 2024-11-04 17:32:22 +01:00
Veronica Berglyd Olsen
89f452f3fc Restructure and improve dialogue highlighting 2024-11-04 17:28:21 +01:00
Veronica Berglyd Olsen
843f8e0d39 Add missing line in dialogue highlighting check 2024-11-04 00:21:25 +01:00
Veronica Berglyd Olsen
8618306230 Update dialogue handling again (#2081) 2024-11-03 22:40:17 +01:00
Veronica Berglyd Olsen
34a3e17326 Fix quotes regex issue and update tests 2024-11-03 22:09:16 +01:00
Veronica Berglyd Olsen
5af49dfc6f Add a separate setting for alternating dialogue/narration 2024-11-03 21:45:00 +01:00
Veronica Berglyd Olsen
837d3060b8 Separate single and double quoted dialogue 2024-11-03 21:14:36 +01:00
Veronica Berglyd Olsen
2754f78083 Merge Spanish and Portuguese narrator break logic 2024-11-03 21:14:11 +01:00
Veronica Berglyd Olsen
1b509ad60b Add a dialogue parser, and horizontal bar auto-complete (#2079) 2024-11-01 22:23:16 +01:00
Veronica Berglyd Olsen
82e923b181 Remove debug code 2024-11-01 22:11:35 +01:00
Veronica Berglyd Olsen
e92b8400c7 Add dialogue parser test coverage 2024-11-01 22:07:47 +01:00
Veronica Berglyd Olsen
1ad6a80682 Update auto-replace in editor, and update tests 2024-11-01 21:17:46 +01:00
Veronica Berglyd Olsen
f355b82bba Add auto-replace for horizontal bar 2024-11-01 20:49:16 +01:00
Veronica Berglyd Olsen
66567b6d6f Allow up to 4 dialogue line symbols 2024-11-01 20:07:35 +01:00
Veronica Berglyd Olsen
d9582436d4 Update tests 2024-11-01 19:55:56 +01:00
Veronica Berglyd Olsen
31c75ea0b1 Add a dialog parser class 2024-11-01 19:55:35 +01:00
Veronica Berglyd Olsen
057fc10565 Refactor and clean up GUI code (#2078) 2024-10-31 18:42:32 +01:00
Veronica Berglyd Olsen
bbb07c9963 Make some minor GUI tweaks 2024-10-31 18:35:28 +01:00
Veronica Berglyd Olsen
dd09d3af2f Refactor outline details panel code 2024-10-31 18:28:58 +01:00
Veronica Berglyd Olsen
ccb5f8418b Remove redundant function in project tree 2024-10-31 18:28:35 +01:00
Veronica Berglyd Olsen
55d2605222 Use the new qtLambda wrapper where appropriate 2024-10-31 17:31:58 +01:00
Veronica Berglyd Olsen
7f49979bc9 Clean up project tree class 2024-10-31 17:30:49 +01:00
Veronica Berglyd Olsen
b529d5b125 Improve document editing and test coverage (#2077) 2024-10-31 00:21:19 +01:00
Veronica Berglyd Olsen
f2e36d9974 Cover missing lines in error module 2024-10-31 00:18:16 +01:00
Veronica Berglyd Olsen
ca2b509d54 Make the test a little safer 2024-10-31 00:11:32 +01:00
Veronica Berglyd Olsen
0ba0674b9e Some code flow improvements and main GUI test coverage 2024-10-31 00:07:48 +01:00
Veronica Berglyd Olsen
a2b09fdfec Update various features in the doc editor using new helper code 2024-10-30 19:13:13 +01:00
Veronica Berglyd Olsen
fa0bef5500 Extend and refactor current open document highlighting 2024-10-30 19:12:09 +01:00
Veronica Berglyd Olsen
92d148b03d Allow inserting stats in documents (#2073) 2024-10-30 00:14:48 +01:00
Veronica Berglyd Olsen
3d935e29eb Update test coverage 2024-10-30 00:08:31 +01:00
Veronica Berglyd Olsen
3749c9f21d Fix variable formatting for DocX and ODT 2024-10-29 17:50:51 +01:00
Veronica Berglyd Olsen
2a3d3e46c2 Pin tests to set locale to en_GB 2024-10-29 17:50:51 +01:00
Veronica Berglyd Olsen
9bc1561e01 Change to use document locale for integers 2024-10-29 17:50:51 +01:00
Veronica Berglyd Olsen
d987246062 Use Qt for int locale 2024-10-29 17:50:50 +01:00
Veronica Berglyd Olsen
c6a22e2d96 Add stats variables to Lipsum test project 2024-10-29 17:50:50 +01:00
Veronica Berglyd Olsen
42f904f1ea Add field value insertion to all formats 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen
f92521c93a Process field values in QTextDocuments 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen
041183f914 Add processing of fields in the Tokenizer 2024-10-29 17:50:49 +01:00
Veronica Berglyd Olsen
857b6ddc55 Update main menu 2024-10-29 17:50:48 +01:00
Veronica Berglyd Olsen
f2d2b4c4f2 Generalise the manuscript stats count values 2024-10-29 17:47:32 +01:00
Veronica Berglyd Olsen
8725edaf7e Refactor main menu (#2075) 2024-10-29 17:46:16 +01:00
Veronica Berglyd Olsen
4eace705e3 Add a function wrapper that makes the linter happy when used for Qt slots 2024-10-29 17:37:50 +01:00
Veronica Berglyd Olsen
b2d71acd93 Connect menu actions to main GUI in the menu class 2024-10-29 17:36:54 +01:00
Veronica Berglyd Olsen
e424fcfe53 Add support for referencing tags in novel documents (#2072) 2024-10-28 00:18:46 +01:00
Veronica Berglyd Olsen
eefb40cb1f Update tests 2024-10-28 00:12:06 +01:00
Veronica Berglyd Olsen
785cd3aea9 Add support for story reference, and update mention reference in outline details 2024-10-28 00:08:28 +01:00
Veronica Berglyd Olsen
07c700f666 Rewrite narrator break for dialogue highlighting (#2068) 2024-10-27 13:15:57 +01:00
Veronica Berglyd Olsen
8db0928724 Re-order preferences settings and ensure dialog/narrator symbols are single characters 2024-10-27 13:11:50 +01:00
Veronica Berglyd Olsen
b25ba9de27 Add test coverage of the highlighter 2024-10-27 13:05:24 +01:00
Veronica Berglyd Olsen
bf478a6706 Update tests 2024-10-27 02:22:39 +02:00
Veronica Berglyd Olsen
a1a58f51b1 Add new logic for dialogue narrator break to tokenizer 2024-10-27 02:15:06 +02:00
Veronica Berglyd Olsen
8850161641 Add new logic for dialogue narrator break 2024-10-27 01:55:19 +02:00
Veronica Berglyd Olsen
f931148594 Bump version to 2.6 Alpha 3 2024-10-27 00:35:57 +02:00
Veronica Berglyd Olsen
c31b0bcf17 Add Url recognition and formatting (#2067) 2024-10-27 00:17:11 +02:00
Veronica Berglyd Olsen
ba260ac608 Add test coverage of new features, and some other places 2024-10-27 00:13:18 +02:00
Veronica Berglyd Olsen
f2fc19b168 Add test coverage of new features 2024-10-26 23:28:34 +02:00
Veronica Berglyd Olsen
ceabc666c3 Add font table, fix core.xml bug, clean up code, update tests, for DocX 2024-10-26 17:09:50 +02:00
Veronica Berglyd Olsen
6c217c2450 Fix spell checker issue 2024-10-25 23:53:38 +02:00
Veronica Berglyd Olsen
7ff8921420 Add links to DocX 2024-10-25 23:19:23 +02:00
Veronica Berglyd Olsen
fe56c88309 Separate spell checking and link scanning, and add ODT support for links 2024-10-25 23:19:23 +02:00
Veronica Berglyd Olsen
b13b91c8e8 Add url to Lipsum test project 2024-10-25 23:19:22 +02:00
Veronica Berglyd Olsen
d71435df53 Distinguish between anchor ref and href in tokenizer 2024-10-25 23:19:22 +02:00
Veronica Berglyd Olsen
058758122c Add url support in tokenizer and qdoc preview 2024-10-25 23:18:27 +02:00
Veronica Berglyd Olsen
759cfd77e9 Add url handling in editor and viewer 2024-10-25 23:18:27 +02:00
Veronica Berglyd Olsen
37268b873a Add URL regex pattern 2024-10-25 23:18:22 +02:00
Veronica Berglyd Olsen
439a04c603 Add support for mentions references (#2064) 2024-10-25 23:17:36 +02:00
Veronica Berglyd Olsen
9f642d501a Update documentation 2024-10-25 00:20:17 +02:00
Veronica Berglyd Olsen
7f8e2c66a6 Update tests 2024-10-25 00:13:09 +02:00
Veronica Berglyd Olsen
9962fd4a55 Add menu entry and shortcut 2024-10-25 00:13:03 +02:00
Veronica Berglyd Olsen
c27343534f Add mentions to sample project 2024-10-24 23:58:37 +02:00
Veronica Berglyd Olsen
46ecb2cf70 Add mentions to outline 2024-10-24 23:57:39 +02:00
Veronica Berglyd Olsen
88aa3f38c2 Add autocomplete for mentions 2024-10-24 23:57:10 +02:00
Veronica Berglyd Olsen
9214da3756 Add mention keyword 2024-10-24 23:53:48 +02:00
Veronica Berglyd Olsen
41e5152771 Add forced line breaks feature (#2063) 2024-10-24 17:55:56 +02:00
Veronica Berglyd Olsen
6b01bd7ffe Fix title page break issue and add test coverage 2024-10-24 17:47:14 +02:00
Veronica Berglyd Olsen
76a9f8e3df Fix a minor issue, and add test 2024-10-24 14:32:54 +02:00
Veronica Berglyd Olsen
e15941520f Add working forced line break implementation 2024-10-24 01:25:32 +02:00
Veronica Berglyd Olsen
ff7404d01d Add line break shortcode support 2024-10-24 01:07:03 +02:00
Veronica Berglyd Olsen
560540618c Process heading line breaks in the Tokenizer 2024-10-24 00:02:39 +02:00
Veronica Berglyd Olsen
bfa82f6bb3 Add test coverage of title line breaks, and don't break markdown titles 2024-10-24 00:02:39 +02:00
Veronica Berglyd Olsen
f77cd1c752 Fix counting error (#2062) 2024-10-24 00:01:39 +02:00
Veronica Berglyd Olsen
8461b0c15d Fix wrong character count when there is a footnote 2024-10-23 23:57:42 +02:00
Veronica Berglyd Olsen
2938a0f122 Remove version dependency in DocX tests 2024-10-23 17:44:55 +02:00
Veronica Berglyd Olsen
beccd1a7d1 Bump version to 2.6 Alpha 2 2024-10-23 17:41:28 +02:00
Veronica Berglyd Olsen
c6883908f1 Improve text document formatting (#2061) 2024-10-23 17:39:13 +02:00
Veronica Berglyd Olsen
36d8547f78 Correct misspelled variable 2024-10-23 17:36:12 +02:00
Veronica Berglyd Olsen
b01c91c0a3 Remove more redundant code 2024-10-23 17:20:07 +02:00
Veronica Berglyd Olsen
3712b2e93f Combine the different ways of storing generated text data in formats 2024-10-23 17:12:13 +02:00
Veronica Berglyd Olsen
0ddc1131dc Replace heading field with a general meta data field in the text block tuple 2024-10-23 16:20:50 +02:00
Veronica Berglyd Olsen
f4a941cd93 Fix format tag order for HTML validation 2024-10-23 11:01:06 +02:00
Veronica Berglyd Olsen
db72f2a722 Remove redundant code 2024-10-23 10:31:27 +02:00
Veronica Berglyd Olsen
16023676ea Simplify CSS in HTML format 2024-10-23 01:27:36 +02:00
Veronica Berglyd Olsen
52e85835df Flip if statement in Tokenizer 2024-10-23 01:26:48 +02:00
Veronica Berglyd Olsen
fe63770d21 Refactor and standardise text format modules (#2060) 2024-10-22 21:51:19 +02:00
Veronica Berglyd Olsen
bd5442c9e5 Process tags and references in Tokenizer 2024-10-22 21:37:18 +02:00
Veronica Berglyd Olsen
c7554f2b8d Process keyword flag in Tokenizer 2024-10-22 19:33:05 +02:00
Veronica Berglyd Olsen
63f9cd0bac Tokenize dialogue with colour tag 2024-10-22 18:41:34 +02:00
Veronica Berglyd Olsen
c537d0f396 Process comments in the Tokenizer 2024-10-22 17:37:00 +02:00
Veronica Berglyd Olsen
e759aa8d1b Move colour theme to Tokenizer class 2024-10-22 17:07:57 +02:00
Veronica Berglyd Olsen
2d8664b3ce Clean up wrapped code, and rename test variable 2024-10-22 00:40:54 +02:00
Veronica Berglyd Olsen
16076ebfb6 Move shared formats code to separate file, and rename some variables 2024-10-22 00:25:35 +02:00
Veronica Berglyd Olsen
38ca447c8a Convert format codes to enums 2024-10-21 23:37:27 +02:00
Veronica Berglyd Olsen
f91006631d Rename ODT test files 2024-10-21 18:56:37 +02:00
Veronica Berglyd Olsen
3cc5e4cc7a Handle text justify in Tokenizer instead 2024-10-21 18:54:19 +02:00
Veronica Berglyd Olsen
75178b7874 Merge branch 'release' 2024-10-21 17:14:32 +02:00
Veronica Berglyd Olsen
ce3f6dae20 Add DocX support (#2056) 2024-10-21 17:13:42 +02:00
Veronica Berglyd Olsen
bd82392d71 Add Python 3.13 and fix theme issue and broken link (#2059) 2024-10-21 17:12:09 +02:00
Veronica Berglyd Olsen
836a3d353a Update Enchant link (#2042) 2024-10-21 17:08:35 +02:00
Veronica Berglyd Olsen
a4d2a9ea6f Fix swapped colours in default light theme (#2057) 2024-10-21 17:05:19 +02:00
Veronica Berglyd Olsen
b0fc8d63a6 Add Python 3.13 support 2024-10-21 17:03:52 +02:00
Veronica Berglyd Olsen
ec7781fb9f Generalise ODT variables to DOC 2024-10-21 17:00:44 +02:00
Veronica Berglyd Olsen
787e1a46d1 Add DocX test coverage 2024-10-21 16:59:43 +02:00
Veronica Berglyd Olsen
148d46fcbc Add settings to DocX and compression to ODT and DocX 2024-10-20 23:08:14 +02:00
Veronica Berglyd Olsen
7e1a676e0a Add footnote support to DocX 2024-10-20 22:01:13 +02:00
Veronica Berglyd Olsen
e9220c5e77 Add DocX page settings and header support 2024-10-20 21:02:53 +02:00
Veronica Berglyd Olsen
72d41d4883 Refactor XML generation for DocX 2024-10-20 17:07:33 +02:00
Veronica Berglyd Olsen
de6c3e9b45 Fix issue with global justify, and add indentation to DocX 2024-10-19 20:14:01 +02:00
Veronica Berglyd Olsen
a0ab507ed1 Fix DocX tabs in text, and page break before issues 2024-10-19 19:04:16 +02:00
Veronica Berglyd Olsen
3c76d0e7e3 Fix issue with line spacing in DocX 2024-10-19 17:08:24 +02:00
Veronica Berglyd Olsen
34127d78bf Move custom XML sub element function to common 2024-10-19 17:08:08 +02:00
Veronica Berglyd Olsen
ca33f488f1 Get rid of the DocXRun class 2024-10-19 14:43:06 +02:00
Veronica Berglyd Olsen
717aac9dc8 Add remaining code blocks, and add colours 2024-10-18 21:18:59 +02:00
Veronica Berglyd Olsen
4b07dbadb2 Basic DocX text formatting works 2024-10-18 20:31:21 +02:00
Veronica Berglyd Olsen
9bbebd2085 Add DocX text styles 2024-10-18 18:35:56 +02:00
Veronica Berglyd Olsen
d60b29e0a2 make some improvements to the ODT writer 2024-10-18 16:37:42 +02:00
Veronica Berglyd Olsen
80d2dfd9a4 Add structure for DocX documents 2024-10-18 16:37:04 +02:00
Veronica Berglyd Olsen
464454e7a6 Expose text margin settings in Manuscript Build (#2051) 2024-10-17 22:41:42 +02:00
Veronica Berglyd Olsen
d145b65237 Standardise text sizes and margins 2024-10-17 22:34:46 +02:00
Veronica Berglyd Olsen
912198cc40 Add text margin settings 2024-10-17 21:57:04 +02:00
Veronica Berglyd Olsen
bffab79ba7 Merge build settings page layout options 2024-10-17 21:56:35 +02:00
Veronica Berglyd Olsen
c82f7fd9ca Bump version to 2.6 Alpha 1 2024-10-16 17:42:50 +02:00
Veronica Berglyd Olsen
53afe528e8 Add PDF output for manuscripts (#2048) 2024-10-16 17:41:31 +02:00
Veronica Berglyd Olsen
225befe57e Add test coverage 2024-10-16 17:33:32 +02:00
Veronica Berglyd Olsen
40817e73b4 Apply page layout settings to PDF format 2024-10-16 17:26:10 +02:00
Veronica Berglyd Olsen
17c93c2172 Add PDF format 2024-10-16 17:25:46 +02:00
Veronica Berglyd Olsen
c8d7ccadb7 Refactor document builder (#2047) 2024-10-16 00:26:32 +02:00
Veronica Berglyd Olsen
7bb292404a Update Tokenizer tests 2024-10-16 00:23:18 +02:00
Veronica Berglyd Olsen
d2ac0ed53f Pass the Markdown style to the constructor 2024-10-16 00:15:56 +02:00
Veronica Berglyd Olsen
c633a56bfb Simplify JSON and raw text writing 2024-10-15 23:59:25 +02:00
Veronica Berglyd Olsen
34696ba3a8 Merge doc build functions 2024-10-15 23:29:11 +02:00
Veronica Berglyd Olsen
93c105fe86 Extend heading styling options (#2045) 2024-10-15 21:40:21 +02:00
Veronica Berglyd Olsen
29eac0b4e5 Remove type alias for Python 3.9 2024-10-15 21:36:15 +02:00
Veronica Berglyd Olsen
fc27078954 Standardise the save document call for all document classes 2024-10-15 21:25:36 +02:00
Veronica Berglyd Olsen
759a8e84f0 Fix QTextDocument header formatting 2024-10-15 20:59:10 +02:00
Veronica Berglyd Olsen
b2c7da319e Generalise ODT build settings 2024-10-15 20:34:41 +02:00
Veronica Berglyd Olsen
b56095224a Move document format classes to new folder 2024-10-15 19:29:56 +02:00
Veronica Berglyd Olsen
2f12a8cc93 Add settings to style ODT headers 2024-10-15 19:22:08 +02:00
Veronica Berglyd Olsen
140f85f214 Merge branch 'main' into heading_styling 2024-10-14 00:26:55 +02:00
Veronica Berglyd Olsen
7405c7e20f Add Python 3.13 (#2044) 2024-10-14 00:25:07 +02:00
Veronica Berglyd Olsen
f29b13679a List and check support for Python 3.13 (#2040) 2024-10-14 00:21:22 +02:00
Veronica Berglyd Olsen
9b9ed53cf9 Don't use "match" as a variable (#2043) 2024-10-14 00:18:24 +02:00
Veronica Berglyd Olsen
2447ae5cff Replace usage of "match" as a variable name 2024-10-14 00:14:08 +02:00
Veronica Berglyd Olsen
7379b8b521 Remove plain heading style setting again 2024-10-14 00:10:23 +02:00
Veronica Berglyd Olsen
22473823c9 Improve build settings 2024-10-01 14:01:36 +02:00
Veronica Berglyd Olsen
d8bb9950d3 Add plain style setting for headings 2024-10-01 14:00:57 +02:00
Veronica Berglyd Olsen
279fe2ae18 Add title setting 2024-10-01 12:54:38 +02:00
Veronica Berglyd Olsen
1e812f3f06 Update tests 2024-10-01 12:15:42 +02:00
Veronica Berglyd Olsen
0f1401eb71 Rename title format settings to partition 2024-10-01 12:14:39 +02:00
Veronica Berglyd Olsen
57e739c3ef Add word counts to ODT output (#2035) 2024-10-01 12:00:04 +02:00
Veronica Berglyd Olsen
1b457585d9 Update tests 2024-09-30 22:52:39 +02:00
Veronica Berglyd Olsen
c9eab0b01e Add word counts to the ODT file as user fields (#2033) 2024-09-30 22:52:28 +02:00
Veronica Berglyd Olsen
3da5074d14 Refactor build settings (#2031) 2024-09-28 11:58:58 +02:00
Veronica Berglyd Olsen
e97a476c7f Update tests 2024-09-28 11:55:47 +02:00
Veronica Berglyd Olsen
a716f31b17 Fix some minor issues with spell checking 2024-09-28 11:41:26 +02:00
Veronica Berglyd Olsen
b2e760a284 Merge build settings formatting into a single form 2024-09-28 11:36:01 +02:00
Veronica Berglyd Olsen
7cc48aeb7f Improve spell checking (#2030) 2024-09-28 11:31:49 +02:00
Veronica Berglyd Olsen
a6494b4226 Allow words to be ignored by the spell checker (session only) 2024-09-28 11:21:04 +02:00
Veronica Berglyd Olsen
5ed03e29f3 Change regexes to use the pattern object directly 2024-09-28 11:20:09 +02:00
Veronica Berglyd Olsen
5c07148eb2 Replace Qt RegEx with Python RegEx (#2028) 2024-09-22 18:02:17 +02:00
Veronica Berglyd Olsen
17b4a7be4d Use regex end instead of length in tokenizer format processing function 2024-09-22 17:57:13 +02:00
Veronica Berglyd Olsen
9b08ebbbd5 Use Python regex for document search tool 2024-09-22 17:47:49 +02:00
Veronica Berglyd Olsen
37c469dbc7 Move word split to regex pattern class 2024-09-22 17:37:12 +02:00
Veronica Berglyd Olsen
c08033d153 Use stdlib re for dialogue matching 2024-09-22 17:34:04 +02:00
Veronica Berglyd Olsen
9c63f621a8 Use stdlib re for Shortcode matching 2024-09-22 17:06:57 +02:00
Veronica Berglyd Olsen
c3cb12e5e2 Use stdlib re for Markdown matching 2024-09-22 16:56:21 +02:00
Veronica Berglyd Olsen
d3799bc30a Update plain regex patterns to std lib re 2024-09-22 16:37:45 +02:00
Veronica Berglyd Olsen
cb8933b493 Use Python regex for spell checking 2024-09-22 16:23:35 +02:00
Veronica Berglyd Olsen
1aa58c047f Clean up Qt enums (#2025) 2024-09-18 22:18:15 +02:00
Veronica Berglyd Olsen
52b3084bee Fix type annotation 2024-09-18 22:12:39 +02:00
Veronica Berglyd Olsen
70b05c9e07 Use strings for shortcut keys 2024-09-18 22:11:32 +02:00
Veronica Berglyd Olsen
cafa440aee Update menu role enums 2024-09-18 22:06:23 +02:00
Veronica Berglyd Olsen
681cb7226a Fix bug in test 2024-09-18 22:04:06 +02:00
Veronica Berglyd Olsen
b36e49e43f Update scrollbar enums 2024-09-18 22:02:50 +02:00
Veronica Berglyd Olsen
90a6c2d98d Update keyboard and mouse enums 2024-09-18 21:55:59 +02:00
Veronica Berglyd Olsen
21d21846ca Update cursor and messagebox enums 2024-09-18 21:51:23 +02:00
Veronica Berglyd Olsen
cc8d7d9912 Fix ActionEvent enums 2024-09-18 21:46:44 +02:00
Veronica Berglyd Olsen
10527afbda Remove borders 2024-09-18 15:00:55 +02:00
Veronica Berglyd Olsen
d16ece2a81 Use html table instead 2024-09-18 14:59:38 +02:00
Veronica Berglyd Olsen
e7f7dc8d60 Increase sponsor logo size 2024-09-18 14:55:47 +02:00
Veronica Berglyd Olsen
2f2943452f Use px for logo size 2024-09-18 14:55:06 +02:00
Veronica Berglyd Olsen
08ae2b5351 Merge actions updates from 'release' 2024-09-18 14:52:46 +02:00
Veronica Berglyd Olsen
eda1a1c4dd Add sponsor link to readme 2024-09-18 14:52:24 +02:00
Veronica Berglyd Olsen
238abdb567 Update to release certificate for windows build 2024-09-18 14:33:45 +02:00
Veronica Berglyd Olsen
c3f9ceb03a Add version numbers to all build jobs 2024-09-18 14:02:27 +02:00
Veronica Berglyd Olsen
b95e9fcda3 Update for windows runner 2024-09-18 13:39:17 +02:00
Veronica Berglyd Olsen
b3f8a2c18c Add version parameter to windows build 2024-09-18 13:11:08 +02:00
Veronica Berglyd Olsen
18bbf7d86f Switch to test signing for windows setup 2024-09-18 12:14:37 +02:00
Veronica Berglyd Olsen
8e3ad6d874 Merge release 2.5.2 2024-09-17 16:51:06 +02:00
Veronica Berglyd Olsen
7a63ac83d2 Release 2.5.2 (#2021) 2024-09-17 15:49:04 +02:00
Veronica Berglyd Olsen
8dc28ddbee Add signing request to windows build 2024-09-17 15:45:30 +02:00
Veronica Berglyd Olsen
15803cf0a3 Bump version and update changelog 2024-09-17 15:33:37 +02:00
Veronica Berglyd Olsen
5ac001781c Improve documentation (#2015) 2024-09-09 12:03:22 +02:00
Veronica Berglyd Olsen
66986b88f8 Improve the spell checking info a little 2024-09-01 21:41:26 +02:00
Veronica Berglyd Olsen
f4e12a63a5 Merge branch 'release' into improve_docs 2024-09-01 21:37:53 +02:00
Veronica Berglyd Olsen
09b0f34199 Merge branch 'release' 2024-09-01 17:47:36 +02:00
Veronica Berglyd Olsen
095c005c3f Fix bugs in the document viewer (#2014) 2024-09-01 17:45:44 +02:00
Veronica Berglyd Olsen
e414b6458d Refresh tab stop distance after loading document (#1996) 2024-09-01 17:38:04 +02:00
Veronica Berglyd Olsen
ece73784c2 Only highlight dialogue in novel text (#2011 and #2013) 2024-09-01 17:32:37 +02:00
Veronica Berglyd Olsen
8dd9644c13 Fix issue with overlapping formatting (#2012) 2024-09-01 17:22:54 +02:00
Veronica Berglyd Olsen
556e8db104 Add some text about spell checking to editor docs 2024-08-16 09:33:38 +02:00
Veronica Berglyd Olsen
ce979b6c84 Merge branch 'release' 2024-07-28 14:10:36 +02:00
Veronica Berglyd Olsen
d2f422a441 Update Ubuntu releases (#1995) 2024-07-28 14:09:39 +02:00
Veronica Berglyd Olsen
e4daff8956 Drop Ubuntu 23.10 and add 24.10 2024-07-28 14:04:14 +02:00
Veronica Berglyd Olsen
c146c311c1 Merge branch 'release' 2024-07-28 13:46:53 +02:00
Veronica Berglyd Olsen
2e1b17dcdf Release 2.5.1 (#1989) 2024-07-28 13:32:15 +02:00
Veronica Berglyd Olsen
2ef11f56e5 Update changelog 2024-07-28 13:26:34 +02:00
Veronica Berglyd Olsen
fdaeca78a7 Update translations 2024-07-28 13:21:58 +02:00
Veronica Berglyd Olsen
93e7343fe9 Update changelog with latest fix 2024-07-26 00:22:58 +02:00
Veronica Berglyd Olsen
5167608f7a Merge branch 'release' into release_2.5.1 2024-07-26 00:20:11 +02:00
Veronica Berglyd Olsen
7fe3a8520d Merge branch 'release' 2024-07-26 00:19:25 +02:00
Veronica Berglyd Olsen
d4a0881e77 Fix updating of importance labels (#1993) 2024-07-26 00:18:47 +02:00
Veronica Berglyd Olsen
7f42210f2f Add test coverage 2024-07-26 00:15:14 +02:00
Veronica Berglyd Olsen
33497bc92d Simplify how the project tree is populated 2024-07-25 20:47:14 +02:00
Veronica Berglyd Olsen
06aa2e6c07 Only refresh project tree values when status labels change 2024-07-25 20:39:32 +02:00
Veronica Berglyd Olsen
3bffaa01dc Update viewer panel when importance labels change (#1992) 2024-07-25 19:21:52 +02:00
Veronica Berglyd Olsen
66237c35ea Bump version to 2.5.1 and update changelog 2024-07-21 20:05:54 +02:00
Veronica Berglyd Olsen
f532857345 Merge branch 'release' 2024-07-21 19:54:43 +02:00
Veronica Berglyd Olsen
5936e1a68b Improve test coverage 2024-07-21 19:45:40 +02:00
Veronica Berglyd Olsen
17b3b2b770 Navigate to heading when a tag is clicked for editing (#1983) 2024-07-21 19:45:28 +02:00
Veronica Berglyd Olsen
826e805b06 Make sure free form text boxes in Preferences are safe (#1986) 2024-07-21 19:20:51 +02:00
Veronica Berglyd Olsen
5419d76606 Fix test 2024-07-21 19:15:56 +02:00
Veronica Berglyd Olsen
0d84653f7d Process pad before and after settings in Preferences (#1985) 2024-07-21 19:06:45 +02:00
Veronica Berglyd Olsen
b7da56ac42 Merge branch 'release' 2024-07-14 16:43:43 +02:00
Veronica Berglyd Olsen
7140788b48 Lock project only after successful open (#1978) 2024-07-14 16:33:48 +02:00
Veronica Berglyd Olsen
a43bd5a50e Move project lock until all steps in project open are completed (#1977) 2024-07-14 16:28:09 +02:00
Veronica Berglyd Olsen
81dd98e83b Bump main branch to 2.6 alpha 0 2024-07-10 17:30:14 +02:00
Veronica Berglyd Olsen
742f84576e Release 2.5 (#1972) 2024-07-10 16:45:13 +02:00
Veronica Berglyd Olsen
ba81662d6a Bump version to 2.5 and update changelog 2024-07-10 16:41:49 +02:00
Veronica Berglyd Olsen
f669ac1265 Update documentation for 2.5 (#1928) 2024-07-10 16:21:54 +02:00
Veronica Berglyd Olsen
b8a97b1afc Update docs 2024-07-10 16:18:29 +02:00
Veronica Berglyd Olsen
4eb0ed386c Merge branch 'main' into update_docs 2024-07-09 19:58:44 +02:00
Veronica Berglyd Olsen
ece225c355 Fix first line indent between pages (#1971) 2024-07-08 14:07:58 +02:00
Veronica Berglyd Olsen
69d97a3f3e Add additional test coverage 2024-07-08 14:02:05 +02:00
Veronica Berglyd Olsen
dcecaae3af Fix indent info not passed between pages (#1965) 2024-07-08 14:01:42 +02:00
Veronica Berglyd Olsen
1c261ef371 Add focus switch on welcome dialog (#1968) 2024-07-07 20:04:58 +02:00
Veronica Berglyd Olsen
ea89e66a46 Focus project name field when entering new project form on welcome dialog (#1967) 2024-07-07 19:59:35 +02:00
Veronica Berglyd Olsen
dd03c19be2 Fix preview indent and status bar LEDs (#1962) 2024-07-05 15:20:30 +02:00
Veronica Berglyd Olsen
08e6d320df Use text colour for LED border 2024-07-05 15:16:58 +02:00
Veronica Berglyd Olsen
446163c6de Add DPI scaling to status LEDs 2024-07-05 15:14:30 +02:00
Veronica Berglyd Olsen
abd503b5a2 Rename the em variable for clarity 2024-07-05 14:51:12 +02:00
Veronica Berglyd Olsen
2e1c08cbfa Fix em unit calculation in document preview (#1961) 2024-07-05 13:21:39 +02:00
Veronica Berglyd Olsen
7bdadadea1 Minor changes to pkgutils (#1959) 2024-07-04 22:28:13 +02:00
Veronica Berglyd Olsen
bc33a4d0d4 Move build-clean to after the build commands in pkgutils 2024-07-04 22:24:33 +02:00
Veronica Berglyd Olsen
188bc5d16f Restore usage of wrapper functions for read and write in pkgutils 2024-07-04 22:22:41 +02:00
Veronica Berglyd Olsen
3fd0385160 Rewrite build tools (#1958) 2024-07-04 22:11:10 +02:00
Veronica Berglyd Olsen
5f3f55133e Remove manual build from linux tests 2024-07-04 22:08:28 +02:00
Veronica Berglyd Olsen
47b8e12bc7 Fix a few workflow issues 2024-07-04 22:07:33 +02:00
Veronica Berglyd Olsen
cc97129e64 Add description to pkgutils help 2024-07-04 22:01:52 +02:00
Veronica Berglyd Olsen
e40e282837 Fix bug in Windows build script 2024-07-04 21:44:28 +02:00
Veronica Berglyd Olsen
eba0fa58bf Update Windows build job 2024-07-04 21:40:48 +02:00
Veronica Berglyd Olsen
1c0fdd6a17 Update XDG tools, clean up and fix a deb build issue 2024-07-04 21:38:31 +02:00
Veronica Berglyd Olsen
43eb62576c Fix Windows installer and update MacOS PList generator 2024-07-04 21:16:49 +02:00
Veronica Berglyd Olsen
d43a799389 Updated Windows packaging code 2024-07-04 21:00:15 +02:00
Veronica Berglyd Olsen
4d716555af Updated AppImage packaging code 2024-07-04 20:31:53 +02:00
Veronica Berglyd Olsen
7c65d22452 Updated debian packaging code 2024-07-04 19:45:54 +02:00
Veronica Berglyd Olsen
1b8867537e Update all assets commands to pkgutils 2024-07-04 18:34:10 +02:00
Veronica Berglyd Olsen
b91a11980b Split build workflows (#1957) 2024-07-04 16:51:59 +02:00
Veronica Berglyd Olsen
e80a9824f6 Add placeholder Windows build job 2024-07-04 16:47:39 +02:00
Veronica Berglyd Olsen
140b22dc63 Split GitHub build workflows 2024-07-04 16:42:46 +02:00
Veronica Berglyd Olsen
60169b914a Revert main to 2.5 RC1 2024-07-04 16:32:01 +02:00
Veronica Berglyd Olsen
fbe381638a Merge branch 'release' 2024-07-04 16:30:26 +02:00
Veronica Berglyd Olsen
6dcb44c391 Improve open project error message (#1956) 2024-07-04 16:24:16 +02:00
Veronica Berglyd Olsen
54c7c5a463 Add path info to open project error dialogs (#1944) 2024-07-04 16:19:04 +02:00
Veronica Berglyd Olsen
d5bcee14f5 Update translations for 2.5 (#1955) 2024-07-04 16:08:04 +02:00
Veronica Berglyd Olsen
0064b742d3 Update credits and reduce the number of links 2024-07-04 16:05:01 +02:00
Veronica Berglyd Olsen
9f88f3b79e Update translations for 2.5 and add Polish 2024-07-04 15:16:15 +02:00
Veronica Berglyd Olsen
b95d030032 Fix various minor issues (#1954) 2024-07-03 21:13:28 +02:00
Veronica Berglyd Olsen
f4f3f82954 Add a wait statement to check paintEvent in Preferences 2024-07-03 20:29:00 +02:00
Veronica Berglyd Olsen
5e8892ee7c Rewrite the tree view focus switch (#1949) 2024-07-03 19:39:29 +02:00
Veronica Berglyd Olsen
42b1e6a559 Only switch focus between editor and viewer when viewer is visible (#1950) 2024-07-03 18:38:32 +02:00
Veronica Berglyd Olsen
e1bcfcfc05 Convert Preferences dialog to save/cancel like Project Settings 2024-07-03 18:29:38 +02:00
Veronica Berglyd Olsen
069e35565f Refresh coloured labels when theme change (#1951) 2024-07-03 18:18:41 +02:00
Veronica Berglyd Olsen
880b560a39 Bump main branch to 2.6 alpha 0 2024-06-24 16:38:25 +02:00
Veronica Berglyd Olsen
8becc83c05 Update i18n source files (#1943) 2024-06-22 16:13:20 +02:00
Veronica Berglyd Olsen
b5ef62194d Update i18n files 2024-06-22 15:02:29 +02:00
Veronica Berglyd Olsen
a87c287fa6 Release 2.5 RC 1 (#1939) 2024-06-22 14:21:45 +02:00
Veronica Berglyd Olsen
18f5deee82 Change release date and extend changelog 2024-06-22 14:17:44 +02:00
Veronica Berglyd Olsen
53545a0015 Merge branch 'main' into release_2.5rc1 2024-06-21 00:41:03 +02:00
Veronica Berglyd Olsen
f662eaeccc Revert font setting in custom class (#1941) 2024-06-21 00:40:45 +02:00
Veronica Berglyd Olsen
1e6377abaa Revert font setting from SHARED instance in colour label, which caused some weird issues 2024-06-21 00:35:28 +02:00
Veronica Berglyd Olsen
516db26c05 Add latest change to the changelog 2024-06-21 00:33:22 +02:00
Veronica Berglyd Olsen
2df55cf6ee Merge branch 'main' into release_2.5rc1 2024-06-21 00:26:40 +02:00
Veronica Berglyd Olsen
251475197d Add focus widget hinting (#1940) 2024-06-21 00:26:20 +02:00
Veronica Berglyd Olsen
802069b4e5 Try adding deleteLater to i18n test 2024-06-21 00:21:45 +02:00
Veronica Berglyd Olsen
d07543926f Disable failing fast in Linux test matrix 2024-06-21 00:18:10 +02:00
Veronica Berglyd Olsen
5665efd9d7 Update docs and test coverage 2024-06-20 23:32:02 +02:00
Veronica Berglyd Olsen
ea7f3fe51c Add editor/viewer toggle feature 2024-06-19 20:42:23 +02:00
Veronica Berglyd Olsen
c6569b63e5 Add focus indication to editor and viewer header 2024-06-18 22:42:52 +02:00
Veronica Berglyd Olsen
930c60ae4a Add faded colour to theme 2024-06-18 22:42:19 +02:00
Veronica Berglyd Olsen
869cdd2fb0 Extend colour label widget to accept two colour states 2024-06-18 22:41:29 +02:00
Veronica Berglyd Olsen
f7d0adad1b Shuffle around private slots in main GUI 2024-06-18 22:39:33 +02:00
Veronica Berglyd Olsen
d25e2adfb6 Bump version to 2.5rc1 and update changelog 2024-06-18 08:39:28 +02:00
Veronica Berglyd Olsen
cb3a24bcd2 Rehighlight tags on note creation (#1938) 2024-06-16 21:22:44 +02:00
Veronica Berglyd Olsen
6540c56672 Remove no longer needed rehighlighting code 2024-06-16 21:19:42 +02:00
Veronica Berglyd Olsen
efc94a7fd5 Sort signals in main GUI 2024-06-16 21:18:41 +02:00
Veronica Berglyd Olsen
683e81c57b Connect rehighlight tags in editor to index signal on tags change (#1916) 2024-06-16 21:13:50 +02:00
Veronica Berglyd Olsen
f548927b74 Refactor custom widgets (#1937) 2024-06-16 17:37:36 +02:00
Veronica Berglyd Olsen
53522908c8 Improve test coverage 2024-06-16 17:29:29 +02:00
Veronica Berglyd Olsen
43cdc8420c Merge progress bars into single source file 2024-06-16 16:14:11 +02:00
Veronica Berglyd Olsen
45ad0f8c20 Update global search (#1936) 2024-06-16 16:12:51 +02:00
Veronica Berglyd Olsen
59c9783393 Remove commented out line 2024-06-16 16:03:35 +02:00
Veronica Berglyd Olsen
611a6bb80a Include the whole word when displaying search results 2024-06-16 15:58:30 +02:00
Veronica Berglyd Olsen
ee46fdb5b1 Refresh global search when toggling settings, if there is a search 2024-06-16 15:27:46 +02:00
Veronica Berglyd Olsen
7c33c949cb Merge the two methods in the shared class to save editor content 2024-06-16 15:23:22 +02:00
Veronica Berglyd Olsen
e9e7fae40e Support line height in build tool (#1935) 2024-06-16 15:10:39 +02:00
Veronica Berglyd Olsen
ac05b07f10 Add line height formatting to build preview (#1920) 2024-06-16 15:05:45 +02:00
Veronica Berglyd Olsen
aff027b735 Remember last used path for each tool individually (#1934) 2024-06-16 12:05:32 +02:00
Veronica Berglyd Olsen
14f1697428 Rename lastPath in build settings 2024-06-16 11:23:59 +02:00
Veronica Berglyd Olsen
a3381f1f79 Remove fallback parameter for lastPath and remove commented out code 2024-06-16 11:23:42 +02:00
Veronica Berglyd Olsen
1b7d331e41 Update more docstring 2024-06-16 00:55:33 +02:00
Veronica Berglyd Olsen
df34293e74 Update docstring 2024-06-16 00:54:48 +02:00
Veronica Berglyd Olsen
fe27acc3ef Add full test coverage 2024-06-16 00:49:24 +02:00
Veronica Berglyd Olsen
35632abea3 Update current tests 2024-06-16 00:37:21 +02:00
Veronica Berglyd Olsen
ea247c5814 Remember new project folder last used path (#1930) 2024-06-16 00:31:02 +02:00
Veronica Berglyd Olsen
928a116666 Update current usage of last path 2024-06-16 00:22:38 +02:00
Veronica Berglyd Olsen
2a99cafbf2 Add a class to store last used paths 2024-06-16 00:21:54 +02:00
Veronica Berglyd Olsen
2196486454 Update Windows packaging (#1932) 2024-06-14 22:53:16 +02:00
Veronica Berglyd Olsen
f99bd79ce8 Merge branch 'main' into win_installer 2024-06-14 21:37:08 +02:00
Veronica Berglyd Olsen
ddaced1b78 Update the Inno Setup installer script to change compression method and fix some warnings and issues 2024-06-14 16:09:52 +02:00
Veronica Berglyd Olsen
3e8845ab58 Ensure HTML tags are properly closed in output documents (#1926) 2024-06-13 15:56:23 +02:00
Veronica Berglyd Olsen
d5be1e0479 Update text formatting documentation 2024-06-13 15:55:45 +02:00
Veronica Berglyd Olsen
babc39c6a2 Add test coverage 2024-06-13 15:48:09 +02:00
Veronica Berglyd Olsen
5c35ebeffa Rewrite HTML tag insertion to check for correct open and close of tags (#1919) 2024-06-13 01:00:01 +02:00
Veronica Berglyd Olsen
5fbc608c90 Merge Release 2.4.4 into main 2024-06-12 21:40:37 +02:00
Veronica Berglyd Olsen
0c7808a24b Release 2.4.4 (#1924) 2024-06-12 21:19:24 +02:00
Veronica Berglyd Olsen
4aadbdaed2 Bump version to 2.4.4 and update changelog 2024-06-11 22:36:31 +02:00
Veronica Berglyd Olsen
195a7e354b Ensure editor content is saved before using it (#1923) 2024-06-11 22:12:03 +02:00
Veronica Berglyd Olsen
c03e832c7b Make sure editor document is saved before using first title to set item label (#1914) 2024-06-11 22:00:59 +02:00
Veronica Berglyd Olsen
73515c96d8 Add a method in the shared object to ensure document editor is saved 2024-06-11 21:59:58 +02:00
Veronica Berglyd Olsen
e7c0d59809 Allow more characters to be used in file names (#1922) 2024-06-11 21:45:08 +02:00
Veronica Berglyd Olsen
556caea308 Make the file name safe function less restrictive 2024-06-11 21:38:50 +02:00
Veronica Berglyd Olsen
6d54902a08 Fix multiple tools dialog issue (#1921) 2024-06-11 01:02:39 +02:00
Veronica Berglyd Olsen
fb32cea5b5 Update writing stats tests 2024-06-11 00:54:05 +02:00
Veronica Berglyd Olsen
69cd443999 Fix duplicate tool dialogs issue 2024-06-11 00:53:50 +02:00
Veronica Berglyd Olsen
cc61c5321e Extend dialogue highlighting (#1908) 2024-06-11 00:16:32 +02:00
Veronica Berglyd Olsen
7821f099bf Use consistent dialogue colours in preview, ODT and HTML 2024-06-11 00:11:44 +02:00
Veronica Berglyd Olsen
4b0ad6ec48 Add test coverage of ODT dialogue 2024-06-11 00:03:54 +02:00
Veronica Berglyd Olsen
416c580a45 Fix highlighting of multiple dialogue sections 2024-06-10 23:50:59 +02:00
Veronica Berglyd Olsen
0b3488c265 Add processing of dialogue highlight for ODT files 2024-06-10 23:12:54 +02:00
Veronica Berglyd Olsen
f0f5ae6dc9 Add support for dialogue highlighting in HTML output 2024-06-10 17:18:03 +02:00
Veronica Berglyd Olsen
f61ce3919b Add highlight option to build settings and preview 2024-06-10 17:01:40 +02:00
Veronica Berglyd Olsen
67c6497e2a Merge branch 'main' into dialogue_highlight 2024-06-10 13:48:40 +02:00
Veronica Berglyd Olsen
9bcb2479ac Refactor dialog closing (#1918) 2024-06-10 13:48:14 +02:00
Veronica Berglyd Olsen
8a9b038d56 Use the direct insert call 2024-06-10 13:44:47 +02:00
Veronica Berglyd Olsen
eed4721ef0 Make lipusm test more robust 2024-06-10 13:25:20 +02:00
Veronica Berglyd Olsen
b76c866c9d Fix typo in docstring 2024-06-10 01:10:59 +02:00
Veronica Berglyd Olsen
255a4a327e Update tests 2024-06-10 01:05:13 +02:00
Veronica Berglyd Olsen
811db81a86 Use the reject slot for dialogs since close is not actually a slot 2024-06-10 01:04:10 +02:00
Veronica Berglyd Olsen
29b61c07b0 Restore the keyPressEvent overload for Preferences 2024-06-10 01:03:20 +02:00
Veronica Berglyd Olsen
f8c1ee90ce Reimplement the reject slot for the parent dialog class 2024-06-10 01:02:48 +02:00
Veronica Berglyd Olsen
d9c86d56bb Merge branch 'main' into dialogue_highlight 2024-06-09 00:10:14 +02:00
Veronica Berglyd Olsen
cddf63f111 Improve memory handling and fix a few variables (#1913) 2024-06-09 00:08:52 +02:00
Veronica Berglyd Olsen
ca91e6a677 Improve meminfo debug formatting 2024-06-09 00:05:45 +02:00
Veronica Berglyd Olsen
a48fde95a3 Update tests 2024-06-08 23:35:29 +02:00
Veronica Berglyd Olsen
aed4ba4310 Rename the modifier apostrophe constants 2024-06-08 23:35:20 +02:00
Veronica Berglyd Olsen
57ee88059d Remove lambda slots in preferences dialog that blocked freeing memory 2024-06-08 23:34:31 +02:00
Veronica Berglyd Olsen
c8dccbe438 Fix typo in predefined type 2024-06-08 23:34:12 +02:00
Veronica Berglyd Olsen
8a071090e0 Merge branch 'main' into dialogue_highlight 2024-06-04 18:26:12 +02:00
Veronica Berglyd Olsen
cbf76e6575 Move project name first in window title (#1911) 2024-06-04 18:25:27 +02:00
Veronica Berglyd Olsen
83d2cb4f82 Swap project name and app name in window title (#1910) 2024-06-04 18:19:21 +02:00
Veronica Berglyd Olsen
497d4dd7f9 Add stubs file to dev requirements 2024-06-04 17:56:30 +02:00
Veronica Berglyd Olsen
d48f1fa292 Update QTextDocument test 2024-06-02 23:48:42 +02:00
Veronica Berglyd Olsen
7744ae5912 Fix footnote navigation in viewer 2024-06-02 23:36:28 +02:00
Veronica Berglyd Olsen
92b7168363 Add tests for patterns 2024-06-01 23:03:30 +02:00
Veronica Berglyd Olsen
8fc97c263b Try to fix 3.10 test seg fault 2024-06-01 18:18:21 +02:00
Veronica Berglyd Olsen
d190315909 Make a few improvements to regex and remove debug output 2024-06-01 14:16:05 +02:00
Veronica Berglyd Olsen
987740f7e9 Add dialogue highlighting to the viewer 2024-06-01 13:35:22 +02:00
Veronica Berglyd Olsen
2e143071d9 Add dialogue processing to the tokenizer 2024-06-01 13:34:59 +02:00
Veronica Berglyd Olsen
388141aae6 Move text regex patterns to a separate class 2024-06-01 13:06:46 +02:00
Veronica Berglyd Olsen
80811ebf44 Don't highlight dialogue in notes 2024-06-01 12:41:42 +02:00
Veronica Berglyd Olsen
208c4fb8ba Refresh StatusLEDs when theme changes (#1906) 2024-05-30 20:54:01 +02:00
Veronica Berglyd Olsen
38a5fddb9d Update tests 2024-05-30 20:49:55 +02:00
Veronica Berglyd Olsen
f844a5080a Update StatusLED to be theme refreshable and use trinary enum for values (#1893) 2024-05-30 20:49:46 +02:00
Veronica Berglyd Olsen
a11a013d16 Remove deleteLater calls from Manuscript tools (#1905) 2024-05-30 16:48:17 +02:00
Veronica Berglyd Olsen
f34cb567e4 Backport deleteLater fix for Manuscript tools from 2.5 release 2024-05-30 16:43:47 +02:00
Veronica Berglyd Olsen
6cb330b06c Update Portuguese translation (#1904) 2024-05-30 16:37:08 +02:00
Veronica Berglyd Olsen
04cf375725 Update translation sources, and completed Portuguese translation 2024-05-30 16:31:17 +02:00
Veronica Berglyd Olsen
b66686a869 Make some improvements to the viewer and test coverage (#1902) 2024-05-29 21:42:40 +02:00
Veronica Berglyd Olsen
31776a51a7 Add some more easy coverage 2024-05-29 21:37:02 +02:00
Veronica Berglyd Olsen
f1b7257e73 Improve test coverage 2024-05-29 21:27:05 +02:00
Veronica Berglyd Olsen
be7078aa7e Save editor doc before opening same in viewer (#1884) 2024-05-29 21:26:29 +02:00
Veronica Berglyd Olsen
931aed6d78 Update first line indentation (#1898) 2024-05-28 23:25:18 +02:00
Veronica Berglyd Olsen
dc6fe77612 Merge branch 'main' into feature/build_preview 2024-05-28 23:20:51 +02:00
Veronica Berglyd Olsen
b387150d4f Improve dialog memory handling (#1899) 2024-05-28 23:19:39 +02:00
Veronica Berglyd Olsen
9b09b13bf9 Improve Manuscript dialog progress bar position 2024-05-28 21:43:09 +02:00
Veronica Berglyd Olsen
d8693c7afa Remove deleteLater form message boxes, and some redundant ones in tests 2024-05-28 21:23:57 +02:00
Veronica Berglyd Olsen
019dd3e478 Change how dialogs are deleted 2024-05-28 21:16:40 +02:00
Veronica Berglyd Olsen
b01a2f5abd Simplify the About dialog 2024-05-28 21:15:32 +02:00
Veronica Berglyd Olsen
087a9cdd2e Update tests 2024-05-27 23:36:53 +02:00
Veronica Berglyd Olsen
b33bf954bb Convert split and merge dialogs into class method dialogs 2024-05-27 23:36:17 +02:00
Veronica Berglyd Olsen
f7cdc7da0c Add a dialog parent class that handles escape key presses 2024-05-27 22:53:30 +02:00
Veronica Berglyd Olsen
cf14f84652 Fix test coverage 2024-05-27 21:45:31 +02:00
Veronica Berglyd Olsen
6289840a74 Update tests 2024-05-27 21:08:28 +02:00
Veronica Berglyd Olsen
770cccda49 Add some comments and add text indent to HTML 2024-05-27 21:08:09 +02:00
Veronica Berglyd Olsen
aa02c0f15d Add first line indentation to previews 2024-05-27 00:27:08 +02:00
Veronica Berglyd Olsen
ee137b6ffd Parse text indentation in the tokenizer instead 2024-05-27 00:26:53 +02:00
Veronica Berglyd Olsen
206ca6040e Post-release fixes (#1897) 2024-05-26 18:23:29 +02:00
Veronica Berglyd Olsen
16f5670c83 Remove tilde from GitHub package name 2024-05-26 18:19:39 +02:00
Veronica Berglyd Olsen
0fc1af7180 Fix some typos in new section of Preferences 2024-05-26 18:05:11 +02:00
Veronica Berglyd Olsen
55714bbcad Release 2.5 Beta 1 (#1895) 2024-05-26 16:49:07 +02:00
Veronica Berglyd Olsen
6f144c20cd Bump to 2.5 beta 1 and update changelog 2024-05-26 16:42:49 +02:00
Veronica Berglyd Olsen
f23bd3818f Add a QTextDocument format class for previews (#1892) 2024-05-26 00:57:15 +02:00
Veronica Berglyd Olsen
d3ea763d6b Add test coverage of new ToQTextDocument class 2024-05-26 00:51:27 +02:00
Veronica Berglyd Olsen
91222f631f Update manuscript tests 2024-05-25 23:02:34 +02:00
Veronica Berglyd Olsen
aceb344856 Fix a potential segfault issue in main gui and add auto-build on open manuscript tool 2024-05-25 22:43:09 +02:00
Veronica Berglyd Olsen
f11ea8d07e Make various fixes and tweaks, and update tests 2024-05-24 21:39:16 +02:00
Veronica Berglyd Olsen
a4e3bf848b Clean up no longer needed code, and fix text justify setting 2024-05-24 20:38:34 +02:00
Veronica Berglyd Olsen
e74c1057a4 Remove HTML preview mode and manuscript cache 2024-05-24 20:12:13 +02:00
Veronica Berglyd Olsen
6cc046c65c Use preview document class for manuscript preview 2024-05-24 18:52:18 +02:00
Veronica Berglyd Olsen
c97a070e98 Fix module header info 2024-05-23 22:04:19 +02:00
Veronica Berglyd Olsen
b4c0bf3322 Complete all current document viewer features in the qdoc class 2024-05-23 21:29:47 +02:00
Veronica Berglyd Olsen
e998cb634e Add working meta data blocks 2024-05-23 20:48:42 +02:00
Veronica Berglyd Olsen
c8017a1f42 Add text paragraph formatting 2024-05-23 19:43:32 +02:00
Veronica Berglyd Olsen
6d84942746 Update qdocument class to work with merged code from main 2024-05-23 19:02:27 +02:00
Veronica Berglyd Olsen
818f145b62 Merge branch 'main' into feature/preview_generator 2024-05-23 18:50:38 +02:00
Veronica Berglyd Olsen
f92c22ce7e Fix build formatting and font handling (#1891) 2024-05-23 18:49:32 +02:00
Veronica Berglyd Olsen
69b362b9d2 Add native font dialog option and fix tests 2024-05-23 18:44:45 +02:00
Veronica Berglyd Olsen
1fe7ca3db8 Update font description and add native font dialog setting to config 2024-05-22 23:31:28 +02:00
Veronica Berglyd Olsen
cc32674b0f Update tests 2024-05-22 23:13:50 +02:00
Veronica Berglyd Olsen
cf16b57f66 Clean up font handling in HTML and ODT 2024-05-22 23:13:16 +02:00
Veronica Berglyd Olsen
411163f750 Update tests 2024-05-22 17:28:57 +02:00
Veronica Berglyd Olsen
7f3da655c0 Update ODT handling of font 2024-05-22 17:28:29 +02:00
Veronica Berglyd Olsen
76e786d961 Update HTML handling of font 2024-05-22 16:59:44 +02:00
Veronica Berglyd Olsen
7e1f1a725c Switch Tokenizer to use QFont instead of font family and size 2024-05-22 16:57:50 +02:00
Veronica Berglyd Olsen
c63a0c2f58 Add new font and quote button icons 2024-05-22 16:55:36 +02:00
Veronica Berglyd Olsen
04a7e092a9 Clean up Markdown build code 2024-05-22 16:55:05 +02:00
Veronica Berglyd Olsen
309065bcbf Add general keep line breaks setting to build 2024-05-22 09:14:34 +02:00
Veronica Berglyd Olsen
20ae3febef Merge branch 'main' into feature/preview_generator 2024-05-21 23:16:27 +02:00
Veronica Berglyd Olsen
e95d33031c Improve the text tokenizer (#1885) 2024-05-21 23:11:44 +02:00
Veronica Berglyd Olsen
3fd62d0b02 Remove context menu test from main menu tests 2024-05-21 23:06:25 +02:00
Veronica Berglyd Olsen
dc0ddcfa9f Move text blocks first also in stats counter as an optimisation 2024-05-21 22:59:02 +02:00
Veronica Berglyd Olsen
7a13b14c15 Drop empty tokens from the tokenizer data 2024-05-21 22:45:01 +02:00
Veronica Berglyd Olsen
adf0550571 Update tests 2024-05-21 22:32:20 +02:00
Veronica Berglyd Olsen
ba6259f08a Update converter classes to handle only single paragraphs 2024-05-21 22:32:07 +02:00
Veronica Berglyd Olsen
d8bb2ad3ae Merge lines of the same paragraph already in the tokenizer 2024-05-21 21:58:34 +02:00
Veronica Berglyd Olsen
afe4a29fd1 Strip consecutive empty paragraphs when tokenizing 2024-05-21 20:53:45 +02:00
Veronica Berglyd Olsen
1203dd639b Add a QTextDocument generator class 2024-05-21 18:12:08 +02:00
Veronica Berglyd Olsen
aadad6aa8c Define header sizes as constants 2024-05-21 18:02:01 +02:00
Veronica Berglyd Olsen
8ac0440bb3 Rename a few files 2024-05-21 16:33:53 +02:00
Veronica Berglyd Olsen
d2fca3b980 Allow full font style settings for GUI and editor (#1881) 2024-05-20 18:37:42 +02:00
Veronica Berglyd Olsen
d6b4019614 Clean up app construction in main entry point 2024-05-20 18:33:00 +02:00
Veronica Berglyd Olsen
a6eb951361 Add font initialisation, and update tests 2024-05-20 17:36:40 +02:00
Veronica Berglyd Olsen
dce5bdd31d Update tests 2024-05-20 17:14:03 +02:00
Veronica Berglyd Olsen
0b999bd726 Fix font handling in manuscript tool 2024-05-20 17:13:10 +02:00
Veronica Berglyd Olsen
774437f7bb Save all font info for text font 2024-05-20 16:32:10 +02:00
Veronica Berglyd Olsen
c0673b8128 Save all font info for GUI font 2024-05-20 16:12:27 +02:00
Veronica Berglyd Olsen
0bc8a63ccf Add error text colour setting to theme (#1880) 2024-05-20 13:36:37 +02:00
Veronica Berglyd Olsen
192f4507e3 Update documentation 2024-05-20 13:32:13 +02:00
Veronica Berglyd Olsen
2d22adcd2a Update the dictionaries tool to use the new error colour 2024-05-20 13:32:06 +02:00
Veronica Berglyd Olsen
4c4b92fdd4 Add error text colour to theme definition 2024-05-20 13:31:38 +02:00
Veronica Berglyd Olsen
2a727d1c39 Merge branch 'main' into fix/dict_tool_error_colour 2024-05-20 13:09:44 +02:00
Veronica Berglyd Olsen
35693f5433 Fix remaining merge conflict in sample project 2024-05-20 13:09:26 +02:00
Veronica Berglyd Olsen
bf459b4090 Add error text value in themes 2024-05-20 13:08:59 +02:00
Veronica Berglyd Olsen
728f1ce1e3 Merge release 2.4.3 into main 2024-05-20 13:07:14 +02:00
Veronica Berglyd Olsen
7b8021de02 Release 2.4.3 (#1878) 2024-05-20 12:32:32 +02:00
Veronica Berglyd Olsen
60593cde21 Bump version to 2.4.3 and update changelog 2024-05-20 12:29:03 +02:00
Veronica Berglyd Olsen
f9292d61da Fix how document font is set (#1877) 2024-05-20 12:16:41 +02:00
Veronica Berglyd Olsen
9388ce6a46 Fix support for 90% font 2024-05-20 12:00:19 +02:00
Veronica Berglyd Olsen
cb19475409 Add font init to viewer, and update manuscript tool preview 2024-05-20 11:36:30 +02:00
Veronica Berglyd Olsen
09b51badd4 Add an explicit font setting function for text editor that covers all font settings 2024-05-20 11:17:23 +02:00
Veronica Berglyd Olsen
fddd5fda47 Fix crash in dictionaries install tool (#1876) 2024-05-19 21:52:54 +02:00
Veronica Berglyd Olsen
5b0a6f05ed Fix enchant folder missing bug for dictionaries tool (#1874) 2024-05-19 21:47:53 +02:00
Veronica Berglyd Olsen
51f91a27e2 Merge release 2.4.2 into main 2024-05-18 15:57:49 +02:00
Veronica Berglyd Olsen
09018d1214 Release 2.4.2 (#1872) 2024-05-18 15:22:19 +02:00
Veronica Berglyd Olsen
de12b22c97 Bump version and update changelog 2024-05-18 15:19:30 +02:00
Veronica Berglyd Olsen
d1ae7f5fe2 Update Dutch and Chinese translations 2024-05-18 15:08:39 +02:00
Veronica Berglyd Olsen
201d32f6ae Merge branch 'release' 2024-05-14 09:37:59 +02:00
Veronica Berglyd Olsen
6a441b1c6b Fix syntax highlighter init (#1866) 2024-05-14 09:37:00 +02:00
Veronica Berglyd Olsen
0afa15f2db Call highlighter init on editor init (#1865) 2024-05-14 09:29:21 +02:00
Veronica Berglyd Olsen
85eb44da02 Bump main branch to 2.5 alpha 4 2024-05-13 18:48:38 +02:00
Veronica Berglyd Olsen
4856c7a61b Improve dialogue highlighting (#1864) 2024-05-13 18:41:13 +02:00
Veronica Berglyd Olsen
1b4cc933e7 Add test coverage 2024-05-13 18:31:31 +02:00
Veronica Berglyd Olsen
d64acb038b Allow multiple widgets in config form 2024-05-13 18:31:14 +02:00
Veronica Berglyd Olsen
b5def640ed Add alternative dialog style 2024-05-13 18:11:44 +02:00
Veronica Berglyd Olsen
7e35b4c675 Update syntax themes and add alternative dialog colour 2024-05-13 17:57:19 +02:00
Veronica Berglyd Olsen
e5e3066b3d Update preferences 2024-05-13 17:51:16 +02:00
Veronica Berglyd Olsen
e1af21bf88 Add new dialogue highlighting settings 2024-05-13 17:50:18 +02:00
Veronica Berglyd Olsen
8c9d08e46b Merge branch 'release' 2024-05-13 12:33:53 +02:00
Veronica Berglyd Olsen
e4acfb4831 Fix manuscript tool font issue (#1863) 2024-05-13 12:33:22 +02:00
Veronica Berglyd Olsen
a8101c2231 Fix text font for header on build tool 2024-05-13 12:29:18 +02:00
Veronica Berglyd Olsen
a3ce426613 Clean up code style (#1859) 2024-05-10 16:39:26 +02:00
Veronica Berglyd Olsen
161d02cd98 Use python -m to run pytest 2024-05-10 16:36:14 +02:00
Veronica Berglyd Olsen
101400bea3 Clean up some linting errors 2024-05-10 16:22:55 +02:00
Veronica Berglyd Olsen
1ff9fea378 Remove banner comments 2024-05-10 16:14:47 +02:00
Veronica Berglyd Olsen
3f4538a60e Remove all END Test comments 2024-05-10 16:06:23 +02:00
Veronica Berglyd Olsen
142d7c4f3a Remove all END Enum comments 2024-05-10 16:01:44 +02:00
Veronica Berglyd Olsen
2afe0ebbe9 Remove all END Class comments 2024-05-10 16:00:56 +02:00
Veronica Berglyd Olsen
bc71a62199 Improve first line indent (#1857) 2024-05-10 15:49:59 +02:00
Veronica Berglyd Olsen
1e85ce4a84 Update tests 2024-05-10 15:26:46 +02:00
Veronica Berglyd Olsen
39951a5099 Add more settings to first line indent and move to Format section 2024-05-10 15:14:09 +02:00
Veronica Berglyd Olsen
9cbb6f3125 Merge release 2.4.1 into main 2024-05-06 22:27:29 +02:00
Veronica Berglyd Olsen
2dbd3e2534 Release 2.4.1 (#1853) 2024-05-06 21:44:15 +02:00
Veronica Berglyd Olsen
f871a51e5b Bump version number to 2.4.1 and update changelog 2024-05-06 21:40:50 +02:00
Veronica Berglyd Olsen
6ab3c68ebb Update translation files for 2.4.1 (#1850) 2024-05-06 21:29:35 +02:00
Veronica Berglyd Olsen
7243ccd44c Update translation files 2024-05-04 21:00:51 +02:00
Veronica Berglyd Olsen
2a96fa1a2d Update the docs for 2.4.1 2024-05-04 20:54:56 +02:00
Veronica Berglyd Olsen
c05620dddb Refactor Main GUI inheritance (#1849) 2024-05-02 22:36:44 +02:00
Veronica Berglyd Olsen
917977ae13 Force document save when manually calling save document 2024-05-02 22:30:58 +02:00
Veronica Berglyd Olsen
2b8338f537 Clean up Main GUI inheritance 2024-05-02 22:13:35 +02:00
Veronica Berglyd Olsen
e75b5e012c Refactor how editor document is saved, and always save cursor position 2024-05-02 21:45:50 +02:00
Veronica Berglyd Olsen
78e194d8c1 Improve handling of tool dialogs on project close 2024-05-02 21:29:07 +02:00
Veronica Berglyd Olsen
c594e07c8c Merge branch 'release' 2024-05-02 21:16:42 +02:00
Veronica Berglyd Olsen
a3ed079828 Make sure dialogs close when project closes (#1848) 2024-05-02 21:08:46 +02:00
Veronica Berglyd Olsen
976ce16ac2 Update imports 2024-05-02 21:04:39 +02:00
Veronica Berglyd Olsen
5faeb12a74 Close non-modal dialogs when project closes 2024-05-02 21:02:23 +02:00
Veronica Berglyd Olsen
acc463eb76 Prune some unneeded translation strings 2024-05-02 19:38:13 +02:00
Veronica Berglyd Olsen
3b7459ffbc Add usability updates to the build tool (#1846) 2024-05-01 22:18:15 +02:00
Veronica Berglyd Olsen
cfb19a697a Restore build preview scroll bar after update (#1837) 2024-05-01 22:10:54 +02:00
Veronica Berglyd Olsen
ceec43db67 Make sure open document is saved before we update preview or build manuscript (#1835) 2024-05-01 22:09:43 +02:00
Veronica Berglyd Olsen
229fa39436 Fix build settings bug (#1845) 2024-05-01 20:33:22 +02:00
Veronica Berglyd Olsen
2496eb22cb Make sure build map is cleared when list is updated 2024-05-01 20:32:50 +02:00
Veronica Berglyd Olsen
d0a45bceca Make sure build map is cleared when list is updated 2024-05-01 20:30:32 +02:00
Veronica Berglyd Olsen
7180fae453 Improve dialog handling (#1844) 2024-05-01 20:24:31 +02:00
Veronica Berglyd Olsen
e1a1b5980e Make sure build settings are closed before deletion 2024-05-01 20:23:59 +02:00
Veronica Berglyd Olsen
53d410a6ee Make sure build settings are closed before deletion 2024-05-01 20:18:08 +02:00
Veronica Berglyd Olsen
a56b38694c Create subclasses for non-blocking dialogs 2024-05-01 20:08:35 +02:00
Veronica Berglyd Olsen
600b60b441 Remove main gui inheritance in manuscript tools 2024-05-01 19:43:51 +02:00
Veronica Berglyd Olsen
aa7208b602 Merge branch 'release' 2024-05-01 19:38:38 +02:00
Veronica Berglyd Olsen
0092b3ece6 Fix two minor issues (#1843) 2024-05-01 19:30:13 +02:00
Veronica Berglyd Olsen
d01c1e867d Pin MacOS tests to macos-13 image 2024-05-01 19:26:59 +02:00
Veronica Berglyd Olsen
dd3c8dfac8 Use GUI font for the header and footer in the editor and viewer (#1842) 2024-05-01 19:22:22 +02:00
Veronica Berglyd Olsen
7c9c5a9a76 Fix garbage collection blocker in build settings 2024-05-01 19:12:45 +02:00
Veronica Berglyd Olsen
8f9a55c5ca Add tools settings to pyproject 2024-05-01 19:12:27 +02:00
Veronica Berglyd Olsen
ea0b61aa6d Update assets credits 2024-04-29 22:48:25 +02:00
Veronica Berglyd Olsen
b94e7159b8 Add more themes (#1840) 2024-04-29 21:37:35 +02:00
Veronica Berglyd Olsen
2eabca8267 Fix theme test 2024-04-29 21:34:28 +02:00
Veronica Berglyd Olsen
afbe434b59 Add Snazzy Light syntax theme 2024-04-29 21:26:37 +02:00
Veronica Berglyd Olsen
2a50799873 Add dracula syntax and GUI theme 2024-04-29 21:08:25 +02:00
Veronica Berglyd Olsen
77727ad500 Update tango theme 2024-04-29 21:08:11 +02:00
Veronica Berglyd Olsen
e89f1fe5a8 Fix some minor issues on other themes 2024-04-29 21:07:58 +02:00
Veronica Berglyd Olsen
503e7eceb5 Make default syntax themes consistent 2024-04-29 21:07:10 +02:00
Veronica Berglyd Olsen
c15eba8f62 Bump main branch to 2.5 Alpha 3 2024-04-28 23:19:36 +02:00
Veronica Berglyd Olsen
e2f83d5106 Update syntax themes (#1836) 2024-04-28 23:10:32 +02:00
Veronica Berglyd Olsen
937b5cca12 Rename old value colour to tag and add new value colour to all syntax themes 2024-04-28 23:07:20 +02:00
Veronica Berglyd Olsen
1d438d5d76 Separate tags and value colours 2024-04-28 22:43:46 +02:00
Veronica Berglyd Olsen
22a34be21a Fix note colour in viewer and fix tests 2024-04-28 20:08:35 +02:00
Veronica Berglyd Olsen
17a492444e Redesign the default dark colour theme 2024-04-28 19:54:08 +02:00
Veronica Berglyd Olsen
9a714a903d Add a note colour to syntax themes 2024-04-28 19:53:58 +02:00
Veronica Berglyd Olsen
69a99fc97f Add a syntax colour for special notes 2024-04-28 19:53:09 +02:00
Veronica Berglyd Olsen
8beb74689c Add footnotes (#1832) 2024-04-28 19:40:38 +02:00
Veronica Berglyd Olsen
6be7da0305 Clean up a few minor bits in the index tests 2024-04-28 18:43:22 +02:00
Veronica Berglyd Olsen
8a08fe213c Fix more deprecation warnings in xml module 2024-04-28 18:29:15 +02:00
Veronica Berglyd Olsen
205b17aea0 Fix deprecation warning in xml module 2024-04-28 18:26:38 +02:00
Veronica Berglyd Olsen
864172ea50 Add an elide function for shortening text 2024-04-28 18:22:31 +02:00
Veronica Berglyd Olsen
e01e14075c Update editor and highlight, and update tests 2024-04-28 18:05:53 +02:00
Veronica Berglyd Olsen
e9596e1bbc Fix footnote formatting for ODT and update document builder tests 2024-04-27 19:05:13 +02:00
Veronica Berglyd Olsen
db9305c230 Add a footnote to the Lorem Ipsum test project 2024-04-27 16:50:37 +02:00
Veronica Berglyd Olsen
4572d101cf Change to run MacOS test on 13 2024-04-26 22:29:26 +02:00
Veronica Berglyd Olsen
41506911c1 Fix regex flag in highlighter 2024-04-26 22:25:58 +02:00
Veronica Berglyd Olsen
b722224863 Improve comment processing 2024-04-26 22:25:08 +02:00
Veronica Berglyd Olsen
b585b8ecd1 Make the footnote registry per-file 2024-04-26 20:12:57 +02:00
Veronica Berglyd Olsen
52e8ae9cb6 Merge branch 'main' into features/footnotes 2024-04-25 23:35:40 +02:00
Veronica Berglyd Olsen
6d6d0c2d12 Require minimum Python 3.9 (#1833) 2024-04-25 23:35:26 +02:00
Veronica Berglyd Olsen
383640cb7e Drop Python 3.8 support 2024-04-25 23:30:26 +02:00
Veronica Berglyd Olsen
e5ef27dfbf Revert change in test 2024-04-25 23:25:23 +02:00
Veronica Berglyd Olsen
96741fc08b Fix remaining broken tests 2024-04-25 22:58:00 +02:00
Veronica Berglyd Olsen
dc41f495be Fix ODT tests 2024-04-24 18:39:06 +02:00
Veronica Berglyd Olsen
b278d64d0c Fix uninitialised shared class in tests 2024-04-24 18:38:50 +02:00
Veronica Berglyd Olsen
b5e32844f5 Merge branch 'main' into features/footnotes 2024-04-24 18:09:26 +02:00
Veronica Berglyd Olsen
4179d2e515 Add isort and clean up flake8 (#1831) 2024-04-24 18:08:42 +02:00
Veronica Berglyd Olsen
815ba9d553 Update linting and formatting tools 2024-04-24 17:46:00 +02:00
Veronica Berglyd Olsen
0d294f49f9 Merge branch 'main' into features/footnotes 2024-04-21 23:34:56 +02:00
Veronica Berglyd Olsen
a195cfc792 Merge branch 'release' 2024-04-21 13:56:08 +02:00
Veronica Berglyd Olsen
d3c9168ebf Make MacOS build script executable 2024-04-21 13:17:55 +02:00
Veronica Berglyd Olsen
4d153b8d99 Backport ARM build for MacOS from 2.5 branch 2024-04-21 13:14:38 +02:00
Veronica Berglyd Olsen
bf8d224064 Update build scripts (#1829) 2024-04-21 12:59:42 +02:00
Veronica Berglyd Olsen
b7ad2c969a Fix test 2024-04-20 21:49:22 +02:00
Veronica Berglyd Olsen
d78643160c Update MacOS package names and fic another launch script bug 2024-04-20 21:43:31 +02:00
Veronica Berglyd Olsen
221b38c766 Fix escapes in MacOS launch script 2024-04-20 21:36:09 +02:00
Veronica Berglyd Olsen
e8bd9b21b5 Explicitly set python exec and ignore errors from run from source blocks in main 2024-04-20 21:31:04 +02:00
Veronica Berglyd Olsen
c2f0d04a35 Merge branch 'main' into builds/macos_m1 2024-04-20 21:04:09 +02:00
Veronica Berglyd Olsen
54ebcd91cb Fix wrong hex version 2024-04-20 20:13:06 +02:00
Veronica Berglyd Olsen
07411327b6 Add some debug output 2024-04-20 19:50:45 +02:00
Veronica Berglyd Olsen
094ad1a17b Require input arguments 2024-04-20 19:44:50 +02:00
Veronica Berglyd Olsen
c362848b86 Fix bash script bug 2024-04-20 19:41:33 +02:00
Veronica Berglyd Olsen
47a8dfbd93 Go back to macos-12 runner 2024-04-20 19:35:39 +02:00
Veronica Berglyd Olsen
73b8443d7b Let's try this one more time ... 2024-04-20 18:35:31 +02:00
Veronica Berglyd Olsen
48a7929254 Escape forwarding of arguments in MacoS build script 2024-04-20 18:28:57 +02:00
Veronica Berglyd Olsen
2c1abf1519 Change package name 2024-04-20 18:18:11 +02:00
Veronica Berglyd Olsen
e27e066ccc Drop support for deprecated Linux AppImage 2024-04-20 18:12:51 +02:00
Veronica Berglyd Olsen
621e933f63 Make some tweaks to build scripts 2024-04-20 18:02:10 +02:00
Veronica Berglyd Olsen
885974a84e Keep artifacts for 14 days 2024-04-20 17:41:36 +02:00
Veronica Berglyd Olsen
b1d1af2153 Add M1 build for MacOS 2024-04-20 17:41:10 +02:00
Veronica Berglyd Olsen
cb94be5b3c Post-release updates 2024-04-20 17:30:35 +02:00
Veronica Berglyd Olsen
5a202e96fd Post-release updates 2024-04-20 17:27:12 +02:00
Veronica Berglyd Olsen
b80edee225 Merge Release 2.4 into Main 2024-04-20 17:26:12 +02:00
Veronica Berglyd Olsen
af3e2fc6ce Release 2.4 (#1827) 2024-04-20 15:29:38 +02:00
Veronica Berglyd Olsen
795007f3f8 Bump version to 2.4 and update changelog 2024-04-20 15:25:59 +02:00
Veronica Berglyd Olsen
ea3c5fa758 Update translations (#1821) 2024-04-20 15:01:22 +02:00
Veronica Berglyd Olsen
30acf11055 Update German translation and refresh other files 2024-04-20 14:58:42 +02:00
Veronica Berglyd Olsen
48e653a546 Clean up footnote key generation 2024-04-18 18:23:25 +02:00
Veronica Berglyd Olsen
a2d8aefb21 Reduce footnote index storage to keys only 2024-04-18 18:07:17 +02:00
Veronica Berglyd Olsen
ae893be79b Merge branch 'main' into features/footnotes 2024-04-18 00:01:48 +02:00
Veronica Berglyd Olsen
d846811fb9 Merge branch 'release' into i18n/update_translations 2024-04-17 00:24:27 +02:00
Veronica Berglyd Olsen
791080107f Update readme 2024-04-17 00:23:41 +02:00
Veronica Berglyd Olsen
7d22ed1249 Update packaging (#1826) 2024-04-17 00:21:42 +02:00
Veronica Berglyd Olsen
8150edbc43 Clean up and refactor package script 2024-04-17 00:12:06 +02:00
Veronica Berglyd Olsen
5acbfeffa5 Reduce zip build job to Windows only 2024-04-17 00:00:28 +02:00
Veronica Berglyd Olsen
3b763e3460 Remove windows install scripts 2024-04-16 23:54:54 +02:00
Veronica Berglyd Olsen
6dd5f4295d Drop build support for Ubuntu 20.04 2024-04-16 23:46:10 +02:00
Veronica Berglyd Olsen
ac7b0bc9a2 Drop code for pre Qt 5.15 versions 2024-04-16 23:45:59 +02:00
Veronica Berglyd Olsen
1733938eb4 Bump Qt version requirement to 5.15 2024-04-16 23:40:48 +02:00
Veronica Berglyd Olsen
e5c9ed4b80 Fix build errors for old Ubuntu LTSes 2024-04-16 23:34:25 +02:00
Veronica Berglyd Olsen
175b6747ea Fix build errors 2024-04-16 23:33:13 +02:00
Veronica Berglyd Olsen
f45170850c Fix Ubuntu builds for 20.04 and 22.04, and bump to 2.5 alpha 2 2024-04-16 23:25:30 +02:00
Veronica Berglyd Olsen
466eb65a44 Add setup.cfg back for old Ubuntu LTSes 2024-04-16 23:15:39 +02:00
Veronica Berglyd Olsen
bdce0e12c7 Simplify footnote handling in writer classes 2024-04-16 21:54:31 +02:00
Veronica Berglyd Olsen
57f9a0a844 Refactor and improve highlighter class 2024-04-16 21:52:37 +02:00
Veronica Berglyd Olsen
988d969de7 Drop the non-compliant print-orientation attribute from the ODT class 2024-04-16 21:51:54 +02:00
Veronica Berglyd Olsen
17960d286f Add a working ODT footnotes implementation 2024-04-16 00:39:48 +02:00
Veronica Berglyd Olsen
26ac68e98e Block footnotes in footnotes, and only output referenced footnotes 2024-04-16 00:37:26 +02:00
Veronica Berglyd Olsen
0729dd798b Add formatted comments for ODT 2024-04-15 18:49:49 +02:00
Veronica Berglyd Olsen
c65dee1df9 Skip footnote section if there are none 2024-04-15 18:30:07 +02:00
Veronica Berglyd Olsen
92888338f4 Add footnotes to output translation file 2024-04-15 18:25:13 +02:00
Veronica Berglyd Olsen
44192c88f5 Add footnote handling in html and markdown output 2024-04-15 18:22:55 +02:00
Veronica Berglyd Olsen
8d24243d4f Complete footnotes processing in tokenizer 2024-04-15 18:22:29 +02:00
Veronica Berglyd Olsen
7c4d4dec5c Use format list also for marker keys 2024-04-15 01:11:32 +02:00
Veronica Berglyd Olsen
9823677983 Add text marker processing in tokenizer class 2024-04-15 00:42:01 +02:00
Veronica Berglyd Olsen
ec6a5712e5 Update tests 2024-04-14 23:59:57 +02:00
Veronica Berglyd Olsen
ef85b2109f Fix shortcode spellcheck (#1823) 2024-04-14 23:52:47 +02:00
Veronica Berglyd Olsen
8cfeb2ce7d Add test coverage of shortcode spell checking 2024-04-14 23:47:46 +02:00
Veronica Berglyd Olsen
35563373a6 Annotated regex rules in highlighting and add to slots 2024-04-14 23:40:19 +02:00
Veronica Berglyd Olsen
f23164a17b Disable spell checking for shortcodes 2024-04-14 23:39:52 +02:00
Veronica Berglyd Olsen
70033cb0f3 Add insert footnote feature in editor 2024-04-14 23:33:35 +02:00
Veronica Berglyd Olsen
da102d3d5a Merge branch 'main' into features/footnotes 2024-04-14 22:17:23 +02:00
Veronica Berglyd Olsen
5568b43b22 Add key generator to text index 2024-04-14 22:17:00 +02:00
Veronica Berglyd Olsen
52b27b6e56 Increase toolbar label font size in outline 2024-04-14 16:42:46 +02:00
Veronica Berglyd Olsen
99ec268dd9 Increase the icon size of outline toolbar 2024-04-14 16:36:21 +02:00
Veronica Berglyd Olsen
d304c0919f Change job name 2024-04-13 19:59:28 +02:00
Veronica Berglyd Olsen
6f3a11ade3 Change job condition 2024-04-13 19:57:51 +02:00
Veronica Berglyd Olsen
52ffa0b675 Add a job to build i18n file 2024-04-13 19:54:50 +02:00
Veronica Berglyd Olsen
03ee8edda1 Update translation sources, and completed French 2024-04-13 19:47:49 +02:00
Veronica Berglyd Olsen
5da30e6608 Update the status shape feature (#1819) 2024-04-13 19:26:32 +02:00
Veronica Berglyd Olsen
0fb0af5b32 Merge branch 'main' into updates/shapes 2024-04-13 19:22:05 +02:00
Veronica Berglyd Olsen
f5fcc57a06 Merge branch 'release' 2024-04-13 19:19:53 +02:00
Veronica Berglyd Olsen
6dc3e29535 Update default theme (#1820) 2024-04-13 19:15:19 +02:00
Veronica Berglyd Olsen
d35db6e925 Merge branch 'release' into udpates/default_theme 2024-04-13 19:08:32 +02:00
Veronica Berglyd Olsen
fbf0839c73 Update documentation for 2.4 (#1818) 2024-04-13 19:07:39 +02:00
Veronica Berglyd Olsen
6f885efb7f Change how default theme colours are handled 2024-04-13 19:07:15 +02:00
Veronica Berglyd Olsen
df5b391f27 Revert the default theme setting 2024-04-13 19:00:59 +02:00
Veronica Berglyd Olsen
4a1a3013f4 Add missing i18n wrapper to shape labels 2024-04-13 18:34:09 +02:00
Veronica Berglyd Olsen
524b965665 Update the remaining docs 2024-04-13 18:32:29 +02:00
Veronica Berglyd Olsen
a3ebe24eb7 Update project documentation 2024-04-13 18:18:06 +02:00
Veronica Berglyd Olsen
cae0977a01 Update usage documentation 2024-04-13 17:11:34 +02:00
Veronica Berglyd Olsen
ecf94d812d Change default theme to match docs 2024-04-13 16:41:46 +02:00
Veronica Berglyd Olsen
807a50dae4 Update the introduction section 2024-04-13 15:25:06 +02:00
Veronica Berglyd Olsen
cf57a3ead0 Update file format spec 2024-04-13 01:34:12 +02:00
Veronica Berglyd Olsen
39b2ff4a72 Bump main branch to version 2.5a1 (correctly this time) 2024-04-13 01:10:39 +02:00
Veronica Berglyd Olsen
eced026aeb Add shape setting to status and importance icons (#1810) 2024-04-13 01:07:43 +02:00
Veronica Berglyd Olsen
d574b2796f Update translations (#1814) 2024-04-13 01:05:36 +02:00
Veronica Berglyd Olsen
730d09a76c Merge branch 'main' into feature/status_shapes 2024-04-13 01:04:24 +02:00
Veronica Berglyd Olsen
b521b39498 Bump main branch to version 2.5a1 2024-04-13 01:03:58 +02:00
Veronica Berglyd Olsen
1cae0503e7 Merge branch 'main' into uppdate_i18n 2024-04-13 00:59:59 +02:00
Veronica Berglyd Olsen
e4d3e609f8 Fix index error in word counter (#1817) 2024-04-13 00:47:16 +02:00
Veronica Berglyd Olsen
4c86c1a75a Improve test coverage 2024-04-13 00:42:26 +02:00
Veronica Berglyd Olsen
2f55055c75 Fix comment 2024-04-13 00:38:29 +02:00
Veronica Berglyd Olsen
3e711ebe7f Fix word counter bug (#1816) 2024-04-13 00:37:21 +02:00
Veronica Berglyd Olsen
61e634a86c Update minor issues (#1815) 2024-04-13 00:30:57 +02:00
Veronica Berglyd Olsen
afd4aa5d1f Update home path and fix wrong setting fix for scene and chapter count on welcome dialog 2024-04-13 00:13:20 +02:00
Veronica Berglyd Olsen
4b5383f1c7 Add home path getter to config 2024-04-13 00:12:43 +02:00
Veronica Berglyd Olsen
95d91562ec Revert last changes, but keep code improvements 2024-04-13 00:03:08 +02:00
Veronica Berglyd Olsen
a43c351e25 Add a project language setting to manuscript build (#1812) 2024-04-12 23:46:09 +02:00
Veronica Berglyd Olsen
77a90256ed Simplify project language setting in project settings 2024-04-12 23:45:15 +02:00
Veronica Berglyd Olsen
6393ae7621 Default to 0 chapters and scenes for new projects (#1811) 2024-04-12 22:57:49 +02:00
Veronica Berglyd Olsen
6b3742fa56 Update US English. Spanish, Italian, Japanese and Norwegian 2024-04-11 22:46:51 +02:00
Veronica Berglyd Olsen
492bc044fc Make project setting lists behave the same way 2024-04-11 21:53:37 +02:00
Veronica Berglyd Olsen
84ff2f8371 Merge branch 'main' into feature/status_shapes 2024-04-11 21:46:48 +02:00
Veronica Berglyd Olsen
54f26ea06e Update test 2024-04-11 21:42:33 +02:00
Veronica Berglyd Olsen
e10f3a19d3 Add size policy types 2024-04-11 21:36:48 +02:00
Veronica Berglyd Olsen
21a5dbbb52 Redesign status item controls, and clean up auto-replace methods 2024-04-11 21:35:25 +02:00
Veronica Berglyd Olsen
f67d2c5a4c Add pre-calculation of status icons 2024-04-11 19:52:54 +02:00
Veronica Berglyd Olsen
6cf83bb381 Add more status icon shapes 2024-04-11 11:17:03 +02:00
Veronica Berglyd Olsen
6b9c81e8c4 Trigger search update on document save 2024-04-11 00:23:38 +02:00
Veronica Berglyd Olsen
f4decae77f Simplify status class counter reset 2024-04-10 23:44:43 +02:00
Veronica Berglyd Olsen
e47f0c5166 Update GUI test 2024-04-10 23:35:14 +02:00
Veronica Berglyd Olsen
778b65b48c Add shape selector to project settings 2024-04-10 23:24:00 +02:00
Veronica Berglyd Olsen
d1dbb0b378 Add test coverage of status class 2024-04-10 22:19:15 +02:00
Veronica Berglyd Olsen
adfd003532 Update core tests 2024-04-10 21:39:23 +02:00
Veronica Berglyd Olsen
f17302439e Simplify further how status labels are added and updated 2024-04-10 21:38:43 +02:00
Veronica Berglyd Olsen
63d2f5c57d Simplify the status class 2024-04-10 17:57:39 +02:00
Veronica Berglyd Olsen
478db63b30 Update tests 2024-04-10 01:09:11 +02:00
Veronica Berglyd Olsen
127588699e Switch status entries from dict to dataclass 2024-04-10 01:08:57 +02:00
Veronica Berglyd Olsen
29c10542b1 Merge branch 'main' into feature/status_shapes 2024-04-09 23:22:45 +02:00
Veronica Berglyd Olsen
ab33312872 Update codecov action 2024-04-09 23:18:21 +02:00
Veronica Berglyd Olsen
5c9fd471a7 Update codecov token 2024-04-09 23:00:17 +02:00
Veronica Berglyd Olsen
dd15c93f51 Comment out debug print 2024-04-09 22:41:37 +02:00
Veronica Berglyd Olsen
4003ececb2 Update tests 2024-04-09 22:40:14 +02:00
Veronica Berglyd Olsen
ff3cae9db4 Add status icon shape to project XML 2024-04-09 22:39:46 +02:00
Veronica Berglyd Olsen
af44646a77 Add a shape generator to the status class 2024-04-09 21:42:59 +02:00
Veronica Berglyd Olsen
1345bc8fe6 Fix markdown error 2024-04-09 18:25:22 +02:00
Veronica Berglyd Olsen
5d3a5a335f Reduce to only one release branch 2024-04-09 18:23:43 +02:00
Veronica Berglyd Olsen
4d877d411b Add linting of type annotations (#1809) 2024-04-09 17:05:45 +02:00
Veronica Berglyd Olsen
c1154682b5 Fix annotation errors 2024-04-09 17:01:05 +02:00
Veronica Berglyd Olsen
99c4b0acd0 Add flake8-annotations to linting checks 2024-04-09 16:52:26 +02:00
Veronica Berglyd Olsen
80520c075d Fix format toggle issue (#1808) 2024-04-09 16:50:54 +02:00
Veronica Berglyd Olsen
17cf9f006a Update tests 2024-04-09 16:41:12 +02:00
Veronica Berglyd Olsen
a8034b2fb5 Fix toggle and select issue for markdown formatting (#1807) 2024-04-09 16:40:38 +02:00
Veronica Berglyd Olsen
7999251353 Change "hard scene" to "alternative scene" format (#1803) 2024-04-08 21:07:28 +02:00
Veronica Berglyd Olsen
2111af8c0c Update translation file 2024-04-08 20:43:30 +02:00
Veronica Berglyd Olsen
6f7745c46a Update alternative scene label 2024-04-08 20:43:19 +02:00
Veronica Berglyd Olsen
ba42285172 Remove summaries from text index 2024-04-08 00:56:36 +02:00
Veronica Berglyd Olsen
dff2d5996b Add new index classes to store special text comments 2024-04-07 23:56:40 +02:00
Veronica Berglyd Olsen
08b17daec9 Add parsing for terms in comments 2024-04-07 18:06:21 +02:00
Veronica Berglyd Olsen
a7cf236ba5 Fix stylesheet bug (#1800) 2024-04-06 20:43:04 +02:00
Veronica Berglyd Olsen
f22197d494 Fix tooltip colours for the search panel 2024-04-06 20:05:46 +02:00
Veronica Berglyd Olsen
af8af45f39 Update translations (#1799) 2024-04-06 19:17:56 +02:00
Veronica Berglyd Olsen
4b112cf9c0 Update Norwegian and US English translations 2024-04-06 19:10:47 +02:00
Veronica Berglyd Olsen
733bc89a47 Update all translation files 2024-04-06 19:09:35 +02:00
Veronica Berglyd Olsen
17baceb807 Improve a few GUI labels 2024-04-06 19:08:49 +02:00
Veronica Berglyd Olsen
86487ace10 Make some minor fixes to the guide 2024-04-06 17:53:48 +02:00
Veronica Berglyd Olsen
a7422e5bb3 Merge branch 'releases/v2.3' 2024-04-06 17:44:18 +02:00
Veronica Berglyd Olsen
b64418c2e9 Merge branch 'releases/v2.2' 2024-04-06 17:44:15 +02:00
Veronica Berglyd Olsen
8e895bd797 Merge branch 'releases/v2.1' 2024-04-06 17:44:11 +02:00
Veronica Berglyd Olsen
6562f645fe Merge branch 'releases/v2.0' 2024-04-06 17:44:08 +02:00
Veronica Berglyd Olsen
80ebf60ec5 Update readme and contributing guide 2024-04-06 17:42:42 +02:00
Veronica Berglyd Olsen
d569001f32 Move mac and windows tests to python 3.12 2024-04-06 17:16:08 +02:00
Veronica Berglyd Olsen
12318b5c31 Keep windows and mac on Python 3.11 2024-04-06 17:15:20 +02:00
Veronica Berglyd Olsen
de55106961 Add release branch rules 2024-04-06 17:13:19 +02:00
Veronica Berglyd Olsen
edca735f2a Add release branch rules 2024-04-06 17:11:38 +02:00
Veronica Berglyd Olsen
b076de6f81 Add release branch rules 2024-04-06 17:11:07 +02:00
Veronica Berglyd Olsen
6ddc59bc5b Add release branch rules 2024-04-06 17:10:21 +02:00
Veronica Berglyd Olsen
ba4a3c16f3 Change to release branches 2024-04-06 17:07:43 +02:00
Veronica Berglyd Olsen
de0fb2eba8 Update actions for new patch branch 2024-04-06 16:50:51 +02:00
Veronica Berglyd Olsen
e40a0ff4aa Release 2.4 RC 1 (#1797) 2024-04-06 15:58:00 +02:00
Veronica Berglyd Olsen
5b126716f7 Update translation file 2024-04-06 15:54:59 +02:00
Veronica Berglyd Olsen
df3f4e2ef7 Bump version to 2.4 RC 1 and update changelog 2024-04-06 15:52:44 +02:00
Veronica Berglyd Olsen
a081a63ba1 Refactor ODT writer class (#1796) 2024-04-05 18:22:55 +02:00
Veronica Berglyd Olsen
3a631449ed Make a few more simplifications 2024-04-05 18:18:30 +02:00
Veronica Berglyd Olsen
c01c8b2023 Use iterable for checking difference between Odt paragraph styles 2024-04-05 18:10:07 +02:00
Veronica Berglyd Olsen
f7736b87bb Refactor Odt paragraph class further 2024-04-05 17:49:16 +02:00
Veronica Berglyd Olsen
5b8212f2fa Refactor Odt text style class 2024-04-05 17:23:39 +02:00
Veronica Berglyd Olsen
dd539be64e Refactor Odt paragraph style class 2024-04-05 17:23:07 +02:00
Veronica Berglyd Olsen
53e5756745 Refactor the Odt writer code 2024-04-05 17:12:01 +02:00
Veronica Berglyd Olsen
d0d6da3436 Improve persistence of document search button state (#1795) 2024-04-04 23:33:24 +02:00
Veronica Berglyd Olsen
c6423ffc21 Simplify the document search widget 2024-04-04 23:25:04 +02:00
Veronica Berglyd Olsen
cf9a141dc7 Remove caching of doc search options state in the search widget 2024-04-04 23:05:42 +02:00
Veronica Berglyd Olsen
2480c7ae9f Clean up code in preparation for Qt6 (#1792) 2024-04-03 21:20:58 +02:00
Veronica Berglyd Olsen
8fff376076 Clean up flags in all GUI classes 2024-04-03 21:09:49 +02:00
Veronica Berglyd Olsen
20c5993e2d Clean up a lot more namespace flags 2024-04-03 20:25:54 +02:00
Veronica Berglyd Olsen
46c5f1c10d Update Qt namespace flags 2024-04-03 19:28:39 +02:00
Veronica Berglyd Olsen
f95bbb8760 Replace exec_ with exec 2024-04-03 18:41:39 +02:00
Veronica Berglyd Olsen
c8fe5e6620 Drop the qApp macro 2024-04-03 18:36:37 +02:00
Veronica Berglyd Olsen
2744fb2fd4 Move to pyproject.toml (#1791) 2024-04-03 00:45:45 +02:00
Veronica Berglyd Olsen
7fb771eba4 Put dependencies directly in project config 2024-04-03 00:14:46 +02:00
Veronica Berglyd Olsen
760b2dbf0c Remove references to setup.cfg 2024-04-03 00:01:53 +02:00
Veronica Berglyd Olsen
751d0ed857 Drop empty init files 2024-04-02 23:53:19 +02:00
Veronica Berglyd Olsen
55e1233ca5 Move package config to pyproject.toml 2024-04-02 23:53:01 +02:00
Veronica Berglyd Olsen
b83042e456 Use selected text for project search (#1790) 2024-04-02 22:59:43 +02:00
Veronica Berglyd Olsen
c0fd1f1466 Update tests 2024-04-02 22:53:21 +02:00
Veronica Berglyd Olsen
03cb6ccb2b Let project search start with selected text (#1789) 2024-04-02 22:51:04 +02:00
Veronica Berglyd Olsen
3fb5d12487 Improve GUI scaling (#1788) 2024-04-01 20:46:45 +02:00
Veronica Berglyd Olsen
b44072a9fa Use the simplified theme icon setter where possible 2024-04-01 20:38:16 +02:00
Veronica Berglyd Olsen
24e45fb661 Improve how tool buttons are generated 2024-04-01 20:21:34 +02:00
Veronica Berglyd Olsen
c3467d89c2 Collect all alignment flags into a new types module 2024-04-01 18:27:18 +02:00
Veronica Berglyd Olsen
468a0e7416 Clean up item details panel 2024-04-01 18:03:35 +02:00
Veronica Berglyd Olsen
1eafa1c8b6 Make sure all tool buttons scale to base icon size 2024-04-01 17:48:12 +02:00
Veronica Berglyd Olsen
c000307f14 Add a base button size, and make it default for switches and tool buttons 2024-04-01 15:39:54 +02:00
Veronica Berglyd Olsen
cfde84f851 Fix typo in doc viewer stylesheet 2024-03-30 23:52:46 +01:00
Veronica Berglyd Olsen
d261aee1d0 Add search refresh when document changes (#1782) 2024-03-28 14:14:37 +01:00
Veronica Berglyd Olsen
c05463f0ae Update test coverage 2024-03-28 14:10:01 +01:00
Veronica Berglyd Olsen
247cd65bb6 Only update search for documents in current results 2024-03-28 13:54:35 +01:00
Veronica Berglyd Olsen
7149e363b1 Update search result on document change 2024-03-28 13:40:52 +01:00
Veronica Berglyd Olsen
536e828cc6 Refactor doc search class to allow single document search 2024-03-28 13:40:15 +01:00
Veronica Berglyd Olsen
821e3c4be5 Fix tooltip inconsistency 2024-03-27 16:38:16 +01:00
Veronica Berglyd Olsen
a06144730f Remove redundant variable 2024-03-27 14:05:43 +01:00
Veronica Berglyd Olsen
d162b77234 Add a new placeholder icon and clean up project search styling (#1781) 2024-03-27 13:46:31 +01:00
Veronica Berglyd Olsen
ec5352c13c Tweak search toolbar a little more 2024-03-27 13:40:26 +01:00
Veronica Berglyd Olsen
4e5a08d3dd Clean up search layout a little 2024-03-27 13:29:54 +01:00
Veronica Berglyd Olsen
2d9b57b534 Add a function to convert QColor to CSS rgba format 2024-03-27 13:11:37 +01:00
Veronica Berglyd Olsen
3e66968387 Add a more obvious placeholder icon (#1780) 2024-03-27 12:32:55 +01:00
Veronica Berglyd Olsen
1771dd2130 Release 2.4 Beta 1 (#1778) 2024-03-26 12:54:50 +01:00
Veronica Berglyd Olsen
b0a4ac055a Release 2.4 Beta 1 2024-03-26 12:49:21 +01:00
Veronica Berglyd Olsen
8bb0588b2b Add fast document read (#1777) 2024-03-26 12:19:50 +01:00
Veronica Berglyd Olsen
147d6b95d7 Move the quick read function to the document class where it belongs 2024-03-26 12:14:07 +01:00
Veronica Berglyd Olsen
6a7262b817 Use the quick read feature wherever we only need document text 2024-03-26 11:56:31 +01:00
Veronica Berglyd Olsen
738f022212 Add a quick document read function in the storage class 2024-03-26 11:45:29 +01:00
Veronica Berglyd Olsen
9081380255 Add global search feature (#1775) 2024-03-26 10:58:01 +01:00
Veronica Berglyd Olsen
e64fb28d89 Revert some timer changes 2024-03-26 00:29:58 +01:00
Veronica Berglyd Olsen
eb0fac8a43 Improve test coverage 2024-03-26 00:26:24 +01:00
Veronica Berglyd Olsen
bdc1f0a5d4 Handle the caching in the DocSearch class 2024-03-25 22:31:37 +01:00
Veronica Berglyd Olsen
8a12b03a1f Add clocks to shared class and add search cache clearing 2024-03-25 18:13:05 +01:00
Veronica Berglyd Olsen
01a4ec8d76 Make some GUI improvements 2024-03-25 17:37:18 +01:00
Veronica Berglyd Olsen
16954c3bba Add search caching 2024-03-25 16:19:51 +01:00
Veronica Berglyd Olsen
c6944876f1 Save project search toggle state 2024-03-25 11:59:05 +01:00
Veronica Berglyd Olsen
33e0895cdf Improve handling of focus switch with search widget 2024-03-25 11:44:56 +01:00
Veronica Berglyd Olsen
a4d8c22cd0 Add better keyboard navigation support 2024-03-24 16:24:48 +01:00
Veronica Berglyd Olsen
becb404203 Complete handling of search results 2024-03-24 15:56:22 +01:00
Veronica Berglyd Olsen
026aeb3d82 Use regex search instead 2024-03-24 14:52:32 +01:00
Veronica Berglyd Olsen
9153707075 Add basic string search 2024-03-23 23:54:41 +01:00
Veronica Berglyd Olsen
0feac3163f Merge branch 'dev' into global_search 2024-03-23 23:15:07 +01:00
Veronica Berglyd Olsen
7ddb1819f2 Fix two minor typing issues 2024-03-23 20:01:49 +01:00
Veronica Berglyd Olsen
9ddbe2f789 Add basic global search widget 2024-03-21 23:04:47 +01:00
Veronica Berglyd Olsen
102885da6e Add sidebar button for global search 2024-03-21 22:16:40 +01:00
Veronica Berglyd Olsen
ded03e10c5 Add outline to manuscript tool (#1768) 2024-03-21 18:49:55 +01:00
Veronica Berglyd Olsen
991e4fd3e2 Add test coverage 2024-03-21 18:44:15 +01:00
Veronica Berglyd Olsen
c0b1d0ad3d Fix tests 2024-03-21 16:43:36 +01:00
Veronica Berglyd Olsen
5befd244e6 Move outline generation to Tokenizer class instead 2024-03-21 16:42:58 +01:00
Veronica Berglyd Olsen
144ba66d9d Remove redundant variables in tokenizer 2024-03-20 23:44:25 +01:00
Veronica Berglyd Olsen
46c8bedd66 Add outline table to Manuscript tool 2024-03-20 20:43:31 +01:00
Veronica Berglyd Olsen
d42074f8ea Extend HTML anchor to include handle 2024-03-20 20:43:11 +01:00
Veronica Berglyd Olsen
bcadc40998 Make preview mode in HTML build also usable by Manuscript tool 2024-03-20 19:37:55 +01:00
Veronica Berglyd Olsen
ace1df7336 Increase size of some small button icons 2024-03-20 17:27:17 +01:00
Veronica Berglyd Olsen
3a2e2ff478 Add consistent styling of tool buttons and tab widgets 2024-03-20 17:26:36 +01:00
Veronica Berglyd Olsen
cd1f19355a Add additional classes to HTML output (#1767) 2024-03-18 23:13:02 +01:00
Veronica Berglyd Olsen
05174cd84c Add meta data classes in HTML build format (#1134) 2024-03-18 23:05:32 +01:00
Veronica Berglyd Olsen
7247d4dc76 Use correct type hint for generators 2024-03-18 18:37:21 +01:00
Veronica Berglyd Olsen
239ca55ba9 Bump dev to 2.4 alpha 4 2024-03-17 18:25:50 +01:00
Veronica Berglyd Olsen
523aef38cc Add a document outline dropdown (#1764) 2024-03-17 18:19:35 +01:00
Veronica Berglyd Olsen
294bf51f8a Cap outline to 30 items 2024-03-17 18:15:02 +01:00
Veronica Berglyd Olsen
8133e374d1 Add indentation of viewer menu, and move location 2024-03-17 16:57:28 +01:00
Veronica Berglyd Olsen
6bb9ec0dc1 Simplify a few more functions 2024-03-17 16:10:27 +01:00
Veronica Berglyd Olsen
c26cfd5372 Use a signal to handle new note creation 2024-03-17 15:51:16 +01:00
Veronica Berglyd Olsen
8afe3ed039 Let the shared class handle focus mode change to disconnect editor header from main GUI 2024-03-17 15:21:42 +01:00
Veronica Berglyd Olsen
b156eee209 Clean up signals and passing variables 2024-03-17 15:02:42 +01:00
Veronica Berglyd Olsen
add499af89 Add outline navigation to viewer 2024-03-17 14:04:11 +01:00
Veronica Berglyd Olsen
ca3337914c Complete the editor outline feature and update tests 2024-03-17 13:04:54 +01:00
Veronica Berglyd Olsen
5453d2ada1 Add document outline generator for editor 2024-03-17 12:26:25 +01:00
Veronica Berglyd Olsen
c3aa8fec56 Merge branch 'main' into dev 2024-03-17 11:56:34 +01:00
Veronica Berglyd Olsen
cfcf05fdad Release 2.3.1 (#1762) 2024-03-17 11:13:04 +01:00
Veronica Berglyd Olsen
423bde0c03 Bump version to 2.3.1 and update release notes 2024-03-17 11:00:37 +01:00
Veronica Berglyd Olsen
c254581a3f Prepare for release 2.3.1 (#1760) 2024-03-17 10:48:07 +01:00
Veronica Berglyd Olsen
ca27dc65b7 Update translation files, and complete French, Dutch and Spanish 2024-03-17 10:44:40 +01:00
Veronica Berglyd Olsen
cdb84851b2 Revert "Simplify the ODT header format" (#1758) 2024-03-17 10:42:27 +01:00
Veronica Berglyd Olsen
227c30cce3 Bump dev to 2.4 alpha 3 2024-03-15 00:00:01 +01:00
Veronica Berglyd Olsen
b1c6021545 Merge branch 'main' into dev 2024-03-14 23:55:27 +01:00
Veronica Berglyd Olsen
aed843a4f2 Add ODT first line indent (#1761) 2024-03-14 23:48:23 +01:00
Veronica Berglyd Olsen
101c595a48 Update tests 2024-03-14 23:44:56 +01:00
Veronica Berglyd Olsen
cdaae3fb46 Fix tests 2024-03-14 23:31:29 +01:00
Veronica Berglyd Olsen
0ae7694954 Add first line indent switch 2024-03-14 23:22:57 +01:00
Veronica Berglyd Olsen
f79c0b93ab Add first line indent style 2024-03-14 23:07:05 +01:00
Veronica Berglyd Olsen
439938ba58 Update Italian and Japanese translations 2024-03-14 22:11:56 +01:00
Veronica Berglyd Olsen
85cb93b396 Allow hiding all headings in manuscript (#1759) 2024-03-14 22:06:29 +01:00
Veronica Berglyd Olsen
8ef5eea825 Improve paragraph skips in Markdown output 2024-03-14 22:01:44 +01:00
Veronica Berglyd Olsen
b8af6d3990 Make sure the tokenizer can handle skipping separators also when there are no other headings (#1756) 2024-03-14 22:00:53 +01:00
Veronica Berglyd Olsen
f78f59dc2a Allow hiding any header level in novels 2024-03-13 21:38:24 +01:00
Veronica Berglyd Olsen
4defc1d4a3 Simplify the ODT header format (#1758) 2024-03-13 16:34:48 +01:00
Veronica Berglyd Olsen
fb7bf6fb98 Simplify the ODT header format 2024-03-13 16:24:56 +01:00
Veronica Berglyd Olsen
c0f48b91e6 Drop separate token type for unnumbered headings and use heading 2 instead 2024-03-13 15:54:14 +01:00
Veronica Berglyd Olsen
9da99e3183 Apply hide scene/section regardless of format being filled in 2024-03-13 15:53:28 +01:00
Veronica Berglyd Olsen
beaa583bc8 Add hard scene break format (#1753) 2024-03-13 11:11:59 +01:00
Veronica Berglyd Olsen
c7e953fc24 Fix chapter numbering in refactored tokenizer and add test coverage 2024-03-13 11:08:49 +01:00
Veronica Berglyd Olsen
44a0d21b35 Merge branch 'dev' into hard_scene 2024-03-12 22:14:14 +01:00
Veronica Berglyd Olsen
70f748efac Prefer GUI locale for date format (#1755) 2024-03-12 22:12:55 +01:00
Veronica Berglyd Olsen
6e2c5be14e Allow fallback values for appearance preferences 2024-03-12 22:02:23 +01:00
Veronica Berglyd Olsen
7d9040005e Use GUI locale date formats on GUI and dialogs 2024-03-12 22:01:54 +01:00
Veronica Berglyd Olsen
dc2c6d2a0d Add local formatting of dates with fallback to system locale 2024-03-12 22:01:07 +01:00
Veronica Berglyd Olsen
370116718a Merge branch 'main' into dev 2024-03-12 21:07:10 +01:00
Veronica Berglyd Olsen
9a9b2c6d2f Fix i18n issues (#1754) 2024-03-12 21:03:28 +01:00
Veronica Berglyd Olsen
37c935d027 Update US English, Norwegian and German translations 2024-03-12 21:00:46 +01:00
Veronica Berglyd Olsen
1279834849 Improve the custom widget docstring 2024-03-12 20:54:54 +01:00
Veronica Berglyd Olsen
ea50ae3279 Add a custom box layout for the wrapped widget 2024-03-12 19:10:48 +01:00
Veronica Berglyd Olsen
f51720dbd8 Update base translation file 2024-03-12 18:48:26 +01:00
Veronica Berglyd Olsen
d090230b67 Make it optional to split string for chapter and scene count on welcome dialog (#1750) 2024-03-12 18:41:16 +01:00
Veronica Berglyd Olsen
6a3f6048c2 Fix malformed translation string (#1749) 2024-03-12 18:27:15 +01:00
Veronica Berglyd Olsen
1bd82954c2 Add menu entry and update tests 2024-03-12 18:12:47 +01:00
Veronica Berglyd Olsen
44721fc797 Update documentation 2024-03-12 17:55:13 +01:00
Veronica Berglyd Olsen
66cf7cce78 Improve test coverage 2024-03-12 17:40:11 +01:00
Veronica Berglyd Olsen
c5c9726794 Clean up heading processing in tokenizer 2024-03-12 17:28:02 +01:00
Veronica Berglyd Olsen
8f25be8cb2 Update headings settings in manuscript build tool 2024-03-12 17:27:38 +01:00
Veronica Berglyd Olsen
78958ed5cf Add hard scene break formatting 2024-03-11 23:26:16 +01:00
Veronica Berglyd Olsen
bdff3b4ee2 Add support for triple hash alt header format 2024-03-11 23:25:28 +01:00
Veronica Berglyd Olsen
459a8e5cde Bump dev branch to 2.4a2 2024-03-11 22:27:34 +01:00
Veronica Berglyd Olsen
0869f209ab Merge branch 'main' into dev 2024-03-11 22:26:15 +01:00
Veronica Berglyd Olsen
d15e4ebb17 Bump project file format revision (#1748) 2024-03-11 16:39:18 +01:00
Veronica Berglyd Olsen
d6fae17b3b Update tests 2024-03-11 16:34:50 +01:00
Veronica Berglyd Olsen
dd82c935e5 Set new revision number 2024-03-11 16:34:44 +01:00
Veronica Berglyd Olsen
bc414246d2 Update file format spec 2024-03-11 16:34:05 +01:00
Veronica Berglyd Olsen
27ea697b90 Fix i18n issues (#1744) 2024-03-11 08:48:49 +01:00
Veronica Berglyd Olsen
f38f25f65a Update translation files 2024-03-10 16:20:54 +01:00
Veronica Berglyd Olsen
3edb76abbf Fix missing translation in Project Word List 2024-03-10 14:52:10 +01:00
Veronica Berglyd Olsen
91c6e13cbc Merge branch 'main' into dev 2024-03-10 14:09:51 +01:00
Veronica Berglyd Olsen
a5064d6237 Release 2.3 (#1742) 2024-03-10 12:41:19 +01:00
Veronica Berglyd Olsen
483a9aedfd Bump version and update changelog 2024-03-10 12:01:50 +01:00
Veronica Berglyd Olsen
98f94efbdd Update i18n (#1741) 2024-03-10 11:28:45 +01:00
Veronica Berglyd Olsen
3335c08a42 Merge branch 'main' into update_i18n 2024-03-10 11:26:38 +01:00
Veronica Berglyd Olsen
c6aa6d575d Improve GUI text (#1727) 2024-03-09 21:01:08 +01:00
Veronica Berglyd Olsen
013e94afc9 Update documentation (#1703) 2024-03-09 21:00:42 +01:00
Veronica Berglyd Olsen
7829c894ff Add the new additional section 2024-03-09 20:58:43 +01:00
Veronica Berglyd Olsen
924bf67bfb Update the project section 2024-03-09 20:56:44 +01:00
Veronica Berglyd Olsen
7aea468103 Update the usage section 2024-03-09 19:59:12 +01:00
Veronica Berglyd Olsen
9336410180 Update the introduction section 2024-03-09 18:33:37 +01:00
Veronica Berglyd Olsen
22162d3915 Merge branch 'main' into update_docs 2024-03-09 17:39:05 +01:00
Veronica Berglyd Olsen
edf4256648 Refresh translation files 2024-03-09 17:25:55 +01:00
Veronica Berglyd Olsen
29f9ea2a55 Update German and Spanish translations 2024-03-09 17:25:41 +01:00
Veronica Berglyd Olsen
8d614c2aeb Improve Open Project error handling (#1740) 2024-03-09 12:50:48 +01:00
Veronica Berglyd Olsen
604df85e62 Open welcome dialog again if no project was opened 2024-03-09 12:39:11 +01:00
Veronica Berglyd Olsen
075a9bf850 Be a bit more precise on open project errors (#1737) 2024-03-09 12:12:19 +01:00
Veronica Berglyd Olsen
02f20b7a4f Add more syntax themes (#1738) 2024-03-09 11:52:44 +01:00
Veronica Berglyd Olsen
5df369a831 Add Tango syntax colour theme 2024-03-09 11:49:06 +01:00
Veronica Berglyd Olsen
ead1740f83 Update test 2024-03-09 10:44:24 +01:00
Veronica Berglyd Olsen
791eebe8a6 Add custom sorting function so that default themes come first 2024-03-09 10:36:59 +01:00
Veronica Berglyd Olsen
5178c41e54 Add cyberpunk night theme by @alemvigh (#1730) 2024-03-09 10:17:22 +01:00
Veronica Berglyd Olsen
4c55bfe49f Remove the cli entry in setup.cfg (#1734) 2024-03-07 16:18:03 +01:00
Veronica Berglyd Olsen
7137494740 Remove the novelwriter-cli entry point (#1732) 2024-03-07 16:12:38 +01:00
Veronica Berglyd Olsen
569cb68cca Merge branch 'dev' into gui_text 2024-03-03 21:45:03 +01:00
Veronica Berglyd Olsen
fcd94326ef Merge branch 'main' into dev 2024-03-03 21:44:38 +01:00
Veronica Berglyd Olsen
a3bd0d38a4 Fix Trash and Delete entries for multi-select (#1728) 2024-03-03 21:30:59 +01:00
Veronica Berglyd Olsen
925d9fd5ad Update translations 2024-03-03 21:25:49 +01:00
Veronica Berglyd Olsen
d12e626bc4 Update tests 2024-03-03 21:17:18 +01:00
Veronica Berglyd Olsen
c182cc4383 Fix move to trash and permanently delete for multi select menu 2024-03-03 21:16:46 +01:00
Veronica Berglyd Olsen
ee97dce900 Change "Convert Quotes" text in format menu 2024-03-03 20:39:17 +01:00
Veronica Berglyd Olsen
72ba4ae74d Use "Duplicate" for both context menu types in project tree 2024-03-03 20:37:44 +01:00
Veronica Berglyd Olsen
58a7dc0a5a Use "heading" consistently on the UI 2024-03-03 20:28:36 +01:00
Veronica Berglyd Olsen
7799e9f253 Improve editor stats handling and test coverage (#1725) 2024-03-03 17:20:00 +01:00
Veronica Berglyd Olsen
d97ce592f8 Improve test coverage of editor search 2024-03-03 17:14:46 +01:00
Veronica Berglyd Olsen
8859fc7b6b Improve test coverage 2024-03-03 16:31:02 +01:00
Veronica Berglyd Olsen
57b3aa2032 Improve handling of title in doc headers 2024-03-03 16:30:48 +01:00
Veronica Berglyd Olsen
79513bcbe5 Improve the word counter logic of the editor 2024-03-03 15:39:08 +01:00
Veronica Berglyd Olsen
ef9e84f2ce Clean up the line counter logic in the editor 2024-03-03 15:00:12 +01:00
Veronica Berglyd Olsen
9270550364 Clean up some string formatting 2024-03-02 18:47:28 +01:00
Veronica Berglyd Olsen
2af1d60480 Remove redundant if statement in tokenizer class 2024-03-02 18:32:19 +01:00
Veronica Berglyd Olsen
5b5134148b Remove redundant flag in tokenizer class 2024-03-02 18:30:09 +01:00
Veronica Berglyd Olsen
210c1079cd Refactor Tokenizer class (#1724) 2024-03-02 18:27:40 +01:00
Veronica Berglyd Olsen
20c996e87e Remove colons from Manuscript GUI 2024-03-02 18:23:36 +01:00
Veronica Berglyd Olsen
37f56a34f4 Remove the header processing function and add comments to the tokenizer 2024-03-02 18:21:55 +01:00
Veronica Berglyd Olsen
24ea5f2f2b Update tests 2024-03-02 17:51:03 +01:00
Veronica Berglyd Olsen
53a4725d62 Incorporate header formatting into main tokenizer function 2024-03-02 17:50:36 +01:00
Veronica Berglyd Olsen
d932beb37d Bump dev to 2.4 alpha 1 2024-03-02 15:46:21 +01:00
Veronica Berglyd Olsen
868526e806 Add more formatting options for manuscript builds (#1723) 2024-03-02 15:42:12 +01:00
Veronica Berglyd Olsen
bce4a164b8 Add test coverage 2024-03-02 15:35:45 +01:00
Veronica Berglyd Olsen
aea4192213 Add option to ignore certain keywords in manuscript (#1132) 2024-03-02 15:24:07 +01:00
Veronica Berglyd Olsen
415d46d659 Add a specific header styles test 2024-03-02 14:46:10 +01:00
Veronica Berglyd Olsen
c6cbe4cc0d Allow titles in notes as well 2024-03-02 00:32:42 +01:00
Veronica Berglyd Olsen
82349d39b7 Fix broken tests 2024-03-02 00:19:21 +01:00
Veronica Berglyd Olsen
3e3335be39 Add additional styling for headers 2024-03-02 00:19:02 +01:00
Veronica Berglyd Olsen
44adc42fa6 Make sure manuscript preview always preserves tabs 2024-03-01 22:15:28 +01:00
Veronica Berglyd Olsen
ef1fc0943d Add a way to ignore hard line breaks in Markdown builds (#944) 2024-03-01 22:12:45 +01:00
Veronica Berglyd Olsen
bb2c2bb7fe Add preserve tabs setting to HTML builds 2024-03-01 22:09:50 +01:00
Veronica Berglyd Olsen
fa8a954bc0 Merge branch 'main' into dev 2024-03-01 12:18:16 +01:00
Veronica Berglyd Olsen
750ba36d32 Emit clear index signal when project is closed (#1720) 2024-02-29 23:10:05 +01:00
Veronica Berglyd Olsen
72b14ff08c Clean up imports 2024-02-29 23:07:22 +01:00
Veronica Berglyd Olsen
4ac050fe75 Add regression test 2024-02-29 23:06:19 +01:00
Veronica Berglyd Olsen
311b611afe Clear index when closing project (#1718) 2024-02-29 22:58:52 +01:00
Veronica Berglyd Olsen
45ab705175 Add text stats to manuscript tool (#1717) 2024-02-29 22:51:23 +01:00
Veronica Berglyd Olsen
acf8170f29 Update tests 2024-02-29 22:48:17 +01:00
Veronica Berglyd Olsen
6e57bc0fc0 Add manuscript stats panell 2024-02-29 22:41:12 +01:00
Veronica Berglyd Olsen
b3fb1db07c Add show/hide button icons 2024-02-29 22:40:36 +01:00
Veronica Berglyd Olsen
cca309d7d7 Add all words char count to tokenizer 2024-02-29 22:40:14 +01:00
Veronica Berglyd Olsen
dccc442852 Add test coverage of tokenizer stats counter 2024-02-28 19:10:05 +01:00
Veronica Berglyd Olsen
9f7fc90f2d Add documentation of counting rules 2024-02-28 18:20:20 +01:00
Veronica Berglyd Olsen
c3415ade1b Merge branch 'dev' into manuscript_stats 2024-02-28 17:12:37 +01:00
Veronica Berglyd Olsen
30bedb29d6 Merge branch 'main' into dev 2024-02-28 17:12:01 +01:00
Veronica Berglyd Olsen
37e2392237 Update i18n (#1714) 2024-02-28 17:08:49 +01:00
Veronica Berglyd Olsen
a1e6398116 Merge branch 'main' into update_i18n 2024-02-28 16:58:06 +01:00
Veronica Berglyd Olsen
b0b1c0d386 Improve i18n tests 2024-02-28 16:53:29 +01:00
Veronica Berglyd Olsen
29e83da077 Reformat statement 2024-02-28 12:35:00 +01:00
Veronica Berglyd Olsen
56ed4b88f8 Update Dutch translation 2024-02-27 19:44:38 +01:00
Veronica Berglyd Olsen
2a2b12f0a5 Add stats counting to tokenizer class 2024-02-27 19:39:58 +01:00
Veronica Berglyd Olsen
3bd67b4f1d Add body text only counter 2024-02-27 17:54:32 +01:00
Veronica Berglyd Olsen
3c4673724e Move main word counter to new module 2024-02-27 17:02:29 +01:00
Veronica Berglyd Olsen
a87a94ffeb Move highlighting CSS into the ToHtml class 2024-02-27 17:00:38 +01:00
Veronica Berglyd Olsen
f1ac1f7c21 Add highlight text shortcode (#1715) 2024-02-26 22:43:52 +01:00
Veronica Berglyd Olsen
eda054ae11 Add test coverage 2024-02-26 22:40:32 +01:00
Veronica Berglyd Olsen
5fa6c2ad99 Merge branch 'dev' into mark_text 2024-02-26 11:07:21 +01:00
Veronica Berglyd Olsen
a6647a0f4f Merge branch 'main' into dev 2024-02-26 11:07:00 +01:00
Veronica Berglyd Olsen
5f79186d10 Remove scene separator insertion after text (#1716) 2024-02-25 22:56:50 +01:00
Veronica Berglyd Olsen
87a1bb050e Update tests 2024-02-25 22:49:27 +01:00
Veronica Berglyd Olsen
de16d2d6a1 Make plain text not affect scene separator insertion 2024-02-25 22:49:12 +01:00
Veronica Berglyd Olsen
4fa21107ee Update Italian translation 2024-02-25 18:07:33 +01:00
Veronica Berglyd Olsen
fc75bdbebb Add button icon for highlighted text 2024-02-25 18:03:43 +01:00
Veronica Berglyd Olsen
ac549f75b0 Set mark colour in viewer, not in html generator 2024-02-25 17:33:04 +01:00
Veronica Berglyd Olsen
a2b2f70671 Fix broken tests 2024-02-25 17:07:52 +01:00
Veronica Berglyd Olsen
23bd5dfc41 Add a syntax theme colour entry for text highlighting 2024-02-25 16:55:17 +01:00
Veronica Berglyd Olsen
0566fc38af Update document build formats to support text highlighting 2024-02-25 16:34:24 +01:00
Veronica Berglyd Olsen
69bf6a64aa Add text highlight mark format 2024-02-25 16:18:06 +01:00
Veronica Berglyd Olsen
97371533bc Update Japanese translation, and fix line numbers in others 2024-02-25 10:51:42 +01:00
Veronica Berglyd Olsen
c3cf69cbe6 Update Norwegian and US English, and Dutch and Portuguese project translations 2024-02-24 18:22:31 +01:00
Veronica Berglyd Olsen
1353eaa460 Update base translation and fix tr string issues 2024-02-24 18:20:09 +01:00
Veronica Berglyd Olsen
3ca2c6de66 Bump version to 2.4 Alpha 0 on dev branch 2024-02-24 16:15:53 +01:00
Veronica Berglyd Olsen
4273ba5158 Release 2.3 RC 1 (#1712) 2024-02-24 16:00:49 +01:00
Veronica Berglyd Olsen
368cbdc62c Bump version and update changelog 2024-02-24 15:57:33 +01:00
Veronica Berglyd Olsen
b0614e8c25 Fix scene separators and chapter and scene counters (#1711) 2024-02-24 15:32:50 +01:00
Veronica Berglyd Olsen
6ef646acb2 Simplify the scene separator handler 2024-02-24 15:29:58 +01:00
Veronica Berglyd Olsen
6db7f049bc Add test coverage 2024-02-24 15:24:31 +01:00
Veronica Berglyd Olsen
404b102a54 Rename some variables in the tokenizer 2024-02-24 14:44:11 +01:00
Veronica Berglyd Olsen
ef84588145 Make sure scene and chapter info is properly reset on headers in the tokenizer 2024-02-24 14:29:13 +01:00
Veronica Berglyd Olsen
eb105951ac Clean up the tokenizer code a little 2024-02-24 14:28:12 +01:00
Veronica Berglyd Olsen
9f6a1b4bc0 Update design elements (#1709) 2024-02-21 17:47:29 +01:00
Veronica Berglyd Olsen
dfd4df46ce Drop the welcome dialog help text now that the language option has been dropped 2024-02-21 17:45:01 +01:00
Veronica Berglyd Olsen
3c8e3b3653 Rename buttons on welcome dialog 2024-02-21 17:39:28 +01:00
Veronica Berglyd Olsen
6500975cc3 Replace template root folder icon 2024-02-21 17:39:10 +01:00
Veronica Berglyd Olsen
2fb87c415e Fix various issues on the Welcome dialog (#1707) 2024-02-20 23:34:23 +01:00
Veronica Berglyd Olsen
996f48a85f Make some minor fixes to the welcome dialog source 2024-02-20 23:31:18 +01:00
Veronica Berglyd Olsen
1c91ba6fd9 Fix welcome dialog tests 2024-02-20 23:21:02 +01:00
Veronica Berglyd Olsen
10764a2041 Block overwriting when creating sample project 2024-02-20 23:20:49 +01:00
Veronica Berglyd Olsen
576c13d045 Redesign button row on welcome dialog 2024-02-20 23:10:08 +01:00
Veronica Berglyd Olsen
f0e86dad10 Drop language setting on new project form 2024-02-20 23:07:32 +01:00
Veronica Berglyd Olsen
4bf82e4df7 Hide unused controls on new project form 2024-02-20 23:03:57 +01:00
Veronica Berglyd Olsen
eab8bb2351 Block welcome dialog open button when project list is not visible 2024-02-20 12:48:14 +01:00
Veronica Berglyd Olsen
02d805122f Fix typo 2024-02-18 21:14:45 +01:00
Veronica Berglyd Olsen
595fd01863 Fix some typos on the tags and references docs 2024-02-18 18:24:48 +01:00
Veronica Berglyd Olsen
7b8b303886 Use markdown formatting on example text in docs 2024-02-16 21:58:11 +01:00
Veronica Berglyd Olsen
8b701f8651 Post release fixes for 2.3b1 (#1700) 2024-02-16 21:07:11 +01:00
Veronica Berglyd Olsen
e6071e613b Update windows package installer 2024-02-16 21:01:30 +01:00
Veronica Berglyd Olsen
75de1a1888 Release 2.3 Beta 1 (#1698) 2024-02-16 18:39:14 +01:00
Veronica Berglyd Olsen
f25c172705 Bump version to 2.3b1 and update changelog 2024-02-15 22:56:19 +01:00
Veronica Berglyd Olsen
b741b21db8 Add CSV export for Outline View (#1697) 2024-02-15 22:07:32 +01:00
Veronica Berglyd Olsen
a350d38d4e Fix CSV newlines on Windows 2024-02-15 22:04:16 +01:00
Veronica Berglyd Olsen
2e55d28a10 Improve the test file compare function 2024-02-15 21:46:35 +01:00
Veronica Berglyd Olsen
76864f2a2f Update test coverage 2024-02-15 21:34:19 +01:00
Veronica Berglyd Olsen
25b6d1c001 Add CSV export to outline 2024-02-15 21:09:41 +01:00
Veronica Berglyd Olsen
1a635f60a9 Rewrite checking for updates (#1696) 2024-02-14 23:35:32 +01:00
Veronica Berglyd Olsen
c6524d02ea Delete the old updates dialog 2024-02-14 23:22:43 +01:00
Veronica Berglyd Olsen
ed7dde2aaa Add test coverage 2024-02-14 23:19:25 +01:00
Veronica Berglyd Olsen
5917c9da08 Change version checker to use regular GitHub API 2024-02-14 21:46:10 +01:00
Veronica Berglyd Olsen
3a1f77b8f8 Make the new version lookup run in the background 2024-02-14 18:55:01 +01:00
Veronica Berglyd Olsen
bdf100e608 Add more subtle link colours to themes 2024-02-14 18:32:28 +01:00
Veronica Berglyd Olsen
f8d57539d4 Add a version info widget 2024-02-14 18:32:09 +01:00
Veronica Berglyd Olsen
453a228182 Simplify the About dialog (#1695) 2024-02-13 18:26:42 +01:00
Veronica Berglyd Olsen
ea14f06245 Update credits 2024-02-13 18:15:27 +01:00
Veronica Berglyd Olsen
5e9d96788e Update tests 2024-02-13 18:10:24 +01:00
Veronica Berglyd Olsen
b793842f6d Simplify the About dialog to only show credits 2024-02-13 18:04:41 +01:00
Veronica Berglyd Olsen
827702159d Change the new release info to a simple pop-up dialog 2024-02-13 18:04:12 +01:00
Veronica Berglyd Olsen
17aae16345 Fix deprecated typing (#1694) 2024-02-13 14:10:56 +01:00
Veronica Berglyd Olsen
16d2f1cc2a Fix new linting errors 2024-02-13 14:06:32 +01:00
Veronica Berglyd Olsen
e778d05ee3 Add PEP585 checks to linting checks 2024-02-13 14:06:22 +01:00
Veronica Berglyd Olsen
fb92c6c333 Add formatter helper for file extensions filters (#1693) 2024-02-11 21:08:08 +01:00
Veronica Berglyd Olsen
701fe29de9 Add the file filter function where needed 2024-02-11 20:59:29 +01:00
Veronica Berglyd Olsen
642b5e3681 Add a formatting function for file extension filters for file dialogs 2024-02-11 20:57:27 +01:00
Veronica Berglyd Olsen
81a9d51986 Add context menu option to rename item to first heading (#1692) 2024-02-11 20:05:01 +01:00
Veronica Berglyd Olsen
e6efd15b9a Update test 2024-02-11 19:58:51 +01:00
Veronica Berglyd Olsen
f883de6e03 Add context menu option to rename item to header text 2024-02-11 19:56:46 +01:00
Veronica Berglyd Olsen
dc661b7a70 Add import and export to project word list (#1691) 2024-02-11 19:37:35 +01:00
Veronica Berglyd Olsen
edfb4e60c6 Use the same header label style as on other dialogs 2024-02-11 19:15:18 +01:00
Veronica Berglyd Olsen
e185f87875 Add test coverage 2024-02-11 19:09:40 +01:00
Veronica Berglyd Olsen
ce3a8f56c8 Add import icon 2024-02-11 18:55:27 +01:00
Veronica Berglyd Olsen
23b7baf62c Add import and export feature to word list 2024-02-11 00:52:20 +01:00
Veronica Berglyd Olsen
56cb545fab Bump version to 2.3 Alpha 5 2024-02-10 18:42:27 +01:00
Veronica Berglyd Olsen
71c4d7aa94 Update welcome dialog (#1689) 2024-02-10 18:39:36 +01:00
Veronica Berglyd Olsen
c8b1a10f26 Merge branch 'dev' into update_welcome 2024-02-10 18:37:45 +01:00
Veronica Berglyd Olsen
e9e4788602 Add an ignore text format and allow multi-paragraph formatting (#1690) 2024-02-10 18:31:48 +01:00
Veronica Berglyd Olsen
2f20266602 Use regular block format function for single block 2024-02-10 18:26:18 +01:00
Veronica Berglyd Olsen
1c3b252b6b Add test coverage of multi-block formatting 2024-02-10 18:22:21 +01:00
Veronica Berglyd Olsen
bc2f91e54f Allow comment, ignore and clear formatting to be applied to all selected text 2024-02-10 18:20:51 +01:00
Veronica Berglyd Olsen
8a41748173 Refactor block formatting to support multi-block selections 2024-02-10 16:43:12 +01:00
Veronica Berglyd Olsen
c3e6b4e10a Update tests 2024-02-10 15:49:49 +01:00
Veronica Berglyd Olsen
9c1bdef9ad Add block format that completely ignores a line of text in the tokenizer 2024-02-10 15:40:30 +01:00
Veronica Berglyd Olsen
fe22949cb4 Add an indicator for missing project paths in welcome dialog 2024-02-10 12:20:38 +01:00
Veronica Berglyd Olsen
a9bda1deed Update welcome dialog illustration 2024-02-10 00:03:08 +01:00
Veronica Berglyd Olsen
492dd58068 Change the scaling and margins of the welcome dialog 2024-02-09 23:26:53 +01:00
Veronica Berglyd Olsen
186cead603 Remove the width setting from the switch widget 2024-02-09 23:26:26 +01:00
Veronica Berglyd Olsen
467772c489 Add file template feature (#1688) 2024-02-08 23:17:18 +01:00
Veronica Berglyd Olsen
8ff292fec8 Add test coverage of template feature 2024-02-08 23:10:20 +01:00
Veronica Berglyd Olsen
4113be7a4c Allow filtering templates by setting them to inactive 2024-02-08 22:12:05 +01:00
Veronica Berglyd Olsen
0aaf42de21 Connect the bits for the file template feature 2024-02-08 21:49:07 +01:00
Veronica Berglyd Olsen
d9a5db5884 Add file copy feature to project class 2024-02-08 21:37:53 +01:00
Veronica Berglyd Olsen
fe8a112328 Add a custom templates menu to project tree add items 2024-02-08 00:06:01 +01:00
Veronica Berglyd Olsen
bbb23b4bc9 Fix some widgets without parent, and update template file record keeping 2024-02-07 20:37:53 +01:00
Veronica Berglyd Olsen
c420d8ae38 Add template icon 2024-02-07 20:36:39 +01:00
Veronica Berglyd Olsen
e78545fcdb Don't highlight tags in inactive files 2024-02-03 17:00:27 +01:00
Veronica Berglyd Olsen
0a1c5b20ed Merge branch 'dev' into doc_templates 2024-02-03 16:38:09 +01:00
Veronica Berglyd Olsen
321e57a3b7 Add creating new project from zipped existing project (#1684) 2024-02-03 15:40:06 +01:00
Veronica Berglyd Olsen
4d016c3b75 Clean up top level window access and add coverage to shared data class 2024-02-03 15:34:33 +01:00
Veronica Berglyd Olsen
d5064a8333 Add test for new project creation path 2024-02-03 15:34:08 +01:00
Veronica Berglyd Olsen
a11657c145 Allow creating new project from zip archive 2024-02-03 14:54:01 +01:00
Veronica Berglyd Olsen
64889ac5d8 Add a templates root folder 2024-02-02 20:40:57 +01:00
Veronica Berglyd Olsen
8af720cbd6 Improvements functionality of various dialogs (#1681) 2024-02-01 23:43:57 +01:00
Veronica Berglyd Olsen
68a6390868 Add test coverage of modified widgets 2024-02-01 23:35:30 +01:00
Veronica Berglyd Olsen
a8f61f2b98 Add modified combo and spinboxes that don't scroll on mouse wheel 2024-02-01 23:35:14 +01:00
Veronica Berglyd Olsen
c866491910 Remove test lines that sometimes fail, as they cover no additional code 2024-02-01 22:22:22 +01:00
Veronica Berglyd Olsen
c1a14e7aa5 Fix test 2024-02-01 21:28:20 +01:00
Veronica Berglyd Olsen
27fa356846 Make the closing + opening of projects from welcome screen a little smoother 2024-02-01 21:22:12 +01:00
Veronica Berglyd Olsen
54f36d4e8e Improve item auto-select on welcome dialog 2024-02-01 20:49:06 +01:00
Veronica Berglyd Olsen
3b9ef47e0f Make some minor improvements to custom widget highlighting 2024-02-01 20:34:42 +01:00
Veronica Berglyd Olsen
d504c0a7ec Allow creating project from other projects (#1680) 2024-02-01 00:24:16 +01:00
Veronica Berglyd Olsen
58fa3e64ec Add test coverage 2024-02-01 00:15:39 +01:00
Veronica Berglyd Olsen
b0f1db0aea Add copy project feature to project builder class 2024-01-31 23:56:09 +01:00
Veronica Berglyd Olsen
90dda43205 Bump dev version to 2.3 Alpha 4 2024-01-31 22:03:26 +01:00
Veronica Berglyd Olsen
d20af1283c Allow inserting characters in manuscript headers (#1677) 2024-01-31 20:36:25 +01:00
Veronica Berglyd Olsen
2cd6cc299e Merge branch 'dev' into chars_in_build_alt2 2024-01-31 20:25:55 +01:00
Veronica Berglyd Olsen
a227c58d55 Add a 'Create New' menu for documents in project tree context menu (#1679) 2024-01-31 20:23:34 +01:00
Veronica Berglyd Olsen
d23fdf28ad Fix test, again ... 2024-01-31 20:18:17 +01:00
Veronica Berglyd Olsen
9803dc16fd Fix a couple of minor issues with project tree context menu 2024-01-31 20:10:53 +01:00
Veronica Berglyd Olsen
7fcc9a3928 Update test 2024-01-31 20:05:16 +01:00
Veronica Berglyd Olsen
ec7f50b566 Add a 'Create New' submenu to project tree context menu (#1519) 2024-01-31 20:05:10 +01:00
Veronica Berglyd Olsen
76ab9c3908 Change tokenizer parsed data to always use a list for format, even when empty 2024-01-30 23:25:11 +01:00
Veronica Berglyd Olsen
e6193ed858 Update tags documentation 2024-01-30 23:01:12 +01:00
Veronica Berglyd Olsen
5b4ccad19b Improve test coverage 2024-01-30 22:37:43 +01:00
Veronica Berglyd Olsen
e1531009d3 Update Lipsum test project 2024-01-30 22:10:25 +01:00
Veronica Berglyd Olsen
ca188fee08 Implement alternative tag display name format 2024-01-30 21:34:36 +01:00
Veronica Berglyd Olsen
c5edbbfaf6 Improve type checking in common module, and delete unused function 2024-01-30 21:13:38 +01:00
Veronica Berglyd Olsen
f15563cf6e Revert parts of previous implementation 2024-01-30 21:00:04 +01:00
Veronica Berglyd Olsen
e5c6dae080 Fix tests and tag index validation (uncommited changes from yesterday) 2024-01-30 10:42:07 +01:00
Veronica Berglyd Olsen
6952211607 Update docs 2024-01-29 17:47:37 +01:00
Veronica Berglyd Olsen
b396cff9a7 Add a display name filed to index, and improve handling of it 2024-01-29 17:47:30 +01:00
Veronica Berglyd Olsen
ca7ae6b666 Add a syntax colour for optional values 2024-01-29 17:45:53 +01:00
Veronica Berglyd Olsen
cbf5f1ead3 Add POV or Focus char field to manuscript header format 2024-01-29 17:32:43 +01:00
Veronica Berglyd Olsen
a48a4e5674 Add customisation option for ODT build document header (#1675) 2024-01-28 15:58:06 +01:00
Veronica Berglyd Olsen
1ec0bff159 Add page offset option to ODT build (#1505) 2024-01-28 15:52:38 +01:00
Veronica Berglyd Olsen
116409bb8d Sort imports 2024-01-28 15:29:05 +01:00
Veronica Berglyd Olsen
0e41a48ad1 Update tests 2024-01-28 15:25:12 +01:00
Veronica Berglyd Olsen
f732d13807 Add build setting for customising ODT page header (#1505) 2024-01-28 15:15:03 +01:00
Veronica Berglyd Olsen
8e4e6903b1 Clean up variables and formatting 2024-01-28 00:28:01 +01:00
Veronica Berglyd Olsen
97b791511f Bump dev version to 2.3 Alpha 3 2024-01-27 18:20:29 +01:00
Veronica Berglyd Olsen
100989030d Update build settings layout (#1674) 2024-01-27 18:16:33 +01:00
Veronica Berglyd Olsen
6c75bdecdc Update widget flow on preferences dialog 2024-01-27 18:06:41 +01:00
Veronica Berglyd Olsen
51314804bf Update remaining build settings pages and delete old config layouts 2024-01-27 18:06:08 +01:00
Veronica Berglyd Olsen
6b106599dd Merge branch 'dev' into build_settings 2024-01-27 17:07:09 +01:00
Veronica Berglyd Olsen
82d5899f2e Merge branch 'main' into dev 2024-01-27 17:04:44 +01:00
Veronica Berglyd Olsen
11c4428a8a Fix some issues after release 2.2.1 (#1672) 2024-01-27 16:42:56 +01:00
Veronica Berglyd Olsen
c0a5d257ac Fix package name issue with upload artifact version 4 2024-01-27 16:17:20 +01:00
Veronica Berglyd Olsen
6a30ce5fe3 Update artifacts download action 2024-01-27 16:08:12 +01:00
Veronica Berglyd Olsen
3ba345acc8 Update GitHub actions 2024-01-27 16:03:34 +01:00
Veronica Berglyd Olsen
b27589d3d6 Update the help info on Launchpad packages 2024-01-27 16:03:26 +01:00
Veronica Berglyd Olsen
5979503dc8 Release 2.2.1 (#1667) 2024-01-27 15:50:19 +01:00
Veronica Berglyd Olsen
b008721bdb Update changelog and change release date 2024-01-27 15:47:02 +01:00
Veronica Berglyd Olsen
bcd1e7e245 Merge branch 'main' into release_2.2.1 2024-01-27 15:44:16 +01:00
Veronica Berglyd Olsen
d455cb714d Handle non-modal dialogs better (#1671) 2024-01-27 15:43:11 +01:00
Veronica Berglyd Olsen
9311117257 Prevent multiple non-modal dialogs of the same kind from being opened 2024-01-27 15:38:44 +01:00
Veronica Berglyd Olsen
855c525670 Redesign Build Settings tool to match other config dialogs 2024-01-27 15:22:37 +01:00
Veronica Berglyd Olsen
d113b3feb3 Drop the project .bak file (#1670) 2024-01-27 14:55:11 +01:00
Veronica Berglyd Olsen
7a2d239aaa Merge branch 'dev' into project_handling 2024-01-27 14:42:43 +01:00
Veronica Berglyd Olsen
9ae36eaa24 Update Ubuntu release targets 2024-01-27 11:23:28 +01:00
Veronica Berglyd Olsen
a76268743f Update Ubuntu releases 2024-01-26 23:18:36 +01:00
Veronica Berglyd Olsen
7d9ca66fd6 Remove Ubuntu 23.04 release 2024-01-26 23:12:47 +01:00
Veronica Berglyd Olsen
e752a97ea7 Bump dev version to 2.3 Alpha 2 2024-01-26 23:11:13 +01:00
Veronica Berglyd Olsen
ed3e513544 Drop novel title field (#1669) 2024-01-26 23:07:08 +01:00
Veronica Berglyd Olsen
d6eafccde6 Update the docstring in the project XML reader 2024-01-26 23:02:35 +01:00
Veronica Berglyd Olsen
119d572050 Update file format spec document 2024-01-26 23:00:36 +01:00
Veronica Berglyd Olsen
7a1fab0c0a Update test reference files 2024-01-26 22:57:25 +01:00
Veronica Berglyd Olsen
de6fd65664 Update sample project and tests 2024-01-26 22:45:28 +01:00
Veronica Berglyd Olsen
838a2a8062 Drop the Novel Title data from the project and code 2024-01-26 22:45:12 +01:00
Veronica Berglyd Olsen
e03305d601 Update Project Settings dialog (#1668) 2024-01-26 22:40:04 +01:00
Veronica Berglyd Olsen
4c5f68242a Remove unused code in old config layout classes 2024-01-26 22:32:39 +01:00
Veronica Berglyd Olsen
40a8d728bb Update project settings tests 2024-01-26 22:32:20 +01:00
Veronica Berglyd Olsen
a7a2eaff55 Delete the old config dialog base class 2024-01-26 21:36:05 +01:00
Veronica Berglyd Olsen
3761b1729f Make the style of config dialogs consistent 2024-01-26 21:31:14 +01:00
Veronica Berglyd Olsen
0dc4719400 Fix log formatting for longer file names 2024-01-26 19:51:54 +01:00
Veronica Berglyd Olsen
c6ee6746a2 Make layout improvements to Project Settings 2024-01-26 19:51:31 +01:00
Veronica Berglyd Olsen
ee21045ee2 Update the design on the Project Settings dialog 2024-01-26 19:50:17 +01:00
Veronica Berglyd Olsen
5abb8d566a Bump version and update changelog and release notes 2024-01-25 23:45:02 +01:00
Veronica Berglyd Olsen
2772c9bf0b Update i18n (#1666) 2024-01-25 23:31:38 +01:00
Veronica Berglyd Olsen
883ef3457b Update German and Chinese translations 2024-01-25 23:27:11 +01:00
Veronica Berglyd Olsen
a10fff92e7 Fix focus switch bug in project tree (#1649) 2024-01-25 23:22:44 +01:00
Veronica Berglyd Olsen
df4993c38e Drop outdated info in docstring 2024-01-25 23:20:47 +01:00
Veronica Berglyd Olsen
d73763b1f7 Redesign Project Details dialog (#1665) 2024-01-25 23:10:54 +01:00
Veronica Berglyd Olsen
10012054be Remove some unused code 2024-01-25 23:07:10 +01:00
Veronica Berglyd Olsen
b6c9f1160f Add test coverage 2024-01-25 22:59:22 +01:00
Veronica Berglyd Olsen
483528b3b2 Modify some of the custom widgets after writing tests 2024-01-25 22:59:06 +01:00
Veronica Berglyd Olsen
4ef40f2c4d Remove old project details dialog 2024-01-25 21:30:53 +01:00
Veronica Berglyd Olsen
23713bb791 Add table of contents code to novel details panel 2024-01-25 21:25:43 +01:00
Veronica Berglyd Olsen
6b53a2665e Merge branch 'main' into fixes 2024-01-25 12:09:22 +01:00
Veronica Berglyd Olsen
6f5cbea95f Fix typo in documentation (#1664) 2024-01-25 12:07:07 +01:00
Reproog
09855730d7 Replace Misspelling 'Gustom' -> 'Custom' in File 'docs/source/int_customise.rst' 2024-01-25 12:02:00 +01:00
Veronica Berglyd Olsen
6622a7e8e0 Begin to add content to the novel details overview page 2024-01-24 19:26:48 +01:00
Veronica Berglyd Olsen
cc4d92f0f7 Improve novel selector widget and add to novel details dialog 2024-01-24 17:05:14 +01:00
Veronica Berglyd Olsen
a14e544e78 Merge branch 'dev' into project_details 2024-01-23 22:29:46 +01:00
Veronica Berglyd Olsen
269fa700b0 Change in-app version format and .deb package names (#1659) 2024-01-23 22:28:28 +01:00
Veronica Berglyd Olsen
bd45619e2f Modify Debian and Ubuntu packaging version format, and remove snapshots 2024-01-23 21:49:28 +01:00
Veronica Berglyd Olsen
97384ee4bd Update tests and clean up packaging util 2024-01-23 20:48:39 +01:00
Veronica Berglyd Olsen
415f1a1d1a Update build scripts to handle new version format 2024-01-23 19:57:27 +01:00
Veronica Berglyd Olsen
b33a3b480d Use short version format for app version 2024-01-23 19:54:19 +01:00
Veronica Berglyd Olsen
9f2c5379b7 Generalise the custom help label widget 2024-01-22 23:55:37 +01:00
Veronica Berglyd Olsen
f35722ab35 Merge branch 'dev' into project_details 2024-01-19 16:58:57 +01:00
Veronica Berglyd Olsen
8a8a218e6b Convert theme colours to Qt objects (#1656) 2024-01-19 16:58:12 +01:00
Veronica Berglyd Olsen
fe0098ebbc Update colour parsing tests 2024-01-19 16:51:27 +01:00
Veronica Berglyd Olsen
ca02bbf20d Fix slots order 2024-01-19 16:35:49 +01:00
Veronica Berglyd Olsen
e10140b1cd Fix spelling colour in highlighter and make a few improvements 2024-01-19 16:34:57 +01:00
Veronica Berglyd Olsen
b92112e933 Update tests 2024-01-19 16:13:29 +01:00
Veronica Berglyd Olsen
82c63723a4 Make all theme colours actual QColor objects 2024-01-19 16:13:12 +01:00
Veronica Berglyd Olsen
ce2ac9b1a1 Add a novel info dialog 2024-01-18 23:34:27 +01:00
Veronica Berglyd Olsen
97ea3ebc16 Drop the XML backup file 2024-01-16 16:14:10 +01:00
Veronica Berglyd Olsen
ae7c19f923 Add inactive tags filter to viewer panel (#1654) 2024-01-15 16:05:58 +01:00
Veronica Berglyd Olsen
3135bee47d Changes the option text 2024-01-15 16:02:02 +01:00
Veronica Berglyd Olsen
c15ffb0813 Update test coverage 2024-01-15 15:59:46 +01:00
Veronica Berglyd Olsen
a2a62f8b26 Allow hiding inactive tags in document viewer panel 2024-01-15 15:50:19 +01:00
Veronica Berglyd Olsen
ca4aa75880 Rename outdated function parameter in index class 2024-01-15 15:48:45 +01:00
Veronica Berglyd Olsen
427a910ec0 Remove redundant constant in preferences dialog 2024-01-13 18:59:48 +01:00
Veronica Berglyd Olsen
beb01d572f Rewrite Preferences dialog (#1652) 2024-01-13 18:44:36 +01:00
Veronica Berglyd Olsen
16461279cf Remove dependency of i18n files in preferences test 2024-01-13 18:38:34 +01:00
Veronica Berglyd Olsen
f40722d196 Merge branch 'dev' into preferences 2024-01-13 18:33:06 +01:00
Veronica Berglyd Olsen
34eb39e10d Add new test for preferences dialog 2024-01-13 18:29:21 +01:00
Veronica Berglyd Olsen
2cb772847e Update tests 2024-01-13 18:29:06 +01:00
Veronica Berglyd Olsen
7b5b82136f Update preferences dialog and quotes selection dialog 2024-01-13 18:28:41 +01:00
Veronica Berglyd Olsen
fa9d0f3503 Clean up docstrings in conftest 2024-01-11 09:23:05 +01:00
Veronica Berglyd Olsen
4afbd98d6f Add icons to preferences buttons 2024-01-11 09:17:46 +01:00
Veronica Berglyd Olsen
944e2455d5 Fix a bug with editor init on preferences update 2024-01-08 22:13:33 +01:00
Veronica Berglyd Olsen
2504965f8d Add more spacing in preferences layout 2024-01-08 22:06:04 +01:00
Veronica Berglyd Olsen
34fcbdd350 Fix a couple of bugs on the preference dialog 2024-01-08 21:48:51 +01:00
Veronica Berglyd Olsen
671d7130e1 Add search bar to preferences 2024-01-08 21:08:33 +01:00
Veronica Berglyd Olsen
1fbd50334d Complete the rewrite of the Preferences dialog 2024-01-08 20:49:40 +01:00
Veronica Berglyd Olsen
1ed3cea414 Simplify the custom switch widget 2024-01-08 19:14:36 +01:00
Veronica Berglyd Olsen
978a8145a8 Drop the setting to change word count interval 2024-01-08 19:13:58 +01:00
Veronica Berglyd Olsen
1482451e87 Create a scrollable config layout and start adding it to preferences 2024-01-08 19:12:39 +01:00
Veronica Berglyd Olsen
5c99e2186a Merge branch 'main' into dev 2024-01-05 00:27:32 +01:00
Veronica Berglyd Olsen
df690ceb36 Happy New Year 2024 2024-01-05 00:25:07 +01:00
Veronica Berglyd Olsen
10435945db Add a welcome dialog (#1647) 2023-12-31 17:01:18 +01:00
Veronica Berglyd Olsen
df95cd85e8 Add support for dark theme welcome window 2023-12-30 17:23:43 +01:00
Veronica Berglyd Olsen
05e9729c22 Add coverage of some missed lines 2023-12-30 16:52:24 +01:00
Veronica Berglyd Olsen
bc17305c4f Add tests for the welcome window 2023-12-30 16:33:03 +01:00
Veronica Berglyd Olsen
c3ea32a165 Add back in focus switch to ensure #1376 remains resolved 2023-12-30 00:01:12 +01:00
Veronica Berglyd Olsen
9660d82f9b Remove focus switch after creating new tree item (#1648) 2023-12-29 23:53:32 +01:00
Veronica Berglyd Olsen
7feb3ec2f9 Update project builder tests 2023-12-29 14:50:28 +01:00
Veronica Berglyd Olsen
25686e46a8 Fix broken tests 2023-12-29 14:12:46 +01:00
Veronica Berglyd Olsen
53228faaa3 Add a way to delete entries in the recent projects list 2023-12-29 13:41:10 +01:00
Veronica Berglyd Olsen
bbabc41ac2 Remove old open project dialog 2023-12-29 12:16:52 +01:00
Veronica Berglyd Olsen
18b3edbf87 Complete project list and open and browse buttons on welcome dialog 2023-12-28 23:11:11 +01:00
Veronica Berglyd Olsen
63fd7bf06a Add custom painting of project items in the project list 2023-12-22 20:26:34 +01:00
Veronica Berglyd Olsen
ba538920aa Fix sample project creation 2023-12-20 22:20:04 +01:00
Veronica Berglyd Olsen
8b6691c056 Remove the old project wizard 2023-12-20 22:00:52 +01:00
Veronica Berglyd Olsen
41b7495a06 Complete the create new project code path 2023-12-20 21:52:57 +01:00
Veronica Berglyd Olsen
a71d0d8cfe Add project fill options to new project page on welcome dialog 2023-12-20 20:21:51 +01:00
Veronica Berglyd Olsen
956abf3e8e Add project fill box 2023-12-19 20:26:40 +01:00
Veronica Berglyd Olsen
054d4f965e Added most of new project form 2023-12-19 19:31:30 +01:00
Veronica Berglyd Olsen
f26b405f42 Add new project page to welcome dialog 2023-12-19 17:30:11 +01:00
Veronica Berglyd Olsen
8a61d57ce4 Update title on welcome dialog 2023-12-19 17:29:33 +01:00
Veronica Berglyd Olsen
818fa2bf11 Merge branch 'dev' into welcome_window 2023-12-17 18:08:35 +01:00
Veronica Berglyd Olsen
856c14ce76 Bump dev branch to 2.3 alpha 1 2023-12-17 17:49:17 +01:00
Veronica Berglyd Olsen
f9089fd506 Merge branch 'main' into dev 2023-12-17 17:47:00 +01:00
Veronica Berglyd Olsen
b6282772ae Release 2.2 (#1641) 2023-12-17 17:00:05 +01:00
Veronica Berglyd Olsen
bfecebc047 Update release notes 2023-12-17 16:56:43 +01:00
Veronica Berglyd Olsen
904f954d4d Add framework for welcome dialog 2023-12-17 15:14:56 +01:00
Veronica Berglyd Olsen
186737a170 Update file history info 2023-12-13 22:07:53 +01:00
Veronica Berglyd Olsen
f32383ea99 Update changelog 2023-12-13 21:25:26 +01:00
Veronica Berglyd Olsen
4097949c44 Update translations 2023-12-13 21:24:50 +01:00
Veronica Berglyd Olsen
10feafeab4 Bump version for release 2.2 2023-12-10 22:21:25 +01:00
Veronica Berglyd Olsen
399a867836 Update docs with 2.2 features (#1640) 2023-12-10 22:18:03 +01:00
Veronica Berglyd Olsen
6f3702f2df Update docs organising section 2023-12-10 22:12:59 +01:00
Veronica Berglyd Olsen
7dc9e65f68 Update docs using novelWriter section 2023-12-10 21:53:04 +01:00
Veronica Berglyd Olsen
1740bbedbd Update docs introduction section 2023-12-10 18:39:29 +01:00
Veronica Berglyd Olsen
356ecde88a Merge branch 'main' into dev 2023-12-04 10:46:58 +01:00
Veronica Berglyd Olsen
8585334a51 Update buttons in viewer and editor (#1638) 2023-12-04 09:12:30 +01:00
Veronica Berglyd Olsen
553b76cafc Update en_US and nb_NO translations 2023-12-03 18:58:01 +01:00
Veronica Berglyd Olsen
c04e1035a7 Merge branch 'main' into gui_fixes 2023-12-03 18:48:26 +01:00
Veronica Berglyd Olsen
dfbb61a37e Add viewer panel importance info (#1639) 2023-12-03 18:47:09 +01:00
Veronica Berglyd Olsen
cb485c5c86 Revert deleting the view button in viewer panel, but keep the double click change 2023-12-03 18:37:47 +01:00
Veronica Berglyd Olsen
62a94850a6 Add tooltips to all entries in the viewer panel and update translation file 2023-12-03 18:24:55 +01:00
Veronica Berglyd Olsen
99c00f8b93 Update tests 2023-12-03 18:20:23 +01:00
Veronica Berglyd Olsen
cbb000a18f Drop the view column in the viewer panel 2023-12-03 18:18:00 +01:00
Veronica Berglyd Olsen
847d8ab726 Add importance column to document viewer panel (#1620) 2023-12-03 18:15:16 +01:00
Veronica Berglyd Olsen
9f1e2d322e Re-order formats menu to be consistent with toolbar 2023-12-03 17:55:12 +01:00
Veronica Berglyd Olsen
b7c657141f Update translations 2023-12-03 17:43:28 +01:00
Veronica Berglyd Olsen
023f6bed01 Update base translation file 2023-12-03 17:34:08 +01:00
Veronica Berglyd Olsen
fff6ba98bc Rename emph and strong to italic and bold for consistency and add tooltips to editor toolbar 2023-12-03 17:33:15 +01:00
Veronica Berglyd Olsen
776eedc5f2 Drop the markdown/shortcode toggle feature from editor toolbar and update icons (#1636, #1637) 2023-12-03 16:56:36 +01:00
Veronica Berglyd Olsen
f2eaaa09b6 Turn viewer footer button and label into text buttons (#1628) 2023-12-03 16:10:09 +01:00
Veronica Berglyd Olsen
ded91bc3b0 Refactor Storage class (#1635) 2023-12-01 18:22:26 +01:00
Veronica Berglyd Olsen
6d769cb512 Make some minor improvements 2023-12-01 18:18:26 +01:00
Veronica Berglyd Olsen
ecaaffb029 Update tests for project class 2023-12-01 18:02:29 +01:00
Veronica Berglyd Olsen
8952bbab1d Clean up project tests 2023-12-01 17:45:25 +01:00
Veronica Berglyd Olsen
3fe2ee3058 Update tests for storage class 2023-12-01 17:28:56 +01:00
Veronica Berglyd Olsen
f2b35d798b Make some minor corrections 2023-11-30 22:53:52 +01:00
Veronica Berglyd Olsen
d11a8ee789 Remove unneeded storage enum 2023-11-30 22:39:46 +01:00
Veronica Berglyd Olsen
5278eb7895 Update tests 2023-11-30 22:30:12 +01:00
Veronica Berglyd Olsen
4f42407c23 Rewrite project open and creation in storage class 2023-11-30 22:29:54 +01:00
Veronica Berglyd Olsen
60b0a4c901 Update extensions (#1634) 2023-11-29 22:35:02 +01:00
Veronica Berglyd Olsen
a6d346fcb6 Clean up and fix minor issues with GUI extensions 2023-11-29 22:21:56 +01:00
Veronica Berglyd Olsen
78a75d5719 Fix some minor issues (#1632) 2023-11-29 21:59:36 +01:00
Veronica Berglyd Olsen
f59317c2b5 Remove alternative apostrophe from auto select logic because it is already a letter 2023-11-29 21:55:07 +01:00
Veronica Berglyd Olsen
b203bcdcff Include apostrophes when auto selecting in editor (#1624) 2023-11-29 21:48:09 +01:00
Veronica Berglyd Olsen
a31f42b04c Clean up novel view and improve coverage 2023-11-29 21:24:07 +01:00
Veronica Berglyd Olsen
ce666d9d7a Scroll novel view when looping through documents (#1555) 2023-11-29 20:55:05 +01:00
Veronica Berglyd Olsen
ef93b41240 Clean up alert boxes and update event filters (#1631) 2023-11-29 16:12:08 +01:00
Veronica Berglyd Olsen
1118f01c91 Combine all event filters in one module, and apply the status tip filter to the sidebar as well 2023-11-29 16:05:58 +01:00
Veronica Berglyd Olsen
b526315084 Clean up some redundant code and fix annotations 2023-11-29 16:05:14 +01:00
Veronica Berglyd Olsen
1d1dae0c7e Remove caching of the alert object in the shared instance 2023-11-29 16:03:48 +01:00
Veronica Berglyd Olsen
1edfcfcd91 Add debug comment 2023-11-29 08:10:16 +01:00
Veronica Berglyd Olsen
82e9fb0c44 Fix minor optimisation issue 2023-11-29 08:06:56 +01:00
Veronica Berglyd Olsen
1b8d424b27 Filter menu status tips (#1630) 2023-11-29 00:05:06 +01:00
Veronica Berglyd Olsen
4ab2b04e6b Add an event filter to remove status tip updates 2023-11-28 23:57:41 +01:00
Veronica Berglyd Olsen
d291995c0e Add deleteLater to temporary widgets (#1629) 2023-11-28 23:27:36 +01:00
Veronica Berglyd Olsen
54510951de Rename lipsum button 2023-11-28 23:21:35 +01:00
Veronica Berglyd Olsen
52d1d87985 Add the new flag to the command line help 2023-11-28 23:20:49 +01:00
Veronica Berglyd Olsen
62847e55f0 Rewrite how lipsum text is inserted 2023-11-28 23:14:23 +01:00
Veronica Berglyd Olsen
bf6cefa840 Update dialog handling of all dialogs 2023-11-28 22:12:30 +01:00
Veronica Berglyd Olsen
4e1fa01562 Add widget diff info to help debug memory issues 2023-11-28 17:29:34 +01:00
Veronica Berglyd Olsen
83c9fb96e9 Add memory usage debug info for status bar 2023-11-28 16:44:01 +01:00
Veronica Berglyd Olsen
ff7f27ff97 Add closeEvents to dialogs and set the deleteLater command 2023-11-28 16:29:21 +01:00
Veronica Berglyd Olsen
50a9b5b5e2 Fix some annotations and add deleteLater to non-modal dialogs 2023-11-27 21:43:13 +01:00
Veronica Berglyd Olsen
4fa20273f7 Clean up dialogs 2023-11-27 17:10:29 +01:00
Veronica Berglyd Olsen
93b36406f1 Make sure context menus are deleted after use 2023-11-27 16:30:21 +01:00
Veronica Berglyd Olsen
a0e6f9cf82 Fix various bugs and minor issues (#1626) 2023-11-27 16:17:01 +01:00
Veronica Berglyd Olsen
1f9b6d7624 Fix icons not updating on theme switch in viewer panel 2023-11-27 16:08:34 +01:00
Veronica Berglyd Olsen
ccc444f355 Fix section sizes for viewer panel (#1627) 2023-11-27 16:08:00 +01:00
Veronica Berglyd Olsen
ba0198407f Change panel label back to "References" 2023-11-27 07:42:25 +01:00
Veronica Berglyd Olsen
918b077252 Drop the space in front of Synopsis and Short comments inserts 2023-11-26 22:12:23 +01:00
Veronica Berglyd Olsen
b348ba6aff Update Main GUI launch test 2023-11-26 22:02:01 +01:00
Veronica Berglyd Olsen
e521a30612 Remove warning for alpha releases 2023-11-26 21:43:32 +01:00
Veronica Berglyd Olsen
2e2ab5ad6f Update project load dialog 2023-11-26 21:40:51 +01:00
Veronica Berglyd Olsen
47781f981f Fix wrong keyboard shortcut for Short comment insert 2023-11-26 21:40:05 +01:00
Veronica Berglyd Olsen
0676056968 Update translations (#1625) 2023-11-26 20:58:25 +01:00
Veronica Berglyd Olsen
65562ae790 Update base translation, US English, Norwegian, and Japanese 2023-11-26 16:20:14 +01:00
Veronica Berglyd Olsen
623f74019f Fix wrong PR mentioned in changelog 2023-11-26 15:09:43 +01:00
Veronica Berglyd Olsen
55e0dc3030 Release 2.2 RC1 (#1615) 2023-11-26 14:31:53 +01:00
Veronica Berglyd Olsen
9af7ff447b Update changelog 2023-11-26 14:29:53 +01:00
Veronica Berglyd Olsen
c71a5c0997 Merge branch 'dev' into release_2.2rc1 2023-11-26 14:03:05 +01:00
Veronica Berglyd Olsen
efea1a3140 Merge branch 'main' into dev 2023-11-26 14:02:11 +01:00
Veronica Berglyd Olsen
1fcae908ec Add "short description" feature, replace "summary" (#1622) 2023-11-26 14:01:49 +01:00
Veronica Berglyd Olsen
b9b4969b85 Rename once again, and use short instead for short descriptions of notes 2023-11-26 13:58:00 +01:00
Veronica Berglyd Olsen
f919149c58 Rename "brief" to "summary" (#1621) 2023-11-26 00:02:43 +01:00
Veronica Berglyd Olsen
6fd4417350 Fix variable name and test 2023-11-25 23:57:12 +01:00
Veronica Berglyd Olsen
bedd71b105 Add a summary entry to the insert menu (#1619) 2023-11-25 23:51:30 +01:00
Veronica Berglyd Olsen
53aa970427 Rename "brief" to "summary" 2023-11-25 23:42:05 +01:00
Veronica Berglyd Olsen
9fc815abe1 Add project note briefs (#1618) 2023-11-25 19:01:15 +01:00
Veronica Berglyd Olsen
b17b5d32c2 Allow double-clicking in viewer panel 2023-11-25 18:53:11 +01:00
Veronica Berglyd Olsen
05e63cb01e Make the columns in the viewer panel resizeable 2023-11-25 18:45:06 +01:00
Veronica Berglyd Olsen
519e5857d1 Add a column to viewer panel to show the brief 2023-11-25 18:23:09 +01:00
Veronica Berglyd Olsen
6a6b05c338 Update tokenizer and converters 2023-11-25 18:12:45 +01:00
Veronica Berglyd Olsen
8ed85363e2 Add test coverage and update the highlighter 2023-11-25 17:50:59 +01:00
Veronica Berglyd Olsen
887b4379b2 Add comment style processing to the index class 2023-11-25 17:50:25 +01:00
Veronica Berglyd Olsen
3a030c9acb Fix Ctrl+Del regression (#1616) 2023-11-25 16:31:37 +01:00
Veronica Berglyd Olsen
e216f80d64 Revert previous change of keyboard shortcut for item delete in tree made in #1590 2023-11-25 16:27:40 +01:00
Veronica Berglyd Olsen
74c5a66a4c Fix typos in changelog 2023-11-25 16:24:27 +01:00
Veronica Berglyd Olsen
8738bc562e Update alpha version warning, and drop the translation 2023-11-23 23:53:22 +01:00
Veronica Berglyd Olsen
c6f06866bd Bump version for 2.2 RC1 2023-11-23 20:44:47 +01:00
Veronica Berglyd Olsen
b7eede22da Add a context menu entry to set item name from heading (#1614) 2023-11-23 20:39:28 +01:00
Veronica Berglyd Olsen
e02d2b9298 Add annotations import to all test source files 2023-11-23 20:35:17 +01:00
Veronica Berglyd Olsen
de11ea389a Add test coverage of editor context menu 2023-11-23 20:25:18 +01:00
Veronica Berglyd Olsen
3f842c2fbe Add a context menu option to rename a document from any title within it 2023-11-23 19:40:17 +01:00
Veronica Berglyd Olsen
d35dfda92f Change set selection from doc header to use a signal/slot set 2023-11-23 19:04:35 +01:00
Veronica Berglyd Olsen
84eff433fb Clean up Qt enums in doc viewer 2023-11-23 18:52:42 +01:00
Veronica Berglyd Olsen
8c3c85f259 Clean up Qt enums in doc editor 2023-11-23 18:36:08 +01:00
Veronica Berglyd Olsen
39e1c54c33 Add a button to open manuscript build folder (#1613) 2023-11-23 16:55:22 +01:00
Veronica Berglyd Olsen
2998f2c363 Update tests 2023-11-23 16:45:14 +01:00
Veronica Berglyd Olsen
4bd830f0d6 Add an "Open Folder" button to build dialog (#1554) 2023-11-23 16:45:08 +01:00
Veronica Berglyd Olsen
30b4e5511a Add a common function to open file paths externally 2023-11-23 16:43:56 +01:00
Veronica Berglyd Olsen
4f9aab3c81 Add multi selection to project tree (#1612) 2023-11-22 19:00:25 +01:00
Veronica Berglyd Olsen
445414d126 Improve test coverage of project tree 2023-11-22 18:48:10 +01:00
Veronica Berglyd Olsen
62ea54e1ed Add test coverage of tree context menu class 2023-11-22 18:08:34 +01:00
Veronica Berglyd Olsen
ea0358b2ed Move project tree context menu to a separate class 2023-11-22 18:08:07 +01:00
Veronica Berglyd Olsen
d7730fb7c2 Clean up a few bits 2023-11-22 00:12:14 +01:00
Veronica Berglyd Olsen
40f6a108ed Add a multi-select context menu and handlers 2023-11-22 00:03:51 +01:00
Veronica Berglyd Olsen
33a30f3875 Remove tree undo and fix drop on root issue 2023-11-21 23:13:12 +01:00
Veronica Berglyd Olsen
f75ed33cec Add a working implementation of multi-item move 2023-11-21 22:26:10 +01:00
Veronica Berglyd Olsen
1a2bd7d640 Update Qt enums and set selection to multi select 2023-11-21 20:26:19 +01:00
Veronica Berglyd Olsen
afc04514a0 Add a tool to download spell check dictionaries (#1611) 2023-11-20 18:22:09 +01:00
Veronica Berglyd Olsen
d741a75de8 Clean up and add test coverage 2023-11-20 18:14:00 +01:00
Veronica Berglyd Olsen
71d17da483 Complete new Add Dictionaries tool 2023-11-20 17:26:12 +01:00
Veronica Berglyd Olsen
e00e64dc46 Copy changes from download_dicts branch 2023-11-20 17:24:49 +01:00
Veronica Berglyd Olsen
c585c87633 Remove two annotations in tests that block using older pytest versions 2023-11-18 21:12:09 +01:00
Veronica Berglyd Olsen
40c07973ce Disable hidden tab feature for older Qt libs 2023-11-18 21:04:35 +01:00
Veronica Berglyd Olsen
2fca22359b Improve cursor visibility features (#1608) 2023-11-18 15:59:48 +01:00
Veronica Berglyd Olsen
83187c517f Ensure cursor is visible after showing or closing the document viewer (#1302) 2023-11-18 15:56:03 +01:00
Veronica Berglyd Olsen
208b9334e1 Ensure cursor is visible after switching focus mode (#1478) 2023-11-18 15:43:51 +01:00
Veronica Berglyd Olsen
17fc370609 Fix some typos 2023-11-18 14:14:10 +01:00
Veronica Berglyd Olsen
ab35d1a0bf Add a new document viewer panel for tags and references (#1606) 2023-11-17 23:30:11 +01:00
Veronica Berglyd Olsen
69ccb1560c Update index test 2023-11-17 23:20:16 +01:00
Veronica Berglyd Olsen
d4560b3be8 Add test coverage of document viewer panel 2023-11-17 23:01:59 +01:00
Veronica Berglyd Olsen
fca941b726 Merge branch 'dev' into new_ref_panel 2023-11-17 21:39:30 +01:00
Veronica Berglyd Olsen
eda9a076d6 Clean up config and improve project tree test coverage (#1607) 2023-11-17 21:38:42 +01:00
Veronica Berglyd Olsen
1279b0e5b7 Fix bug from project tree test 2023-11-17 21:33:22 +01:00
Veronica Berglyd Olsen
16a56d6f60 Improve test coverage of project tree 2023-11-17 21:28:44 +01:00
Veronica Berglyd Olsen
c501e12c9d Remove deprecated config fields and update tests 2023-11-17 16:35:05 +01:00
Veronica Berglyd Olsen
dd05f6532a Update document viewer tests 2023-11-17 16:22:59 +01:00
Veronica Berglyd Olsen
1098354fca Fix broken test 2023-11-17 07:55:43 +01:00
Veronica Berglyd Olsen
f81c9aa319 Clean up document viewer class 2023-11-17 00:06:29 +01:00
Veronica Berglyd Olsen
9d662a0d40 Rename index signal function 2023-11-16 22:31:41 +01:00
Veronica Berglyd Olsen
123d9df170 Rewrite and improve the index event signal feature 2023-11-16 19:12:01 +01:00
Veronica Berglyd Olsen
844240b5b8 Fix broken tests 2023-11-16 00:23:59 +01:00
Veronica Berglyd Olsen
3d17d8e08c Clean up the viewer panel code a bit 2023-11-15 22:09:18 +01:00
Veronica Berglyd Olsen
f51223e7c3 Rename the tab count function just to be safe 2023-11-15 21:58:41 +01:00
Veronica Berglyd Olsen
b94e012f8f Fix bug with clearing class tag lists 2023-11-15 21:46:32 +01:00
Veronica Berglyd Olsen
2fc8e43e71 Connect the edit and view buttons 2023-11-15 21:38:45 +01:00
Veronica Berglyd Olsen
565350fcfb Clean up tree item updates 2023-11-15 21:14:40 +01:00
Veronica Berglyd Olsen
e82d5277c0 Add signal for re-indexed document 2023-11-15 21:03:12 +01:00
Veronica Berglyd Olsen
6b9d92e75a Add handlers for document label change 2023-11-15 20:13:23 +01:00
Veronica Berglyd Olsen
8508248f12 Add signal for processing tag changes 2023-11-15 20:12:17 +01:00
Veronica Berglyd Olsen
2cb6020cac Added tags changed signal 2023-11-15 18:11:37 +01:00
Veronica Berglyd Olsen
3f8220f350 Added tag data to viewer panels 2023-11-15 18:11:15 +01:00
Veronica Berglyd Olsen
f5901a4c8c Added new icons for the viewer panel 2023-11-15 18:10:29 +01:00
Veronica Berglyd Olsen
f4be38dd65 Populate the back reference panel 2023-11-14 23:56:51 +01:00
Veronica Berglyd Olsen
4d7ef63e83 Connect the new viewer panel and add icon for it 2023-11-14 22:41:39 +01:00
Veronica Berglyd Olsen
1d89e4935f Merge branch 'dev' into new_ref_panel 2023-11-14 11:06:04 +01:00
Veronica Berglyd Olsen
51337ae4e5 Increase button padding in sidebar by 2px 2023-11-14 10:48:47 +01:00
Veronica Berglyd Olsen
66dfe25e17 Fix bug in sidebar tooltip 2023-11-13 22:46:30 +01:00
Veronica Berglyd Olsen
c5322341ec Bring back the "Scroll past end" setting (#1605) 2023-11-13 22:13:39 +01:00
Veronica Berglyd Olsen
a5755c47e5 Add types to the Preferences dialog, and update tests 2023-11-13 22:09:38 +01:00
Veronica Berglyd Olsen
68af4aec86 Add back the scroll past end setting 2023-11-13 22:09:07 +01:00
Veronica Berglyd Olsen
0b35227756 Fix some usability issues in the UI (#1601) 2023-11-12 21:45:18 +01:00
Veronica Berglyd Olsen
a5b2e47098 Don't block auto-replace on keyword lines, and only show completer on single keypresses 2023-11-12 21:27:24 +01:00
Veronica Berglyd Olsen
a3f9d88271 Remove 2 px margin on sidebar 2023-11-12 20:59:00 +01:00
Veronica Berglyd Olsen
28b3046e51 Update editor code history 2023-11-12 20:55:31 +01:00
Veronica Berglyd Olsen
e7ea9d45e5 Improve how formatting is applied in the editor (#1600) 2023-11-12 20:45:37 +01:00
Veronica Berglyd Olsen
45b278f999 Fix an outdated comment 2023-11-12 20:38:38 +01:00
Veronica Berglyd Olsen
37e0319598 Clean up code a bit 2023-11-12 20:38:03 +01:00
Veronica Berglyd Olsen
7cf7eb4a48 Fix test coverage 2023-11-12 20:21:35 +01:00
Veronica Berglyd Olsen
597b788254 Implement a new word auto select feature that is more careful with punctuation 2023-11-12 20:11:31 +01:00
Veronica Berglyd Olsen
e4206bdcc0 Make autoselect and formatting selection a bit smarter 2023-11-12 19:44:24 +01:00
Veronica Berglyd Olsen
5f80a6b400 Update PyPi info 2023-11-12 15:33:05 +01:00
Veronica Berglyd Olsen
09022ba41a Add post-release fixes 2023-11-12 15:31:53 +01:00
Veronica Berglyd Olsen
6c9c1ec088 Release 2.2 Beta 1 (#1595) 2023-11-12 14:47:09 +01:00
Veronica Berglyd Olsen
88ba3b3dfe Bump version to 2.2 Beta 1, and update changelog 2023-11-11 22:48:51 +01:00
Veronica Berglyd Olsen
9e4ac8f9d4 Merge branch 'main' into dev 2023-11-11 22:05:41 +01:00
Veronica Berglyd Olsen
656a5ada61 Clean up main readme a bit 2023-11-11 22:01:25 +01:00
Veronica Berglyd Olsen
96ac87d5ed Rename linting job to match the rest 2023-11-11 21:57:33 +01:00
Veronica Berglyd Olsen
5597c0e172 Replace the icon on the readme page 2023-11-11 21:49:38 +01:00
Veronica Berglyd Olsen
25c4cf695f Add a new logo (#1593) 2023-11-11 17:41:06 +01:00
Veronica Berglyd Olsen
8db71c432d Fix MacOS build and add font credits 2023-11-11 17:08:22 +01:00
Veronica Berglyd Olsen
e1b92d14c3 Change MacOS build to generate icons on the fly 2023-11-11 16:44:23 +01:00
Veronica Berglyd Olsen
1c4fd4ea5a Add MacOS icons 2023-11-11 16:41:06 +01:00
Veronica Berglyd Olsen
b04386b183 Update Windows icons 2023-11-11 16:38:13 +01:00
Veronica Berglyd Olsen
4b2c01dbf1 Update novelWriter text images 2023-11-11 16:37:58 +01:00
Veronica Berglyd Olsen
134cf45199 Add new PNG icons 2023-11-11 15:11:40 +01:00
Veronica Berglyd Olsen
a0ca78b4fd Add new SVG icon designs 2023-11-11 15:10:50 +01:00
Veronica Berglyd Olsen
062b336105 Make it possible to re-order build settings (#1591) 2023-11-10 22:23:07 +01:00
Veronica Berglyd Olsen
2c5947eeaa Make build settings re-orderable (#1542) 2023-11-10 22:03:38 +01:00
Veronica Berglyd Olsen
f9fd3512b7 Improve widget focus keyboard shortcuts (#1590) 2023-11-10 19:14:10 +01:00
Veronica Berglyd Olsen
98c62f0912 Make Ctrl+Del the default for deleting item in project tree 2023-11-10 19:03:30 +01:00
Veronica Berglyd Olsen
a3f63530d7 Update documentation 2023-11-10 18:57:48 +01:00
Veronica Berglyd Olsen
788f46bd7f Improve focus switching and combine with main menu entries 2023-11-10 18:25:32 +01:00
Veronica Berglyd Olsen
2097eaeeaa Add keyboard shortcuts to sidebar tooltips 2023-11-10 17:53:54 +01:00
Veronica Berglyd Olsen
693f3fb656 Add a keyboard shortcut to toggle tree view 2023-11-10 17:53:36 +01:00
Veronica Berglyd Olsen
25697b0957 Add language setting to Project Settings (#1589) 2023-11-09 19:09:36 +01:00
Veronica Berglyd Olsen
76d67dd0aa Clean up build settings and update tests 2023-11-09 19:04:36 +01:00
Veronica Berglyd Olsen
e3997b53aa Add language setting to wizard 2023-11-09 18:55:02 +01:00
Veronica Berglyd Olsen
c7bfb1b21e Change to always use project language for generating documents 2023-11-09 18:44:08 +01:00
Veronica Berglyd Olsen
2cde1b845e Clean up project settings class 2023-11-09 18:26:33 +01:00
Veronica Berglyd Olsen
27f3b8e0f2 Add project translations for Norwegian nynorsk 2023-11-09 18:02:53 +01:00
Veronica Berglyd Olsen
3f0024a6a3 Use GUI language when translating meta data for the viewer 2023-11-09 18:02:33 +01:00
Veronica Berglyd Olsen
fa32ef248b Add a basic doc viewer panel class 2023-11-09 17:49:29 +01:00
Veronica Berglyd Olsen
234b189e3c Add project translations for meta data keywords (#1586) 2023-11-09 17:35:28 +01:00
Veronica Berglyd Olsen
21dd254831 Include already translated project translation files 2023-11-09 17:24:39 +01:00
Veronica Berglyd Olsen
2ed3666b9f Add keyword translations to the project language files for manuscript builds 2023-11-09 17:17:46 +01:00
Veronica Berglyd Olsen
ebe1998b0b Fix initial visibility of editor toolbar 2023-11-08 23:26:00 +01:00
Veronica Berglyd Olsen
3f0de93438 Add an optional editor toolbar (#1584) 2023-11-08 23:18:06 +01:00
Veronica Berglyd Olsen
6d411e17a6 Improve test coverage 2023-11-08 23:12:39 +01:00
Veronica Berglyd Olsen
003615c3be Make some minor modifications to the doc toolbar, and add typings in themes 2023-11-08 21:27:14 +01:00
Veronica Berglyd Olsen
9a1947c0f5 Add colour to sub/superscript icons 2023-11-08 21:26:19 +01:00
Veronica Berglyd Olsen
5fbcca35a5 Make sure toolbar is hidden when document is closed 2023-11-08 18:16:55 +01:00
Veronica Berglyd Olsen
c88fbf629d Update tests 2023-11-08 18:06:19 +01:00
Veronica Berglyd Olsen
711766cf52 Change main menu to emit signals 2023-11-08 18:00:43 +01:00
Veronica Berglyd Olsen
1a6072be2c Add editor toolbar icons 2023-11-08 16:54:42 +01:00
Veronica Berglyd Olsen
9282b39f2a Change the menu icon to three dots 2023-11-08 16:54:15 +01:00
Veronica Berglyd Olsen
b3ae1774a8 Merge branch 'dev' into format_actions 2023-11-07 22:29:21 +01:00
Veronica Berglyd Olsen
f3b6be3100 Add shortcodes to the main menu (#1583) 2023-11-07 22:28:25 +01:00
Veronica Berglyd Olsen
394cdd5dad Add a basic document editor toolbar 2023-11-07 17:48:34 +01:00
Veronica Berglyd Olsen
e236fb30dc Clean up document header signals 2023-11-07 17:47:59 +01:00
Veronica Berglyd Olsen
a07177c153 Clean up main menu code 2023-11-07 13:54:31 +01:00
Veronica Berglyd Olsen
d2a0ff88a6 Add shortcodes to main menu 2023-11-07 13:54:02 +01:00
Veronica Berglyd Olsen
08e67b0190 Add context menu option to create note from tag (#1582) 2023-11-06 22:48:06 +01:00
Veronica Berglyd Olsen
eb5a98f482 Sort imports 2023-11-06 22:45:37 +01:00
Veronica Berglyd Olsen
ccd3122633 Make some improvements and update tests 2023-11-06 22:42:02 +01:00
Veronica Berglyd Olsen
f17e1f38de Add option to create note from tag, and improve auto-completer a bit 2023-11-06 22:25:28 +01:00
Veronica Berglyd Olsen
1ab35b5b63 Add an auto-completer for editor references (#1581) 2023-11-06 19:35:46 +01:00
Veronica Berglyd Olsen
fd1eaa8c47 Add test coverage of completer 2023-11-06 19:15:58 +01:00
Veronica Berglyd Olsen
ce53971836 Improve code flow in completer class 2023-11-06 19:15:43 +01:00
Veronica Berglyd Olsen
d827b5204b Add meta data autocomplete menu 2023-11-06 18:22:39 +01:00
Veronica Berglyd Olsen
09e0d28115 Add tags get function to index class 2023-11-06 18:19:03 +01:00
Veronica Berglyd Olsen
2a40913105 Add sub/superscript and partial word emphasis (#1540) 2023-11-06 11:54:49 +01:00
Veronica Berglyd Olsen
b03603cc9b Update tests and word counter 2023-11-06 11:49:26 +01:00
Veronica Berglyd Olsen
5e41dd9a92 Merge branch 'dev' into sub_super 2023-11-05 21:28:32 +01:00
Veronica Berglyd Olsen
c1272974ed Fix index bug due to lower/upper case mixing (#1578) 2023-11-05 21:12:04 +01:00
Veronica Berglyd Olsen
72e740ccdf Merge branch 'dev' into fix_index 2023-11-05 21:08:56 +01:00
Veronica Berglyd Olsen
a5a2b2c68e Merge branch 'dev' into fix_index 2023-11-05 21:06:39 +01:00
Veronica Berglyd Olsen
654ff3e81d Fix bug from merged branch 2023-11-05 21:00:23 +01:00
Veronica Berglyd Olsen
a2a1e2e6d0 Merge branch 'main' into dev 2023-11-05 18:54:52 +01:00
Veronica Berglyd Olsen
786c1f7d54 Make AppIamge build use Python 3.11 2023-11-05 18:37:09 +01:00
Veronica Berglyd Olsen
38c279b98f Release 2.1.1 (#1574) 2023-11-05 18:26:12 +01:00
Veronica Berglyd Olsen
b126b8cf0a Bumb version and update release notes for v2.1.1 2023-11-04 18:19:57 +01:00
Veronica Berglyd Olsen
a3b60dad0a Fix editor refresh issues (#1573) 2023-11-04 17:54:46 +01:00
Veronica Berglyd Olsen
ee5f340fe2 Refresh spell checking when word list changes (#1559) 2023-11-04 17:46:25 +01:00
Veronica Berglyd Olsen
dd61897d11 Force a rehighlight on theme switch for small documents (#1535) 2023-11-04 17:43:02 +01:00
Veronica Berglyd Olsen
a50e79b155 Set menu parents (#1572) 2023-11-04 17:31:26 +01:00
Veronica Berglyd Olsen
8abcada86e Make sure all QMenu instances have a parent widget set (#1536) 2023-11-04 17:24:43 +01:00
Veronica Berglyd Olsen
ef29571bd9 Add autoscroll feature (#1571) 2023-11-04 17:04:12 +01:00
Veronica Berglyd Olsen
6f8109609c Use the correct margin settings 2023-11-04 16:50:41 +01:00
Veronica Berglyd Olsen
05ddca043a Add comment to explain why autoscroll was added 2023-11-04 16:48:22 +01:00
Veronica Berglyd Olsen
da3747c5f5 Implement autoscroll in project tree, and disable library autoscroll feature (#1561) 2023-11-04 16:45:16 +01:00
Veronica Berglyd Olsen
2322923c4a Add check for illegal drag and drops (#1570) 2023-11-04 16:16:38 +01:00
Veronica Berglyd Olsen
c5baa8d359 Remove commented out code 2023-11-04 10:14:49 +01:00
Veronica Berglyd Olsen
a7e2b51225 Add blockers for illegal drop events on invisible root and for root items (#1569) 2023-11-04 10:05:37 +01:00
Veronica Berglyd Olsen
0413684150 Fix viewer navigation (#1568) 2023-11-03 10:32:36 +01:00
Veronica Berglyd Olsen
b047695501 Update tests 2023-11-03 10:28:54 +01:00
Veronica Berglyd Olsen
52197149a7 Merge branch 'main' into html_anchors 2023-11-03 10:15:12 +01:00
Veronica Berglyd Olsen
4582ef8b83 Fix anchor tags in html output (#1566) 2023-11-03 10:13:35 +01:00
Veronica Berglyd Olsen
0077326274 Fix errors in documentation (#1567) 2023-11-03 08:26:05 +01:00
nisemono-neko
36fd64e1a3 Fix typos 2023-11-03 16:29:30 +10:00
nisemono-neko
552249d145 Fix typos 2023-11-03 16:18:43 +10:00
nisemono-neko
7080703481 Fix typos 2023-11-03 16:16:18 +10:00
nisemono-neko
4c7fbdb77a Fix typos 2023-11-03 16:12:53 +10:00
nisemono-neko
0c249d2010 Fix typos 2023-11-03 16:07:14 +10:00
nisemono-neko
3896d0fbf4 Fix typos 2023-11-03 13:40:24 +10:00
nisemono-neko
b3018bb392 Fix typos 2023-11-03 13:27:03 +10:00
Veronica Berglyd Olsen
d67cef2611 Fix bug where tags were lost in the index when saving a document 2023-11-03 00:39:24 +01:00
Veronica Berglyd Olsen
f9df78a8d4 Fix i18n issues (#1565) 2023-11-02 23:44:53 +01:00
Veronica Berglyd Olsen
12d7512441 Make sure also Preferences defaults to British English 2023-11-02 23:41:34 +01:00
Veronica Berglyd Olsen
08a012ef8d Only default to system locale if a translation file exists (#1564) 2023-11-02 23:34:42 +01:00
Veronica Berglyd Olsen
6df591c803 Fix untranslated strings in Build tool (#1563) 2023-11-02 23:01:41 +01:00
Veronica Berglyd Olsen
2d78312206 Fix Build Settings icon column size issue (#1553) 2023-10-24 00:04:41 +02:00
Veronica Berglyd Olsen
bce6f9543a Make sure icon columns on build settings dialog are narrow (#1551) 2023-10-23 23:58:29 +02:00
Veronica Berglyd Olsen
ddd5e841bf Clean up unneeded docs build settings 2023-10-22 00:13:21 +02:00
Veronica Berglyd Olsen
69af58227a Fix broken docs build 2023-10-21 15:41:49 +02:00
Veronica Berglyd Olsen
c02e7a52a1 Fix keyword section in writing classes 2023-10-21 15:40:33 +02:00
Veronica Berglyd Olsen
ba2250be47 Add shortcodes example text 2023-10-20 22:58:32 +02:00
Veronica Berglyd Olsen
d51bfec090 Fix ToOdt test coverage 2023-10-20 22:55:59 +02:00
Veronica Berglyd Olsen
dc50f4bb3b Fix Tokenizer test coverage 2023-10-20 22:17:28 +02:00
Veronica Berglyd Olsen
b9df625914 Add ODT support for new formats 2023-10-20 21:42:00 +02:00
Veronica Berglyd Olsen
e669560462 Add syntax theme entry for shortcodes 2023-10-20 17:57:35 +02:00
Veronica Berglyd Olsen
1558a11646 Add shortcodes functionality 2023-10-20 17:50:18 +02:00
Veronica Berglyd Olsen
2214b7472b Fix ODT test 2023-10-20 00:06:43 +02:00
Veronica Berglyd Olsen
ae1ed10f25 Add converter support for the new formats 2023-10-20 00:05:17 +02:00
Veronica Berglyd Olsen
0115f1e343 Add tokenizer support for the new formats 2023-10-20 00:04:58 +02:00
Veronica Berglyd Olsen
ef4277437b Add regexes and highlighting for in-line commands 2023-10-20 00:04:23 +02:00
Veronica Berglyd Olsen
bd6e666fdc Add new syntax highlighting for in-line commands 2023-10-19 18:04:06 +02:00
Veronica Berglyd Olsen
181809d34a Update i18n readme (#1539) 2023-10-19 03:01:38 +02:00
Veronica Berglyd Olsen
bc1b5f24a0 Add more information in error output from pkgutils 2023-10-19 02:58:29 +02:00
Veronica Berglyd Olsen
658953df15 Add note about pkgutils dependency on PyQt6 for qtlupdate 2023-10-19 02:54:22 +02:00
Veronica Berglyd Olsen
b0e3cf1a3a Change editor to true plain text (#1525) 2023-10-17 21:03:36 +02:00
Veronica Berglyd Olsen
90ca8f481d Disable checking spelling in tests on Windows 2023-10-17 20:58:57 +02:00
Veronica Berglyd Olsen
b11a3c4bc7 Add editor spell checking test coverage 2023-10-17 20:54:00 +02:00
Veronica Berglyd Olsen
9dd8f65795 Clean up a few bits in the editor code, fix margins, and fix issue in spell checker 2023-10-17 20:25:17 +02:00
Veronica Berglyd Olsen
f8bff62754 Merge branch 'dev' into text_document 2023-10-17 18:16:02 +02:00
Veronica Berglyd Olsen
77108784d9 Merge branch 'main' into dev 2023-10-17 18:13:47 +02:00
Veronica Berglyd Olsen
60b977f8ec Update setup scripts 2023-10-17 18:12:35 +02:00
Veronica Berglyd Olsen
a03bd140db Release 2.1 (#1533) 2023-10-17 16:25:52 +02:00
Veronica Berglyd Olsen
1566fd3ec9 Rename Mac test 2023-10-17 16:24:44 +02:00
Veronica Berglyd Olsen
d6e0517209 Update changelog and release notes 2023-10-17 16:21:40 +02:00
Veronica Berglyd Olsen
f090ffa649 Update Spanish translation 2023-10-17 08:22:44 +02:00
Veronica Berglyd Olsen
2e5cb85410 Update Portuguese translation 2023-10-16 09:32:00 +02:00
Veronica Berglyd Olsen
6a4fa295f2 Update US English, Italian and Norwegian translations 2023-10-15 20:54:00 +02:00
Veronica Berglyd Olsen
dc516bab8b Bump version for 2.1 release 2023-10-15 20:17:52 +02:00
Veronica Berglyd Olsen
ac36ce07ba Update docs for 2.1 release (#1531) 2023-10-15 20:14:55 +02:00
Veronica Berglyd Olsen
ccffa91c49 Make a second apss through the entire documentation to fix issues 2023-10-15 20:11:29 +02:00
Veronica Berglyd Olsen
cceb31aac7 Update the glossary section of the docs 2023-10-15 17:53:51 +02:00
Veronica Berglyd Olsen
b16f4477b8 Update the additional topics section of the docs 2023-10-15 17:41:22 +02:00
Veronica Berglyd Olsen
56b4cd3036 Update the Project section of the docs 2023-10-15 17:27:44 +02:00
Veronica Berglyd Olsen
d68d215420 Merge branch 'main' into dev 2023-10-08 21:18:53 +02:00
Veronica Berglyd Olsen
8e72432db8 Merge branch 'main' into update_docs 2023-10-08 21:08:53 +02:00
Veronica Berglyd Olsen
ed8d4a4c26 Switch CI from 3.12-dev to 3.12 2023-10-08 21:08:08 +02:00
Veronica Berglyd Olsen
328216d9e5 Update the Using novelWriter section of the docs 2023-10-08 20:54:14 +02:00
Veronica Berglyd Olsen
a3fdb3cfc4 Update the introduction section of the docs 2023-10-08 18:50:33 +02:00
Veronica Berglyd Olsen
699bf2292c Clean up import order 2023-09-28 16:41:37 +02:00
Veronica Berglyd Olsen
14a75a421d Merge branch 'dev' into text_document 2023-09-28 16:17:43 +02:00
Veronica Berglyd Olsen
fd76f5a2c4 Do some minor variable cleanup in ToOdt 2023-09-28 14:33:33 +02:00
Veronica Berglyd Olsen
0700dd59bb Clean up variables and typing in doc converters 2023-09-26 18:39:50 +02:00
Veronica Berglyd Olsen
6d7453885b Merge branch 'main' into dev 2023-09-18 15:22:23 +02:00
Veronica Berglyd Olsen
609366076a Merge branch 'dev' into text_document 2023-09-18 15:21:32 +02:00
Veronica Berglyd Olsen
16f57e4c48 Case insensitive tags (#1522) 2023-09-18 08:16:54 +01:00
Veronica Berglyd Olsen
976f73c41c Fix two typos in usage docs (#1524) 2023-09-18 07:07:06 +01:00
Ainali
b891e9ada6 Fix two typos in usage docs 2023-09-17 23:20:14 +02:00
Veronica Berglyd Olsen
2e0204d577 Clean up variables and annotations in index classes 2023-09-17 20:29:33 +02:00
Veronica Berglyd Olsen
29518a33f2 Fix index tests 2023-09-16 10:10:55 +02:00
Veronica Berglyd Olsen
bf592fa706 Clean up outline view code 2023-09-15 22:38:56 +02:00
Veronica Berglyd Olsen
cba1a2c062 Make tags in the index case insensitive 2023-09-15 22:38:39 +02:00
Veronica Berglyd Olsen
cb522c7d50 Fix some layout issues in main gui 2023-09-15 18:40:32 +02:00
Veronica Berglyd Olsen
c3a4b840fb Improve handling of spell check state 2023-09-14 16:26:05 +02:00
Veronica Berglyd Olsen
309c7de5de Clean up variables in editor 2023-09-14 16:20:38 +02:00
Veronica Berglyd Olsen
45a4503fa3 Clean up variables in document editor 2023-09-10 23:43:50 +02:00
Veronica Berglyd Olsen
dea5c54ef0 Make some minor improvements to spell check suggest 2023-09-10 21:52:38 +02:00
Veronica Berglyd Olsen
f1e28e21f8 Cache spell check errors for usage in the editor when correcting 2023-09-10 21:27:34 +02:00
Veronica Berglyd Olsen
3f91f5c506 Use the global thread pool, like the docs suggest 2023-09-10 18:15:16 +02:00
Veronica Berglyd Olsen
e210bca319 Move the thread pool to the shared object instance 2023-09-10 17:46:35 +02:00
Veronica Berglyd Olsen
16e2e0cc83 Add a custom text document in the editor 2023-09-07 19:20:00 +02:00
Veronica Berglyd Olsen
e08790e889 Make the editor actually Plain Text (#1521) 2023-09-06 20:10:09 +01:00
Veronica Berglyd Olsen
915b9da5d0 Remove document size constraint 2023-09-06 20:35:48 +02:00
Veronica Berglyd Olsen
0ef46ef0ea Simplify editor scrolling features 2023-09-06 20:05:13 +02:00
Veronica Berglyd Olsen
0bfa3cb592 Simplify setting cursor position in the editor 2023-09-06 18:20:25 +02:00
Veronica Berglyd Olsen
8c3e906fc5 Remove the big doc limit feature 2023-09-06 17:56:39 +02:00
Veronica Berglyd Olsen
2b98e0d4d2 Make the editor a plain text editor again 2023-09-06 17:47:25 +02:00
Veronica Berglyd Olsen
8275963811 Sidebar cleanup and minor fixes (#1520) 2023-09-05 21:26:20 +01:00
Veronica Berglyd Olsen
4cc402679f Fix typo and move special popup menu class 2023-09-05 22:20:04 +02:00
Veronica Berglyd Olsen
b1095481ef Add test coverage 2023-09-05 22:12:08 +02:00
Veronica Berglyd Olsen
f754c80352 Redesign main sidebar 2023-09-05 21:55:42 +02:00
Veronica Berglyd Olsen
ca3a493932 Fix type checking warning 2023-09-04 20:12:26 +02:00
Veronica Berglyd Olsen
e8b2f3a8f9 Only spell check proper words 2023-09-04 20:12:04 +02:00
Veronica Berglyd Olsen
72b89a6768 Merge branch 'main' into dev 2023-09-04 11:50:21 +02:00
Veronica Berglyd Olsen
be3d642868 Fix minor font size issue (#1518) 2023-09-03 20:17:02 +01:00
Veronica Berglyd Olsen
a358a0007a Fix writing stats font size issue (#1442) 2023-09-03 21:12:54 +02:00
Veronica Berglyd Olsen
a2254512f7 Fix minor issue with translation string 2023-09-03 21:03:21 +02:00
Veronica Berglyd Olsen
b450fa1818 Annotate the doc editor source 2023-09-01 21:36:57 +02:00
Veronica Berglyd Olsen
c03c1c2bbf Bump dev branch to 2.2-alpha1 2023-09-01 20:49:09 +02:00
Veronica Berglyd Olsen
3eb49d32fa Display build details in Manuscript tool (#1516) 2023-09-01 18:50:55 +01:00
Veronica Berglyd Olsen
856e504c26 Improve the ternary if in expand state on manuscript dialog 2023-09-01 18:46:01 +02:00
Veronica Berglyd Olsen
206265b6d3 Update base translation file 2023-09-01 17:39:02 +02:00
Veronica Berglyd Olsen
dee1e9d71b Re-sort imports 2023-09-01 17:37:24 +02:00
Veronica Berglyd Olsen
9c7663996c Fix issues discovered when testing 2023-09-01 17:34:34 +02:00
Veronica Berglyd Olsen
03c4b91682 Make a few improvements to manuscript details panel 2023-09-01 17:19:25 +02:00
Veronica Berglyd Olsen
ecebd69cda Add build details widget to manuscript tool 2023-09-01 16:55:23 +02:00
Veronica Berglyd Olsen
746bd4bf2c Remove Python 3.7 support (#1515) 2023-08-31 18:32:27 +01:00
Veronica Berglyd Olsen
93ffc11f2a Bump MacOS build Python version to 3.11 2023-08-31 19:20:18 +02:00
Veronica Berglyd Olsen
e36eebf09a Add Python 3.12 to setup.cfg 2023-08-31 19:17:20 +02:00
Veronica Berglyd Olsen
baf7bc5866 Add Python 3.12-dev to linux tests, and update mac and windows tests to 3.11 2023-08-31 19:10:37 +02:00
Veronica Berglyd Olsen
e766fa7dcc Remove official Python 3.7 support 2023-08-31 19:09:23 +02:00
Veronica Berglyd Olsen
ee84c635c5 Fix typo in changelog 2023-08-31 19:03:50 +02:00
Veronica Berglyd Olsen
eccb4040b6 Release 2.1 RC 1 (#1513) 2023-08-31 16:44:52 +01:00
Veronica Berglyd Olsen
eca97bb6ff Bump version number and update changelog 2023-08-31 17:40:15 +02:00
Veronica Berglyd Olsen
7c3505cf2a Update US translation 2023-08-31 17:19:53 +02:00
Veronica Berglyd Olsen
fbcb8e121c Update translation files 2023-08-31 17:18:09 +02:00
Veronica Berglyd Olsen
ca95a17a63 Merge branch 'main' into release_2.1rc1 2023-08-31 17:00:34 +02:00
Veronica Berglyd Olsen
73a5dc4693 Update i18n files (#1512) 2023-08-31 16:00:00 +01:00
Veronica Berglyd Olsen
6805be0d26 Update i18n files 2023-08-31 16:55:46 +02:00
Veronica Berglyd Olsen
440256c3f0 Forward all scroll events in text area widgets to parent (#1511) 2023-08-31 15:43:39 +01:00
Veronica Berglyd Olsen
d7c8f97d47 Add test coverage and fix a few minor things 2023-08-31 16:38:51 +02:00
Veronica Berglyd Olsen
94329b334a Forward all scroll events in editor/viewer areas to their text area widgets (#1425) 2023-08-31 11:40:52 +02:00
Veronica Berglyd Olsen
190848ad2e Update the file info dialog box (#1510) 2023-08-30 18:08:00 +01:00
Veronica Berglyd Olsen
9bf43aa40f Update the file info dialog box 2023-08-30 18:57:48 +02:00
Veronica Berglyd Olsen
f41e71199c Add hash and dates to document meta data (#1509) 2023-08-30 17:35:51 +01:00
Veronica Berglyd Olsen
10c7934ae2 Update tests 2023-08-25 18:37:01 +02:00
Veronica Berglyd Olsen
fa7e9b7f33 Update sample project 2023-08-25 17:16:18 +02:00
Veronica Berglyd Olsen
4dfc27f727 Add check that prevHash is actually recorded 2023-08-25 17:16:10 +02:00
Veronica Berglyd Olsen
125d501aaf Fix issue with document hash comparison 2023-08-25 17:13:41 +02:00
Veronica Berglyd Olsen
0d262c0ae8 Remove the sha256sum function for files and update tests 2023-08-25 16:55:45 +02:00
Veronica Berglyd Olsen
b3fcea29da Change how text hash is calculated in documents, and add dates 2023-08-25 16:55:08 +02:00
Veronica Berglyd Olsen
1b98bdf28f Refactor handling of spell checking (#1508) 2023-08-25 12:19:25 +01:00
Veronica Berglyd Olsen
cf2d30895c Remove added test check that fails 2023-08-25 13:12:23 +02:00
Veronica Berglyd Olsen
56fc5ec40c Add spell check languages to Tools menu 2023-08-25 13:09:05 +02:00
Veronica Berglyd Olsen
a72c824d8b Move all handling of spell check instance to shared class 2023-08-24 22:33:53 +02:00
Veronica Berglyd Olsen
b54f81355a Clean up the syntax highlighter class 2023-08-24 20:40:10 +02:00
Veronica Berglyd Olsen
f7ed133b2e Move the spell check instance to the shared class 2023-08-24 20:17:23 +02:00
Veronica Berglyd Olsen
4507489f0b Clean up a few things in project classes 2023-08-24 19:45:08 +02:00
Veronica Berglyd Olsen
f339ec2471 Remove re-usage of project class (#1504)_ 2023-08-23 19:56:58 +01:00
Veronica Berglyd Olsen
e1ba66fb87 Fix some missing test coverage 2023-08-23 20:51:42 +02:00
Veronica Berglyd Olsen
af50b219a6 Add test coverage of shared class 2023-08-23 20:19:48 +02:00
Veronica Berglyd Olsen
8090832f3b Fix weird unitilialised shared class issue 2023-08-20 23:38:14 +02:00
Veronica Berglyd Olsen
55423174ed Make a few minor improvements, including fixing #1495 2023-08-20 22:09:02 +02:00
Veronica Berglyd Olsen
ed3e4bca6c Simplify the class variables of the tree class 2023-08-20 21:36:33 +02:00
Veronica Berglyd Olsen
0b4cfd0037 Move idle time records to the shared class 2023-08-20 21:33:04 +02:00
Veronica Berglyd Olsen
777b1a15fd Clean up no longer needed code 2023-08-14 17:43:47 +02:00
Veronica Berglyd Olsen
a17e73b5a2 Let the shared class handle alert dialogs 2023-08-14 17:08:53 +02:00
Veronica Berglyd Olsen
3441ff38de Remove dependence of main GUI class in project class 2023-08-14 17:08:30 +02:00
Veronica Berglyd Olsen
a3976ab4fb Fix imports 2023-08-14 00:07:38 +02:00
Veronica Berglyd Olsen
156a6fac98 Use a signal for status bar messages 2023-08-14 00:03:55 +02:00
Veronica Berglyd Olsen
c4140d753c Improve handling of project closing 2023-08-13 23:32:10 +02:00
Veronica Berglyd Olsen
150f6603cd Let the shared class handle project open/save/close and recreating the project instance 2023-08-13 20:16:37 +02:00
Veronica Berglyd Olsen
8154293d92 Move the hasProject logic into the shared class 2023-08-13 19:23:32 +02:00
Veronica Berglyd Olsen
fd181b18a6 Rename exception variable in makeAlert 2023-08-13 19:23:03 +02:00
Veronica Berglyd Olsen
863dcf8b37 Move theme and project instances to new shared data class 2023-08-10 21:13:10 +02:00
Veronica Berglyd Olsen
a2f183f147 Add a shared data class 2023-08-10 21:10:08 +02:00
Veronica Berglyd Olsen
a0921d2541 Clean up core structure (#1502) 2023-08-10 11:29:25 +01:00
Veronica Berglyd Olsen
ddacfc743e Annotate config class and extensions 2023-08-10 00:49:33 +02:00
Veronica Berglyd Olsen
71e961ba38 Fix annotations in NWStatus class 2023-08-08 23:32:30 +02:00
Veronica Berglyd Olsen
6e5d991cfe Move TypeGuard to TYPE_CHECKING condition 2023-08-08 23:14:35 +02:00
Veronica Berglyd Olsen
5d817ae51f Move GUI components module to extensions subpackage 2023-08-08 22:47:24 +02:00
Veronica Berglyd Olsen
eeadfc95e3 Annotate core modules 2023-08-08 22:37:48 +02:00
Veronica Berglyd Olsen
d658a993c0 Update source file headers 2023-08-08 21:41:35 +02:00
Veronica Berglyd Olsen
348e62cd3e Change default backup folder to HOME/Backups
Signed-off-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2023-08-08 20:04:17 +02:00
Veronica Berglyd Olsen
c40d910b69 Make backup path always set 2023-08-08 19:50:20 +02:00
Veronica Berglyd Olsen
12897ff2e1 Make project instance private to main GUI class 2023-08-08 17:21:00 +02:00
Veronica Berglyd Olsen
94c95d6f67 Move GUI theme instance to the config object (after app creation) 2023-08-08 14:35:55 +02:00
Veronica Berglyd Olsen
c50c8ee73a Improve alert boxes (#1501) 2023-08-08 09:45:58 +01:00
Veronica Berglyd Olsen
431bc8d401 Clarify closing dialog on build settings 2023-08-08 10:39:10 +02:00
Veronica Berglyd Olsen
de66f1e21b Switch out some alert icons 2023-08-08 09:33:42 +02:00
Veronica Berglyd Olsen
abfe7ee7ff Clean up a few minor things 2023-08-07 20:57:33 +02:00
Veronica Berglyd Olsen
7cb77e8524 Update comment 2023-08-07 20:49:04 +02:00
Veronica Berglyd Olsen
470017cdea Remove the global APP singleton again 2023-08-07 20:45:25 +02:00
Veronica Berglyd Olsen
7756368113 Fix some minor issues with new alert code 2023-08-07 20:25:51 +02:00
Veronica Berglyd Olsen
3911bc10c6 Clean up code and tests 2023-08-07 20:20:04 +02:00
Veronica Berglyd Olsen
90f9fa4451 Rewrite the makeAlert and askQuestion functions to use recommended interface 2023-08-07 20:19:51 +02:00
Veronica Berglyd Olsen
ec010bf18e Add new icons for alert boxes 2023-08-07 17:02:18 +02:00
Veronica Berglyd Olsen
8959af1f30 Move make alert to separate module and add a global singleton for pointers 2023-08-07 17:01:44 +02:00
Veronica Berglyd Olsen
c3b3120bc1 Improve build settings dialog (#1499) 2023-08-06 22:08:31 +01:00
Veronica Berglyd Olsen
28263dcbac Make build settings dialog a child of main gui, and ensure only one instance can be open for each build 2023-08-06 23:04:59 +02:00
Veronica Berglyd Olsen
4951e4f8fe Automatically select the first build if no builds are selected in the build tool 2023-08-06 22:27:15 +02:00
Veronica Berglyd Olsen
61836c8c04 Change page size preset to Custom when values are changed instead of blocking the spin boxes 2023-08-06 22:04:12 +02:00
Veronica Berglyd Olsen
effe7abdec Fix formatting of line breaks in headers 2023-08-06 21:49:55 +02:00
Veronica Berglyd Olsen
5bc391c6c2 Add file extensions to Outpu tab headers 2023-08-06 19:51:10 +02:00
Veronica Berglyd Olsen
3f951fa61f Move reset button to after included and excluded 2023-08-06 18:20:19 +02:00
Veronica Berglyd Olsen
72de32b126 Add iterative filter action for single selection in build settings 2023-08-06 17:49:11 +02:00
Veronica Berglyd Olsen
2780e722d0 Change icon for filtered items in build settings dialog 2023-08-06 17:28:05 +02:00
Veronica Berglyd Olsen
18d0265515 Fix possibly unbound variable in project tree 2023-08-06 17:25:29 +02:00
Veronica Berglyd Olsen
6168b45c75 Add a triangle arrow to the menu items on the paged side bar 2023-08-06 16:36:34 +02:00
Veronica Berglyd Olsen
7a74165221 Improve section headings on filter tab 2023-08-06 15:39:30 +02:00
Veronica Berglyd Olsen
c480db898c Double the left margin of the button text for the paged side bar 2023-08-06 15:08:57 +02:00
Veronica Berglyd Olsen
762f7c62cd Fix label in syntax check workflow 2023-08-06 14:57:49 +02:00
Veronica Berglyd Olsen
97dccd9d68 Drop saving fullscreen flag (#1498) 2023-08-06 13:57:31 +01:00
Veronica Berglyd Olsen
8778466d42 Annotate main gui 2023-08-06 14:50:11 +02:00
Veronica Berglyd Olsen
6f1aa5b812 Remove fullscreen setting in config file 2023-08-06 14:49:35 +02:00
Veronica Berglyd Olsen
352b70d060 Fix MacOS release for 2.1b1 (#1496) 2023-07-31 00:50:13 +02:00
Veronica Berglyd Olsen
4ce18611bd Remove redundant references to GUI parent 2023-07-31 00:44:30 +02:00
Veronica Berglyd Olsen
f09851b889 Remove beta part of version number for macOS build 2023-07-31 00:18:03 +02:00
Veronica Berglyd Olsen
993205701c Define all non-modal dialogs as tools 2023-07-30 23:39:29 +02:00
Veronica Berglyd Olsen
71b3694399 Try setting build non-modal dialogs as tools 2023-07-30 23:31:05 +02:00
Veronica Berglyd Olsen
9d8d25fbb5 Add a util function to restack the windows 2023-07-30 23:23:07 +02:00
Veronica Berglyd Olsen
c41a104eca Fix version number for mac build 2023-07-30 22:06:25 +02:00
Veronica Berglyd Olsen
1d19a900b1 Handle raise parent on all close events in build tools 2023-07-30 21:57:27 +02:00
Veronica Berglyd Olsen
25f9f0519f Fix raise window issue on Mac 2023-07-30 19:55:47 +02:00
Veronica Berglyd Olsen
b93bc0a295 Allow MacOS build to handle pre-release version 2023-07-30 14:36:47 +02:00
Veronica Berglyd Olsen
7d0e7d7dce Release 2.1 Beta 1 (#1490) 2023-07-30 14:20:51 +02:00
Veronica Berglyd Olsen
4b2b4117a5 Make some minor improvements to the change log 2023-07-30 14:17:34 +02:00
Veronica Berglyd Olsen
2bd519aa5b Update release date, change log and release notes 2023-07-30 14:07:28 +02:00
Veronica Berglyd Olsen
34c5b4fec7 Change tree nav shortcut modifier and update docs (#1489) 2023-07-30 00:06:36 +02:00
Veronica Berglyd Olsen
fd1f4a5dbe Merge branch 'dev' into tree_shortcuts 2023-07-30 00:00:59 +02:00
Veronica Berglyd Olsen
59a31f1c20 Restructure keyboard shortcuts page in docs 2023-07-29 23:59:41 +02:00
Veronica Berglyd Olsen
a79ff09e3b Use alt as modiefier for special project tree move keys 2023-07-29 23:59:18 +02:00
Veronica Berglyd Olsen
ea13f4f9b8 Add project tree navigation shortcuts (#1488) 2023-07-29 22:41:07 +02:00
Veronica Berglyd Olsen
26d97bd234 Update tests and docs 2023-07-29 22:26:13 +02:00
Veronica Berglyd Olsen
c52a37c276 Add shift + arrow navigation feature to project tree (#1348) 2023-07-29 22:25:58 +02:00
Veronica Berglyd Olsen
1dadd1ddb7 Annotate some more functions in project tree source 2023-07-29 20:49:23 +02:00
Veronica Berglyd Olsen
aa64fdbfc3 Annotate and clean up project tree source 2023-07-29 20:45:12 +02:00
Veronica Berglyd Olsen
db892f633a New root folder location (#1487) 2023-07-28 23:23:46 +02:00
Veronica Berglyd Olsen
08648e0a33 Update annotations in related source 2023-07-28 23:17:09 +02:00
Veronica Berglyd Olsen
addacd368d Allow root folders to be created next to selected root 2023-07-28 23:16:20 +02:00
Veronica Berglyd Olsen
925ead775c Try to fix issue with fickly test 2023-07-27 00:33:23 +02:00
Veronica Berglyd Olsen
46cac5cc94 Improve backup feature (#1484) 2023-07-27 00:18:51 +02:00
Veronica Berglyd Olsen
0c04b0ba86 Update test 2023-07-27 00:12:25 +02:00
Veronica Berglyd Olsen
ace037808f Add backups size to pop-up dialog (#1453) 2023-07-27 00:09:05 +02:00
Veronica Berglyd Olsen
d81a90add3 Add project name to backup file (#1476) 2023-07-27 00:08:26 +02:00
Veronica Berglyd Olsen
b837becc58 Remove remaining reference to lxml package 2023-07-26 23:47:49 +02:00
Veronica Berglyd Olsen
d88d07e0b3 Remove setup.py (#1483) 2023-07-26 23:34:04 +02:00
Veronica Berglyd Olsen
2966a709b8 Remove setup.py, and remove sample project from source build 2023-07-26 22:33:05 +02:00
Veronica Berglyd Olsen
7c138d33fc Move requirements file for tests to the tests folder 2023-07-26 22:26:18 +02:00
Veronica Berglyd Olsen
42d8d56636 Update ubuntu releases 2023-07-26 20:00:26 +02:00
Veronica Berglyd Olsen
02312054fb Split up setup.py and move packaging tools to new script 2023-07-26 19:28:34 +02:00
Veronica Berglyd Olsen
a6c0152a68 Improve project item and tree classes (#1482) 2023-07-26 19:06:45 +02:00
Veronica Berglyd Olsen
39ef662807 Add test coverage of the project tree consistency function 2023-07-26 18:57:31 +02:00
Veronica Berglyd Olsen
1752d5c5cb Fix inconsistent clearing of lockfiles in projects 2023-07-24 23:29:39 +02:00
Veronica Berglyd Olsen
7965e3365b Make sure file scan test don't depend on file list order 2023-07-22 23:15:30 +02:00
Veronica Berglyd Olsen
c8d588d6d2 Complete annotations in project class and update tests 2023-07-22 01:06:34 +02:00
Veronica Berglyd Olsen
d382775d1d Make some improvements to the tree consistency check 2023-07-22 01:06:04 +02:00
Veronica Berglyd Olsen
3753f5b829 Rewrite project consistency chech as part of the tree class 2023-07-21 23:56:48 +02:00
Veronica Berglyd Olsen
f0e372b2ba Update tests 2023-07-21 22:53:04 +02:00
Veronica Berglyd Olsen
9a1a2d9ab2 Rewrite NWItem to not allow handle to be None 2023-07-21 22:52:54 +02:00
Veronica Berglyd Olsen
4dfa51855e Spell check comments and docstrings 2023-07-20 23:25:49 +02:00
Veronica Berglyd Olsen
e773884c29 Add duplication of files and folders (#1480) 2023-07-20 21:18:17 +02:00
Veronica Berglyd Olsen
4e448134fc Add test coverage of new function in Document class 2023-07-20 21:14:10 +02:00
Veronica Berglyd Olsen
def846ce4b Clean up imports (missed one) 2023-07-20 21:08:38 +02:00
Veronica Berglyd Olsen
75a840b10b Clean up imports 2023-07-20 21:07:12 +02:00
Veronica Berglyd Olsen
188536d0f6 Add test coverage of duplicate function in project tree 2023-07-20 21:00:11 +02:00
Veronica Berglyd Olsen
b3c744d22e Add test coverage of DocDuplicator class 2023-07-20 20:36:09 +02:00
Veronica Berglyd Olsen
7a72634448 Improve how items are added to project tree, allowing root folders to be added next to specified items 2023-07-20 19:51:01 +02:00
Veronica Berglyd Olsen
1559e3299a Add item duplication functionality to project tree 2023-07-20 18:51:50 +02:00
Veronica Berglyd Olsen
567045e4ff Add document duplication tool and support in item and tree classes 2023-07-20 18:51:26 +02:00
Veronica Berglyd Olsen
1c5466a799 Add annotations to document class 2023-07-20 18:50:53 +02:00
Veronica Berglyd Olsen
fe7e44a3a6 Add annotations to tree and item classes 2023-07-20 16:00:16 +02:00
Veronica Berglyd Olsen
bba46ba042 Add annotations to core tools 2023-07-20 15:14:01 +02:00
Veronica Berglyd Olsen
f2bba55bca Change default font on macOS (#1479) 2023-07-20 01:28:31 +02:00
Veronica Berglyd Olsen
57d6b6ac1d Change default macOS font to Helvetica 2023-07-20 01:22:30 +02:00
Veronica Berglyd Olsen
664d314d3a Improve ODT build (#1477) 2023-07-20 00:35:13 +02:00
Veronica Berglyd Olsen
32a52b2bf1 Update tests 2023-07-20 00:29:11 +02:00
Veronica Berglyd Olsen
dedb86b11d Make paper sizes translatable 2023-07-20 00:29:01 +02:00
Veronica Berglyd Olsen
e1ea285201 Update test reference files 2023-07-19 23:57:45 +02:00
Veronica Berglyd Olsen
3c535ab0ef Make some improvements to the config layout class 2023-07-19 23:55:17 +02:00
Veronica Berglyd Olsen
ac92e5b126 Add support for page layout settings in builds 2023-07-19 23:55:00 +02:00
Veronica Berglyd Olsen
bebf487776 Update tests 2023-07-19 18:17:18 +02:00
Veronica Berglyd Olsen
c123ef9258 Add a separator style to ODT builds 2023-07-19 18:17:03 +02:00
Veronica Berglyd Olsen
7d065659e8 Bump version 2.1-beta1 2023-07-19 18:05:46 +02:00
Veronica Berglyd Olsen
3af60b4b6f Theme updates (#1475) 2023-07-19 17:43:57 +02:00
Veronica Berglyd Olsen
354d299dce Delete redundant colour definition in theme class 2023-07-19 17:40:18 +02:00
Veronica Berglyd Olsen
2670f46941 Don't set an icon theme for the Qt default theme 2023-07-19 17:36:56 +02:00
Veronica Berglyd Olsen
d289b41546 Fix test and update paged sidebar hover colour 2023-07-19 17:31:23 +02:00
Veronica Berglyd Olsen
2c5799679c Add help text colour as separate setting, and annotate theme class 2023-07-19 17:31:02 +02:00
Veronica Berglyd Olsen
795782320c Add default light theme and update other themes 2023-07-19 17:30:35 +02:00
Veronica Berglyd Olsen
734899a543 Improve test coverage of build tools (#1466) 2023-07-18 18:14:07 +02:00
Veronica Berglyd Olsen
8e3a258fd2 Fix sometimes failing backup test 2023-07-18 18:08:17 +02:00
Veronica Berglyd Olsen
36c0349c0a Split print test into separate due to MacOS issues 2023-07-18 17:59:29 +02:00
Veronica Berglyd Olsen
9721c25613 Add test coverage of GuiManuscript tool 2023-07-18 17:52:49 +02:00
Veronica Berglyd Olsen
1997872f71 Comment out blocking call 2023-07-17 20:57:07 +02:00
Veronica Berglyd Olsen
d9e0730ad2 Add test coverage of GuiManuscriptBuild tool 2023-07-17 20:56:31 +02:00
Veronica Berglyd Olsen
839bc778aa Add test coverage of GuiBuildSettings tool 2023-07-17 20:06:46 +02:00
Veronica Berglyd Olsen
f502411079 Complete test coverage of doc build module 2023-06-24 19:14:22 +02:00
Veronica Berglyd Olsen
151e4b2770 Change build filter to skip empty root folders 2023-06-24 18:25:44 +02:00
Veronica Berglyd Olsen
4b194752eb Complete test coverage of build settings module 2023-06-18 19:22:42 +02:00
Veronica Berglyd Olsen
73451faa31 Add test coverage of build settings class 2023-06-17 17:30:37 +02:00
Veronica Berglyd Olsen
a3f0d5b865 Fix bug in options file conversion 2023-06-15 23:54:16 +02:00
Veronica Berglyd Olsen
6193e3191b Fix minor issue in session log conversion 2023-06-15 23:26:27 +02:00
Veronica Berglyd Olsen
0689e977ea Rename and restructure project meta files (#1464) 2023-06-15 23:13:14 +02:00
Veronica Berglyd Olsen
028abc0ce9 Update storage class and test coverage of it 2023-06-15 23:05:21 +02:00
Veronica Berglyd Olsen
ca2964c037 Add test coverage of session log class 2023-06-15 00:19:47 +02:00
Veronica Berglyd Olsen
2a1324e6cc Make error dialog report a monospace font 2023-06-13 23:18:22 +02:00
Veronica Berglyd Olsen
61535b6ab6 Fix minor mistakes in source files from last commits 2023-06-13 22:57:19 +02:00
Veronica Berglyd Olsen
90012aff17 Fix test coverage of writingstats class 2023-06-13 22:32:17 +02:00
Veronica Berglyd Olsen
b2bfaad73d Fix test coverage of outline class 2023-06-13 22:15:14 +02:00
Veronica Berglyd Olsen
26e6845439 Fix test coverage of spell check classes 2023-06-13 21:54:06 +02:00
Veronica Berglyd Olsen
b7bb2988e8 Fix test coverage of options class 2023-06-13 21:11:05 +02:00
Veronica Berglyd Olsen
f33ba03a2f Fix test coverage of wordlist dialog 2023-06-13 21:10:11 +02:00
Veronica Berglyd Olsen
8d38f27eee Update gui options file format to macth others 2023-06-13 17:31:40 +02:00
Veronica Berglyd Olsen
0003f8c24d Change format of wordlist.txt file to json 2023-06-13 17:31:16 +02:00
Veronica Berglyd Olsen
9ac61105f3 Annotate index class and change file format slightly to match others 2023-06-13 17:30:07 +02:00
Veronica Berglyd Olsen
1b85f782a6 Update writing stats dialog to work with new log file 2023-06-13 17:29:15 +02:00
Veronica Berglyd Olsen
eba6783816 Move session log handling to a separate class, and use jsonl format 2023-06-12 01:50:27 +02:00
Veronica Berglyd Olsen
aea41032ef Add one more random error message 2023-06-11 22:51:03 +02:00
Veronica Berglyd Olsen
f572eed5be Update Docs (#1462) 2023-06-10 13:16:23 +02:00
Veronica Berglyd Olsen
9cd3e78043 Merge branch 'main' into update_docs 2023-06-10 13:15:12 +02:00
Veronica Berglyd Olsen
f9a4d7ec1f Make a couple of corrections 2023-06-10 13:13:36 +02:00
Veronica Berglyd Olsen
98692eb2fe Fix some sizing issues in the manuscript tools 2023-06-10 13:07:47 +02:00
Veronica Berglyd Olsen
8e6bb0b3d6 Fix outline margin so last column can be resized 2023-06-10 01:14:25 +02:00
Veronica Berglyd Olsen
6f02f3f74d Simplify how outline column headers are saved 2023-06-10 00:45:25 +02:00
Veronica Berglyd Olsen
00350140d3 Rename index and options meta files 2023-06-10 00:44:52 +02:00
Veronica Berglyd Olsen
a87cc64766 Add a new GUI for the Build Tool (#1389) 2023-06-09 22:18:28 +02:00
Veronica Berglyd Olsen
0eb39d2e0a Clean up a few remnants of old test code 2023-06-09 22:06:38 +02:00
Veronica Berglyd Olsen
112aa8468c Finish up controls on manuscript build tool 2023-06-09 22:06:05 +02:00
Veronica Berglyd Olsen
c344cf441e Add back print functionality to manuscript tool 2023-06-09 21:31:02 +02:00
Veronica Berglyd Olsen
5f4b6009ce Complete the manuscript build dialog, and the doc builder class 2023-06-09 21:07:46 +02:00
Veronica Berglyd Olsen
8b7aab36a2 Add circular progress bar on manuscript preview 2023-06-08 23:33:16 +02:00
Veronica Berglyd Olsen
8ef1a12201 Use enums for build formats 2023-06-08 23:32:32 +02:00
Veronica Berglyd Olsen
4ee452d186 Add a circular progress bar to the manuscript build tool 2023-06-07 22:37:47 +02:00
Veronica Berglyd Olsen
3bcb4a5091 Add back the file name label on manuscript build dialog 2023-06-06 22:47:37 +02:00
Veronica Berglyd Olsen
b09068ab99 Add annotations to odt class 2023-06-06 22:12:56 +02:00
Veronica Berglyd Olsen
6b6c517b1f Add annotations to tokenizer, html and markdown classes 2023-06-06 00:35:57 +02:00
Veronica Berglyd Olsen
850ee73ed4 Simplify core variables in tokenizer 2023-06-06 00:03:46 +02:00
Veronica Berglyd Olsen
67f1dd6677 Clean up variables in doc builder 2023-06-06 00:03:27 +02:00
Veronica Berglyd Olsen
9bc66128a7 Complete the build process in the build tool 2023-06-05 23:39:28 +02:00
Veronica Berglyd Olsen
b0201c58e9 Add Table of Contents to build dialog 2023-06-05 21:49:30 +02:00
Veronica Berglyd Olsen
18df119332 Update build tools icons 2023-06-05 17:19:32 +02:00
Veronica Berglyd Olsen
bc38ea19ba Merge branch 'dev' into feature/build_gui 2023-06-05 17:13:23 +02:00
Veronica Berglyd Olsen
a730e8747f Optimise all SVG icons (#1456) 2023-06-05 17:11:56 +02:00
Veronica Berglyd Olsen
62b0e7f9ca Optimise all SVG icons 2023-06-05 16:52:13 +02:00
Veronica Berglyd Olsen
ee9da2bdf1 Improve the manuscript GUIs a bit 2023-06-05 00:25:02 +02:00
Veronica Berglyd Olsen
2f0ac4fe17 Fix Qt.UserRole access warning 2023-06-05 00:08:11 +02:00
Veronica Berglyd Olsen
033b9f2a59 Update the zipIt function to include new files 2023-06-04 21:25:03 +02:00
Veronica Berglyd Olsen
3996ff8798 Assemble most of the Manuscript Build tool 2023-06-04 20:58:50 +02:00
Veronica Berglyd Olsen
5f6335d8f9 Fix some typing issues 2023-06-04 00:40:04 +02:00
Veronica Berglyd Olsen
135ba3f290 Update the project storage class 2023-06-03 19:05:18 +02:00
Veronica Berglyd Olsen
8ef3b3e09a Add project file revision number, and update all test reference files 2023-06-03 18:37:41 +02:00
Veronica Berglyd Olsen
0704812376 Remove titleFormat from project XML and rename mock test file 2023-06-03 18:13:02 +02:00
Veronica Berglyd Olsen
db8140418e Fix typing and docstrings in Project data and XML classes 2023-06-03 18:05:04 +02:00
Veronica Berglyd Olsen
d915b1b02c Remove old test reference files 2023-06-03 17:13:54 +02:00
Veronica Berglyd Olsen
4c439910dc Remove the old build tool 2023-06-03 17:03:30 +02:00
Veronica Berglyd Olsen
9514578554 Add the build preview functionality from the old build tool 2023-06-03 16:51:45 +02:00
Veronica Berglyd Olsen
3a2733eee5 Make new code pass docstring linting 2023-06-03 15:46:51 +02:00
Veronica Berglyd Olsen
7ff5ffaebd Remove python 3.12-dev tests again 2023-06-01 15:46:39 +02:00
Veronica Berglyd Olsen
dbb8f4fa5a Remove lxml as a test dependency 2023-06-01 15:41:56 +02:00
Veronica Berglyd Olsen
8631ea3d5a Update test CI jobs 2023-06-01 15:39:42 +02:00
Veronica Berglyd Olsen
58dee60297 Merge branch 'dev' into feature/build_gui 2023-06-01 15:29:00 +02:00
Veronica Berglyd Olsen
0a70adeceb Update ignored error codes for flake8 2023-06-01 15:27:29 +02:00
Veronica Berglyd Olsen
31e76e429b Merge branch 'main' into dev 2023-06-01 15:26:08 +02:00
Veronica Berglyd Olsen
277bd783b1 Clean up workflows 2023-06-01 10:56:11 +02:00
Veronica Berglyd Olsen
3e34721b66 Make gui class debug messages consistent 2023-06-01 00:31:42 +02:00
Veronica Berglyd Olsen
8fdec71f4b Improve how manuscript dialog closing is handled 2023-06-01 00:12:27 +02:00
Veronica Berglyd Olsen
510b6ff6d2 Add simple build preview 2023-05-31 18:10:41 +02:00
Veronica Berglyd Olsen
704fffada3 Move all code to set default text font into the Config class 2023-05-31 17:49:31 +02:00
Veronica Berglyd Olsen
74f46f4633 Update broken test by merge from dev 2023-05-29 22:22:18 +02:00
Veronica Berglyd Olsen
c49e743f4d Merge branch 'dev' into feature/build_gui 2023-05-29 22:20:08 +02:00
Veronica Berglyd Olsen
b7eb4d3567 Remove lxml dependency (#1452) 2023-05-29 22:18:46 +02:00
Veronica Berglyd Olsen
ebc3b1f745 Fix redundant line wrapping in ODT header style 2023-05-29 22:12:55 +02:00
Veronica Berglyd Olsen
af923d6050 Remove references and checks for lxml 2023-05-29 21:52:43 +02:00
Veronica Berglyd Olsen
1d90d6d385 Update XML classes and tests 2023-05-29 21:47:13 +02:00
Veronica Berglyd Olsen
a40275c431 Make the xmlIndent function the permanent solution 2023-05-29 21:35:16 +02:00
Veronica Berglyd Olsen
2a82fd628c Fix logging bug in init 2023-05-29 21:34:48 +02:00
Veronica Berglyd Olsen
a7ffbb0965 Update Odt tests 2023-05-29 20:04:40 +02:00
Veronica Berglyd Olsen
22e0f82654 Replaxe lxml with standard library xml in ODT class 2023-05-29 20:04:28 +02:00
Veronica Berglyd Olsen
47a6ae5031 Remove test runs for Python 3.7 2023-05-29 18:23:00 +02:00
Veronica Berglyd Olsen
652013b622 Fix last broken test 2023-05-29 17:58:23 +02:00
Veronica Berglyd Olsen
af67f5081e Fix test reference files 2023-05-29 17:16:58 +02:00
Veronica Berglyd Olsen
59931c804c Replace lxml with standard xml for project files 2023-05-29 17:00:52 +02:00
Veronica Berglyd Olsen
7c9bff71f0 Make sure main logger only creates a single stream handle 2023-05-24 22:39:24 +02:00
Veronica Berglyd Olsen
ad6b517c1d Rename manuscript build tool file and add build dialog 2023-05-24 22:38:47 +02:00
Veronica Berglyd Olsen
a1837d8153 Clean up old heading format usage 2023-05-24 00:50:05 +02:00
Veronica Berglyd Olsen
cd81ea5fbb Fix tests 2023-05-24 00:27:29 +02:00
Veronica Berglyd Olsen
e3744d31aa Move heading formatting into a separate class 2023-05-24 00:27:09 +02:00
Veronica Berglyd Olsen
fda647da54 Fix a few issues with the build settings dialog 2023-05-23 18:39:52 +02:00
Veronica Berglyd Olsen
6ab734b9e7 Add last tab in build settings and tweak filter tab a little 2023-05-23 18:18:15 +02:00
Veronica Berglyd Olsen
c302162d1f Add build settings Content and Format tabs 2023-05-23 16:39:43 +02:00
Veronica Berglyd Olsen
06b46bb0d3 Update config layout extension class 2023-05-23 16:39:05 +02:00
Veronica Berglyd Olsen
2592423637 Update build dialog and make doc build class compatible with build settings 2023-05-22 21:58:05 +02:00
Veronica Berglyd Olsen
854cc77220 Add list of builds to manuscript build dialog 2023-05-22 18:38:58 +02:00
Veronica Berglyd Olsen
0a2355488e Simplify build settings dialog 2023-05-22 16:25:33 +02:00
Veronica Berglyd Olsen
a212900554 Add a Headings format edit form 2023-05-18 19:30:42 +02:00
Veronica Berglyd Olsen
79a28b9e43 Add handling of build settings and build name 2023-05-18 17:41:29 +02:00
Veronica Berglyd Olsen
90a6cecd52 Merge branch 'dev' into feature/build_gui 2023-05-16 23:45:22 +02:00
Veronica Berglyd Olsen
03a19a882b Rewrite config mocking (#1447) 2023-05-16 23:29:56 +02:00
Veronica Berglyd Olsen
4371d123ac Fix docs URL (#1446) 2023-05-16 23:22:20 +02:00
Veronica Berglyd Olsen
70ea5e0bae Fix broken documentation URL 2023-05-16 23:04:24 +02:00
Veronica Berglyd Olsen
db70394af3 Move all URLs to the nwConst class 2023-05-16 23:02:31 +02:00
Veronica Berglyd Olsen
324b204eaa Drop all mappings of config object into classes now that tests don't need that 2023-05-16 23:00:30 +02:00
Veronica Berglyd Olsen
7f8ffb228e Remove dependency on .mainConf class variable in tests 2023-05-16 00:40:56 +02:00
Veronica Berglyd Olsen
cdb501ae26 Improve debug strings in Config class 2023-05-16 00:34:28 +02:00
Veronica Berglyd Olsen
e8c6e50e92 Remove code for mocking CONFIG object and instead reset it for each test 2023-05-16 00:34:11 +02:00
Veronica Berglyd Olsen
35731ca4f7 Make build settings dialog work with single settings object 2023-05-15 15:27:02 +02:00
Veronica Berglyd Olsen
5685963b59 Modify logic so build settings are edited separately 2023-05-13 20:24:33 +02:00
Veronica Berglyd Olsen
26430e642c Add a new Manuscript Build tool 2023-05-13 19:20:31 +02:00
Veronica Berglyd Olsen
ff0a4b03ae Rename GuiBuildManuscript to GuiBuildSettings 2023-05-13 19:02:21 +02:00
Veronica Berglyd Olsen
a4e5a88686 Add heading format fields 2023-05-13 19:00:10 +02:00
Veronica Berglyd Olsen
50f653fefb Add splitter to filter page and save to options 2023-05-13 17:59:43 +02:00
Veronica K. B. Olsen
a9d5974346 Add root class filtering 2023-05-09 22:00:30 +02:00
Veronica Berglyd Olsen
4c4139078a Add icons to document filters 2023-05-07 19:36:52 +02:00
Veronica Berglyd Olsen
46b4e39bf5 Add code to filter items in build tool based on layout and active status 2023-05-07 19:21:07 +02:00
Veronica Berglyd Olsen
e7a148d20d Merge branch 'dev' into feature/build_gui 2023-05-07 16:57:52 +02:00
Veronica Berglyd Olsen
76daa3f463 Update setup files (#1436) 2023-05-05 00:26:28 +02:00
Veronica Berglyd Olsen
9f22c51c8a Add deprecation info to help output 2023-05-04 23:47:01 +02:00
Veronica Berglyd Olsen
023c0da879 Add deprecation warning about setup.py 2023-05-04 23:32:55 +02:00
Veronica Berglyd Olsen
18cc8b91dc Update documentation on how to install novelWriter from source, and improve build script for pip 2023-05-04 23:17:25 +02:00
Veronica Berglyd Olsen
7a855a3520 Update pyproject.toml according to setuptools docs 2023-05-04 23:09:33 +02:00
Veronica Berglyd Olsen
36352d4a17 Fix a few warnings with setup.cfg and add the zip_safe option 2023-05-04 22:05:01 +02:00
Veronica Berglyd Olsen
b9351dba11 Update package build scripts (#1433) 2023-05-03 22:43:03 +02:00
Veronica Berglyd Olsen
8d4e555374 Fix a few help strings in setup 2023-05-03 22:34:53 +02:00
Veronica Berglyd Olsen
934ebcfc7e Switch shasum command on mac build 2023-05-03 13:29:54 +02:00
Veronica Berglyd Olsen
128092e537 Put all build assets in a single zip file 2023-05-03 12:39:51 +02:00
Veronica Berglyd Olsen
ff22722662 Fix artifact names and add shasum files 2023-05-03 12:36:33 +02:00
Veronica Berglyd Olsen
7159a07f91 Fix build action artifact upload 2023-05-02 12:52:22 +02:00
Veronica Berglyd Olsen
0ae42ef876 Simplify package names 2023-05-02 12:46:58 +02:00
Veronica Berglyd Olsen
d66953d3ac Add a bash script to generate a desktop launcher 2023-04-23 17:23:21 +02:00
Veronica Berglyd Olsen
d1c62e4bbc Docs: Add a note about escape characters for text emphasis 2023-04-22 10:06:23 +02:00
Veronica Berglyd Olsen
f1b764761c Fix error in docstring 2023-04-22 09:52:51 +02:00
Veronica Berglyd Olsen
b0c5fe6509 Make some further minor improvements to Mac build script 2023-04-18 18:57:33 +02:00
Veronica Berglyd Olsen
9daf1f1ca0 Clean up Mac build a bit 2023-04-18 18:44:08 +02:00
Veronica Berglyd Olsen
96bed5b3d5 Update copyright year 2023-04-18 18:43:55 +02:00
Veronica Berglyd Olsen
59f0beeba6 Remove the bundled lupdate6 tool and use the PyQt6 package 2023-04-18 18:17:33 +02:00
Veronica Berglyd Olsen
c7ba7b5d3a Add a link to the regular expression Qt docs for the search/replace tool 2023-04-18 11:07:33 +02:00
Veronica Berglyd Olsen
29386e8595 Add a switch box widget and use it for filter options in build 2023-04-16 21:19:09 +02:00
Veronica Berglyd Olsen
b6dceacaf0 Merge branch 'dev' into feature/build_gui 2023-04-16 19:46:54 +02:00
Veronica Berglyd Olsen
58702a8956 Release 2.0.7 (#1419) 2023-04-16 11:35:33 +02:00
Veronica Berglyd Olsen
8cdb7c245c Bump version to 2.0.7 and update changelog 2023-04-15 20:52:40 +02:00
Veronica Berglyd Olsen
1a716d858b Update translation files 2023-04-15 20:28:01 +02:00
Veronica Berglyd Olsen
c45f786066 Fix escaped markdown not being cleaned up for HTML and ODT (#1418) 2023-04-15 18:55:30 +02:00
Veronica Berglyd Olsen
574ed1b2f0 Improve test coverage 2023-04-15 18:46:32 +02:00
Veronica Berglyd Olsen
38f31d6a64 Remove the tokenizer post processing stage and instead run it where needed (Issue #1412) 2023-04-15 18:30:37 +02:00
Veronica Berglyd Olsen
6d0455bf28 Replace underscores with spaces when running spell checker (#1417) 2023-04-13 19:37:25 +02:00
Veronica Berglyd Olsen
b9d149a56a Improve how underscores are treated by spell checker (#1415) 2023-04-13 19:22:21 +02:00
Veronica Berglyd Olsen
4e64d522a1 Merge branch 'dev' into feature/build_gui 2023-04-13 18:21:41 +02:00
Veronica Berglyd Olsen
5460536bbc Fix CI trigger branches 2023-04-13 18:17:12 +02:00
Veronica Berglyd Olsen
239bc886a5 Fix spell check refresh (for small documents) (#1416) 2023-04-13 18:14:43 +02:00
Veronica Berglyd Olsen
0ffb6eee37 Allow clearing the spell check highlighting also on big docs 2023-04-13 18:11:59 +02:00
Veronica Berglyd Olsen
cf770ff77f Remove the condition that spell checking must be enabled to refresh highlighting (Issue #1414) 2023-04-13 17:57:14 +02:00
Veronica Berglyd Olsen
8c9f84d251 Build AppImage for older Linux distros (#1410) 2023-04-04 20:54:12 +02:00
Veronica Berglyd Olsen
5bb78f3f0d Use pip for build dependencies for assets 2023-04-04 19:51:02 +02:00
Veronica Berglyd Olsen
5e985af37b Add additional manylinux version to appimage build 2023-04-04 19:45:27 +02:00
Veronica Berglyd Olsen
f18b8ed7f3 Update i18n (#1407) 2023-04-04 19:36:00 +02:00
Veronica Berglyd Olsen
304d659c9f Merge branch 'main' into update_i18n 2023-04-04 19:33:13 +02:00
Veronica Berglyd Olsen
3a9d8dea27 Add back in RTD pdf build 2023-04-04 19:19:49 +02:00
Veronica Berglyd Olsen
95713f8e09 Update docs (#1409) 2023-04-04 19:13:09 +02:00
Veronica Berglyd Olsen
660c15bfe9 Simplify the main Readme as most user info is now on the website 2023-04-04 19:09:14 +02:00
Veronica Berglyd Olsen
54806ba753 Clean up documentation a little and point to new doc location 2023-04-04 18:35:39 +02:00
Veronica Berglyd Olsen
42dd7ce0d7 Change doc urls to point to main website instead of RTD 2023-04-04 18:34:37 +02:00
Veronica Berglyd Olsen
33b80244ea Merge branch 'main' into update_i18n 2023-04-04 17:50:36 +02:00
Veronica Berglyd Olsen
860125e19a Turn main into only release branch (#1408) 2023-04-04 17:47:52 +02:00
Veronica Berglyd Olsen
835165f012 Restore last version on main branch 2023-04-04 17:44:25 +02:00
Veronica Berglyd Olsen
3c7775aaa2 Remove dev code from main 2023-04-04 17:35:40 +02:00
Veronica Berglyd Olsen
97bf638b6f Merge branch 'patch' into cleanup_main 2023-04-04 17:31:36 +02:00
Veronica Berglyd Olsen
3873be2927 Add Japanese translation 2023-04-04 10:48:02 +02:00
Veronica Berglyd Olsen
48453bb46b Update latest translations 2023-04-04 10:45:25 +02:00
Veronica Berglyd Olsen
6a0a22b164 Merge branch 'patch' into update_i18n 2023-04-03 22:13:36 +02:00
Veronica Berglyd Olsen
590c03c17d Apply 'new item' rules in project tree (#1406) 2023-04-03 22:12:46 +02:00
Veronica Berglyd Olsen
db1cda65c3 Add check for root class before allowing adding novel documents in project tree new item (#1404) 2023-04-03 22:06:57 +02:00
Veronica Berglyd Olsen
bc1861887e Minor GUI Fixes (#1405) 2023-04-03 21:45:33 +02:00
Veronica Berglyd Olsen
7cd5d2740f Update base translation file 2023-04-03 21:34:58 +02:00
Veronica Berglyd Olsen
740e3be74b Fix project tree rename label (#1403) 2023-04-03 21:34:38 +02:00
Veronica Berglyd Olsen
00abb02ac1 Add the desktopFileName setting to the application for better support for Linux desktops 2023-04-03 21:31:07 +02:00
Veronica Berglyd Olsen
489fa20f18 Update latest translations with some minor additions and changes 2023-04-03 17:30:25 +02:00
Veronica Berglyd Olsen
3a569e0268 Fix typo 2023-03-21 09:17:09 +01:00
Veronica Berglyd Olsen
8bada3c468 Clarify instructions on how to download dictionaries on Windows 2023-03-20 22:36:49 +01:00
Veronica Berglyd Olsen
357d1fa83b Update docs theme from main branch 2023-03-10 16:47:47 +01:00
Veronica Berglyd Olsen
0a68ad1b07 Update docs theme (#1395) 2023-03-10 16:44:53 +01:00
Veronica Berglyd Olsen
8f8498ca6d Switch docs theme to Sphinx Book Theme 2023-03-10 16:29:41 +01:00
Veronica Berglyd Olsen
ab4cb93aaa Fix typo in docs 2023-03-07 23:03:30 +01:00
Veronica Berglyd Olsen
51b45de19e Revert mistake in docs about format changes 2023-03-05 11:44:43 +01:00
Veronica Berglyd Olsen
5639df7efd Add buttons to set filter mode on build items 2023-02-28 23:19:57 +01:00
Veronica Berglyd Olsen
9af273bf8f Add functionality to build project tree in build tool 2023-02-28 22:40:23 +01:00
Veronica Berglyd Olsen
cfd1b950d3 Rename item isInactive to isInactiveClass 2023-02-28 22:40:02 +01:00
Veronica Berglyd Olsen
8a4785d9a3 Add build tool icons to theme 2023-02-28 22:39:09 +01:00
Veronica Berglyd Olsen
ba5b4ece30 Change menu entries so tests run properly 2023-02-28 21:22:24 +01:00
Veronica Berglyd Olsen
0a8ed86b7c Finish the build tool pages and add feature to set selected button 2023-02-28 18:24:09 +01:00
Veronica Berglyd Olsen
d166697622 Merge branch 'main' into feature/build_gui 2023-02-28 18:13:46 +01:00
Veronica Berglyd Olsen
9fdfe7616c Change resize behaviour of main splitter (#1388) 2023-02-28 13:32:18 +01:00
Veronica Berglyd Olsen
21db406cf3 Change resize behaviour of main splitter to only scale editor area 2023-02-28 12:45:42 +01:00
Veronica Berglyd Olsen
eb39f5eeba Add tip in docs on how to get the Ubuntu key imported on Debian 2023-02-27 15:09:16 +01:00
Veronica Berglyd Olsen
3125df95d3 Update translations 2023-02-26 21:50:58 +01:00
Veronica Berglyd Olsen
dfcf23cd26 Merge 2.0.6 (#1384) 2023-02-26 21:37:49 +01:00
Veronica Berglyd Olsen
9d11d479a4 Merge branch 'main' into merge_2.0.6 2023-02-26 21:33:37 +01:00
Veronica Berglyd Olsen
86d324a113 Release 2.0.6 (#1382) 2023-02-26 21:02:22 +01:00
Veronica Berglyd Olsen
026f0b921c Complete changelog and update release notes 2023-02-26 12:00:39 +01:00
Veronica Berglyd Olsen
afa9675644 Merge branch 'patch' into release_2.0.6 2023-02-26 11:53:39 +01:00
Veronica Berglyd Olsen
a7ba0ec575 Backport docs from main (#1381) 2023-02-26 11:51:53 +01:00
Veronica Berglyd Olsen
bba605ee5a Fix link format in tech docs 2023-02-26 11:40:46 +01:00
Veronica Berglyd Olsen
09083ac4f5 Backport document changes from main 2023-02-26 11:37:28 +01:00
Veronica Berglyd Olsen
916f782df9 Bump version and update changelog 2023-02-26 11:15:20 +01:00
Veronica Berglyd Olsen
2f3a8f505f Fix GUI bugs and broken reference links (#1379) 2023-02-26 11:09:10 +01:00
Veronica Berglyd Olsen
4ff8c6a26f Don't set project tree focus when setting selected handle (#1369) 2023-02-26 10:56:06 +01:00
Veronica Berglyd Olsen
1952906829 Switch focus to tree when creating new item (#1376) 2023-02-26 10:35:14 +01:00
Veronica Berglyd Olsen
acd4d44a9e Fix reference panel links (#1378) 2023-02-26 10:30:25 +01:00
Veronica Berglyd Olsen
f14098d87b Merge branch 'main' into feature/build_gui 2023-02-25 18:50:59 +01:00
Veronica Berglyd Olsen
a1c3ab688a Update docs and add HowTo (#1377) 2023-02-25 18:48:37 +01:00
Veronica Berglyd Olsen
1648ad2d02 Add a contributing note to the howto docs 2023-02-25 18:48:04 +01:00
Veronica Berglyd Olsen
cc6636fe3c Add a HowTo section 2023-02-25 18:41:40 +01:00
Veronica Berglyd Olsen
e50bb72dc7 Add some more space above sections 2023-02-25 18:35:39 +01:00
Veronica Berglyd Olsen
fd390c2cba Increase font size for admonitions in docs 2023-02-23 08:19:05 +01:00
Veronica Berglyd Olsen
2365bcbcaf Restore main page link in docs 2023-02-22 22:11:51 +01:00
Veronica Berglyd Olsen
d934f2bb6b Fix download link in docs 2023-02-22 21:24:11 +01:00
Veronica Berglyd Olsen
8b2566b9fe Add signal to paged sidebar 2023-02-22 21:07:01 +01:00
Veronica Berglyd Olsen
a507e64163 No need for the mbuild folder 2023-02-21 18:46:10 +01:00
Veronica Berglyd Olsen
9d61432641 Add a basic build settings class, and add the paged sidebar to the mbuild dialog 2023-02-21 18:15:04 +01:00
Veronica Berglyd Olsen
981111d380 Complete the paged sidebar widget 2023-02-21 18:14:20 +01:00
Veronica Berglyd Olsen
0f0c9eacb1 Rename custom to extensions to avoid import issues 2023-02-21 16:47:30 +01:00
Veronica Berglyd Olsen
7a60d8d867 Add a custom widgets subpackage 2023-02-21 16:06:41 +01:00
Veronica Berglyd Olsen
06407a44d3 Add tabs to manuscript build tool 2023-02-13 21:34:40 +01:00
Veronica Berglyd Olsen
1c17bcc981 Add the Build Manuscript tool and connect it to the main menu 2023-02-13 20:00:56 +01:00
Veronica Berglyd Olsen
e92f2a9141 Copy "Getting Started" docs over from main branch 2023-02-13 19:27:30 +01:00
Veronica Berglyd Olsen
c8182c0293 Update "Getting Started" in docs (#1366) 2023-02-13 19:24:35 +01:00
Veronica Berglyd Olsen
d78f13839e Clean up the gettings started document 2023-02-13 08:46:06 +01:00
Veronica Berglyd Olsen
ed892f3f15 Move the section on setting up Python on Windows to the PyPi part 2023-02-13 08:38:19 +01:00
Veronica Berglyd Olsen
902dcc6ba7 Update MacOS install instructions formatting 2023-02-13 08:34:17 +01:00
Veronica Berglyd Olsen
43fd9db038 Merge branch 'main' into docs/getting_started 2023-02-13 08:22:25 +01:00
Veronica Berglyd Olsen
c6da74b21c Update MacOS instructions in the docs (#1365) 2023-02-13 08:21:31 +01:00
Rachel Powers
5362205605 Add Macos install instructions to the docs 2023-02-12 20:38:34 -07:00
Veronica Berglyd Olsen
30d5be44eb Bump version to 2.1-alpha0 2023-02-13 00:23:54 +01:00
Veronica Berglyd Olsen
9a50303068 Merge branch 'patch' 2023-02-13 00:20:51 +01:00
Veronica Berglyd Olsen
9ec8fea5f1 Improve build workflows (#1364) 2023-02-13 00:18:38 +01:00
Veronica Berglyd Olsen
1aecf19a03 Fix environment vars 2023-02-12 23:49:03 +01:00
Veronica Berglyd Olsen
0ab86913a7 Fix AppImage and MacOS builds 2023-02-12 23:32:11 +01:00
Veronica Berglyd Olsen
8448ec7b61 Add AppImage to build workflow 2023-02-12 23:27:15 +01:00
Veronica Berglyd Olsen
d672ec05e9 Fix artifact names 2023-02-12 22:33:40 +01:00
Veronica Berglyd Olsen
d71a277af7 Change order of macos build, and add more output 2023-02-12 22:11:32 +01:00
Veronica Berglyd Olsen
8488a85288 Update docs info on debian install 2023-02-12 21:46:15 +01:00
Veronica Berglyd Olsen
81e23f6a2a Merge 2.0.5 (#1363) 2023-02-12 17:38:40 +01:00
Veronica Berglyd Olsen
955d8c8fe2 Enable short retention time for build 2023-02-12 17:30:40 +01:00
Veronica Berglyd Olsen
d9057b8581 Fix broken doc build test 2023-02-12 17:30:26 +01:00
Veronica Berglyd Olsen
79f39c1bc3 Merge branch 'main' into merge_2.0.5 2023-02-12 17:24:42 +01:00
Veronica Berglyd Olsen
0b9ba78fac Release 2.0.5 (#1356) 2023-02-12 16:10:48 +01:00
Veronica Berglyd Olsen
c42f2e755c Make ODT tests ignore version number 2023-02-12 16:07:36 +01:00
Veronica Berglyd Olsen
2f0018ddfe Merge branch 'patch' into release_2.0.5 2023-02-12 16:04:10 +01:00
Veronica Berglyd Olsen
c4fd25ba56 Update changelog and release notes 2023-02-12 16:03:43 +01:00
Veronica Berglyd Olsen
f6a9fdd7ca Update completed and new translations (#1341) 2023-02-12 15:55:57 +01:00
Veronica Berglyd Olsen
dcadaddedf Merge branch 'patch' into update_i18n 2023-02-12 15:49:41 +01:00
Veronica Berglyd Olsen
b0952a38be Make ODT build pass validation entries (#1360) 2023-02-12 15:33:44 +01:00
Veronica Berglyd Olsen
7638db21ec Fix tests 2023-02-12 15:12:39 +01:00
Veronica Berglyd Olsen
c39e37c799 Add more meta data to supporet adding fields in LibreOffice 2023-02-12 14:44:01 +01:00
Veronica Berglyd Olsen
5796d55531 Title elements should be paragraph, not heading to be valid ODF 2023-02-12 13:27:43 +01:00
Veronica Berglyd Olsen
cce1ef54d8 Fix Open Document warning on settings.xml and bump version to 1.3 2023-02-12 12:54:05 +01:00
Veronica Berglyd Olsen
4b7a4e0789 Fix capitalisation in Portuguese translation 2023-02-12 08:36:30 +01:00
Veronica Berglyd Olsen
c2dd579eb4 Add Italian translation 2023-02-12 08:32:02 +01:00
Veronica Berglyd Olsen
ee550c2213 Update translations 2023-02-12 08:31:55 +01:00
Veronica Berglyd Olsen
6ed7c6f5a7 Update version and changelog 2023-02-10 21:50:10 +01:00
Veronica Berglyd Olsen
cd4bae976f Merge branch 'patch' into update_i18n 2023-02-10 21:16:07 +01:00
Veronica Berglyd Olsen
917a4375db Fix issues with novel tree last column (#1355) 2023-02-10 21:07:27 +01:00
Veronica Berglyd Olsen
7fe85ddfde Update base translation file 2023-02-10 20:59:26 +01:00
Veronica Berglyd Olsen
c1f1013cfd Improve test coverage 2023-02-10 20:55:37 +01:00
Veronica Berglyd Olsen
cf742a89c0 Add a menu entry to change column size for last column in novel tree 2023-02-10 20:49:47 +01:00
Veronica Berglyd Olsen
fd14c682a9 Allow more than one item in extra column 2023-02-10 20:16:49 +01:00
Veronica Berglyd Olsen
032ab630c1 Fix block formatting issues (#1354) 2023-02-10 20:11:26 +01:00
Veronica Berglyd Olsen
aa3fe96158 Add some comments to explain what's going on in the block formatting 2023-02-10 20:07:52 +01:00
Veronica Berglyd Olsen
5b20061607 Only insert line break for block formats if the block already has text (#1349, #1350) 2023-02-10 20:01:46 +01:00
Veronica Berglyd Olsen
e9876b4d42 Update docs and project file format specs (#1353) 2023-02-10 19:40:55 +01:00
Veronica Berglyd Olsen
faa644b274 Also link filr format speck in tech docs 2023-02-10 19:30:07 +01:00
Veronica Berglyd Olsen
709ea059cb Fix a typo in the index page note 2023-02-10 19:25:50 +01:00
Veronica Berglyd Olsen
723b44b6db Fix some issues with the fila format spec document 2023-02-09 17:22:02 +01:00
Veronica Berglyd Olsen
72574dd8a6 Make some modifications to docs config 2023-02-09 17:21:13 +01:00
Veronica Berglyd Olsen
6aafbbae3e Add a document builder class (#1316) 2023-02-06 23:23:41 +01:00
Veronica Berglyd Olsen
0b93e4a61a Merge branch 'main' into feature/build_class 2023-02-06 23:05:59 +01:00
Veronica Berglyd Olsen
5c30e1ae33 Merge branch 'patch' into update_i18n 2023-02-05 18:48:43 +01:00
Veronica Berglyd Olsen
25ab8ccbce Add project content path check (#1342) 2023-02-05 18:39:36 +01:00
Veronica Berglyd Olsen
492d94ee6e Check that content path exists before returning it from storage class (#1317) 2023-02-05 18:12:50 +01:00
Veronica Berglyd Olsen
6d45194253 Update completed translations and add Russian project file 2023-02-05 14:13:21 +01:00
Veronica Berglyd Olsen
cdbfcafc38 Make patch workflow match main 2023-02-05 00:16:30 +01:00
Veronica Berglyd Olsen
437fe010b0 Add a basic build file to main 2023-02-05 00:15:09 +01:00
Veronica Berglyd Olsen
5f6f853336 Only run packaging workflow on certain tags 2023-02-05 00:00:47 +01:00
Veronica Berglyd Olsen
75b20889f4 Changes to MacOS build (#1340) 2023-02-04 23:46:48 +01:00
Veronica Berglyd Olsen
6b1183392f Try using workflow_dispatch instead 2023-02-04 23:44:03 +01:00
Veronica Berglyd Olsen
652ce3848b Try out using environment in workflow 2023-02-04 23:34:00 +01:00
Veronica Berglyd Olsen
1d90ab9fc1 Reverting som changes that didn't matter 2023-02-04 23:12:14 +01:00
Veronica Berglyd Olsen
cc48f8f8aa Try removeing the python3.1 folder 2023-02-04 22:27:16 +01:00
Veronica Berglyd Olsen
44f624faf4 Try the -a option instead 2023-02-04 20:54:51 +01:00
Veronica Berglyd Olsen
b4813f904a Try the preserve symlinks flag in mac bundle build 2023-02-04 20:45:15 +01:00
Veronica Berglyd Olsen
8a5ff3ab85 Turn off short retention time for now 2023-02-04 19:47:10 +01:00
Veronica Berglyd Olsen
76e1d47d14 Merge branch 'patch' into feature/macos-bundle 2023-02-04 19:33:32 +01:00
Veronica Berglyd Olsen
0e529fd72f Rewrite macOS build workflow and make some changes to build script 2023-02-04 19:33:12 +01:00
Veronica Berglyd Olsen
74ead29433 Move MacOS plist info back to a template file, and simplify stuff in setup.py 2023-02-04 19:33:04 +01:00
Veronica Berglyd Olsen
08bc2938df Add MacOS bundle distribution (#1276) 2023-02-04 17:37:47 +01:00
Veronica Berglyd Olsen
a6d9ed0c8c Merge branch 'patch' into macos-appbundle 2023-02-04 17:35:04 +01:00
Veronica Berglyd Olsen
c9d768e138 Project Details dialog fixes (#1339) 2023-02-04 16:48:18 +01:00
Veronica Berglyd Olsen
4ba3297d17 Update base translation file 2023-02-04 16:45:53 +01:00
Veronica Berglyd Olsen
a5d05ab777 Improve time format of editing time on project details dialog (#1335) 2023-02-04 16:32:41 +01:00
Veronica Berglyd Olsen
4e815a5f86 Make sure project name, title and author cannot be set to string "None" 2023-02-04 16:29:51 +01:00
Veronica Berglyd Olsen
b1bc80a0cd Make sure title and author is always refreshed when project details dialog is opened (#1336) 2023-02-04 16:29:23 +01:00
Veronica Berglyd Olsen
b0f38c3e2f Merge branch 'main' into feature/build_class 2023-02-01 16:58:27 +01:00
Rachel Powers
af1233925e fix icns generation and bundle display name.
while the icns *can* be generated on linux it is much preferable to generate it on macos
it is checked in as a convience

this commit fixes the appbundle not displaying the icon corrected
and corrects the app being displayed as "python" in the top bar when the bundle is run

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-31 17:10:36 -07:00
Veronica Berglyd Olsen
71a8e72180 Merge branch 'patch' into macos-appbundle 2023-01-30 12:14:57 +01:00
Veronica Berglyd Olsen
8273fcca1e Update outdated info in main readme 2023-01-30 12:10:04 +01:00
Veronica Berglyd Olsen
9d46dde1c5 Fix typo in 2.0 release notes 2023-01-29 11:53:08 +01:00
Veronica Berglyd Olsen
0702154716 Merge branch 'main' into feature/build_class 2023-01-29 03:15:40 +01:00
Veronica Berglyd Olsen
0ad7dac3d3 Merge 2.0.4 (#1327) 2023-01-29 03:15:12 +01:00
Veronica Berglyd Olsen
f56f990085 Merge branch 'main' into merge_2.0.4 2023-01-29 03:11:30 +01:00
Veronica Berglyd Olsen
4f11990b93 Release 2.0.4 (#1326) 2023-01-29 02:44:08 +01:00
Veronica Berglyd Olsen
e4cc9ef5b5 Bump version to 2.0.4 and update changelog 2023-01-29 02:34:42 +01:00
Veronica Berglyd Olsen
fe6d4de025 Fix PyQt5 version check (#1325) 2023-01-29 02:27:06 +01:00
Veronica Berglyd Olsen
c9fe0cad05 Also fix import in the error handler 2023-01-29 02:22:14 +01:00
Veronica Berglyd Olsen
1437659a4e Drop the splitVersionNumber function 2023-01-29 02:14:21 +01:00
Veronica Berglyd Olsen
0c75a53e57 Fix wrong inport of PyQt5 version (#1324) 2023-01-29 02:13:32 +01:00
Veronica Berglyd Olsen
f04f4a3e04 Update some comments and docstrings in the index class 2023-01-25 15:05:59 +01:00
Veronica Berglyd Olsen
e2f7e77ec2 Mentione Qt SVG dependency for Arch Linux in the docs (#1319) 2023-01-21 23:03:46 +01:00
Veronica Berglyd Olsen
004828f76c Mention Qt SVG dependency for Arch Linux in the docs (#1320) 2023-01-21 23:00:42 +01:00
Veronica Berglyd Olsen
3d4dbd0bb0 Mention Qt SVG dependency for Arch Linux in the docs (#1319)
Signed-off-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2023-01-21 22:52:43 +01:00
Veronica Berglyd Olsen
3a0bae92be Rename the doc build functions 2023-01-12 10:21:36 +01:00
Veronica Berglyd Olsen
f569c66348 Add test coverage of the doc builder class 2023-01-11 12:30:08 +01:00
Veronica Berglyd Olsen
88cde331df Fix a few issues in the doc builder class 2023-01-11 12:29:52 +01:00
Veronica Berglyd Olsen
72e11601a0 Complete the first version of the doc builder class and add test 2023-01-10 17:59:23 +01:00
Veronica Berglyd Olsen
87256ee62f Merge branch 'main' into feature/build_class 2023-01-10 17:59:04 +01:00
Rachel Powers
beb95c49fa fix: fit artifact uploads
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-09 00:53:15 -07:00
Rachel Powers
f912d55177 refactor: move plist gen into setup.py
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 22:09:32 -07:00
Rachel Powers
b7e7a087f8 fix: remove codesign for now, only build on tags
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
82dd1c46cf fix: force build on this branch for testing
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
a228c4b32a Squashed commit of the following:
commit a1f358b6f0a193be7d3d72fa4082fa09701ebe16
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:48:38 2022 -0700

    fix: reneable the res of the build

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 8ed02b09aeb9c302e30023fcbf73c8b5e3bbc8ff
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:41:19 2022 -0700

    fix: install qt for tools

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit d68dc29d49f1a2547912fc97867126f4fc6d96c4
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:32:07 2022 -0700

    fix: add tex-gyre to texlive install

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit ff654a2a914cd00c867088baf147f8ccd70a185c
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 11:08:46 2022 -0700

    fix: add required latex pkgs

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 1a4babc11c274f69c6c04edddfc5011f9162759e
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 10:17:31 2022 -0700

    fix: install sphinx via pip3

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 4b602b0955fabc2b5067bae46c3408dab0f0dd72
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 10:05:46 2022 -0700

    fix: ensure sphinx is properly installed

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 59ad26f434d6c5391c2448724aa44587c2cf7a46
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 09:59:40 2022 -0700

    feat: install scheme-basic texlive pkg
    run setup.py in proper dir

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

commit 16cd50307fbd4519fd6ebdc719e78e99eb37d02b
Author: Rachel Powers <508861+Ryex@users.noreply.github.com>
Date:   Thu Dec 1 09:54:42 2022 -0700

    feat: build manual, translations, and sample project zip

    Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
682986d9b9 fix: add entitlements
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
b29b6d6eef fix: don't remove the python symlink
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
8a9a52da57 fix: pull the version from the python file
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
faf302c6d8 feat: add github workflow to build for macos
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel
f71afb5732 feat: cleanup build script
use python 3.10
use curl over wget (pre-installed)
ensure enchant is installed
cleanup better to limit app bundle size
fix Info.plist

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Rachel Powers
0eb7185d40 feat: add a macos build script
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-08 19:27:12 -07:00
Veronica Berglyd Olsen
286dbff47b Merge 2.0.3 (#1312) 2023-01-08 19:52:09 +01:00
Veronica Berglyd Olsen
a671878e26 Add build for Ubuntu 23.04 2023-01-08 19:26:37 +01:00
Veronica Berglyd Olsen
5f65819f40 Release 2.0.3 (#1311) 2023-01-08 19:14:54 +01:00
Veronica Berglyd Olsen
ef268dc386 Bump version to 2.0.3 and update changelog and release notes 2023-01-08 19:11:26 +01:00
Veronica Berglyd Olsen
41a0788b4c Update copyright year to 2023 2023-01-08 18:47:04 +01:00
Veronica Berglyd Olsen
073a945b8e Update translations 2023-01-08 18:42:28 +01:00
Veronica Berglyd Olsen
90721e244b Fix handling of item with missing parent item (#1309) 2023-01-08 18:23:45 +01:00
Veronica Berglyd Olsen
65bfd20ced Update tests 2023-01-08 18:11:06 +01:00
Veronica Berglyd Olsen
22d761dea3 Improve handling of unexpected project items (#1283) 2023-01-08 17:57:47 +01:00
Veronica Berglyd Olsen
5daf4ed6bc Update status/import label form code (#1308) 2023-01-08 17:30:03 +01:00
Veronica Berglyd Olsen
be1894ab97 Clean up the status/import form code a bit 2023-01-08 17:24:36 +01:00
Veronica Berglyd Olsen
9529a79707 Clear the staus/import form when no item is selected (#1290) 2023-01-08 17:16:27 +01:00
Veronica Berglyd Olsen
f6e5293d8e Fix convert folders and open from outline (#1306) 2023-01-05 23:59:19 +01:00
Veronica Berglyd Olsen
31403b4299 Fix it again, but now also for enter key (#1291) 2023-01-05 23:54:51 +01:00
Veronica Berglyd Olsen
3b9e3762d3 Make sure editor/viewer is visible on open doc request (#1291) 2023-01-05 23:50:27 +01:00
Veronica Berglyd Olsen
748d76dca6 Fix converting folder to file (#1305) 2023-01-05 23:45:48 +01:00
Veronica Berglyd Olsen
7e0e18787f Add a check that a non-new project actually exists (#1301) 2022-12-23 12:34:08 +01:00
Veronica Berglyd Olsen
3b95b2838c Update test and translation file 2022-12-23 12:28:48 +01:00
Veronica Berglyd Olsen
8749321614 Block opening a non-new project in a non-existing location (#1300) 2022-12-23 12:28:30 +01:00
Veronica Berglyd Olsen
12c09b1f6c Update icons and allow custom icon themes (#1299) 2022-12-20 12:56:55 +01:00
Veronica Berglyd Olsen
1664f92cc8 Also allow custom icon themes 2022-12-20 12:50:21 +01:00
Veronica Berglyd Olsen
6c76e31e0b Remove Inkscape meta data from a bunch of icons 2022-12-20 12:32:42 +01:00
Veronica Berglyd Olsen
b7744bbda2 Correct paths for input-none icons (#1297) 2022-12-20 12:25:15 +01:00
Veronica Berglyd Olsen
187a75c99a Update i18n and contributor credits (#1298) 2022-12-20 12:10:31 +01:00
Veronica Berglyd Olsen
670aab5224 Remove redundant CSS 2022-12-20 12:06:14 +01:00
Veronica Berglyd Olsen
1c4256ff4c Make links consistent 2022-12-20 12:03:25 +01:00
Veronica Berglyd Olsen
55e91f08dd Add a credits page to the About dialog 2022-12-20 11:54:45 +01:00
Veronica Berglyd Olsen
c581c774e9 Update credits doc 2022-12-20 11:33:51 +01:00
Veronica Berglyd Olsen
bce5025a66 Update Chinese translation 2022-12-20 10:40:08 +01:00
Veronica Berglyd Olsen
66cc3777dc Release 2.0.2 (#1279) 2022-12-01 23:41:38 +01:00
Veronica Berglyd Olsen
b1def7b568 Release 2.0.2 2022-12-01 23:33:16 +01:00
Veronica Berglyd Olsen
1b177ff5b5 Fix highlighting not updating on prefs change (#1278) 2022-12-01 23:24:36 +01:00
Veronica Berglyd Olsen
594ccd45c7 Fix linux workflow 2022-12-01 23:21:00 +01:00
Veronica Berglyd Olsen
2b0216a398 Changing colouring preferences on the highlighting tab needs to re-init the syntax highlighter (#1274) 2022-12-01 23:12:46 +01:00
Veronica Berglyd Olsen
3fa9c29d7a Populate build functions in new build class 2022-12-01 22:56:24 +01:00
Veronica Berglyd Olsen
25f6234cf0 Add a new module for a document build class 2022-12-01 16:12:25 +01:00
Veronica Berglyd Olsen
347266a9bd Post release fix (#1272) 2022-11-29 17:41:16 +01:00
Veronica Berglyd Olsen
e7bce03be4 Add empty init files to subdirs of main package 2022-11-29 17:22:23 +01:00
Veronica Berglyd Olsen
9d08d83c2c Release 2.0.1 (#1270) 2022-11-29 16:37:29 +01:00
Veronica Berglyd Olsen
e0f7e50b64 Release 2.0.1 2022-11-29 16:28:19 +01:00
Veronica Berglyd Olsen
b57d53adcd Update French translation (#1265) 2022-11-28 21:37:22 +01:00
Veronica Berglyd Olsen
875bde2253 Update French translation 2022-11-28 21:30:45 +01:00
Veronica Berglyd Olsen
e77426f364 Add a icon theme fallback value (#1264) 2022-11-28 21:28:37 +01:00
Veronica Berglyd Olsen
9af6fa062c Add more info on custome themes in the docs 2022-11-28 21:25:48 +01:00
Veronica Berglyd Olsen
6bc59eb7de Make the theme class fall back to typicons lighht icon theme (#1263) 2022-11-28 21:05:34 +01:00
Veronica Berglyd Olsen
49cab9ec29 Use direct imports everywhere (#1262) 2022-11-28 18:31:54 +01:00
Veronica Berglyd Olsen
32d75567e3 Use direct imports everywhere 2022-11-28 18:23:36 +01:00
Veronica Berglyd Olsen
a51f0db6fa Release 2.0 (#1261) 2022-11-28 17:27:38 +01:00
Veronica Berglyd Olsen
09eeb28257 Change the release data to today 2022-11-28 17:25:26 +01:00
Veronica Berglyd Olsen
956172af0c Make a minor change to the release notes 2022-11-28 17:23:24 +01:00
Veronica Berglyd Olsen
35ec8e0f12 Update release notes 2022-11-28 17:12:48 +01:00
Veronica Berglyd Olsen
8390615489 Bumped version and updated changelog 2022-11-28 10:59:41 +01:00
Veronica Berglyd Olsen
df499a9776 Update translations (#1254) 2022-11-28 10:35:38 +01:00
Veronica Berglyd Olsen
e027c4fd4c Update partial translations 2022-11-28 10:33:13 +01:00
Veronica Berglyd Olsen
0dd9f49856 Update completed translations 2022-11-27 17:15:04 +01:00
Veronica Berglyd Olsen
8853c73749 Remove some no longer needed strings from translations 2022-11-27 17:12:18 +01:00
Veronica Berglyd Olsen
9cb97f6a15 Merge branch 'main' into i18n 2022-11-27 17:11:08 +01:00
Veronica Berglyd Olsen
f69641c0f8 Simplify author setting (#1258) 2022-11-27 17:10:29 +01:00
Veronica Berglyd Olsen
1ac6e48c23 Update file format spec 2022-11-27 17:00:36 +01:00
Veronica Berglyd Olsen
a3ad90f419 Update tests 2022-11-27 16:57:11 +01:00
Veronica Berglyd Olsen
e5f04e5234 Reduce number of author entries in project to one 2022-11-27 16:55:54 +01:00
Veronica Berglyd Olsen
9d97e26fc1 Clean up the changelog a bit 2022-11-25 23:10:36 +01:00
Veronica Berglyd Olsen
e84b8d4d1d Fix versions in module docstrings, more 2022-11-25 22:57:05 +01:00
Veronica Berglyd Olsen
d0e4c9f822 Fix versions in module docstrings 2022-11-25 22:43:27 +01:00
Veronica Berglyd Olsen
378a805b02 Update German translation 2022-11-25 22:22:36 +01:00
Veronica Berglyd Olsen
6f465e28e2 Merge branch 'main' into i18n 2022-11-24 15:18:14 +01:00
Veronica Berglyd Olsen
1678cd5e96 Update docs (#1255) 2022-11-24 15:18:03 +01:00
Veronica Berglyd Olsen
44c6c136a2 Update docs, second round 2022-11-24 15:13:46 +01:00
Veronica Berglyd Olsen
5538b04d55 Update completed translations 2022-11-22 22:56:57 +01:00
Veronica Berglyd Olsen
febf67179a Fix minor GUI issues (#1253) 2022-11-22 13:19:12 +01:00
Veronica Berglyd Olsen
0a5fa0d190 Update main language file 2022-11-22 13:06:56 +01:00
Veronica Berglyd Olsen
4fa6329eb6 Fix tests and minor issues 2022-11-22 13:05:05 +01:00
Veronica Berglyd Olsen
3a77228aaa Fix retention of selected item of novel tree in the details panel 2022-11-22 12:54:26 +01:00
Veronica Berglyd Olsen
f26a745d0e Use novel selector for project details 2022-11-22 12:45:10 +01:00
Veronica Berglyd Olsen
55f7a91eaf Add a button to open the novel tree root selector 2022-11-22 12:33:32 +01:00
Veronica Berglyd Olsen
b7373688e7 Add a novel selector class (#1252) 2022-11-18 13:28:35 +01:00
Veronica Berglyd Olsen
1b7814e891 Disable tooltip when novel selector is idsabled 2022-11-18 02:07:30 +01:00
Veronica Berglyd Olsen
039b2095f0 Let the novel selector replace the novel tree label 2022-11-18 02:01:55 +01:00
Veronica Berglyd Olsen
5c7c820fef Add a combo box to novel tree 2022-11-18 01:03:44 +01:00
Veronica Berglyd Olsen
11b6ed87d4 Add the novel selector widget and use it for the outline 2022-11-18 00:44:58 +01:00
Veronica Berglyd Olsen
250a41a84a Move StatusLED class to new components module 2022-11-18 00:19:15 +01:00
Veronica Berglyd Olsen
8c5ab9d626 Update all translation files and add test (#1251) 2022-11-17 17:25:50 +01:00
Veronica Berglyd Olsen
281f878a79 Remove build language part of test as this is already done in workflow 2022-11-17 17:19:40 +01:00
Veronica Berglyd Olsen
77489d22cd Add test coverage of language files 2022-11-17 17:15:39 +01:00
Veronica Berglyd Olsen
fa880f5e2a Update all translation files 2022-11-17 16:40:13 +01:00
Veronica Berglyd Olsen
f014d690ea Add German trannslation (#1033 by @HeyMyian) 2022-11-17 16:25:49 +01:00
Veronica Berglyd Olsen
7ece1123a7 Merge branch 'main' into i18n-de_DE-created 2022-11-17 16:23:14 +01:00
Veronica Berglyd Olsen
ecff40dade Add file format specification (#1249) 2022-11-17 11:01:42 +01:00
Veronica Berglyd Olsen
d13e2531e8 Add a link to the file format spec in the docs (#1012) 2022-11-17 10:58:04 +01:00
Veronica Berglyd Olsen
47d2c20bfd Move the file format spec document into the source code 2022-11-17 10:57:19 +01:00
Veronica Berglyd Olsen
18c3e9851e Update docs for 2.0 (#1248) 2022-11-16 23:07:30 +01:00
Veronica Berglyd Olsen
308a1649a5 Update docs project section 2022-11-16 23:04:35 +01:00
Veronica Berglyd Olsen
09c414c991 Update docs usage section 2022-11-16 16:17:22 +01:00
Veronica Berglyd Olsen
af7b46f714 Update docs introduction section 2022-11-16 15:59:21 +01:00
Veronica Berglyd Olsen
9a20eab1b2 Update docs, index and build, and rename viewsbar to sidebar 2022-11-16 15:58:52 +01:00
Veronica Berglyd Olsen
444c168da5 Update closing project procedure, and editor scrolling (#1247) 2022-11-16 11:28:47 +01:00
Veronica Berglyd Olsen
61ab597499 Make go to line in editor work consistently with auto-scrolling 2022-11-16 11:21:16 +01:00
Veronica Berglyd Olsen
62cf9b6184 Sort out status leds and project closing (#1237) 2022-11-16 11:20:40 +01:00
Veronica Berglyd Olsen
9f4b9a4dde Update workflow actions (#1246) 2022-11-16 00:00:54 +01:00
Veronica Berglyd Olsen
af991eb31b Update actions for syntax workflow 2022-11-15 23:43:43 +01:00
Veronica Berglyd Olsen
e6267f32b2 Merge branch 'main' into actions 2022-11-15 23:43:17 +01:00
Veronica Berglyd Olsen
c83b36acfa Set a max column width for novel tree extra column (#1245) 2022-11-15 23:41:38 +01:00
Veronica Berglyd Olsen
b7f99ec95f Update workflow actions 2022-11-15 23:41:04 +01:00
Veronica Berglyd Olsen
1e2920641d Force a max width of extra column in novel view (#1238) 2022-11-15 23:27:54 +01:00
Veronica Berglyd Olsen
a15d25370e Improve project tree iterator 2022-11-15 21:49:15 +01:00
Veronica Berglyd Olsen
7ce2fd29a6 Improve document navigation (#1243) 2022-11-15 17:00:27 +01:00
Veronica Berglyd Olsen
e0ca2e7fb5 Update tests and remove unused functions in viewer 2022-11-15 16:50:41 +01:00
Veronica Berglyd Olsen
a2ea7b40e2 Don't reload document if opening the same (#1242) 2022-11-15 16:49:59 +01:00
Veronica Berglyd Olsen
6560594c49 Fix scrolling when moving to a specific line in editor (#1239) 2022-11-15 16:48:46 +01:00
Veronica Berglyd Olsen
c095cc4bf0 Auto-update novel item meta (#1241) 2022-11-14 20:25:03 +01:00
Veronica Berglyd Olsen
8dbaa6bbd9 Remove no longer needed index function 2022-11-14 18:59:47 +01:00
Veronica Berglyd Olsen
ebc6654069 Improve how the novel tree is refreshed 2022-11-14 18:45:36 +01:00
Veronica Berglyd Olsen
992ed4f36c Update tests 2022-11-14 17:56:31 +01:00
Veronica Berglyd Olsen
b0a0ca089f Rewrite index class to use sequential title keys rather than line numbers 2022-11-14 16:59:51 +01:00
Veronica Berglyd Olsen
e52d8d9ff7 Add novel tree method to refresh metadata for item 2022-11-14 16:59:04 +01:00
Veronica Berglyd Olsen
827ae921a4 Merge branch 'main' into i18n-de_DE-created 2022-11-13 10:52:13 +01:00
Veronica Berglyd Olsen
e9b603d5a5 Release 2.0 RC 2 (#1231) 2022-11-13 10:06:39 +01:00
Veronica Berglyd Olsen
d93b3aa79f Always save project when closing 2022-11-12 18:59:09 +01:00
Veronica Berglyd Olsen
9b6ba891a4 Merge branch 'main' into release_2.0rc2 2022-11-12 18:30:00 +01:00
Veronica Berglyd Olsen
8a9b79abd0 Improve tree class and auto-rebuild index (#1236) 2022-11-12 18:29:49 +01:00
Veronica Berglyd Olsen
d4d23a140f Update changelog 2022-11-12 18:29:20 +01:00
Veronica Berglyd Olsen
e7ce13f647 Rebuild index when opdating project (#1235) 2022-11-12 18:23:13 +01:00
Veronica Berglyd Olsen
74d71f24ca Improve the setOrder method in the NWTree class, and improve tests 2022-11-12 18:22:30 +01:00
Veronica Berglyd Olsen
a1213f1e84 Rename class project variable 2022-11-12 13:08:55 +01:00
Veronica Berglyd Olsen
36cf5c1d76 Merge new changes and update changelog 2022-11-11 17:24:04 +01:00
Veronica Berglyd Olsen
fd85770d4d Merge branch 'main' into release_2.0rc2 2022-11-11 17:22:20 +01:00
Veronica Berglyd Olsen
116ebd8243 Update Config and NWItem class (#1232) 2022-11-11 17:21:32 +01:00
Veronica Berglyd Olsen
612034f6be Make the item class non-dynamic, and cache formatting vars in editor 2022-11-11 17:09:03 +01:00
Veronica Berglyd Olsen
b05028e3c9 Split up the storage of quote symbols in config 2022-11-11 12:50:36 +01:00
Veronica Berglyd Olsen
495209cd1a Fix tests of XML files and version number (again) 2022-11-11 12:16:03 +01:00
Veronica Berglyd Olsen
402cb09bb6 Fix tests of XML files and version number 2022-11-10 18:26:08 +01:00
Veronica Berglyd Olsen
dbfda1e680 Update Norwegian and US English 2022-11-10 18:17:51 +01:00
Veronica Berglyd Olsen
b03b723d25 Update i18n file 2022-11-10 18:01:13 +01:00
Veronica Berglyd Olsen
5a8e8b2221 Release 2.0 RC 2 2022-11-10 17:58:13 +01:00
Veronica Berglyd Olsen
6a664037cf Block toolbars when there is no project (#1230) 2022-11-10 17:11:32 +01:00
Veronica Berglyd Olsen
f556fde848 Make some minor code fixes 2022-11-10 17:04:12 +01:00
Veronica Berglyd Olsen
bbc5be0075 Disable toolbars when no project is open 2022-11-10 16:32:17 +01:00
Veronica Berglyd Olsen
b587ab638c Make further config class updates (#1229) 2022-11-10 13:37:09 +01:00
Veronica Berglyd Olsen
a1ddc6ce1d Fix test file comparison filters 2022-11-10 13:24:13 +01:00
Veronica Berglyd Olsen
b46ad86c31 Clean up config file format, modify how projects are launched, and add broken theme setting handling 2022-11-10 13:20:26 +01:00
Veronica Berglyd Olsen
15fec91358 Clean up setters and getters in Config 2022-11-10 09:29:00 +01:00
Veronica Berglyd Olsen
e2f3a44d96 Fix pollution of recent cache from tests 2022-11-09 23:10:30 +01:00
Veronica Berglyd Olsen
eac7d9b9ee Refactor config class, and switch to pathlib (#1228) 2022-11-09 23:03:03 +01:00
Veronica Berglyd Olsen
0c7fdc7013 Fix windows vs posix path issue in test 2022-11-09 22:51:12 +01:00
Veronica Berglyd Olsen
03e173634f Switch to Path objects nearly everywhere 2022-11-09 22:43:48 +01:00
Veronica Berglyd Olsen
cb755ba820 Move recent cache out of config, and update all tests 2022-11-09 20:54:13 +01:00
Veronica Berglyd Olsen
8721d53ab2 Clean up the config class names and methods 2022-11-09 18:47:50 +01:00
Veronica Berglyd Olsen
47b57172eb Change lastPath to a Path object 2022-11-09 18:21:40 +01:00
Veronica Berglyd Olsen
9d3291aba6 Change assetPath to a Path object 2022-11-09 17:44:20 +01:00
Veronica Berglyd Olsen
6792c11a71 Change dataPath to a Path object 2022-11-09 00:25:50 +01:00
Veronica Berglyd Olsen
6f5539de90 Change confPath to a Path object 2022-11-09 00:09:40 +01:00
Veronica Berglyd Olsen
9500c3bdb2 Make some remaining project class bariables private 2022-11-08 23:09:08 +01:00
Veronica Berglyd Olsen
5999e72592 Add a storage class (#1225) 2022-11-08 22:46:50 +01:00
Veronica Berglyd Olsen
0b44cf9c0a Fix issues with variying file order in zip archive 2022-11-08 22:29:54 +01:00
Veronica Berglyd Olsen
f5a3280565 Add test coverage of storage class 2022-11-08 22:19:22 +01:00
Veronica Berglyd Olsen
ee79d3d6d6 Fix tests for core classes 2022-11-08 19:48:06 +01:00
Veronica Berglyd Olsen
b024c0996d Move zipping of project to storage class 2022-11-08 19:25:56 +01:00
Veronica Berglyd Olsen
262a6c36b7 Rename NWDoc class to NWDocument 2022-11-07 22:51:09 +01:00
Veronica Berglyd Olsen
26f7bb4b32 Change how spel checking and booleans in general are saved in the XML 2022-11-07 22:46:30 +01:00
Veronica Berglyd Olsen
42f2bf3628 Merge branch 'main' into storage_class 2022-11-07 12:24:19 +01:00
Veronica Berglyd Olsen
6f6fe876e2 Fix parameter missing in Python 3.7 2022-11-07 10:45:53 +01:00
Veronica Berglyd Olsen
615ee2958a Remove project path attribute from project class 2022-11-06 00:39:30 +01:00
Veronica Berglyd Olsen
a75424e44b Use storage class to return document objects 2022-11-06 00:29:43 +01:00
Veronica Berglyd Olsen
76a1421fde Remove project content attribute from project class 2022-11-06 00:15:24 +01:00
Veronica Berglyd Olsen
972ed25a8c Remove project cache attribute from project class 2022-11-05 23:33:50 +01:00
Veronica Berglyd Olsen
21ab4e58f9 Remove project meta attribute from project class 2022-11-05 23:29:25 +01:00
Veronica Berglyd Olsen
82b34d9d2c Move lock file code to storage class 2022-11-05 22:14:33 +01:00
Veronica Berglyd Olsen
9cdf840d12 Make some minor improvements to the xml reader 2022-11-05 21:37:10 +01:00
Veronica Berglyd Olsen
72cc0cf0aa Add project file format 1.5 2022-11-05 21:13:18 +01:00
Veronica Berglyd Olsen
c6d3f680cc Add a UUID to projects 2022-11-05 17:03:45 +01:00
Veronica Berglyd Olsen
8b4dac4e13 Split project data class back into a separate file 2022-11-05 16:24:57 +01:00
Veronica Berglyd Olsen
783a849e09 Remove the old legacy format code 2022-11-05 16:19:19 +01:00
Veronica Berglyd Olsen
407e7fa69e Add storage code to handle projecty structure and old projects 2022-11-05 16:15:26 +01:00
Veronica Berglyd Olsen
2b8d51035d Fix version requirements in debian build file 2022-11-03 23:48:30 +01:00
Veronica Berglyd Olsen
2e590b742f Move new project tool to core tools (resolves #1152) 2022-11-03 23:47:51 +01:00
Veronica Berglyd Olsen
bd81ea0880 Make project xml class and tests use pathlib instead of os 2022-11-03 22:17:25 +01:00
Veronica Berglyd Olsen
dfd9e15951 Use storage class to open and save project XML 2022-11-03 21:51:56 +01:00
Veronica Berglyd Olsen
96b011cf70 Rename doctools module to coretools 2022-11-03 21:41:57 +01:00
Veronica Berglyd Olsen
3eee8442a7 Make packing and unpacking item data consistent 2022-11-03 17:30:54 +01:00
Veronica Berglyd Olsen
da4f4b0801 Add prototyype storage class 2022-11-01 22:58:12 +01:00
Veronica Berglyd Olsen
717d516f6a Delegate responsibility for the index to the project class 2022-11-01 22:32:29 +01:00
Veronica Berglyd Olsen
e85bd56f60 Auto-open first document (#1223) 2022-11-01 19:23:35 +01:00
Veronica Berglyd Olsen
a2f92c1223 Auto-open first document on new project (#1219) 2022-11-01 19:15:32 +01:00
Veronica Berglyd Olsen
9dd1a60629 Fix bug with active icon on item details panel 2022-11-01 19:11:38 +01:00
Veronica Berglyd Olsen
5abc9784f1 Refactor project XML handling (#1221) 2022-11-01 18:44:59 +01:00
Veronica Berglyd Olsen
f1100d4475 Remove minimal project from test suite 2022-11-01 18:32:29 +01:00
Veronica Berglyd Olsen
494b94430c Fix tests broken by xml rewrite 2022-11-01 18:31:03 +01:00
Veronica Berglyd Olsen
5b7f2b2b55 Add test coverage of the project xml class 2022-11-01 17:14:57 +01:00
Veronica Berglyd Olsen
f41db97860 Clean up the content loading 2022-11-01 13:36:22 +01:00
Veronica Berglyd Olsen
0cfaf4f021 Drop the total word count value in the XML and rewrite how counts are handled 2022-11-01 12:21:16 +01:00
Veronica Berglyd Olsen
6fd7107675 Remove pre-generatiopn of status and importance items 2022-10-31 23:18:16 +01:00
Veronica Berglyd Olsen
a88a2f5b40 Change file format to save dictionaries consistently 2022-10-31 22:37:05 +01:00
Veronica Berglyd Olsen
13b9e5a434 Move project data class to project file 2022-10-31 21:25:40 +01:00
Veronica Berglyd Olsen
a760aff826 Complete the xml writer class 2022-10-31 20:05:20 +01:00
Veronica Berglyd Olsen
3a161e90f9 Complete loading project xml via data class 2022-10-31 18:11:46 +01:00
Veronica Berglyd Olsen
522acc479b Move status and importance to data class 2022-10-31 17:01:50 +01:00
Veronica Berglyd Olsen
cc2ef85afd CHange how current word counts are handled 2022-10-31 16:19:31 +01:00
Veronica Berglyd Olsen
9d283d2eae Move all remaining trivial project settings to the data class 2022-10-31 15:55:33 +01:00
Veronica Berglyd Olsen
aeef8734b8 Move the remaining project meta settings to project data class 2022-10-31 00:28:10 +01:00
Veronica Berglyd Olsen
192806a46d Fix or disable broken tests 2022-10-30 23:55:58 +01:00
Veronica Berglyd Olsen
e887ec6991 Move project name to project data class 2022-10-30 23:18:18 +01:00
Veronica Berglyd Olsen
ea80fd3c71 Complete the XML parsing 2022-10-30 22:51:31 +01:00
Veronica Berglyd Olsen
6d1734b655 Merge branch 'main' into xml_rw_class 2022-10-30 19:40:12 +01:00
Veronica Berglyd Olsen
72f06620e9 Add version and build info to AppImage build (#1218) 2022-10-30 17:59:08 +01:00
Veronica Berglyd Olsen
aa963dea3d Add version and build info to AppImage build (#1182) 2022-10-30 17:55:38 +01:00
Veronica Berglyd Olsen
16e7df0526 Allow moving split document to trash (#1217) 2022-10-30 17:21:29 +01:00
Veronica Berglyd Olsen
4d5c1b2455 Update split document tests 2022-10-30 17:14:28 +01:00
Veronica Berglyd Olsen
c1988bcc17 Fix bug where split document loses status or importance 2022-10-30 17:07:24 +01:00
Veronica Berglyd Olsen
1784d9ce28 Add move to trash switch on split dialog and processing (#1179) 2022-10-30 17:03:52 +01:00
Veronica Berglyd Olsen
15fd4c51df Fix bug with missing icons in outline view 2022-10-30 16:58:10 +01:00
Veronica Berglyd Olsen
fd92f1c588 Update active/inactive and status/importance icons (#1216) 2022-10-30 15:31:03 +01:00
Veronica Berglyd Olsen
80496ab1ed Improve active/inactive icons again 2022-10-30 15:16:39 +01:00
Veronica Berglyd Olsen
dbade05e46 Generate nicer status icons 2022-10-30 02:33:00 +02:00
Veronica Berglyd Olsen
e80536405e Replace active status icons in project tree 2022-10-30 01:21:07 +02:00
Veronica Berglyd Olsen
ea59379479 Add new checkbox icons 2022-10-30 01:20:31 +02:00
Veronica Berglyd Olsen
18878dd19b Change how item data is stored in the project tree 2022-10-29 17:55:45 +02:00
Veronica Berglyd Olsen
309a58cb18 Fix missing synopsis action in main window 2022-10-29 01:36:31 +02:00
Veronica Berglyd Olsen
64fbc2f4e9 Add format and insert features (#1214) 2022-10-29 01:33:42 +02:00
Veronica Berglyd Olsen
dcb473137b Update documentation and test with synopsis insert feature 2022-10-29 01:26:58 +02:00
Veronica Berglyd Olsen
3a90ee2b0d Add insert menu entry for synopsis comment (#1177) 2022-10-29 01:26:26 +02:00
Veronica Berglyd Olsen
dc401278fb Update tests 2022-10-29 01:05:41 +02:00
Veronica Berglyd Olsen
33eb3efb11 Remove restriction on formatting empty block (#1178) 2022-10-29 01:05:33 +02:00
Veronica Berglyd Olsen
6d15bc5f14 Fix help text in Preferences 2022-10-29 00:56:39 +02:00
Veronica Berglyd Olsen
04c4b9eda5 Update theme system (#1212) 2022-10-29 00:50:26 +02:00
Veronica Berglyd Olsen
4a9ea459fa Make some minor changes and update test coverage 2022-10-29 00:38:32 +02:00
Veronica Berglyd Olsen
9b1c3fece2 Update default themes and remove custom style sheet feature 2022-10-28 23:50:52 +02:00
Veronica Berglyd Olsen
f76fc95494 Complete coverage of themes classes 2022-10-28 23:26:25 +02:00
Veronica Berglyd Olsen
42f5ea205f Clean up GUI tests 2022-10-28 22:15:54 +02:00
Veronica Berglyd Olsen
28916afcce Add test coverage of GUI theme 2022-10-28 00:00:57 +02:00
Veronica Berglyd Olsen
34193021e8 Simplify the themes class a bit 2022-10-27 23:47:29 +02:00
Veronica Berglyd Olsen
c7999831c9 Remove icon setting from config, and let the theme control it 2022-10-26 22:01:04 +02:00
Veronica Berglyd Olsen
8d7ebefa65 Fix updating syntax colours (#1171) 2022-10-25 23:56:07 +02:00
Veronica Berglyd Olsen
88183cdc39 Add updateTheme functions to remaining GUI components 2022-10-25 23:42:43 +02:00
Veronica Berglyd Olsen
52ede26f3d Add updateTheme functions to most GUI components 2022-10-25 23:12:21 +02:00
Veronica Berglyd Olsen
e1ecd3cd27 Fix some code linter complaints in doc editor 2022-10-25 22:01:44 +02:00
Veronica Berglyd Olsen
25c4330fd0 Make icon theme a part of the GUI theme (solves #1172) 2022-10-25 21:27:55 +02:00
Veronica Berglyd Olsen
80ae810e1b Merge 1.6.6 (#1211) 2022-10-25 18:55:52 +02:00
Veronica Berglyd Olsen
719c2aada2 Merge branch 'main' into merge_1.6.6 2022-10-25 18:49:28 +02:00
Veronica Berglyd Olsen
f2e3d95e98 Merge branch 'main' into merge_1.6.6 2022-10-25 18:47:36 +02:00
Veronica Berglyd Olsen
c22354fe4d Release 1.6.6 (#1210) 2022-10-25 18:29:06 +02:00
Veronica Berglyd Olsen
4862ac3857 Bump the version number and update the changelog 2022-10-25 18:26:37 +02:00
Veronica Berglyd Olsen
e93e125a46 Allow lookup of tags with spaces (#1209) 2022-10-25 18:19:19 +02:00
Veronica Berglyd Olsen
dc0f9abdbc Fix lookup of tags with spaces (#1195) 2022-10-25 18:12:29 +02:00
Veronica Berglyd Olsen
455a065285 Updates to status and importance feature (#1207) 2022-10-25 17:18:45 +02:00
Veronica Berglyd Olsen
8b3ec4376d Merge branch 'main' into status_import 2022-10-25 17:12:37 +02:00
Veronica Berglyd Olsen
b69e4e91ac Add Python 3.11 (#1208) 2022-10-25 17:11:21 +02:00
Veronica Berglyd Olsen
a5cbaa7f8c Update requirements and add Python 3.11 to CI 2022-10-25 16:58:46 +02:00
Veronica Berglyd Olsen
b0095b266d Add checkmark for current active status or iumportance value (#1202) 2022-10-25 16:19:25 +02:00
Veronica Berglyd Olsen
7b04d57605 Refactor project settings test 2022-10-25 15:48:29 +02:00
Veronica Berglyd Olsen
2ee6adcf35 Clean up function mappings in project tree class 2022-10-25 15:47:40 +02:00
Veronica Berglyd Olsen
e89f004532 Add a manage labels option to project tree context menu (#1203) 2022-10-25 12:20:18 +02:00
Veronica Berglyd Olsen
624787994a Refactor the projhect tree context menu code 2022-10-25 08:17:18 +02:00
Veronica Berglyd Olsen
550896e795 Merge branch 'main' into xml_rw_class 2022-10-21 10:24:00 +02:00
Veronica Berglyd Olsen
2f926301e6 Update wizard custom page functionality (#1201) 2022-10-20 23:10:18 +02:00
Veronica Berglyd Olsen
34dbf3557c Turn off generating notes if all notes folders are off in the new project wizard (#1192) 2022-10-20 23:00:52 +02:00
Veronica Berglyd Olsen
ae856dda6a Rename exported status to active status (#1200) 2022-10-20 22:48:57 +02:00
Veronica Berglyd Olsen
871cef8af9 Add tooltip to active status icons and update build tool 2022-10-20 22:37:42 +02:00
Veronica Berglyd Olsen
6b16b7c3b7 Rename project file attribute 2022-10-20 18:28:32 +02:00
Veronica Berglyd Olsen
93a79f3605 Rename the access metods of the item class from exported to active 2022-10-20 18:14:40 +02:00
Veronica Berglyd Olsen
5ae96e4d44 Fix various issues in the code (#1197) 2022-10-20 12:30:00 +02:00
Veronica Berglyd Olsen
85e48eb56a Fix a few minor typing issues 2022-10-20 12:14:09 +02:00
Veronica Berglyd Olsen
58f8f98c6f Use constants for project and config file names 2022-10-20 12:13:29 +02:00
Veronica Berglyd Olsen
1da92e997c Fix project tree context menu labels (#1199) 2022-10-20 09:12:31 +02:00
Veronica Berglyd Olsen
734f3d57bf Rename statusBar to mainStatus in main GUI due to conflict with Qt method (#1190) 2022-10-20 00:26:18 +02:00
Veronica Berglyd Olsen
6a6742275f Clean up unused part of header check function in doc editor 2022-10-20 00:22:09 +02:00
Veronica Berglyd Olsen
815c0f1125 Add a bunch of None checks, even if many may be redundant 2022-10-20 00:21:51 +02:00
Veronica Berglyd Olsen
cfe11f7b54 Make the common module a little simpler 2022-10-19 22:10:23 +02:00
Veronica Berglyd Olsen
efb7d12e1d Remove verbose logging (#1191) 2022-10-19 16:21:23 +02:00
Veronica Berglyd Olsen
caf8a75bbc Fix a couple of issues discovered by pylance 2022-10-19 12:06:57 +02:00
Veronica Berglyd Olsen
e52f0a9e16 Remove verbose logging implementation 2022-10-19 08:29:02 +02:00
Veronica Berglyd Olsen
8775b360d8 Remove all verbose log entries 2022-10-19 08:27:11 +02:00
Veronica Berglyd Olsen
54fea1d28e Clean up common module, and fix a few typing issues (#1188) 2022-10-19 00:18:07 +02:00
Veronica Berglyd Olsen
c40ace1290 Fix a few weird dictionary lookups in the index 2022-10-19 00:04:31 +02:00
Veronica Berglyd Olsen
f34d95edaa Simplify the setText method of the Tokenizer class 2022-10-18 23:49:48 +02:00
Veronica Berglyd Olsen
ac05dbc55b Fix a potential bug 2022-10-18 23:46:08 +02:00
Veronica Berglyd Olsen
0f72c45fbc Update tests 2022-10-18 23:41:41 +02:00
Veronica Berglyd Olsen
da820871fd Simplify the check functions in common (#1185) and remove the checkIntRange function 2022-10-18 23:41:29 +02:00
Veronica Berglyd Olsen
1aec49f852 Fix missing data path issue when creating themes folders (#1184) 2022-10-18 21:01:23 +02:00
Veronica Berglyd Olsen
33b95b60e3 Fix missing data path issue (#1180) 2022-10-18 20:43:33 +02:00
Veronica Berglyd Olsen
d232b22501 Always index main heading (#1183) 2022-10-17 21:39:28 +02:00
Veronica Berglyd Olsen
6c06845ed5 Drop the error on level tag in index file 2022-10-17 21:31:57 +02:00
Veronica Berglyd Olsen
5f4a171dff Update lipsum test project 2022-10-17 21:18:42 +02:00
Veronica Berglyd Olsen
38df693987 Update tests 2022-10-17 21:15:52 +02:00
Veronica Berglyd Olsen
e24573f644 Clean out main header data in the index and make it set the item's value instead 2022-10-17 20:22:21 +02:00
Veronica Berglyd Olsen
8fe25d4b43 Update classes and functions to use the item as source of main heading instead of index 2022-10-17 20:15:45 +02:00
Veronica Berglyd Olsen
5a4b7b7264 Add a main heading variable to the NWItem class 2022-10-17 20:08:19 +02:00
Veronica Berglyd Olsen
9b5b00fd2d Release 2.0 RC 1 (#1169) 2022-10-17 16:40:08 +02:00
Veronica Berglyd Olsen
d59c408e44 Merge branch 'main' into release_2.0rc1 2022-10-17 13:34:04 +02:00
Veronica Berglyd Olsen
95b6949da8 Update readme with new minimum Qt version 2022-10-15 23:32:30 +02:00
Veronica Berglyd Olsen
b0e2dbf06e Merge branch 'main' into release_2.0rc1 2022-10-15 23:30:43 +02:00
Veronica Berglyd Olsen
0aadb29ac7 Update changelog 2022-10-15 23:29:12 +02:00
Veronica Berglyd Olsen
559a1791e1 Increase minimum Qt version to 5.10 (#1174) 2022-10-15 23:23:47 +02:00
Veronica Berglyd Olsen
f5dcad8725 Update references to Qt version in the docs 2022-10-15 23:14:34 +02:00
Veronica Berglyd Olsen
97724054ec Require at least Qt 5.10 instead 2022-10-15 23:05:43 +02:00
Veronica Berglyd Olsen
30661130ca Ignore coverage of lines of old Qt versions 2022-10-15 22:56:18 +02:00
Veronica Berglyd Olsen
9c16b58325 Fix document editor test 2022-10-15 22:50:07 +02:00
Veronica Berglyd Olsen
aadc576d0a Require at least Qt 5.9 2022-10-15 22:47:18 +02:00
Veronica Berglyd Olsen
84db544704 Update documentation screen shots 2022-10-15 19:59:02 +02:00
Veronica Berglyd Olsen
49bce76c0d Update changelog 2022-10-15 16:21:41 +02:00
Veronica Berglyd Olsen
20945cfc0d Merge branch 'main' into release_2.0rc1 2022-10-15 16:19:59 +02:00
Veronica Berglyd Olsen
05ad483f06 Update i18n (#1170) 2022-10-15 16:19:47 +02:00
Veronica Berglyd Olsen
98e014f834 Update translations for Norwegian and US English 2022-10-15 16:10:18 +02:00
Veronica Berglyd Olsen
e316270b57 Update base translation file 2022-10-15 16:09:59 +02:00
Veronica Berglyd Olsen
4fe34640f5 Bump version to 2.0 RC 1 and update changelog 2022-10-15 12:13:14 +02:00
Veronica Berglyd Olsen
ca613e83e8 Add a root folder filter to the Build Tool (#1168) 2022-10-14 22:55:09 +02:00
Veronica Berglyd Olsen
72e1180c84 Add a root folder filter to the build tool 2022-10-14 22:41:58 +02:00
Veronica Berglyd Olsen
a582d231e8 Make some minor GUI tweaks (#1167) 2022-10-14 22:16:44 +02:00
Veronica Berglyd Olsen
11ff9567c0 Make the novel combo box on project details always visible 2022-10-14 21:49:42 +02:00
Veronica Berglyd Olsen
64c07e8910 Change a few tooltip labels and remove focus mode checkbox in menu 2022-10-14 21:45:58 +02:00
Veronica Berglyd Olsen
6f257d9b27 Use the main menu entries in the view bar settings menu 2022-10-14 20:47:01 +02:00
Veronica Berglyd Olsen
928c25e742 Fix circular imports (#1166) 2022-10-14 19:45:05 +02:00
Veronica Berglyd Olsen
3c49ccff53 Move the custom gui module to the root of the project 2022-10-14 19:34:37 +02:00
Veronica Berglyd Olsen
5aa5640baa Make all imports in tests explicit 2022-10-14 19:25:21 +02:00
Veronica Berglyd Olsen
91961111d8 Add Quick Links to the Project Tree (#1165) 2022-10-14 17:43:23 +02:00
Veronica Berglyd Olsen
5fcfbf1c75 Add shortcut to docs, and fix broken link 2022-10-14 17:35:10 +02:00
Veronica Berglyd Olsen
77ec0a9eed Add a quick links dropdown menu to the project tree (#1137) 2022-10-14 17:30:28 +02:00
Veronica Berglyd Olsen
bbbad2b170 Add bookmark icon 2022-10-14 17:29:07 +02:00
Veronica Berglyd Olsen
505385b060 Update icons (#1164) 2022-10-14 10:31:25 +02:00
Veronica Berglyd Olsen
07a5def0a9 Change project details to use decoration graphics rather than icons, and delete the no longer used header icons 2022-10-14 10:20:30 +02:00
Veronica Berglyd Olsen
91e6b0671e Add header decoration function to the icon class 2022-10-14 10:19:31 +02:00
Veronica Berglyd Olsen
234a527f25 Add icon for Novel Section documents 2022-10-14 09:40:34 +02:00
Veronica Berglyd Olsen
845a15229d Remove unused icons 2022-10-14 09:37:50 +02:00
Veronica Berglyd Olsen
ab482c4ede Rewrite Split Tool (#1154) 2022-10-14 00:00:16 +02:00
Veronica Berglyd Olsen
d619f4a012 Add test coverage of splitter function in project tree 2022-10-13 23:48:52 +02:00
Veronica Berglyd Olsen
84af87b155 Add test for document splitter 2022-10-13 19:01:06 +02:00
Veronica Berglyd Olsen
3f4d85dcad Rewrite test for split dialog 2022-10-13 18:18:08 +02:00
Veronica Berglyd Olsen
02976c5f12 Add remaining logic to document splitter, and fix bug in recursive permanet delete 2022-10-13 17:11:43 +02:00
Veronica Berglyd Olsen
049190739f Merge branch 'main' into split_tool 2022-10-13 14:57:24 +02:00
Veronica Berglyd Olsen
e11137a90f Merge 1.6.5 (#1160) 2022-10-13 11:14:02 +02:00
Veronica Berglyd Olsen
28ae292703 Merge branch 'main' into merge_1.6.5 2022-10-13 11:07:24 +02:00
Veronica Berglyd Olsen
0e94b1ca88 Patch 1.6.5 (#1159) 2022-10-13 10:47:22 +02:00
Veronica Berglyd Olsen
dbf672224f Bump version to 1.6.5 and update changelog 2022-10-13 10:44:08 +02:00
Veronica Berglyd Olsen
1001140eec Fix preferences dialog window size issue #989 2022-10-13 10:25:38 +02:00
Veronica Berglyd Olsen
038c66258b Backport fix for #1150 2022-10-13 10:24:00 +02:00
Veronica Berglyd Olsen
bb8b0555ae Backport fix for #1149 2022-10-13 10:22:31 +02:00
Veronica Berglyd Olsen
1421ed3bf4 Turn off the old splitter tool test 2022-10-12 23:44:15 +02:00
Veronica Berglyd Olsen
31a5761ba0 Add the core code for the DocSplitter tool 2022-10-12 23:39:56 +02:00
Veronica Berglyd Olsen
baafd5f83c Rewrite the GuiDocSplit dialog 2022-10-12 22:36:06 +02:00
Veronica Berglyd Olsen
4f44374f48 Remove menu entry for split document 2022-10-11 23:41:39 +02:00
Veronica Berglyd Olsen
7403736ae1 Fix minor issues and clean up class inits (#1153) 2022-10-11 23:35:31 +02:00
Veronica Berglyd Olsen
9a0bda9884 Fix tab parents on settings dialogs 2022-10-11 23:27:45 +02:00
Veronica Berglyd Olsen
84104f2267 Include missing file from last commit 2022-10-11 23:18:37 +02:00
Veronica Berglyd Olsen
5d6778be57 Clean up class initialisation 2022-10-11 23:17:58 +02:00
Veronica Berglyd Olsen
1f05e90266 Remove the context menu in the main window (#1147) 2022-10-11 22:49:36 +02:00
Veronica Berglyd Olsen
3a7c3cec3f Reset idle time when creating a new project (#1149) 2022-10-11 22:44:06 +02:00
Veronica Berglyd Olsen
e8f7df9cb4 Add Shift+Enter to auto-replace (#1151) 2022-10-11 22:35:24 +02:00
Veronica Berglyd Olsen
9b5d2b2c2b Resolve issue #1150 2022-10-11 22:26:14 +02:00
Veronica Berglyd Olsen
87f20622f9 Rewrite Merge Tool (#1148) 2022-10-11 22:02:26 +02:00
Veronica Berglyd Olsen
417758a29a Add coverage of new function in project class 2022-10-11 21:48:40 +02:00
Veronica Berglyd Olsen
07c93bcb7d Update test coverage 2022-10-11 21:20:03 +02:00
Veronica Berglyd Olsen
b96c1e9f09 Add test coverage of doc tools 2022-10-10 16:35:13 +02:00
Veronica Berglyd Olsen
747a1a212c Make some minor improvements to code and tests 2022-10-10 15:48:45 +02:00
Veronica Berglyd Olsen
428dce3e6e Fix doc merge dialog test 2022-10-09 22:47:36 +02:00
Veronica Berglyd Olsen
02dc7f5fe0 Make a few more improvements to doc merge 2022-10-09 21:40:50 +02:00
Veronica Berglyd Olsen
d9a59bccda Don't allow merging root folders 2022-10-09 21:30:21 +02:00
Veronica Berglyd Olsen
23b73dd936 Update tests for project tree deleting items 2022-10-09 20:49:25 +02:00
Veronica Berglyd Olsen
0859c14581 Remove the old merge document menu entry 2022-10-09 19:23:55 +02:00
Veronica Berglyd Olsen
2bda53e971 Split up the project tree deleteItem function 2022-10-09 19:21:05 +02:00
Veronica Berglyd Olsen
0f3d598f8d Implement nre doc merge functionality in tree 2022-10-09 17:19:01 +02:00
Veronica Berglyd Olsen
e1c3a12d07 Redesign the Document Merge dialog box 2022-10-09 15:30:02 +02:00
Veronica Berglyd Olsen
43bb5aab5c Rename 1.7 to 2.0 (#1146) 2022-10-06 09:15:48 +02:00
Veronica Berglyd Olsen
b80f5ba057 Rename 1.7 to 2.0 2022-10-06 09:10:58 +02:00
Veronica Berglyd Olsen
9c381c40a5 Remove existing space when auto-inserting space (#1131) 2022-10-01 23:13:07 +02:00
Veronica Berglyd Olsen
47c39e68b7 Remove the no longer needed changes to the test 2022-10-01 22:44:11 +02:00
Veronica Berglyd Olsen
a24d37ffa4 Simplify the auto-insert space check code as this is efficient enough 2022-10-01 22:41:18 +02:00
Veronica Berglyd Olsen
03db815723 Update test coverage 2022-10-01 22:35:26 +02:00
Veronica Berglyd Olsen
1aeb66d9af Make sure existing space is stripped before inserting non-breaking space (#1061) 2022-10-01 22:35:00 +02:00
Veronica Berglyd Olsen
3efbc14d97 Update Project Details for multi-novel projects (#1130) 2022-10-01 22:11:21 +02:00
Veronica Berglyd Olsen
534614d037 Add a root folder combo box to the Project Details dialog 2022-10-01 22:02:24 +02:00
Veronica Berglyd Olsen
479478490e Update the index to generate a ToC for a specific root folder 2022-10-01 22:02:00 +02:00
Veronica Berglyd Olsen
f4eed2bf2c Add Expand/Collapse All functionality to project tree (#1129) 2022-10-01 21:25:19 +02:00
Veronica Berglyd Olsen
ba51fb4c46 Add Expand/Collapse All functionality to project tree 2022-10-01 21:17:47 +02:00
Veronica Berglyd Olsen
bdc7e4dc10 Convert folder to document or note (#1128) 2022-10-01 20:42:43 +02:00
Veronica Berglyd Olsen
25dec2ace8 Add test coverage of convert folder feature 2022-10-01 20:32:47 +02:00
Veronica Berglyd Olsen
7d99d6c40b Merge branch 'main' into convert_folder 2022-10-01 19:06:52 +02:00
Veronica Berglyd Olsen
ba88160deb Rough framework for XML reader/writer classes 2022-09-29 20:07:52 +02:00
Veronica Berglyd Olsen
08289d0675 Merge 1.6.4 (#1121) 2022-09-29 20:05:42 +02:00
Veronica Berglyd Olsen
a64c36221c Fix remaining merge conflict 2022-09-29 20:00:05 +02:00
Veronica Berglyd Olsen
bf2229538e Bring patch 1.6.4 changes into main 2022-09-29 19:59:21 +02:00
Veronica Berglyd Olsen
922d66ff53 Fix typo in release notes and changelog 2022-09-29 19:38:28 +02:00
Veronica Berglyd Olsen
cfb6059027 Add Ubunutu 22.10 to patch build 2022-09-29 19:34:20 +02:00
Veronica Berglyd Olsen
c04715c9ef Release 1.6.4 (#1120) 2022-09-29 19:27:02 +02:00
Veronica Berglyd Olsen
d82c739f01 Release 1.6.4 2022-09-29 19:23:41 +02:00
Veronica Berglyd Olsen
7267490645 Backport fix #1113 2022-09-29 14:33:12 +02:00
Veronica Berglyd Olsen
5adf21e87a Add integration test coverage of insert spaces issue 2022-09-29 14:25:42 +02:00
Veronica Berglyd Olsen
e6b2732281 Fix insert spaces crash (#1118) 2022-09-29 14:11:39 +02:00
Veronica Berglyd Olsen
9c4b3dbc08 Improve the tree change method 2022-09-29 14:09:03 +02:00
Veronica Berglyd Olsen
3d3ac0d05d Allow converting folder to file in project tree (#1071) 2022-09-19 13:33:56 +02:00
Veronica Berglyd Olsen
9434fe2cd7 Fix clipping of cursor due to no document margin (#1113) 2022-09-14 16:57:15 +02:00
Veronica Berglyd Olsen
af55e57ba3 Fix clipping of cursor due to 0 doc margin, issue #1112 2022-09-14 16:48:46 +02:00
Veronica Berglyd Olsen
90fbfc30ad Add Ubuntu 22.10 to setup builds 2022-09-14 13:33:09 +02:00
Veronica Berglyd Olsen
c48d415a9d Update context menu entries in project tree (#1111) 2022-09-11 19:12:49 +02:00
Veronica Berglyd Olsen
874f4f7198 Change a few other project tree context menu labels 2022-09-11 18:51:18 +02:00
Veronica Berglyd Olsen
19c583f615 Fix misleading deletion label in context menu for empty folders 2022-09-11 18:48:15 +02:00
Veronica Berglyd Olsen
76e9c822c9 Make adding new docs smarter (#1110) 2022-09-11 17:40:47 +02:00
Veronica Berglyd Olsen
73b8e3e0fb Use the new item checker functions instead of equal operator 2022-09-11 17:22:46 +02:00
Veronica Berglyd Olsen
5cba10151a Make the add new item feature a little smarter 2022-09-11 17:06:16 +02:00
Veronica Berglyd Olsen
01b66bc62e Add some type and layout checker functions to the item class 2022-09-11 17:04:21 +02:00
Veronica Berglyd Olsen
f14398392a Merge release 1.6.3 into main (#1104) 2022-08-18 22:57:15 +02:00
Veronica Berglyd Olsen
3a7ed1f2f3 Merge branch 'main' into patch_to_main 2022-08-18 22:53:46 +02:00
Veronica Berglyd Olsen
802d1b0132 Improve the build scripts (#1103) 2022-08-18 22:45:43 +02:00
Veronica Berglyd Olsen
d4878525ac Improve the package build pipeline 2022-08-18 22:38:32 +02:00
Veronica Berglyd Olsen
e98e758b5f Fix missing version bump 2022-08-18 22:36:46 +02:00
Veronica Berglyd Olsen
672e3680b7 Release 1.6.3 (#1102) 2022-08-18 20:38:42 +02:00
Veronica Berglyd Olsen
53c1d1b7ee Bumped version and update changelog 2022-08-17 23:49:37 +02:00
Veronica Berglyd Olsen
721d67ac0a Merge patches from 1.6.3 (#1101) 2022-08-17 23:32:43 +02:00
Veronica Berglyd Olsen
2407b61830 Fix typo in docstring and add reference to issue 2022-08-17 23:24:18 +02:00
Veronica Berglyd Olsen
f08345b15e Merge branch 'main' into merge_patches 2022-08-17 23:21:10 +02:00
Veronica Berglyd Olsen
20da33348c Block adding spaces before colon in certain meta data cases (#1099) 2022-08-17 23:09:17 +02:00
Veronica Berglyd Olsen
7e82461aba Fix comment in test 2022-08-17 23:05:26 +02:00
Veronica Berglyd Olsen
fcfe7507d6 Block adding spaces before colon (French language feature) in certain meta data cases 2022-08-17 23:01:03 +02:00
Veronica Berglyd Olsen
90b50fe180 Fix handling of empty spellcheck language string (#1098) 2022-08-17 22:34:45 +02:00
Veronica Berglyd Olsen
3ddbfb061b Make spell ckeck tests run on en_US 2022-08-17 22:29:27 +02:00
Veronica Berglyd Olsen
93194626c7 Add an additional ignore line on main editing test 2022-08-17 22:25:02 +02:00
Veronica Berglyd Olsen
c23a1d224d Install a generic English dictionary on Linux CI 2022-08-17 22:19:32 +02:00
Veronica Berglyd Olsen
2178391bcd Update tests of spell check classes 2022-08-17 21:49:59 +02:00
Veronica Berglyd Olsen
c917fc9c9c Fix issue #1096 and remove a couple of error ourputs 2022-08-17 21:49:41 +02:00
Veronica Berglyd Olsen
15c54224e0 Update the Outline View to be consistent with the Novel Tree (#1094) 2022-08-15 18:09:33 +02:00
Veronica Berglyd Olsen
cc7ae316ad Make some minor changes for consistency between similar classes 2022-08-15 16:08:25 +02:00
Veronica Berglyd Olsen
bf49b1ee50 Merge branch 'main' into outline_updates 2022-07-31 18:55:03 +02:00
Veronica Berglyd Olsen
bb2c78c0f6 Update tests 2022-07-31 18:50:43 +02:00
Veronica Berglyd Olsen
069e3baf67 Add functionality to load and save last selected outline novel, and fix a few inconsistencies 2022-07-31 18:40:16 +02:00
Veronica Berglyd Olsen
b30a4d26ae Appimage Distribution (#1092) 2022-07-15 16:53:37 +02:00
Veronica Berglyd Olsen
338d158bae Make some minor changes to the setup script 2022-07-15 16:39:12 +02:00
Veronica Berglyd Olsen
895beb6aa1 Revert change of spelling from UK to US 2022-07-15 16:36:45 +02:00
Veronica Berglyd Olsen
67aff2550b Change look of outline tree 2022-07-15 14:38:37 +02:00
Rachel Powers
82a5da391f - ensure dist_appimage removed during cleanup
- cleanup
2022-07-08 18:53:01 -07:00
Rachel Powers
3dc4d1443f ensure prefix matching of build-appimage args do not shadow normal setup
move defaults to pyhton 3.10 and manylinux2010 for better compatability
cleanup
2022-07-08 18:40:54 -07:00
Rachel Powers
073a9acfb3 add a method to automate the building of an Appimage package 2022-07-08 15:26:03 -07:00
Rachel Powers
b363259a72 fix spelling 2022-07-08 14:08:13 -07:00
Rachel Powers
211ab290d0 bring .desktop into compliance with Desktop Entry specification 1.1
validated with `desktop-file-validate`
2022-07-08 14:06:56 -07:00
Veronica Berglyd Olsen
f9df358c4f Add the Novel Tree meta data feature (#1088) 2022-06-15 20:46:45 +02:00
Veronica Berglyd Olsen
0d01e108f1 Improve test coverage 2022-06-15 20:37:19 +02:00
Veronica Berglyd Olsen
8c4ecaeee2 Fix tests 2022-06-15 20:01:45 +02:00
Veronica Berglyd Olsen
4fa814a2fa Remove no longer needed config settings, and change default text width 2022-06-15 19:51:13 +02:00
Veronica Berglyd Olsen
bb85232ea7 Add some fixes to keep novel tree active handle up to date 2022-06-15 19:47:04 +02:00
Veronica Berglyd Olsen
469275eea5 Add novel tree highlight of rows of current document 2022-06-15 19:39:07 +02:00
Veronica Berglyd Olsen
ba0ce33cfc Add a tool tip with meta data behind a button on each novel tree item 2022-06-15 19:17:24 +02:00
Veronica Berglyd Olsen
50f299171a Add some convenient tree widget settings to the different trees 2022-06-15 17:33:47 +02:00
Veronica Berglyd Olsen
5c04e79486 Merge branch 'main' into i18n-de_DE-created 2022-06-15 17:18:47 +02:00
Veronica Berglyd Olsen
fb14e978cd Merge branch 'patch' 2022-06-15 17:11:56 +02:00
Veronica Berglyd Olsen
3a455fa1a7 Fix build ODT language, and collapsing of view panel (#1087) 2022-06-15 17:10:35 +02:00
Veronica Berglyd Olsen
ad50ad9b0d Resolve issue #1085 2022-06-15 17:06:18 +02:00
Veronica Berglyd Olsen
7d7c2dba26 Resolve issue #1073 2022-06-15 17:05:48 +02:00
Veronica Berglyd Olsen
0b95804535 Update the novel tree GUI (#1084) 2022-06-15 16:52:42 +02:00
Veronica Berglyd Olsen
6ccbb358b9 Update tests 2022-06-15 16:46:44 +02:00
Veronica Berglyd Olsen
cff464392a Use the indenta decorators of the novel tree to indicate type 2022-06-15 16:15:29 +02:00
Veronica Berglyd Olsen
3a061eec3f Update novel tree menu processing and fix issue with reaload of document 2022-06-15 16:14:28 +02:00
Veronica Berglyd Olsen
538b722bdf Fix tests and a few other bits 2022-06-14 19:33:12 +02:00
Veronica Berglyd Olsen
ea61db9591 Simplify the novel outline tree 2022-06-14 00:14:51 +02:00
Veronica Berglyd Olsen
49ace054bd Make options class handle enums, and add plot column to novel tree 2022-06-12 20:18:24 +02:00
Veronica Berglyd Olsen
8040441757 Allow changing content of last column of the novel tree 2022-06-12 19:59:18 +02:00
Veronica Berglyd Olsen
88b2d61cec Update tests 2022-06-12 17:54:37 +02:00
Veronica Berglyd Olsen
52683d5a21 Add novel tree toolbar and connect actions 2022-06-12 17:47:32 +02:00
Veronica Berglyd Olsen
b3eb276437 Wrap the novel tree in an outer widget 2022-06-12 15:45:39 +02:00
Veronica Berglyd Olsen
ed5c52859d Simplify the conversion of very old project data (#1083) 2022-06-11 23:57:08 +02:00
Veronica Berglyd Olsen
c58868ed39 Simplify the conversion of very old project data 2022-06-11 23:54:20 +02:00
Veronica Berglyd Olsen
5a5a64e3a2 Replace the edit item dialog (#1082) 2022-06-11 18:54:08 +02:00
Veronica Berglyd Olsen
2cc8be5776 Rename the main GUI function for editing an item 2022-06-11 18:48:22 +02:00
Veronica Berglyd Olsen
8d427f40c6 Add a shortcut to open project tree context menu 2022-06-11 18:40:21 +02:00
Veronica Berglyd Olsen
946656f8c5 Add test for edit label dialog 2022-06-11 18:26:41 +02:00
Veronica Berglyd Olsen
37c3bb8cd2 Replace the item editor with the label editor dialog 2022-06-11 18:19:21 +02:00
Veronica Berglyd Olsen
6058423970 Add a new edit label dialog 2022-06-11 18:17:57 +02:00
Veronica Berglyd Olsen
d162be3543 Give main GUI objects better names (#1081) 2022-06-11 16:36:15 +02:00
Veronica Berglyd Olsen
985179bbb9 Rename main theme object 2022-06-11 16:29:49 +02:00
Veronica Berglyd Olsen
db01d85f2e Rename outline components 2022-06-11 15:59:08 +02:00
Veronica Berglyd Olsen
94068e777a Give main GUI elements more identifiable names 2022-06-11 15:49:45 +02:00
Veronica Berglyd Olsen
0181bebd70 Rename ambiguous theParent variable to mainGui 2022-06-11 15:33:32 +02:00
Veronica Berglyd Olsen
b8d557646a Update the Project Tree with major improvements (#1079) 2022-06-11 14:53:45 +02:00
Veronica Berglyd Olsen
025463a28e Improve project tree test coverage 2022-06-11 14:40:03 +02:00
Veronica Berglyd Olsen
f0bef18b63 Re-implement the tree context menu 2022-06-11 13:44:45 +02:00
Veronica Berglyd Olsen
77746f712f Fix inconsistend expand/collapse when tree items are moved 2022-06-11 12:33:37 +02:00
Veronica Berglyd Olsen
ad438e128a Merge branch 'main' into project_tree_updates 2022-06-07 23:41:48 +02:00
Veronica Berglyd Olsen
af39fb98a1 Clean up project tree code and add undo action to the menu 2022-06-07 23:38:17 +02:00
Veronica Berglyd Olsen
ef270bc069 Tweak project toolbar look, and fix shortcuts 2022-06-07 22:38:02 +02:00
Veronica Berglyd Olsen
0909bf7c36 Update code of conduct to v2.1 2022-06-07 10:34:27 +02:00
Veronica Berglyd Olsen
5a6ef5efd3 Add move buttons to project tree toolbar 2022-06-07 00:11:42 +02:00
Veronica Berglyd Olsen
272e7f6e24 Remove redundant menu entries 2022-06-06 22:17:24 +02:00
Veronica Berglyd Olsen
46bb8e5bcc Populate the add button menu in the project widget 2022-06-06 22:03:42 +02:00
Veronica Berglyd Olsen
12a7ec7fe3 Allow the project class to create new files 2022-06-06 22:02:44 +02:00
Veronica Berglyd Olsen
d07f5dc520 Wrap project tree in an outer widget with a toolbar 2022-06-06 15:50:46 +02:00
Veronica Berglyd Olsen
b88cdb7677 Make the project tree columns fixed 2022-06-06 14:11:59 +02:00
Veronica Berglyd Olsen
669eabc7e8 Handle actions in the project tree internally in the class 2022-06-06 13:46:54 +02:00
Veronica Berglyd Olsen
24112f6d8d Merge branch 'main' into i18n-de_DE-created 2022-06-06 13:27:48 +02:00
Veronica Berglyd Olsen
3ff5dfce33 Set build language for Open Document files (#1077) 2022-06-05 22:47:21 +02:00
Veronica Berglyd Olsen
2f81aef0a3 Set build language for Open Document files 2022-06-05 22:42:25 +02:00
Veronica Berglyd Olsen
29739ab210 Update the Outline View panel (#1063)
Add a top level widget that contains the entire Outline View.
Move the details panel code to the outline.py file.
Add a toolbar to the top of the Outline view with a dropdown box to select which Novel folder to view.
Add a refresh button to the tool bar.
Move the context menu for changing columns to a menu button on the tool bar.
Remove the Rebuild Outline and Auto-Update Outline options from the main menu.
2022-06-05 22:34:49 +02:00
Veronica Berglyd Olsen
4d9b94cfe6 Improve test coverage of Outline 2022-06-05 22:31:10 +02:00
Veronica Berglyd Olsen
85f63721e0 Allow showing all novel files in Outline 2022-06-05 18:43:09 +02:00
Veronica Berglyd Olsen
92924b3288 Make the new item function better at guessing header level of new files 2022-06-05 17:41:29 +02:00
Veronica Berglyd Olsen
88976d6800 Streamline how project item changes are reported 2022-06-05 17:25:39 +02:00
Veronica Berglyd Olsen
2873336dce Allow switching between root novel folders 2022-06-05 15:04:04 +02:00
Veronica Berglyd Olsen
de07546e3f Fix tests 2022-06-05 13:41:22 +02:00
Veronica Berglyd Olsen
ac14888e2a Merge branch 'main' into outline_view 2022-06-05 13:36:54 +02:00
Veronica Berglyd Olsen
c28ac37df1 Rewrite index class (#1074)
Rewrites the index class to use objects rather than dictionaries to store indexing information.
Moves the index instance into the main project class instead of the main GUI object.
Makes the project tree and project options classes private to the project class.
2022-06-05 13:21:45 +02:00
Veronica Berglyd Olsen
63068f1018 Add full test coverage of index class 2022-06-05 13:17:24 +02:00
Veronica Berglyd Olsen
22099c1b56 Make some minor improvements to handling of tags and references 2022-06-03 11:07:40 +02:00
Veronica Berglyd Olsen
eed59a96be Make some fixes to the index class, and improve test coverage 2022-05-30 00:28:43 +02:00
Veronica Berglyd Olsen
865acfd7e9 Clean up imports 2022-05-29 19:40:14 +02:00
Veronica Berglyd Olsen
d1b32f1ba1 Move the tags index into a wrapper class 2022-05-29 19:24:41 +02:00
Veronica Berglyd Olsen
77e50a6cee Move the item index into a wrapper class and combine the access functions 2022-05-29 18:58:32 +02:00
Veronica Berglyd Olsen
347d34bf83 Clean up the index code a bit and add index validation 2022-05-29 00:18:48 +02:00
Veronica Berglyd Olsen
94ba7a2f94 Use the new index instead of the old 2022-05-28 21:59:52 +02:00
Veronica Berglyd Olsen
01be8be44f Remove old tagsIndex 2022-05-28 20:16:27 +02:00
Veronica Berglyd Olsen
d584f57a3b Loading of new index now works 2022-05-28 19:45:33 +02:00
Veronica Berglyd Olsen
b5b0074411 Rewritten index storage using classes instead 2022-05-28 18:48:31 +02:00
Veronica Berglyd Olsen
44926a4e9a Also make tree and options properties of the project 2022-05-28 14:33:25 +02:00
Veronica Berglyd Olsen
8bdd09400a Move the project index into the project class 2022-05-28 14:11:58 +02:00
Veronica Berglyd Olsen
8ac30b036a Change how tag links are followed 2022-05-26 12:11:22 +02:00
Veronica Berglyd Olsen
ecc0585c87 Add a toolbar to the Outline view 2022-05-22 23:03:30 +02:00
Veronica Berglyd Olsen
007f2fbff4 Add a menu icon 2022-05-22 22:46:42 +02:00
Veronica Berglyd Olsen
1f66ed3e3b Reduce the list of tag classes in outline view when they are not used 2022-05-22 21:00:49 +02:00
Veronica Berglyd Olsen
eb66b2c175 Merge branch 'main' into outline_view 2022-05-22 18:15:36 +02:00
Veronica Berglyd Olsen
5d86cfb092 Improve GUI look and usability (#1069) 2022-05-22 18:11:25 +02:00
Veronica Berglyd Olsen
b9fcc43ca6 Move highlighting theme setting back to General tab in Preferences 2022-05-22 17:53:46 +02:00
Veronica Berglyd Olsen
3cfc5d9a1a Remove borders from all main GUI widgets 2022-05-22 17:45:54 +02:00
Veronica Berglyd Olsen
25427e8521 Add tooltips to views bar 2022-05-22 17:43:38 +02:00
Veronica Berglyd Olsen
2425af4bfe Add menu to view bar settings, and add build button 2022-05-22 17:00:45 +02:00
Veronica Berglyd Olsen
4a4ed32fe6 Add new view bar icons 2022-05-22 17:00:09 +02:00
Veronica Berglyd Olsen
f7e31bd452 Use "project name" consistently on the GUI 2022-05-22 16:23:49 +02:00
Veronica Berglyd Olsen
adf7357155 Merge branch 'main' into outline_view 2022-05-22 16:19:53 +02:00
Veronica Berglyd Olsen
a541c90690 Add icon name to xdg mime type just in case (#1068) 2022-05-22 15:58:09 +02:00
Veronica Berglyd Olsen
217e184153 Update new project creation (#1067) 2022-05-21 22:22:07 +02:00
Veronica Berglyd Olsen
e14348a05b Fix a few text labels on the wizard 2022-05-21 22:18:16 +02:00
Veronica Berglyd Olsen
78b97ce8fb Remove name as a required parameter for new root folders since no part of the GUI uses it 2022-05-21 22:10:25 +02:00
Veronica Berglyd Olsen
aeaaaaf3af Update test coverage 2022-05-21 21:55:19 +02:00
Veronica Berglyd Olsen
63a3e56cdb Fix ignored lines in XML comparison 2022-05-21 18:15:38 +02:00
Veronica Berglyd Olsen
cea22b6147 Clean up new project creation function 2022-05-21 17:58:47 +02:00
Veronica Berglyd Olsen
06d39ea352 Make tests not depend on minimal project settings 2022-05-21 17:33:58 +02:00
Veronica Berglyd Olsen
b4ea5bc8d0 Update minimal project content 2022-05-21 17:33:36 +02:00
Veronica Berglyd Olsen
ad42a71427 Fix tests 2022-05-21 16:57:09 +02:00
Veronica Berglyd Olsen
46dce17dfe Update new project generation to match wizard 2022-05-21 16:29:41 +02:00
Veronica Berglyd Olsen
7a8c97225b Add a summary page to the wizard 2022-05-21 15:47:21 +02:00
Veronica Berglyd Olsen
5574d8d6c0 Update and clarify the options on the Wizard 2022-05-21 15:11:33 +02:00
Veronica Berglyd Olsen
a166d9a4dd Add a Translation Guidelines section in i18n 2022-05-19 20:04:10 +02:00
Veronica Berglyd Olsen
b863077bfe Make minor changes post 1.7b1 release (#1065) 2022-05-17 20:52:50 +02:00
Veronica Berglyd Olsen
ae2b5d4403 Fix typo and set max width on views bar 2022-05-17 20:22:39 +02:00
Veronica Berglyd Olsen
301d81f987 Update various translation files 2022-05-17 20:22:16 +02:00
Veronica Berglyd Olsen
15f59c1a4e Release 1.7 Beta 1 (#1064) 2022-05-17 18:51:01 +02:00
Veronica Berglyd Olsen
9eaf240674 Release 1.7-beta1 2022-05-17 18:41:01 +02:00
Veronica Berglyd Olsen
a71fa02b0c Sort i18n credits on about and credits doc 2022-05-17 18:40:10 +02:00
Veronica Berglyd Olsen
9add2aaa87 Update the sample project to reflect new functionality 2022-05-17 17:51:40 +02:00
Veronica Berglyd Olsen
a5b2a06f84 Fix tests and add missing methods 2022-05-15 17:56:36 +02:00
Veronica Berglyd Olsen
ca48e37163 Move the outline view into a wrapper widget 2022-05-15 17:45:51 +02:00
Veronica Berglyd Olsen
304d122342 Add valid path check to the New Project Wizard (#1062) 2022-05-15 16:43:43 +02:00
Veronica Berglyd Olsen
7c7e4c2297 Disabled second wizard test on macOS as it too segfaults 2022-05-15 16:39:41 +02:00
Veronica Berglyd Olsen
e2c10f52d2 Disabled wizard test on macOS as it still segfaults 2022-05-15 16:37:09 +02:00
Veronica Berglyd Olsen
c91f19f9f7 Update wizard test coverage 2022-05-15 16:31:51 +02:00
Veronica Berglyd Olsen
1d5c8566d1 Check the sanity of paths during project wizard run (issue #1058) 2022-05-15 15:11:17 +02:00
Veronica Berglyd Olsen
badb768529 Add a "views" toolbar to the main GUI (#1057) 2022-05-14 19:12:02 +02:00
Veronica Berglyd Olsen
d965320b57 Fix broken test 2022-05-14 19:07:34 +02:00
Veronica Berglyd Olsen
096c2dbc83 Add Typicons link to credits 2022-05-14 19:03:51 +02:00
Veronica Berglyd Olsen
88cc4bd5a4 Add new icons for the views bar 2022-05-14 19:00:47 +02:00
Veronica Berglyd Olsen
e8a0a6d5f9 Connect the change of view methods to all relevant actions 2022-05-14 18:27:18 +02:00
Veronica Berglyd Olsen
864b06a0e7 Shift all view changing functionality to the new Views bar 2022-05-10 22:14:35 +02:00
Veronica Berglyd Olsen
ea09a53496 Add the GuiViewsBar class 2022-05-10 20:56:52 +02:00
Veronica Berglyd Olsen
d6ca87868b Add quick delete for empty folders (#1055) 2022-05-08 18:26:25 +02:00
Veronica Berglyd Olsen
14458c7184 Merge branch 'main' into delete_items 2022-05-08 18:23:04 +02:00
Veronica Berglyd Olsen
12cfce758c Force consistency of item settings (#1054) 2022-05-08 18:22:52 +02:00
Veronica Berglyd Olsen
9e9beea83c Fix outdated docstring in project tree class 2022-05-08 18:21:17 +02:00
Veronica Berglyd Olsen
0a5c51ad4b Make deleting empty folders bypass Trash 2022-05-08 18:07:21 +02:00
Veronica Berglyd Olsen
9ee4d1b2cd Reset meta data for folders 2022-05-08 17:52:36 +02:00
Veronica Berglyd Olsen
d833692e27 Merge branch 'main' into item_checks 2022-05-08 17:46:37 +02:00
Veronica Berglyd Olsen
b68280655f Add Mastodon link to main readme and docs 2022-04-28 19:17:16 +02:00
Veronica Berglyd Olsen
1e7d329962 Force conistency of ROOT item settings 2022-04-28 19:04:21 +02:00
Veronica Berglyd Olsen
b35c85e831 Allow deleting non-empty folders (#1048) 2022-04-23 21:44:37 +02:00
Veronica Berglyd Olsen
bb53b2530c Fix error messages when emptying trash 2022-04-23 21:41:14 +02:00
Veronica Berglyd Olsen
9bc7250532 Allow deleting non-empty folders 2022-04-23 21:33:11 +02:00
Veronica Berglyd Olsen
160c3d80f9 Fix the redundant spaces highlight option text in Preferences (#1046) 2022-04-23 20:14:13 +02:00
Veronica Berglyd Olsen
5538c3f995 Merge branch 'main' into issue_1043 2022-04-23 20:03:43 +02:00
Veronica Berglyd Olsen
c7e560ffc5 Allow documents to have child items (#1047) 2022-04-23 20:03:30 +02:00
Veronica Berglyd Olsen
d9e3fd7a01 Make some minor improvements to how expanded status is saved for items 2022-04-23 19:34:40 +02:00
Veronica Berglyd Olsen
732f20a0f1 Fix word count accounting and double click tree expansion 2022-04-23 19:00:11 +02:00
Veronica Berglyd Olsen
a8a34a4a37 Fix drag and drop word propagation 2022-04-23 18:03:03 +02:00
Veronica Berglyd Olsen
821833df8e Fix tests and drop unused function from NWTree class 2022-04-23 17:05:29 +02:00
Veronica Berglyd Olsen
bd5a14b18e Block drag and drop for ROOT items on the widget level, and drop the TRASH item type 2022-04-23 16:57:13 +02:00
Veronica Berglyd Olsen
d96c8ddf85 Remove all restrictions on drag and drop except in ROOT items 2022-04-23 16:21:20 +02:00
Veronica Berglyd Olsen
5cdcda66a5 Update data recursively when moving an item with child items 2022-04-23 16:09:50 +02:00
Veronica Berglyd Olsen
1a47bbaf8c Allow files to have child items 2022-04-23 15:53:14 +02:00
Veronica Berglyd Olsen
64da2793ac Allow file items to save expanded status 2022-04-23 15:38:53 +02:00
Veronica Berglyd Olsen
31fac7bf45 Make the test suite less spammy again 2022-04-23 15:28:26 +02:00
Veronica Berglyd Olsen
147b9a4501 Fix the redundant spaces highlight option text in Preferences: issue #1043 2022-04-23 15:17:20 +02:00
Veronica Berglyd Olsen
b588fdfe1a Use the random generator for item handles (#1044) 2022-04-20 22:00:34 +02:00
Veronica Berglyd Olsen
607f9409d2 Update tests 2022-04-20 21:50:07 +02:00
Veronica Berglyd Olsen
e32eb21fbf Add a mock random number generator for testing 2022-04-20 21:46:53 +02:00
Veronica Berglyd Olsen
8320aab1bf Use the same method to generate item handles as for status keys 2022-04-20 21:44:45 +02:00
Veronica Berglyd Olsen
ca76cb2af3 Make a couple of random, minor fixes 2022-04-20 17:15:55 +02:00
Veronica Berglyd Olsen
e938ea8967 Allow multiple roots of same class (#1031) 2022-04-17 19:35:51 +02:00
Veronica Berglyd Olsen
15ede5e14c Make better use of the new NWItem functions and do some cleanup 2022-04-17 19:15:00 +02:00
Veronica Berglyd Olsen
4eec2926cb Clean up unused code and add more comments 2022-04-17 18:38:25 +02:00
Veronica Berglyd Olsen
3f4356467e Relax moving restrictions in project tree, and improve test coverage of NWItem class 2022-04-17 18:32:22 +02:00
Veronica Berglyd Olsen
50db7fcddb Simplify updating an item after it has been moved 2022-04-17 17:49:47 +02:00
Veronica Berglyd Olsen
d158de5d82 Update test coverage 2022-04-17 17:00:43 +02:00
Veronica Berglyd Olsen
4cfbbf4c68 Remove max folder depth restriction, and simplify adding folders and files in the tree 2022-04-17 14:44:11 +02:00
Veronica Berglyd Olsen
ebee9ff791 Update tests 2022-04-16 20:56:52 +02:00
Veronica Berglyd Olsen
61f5425662 Update new item functions in project class 2022-04-16 20:55:54 +02:00
Veronica Berglyd Olsen
da13fbff08 Merge branch 'main' into multi_root 2022-04-16 18:49:46 +02:00
Veronica Berglyd Olsen
b785128f4c Make status and importance labels sortable again (#1040) 2022-04-16 18:40:10 +02:00
Veronica Berglyd Olsen
3ed74f0b02 Add test coverage of status and importance reordering 2022-04-16 18:35:26 +02:00
Veronica Berglyd Olsen
6aa13e318b Add sorting capability to status and importance labels 2022-04-16 18:17:01 +02:00
Veronica Berglyd Olsen
fd2248de17 Add up and down button icons 2022-04-16 17:44:54 +02:00
Veronica Berglyd Olsen
17c56440f2 Automatic indexing of un-indexed files (#1039)
* Downgrade rebuild index dialog from warning to info
* Don't flag index as broken if file is missing, just add it again
* Fix log warning
* Drop the return value in the index checker
2022-04-16 17:28:28 +02:00
Veronica Berglyd Olsen
b642e4437e Simplify text labels in XML (#1038) 2022-04-16 17:03:44 +02:00
Veronica Berglyd Olsen
2f547033cd Simplify all other strings in main project class 2022-04-16 17:00:08 +02:00
Veronica Berglyd Olsen
72c5a9ee92 Rename some internal variables in the NWItem class 2022-04-16 16:47:57 +02:00
Veronica Berglyd Olsen
048e5faa1f Also simplify item labels, due to XML limitations 2022-04-16 16:44:39 +02:00
Veronica Berglyd Olsen
c9f7fba7dd Re-implement the status and importance flags (#1034) 2022-04-16 16:32:48 +02:00
Veronica Berglyd Olsen
c5f92edaa8 Update the NWProject class test for status and import labels 2022-04-16 16:27:46 +02:00
Veronica Berglyd Olsen
d7a8cb1537 Rewrite NWStatus class tests 2022-04-16 15:38:13 +02:00
Veronica Berglyd Olsen
fedb064b1f Fix other tests 2022-04-16 15:01:55 +02:00
Veronica Berglyd Olsen
cf7e1da96a Fix display text issues in varuious GUI elements 2022-04-16 14:59:59 +02:00
Veronica Berglyd Olsen
e98e942f19 Replace key generator in the NWStatus class 2022-04-16 14:59:25 +02:00
Veronica Berglyd Olsen
ac904ee9fc Update sample project file 2022-04-05 23:15:18 +02:00
Veronica Berglyd Olsen
ddd8b60816 Complete the needed GUI class changes for the new NWStatus class 2022-04-05 23:13:39 +02:00
Veronica Berglyd Olsen
40e7055f16 Rewrite most of the NWStatus class 2022-04-05 22:08:14 +02:00
Veronica Berglyd Olsen
7298e1f438 Add two new utility functions to the common module 2022-04-05 22:07:20 +02:00
Myian
383364b165 Update nw_de_DE.ts 2022-04-05 20:28:27 +02:00
Myian
8e0c42afa9 Update about.py 2022-04-05 20:16:49 +02:00
Veronica K. B. Olsen
9c9408d78a Changing status or importance flags should still update hidden flags 2022-04-05 11:22:41 +02:00
Myian
d1a4fbf3ce Update CREDITS.md 2022-04-04 17:47:29 +02:00
Myian
d28e0743f0 Update about.py 2022-04-04 17:46:56 +02:00
Myian
bf3d89e550 Add files via upload 2022-04-04 17:33:52 +02:00
Veronica Berglyd Olsen
34b5181f34 Merge branch 'main' into multi_root 2022-04-03 22:53:45 +02:00
Veronica Berglyd Olsen
23fd6b815f Save both status and importance flags (#1030)
* Put the status icons in the status object itself
* Allow saving both status and importance values
* Update current tests
* Improve test coverage
* Update sample project file
2022-04-03 22:43:11 +02:00
Veronica Berglyd Olsen
bdde6a2080 Clean up handling of root and class info for items 2022-04-03 17:45:17 +02:00
Veronica Berglyd Olsen
37970bd446 Add root information to project file 2022-04-02 19:43:26 +02:00
Veronica Berglyd Olsen
f9ddcd2f8a Restructure the record of root items in the tree class 2022-04-02 19:13:54 +02:00
Veronica Berglyd Olsen
8ddda4783d Merge branch 'main' into multi_root 2022-04-02 17:42:37 +02:00
Veronica Berglyd Olsen
a04b44d890 Add Lorem Ipsum tool (#1028)
* Add a Lorem Ipsum dialog
* Add the Lorem Ipsum text and insert action
* Add test coverage
2022-04-02 17:41:35 +02:00
Veronica Berglyd Olsen
89558481de Merge branch 'main' into multi_root 2022-04-02 16:03:43 +02:00
Martijn
99cc3635f7 Add Dutch translation (#1027)
* Add @mvdkleijn as translator
* Update about.py
2022-03-23 19:22:44 +01:00
Veronica Berglyd Olsen
6e3262f78e Minor fixes and updates (#1026)
* Make the Tokenizer class an abstract class
* Fix error message when opening non-file project items
2022-03-20 17:00:29 +01:00
Veronica Berglyd Olsen
fbff421de8 Merge 1.6.2 (#1025) 2022-03-20 16:04:18 +01:00
Veronica Berglyd Olsen
cebe20964f Merge branch 'main' into merge_1.6.2 2022-03-20 15:59:12 +01:00
Veronica Berglyd Olsen
203e353e92 Release 1.6.2 (#1024) 2022-03-20 15:44:52 +01:00
Veronica Berglyd Olsen
8c4e5b99fe Only compute shasum of file if it exists (#1023) 2022-03-20 15:22:09 +01:00
Veronica Berglyd Olsen
16ce55ba60 Make sure empty files are indexed (#1022)
* Make sure also empty files are indexed
* Update comments
2022-03-20 15:09:46 +01:00
Veronica Berglyd Olsen
a2d33e9672 Merge 1.6.1 (#1019) 2022-03-16 23:15:39 +01:00
Veronica Berglyd Olsen
6317202626 Merge branch 'main' into merge_1.6.1 2022-03-16 23:11:59 +01:00
Veronica Berglyd Olsen
4cbbae6d2f Release 1.6.1 (#1018) 2022-03-16 23:01:14 +01:00
Veronica Berglyd Olsen
9e76498f65 Update Latin American Spanish translation (#1017) 2022-03-16 22:41:52 +01:00
Veronica Berglyd Olsen
1c7708babd Fix infinite search loop bug (#1016)
* Make sure the search loop in the editor cannot run infinitely
* Add test coverage of infinite search case
* Run GitHub actions against the patch branch
2022-03-16 22:34:29 +01:00
Veronica Berglyd Olsen
ce4d3c0b5c Update linting settings, and drop Ubuntu 18.04 releases (#1014)
* Add E133 and W503 to ignored list for flake8
* Drop making releases for Ubuntu 18.04
2022-03-15 22:07:33 +01:00
Veronica Berglyd Olsen
7f43584ed5 Merge bugfixes (#1009)
* Fix document margin recursion error (#1007)
* Fix project file icon path in Windows installer (#1006)
2022-02-24 21:19:12 +01:00
Veronica Berglyd Olsen
7532fdb1fc Fix project file icon path in Windows installer (#1006) 2022-02-24 21:08:42 +01:00
Veronica Berglyd Olsen
3cdba90bb0 Fix document margin recursion error (#1007) 2022-02-24 21:06:28 +01:00
Veronica Berglyd Olsen
011291f225 Drop support for Python 3.6 (#1004)
* Drop support for Python 3.6
* Remove unused time parsing function
* Use Python 3.7 datetime function for writing stats data conversion
* Test against Python 3.10 on macOS and Windows
2022-02-20 23:35:33 +01:00
Veronica Berglyd Olsen
045a595537 Implement project file format 1.4 (#993)
* Update the item class with more compact item storage format
* Bump version and file version
* Update tests
* Add explicit test coverage for format conversions for item class
* Update the documentation
2022-02-20 22:05:31 +01:00
Veronica Berglyd Olsen
be703c1f46 Merge Release 1.6 (#1003)
* Update Spanish translation
* Bumb version and update changelog and release notes
* Add a note in the changelog
2022-02-20 20:09:24 +01:00
Veronica Berglyd Olsen
45c4f3cb97 Add Out of Cheese Error (#1000)
* Add error dialog window title
* Add more error messages
2022-02-16 17:43:50 +01:00
Veronica Berglyd Olsen
3fdea6e57a Fix tests 2022-02-14 22:18:38 +01:00
Veronica Berglyd Olsen
05aa656e75 Remove checks for unique root 2022-02-14 22:18:16 +01:00
Veronica Berglyd Olsen
f8ddff9bc3 Update en_US, fr_FR, nb_NO and pt_BR (#992)
* Update en_US, fr_FR, nb_NO, pt_BR translations
* Add Dutch project localisation
2022-02-12 18:15:51 +01:00
Veronica Berglyd Olsen
7f2d51bd15 Make some corrections to the docs introduction section (#991) 2022-02-12 18:13:17 +01:00
Veronica Berglyd Olsen
45def4b3b7 Set a default editor font for Windows and macOS (#990)
* Set a specific default editor font for Windows and macOS as GUI font isn't suitable
* Fix wrong reference
2022-02-12 17:36:58 +01:00
Veronica Berglyd Olsen
67c94314ed Remove Ubuntu 21.04 release and add 22.04 (#987) 2022-02-06 23:47:37 +01:00
Veronica Berglyd Olsen
7f320d23ca Release 1.6 RC 1 (#986)
* Bump version, update changelog and base translation file
* Replace svg image for docs due to LaTeX build error
2022-02-06 23:27:10 +01:00
Veronica Berglyd Olsen
6d097f0bcb Add customisation help to docs (#984)
* Make sure user-defined themes folders exist in the data path
* Minor cleanup in shortcuts table
* Add details in docs on how to customise GUI and add dictionaries
* Add spell check reference in docs overview
2022-02-06 13:45:30 +01:00
Veronica Berglyd Olsen
d7f2fec8ad Fix typo in main README 2022-02-06 00:00:20 +01:00
Veronica Berglyd Olsen
5ee857f6f4 Add new docs theme, and restructure (#978)
* Change documentation theme to 'furo'
* Update docs source for new theme
* Update index and split introduction
* Add a Getting Started section to the docs
* Rename getting started docs file
* Reorganise setup instructions
* Update usage sections for consistency
* Update docs references in main README
* Show release in sidebar
2022-02-05 23:59:05 +01:00
Veronica Berglyd Olsen
07c92b4bc3 Simplify windows setup builder a bit (#983)
* Optimise setup file
* Shorten windows setup file name
2022-02-04 23:58:01 +01:00
Veronica Berglyd Olsen
a0cdf44deb Add a windows setup builder (#981)
* Add a package builder for windows install
* Remove old win installer build
* Update setup instructions
* Some minor clarifications to docs and README
2022-02-04 20:37:04 +01:00
Veronica Berglyd Olsen
71419eeda3 Update docs on install and project storage (#976)
* Add note to docs about Ubuntu repo on Debian (issue #956)
* Add section on project storage to docs (covers issue #960)
2022-01-25 18:29:23 +01:00
Veronica Berglyd Olsen
85ea9f5b19 Add automatic index rebuild (#975)
* Rebuild the index automatically if not all files are in the index on open
* Update tests
2022-01-25 17:41:34 +01:00
Veronica Berglyd Olsen
1a9efa4e1e Allow hiding scene and section titles in export builds (#974) 2022-01-23 15:57:51 +01:00
Veronica Berglyd Olsen
ec07cebb51 Handle IO error on document save (#961)
* Add try/except to document replace call
* Try the os.replace command 5 times
* Just use else condition on for loop instead
* Make the exceptions explicitly OSError
* Revert the os.replace loop, as this is not the issue
2022-01-19 19:13:08 +01:00
Veronica Berglyd Olsen
8b603d15a5 Add back in i18n instructions and revert changes to class labels (#970)
* Revert the duplicate class name labels since there was no real need
* Restore i18n instructions
2022-01-19 08:35:59 +01:00
Veronica Berglyd Olsen
074718aedc Clean up GUI text (#969)
* Remove all statustip entries in the menu
* Prune text in Preferences
* Fix class labels
* Remove some redundant tooltips
* Improve some labels and dialogs
* Remove some more tooltips and fix a typo
* Update base ts file
* Fix typo
2022-01-18 22:16:25 +01:00
Veronica Berglyd Olsen
25038e6cbb Add support for external translation tools (#968)
* Make some minor translation fixes
* Remove crowdin file and add import function for crowdin zip file
* Rename fallback project lang file to en_GB
* Update all i18n files from crowdin exports
* Fix tests
* Update docs
2022-01-18 19:17:20 +01:00
Veronica Berglyd Olsen
537bf921d2 Update Crowdin configuration file 2022-01-18 16:42:45 +01:00
Veronica Berglyd Olsen
f06048384d Add a base language file (#965) 2022-01-18 16:40:35 +01:00
Veronica Berglyd Olsen
56e96ec3aa Update Crowdin configuration file 2022-01-18 15:11:47 +01:00
Veronica Berglyd Olsen
95c9e9d695 Update Crowdin configuration file 2022-01-18 14:59:27 +01:00
Veronica Berglyd Olsen
cb587112da Update language files (#964) 2022-01-18 10:17:22 +01:00
Veronica Berglyd Olsen
306edec32d Remove dependency from i18n docs and fix JSON error in Chinese file (#963) 2022-01-18 09:44:49 +01:00
Veronica Berglyd Olsen
c1c6a370a5 Merge patch 1.5.5 (#955)
* Remove os.path.commonpath call (Issue #954)
* Bump version and update changelog and release notes
2022-01-05 16:24:34 +01:00
Veronica Berglyd Olsen
00b3c3e9d2 Release 1.6 Beta 1 (#953) 2022-01-04 22:52:18 +01:00
Veronica Berglyd Olsen
52efbcc89f Merge changes from 1.5.4 (#952)
* Backport fix to issue #950
* Bump version and update changelog and release notes
2022-01-04 21:12:32 +01:00
Veronica Berglyd Olsen
9be2519406 Resolve HTML render bug (#951)
* Fix bug breaking HTML rendering with angle brackets in other blocks than normal text
* Restore cursor if document viewer fails to load
* Improve test coverage
2022-01-04 20:52:36 +01:00
Veronica Berglyd Olsen
59e10fbf0a Make ODT export more LibreOffice friendly (#949)
* Make the ToODT class more LibreOffice friendly
* Update tests
2022-01-02 20:49:12 +01:00
Veronica Berglyd Olsen
79657a9d53 Fix line number update when searching (#947)
* Fix line position in footer not updating when searching
* Update and fix docstrings
2022-01-02 00:12:46 +01:00
Veronica Berglyd Olsen
0401b8556d Add result count to search and rewrite scroll past end feature (#946)
* Restore colours to dark theme search-replace icon
* Implement a working search result counter
* Disable scroll past end feature and clean up search/replace and update test
* Re-implement scroll past end feature as a static distance
* Stop the search box from resizing on every search
2022-01-01 19:36:04 +01:00
Veronica Berglyd Olsen
b0f939af32 Apply open document shortcuts to the tree that has focus (#945)
* Better handling of Enter/Return on GUI trees, resolves #913
* Update test
* Generalise open selected handle functions
* Improve test coverage
* Update docstring
2021-12-31 19:51:26 +01:00
Veronica Berglyd Olsen
7024254960 Simplify text width settings (#943)
* Remove the fixed text width switch, resolves #924
* Update tests
* Clean up code to set text width and add to viewer
2021-12-31 17:17:27 +01:00
Veronica Berglyd Olsen
6ac9e1aec4 Tighten up the item class (#937)
* Protect the attributes of the NWItem class
* Fix test coverage
* Add a type checker function to the tree class
2021-12-31 16:25:20 +01:00
Veronica Berglyd Olsen
af3d0d2eb0 Happy new year! (#941) 2021-12-31 15:56:43 +01:00
Veronica Berglyd Olsen
5afd402c8b Merge 1.5.3 fixes (#940)
* Resolve #918
* Resolve #935
* Bump version and update changelog and release notes
2021-12-31 14:58:17 +01:00
Veronica Berglyd Olsen
5e2ab4f612 Refactor core and base classes (#931)
* Improve the NWIndex class
* Improve the NWItem and NWDoc classes
* Make some optimisations in projects and update tests
* Minor changes to string formatting in main source file
* Add some more protection to core classes
* Make all converter class attributes private
2021-12-18 16:03:45 +01:00
Veronica Berglyd Olsen
2f75d88694 Merge hotfixes from 1.5.2 (#934)
* Backport fix for issue #929
* Make the spell check wrapper more robust, solves #933
* Bump version and update changelog and release notes
2021-12-12 17:30:38 +01:00
Veronica Berglyd Olsen
00eea24e3f Error logging and mutables as function defaults (#930)
* Remove mutable iterables as function defaults
* Improve error reporting and standardise how it's done
2021-11-10 00:32:01 +01:00
Veronica Berglyd Olsen
67d2e266fd Fix greater/lesser symbol bug in HTML conversion (#928)
* Fix issue with greater or lesser symbol in paragraph with formatting
* Add test coverage and make another fix to special case of mixing formats
2021-11-10 00:26:07 +01:00
Tommy Marplatt
32d6583ae3 Complete Latin American Spanish GUI localisation (es_419) (#927)
* Complete Latin American Spanish GUI localisation (es_419)
* LA Spanish localisation credits
2021-11-09 21:20:57 +01:00
Veronica Berglyd Olsen
e8bb130245 Code and GUI text cleanup (#926)
* Move int range checkers from options class to common file
* Improve error handling and reporting
* Make some minor improvements to init and test suite
* Fix 'trypewriter' to 'typewriter' typo
* Remove menu path description in dialog help text
* Improve the help text for entries in the Format menu
* Reword a couple of dialog messages
2021-11-07 18:17:17 +01:00
Veronica Berglyd Olsen
e71121f738 Fix docs build issues (#922)
* Remove python version in rtd config
* Try pinning docutils version
2021-10-31 23:42:25 +01:00
Veronica Berglyd Olsen
c17cec0574 Fix missing translation (#921)
* Fix missing translation of label
* Make some minor fixes to comments and logging
2021-10-31 23:10:29 +01:00
Veronica Berglyd Olsen
f562937e81 Add pylupdate6 tool to i18n (#920)
* Add the pylupdate code from PyQt6 source
* Fix linting errors in pylupdate6
* Update setup script, add readme and update debian copyright file
2021-10-31 22:43:00 +01:00
Tommy Marplatt
508d92c3e8 Improve the i18n readme (#917)
* Improve i18n readme.
* Make some minor clarifications and reformatting of the i18n readme file

Co-authored-by: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
2021-10-28 23:38:59 +02:00
Veronica Berglyd Olsen
299cde9cdf Improve handling of page breaks (#916)
* Remove page break from title and always allow for partition and chapter
* Move strip of format string into the Tokenizer class
* Fix page breaks in HTML for skip and sep
* Update documentation
* Update tests
* Allow page breaks before scene and section headers
* Never hide the scene header and instead default to skip line
2021-10-24 22:09:41 +02:00
Veronica Berglyd Olsen
da2685131d Update how translation files are built and added (#915)
* Fix wrapping of setup help text
* Fix wrong info in help description in setup
* Drop .pro file and generate lupdate arguments on the fly
* Generate lrelease arguments on the fly
* Update i18n readme file
2021-10-24 16:01:26 +02:00
Veronica Berglyd Olsen
9a484193eb Merge hotfixes from 1.5.1 (#914)
* Fix bug in translation source list and restore lost translations
* Fix shift focus to novel tree on Alt+1 when visible
* Bump version and update changelog and release notes
2021-10-23 16:23:01 +02:00
Veronica Berglyd Olsen
1c45331b0a Fix and optimise code (#904)
* Fix bug in early error reporting in main init
* Update docstrings and optimise code in GuiMain
* Update docstrings and optimise code in Config
* Update docstrings and optimise code in common module
* Update docstrings and optimise code in main project classes
* Update the OptionState class
* Update the spell checker class
* Update the file converter classes and extend tests
* Update the about, merge, split and item editor classes and extend tests
* Update item editor test
* Update about dialog tests
* Some minor test cleanup
* Fix typo and add clarification in contributing guide
2021-10-14 21:35:42 +02:00
Veronica Berglyd Olsen
2a06db0a2b Change how PPA key is added (#910) 2021-10-13 19:24:15 +02:00
Veronica Berglyd Olsen
180deb106b Add Python 3.10 to supported versions (#909)
* Add Python 3.10 to supported versions
* Make Python versions a string in action
2021-10-07 19:31:17 +02:00
Veronica Berglyd Olsen
662aab973c Fix error in debian setup instructions (#908) 2021-10-02 17:45:00 +02:00
Veronica Berglyd Olsen
3f972250d0 Post-release fixes and updates (#903)
* Add an extra pause to the windows scripts
* Update main readme
* Add mention of Linux Mint in docs
2021-09-19 16:04:34 +02:00
Veronica Berglyd Olsen
15ec1496c5 Update and reorganise themes (#893)
* Drop the subfolders for GUI themes
* Remove bundled font support
* Add safe file read function
* Allow loading themes from multiple locations
* Clean up unused variables
* Clean up icons class
* Merge icon theme icons
* Update icon theme class
* Remove guiDark config setting
* Fix tests
* Fix handling of default theme
* Update icon readmes
* Add test for getGuiItem common function
2021-09-19 14:09:20 +02:00
Veronica Berglyd Olsen
be3376272e Add selected words count feature (#899)
* Add a selected words counter in the document editor
* Update and extend test coverage
* Rename the functions to something more sensible
2021-09-19 13:59:36 +02:00
Veronica Berglyd Olsen
c852a5bda3 Add hash check on document read/write (#890)
* Add sha256sum function
* Add hash check to document class
* Make sha256sum test more thorough
* Handle exceptions in the sha256sum function directly
* Update test coverage
* Clarify title on dialog box
* Don't write blank lines in makeAlert
2021-09-19 13:55:54 +02:00
Veronica Berglyd Olsen
d65c5e93b6 Fix wrong format for version number 2021-09-19 13:54:14 +02:00
Veronica Berglyd Olsen
07ac88bfd6 Bump version to 1.6-alpha0 for next release cycle 2021-09-19 13:46:19 +02:00
Veronica Berglyd Olsen
1386be23f4 Setup fixes post 1.5 release (#902)
* The main version must now always include the patch number
* Fix bug in pip build script
* Fix bug in debian sha256 function call
2021-09-19 13:43:20 +02:00
Veronica Berglyd Olsen
18cadf8db5 Release 1.5 (#888)
* Bump version to 1.5 and update changelog and release notes
* Update changelog and release notes
2021-09-19 12:56:45 +02:00
Veronica Berglyd Olsen
cf83b6572e Update French translation (#901)
Co-authored-by: jyhelle <47108022+jyhelle@users.noreply.github.com>
2021-09-18 23:10:03 +02:00
Veronica Berglyd Olsen
22662fd5eb Dialog format error (#889)
* Remove redundant format tags in project class
* Be consistent about internal function mapping
2021-09-11 16:14:35 +02:00
Veronica Berglyd Olsen
3263ce5669 Package building fixes (#887)
* Fix a couple of errors in make scripts
* Fix snapshot versioning for launchpad
2021-09-11 14:30:58 +02:00
Veronica Berglyd Olsen
cbb527c464 Add a shasum function to setup and use it for all packages (#886) 2021-09-10 22:13:00 +02:00
Veronica Berglyd Olsen
9cd2bb232b Release 1.5 RC 1 (#885)
* Bump version and update release notes and changelog
* Delete old release notes
2021-09-10 18:41:40 +02:00
Veronica Berglyd Olsen
dcfb353537 Update en_US and nb_NO translations (#884)
* Update US English translation
* Update Norwegian translation
2021-09-10 17:46:30 +02:00
Veronica Berglyd Olsen
8313de692e Fix Project Details dialog update issue (#883)
* Move project details dialog to correct folder
* Add update functions that are run each time the project details dialog is opened
2021-09-10 01:06:40 +02:00
Veronica Berglyd Olsen
3c8cb34b0a Project tree status and total word count changes (#882)
* Fix some inconsistencies in source file docstrings
* Remove the option to show status text in project tree
* Change how total word counts are calculated and propagated
* Fix tests and improve coverage
* Add setting in preferences
* Add missing word count timer to config file
2021-09-10 00:38:45 +02:00
Veronica Berglyd Olsen
b9311e84ce Fix a few mistakes in the docs (#881) 2021-09-08 20:47:33 +02:00
Veronica Berglyd Olsen
50d0c1eb29 Add PPA support (#880)
* Clean up a few things in various setup function
* Add Launchpad-related setting to Debian build function
* Add signature feature to package builder and fix error in debian/copyright
* Update documentation
* Update README
2021-09-08 20:38:35 +02:00
Veronica Berglyd Olsen
a9cd0b29d4 Fix icon in main README 2021-09-01 23:46:00 +02:00
Veronica Berglyd Olsen
2037ef3eac Setup fixes and tweaks (#879)
* Fix transparency on some of the icons
* Rewrite the setup clean command
* Clean up setup script and remove no longer needed qthelp command
* Add bash scripts for common make build chains
* Update the description files and change how setup writes generated files
* Reduce the number of setup files added to minimal zip packages
2021-09-01 23:41:38 +02:00
Veronica Berglyd Olsen
0582b9718b Debian package builder (#876)
* Add debian build files
* Add debian package build code to setup script
* Update the licenses in debian/copyright
* Fix a typo in windows setup docs
* Remove duplicate files
* Add missing fallback icons to assets
2021-08-31 23:46:03 +02:00
Veronica Berglyd Olsen
bbed05b273 Merge patch 1.4.2 2021-08-31 00:04:40 +02:00
Veronica Berglyd Olsen
30f0e82fba Release 1.4.2 2021-08-30 23:36:42 +02:00
Veronica Berglyd Olsen
bdef9a3955 Fix smart quote issue (#874) 2021-08-30 23:23:47 +02:00
Veronica Berglyd Olsen
f6845a9820 Remove the difflib spellchecker (#875)
* Delete simple spell checker
* Clean up the spell checker code
* Update tests
* Delete the bundled dictionaries
* Update documentation
* Use set() for user word list
* Fix tests so they pass also without dictionaries installed
2021-08-30 22:39:27 +02:00
Veronica Berglyd Olsen
4b52f343c1 Packaging Updates (#873)
* Make setup-generated script names lower case
* Change how the manual.pdf file is handled
2021-08-29 16:27:59 +02:00
Veronica Berglyd Olsen
a00d0820cc Release 1.5 Beta 2 (#871)
* Bump version to 1.5b2 and update changelog and release notes
* Update sample project
2021-08-26 21:10:29 +02:00
Veronica Berglyd Olsen
cdc9ab4ad6 Update US English and Norwegian translations (#870)
* Fix typo in main menu
* Add missing source file to translation list
* Update en_US translation
* Update nb_NO translation
2021-08-26 18:46:55 +02:00
Veronica Berglyd Olsen
1fb9648c6c Drop grey icon themes (#869)
* Add settings translator for icon themes
* Rename `typicons_colour_*` to `typicons_*`
* Delete grey icon themes
* Delete outdated paragraph in main README
* Fix tests
2021-08-26 18:01:52 +02:00
Veronica Berglyd Olsen
3403d98c72 Rename package from 'nw' to 'novelwriter' (#868)
* Rename nw folder to novelwriter
* Rename nw to novelwriter in auxiliary files
* Rename nw to novelwriter in main app source
* Rename nw to novelwriter in tests
* Make setup script for pdf docs less spammy
2021-08-26 17:33:54 +02:00
Veronica Berglyd Olsen
2cf2eb9f55 Simplify the setup instructions for Windows (#865) 2021-08-25 23:24:00 +02:00
Veronica Berglyd Olsen
b5e52b80a3 Add a "Check for Updates" dialog (#863)
* Add basic dialog for Updates check
* Add GitHub API call and processing
* Finalise the update dialog
* Improve test coverage
2021-08-22 14:33:00 +02:00
Veronica Berglyd Olsen
80911af4d2 Release 1.5 Beta 1 (#858)
* Bump version to 1.5-beta1 and update changelog and release notes
2021-08-22 11:35:06 +02:00
Veronica Berglyd Olsen
7a80e6a55c Make Help select correct version of docs (#862) 2021-08-21 18:33:35 +02:00
Veronica Berglyd Olsen
7958cb530f Taskbar icon on windows (#861)
* Give app an unique ID when launching on Windows
* Improve test coverage
2021-08-21 17:10:19 +02:00
Veronica Berglyd Olsen
95c79e1c23 Documentation and ODT exporter updates (#859)
* Clean up a few things in the ODT exporter
* Remove local HTML docs and instead add PDF docs
* Update documentation
2021-08-20 17:16:14 +02:00
Veronica Berglyd Olsen
eee0f5e4c9 Include HTML docs in minimal installs (#856)
* Link to stable docs for stable release, otherwise latest docs
* Add build command to setup for making HTML docs
* Change the documentation menu entry to open either online or local HTML
* Update docs build instructions in docs
2021-08-18 00:13:28 +02:00
Veronica Berglyd Olsen
a9368904e5 GUI and code tweaks and fixes (#852)
* Improve format menu header descriptions
* Ensure that item status is parsed after item class from XML
* Fix column alignment in ToC.txt file
* Rename test variable and fix outdated docstring
* Fix ToC.txt underline
* Rename the Layout label on the item details panel
* Add option to emphasise H1 and H2 labels in the project tree
* Rename the main column of the novel tree to match project tree
* Use the same document icons in the outline as the project tree
* Move project tree settings to Project section of config file
2021-08-17 21:45:18 +02:00
Veronica Berglyd Olsen
f7c768bb91 Add project format documentation and popup box (#855)
* Add documentation of the various project file formats
* Add an info box  for updating to project format 1.3
* Add information on how to access the documentation
* Add a note on file format and rename a few things
* Fix some typos
2021-08-17 20:06:26 +02:00
Veronica Berglyd Olsen
f2b93f90f7 Fix a typo and fix section naming in docs 2021-08-16 18:12:09 +02:00
Veronica Berglyd Olsen
7d5661443f Improve Docs (#851)
* Split up the docs a bit more
* Improve documentation
2021-08-16 18:06:00 +02:00
Veronica Berglyd Olsen
460b350d85 Update docs and add menu entries for special titles (#850)
* Update Introduction chapter
* Update User Interface chapter
* Update Novel Projects chapter
* Update Novel Structure chapter
* Update Exporting Projects chapter
* Drop the asterisk notation for unnumbered chapters
* Add menu entries and tests for Novel Title and Unnumbered Chapter block formats
2021-08-15 23:30:11 +02:00
Veronica Berglyd Olsen
669f013c96 Fix issue with icons not updating when index is rebuilt (#849) 2021-08-15 21:40:45 +02:00
Veronica Berglyd Olsen
1bf584f9bf Add [NEW PAGE] page and [VSPACE] to Insert menu (#848)
* Add menu entries for inserting new page and vspace codes
* Update tests
2021-08-15 18:58:49 +02:00
Veronica Berglyd Olsen
97aebc5b84 Update Project Tree (#847)
* Rename index textCounts to fileMeta and add main header level
* Add new icons for document layouts
* Add function in NWItem to describe the item
* Use the icons and description in the project tree and details panel
* Remove flags column and add status column with optional full text
* Update handling and display of header level in editor
* Fix potential bug in project tree
* Update tests
2021-08-15 17:55:57 +02:00
Veronica Berglyd Olsen
cf7cd5502c Make PyQt5 minimum version requirement consistent (#846) 2021-08-15 10:21:37 +02:00
Veronica Berglyd Olsen
cf08ba1d39 ODT Export Fixes (#843)
* Fix issue with additional line breaks in ODT export
* Improve format handling in ToOdt, and remove some unused code
* Add test for tab in format
* Add class to write text formats to XML
* Simplify the XMLParagraph class a bit
* Correct a breach of ODT standard and add error checking
* Make some final corrections
2021-08-14 12:42:44 +02:00
Veronica Berglyd Olsen
c41e0efc73 Add a warning when opening novelWriter alpha version (#844) 2021-08-13 15:26:22 +02:00
Veronica Berglyd Olsen
bb1a778277 Merge Novel Layouts (#837)
* Merge novel layouts and simplify the Tokenizer class
* Fix core tests
* Delete auto-layout code
* Remove no longer needed item layouts
* Remove references to deleted item layouts in test
* Make some minor changes to Tokenizer class and update tests
* Update test reference files
* Update sample project
* Fix a few issues with the Tokenizer
* Centre some text in the sample documents
* Make some minor changes to how new projects are generated
* Add support for New Page and VSpace commands to the Tokenizer
* Remove Title and Page layouts and add codes for page break and vertical space
* Add document layout and fix some issues in index class with new title formats
* Update tests and reference files
* Bump the project file version and fix a minor issue in items class
* Update tests and test coverage
* Clean up some warnings and issues in tests
2021-08-02 23:44:35 +02:00
Veronica Berglyd Olsen
c6973043e6 Index Updates (#840)
* Improve the index keyword checker function
* Implement a more compact indented JSON encoder
* Remove timestamp from reference, novel and note indices
* Remove empty entries in reference index
* Merge novel and note indices into a single file index
2021-08-01 18:19:03 +02:00
Veronica Berglyd Olsen
e5c715695e Config class improvements (#826)
* Subclass ConfigParser
* Remove redundant variables and update tests
* Update file description
* Move NWConfigParser class to common.py
* Improve coverage of config class
* Use NWConfigParser also in themes.py
* Update config class file header
* Fix comment
* Update the usage of ConfigParser to recommended practice and extend tests
* Improve logging for info level a bit
2021-07-28 00:10:15 +02:00
Veronica Berglyd Olsen
e92506dc07 Bump version to 1.5-alpha0 for next release cycle 2021-07-28 00:05:42 +02:00
Veronica Berglyd Olsen
62344376d7 Bump version to 1.4.1, and update changelog and release notes 2021-07-27 23:46:15 +02:00
Veronica Berglyd Olsen
8cf96c3102 Make a clarification in the changelog 2021-07-27 23:31:04 +02:00
Veronica Berglyd Olsen
16fa8679d0 Bump version to 1.4 final, and update changelog and release notes 2021-07-27 23:30:44 +02:00
Veronica Berglyd Olsen
b517276156 Fix layout margins and z-order of some dialogs (#834)
* Fix layout margins on paged dialogs
* Make sure non-modal dialogs are only shown once and are on top
2021-07-26 16:40:20 +02:00
941 changed files with 172590 additions and 453711 deletions

View File

@@ -10,7 +10,15 @@ Please also check if an issue already exists on this problem.
Please provide a description covering the following points, if applicable:
* A clear and concise description of what the bug is.
* Steps to reproduce the behaviour
* Steps to reproduce the behaviour.
* A clear and concise description of what you expected to happen.
* If applicable, add screenshots to help explain your problem.
* If the error dialog popped up, copy/paste the content here.
Please also *always* include the following information:
* The operating system you are using, and if Linux, also the distro.
* The version of novelWriter you are using.
* How and from where you installed novelWriter.
Issues without this required information will be closed.

View File

@@ -19,6 +19,6 @@ Please check the following before you make a pull request:
* [ ] The header of all files contain a reference to the repository license
* [ ] The overall test coverage is increased or remains the same as before
* [ ] All tests are passing
* [ ] All flake8 checks are passing and the style guide is followed
* [ ] All linting checks are passing and the style guide is followed
* [ ] Documentation (as docstrings) is complete and understandable
* [ ] Only files that have been actively changed are committed

39
.github/workflows/build_assets.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: BuildAssets
on: workflow_call
jobs:
buildAssets:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.13"
architecture: x64
- name: Install Packages (apt)
run: |
sudo apt update
sudo apt install qttools5-dev-tools latexmk texlive texlive-latex-extra
- name: Checkout Source
uses: actions/checkout@v4
- name: Install Packages (pip)
run: pip install -U -r requirements.txt -r docs/requirements.txt
- name: Build Assets
run: |
python pkgutils.py build-assets
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nw-assets
path: |
novelwriter/assets/manual*.pdf
novelwriter/assets/sample.zip
novelwriter/assets/i18n/*.qm
if-no-files-found: error
retention-days: 14

46
.github/workflows/build_linux.yml vendored Normal file
View File

@@ -0,0 +1,46 @@
name: BuildLinux
on: workflow_dispatch
jobs:
buildAssets:
uses: ./.github/workflows/build_assets.yml
buildLinux-AppImage:
needs: buildAssets
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.13"
LINUX_TAG: "manylinux_2_28_x86_64"
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.13"
architecture: x64
- name: Install Packages (pip)
run: pip install python-appimage
- name: Checkout Source
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build AppImage
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $GITHUB_OUTPUT
python pkgutils.py build-appimage --linux-tag $LINUX_TAG --python-version $PYTHON_VERSION
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-Linux-AppImage
path: dist_appimage/*.AppImage*
if-no-files-found: error
retention-days: 14

69
.github/workflows/build_mac.yml vendored Normal file
View File

@@ -0,0 +1,69 @@
name: BuildMacOS
on: workflow_dispatch
jobs:
buildAssets:
uses: ./.github/workflows/build_assets.yml
buildMac-AMD64:
needs: buildAssets
runs-on: macos-latest
env:
PYTHON_VERSION: "3.13"
PACKAGE_ARCH: x86_64
MINICONDA_ARCH: x86_64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build App Bundle
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $GITHUB_OUTPUT
./setup/macos/build.sh $PYTHON_VERSION $PACKAGE_ARCH $MINICONDA_ARCH
- name: Upload DMG
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-MacOS-AMD64-DMG
path: dist_macos/*.dmg*
if-no-files-found: error
retention-days: 14
buildMac-M1:
needs: buildAssets
runs-on: macos-latest
env:
PYTHON_VERSION: "3.13"
PACKAGE_ARCH: aarch64
MINICONDA_ARCH: arm64
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build App Bundle
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $GITHUB_OUTPUT
./setup/macos/build.sh $PYTHON_VERSION $PACKAGE_ARCH $MINICONDA_ARCH
- name: Upload DMG
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-MacOS-M1-DMG
path: dist_macos/*.dmg*
if-no-files-found: error
retention-days: 14

62
.github/workflows/build_win.yml vendored Normal file
View File

@@ -0,0 +1,62 @@
name: BuildWindows
on: workflow_dispatch
jobs:
buildAssets:
uses: ./.github/workflows/build_assets.yml
buildWin64:
needs: buildAssets
runs-on: windows-latest
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.13"
architecture: x64
- name: Checkout Source
uses: actions/checkout@v4
- name: Download Assets
uses: actions/download-artifact@v4
with:
name: nw-assets
path: novelwriter/assets
- name: Build Setup Installer
id: build
run: |
echo "BUILD_VERSION=$(python pkgutils.py version)" >> $Env:GITHUB_OUTPUT
python pkgutils.py build-win-exe
- name: Upload Unsigned Artifacts
id: upload-unsigned-artifact
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-Win-Setup
path: dist/*.exe
if-no-files-found: error
retention-days: 14
- name: Submit Signing Request
uses: signpath/github-action-submit-signing-request@v1
with:
api-token: "${{ secrets.SIGNPATH_API_TOKEN }}"
organization-id: "0471e52c-66fa-4e9a-bfb9-36167095ca3f"
project-slug: "novelWriter"
signing-policy-slug: "release-signing "
github-artifact-id: "${{ steps.upload-unsigned-artifact.outputs.artifact-id }}"
wait-for-completion: true
output-artifact-directory: "dist/"
parameters: |
version: "${{ steps.build.outputs.BUILD_VERSION }}"
- name: Upload Signed Artifacts
uses: actions/upload-artifact@v4
with:
name: novelWriter-${{ steps.build.outputs.BUILD_VERSION }}-Win-Setup-Signed
path: dist/*.exe
if-no-files-found: error
retention-days: 14

View File

@@ -0,0 +1,45 @@
name: BuildWindowsLauncher
on: workflow_dispatch
jobs:
buildLauncherWin64:
runs-on: windows-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Build Launcher
id: build
run: |
Set-Location setup\windows
.\make.ps1
- name: Upload Unsigned Artifacts
id: upload-unsigned-artifact
uses: actions/upload-artifact@v4
with:
name: launcher
path: setup/windows/novelWriter.exe
if-no-files-found: error
retention-days: 14
- name: Submit Signing Request
uses: signpath/github-action-submit-signing-request@v1
with:
api-token: "${{ secrets.SIGNPATH_API_TOKEN }}"
organization-id: "0471e52c-66fa-4e9a-bfb9-36167095ca3f"
project-slug: "novelWriter"
signing-policy-slug: "release-signing"
artifact-configuration-slug: "launcher"
github-artifact-id: "${{ steps.upload-unsigned-artifact.outputs.artifact-id }}"
wait-for-completion: true
output-artifact-directory: "."
- name: Upload Signed Artifacts
uses: actions/upload-artifact@v4
with:
name: launcher-signed
path: novelWriter.exe
if-no-files-found: error
retention-days: 14

32
.github/workflows/i18n.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: i18n
on:
push:
branches:
- i18n/*
jobs:
buildI18n:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.13"
architecture: x64
- name: Install Packages (apt)
run: |
sudo apt update
sudo apt install qttools5-dev-tools
- name: Checkout Source
uses: actions/checkout@v4
- name: Build Assets
run: python pkgutils.py qtlrelease
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nw-i18n
path: |
novelwriter/assets/i18n/*.qm
if-no-files-found: error
retention-days: 7

34
.github/workflows/lock_threads.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: LockThreads
on:
schedule:
- cron: "14 3 */3 * *"
permissions:
issues: write
pull-requests: write
concurrency:
group: lock-threads
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: 120
issue-comment: >
This issue has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue
for related bugs or feature requests.
issue-lock-reason: "resolved"
pr-inactive-days: 120
# pr-comment: >
# This pull request thread has been automatically locked since there
# has not been any recent activity after it was closed. Please open
# an issue for any related bugs or feature requests.
pr-lock-reason: "resolved"
process-only: "issue, pr"
log-output: true

View File

@@ -1,31 +1,37 @@
name: flake8
name: Linting
on:
push:
branches:
branches:
- main
- release
pull_request:
branches:
- main
- release
jobs:
checkSyntax:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3
architecture: x64
- name: Checkout Source
uses: actions/checkout@v2
- name: Install flake8
run: pip install flake8
- name: Syntax Error Check
uses: actions/checkout@v4
- name: Install Dependencies
run: pip install -r requirements.txt -r requirements-dev.txt
- name: Ruff Check
run: |
flake8 nw --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 tests --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Coding Style Violations
run: |
flake8 nw --count --max-line-length=99 --ignore E221,E226,E228,E241 --show-source --statistics
flake8 tests --count --max-line-length=99 --ignore E221,E226,E228,E241 --show-source --statistics
ruff --version
ruff check
- name: Pyright Check
run: |
pyright --version
pyright
- name: Isort Check
run: |
isort --version
isort --check .

View File

@@ -2,40 +2,45 @@ name: Linux
on:
push:
branches:
branches:
- main
- release
pull_request:
branches:
- main
- release
jobs:
testLinux:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.10", "3.11", "3.12", "3.13"]
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install Packages (apt)
run: |
sudo apt update
sudo apt install libenchant-dev qttools5-dev-tools
sudo apt install libenchant-2-dev qttools5-dev-tools
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install Dependencies (pip)
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -U -r requirements.txt -r tests/requirements.txt
- name: Run Build Commands
run: python setup.py qtlrelease sample
run: |
python pkgutils.py qtlrelease
python pkgutils.py sample
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
pytest -v --cov=nw --timeout=60
python -m pytest -v --cov=novelwriter --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

View File

@@ -1,36 +1,37 @@
name: macOS
name: MacOS
on:
push:
branches:
branches:
- main
- release
pull_request:
branches:
- main
- release
jobs:
testMac:
runs-on: macos-latest
runs-on: macos-13
steps:
- name: Python Setup
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.13"
architecture: x64
- name: Install Packages
- name: Install Packages (brew)
run: |
brew install enchant
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
uses: actions/checkout@v4
- name: Install Dependencies (pip)
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install pyobjc
pip install -U pyobjc -r requirements.txt -r tests/requirements.txt
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
pytest -v --cov=nw --timeout=60
python -m pytest -v --cov=novelwriter --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

View File

@@ -2,30 +2,32 @@ name: Windows
on:
push:
branches:
branches:
- main
- release
pull_request:
branches:
- main
- release
jobs:
testWin:
runs-on: windows-latest
steps:
- name: Python Setup
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.13"
architecture: x64
- name: Checkout Source
uses: actions/checkout@v2
- name: Install Dependencies
uses: actions/checkout@v4
- name: Install Dependencies (pip)
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -U -r requirements.txt -r tests/requirements.txt
- name: Run Tests
run: |
pytest -v --cov=nw --timeout=60
python -m pytest -v --cov=novelwriter --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

33
.gitignore vendored
View File

@@ -1,34 +1,42 @@
# Setup/Install
/MANIFEST
/dist/
/build/
/build_*/
/deploy/
/dist/
/dist_*/
*.spec
*.egg-info
setup.iss
novelwriter.desktop
novelWriter.pyw
/novelwriter.desktop
/novelWriter.pyw
/setup/macos/Info.plist
/setup/windows/build
.venv
# Translations
/nw/assets/i18n/*.qm
/novelwriter/assets/i18n/*.qm
.qmake.stash
i18n/*.qm
i18n/*.qph
# Documentation
/docs/build/
/docs/source/locales/**/*.mo
/novelwriter/assets/help/
/novelwriter/assets/manual*.pdf
*.qch
*.qhc
.~lock.*
# Python Temp
__pycache__
*.pyc
# Sample Project
/nw/assets/sample.zip
/novelwriter/assets/sample.zip
/sample/cache
/sample/meta
/sample/versions
*.bak
*.lock
ToC.txt
@@ -39,12 +47,19 @@ ToC.txt
/tests/temp
/tests/lipsum/cache
/tests/lipsum/meta
/tests/minimal/cache
/tests/minimal/meta
/tests/oldproj/cache
/.pytest_cache
/pytestdebug.log
# Coverage
/.coverage
/coverage.*
# Other
/test.py
.config
.local
*.patch
# IDE
.vscode
.ruff_cache

View File

@@ -1,25 +0,0 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml
# Optionally build your docs in additional formats such as PDF
formats:
- htmlzip
- epub
- pdf
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/source/requirements.txt

File diff suppressed because it is too large Load Diff

View File

@@ -2,75 +2,131 @@
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
Examples of behavior that contributes to a positive environment for our
community include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community
Examples of unacceptable behavior by participants include:
Examples of unacceptable behavior include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
## Enforcement Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project leader at issues (at) novelwriter.io. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
reported to the community leaders responsible for enforcement at issues (at)
novelwriter.io. All complaints will be reviewed and investigated promptly and
fairly.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of
actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the
community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations

View File

@@ -1,123 +1,109 @@
# Contributing Guide
When contributing to this repository, please first discuss the change you wish to make via the
issue tracker or the discussions page with the owner of this repository. Especially if it is
regarding new features. If you just want to make a minor correction, like fix a typo or similar,
feel free to just make a pull request directly.
See also [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md).
The following contributions are welcome:
When contributing to this repository, please first discuss the change you wish to make with the
owner. Either via the issue tracker or on the discussions page. Especially if it is regarding new
features. If you just want to make a minor correction, like fix a typo or similar, feel free to
just make a pull request directly.
**The following contributions are welcome:**
* Bugfixes for new or existing bugs. Please also report new bugs in the issue tracker even if you
also provide a fix. It makes it easier to keep track of what has been fixed and when.
* New translations. You can read more about contributing translations
[here](https://github.com/vkbo/novelWriter/blob/main/i18n/README.md).
* Translations made via the [Crowdin project page](https://crowdin.com/project/novelwriter).
* Improvements to the documentation. Particularly if the documentation is unclear. Please don't
make any larger changes to the documentation without discussing if with the maintainer first.
make any larger changes to the documentation without discussing them with the maintainer first.
* Adaptations, installation or packaging features targeting specific operating systems.
Please do not:
**Please do not:**
* Make a pull request that restructures or reformats existing code. If you think some parts of the
* Make a pull request that restructures or reformats existing code. If you think some part of the
code could be improved, please make an issue thread or start a discussion. The same applies to
any text document in the repository.
## Pull Requests
## Picking the Correct Branch for a Pull Request
This project follows the [OneFlow](https://www.endoflineblog.com/oneflow-a-git-branching-model-and-workflow)
model. The `main` branch is the default branch. For general changes, please make a new branch in
your own fork from the current `main` branch. Do not make pull requests from your own `main`
branch.
Pre-releases are made from the `main` branch, and full releases are made from the `release` branch.
If you are submitting a fix to a current release you must do so from the `release` branch. If you
make such a fix on the `main` branch, **it cannot be included in a patch release**. This also
applies to the documentation for the latest release published on the main website.
**Note:** If your contribution is a bugfix for a specific version, please make a bugfix branch from
the tag you want the fix to be applied to, not directly from the `main` branch. This is important.
New features are only accepted on full releases, so a feature pull request must be made to the
`main` branch. However, if the `main` branch is very close to a new full release, pull requests may
not be merged until the release is completed.
Also check the following:
## Pull Request Check List
* Make sure your code passes all tests and conforms to the style guide. You can check that the
code generally conforms by running the Python linting tool `flake8` from the root of the project
folder, although it doesn't check everything. The same check is also run on pull requests by the
maintainer.
Make sure the pull request follows these rules:
* The `main` branch is the default branch. For general changes, please make a new branch in your
own fork from the current `main` branch. Do not make pull requests from your copy of the `main`
branch.
* Please provide a description of the changes in the pull request under the summary section of the
pull request template, and reference any related issues by providing the issue number.
* Do not change the version number.
* Do not submit files that were not actively changed but have otherwise been modifed. This is
* Do not submit files that were not actively changed but have otherwise been modified. This is
mostly an issue with translation files. The language tool may update all files in the `i18n`
folder.
## Code of Conduct
## General Rules
There is a code of conduct. Please follow it in all your interactions with the project.
These are the guidelines for the project. The source code of novelWriter broadly follows the
[PEP8](https://www.python.org/dev/peps/pep-0008) style guide, but with a few exceptions.
### Our Pledge
### Tests
In the interest of fostering an open and welcoming environment, we as contributors and maintainers
pledge to making participation in our project and our community a harassment-free experience for
everyone, regardless of age, body size, disability, ethnicity, gender identity and expression,
level of experience, nationality, personal appearance, race, religion, or sexual identity and
orientation.
* New code must not break any existing tests.
* New code must come with tests that cover the code in full. If the code has branches that only
runs on some OSes, they must be covered when test are run on that OS. The test suite runs on
Linux, Windows and MacOS.
Please see the [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) file for the full text.
### Code Formatting
## Code Style Guide
* Do not run automatic formatting tools like `black` or `ruff` on the code. Auto-formatting using
`ruff` is planned, but there are a couple of features missing in it, so it is currently only used
for linting. Auto-formatting with `isort` is configured in `pyproject.toml` and can be used.
* The pull request code *must* pass the `ruff` linting rules specified in `pyproject.toml`.
* In general, do not make large scale formatting changes to the code.
The source code of novelWriter broadly follows the [PEP8](https://www.python.org/dev/peps/pep-0008)
style guide, but with a few exceptions. Some key points are listed below.
### Type Annotations
**Line Length:**
* All functions and parameters must be type annotated, and so must variables and attributes if the
type cannot be inferred from the initial value. Typing rules are set in `pyproject.toml` and a
pull request must pass `pyright` with these settings.
* Do not use the `Any` type when an actual type exists. `Any` is allowed for functions that
actually handles any kind of input and returns a standard type.
* Do not use deprecated capitalised annotations like `Dict`, `List`, `Tuple`, etc.
* Type annotated code must be runnable on all supported Python versions.
* Source code lines can extend to the upper limit of 99 characters allowed by PEP8. 79 characters
is the recommended line length in PEP8, but this is often too restrictive. 99 characters are
acceptable when that is more practical. Readability has priority. Generally, if a code statement
### Internationalisation
* All comments and docstrings in the code must be in English.
* All text presented to the user must be wrapped in calls to Qt's translation framework, and the
spelling of this text *must* be UK English. US English spelling is not allowed for these strings.
* Commit descriptions and pull requests must also be in English.
### Line Length
* Source code lines can extend to the upper limit of 99 characters. Generally, if a code statement
requires multiple lines, the lines should wrap at 79 characters if possible. If wrapping can be
avoided by going to 99, then that is generally preferrable.
* For text files, the text should be wrapped at 99 character. The exception is markdown image tags
and urls which can run past that limit.
avoided by going to 99, then that is generally preferable. Readability has priority.
* For text files, the text should be wrapped at 99 character. The exception is Markdown image tags
and URLs which can run past that limit.
**Variable and Function Names**
### Spaces, Indentation and Alignment
* PEP8 allows for camelCase for consistency with existing code. The Qt library uses camelCase, so
the Python the source code does too.
* The exception to the above is for constants. They should always be in upper snake case, like PEP8
states.
**Spaces, Indentation and Alignment**
* Only indentation by 4 spaces is allowed.
* Only indentation by multiples of 4 spaces is allowed.
* No trailing spaces should occur on any line in the source code, including empty lines.
* Ideally, a function should end on the same indention level as it started. Exceptions are allowed
if it makes the code easier to follow.
* Common line wrapping methods are allowed in the code except `\`, but avoid deep indentations.
* Aligning operators and attributes in columns with multiple spaces is not allowed by PEP8. The
rule is relaxed a bit here. Alignment is allowed when populating large dictionaries or setting
many class attributes. It does improve readability in such cases, but should not be overused.
### Linting with `flake8`
### General Code Rules
A good tool for checking Python code for errors and code style is `flake8`. The documentation is
available [here](https://flake8.pycqa.org/en/latest/).
The `setup.cfg` file in the root of this project has the following settings for `flake8` that
matches the above code style:
```conf
[flake8]
ignore = E221,E226,E228,E241
max-line-length = 99
exclude = docs/*
```
The command line equivalent, with reporting, is:
```bash
flake8 . --count --ignore E221,E226,E228,E241 --max-line-length=99 --show-source --statistics
```
Passing this check is required before contributions are merged. This is checked automatically when
you make a pull request. You can run the `flake8` command locally to check beforehand. The full
command will give you a detailed description of the code lines that do not conform to the standard.
Two of the ignored errors are due to the relaxed restriction on column alignment, these are the
E221 and E241 error codes.
The code E226 is ignored becuse it doesn't actually follow the
[PEP8 recommendation](https://www.python.org/dev/peps/pep-0008/#other-recommendations)
of grouping longer equations by operator precedence like `2*a + 3*b` instead of `a * a + 3 * b`.
Generally, don't use spaces around `*`, `/` and `**`, but _do_ use spaces around `+` and `-`.
The same applies to the modulo operator `%`, hence E228 is also ignored.
* Use f-string style for string formatting as the first choice, and `.format` functions if there is
a good reason for it. Do not use `%` style formatting except for logging output. For logging, `%`
must be used (it's a limitation in the logging library unfortunately).
* Functions should be on camelCase form for consistency with the Qt library code.

View File

@@ -2,41 +2,80 @@
## Main Developer
* Veronica Berglyd Olsen (@vkbo)
* Veronica Berglyd Olsen
## Main Contributors
## Contributors
* Concept: Marian Lückhof (@Number042)
* Internationalisation: Bruno Meneguello (@bkmeneguello)
* Early Concept: Marian Lückhof
* Internationalisation: Bruno Meneguello
* Setup and Packaging: Rachel Powers
For other contributions, see the project's [Contributors](https://github.com/vkbo/novelWriter/graphs/contributors) page.
## Artwork
The artwork on the Welcome dialog was created by Louis Durrant.
## Translations
* French: Jan Lüdke (@jyhelle)
* Norwegian: Veronica Berglyd Olsen (@vkbo)
* Portuguese: Bruno Meneguello (@bkmeneguello)
* Simplified Chinese: Qianzhi Long (@longqzh)
The default language is English (UK) with English (US) as an option. These are the original
translators for the languages currently available:
* **Czech:** Tomáš Zmek (perteus)
* **Dutch:** Martijn van der Kleijn (mvdkleijn)
* **French:** Jan Lüdke (jyhelle)
* **German:** Myian (HeyMyian)
* **Italian:** Riccardo Mangili
* **Japanese:** hebekeg
* **Latin American Spanish:** Tommy Marplatt (tmarplatt)
* **Norwegian:** Veronica Berglyd Olsen (vkbo)
* **Polish:** Anna Maria Polak (Nauthiz)
* **Portuguese:** Bruno Meneguello (bkmeneguello)
* **Russian:** Konstantin Tan (k1kimosha)
* **Simplified Chinese:** Qianzhi Long (longqzh)
Additional larger translation contributions:
* **French:** Albert Aribaud (aaribaud)
* **Portuguese:** Oli Maia (olimaia)
Translations of the documentation:
* **French:** Jean-Michel Heras (Karduin)
Translations are managed on [Crowdin](https://crowdin.com/project/novelwriter), and more
contributions are listed on the project's Members page.
## Libraries
The following libraries are dependencies of novelWriter:
* Qt5 by [Qt Company](https://www.qt.io/)
* PyQt5 by [Riverbank Computing](https://www.riverbankcomputing.com/software/pyqt/)
* lxml by [Martijn Faassen](https://lxml.de/)
* Enchant by [Dom Lachowicz](https://abiword.github.io/enchant/)
* PyEnchant by [Dimitri Merejkowsky](https://pyenchant.github.io/pyenchant/)
* **Qt6** by Qt Company
* **PyQt6** by Riverbank Computing
* **Enchant** by Dom Lachowicz
* **PyEnchant** by Dimitri Merejkowsky
## Assets
Some of the assets bundled with novelWriter were adapted from the following sources:
* Typicons icons by Stephen Hutchings (CC BY-SA 4.0)
* Cantarell font by Dave Crossland (OPEN FONT LICENSE Version 1.1)
* Tomorrow syntax themes by Chris Kempson (MIT License)
* Owl syntax themes by Sarah Drasner (MIT License)
* Solarized themes by Ethan Schoonover, added by @nullbasis (MIT License)
* **Material Symbols** icons by Google Inc (Apache 2.0)
* **Remix** icons by RemixIcon (Apache 2.0)
* **Font Awesome** icons by Fonticons Inc (CC BY 4.0)
* **Tomorrow** syntax themes by Chris Kempson (MIT License)
* **Owl** syntax themes by Sarah Drasner (MIT License)
* **Solarized** themes by Ethan Schoonover (MIT License)
* **Cyberpunk Night** theme by Anders Lemvigh (CC BY-SA 4.0)
* **Dracula** theme by Zeno Rocha (MIT License)
* **Snazzy Light** theme by Florian Reuschel (MIT License)
## Fonts
The font used for the main novelWriter logo, mimetype and text banners is Pridi.
* **Pridi** by Cadson Demak (Open Font License, Version 1.1)
## Special Mentions
Additional thanks to @johnblommers who was an early user and who has provided a lot of very useful
Additional thanks to John Blommers who was an early user and who has provided a lot of very useful
feedback over the years.

View File

@@ -1,6 +1,6 @@
include setup.py
include pkgutils.py
include LICENSE.md
include CREDITS.md
include CHANGELOG.md
recursive-include novelwriter/assets *
recursive-include setup *
recursive-include nw/assets *
recursive-include sample *.nwx *.nwd

241
README.md
View File

@@ -1,16 +1,12 @@
# novelWriter
[![Linux](https://github.com/vkbo/novelWriter/actions/workflows/test_linux.yml/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions/workflows/test_linux.yml)
[![Windows](https://github.com/vkbo/novelWriter/actions/workflows/test_win.yml/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions/workflows/test_win.yml)
[![macOS](https://github.com/vkbo/novelWriter/actions/workflows/test_mac.yml/badge.svg?branch=main)](https://github.com/vkbo/novelWriter/actions/workflows/test_mac.yml)
[![flake8](https://github.com/vkbo/novelWriter/workflows/flake8/badge.svg)](https://github.com/vkbo/novelWriter/actions)
[![codecov](https://codecov.io/gh/vkbo/novelWriter/branch/main/graph/badge.svg)](https://codecov.io/gh/vkbo/novelWriter)
[![docs](https://readthedocs.org/projects/novelwriter/badge/?version=latest)](https://novelwriter.readthedocs.io/en/latest/?badge=latest)
[![release](https://img.shields.io/github/v/release/vkbo/novelwriter)](https://github.com/vkbo/novelWriter/releases)
[![pypi](https://img.shields.io/pypi/v/novelwriter)](https://pypi.org/project/novelWriter)
[![python](https://img.shields.io/pypi/pyversions/novelwriter)](https://pypi.org/project/novelWriter)
[![Linux](https://github.com/vkbo/novelWriter/actions/workflows/test_linux.yml/badge.svg)](https://github.com/vkbo/novelWriter/actions/workflows/test_linux.yml)
[![Windows](https://github.com/vkbo/novelWriter/actions/workflows/test_win.yml/badge.svg)](https://github.com/vkbo/novelWriter/actions/workflows/test_win.yml)
[![MacOS](https://github.com/vkbo/novelWriter/actions/workflows/test_mac.yml/badge.svg)](https://github.com/vkbo/novelWriter/actions/workflows/test_mac.yml)
[![Linting](https://github.com/vkbo/novelWriter/actions/workflows/syntax.yml/badge.svg)](https://github.com/vkbo/novelWriter/actions/workflows/syntax.yml)
[![CodeCov](https://codecov.io/gh/vkbo/novelWriter/branch/main/graph/badge.svg)](https://codecov.io/gh/vkbo/novelWriter)
<img align="left" style="margin: 0 16px 4px 0;" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/icons/scaled/icon-novelwriter-96.png">
<img align="left" style="margin: 0 0 4px 0;" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/novelwriter_readme.png">
novelWriter is a plain text editor designed for writing novels assembled from many smaller text
documents. It uses a minimal formatting syntax inspired by Markdown, and adds a meta data syntax
@@ -22,202 +18,65 @@ synchronisation tools. All text is saved as plain text files with a meta data he
project structure is stored in a single project XML file. Other meta data is primarily saved as
JSON files.
The full documentation is available on [readthedocs.io](https://novelwriter.readthedocs.io).
For more details, and how to install and use novelWriter, please see the main website and
documentation.
The full credits are listed in [CREDITS.md](https://github.com/vkbo/novelWriter/blob/main/CREDITS.md).
**Project Links**
* Website: [novelwriter.io](https://novelwriter.io)
* Documentation: [docs.novelwriter.io](https://docs.novelwriter.io)
* Internationalisation: [crowdin.com/project/novelwriter](https://crowdin.com/project/novelwriter)
* PyPi Project: [pypi.org/project/novelWriter](https://pypi.org/project/novelWriter)
* Social Media: [fosstodon.org/@novelwriter](https://fosstodon.org/@novelwriter)
## Sponsors
<table style="border: none;">
<tr>
<td><img align="left" style="height: 25px;" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/signpath_logo.png"></td>
<td>Free code signing on Windows provided by <a href="https://about.signpath.io/">SignPath.io</a>, certificate by <a href="https://signpath.org/">SignPath Foundation</a>.</td>
</tr>
</table>
## Implementation
The application is written in Python 3 (3.6+) using Qt5 and PyQt5 (5.3+). It is developed on Linux,
but should in principle work fine on other operating systems as well as long as dependencies are
met. It is regularly tested on Debian and Ubuntu Linux, Windows, and macOS.
novelWriter is written with Python and Qt6 with PyQt6 Python binding. It is released on Linux,
Windows and MacOS. It can in principle run on any Operating System that also supports Qt, PyQt and
Python.
<p align="center">
<img width="80%" src="https://raw.githubusercontent.com/vkbo/novelWriter/main/setup/screenshot.png">
</p>
## Project Contributions
Please don't make feature pull requests without first having discussed them with the maintainer.
You can make a feature request in the issue tracker, or if the idea isn't fully formed, start a
discussion on the discussion page. Please also don't make pull requests to reformat or rewrite
existing code unless there is a very good reason for doing so.
You can make a feature request in the [issues tracker](https://github.com/vkbo/novelWriter/issues),
or if the idea isn't fully formed, start a [discussion](https://github.com/vkbo/novelWriter/discussions).
Please also don't make pull requests to reformat or rewrite existing code unless there is a very good reason for doing so.
Fixes and patches are welcome. Contributions related to packaging and installing novelWriter will
also be appreciated, but please make an issue or a discussion topic first. Before contributing any
code, please read the full [Contributing Guide](https://github.com/vkbo/novelWriter/blob/main/CONTRIBUTING.md).
code, please also read the full
[Contributing Guide](https://github.com/vkbo/novelWriter/blob/main/CONTRIBUTING.md).
New translations are always welcome. Please read the additional
[instructions](https://github.com/vkbo/novelWriter/blob/main/i18n/README.md) for further details.
Project credits are available in [CREDITS.md](https://github.com/vkbo/novelWriter/blob/main/CREDITS.md).
## Key Features
**Note:** New features and pre-releases are made on the `main` branch. Full releases are made from
the `release` branch. So if you're submitting a fix to a current release, **including changes to
documentation**, they must be made to the `release` branch.
Some key features of novelWriter are listed below. Consult the
[documentation](https://novelwriter.readthedocs.io) for more information.
### Translations
### Formatting Codes
New translations are always welcome. This project uses Crowdin to maintain translations, and you
can contribute translations at the [Crowdin project page](https://crowdin.com/project/novelwriter).
If you have any questions, feel free to post them to the
[Translations of novelWriter](https://github.com/vkbo/novelWriter/issues/93) issue thread.
Although novelWriter is a plain text editor, it uses a Markdown-like syntax to allow for a minimal
set of formatting that is useful for the specific task of writing novels.
## Licence
| Code | Usage | Description |
|------------|----------|-------------|
| `#` | Prefix | Headings level 1 to 4. |
| `_` | Wrapped | Emphasised (italicised) text. |
| `**` | Wrapped | Strongly emphasised (bold) text. |
| `~~` | Wrapped | Strikethrough text. |
| `%` | Prefix | A comment; does not count towards the word count.<sup>1</sup> |
| `@` | Prefix | The following text is parsed as a keyword/value command for meta data. |
| `>` | Prefix | The paragraph is indented one tab width from the left.<sup>2</sup> |
| `<` | Suffix | The paragraph is indented one tab width from the right.<sup>2</sup> |
| `>>` | Prefix | The paragraph is right-aligned.<sup>2</sup> |
| `<<` | Suffix | The paragraph is left-aligned.<sup>2</sup> |
| `>>`, `<<` | Wrapped | The paragraph is centred.<sup>2</sup> |
<sup>1</sup> If the first word of the comment is `synopsis:`, the comment is indexed and treated as the
synopsis for the section of text where it occurs. These synopsis comments can be used to build an
outline and exported to external documents.
<sup>2</sup> The indent and alignment codes are available from version 1.4.
In additions:
* A variety of thin and non-breaking spaces are supported. Some of them depend on the system
running at least Qt 5.9. Earlier versions of Qt will unfortunately strip them out when saving.
* Tabs can be used in the text, and should be properly aligned in both editor and viewer. This can
be used to make simple tables and lists. Note that for HTML exports, most browsers will treat a
tab as a space, so it may not show up like expected. Open Document exports should produce the
expected result.
### Export Formats
The core export formats of novelWriter are Open Document and HTML5. Open Document is an open
standard for office type documents that is supported by most office applications. See
[Open Document > Application Support](https://en.wikipedia.org/wiki/OpenDocument#Application_support)
for more details.
You can also export the entire project as a single novelWriter-flavour document. These can later be
imported again into novelWriter. In addition, printing and export to PDF is offered through the Qt
library, although with limitations to formatting.
### Colour Themes
The editor has syntax highlighting for the features it supports, and includes a set of different
syntax highlighting themes. Optional GUI themes are also available, including dark themes.
### Easy Organising of Project Files
The structure of the project is shown on the left hand side of the main window. Project files are
organised into root folders, indicating what class of file they are. The most important root folder
is the `Novel` folder, which contains all of the files that make up the novel itself. Each root
folder can have subfolders. Subfolders have no impact on the final project structure, they are
there for you to organise your files in whatever way you want.
The editor supports four levels of headings, which determine what level the following text belongs
to. Headings of level one signify a book or partition title. Headings of level two signify the
start of a new chapter. Headings of level three signify the start of a new scene. Headings of level
four can be used internally in each scene to create separate sections.
Each novel file can be assigned a layout format, which shows up as a flag next to the item in the
project tree. These are mostly to help the user track what they contain, but they also have some
impact on the layout of the exported document. See the
[documentation](https://novelwriter.readthedocs.io) for further details.
### Project Notes
Supporting notes can be added for the story plot, characters, locations, story timeline, etc. These
have their separate root folders and are optional to use.
### Visualisation of Story Elements
The different notes can be assigned tags, which other files can refer back to using `@`-prefixed
meta keywords. This information can be used to display an outline of the story, showing where each
scene connects to the plot, and which characters, etc. occur in them. In addition, the tags
themselves are clickable in the document view pane, and control-clickable in the editor. They make
it possible to quickly navigate between the documents while writing.
## Standard Installation
For a regular installation, it is recommended that you download one of the minimal zip files from
the [Releases](https://github.com/vkbo/novelWriter/releases) page or the
[novelwriter.io](https://novelwriter.io/) website.
The [documentation](https://novelwriter.readthedocs.io/) has detailed install instructions for
[Linux](https://novelwriter.readthedocs.io/en/latest/setup_linux.html),
[Windows](https://novelwriter.readthedocs.io/en/latest/setup_windows.html), and
[macOS](https://novelwriter.readthedocs.io/en/latest/setup_mac.html).
They are pretty straightforward.
## Running from Source
If you want to run novelWriter directly from the source code, you must run the `novelWriter.py`
file from command line.
**Note:** You may need to replace `python` with `python3` and `pip` with `pip3` in the instructions
below on some systems. You may also want to add the `--user` flag for `pip` to install in your user
space only.
### Dependencies
Dependencies can generally be installed from PyPi with:
```bash
pip install -r requirements.txt
```
### Additional Steps for Linux
On Linux, you can most likely find the dependencies in your distribution's repository. On Ubuntu
and Debian, run:
```bash
sudo apt install python3-pyqt5 python3-lxml python3-enchant
```
If you want to set up a launcher and icons on Linux, you can run:
```bash
python setup.py xdg-install
```
### Additional Steps for macOS
First, make sure you have properly set up Python3 with Homebrew. If not, check their
[documentation](https://docs.brew.sh/Homebrew-and-Python).
In addition, the following steps are necessary to install all dependencies:
```bash
brew install enchant
pip3 install --user -r requirements.txt
pip3 install --user pyobjc
```
### Additional Steps for Windows
Windows does not by default come with Python installed. If you haven't installed it already, get it
from [python.org/downloads](https://www.python.org/downloads/). Remember to select "Add Python to
PATH" during the installation.
The script `windows_install.bat` in the `setup` folder can be used to create desktop and start menu
icons for novelWriter. The script will also install dependencies for you from PyPi.
### Internationalisation
If you install from source, you must build the translation files yourself if you want to switch to
a different GUI language than British English. This requires that you have the Qt translation
framework installed. Check the specific instruction in the README in the `i18n` source folder for
how to build the translation files.
## Debugging
If you need to debug novelWriter, you must run it from the command line. It takes a few parameters,
which can be listed with the switch `--help`. The `--info`, `--debug` or `--verbose` flags are
particularly useful for increasing logging output for debugging.
## Licenses
This is Open Source software, and novelWriter is licensed under GPLv3. See the
This is Open Source software, and novelWriter is licenced under GPLv3. See the
[GNU General Public License website](https://www.gnu.org/licenses/gpl-3.0.en.html) for more
details, or consult the [LICENSE](https://github.com/vkbo/novelWriter/blob/main/LICENSE.md) file.
Bundled assets and their licenses are listed in
[CREDITS](https://github.com/vkbo/novelWriter/blob/main/CREDITS.md).
## Screenshots
**novelWriter with default system theme:**
![Screenshot 1](https://raw.githubusercontent.com/vkbo/novelWriter/main/docs/source/images/screenshot_default.png)
**novelWriter with dark theme:**
![Screenshot 2](https://raw.githubusercontent.com/vkbo/novelWriter/main/docs/source/images/screenshot_dark.png)
details, or consult the [License](https://github.com/vkbo/novelWriter/blob/main/LICENSE.md)
document. Bundled assets and their licences are listed in the
[Credits](https://github.com/vkbo/novelWriter/blob/main/CREDITS.md) document.

8
docs/requirements.txt Normal file
View File

@@ -0,0 +1,8 @@
docutils>=0.17.1
pygments>=2.7
sphinx-book-theme
sphinx-copybutton
sphinx-design
sphinx-favicon
sphinx-intl
sphinx>=5.0

View File

@@ -1,27 +0,0 @@
/*
* Custom CSS Rules for Sphinx RTD Theme
*/
.kbd {
background-color: #eeeeee;
border: 1px solid #b4b4b4;
border-radius: 3px;
color: #333333;
display: inline-block;
font-size: 0.85em;
font-weight: 400;
line-height: 1;
padding: 2px 4px;
margin-left: 1px;
margin-right: 1px;
white-space: nowrap;
}
.tight-table td {
white-space: normal !important;
vertical-align: text-top;
}
pre span.go {
color: #333333 !important;
}

View File

@@ -0,0 +1,14 @@
span.guilabel {
font-weight: 400;
}
.nw-sidebar-title {
height: unset;
max-height: unset;
flex-direction: column;
justify-content: center;
gap: .25rem;
font-size: 1.25rem;
font-weight: normal;
text-align: center;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -0,0 +1,3 @@
{% if docstitle %}
<p class="nw-sidebar-title">{{ docstitle }}</p>
{% endif %}

View File

@@ -1,140 +1,91 @@
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
"""
Configuration file for the Sphinx documentation builder.
Documentation: http://www.sphinx-doc.org/en/master/config
"""
# -- Path setup --------------------------------------------------------------
# -- Imports -----------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import sys
# sys.path.insert(0, os.path.abspath("."))
import datetime
import os
import time
import sphinx_rtd_theme # noqa: F401
# -- Project information -----------------------------------------------------
# -- Project Information -----------------------------------------------------
project = "novelWriter"
copyright = "2018–2021, Veronica Berglyd Olsen"
author = "Veronica Berglyd Olsen"
copyright = f"{datetime.date.today().year}" # noqa: A001
# The short X.Y version
version = "1.4"
# The full version, including alpha/beta/rc tags
release = "1.4-rc1"
tmp_authors = ["Veronica Berglyd Olsen"]
if additional := os.environ.get("SPHINX_I18N_AUTHORS"):
tmp_authors.extend(a.strip() for a in additional.split(","))
author = ", ".join(tmp_authors)
# -- General configuration ---------------------------------------------------
initFile = os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir,
"novelwriter", "__init__.py"
)
with open(initFile, encoding="utf-8") as inFile:
for aLine in inFile:
if aLine.startswith("__version__"):
release = aLine.split('"')[1].strip()
break
else:
release = "unknown"
version = release.partition("-")[0]
# -- General Configuration ---------------------------------------------------
os.environ["TZ"] = "Europe/Oslo"
time.tzset()
# needs_sphinx = "1.0"
extensions = [
"sphinx_rtd_theme",
]
needs_sphinx = "5.0"
extensions = ["sphinx_design", "sphinx_copybutton"]
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"
today_fmt = "%A, %d %B %Y at %H:%M"
language = None
language = "en"
locale_dirs = ["locales/"]
gettext_compact = False
exclude_patterns = []
pygments_style = None
# -- Options for HTML output -------------------------------------------------
# -- Options for HTML Output -------------------------------------------------
html_theme = "sphinx_rtd_theme"
html_logo = "images/novelwriter.png"
html_theme = "sphinx_book_theme"
html_title = f"Version {release}"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_theme_options = {
# Toc options
"collapse_navigation": True,
"sticky_navigation": True,
"navigation_depth": 3,
"includehidden": True,
"titles_only": False,
"logo_only": True,
"logo": {
"image_light": "_static/novelwriter-light.png",
"image_dark": "_static/novelwriter-dark.png",
},
"show_toc_level": 2,
"show_navbar_depth": 1,
"repository_url": "https://github.com/vkbo/novelwriter",
"navigation_with_keys": True,
"use_repository_button": True,
"use_issues_button": True,
"pygment_light_style": "tango",
"pygment_dark_style": "dracula",
}
html_sidebars = {
"**": ["navbar-logo", "sidebar-title", "sbt-sidebar-nav"],
}
html_static_path = ["_static"]
html_css_files = [
"css/custom.css",
]
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
# The default sidebars (for documents that don"t match any pattern) are
# defined by theme itself. Builtin themes are using these templates by
# default: ``["localtoc.html", "relations.html", "sourcelink.html",
# "searchbox.html"]``.
# html_sidebars = {}
# -- Options for HTMLHelp output ---------------------------------------------
# Output file base name for HTML help builder.
htmlhelp_basename = "novelWriterDoc"
# -- Options for LaTeX output ------------------------------------------------
# -- Options for LaTeX Output ------------------------------------------------
latex_elements = {
# The paper size ("letterpaper" or "a4paper").
#
# "papersize": "letterpaper",
# The font size ("10pt", "11pt" or "12pt").
#
# "pointsize": "10pt",
# Additional stuff for the LaTeX preamble.
#
# "preamble": "",
# Latex figure (float) alignment
#
# "figure_align": "htbp",
"papersize": "a4paper",
"pointsize": "11pt",
"preamble": (
"\\usepackage[utf8]{inputenc}\n"
"\\DeclareUnicodeCharacter{2212}{\\textendash}\n"
),
"figure_align": "htbp",
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_logo = "_static/novelwriter-pdf.png"
latex_documents = [(
master_doc, "novelWriter.tex", "novelWriter Documentation",
author, "manual"
master_doc, "manual.tex", None, author, "manual"
)]
# -- Options for manual page output ------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [(
master_doc, "novelwriter", "novelWriter Documentation", [author], 1
)]
# -- Options for Texinfo output ----------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [(
master_doc, "novelWriter", "novelWriter Documentation", author,
"novelWriter", "Markdown-like editor for novels.", "Miscellaneous"
)]
# -- Options for Epub output -------------------------------------------------
# Bibliographic Dublin Core info.
epub_title = project
# The unique identifier of the text. This can be a ISBN number
# or the project homepage.
# epub_identifier = ""
# A unique identification for the text.
# epub_uid = ""
# A list of files that should not be packed into the epub file.
epub_exclude_files = ["search.html"]

View File

@@ -0,0 +1,92 @@
.. _docs_features_dialogue:
*********************
Dialogue Highlighting
*********************
Dialogue recognition and colour highlighting is available both while you're writing and in
generated manuscript documents.
The default language settings in novelWriter are for English. That includes the dialogue
highlighting settings. But many dialogue styles are supported. You can tune a number of settings
to fit your language and style preferences in the "Text Highlighting" section in **Preferences**.
You can mix and match these settings.
.. figure:: images/fig_dialogue_highlighting.png
The **Text Highlighting** section of **Preferences**.
Quoted Dialogue
===============
By default, dialogue highlighting is enabled for the double quote symbols you have defined in the
**Quotation Style** section of **Preferences**.
.. figure:: images/fig_dialogue_quote_styles.png
The **Quotation Style** section of **Preferences**.
You can change which quote symbols are highlighted by selecting one of "None", "Single", "Double",
or "Both" from the "Highlight dialogue" setting under **Text Highlighting**.
You can also enable or disable the "Allow open-ended dialogue" setting to allow for the style where
multi-paragraph dialogue is not closed until the last paragraph.
.. admonition:: Limitations
Dialogue highlighting for single quotes is difficult to process when the same single quote
symbol is also used for apostrophes. There isn't a good solution to this. Your best option in
the cases where the highlighting is wrong is to insert an alternative apostrophe symbol instead.
See :ref:`docs_more_typographical_symbols_apostrophe` for more details.
Alternative Dialogue
====================
You can use the "Alternative dialogue symbols" setting for custom dialogue wrapper symbols. These
are highlighted in a different colour than regular dialogue.
The intended use case here is if you use an alternative style to distinguish a different style of
communication. The feature idea came from a science fiction series where mind-to-mind communication
used a different quotation style.
Dialogue Line Symbols
=====================
In some languages, a single symbol at the start of a paragraph can indicate that the whole
paragraph is dialogue. For instance, this symbol can be a short dash (en dash).
.. figure:: images/fig_dialogue_line.png
An example of dialogue starting with a short dash.
You can enable this feature by adding the symbols to the "Dialogue line symbols" setting. Multiple
symbols are allowed.
Dialogue with Narrator Break
============================
The dialogue symbol setting will not detect if the dialogue ends in the paragraph. In some styles
there is no way to actually indicate the switch from dialogue to narration; in others there are.
These a narrator break symbols are usually dashes. You can select one of the supported dash symbols
for narrator breaks. These can be used with any of the above dialogue recognition settings.
.. figure:: images/fig_dialogue_narrator_break.png
An example of dialogue starting with a short dash and a long dash narrator break.
Alternating Dialogue and Narration
==================================
The alternating dialogue and narration style is supported with the "Alternating dialogue/narration
symbol" setting. It can be set to one of the supported dashes. This style will switch into dialogue
mode when it first encounters the selected dash in a paragraph, and switch back out when it sees
the next one, and so forth.
.. figure:: images/fig_dialogue_alternating.png
An example of alternating dialogue and narration using a long dash.

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -0,0 +1,192 @@
.. _docs_features_shortcuts:
******************
Keyboard Shortcuts
******************
Most features in novelWriter are available as keyboard shortcuts. This is a reference list of those
shortcuts. Most of them are also listed in the application's user interface.
.. note::
On MacOS, replace :kbd:`Ctrl` with :kbd:`Cmd`.
Main Window Shortcuts
=====================
.. csv-table::
:header: "Shortcut", "Description"
":kbd:`F1`", "Open the online user manual"
":kbd:`F5`", "Open the **Build Manuscript** tool"
":kbd:`F6`", "Open the **Writing Statistics** tool"
":kbd:`F8`", "Toggle **Focus Mode**"
":kbd:`F9`", "Re-build the project's index"
":kbd:`F11`", "Toggle full screen mode"
":kbd:`Ctrl+,`", "Open the **Preferences** dialog"
":kbd:`Ctrl+E`", "Switch or toggle focus for the editor or viewer"
":kbd:`Ctrl+T`", "Switch or toggle focus for the project tree or novel view"
":kbd:`Ctrl+Q`", "Exit novelWriter"
":kbd:`Ctrl+Shift+,`", "Open the **Project Settings** dialog"
":kbd:`Ctrl+Shift+O`", "Open the Welcome dialog to open or create a project"
":kbd:`Ctrl+Shift+S`", "Save the current project"
":kbd:`Ctrl+Shift+T`", "Switch focus to the outline view"
":kbd:`Ctrl+Shift+W`", "Close the current project"
":kbd:`Shift+F1`", "Open the local user manual (PDF) if it is available"
":kbd:`Shift+F6`", "Open the **Project Details** dialog"
Project Tree Shortcuts
======================
.. csv-table::
:header: "Shortcut", "Description"
":kbd:`F2`", "Edit the label of the selected item"
":kbd:`Return`", "Open the selected document in the editor"
":kbd:`Alt+Up`", "Jump or go to the previous item at same level in the tree"
":kbd:`Alt+Down`", "Jump or go to the next item at same level in the tree"
":kbd:`Alt+Left`", "Jump to the parent item in the tree"
":kbd:`Alt+Right`", "Jump to the first child item in the project tree"
":kbd:`Ctrl+.`", "Open the context menu on the selected item"
":kbd:`Ctrl+L`", "Open the **Quick Links** menu"
":kbd:`Ctrl+N`", "Open the **Create New Item** menu"
":kbd:`Ctrl+O`", "Open the selected document in the editor"
":kbd:`Ctrl+R`", "Open the selected document in the viewer"
":kbd:`Ctrl+Up`", "Move selected item one step up in the tree"
":kbd:`Ctrl+Down`", "Move selected item one step down in the tree"
":kbd:`Ctrl+Shift+Del`", "Move the selected item to Trash"
Document Editor Shortcuts
=========================
Text Search Shortcuts
---------------------
.. csv-table::
:header: "Shortcut", "Description"
":kbd:`F3`", "Find the next occurrence of the search word"
":kbd:`Ctrl+F`", "Open search and look for the selected word"
":kbd:`Ctrl+G`", "Find the next occurrence of the search word"
":kbd:`Ctrl+H`", "Open replace and look for the selected word (Mac :kbd:`Cmd+=`)"
":kbd:`Ctrl+Shift+1`", "Replace selected occurrence, and move to the next"
":kbd:`Ctrl+Shift+G`", "Find the previous occurrence of the search word"
":kbd:`Ctrl+Shift+F`", "Open project search and look for the selected word"
":kbd:`Shift+F3`", "Find the previous occurrence of the search word"
Text Formatting Shortcuts
-------------------------
.. csv-table::
:header: "Shortcut", "Description"
":kbd:`Ctrl+'`", "Wrap selected text, or word under cursor, in single quotes"
":kbd:`Ctrl+""`", "Wrap selected text, or word under cursor, in double quotes"
":kbd:`Ctrl+/`", "Toggle comment format for block or selected text"
":kbd:`Ctrl+0`", "Remove format for block or selected text"
":kbd:`Ctrl+1`", "Change block format to heading level 1"
":kbd:`Ctrl+2`", "Change block format to heading level 2"
":kbd:`Ctrl+3`", "Change block format to heading level 3"
":kbd:`Ctrl+4`", "Change block format to heading level 4"
":kbd:`Ctrl+5`", "Change block alignment to left-aligned"
":kbd:`Ctrl+6`", "Change block alignment to centred"
":kbd:`Ctrl+7`", "Change block alignment to right-aligned"
":kbd:`Ctrl+8`", "Add a left margin to the block"
":kbd:`Ctrl+9`", "Add a right margin to the block"
":kbd:`Ctrl+B`", "Format selected text, or word under cursor, with bold"
":kbd:`Ctrl+D`", "Format selected text, or word under cursor, with strike through"
":kbd:`Ctrl+I`", "Format selected text, or word under cursor, with italic"
":kbd:`Ctrl+Shift+/`", "Remove format for block or selected text"
":kbd:`Ctrl+Shift+D`", "Toggle ignored text format for block or selected text"
Other Editor Shortcuts
----------------------
.. csv-table::
:header: "Shortcut", "Description"
":kbd:`F7`", "Re-run the spell checker on the document"
":kbd:`Ctrl+.`", "Open the context menu at the current cursor location"
":kbd:`Ctrl+A`", "Select all text in the document"
":kbd:`Ctrl+C`", "Copy selected text to clipboard"
":kbd:`Ctrl+K`", "Activate the insert commands (see list in :ref:`docs_features_shortcuts_insert`)"
":kbd:`Ctrl+R`", "Open or reload the current document in the viewer"
":kbd:`Ctrl+S`", "Save the current document"
":kbd:`Ctrl+V`", "Paste text from clipboard to cursor position"
":kbd:`Ctrl+W`", "Close the current document"
":kbd:`Ctrl+X`", "Cut selected text to clipboard"
":kbd:`Ctrl+Y`", "Redo latest undo"
":kbd:`Ctrl+Z`", "Undo latest changes"
":kbd:`Ctrl+Backspace`", "Delete the word before the cursor"
":kbd:`Ctrl+Del`", "Delete the word after the cursor"
":kbd:`Ctrl+F7`", "Toggle spell checking"
":kbd:`Ctrl+Return`", "Open the tag or reference under the cursor in the viewer"
":kbd:`Ctrl+Shift+A`", "Select all text in the current paragraph"
.. _docs_features_shortcuts_insert:
Insert Shortcuts
----------------
A set of insert features are also available through shortcuts, but they require a double
combination of key sequences. The insert feature is activated with :kbd:`Ctrl+K`, followed by
a key or key combination for the inserted content.
.. csv-table::
:header: "Shortcut", "Description"
":kbd:`Ctrl+K`, :kbd:`Space`", "Insert a non-breaking space"
":kbd:`Ctrl+K`, :kbd:`_`", "Insert a long dash (em dash)"
":kbd:`Ctrl+K`, :kbd:`.`", "Insert an ellipsis"
":kbd:`Ctrl+K`, :kbd:`'`", "Insert a modifier apostrophe"
":kbd:`Ctrl+K`, :kbd:`*`", "Insert a list bullet"
":kbd:`Ctrl+K`, :kbd:`%`", "Insert a per mille symbol"
":kbd:`Ctrl+K`, :kbd:`~`", "Insert a figure dash (same width as a number)"
":kbd:`Ctrl+K`, :kbd:`−`", "Insert a short dash (en dash)"
":kbd:`Ctrl+K`, :kbd:`1`", "Insert a left single quote"
":kbd:`Ctrl+K`, :kbd:`2`", "Insert a right single quote"
":kbd:`Ctrl+K`, :kbd:`3`", "Insert a left double quote"
":kbd:`Ctrl+K`, :kbd:`4`", "Insert a right double quote"
":kbd:`Ctrl+K`, :kbd:`C`", "Insert a ``@char`` keyword"
":kbd:`Ctrl+K`, :kbd:`E`", "Insert an ``@entity`` keyword"
":kbd:`Ctrl+K`, :kbd:`F`", "Insert a ``@focus`` keyword"
":kbd:`Ctrl+K`, :kbd:`G`", "Insert a ``@tag`` keyword"
":kbd:`Ctrl+K`, :kbd:`H`", "Insert a short description comment"
":kbd:`Ctrl+K`, :kbd:`L`", "Insert a ``@location`` keyword"
":kbd:`Ctrl+K`, :kbd:`M`", "Insert a ``@mention`` keyword"
":kbd:`Ctrl+K`, :kbd:`O`", "Insert an ``@object`` keyword"
":kbd:`Ctrl+K`, :kbd:`P`", "Insert a ``@plot`` keyword"
":kbd:`Ctrl+K`, :kbd:`S`", "Insert a synopsis comment"
":kbd:`Ctrl+K`, :kbd:`T`", "Insert a ``@time`` keyword"
":kbd:`Ctrl+K`, :kbd:`V`", "Insert a ``@pov`` keyword"
":kbd:`Ctrl+K`, :kbd:`X`", "Insert a ``@custom`` keyword"
":kbd:`Ctrl+K`, :kbd:`Ctrl+Space`", "Insert a thin non-breaking space"
":kbd:`Ctrl+K`, :kbd:`Ctrl+_`", "Insert a horizontal bar (quotation dash)"
":kbd:`Ctrl+K`, :kbd:`Ctrl+'`", "Insert a prime"
":kbd:`Ctrl+K`, :kbd:`Ctrl+""`", "Insert a double prime"
":kbd:`Ctrl+K`, :kbd:`Ctrl+*`", "Insert a flower mark (alternative bullet)"
":kbd:`Ctrl+K`, :kbd:`Ctrl+−`", "Insert a hyphen bullet (alternative bullet)"
":kbd:`Ctrl+K`, :kbd:`Ctrl+D`", "Insert a division sign"
":kbd:`Ctrl+K`, :kbd:`Ctrl+O`", "Insert a degree symbol"
":kbd:`Ctrl+K`, :kbd:`Ctrl+X`", "Insert a times sign"
":kbd:`Ctrl+K`, :kbd:`Shift+Space`", "Insert a thin space"
Document Viewer Shortcuts
=========================
.. csv-table::
:header: "Shortcut", "Description"
":kbd:`Alt+Left`", "Move backward in the view history"
":kbd:`Alt+Right`", "Move forward in the view history"
":kbd:`Ctrl+C`", "Copy selected text to clipboard"
":kbd:`Ctrl+Shift+A`", "Select all text in the current paragraph"
":kbd:`Ctrl+Shift+R`", "Close the document viewer"

View File

@@ -0,0 +1,110 @@
.. _docs_features_story:
**************
Story Comments
**************
A special set of comment styles allow for annotating your text with structure information. There
are two styles of comments available. They are an extension to regular comments as described in
:ref:`docs_usage_comments`.
.. versionadded:: 2.7
Story Structure Comments
========================
You can annotate story structure by using the ``%Story`` style of comment. To use the feature,
make the first word of a comment ``Story``, followed by a period, a structure term, a colon, a
space and the text for that term.
Usage
-----
The story term can be anything that you want to track in the manuscript. This construct is intended
to make it easier to extract metadata from a work to perform a structural analysis of the story.
There are probably as many ways to examine story structure as there are authors and editors
combined. For this reason the story tag is flexible. You can use any terms you want and track any
aspect of the story that serves your purposes.
An example method has been advanced by Shawn Coyne in *The Story Grid*. This method asserts that a
story is composed of "beats", and that each beat has an inciting incident, a complication, a
crisis, and a resolution. One might capture these elements of a beat where a character overcomes
their fear of giving a speech as:
:bdg-info:`Example`
.. code-block:: md
### Scene
%Synopsis: Carol overcomes her fear of giving a speech.
%Story.incite: Carol is pleased to be invited to a conference to see her boss deliver a keynote.
%Story.complication: Carol's boss calls in sick and asks her to deliver a big speech.
%Story.crisis: Carol has a fear of appearing on stage.
%Story.resolution: Carol engages the help of a coach who helps her overcome her fears and delivers a great speech.
Other analytical models propose tracking a scene's pace, how it affects the mood of the story, or
which element(s) of the story's genre are being satisfied. An author can use this mechanism to
track any element of a scene. Some examples include time of day, how much time passes in the scene,
or even the physical form of a shape-shifting character. If a story involves magic, one could track
which wand a main character has in hand. It's up to tha author.
When the story and other scene metadata is extracted into a tabular form, it is possible to get a
comprehensive overview of the story and to identify possible issues. For example, so many
fast-paced scenes without a break that readers might become fatigued or over-stimulated.
Output
------
The story structure comments can be included in the manuscript, and are formatted similarly to
the synopsis comments:
.. figure:: images/fig_story_structure_manuscript.png
A set of story structure comments as shown in the Manuscript tool.
When you export your project data from the Outline View, all story structure terms are added as
columns to the exported file, which can then be opened in the spread sheet software of your choice.
Story Notes
===========
Story notes are similar to story structure comments, but have no predefined meaning. Essentially
they are a generalisation of the story structure comment, and the only point of having this
additional format is to allow you do filter them in and out of your manuscript independently.
You can annotate story notes by using the ``%Note`` style of comment. To use the feature,
make the first word of a comment ``Note``, followed by a period, a term, a colon, a space and the
text for the note.
Usage
-----
These notes are free form, but one intended use case is to add consistency annotations to your text
to remind yourself where you have described something that must be checked against other parts of
your text later on.
:bdg-info:`Example`
.. code-block:: md
### Scene
%Synopsis: Carol overcomes her fear of giving a speech.
%Note.consistency: This is the first time in the story Carol gives a speech.
Output
------
Story notes are included in the manuscript in exactly the same way story structure comments are,
but has a separate inclusion setting in the build settings. They are also included in CSV exports
from the **Outline View**.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 431 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

View File

@@ -1,94 +1,89 @@
#####################
novelWriter |release|
#####################
##########
User Guide
##########
.. image:: https://github.com/vkbo/novelWriter/workflows/python%203.8/badge.svg?branch=main
:target: https://github.com/vkbo/novelWriter/actions
:alt: Python Tests
| **Release Version:** |release|
| **Updated:** |today|
.. image:: https://codecov.io/gh/vkbo/novelWriter/branch/main/graph/badge.svg
:target: https://codecov.io/gh/vkbo/novelWriter
:alt: Code Coverage
novelWriter is an open source plain text editor designed for writing novels assembled from
individual text documents. It uses a minimal formatting syntax inspired by Markdown, and adds a
meta data syntax for comments, synopsis, and cross-referencing. It is designed to be a simple text
editor that allows for easy organisation of text and notes, using human readable text files as
storage for robustness.
.. image:: https://readthedocs.org/projects/novelwriter/badge/?version=latest
:target: https://novelwriter.readthedocs.io/en/latest/?badge=latest
:alt: Documentation
.. image:: https://img.shields.io/github/v/release/vkbo/novelwriter
:target: https://github.com/vkbo/novelWriter/releases
:alt: GitHub Release
.. image:: https://img.shields.io/pypi/v/novelwriter
:target: https://pypi.org/project/novelWriter/
:alt: PyPI
.. image:: https://img.shields.io/pypi/pyversions/novelwriter
:target: https://pypi.org/project/novelWriter/
:alt: Python Version
**Last Updated:** |today|
novelWriter is a markdown-like text editor designed for writing novels and larger projects of many
smaller plain text documents. It uses its own flavour of markdown that supports a meta data syntax
for comments, synopsis and cross-referencing between documents. The idea is to have a simple text
editor which allows for easy organisation of text documents and notes, built on a plain text file
project repository for robustness.
The plain text storage is suitable for version control software, and also well suited for file
synchronisation tools. The core project structure is stored in a single project XML file. Other
meta data is primarily saved as JSON files.
Any operating system that can run Python 3 and has the Qt 5 libraries should be able to run
novelWriter. It runs fine on Linux, Windows and macOS, and users have tested it on other platforms
too. novelWriter can be run directly from the Python source, or installed from the pip tool or via
the provided setup script. See :ref:`a_started`, or one or the setup instructions for your
operating system for further details.
.. figure:: images/screenshot_multi.png
:class: dark-light
:align: center
:width: 500
**Useful Links**
* Website: https://novelwriter.io
* Documentation: https://novelwriter.readthedocs.io
* Documentation: https://docs.novelwriter.io
* Public Releases: https://releases.novelwriter.io
* Internationalisation: https://crowdin.com/project/novelwriter
* Source Code: https://github.com/vkbo/novelWriter
* Source Releases: https://github.com/vkbo/novelWriter/releases
* Issue Tracker: https://github.com/vkbo/novelWriter/issues
* Feature Discussions: https://github.com/vkbo/novelWriter/discussions
* PyPi Project: https://pypi.org/project/novelWriter
* Social Media: https://fosstodon.org/@novelwriter
.. toctree::
:maxdepth: 2
:caption: Introduction
int_introduction
int_started
setup_linux
setup_mac
setup_windows
:hidden:
self
More Documents <https://novelwriter.io/more/>
.. toctree::
:maxdepth: 2
:caption: Usage
usage_interface
usage_shortcuts
usage_projects
usage_structure
usage_notes
usage_export
usage_typography
:caption: Getting Started
:hidden:
usage/introduction
usage/organising_project
usage/chapters_and_scenes
usage/basic_formatting
usage/comments
usage/tags_and_references
usage/alignment_and_indent
usage/advanced_formatting
usage/front_back_matter
usage/howto
.. toctree::
:maxdepth: 2
:caption: Under the Hood
:caption: The User Interface
:hidden:
tech_technical
user_interface/main_window
user_interface/projects
user_interface/editor_viewer
user_interface/split_and_merge
user_interface/manuscript
user_interface/statistics
.. toctree::
:caption: Other Features
:hidden:
Indices and Tables
==================
features/dialogue
features/story_comments
features/shortcuts
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. toctree::
:caption: In-Depth Topics
:hidden:
more/counting
more/typography
more/customise
more/handling_errors
more/project_format
.. toctree::
:caption: Technical Topics
:hidden:
technical/locations
technical/storage
technical/source
technical/tests

View File

@@ -1,130 +0,0 @@
.. _a_intro:
************
Introduction
************
novelWriter is a simple, multi-document plain text editor using a modified markdown syntax to apply
simple formatting to the text. It is designed for writing novels, and allows for the component
documents to be ordered freely to create the desired structure of the novel. More details about how
projects are structured is covered in :ref:`a_struct`.
In addition, the project can contain notes on the various plot elements, characters, locations,
etc, that make up the story. These notes are organised in a set of category-specific top-level
folders referred to as "root" folders, and each entry can be tagged and cross-referenced from
within the novel documents and notes. These tags make it possible to inter-link documents, and
generate an overview of the entire novel project and how the various documents and plot elements
are interconnected. The tag and reference syntax is covered in :ref:`a_proj` and :ref:`a_notes`.
These additional features are not standard in markdown, but are available through special meta
keywords described in :ref:`a_struct_tags`. Syntax highlighting is provided to make it easier to
verify that the markdown tags are used correctly.
An overview of the supported markdown syntax is covered in :ref:`a_ui`.
.. _a_intro_design:
Design Philosophy
=================
The user interface of novelWriter is intended to be as minimalistic as practically possible, while
at the same time provide a complete set of features needed for writing a novel.
.. note::
novelWriter is not intended to be a full office type word processor. It doesn't support images,
links, tables, and other complex structures and objects often needed for such documents.
Formatting is limited to headers, and bold, italicised and strikethrough text.
.. tip::
If you do need to align information in rows and columns in your notes, you can achieve this with
tabs and line breaks. The tab stop width can be specified in :guilabel:`Preferences`.
The main window does not have a toolbar like many other applications do. This reduces clutter, and
since the documents are formatted with markdown tags, is more or less redundant. However, all
formatting features supported are available through convenient keyboard shortcuts. They are also
available in the main menu so you don't have to look up the syntax every time until you've
memorised it. A full list of shortcuts can be found in the :ref:`a_kb` section.
In addition, novelWriter has a :guilabel:`Focus Mode` where all the user interface elements other
than the document editor itself are hidden away.
The colour scheme of the user interface defaults to that of the host operating system. In addition,
other light and dark themes are provided, and can be enabled in :guilabel:`Preferences` from the
:guilabel:`Tools` menu. A number of syntax highlighting themes are also available in
:guilabel:`Preferences`. A set of icon themes in colour and greyscale are also offered. The icons
are based on the Typicons_ icon set designed by Stephen Hutchings.
The main window is split in two, or optionally three, panels. The left-most panel contains the
project tree and all the documents in your project. The second panel is the document editor, and
the optional third panel is a document viewer which can view any document in your project
independently of the document editor. It is not intended as a preview window, although you can use
it for this, but for viewing your notes next to your editor while you're writing.
A second tab is also available on the main window. This is the :guilabel:`Outline` tab where the
entire novel structure can be displayed, with all the tags and references listed. Depending on how
you structure your novel documents, this outline can be quite different from your project tree.
Your project tree lists individual documents, your Outline tree lists the structure of the novel
itself in terms of partitions, chapters and scenes as it appears in the text of the documents.
.. _Typicons: https://github.com/stephenhutchings/typicons.font
.. _a_intro_project:
Project Layout
==============
You are free to organise your project documents as you wish into subfolders, and split the text
between documents in whatever way suits you. All that matters to novelWriter is the linear order
the documents appear at in the project tree (top to bottom). The chapters, scenes and sections of
the novel are determined by the headings within those documents.
The four heading levels (**H1** to **H4**) are treated as follows:
* **H1** is used for the book title, and for partitions.
* **H2** is used for chapter tiles.
* **H3** is used for scene titles – optionally replaced by separators.
* **H4** is for section titles within scenes, if such granularity is needed.
This header level structure is only taken into account for novel documents. For the project notes,
the header levels have no structural meaning, and the user is free to do whatever they want. See
:ref:`a_struct` and :ref:`a_notes` for more details.
.. _a_intro_export:
Project Export
==============
The project can at any time be exported to a range of different formats through the
:guilabel:`Build Novel Project` tool. Natively, novelWriter supports export to Open Document,
HTML5, and various flavours of Markdown.
The HTML5 export format is suitable for conversion by a number of other tools like Pandoc, or for
importing into word processors if the Open Document format isn't suitable. In addition, printing
and printing to PDF is also possible.
It is also possible to export the content of the project to a JSON file. This is useful if you want
to write your own processing script in for instance Python as the entire novel can be read into a
Python dictionary with a couple of lines of code.
A number of filter options can be applied to the produced document, allowing you to export a draft
manuscript, a reference document of notes, an outline based on chapter and scene titles with a
synopsis each, and so on. See :ref:`a_export` for more details on export features and formats.
.. _a_intro_screenshots:
Screenshots
===========
**novelWriter with default system theme:**
.. image:: images/screenshot_default.png
:width: 800
**novelWriter with dark theme:**
.. image:: images/screenshot_dark.png
:width: 800

View File

@@ -1,170 +0,0 @@
.. _a_started:
***************
Getting Started
***************
.. _main website: https://novelwriter.io
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _PyPi: https://pypi.org/project/novelWriter/
This section contains brief guides to how you can get novelWriter running on your computer. These
are the methods currently supported by the developer. Packages may also be available in other
package managers, but those are not managed by the developer. No installers are provided at this
time, but it is fairly straightforward to set up novelWriter with the provided install scripts.
As novelWriter matures, more options for how to install it and get it running will be added. For
non-Windows users the install process is at the present time best suited for people used to working
with the command line. But even if you're not, the install process is fairly straightforward.
The next pages have specific install instructions for the various operating systems novelWriter can
run on. The instructions below are supplementary information, instructions for alterbative methods,
and additional build options.
.. note::
The text below assumes the command ``python`` corresponds to a Python 3 executable. Python 2 is
now deprecated, but many systems still have both Python 2 and 3. For such systems, the command
``python3`` may be needed instead. On Linux, the scripts can also be made executable and run
without the ``python`` command. Likewise, ``pip`` may need to be replaced with ``pip3``.
.. _a_started_depend:
Dependencies
============
novelWriter has been designed to rely on as few dependencies as possible. Aside from the packages
needed to communicate with the Qt GUI libraries, only one package is required for handling the XML
format of the main project file. Everything else is handled with standard Python libraries.
The following Python packages are needed to run novelWriter:
* ``pyqt5`` – needed for connecting with the Qt5 libraries.
* ``lxml`` – needed for full XML support.
* ``pyenchant`` – needed for efficient spell checking (optional).
PyQt/Qt should be at least 5.3, but ideally 5.10 or higher for nearly all features to work. For
instance, searching using regular expressions with full Unicode support requires 5.13. There is no
known minimum version requirement for package ``lxml``, but the code was originally written with
4.2, which is therefore set as the minimum. It may work on lower versions. You have to test it.
Optionally, a package can be installed to interface with the Enchant spell checking libaries, but
this isn't strictly required. If no external spell checking library is available, novelWriter falls
back to using the internal ``difflib`` of Python to check spelling. This is a slower and less
sophisticated spell checker than the full spell checking libaries. The spell check library must be
at least 3.0 to work with Windows. On Linux, 2.0 also works fine.
If you install from PyPi, these dependencies should be installed automatically. If you install from
source, dependencies can still be installed from PyPi with:
.. code-block:: console
pip install -r requirements.txt
.. _a_started_install:
Installing via PyPi
===================
The application is written in Python 3 using Qt5 via PyQt5. It is developed on Linux, but it should
in principle work fine on other operating systems as long as dependencies are met.
You can download the latest version of novelWriter from the source repository on GitHub_.
novelWriter is also hosted on PyPi_, and can be installed on all operating systems that support Qt5
and Python 3. It is regularly tested on Linux, Windows and macOS. The latest version of novelWriter
is |release|.
To install from PyPi you must first have the ``python`` and ``pip`` commands available on your
system. If you don't, see specific instructions for your operating system in this documentation.
To install novelWriter from PyPi, use the following command:
.. code-block:: console
pip install novelwriter
To upgrade an existing installation, use:
.. code-block:: console
pip install --upgrade novelwriter
When installing via pip, novelWriter can be launched from command line with:
.. code-block:: console
novelWriter
Make sure the install location for pip is in your PATH variable. This is not always the case by
default.
.. _a_started_i18n:
Building the Translation Files
==============================
If you installed novelWriter from a package, the translation files should be pre-built and
included. If you're running novelWriter from the source code, you will need to generate the files
yourself. The files you need will be written to the ``nw/assets/i18n`` folder, and will have the
``.qm`` file extension.
You can build the ``.qm`` files with:
.. code-block:: console
python3 setup.py qtlrelease
This requires that the Qt Linguist tool is installed on your system. On Ubuntu and Debian, the
needed package is called `qttools5-dev-tools`.
.. note::
If you want to improve novelWriter with translation files for another language, or update an
existing translation, instructions for how to contribute can be found in the README file in the
``i18n`` folder of the source code.
.. _a_started_docs:
Building the Documentation
==========================
If you installed novelWriter from a package, the documentation should be bre-built and included. If
you're running novelWriter from the source code, a local copy of this documentation can be
generated. It requires the following Python packages on Debian and Ubuntu.
* ``python3-sphinx``
* ``python3-sphinx-rtd-theme``
* ``python3-sphinxcontrib.qthelp``
Or from PyPi:
.. code-block:: console
pip install sphinx sphinx-rtd-theme sphinxcontrib-qthelp
The documentation can then be built from the ``docs`` folder in the source code by running:
.. code-block:: console
make html
If successful, the documentation should be available in the ``docs/build/html`` folder and you can
open the ``index.html`` file in your browser.
The documentation can also be built for the Qt Assistant. To build the help packages from the
documentation source, run the following from the root source folder:
.. code-block:: console
python setup.py qthelp
The setup script will copy the generated files into the ``nw/assets/help`` folder, and novelWriter
will detect the presence of the files and redirect the menu help entry to open help locally instead
of sending the user to the website. Pressing the :kbd:`F1` key will in any case try to open help
locally first, then send you to the website as a fallback.
.. note::
In order for the local version of help to work, the Qt Assistant must be installed on the local
computer. If it isn't available, or novelWriter cannot find it, the help feature will fall back
to redirecting you to the documentation website.

View File

@@ -0,0 +1,2 @@
# French translation authors, one name per line
Jean-Michel Heras

View File

@@ -0,0 +1,223 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 22:09+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/features/dialogue.rst:5
msgid "Dialogue Highlighting"
msgstr "Mise en évidence du dialogue"
#: ../../source/features/dialogue.rst:7
msgid ""
"Dialogue recognition and colour highlighting is available both while "
"you're writing and in generated manuscript documents."
msgstr ""
"La reconnaissance des dialogues et le surlignage des couleurs sont "
"disponibles à la fois pendant que vous écrivez et dans les documents "
"manuscrits générés."
#: ../../source/features/dialogue.rst:10
msgid ""
"The default language settings in novelWriter are for English. That "
"includes the dialogue highlighting settings. But many dialogue styles "
"are supported. You can tune a number of settings to fit your language "
"and style preferences in the \"Text Highlighting\" section in "
"**Preferences**. You can mix and match these settings."
msgstr ""
"Les paramètres linguistiques par défaut de novelWriter sont ceux de "
"l'anglais. Cela inclut les paramètres de mise en évidence des dialogues. "
"Mais de nombreux styles de dialogue sont pris en charge. Vous pouvez "
"ajuster un certain nombre de paramètres en fonction de vos préférences "
"linguistiques et stylistiques dans la section « Surlignage du texte » "
"des **Préférences**. Vous pouvez combiner ces paramètres.\n"
"\n"
"Traduit avec DeepL.com (version gratuite)"
#: ../../source/features/dialogue.rst:17
msgid "The **Text Highlighting** section of **Preferences**."
msgstr "La section **Mise en évidence du texte** des **Préférences**."
#: ../../source/features/dialogue.rst:21
msgid "Quoted Dialogue"
msgstr "Dialogue entre guillemets"
#: ../../source/features/dialogue.rst:23
msgid ""
"By default, dialogue highlighting is enabled for the double quote "
"symbols you have defined in the **Quotation Style** section of "
"**Preferences**."
msgstr ""
"Par défaut, la mise en évidence du dialogue est activée pour les "
"symboles de guillemets doubles que vous avez définis dans la section "
"**Style de guillemets** des **Préférences**."
#: ../../source/features/dialogue.rst:28
msgid "The **Quotation Style** section of **Preferences**."
msgstr "La section **Style de guillemets** des **Préférences**."
#: ../../source/features/dialogue.rst:30
msgid ""
"You can change which quote symbols are highlighted by selecting one of "
"\"None\", \"Single\", \"Double\", or \"Both\" from the \"Highlight "
"dialogue\" setting under **Text Highlighting**."
msgstr ""
"Vous pouvez modifier les symboles de guillemets mis en évidence en "
"sélectionnant « Aucun », « Simple », « Double » ou « Les deux » dans le "
"paramètre « Mettre les dialogues en évidence » sous **Surlignage du "
"texte**."
#: ../../source/features/dialogue.rst:33
msgid ""
"You can also enable or disable the \"Allow open-ended dialogue\" setting "
"to allow for the style where multi-paragraph dialogue is not closed "
"until the last paragraph."
msgstr ""
"Vous pouvez également activer ou désactiver le paramètre « Autoriser les "
"dialogues ouverts » pour autoriser le style dans lequel les dialogues à "
"plusieurs paragraphes ne sont pas clos avant le dernier paragraphe."
#: ../../source/features/dialogue.rst:36
msgid "Limitations"
msgstr "Restrictions"
#: ../../source/features/dialogue.rst:38
msgid ""
"Dialogue highlighting for single quotes is difficult to process when the "
"same single quote symbol is also used for apostrophes. There isn't a "
"good solution to this. Your best option in the cases where the "
"highlighting is wrong is to insert an alternative apostrophe symbol "
"instead. See :ref:`docs_more_typographical_symbols_apostrophe` for more "
"details."
msgstr ""
"La mise en évidence du dialogue pour les guillemets simples est "
"difficile à traiter lorsque le même symbole de guillemet simple est "
"également utilisé pour les apostrophes. Il n'existe pas de bonne "
"solution à ce problème. Votre meilleure option dans les cas où la mise "
"en évidence est erronée est d'insérer un symbole d'apostrophe alternatif "
"à la place. Voir :ref:`docs_more_typographical_symbols_apostrophe` pour "
"plus de détails."
#: ../../source/features/dialogue.rst:45
msgid "Alternative Dialogue"
msgstr "Dialogue alternatif"
#: ../../source/features/dialogue.rst:47
msgid ""
"You can use the \"Alternative dialogue symbols\" setting for custom "
"dialogue wrapper symbols. These are highlighted in a different colour "
"than regular dialogue."
msgstr ""
"Vous pouvez utiliser le paramètre « Symboles de dialogue alternatifs » "
"pour les symboles de dialogue personnalisés. Ceux-ci sont mis en "
"évidence dans une couleur différente de celle des dialogues normaux."
#: ../../source/features/dialogue.rst:50
msgid ""
"The intended use case here is if you use an alternative style to "
"distinguish a different style of communication. The feature idea came "
"from a science fiction series where mind-to-mind communication used a "
"different quotation style."
msgstr ""
"Le cas d'utilisation prévu ici est celui où vous utilisez un style "
"alternatif pour distinguer un style de communication différent. L'idée "
"est venue d'une série de science-fiction dans laquelle la communication "
"d'esprit à esprit utilisait un style de citation différent."
#: ../../source/features/dialogue.rst:56
msgid "Dialogue Line Symbols"
msgstr "Symboles des lignes de dialogue"
#: ../../source/features/dialogue.rst:58
msgid ""
"In some languages, a single symbol at the start of a paragraph can "
"indicate that the whole paragraph is dialogue. For instance, this symbol "
"can be a short dash (en dash)."
msgstr ""
"Dans certaines langues, un seul symbole au début d'un paragraphe peut "
"indiquer que tout le paragraphe est un dialogue. Par exemple, ce symbole "
"peut être un tiret demi-cadratin."
#: ../../source/features/dialogue.rst:63
msgid "An example of dialogue starting with a short dash."
msgstr "Exemple de dialogue commençant par un tiret demi-cadratin."
#: ../../source/features/dialogue.rst:65
msgid ""
"You can enable this feature by adding the symbols to the \"Dialogue line "
"symbols\" setting. Multiple symbols are allowed."
msgstr ""
"Vous pouvez activer cette fonction en ajoutant les symboles au paramètre "
"« Symboles de la ligne de dialogue ». Plusieurs symboles sont autorisés."
#: ../../source/features/dialogue.rst:70
msgid "Dialogue with Narrator Break"
msgstr "Dialogue avec incise"
#: ../../source/features/dialogue.rst:72
msgid ""
"The dialogue symbol setting will not detect if the dialogue ends in the "
"paragraph. In some styles there is no way to actually indicate the "
"switch from dialogue to narration; in others there are. These a narrator "
"break symbols are usually dashes. You can select one of the supported "
"dash symbols for narrator breaks. These can be used with any of the "
"above dialogue recognition settings."
msgstr ""
"Le réglage du symbole de dialogue ne détecte pas si le dialogue se "
"termine dans le paragraphe. Dans certains styles, il n'y a aucun moyen "
"d'indiquer le passage du dialogue à la narration ; dans d'autres, il y "
"en a un. Ces symboles de rupture avec le narrateur sont généralement des "
"tirets. Vous pouvez sélectionner l'un des symboles de tirets pris en "
"charge pour les ruptures de narration. Ces symboles peuvent être "
"utilisés avec n'importe lequel des paramètres de reconnaissance de "
"dialogue ci-dessus."
#: ../../source/features/dialogue.rst:79
msgid ""
"An example of dialogue starting with a short dash and a long dash "
"narrator break."
msgstr ""
"Exemple de dialogue commençant par un tiret demi-cadratin, une incise "
"par un tiret cadratin."
#: ../../source/features/dialogue.rst:83
msgid "Alternating Dialogue and Narration"
msgstr "Dialogue et narration alternés"
#: ../../source/features/dialogue.rst:85
msgid ""
"The alternating dialogue and narration style is supported with the "
"\"Alternating dialogue/narration symbol\" setting. It can be set to one "
"of the supported dashes. This style will switch into dialogue mode when "
"it first encounters the selected dash in a paragraph, and switch back "
"out when it sees the next one, and so forth."
msgstr ""
"Le style de dialogue et de narration alternés est pris en charge par le "
"paramètre « Symbole de dialogue/narration alternés ». Il peut être "
"défini sur l'un des tirets pris en charge. Ce style passe en mode "
"dialogue lorsqu'il rencontre pour la première fois le tiret sélectionné "
"dans un paragraphe, et revient en mode dialogue lorsqu'il rencontre le "
"tiret suivant, et ainsi de suite."
#: ../../source/features/dialogue.rst:92
msgid "An example of alternating dialogue and narration using a long dash."
msgstr ""
"Exemple d'alternance de dialogue et de narration à l'aide d'un tiret "
"cadratin."

View File

@@ -0,0 +1,978 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 22:50+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/features/shortcuts.rst:5
msgid "Keyboard Shortcuts"
msgstr "Raccourcis clavier"
#: ../../source/features/shortcuts.rst:7
msgid ""
"Most features in novelWriter are available as keyboard shortcuts. This "
"is a reference list of those shortcuts. Most of them are also listed in "
"the application's user interface."
msgstr ""
"La plupart des fonctionnalités de novelWriter sont disponibles sous "
"forme de raccourcis clavier. Il s'agit d'une liste de référence de ces "
"raccourcis. La plupart d'entre eux sont également listés dans "
"l'interface utilisateur de l'application."
#: ../../source/features/shortcuts.rst:12
msgid "On MacOS, replace :kbd:`Ctrl` with :kbd:`Cmd`."
msgstr "Sous MacOS, remplacez :kbd:`Ctrl` par :kbd:`Cmd`."
#: ../../source/features/shortcuts.rst:16
msgid "Main Window Shortcuts"
msgstr "Raccourcis de la fenêtre principale"
#: ../../source/features/shortcuts.rst:1
msgid "Shortcut"
msgstr "Raccourci"
#: ../../source/features/shortcuts.rst:1
msgid "Description"
msgstr "Description"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F1`"
msgstr ":kbd:`F1`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the online user manual"
msgstr "Ouvrir le manuel d'utilisation en ligne"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F5`"
msgstr ":kbd:`F5`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the **Build Manuscript** tool"
msgstr "Ouvrir l'outil **Compiler le manuscrit**"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F6`"
msgstr ":kbd:`F6`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the **Writing Statistics** tool"
msgstr "Ouvrir l'outil **Statistiques d'écriture**"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F8`"
msgstr ":kbd:`F8`"
#: ../../source/features/shortcuts.rst:1
msgid "Toggle **Focus Mode**"
msgstr "Basculer **Mode sans distraction**"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F9`"
msgstr ":kbd:`F9`"
#: ../../source/features/shortcuts.rst:1
msgid "Re-build the project's index"
msgstr "Reconstruire l'index du projet"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F11`"
msgstr ":kbd:`F11`"
#: ../../source/features/shortcuts.rst:1
msgid "Toggle full screen mode"
msgstr "Basculer en mode plein écran"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+,`"
msgstr ":kbd:`Ctrl+,`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the **Preferences** dialog"
msgstr "Ouvrir la boîte de dialogue **Préférences**"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+E`"
msgstr ":kbd:`Ctrl+E`"
#: ../../source/features/shortcuts.rst:1
msgid "Switch or toggle focus for the editor or viewer"
msgstr ""
"Changement ou basculement du focus de l'éditeur ou du visualisateur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+T`"
msgstr ":kbd:`Ctrl+T`"
#: ../../source/features/shortcuts.rst:1
msgid "Switch or toggle focus for the project tree or novel view"
msgstr ""
"Changement de focalisation de l'arborescence du projet ou de la vue du "
"roman"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Q`"
msgstr ":kbd:`Ctrl+Q`"
#: ../../source/features/shortcuts.rst:1
msgid "Exit novelWriter"
msgstr "Quitter novelWriter"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+,`"
msgstr ":kbd:`Ctrl+Maj+,`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the **Project Settings** dialog"
msgstr "Ouvrir la boîte de dialogue **Paramètres du projet**"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+O`"
msgstr ":kbd:`Ctrl+Maj+O`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the Welcome dialog to open or create a project"
msgstr ""
"Ouvrir la boîte de dialogue de bienvenue pour ouvrir ou créer un projet"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+S`"
msgstr ":kbd:`Ctrl+Maj+S`"
#: ../../source/features/shortcuts.rst:1
msgid "Save the current project"
msgstr "Enregistrer le projet en cours"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+T`"
msgstr ":kbd:`Ctrl+Maj+T`"
#: ../../source/features/shortcuts.rst:1
msgid "Switch focus to the outline view"
msgstr "Basculer vers la vue d'ensemble"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+W`"
msgstr ":kbd:`Ctrl+Maj+W`"
#: ../../source/features/shortcuts.rst:1
msgid "Close the current project"
msgstr "Fermer le projet en cours"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Shift+F1`"
msgstr ":kbd:`Maj+F1`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the local user manual (PDF) if it is available"
msgstr "Ouvrir le manuel d'utilisation local (PDF) s'il est disponible"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Shift+F6`"
msgstr ":kbd:`Maj+F6`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the **Project Details** dialog"
msgstr "Ouvrir la boîte de dialogue **Détails du projet**"
#: ../../source/features/shortcuts.rst:41
msgid "Project Tree Shortcuts"
msgstr "Raccourcis de l'arborescence du projet"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F2`"
msgstr ":kbd:`F2`"
#: ../../source/features/shortcuts.rst:1
msgid "Edit the label of the selected item"
msgstr "Modifier le libellé de l'élément sélectionné"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Return`"
msgstr ":kbd:`Retour`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the selected document in the editor"
msgstr "Ouvrir le document sélectionné dans l'éditeur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Alt+Up`"
msgstr ":kbd:`Alt+Haut`"
#: ../../source/features/shortcuts.rst:1
msgid "Jump or go to the previous item at same level in the tree"
msgstr ""
"Sauter ou aller à l'élément précédent au même niveau dans 'l'arborescence"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Alt+Down`"
msgstr ":kbd:`Alt+Bas`"
#: ../../source/features/shortcuts.rst:1
msgid "Jump or go to the next item at same level in the tree"
msgstr ""
"Sauter ou aller à l'élément suivant au même niveau dans l'arborescence"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Alt+Left`"
msgstr ":kbd:`Alt+Gauche`"
#: ../../source/features/shortcuts.rst:1
msgid "Jump to the parent item in the tree"
msgstr "Sauter à l'élément parent dans l'arborescence"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Alt+Right`"
msgstr ":kbd:`Alt+Droite`"
#: ../../source/features/shortcuts.rst:1
msgid "Jump to the first child item in the project tree"
msgstr "Sauter au premier élément enfant dans l'arborescence du projet"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+.`"
msgstr ":kbd:`Ctrl+.`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the context menu on the selected item"
msgstr "Ouvrir le menu contextuel de l'élément sélectionné"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+L`"
msgstr ":kbd:`Ctrl+L`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the **Quick Links** menu"
msgstr "Ouvrir le menu **Liens rapides**"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+N`"
msgstr ":kbd:`Ctrl+N`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the **Create New Item** menu"
msgstr "Ouvrir le menu **Créer un nouvel élément**"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+O`"
msgstr ":kbd:`Ctrl+O`"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+R`"
msgstr ":kbd:`Ctrl+R`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the selected document in the viewer"
msgstr "Ouvrir le document sélectionné dans le visualisateur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Up`"
msgstr ":kbd:`Ctrl+Haut`"
#: ../../source/features/shortcuts.rst:1
msgid "Move selected item one step up in the tree"
msgstr "Déplacer l'élément sélectionné d'un cran dans l'arborescence"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Down`"
msgstr ":kbd:`Ctrl+Bas`"
#: ../../source/features/shortcuts.rst:1
msgid "Move selected item one step down in the tree"
msgstr "Déplacer l'élément sélectionné d'un cran dans l'arborescence"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+Del`"
msgstr ":kbd:`Ctrl+Maj+Suppr`"
#: ../../source/features/shortcuts.rst:1
msgid "Move the selected item to Trash"
msgstr "Déplacer l'élément sélectionné vers la corbeille"
#: ../../source/features/shortcuts.rst:63
msgid "Document Editor Shortcuts"
msgstr "Raccourcis de l'éditeur de documents"
#: ../../source/features/shortcuts.rst:67
msgid "Text Search Shortcuts"
msgstr "Raccourcis de recherche de texte"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F3`"
msgstr ":kbd:`F3`"
#: ../../source/features/shortcuts.rst:1
msgid "Find the next occurrence of the search word"
msgstr "Trouver la prochaine occurrence du mot recherché"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+F`"
msgstr ":kbd:`Ctrl+F`"
#: ../../source/features/shortcuts.rst:1
msgid "Open search and look for the selected word"
msgstr "Ouvrir la recherche et rechercher le mot sélectionné"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+G`"
msgstr ":kbd:`Ctrl+G`"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+H`"
msgstr ":kbd:`Ctrl+H`"
#: ../../source/features/shortcuts.rst:1
msgid "Open replace and look for the selected word (Mac :kbd:`Cmd+=`)"
msgstr ""
"Ouvrir remplacer et rechercher le mot sélectionné (Mac :kbd:`Cmd+=`)"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+1`"
msgstr ":kbd:`Ctrl+Maj+1`"
#: ../../source/features/shortcuts.rst:1
msgid "Replace selected occurrence, and move to the next"
msgstr "Remplacer l'occurrence sélectionnée et passer à la suivante"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+G`"
msgstr ":kbd:`Ctrl+Maj+G`"
#: ../../source/features/shortcuts.rst:1
msgid "Find the previous occurrence of the search word"
msgstr "Trouver l'occurrence précédente du mot recherché"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+F`"
msgstr ":kbd:`Ctrl+Maj+F`"
#: ../../source/features/shortcuts.rst:1
msgid "Open project search and look for the selected word"
msgstr "Ouvrir la recherche de projet et recherchez le mot sélectionné"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Shift+F3`"
msgstr ":kbd:`Maj+F3`"
#: ../../source/features/shortcuts.rst:83
msgid "Text Formatting Shortcuts"
msgstr "Raccourcis de mise en forme du texte"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+'`"
msgstr ":kbd:`Ctrl+'`"
#: ../../source/features/shortcuts.rst:1
msgid "Wrap selected text, or word under cursor, in single quotes"
msgstr ""
"Mettre le texte sélectionné, ou le mot sous le curseur, entre guillemets "
"simples"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+\"`"
msgstr ":kbd:`Ctrl+\"`"
#: ../../source/features/shortcuts.rst:1
msgid "Wrap selected text, or word under cursor, in double quotes"
msgstr ""
"Mettre le texte sélectionné, ou le mot sous le curseur, entre guillemets"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+/`"
msgstr ":kbd:`Ctrl+/`"
#: ../../source/features/shortcuts.rst:1
msgid "Toggle comment format for block or selected text"
msgstr ""
"Modifier le format des commentaires pour le bloc ou le texte sélectionné"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+0`"
msgstr ":kbd:`Ctrl+0`"
#: ../../source/features/shortcuts.rst:1
msgid "Remove format for block or selected text"
msgstr "Supprimer le format d'un bloc ou d'un texte sélectionné"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+1`"
msgstr ":kbd:`Ctrl+1`"
#: ../../source/features/shortcuts.rst:1
msgid "Change block format to heading level 1"
msgstr "Modifier le format du bloc au niveau de titre 1"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+2`"
msgstr ":kbd:`Ctrl+2`"
#: ../../source/features/shortcuts.rst:1
msgid "Change block format to heading level 2"
msgstr "Modifier le format du bloc en titre de niveau 2"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+3`"
msgstr ":kbd:`Ctrl+3`"
#: ../../source/features/shortcuts.rst:1
msgid "Change block format to heading level 3"
msgstr "Modifier le format du bloc en titre de niveau 3"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+4`"
msgstr ":kbd:`Ctrl+4`"
#: ../../source/features/shortcuts.rst:1
msgid "Change block format to heading level 4"
msgstr "Modifier le format du bloc en titre de niveau 4"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+5`"
msgstr ":kbd:`Ctrl+5`"
#: ../../source/features/shortcuts.rst:1
msgid "Change block alignment to left-aligned"
msgstr "Aligner le bloc à gauche"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+6`"
msgstr ":kbd:`Ctrl+6`"
#: ../../source/features/shortcuts.rst:1
msgid "Change block alignment to centred"
msgstr "Aligner le bloc au centre"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+7`"
msgstr ":kbd:`Ctrl+7`"
#: ../../source/features/shortcuts.rst:1
msgid "Change block alignment to right-aligned"
msgstr "Aligner le bloc à droite"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+8`"
msgstr ":kbd:`Ctrl+8`"
#: ../../source/features/shortcuts.rst:1
msgid "Add a left margin to the block"
msgstr "Ajouter une marge gauche au bloc"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+9`"
msgstr ":kbd:`Ctrl+9`"
#: ../../source/features/shortcuts.rst:1
msgid "Add a right margin to the block"
msgstr "Ajouter une marge droite au bloc"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+B`"
msgstr ":kbd:`Ctrl+B`"
#: ../../source/features/shortcuts.rst:1
msgid "Format selected text, or word under cursor, with bold"
msgstr "Formater le texte sélectionné, ou le mot sous le curseur, en gras"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+D`"
msgstr ":kbd:`Ctrl+D`"
#: ../../source/features/shortcuts.rst:1
msgid "Format selected text, or word under cursor, with strike through"
msgstr ""
"Formater le texte sélectionné, ou le mot sous le curseur, en le barrant"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+I`"
msgstr ":kbd:`Ctrl+I`"
#: ../../source/features/shortcuts.rst:1
msgid "Format selected text, or word under cursor, with italic"
msgstr ""
"Formater le texte sélectionné, ou le mot sous le curseur, avec de "
"l'italique"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+/`"
msgstr ":kbd:`Ctrl+Maj+/`"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+D`"
msgstr ":kbd:`Ctrl+Maj+D`"
#: ../../source/features/shortcuts.rst:1
msgid "Toggle ignored text format for block or selected text"
msgstr ""
"Basculer le format de texte ignoré pour le bloc ou le texte sélectionné"
#: ../../source/features/shortcuts.rst:109
msgid "Other Editor Shortcuts"
msgstr "Autres raccourcis de l'éditeur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`F7`"
msgstr ":kbd:`F7`"
#: ../../source/features/shortcuts.rst:1
msgid "Re-run the spell checker on the document"
msgstr "Ré-exécuter le correcteur orthographique sur le document"
#: ../../source/features/shortcuts.rst:1
msgid "Open the context menu at the current cursor location"
msgstr "Ouvrir le menu contextuel à l'emplacement actuel du curseur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+A`"
msgstr ":kbd:`Ctrl+A`"
#: ../../source/features/shortcuts.rst:1
msgid "Select all text in the document"
msgstr "Sélectionner tout le texte dans le document"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+C`"
msgstr ":kbd:`Ctrl+C`"
#: ../../source/features/shortcuts.rst:1
msgid "Copy selected text to clipboard"
msgstr "Copier le texte sélectionné dans le presse-papiers"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`"
msgstr ":kbd:`Ctrl+K`"
#: ../../source/features/shortcuts.rst:1
msgid ""
"Activate the insert commands (see list in :ref:"
"`docs_features_shortcuts_insert`)"
msgstr ""
"Activer les commandes d'insertion (voir la liste dans :ref:"
"`docs_features_shortcuts_insert`)"
#: ../../source/features/shortcuts.rst:1
msgid "Open or reload the current document in the viewer"
msgstr "Ouvrir ou recharger le document en cours dans le visualisateur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+S`"
msgstr ":kbd:`Ctrl+S`"
#: ../../source/features/shortcuts.rst:1
msgid "Save the current document"
msgstr "Enregistrer le document en cours"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+V`"
msgstr ":kbd:`Ctrl+V`"
#: ../../source/features/shortcuts.rst:1
msgid "Paste text from clipboard to cursor position"
msgstr "Coller le texte du presse-papiers à la position du curseur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+W`"
msgstr ":kbd:`Ctrl+W`"
#: ../../source/features/shortcuts.rst:1
msgid "Close the current document"
msgstr "Fermer le document en cours"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+X`"
msgstr ":kbd:`Ctrl+X`"
#: ../../source/features/shortcuts.rst:1
msgid "Cut selected text to clipboard"
msgstr "Couper le texte sélectionné dans le presse-papiers"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Y`"
msgstr ":kbd:`Ctrl+Y`"
#: ../../source/features/shortcuts.rst:1
msgid "Redo latest undo"
msgstr "Rétablir la dernière annulation"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Z`"
msgstr ":kbd:`Ctrl+Z`"
#: ../../source/features/shortcuts.rst:1
msgid "Undo latest changes"
msgstr "Annuler les dernières modifications"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Backspace`"
msgstr ":kbd:`Ctrl+Retour arrière`"
#: ../../source/features/shortcuts.rst:1
msgid "Delete the word before the cursor"
msgstr "Supprimer le mot précédant le curseur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Del`"
msgstr ":kbd:`Ctrl+Suppr`"
#: ../../source/features/shortcuts.rst:1
msgid "Delete the word after the cursor"
msgstr "Supprimer le mot après le curseur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+F7`"
msgstr ":kbd:`Ctrl+F7`"
#: ../../source/features/shortcuts.rst:1
msgid "Toggle spell checking"
msgstr "Vérifier l'orthographe"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Return`"
msgstr ":kbd:`Ctrl+Retour`"
#: ../../source/features/shortcuts.rst:1
msgid "Open the tag or reference under the cursor in the viewer"
msgstr ""
"Ouvrir la balise ou la référence sous le curseur dans le visualiseur"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+A`"
msgstr ":kbd:`Ctrl+Maj+A`"
#: ../../source/features/shortcuts.rst:1
msgid "Select all text in the current paragraph"
msgstr "Sélectionner tout le texte du paragraphe en cours"
#: ../../source/features/shortcuts.rst:136
msgid "Insert Shortcuts"
msgstr "Raccourcis d'insertion"
#: ../../source/features/shortcuts.rst:138
msgid ""
"A set of insert features are also available through shortcuts, but they "
"require a double combination of key sequences. The insert feature is "
"activated with :kbd:`Ctrl+K`, followed by a key or key combination for "
"the inserted content."
msgstr ""
"Un ensemble de fonctions d'insertion sont également disponibles par le "
"biais de raccourcis, mais elles nécessitent une double combinaison de "
"séquences de touches. La fonction d'insertion est activée avec :kbd:"
"`Ctrl+K`, suivi d'une touche ou d'une combinaison de touches pour le "
"contenu inséré."
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Space`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Espace`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a non-breaking space"
msgstr "Insérer un espace insécable"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`_`"
msgstr ":kbd:`Ctrl+K`, :kbd:`_`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a long dash (em dash)"
msgstr "Insérer un tiret long"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`.`"
msgstr ":kbd:`Ctrl+K`, :kbd:`.`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert an ellipsis"
msgstr "Insérer un point de suspension"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`'`"
msgstr ":kbd:`Ctrl+K`, :kbd:`'`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a modifier apostrophe"
msgstr "Insérer une apostrophe"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`*`"
msgstr ":kbd:`Ctrl+K`, :kbd:`*`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a list bullet"
msgstr "Insérer une puce de liste"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`%`"
msgstr ":kbd:`Ctrl+K`, :kbd:`%`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a per mille symbol"
msgstr "Insérer un symbole pour mille"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`~`"
msgstr ":kbd:`Ctrl+K`, :kbd:`~`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a figure dash (same width as a number)"
msgstr "Insérer un tiret (de la même largeur qu'un chiffre)"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`−`"
msgstr ":kbd:`Ctrl+K`, :kbd:`−`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a short dash (en dash)"
msgstr "Insérer un tiret court"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`1`"
msgstr ":kbd:`Ctrl+K`, :kbd:`1`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a left single quote"
msgstr "Insérer un guillemet simple gauche"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`2`"
msgstr ":kbd:`Ctrl+K`, :kbd:`2`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a right single quote"
msgstr "Insérer un guillemet simple à droite"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`3`"
msgstr ":kbd:`Ctrl+K`, :kbd:`3`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a left double quote"
msgstr "Insérer un double guillemet gauche"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`4`"
msgstr ":kbd:`Ctrl+K`, :kbd:`4`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a right double quote"
msgstr "Insérer un double guillemet droit"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`C`"
msgstr ":kbd:`Ctrl+K`, :kbd:`C`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@char`` keyword"
msgstr "Insérer un mot-clé ``@char``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`E`"
msgstr ":kbd:`Ctrl+K`, :kbd:`E`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert an ``@entity`` keyword"
msgstr "Insérer un mot-clé ``@entity``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`F`"
msgstr ":kbd:`Ctrl+K`, :kbd:`F`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@focus`` keyword"
msgstr "Insérer un mot-clé ``@focus``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`G`"
msgstr ":kbd:`Ctrl+K`, :kbd:`G`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@tag`` keyword"
msgstr "Insérer un mot-clé ``@tag``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`H`"
msgstr ":kbd:`Ctrl+K`, :kbd:`H`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a short description comment"
msgstr "Insérer un bref commentaire de description"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`L`"
msgstr ":kbd:`Ctrl+K`, :kbd:`L`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@location`` keyword"
msgstr "Insérer un mot-clé ``@location``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`M`"
msgstr ":kbd:`Ctrl+K`, :kbd:`M`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@mention`` keyword"
msgstr "Insérer un mot-clé ``@mention``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`O`"
msgstr ":kbd:`Ctrl+K`, :kbd:`O`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert an ``@object`` keyword"
msgstr "Insérer un mot-clé ``@object``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`P`"
msgstr ":kbd:`Ctrl+K`, :kbd:`P`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@plot`` keyword"
msgstr "Insérer un mot-clé `@plot``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`S`"
msgstr ":kbd:`Ctrl+K`, :kbd:`S`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a synopsis comment"
msgstr "Insérer un commentaire de synopsis"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`T`"
msgstr ":kbd:`Ctrl+K`, :kbd:`T`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@time`` keyword"
msgstr "Insérer un mot-clé ``@time``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`V`"
msgstr ":kbd:`Ctrl+K`, :kbd:`V`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@pov`` keyword"
msgstr "Insérer un mot-clé ``@pov``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`X`"
msgstr ":kbd:`Ctrl+K`, :kbd:`X`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a ``@custom`` keyword"
msgstr "Insérer un mot-clé ``@custom``"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+Space`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+Espace`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a thin non-breaking space"
msgstr "Insérer un espace fin insécable"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+_`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+_`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a horizontal bar (quotation dash)"
msgstr "Insérer une barre horizontale"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+'`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+'`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a prime"
msgstr "Insérer une prime"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+\"`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+\"`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a double prime"
msgstr "Insérer une double prime"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+*`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+*`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a flower mark (alternative bullet)"
msgstr "Insérer une fleur (puce alternative)"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+−`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+−`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a hyphen bullet (alternative bullet)"
msgstr "Insérer une puce à tiret (puce alternative)"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+D`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+D`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a division sign"
msgstr "Insérer un signe de division"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+O`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+O`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a degree symbol"
msgstr "Insérer un symbole de degré"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Ctrl+X`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Ctrl+X`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a times sign"
msgstr "Insert a times sign"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+K`, :kbd:`Shift+Space`"
msgstr ":kbd:`Ctrl+K`, :kbd:`Maj+Espace`"
#: ../../source/features/shortcuts.rst:1
msgid "Insert a thin space"
msgstr "Insérer un espace fin"
#: ../../source/features/shortcuts.rst:183
msgid "Document Viewer Shortcuts"
msgstr "Raccourcis de la fenêtre de visualisation des documents"
#: ../../source/features/shortcuts.rst:1
msgid "Move backward in the view history"
msgstr "Reculer dans l'historique des vues"
#: ../../source/features/shortcuts.rst:1
msgid "Move forward in the view history"
msgstr "Avancer dans l'historique des vues"
#: ../../source/features/shortcuts.rst:1
msgid ":kbd:`Ctrl+Shift+R`"
msgstr ":kbd:`Ctrl+Maj+R`"
#: ../../source/features/shortcuts.rst:1
msgid "Close the document viewer"
msgstr "Fermer l'afficheur de documents"

View File

@@ -0,0 +1,221 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 22:28+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/features/story_comments.rst:5
msgid "Story Comments"
msgstr "Commentaires sur l'histoire"
#: ../../source/features/story_comments.rst:7
msgid ""
"A special set of comment styles allow for annotating your text with "
"structure information. There are two styles of comments available. They "
"are an extension to regular comments as described in :ref:"
"`docs_usage_comments`."
msgstr ""
"Un ensemble spécial de styles de commentaires permet d'annoter votre "
"texte avec des informations sur la structure. Deux styles de "
"commentaires sont disponibles. Ils sont une extension des commentaires "
"normaux tels que décrits dans :ref:`docs_usage_comments`."
#: ../../source/features/story_comments.rst:15
msgid "Story Structure Comments"
msgstr "Commentaires sur la structure de l'histoire"
#: ../../source/features/story_comments.rst:17
msgid ""
"You can annotate story structure by using the ``%Story`` style of "
"comment. To use the feature, make the first word of a comment ``Story``, "
"followed by a period, a structure term, a colon, a space and the text "
"for that term."
msgstr ""
"Vous pouvez annoter la structure de l'histoire en utilisant le style de "
"commentaire ``%Story``. Pour utiliser cette fonctionnalité, le premier "
"mot du commentaire doit être ``Story``, suivi d'un point, d'un terme de "
"structure, de deux points, d'un espace et du texte correspondant à ce "
"terme."
#: ../../source/features/story_comments.rst:23
#: ../../source/features/story_comments.rst:88
msgid "Usage"
msgstr "Utilisation"
#: ../../source/features/story_comments.rst:25
msgid ""
"The story term can be anything that you want to track in the manuscript. "
"This construct is intended to make it easier to extract metadata from a "
"work to perform a structural analysis of the story."
msgstr ""
"Le terme de l'histoire peut être n'importe quoi que vous voulez suivre "
"dans le manuscrit. Cette construction est destinée à faciliter "
"l'extraction des métadonnées d'une œuvre afin d'effectuer une analyse "
"structurelle de l'histoire."
#: ../../source/features/story_comments.rst:28
msgid ""
"There are probably as many ways to examine story structure as there are "
"authors and editors combined. For this reason the story tag is flexible. "
"You can use any terms you want and track any aspect of the story that "
"serves your purposes."
msgstr ""
"Il y a probablement autant de façons d'examiner la structure d'une "
"histoire qu'il y a d'auteurs et d'éditeurs réunis. C'est la raison pour "
"laquelle l'étiquette « histoire » est flexible. Vous pouvez utiliser les "
"termes de votre choix et suivre tous les aspects de l'histoire qui vous "
"intéressent."
#: ../../source/features/story_comments.rst:32
msgid ""
"An example method has been advanced by Shawn Coyne in *The Story Grid*. "
"This method asserts that a story is composed of \"beats\", and that each "
"beat has an inciting incident, a complication, a crisis, and a "
"resolution. One might capture these elements of a beat where a character "
"overcomes their fear of giving a speech as:"
msgstr ""
"Un exemple de méthode a été proposé par Shawn Coyne dans *The Story "
"Grid*. Cette méthode affirme qu'une histoire est composée de « temps » "
"et que chaque temps comporte un incident déclencheur, une complication, "
"une crise et une résolution. On pourrait saisir les éléments d'un temps "
"où un personnage surmonte sa peur de faire un discours comme suit :"
#: ../../source/features/story_comments.rst:37
#: ../../source/features/story_comments.rst:94
msgid ":bdg-info:`Example`"
msgstr ":bdg-info:`Exemple`"
#: ../../source/features/story_comments.rst:50
msgid ""
"Other analytical models propose tracking a scene's pace, how it affects "
"the mood of the story, or which element(s) of the story's genre are "
"being satisfied. An author can use this mechanism to track any element "
"of a scene. Some examples include time of day, how much time passes in "
"the scene, or even the physical form of a shape-shifting character. If a "
"story involves magic, one could track which wand a main character has in "
"hand. It's up to tha author."
msgstr ""
"D'autres modèles analytiques proposent de suivre le rythme d'une scène, "
"la façon dont il affecte l'ambiance de l'histoire ou les éléments du "
"genre de l'histoire qui sont satisfaits. Un auteur peut utiliser ce "
"mécanisme pour suivre n'importe quel élément d'une scène. Il peut "
"s'agir, par exemple, de l'heure, du temps qui s'écoule dans la scène ou "
"même de la forme physique d'un personnage qui change de forme. Si "
"l'histoire fait appel à la magie, il est possible de savoir quelle "
"baguette le personnage principal tient en main. C'est à l'auteur de "
"décider."
#: ../../source/features/story_comments.rst:56
msgid ""
"When the story and other scene metadata is extracted into a tabular "
"form, it is possible to get a comprehensive overview of the story and to "
"identify possible issues. For example, so many fast-paced scenes without "
"a break that readers might become fatigued or over-stimulated."
msgstr ""
"Lorsque les métadonnées de l'histoire et d'autres scènes sont extraites "
"sous forme de tableau, il est possible d'obtenir une vue d'ensemble de "
"l'histoire et d'identifier les problèmes éventuels. Par exemple, un si "
"grand nombre de scènes au rythme rapide, sans pause, que les lecteurs "
"risquent de se fatiguer ou d'être trop stimulés."
#: ../../source/features/story_comments.rst:62
#: ../../source/features/story_comments.rst:106
msgid "Output"
msgstr "Production"
#: ../../source/features/story_comments.rst:64
msgid ""
"The story structure comments can be included in the manuscript, and are "
"formatted similarly to the synopsis comments:"
msgstr ""
"Les commentaires sur la structure de l'histoire peuvent être inclus dans "
"le manuscrit et sont formatés de la même manière que les commentaires "
"sur le synopsis :"
#: ../../source/features/story_comments.rst:69
msgid "A set of story structure comments as shown in the Manuscript tool."
msgstr ""
"Une série de commentaires sur la structure de l'histoire, tels qu'ils "
"apparaissent dans l'outil Manuscrit."
#: ../../source/features/story_comments.rst:71
msgid ""
"When you export your project data from the Outline View, all story "
"structure terms are added as columns to the exported file, which can "
"then be opened in the spread sheet software of your choice."
msgstr ""
"Lorsque vous exportez les données de votre projet à partir de la vue en "
"plan, tous les termes de la structure du récit sont ajoutés en tant que "
"colonnes au fichier exporté, qui peut ensuite être ouvert dans le "
"logiciel de feuille de calcul de votre choix."
#: ../../source/features/story_comments.rst:76
msgid "Story Notes"
msgstr "Notes sur l'histoire"
#: ../../source/features/story_comments.rst:78
msgid ""
"Story notes are similar to story structure comments, but have no "
"predefined meaning. Essentially they are a generalisation of the story "
"structure comment, and the only point of having this additional format "
"is to allow you do filter them in and out of your manuscript "
"independently."
msgstr ""
"Les notes de récit sont similaires aux commentaires de structure de "
"récit, mais n'ont pas de signification prédéfinie. Il s'agit "
"essentiellement d'une généralisation du commentaire de structure, et le "
"seul intérêt de ce format supplémentaire est de vous permettre de les "
"filtrer dans et hors de votre manuscrit de manière indépendante."
#: ../../source/features/story_comments.rst:82
msgid ""
"You can annotate story notes by using the ``%Note`` style of comment. To "
"use the feature, make the first word of a comment ``Note``, followed by "
"a period, a term, a colon, a space and the text for the note."
msgstr ""
"Vous pouvez annoter les notes d'articles en utilisant le style de "
"commentaire ``%Note``. Pour utiliser cette fonctionnalité, le premier "
"mot du commentaire doit être « Note », suivi d'un point, d'un terme, de "
"deux points, d'un espace et du texte de la note."
#: ../../source/features/story_comments.rst:90
msgid ""
"These notes are free form, but one intended use case is to add "
"consistency annotations to your text to remind yourself where you have "
"described something that must be checked against other parts of your "
"text later on."
msgstr ""
"Ces notes sont libres, mais l'une des utilisations prévues est d'ajouter "
"des annotations de cohérence à votre texte pour vous rappeler où vous "
"avez décrit quelque chose qui doit être vérifié ultérieurement par "
"rapport à d'autres parties de votre texte."
#: ../../source/features/story_comments.rst:108
msgid ""
"Story notes are included in the manuscript in exactly the same way story "
"structure comments are, but has a separate inclusion setting in the "
"build settings. They are also included in CSV exports from the **Outline "
"View**."
msgstr ""
"Les notes de récit sont incluses dans le manuscrit de la même manière "
"que les commentaires sur la structure du récit, mais elles ont un "
"paramètre d'inclusion distinct dans les paramètres de construction. "
"Elles sont également incluses dans les exportations CSV à partir de la "
"**Vue d'ensemble**."

View File

@@ -0,0 +1,121 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-27 20:56+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/index.rst:32
msgid "More Documents"
msgstr "Plus d'informations"
#: ../../source/index.rst:38
msgid "Getting Started"
msgstr "Pour commencer"
#: ../../source/index.rst:53
msgid "The User Interface"
msgstr "Interface utilisateur"
#: ../../source/index.rst:64
msgid "Other Features"
msgstr "Autres fonctionnalités"
#: ../../source/index.rst:72
msgid "In-Depth Topics"
msgstr "En détail"
#: ../../source/index.rst:82
msgid "Technical Topics"
msgstr "Rubriques techniques"
#: ../../source/index.rst:3
msgid "User Guide"
msgstr "Guide d'utilisation"
#: ../../source/index.rst:5
msgid "**Release Version:** |release|"
msgstr "**Version :** |release|"
#: ../../source/index.rst:6
msgid "**Updated:** |today|"
msgstr "**Mise à jour :** |today|"
#: ../../source/index.rst:8
msgid ""
"novelWriter is an open source plain text editor designed for writing "
"novels assembled from individual text documents. It uses a minimal "
"formatting syntax inspired by Markdown, and adds a meta data syntax for "
"comments, synopsis, and cross-referencing. It is designed to be a simple "
"text editor that allows for easy organisation of text and notes, using "
"human readable text files as storage for robustness."
msgstr ""
"novelWriter est un éditeur de texte brut open source conçu pour écrire "
"des romans assemblés à partir de documents texte individuels. Il utilise "
"une syntaxe de formatage minimale inspirée de Markdown, et ajoute une "
"syntaxe de métadonnées pour les commentaires, les synopsis et les "
"références croisées. Il est conçu pour être un éditeur de texte simple "
"qui permet d'organiser facilement le texte et les notes, en utilisant des "
"fichiers texte lisibles par l'homme comme stockage pour plus de "
"robustesse."
#: ../../source/index.rst:19
msgid "**Useful Links**"
msgstr "**Liens utiles**"
#: ../../source/index.rst:21
msgid "Website: https://novelwriter.io"
msgstr "Site web : https://novelwriter.io"
#: ../../source/index.rst:22
msgid "Documentation: https://docs.novelwriter.io"
msgstr "Documentation: https://docs.novelwriter.io"
#: ../../source/index.rst:23
msgid "Public Releases: https://releases.novelwriter.io"
msgstr "Public Releases: https://releases.novelwriter.io"
#: ../../source/index.rst:24
msgid "Internationalisation: https://crowdin.com/project/novelwriter"
msgstr "Internationalisation: https://crowdin.com/project/novelwriter"
#: ../../source/index.rst:25
msgid "Source Code: https://github.com/vkbo/novelWriter"
msgstr "Code source : https://github.com/vkbo/novelWriter"
#: ../../source/index.rst:26
msgid "Source Releases: https://github.com/vkbo/novelWriter/releases"
msgstr "Source Releases: https://github.com/vkbo/novelWriter/releases"
#: ../../source/index.rst:27
msgid "Issue Tracker: https://github.com/vkbo/novelWriter/issues"
msgstr "Issue Tracker: https://github.com/vkbo/novelWriter/issues"
#: ../../source/index.rst:28
msgid "Feature Discussions: https://github.com/vkbo/novelWriter/discussions"
msgstr ""
"Feature Discussions: https://github.com/vkbo/novelWriter/discussions"
#: ../../source/index.rst:29
msgid "PyPi Project: https://pypi.org/project/novelWriter"
msgstr "PyPi Project: https://pypi.org/project/novelWriter"
#: ../../source/index.rst:30
msgid "Social Media: https://fosstodon.org/@novelwriter"
msgstr "Social Media: https://fosstodon.org/@novelwriter"

View File

@@ -0,0 +1,321 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 23:00+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/more/counting.rst:5
msgid "Word and Text Counts"
msgstr "Décompte des mots et des textes"
#: ../../source/more/counting.rst:7
msgid ""
"This is an overview of how words and other counts of your text are performed. "
"The counting rules should be relatively standard, and are comparable to Libre "
"Office Writer rules."
msgstr ""
"Il s'agit d'une vue d'ensemble de la manière dont les mots et autres comptages "
"de votre texte sont effectués. Les règles de comptage devraient être "
"relativement standard, et sont comparables aux règles de Libre Office Writer."
#: ../../source/more/counting.rst:10
msgid ""
"The counts provided in the app on the raw text are meant to be approximate. For "
"more accurate counts, you need to build your manuscript in the **Manuscript "
"Tool** and check the counts on the generated preview."
msgstr ""
"Les décomptes fournis dans l'application sur le texte brut sont approximatifs. "
"Pour des décomptes plus précis, vous devez compiler votre manuscrit avec "
"**Compiler le manuscrit** et vérifier les décomptes sur l'aperçu généré."
#: ../../source/more/counting.rst:16
msgid "Text Word Counts and Stats"
msgstr "Décompte des mots du texte et statistiques"
#: ../../source/more/counting.rst:18
msgid ""
"These are the rules for the main counts available for for each document in a "
"project."
msgstr ""
"Il s'agit des règles relatives aux principaux décomptes disponibles pour chaque "
"document d'un projet."
#: ../../source/more/counting.rst:20
msgid "For all counts, the following rules apply."
msgstr "Pour tous les décomptes, les règles suivantes s'appliquent."
#: ../../source/more/counting.rst:22 ../../source/more/counting.rst:56
msgid "Short (–) and long (—) dashes are considered word separators."
msgstr ""
"Les tirets demi-cadratin (–) et cadratin (—) sont considérés comme des "
"séparateurs de mots."
#: ../../source/more/counting.rst:23
msgid "Any line starting with ``%`` or ``@`` is ignored."
msgstr "Toute ligne commençant par ``%`` ou ``@`` est ignorée."
#: ../../source/more/counting.rst:24
msgid "Trailing white spaces are ignored, including line breaks."
msgstr ""
"Les espaces blancs de fin de ligne sont ignorés, y compris les sauts de ligne."
#: ../../source/more/counting.rst:25
msgid "Leading ``>`` and trailing ``<`` are ignored with any spaces next to them."
msgstr ""
"Les ``>`` de début et les ``<`` de fin sont ignorés, de même que les espaces "
"qui les accompagnent."
#: ../../source/more/counting.rst:26
msgid ""
"Valid shortcodes and other commands wrapped in brackets ``[]`` are ignored."
msgstr ""
"Les shortcodes valides et les autres commandes entre crochets ``[]`` sont "
"ignorés."
#: ../../source/more/counting.rst:27
msgid "In-line Markdown syntax in text paragraphs is treated as part of the text."
msgstr ""
"La syntaxe Markdown en ligne dans les paragraphes de texte est traitée comme "
"faisant partie du texte."
#: ../../source/more/counting.rst:29
msgid ""
"After the above preparation of the text, the following counts are available."
msgstr "Après la préparation du texte, les chiffres suivants sont disponibles."
#: ../../source/more/counting.rst:31
msgid "**Character Count**"
msgstr "**Décompte des caractères**"
#: ../../source/more/counting.rst:32
msgid ""
"The character count is the sum of characters per line, including leading and in-"
"text white space characters, but excluding trailing white space characters. "
"Shortcodes in the text are not included, but Markdown codes are. Only headings "
"and text are counted."
msgstr ""
"Le nombre de caractères est la somme des caractères par ligne, y compris les "
"caractères d'en-tête et les caractères d'espacement dans le texte, mais pas les "
"caractères d'espacement de fin. Les Shortcodes dans le texte ne sont pas "
"inclus, mais les codes Markdown le sont. Seuls les en-têtes et le texte sont "
"pris en compte."
#: ../../source/more/counting.rst:36
msgid "**Word Count**"
msgstr "**Décompte des mots**"
#: ../../source/more/counting.rst:37
msgid ""
"The words count is the sum of blocks of continuous character per line separated "
"by any number of white space characters or dashes. Only headings and text are "
"counted."
msgstr ""
"Le nombre de mots est la somme des blocs de caractères continus par ligne, "
"séparés par un nombre quelconque de caractères d'espacement ou de tirets. Seuls "
"les titres et le texte sont comptés."
#: ../../source/more/counting.rst:40
msgid "**Paragraph Count**"
msgstr "**Décompte des paragraphes**"
#: ../../source/more/counting.rst:41
msgid ""
"The paragraph count is the number of text blocks separated by one or more empty "
"line. A line consisting only of white spaces is considered empty."
msgstr ""
"Le nombre de paragraphes est le nombre de blocs de texte séparés par une ou "
"plusieurs lignes vides. Une ligne constituée uniquement d'espaces blancs est "
"considérée comme vide."
#: ../../source/more/counting.rst:46
msgid "Manuscript Counts"
msgstr "Décompte du manuscrit"
#: ../../source/more/counting.rst:48
msgid ""
"These are the rules for the counts available for a manuscript in the "
"**Manuscript Tool**. The rules have been tuned to agree with LibreOffice "
"Writer, but will vary slightly depending on the content of your text. "
"LibreOffice Writer also counts the text in the page header, which the "
"**Manuscript Tool** does not."
msgstr ""
"Voici les règles pour les décomptes disponibles pour un manuscrit dans l'outil "
"**Outil Manuscrit**. Les règles ont été ajustées pour correspondre à "
"LibreOffice Writer, mais varieront légèrement en fonction du contenu de votre "
"texte. LibreOffice Writer compte également le texte dans l'en-tête de la page, "
"ce que ne fait pas l'outil **Outil Manuscrit**."
#: ../../source/more/counting.rst:53
msgid ""
"The content of each line is counted after all formatting has been processed, so "
"the result will be more accurate than the counts for text documents elsewhere "
"in the app. The following rules apply:"
msgstr ""
"Le contenu de chaque ligne est compté après le traitement de toutes les mises "
"en forme, de sorte que le résultat sera plus précis que les décomptes pour les "
"documents textuels dans d'autres parties de l'application. Les règles suivantes "
"s'appliquent :"
#: ../../source/more/counting.rst:57
msgid ""
"Leading and trailing white spaces are generally included, but paragraph breaks "
"are not."
msgstr ""
"Les espaces blancs de début et de fin sont généralement inclus, mais les sauts "
"de paragraphe ne le sont pas."
#: ../../source/more/counting.rst:58
msgid "Hard line breaks within paragraph are considered white space characters."
msgstr ""
"Les retours à la ligne dans un paragraphe sont considérés comme des caractères "
"d'espacement."
#: ../../source/more/counting.rst:59
msgid ""
"All formatting codes are ignored, including shortcodes, commands and Markdown."
msgstr ""
"Tous les codes de formatage sont ignorés, y compris les shortcodes, les "
"commandes et Markdown."
#: ../../source/more/counting.rst:60
msgid "Scene and section separators are counted."
msgstr "Les séparateurs de scène et de section sont pris en compte."
#: ../../source/more/counting.rst:61
msgid "Comments and meta data lines are counted after they are formatted."
msgstr ""
"Les lignes de commentaires et de métadonnées sont comptées après leur mise en "
"forme."
#: ../../source/more/counting.rst:62
msgid "Headers are counted after they are formatted with custom formats."
msgstr ""
"Les en-têtes sont comptés après avoir été formatés avec des formats "
"personnalisés."
#: ../../source/more/counting.rst:64
msgid "The following counts are available:"
msgstr "Les décomptes suivants sont disponibles :"
#: ../../source/more/counting.rst:66
msgid "**Headings**"
msgstr "**En-têtes**"
#: ../../source/more/counting.rst:67
msgid "The number of headings in the manuscript."
msgstr "Le nombre d'entêtes dans le manuscrit."
#: ../../source/more/counting.rst:69
msgid "**Paragraphs**"
msgstr "**Paragraphes**"
#: ../../source/more/counting.rst:70
msgid "The number of body text paragraphs in the manuscript."
msgstr "Le nombre de paragraphes dans le manuscrit."
#: ../../source/more/counting.rst:72
msgid "**Words**"
msgstr "**Mots**"
#: ../../source/more/counting.rst:73
msgid ""
"The number of words in the manuscript, including any comments and meta data "
"text."
msgstr ""
"Le nombre de mots du manuscrit, y compris les commentaires et les métadonnées."
#: ../../source/more/counting.rst:75
msgid "**Words in Text**"
msgstr "**Mots dans le texte**"
#: ../../source/more/counting.rst:76
msgid "The number of words in body text paragraphs, excluding all other text."
msgstr "Nombre de mots dans les paragraphes, à l'exclusion de tout autre texte."
#: ../../source/more/counting.rst:78
msgid "**Words in Headings**"
msgstr "**Mots dans les entêtes**"
#: ../../source/more/counting.rst:79
msgid ""
"The number of words in headings, including inserted formatting like chapter "
"numbers, etc."
msgstr ""
"Le nombre de mots dans les entêtes, y compris le formatage inséré comme les "
"numéros de chapitre, etc."
#: ../../source/more/counting.rst:81
msgid "**Characters**"
msgstr "**Caractères**"
#: ../../source/more/counting.rst:82
msgid ""
"The number of characters in all lines, including any comments and meta data "
"text. Paragraph breaks are not counted, but in-paragraph hard line breaks are."
msgstr ""
"Le nombre de caractères de toutes les lignes, y compris les commentaires et le "
"texte des métadonnées. Les sauts de paragraphe ne sont pas comptés, mais les "
"sauts de ligne dans les paragraphes le sont."
#: ../../source/more/counting.rst:85
msgid "**Character in Text**"
msgstr "**Caractères dans le texte**"
#: ../../source/more/counting.rst:86
msgid ""
"The number of characters in body text paragraphs. Paragraph breaks are not "
"counted, but in-paragraph hard line breaks are."
msgstr ""
"Nombre de caractères dans les paragraphes. Les sauts de paragraphe ne sont pas "
"comptés, mais les sauts de ligne dans les paragraphes le sont."
#: ../../source/more/counting.rst:89
msgid "**Characters in Headings**"
msgstr "**Caractères dans les entêtes**"
#: ../../source/more/counting.rst:90
msgid "The number of characters in headings."
msgstr "Le nombre de caractères dans les en-têtes."
#: ../../source/more/counting.rst:92
msgid "**Character in Text, No Spaces**"
msgstr "**Caractères dans le texte, sans les espaces**"
#: ../../source/more/counting.rst:93
msgid ""
"The number of characters in body text paragraphs considered part of a word or "
"punctuation. That is, white space characters are not counted."
msgstr ""
"Le nombre de caractères dans les paragraphes considérés comme faisant partie "
"d'un mot ou d'une ponctuation. En d'autres termes, les caractères d'espacement "
"ne sont pas pris en compte."
#: ../../source/more/counting.rst:96
msgid "**Character in Headings, No Spaces**"
msgstr "**Caractères dans les en-têtes, sans les espaces**"
#: ../../source/more/counting.rst:97
msgid ""
"The number of characters in headings considered part of a word or punctuation. "
"That is, white space characters are not counted."
msgstr ""
"Le nombre de caractères dans les en-têtes considérés comme faisant partie d'un "
"mot ou de la ponctuation. En d'autres termes, les caractères d'espacement ne "
"sont pas pris en compte."

View File

@@ -0,0 +1,359 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 11:05+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/more/customise.rst:5
msgid "Customisations"
msgstr "Personnalisations"
#: ../../source/more/customise.rst:10
msgid ""
"There are a few ways you can customise novelWriter yourself. Currently, "
"you can add new GUI themes, your own syntax themes, and install additional "
"dictionaries."
msgstr ""
"Vous pouvez personnaliser novelWriter de plusieurs façons. Actuellement, "
"vous pouvez ajouter de nouveaux thèmes d'interface graphique, vos propres "
"thèmes de syntaxe et installer des dictionnaires supplémentaires."
#: ../../source/more/customise.rst:17
msgid "Spell Check Dictionaries"
msgstr "Dictionnaires de vérification orthographique"
#: ../../source/more/customise.rst:19
msgid ""
"novelWriter uses Enchant_ as the spell checking tool. Depending on your "
"operating system, it may or may not load all installed spell check "
"dictionaries automatically."
msgstr ""
"novelWriter utilise Enchant_ comme outil de vérification orthographique. "
"Selon votre système d'exploitation, il peut ou non charger automatiquement "
"tous les dictionnaires de vérification orthographique installés."
#: ../../source/more/customise.rst:24
msgid "Linux and MacOS"
msgstr "Linux et MacOS"
#: ../../source/more/customise.rst:26
msgid ""
"On Linux and MacOS, you generally only have to install hunspell, aspell or "
"myspell dictionaries on your system like you do for other applications. "
"See your distro or OS documentation for how to do this. These dictionaries "
"should show up as available spell check languages in novelWriter."
msgstr ""
"Sous Linux et MacOS, il vous suffit généralement d'installer les "
"dictionnaires hunspell, aspell ou myspell sur votre système, comme vous le "
"faites pour d'autres applications. Consultez la documentation de votre "
"distro ou de votre système d'exploitation pour savoir comment procéder. "
"Ces dictionnaires devraient apparaître comme des langues de vérification "
"orthographique disponibles dans novelWriter."
#: ../../source/more/customise.rst:32
msgid "Windows"
msgstr "Windows"
#: ../../source/more/customise.rst:34
msgid ""
"For Windows, English is included with the installation. For other "
"languages you have to download and add dictionaries yourself."
msgstr ""
"Pour Windows, l'anglais est inclus dans l'installation. Pour les autres "
"langues, vous devez télécharger et ajouter les dictionnaires vous-même."
#: ../../source/more/customise.rst:37
msgid "**Install Tool**"
msgstr "**Outil d'installation**"
#: ../../source/more/customise.rst:39
msgid ""
"A small tool to assist with this can be found under **Tools > Add "
"Dictionaries**. It will import spell checking dictionaries from Free "
"Office or Libre Office extensions. The dictionaries are then installed in "
"the install location for the Enchant library and should thus work for any "
"application that uses Enchant for spell checking."
msgstr ""
"Un petit outil pour vous aider se trouve sous **Outils > Ajouter des "
"dictionnaires**. Il importera des dictionnaires de vérification "
"orthographique à partir des extensions Free Office ou Libre Office. Les "
"dictionnaires sont alors installés dans l'emplacement d'installation de la "
"bibliothèque Enchant et devraient donc fonctionner pour toute application "
"qui utilise Enchant pour la vérification orthographique."
#: ../../source/more/customise.rst:44
msgid "**Manual Install**"
msgstr "**Installation manuelle**"
#: ../../source/more/customise.rst:46
msgid ""
"If you prefer to do this manually or want to use a different source than "
"the ones mentioned above, You need to get compatible dictionary files for "
"your language. You need two files files ending with ``.aff`` and ``.dic``. "
"These files must then be copied to the following location:"
msgstr ""
"Si vous préférez le faire manuellement ou si vous voulez utiliser une "
"source différente de celles mentionnées ci-dessus, vous devez obtenir des "
"fichiers de dictionnaires compatibles avec votre langue. Vous avez besoin "
"de deux fichiers se terminant par ``.aff`` et ``.dic``. Ces fichiers "
"doivent ensuite être copiés à l'emplacement suivant :"
#: ../../source/more/customise.rst:50
msgid "``C:\\Users\\<USER>\\AppData\\Local\\enchant\\hunspell``"
msgstr "``C:\\Users\\<USER>\\AppData\\Local\\enchant\\hunspell``"
#: ../../source/more/customise.rst:52
msgid ""
"This assumes your user profile is stored at ``C:\\Users\\<USER>``. The "
"last one or two folders may not exist, so you may need to create them."
msgstr ""
"Cela suppose que votre profil d'utilisateur est stocké dans ``C:"
"\\Users\\<USER>``. Le dernier ou les deux derniers dossiers peuvent ne pas "
"exister, vous devrez donc les créer."
#: ../../source/more/customise.rst:55
msgid "You can find the various dictionaries on the `Free Desktop`_ website."
msgstr ""
"Vous pouvez trouver les différents dictionnaires sur le site web `Free "
"Desktop`_."
#: ../../source/more/customise.rst:58
msgid ""
"The Free Desktop link points to a repository, and what may look like file "
"links inside the dictionary folder are actually links to web pages. If you "
"right-click and download those, you get HTML files, not dictionaries!"
msgstr ""
"Le lien Free Desktop pointe vers un référentiel, et ce qui peut ressembler "
"à des liens de fichiers à l'intérieur du dossier du dictionnaire sont en "
"fait des liens vers des pages web. Si vous cliquez avec le bouton droit de "
"la souris et que vous les téléchargez, vous obtiendrez des fichiers HTML, "
"pas des dictionnaires !"
#: ../../source/more/customise.rst:62
msgid ""
"In order to download the actual dictionary files, right-click the "
"\"plain\" label at the end of each line and download that."
msgstr ""
"Pour télécharger les fichiers du dictionnaire, cliquez avec le bouton "
"droit de la souris sur l'étiquette « plain » à la fin de chaque ligne et "
"téléchargez-la."
#: ../../source/more/customise.rst:69
msgid "Syntax and GUI Themes"
msgstr "Syntaxe et thèmes de l'interface graphique"
#: ../../source/more/customise.rst:71
msgid ""
"Adding your own GUI and syntax themes is relatively easy, although it "
"requires that you manually edit config files with colour values. The "
"themes are defined by simple plain text config files with meta data and "
"colour settings."
msgstr ""
"L'ajout de vos propres thèmes d'interface graphique et de syntaxe est "
"relativement facile, bien qu'il soit nécessaire d'éditer manuellement les "
"fichiers de configuration avec les valeurs de couleur. Les thèmes sont "
"définis par de simples fichiers de configuration en texte brut contenant "
"des métadonnées et des paramètres de couleur."
#: ../../source/more/customise.rst:75
msgid ""
"In order to make your own versions, first copy one of the existing files "
"to your local computer and modify it as you like."
msgstr ""
"Pour créer vos propres versions, copiez d'abord l'un des fichiers "
"existants sur votre ordinateur local et modifiez-le à votre guise."
#: ../../source/more/customise.rst:78
msgid ""
"The existing syntax themes are stored in `novelwriter/assets/syntax "
"<https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/"
"syntax>`_."
msgstr ""
"Les thèmes syntaxiques existants sont stockés dans `novelwriter/assets/"
"syntax <https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/"
"syntax>`_."
#: ../../source/more/customise.rst:80
msgid ""
"The existing GUI themes are stored in `novelwriter/assets/themes <https://"
"github.com/vkbo/novelWriter/tree/main/novelwriter/assets/themes>`_."
msgstr ""
"Les thèmes GUI existants sont stockés dans `novelwriter/assets/themes "
"<https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/"
"themes>`_."
#: ../../source/more/customise.rst:82
msgid ""
"The existing icon themes are stored in `novelwriter/assets/icons <https://"
"github.com/vkbo/novelWriter/tree/main/novelwriter/assets/icons>`_."
msgstr ""
"Les thèmes d'icônes existants sont stockés dans `novelwriter/assets/icons "
"<https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/icons>`_."
#: ../../source/more/customise.rst:85
msgid ""
"Remember to also change the name of your theme by modifying the ``name`` "
"setting at the top of the file, otherwise you may not be able to "
"distinguish them in **Preferences**."
msgstr ""
"N'oubliez pas de changer également le nom de votre thème en modifiant le "
"paramètre ``name`` en haut du fichier, sinon vous ne pourrez pas les "
"distinguer dans les **Préférences**."
#: ../../source/more/customise.rst:88
msgid ""
"For novelWriter to be able to locate the custom theme files, you must copy "
"them to the :ref:`docs_technical_locations_data` location in your home or "
"user area. There should be a folder there named ``syntax`` for syntax "
"themes, just ``themes`` for GUI themes, and ``icons`` for icon themes. "
"These folders are created the first time you start novelWriter."
msgstr ""
"Pour que novelWriter puisse localiser les fichiers de thèmes "
"personnalisés, vous devez les copier dans l'emplacement :ref:"
"`docs_technical_locations_data` dans votre espace personnel ou "
"utilisateur. Il devrait y avoir un dossier nommé ``syntax`` pour les "
"thèmes de syntaxe, juste ``themes`` pour les thèmes GUI, et ``icons`` pour "
"les thèmes d'icônes. Ces dossiers sont créés la première fois que vous "
"démarrez novelWriter.\n"
"\n"
"Traduit avec DeepL.com (version gratuite)"
#: ../../source/more/customise.rst:93
msgid ""
"Once the files are copied there, they should show up in **Preferences** "
"with the label you set as ``name`` inside the file."
msgstr ""
"Une fois les fichiers copiés, ils devraient apparaître dans les "
"**Préférences** avec le nom que vous avez défini dans le fichier."
#: ../../source/more/customise.rst:98
msgid ""
"The theme file formats change regularly in new releases. It is up to you "
"to keep custom theme files up to date."
msgstr ""
"Les formats des fichiers de thème changent régulièrement dans les "
"nouvelles versions. C'est à vous qu'il incombe de mettre à jour les "
"fichiers des thèmes personnalisés."
#: ../../source/more/customise.rst:103
msgid "Custom GUI and Icons Theme"
msgstr "Thème d'interface graphique et d'icônes personnalisé"
#: ../../source/more/customise.rst:105
msgid "A GUI theme ``.conf`` file consists of the following settings:"
msgstr ""
"Le fichier ``.conf`` d'un thème GUI est constitué des paramètres suivants :"
#: ../../source/more/customise.rst:159
msgid "In the Main section you must at least define the ``name`` settings."
msgstr ""
"Dans la section Main, vous devez au moins définir les paramètres ``name``."
#: ../../source/more/customise.rst:161
msgid ""
"The Palette values correspond to the Qt enum values for ``QPalette::"
"ColorRole``, see the `Qt documentation <https://doc.qt.io/qt-6/qpalette."
"html#ColorRole-enum>`_ for more details. The colour values are RGB numbers "
"on the format ``r, g, b`` where each is an integer from ``0`` to ``255``. "
"Omitted values are not loaded and will use default values. If the "
"``helptext`` colour is not defined, it is computed as a colour between the "
"``window`` and ``windowtext`` colour. Additional shades of some of the "
"colours are also computed. These are mainly used for 3D effects."
msgstr ""
"Les valeurs de la palette correspondent aux valeurs de l'enum Qt pour "
"``QPalette::ColorRole``, voir la documentation Qt <https://doc.qt.io/qt-6/"
"qpalette.html#ColorRole-enum>`_ pour plus de détails. Les valeurs de "
"couleur sont des nombres RVB au format ``r, g, b`` où chacun est un entier "
"de ``0`` à ``255``. Les valeurs omises ne sont pas chargées et utilisent "
"les valeurs par défaut. Si la couleur ``helptext`` n'est pas définie, elle "
"est calculée comme une couleur comprise entre les couleurs ``window`` et "
"``windowtext``. Des nuances supplémentaires de certaines couleurs sont "
"également calculées. Elles sont principalement utilisées pour les effets "
"3D."
#: ../../source/more/customise.rst:168
msgid "The ``fadedtext`` and ``errortext`` theme colour entries were added."
msgstr ""
"Les entrées de couleur des thèmes ``fadedtext`` et ``errortext`` ont été "
"ajoutées."
#: ../../source/more/customise.rst:171
msgid ""
"The ``icontheme`` setting was dropped as the icon theme is now its own "
"setting. The ``[Icons]`` and ``[Project]`` sections were added, and the "
"``status*`` settings removed."
msgstr ""
"Le paramètre ``icontheme`` a été supprimé car le thème des icônes a "
"maintenant son propre paramètre. Les sections ``[Icons]`` et ``[Project]`` "
"ont été ajoutées, et le paramètre ``status*`` a été supprimé."
#: ../../source/more/customise.rst:177
msgid "Custom Syntax Theme"
msgstr "Syntaxe des thèmes personnalisés"
#: ../../source/more/customise.rst:179
msgid "A syntax theme ``.conf`` file consists of the following settings:"
msgstr ""
"Un fichier ``.conf`` de thème est constitué des paramètres suivants :"
#: ../../source/more/customise.rst:213
msgid ""
"In the Main section, you must define at least the ``name`` setting. The "
"Syntax colour values are RGB(A) numbers of the format ``r, g, b, a`` where "
"each is an integer from ``0`` to ``255``. The fourth value is the alpha "
"channel, which can be omitted."
msgstr ""
"Dans la section Main, vous devez définir au moins le paramètre ``name``. "
"Les valeurs de couleur de la syntaxe sont des nombres RVB(A) du format "
"``r, g, b, a`` où chacun est un entier de ``0`` à ``255``. La quatrième "
"valeur est le canal alpha, qui peut être omis."
#: ../../source/more/customise.rst:217
msgid ""
"Omitted syntax colours default to black, except ``background`` which "
"defaults to white, and ``texthighlight`` which defaults to white with half "
"transparency."
msgstr ""
"Les couleurs omises dans la syntaxe prennent par défaut la couleur noire, "
"à l'exception de ``background`` qui prend par défaut la couleur blanche, "
"et de ``texthighlight`` qui prend par défaut la couleur blanche avec une "
"demi-transparence."
#: ../../source/more/customise.rst:220
msgid "The ``shortcode`` syntax colour entry was added."
msgstr "Le paramètre de couleur ``shortcode`` a été ajouté."
#: ../../source/more/customise.rst:223
msgid "The ``optional`` syntax colour entry was added."
msgstr "Le paramètre de couleur ``optional`` a été ajouté."
#: ../../source/more/customise.rst:226
msgid "The ``texthighlight`` syntax colour entry was added."
msgstr "Le paramètre de couleur ``texthighlight`` a été ajouté."
#: ../../source/more/customise.rst:229
msgid ""
"The ``dialog``, ``altdialog``, ``note`` and ``tag`` syntax colour entries "
"were added. ``straightquotes``, ``doublequotes`` and ``singlequotes`` were "
"removed."
msgstr ""
"Les paramètres de couleur ``dialog``, ``altdialog``, ``note`` et ``tag`` "
"ont été ajoutés. Les paramètres ``guillemets droits``, ``guillemets "
"doubles`` et ``guillemets simples`` ont été supprimés."

View File

@@ -0,0 +1,159 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 11:11+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/more/handling_errors.rst:5
msgid "Handling Errors"
msgstr "Traitement des erreurs"
#: ../../source/more/handling_errors.rst:7
msgid ""
"In case something goes wrong, novelWriter has a few built-in features to "
"reduce the chance your work is lost. In case of a crash, it will also "
"try to save whatever changes you have made before exiting, if this is at "
"all possible."
msgstr ""
"En cas de problème, novelWriter dispose de quelques fonctions intégrées "
"pour réduire le risque de perte de votre travail. En cas de panne, il "
"essaiera également d'enregistrer les modifications que vous avez "
"apportées avant de quitter, si cela est possible."
#: ../../source/more/handling_errors.rst:11
msgid ""
"The storage solution is designed to save each text document "
"independently, so only the document you're working on is actually at a "
"risk of losing data in the event of a crash."
msgstr ""
"La solution de stockage est conçue pour sauvegarder chaque document "
"texte indépendamment, de sorte que seul le document sur lequel vous "
"travaillez risque de perdre des données en cas de panne."
#: ../../source/more/handling_errors.rst:18
msgid "Recovered Documents"
msgstr "Documents récupérés"
#: ../../source/more/handling_errors.rst:20
msgid ""
"If novelWriter crashes or otherwise exits without saving the project "
"state, or if you're using a file synchronisation tool that runs out of "
"sync, there may be files in the project storage folder that aren't "
"tracked in the core project file. These files, when discovered, are "
"recovered and added back into the project when a project is opened."
msgstr ""
"Si novelWriter se plante ou se termine sans sauvegarder l'état du "
"projet, ou si vous utilisez un outil de synchronisation de fichiers qui "
"se désynchronise, il peut y avoir des fichiers dans le dossier de "
"stockage du projet qui ne sont pas suivis dans le fichier de base du "
"projet. Ces fichiers, lorsqu'ils sont découverts, sont récupérés et "
"ajoutés au projet lorsqu'un projet est ouvert."
#: ../../source/more/handling_errors.rst:25
msgid ""
"The discovered files are scanned for metadata that give clues as to "
"where the document may previously have been located in the project. The "
"project loading routine will try to put them back as close as possible "
"to this location, if it still exists. Generally, it will be appended to "
"the end of the folder where it previously was located. If that folder "
"doesn't exist, it will try to add it to the correct root folder type. If "
"it cannot figure out which root folder is correct, the document will be "
"added to the **Novel** root folder. Finally, if a **Novel** does not "
"exist, one will be created."
msgstr ""
"Les fichiers découverts sont analysés à la recherche de métadonnées qui "
"donnent des indices sur l'emplacement antérieur du document dans le "
"projet. La routine de chargement du projet essaiera de les replacer "
"aussi près que possible de cet emplacement, s'il existe toujours. En "
"général, le document sera ajouté à la fin du dossier où il se trouvait "
"auparavant. Si ce dossier n'existe pas, il essaiera de l'ajouter au type "
"de dossier racine correct. S'il ne parvient pas à déterminer quel est le "
"bon dossier racine, le document sera ajouté au dossier racine "
"**Nouveau**. Enfin, si un **Nouveau** n'existe pas, il en sera créé un."
#: ../../source/more/handling_errors.rst:33
msgid ""
"If the title of the document can be recovered, the word \"Recovered:\" "
"will be added as a prefix to indicate that it may need further "
"attention. If the title cannot be determined, the document will be named "
"after its internal key, which is a string of characters and numbers."
msgstr ""
"Si le titre du document peut être récupéré, le mot « Récupéré : » sera "
"ajouté comme préfixe pour indiquer qu'il peut nécessiter une attention "
"supplémentaire. Si le titre ne peut être déterminé, le document sera "
"nommé d'après sa clé interne, qui est une chaîne de caractères et de "
"chiffres."
#: ../../source/more/handling_errors.rst:41
msgid "Project Lockfile"
msgstr "Fichier de verrouillage du projet"
#: ../../source/more/handling_errors.rst:43
msgid ""
"To prevent data loss caused by file conflicts when novelWriter projects "
"are synchronised via file synchronisation tools, a project lockfile is "
"written to the project storage folder when a project is open. If you try "
"to open a project that already has such a file present, you will be "
"presented with a warning, and some information about where else "
"novelWriter thinks the project is also open. You will be given the "
"option to ignore this warning, and continue opening the project at your "
"own risk."
msgstr ""
"Pour éviter la perte de données causée par des conflits de fichiers "
"lorsque les projets novelWriter sont synchronisés via des outils de "
"synchronisation de fichiers, un fichier de verrouillage de projet est "
"écrit dans le dossier de stockage du projet lorsqu'un projet est ouvert. "
"Si vous essayez d'ouvrir un projet dans lequel un tel fichier est déjà "
"présent, vous recevrez un avertissement et des informations sur "
"l'endroit où novelWriter pense que le projet est également ouvert. Vous "
"aurez la possibilité d'ignorer cet avertissement et de continuer à "
"ouvrir le projet à vos risques et périls."
#: ../../source/more/handling_errors.rst:52
msgid ""
"If, for some reason, novelWriter or your computer crashes, the lock file "
"may remain even if there are no other instances keeping the project "
"open. In such a case it is safe to ignore the lock file warning when re-"
"opening the project."
msgstr ""
"Si, pour une raison quelconque, novelWriter ou votre ordinateur tombe en "
"panne, le fichier de verrouillage peut subsister même si aucune autre "
"instance ne maintient le projet ouvert. Dans ce cas, il est prudent "
"d'ignorer l'avertissement relatif au fichier de verrouillage lors de la "
"réouverture du projet."
#: ../../source/more/handling_errors.rst:58
msgid ""
"If you choose to ignore the warning and continue opening the project, "
"and multiple instances of the project are in fact open, you are likely "
"to cause inconsistencies and create diverging project files, potentially "
"resulting in loss of data and orphaned files. You are not likely to lose "
"any actual text unless both instances have the same document open in the "
"editor, and novelWriter will try to resolve project inconsistencies the "
"next time you open the project."
msgstr ""
"Si vous choisissez d'ignorer l'avertissement et de continuer à ouvrir le "
"projet, et que plusieurs instances du projet sont en fait ouvertes, vous "
"risquez de provoquer des incohérences et de créer des fichiers de projet "
"divergents, ce qui peut entraîner une perte de données et des fichiers "
"orphelins. Il est peu probable que vous perdiez du texte à moins que les "
"deux instances aient le même document ouvert dans l'éditeur, et "
"novelWriter essaiera de résoudre les incohérences du projet la prochaine "
"fois que vous l'ouvrirez."

View File

@@ -0,0 +1,298 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 11:21+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/more/project_format.rst:5
msgid "Project Format Changes"
msgstr "Modifications du format des projets"
#: ../../source/more/project_format.rst:7
msgid ""
"Most of the changes to the file formats over the history of novelWriter "
"have no impact on the user side of things. The project files are "
"generally updated automatically. However, some of the changes require "
"minor actions from the user."
msgstr ""
"La plupart des modifications apportées aux formats de fichiers au cours "
"de l'histoire de novelWriter n'ont pas d'impact sur l'utilisateur. Les "
"fichiers de projet sont généralement mis à jour automatiquement. "
"Cependant, certains changements nécessitent des actions mineures de la "
"part de l'utilisateur."
#: ../../source/more/project_format.rst:11
msgid ""
"The key changes in the formats are listed in this chapter, as well as "
"the user actions required, where applicable."
msgstr ""
"Les principales modifications apportées aux formats sont énumérées dans "
"ce chapitre, ainsi que les actions requises de la part de l'utilisateur, "
"le cas échéant."
#: ../../source/more/project_format.rst:14
msgid ""
"A full project file format specification is available under \"More "
"Documents\"."
msgstr ""
"Une spécification complète du format de fichier du projet est disponible "
"sous « Plus d'informations »."
#: ../../source/more/project_format.rst:18
msgid ""
"When you update a project from one format version to the next, the "
"project can no longer be opened by a version of novelWriter prior to the "
"version where the new file format was introduced. You will get a "
"notification about any updates to your project file format and will have "
"the option to decline the upgrade."
msgstr ""
"Lorsque vous mettez à jour un projet d'une version de format à la "
"suivante, le projet ne peut plus être ouvert par une version de "
"novelWriter antérieure à la version où le nouveau format de fichier a "
"été introduit. Vous recevrez une notification concernant toute mise à "
"jour du format de fichier de votre projet et vous aurez la possibilité "
"de refuser la mise à jour."
#: ../../source/more/project_format.rst:27
msgid "Format 1.5 Changes"
msgstr "Format 1.5 Modifications"
#: ../../source/more/project_format.rst:29
msgid "This project format was introduced in novelWriter version 2.0 RC 2."
msgstr ""
"Ce format de projet a été introduit dans la version 2.0 RC 2 de "
"novelWriter."
#: ../../source/more/project_format.rst:31
msgid ""
"This is a modification of the 1.4 format. It makes the XML more "
"consistent in that meta data have been moved to their respective section "
"nodes as attributes, and key/value settings now have a consistent "
"format. Logical flags are saved as yes/no instead of Python True/False, "
"and the main heading of the document is now saved to the item rather "
"than in the index. The conversion is done automatically the first time a "
"project is loaded. No user action is required."
msgstr ""
"Il s'agit d'une modification du format 1.4. Il rend le XML plus cohérent "
"en ce sens que les métadonnées ont été déplacées vers leurs nœuds de "
"section respectifs en tant qu'attributs, et que les paramètres clé/"
"valeur ont désormais un format cohérent. Les indicateurs logiques sont "
"sauvegardés sous forme de oui/non au lieu de True/False de Python, et le "
"titre principal du document est désormais sauvegardé dans l'article "
"plutôt que dans l'index. La conversion est effectuée automatiquement "
"lors du premier chargement d'un projet. Aucune action de l'utilisateur "
"n'est nécessaire."
#: ../../source/more/project_format.rst:41
msgid "Format 1.4 Changes"
msgstr "Format 1.4 Modifications"
#: ../../source/more/project_format.rst:43
msgid ""
"This project format was introduced in novelWriter version 2.0 RC 1. "
"Since this was a release candidate, it is unlikely that your project "
"uses it, but it may be the case if you've installed a pre-release."
msgstr ""
"Ce format de projet a été introduit dans la version 2.0 RC 1 de "
"novelWriter. Comme il s'agissait d'une version candidate, il est peu "
"probable que votre projet l'utilise, mais c'est peut-être le cas si vous "
"avez installé une préversion."
#: ../../source/more/project_format.rst:47
msgid ""
"This format changes the way project items (folders, documents and notes) "
"are stored. It is a more compact format that is simpler and faster to "
"parse, and easier to extend. The conversion is done automatically the "
"first time a project is loaded. No user action is required."
msgstr ""
"Ce format modifie la manière dont les éléments du projet (dossiers, "
"documents et notes) sont stockés. Il s'agit d'un format plus compact, "
"plus simple et plus rapide à analyser, et plus facile à étendre. La "
"conversion se fait automatiquement lors du premier chargement d'un "
"projet. Aucune action de l'utilisateur n'est nécessaire."
#: ../../source/more/project_format.rst:55
msgid "Format 1.3 Changes"
msgstr "Format 1.3 Modifications"
#: ../../source/more/project_format.rst:57
msgid "This project format was introduced in novelWriter version 1.5."
msgstr ""
"Ce format de projet a été introduit dans la version 1.5 de novelWriter."
#: ../../source/more/project_format.rst:59
msgid ""
"With this format, the number of document layouts was reduced from eight "
"to two. The conversion of document layouts is performed automatically "
"when the project is opened."
msgstr ""
"Avec ce format, le nombre de présentations de documents a été réduit de "
"huit à deux. La conversion des présentations de documents s'effectue "
"automatiquement lors de l'ouverture du projet."
#: ../../source/more/project_format.rst:62
msgid ""
"Due to the reduction of layouts, some features that were previously "
"controlled by these layouts will be lost. These features are instead now "
"controlled by syntax codes, so to recover these features, some minor "
"modification must be made to select documents by the user."
msgstr ""
"En raison de la réduction des présentations, certaines caractéristiques "
"qui étaient auparavant contrôlées par ces présentations seront perdues. "
"Ces fonctionnalités sont désormais contrôlées par des codes syntaxiques. "
"Pour les récupérer, l'utilisateur doit donc apporter quelques "
"modifications mineures aux documents sélectionnés."
#: ../../source/more/project_format.rst:66
msgid ""
"The manual changes the user must make should be very few as they apply "
"to document layouts that should be used only a few places in any given "
"project. These are as follows:"
msgstr ""
"Les modifications manuelles que l'utilisateur doit apporter sont très "
"peu nombreuses car elles s'appliquent à des mises en page de documents "
"qui ne doivent être utilisées qu'à quelques endroits dans un projet "
"donné. Ces modifications sont les suivantes :"
#: ../../source/more/project_format.rst:69
msgid "**Title Pages**"
msgstr "**Pages de titres**"
#: ../../source/more/project_format.rst:71
msgid ""
"The formatting of the level one title on the title page must be changed "
"from ``# Title Text`` to ``#! Title Text`` in order to retain the "
"previous functionality. See :ref:`docs_usage_headings_levels`."
msgstr ""
"Le formatage du titre de niveau 1 sur la page de titre doit être modifié "
"de ``# Title Text`` à ``# ! Title Text`` afin de conserver la "
"fonctionnalité précédente. Voir :ref:`docs_usage_headings_levels`."
#: ../../source/more/project_format.rst:74
msgid ""
"Any text that was previously centred on the page must be manually "
"centred using the text alignment feature. See :ref:"
"`docs_usage_align_indent`."
msgstr ""
"Tout texte qui était précédemment centré sur la page doit être centré "
"manuellement en utilisant la fonction d'alignement du texte. Voir :ref:"
"`docs_usage_align_indent`."
#: ../../source/more/project_format.rst:77
msgid "**Unnumbered Chapters**"
msgstr "**Chapitres non numérotés**"
#: ../../source/more/project_format.rst:79
msgid ""
"Since the specific layout for unnumbered chapters has been dropped, such "
"chapters must all use the ``##! Chapter Name`` formatting code instead "
"of ``## Chapter Name``. This also includes chapters marked by an "
"asterisk: ``## *Chapter Name``, as this feature has also been dropped. "
"See :ref:`docs_usage_headings_levels`."
msgstr ""
"La mise en page spécifique pour les chapitres non numérotés ayant été "
"abandonnée, ces chapitres doivent tous utiliser le code de formatage "
"``# ! Nom du chapitre`` au lieu de `## Nom du chapitre``. Cela inclut "
"également les chapitres marqués d'un astérisque : `## *Nom de "
"chapitre``, car cette fonctionnalité a également été abandonnée. Voir :"
"ref:`docs_usage_headings_levels`."
#: ../../source/more/project_format.rst:84
msgid "**Plain Pages**"
msgstr "**Pages vierges**"
#: ../../source/more/project_format.rst:86
msgid ""
"The layout named \"Plain Page\" has also been removed. The only feature "
"of this layout was that it ensured that the content always started on a "
"fresh page. In the new format, fresh pages can be set anywhere in the "
"text with the ``[new page]`` code. See :ref:"
"`docs_usage_formatting_breaks`."
msgstr ""
"La mise en page appelée « page simple » a également été supprimée. La "
"seule caractéristique de cette mise en page était qu'elle garantissait "
"que le contenu commençait toujours sur une nouvelle page. Dans le "
"nouveau format, les nouvelles pages peuvent être placées n'importe où "
"dans le texte avec le code ``[new page]``. Voir :ref:"
"`docs_usage_formatting_breaks`."
#: ../../source/more/project_format.rst:94
msgid "Format 1.2 Changes"
msgstr "Format 1.2 Modifications"
#: ../../source/more/project_format.rst:96
msgid "This project format was introduced in novelWriter version 0.10."
msgstr ""
"Ce format de projet a été introduit dans la version 0.10 de novelWriter."
#: ../../source/more/project_format.rst:98
msgid ""
"With this format, the way auto-replace entries were stored in the main "
"project XML file changed. Conversion from this format is done "
"automatically."
msgstr ""
"Avec ce format, la façon dont les entrées de remplacement automatique "
"étaient stockées dans le fichier XML du projet principal a changé. La "
"conversion de ce format se fait automatiquement."
#: ../../source/more/project_format.rst:105
msgid "Format 1.1 Changes"
msgstr "Format 1.1 Modifications"
#: ../../source/more/project_format.rst:107
msgid "This project format was introduced in novelWriter version 0.7."
msgstr ""
"Ce format de projet a été introduit dans la version 0.7 de novelWriter."
#: ../../source/more/project_format.rst:109
msgid ""
"With this format, the ``content`` folder was introduced in the project "
"storage. Previously, all novelWriter documents were saved in a series of "
"folders numbered from ``data_0`` to ``data_f``."
msgstr ""
"Avec ce format, le dossier ``content`` a été introduit dans le stockage "
"du projet. Auparavant, tous les documents de novelWriter étaient "
"sauvegardés dans une série de dossiers numérotés de ``data_0`` à "
"``data_f``."
#: ../../source/more/project_format.rst:112
msgid ""
"It also reduces the number of meta data and cache files. These files are "
"automatically deleted if an old project is opened. This was also when "
"the Table of Contents file was introduced. Conversion from this format "
"is done automatically."
msgstr ""
"Il réduit également le nombre de métadonnées et de fichiers de cache. "
"Ces fichiers sont automatiquement supprimés lorsqu'un ancien projet est "
"ouvert. C'est également à cette époque que le fichier de table des "
"matières a été introduit. La conversion de ce format se fait "
"automatiquement."
#: ../../source/more/project_format.rst:120
msgid "Format 1.0 Changes"
msgstr "Format 1.0 Modifications"
#: ../../source/more/project_format.rst:122
msgid ""
"This is the original file format and project structure. It was in use up "
"to version 0.6.3."
msgstr ""
"Il s'agit du format de fichier et de la structure de projet d'origine. "
"Il a été utilisé jusqu'à la version 0.6.3."

View File

@@ -0,0 +1,267 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 23:17+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/more/typography.rst:5
msgid "Typographical Notes"
msgstr "Notes typographiques"
#: ../../source/more/typography.rst:12
msgid ""
"novelWriter has some support for typographical symbols that are not usually "
"easily available in many text editors. This includes for instance the "
"proper unicode quotation marks, dashes, ellipsis, thin spaces, etc. All "
"these symbols are available from the **Insert** menu, and via keyboard "
"shortcuts. See :ref:`docs_features_shortcuts_insert`."
msgstr ""
"novelWriter prend en charge certains symboles typographiques qui ne sont "
"généralement pas disponibles dans de nombreux éditeurs de texte. Cela "
"inclut par exemple les guillemets unicode, les tirets, les ellipses, les "
"espaces fins, etc. Tous ces symboles sont disponibles dans le menu "
"**Insérer**, et via des raccourcis clavier. Voir :ref:"
"`docs_features_shortcuts_insert`."
#: ../../source/more/typography.rst:17
msgid ""
"This chapter provides some additional information on how novelWriter "
"handles these symbols."
msgstr ""
"Ce chapitre fournit des informations supplémentaires sur la manière dont "
"novelWriter gère ces symboles."
#: ../../source/more/typography.rst:21
msgid "Dashes and Ellipsis"
msgstr "Tirets et points de suspension"
#: ../../source/more/typography.rst:23
msgid ""
"With the auto-replace feature enabled (see :ref:`docs_ui_edit_view_auto`), "
"two and three hyphens are converted automatically to short and long dashes, "
"four hyphens to a horizontal bar, and three dots to ellipsis."
msgstr ""
"Lorsque la fonction de remplacement automatique est activée (voir :ref:"
"`docs_ui_edit_view_auto`), les deux et trois traits d'union sont "
"automatiquement convertis en tirets demi-cadratin et cadratin, les quatre "
"traits d'union en barre horizontale et les trois points en points de "
"suspension."
#: ../../source/more/typography.rst:29
msgid ""
"The last auto-replace can always be reverted with the undo command :kbd:"
"`Ctrl+Z`, reverting the text to what you typed before the automatic "
"replacement occurred."
msgstr ""
"Le dernier remplacement automatique peut toujours être annulé avec la "
"commande d'annulation :kbd:`Ctrl+Z`, rétablissant le texte tel qu'il était "
"avant le remplacement automatique."
#: ../../source/more/typography.rst:32
msgid ""
"In addition, \"Figure Dash\" is available. The Figure Dash is a dash that "
"has the same width as the numbers of the same font, for most fonts. It "
"helps to align numbers nicely in columns when you need to use a dash in "
"them."
msgstr ""
"En outre, le « tiret chiffré » est disponible. Il s'agit d'un tiret de la "
"même largeur que les chiffres de la même police, pour la plupart des "
"polices. Il permet de bien aligner les chiffres dans les colonnes lorsque "
"vous devez utiliser un tiret."
#: ../../source/more/typography.rst:38
msgid "Single and Double Quotes"
msgstr "Guillemets simples et doubles"
#: ../../source/more/typography.rst:40
msgid ""
"All the different quotation marks listed on the `Quotation Mark`_ Wikipedia "
"page are available, and can be selected as auto-replaced symbols for "
"straight single and double quote key strokes. The settings can be found in "
"**Preferences**."
msgstr ""
"Tous les différents guillemets listés sur la page Wikipedia `Quotation "
"Mark`_ sont disponibles, et peuvent être sélectionnés comme symboles auto-"
"remplacés pour les touches de guillemets simples et doubles. Les réglages "
"se trouvent dans les **Préférences**."
#: ../../source/more/typography.rst:44
msgid ""
"If your text contains straight single and double quotes, there are two "
"convenience functions in the **Format** menu that can be used to re-format "
"a selected section of text with the correct quote symbols."
msgstr ""
"Si votre texte contient des guillemets simples et doubles, deux fonctions "
"pratiques du menu **Format** permettent de reformater une section de texte "
"sélectionnée avec les symboles de guillemets corrects."
#: ../../source/more/typography.rst:48
msgid ""
"You can enable dialogue recognition and colour highlighting for novel "
"documents. See :ref:`docs_features_dialogue` for more details."
msgstr ""
"Vous pouvez activer la reconnaissance du dialogue et la mise en évidence "
"des couleurs pour les nouveaux documents. Voir :ref:"
"`docs_features_dialogue` pour plus de détails."
#: ../../source/more/typography.rst:53
msgid "Single and Double Prime"
msgstr "Simple et double prime"
#: ../../source/more/typography.rst:55
msgid ""
"Both single and double prime symbols are available in the **Insert** menu. "
"These symbols are the correct symbols to use for unit symbols for feet, "
"inches, minutes, and seconds. The usage of these is described in more "
"detail on the Wikipedia Prime_ page. They look very similar to single and "
"double straight quotes, and may be rendered similarly by the font, but they "
"have different codes. Using these correctly will also prevent the auto-"
"replace and dialogue highlighting features misunderstanding their meaning "
"in the text."
msgstr ""
"Les symboles de prime simple et double sont disponibles dans le menu "
"**Insérer**. Ces symboles sont les symboles corrects à utiliser pour les "
"symboles d'unités pour les pieds, les pouces, les minutes et les secondes. "
"L'utilisation de ces symboles est décrite plus en détail sur la page Prime_ "
"de Wikipedia. Ils ressemblent beaucoup aux guillemets simples et doubles et "
"peuvent être rendus de la même manière par la police, mais ils ont des "
"codes différents. En les utilisant correctement, vous éviterez que les "
"fonctions de remplacement automatique et de mise en évidence des dialogues "
"ne se méprennent sur leur signification dans le texte."
#: ../../source/more/typography.rst:66
msgid "Modifier Letter Apostrophe"
msgstr "Modificateur Lettre Apostrophe"
#: ../../source/more/typography.rst:68
msgid ""
"The auto-replace feature will consider any right-facing single straight "
"quote as a quote symbol, even if it is intended as an apostrophe. This also "
"includes the syntax highlighter, which may assume the first following "
"apostrophe is the closing symbol of a single quoted region of text."
msgstr ""
"La fonction de remplacement automatique considère tout guillemet droit "
"simple orienté vers la droite comme un symbole de guillemet, même s'il "
"s'agit d'une apostrophe. Cela s'applique également à l'outil de mise en "
"évidence de la syntaxe, qui peut supposer que la première apostrophe qui "
"suit est le symbole de fermeture d'une région de texte entre guillemets."
#: ../../source/more/typography.rst:72
msgid ""
"To get around this, an alternative apostrophe is available. It is a special "
"Unicode character that is not categorised as punctuation, but as a "
"modifier. It is usually rendered the same way as the right single quotation "
"marks, depending on the font. There is a Wikipedia article for the "
"`Modifier letter apostrophe`_ with more details."
msgstr ""
"Pour contourner ce problème, il existe une apostrophe alternative. Il "
"s'agit d'un caractère Unicode spécial qui n'est pas considéré comme une "
"ponctuation, mais comme un modificateur. Il est généralement rendu de la "
"même manière que les guillemets simples de droite, en fonction de la police "
"de caractères. Il existe un article de Wikipédia sur la `lettre "
"modificatrice apostrophe`_ avec plus de détails."
#: ../../source/more/typography.rst:79
msgid ""
"On export with the **Build Manuscript** tool, these apostrophes will be "
"replaced automatically with the corresponding right hand single quote "
"symbol as is generally recommended. Therefore it doesn't really matter if "
"you only use them to correct syntax highlighting in some places, and not "
"others."
msgstr ""
"Lors de l'exportation à l'aide de l'outil **Compiler le manuscrit**, ces "
"apostrophes seront automatiquement remplacées par le symbole de guillemet "
"simple de droite correspondant, comme cela est généralement recommandé. Par "
"conséquent, il importe peu que vous les utilisiez uniquement pour corriger "
"la coloration syntaxique à certains endroits, et pas à d'autres."
#: ../../source/more/typography.rst:86
msgid "White Space Symbols"
msgstr "Symboles de l'espace"
#: ../../source/more/typography.rst:88
msgid ""
"A few variations of the regular space character is supported. The correct "
"typographical way to separate a number from its unit is with a `thin "
"space`_. It is usually 2/3 the width of a regular space. For numbers and "
"units, this should in addition be a non-breaking space, that is, the text "
"wrapping should not add a line break on this particular space."
msgstr ""
"Quelques variations du caractère espace régulier sont prises en charge. La "
"manière typographique correcte de séparer un nombre de son unité est "
"d'utiliser une `espace fine`_. Sa largeur est généralement égale aux deux "
"tiers de celle d'une espace normale. Pour les nombres et les unités, il "
"doit en outre s'agir d'un espace insécable, c'est-à-dire que l'habillage du "
"texte ne doit pas ajouter de saut de ligne sur cet espace particulier."
#: ../../source/more/typography.rst:93
msgid "A regular space can also be made into a non-breaking space if needed."
msgstr ""
"Un espace régulier peut également être transformé en espace insécable si "
"nécessaire."
#: ../../source/more/typography.rst:95
msgid ""
"All non-breaking spaces are highlighted with a differently coloured "
"background to make it easier to spot them in the text. The colour will "
"depend on the selected colour theme."
msgstr ""
"Tous les espaces insécables sont mis en évidence par un arrière-plan de "
"couleur différente pour faciliter leur repérage dans le texte. La couleur "
"dépend du thème de couleur sélectionné."
#: ../../source/more/typography.rst:98
msgid ""
"You can insert these spaces in your text using the following keyboard "
"combinations:"
msgstr ""
"Vous pouvez insérer ces espaces dans votre texte en utilisant les "
"combinaisons de clavier suivantes :"
#: ../../source/more/typography.rst:100
msgid "A non-breaking space can be inserted with :kbd:`Ctrl+K`, :kbd:`Space`."
msgstr ""
"Un espace insécable peut être inséré avec :kbd:`Ctrl+K`, :kbd:`Espace`."
#: ../../source/more/typography.rst:101
msgid ""
"Thin spaces are also supported, and can be inserted with :kbd:`Ctrl+K`, :"
"kbd:`Shift+Space`."
msgstr ""
"Les espaces courtes sont également supportés, et peuvent être insérés avec :"
"kbd:`Ctrl+K`, :kbd:`Maj+Espace`."
#: ../../source/more/typography.rst:102
msgid ""
"Non-breaking thin space can be inserted with :kbd:`Ctrl+K`, :kbd:"
"`Ctrl+Space`."
msgstr ""
"Une espace courte insécable peut être insérée avec :kbd:`Ctrl+K`, :kbd:"
"`Ctrl+Espace`."
#: ../../source/more/typography.rst:104
msgid ""
"These are all insert features, and the **Insert** menu has more. The "
"keyboard shortcuts for them are also listed in :ref:"
"`docs_features_shortcuts`."
msgstr ""
"Ce sont toutes des fonctions d'insertion, et le menu **Insérer** en propose "
"d'autres. Les raccourcis clavier sont également listés dans :ref:"
"`docs_features_shortcuts`."

View File

@@ -0,0 +1,158 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 11:25+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/technical/locations.rst:5
msgid "File Locations"
msgstr "Emplacement des fichiers"
#: ../../source/technical/locations.rst:9
msgid ""
"novelWriter will create a few files on your system outside of the "
"application folder itself. These file locations are described in this "
"chapter."
msgstr ""
"novelWriter créera quelques fichiers sur votre système en dehors du "
"dossier de l'application elle-même. L'emplacement de ces fichiers est "
"décrit dans ce chapitre."
#: ../../source/technical/locations.rst:16
msgid "Configuration"
msgstr "Configuration"
#: ../../source/technical/locations.rst:18
msgid ""
"The general configuration of novelWriter, including everything that is "
"in **Preferences**, is saved in one central configuration file. The "
"location of this file depends on your operating system. The system paths "
"are provided by the Qt QStandardPaths_ class and its ``ConfigLocation`` "
"value."
msgstr ""
"La configuration générale de novelWriter, y compris tout ce qui se "
"trouve dans les **Préférences**, est enregistrée dans un fichier de "
"configuration central. L'emplacement de ce fichier dépend de votre "
"système d'exploitation. Les chemins d'accès au système sont fournis par "
"la classe Qt QStandardPaths_ et sa valeur ``ConfigLocation``."
#: ../../source/technical/locations.rst:22
#: ../../source/technical/locations.rst:45
msgid "The standard paths are:"
msgstr "Les chemins standard sont les suivants :"
#: ../../source/technical/locations.rst:24
msgid "Linux: ``~/.config/novelwriter/novelwriter.conf``"
msgstr "Linux : ``~/.config/novelwriter/novelwriter.conf``"
#: ../../source/technical/locations.rst:25
msgid "MacOS: ``~/Library/Preferences/novelwriter/novelwriter.conf``"
msgstr "MacOS: ``~/Library/Preferences/novelwriter/novelwriter.conf``"
#: ../../source/technical/locations.rst:26
msgid ""
"Windows: ``C:\\Users\\<USER>\\AppData\\Local\\novelwriter\\novelwriter."
"conf``"
msgstr ""
"Windows: ``C:\\Users\\<USER>\\AppData\\Local\\novelwriter\\novelwriter."
"conf``"
#: ../../source/technical/locations.rst:28
#: ../../source/technical/locations.rst:51
msgid ""
"Here, ``~`` corresponds to the user's home directory on Linux and MacOS, "
"and ``<USER>`` is the user's username on Windows."
msgstr ""
"Ici, ``~`` correspond au répertoire personnel de l'utilisateur sous "
"Linux et MacOS, et ``<USER>`` est le nom d'utilisateur de l'utilisateur "
"sous Windows."
#: ../../source/technical/locations.rst:32
#: ../../source/technical/locations.rst:55
msgid ""
"These are the standard operating system defined locations. If your "
"system has been set up in a different way, these locations may also be "
"different."
msgstr ""
"Il s'agit des emplacements standard définis par le système "
"d'exploitation. Si votre système a été configuré différemment, ces "
"emplacements peuvent également être différents."
#: ../../source/technical/locations.rst:39
msgid "Application Data"
msgstr "Données d'application"
#: ../../source/technical/locations.rst:41
msgid ""
"novelWriter also stores a bit of data that is generated by the user's "
"actions. This includes the list of recent projects form the **Welcome** "
"dialog. Custom themes should also be saved here. The system paths are "
"provided by the Qt QStandardPaths_ class and its ``AppDataLocation`` "
"value."
msgstr ""
"novelWriter stocke également un certain nombre de données générées par "
"les actions de l'utilisateur. Cela inclut la liste des projets récents "
"de la boîte de dialogue **Bienvenue**. Les thèmes personnalisés "
"devraient également être sauvegardés ici. Les chemins d'accès au système "
"sont fournis par la classe Qt QStandardPaths_ et sa valeur "
"``AppDataLocation``."
#: ../../source/technical/locations.rst:47
msgid "Linux: ``~/.local/share/novelwriter/``"
msgstr "Linux: ``~/.local/share/novelwriter/``"
#: ../../source/technical/locations.rst:48
msgid "MacOS: ``~/Library/Application Support/novelwriter/``"
msgstr "MacOS: ``~/Library/Application Support/novelwriter/``"
#: ../../source/technical/locations.rst:49
msgid "Windows: ``C:\\Users\\<USER>\\AppData\\Roaming\\novelwriter\\``"
msgstr "Windows: ``C:\\Users\\<USER>\\AppData\\Roaming\\novelwriter\\``"
#: ../../source/technical/locations.rst:58
msgid "The Application Data location also holds several folders:"
msgstr ""
"L'emplacement des données d'application contient également plusieurs "
"dossiers :"
#: ../../source/technical/locations.rst:60
msgid "``cache``"
msgstr "``cache``"
#: ../../source/technical/locations.rst:61
msgid ""
"This folder is used to save the preview data for the **Manuscript "
"Build** tool."
msgstr ""
"Ce dossier est utilisé pour enregistrer les données de prévisualisation "
"pour l'outil **Compilation de manuscrit**."
#: ../../source/technical/locations.rst:63
msgid "``icons``, ``syntax`` and ``themes``"
msgstr "``icons``, ``syntax`` and ``themes``"
#: ../../source/technical/locations.rst:64
msgid ""
"These folders are empty by default, but this is where the user can store "
"custom theme files. See :ref:`docs_more_custom` for more details."
msgstr ""
"Ces dossiers sont vides par défaut, mais c'est là que l'utilisateur peut "
"stocker des fichiers de thèmes personnalisés. Voir :ref:"
"`docs_more_custom` pour plus de détails."

View File

@@ -0,0 +1,283 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 11:39+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/technical/source.rst:5
msgid "Running from Source"
msgstr "Exécuter depuis la source"
#: ../../source/technical/source.rst:11
msgid ""
"This chapter describes various ways of running novelWriter directly from "
"the source code, and how to build the various components like the "
"translation files and documentation."
msgstr ""
"Ce chapitre décrit les différentes façons d'exécuter novelWriter "
"directement à partir du code source, et comment construire les "
"différents composants tels que les fichiers de traduction et la "
"documentation."
#: ../../source/technical/source.rst:16
msgid ""
"The text below assumes the command ``python`` corresponds to a Python 3 "
"executable. Python 2 is now deprecated, but on many systems the command "
"``python3`` may be needed instead. Likewise, ``pip`` may need to be "
"replaced with ``pip3``."
msgstr ""
"Le texte ci-dessous suppose que la commande ``python`` correspond à un "
"exécutable Python 3. Python 2 est maintenant déprécié, mais sur de "
"nombreux systèmes, la commande ``python3`` peut être utilisée à la "
"place. De même, ``pip`` peut être remplacé par ``pip3``."
#: ../../source/technical/source.rst:20
msgid ""
"Most of the custom commands for building packages of novelWriter, or "
"building assets, are contained in the ``pkgutils.py`` script in the root "
"of the source code. You can list the available commands by running:"
msgstr ""
"La plupart des commandes personnalisées pour construire des paquets de "
"novelWriter, ou pour construire des actifs, sont contenues dans le "
"script ``pkgutils.py`` à la racine du code source. Vous pouvez lister "
"les commandes disponibles en lançant :"
#: ../../source/technical/source.rst:32
msgid "Dependencies"
msgstr "Dépendances"
#: ../../source/technical/source.rst:34
msgid ""
"novelWriter has been designed to rely on as few dependencies as "
"possible. Only the Python wrapper for the Qt GUI libraries is required. "
"The package for spell checking is optional, but recommended. Everything "
"else is handled with standard Python libraries."
msgstr ""
"novelWriter a été conçu pour s'appuyer sur le moins de dépendances "
"possible. Seul le wrapper Python pour les bibliothèques Qt GUI est "
"nécessaire. Le paquetage pour la vérification orthographique est "
"optionnel, mais recommandé. Tout le reste est géré par les bibliothèques "
"Python standard."
#: ../../source/technical/source.rst:38
msgid ""
"The following Python packages are needed to run all features of "
"novelWriter:"
msgstr ""
"Les paquets Python suivants sont nécessaires pour exécuter toutes les "
"fonctionnalités de novelWriter :"
#: ../../source/technical/source.rst:40
msgid "``PyQt6`` – needed for connecting with the Qt6 libraries."
msgstr "``PyQt6`` - nécessaire pour se connecter aux bibliothèques Qt6."
#: ../../source/technical/source.rst:41
msgid "``PyEnchant`` – needed for spell checking (optional)."
msgstr ""
"``PyEnchant`` - nécessaire pour la vérification orthographique "
"(optionnel)."
#: ../../source/technical/source.rst:43
msgid ""
"If you want spell checking, you must install the ``PyEnchant`` package. "
"The spell check library must be at least 3.0 to work with Windows. On "
"Linux, 2.0 also works fine."
msgstr ""
"Si vous voulez un correcteur orthographique, vous devez installer le "
"paquet ``PyEnchant``. La bibliothèque de vérification orthographique "
"doit être au moins en version 3.0 pour fonctionner sous Windows. Sous "
"Linux, la version 2.0 fonctionne également très bien."
#: ../../source/technical/source.rst:46
msgid ""
"If you install from PyPi, these dependencies should be installed "
"automatically. If you install from source, dependencies can still be "
"installed from PyPi with:"
msgstr ""
"Si vous installez à partir de PyPi, ces dépendances devraient être "
"installées automatiquement. Si vous installez à partir des sources, les "
"dépendances peuvent toujours être installées à partir de PyPi avec :"
#: ../../source/technical/source.rst:55
msgid ""
"On Linux distros, the Qt library is usually split up into multiple "
"packages. In some cases, secondary dependencies may not be installed "
"automatically. For novelWriter, the library files for rendering the SVG "
"icons may be left out and needs to be installed manually. This is the "
"case on for instance Arch Linux."
msgstr ""
"Sur les distributions Linux, la bibliothèque Qt est généralement divisée "
"en plusieurs paquets. Dans certains cas, des dépendances secondaires "
"peuvent ne pas être installées automatiquement. Pour novelWriter, les "
"fichiers de la bibliothèque pour le rendu des icônes SVG peuvent être "
"omis et doivent être installés manuellement. C'est le cas, par exemple, "
"sous Arch Linux."
#: ../../source/technical/source.rst:64
msgid "Build and Install from Source"
msgstr "Compiler et installer à partir des sources"
#: ../../source/technical/source.rst:66
msgid ""
"If you want to install novelWriter directly from the source available on "
"GitHub_, you must first build the package using the Python Packaging "
"Authority's build tool. It can be installed with:"
msgstr ""
"Si vous souhaitez installer novelWriter directement à partir des sources "
"disponibles sur GitHub_, vous devez d'abord construire le paquet à "
"l'aide de l'outil de construction de la Python Packaging Authority. Il "
"peut être installé avec :"
#: ../../source/technical/source.rst:73
msgid "On Debian-based systems the tool can also be installed with:"
msgstr ""
"Sur les systèmes basés sur Debian, l'outil peut également être installé "
"avec :"
#: ../../source/technical/source.rst:79
msgid ""
"With the tool installed, run the following command from the root of the "
"novelWriter source code:"
msgstr ""
"Une fois l'outil installé, exécutez la commande suivante à partir de la "
"racine du code source de novelWriter :"
#: ../../source/technical/source.rst:85
msgid ""
"This should generate a ``.whl`` file in the ``dist/`` folder at your "
"current location. The wheel file can then be installed on your system. "
"Here with example version number 2.0.7, but yours may be different:"
msgstr ""
"Cela devrait générer un fichier ``.whl`` dans le dossier ``dist/`` de "
"votre emplacement actuel. Le fichier wheel peut alors être installé sur "
"votre système. Ici avec l'exemple de la version numéro 2.0.7, mais la "
"vôtre peut être différente :"
#: ../../source/technical/source.rst:97
msgid "Building the Translation Files"
msgstr "Création des fichiers de traduction"
#: ../../source/technical/source.rst:99
msgid ""
"If you installed novelWriter from a package, the translation files "
"should be pre-built and included. If you're running novelWriter from the "
"source code, you will need to generate the files yourself. The files you "
"need will be written to the ``novelwriter/assets/i18n`` folder, and will "
"have the ``.qm`` file extension."
msgstr ""
"Si vous avez installé novelWriter à partir d'un paquetage, les fichiers "
"de traduction devraient être préconstruits et inclus. Si vous exécutez "
"novelWriter à partir du code source, vous devrez générer les fichiers "
"vous-même. Les fichiers dont vous avez besoin seront écrits dans le "
"dossier ``novelwriter/assets/i18n``, et auront l'extension ``.qm``."
#: ../../source/technical/source.rst:104
msgid "You can build the ``.qm`` files with:"
msgstr "Vous pouvez construire les fichiers ``.qm`` avec :"
#: ../../source/technical/source.rst:110
msgid ""
"This requires that the Qt Linguist tool is installed on your system. On "
"Ubuntu and Debian, the needed package is called ``qttools5-dev-tools``."
msgstr ""
"Cela nécessite que l'outil Qt Linguist soit installé sur votre système. "
"Sur Ubuntu et Debian, le paquet nécessaire s'appelle ``qttools5-dev-"
"tools``."
#: ../../source/technical/source.rst:115
msgid ""
"If you want to improve novelWriter with translation files for another "
"language, or update an existing translation, instructions for how to "
"contribute can be found in the ``README.md`` file in the ``i18n`` folder "
"of the source code."
msgstr ""
"Si vous voulez améliorer novelWriter avec des fichiers de traduction "
"pour une autre langue, ou mettre à jour une traduction existante, les "
"instructions pour contribuer peuvent être trouvées dans le fichier "
"``README.md`` dans le dossier ``i18n`` du code source."
#: ../../source/technical/source.rst:123
msgid "Building the Example Project"
msgstr "Construction du projet d'exemple"
#: ../../source/technical/source.rst:125
msgid ""
"In order to be able to create new projects from example files, you need "
"a ``sample.zip`` file in the ``assets`` folder of the source. This file "
"can be built from the ``pkgutils.py`` script by running:"
msgstr ""
"Afin de pouvoir créer de nouveaux projets à partir des fichiers "
"d'exemple, vous avez besoin d'un fichier ``sample.zip`` dans le dossier "
"``assets`` de la source. Ce fichier peut être construit à partir du "
"script ``pkgutils.py`` en exécutant :"
#: ../../source/technical/source.rst:137
msgid "Building the Documentation"
msgstr "Élaboration de la documentation"
#: ../../source/technical/source.rst:139
msgid ""
"A local copy of this documentation can be generated as HTML. This "
"requires installing some Python packages from PyPi:"
msgstr ""
"Une copie locale de cette documentation peut être générée au format "
"HTML. Cela nécessite l'installation de certains paquets Python à partir "
"de PyPi :"
#: ../../source/technical/source.rst:146
msgid ""
"The documentation can then be built from the root folder in the source "
"code by running:"
msgstr ""
"La documentation peut ensuite être créée à partir du dossier racine du "
"code source en lançant le programme :"
#: ../../source/technical/source.rst:152
msgid ""
"If successful, the documentation should be available in the ``docs/build/"
"html`` folder and you can open the ``index.html`` file in your browser."
msgstr ""
"En cas de succès, la documentation devrait être disponible dans le "
"dossier `docs/build/html` et vous pouvez ouvrir le fichier `index.html` "
"dans votre navigateur."
#: ../../source/technical/source.rst:155
msgid ""
"You can also build a PDF manual from the documentation using the "
"``pkgutils.py`` script:"
msgstr ""
"Vous pouvez également créer un manuel PDF à partir de la documentation "
"en utilisant le script ``pkgutils.py`` :"
#: ../../source/technical/source.rst:161
msgid ""
"This will build the English documentation as a PDF using LaTeX. The file "
"will then be copied into the assets folder and made available in the "
"**Help** menu in novelWriter. Replace ``en`` with ``all`` to build for "
"all languages. The Sphinx build system has a few extra dependencies when "
"building the PDF. Please check the `Sphinx Docs`_ for more details."
msgstr ""
"Cela permettra de créer la documentation anglaise au format PDF en "
"utilisant LaTeX. Le fichier sera ensuite copié dans le dossier assets et "
"rendu disponible dans le menu **Aide** de novelWriter. Remplacez ``en`` "
"par ``all`` pour construire pour toutes les langues. Le système de "
"construction Sphinx a quelques dépendances supplémentaires lors de la "
"construction du PDF. Veuillez consulter la `Docs Sphinx`_ pour plus de "
"détails."

View File

@@ -0,0 +1,501 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 11:33+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/technical/storage.rst:5
msgid "How Data is Stored"
msgstr "Comment les données sont stockées"
#: ../../source/technical/storage.rst:9
msgid ""
"This chapter contains details of how novelWriter stores and handles the "
"project data."
msgstr ""
"Ce chapitre contient des détails sur la manière dont novelWriter stocke "
"et gère les données du projet."
#: ../../source/technical/storage.rst:13
msgid "Overview"
msgstr "Présentation générale"
#: ../../source/technical/storage.rst:15
msgid ""
"The files of a novelWriter project are stored in a dedicated project "
"folder. The project structure is kept in a file at the root of this "
"folder called ``nwProject.nwx``. All the document files and associated "
"meta data are stored in other folders below the project folder."
msgstr ""
"Les fichiers d'un projet novelWriter sont stockés dans un dossier dédié "
"au projet. La structure du projet est conservée dans un fichier à la "
"racine de ce dossier appelé ``nwProject.nwx``. Tous les fichiers de "
"documents et les métadonnées associées sont stockés dans d'autres "
"dossiers sous le dossier du projet."
#: ../../source/technical/storage.rst:19
msgid "This way of storing data was chosen for several reasons."
msgstr ""
"Ce mode de stockage des données a été choisi pour plusieurs raisons."
#: ../../source/technical/storage.rst:21
msgid ""
"Firstly, all the text you add to your project is saved directly to your "
"project folder in separate files. Only the project structure and the "
"text you are currently editing is stored in memory at any given time, "
"which means there is a smaller risk of losing data if the application or "
"your computer crashes."
msgstr ""
"Tout d'abord, tout le texte que vous ajoutez à votre projet est "
"enregistré directement dans le dossier de votre projet, dans des "
"fichiers séparés. Seule la structure du projet et le texte que vous êtes "
"en train d'éditer sont stockés en mémoire à un moment donné, ce qui "
"signifie qu'il y a moins de risque de perdre des données si "
"l'application ou votre ordinateur tombe en panne."
#: ../../source/technical/storage.rst:26
msgid ""
"Secondly, having multiple small files means it is very easy to "
"synchronise them between computers with standard file synchronisation "
"tools."
msgstr ""
"Deuxièmement, le fait d'avoir plusieurs petits fichiers signifie qu'il "
"est très facile de les synchroniser entre ordinateurs à l'aide d'outils "
"de synchronisation de fichiers standard."
#: ../../source/technical/storage.rst:29
msgid ""
"Thirdly, if you use `version control`_ software to track the changes to "
"your project, the file formats used for the files are well suited. All "
"the JSON documents have line breaks and indents as well, which makes it "
"easier to track them with version control software."
msgstr ""
"Troisièmement, si vous utilisez un logiciel de `contrôle de version`_ "
"pour suivre les modifications apportées à votre projet, les formats "
"utilisés pour les fichiers sont bien adaptés. Tous les documents JSON "
"comportent des sauts de ligne et des retraits, ce qui facilite leur "
"suivi avec un logiciel de contrôle de version."
#: ../../source/technical/storage.rst:35
msgid ""
"Since novelWriter has to keep track of a bunch of files and folders when "
"a project is open, it may not run well on some virtual file systems. A "
"file or folder must be accessible with exactly the path it was saved or "
"created with. An example where this is not the case is the way Google "
"Drive is mapped on Linux Gnome desktops using gvfs/gio."
msgstr ""
"Comme novelWriter doit garder la trace d'un grand nombre de fichiers et "
"de dossiers lorsqu'un projet est ouvert, il peut ne pas fonctionner "
"correctement sur certains systèmes de fichiers virtuels. Un fichier ou "
"un dossier doit être accessible avec exactement le chemin avec lequel il "
"a été sauvegardé ou créé. Un exemple où ce n'est pas le cas est la façon "
"dont Google Drive est mappé sur les bureaux Linux Gnome en utilisant "
"gvfs/gio."
#: ../../source/technical/storage.rst:42
msgid ""
"You should not add additional files to the project folder yourself. Nor "
"should you, as a rule, manually edit files within it. If you really must "
"manually edit the text files, e.g. with some automated task you want to "
"perform, you need to rebuild the Project Index when you open the project "
"again."
msgstr ""
"Vous ne devez pas ajouter vous-même des fichiers supplémentaires au "
"dossier du projet. En règle générale, vous ne devez pas non plus "
"modifier manuellement les fichiers qui s'y trouvent. Si vous devez "
"vraiment modifier manuellement les fichiers texte, par exemple dans le "
"cadre d'une tâche automatisée, vous devez reconstruire l'index du projet "
"lorsque vous ouvrez à nouveau le projet."
#: ../../source/technical/storage.rst:47
msgid ""
"Editing text files in the ``content`` folder is less risky as these are "
"just plain text. Editing the main project XML file, however, may make "
"the project file unreadable and you may crash novelWriter and lose "
"project structure information and project settings."
msgstr ""
"L'édition de fichiers texte dans le dossier ``content`` est moins "
"risquée car il s'agit de texte simple. Cependant, éditer le fichier XML "
"du projet principal peut rendre le fichier du projet illisible et vous "
"risquez de planter novelWriter et de perdre les informations sur la "
"structure et les paramètres du projet."
#: ../../source/technical/storage.rst:53
msgid "Project Structure"
msgstr "Structure du projet"
#: ../../source/technical/storage.rst:55
msgid ""
"All novelWriter files are written with utf-8 encoding. Since Python "
"automatically converts Unix line endings to Windows line endings on "
"Windows systems, novelWriter does not make any adaptations to the "
"formatting on Windows systems. This is handled entirely by the Python "
"standard library. Python also handles this when working on the same "
"files on both Windows and Unix-based operating systems."
msgstr ""
"Tous les fichiers novelWriter sont écrits avec l'encodage utf-8. Comme "
"Python convertit automatiquement les fins de ligne Unix en fins de ligne "
"Windows sur les systèmes Windows, novelWriter ne fait aucune adaptation "
"au formatage sur les systèmes Windows. Ceci est entièrement géré par la "
"bibliothèque standard de Python. Python s'en occupe également lorsqu'il "
"travaille sur les mêmes fichiers sur les systèmes d'exploitation Windows "
"et Unix."
#: ../../source/technical/storage.rst:63
msgid "Main Project File"
msgstr "Fichier principal du projet"
#: ../../source/technical/storage.rst:65
msgid ""
"The project itself requires a dedicated folder for storing its files, "
"where novelWriter will create its own \"file system\" where the "
"project's folder and file hierarchy is described in a project XML file. "
"This is the main project file in the project's root folder with the name "
"``nwProject.nwx``. This file also contains all the meta data required "
"for the project (except the index data), and a number of related project "
"settings."
msgstr ""
"Le projet lui-même nécessite un dossier dédié pour stocker ses fichiers, "
"où novelWriter créera son propre « système de fichiers » où la "
"hiérarchie des dossiers et des fichiers du projet est décrite dans un "
"fichier XML du projet. C'est le fichier principal du projet dans le "
"dossier racine du projet avec le nom ``nwProject.nwx``. Ce fichier "
"contient également toutes les métadonnées requises pour le projet (à "
"l'exception des données d'index), ainsi qu'un certain nombre de "
"paramètres liés au projet."
#: ../../source/technical/storage.rst:71
msgid ""
"If this file is lost or corrupted, the structure of the project is lost, "
"although not the text itself. It is important to keep this file backed "
"up, either through the built-in backup tool, or your own backup solution."
msgstr ""
"Si ce fichier est perdu ou corrompu, la structure du projet est perdue, "
"mais pas le texte lui-même. Il est important de sauvegarder ce fichier, "
"soit à l'aide de l'outil de sauvegarde intégré, soit à l'aide de votre "
"propre solution de sauvegarde."
#: ../../source/technical/storage.rst:75
msgid ""
"The project XML file is indent-formatted, and is suitable for diff tools "
"and version control since most of the file will stay static, although a "
"timestamp is set in the meta section on line 2, and various meta data "
"entries incremented, on each save."
msgstr ""
"Le fichier XML du projet est formaté en indentation et convient aux "
"outils de comparaison et de contrôle de version, car la majeure partie "
"du fichier reste statique, bien qu'un horodatage soit défini dans la "
"section méta à la ligne 2 et que diverses entrées de données méta soient "
"incrémentées à chaque enregistrement."
#: ../../source/technical/storage.rst:79
msgid ""
"A full project file format specification is available under \"More "
"Documents\"."
msgstr ""
"Une spécification complète du format de fichier du projet est disponible "
"sous « Plus d'informations »."
#: ../../source/technical/storage.rst:83
msgid "Project Documents"
msgstr "Documents de projet"
#: ../../source/technical/storage.rst:85
msgid ""
"All the project documents are saved in a subfolder of the main project "
"folder named ``content``. Each document has a file handle based on a 52 "
"bit random number, represented as a hexadecimal string. The documents "
"are saved with a filename assembled from this handle and the file "
"extension ``.nwd``."
msgstr ""
"Tous les documents du projet sont enregistrés dans un sous-dossier du "
"dossier principal du projet nommé ``content``. Chaque document possède "
"un identifiant de fichier basé sur un nombre aléatoire de 52 bits, "
"représenté sous la forme d'une chaîne hexadécimale. Les documents sont "
"enregistrés avec un nom de fichier assemblé à partir de cet identifiant "
"et de l'extension ``.nwd``."
#: ../../source/technical/storage.rst:90
msgid ""
"If you wish to find the file system location of a document in the "
"project, you can either look it up in the project XML file, select "
"**Show File Details** from the **Document** menu when having the "
"document open in the editor, or look in the ``ToC.txt`` file in the root "
"of the project folder. The ``ToC.txt`` file has a list of all documents "
"in the project, referenced by their label, and where they are saved."
msgstr ""
"Si vous souhaitez trouver l'emplacement du système de fichiers d'un "
"document dans le projet, vous pouvez soit le rechercher dans le fichier "
"XML du projet, soit sélectionner **Afficher les détails du fichier** "
"dans le menu **Document** lorsque le document est ouvert dans l'éditeur, "
"soit rechercher dans le fichier ``ToC.txt`` à la racine du dossier du "
"projet. Le fichier ``ToC.txt`` contient une liste de tous les documents "
"du projet, référencés par leur étiquette, et l'endroit où ils sont "
"sauvegardés."
#: ../../source/technical/storage.rst:96
msgid ""
"The reason for this cryptic file naming is to avoid issues with file "
"naming conventions and restrictions on different operating systems, and "
"also to have a file name that does not depend on what you name the "
"document within the project, or changes it to. This is particularly "
"useful when using a versioning system."
msgstr ""
"La raison de ce nom de fichier cryptique est d'éviter les problèmes liés "
"aux conventions de dénomination des fichiers et aux restrictions sur les "
"différents systèmes d'exploitation, et aussi d'avoir un nom de fichier "
"qui ne dépend pas du nom que vous donnez au document dans le projet, ou "
"des modifications que vous lui apportez. Ceci est particulièrement utile "
"lors de l'utilisation d'un système de gestion des versions."
#: ../../source/technical/storage.rst:101
msgid ""
"Each document file contains a plain text version of the text from the "
"editor. The file can in principle be edited in any text editor, and is "
"suitable for diffing and version control if so desired. Just make sure "
"the file remains in utf-8 encoding, otherwise unicode characters may "
"become mangled when the file is opened in novelWriter again."
msgstr ""
"Chaque fichier de document contient une version en texte brut du texte "
"de l'éditeur. Le fichier peut en principe être édité dans n'importe quel "
"éditeur de texte, et convient pour le diffing et le contrôle de version "
"si on le souhaite. Assurez-vous simplement que le fichier reste en "
"encodage utf-8, sinon les caractères unicode risquent d'être altérés "
"lorsque le fichier est ouvert dans novelWriter."
#: ../../source/technical/storage.rst:106
msgid ""
"Editing these files is generally not recommended. The reason for this is "
"that the index will not be automatically updated when doing so, which "
"means novelWriter doesn't know you've altered the file. If you *do* edit "
"a file in this manner, you should rebuild the index when you next open "
"the project in novelWriter."
msgstr ""
"Il est généralement déconseillé de modifier ces fichiers. La raison en "
"est que l'index ne sera pas automatiquement mis à jour, ce qui signifie "
"que novelWriter ne sait pas que vous avez modifié le fichier. Si vous "
"modifiez un fichier de cette manière, vous devez reconstruire l'index "
"lorsque vous ouvrez le projet dans novelWriter."
#: ../../source/technical/storage.rst:111
#, python-format
msgid ""
"The first lines of the file may contain some meta data starting with the "
"characters ``%%~``. These lines are mainly there to restore some "
"information if the file is lost from the main project file, and the "
"information may be helpful if you do open the file in an external editor "
"as it contains the document label and the document class and layout. The "
"lines can be deleted without any consequences to the rest of the content "
"of the file, and will be added back the next time the document is saved "
"in novelWriter."
msgstr ""
"Les premières lignes du fichier peuvent contenir des métadonnées "
"commençant par les caractères ``%%~``. Ces lignes sont principalement là "
"pour restaurer certaines informations si le fichier est perdu dans le "
"fichier principal du projet, et ces informations peuvent être utiles si "
"vous ouvrez le fichier dans un éditeur externe car elles contiennent "
"l'étiquette du document ainsi que la classe et la mise en page du "
"document. Les lignes peuvent être supprimées sans conséquences pour le "
"reste du contenu du fichier, et seront ajoutées la prochaine fois que le "
"document sera sauvegardé dans novelWriter."
#: ../../source/technical/storage.rst:120
msgid "The File Saving Process"
msgstr "Le processus d'enregistrement des fichiers"
#: ../../source/technical/storage.rst:122
msgid ""
"When saving the project file, or any of the documents, the data is first "
"saved to a temporary file. If successful, the old data file is then "
"removed, and the temporary file replaces it. This ensures that the "
"previously saved data is only replaced when the new data has been "
"successfully saved to the storage medium."
msgstr ""
"Lors de l'enregistrement du fichier de projet ou de l'un des documents, "
"les données sont d'abord enregistrées dans un fichier temporaire. En cas "
"de succès, l'ancien fichier de données est alors supprimé et remplacé "
"par le fichier temporaire. Cela garantit que les données précédemment "
"enregistrées ne sont remplacées que lorsque les nouvelles données ont "
"été enregistrées avec succès sur le support de stockage."
#: ../../source/technical/storage.rst:129
msgid "Project Meta Data"
msgstr "Métadonnées du projet"
#: ../../source/technical/storage.rst:131
msgid ""
"The project folder contains a subfolder named ``meta``, containing a "
"number of files. The meta folder contains semi-important files. That is, "
"they can be lost with only minor impact to the project. All files in "
"this folder are JSON or JSON Lines files, although some other files may "
"remain from earlier versions of novelWriter as they haven't all been "
"JSON files in the past."
msgstr ""
"Le dossier du projet contient un sous-dossier nommé ``meta``, contenant "
"un certain nombre de fichiers. Le dossier meta contient des fichiers "
"semi-importants. C'est-à-dire qu'ils peuvent être perdus avec un impact "
"mineur sur le projet. Tous les fichiers de ce dossier sont des fichiers "
"JSON ou JSON Lines, bien que certains autres fichiers puissent provenir "
"de versions antérieures de novelWriter, car ils n'ont pas tous été des "
"fichiers JSON dans le passé."
#: ../../source/technical/storage.rst:136
msgid ""
"If you use version control software on your project, you can exclude "
"this folder, although you may want to track the session log file and the "
"custom words list."
msgstr ""
"Si vous utilisez un logiciel de contrôle de version pour votre projet, "
"vous pouvez exclure ce dossier, même si vous souhaitez suivre le fichier "
"journal de la session et la liste des mots personnalisés."
#: ../../source/technical/storage.rst:141
msgid "The Project Index"
msgstr "L'index des projets"
#: ../../source/technical/storage.rst:143
msgid ""
"Between writing sessions, the project index is saved in a JSON file in "
"``meta/index.json``. This file is not critical. If it is lost, it can be "
"completely rebuilt from within novelWriter from the **Tools** menu."
msgstr ""
"Entre les sessions d'écriture, l'index du projet est sauvegardé dans un "
"fichier JSON dans ``meta/index.json``. Ce fichier n'est pas critique. "
"S'il est perdu, il peut être complètement reconstruit à partir de "
"novelWriter dans le menu **Outils**."
#: ../../source/technical/storage.rst:147
msgid ""
"The index is maintained and updated whenever a document or note is saved "
"in the editor. It contains all references and tags in documents and "
"notes, as well as the location of all headers in the project, and the "
"word counts within each header section."
msgstr ""
"L'index est maintenu et mis à jour chaque fois qu'un document ou une "
"note est enregistré dans l'éditeur. Il contient toutes les références et "
"les balises des documents et des notes, ainsi que l'emplacement de tous "
"les en-têtes dans le projet et le nombre de mots dans chaque section de "
"l'en-tête."
#: ../../source/technical/storage.rst:151
msgid ""
"The integrity of the index is checked when the file is loaded. It is "
"possible to corrupt the index if the file is manually edited and "
"manipulated, so the check is important to avoid sudden crashes of "
"novelWriter. If the file contains errors, novelWriter will automatically "
"build it anew. If the check somehow fails and novelWriter keeps "
"crashing, you can delete the file manually and rebuild the index. If "
"this too fails, you have likely encountered a bug."
msgstr ""
"L'intégrité de l'index est vérifiée lorsque le fichier est chargé. Il "
"est possible de corrompre l'index si le fichier est édité et manipulé "
"manuellement, c'est pourquoi cette vérification est importante pour "
"éviter les plantages soudains de novelWriter. Si le fichier contient des "
"erreurs, novelWriter le reconstruira automatiquement. Si la vérification "
"échoue d'une manière ou d'une autre et que novelWriter continue à se "
"bloquer, vous pouvez supprimer le fichier manuellement et reconstruire "
"l'index. Si cela échoue également, vous avez probablement rencontré un "
"bogue."
#: ../../source/technical/storage.rst:159
msgid "Build Definitions"
msgstr "Définitions des compilations"
#: ../../source/technical/storage.rst:161
msgid ""
"The build definitions from the **Manuscript Build** tool are kept in the "
"``meta/builds.json`` file. If this file is lost, all custom build "
"definitions are lost too."
msgstr ""
"Les définitions de construction de l'outil **Compilation du manuscrit** "
"sont conservées dans le fichier ``meta/builds.json``. Si ce fichier est "
"perdu, toutes les définitions de construction personnalisées sont "
"également perdues."
#: ../../source/technical/storage.rst:166
msgid "Cached GUI Options"
msgstr "Options de l'interface graphique mises en cache"
#: ../../source/technical/storage.rst:168
msgid ""
"A file named ``meta/options.json`` contains the latest state of various "
"GUI buttons, switches, dialog window sizes, column sizes, etc, from the "
"GUI. These are the GUI settings that are specific to the project. Global "
"GUI settings are stored in the main config file."
msgstr ""
"Un fichier nommé ``meta/options.json`` contient le dernier état des "
"différents boutons de l'interface graphique, des commutateurs, de la "
"taille des fenêtres de dialogue, de la taille des colonnes, etc, de "
"l'interface graphique. Ce sont les paramètres de l'interface graphique "
"qui sont spécifiques au projet. Les paramètres globaux de l'interface "
"graphique sont stockés dans le fichier de configuration principal."
#: ../../source/technical/storage.rst:172
msgid ""
"The file is not critical, but if it is lost, all such GUI options will "
"revert back to their default settings."
msgstr ""
"Le fichier n'est pas critique, mais s'il est perdu, toutes les options "
"de l'interface graphique reviendront à leurs paramètres par défaut."
#: ../../source/technical/storage.rst:177
msgid "Custom Word List"
msgstr "Liste des mots personnalisés"
#: ../../source/technical/storage.rst:179
msgid ""
"A file named ``meta/userdict.json`` contains all the custom words you've "
"added to the project for spell checking purposes. The content of the "
"file can be edited from the **Tools** menu. If you lose this file, all "
"your custom spell check words will be lost too."
msgstr ""
"Un fichier nommé ``meta/userdict.json`` contient tous les mots "
"personnalisés que vous avez ajoutés au projet à des fins de vérification "
"orthographique. Le contenu de ce fichier peut être édité à partir du "
"menu **Outils**. Si vous perdez ce fichier, tous vos mots personnalisés "
"pour la vérification orthographique seront également perdus."
#: ../../source/technical/storage.rst:185
msgid "Session Stats"
msgstr "Statistiques de la session"
#: ../../source/technical/storage.rst:187
msgid ""
"The writing progress is saved in the ``meta/sessions.jsonl`` file. This "
"file records the length and word counts of each writing session on the "
"given project. The file is used by the **Writing Statistics** tool. If "
"this file is lost, the history it contains is also lost, but it has "
"otherwise no impact on the project."
msgstr ""
"La progression de l'écriture est sauvegardée dans le fichier ``meta/"
"sessions.jsonl``. Ce fichier enregistre la durée et le nombre de mots de "
"chaque session d'écriture sur le projet donné. Ce fichier est utilisé "
"par l'outil **Statistiques d'écriture**. Si ce fichier est perdu, "
"l'historique qu'il contient est également perdu, mais cela n'a par "
"ailleurs aucun impact sur le projet."
#: ../../source/technical/storage.rst:192
msgid ""
"Each session is recorded as a JSON object on a single line of the file. "
"Each session record is appended tot he file."
msgstr ""
"Chaque session est enregistrée sous la forme d'un objet JSON sur une "
"seule ligne du fichier. Chaque enregistrement de session est ajouté au "
"fichier."

View File

@@ -0,0 +1,160 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 11:41+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/technical/tests.rst:5
msgid "Running Tests"
msgstr "Exécution des tests"
#: ../../source/technical/tests.rst:7
msgid ""
"The novelWriter source code is well covered by tests. The test framework used "
"for the development is ``pytest`` with the use of an extension for Qt."
msgstr ""
"Le code source de novelWriter est bien couvert par des tests. Le cadre de test "
"utilisé pour le développement est ``pytest`` avec l'utilisation d'une extension "
"pour Qt."
#: ../../source/technical/tests.rst:12
msgid "Dependencies"
msgstr "Dépendances"
#: ../../source/technical/tests.rst:14
msgid "The dependencies for running the tests can be installed with:"
msgstr ""
"Les dépendances nécessaires à l'exécution des tests peuvent être installées "
"avec :"
#: ../../source/technical/tests.rst:20
msgid ""
"This will install a couple of extra packages for coverage and test management. "
"The minimum requirement is ``pytest`` and ``pytest-qt``."
msgstr ""
"Cela installera quelques paquets supplémentaires pour la couverture et la "
"gestion des tests. Le minimum requis est ``pytest`` et ``pytest-qt``."
#: ../../source/technical/tests.rst:25
msgid "Simple Test Run"
msgstr "Test simple"
#: ../../source/technical/tests.rst:27
msgid ""
"To run the tests, you simply need to execute the following from the root of the "
"source folder:"
msgstr ""
"Pour exécuter les tests, il suffit d'exécuter ce qui suit à partir de la racine "
"du dossier source :"
#: ../../source/technical/tests.rst:33
msgid ""
"Since several of the tests involve opening up the novelWriter GUI, you may want "
"to disable the GUI for the duration of the test run. Moving your mouse while "
"the tests are running may otherwise interfere with the execution of some tests."
msgstr ""
"Puisque plusieurs des tests impliquent l'ouverture de l'interface graphique de "
"novelWriter, vous pouvez désactiver l'interface graphique pour la durée de "
"l'exécution du test. Si vous déplacez votre souris pendant que les tests sont "
"en cours d'exécution, vous risquez d'interférer avec l'exécution de certains "
"tests."
#: ../../source/technical/tests.rst:37
msgid ""
"You can disable the renderring of the GUI by setting the flag "
"``QT_QPA_PLATFORM=offscreen``:"
msgstr ""
"Vous pouvez désactiver le rendu de l'interface graphique en définissant le "
"drapeau ``QT_QPA_PLATFORM=offscreen`` :"
#: ../../source/technical/tests.rst:45
msgid "Advanced Options"
msgstr "Options avancées"
#: ../../source/technical/tests.rst:47
msgid ""
"Adding the flag ``-v`` to the ``pytest`` command will increase verbosity of the "
"test execution."
msgstr ""
"L'ajout du drapeau ``-v`` à la commande ``pytest`` augmente la verbosité de "
"l'exécution du test."
#: ../../source/technical/tests.rst:49
msgid "You can also add coverage report generation. For instance to HTML:"
msgstr ""
"Vous pouvez également ajouter la génération de rapports de couverture. Par "
"exemple en HTML :"
#: ../../source/technical/tests.rst:55
msgid "Other useful report formats are ``xml``, and ``term`` for terminal output."
msgstr ""
"D'autres formats de rapport utiles sont ``xml``, et ``term`` pour la sortie "
"terminal."
#: ../../source/technical/tests.rst:57
msgid ""
"You can also run tests per subpackage of novelWriter with the ``-m`` command. "
"The available subpackage groups are ``base``, ``core``, and ``gui``. Consider "
"for instance:"
msgstr ""
"Vous pouvez aussi lancer des tests par sous-paquet de novelWriter avec la "
"commande ``-m``. Les groupes de sous-paquetages disponibles sont ``base``, "
"``core``, et ``gui``. Prenons un exemple :"
#: ../../source/technical/tests.rst:64
msgid ""
"This will only run the tests of the \"core\" package, that is, all the classes "
"that deal with the project data of a novelWriter project. The \"gui\" tests, "
"likewise, will run the tests for the GUI components, and the \"base\" tests "
"cover the bits in-between."
msgstr ""
"Ceci n'exécutera que les tests du paquet « core », c'est-à-dire toutes les "
"classes qui traitent les données d'un projet novelWriter. Les tests « gui », de "
"même, exécuteront les tests des composants de l'interface graphique, et les "
"tests « base » couvriront les éléments intermédiaires."
#: ../../source/technical/tests.rst:68
msgid ""
"You can also filter the tests with the ``-k`` switch. The following will do the "
"same as ``-m core``:"
msgstr ""
"Vous pouvez également filtrer les tests avec le commutateur ``-k``. Ce qui suit "
"fera la même chose que ``-m core`` :"
#: ../../source/technical/tests.rst:75
msgid ""
"All tests are named in such a way that you can filter them by adding more bits "
"of the test names. They all start with the word \"test\". Then comes the group: "
"\"Core\", \"Base\", \"Dlg\", \"Tool\", or \"Gui\". Finally comes the name of "
"the class or module, which generally corresponds to a single source code file. "
"For instance, running the following will run all tests for the document editor:"
msgstr ""
"Tous les tests sont nommés de manière à ce que vous puissiez les filtrer en "
"ajoutant d'autres éléments aux noms des tests. Ils commencent tous par le mot « "
"test ». Vient ensuite le groupe : « Core », “Base”, “Dlg”, “Tool” ou “Gui”. "
"Enfin, vient le nom de la classe ou du module, qui correspond généralement à un "
"seul fichier de code source. Par exemple, l'exécution de ce qui suit lancera "
"tous les tests pour l'éditeur de documents :"
#: ../../source/technical/tests.rst:84
msgid "To run a single test, simply add the full test name to the ``-k`` switch."
msgstr ""
"Pour lancer un seul test, il suffit d'ajouter le nom complet du test au "
"commutateur ``-k``."

View File

@@ -0,0 +1,392 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 16:04+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/advanced_formatting.rst:5
msgid "Advanced Formatting"
msgstr "Mise en forme avancée"
#: ../../source/usage/advanced_formatting.rst:7
msgid ""
"Standard Markdown formatting is somewhat limited, so novelWriter has some "
"additional formatting codes for special use cases. These codes are all based "
"on brackets, and some allow an additional value to be set after a colon."
msgstr ""
"Le formatage Markdown standard est quelque peu limité, c'est pourquoi "
"novelWriter dispose de quelques codes de formatage supplémentaires pour des "
"cas d'utilisation particuliers. Ces codes sont tous basés sur les crochets, et "
"certains permettent de définir une valeur supplémentaire après les deux points."
#: ../../source/usage/advanced_formatting.rst:11
msgid "This section covers all these formatting codes."
msgstr "Cette section couvre tous ces codes de formatage."
#: ../../source/usage/advanced_formatting.rst:17
msgid "Formatting with Shortcodes"
msgstr "Mise en forme avec les shortcodes"
#: ../../source/usage/advanced_formatting.rst:19
msgid ""
"For basic formatting, like emphasis, you should use the standard Markdown "
"style formatting tags descried in :ref:`docs_usage_basics_emphasis` whenever "
"possible."
msgstr ""
"Pour le formatage de base, comme la mise en valeur, vous devriez utiliser les "
"balises de formatage standard du style Markdown décrites dans :ref:"
"`docs_usage_basics_emphasis` chaque fois que possible."
#: ../../source/usage/advanced_formatting.rst:22
msgid ""
"For additional formatting options, you can use shortcodes. Shortcodes is a "
"form of in-line codes that wrap the section of text to be formatted. "
"Shortcodes can be nested to apply multiple formats to the same piece of text."
msgstr ""
"Pour des options de formatage supplémentaires, vous pouvez utiliser des "
"shortcodes. Les shortcodes sont une forme de codes en ligne qui enveloppent la "
"section de texte à mettre en forme. Les shortcodes peuvent être imbriqués pour "
"appliquer plusieurs formats à la même partie de texte."
#: ../../source/usage/advanced_formatting.rst:26
msgid ""
"These shortcodes are intended for special formatting cases, or more complex "
"cases that cannot be solved with simple Markdown-like formatting codes. "
"Available shortcodes are listed below."
msgstr ""
"Ces shortcodes sont destinés à des cas de formatage spéciaux ou à des cas plus "
"complexes qui ne peuvent pas être résolus avec de simples codes de formatage "
"de type Markdown. Les shortcodes disponibles sont énumérés ci-dessous."
#: ../../source/usage/advanced_formatting.rst:29
msgid "Shortcodes Formats"
msgstr "Formats des shortcodes"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Syntax"
msgstr "Syntaxe"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Description"
msgstr "Description"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[b]text[/b]``"
msgstr "``[b]texte[/b]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Text is displayed as bold text."
msgstr "Le texte est affiché en gras."
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[i]text[/i]``"
msgstr "``[i]texte[/i]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Text is displayed as italicised text."
msgstr "Le texte est affiché en italique."
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[s]text[/s]``"
msgstr "``[s]texte[/s]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Text is displayed as strike through text."
msgstr "Le texte est affiché sous forme de texte barré."
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[u]text[/u]``"
msgstr "``[u]texte[/u]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Text is displayed as underlined text."
msgstr "Le texte est affiché sous forme de texte souligné."
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[m]text[/m]``"
msgstr "``[m]texte[/m]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Text is displayed as highlighted text."
msgstr "Le texte est affiché en surbrillance."
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[sup]text[/sup]``"
msgstr "``[sup]texte[/sup]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Text is displayed as superscript text."
msgstr "Le texte est affiché en exposant."
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[sub]text[/sub]``"
msgstr "``[sub]texte[/sub]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Text is displayed as subscript text."
msgstr "Le texte est affiché en indice."
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[footnote:key]``"
msgstr "``[footnote:clé]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "A reference to a :ref:`footnote comment <docs_usage_comments_footnotes>`."
msgstr ""
"Une référence à un :ref:`commentaire de note de bas de page "
"<docs_usage_comments_footnotes>`."
#: ../../source/usage/advanced_formatting.rst:43
msgid ""
"Unlike Markdown style codes, these can be used anywhere within a paragraph. "
"Even in the middle of a word if you need to. You can also freely combine them "
"to form more complex formatting."
msgstr ""
"Contrairement aux codes de style Markdown, ces codes peuvent être utilisés "
"n'importe où dans un paragraphe. Même au milieu d'un mot si nécessaire. Vous "
"pouvez également les combiner librement pour obtenir une mise en forme plus "
"complexe."
#: ../../source/usage/advanced_formatting.rst:46
msgid ""
"The shortcodes are available from the **Format** menu and in the editor "
"toolbar, which can be activated by clicking the left-most icon button in the "
"editor header."
msgstr ""
"Les shortcodes sont disponibles dans le menu **Format** et dans la barre "
"d'outils de l'éditeur, qui peut être activée en cliquant sur l'icône la plus à "
"gauche dans l'en-tête de l'éditeur."
#: ../../source/usage/advanced_formatting.rst:51
msgid ""
"Shortcodes are not processed until you generate a preview or generate a "
"manuscript document. So there is no highlighting of the text between the "
"formatting markers. There is also no check that your markers make sense. You "
"must ensure that you have both the opening and closing formatting markers "
"where you want them."
msgstr ""
"Les shortcodes ne sont pas traités tant que vous n'avez pas généré un aperçu "
"ou un document manuscrit. Il n'y a donc pas de mise en évidence du texte entre "
"les marqueurs de formatage. Il n'y a pas non plus de vérification de la "
"logique de vos marqueurs. Vous devez vous assurer que les marqueurs de "
"formatage d'ouverture et de fermeture se trouvent à l'endroit voulu."
#: ../../source/usage/advanced_formatting.rst:62
msgid "Vertical Space and Page Breaks"
msgstr "Espace vertical et sauts de page"
#: ../../source/usage/advanced_formatting.rst:64
msgid ""
"You can apply page breaks to partition, chapter and scene headings for novel "
"documents from the **Manuscript Build** tool. If you need to add a page break "
"or additional vertical spacing in other places, there are special codes "
"available for this purpose."
msgstr ""
"Vous pouvez appliquer des sauts de page aux en-têtes de partition, de chapitre "
"et de scène pour les documents de roman à partir de l'outil **Compiler le "
"manuscrit**. Si vous avez besoin d'ajouter un saut de page ou un espacement "
"vertical supplémentaire à d'autres endroits, il existe des codes spéciaux à "
"cet effet."
#: ../../source/usage/advanced_formatting.rst:68
msgid ""
"Adding more than one line break between paragraphs will **not** increase the "
"space between those paragraphs when generating a manuscript document. To add "
"additional space between paragraphs, add the text ``[vspace]`` on a line of "
"its own, and the **Manuscript Build** tool will insert a blank paragraph in "
"its place."
msgstr ""
"L'ajout de plus d'un saut de ligne entre les paragraphes n'augmentera **pas** "
"l'espace entre ces paragraphes lors de la génération d'un document manuscrit. "
"Pour ajouter de l'espace entre les paragraphes, ajoutez le texte ``[vspace]`` "
"sur une ligne distincte, et l'outil **Compilation du manuscrit** insérera un "
"paragraphe vide à sa place."
#: ../../source/usage/advanced_formatting.rst:73
msgid ""
"If you need multiple blank paragraphs just add a colon and a number to the "
"above code. For instance, writing ``[vspace:3]`` will insert three blank "
"paragraphs."
msgstr ""
"Si vous avez besoin de plusieurs paragraphes vides, il suffit d'ajouter deux "
"points et un chiffre au code ci-dessus. Par exemple, en écrivant "
"``[vspace:3]``, vous insérerez trois paragraphes vides."
#: ../../source/usage/advanced_formatting.rst:76
msgid ""
"If you need to add a page break somewhere, put the text ``[new page]`` on a "
"line by itself before the text you wish to start on a new page."
msgstr ""
"Si vous devez ajouter un saut de page quelque part, placez le texte ``[ new "
"page]`` sur une ligne isolée avant le texte que vous souhaitez faire commencer "
"sur une nouvelle page."
#: ../../source/usage/advanced_formatting.rst:81
msgid ""
"The page break code is applied to the text that follows it. It adds a \"page "
"break before\" mark to the text when exporting to HTML or Open Document. This "
"means that a ``[new page]`` code which has no text following it will not "
"result in a page break."
msgstr ""
"Le code de saut de page est appliqué au texte qui le suit. Il ajoute une "
"marque de « saut de page avant » au texte lors de l'exportation vers HTML ou "
"Open Document. Cela signifie qu'un code ``[ new page]`` qui n'est suivi "
"d'aucun texte n'entraînera pas de saut de page."
#: ../../source/usage/advanced_formatting.rst:85
#: ../../source/usage/advanced_formatting.rst:132
msgid ":bdg-info:`Example`"
msgstr ":bdg-info:`Exemple`"
#: ../../source/usage/advanced_formatting.rst:104
msgid "Inserting Word Counts in the Text"
msgstr "Insérer le nombre de mots dans le texte"
#: ../../source/usage/advanced_formatting.rst:106
msgid ""
"The cover page of a manuscript normally has the word count stated on it. Any "
"statistics value collected by novelWriter can be inserted into any document "
"using a special shortcode. You can insert the code for any of the available "
"statistics values from the **Insert** menu under **Word/Character Count**."
msgstr ""
"La page de couverture d'un manuscrit indique normalement le nombre de mots. "
"Toute valeur statistique collectée par novelWriter peut être insérée dans "
"n'importe quel document à l'aide d'un shortcode spécial. Vous pouvez insérer "
"le code pour n'importe quelle valeur statistique disponible dans le menu "
"**Insérer** sous **Nombre de mots/caractères**."
#: ../../source/usage/advanced_formatting.rst:111
msgid ""
"The value inserted is the actual count for your entire manuscript, so it is "
"not populated until you run the **Manuscript Build** tool. Until then they "
"will show up as \"0\" in the viewer panel."
msgstr ""
"La valeur insérée est le nombre réel pour l'ensemble de votre manuscrit, elle "
"n'est donc pas renseignée tant que vous n'avez pas exécuté l'outil "
"**Compilation du manuscrit**. Jusqu'à ce moment-là, ils apparaîtront sous la "
"forme d'un « 0 » dans le panneau de visualisation."
#: ../../source/usage/advanced_formatting.rst:114
msgid "The available codes are:"
msgstr "Les codes disponibles sont les suivants :"
#: ../../source/usage/advanced_formatting.rst:116
msgid "Stats Shortcodes"
msgstr "Shortcodes de statistiques"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Code"
msgstr "Code"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:allChars]``"
msgstr "``[field:allChars]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Characters"
msgstr "Personnages"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:textChars]``"
msgstr "``[field:textChars]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Characters in Text"
msgstr "Caractères dans un texte"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:titleChars]``"
msgstr "``[field:titleChars]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Characters in Headings"
msgstr "Caractères dans les titres"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:paragraphCount]``"
msgstr "``[field:paragraphCount]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Paragraphs"
msgstr "Paragraphes"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:titleCount]``"
msgstr "``[field:titleCount]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Headings"
msgstr "En-têtes"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:allWordChars]``"
msgstr "``[field:allWordChars]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Characters, No Spaces"
msgstr "Caractères, sans les espaces"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:textWordChars]``"
msgstr "``[field:textWordChars]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Characters in Text, No Spaces"
msgstr "Caractères dans le texte, sans les espaces"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:titleWordChars]``"
msgstr "``[field:titleWordChars]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Characters in Headings, No Spaces"
msgstr "Caractères dans les titres, sans les espaces"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:allWords]``"
msgstr "``[field:allWords]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Words"
msgstr "Mots"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:textWords]``"
msgstr "``[field:textWords]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Words in Text"
msgstr "Mots dans le texte"
#: ../../source/usage/advanced_formatting.rst:1
msgid "``[field:titleWords]``"
msgstr "``[field:titleWords]``"
#: ../../source/usage/advanced_formatting.rst:1
msgid "Words in Headings"
msgstr "Mots dans les entêtes"
#: ../../source/usage/advanced_formatting.rst:134
msgid ""
"This is an example cover page. A similar page is automatically generated when "
"you create a new project."
msgstr ""
"Il s'agit d'un exemple de page de couverture. Une page similaire est "
"automatiquement générée lorsque vous créez un nouveau projet."

View File

@@ -0,0 +1,185 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 14:45+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/alignment_and_indent.rst:5
msgid "Alignment and Indentation"
msgstr "Alignement et indentation"
#: ../../source/usage/alignment_and_indent.rst:7
msgid ""
"The Markdown standard doesn't have commands for aligning text, so "
"novelWriter adds its own syntax for this. It also has syntax for "
"indentation, which is similar to Markdown block quotes."
msgstr ""
"Le standard Markdown n'a pas de commandes pour aligner le texte, donc "
"novelWriter ajoute sa propre syntaxe pour cela. Il dispose également "
"d'une syntaxe pour l'indentation, qui est similaire aux guillemets de "
"bloc de Markdown."
#: ../../source/usage/alignment_and_indent.rst:12
msgid "Paragraph Alignment and Indentation"
msgstr "Alignement et indentation des paragraphes"
#: ../../source/usage/alignment_and_indent.rst:14
msgid ""
"All documents have the text by default aligned to the left or justified, "
"depending on your setting in **Preferences**."
msgstr ""
"Le texte de tous les documents est par défaut aligné à gauche ou "
"justifié, selon les paramètres définis dans les **Préférences**."
#: ../../source/usage/alignment_and_indent.rst:17
msgid ""
"You can override the default text alignment on individual paragraphs by "
"specifying alignment tags. These tags are double angle brackets. Either "
"``>>`` or ``<<``. You put them either before or after the paragraph, and "
"they will \"push\" the text towards the edge the brackets point towards. "
"This should be fairly intuitive."
msgstr ""
"Vous pouvez remplacer l'alignement par défaut du texte sur des "
"paragraphes individuels en spécifiant des balises d'alignement. Ces "
"balises sont des doubles chevrons. Il peut s'agir de ``>>`` ou de "
"``<<``. Vous les placez avant ou après le paragraphe, et elles « "
"pousseront » le texte vers le bord vers lequel les crochets pointent. "
"Cela devrait être assez intuitif."
#: ../../source/usage/alignment_and_indent.rst:22
msgid ""
"Indentation uses a similar syntax. But here you use a single ``>`` or "
"``<`` to \"push\" the text away from the edge."
msgstr ""
"L'indentation utilise une syntaxe similaire. Mais ici, vous utilisez un "
"seul ``>`` ou ``<`` pour éloigner le texte du bord."
#: ../../source/usage/alignment_and_indent.rst:25
#: ../../source/usage/alignment_and_indent.rst:52
#: ../../source/usage/alignment_and_indent.rst:69
msgid ":bdg-info:`Example`"
msgstr ":bdg-info:`Exemple`"
#: ../../source/usage/alignment_and_indent.rst:27
msgid "Text Alignment and Indentation"
msgstr "Alignement et indentation du texte"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "Syntax"
msgstr "Syntaxe"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "Description"
msgstr "Description"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "``>> Right aligned text``"
msgstr "``>> Texte aligné à droite``"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "The text paragraph is right-aligned."
msgstr "Le paragraphe est aligné à droite."
#: ../../source/usage/alignment_and_indent.rst:1
msgid "``Left aligned text <<``"
msgstr "``Texte aligné à gauche <<``"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "The text paragraph is left-aligned."
msgstr "Le paragraphe est aligné à gauche."
#: ../../source/usage/alignment_and_indent.rst:1
msgid "``>> Centred text <<``"
msgstr "``>> Texte centré <<``"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "The text paragraph is centred."
msgstr "Le paragraphe est centré."
#: ../../source/usage/alignment_and_indent.rst:1
msgid "``> Left indented text``"
msgstr "``> Texte en retrait à gauche``"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "The text has an increased left margin."
msgstr "Le texte a une marge gauche plus importante."
#: ../../source/usage/alignment_and_indent.rst:1
msgid "``Right indented text <``"
msgstr "``Texte en retrait à droite <``"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "The text has an increased right margin."
msgstr "Le texte a une marge droite plus importante."
#: ../../source/usage/alignment_and_indent.rst:1
msgid "``> Left/right indented text <``"
msgstr "``> Texte indenté gauche/droite <```"
#: ../../source/usage/alignment_and_indent.rst:1
msgid "The text has both margins increased."
msgstr "Les deux marges du texte ont été augmentées."
#: ../../source/usage/alignment_and_indent.rst:41
msgid ""
"The text editor will not show the alignment and indentation live. But "
"the viewer will show them when you open the document there. It will of "
"course also be reflected in the document generated from the **Manuscript "
"Build** tool as long as the format supports paragraph alignment."
msgstr ""
"L'éditeur de texte n'affiche pas l'alignement et l'indentation en "
"direct. Mais l'afficheur les affichera lorsque vous y ouvrirez le "
"document. Ils seront bien sûr également reflétés dans le document généré "
"par l'outil de compilation de manuscrits, à condition que le format "
"prenne en charge l'alignement des paragraphes."
#: ../../source/usage/alignment_and_indent.rst:47
msgid "Alignment with Line Breaks"
msgstr "Alignement avec les sauts de ligne"
#: ../../source/usage/alignment_and_indent.rst:49
msgid ""
"If you have line breaks in the paragraph, the markers for all the lines "
"are combined and used for the entire paragraph. For the following text, "
"all lines will be centred:"
msgstr ""
"Si le paragraphe comporte des retours à la ligne, les marqueurs de "
"toutes les lignes sont combinés et utilisés pour l'ensemble du "
"paragraphe. Pour le texte suivant, toutes les lignes seront centrées :"
#: ../../source/usage/alignment_and_indent.rst:63
msgid "Alignment with First Line Indent"
msgstr "Alignement sur le retrait de la première ligne"
#: ../../source/usage/alignment_and_indent.rst:65
msgid ""
"If you have first line indent enabled in your manuscript build settings, "
"you probably want to disable it for text in verses. Adding any alignment "
"tags will cause the first line indent to be switched off for that "
"paragraph."
msgstr ""
"Si vous avez activé le retrait de première ligne dans les paramètres de "
"compilation de votre Manuscrit, vous voudrez probablement le désactiver "
"pour le texte en vers. L'ajout de balises d'alignement entraînera la "
"désactivation du retrait de première ligne pour ce paragraphe."
#: ../../source/usage/alignment_and_indent.rst:71
msgid "The following text will always be aligned against the left margin:"
msgstr "Le texte suivant sera toujours aligné sur la marge de gauche :"

View File

@@ -0,0 +1,219 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 10:44+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/basic_formatting.rst:5
msgid "Basic Formatting"
msgstr "Mise en forme de base"
#: ../../source/usage/basic_formatting.rst:9
msgid ""
"The basic text formatting syntax of novelWriter is based on Markdown_. "
"It is only a subset of the Markdown syntax though. Lists, images, and "
"links are not supported."
msgstr ""
"La syntaxe de formatage de texte de base de novelWriter est basée sur "
"Markdown_. Il ne s'agit toutefois que d'un sous-ensemble de la syntaxe "
"Markdown. Les listes, les images et les liens ne sont pas pris en charge."
#: ../../source/usage/basic_formatting.rst:12
msgid ""
"That said, URLs in the text should automatically be highlighted and "
"become clickable. However, only URLs starting with \"http\" or \"https\" "
"are recognised. In the editor, you must hold down the :kbd:`Ctrl` key "
"when clicking a URL to follow it."
msgstr ""
"Cela dit, les URL dans le texte devraient automatiquement être mis en "
"évidence et devenir cliquables. Cependant, seules les URL commençant par "
"« http » ou « https » sont reconnues. Dans l'éditeur, vous devez "
"maintenir la touche :kbd:`Ctrl` enfoncée lorsque vous cliquez sur une "
"URL pour la suivre."
#: ../../source/usage/basic_formatting.rst:20
msgid "Text Paragraphs"
msgstr "Paragraphes du texte"
#: ../../source/usage/basic_formatting.rst:22
msgid ""
"A text paragraph is indicated by a blank line. That is, you need two "
"line breaks to separate two fragments of text into two paragraphs. "
"Single line breaks are treated as line breaks within a paragraph."
msgstr ""
"Un paragraphe de texte est indiqué par une ligne blanche. En d'autres "
"termes, il faut deux sauts de ligne pour séparer deux fragments de texte "
"en deux paragraphes. Les sauts de ligne simples sont traités comme des "
"sauts de ligne à l'intérieur d'un paragraphe."
#: ../../source/usage/basic_formatting.rst:26
msgid ""
"It is important that you actually follow this rule. You should not, for "
"instance, mimic indented paragraphs manually in the editor. This, and a "
"lot of other formatting options that can be applied to text paragraphs "
"in the :ref:`Manuscript Tool <docs_ui_manuscript>` depend on paragraphs "
"being separated by blank lines."
msgstr ""
"Il est important de respecter cette règle. Vous ne devez pas, par "
"exemple, imiter les paragraphes indentés manuellement dans l'éditeur. "
"Ceci, ainsi que beaucoup d'autres options de formatage qui peuvent être "
"appliquées aux paragraphes de texte dans l'outil :ref:`Manuscript Tool "
"<docs_ui_manuscript>`, dépendent du fait que les paragraphes sont "
"séparés par des lignes vides."
#: ../../source/usage/basic_formatting.rst:31
msgid ":bdg-success:`Correct`"
msgstr ":bdg-success:`Correct`"
#: ../../source/usage/basic_formatting.rst:41
msgid ":bdg-danger:`Incorrect`"
msgstr ":bdg-danger:`Incorrect`"
#: ../../source/usage/basic_formatting.rst:50
msgid ""
"If you do as shown in the \"Incorrect\" example, novelWriter will "
"understand this as a single paragraph with two lines."
msgstr ""
"Si vous procédez comme dans l'exemple « Incorrect », novelWriter "
"comprendra qu'il s'agit d'un seul paragraphe de deux lignes."
#: ../../source/usage/basic_formatting.rst:57
msgid "Text Emphasis with Markdown"
msgstr "Mise en valeur du texte avec Markdown"
#: ../../source/usage/basic_formatting.rst:59
msgid ""
"A minimal set of Markdown text emphasis styles are supported for text "
"paragraphs."
msgstr ""
"Un ensemble minimal de styles d'accentuation de texte Markdown est pris "
"en charge pour les paragraphes de texte."
#: ../../source/usage/basic_formatting.rst:61
msgid "``_text_``"
msgstr "``_texte_``"
#: ../../source/usage/basic_formatting.rst:62
msgid "The text is rendered as emphasised text (italicised)."
msgstr "Le texte est rendu en italique."
#: ../../source/usage/basic_formatting.rst:64
msgid "``**text**``"
msgstr "``**texte**``"
#: ../../source/usage/basic_formatting.rst:65
msgid "The text is rendered as strongly emphasised text (bold)."
msgstr "Le texte est rendu en gras."
#: ../../source/usage/basic_formatting.rst:67
msgid "``~~text~~``"
msgstr "``~~texte~~``"
#: ../../source/usage/basic_formatting.rst:68
msgid "Strike through text."
msgstr "Barrer le texte."
#: ../../source/usage/basic_formatting.rst:70
msgid ""
"In Markdown guides it is often recommended to differentiate between "
"strong emphasis and emphasis by using ``**`` for strong and ``_`` for "
"emphasis, although Markdown generally also supports ``__`` for strong "
"and ``*`` for emphasis. However, since the differentiation makes the "
"highlighting and conversion significantly simpler and faster, in "
"novelWriter this is a rule, not just a recommendation."
msgstr ""
"Dans les guides Markdown, il est souvent recommandé de différencier le "
"gras de l'italique en utilisant ``**`` pour le gras et ``_`` pour "
"l'italique, bien que Markdown supporte également ``__`` pour le gras et "
"``*`` pour l'italique. Cependant, puisque la différenciation rend la "
"mise en évidence et la conversion significativement plus simple et plus "
"rapide, dans novelWriter il s'agit d'une règle et non d'une simple "
"recommandation."
#: ../../source/usage/basic_formatting.rst:76
msgid "In addition, the following rules apply:"
msgstr "En outre, les règles suivantes s'appliquent :"
#: ../../source/usage/basic_formatting.rst:78
msgid ""
"The emphasis and strike through formatting tags do not allow spaces "
"between the words and the tag itself. That is, ``**text**`` is valid, "
"``**text **`` is not."
msgstr ""
"Les balises de mise en valeur et de biffage n'autorisent pas les espaces "
"entre les mots et la balise elle-même. Autrement dit, ``**texte**`` est "
"valide, ``**texte **`` ne l'est pas."
#: ../../source/usage/basic_formatting.rst:80
msgid ""
"More generally, the delimiters must be on the outer edge of words. That "
"is, ``some **text in bold** here`` is valid, ``some** text in bold** "
"here`` is not."
msgstr ""
"Plus généralement, les délimiteurs doivent se trouver aux bords des "
"mots. Autrement dit, « certains **textes en gras** ici » sont valides, « "
"certains** textes en gras** ici » ne le sont pas."
#: ../../source/usage/basic_formatting.rst:82
msgid ""
"If using both ``**`` and ``_`` to wrap the same text, the underscore "
"must be the **inner** wrapper. This is due to the underscore also being "
"a valid word character, so if they are on the outside, they violate rule "
"2."
msgstr ""
"Si vous utilisez à la fois ``**`` et ``_`` pour envelopper le même "
"texte, le trait de soulignement doit être à **l'intérieure**. Ceci est "
"dû au fait que le trait de soulignement est également un caractère "
"verbal valide, donc s'il est à l'extérieur, il viole la règle 2."
#: ../../source/usage/basic_formatting.rst:85
msgid ""
"Text emphasis does not span past line breaks. If you need to add "
"emphasis to multiple lines or paragraphs, you must apply it to each of "
"them in turn."
msgstr ""
"L'accentuation du texte ne s'étend pas au-delà des sauts de ligne. Si "
"vous devez ajouter une emphase à plusieurs lignes ou paragraphes, vous "
"devez l'appliquer à chacun d'entre eux à tour de rôle."
#: ../../source/usage/basic_formatting.rst:87
msgid ""
"Text emphasis can only be used in comments and paragraphs. Headings and "
"meta data tags don't allow for formatting, and any formatting markup "
"will be displayed as-is."
msgstr ""
"Cette mise en valeur du texte ne peut être utilisée que dans les "
"commentaires et les paragraphes. Les titres et les balises de "
"métadonnées ne permettent pas la mise en forme, et toute marque de mise "
"en forme sera affichée telle quelle."
#: ../../source/usage/basic_formatting.rst:92
msgid ""
"novelWriter supports standard escape syntax for the emphasis markup "
"characters in case the editor misunderstands your intended usage of "
"them. That is, ``\\*``, ``\\_`` and ``\\~`` will generate a plain ``*``, "
"``_`` and ``~``, respectively, without interpreting them as part of the "
"markup."
msgstr ""
"novelWriter supporte la syntaxe d'échappement standard pour les "
"caractères d'accentuation au cas où l'éditeur ne comprendrait pas "
"l'usage que vous voulez en faire. C'est-à-dire que ``\\*``, ``\\_`` et "
"``\\~`` généreront respectivement un ``*``, ``_`` et ``~``, sans les "
"interpréter comme faisant partie du balisage."

View File

@@ -0,0 +1,261 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-29 14:27+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/chapters_and_scenes.rst:5
msgid "Chapters and Scenes"
msgstr "Chapitres et scènes"
#: ../../source/usage/chapters_and_scenes.rst:9
msgid ""
"Since novelWriter uses a plain text format, the structure of your novel must "
"follow a certain set of simple rules. For documents in a **Novel** type root "
"folder, it is the heading that determines if the document is a chapter or a "
"scene."
msgstr ""
"Comme novelWriter utilise un format de texte brut, la structure de votre "
"roman doit suivre un certain nombre de règles simples. Pour les documents "
"situés dans un dossier racine de type **Roman**, c'est le titre qui détermine "
"s'il s'agit d'un chapitre ou d'une scène."
#: ../../source/usage/chapters_and_scenes.rst:13
msgid ""
"The formatting of headings is based on Markdown_. A heading is indicated by a "
"line starting with one or more ``#`` characters. It accepts up to four of "
"these. You can use multiple headings in the same document, but it is the "
"first heading that determines which icon and information is displayed in the "
"project tree."
msgstr ""
"Le formatage des titres est basé sur Markdown_. Un titre est indiqué par une "
"ligne commençant par un ou plusieurs caractères ``#``. Il en accepte jusqu'à "
"quatre. Vous pouvez utiliser plusieurs titres dans le même document, mais "
"c'est le premier titre qui détermine l'icône et les informations affichées "
"dans l'arborescence du projet."
#: ../../source/usage/chapters_and_scenes.rst:20
msgid ""
"You can use the same heading levels for your notes in the other root folders, "
"but they aren't treated as chapters or scenes, so there you are free to use "
"them as you want."
msgstr ""
"Vous pouvez utiliser les mêmes niveaux de titres pour vos notes dans les "
"autres dossiers racines, mais ils ne sont pas traités comme des chapitres ou "
"des scènes, et vous êtes donc libre de les utiliser comme vous le souhaitez."
#: ../../source/usage/chapters_and_scenes.rst:27
msgid "Heading Levels"
msgstr "Niveaux d'en-tête"
#: ../../source/usage/chapters_and_scenes.rst:31
msgid "An illustration of how heading levels correspond to the novel structure."
msgstr ""
"Illustration de la correspondance entre les niveaux d'en-tête et la structure "
"du roman."
#: ../../source/usage/chapters_and_scenes.rst:33
msgid ""
"Four levels of headings are understood for novel documents. You can pick and "
"choose from these as you want, but if your story has chapters, you should use "
"these headings to indicate them. If you also add scene headings, you have "
"better control of how your scene separators are formatted in your manuscript. "
"The chapter and scenes headings are also displayed in the :ref:`Novel View "
"<docs_ui_main_novel>` and :ref:`Outline View <docs_ui_main_outline>`."
msgstr ""
"Quatre niveaux d'en-têtes sont prévus pour les documents de roman. Vous "
"pouvez les choisir à votre guise, mais si votre histoire comporte des "
"chapitres, vous devez utiliser ces titres pour les indiquer. Si vous ajoutez "
"également des titres de scènes, vous pourrez mieux contrôler la façon dont "
"vos séparateurs de scènes sont formatés dans votre manuscrit. Les titres de "
"chapitres et de scènes sont également affichés dans les vues :ref:`Novel View "
"<docs_ui_main_novel>` et :ref:`Outline View <docs_ui_main_outline>`."
#: ../../source/usage/chapters_and_scenes.rst:39
msgid "``# Title Text``"
msgstr "``# Texte de titre``"
#: ../../source/usage/chapters_and_scenes.rst:40
msgid ""
"This is a heading level one. This heading indicates the start of a new "
"partition. Partitions are for when you want to split your story into \"Part "
"1\", \"Part 2\", etc. You can also choose to use them for splitting the text "
"up into acts, and then hide these headings in your manuscript so that they "
"are not included in the output."
msgstr ""
"Il s'agit d'une en-tête de niveau un. Ce titre indique le début d'une "
"nouvelle partie. Les parties sont utilisées lorsque vous souhaitez diviser "
"votre histoire en « Partie 1 », « Partie 2 », etc. Vous pouvez également "
"choisir de les utiliser pour diviser le texte en actes, puis de masquer ces "
"titres dans votre manuscrit afin qu'ils ne soient pas inclus dans la sortie."
#: ../../source/usage/chapters_and_scenes.rst:45
msgid "``## Chapter Title``"
msgstr "``## Titre de chapitre``"
#: ../../source/usage/chapters_and_scenes.rst:46
msgid ""
"This is a heading level two. This heading indicates the start of a new "
"chapter. Chapter numbers can be inserted automatically when building the "
"manuscript, so you don't have to do this in the title. See :ref:"
"`docs_ui_manuscript_head_numbers` for more details."
msgstr ""
"Il s'agit d'une en-tête de niveau deux. Ce titre indique le début d'un "
"nouveau chapitre. Les numéros de chapitre peuvent être insérés "
"automatiquement lors de la construction du manuscrit, de sorte que vous "
"n'avez pas à le faire dans le titre. Voir :ref:"
"`docs_ui_manuscript_head_numbers` pour plus de détails."
#: ../../source/usage/chapters_and_scenes.rst:50
msgid "``### Scene Title``"
msgstr "``### Titre de scène``"
#: ../../source/usage/chapters_and_scenes.rst:51
msgid ""
"This is a heading level three. This heading indicates the start of a new "
"scene. Scene numbers or scene separators can be inserted automatically when "
"building the manuscript, so you can use the title field as a working title "
"for your scenes if you wish, but you must provide a minimal title."
msgstr ""
"Il s'agit d'une en-tête de niveau trois. Ce titre indique le début d'une "
"nouvelle scène. Des numéros de scène ou des séparateurs de scène peuvent être "
"insérés automatiquement lors de la construction du manuscrit. Vous pouvez "
"donc utiliser le champ titre comme titre de travail pour vos scènes si vous "
"le souhaitez, mais vous devez fournir un titre minimal."
#: ../../source/usage/chapters_and_scenes.rst:56
msgid "``#### Section Title``"
msgstr "``#### Titre de section``"
#: ../../source/usage/chapters_and_scenes.rst:57
msgid ""
"This is a heading level four. This heading indicates the start of a new "
"section. Section titles can be replaced by separators or ignored completely "
"when building the manuscript. The meaning of a section is really whatever you "
"want it to be. You can use it to split your scenes up into chunks, or into "
"separate documents."
msgstr ""
"Il s'agit d'une en-tête de niveau quatre. Ce titre indique le début d'une "
"nouvelle section. Les titres de section peuvent être remplacés par des "
"séparateurs ou ignorés complètement lors de la construction du manuscrit. La "
"signification d'une section est en fait celle que vous voulez lui donner. "
"Vous pouvez l'utiliser pour diviser vos scènes en morceaux ou en documents "
"distincts."
#: ../../source/usage/chapters_and_scenes.rst:62
msgid ""
"For headings level one through three, adding a ``!`` modifies the meaning of "
"the heading. The alternative meaning of the heading is only relevant when you "
"generate your manuscript, but you may want to keep the use cases in mind "
"while writing."
msgstr ""
"Pour les en-têtes de niveau un à trois, l'ajout d'un ``!`` modifie la "
"signification de l'en-tête. La signification alternative de l'en-tête n'est "
"pertinente que lorsque vous générez votre manuscrit, mais vous pouvez garder "
"à l'esprit les cas d'utilisation lors de la rédaction."
#: ../../source/usage/chapters_and_scenes.rst:66
msgid "``#! Title Text``"
msgstr "``#! Texte de titre``"
#: ../../source/usage/chapters_and_scenes.rst:67
msgid ""
"This tells the **Manuscript Build** tool that the level one heading is "
"intended to be used for the novel or notes folder's main title, like for "
"instance the novel title on the cover page. When building the manuscript, "
"this will use a different styling of the title, which you can modify "
"independently from how partition titles are styled. See :ref:"
"`docs_usage_front_back_matter_title` for more details."
msgstr ""
"Cela indique à l'outil **Compiler le manuscrit** que l'en-tête de niveau un "
"est destiné à être utilisé pour le titre principal du roman ou du dossier de "
"notes, comme par exemple le titre du roman sur la page de couverture. Lors de "
"la compilation du manuscrit, l'outil utilisera un style différent pour le "
"titre, que vous pouvez modifier indépendamment de la façon dont les titres "
"des parties sont stylisés. Voir :ref:`docs_usage_front_back_matter_title` "
"pour plus de détails."
#: ../../source/usage/chapters_and_scenes.rst:73
msgid "``##! Chapter Title``"
msgstr "``## ! Titre de chapitre``"
#: ../../source/usage/chapters_and_scenes.rst:74
msgid ""
"This tells the **Manuscript Build** tool to not assign a chapter number to "
"this chapter title if automatic chapter numbers are enabled. Such titles are "
"useful for prologues and epilogues for instance. See :ref:"
"`docs_usage_front_back_matter_unnumbered` for more details."
msgstr ""
"Cette option indique à l'outil **Compilation du manuscrit** de ne pas "
"attribuer de numéro de chapitre à ce titre de chapitre si la numérotation "
"automatique des chapitres est activée. De tels titres sont utiles pour les "
"prologues et les épilogues par exemple. Voir :ref:"
"`docs_usage_front_back_matter_unnumbered` pour plus de détails."
#: ../../source/usage/chapters_and_scenes.rst:78
msgid "``###! Scene Title``"
msgstr "``###! Titre de scène``"
#: ../../source/usage/chapters_and_scenes.rst:79
msgid ""
"This is an alternative scene heading that can be formatted differently in the "
"**Manuscript Build** tool. It is intended for separating \"soft\" and "
"\"hard\" scene breaks. Aside from this, it behaves identically to a regular "
"scene heading. See :ref:`docs_ui_manuscript_head_hard_soft` for more details."
msgstr ""
"Il s'agit d'un titre de scène alternatif qui peut être formaté différemment "
"dans l'outil **Compilation du manuscrit**. Il est destiné à séparer les "
"coupures de scène « douces » et « dures ». A part cela, il se comporte de la "
"même manière qu'un titre de scène normal. Voir :ref:"
"`docs_ui_manuscript_head_hard_soft` pour plus de détails."
#: ../../source/usage/chapters_and_scenes.rst:84
msgid ""
"The formatting of these headings can be customised quite extensively in the :"
"ref:`Manuscript Tool <docs_ui_manuscript>`, which is covered in a separate "
"part of the documentation."
msgstr ""
"Le formatage de ces en-têtes peut être personnalisé de manière assez poussée "
"dans l'outil :ref:`Manuscript Tool <docs_ui_manuscript>`, qui fait l'objet "
"d'une partie distincte de la documentation."
#: ../../source/usage/chapters_and_scenes.rst:90
msgid ""
"The space after the ``#`` or ``!`` character is mandatory. The editor will "
"change colour and font size when the heading is correctly formatted."
msgstr ""
"L'espace après le caractère ``#`` ou ``!`` est obligatoire. L'éditeur "
"changera de couleur et de taille de police lorsque le titre sera correctement "
"formaté."
#: ../../source/usage/chapters_and_scenes.rst:93
msgid ""
"Page breaks can be automatically added before titles, partition, chapter and "
"scene headings from the **Manuscript Build** tool when you build your project "
"to a format that supports page breaks. If you want page breaks in other "
"places, you have to specify them manually. See :ref:"
"`docs_usage_formatting_breaks` for more details."
msgstr ""
"Les sauts de page peuvent être automatiquement ajoutés avant les titres, les "
"parties, les chapitres et les scènes à partir de l'outil **Compilation du "
"manuscrit** lorsque vous créez votre projet dans un format qui prend en "
"charge les sauts de page. Si vous voulez des sauts de page à d'autres "
"endroits, vous devez les spécifier manuellement. Voir :ref:"
"`docs_usage_formatting_breaks` pour plus de détails."

View File

@@ -0,0 +1,254 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 11:20+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/comments.rst:5
msgid "Comments and Notes"
msgstr "Commentaires et notes"
#: ../../source/usage/comments.rst:7
msgid ""
"You can add comments to your text that are not a part of the story. "
"Regular comments are intended for you to add notes to yourself inside "
"the text, which may be useful when you revise your drafts. However, "
"there are several types of comments you can use."
msgstr ""
"Vous pouvez ajouter à votre texte des commentaires qui ne font pas "
"partie de l'histoire. Les commentaires ordinaires sont destinés à vous "
"permettre d'ajouter des notes à l'intérieur du texte, ce qui peut "
"s'avérer utile lorsque vous révisez vos projets. Cependant, il existe "
"plusieurs types de commentaires que vous pouvez utiliser."
#: ../../source/usage/comments.rst:11
msgid ""
"This section covers the basic comment types. There are a couple of "
"advanced features that use comment syntax too, but they are covered "
"later."
msgstr ""
"Cette section couvre les types de commentaires de base. Il existe "
"quelques fonctions avancées qui utilisent également la syntaxe des "
"commentaires, mais elles sont abordées plus loin."
#: ../../source/usage/comments.rst:18
msgid "Plain Comments"
msgstr "Commentaires simples"
#: ../../source/usage/comments.rst:20
msgid ""
"A plain comment is a line or paragraph that starts with the character "
"``%`` as its first character. You can put them wherever you like in your "
"documents, and you can choose to include or exclude them from your "
"manuscript."
msgstr ""
"Un commentaire simple est une ligne ou un paragraphe qui commence par le "
"caractère ``%``. Vous pouvez les placer où vous le souhaitez dans vos "
"documents, et vous pouvez choisir de les inclure ou de les exclure de "
"votre manuscrit."
#: ../../source/usage/comments.rst:24
msgid ""
"For the most part, novelWriter completely ignores these comments. They "
"are not included in your word or character counts either, and are only "
"displayed in the document viewer panel if you enable them."
msgstr ""
"La plupart du temps, novelWriter ignore complètement ces commentaires. "
"Ils ne sont pas non plus inclus dans le décompte des mots ou des "
"caractères, et ne sont affichés dans le panneau de visualisation du "
"document que si vous les activez."
#: ../../source/usage/comments.rst:28 ../../source/usage/comments.rst:63
#: ../../source/usage/comments.rst:80 ../../source/usage/comments.rst:128
#: ../../source/usage/comments.rst:156
msgid ":bdg-info:`Example`"
msgstr ":bdg-info:`Exemple`"
#: ../../source/usage/comments.rst:44
msgid "Synopsis or Description Comments"
msgstr "Commentaires Synopsis ou Description"
#: ../../source/usage/comments.rst:46
msgid ""
"A special kind of comments are **Synopsis** and **Short Description** "
"comments. They are different from plain comments in that they can be "
"displayed alongside other information about a scene or a character or "
"other story element described in a note. As with plain comments, they "
"can be included in your manuscript, but they are formatted differently "
"than plain comments."
msgstr ""
"Les commentaires **Synopsis** et **Description courte** constituent un "
"type particulier de commentaires. Ils se distinguent des commentaires "
"ordinaires par le fait qu'ils peuvent être affichés à côté d'autres "
"informations concernant une scène, un personnage ou un autre élément de "
"l'histoire décrit dans une note. Comme les commentaires ordinaires, ils "
"peuvent être inclus dans votre manuscrit, mais leur format est différent "
"de celui des commentaires ordinaires."
#: ../../source/usage/comments.rst:53
msgid ""
"A summary or description comment can be used once, and only once, for "
"each heading as they are considered a description of the content of the "
"text under that heading. If you add two such comments under the same "
"heading, the last one will be used."
msgstr ""
"Un commentaire de résumé ou de description peut être utilisé une fois, "
"et une seule, pour chaque rubrique, car il est considéré comme une "
"description du contenu du texte de cette rubrique. Si vous ajoutez deux "
"commentaires de ce type sous la même rubrique, c'est le dernier qui sera "
"utilisé."
#: ../../source/usage/comments.rst:59
msgid "Synopsis"
msgstr "Synopsis"
#: ../../source/usage/comments.rst:61
msgid ""
"A **Synopsis** comment is intended for adding a summary of your chapters "
"and scenes."
msgstr ""
"Un commentaire **Synopsis** est destiné à ajouter un résumé de vos "
"chapitres et scènes."
#: ../../source/usage/comments.rst:75
msgid "Short Description"
msgstr "Brève description"
#: ../../source/usage/comments.rst:77
msgid ""
"A **Short Description** comment behaves exactly the same as a synopsis "
"comment, but is intended as a description of a story element, like a "
"character."
msgstr ""
"Un commentaire **Brève description** se comporte exactement de la même "
"manière qu'un commentaire de synopsis, mais il est destiné à décrire un "
"élément de l'histoire, tel qu'un personnage."
#: ../../source/usage/comments.rst:100
msgid ""
"The ``%Synopsis:`` and ``%Short:`` comment prefixes are interchangeable, "
"but when you include them in the manuscript, they are labelled based on "
"the prefix, so the latter may make more sense for a Character note than "
"the former."
msgstr ""
"Les préfixes de commentaire ``%Synopsis:`` et ``%Short:`` sont "
"interchangeables, mais lorsque vous les incluez dans le manuscrit, ils "
"sont étiquetés en fonction du préfixe, de sorte que ce dernier peut "
"avoir plus de sens pour une note de caractère que le premier."
#: ../../source/usage/comments.rst:108
msgid "Footnote Comments"
msgstr "Commentaires de note de bas de page"
#: ../../source/usage/comments.rst:110
msgid ""
"Footnotes are added with a shortcode, paired with a matching comment for "
"the actual footnote text. The matching is done with a key that links the "
"two. If you insert a footnote from the **Insert** menu, a unique key is "
"generated for you. Shortcodes in general are covered in more detail in :"
"ref:`docs_usage_formatting_shortcodes`."
msgstr ""
"Les notes de bas de page sont ajoutées à l'aide d'un shortcode, associé "
"à un commentaire correspondant au texte de la note de bas de page. La "
"correspondance est assurée par une clé qui lie les deux. Si vous insérez "
"une note de bas de page à partir du menu **Insérer**, une clé unique est "
"générée pour vous. Les shortcodes en général sont couverts plus en "
"détail dans :ref:`docs_usage_formatting_shortcodes`."
#: ../../source/usage/comments.rst:115
msgid ""
"The insert footnote feature will add the footnote shortcode marker at "
"the position of your cursor in the editor panel, and create the "
"associated footnote comment right after the paragraph. It will then move "
"the cursor there so you can immediately start typing the footnote text."
msgstr ""
"La fonction d'insertion d'une note de bas de page ajoute le marqueur de "
"shortcode de note de bas de page à l'emplacement de votre curseur dans "
"le panneau de l'éditeur et crée le commentaire de note de bas de page "
"associé juste après le paragraphe. Elle déplacera ensuite le curseur à "
"cet endroit afin que vous puissiez immédiatement commencer à taper le "
"texte de la note de bas de page."
#: ../../source/usage/comments.rst:119
msgid ""
"The footnote comment can be anywhere in the document, so if you wish to "
"move them to, say, the bottom of the text, you are free to do so."
msgstr ""
"Le commentaire de la note de bas de page peut se trouver n'importe où "
"dans le document, de sorte que si vous souhaitez le placer, par exemple, "
"au bas du texte, vous êtes libre de le faire."
#: ../../source/usage/comments.rst:122
msgid ""
"Footnote keys are only required to be unique within a document, so if "
"you copy, move or merge text, you must make sure the keys are not "
"duplicated. If you use the automatically generated keys from the "
"**Insert** menu, they are unique among all indexed documents. They are "
"not guaranteed to be unique against footnotes in the **Archive** or "
"**Trash** folder though, but the chance of accidentally generating the "
"same key twice in a project is relatively small."
msgstr ""
"Les clés de notes de bas de page ne doivent être uniques qu'à "
"l'intérieur d'un document. Par conséquent, si vous copiez, déplacez ou "
"fusionnez du texte, vous devez vous assurer que les clés ne sont pas "
"dupliquées. Si vous utilisez les clés générées automatiquement à partir "
"du menu **Insérer**, elles sont uniques parmi tous les documents "
"indexés. Il n'est pas garanti qu'elles soient uniques par rapport aux "
"notes de bas de page du dossier Archives ou Corbeille, mais le risque de "
"générer accidentellement la même clé deux fois dans un projet est "
"relativement faible."
#: ../../source/usage/comments.rst:144
msgid "Ignored Text"
msgstr "Texte ignoré"
#: ../../source/usage/comments.rst:146
msgid ""
"If you want to completely ignore some of the text in your documents, but "
"are not ready to delete it, you can add ``%~`` before the text paragraph "
"or line. This will cause novelWriter to skip the text entirely when "
"generating previews or building manuscripts."
msgstr ""
"Si vous souhaitez ignorer complètement une partie du texte dans vos "
"documents, mais que vous n'êtes pas prêt à l'effacer, vous pouvez "
"ajouter ``%~`` devant le paragraphe ou la ligne de texte. Cela permettra "
"à novelWriter d'ignorer complètement le texte lors de la génération "
"d'aperçus ou de la construction de manuscrits."
#: ../../source/usage/comments.rst:150
msgid ""
"This is a better way of removing text than converting them to regular "
"comments, as you may want to include regular comments in your previews "
"or draft manuscript."
msgstr ""
"Il s'agit d'un meilleur moyen de supprimer le texte que de le convertir "
"en commentaires normaux, car vous souhaiterez peut-être inclure des "
"commentaires normaux dans vos prévisualisations ou votre projet de "
"manuscrit."
#: ../../source/usage/comments.rst:153
msgid ""
"You can toggle the ignored text feature on and off for a paragraph by "
"pressing :kbd:`Ctrl+Shift+D` on your keyboard with your cursor somewhere "
"in the paragraph."
msgstr ""
"Vous pouvez activer ou désactiver la fonction de texte ignoré pour un "
"paragraphe en appuyant sur :kbd:`Ctrl+Maj+D` sur votre clavier avec "
"votre curseur quelque part dans le paragraphe."

View File

@@ -0,0 +1,146 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 16:13+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/front_back_matter.rst:5
msgid "Front and Back Matter"
msgstr "Premières et dernières pages"
#: ../../source/usage/front_back_matter.rst:7
msgid ""
"Front and back matter documents are documents that go before and after "
"your main story text. They can include pages like your cover page, "
"content tables, prologues, epilogues, etc. These special pages and "
"sections are supported to some extent by novelWriter."
msgstr ""
"Les documents de début et de fin sont des documents qui précèdent et "
"suivent le texte principal de l'histoire. Il peut s'agir de pages comme "
"la page de couverture, de tables des matières, de prologues, "
"d'épilogues, etc. Ces pages et sections spéciales sont prises en charge "
"dans une certaine mesure par novelWriter."
#: ../../source/usage/front_back_matter.rst:15
msgid "The Title Page"
msgstr "La page de titre"
#: ../../source/usage/front_back_matter.rst:17
msgid ""
"It is recommended that you add a document at the very top of each "
"**Novel** root folder with the novel title in it. You should modify the "
"level 1 heading format code with an ``!`` in order to render it as a "
"document title that is excluded from any automatic Table of Content in a "
"manuscript build document."
msgstr ""
"Il est recommandé d'ajouter un document au premier niveau de chaque "
"dossier racine **Roman** avec le titre du roman. Vous devez modifier le "
"code de format de l'en-tête de niveau un avec un ``!`` afin de le rendre "
"comme un titre de document qui est exclu de toute table des matières "
"automatique lors de la compilation du manuscrit."
#: ../../source/usage/front_back_matter.rst:22
msgid ""
"You can also add the author name and address above this if this is "
"required by the manuscript format you use, and additional space added "
"before the title."
msgstr ""
"Vous pouvez également ajouter le nom et l'adresse de l'auteur au-dessus "
"de ce titre si le format de manuscrit que vous utilisez l'exige, et "
"ajouter un espace supplémentaire avant le titre."
#: ../../source/usage/front_back_matter.rst:25
#: ../../source/usage/front_back_matter.rst:73
msgid ":bdg-info:`Example`"
msgstr ":bdg-info:`Exemple`"
#: ../../source/usage/front_back_matter.rst:27
msgid ""
"This is the title page novelWriter generates automatically for a new "
"project as of version 2.6:"
msgstr ""
"Il s'agit de la page de titre que novelWriter génère automatiquement "
"pour un nouveau projet à partir de la version 2.6 :"
#: ../../source/usage/front_back_matter.rst:43
msgid ""
"The title is by default centred on the page. You can add more text to "
"the page as you wish, like for instance the author's name and details."
msgstr ""
"Le titre est par défaut centré sur la page. Vous pouvez ajouter plus de "
"texte à la page si vous le souhaitez, comme par exemple le nom de "
"l'auteur et ses coordonnées."
#: ../../source/usage/front_back_matter.rst:46
msgid ""
"The default title page inserts the word count for text only, but you can "
"add other counts too. See :ref:`docs_usage_formatting_counts` for more "
"details."
msgstr ""
"La page de titre par défaut insère le nombre de mots pour le texte "
"uniquement, mais vous pouvez également ajouter d'autres décomptes. Voir :"
"ref:`docs_usage_formatting_counts` pour plus de détails."
#: ../../source/usage/front_back_matter.rst:53
msgid "Additional Pages"
msgstr "Pages additionnelles"
#: ../../source/usage/front_back_matter.rst:55
msgid ""
"If you want an additional page of text after the title page, starting on "
"a fresh page, you can add ``[new page]`` on a line by itself, and "
"continue the text after it. This will insert a page break before the "
"text. See :ref:`docs_usage_formatting_breaks` for more details."
msgstr ""
"Si vous voulez une page de texte supplémentaire après la page de titre, "
"commençant sur une nouvelle page, vous pouvez ajouter ``[ new page]`` "
"sur une ligne à part, et continuer le texte après elle. Cela insérera un "
"saut de page avant le texte. Voir :ref:`docs_usage_formatting_breaks` "
"pour plus de détails."
#: ../../source/usage/front_back_matter.rst:63
msgid "Unnumbered Chapters"
msgstr "Chapitres non numérotés"
#: ../../source/usage/front_back_matter.rst:65
msgid ""
"If you use the automatic numbering feature for your chapters, but you "
"want to keep some special chapters separate from this, you can add an ``!"
"`` to the level 2 heading formatting code to tell the build tool to skip "
"these chapters when adding numbers."
msgstr ""
"Si vous utilisez la numérotation automatique pour vos chapitres, mais "
"que vous voulez garder certains chapitres spéciaux séparés, vous pouvez "
"ajouter un `!` au code de formatage des titres de niveau deux pour "
"indiquer à l'outil de compilation d'ignorer ces chapitres lors de "
"l'ajout des numéros."
#: ../../source/usage/front_back_matter.rst:69
msgid ""
"Unnumbered chapters are useful for prologue and epilogue chapters, and "
"also for interlude chapters if you use those in your text. There is a "
"separate formatting feature for such chapter titles in the **Manuscript "
"Build** tool. See the :ref:`docs_ui_manuscript` page for more details."
msgstr ""
"Les chapitres non numérotés sont utiles pour les prologues et les "
"épilogues, ainsi que pour les interludes si vous en utilisez dans votre "
"texte. Il existe une fonction de formatage séparée pour ces titres de "
"chapitre dans l'outil **Compilation du manuscrit**. Voir la page :ref:"
"`docs_ui_manuscript` pour plus de détails."

View File

@@ -0,0 +1,285 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 16:22+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/howto.rst:5
msgid "Tips & Tricks"
msgstr "Trucs et astuces"
#: ../../source/usage/howto.rst:9
msgid ""
"This is a list of hopefully helpful little tips on how to get the most out of "
"novelWriter."
msgstr ""
"Il s'agit d'une liste de petits conseils, que nous espérons utiles, sur la "
"façon de tirer le meilleur parti de novelWriter."
#: ../../source/usage/howto.rst:12
msgid ""
"This section will be expanded over time. If you would like to have something "
"added, feel free to contribute, or start a discussion on the project's "
"`Discussions Page`_."
msgstr ""
"Cette section sera développée au fil du temps. Si vous souhaitez que quelque "
"chose soit ajouté, n'hésitez pas à contribuer, ou à lancer une discussion sur "
"la `Page des discussions`_ du projet."
#: ../../source/usage/howto.rst:17
msgid "Managing the Project"
msgstr "Gestion du projet"
#: ../../source/usage/howto.rst
msgid "How do I create a project from a template?"
msgstr "Comment créer un projet à partir d'un modèle ?"
#: ../../source/usage/howto.rst:22
msgid ""
"On the Welcome dialog's **Create New Project** form, you can select to "
"\"Prefill Project\" from the content of a different project. This feature is "
"most useful if you copy a project you have dedicated to be a template project. "
"If you have a structure and settings you want to use for every new project, "
"this is the best solution."
msgstr ""
"Dans le formulaire **Créer un nouveau projet** de la boîte de dialogue "
"d'accueil, vous pouvez choisir de « pré-remplir le projet » à partir du contenu "
"d'un autre projet. Cette fonction est particulièrement utile si vous copiez un "
"projet que vous avez dédié à être un projet modèle. Si vous avez une structure "
"et des paramètres que vous souhaitez utiliser pour chaque nouveau projet, c'est "
"la meilleure solution."
#: ../../source/usage/howto.rst
msgid "How do I merge multiple documents into one?"
msgstr "Comment fusionner plusieurs documents en un seul ?"
#: ../../source/usage/howto.rst:30
msgid ""
"If you need to merge a selection of documents in your project into a single "
"document, you can achieve this by first making a new folder for just that "
"purpose, and drag all the documents you want merged into this folder. Then you "
"can right click the folder, select :guilabel:`Transform` and :guilabel:`Merge "
"Documents in Folder`."
msgstr ""
"Si vous avez besoin de fusionner une sélection de documents dans votre projet "
"en un seul document, vous pouvez le faire en créant un nouveau dossier à cet "
"effet, et en faisant glisser tous les documents que vous voulez fusionner dans "
"ce dossier. Ensuite, vous pouvez faire un clic droit sur le dossier, "
"sélectionner :guilabel:`Transformer` et :guilabel:`Fusionner les documents du "
"dossier`."
#: ../../source/usage/howto.rst:35
msgid ""
"In the dialog that pops up, the documents will be in the same order as in the "
"folder, but you can rearrange them here of you wish. See :ref:"
"`docs_ui_split_merge` for more details."
msgstr ""
"Dans la boîte de dialogue qui s'ouvre, les documents seront dans le même ordre "
"que dans le dossier, mais vous pouvez les réorganiser ici si vous le souhaitez. "
"Voir :ref:`docs_ui_split_merge` pour plus de détails."
#: ../../source/usage/howto.rst
msgid "How do I share status or importance labels between projects?"
msgstr ""
"Comment puis-je partager des étiquettes d'état ou d'importance entre les "
"projets ?"
#: ../../source/usage/howto.rst:41
msgid ""
"The status or importance labels you have defined in a project can be exported "
"from **Project Settings** from the respective configuration tabs. You can then "
"import these labels in another project."
msgstr ""
"Les étiquettes d'état ou d'importance que vous avez définies dans un projet "
"peuvent être exportées à partir de **Paramètres du projet** dans les onglets de "
"configuration respectifs. Vous pouvez ensuite importer ces étiquettes dans un "
"autre projet."
#: ../../source/usage/howto.rst:47
msgid "Layout Tricks"
msgstr "Astuces de mise en page"
#: ../../source/usage/howto.rst
msgid "How do I create a table?"
msgstr "Comment créer un tableau ?"
#: ../../source/usage/howto.rst:52
msgid ""
"The formatting tools available in novelWriter don't allow for complex "
"structures like tables. However, the editor does render tabs in a similar way "
"that regular word processors do. You can set the width of a tab in "
"**Preferences**."
msgstr ""
"Les outils de formatage disponibles dans novelWriter ne permettent pas de créer "
"des structures complexes telles que des tableaux. Cependant, l'éditeur rend les "
"tabulations de la même manière que les traitements de texte classiques. Vous "
"pouvez définir la largeur d'un onglet dans les **Préférences**."
#: ../../source/usage/howto.rst:56
msgid ""
"The tab key should have the same distance in the editor as in the viewer, so "
"you can align text in columns using the tab key, and it should look the same "
"when viewed next to the editor."
msgstr ""
"La touche de tabulation doit avoir la même distance dans l'éditeur que dans "
"l'afficheur, de sorte que vous puissiez aligner du texte en colonnes à l'aide "
"de la touche de tabulation, et que l'aspect soit le même lorsque vous regardez "
"à côté de l'éditeur."
#: ../../source/usage/howto.rst:59
msgid ""
"This is most suitable for your notes, as the result in exported documents "
"cannot be guaranteed to match. Especially if you don't use the same font in "
"your manuscript as in the editor."
msgstr ""
"Cette méthode convient surtout à vos notes, car il n'est pas garanti que le "
"résultat dans les documents exportés corresponde à la réalité. Surtout si vous "
"n'utilisez pas la même police dans votre manuscrit que dans l'éditeur."
#: ../../source/usage/howto.rst
msgid "How do I force a line break when line breaks are ignored in my manuscript?"
msgstr ""
"Comment forcer un saut de ligne lorsque les sauts de ligne sont ignorés dans "
"mon manuscrit ?"
#: ../../source/usage/howto.rst:65
msgid ""
"In the **Manuscript Build Settings** you can choose to ignore line breaks "
"within paragraphs in your text. However, some times you still need those "
"breaks. Like for instance on the cover page where you may need to add your name "
"and address. In such cases, you can add ``[br]`` where you want line breaks. "
"These breaks cannot be ignored by any settings and will always be respected."
msgstr ""
"Dans les **Paramètres de compilation du manuscrit**, vous pouvez choisir "
"d'ignorer les sauts de ligne dans les paragraphes de votre texte. Cependant, "
"ces sauts de ligne sont parfois nécessaires. Comme par exemple sur la page de "
"couverture où vous pouvez avoir besoin d'ajouter votre nom et votre adresse. "
"Dans ce cas, vous pouvez ajouter ``[br]`` à l'endroit où vous souhaitez des "
"sauts de ligne. Ces sauts de ligne ne peuvent être ignorés par aucun paramètre "
"et seront toujours respectés."
#: ../../source/usage/howto.rst
msgid "How do I turn off first line indent for a specific paragraph?"
msgstr ""
"Comment désactiver l'indentation de la première ligne pour un paragraphe "
"spécifique ?"
#: ../../source/usage/howto.rst:75
msgid ""
"If you have first line indent enabled, but have a specific paragraph that you "
"don't want indented, you can disable the indentation by explicitly adding text "
"alignment. For instance by adding ``<<`` to the end to left-align it. Aligned "
"paragraphs are not indented."
msgstr ""
"Si l'indentation de la première ligne est activée, mais qu'un paragraphe "
"spécifique ne doit pas être indenté, vous pouvez désactiver l'indentation en "
"ajoutant explicitement l'alignement du texte. Par exemple, en ajoutant ``<<`` à "
"la fin du paragraphe pour l'aligner à gauche. Les paragraphes alignés ne sont "
"pas indentés."
#: ../../source/usage/howto.rst:79
msgid "See :ref:`docs_usage_align_indent` for more details."
msgstr "Voir :ref:`docs_usage_align_indent` pour plus de détails."
#: ../../source/usage/howto.rst:83
msgid "Organising Your Text"
msgstr "Organiser son texte"
#: ../../source/usage/howto.rst
msgid "How do I add introductory text to chapters?"
msgstr "Comment ajouter un texte d'introduction aux chapitres ?"
#: ../../source/usage/howto.rst:88
msgid ""
"Sometimes chapters have a short preface, like a brief piece of text or a quote "
"to set the stage before the first scene begins."
msgstr ""
"Parfois, les chapitres sont précédés d'une courte préface, comme un court texte "
"ou une citation pour planter le décor avant le début de la première scène."
#: ../../source/usage/howto.rst:91
msgid ""
"If you add separate files for chapters and scenes, the chapter file is the "
"perfect place to add such text. Separating chapter and scene files also allows "
"you to make scene files child documents of the chapter."
msgstr ""
"Si vous ajoutez des fichiers distincts pour les chapitres et les scènes, le "
"fichier de chapitre est l'endroit idéal pour ajouter ce type de texte. La "
"séparation des fichiers de chapitres et de scènes vous permet également de "
"faire des fichiers de scènes des documents enfants du chapitre."
#: ../../source/usage/howto.rst
msgid "How do I distinguishing between soft and hard scene breaks?"
msgstr ""
"Comment faire la distinction entre les ruptures de scènes douces et les "
"ruptures de scènes dures ?"
#: ../../source/usage/howto.rst:98
msgid ""
"Depending on your writing style, you may need to separate between soft and hard "
"scene breaks within chapters. Like for instance if you switch point-of-view "
"character often."
msgstr ""
"En fonction de votre style d'écriture, vous pouvez avoir besoin de faire une "
"distinction entre les ruptures de scènes douces et les ruptures de scènes dures "
"au sein des chapitres. Par exemple, si vous changez souvent de point de vue."
#: ../../source/usage/howto.rst:101
msgid ""
"In such cases you may want to use different scene headings for hard and soft "
"scene breaks. The **Build Manuscript** tool will let you define a different "
"format for scenes using the ``###`` and ``###!`` heading codes when you "
"generate your manuscript. You can for instance add the common \"``* * *``\" for "
"hard breaks and select to hide soft scene breaks, which will just insert an "
"empty paragraph in their place. See :ref:`docs_ui_manuscript_settings` for more "
"details."
msgstr ""
"Dans ce cas, vous pouvez utiliser des titres de scène différents pour les "
"coupures de scène dures et douces. L'outil **Compilation du manuscrit** vous "
"permettra de définir un format différent pour les scènes en utilisant les codes "
"d'en-tête ``###`` et ``###!`` lors de la génération de votre manuscrit. Vous "
"pouvez par exemple ajouter l'habituel « ``* * *`` » pour les coupures dures et "
"choisir de masquer les coupures douces, ce qui aura pour effet d'insérer un "
"paragraphe vide à leur place. Voir :ref:`docs_ui_manuscript_settings` pour plus "
"de détails."
#: ../../source/usage/howto.rst:111
msgid "Other Tools"
msgstr "Autres outils"
#: ../../source/usage/howto.rst
msgid "How do I convert my project to/from the yWriter format?"
msgstr "Comment convertir mon projet au format yWriter ?"
#: ../../source/usage/howto.rst:116
msgid ""
"There is a tool available that lets you convert a `yWriter <http://spacejock."
"com/yWriter7.html>`_ project to a novelWriter project, and vice versa."
msgstr ""
"Il existe un outil qui vous permet de convertir un projet `yWriter <http://"
"spacejock.com/yWriter7.html>`_ en un projet novelWriter, et vice versa."
#: ../../source/usage/howto.rst:119
msgid ""
"The tool is available at `peter88213.github.io/yw2nw <https://peter88213.github."
"io/yw2nw/>`__"
msgstr ""
"L'outil est disponible à l'adresse `peter88213.github.io/yw2nw <https://"
"peter88213.github.io/yw2nw/>`__"

View File

@@ -0,0 +1,161 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-27 21:24+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/introduction.rst:5
msgid "Introduction"
msgstr "Introduction"
#: ../../source/usage/introduction.rst:9
msgid ""
"In a nutshell, novelWriter is a plain text editor that lets you organise "
"one or more novels and associated notes as many smaller documents. You "
"can at any time generate standard document formats from these plain text "
"documents. Whether it is an outline of your story, a draft, a complete "
"manuscript, or even a collection of your character notes or other notes."
msgstr ""
"En bref, novelWriter est un éditeur de texte brut qui vous permet "
"d'organiser un ou plusieurs romans et les notes associées sous la forme "
"de plusieurs petits documents. Vous pouvez à tout moment générer des "
"formats de documents standard à partir de ces documents en texte brut. "
"Qu'il s'agisse d'une ébauche de votre histoire, d'un brouillon, d'un "
"manuscrit complet ou même d'une collection de notes sur les personnages "
"ou d'autres notes."
#: ../../source/usage/introduction.rst:16
msgid "Why Plain Text?"
msgstr "Pourquoi du texte brut ?"
#: ../../source/usage/introduction.rst:18
msgid ""
"The idea is to let you be creative without having to deal with "
"formatting while you are writing, or be distracted by it."
msgstr ""
"L'idée est de vous permettre d'être créatif sans avoir à vous préoccuper "
"de la mise en forme pendant que vous écrivez, ou sans être distrait par "
"elle."
#: ../../source/usage/introduction.rst:21
msgid ""
"Of course, you probably need *some* form of minimal formatting for your "
"text. At the very least you need emphasis. Most people are familiar with "
"adding emphasis using ``_underscores_`` and ``**asterisks**``. This "
"formatting standard comes from Markdown_ and is supported by "
"novelWriter. It also uses Markdown formatting for defining document "
"headings, which is how you distinguish between chapters and scenes."
msgstr ""
"Bien entendu, vous avez probablement besoin d'une sorte de mise en forme "
"minimale pour votre texte. Au minimum, vous avez besoin d'une mise en "
"valeur. La plupart des gens sont familiers avec l'ajout d'emphase en "
"utilisant ``_underscores_`` et ``**asterisks**``. Ce standard de "
"formatage vient de Markdown_ et est supporté par novelWriter. Il utilise "
"également le formatage Markdown pour définir les titres du document, ce "
"qui permet de faire la distinction entre les chapitres et les scènes."
#: ../../source/usage/introduction.rst:27
msgid ""
"For those special cases where you need more complex formatting, a set of "
"shortcodes are available. To make these codes easier to use, a dropdown "
"button bar is available in the editor panel with standard format "
"buttons. So don't worry. You don't have to learn any of these codes."
msgstr ""
"Pour les cas particuliers où vous avez besoin d'un formatage plus "
"complexe, un ensemble de shortcodes est disponible. Pour faciliter "
"l'utilisation de ces codes, une barre de boutons déroulante est "
"disponible dans le panneau de l'éditeur avec des boutons de formatage "
"standard. Ne vous inquiétez donc pas. Vous n'avez pas besoin d'apprendre "
"ces codes."
#: ../../source/usage/introduction.rst:33
msgid "Adding Meta Data"
msgstr "Ajout de métadonnées"
#: ../../source/usage/introduction.rst:35
msgid ""
"In addition to the body text of your story, novelWriter allows you to "
"enter some additional meta data into your text documents to indicate "
"things like which characters are present in a chapter or scene, whose "
"point of view we're seeing, what location the events take place in, and "
"so on."
msgstr ""
"Outre le corps du texte de votre histoire, novelWriter vous permet de "
"saisir des métadonnées supplémentaires dans vos documents texte afin "
"d'indiquer les personnages présents dans un chapitre ou une scène, le "
"point de vue de chacun, le lieu où se déroulent les événements, etc."
#: ../../source/usage/introduction.rst:39
msgid ""
"Since the editor is plain text, this is done on special lines of text "
"starting with an ``@`` character. The editor will show an auto-complete "
"menu to help you write these lines. We will talk more about this later."
msgstr ""
"Comme l'éditeur est en texte brut, cela se fait sur des lignes de texte "
"spéciales commençant par le caractère ``@``. L'éditeur affichera un menu "
"d'auto-complétion pour vous aider à écrire ces lignes. Nous en "
"reparlerons plus tard."
#: ../../source/usage/introduction.rst:43
msgid ""
"You can also add your own author's comments in your text, without these "
"comments becoming a part of the story itself. A comment line starts with "
"a ``%`` character. There are different types of comments, and an auto-"
"complete menu can help you here too. More about this later as well."
msgstr ""
"Vous pouvez également ajouter vos propres commentaires d'auteur dans "
"votre texte, sans que ces commentaires fassent partie de l'histoire elle-"
"même. Une ligne de commentaire commence par le caractère ``%``. Il "
"existe différents types de commentaires, et un menu d'auto-complétion "
"peut vous aider ici aussi. Nous y reviendrons plus tard."
#: ../../source/usage/introduction.rst:47
msgid "Limitations"
msgstr "Restrictions"
#: ../../source/usage/introduction.rst:49
msgid ""
"Please keep in mind that novelWriter is designed for writing fiction, so "
"the formatting features available are limited to those relevant for this "
"purpose. It is *not* suitable for technical writing. It is also *not* a "
"full-featured Markdown editor."
msgstr ""
"Gardez à l'esprit que novelWriter est conçu pour l'écriture de fictions, "
"et que les fonctions de formatage disponibles sont donc limitées à "
"celles qui sont pertinentes à cette fin. Il n'est *pas* adapté à la "
"rédaction technique. Ce n'est pas non plus un éditeur Markdown complet."
#: ../../source/usage/introduction.rst:53
msgid ""
"In addition, novelWriter is not intended as a tool for organising "
"research for writing, and therefore lacks formatting features you may "
"need for this purpose. The notes feature in is mainly intended for "
"character profiles and plot outlines. It is recommended to use a proper "
"note-taking tool for research. This is anyway more practical as you may "
"use the same research for multiple projects."
msgstr ""
"En outre, novelWriter n'est pas conçu comme un outil d'organisation de "
"la recherche en vue de l'écriture, et ne dispose donc pas des fonctions "
"de formatage dont vous pourriez avoir besoin à cette fin. La fonction de "
"notes est principalement destinée aux profils de personnages et aux "
"grandes lignes de l'intrigue. Il est recommandé d'utiliser un outil de "
"prise de notes approprié pour la recherche. C'est de toute façon plus "
"pratique, car vous pouvez utiliser la même recherche pour plusieurs "
"projets."

View File

@@ -0,0 +1,538 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 14:11+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/organising_project.rst:5
msgid "Organising Your Project"
msgstr "Organiser votre projet"
#: ../../source/usage/organising_project.rst:7
msgid ""
"Your project is organised into a set of top level folders called \"Root "
"Folders\", which each have specific meaning in the project. Your project "
"documents and notes are stored under these root folders. All the content "
"of your project is available in the **Project Content** panel on the "
"left side of the main window."
msgstr ""
"Votre projet est organisé en un ensemble de dossiers de premier niveau "
"appelés « dossiers racines », qui ont chacun une signification "
"spécifique dans le projet. Les documents et les notes de votre projet "
"sont stockés dans ces dossiers racines. Tout le contenu de votre projet "
"est disponible dans le panneau **Contenu du projet** sur le côté gauche "
"de la fenêtre principale."
#: ../../source/usage/organising_project.rst:14
msgid "The **Project Content** tree populated with example documents."
msgstr ""
"L'arborescence **Contenu du projet** avec des exemples de documents."
#: ../../source/usage/organising_project.rst:16
msgid ""
"Each line in the project tree shows the name of each item, its word "
"count (or alternatively character count), an icon for :ref:"
"`docs_usage_project_active`, and a custom icon for :ref:"
"`docs_usage_project_status` of each item. These latter two are covered "
"alter in this section."
msgstr ""
"Chaque ligne de l'arborescence du projet montre le nom de chaque "
"élément, son nombre de mots (ou de caractères), une icône pour :ref:"
"`docs_usage_project_active`, et une icône personnalisée pour :ref:"
"`docs_usage_project_status` de chaque élément. Ces deux derniers points "
"sont abordés plus loin dans cette section."
#: ../../source/usage/organising_project.rst:20
msgid ""
"You can add, view and edit documents in the project tree by right-"
"clicking on them. Some features are also located in the buttons along "
"the top, next to the **Project Content** label."
msgstr ""
"Vous pouvez ajouter, visualiser et modifier des documents dans "
"l'arborescence du projet en cliquant dessus avec le bouton droit de la "
"souris. Certaines fonctions se trouvent également dans les boutons "
"situés en haut, à côté de l'étiquette **Contenu du projet**."
#: ../../source/usage/organising_project.rst:27
msgid "How Root Folders Work"
msgstr "Fonctionnement des dossiers racines"
#: ../../source/usage/organising_project.rst:29
msgid ""
"Projects are structured into a set of top level folders called \"Root "
"Folders\". They are visible in the project tree at the left side of the "
"main window. Each type of root folder has a distinct icon."
msgstr ""
"Les projets sont structurés en un ensemble de dossiers de premier niveau "
"appelés « dossiers racines ». Ils sont visibles dans l'arborescence du "
"projet, à gauche de la fenêtre principale. Chaque type de dossier racine "
"possède une icône distincte."
#: ../../source/usage/organising_project.rst:32
msgid ""
"The documents that make up your story go into a root folder of type "
"**Novel**. Your notes go into the other root folders. These other root "
"folder types are separated into types depending on what kind of notes go "
"into them. This is not only for organisation. It also matters to how you "
"can reference these notes later. We will come back to this in the :ref:"
"`docs_usage_tags_refs` section."
msgstr ""
"Les documents qui constituent votre histoire sont placés dans un dossier "
"racine de type **roman**. Vos notes sont placées dans les autres "
"dossiers racines. Ces autres types de dossiers racines sont séparés en "
"fonction du type de notes qu'ils contiennent. Il ne s'agit pas seulement "
"d'une question d'organisation. Cela a également une incidence sur la "
"manière dont vous pourrez faire référence à ces notes ultérieurement. "
"Nous y reviendrons dans la section :ref:`docs_usage_tags_refs`."
#: ../../source/usage/organising_project.rst:37
msgid ""
"A new project may not have all of the root folders present, but you can "
"add the ones you want from the project tree tool bar."
msgstr ""
"Un nouveau projet peut ne pas contenir tous les dossiers racines, mais "
"vous pouvez ajouter ceux que vous souhaitez à partir de la barre "
"d'outils de l'arborescence du projet."
#: ../../source/usage/organising_project.rst:40
msgid ""
"The intended usage of each type of root folder is listed below. However, "
"aside from the **Novel** folder, no restrictions are applied by "
"novelWriter on what you put in them. You can use them however you want."
msgstr ""
"L'utilisation prévue de chaque type de dossier racine est indiquée ci-"
"dessous. Cependant, à part le dossier **Roman**, aucune restriction "
"n'est appliquée par novelWriter sur ce que vous mettez dans ces "
"dossiers. Vous pouvez les utiliser comme bon vous semble."
#: ../../source/usage/organising_project.rst:46
msgid "Root Folder Types"
msgstr "Types de dossiers racines"
#: ../../source/usage/organising_project.rst:48
msgid "**Novel** (Story)"
msgstr "**roman** (histoire)"
#: ../../source/usage/organising_project.rst:49
msgid ""
"This is where you put the documents that are part of your story. You can "
"create multiple Novel folders if you wish, but various parts of the "
"application assumes each Novel folder belong to one novel."
msgstr ""
"C'est là que vous placez les documents qui font partie de votre "
"histoire. Vous pouvez créer plusieurs dossiers Roman si vous le "
"souhaitez, mais plusieurs parties de l'application supposent que chaque "
"dossier Roman appartient à un seul roman."
#: ../../source/usage/organising_project.rst:53
msgid ""
"The Novel folder is somewhat special in that it can contain documents "
"for chapters, scenes and story partitions. How this is indicated is "
"covered in the section :ref:`docs_usage_headings`."
msgstr ""
"Le dossier roman est un peu spécial en ce sens qu'il peut contenir des "
"documents pour les chapitres, les scènes et les parties de l'histoire. "
"La façon dont cela est indiqué est couverte dans la section :ref:"
"`docs_usage_headings`."
#: ../../source/usage/organising_project.rst:56
msgid "**Plot** (Notes)"
msgstr "**Intrigue** (Notes)"
#: ../../source/usage/organising_project.rst:57
msgid ""
"This is where you can keep notes and outlines of your story plots. Such "
"notes can be particularly useful if you have outlines for sub plot. You "
"can make references to these subplots from the scene documents, which "
"makes it easier to track story progress."
msgstr ""
"C'est là que vous pouvez conserver des notes et les grandes lignes des "
"intrigues de votre histoire. Ces notes peuvent être particulièrement "
"utiles si vous avez des plans de sous-intrigues. Vous pouvez faire "
"référence à ces intrigues secondaires à partir des documents de scène, "
"ce qui facilite le suivi de la progression de l'histoire."
#: ../../source/usage/organising_project.rst:61
msgid "**Characters** (Notes)"
msgstr "**Personnages** (Notes)"
#: ../../source/usage/organising_project.rst:62
msgid ""
"Character notes go in this root folder type. For your main characters, "
"you may want to make one document for each character. For smaller "
"characters you can put multiple into the same document. In your chapters "
"and scenes you can reference these character notes as point-of-view or "
"focus characters."
msgstr ""
"Les notes concernant les personnages sont placées dans ce type de "
"dossier racine. Pour vos personnages principaux, vous pouvez créer un "
"document pour chacun d'entre eux. Pour les personnages secondaires, vous "
"pouvez en mettre plusieurs dans le même document. Dans vos chapitres et "
"vos scènes, vous pouvez faire référence à ces notes de personnages en "
"tant que points de vue ou personnages principaux."
#: ../../source/usage/organising_project.rst:67
msgid "**Locations** (Notes)"
msgstr "**Lieux** (Notes)"
#: ../../source/usage/organising_project.rst:68
msgid ""
"The locations where your story takes place can be documented here. This, "
"together with Plot and Characters are the key story elements to track, "
"and to reference from your chapter and scene documents."
msgstr ""
"Les lieux où se déroule votre histoire peuvent être documentés ici. Avec "
"l'intrigue et les personnages, ce sont les éléments clés de l'histoire "
"qu'il faut suivre et auxquels il faut faire référence dans les documents "
"relatifs aux chapitres et aux scènes."
#: ../../source/usage/organising_project.rst:72
msgid "**Timeline** (Notes)"
msgstr "**Ligne de temps** (Notes)"
#: ../../source/usage/organising_project.rst:73
msgid ""
"If the story has multiple plot timelines or jumps in time within the "
"same plot, this folder type can be used to track this."
msgstr ""
"Si l'histoire comporte plusieurs lignes temporelles ou des sauts dans le "
"temps au sein d'une même intrigue, ce type de dossier peut être utilisé "
"pour en assurer le suivi."
#: ../../source/usage/organising_project.rst:76
msgid "**Objects** (Notes)"
msgstr "**Objets** (Notes)"
#: ../../source/usage/organising_project.rst:77
msgid ""
"Important objects in the story, for instance physical objects that "
"change hands often, can be tracked here."
msgstr ""
"Les objets importants de l'histoire, par exemple les objets physiques "
"qui changent souvent de mains, peuvent être suivis ici."
#: ../../source/usage/organising_project.rst:80
msgid "**Entities** (Notes)"
msgstr "**Entités** (Notes)"
#: ../../source/usage/organising_project.rst:81
msgid ""
"Does your plot have many powerful organisations or companies? Or other "
"entities that are part of the plot? They can be organised here."
msgstr ""
"Votre intrigue comporte-t-elle de nombreuses organisations ou "
"entreprises puissantes ? Ou d'autres entités qui font partie de "
"l'intrigue ? Vous pouvez les organiser ici."
#: ../../source/usage/organising_project.rst:84
msgid "**Custom** (Notes)"
msgstr "**Personnalisé** (Notes)"
#: ../../source/usage/organising_project.rst:85
msgid ""
"The custom root folder type can be used for tracking anything else not "
"covered by the above options."
msgstr ""
"Le type de dossier racine personnalisé peut être utilisé pour suivre "
"tout ce qui n'est pas couvert par les options ci-dessus."
#: ../../source/usage/organising_project.rst:88
msgid "**Templates**"
msgstr "Modèles"
#: ../../source/usage/organising_project.rst:89
msgid ""
"Any document added under this root folder will be made available as "
"template options when creating new documents. See :ref:"
"`docs_usage_project_documents_templates` for more details."
msgstr ""
"Tout document ajouté dans ce dossier racine sera disponible en tant "
"qu'options de modèle lors de la création de nouveaux documents. Voir :"
"ref:`docs_usage_project_documents_templates` pour plus de détails."
#: ../../source/usage/organising_project.rst:92
msgid "**Archive**"
msgstr "**Archive**"
#: ../../source/usage/organising_project.rst:93
msgid ""
"If you don't want to delete a document, or put it in the **Trash** "
"folder where it may be deleted, but still want it out of your main "
"project, you can put it in this folder. The contents of the document "
"will be ignored by the scanner that looks for tags, and it will be "
"ignored in any outline view and in your manuscript."
msgstr ""
"Si vous ne voulez pas supprimer un document ou le placer dans le dossier "
"**Poubelle** où il peut être supprimé, mais que vous voulez quand même "
"le retirer de votre projet principal, vous pouvez le placer dans ce "
"dossier. Le contenu du document sera ignoré par le scanner qui recherche "
"les balises, et il sera ignoré dans toute vue d'ensemble et dans votre "
"manuscrit."
#: ../../source/usage/organising_project.rst:98
msgid "**Trash**"
msgstr "**Poubelle**"
#: ../../source/usage/organising_project.rst:99
msgid ""
"This folder behaves like you expect. Anything dropped in here can be "
"deleted permanently from the project, and the content doesn't show up "
"anywhere else in novelWriter."
msgstr ""
"Ce dossier se comporte comme vous vous y attendez. Tout ce qui y est "
"déposé peut être supprimé définitivement du projet, et son contenu "
"n'apparaît nulle part ailleurs dans novelWriter."
#: ../../source/usage/organising_project.rst:102
msgid ""
"The root folder types are closely tied to the tags and reference system. "
"Each folder type for novel and notes corresponds to one or more "
"categories of tags that can be used to reference the content in them. "
"See :ref:`docs_usage_tags_refs` for more details."
msgstr ""
"Les types de dossiers racine sont étroitement liés au système de balises "
"et de références. Chaque type de dossier pour les romans et les notes "
"correspond à une ou plusieurs catégories de balises qui peuvent être "
"utilisées pour référencer le contenu qu'ils contiennent. Voir :ref:"
"`docs_usage_tags_refs` pour plus de détails."
#: ../../source/usage/organising_project.rst:108
msgid ""
"The root folders have standard names, but you can rename them to "
"whatever you want."
msgstr ""
"Les dossiers racine ont des noms standard, mais vous pouvez les renommer "
"comme vous le souhaitez."
#: ../../source/usage/organising_project.rst:114
msgid "Regular Folders"
msgstr "Dossiers ordinaires"
#: ../../source/usage/organising_project.rst:116
msgid ""
"You can add regular folders anywhere you want in the project. The "
"folders are there purely as a way for you to organise the documents in "
"meaningful sections and to be able to collapse and hide them in the "
"project tree when you're not working on those documents."
msgstr ""
"Vous pouvez ajouter des dossiers ordinaires où vous le souhaitez dans le "
"projet. Les dossiers sont là uniquement pour vous permettre d'organiser "
"les documents en sections significatives et pour pouvoir les réduire et "
"les cacher dans l'arborescence du projet lorsque vous ne travaillez pas "
"sur ces documents."
#: ../../source/usage/organising_project.rst:120
msgid ""
"When novelWriter is processing the documents in a project, like for "
"instance when you create a manuscript from it, these folders are "
"ignored. Only the order of the documents themselves matter."
msgstr ""
"Lorsque novelWriter traite les documents d'un projet, comme par exemple "
"lorsque vous créez un manuscrit à partir de ce projet, ces dossiers sont "
"ignorés. Seul l'ordre des documents eux-mêmes compte."
#: ../../source/usage/organising_project.rst:127
msgid "Documents"
msgstr "Documents"
#: ../../source/usage/organising_project.rst:129
msgid ""
"You can add documents anywhere you want in your project structure. You "
"can even add documents as child items of other documents, just as if "
"they were folders. This makes it easy to associate a set of scenes with "
"their chapter. You can also do this in your notes, where you for "
"instance may have a hierarchy of your locations."
msgstr ""
"Vous pouvez ajouter des documents où vous le souhaitez dans la structure "
"de votre projet. Vous pouvez même ajouter des documents en tant "
"qu'éléments enfants d'autres documents, comme s'il s'agissait de "
"dossiers. Cela permet d'associer facilement un ensemble de scènes à leur "
"chapitre. Vous pouvez également procéder de la même manière dans vos "
"notes, où vous pouvez par exemple avoir une hiérarchie de vos lieux."
#: ../../source/usage/organising_project.rst:134
msgid ""
"The name on a document in the project tree is not linked to any headings "
"in the document text. Think of the document name as a file name. You can "
"rename a document, or any other item in the project, at any time."
msgstr ""
"Le nom d'un document dans l'arborescence du projet n'est lié à aucun "
"titre dans le texte du document. Considérez le nom du document comme un "
"nom de fichier. Vous pouvez renommer un document, ou tout autre élément "
"du projet, à tout moment."
#: ../../source/usage/organising_project.rst:138
msgid "Documents come in two types:"
msgstr "Les documents sont de deux types :"
#: ../../source/usage/organising_project.rst:140
msgid "**Novel Documents**"
msgstr "**Documents du roman**"
#: ../../source/usage/organising_project.rst:141
msgid ""
"These are the documents that make up your story or novel. They can only "
"be added under a root folder of type **Novel**. You can technically also "
"add them under **Archive**. See :ref:`docs_usage_headings` for more "
"details on how these documents are handled by novelWriter."
msgstr ""
"Ce sont les documents qui constituent votre histoire ou votre roman. Ils "
"ne peuvent être ajoutés que dans un dossier racine de type **Roman**. "
"Techniquement, vous pouvez aussi les ajouter dans **Archive**. Voir :ref:"
"`docs_usage_headings` pour plus de détails sur la façon dont ces "
"documents sont gérés par novelWriter."
#: ../../source/usage/organising_project.rst:145
msgid "**Project Notes**"
msgstr "*Notes de projet**"
#: ../../source/usage/organising_project.rst:146
msgid ""
"These are the documents where you keep your notes. You can add them "
"anywhere in your project, including under **Novel** type folders. If you "
"do add them there, they are not treated as a part of the story by "
"default."
msgstr ""
"Il s'agit des documents dans lesquels vous conservez vos notes. Vous "
"pouvez les ajouter n'importe où dans votre projet, y compris dans les "
"dossiers de type **Roman**. Si vous les ajoutez à cet endroit, ils ne "
"sont pas traités par défaut comme faisant partie de l'histoire."
#: ../../source/usage/organising_project.rst:150
msgid ""
"You can convert between the two types of documents where both types are "
"allowed. You can also convert folders into documents, which may "
"sometimes be convenient too."
msgstr ""
"Vous pouvez convertir les deux types de documents lorsque les deux types "
"sont autorisés. Vous pouvez également convertir des dossiers en "
"documents, ce qui peut parfois s'avérer pratique."
#: ../../source/usage/organising_project.rst:153
msgid ""
"Another convenient feature is that documents can be split into sub-"
"documents by its headings, or multiple documents merged into one. This "
"is particularly useful if you start out with larger structural "
"documents, like one containing all chapters and scenes in an act, and "
"then split those when you start writing. See :ref:`docs_ui_split_merge` "
"for more details."
msgstr ""
"Une autre caractéristique pratique est que les documents peuvent être "
"divisés en sous-documents par leurs titres, ou que plusieurs documents "
"peuvent être fusionnés en un seul. Ceci est particulièrement utile si "
"vous commencez avec des documents structurels plus importants, comme un "
"document contenant tous les chapitres et scènes d'un acte, et que vous "
"les divisez ensuite lorsque vous commencez à écrire. Voir :ref:"
"`docs_ui_split_merge` pour plus de détails."
#: ../../source/usage/organising_project.rst:162
msgid "Document Templates"
msgstr "Modèles de documents"
#: ../../source/usage/organising_project.rst:164
msgid ""
"If you wish to create template documents to be used when creating new "
"documents, like for instance a character note template, you can add a "
"**Templates** root folder to your project. Any document added to this "
"root folder will show up in the **Add Item** menu in the project tree "
"toolbar. When selected, a new document is created with its content "
"copied from the chosen template."
msgstr ""
"Si vous souhaitez créer des documents modèles à utiliser lors de la "
"création de nouveaux documents, comme par exemple un modèle de note de "
"personnage, vous pouvez ajouter un dossier racine **Modèles** à votre "
"projet.Tout document ajouté à ce dossier racine apparaîtra dans le menu "
"**Ajouter un élément** de la barre d'outils de l'arborescence du projet."
"Lorsqu'il est sélectionné, un nouveau document est créé dont le contenu "
"est copié à partir du modèle choisi."
#: ../../source/usage/organising_project.rst:175
msgid "Active and Inactive Documents"
msgstr "Documents actifs et inactifs"
#: ../../source/usage/organising_project.rst:177
msgid ""
"A document can be set as \"Active\" or \"Inactive\", which alters the "
"icon in the third column of the project tree. These are mostly intended "
"for your convenience as they will indicate whether the document is meant "
"to be included in the manuscript or not. You can think of an inactive "
"status as a whole-document out-take. It allows you to take it out "
"without moving it to **Archive**."
msgstr ""
"Un document peut être défini comme « actif » ou « inactif », ce qui "
"modifie l'icône dans la troisième colonne de l'arborescence du projet. "
"Ces statuts sont principalement destinés à vous faciliter la tâche, car "
"ils indiquent si le document est destiné à être inclus dans le manuscrit "
"ou non. Vous pouvez considérer le statut inactif comme un retrait du "
"document entier. Il vous permet de le retirer sans le déplacer vers "
"**Archives**."
#: ../../source/usage/organising_project.rst:182
msgid ""
"Inactive documents are by default excluded from your manuscript, but you "
"can override this if you wish. See :ref:`docs_ui_manuscript_selection` "
"for more details."
msgstr ""
"Les documents inactifs sont par défaut exclus de votre manuscrit, mais "
"vous pouvez modifier cela si vous le souhaitez. Voir :ref:"
"`docs_ui_manuscript_selection` pour plus de détails."
#: ../../source/usage/organising_project.rst:189
msgid "Importance and Status"
msgstr "Importance et état"
#: ../../source/usage/organising_project.rst:191
msgid ""
"Each document or folder in your project can have either a \"Status\" or "
"\"Importance\" label set. These are labels and icons that you control "
"and define yourself, and novelWriter doesn't use them for anything. You "
"can modify these labels in **Project Settings**. See :ref:"
"`docs_ui_projects_settings_status` for more details."
msgstr ""
"Chaque document ou dossier de votre projet peut avoir une étiquette « "
"Statut » ou « Importance ». Ce sont des étiquettes et des icônes que "
"vous contrôlez et définissez vous-même, et novelWriter ne les utilise "
"pas pour quoi que ce soit. Vous pouvez modifier ces étiquettes dans "
"**Paramètres du projet**. Voir :ref:`docs_ui_projects_settings_status` "
"pour plus de détails."
#: ../../source/usage/organising_project.rst:196
msgid ""
"The \"Status\" labels are intended to tag a novel document as for "
"instance a draft or as completed, and the \"Importance\" labels are "
"intended to tag character notes, or other project notes, as for instance "
"a main, major, or minor character or story element."
msgstr ""
"Les étiquettes « Statut » sont destinées à étiqueter un document de "
"roman comme étant par exemple un brouillon ou comme étant terminé, et "
"les étiquettes « Importance » sont destinées à étiqueter les notes sur "
"les personnages, ou d'autres notes sur le projet, comme par exemple un "
"personnage principal, majeur ou mineur ou un élément de l'histoire."
#: ../../source/usage/organising_project.rst:200
msgid ""
"Whether a document uses a \"Status\" or \"Importance\" label depends on "
"which root folder it lives in. If it's in a **Novel** type folder, it "
"uses the \"Status\" label, otherwise it uses an \"Importance\" label."
msgstr ""
"L'utilisation d'une étiquette « Statut » ou « Importance » pour un "
"document dépend du dossier racine dans lequel il se trouve. S'il se "
"trouve dans un dossier de type **Roman**, il utilise l'étiquette « "
"Statut », sinon il utilise l'étiquette « Importance »."

View File

@@ -0,0 +1,548 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 14:07+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/usage/tags_and_references.rst:5
msgid "Tags and References"
msgstr "Étiquettes et références"
#: ../../source/usage/tags_and_references.rst:7
msgid ""
"One of the core features of novelWriter is its **Tags and References** "
"system. This is perhaps one of the features that makes novelWriter "
"different from other similar applications. It is therefore not always "
"obvious to new users how this is supposed to work."
msgstr ""
"L'une des principales caractéristiques de novelWriter est son système "
"d'**Étiquettes et de Références**. C'est peut-être l'une des "
"caractéristiques qui différencie novelWriter d'autres applications "
"similaires. Il n'est donc pas toujours évident pour les nouveaux "
"utilisateurs de comprendre comment cela est censé fonctionner."
#: ../../source/usage/tags_and_references.rst:11
msgid ""
"In novelWriter there are no forms or tables to fill in to define "
"characters, locations or other elements of your story. Instead, you "
"create documents in one of the root folders for notes. Within these "
"documents you can set **tags**, like for instance for your main "
"character. If you then want to annotate a scene with this character as "
"its point-of-view, you create a **reference** to the tag."
msgstr ""
"Dans novelWriter, il n'y a pas de formulaires ou de tableaux à remplir "
"pour définir les personnages, les lieux ou d'autres éléments de votre "
"histoire. Au lieu de cela, vous créez des documents dans l'un des "
"dossiers racine pour les notes. Dans ces documents, vous pouvez définir "
"des **étiquettes**, par exemple pour votre personnage principal. Si vous "
"souhaitez ensuite annoter une scène avec ce personnage comme point de "
"vue, vous créez une **référence** à l'étiquette."
#: ../../source/usage/tags_and_references.rst:19
msgid ""
"If you find the Tags and Reference system difficult to follow just from "
"reading this chapter, you can create a new project in the **Welcome** "
"dialog's New Project form and select \"Create an example project\" from "
"the \"Pre-fill project\" option. The example project contains several "
"examples of tags and references."
msgstr ""
"Si le système d'étiquettes et de références vous semble difficile à "
"suivre à la seule lecture de ce chapitre, vous pouvez créer un nouveau "
"projet dans le formulaire Nouveau projet de la boîte de dialogue "
"**Bienvenue** et sélectionner « Créer un projet d'exemple » dans l'option "
"« Pré-remplir le projet ». Le projet d'exemple contient plusieurs "
"exemples d'étiquettes et de références."
#: ../../source/usage/tags_and_references.rst:28
msgid "How to Use Tags"
msgstr "Comment utiliser les étiquettes"
#: ../../source/usage/tags_and_references.rst:30
msgid ""
"The structure of your novelWriter project is inferred from the headings "
"within the documents, not the documents themselves. See :ref:"
"`docs_usage_headings` for more details. Therefore, metadata is also "
"associated with headings, and not the documents themselves."
msgstr ""
"La structure de votre projet novelWriter est déduite des titres des "
"documents, et non des documents eux-mêmes. Voir :ref:"
"`docs_usage_headings` pour plus de détails. Par conséquent, les "
"métadonnées sont également associées aux titres, et non aux documents eux-"
"mêmes."
#: ../../source/usage/tags_and_references.rst:34
msgid ""
"A \"tag\" in novelWriter is a word or phrase that you define as belonging "
"to a heading. Tags are set by using the ``@tag`` keyword."
msgstr ""
"Une « étiquette » dans novelWriter est un mot ou une phrase que vous "
"définissez comme appartenant à une rubrique. Les étiquettes sont définies "
"en utilisant le mot-clé ``@tag``."
#: ../../source/usage/tags_and_references.rst:37
msgid "The basic format of a tag is ``@tag: TagName``."
msgstr "Le format de base d'un tag est ``@tag: NomÉtiquette``."
#: ../../source/usage/tags_and_references.rst:39
msgid "An alternative format of a tag is ``@tag: TagName | Display Name``."
msgstr ""
"Un autre format de balise est ``@tag : NomÉtiquette | Nom Affiché``."
#: ../../source/usage/tags_and_references.rst:41
msgid "``tagName`` (Required)"
msgstr "``NomÉtiquette`` (Requis)"
#: ../../source/usage/tags_and_references.rst:42
msgid ""
"This is a unique identifier of your choosing. It is the value you use "
"later for making references back to the heading in the document. The tag "
"must be unique."
msgstr ""
"Il s'agit d'un identifiant unique de votre choix. C'est la valeur que "
"vous utiliserez plus tard pour faire référence à l'intitulé dans le "
"document. L'étiquette doit être unique."
#: ../../source/usage/tags_and_references.rst:45
msgid "``Display Name`` (Optional)"
msgstr "``Nom Affiché`` (Facultatif)"
#: ../../source/usage/tags_and_references.rst:46
msgid ""
"This is an optional display name used for the tag. When you build your "
"manuscript, you can for instance insert the point-of-view character name "
"directly into chapter titles. By default, the ``tagName`` value is used "
"in such headings, but if you use a shortened format internally in your "
"project, you can use the display name to specify a more suitable format "
"for your chapter title."
msgstr ""
"Il s'agit d'un nom d'affichage facultatif utilisé pour l'étiquette. "
"Lorsque vous construisez votre manuscrit, vous pouvez par exemple insérer "
"le nom du personnage du point de vue directement dans les titres des "
"chapitres. Par défaut, la valeur ``NomÉtiquette`` est utilisée dans ces "
"titres, mais si vous utilisez un format raccourci en interne dans votre "
"projet, vous pouvez utiliser le nom d'affichage pour spécifier un format "
"plus approprié pour votre titre de chapitre."
#: ../../source/usage/tags_and_references.rst:53
msgid ""
"You can only set **one** tag per heading, and the tag has to be unique "
"across **all** documents in the project."
msgstr ""
"Vous ne pouvez définir **qu'une seule** étiquette par en-tête, et "
"l'étiquette doit être unique dans **tous** les documents du projet."
#: ../../source/usage/tags_and_references.rst:56
msgid ""
"After a tag has been defined, it can be referenced in novel documents, or "
"cross-referenced in other notes. Tags will also show up in the **Outline "
"View** and in the **References** panel under the document viewer when a "
"document is open in the viewer. See :ref:`docs_ui_main_outline` and :ref:"
"`docs_ui_edit_view_view_references` for more details."
msgstr ""
"Une fois qu'une étiquette a été définie, elle peut être référencée dans "
"de nouveaux documents ou faire l'objet de références croisées dans "
"d'autres notes. Les étiquettes apparaîtront également dans la **Vue en "
"plan** et dans le panneau **Références** sous l'afficheur de documents "
"lorsqu'un document est ouvert dans l'afficheur. Voir :ref:"
"`docs_ui_main_outline` et :ref:`docs_ui_edit_view_view_references` pour "
"plus de détails."
#: ../../source/usage/tags_and_references.rst:61
msgid ""
"The editor will indicate to you that the keyword is correctly used and "
"that the tag is allowed, that is, the tag is unique, by adding a colour "
"highlighting to it. An invalid tag should have a wiggly line under it, "
"and will not receive the colour that valid tags do."
msgstr ""
"L'éditeur vous indiquera que le mot-clé est correctement utilisé et que "
"l'étiquette est autorisée, c'est-à-dire qu'elle est unique, en la "
"surlignant d'une couleur. Une étiquette non valide doit être soulignée "
"par une ligne ondulée et ne reçoit pas la même couleur que les étiquettes "
"valides."
#: ../../source/usage/tags_and_references.rst:65
msgid ""
"The tag is the only part of notes that novelWriter uses. The rest of the "
"document content is there for you to use in whatever way you wish."
msgstr ""
"L'étiquette est la seule partie des notes que novelWriter utilise. Le "
"reste du contenu du document peut être utilisé comme bon vous semble."
#: ../../source/usage/tags_and_references.rst:70
msgid ""
"Tags are no longer case sensitive. The tags are by default displayed with "
"the capitalisation you use when defining the tag, but you don't have to "
"use the same capitalisation when referencing it later."
msgstr ""
"Les étiquettes ne sont plus sensibles à la casse. Les étiquettes sont "
"affichées par défaut avec la majuscule utilisée lors de la définition de "
"l'étiquette, mais vous n'êtes pas obligé d'utiliser la même majuscule "
"lorsque vous y faites référence ultérieurement."
#: ../../source/usage/tags_and_references.rst:76
msgid "Tags can have an optional display name for manuscript builds."
msgstr ""
"Les étiquettes peuvent avoir un nom d'affichage facultatif pour la "
"compilation du manuscrit."
#: ../../source/usage/tags_and_references.rst:80
msgid ""
"You can now add tags also to Novel Documents. These can be used for cross-"
"referencing between chapters and scenes, and also from notes if desired."
msgstr ""
"Vous pouvez désormais ajouter des étiquettes aux documents du roman. "
"Celles-ci peuvent être utilisées pour les références croisées entre les "
"chapitres et les scènes, ainsi qu'à partir des notes si vous le souhaitez."
#: ../../source/usage/tags_and_references.rst:83
#: ../../source/usage/tags_and_references.rst:200
msgid ":bdg-info:`Example`"
msgstr ":bdg-info:`Exemple`"
#: ../../source/usage/tags_and_references.rst:85
msgid "Example of a note document for a character with a tag set:"
msgstr ""
"Exemple de document de notes pour un personnage avec un jeu d'étiquettes :"
#: ../../source/usage/tags_and_references.rst:95
msgid ""
"When this is done in a document in a root folder of type **Characters**, "
"the tag is automatically treated as an available character in your "
"project with the value \"Jane\". You will then be able to reference "
"\"Jane\" in any of your other documents using the reference keywords for "
"characters."
msgstr ""
"Lorsque cela est fait dans un document d'un dossier racine de type "
"**Personnages**, l'étiquette est automatiquement traitée comme un "
"personnage disponible dans votre projet avec la valeur « Jane ». Vous "
"pourrez alors faire référence à « Jane » dans n'importe lequel de vos "
"autres documents en utilisant les mots-clés de référence pour les "
"personnages."
#: ../../source/usage/tags_and_references.rst:99
msgid ""
"The character \"Jane\" will also show up in the **Character** tab in the "
"**Reference** panel below the document viewer."
msgstr ""
"Le personnage « Jane » apparaîtra également dans l'onglet **Personnage** "
"du panneau **Référence** situé sous l'afficheur de document."
#: ../../source/usage/tags_and_references.rst:104
msgid ""
"It is the root folder type that defines what category of story elements "
"the tag is indexed under. See :ref:`docs_usage_project_roots` for more "
"details."
msgstr ""
"C'est le type de dossier racine qui définit la catégorie d'éléments de "
"l'histoire sous laquelle l'étiquette est indexée. Voir :ref:"
"`docs_usage_project_roots` pour plus de détails."
#: ../../source/usage/tags_and_references.rst:111
msgid "How to Use References"
msgstr "Comment utiliser les références"
#: ../../source/usage/tags_and_references.rst:113
msgid ""
"Each heading of any level in your project can contain references to tags "
"set in your notes. The references are gathered by the project index and "
"used to generate the **Outline View**, among other things."
msgstr ""
"Chaque titre de n'importe quel niveau de votre projet peut contenir des "
"références à des étiquettes définies dans vos notes. Ces références sont "
"rassemblées par l'index du projet et utilisées pour générer la **Vue "
"d'ensemble**, entre autres choses."
#: ../../source/usage/tags_and_references.rst:117
msgid ""
"References are set with a special keyword, with a list of corresponding "
"tags. The valid keywords are listed below. The format of a reference line "
"is ``@keyword: value1, [value2] ... [valueN]``. All reference keywords "
"allow multiple values."
msgstr ""
"Les références sont définies à l'aide d'un mot-clé spécial, accompagné "
"d'une liste d'étiquettes correspondantes. Les mots-clés valides sont "
"listés ci-dessous. Le format d'une ligne de référence est ``@mot-clé : "
"valeur1, [valeur2] ... [valeurN]``. Tous les mots-clés de référence "
"autorisent des valeurs multiples."
#: ../../source/usage/tags_and_references.rst:121
msgid "``@pov``"
msgstr "``@pov``"
#: ../../source/usage/tags_and_references.rst:122
msgid ""
"The point-of-view character for the current section. The target must be a "
"note tag in a **Character** type root folder."
msgstr ""
"Le personnage de point de vue pour la section en cours. La cible doit "
"être une étiquette note dans un dossier racine de type **Personnages**."
#: ../../source/usage/tags_and_references.rst:125
msgid "``@focus``"
msgstr "``@focus``"
#: ../../source/usage/tags_and_references.rst:126
msgid ""
"The character that has the focus for the current section. This can be "
"used in cases where the focus is not the point-of-view character. The "
"target must be a note tag in a **Character** type root folder."
msgstr ""
"Le personnage qui est au centre de l'attention pour la section en cours. "
"Ceci peut être utilisé dans les cas où le focus n'est pas un personnage "
"de point de vue. La cible doit être une étiquette note dans un dossier "
"racine de type **Personnages**."
#: ../../source/usage/tags_and_references.rst:130
msgid "``@char``"
msgstr "``@char``"
#: ../../source/usage/tags_and_references.rst:131
msgid ""
"For other characters in the current section. The target must be a note "
"tag in a **Character** type root folder. This should not include the "
"point-of-view or focus character if those references are used."
msgstr ""
"Autres personnages de la section courante. La cible doit être une "
"étiquette de note dans un dossier racine de type **Personnages**. Cela ne "
"doit pas inclure le point de vue ou le personnage principal si ces "
"références sont utilisées."
#: ../../source/usage/tags_and_references.rst:135
msgid "``@plot``"
msgstr "``@plot``"
#: ../../source/usage/tags_and_references.rst:136
msgid ""
"The plot or subplot advanced in the current section. The target must be a "
"note tag in a **Plot** type root folder."
msgstr ""
"L'intrigue ou la sous-intrigue développée dans la section en cours. La "
"cible doit être une étiquette note dans un dossier racine de type "
"**Intrigue**."
#: ../../source/usage/tags_and_references.rst:139
msgid "``@time``"
msgstr "``@time``"
#: ../../source/usage/tags_and_references.rst:140
msgid ""
"The timelines touched by the current section. The target must be a note "
"tag in a **Timeline** type root folder."
msgstr ""
"Les lignes de temps concernées par la section en cours. La cible doit "
"être une étiquette note dans un dossier racine de type **Chronologie**."
#: ../../source/usage/tags_and_references.rst:143
msgid "``@location``"
msgstr "``@location``"
#: ../../source/usage/tags_and_references.rst:144
msgid ""
"The location the current section takes place in. The target must be a "
"note tag in a **Locations** type root folder."
msgstr ""
"L'endroit où se déroule la section en cours. La cible doit être une "
"étiquette note dans un dossier racine de type **lieux**."
#: ../../source/usage/tags_and_references.rst:147
msgid "``@object``"
msgstr "``@object``"
#: ../../source/usage/tags_and_references.rst:148
msgid ""
"Objects present in the current section. The target must be a note tag in "
"a **Object** type root folder."
msgstr ""
"Objets présents dans la section courante. La cible doit être une "
"étiquette de note dans un dossier racine de type **Objets**."
#: ../../source/usage/tags_and_references.rst:151
msgid "``@entity``"
msgstr "``@entity``"
#: ../../source/usage/tags_and_references.rst:152
msgid ""
"Entities present in the current section. The target must be a note tag in "
"an **Entities** type root folder."
msgstr ""
"Entités présentes dans la section courante. La cible doit être une "
"étiquette note dans un dossier racine de type **Entités**."
#: ../../source/usage/tags_and_references.rst:155
msgid "``@custom``"
msgstr "``@custom``"
#: ../../source/usage/tags_and_references.rst:156
msgid ""
"Custom references in the current section. The target must be a note tag "
"in a **Custom** type root folder. The custom folder are for any other "
"category of notes you may want to use."
msgstr ""
"Références personnalisées dans la section en cours. La cible doit être "
"une étiquette de note dans un dossier racine de type **personnalisé**. "
"Les dossiers personnalisés sont destinés à toute autre catégorie de notes "
"que vous souhaiteriez utiliser."
#: ../../source/usage/tags_and_references.rst:159
msgid "``@mention``"
msgstr "``@mention``"
#: ../../source/usage/tags_and_references.rst:160
msgid ""
"For anything, anyone or anyplace mentioned, but not present in the "
"current section. It is intended for those cases where you reveal details "
"about a character or place in a scene without otherwise being a part of "
"it. This can be useful when checking for consistency later. Any tag in "
"any root note folder can be listed under ``@mention``."
msgstr ""
"Pour toute chose, toute personne ou tout lieu mentionné, mais non présent "
"dans la section en cours. Il est destiné aux cas où vous révélez des "
"détails sur un personnage ou un lieu dans une scène sans en faire partie. "
"Cela peut s'avérer utile pour vérifier la cohérence ultérieurement. "
"N'importe quel étiquette dans n'importe quel dossier de notes racine peut "
"être listé sous `@mention``."
#: ../../source/usage/tags_and_references.rst:165
msgid "``@story``"
msgstr "``@story``"
#: ../../source/usage/tags_and_references.rst:166
msgid ""
"This is used when referencing a Novel Document, like a scene or chapter, "
"from somewhere else in your project. It is possible to also set tags in "
"documents in a **Novel** type folder, and this is the keyword you use to "
"reference those."
msgstr ""
"Ce mot-clé est utilisé pour référencer un document de roman, comme une "
"scène ou un chapitre, à partir d'un autre endroit de votre projet. Il est "
"également possible de définir des étiquettes dans les documents d'un "
"dossier de type **Roman**, et c'est le mot-clé que vous utilisez pour "
"référencer ces documents."
#: ../../source/usage/tags_and_references.rst:170
msgid ""
"When tags and references are used correctly, it will be indicated by "
"highlight colours in the editor."
msgstr ""
"Lorsque les étiquettes et les références sont utilisés correctement, cela "
"est indiqué par des couleurs en surbrillance dans l'éditeur."
#: ../../source/usage/tags_and_references.rst:175
msgid ""
"The highlighter may be mistaken if the index of defined tags is out of "
"date. If so, press :kbd:`F9` to regenerate it, or select **Rebuild "
"Index** from the **Tools** menu. In general, the index for a document is "
"regenerated when it is saved, so this shouldn't normally be necessary."
msgstr ""
"Le surligneur peut se tromper si l'index des étiquettes définies n'est "
"pas à jour. Si c'est le cas, appuyez sur :kbd:`F9` pour le régénérer, ou "
"sélectionnez **Reconstruire l'index** dans le menu **Outils**. En "
"général, l'index d'un document est régénéré lorsqu'il est sauvegardé, ce "
"qui ne devrait pas être nécessaire."
#: ../../source/usage/tags_and_references.rst:181
msgid ""
"If you add a reference in the editor to a tag that doesn't yet exist, you "
"can right-click it and select **Create Note for Tag**. This will generate "
"a new note automatically in the correct type of root folder, with the new "
"tag defined."
msgstr ""
"Si vous ajoutez une référence dans l'éditeur à une étiquette qui n'existe "
"pas encore, vous pouvez cliquer dessus avec le bouton droit de la souris "
"et sélectionner **Créer une note pour l'étiquette**. Cela générera "
"automatiquement une nouvelle note dans le bon type de dossier racine, "
"avec la nouvelle étiquette définie."
#: ../../source/usage/tags_and_references.rst:185
msgid ""
"One note can also reference another note in the same way novel documents "
"do. When the note is opened in the document viewer, the references become "
"clickable links, making it easier to follow connections in the plot. You "
"can follow links in the document editor by clicking them with the mouse "
"while holding down the :kbd:`Ctrl` key. Clicked links are always opened "
"in the view panel."
msgstr ""
"Une note peut également faire référence à une autre note, de la même "
"manière que les documents de romans. Lorsque la note est ouverte dans "
"l'éditeur de documents, les références deviennent des liens cliquables, "
"ce qui facilite le suivi des connexions dans l'intrigue. Vous pouvez "
"suivre les liens dans l'éditeur de documents en les cliquant avec la "
"souris tout en maintenant la touche :kbd:`Ctrl` enfoncée. Les liens "
"cliqués sont toujours ouverts dans le panneau de visualisation."
#: ../../source/usage/tags_and_references.rst:190
msgid ""
"Your notes don't show up in the **Outline View**, so referencing between "
"notes is only meaningful if you want to be able to click-navigate between "
"them, or of course if you just want to highlight that two notes are "
"related."
msgstr ""
"Vos notes n'apparaissent pas dans la **Vue d'ensemble**, de sorte que les "
"références entre les notes n'ont de sens que si vous souhaitez pouvoir "
"naviguer d'une note à l'autre par un simple clic ou, bien sûr, si vous "
"souhaitez simplement mettre en évidence que deux notes sont liées."
#: ../../source/usage/tags_and_references.rst:196
msgid ""
"If you cross-reference between notes and export your project as an HTML "
"document using the **Manuscript Build** tool, the cross-references become "
"clickable links in the exported HTML document as well."
msgstr ""
"Si vous faites des références croisées entre les notes et que vous "
"exportez votre projet en tant que document HTML à l'aide de l'outil "
"**Compiler le manuscrit**, les références croisées deviennent également "
"des liens cliquables dans le document HTML exporté."
#: ../../source/usage/tags_and_references.rst:202
msgid "Example of a novel document with references to characters and plots:"
msgstr ""
"Exemple de document de roman avec références aux personnages et aux "
"intrigues :"
#: ../../source/usage/tags_and_references.rst:221
msgid "Auto-Completion in the Editor"
msgstr "Autocomplétion dans l'éditeur"
#: ../../source/usage/tags_and_references.rst:223
msgid ""
"An auto-completer context menu will show up automatically in the document "
"editor when you type the character ``@`` on a new line. It will first "
"suggest tag or reference keywords for you to add, and after the ``:`` has "
"been added, suggest references from the list of tags you have already "
"defined."
msgstr ""
"Un menu contextuel d'auto-complétion s'affiche automatiquement dans "
"l'éditeur de document lorsque vous tapez le caractère ``@`` sur une "
"nouvelle ligne. Il vous proposera d'abord des mots-clés d'étiquette ou de "
"référence à ajouter, puis, après l'ajout de ``:``, des références à "
"partir de la liste des étiquettes que vous avez déjà définies."
#: ../../source/usage/tags_and_references.rst:227
msgid ""
"You can use the auto-completer to add multiple references with a ``,`` "
"between them, and even type new ones. Notes for new references can be "
"created by right-clicking on them and selecting **Create Note for Tag** "
"from the menu."
msgstr ""
"Vous pouvez utiliser l'auto-complétion pour ajouter plusieurs références "
"avec un ``,`` entre elles, et même en taper de nouvelles. Les notes pour "
"les nouvelles références peuvent être créées en faisant un clic droit sur "
"celles-ci et en sélectionnant **Créer une note pour l'étiquette** dans le "
"menu."

View File

@@ -0,0 +1,440 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 17:39+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/user_interface/editor_viewer.rst:5
msgid "The Editor and Viewer"
msgstr "L'éditeur et l'afficheur"
#: ../../source/user_interface/editor_viewer.rst:9
msgid ""
"This chapter covers in more detail how the document editor and viewer "
"panels work."
msgstr ""
"Ce chapitre décrit plus en détail le fonctionnement de l'éditeur de "
"documents et des panneaux de visualisation."
#: ../../source/user_interface/editor_viewer.rst:15
msgid "Editing a Document"
msgstr "Édition d'un document"
#: ../../source/user_interface/editor_viewer.rst:19
msgid "A screenshot of the Document Editor panel."
msgstr "Capture d'écran du panneau de l'éditeur de documents."
#: ../../source/user_interface/editor_viewer.rst:21
msgid ""
"To edit a document, double-click it in the project tree, press the :kbd:"
"`Return` key while having it selected, or drag and drop it onto the "
"editor panel. This will open the document in the document editor."
msgstr ""
"Pour éditer un document, double-cliquez dessus dans l'arborescence du "
"projet, appuyez sur la touche :kbd:`Return` lorsqu'il est sélectionné, "
"ou faites-le glisser et déposez-le dans le panneau de l'éditeur. Le "
"document s'ouvre alors dans l'éditeur de documents."
#: ../../source/user_interface/editor_viewer.rst:25
msgid ""
"The editor has a maximise button, which toggles the **Focus Mode**, and "
"a close button in the top--right corner. On the top--left side you will "
"find a tools button that opens a toolbar with a few buttons for applying "
"text formatting, a drop down menu for navigating between headings, and a "
"search button to open the search dialog."
msgstr ""
"L'éditeur dispose d'un bouton d'agrandissement, qui permet de basculer "
"en **Mode sans distraction**, et d'un bouton de fermeture dans le coin "
"supérieur droit. En haut à gauche, vous trouverez un bouton « Outils » "
"qui ouvre une barre d'outils avec quelques boutons pour appliquer le "
"formatage du texte, un menu déroulant pour naviguer entre les rubriques, "
"et un bouton « Recherche » pour ouvrir la boîte de dialogue de recherche."
#: ../../source/user_interface/editor_viewer.rst:30
msgid ""
"Both the document editor and viewer will show the label of the currently "
"open document in the header at the top of the edit or view panel. "
"Optionally, the full project path to the document can be shown. This can "
"be set in **Preferences**."
msgstr ""
"L'éditeur de documents et la visualisation affichent l'étiquette du "
"document actuellement ouvert dans l'en-tête en haut du panneau d'édition "
"ou de visualisation. En option, le chemin complet du projet vers le "
"document peut être affiché. Cette option peut être définie dans les "
"**Préférences**."
#: ../../source/user_interface/editor_viewer.rst:36
msgid ""
"Clicking on the document title bar will select the document in the "
"project tree and thus reveal its location there, making it easier to "
"find in a large project."
msgstr ""
"En cliquant sur la barre de titre du document, vous sélectionnez le "
"document dans l'arborescence du projet et révélez ainsi son emplacement, "
"ce qui permet de le retrouver plus facilement dans un projet volumineux."
#: ../../source/user_interface/editor_viewer.rst:39
msgid ""
"Any references in the editor can be opened in the viewer by moving the "
"cursor to the label and pressing :kbd:`Ctrl+Return`. You can also "
"control-click them with your mouse."
msgstr ""
"Toutes les références de l'éditeur peuvent être ouvertes dans "
"l'afficheur en déplaçant le curseur sur l'étiquette et en appuyant sur :"
"kbd:`Ctrl+Return`. Vous pouvez également faire un contrôle-clic avec "
"votre souris."
#: ../../source/user_interface/editor_viewer.rst:44
msgid "Spell Checking"
msgstr "Vérification de l'orthographe"
#: ../../source/user_interface/editor_viewer.rst:46
msgid ""
"A third party library called Enchant is used for spell checking in the "
"editor. The controls for spell checking are found in the **Tools** menu. "
"You can also set spell checking language in **Project Settings**."
msgstr ""
"Une bibliothèque tierce appelée Enchant est utilisée pour la "
"vérification orthographique dans l'éditeur. Les commandes de "
"vérification orthographique se trouvent dans le menu **Outils**. Vous "
"pouvez également définir la langue de la vérification orthographique "
"dans **Paramètres du projet**."
#: ../../source/user_interface/editor_viewer.rst:50
msgid ""
"This spell checking library comes with support for custom words that you "
"can add by selecting \"Add Word to Dictionary\" from the context menu "
"when a word is highlighted by the spell checker as misspelled. The "
"custom words are managed on a per-project basis, and the list of words "
"can be edited from the **Project Word List** tool available from the "
"**Tools** menu."
msgstr ""
"Cette bibliothèque de vérification orthographique prend en charge les "
"mots personnalisés que vous pouvez ajouter en sélectionnant « Ajouter un "
"mot au dictionnaire » dans le menu contextuel lorsqu'un mot est mis en "
"évidence par le vérificateur orthographique comme étant mal "
"orthographié. Les mots personnalisés sont gérés par projet et la liste "
"des mots peut être modifiée à partir de l'outil **Liste de mots du "
"projet** disponible dans le menu **Outils**.\n"
"\n"
"Traduit avec DeepL.com (version gratuite)"
#: ../../source/user_interface/editor_viewer.rst:57
msgid ""
"Generally, spell checking dictionaries are collected from your operating "
"system, but on Windows they are not. See :ref:`docs_more_custom_dict` "
"for how to add spell checking dictionaries on Windows."
msgstr ""
"En général, les dictionnaires de vérification orthographique sont "
"recueillis par votre système d'exploitation, mais ce n'est pas le cas "
"sous Windows. Voir :ref:`docs_more_custom_dict` pour savoir comment "
"ajouter des dictionnaires de vérification orthographique sous Windows."
#: ../../source/user_interface/editor_viewer.rst:63
msgid "Word Counts"
msgstr "Nombre de mots"
#: ../../source/user_interface/editor_viewer.rst:65
msgid ""
"A character, word, and paragraph count is maintained for each document, "
"as well as for each section of a document following a heading. The word "
"count and change of words in the current session is displayed in the "
"footer of any document open in the editor, and all stats are shown in "
"the details panel below the project tree for any document selected in "
"the project or novel trees."
msgstr ""
"Un décompte des caractères, des mots et des paragraphes est maintenu "
"pour chaque document, ainsi que pour chaque section d'un document "
"suivant un titre. Le nombre de mots et le changement de mots dans la "
"session en cours sont affichés dans le pied de page de tout document "
"ouvert dans l'éditeur, et toutes les statistiques sont affichées dans le "
"panneau de détails situé sous l'arborescence du projet pour tout "
"document sélectionné dans l'arborescence du projet ou des romans."
#: ../../source/user_interface/editor_viewer.rst:70
msgid ""
"The word counts are not updated in real time, but run in the background "
"every few seconds for as long as the document is being actively edited."
msgstr ""
"Le décompte des mots n'est pas mis à jour en temps réel, mais s'exécute "
"en arrière-plan toutes les quelques secondes tant que le document est "
"activement édité."
#: ../../source/user_interface/editor_viewer.rst:73
msgid ""
"A total project word count is displayed in the status bar. The total "
"count depends on the sum of the values in the project tree, which again "
"depend on an up to date project index. If the counts seem wrong, a full "
"project word recount can be initiated by rebuilding the project's index. "
"Either from the **Tools** menu, or by pressing :kbd:`F9`."
msgstr ""
"Le nombre total de mots du projet est affiché dans la barre d'état. Le "
"décompte total dépend de la somme des valeurs de l'arborescence du "
"projet, qui dépendent à leur tour d'un index du projet à jour. Si le "
"décompte semble erroné, un recomptage complet des mots du projet peut "
"être lancé en reconstruisant l'index du projet. Soit à partir du menu "
"**Outils**, soit en appuyant sur :kbd:`F9`."
#: ../../source/user_interface/editor_viewer.rst:78
msgid ""
"The rules for how the counts are made is covered in more detail in :ref:"
"`docs_more_counting`."
msgstr ""
"Les règles de comptage sont décrites plus en détail dans :ref:"
"`docs_more_counting`."
#: ../../source/user_interface/editor_viewer.rst:82
msgid ""
"For some languages, character count is the more interesting statistics. "
"You can select to display character count instead of word count in the "
"user interface in **Preferences**."
msgstr ""
"Pour certaines langues, le nombre de caractères est la statistique la "
"plus intéressante. Vous pouvez choisir d'afficher le nombre de "
"caractères plutôt que le nombre de mots dans l'interface utilisateur "
"dans **Préférences**."
#: ../../source/user_interface/editor_viewer.rst:91
msgid "Search & Replace"
msgstr "Rechercher & Remplacer"
#: ../../source/user_interface/editor_viewer.rst:95
msgid "A screenshot of the Document Editor search box."
msgstr ""
"Capture d'écran de la boîte de recherche de l'éditeur de documents."
#: ../../source/user_interface/editor_viewer.rst:97
msgid ""
"The document editor has a search and replace tool that can be activated "
"with :kbd:`Ctrl+F` for search mode or :kbd:`Ctrl+H` for search and "
"replace mode."
msgstr ""
"L'éditeur de documents dispose d'un outil de recherche et de "
"remplacement qui peut être activé avec :kbd:`Ctrl+F` pour le mode "
"recherche ou :kbd:`Ctrl+H` pour le mode recherche et remplacement."
#: ../../source/user_interface/editor_viewer.rst:100
msgid ""
"Pressing :kbd:`Return` while in the search box will search for the next "
"occurrence of the word, and :kbd:`Shift+Return` for the previous. "
"Pressing :kbd:`Return` in the replace box, will replace the highlighted "
"text and move to the next result."
msgstr ""
"En appuyant sur :kbd:`Retour` dans le champ de recherche, on recherche "
"l'occurrence suivante du mot, et :kbd:`Maj+Retour` l'occurrence "
"précédente. En appuyant sur :kbd:`Retour` dans la zone de remplacement, "
"vous remplacerez le texte surligné et passerez au résultat suivant."
#: ../../source/user_interface/editor_viewer.rst:104
msgid ""
"There are a number of settings for the search tool available as toggle "
"switches above the search box. They allow you to search for, in order: "
"matched case only, whole word results only, search using regular "
"expressions, loop search when reaching the end of the document, and move "
"to the next document when reaching the end. There is also a switch that "
"will try to match the case of the word when the replacement is made. "
"That is, it will try to keep the word upper, lower, or capitalised to "
"match the word being replaced."
msgstr ""
"Il existe un certain nombre de paramètres pour l'outil de recherche, "
"disponibles sous forme de commutateurs au-dessus de la boîte de "
"recherche. Ils vous permettent de rechercher, dans l'ordre : la "
"correspondance entre les majuscules et les minuscules, le mot entier "
"uniquement, les expressions régulières, la recherche en boucle lorsque "
"vous atteignez la fin du document et le passage au document suivant "
"lorsque vous atteignez la fin du document. Il existe également un "
"commutateur qui tente de faire correspondre la casse du mot au moment du "
"remplacement. En d'autres termes, il essaiera de conserver le mot en "
"majuscules, en minuscules ou en capitales pour qu'il corresponde au mot "
"remplacé."
#: ../../source/user_interface/editor_viewer.rst:115
msgid "Auto-Replace as You Type"
msgstr "Remplacement automatique au fur et à mesure de la saisie"
#: ../../source/user_interface/editor_viewer.rst:117
msgid ""
"A few auto-replace features are supported by the editor. You can control "
"every aspect of the auto-replace feature from **Preferences**. You can "
"also disable this feature entirely if you wish."
msgstr ""
"Quelques fonctions de remplacement automatique sont prises en charge par "
"l'éditeur. Vous pouvez contrôler tous les aspects de la fonction de "
"remplacement automatique dans les **Préférences**. Vous pouvez également "
"désactiver entièrement cette fonction si vous le souhaitez."
#: ../../source/user_interface/editor_viewer.rst:122
msgid ""
"If you don't like auto-replacement, all symbols inserted by this feature "
"are also available in the :guilabel:`Insert` menu, and via :ref:"
"`docs_features_shortcuts_insert`. You may also be using a `Compose Key`_ "
"setup, which means you may not need the auto-replace feature at all."
msgstr ""
"Si vous n'aimez pas le remplacement automatique, tous les symboles "
"insérés par cette fonctionnalité sont également disponibles dans le "
"menu :guilabel:`Insert`, et via :ref:`docs_features_shortcuts_insert`. "
"Vous pouvez également utiliser une configuration `Compose Key`_, ce qui "
"signifie que vous n'avez pas du tout besoin de la fonctionnalité de "
"remplacement automatique."
#: ../../source/user_interface/editor_viewer.rst:126
msgid ""
"The editor is able to replace two and three hyphens with short and long "
"dashes, four dashes with a horizontal bar, three dots with ellipsis, and "
"replace straight single and double quotes with user-defined quote "
"symbols. It will also try to determine whether to use the opening or "
"closing symbol, although this feature isn't always accurate. Especially "
"distinguishing between closing single quote and apostrophe can be tricky "
"for languages that use the same symbol for these, like English does."
msgstr ""
"L'éditeur est capable de remplacer deux et trois traits d'union par des "
"tirets courts et longs, quatre tirets par une barre horizontale, trois "
"points par une ellipse, et de remplacer les guillemets simples et "
"doubles par des symboles de guillemets définis par l'utilisateur. Il "
"tente également de déterminer s'il convient d'utiliser le symbole "
"d'ouverture ou de fermeture, bien que cette fonction ne soit pas "
"toujours exacte. En particulier, la distinction entre le guillemet "
"simple fermant et l'apostrophe peut s'avérer délicate dans les langues "
"qui utilisent le même symbole pour ces deux types de guillemets, comme "
"c'est le cas en anglais."
#: ../../source/user_interface/editor_viewer.rst:135
msgid ""
"If the auto-replace feature changes a symbol when you did not want it to "
"change, pressing :kbd:`Ctrl+Z` once after the auto-replacement will undo "
"it without undoing the character you typed."
msgstr ""
"Si la fonction de remplacement automatique modifie un symbole alors que "
"vous ne le souhaitiez pas, appuyez sur :kbd:`Ctrl+Z` une fois après le "
"remplacement automatique pour l'annuler sans annuler le caractère que "
"vous avez tapé."
#: ../../source/user_interface/editor_viewer.rst:143
msgid "Viewing a Document"
msgstr "Visualisation d'un document"
#: ../../source/user_interface/editor_viewer.rst:147
msgid "A screenshot of the Document Viewer panel."
msgstr "Capture d'écran de la visualisation de documents."
#: ../../source/user_interface/editor_viewer.rst:149
msgid ""
"Any document in the project tree can also be viewed in parallel in a "
"right hand side document viewer. To view a document, press :kbd:"
"`Ctrl+R`, select **View Document** in the menu or context menu, or drag "
"and drop the document onto the viewer panel. If you have a middle mouse "
"button, middle-clicking on the document will also open it in the viewer."
msgstr ""
"Tout document de l'arborescence du projet peut également être visualisé "
"en parallèle dans une visionneuse de documents sur le côté droit. Pour "
"visualiser un document, appuyez sur :kbd:`Ctrl+R`, sélectionnez "
"**Afficher ce document** dans le menu ou le menu contextuel, ou glissez-"
"déposez le document sur le panneau de visualisation. Si vous disposez "
"d'un bouton du milieu de la souris, un clic du milieu sur le document "
"l'ouvrira également dans l'afficheur."
#: ../../source/user_interface/editor_viewer.rst:154
msgid ""
"The document viewed does not have to be the same document as the one "
"currently being edited. However, If you *are* viewing the same document, "
"pressing :kbd:`Ctrl+R` from the editor will update the document with "
"your latest changes. You can also press the reload button in the top--"
"right corner of the viewer panel, next to the close button, to achieve "
"the same thing."
msgstr ""
"Le document visualisé ne doit pas nécessairement être le même que celui "
"qui est en cours d'édition. Cependant, si vous *voyez* le même document, "
"presser :kbd:`Ctrl+R` depuis l'éditeur mettra à jour le document avec "
"vos dernières modifications. Vous pouvez également appuyer sur le bouton "
"de rechargement dans le coin supérieur droit du panneau de "
"visualisation, à côté du bouton de fermeture, pour obtenir la même chose."
#: ../../source/user_interface/editor_viewer.rst:159
msgid ""
"In the viewer, references become clickable links. Clicking them will "
"replace the content of the viewer with the content of the document the "
"reference points to."
msgstr ""
"Dans l'afficheur, les références deviennent des liens cliquables. En "
"cliquant sur ces liens, le contenu de l'afficheur est remplacé par le "
"contenu du document auquel la référence renvoie."
#: ../../source/user_interface/editor_viewer.rst:162
msgid ""
"The document viewer keeps a history of viewed documents, which you can "
"navigate with the arrow buttons in the top--left corner of the viewer. "
"If your mouse has backward and forward navigation buttons, these can be "
"used as well. They work just like the backward and forward features in a "
"browser. The left-most button is a dropdown menu for quickly navigation "
"between headings in the document. The edit button on the right will open "
"the viewed document in the editor."
msgstr ""
"L'afficheur de documents conserve un historique des documents consultés, "
"que vous pouvez parcourir à l'aide des boutons fléchés situés dans le "
"coin supérieur gauche du visualiseur. Si votre souris possède des "
"boutons de navigation vers l'avant et vers l'arrière, vous pouvez "
"également les utiliser. Ils fonctionnent de la même manière que les "
"fonctions de navigation vers l'avant et vers l'arrière d'un navigateur. "
"Le bouton le plus à gauche est un menu déroulant qui permet de naviguer "
"rapidement entre les rubriques du document. Le bouton d'édition situé à "
"droite permet d'ouvrir le document visualisé dans l'éditeur."
#: ../../source/user_interface/editor_viewer.rst:172
msgid "Document References"
msgstr "Références des documents"
#: ../../source/user_interface/editor_viewer.rst:174
msgid ""
"At the bottom of the viewer panel you will find a **References** panel. "
"(If it is hidden, click the button on the left side of the footer area "
"to reveal it.) This panel contains a References tab with links to all "
"documents referring back to the one you're currently viewing, if any has "
"been defined. If you have created root folders and tags for various "
"story elements like characters and plot points, these will appear as "
"additional tabs in this panel."
msgstr ""
"En bas du panneau de visualisation, vous trouverez un panneau "
"**Références**. (S'il est caché, cliquez sur le bouton situé à gauche du "
"pied de page pour le faire apparaître). Ce panneau contient un onglet "
"Références avec des liens vers tous les documents qui renvoient à celui "
"que vous êtes en train de visualiser, si un tel document a été défini. "
"Si vous avez créé des dossiers racines et des étiquettes pour divers "
"éléments de l'histoire, tels que les personnages et les points de "
"l'intrigue, ceux-ci apparaîtront sous forme d'onglets supplémentaires "
"dans ce panneau."
#: ../../source/user_interface/editor_viewer.rst:182
msgid ""
"The **References** panel relies on an up-to-date project index. The "
"index is maintained automatically. However, if anything is missing, or "
"seems wrong, the index can always be rebuilt by selecting **Rebuild "
"Index** from the **Tools** menu, or by pressing :kbd:`F9`."
msgstr ""
"Le panneau **Références** s'appuie sur un index des projets mis à jour. "
"L'index est maintenu automatiquement. Cependant, si quelque chose manque "
"ou semble erroné, l'index peut toujours être reconstruit en "
"sélectionnant **Rebuild Index** dans le menu **Tools**, ou en pressant :"
"kbd:`F9`."
#: ../../source/user_interface/editor_viewer.rst:188
msgid "The reference panel was redesigned and the additional tabs added."
msgstr ""
"Le panneau de référence a été redessiné et des onglets supplémentaires "
"ont été ajoutés."

View File

@@ -0,0 +1,500 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 16:42+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/user_interface/main_window.rst:5
msgid "The Main Window"
msgstr "La fenêtre principale"
#: ../../source/user_interface/main_window.rst:7
msgid ""
"The user interface of novelWriter is intended to be as minimalistic as "
"practically possible, while at the same time provide useful features "
"needed for writing a novel."
msgstr ""
"L'interface utilisateur de novelWriter se veut aussi minimaliste que "
"possible, tout en offrant les fonctionnalités utiles à l'écriture d'un "
"roman."
#: ../../source/user_interface/main_window.rst:10
msgid ""
"The main window does not by default have an editor toolbar like many "
"other applications do. This reduces clutter, and since the documents are "
"formatted with style tags, it is not needed most of the time. Still, a "
"small formatting toolbar can be popped out by clicking the left-most "
"button in the header of the document editor. It gives quick access to "
"standard formatting codes."
msgstr ""
"La fenêtre principale ne comporte pas, par défaut, de barre d'outils "
"d'édition, comme c'est le cas dans de nombreuses autres applications. "
"Cela réduit l'encombrement et, comme les documents sont formatés avec "
"des balises de style, la barre d'outils n'est pas nécessaire la plupart "
"du temps. Néanmoins, une petite barre d'outils de formatage peut être "
"affichée en cliquant sur le bouton le plus à gauche dans l'en-tête de "
"l'éditeur de documents. Elle permet d'accéder rapidement aux codes de "
"formatage standard."
#: ../../source/user_interface/main_window.rst:15
msgid ""
"Most formatting features supported are also available through keyboard "
"shortcuts, as well as available in the main menu under **Format**, so "
"you don't have to look up formatting codes every time you need them. For "
"reference, a list of all shortcuts can be found in the :ref:"
"`docs_features_shortcuts` section."
msgstr ""
"La plupart des fonctions de formatage supportées sont également "
"disponibles par des raccourcis clavier, ainsi que dans le menu principal "
"sous **Format**, de sorte que vous n'avez pas à chercher les codes de "
"formatage à chaque fois que vous en avez besoin. Pour référence, une "
"liste de tous les raccourcis peut être trouvée dans la section :ref:"
"`docs_features_shortcuts`."
#: ../../source/user_interface/main_window.rst:20
msgid ""
"On the left side of the main window you will find a sidebar. This bar "
"has buttons for the standard views you can switch between, a quick link "
"to the **Build Manuscript** tool, and a set of project-related tools and "
"quick access to settings at the bottom."
msgstr ""
"Sur le côté gauche de la fenêtre principale, vous trouverez une barre "
"latérale. Cette barre comporte des boutons pour les vues standard entre "
"lesquelles vous pouvez basculer, un lien rapide vers l'outil **Compiler "
"le manuscrit**, ainsi qu'un ensemble d'outils liés au projet et un accès "
"rapide aux paramètres dans la partie inférieure."
#: ../../source/user_interface/main_window.rst:26
msgid "Project Tree and Editor View"
msgstr "Arborescence du projet et vue de l'éditeur"
#: ../../source/user_interface/main_window.rst:30
msgid "A screenshot of the Project Tree and Editor View."
msgstr ""
"Capture d'écran de l'arborescence du projet et de la vue de l'éditeur."
#: ../../source/user_interface/main_window.rst:32
msgid ""
"When **Project Tree View** in the sidebar is selected, the work area is "
"split in two, or optionally three, panels. The left-most panel contains "
"the project tree and all the documents in your project. The second panel "
"is the document editor."
msgstr ""
"Lorsque l'option **Arborescence du projet** de la barre latérale est "
"sélectionnée, l'espace de travail est divisé en deux, ou éventuellement "
"trois, panneaux. Le panneau le plus à gauche contient l'arborescence du "
"projet et tous les documents de votre projet. Le deuxième panneau est "
"l'éditeur de documents."
#: ../../source/user_interface/main_window.rst:36
msgid ""
"An optional third panel on the right side contains a document viewer "
"which can view any document in your project independently of what is "
"open in the document editor. This panel is not intended as a preview "
"window, although you can use it for this purpose if you wish. For "
"instance if you need to check that the formatting tags behave as you "
"expect. However, the main purpose of the viewer is for viewing your "
"notes next to your editor while you're writing."
msgstr ""
"Un troisième panneau facultatif sur le côté droit contient une "
"visionneuse de documents qui peut afficher n'importe quel document de "
"votre projet indépendamment de ce qui est ouvert dans l'éditeur de "
"documents. Ce panneau n'est pas conçu comme une fenêtre de "
"prévisualisation, bien que vous puissiez l'utiliser à cette fin si vous "
"le souhaitez. Par exemple, si vous avez besoin de vérifier que les "
"balises de formatage se comportent comme vous le souhaitez. Cependant, "
"l'objectif principal de la visionneuse est de visualiser vos notes à "
"côté de votre éditeur pendant que vous écrivez."
#: ../../source/user_interface/main_window.rst:42
msgid ""
"The editor also has a **Focus Mode** you can toggle either from the "
"menu, from the icon in the editor's header, or by pressing :kbd:`F8`. "
"When **Focus Mode** is enabled, all the user interface elements other "
"than the document editor itself are hidden away."
msgstr ""
"L'éditeur dispose également d'un **Mode sans distraction** que vous "
"pouvez activer soit à partir du menu, soit à partir de l'icône dans l'en-"
"tête de l'éditeur, soit en appuyant sur :kbd:`F8`. Lorsque le **Mode "
"sans distraction** est activé, tous les éléments de l'interface "
"utilisateur autres que l'éditeur de document lui-même sont cachés."
#: ../../source/user_interface/main_window.rst:46
msgid ""
"The project tree will highlight with a different background colour the "
"document that is currently open in the editor."
msgstr ""
"L'arborescence du projet met en évidence, avec une couleur d'arrière-"
"plan différente, le document actuellement ouvert dans l'éditeur."
#: ../../source/user_interface/main_window.rst:51
msgid "Drag & Drop"
msgstr "Glisser-déposer"
#: ../../source/user_interface/main_window.rst:53
msgid ""
"The project tree allows drag & drop so you to reorder your documents and "
"folders. Moving a document in the project tree will affect the text's "
"position when you assemble your manuscript in the **Manuscript Build** "
"tool."
msgstr ""
"L'arborescence du projet permet d'effectuer un glisser-déposer pour "
"réorganiser les documents et les dossiers. Le déplacement d'un document "
"dans l'arborescence du projet affectera la position du texte lorsque "
"vous assemblerez votre manuscrit dans l'outil **Compilation du "
"manuscrit**."
#: ../../source/user_interface/main_window.rst:57
msgid ""
"Documents and their folders can be rearranged freely within their root "
"folders. If you move a **Novel Document** out of a **Novel** folder, it "
"will be converted to a **Project Note**. Notes can be moved freely "
"between all root folders, but keep in mind that if you move a note into "
"a **Novel** type root folder, its \"Importance\" setting will be "
"replaced by a \"Status\" setting. See :ref:`docs_usage_project_status` "
"for more details. The old value will not be overwritten though, and "
"should be restored if you move it back at some point."
msgstr ""
"Les documents et leurs dossiers peuvent être réorganisés librement à "
"l'intérieur de leur dossier racine. Si vous déplacez un **Document "
"roman** hors d'un dossier **Roman**, il sera converti en **Note de "
"projet**. Les notes peuvent être déplacées librement entre tous les "
"dossiers racine, mais gardez à l'esprit que si vous déplacez une note "
"dans un dossier racine de type **Roman**, son paramètre « Importance » "
"sera remplacé par un paramètre « Statut ». Voir :ref:"
"`docs_usage_project_status` pour plus de détails. L'ancienne valeur ne "
"sera pas écrasée, et devrait être restaurée si vous la déplacez à "
"nouveau à un moment donné."
#: ../../source/user_interface/main_window.rst:64
msgid ""
"Root folders in the project tree cannot be dragged and dropped at all. "
"If you want to reorder them, you can move them up or down with respect "
"to each other using the arrow buttons at the top of the project tree, or "
"by pressing :kbd:`Ctrl+Up` or :kbd:`Ctrl+Down` when they are selected."
msgstr ""
"Les dossiers racines de l'arborescence du projet ne peuvent pas être "
"déplacés. Si vous souhaitez les réorganiser, vous pouvez les déplacer "
"vers le haut ou vers le bas en utilisant les boutons fléchés en haut de "
"l'arborescence du projet, ou en appuyant sur :kbd:`Ctrl+Haut` ou :kbd:"
"`Ctrl+Bas` lorsqu'ils sont sélectionnés."
#: ../../source/user_interface/main_window.rst:70
msgid ""
"You can drag and drop documents onto the editor or viewer panel to open "
"them."
msgstr ""
"Vous pouvez faire glisser et déposer des documents sur le panneau de "
"l'éditeur ou de la visionneuse pour les ouvrir."
#: ../../source/user_interface/main_window.rst:76
msgid ""
"You can now select multiple items in the project tree by holding down "
"the :kbd:`Ctrl` or :kbd:`Shift` key while selecting items."
msgstr ""
"Vous pouvez maintenant sélectionner plusieurs éléments dans "
"l'arborescence du projet en maintenant la touche :kbd:`Ctrl` ou :kbd:"
"`Maj` enfoncée pendant la sélection des éléments."
#: ../../source/user_interface/main_window.rst:85
msgid "Novel View and Editor View"
msgstr "Vue du roman et vue de l'éditeur"
#: ../../source/user_interface/main_window.rst:89
msgid "A screenshot of the Novel Tree and Editor View."
msgstr ""
"Capture d'écran de l'arborescence des romans et de la vue de l'éditeur."
#: ../../source/user_interface/main_window.rst:91
msgid ""
"When **Novel Tree View** in the sidebar is selected, the project tree is "
"replaced by an overview of your novel structure for a specific **Novel** "
"type root folder. Instead of showing individual documents, the tree now "
"shows all headings of your text. This includes multiple headings within "
"the same document."
msgstr ""
"Lorsque l'option **Arborescence du roman** de la barre latérale est "
"sélectionnée, l'arborescence du projet est remplacée par une vue "
"d'ensemble de la structure de votre roman pour un dossier racine "
"spécifique de type **Roman**. Au lieu d'afficher des documents "
"individuels, l'arborescence montre maintenant tous les titres de votre "
"texte. Cela inclut les titres multiples au sein d'un même document."
#: ../../source/user_interface/main_window.rst:96
msgid ""
"Each heading is indented according to the heading level, not its parent/"
"child relationship to other elements of your project. You can open and "
"edit your novel documents from this view as well. All headings contained "
"in the currently open document should be highlighted in the view to "
"indicate which ones belong together in the same document."
msgstr ""
"Chaque titre est indenté en fonction du niveau du titre, et non de sa "
"relation parent/enfant avec d'autres éléments de votre projet. Vous "
"pouvez également ouvrir et modifier vos nouveaux documents à partir de "
"cette vue. Toutes les rubriques contenues dans le document actuellement "
"ouvert doivent être mises en évidence dans la vue pour indiquer celles "
"qui appartiennent au même document."
#: ../../source/user_interface/main_window.rst:101
msgid ""
"If you have multiple **Novel** type root folders, the header of the "
"novel view becomes a dropdown box. You can then switch between them by "
"clicking the :guilabel:`Outline of ...` text. You can also click the "
"novel icon button next to it."
msgstr ""
"Si vous avez plusieurs dossiers racine de type **Nouveau**, l'en-tête de "
"la vue roman devient une liste déroulante. Vous pouvez alors passer de "
"l'un à l'autre en cliquant sur le texte :guilabel:`Plan de ...`. Vous "
"pouvez également cliquer sur le bouton de l'icône du roman situé à côté."
#: ../../source/user_interface/main_window.rst:105
msgid ""
"Generally, the novel view should update when you make changes to the "
"novel structure, including edits of the current document in the editor. "
"The information is only updated when the automatic save of the document "
"is triggered, or you manually press :kbd:`Ctrl+S` to save changes. (You "
"can adjust the auto-save interval in **Preferences**.) You can also "
"regenerate the whole novel view by pressing the refresh button in the "
"novel view header."
msgstr ""
"En général, la vue du roman doit être mise à jour lorsque vous apportez "
"des modifications à la structure du roman, y compris les modifications "
"du document courant dans l'éditeur. Les informations ne sont mises à "
"jour que lorsque la sauvegarde automatique du document est déclenchée, "
"ou lorsque vous appuyez manuellement sur :kbd:`Ctrl+S` pour sauvegarder "
"les modifications (vous pouvez ajuster l'intervalle de sauvegarde "
"automatique dans **Préférences**). Vous pouvez également régénérer la "
"vue du roman en entier en appuyant sur le bouton d'actualisation dans "
"l'en-tête de la vue du roman."
#: ../../source/user_interface/main_window.rst:111
msgid ""
"It is possible to show an optional third column in the novel view. The "
"settings are available from the menu button in the toolbar."
msgstr ""
"Il est possible d'afficher une troisième colonne facultative dans la vue "
"nouvelle. Les paramètres sont disponibles à partir du bouton de menu "
"dans la barre d'outils."
#: ../../source/user_interface/main_window.rst:114
msgid ""
"If you click the triangular icon to the right of each item, a tooltip "
"will pop out showing all the meta data collected for that heading."
msgstr ""
"Si vous cliquez sur l'icône triangulaire à droite de chaque élément, une "
"infobulle s'affichera, indiquant toutes les métadonnées collectées pour "
"cette rubrique."
#: ../../source/user_interface/main_window.rst:119
msgid ""
"You cannot reorganise the entries in the novel view, or add any new "
"documents, as that would imply restructuring the content of the "
"documents themselves. Any such editing must be done in the project tree. "
"However, you can add new headings to existing documents, or change "
"references, which will be updated in this view when the document is "
"saved."
msgstr ""
"Il n'est pas possible de réorganiser les entrées dans la vue roman, ni "
"d'ajouter de nouveaux documents, car cela impliquerait de restructurer "
"le contenu des documents eux-mêmes. Toute modification de ce type doit "
"être effectuée dans l'arborescence du projet. Cependant, vous pouvez "
"ajouter de nouveaux titres aux documents existants ou modifier les "
"références, qui seront mises à jour dans cette vue lors de "
"l'enregistrement du document."
#: ../../source/user_interface/main_window.rst:128
msgid "Novel Outline View"
msgstr "Vue d'ensemble du roman"
#: ../../source/user_interface/main_window.rst:132
msgid "A screenshot of the Novel Outline View."
msgstr "Capture d'écran de l'affichage du plan du roman."
#: ../../source/user_interface/main_window.rst:134
msgid ""
"When **Novel Outline View** in the sidebar is selected, the tree, editor "
"and viewer are replaced by a table that shows the entire novel structure "
"with all the tags and references listed. You can select which novel "
"folder to display from the dropdown menu. You can optionally choose to "
"show a combination of all novel folders."
msgstr ""
"Lorsque vous sélectionnez **Vue du plan du roman** dans la barre "
"latérale, l'arborescense, l'éditeur et la visionneuse sont remplacés par "
"un tableau qui affiche la structure complète du roman avec toutes les "
"étiquettes et références répertoriées. Vous pouvez sélectionner le "
"dossier du roman à afficher dans le menu déroulant. Vous pouvez "
"également choisir d'afficher une combinaison de tous les dossiers de "
"romans."
#: ../../source/user_interface/main_window.rst:139
msgid ""
"Pretty much all collected meta data is available in this view. You can "
"select which columns to display from the menu button. This includes "
"various meta data and information extracted from your :ref:"
"`docs_usage_tags_refs`. The order of the columns can also be changed by "
"dragging them to a different position. You column settings are saved "
"between sessions on a per-project basis."
msgstr ""
"Pratiquement toutes les métadonnées collectées sont disponibles dans "
"cette vue. Vous pouvez sélectionner les colonnes à afficher à partir du "
"bouton de menu. Cela inclut diverses métadonnées et informations "
"extraites de vos :ref:`docs_usage_tags_refs`. L'ordre des colonnes peut "
"également être modifié en les faisant glisser vers une position "
"différente. Les paramètres de vos colonnes sont sauvegardés entre les "
"sessions sur une base par projet."
#: ../../source/user_interface/main_window.rst:146
msgid "The **Title** column cannot be disabled or moved."
msgstr "La colonne **Titre** ne peut pas être désactivée ou déplacée."
#: ../../source/user_interface/main_window.rst:148
msgid ""
"The information viewed in the outline is based on the project index. "
"While novelWriter does its best to keep the index up to date when "
"contents change, you can always rebuild it manually by pressing :kbd:"
"`F9` if something isn't right."
msgstr ""
"Les informations affichées dans le plan sont basées sur l'index du "
"projet. Bien que novelWriter fasse de son mieux pour maintenir l'index à "
"jour lorsque le contenu change, vous pouvez toujours le reconstruire "
"manuellement en appuyant sur :kbd:`F9` si quelque chose ne va pas."
#: ../../source/user_interface/main_window.rst:152
msgid ""
"The outline view itself can be regenerated by pressing the refresh "
"button. By default, the content is refreshed each time you switch to "
"this view."
msgstr ""
"La vue d'ensemble elle-même peut être régénérée en appuyant sur le "
"bouton d'actualisation. Par défaut, le contenu est actualisé chaque fois "
"que vous basculez dans cette vue."
#: ../../source/user_interface/main_window.rst:155
msgid ""
"The **Synopsis** column of the outline view takes its information from a "
"specially formatted comment. See :ref:`docs_usage_comments_synopsis`."
msgstr ""
"La colonne **Synopsis** de la vue d'ensemble tire ses informations d'un "
"commentaire spécialement formaté. Voir :ref:"
"`docs_usage_comments_synopsis`."
#: ../../source/user_interface/main_window.rst:160
msgid "Project Search"
msgstr "Recherche dans un projet"
#: ../../source/user_interface/main_window.rst:162
msgid ""
"A global search tool is available from the side bar. It allows you to "
"search through your entire project. The tool does not provide a replace "
"feature. There is a search and replace tool available in the document "
"editor that acts on the open document. See :ref:"
"`docs_ui_edit_view_search` for more details."
msgstr ""
"Un outil de recherche global est disponible dans la barre latérale. Il "
"vous permet d'effectuer une recherche dans l'ensemble de votre projet. "
"Cet outil n'offre pas de fonction de remplacement. Il existe un outil de "
"recherche et de remplacement disponible dans l'éditeur de document qui "
"agit sur le document ouvert. Voir :ref:`docs_ui_edit_view_search` pour "
"plus de détails."
#: ../../source/user_interface/main_window.rst:171
msgid "Switching Focus"
msgstr "Changer de focus"
#: ../../source/user_interface/main_window.rst:173
msgid ""
"If the project or novel view does not have focus, pressing :kbd:`Ctrl+T` "
"switches focus to whichever of the two is visible. If one of them "
"already has focus, the key press will switch between them instead."
msgstr ""
"Si la vue du projet ou du roman n'a pas le focus, presser :kbd:`Ctrl+T` "
"fait basculer le focus sur celle des deux qui est visible. Si l'une "
"d'entre elles a déjà le focus, la pression sur la touche permet de "
"passer de l'une à l'autre."
#: ../../source/user_interface/main_window.rst:177
msgid ""
"Likewise, pressing :kbd:`Ctrl+E` will switch focus to the document "
"editor or viewer, or if any of them already have focus, it will switch "
"focus between them."
msgstr ""
"De même, en appuyant sur :kbd:`Ctrl+E`, le focus passe à l'éditeur ou à "
"l'afficheur du document, ou si l'un d'entre eux est déjà au focus, il "
"passe de l'un à l'autre."
#: ../../source/user_interface/main_window.rst:180
msgid ""
"These two shortcuts make it possible to jump between all these GUI "
"elements without having to reach for the mouse or touchpad."
msgstr ""
"Ces deux raccourcis permettent de passer d'un élément de l'interface "
"graphique à l'autre sans avoir à saisir la souris ou le pavé tactile."
#: ../../source/user_interface/main_window.rst:183
msgid "See :ref:`docs_features_shortcuts` for more details."
msgstr "Voir :ref:`docs_features_shortcuts` pour plus de détails."
#: ../../source/user_interface/main_window.rst:187
msgid "Colour Themes"
msgstr "Thèmes"
#: ../../source/user_interface/main_window.rst:189
msgid ""
"By default, novelWriter uses a light colour theme. You can also choose "
"between a standard dark theme that have neutral colours, or a series of "
"other included themes, from **Preferences**."
msgstr ""
"Par défaut, novelWriter utilise un thème de couleur claire. Vous pouvez "
"également choisir un thème sombre standard avec des couleurs neutres, ou "
"une série d'autres thèmes inclus, dans les **Préférences**."
#: ../../source/user_interface/main_window.rst:192
msgid ""
"If you wish, you *can* create your own colour themes, and even have them "
"added to the application. See :ref:`docs_more_custom_theme` for more "
"details."
msgstr ""
"Si vous le souhaitez, vous pouvez créer vos propres thèmes de couleurs, "
"et même les ajouter à l'application. Voir :ref:`docs_more_custom_theme` "
"pour plus de détails."
#: ../../source/user_interface/main_window.rst:195
msgid ""
"Switching the GUI colour theme does not affect the colours of the editor "
"and viewer. They have separate themes selectable from the \"Document "
"colour theme\" setting in **Preferences**. They are separated because "
"there are a lot more options to choose from for the editor and viewer."
msgstr ""
"Le changement de thème de couleur de l'interface graphique n'affecte pas "
"les couleurs de l'éditeur et de l'afficheur. Ils ont des thèmes séparés "
"qui peuvent être sélectionnés à partir du paramètre « Thème de couleur "
"du document » dans les **Préférences**. Ils sont séparés parce qu'il y a "
"beaucoup plus d'options à choisir pour l'éditeur et l'aff."
#: ../../source/user_interface/main_window.rst:201
msgid ""
"If you switch between light and dark mode on the GUI, you should also "
"switch editor theme to match, otherwise icons may be hard to see in the "
"editor and viewer."
msgstr ""
"Si vous passez du mode clair au mode foncé dans l'interface graphique, "
"vous devez également changer le thème de l'éditeur pour qu'il "
"corresponde, sinon les icônes risquent d'être difficiles à voir dans "
"l'éditeur et l'afficheur."

View File

@@ -0,0 +1,687 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 21:08+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/user_interface/manuscript.rst:5
msgid "Building the Manuscript"
msgstr "Compiler le manuscrit"
#: ../../source/user_interface/manuscript.rst:9
msgid ""
"You can at any time build a manuscript, an outline of your notes, or any other "
"type of document from the text in your project. All of this is handled by the "
"**Manuscript Build** tool. You can activate it from the sidebar, the **Tools** "
"menu, or by pressing :kbd:`F5`."
msgstr ""
"Vous pouvez à tout moment compiler un manuscrit, une ébauche de vos notes ou "
"tout autre type de document à partir du texte de votre projet. Tout cela est "
"géré par l'outil **Compiler le manuscrit**. Vous pouvez l'activer à partir de "
"la barre latérale, du menu **Outils**, ou en appuyant sur :kbd:`F5`."
#: ../../source/user_interface/manuscript.rst:15
msgid ""
"The term \"Build\" in this context means to assemble or generate a single "
"document from a selection of your project documents. You can select between "
"multiple standard document formats."
msgstr ""
"Dans ce contexte, le terme « Construire » signifie assembler ou générer un "
"document unique à partir d'une sélection de documents de votre projet. Vous "
"pouvez choisir entre plusieurs formats de documents standard."
#: ../../source/user_interface/manuscript.rst:20
msgid ""
"This tool is new for version 2.1. A simpler tool was used for earlier versions."
msgstr ""
"Cet outil est nouveau pour la version 2.1. Un outil plus simple était utilisé "
"pour les versions précédentes."
#: ../../source/user_interface/manuscript.rst:26
msgid "The Manuscript Build Tool"
msgstr "L'outil de compilation de manuscrit"
#: ../../source/user_interface/manuscript.rst:31
msgid "The **Manuscript Build** tool main window."
msgstr "La fenêtre principale de l'outil **Compiler le manuscrit**."
#: ../../source/user_interface/manuscript.rst:33
msgid ""
"The main window of the **Manuscript Build** tool contains a list of all the "
"builds you have defined, a selection of settings, and a few buttons to "
"generate preview, open the print dialog, or run the build to create a "
"manuscript document."
msgstr ""
"La fenêtre principale de l'outil **Compiler le manuscrit** contient une liste "
"de toutes les structures que vous avez définies, une sélection de paramètres "
"et quelques boutons permettant de générer un aperçu, d'ouvrir la boîte de "
"dialogue d'impression ou d'exécuter la compilation pour créer un document "
"manuscrit."
#: ../../source/user_interface/manuscript.rst:39
msgid "Outline and Word Counts"
msgstr "Plan et nombre de mots"
#: ../../source/user_interface/manuscript.rst:44
msgid "The **Manuscript Build** tool main window with the **Outline** visible."
msgstr ""
"La fenêtre principale de l'outil **Compiler le manuscrit** avec le **Plan** "
"visible."
#: ../../source/user_interface/manuscript.rst:46
msgid ""
"The **Outline** tab on the left lets you navigate the headings in the preview "
"document. It will show up to scene level headings for novel documents, and "
"level 2 headings for notes."
msgstr ""
"L'onglet **Plan** sur la gauche vous permet de naviguer dans les rubriques du "
"document de prévisualisation. Il affiche les titres de niveau scène pour les "
"documents de roman, et les titres de niveau 2 pour les notes."
#: ../../source/user_interface/manuscript.rst:49
msgid ""
"A collapsible panel of word and character counts is also available below the "
"preview pane. These are calculated from the text you have included in the "
"document, and are more accurate counts than what's available in the project "
"tree since they are counted *after formatting*."
msgstr ""
"Un panneau rétractable indiquant le nombre de mots et de caractères est "
"également disponible sous le volet de prévisualisation. Ces chiffres sont "
"calculés à partir du texte que vous avez inclus dans le document et sont plus "
"précis que ceux disponibles dans l'arborescence du projet puisqu'ils sont "
"comptés *après le formatage*."
#: ../../source/user_interface/manuscript.rst:53
msgid ""
"For a detailed description on how they are counted, see :ref:"
"`docs_more_counting`."
msgstr ""
"Pour une description détaillée de la façon dont ils sont comptés, voir :ref:"
"`docs_more_counting`."
#: ../../source/user_interface/manuscript.rst:59
msgid "Build Settings"
msgstr "Paramètres de compilation"
#: ../../source/user_interface/manuscript.rst:61
msgid ""
"You can edit a build definition by opening it in the **Manuscript Build "
"Settings** dialog, either by double-clicking or by selecting it and pressing "
"the edit button in the toolbar."
msgstr ""
"Vous pouvez éditer une définition de compilation en l'ouvrant dans la boîte de "
"dialogue **Paramètres de compilation du manuscrit**, soit en double-cliquant, "
"soit en la sélectionnant et en appuyant sur le bouton d'édition dans la barre "
"d'outils."
#: ../../source/user_interface/manuscript.rst:66
msgid ""
"You can keep the **Manuscript Build Settings** dialog open while testing the "
"different options, and just hit the :guilabel:`Apply` button. You can test the "
"result of your settings change by pressing the :guilabel:`Preview` button in "
"the main **Manuscript Build** window. When you're happy with the result, you "
"can close the settings."
msgstr ""
"Vous pouvez garder la boîte de dialogue **Paramètres de compilation du "
"manuscrit** ouverte pendant que vous testez les différentes options, et "
"simplement cliquer sur le bouton :guilabel:`appliquer`. Vous pouvez tester le "
"résultat de votre changement de paramètres en appuyant sur le bouton :guilabel:"
"`Aperçu` dans la fenêtre principale **Compilation du manuscrit**. Lorsque vous "
"êtes satisfait du résultat, vous pouvez fermer les paramètres."
#: ../../source/user_interface/manuscript.rst:75
msgid "Document Selection"
msgstr "Sélection des documents"
#: ../../source/user_interface/manuscript.rst:80
msgid "The **Selections** page of the **Manuscript Build Settings** dialog."
msgstr ""
"La page **Sélection** de la boîte de dialogue **Paramètres de construction du "
"manuscrit**."
#: ../../source/user_interface/manuscript.rst:82
msgid ""
"The **Selections** page of the **Manuscript Build Settings** dialog allows you "
"to fine tune which documents are included in the build. The included documents "
"are indicated by an icon in the last column. On the right you have some filter "
"options for selecting content of a specific type, and a set of switches for "
"which root folders to include."
msgstr ""
"La page **Sélections** de la boîte de dialogue **Paramètres de compilation du "
"manuscrit** vous permet d'affiner les documents inclus dans la compilation. "
"Les documents inclus sont indiqués par une icône dans la dernière colonne. Sur "
"la droite, vous disposez d'options de filtrage pour sélectionner le contenu "
"d'un type spécifique, et d'un ensemble de commutateurs pour les dossiers "
"racines à inclure."
#: ../../source/user_interface/manuscript.rst:87
msgid ""
"You can override the result of these filters by marking one or more documents "
"and selecting to explicitly include or exclude them by using the buttons below "
"the tree view. The last button can be used to reset the override and return "
"control to the filter settings."
msgstr ""
"Vous pouvez remplacer le résultat de ces filtres en marquant un ou plusieurs "
"documents et en choisissant de les inclure ou de les exclure explicitement à "
"l'aide des boutons situés sous l'arborescence. Le dernier bouton peut être "
"utilisé pour réinitialiser l'annulation et redonner le contrôle aux paramètres "
"du filtre."
#: ../../source/user_interface/manuscript.rst:91
msgid ""
"In the figure, the orange icon and the blue icon indicates which documents are "
"included, and the red icon indicates that a document is explicitly excluded."
msgstr ""
"Dans la figure, l'icône orange et l'icône bleue indiquent les documents "
"inclus, et l'icône rouge indique qu'un document est explicitement exclu."
#: ../../source/user_interface/manuscript.rst:94
msgid ""
"By default, inactive documents are excluded, but you can override this in the "
"filter settings. See :ref:`docs_usage_project_active` for more details."
msgstr ""
"Par défaut, les documents inactifs sont exclus, mais vous pouvez modifier cela "
"dans les paramètres du filtre. Voir :ref:`docs_usage_project_active` pour plus "
"de détails."
#: ../../source/user_interface/manuscript.rst:101
msgid "Formatting Headings"
msgstr "Mise en forme des en-têtes"
#: ../../source/user_interface/manuscript.rst:106
msgid "The **Headings** page of the **Manuscript Build Settings** dialog."
msgstr ""
"La page **En-têtes** de la boîte de dialogue **Paramètres de construction du "
"manuscrit**."
#: ../../source/user_interface/manuscript.rst:108
msgid ""
"The **Headings** page of the **Manuscript Build Settings** dialog allows you "
"to set how the headings in your Novel Documents are formatted. By default, the "
"title is just copied as-is, indicated by the ``{Title}`` format. You can "
"change this to for instance add chapter numbers and scene numbers, or insert "
"character names, like shown in the figure above."
msgstr ""
"La page **En-têtes** de la boîte de dialogue **Paramètres de compilation du "
"manuscrit** vous permet de définir la façon dont les titres de vos documents "
"du roman sont formatés. Par défaut, le titre est simplement copié tel quel, "
"indiqué par le format ``{Title}`` Vous pouvez modifier ce format pour, par "
"exemple, ajouter des numéros de chapitre et de scène, ou insérer des noms de "
"personnages, comme indiqué dans la figure ci-dessus."
#: ../../source/user_interface/manuscript.rst:113
msgid ""
"Clicking the edit button next to a format will copy the formatting string into "
"the edit box where it can be modified, and where a syntax highlighter will "
"help indicate which parts are automatically generated by the build tool. The :"
"guilabel:`Insert` button is a dropdown list of these formats, and selecting "
"one will insert it at the position of the cursor."
msgstr ""
"Cliquer sur le bouton d'édition à côté d'un format copiera la chaîne de "
"formatage dans la boîte d'édition où elle peut être modifiée, et où un "
"surligneur de syntaxe aidera à indiquer quelles parties sont automatiquement "
"générées par l'outil de construction. Le bouton :guilabel:`Insérer` est une "
"liste déroulante de ces formats, et en sélectionner un l'insérera à la "
"position du curseur."
#: ../../source/user_interface/manuscript.rst:118
msgid ""
"Any text you add that isn't highlighted in colours will remain in your "
"formatted titles. ``{Title}`` will always be replaced by the text in the "
"heading from your documents."
msgstr ""
"Tout texte que vous ajoutez et qui n'est pas surligné en couleur restera dans "
"vos titres formatés. ``{Title}`` sera toujours remplacé par le texte de l'en-"
"tête de vos documents."
#: ../../source/user_interface/manuscript.rst:121
msgid "Heading Formats"
msgstr "Formats d'en-tête"
#: ../../source/user_interface/manuscript.rst:1
msgid "Code"
msgstr "Code"
#: ../../source/user_interface/manuscript.rst:1
msgid "Description"
msgstr "Description"
#: ../../source/user_interface/manuscript.rst:1
msgid "``{BR}``"
msgstr "``{BR}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert a line break."
msgstr "Insérer un saut de ligne."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Title}``"
msgstr "``{Title}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert the original title text."
msgstr "Insérer le texte du titre original."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Chapter}``"
msgstr "``{Chapter}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert a chapter number."
msgstr "Insérer un numéro de chapitre."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Chapter:Word}``"
msgstr "``{Chapter:Word}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert a chapter number as a word."
msgstr "Insérer un numéro de chapitre sous forme de mot."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Chapter:URoman}``"
msgstr "``{Chapter:URoman}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert a chapter number as an upper case Roman numeral."
msgstr ""
"Insérer un numéro de chapitre sous la forme d'un chiffre romain majuscule."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Chapter:LRoman}``"
msgstr "``{Chapter:LRoman}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert a chapter number as an lower case Roman numeral."
msgstr ""
"Insérer un numéro de chapitre sous la forme d'un chiffre romain minuscule."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Scene}``"
msgstr "``{Scene}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert a scene number within the current chapter."
msgstr "Insérer un numéro de scène dans le chapitre en cours."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Scene:Abs}``"
msgstr "``{Scene:Abs}``"
#: ../../source/user_interface/manuscript.rst:1
msgid "Insert a scene number unique to the whole manuscript."
msgstr "Insérer un numéro de scène unique pour l'ensemble du manuscrit."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Char:POV}``"
msgstr "``{Char:POV}``"
#: ../../source/user_interface/manuscript.rst:1
msgid ""
"Insert the point-of-view character's :ref:`display name "
"<docs_usage_tags_refs_tags>`."
msgstr ""
"Insérer le :ref:`nom affiché <docs_usage_tags_refs_tags>` du personnage de "
"point de vue."
#: ../../source/user_interface/manuscript.rst:1
msgid "``{Char:Focus}``"
msgstr "``{Char:Focus}``"
#: ../../source/user_interface/manuscript.rst:1
msgid ""
"Insert the focus character's :ref:`display name <docs_usage_tags_refs_tags>`."
msgstr ""
"Insérer le :ref:`nom affiché<docs_usage_tags_refs_tags>` du personnage cible."
#: ../../source/user_interface/manuscript.rst:136
msgid ""
"You can preview the result of these format strings by clicking :guilabel:"
"`Apply`, and then clicking :guilabel:`Preview` in the **Manuscript Build** "
"tool main window."
msgstr ""
"Vous pouvez prévisualiser le résultat de ces chaînes de formatage en cliquant "
"sur :guilabel:`appliquer`, puis en cliquant sur :guilabel:`aperçu` dans la "
"fenêtre principale de l'outil **Compiler le manuscrit**."
#: ../../source/user_interface/manuscript.rst:143
msgid "Automatic Numbering"
msgstr "Numérotation automatique"
#: ../../source/user_interface/manuscript.rst:145
msgid ""
"The headings formatter allows you to automatically insert chapter and scene "
"numbers into your headings. The automatic chapter number counter will skip all "
"chapter headings marked as unnumbered using the heading format described in :"
"ref:`docs_usage_headings_levels`."
msgstr ""
"Le formateur de titres vous permet d'insérer automatiquement des numéros de "
"chapitre et de scène dans vos titres. Le compteur automatique de numéros de "
"chapitre sautera tous les titres de chapitre marqués comme non numérotés en "
"utilisant le format de titre décrit dans :ref:`docs_usage_headings_levels`."
#: ../../source/user_interface/manuscript.rst:149
msgid ""
"Scene numbers are mostly intended for use in a draft manuscript. You can "
"either insert absolute scene numbers that counts every scene in the novel, or "
"you can insert per-chapter scene numbers that reset to 1 for each new chapter."
msgstr ""
"Les numéros de scène sont principalement destinés à être utilisés dans un "
"brouillon de manuscrit. Vous pouvez soit insérer des numéros de scène absolus "
"qui comptent toutes les scènes du roman, soit des numéros de scène par "
"chapitre qui se remettent à 1 pour chaque nouveau chapitre."
#: ../../source/user_interface/manuscript.rst:153
msgid ":bdg-info:`Example`"
msgstr ":bdg-info:`Exemple`"
#: ../../source/user_interface/manuscript.rst:155
msgid "This will create a chapter title on the format \"Chapter 1: Title Text\":"
msgstr ""
"Cela créera un titre de chapitre au format « Chapitre 1 : Texte du titre » :"
#: ../../source/user_interface/manuscript.rst:161
msgid "This will create a scene title on the format \"Scene 1.1: Title Text\":"
msgstr "Cela créera un titre de scène au format « Scene 1.1 : Texte du titre » :"
#: ../../source/user_interface/manuscript.rst:169
msgid "Scene Separators"
msgstr "Séparateurs de scènes"
#: ../../source/user_interface/manuscript.rst:171
msgid ""
"If you don't want any titles for your scenes (or for your sections if you have "
"them), you can leave the formatting boxes empty. If so, an empty paragraph "
"will be inserted between the scenes or sections instead, resulting in a gap in "
"the text. You can also enable the :guilabel:`Hide` setting, which will ignore "
"them completely. That is, there won't even be an extra gap inserted."
msgstr ""
"Si vous ne voulez pas de titres pour vos scènes (ou pour vos sections si vous "
"en avez), vous pouvez laisser les cases de mise en forme vides. Dans ce cas, "
"un paragraphe vide sera inséré entre les scènes ou les sections, ce qui créera "
"un vide dans le texte. Vous pouvez également activer le paramètre :guilabel:"
"`Caché`, qui les ignorera complètement. En d'autres termes, il n'y aura même "
"pas d'espace supplémentaire inséré."
#: ../../source/user_interface/manuscript.rst:176
msgid ""
"Alternatively, if you want a separator text between them, like the common ``* "
"* *``, you can enter the desired separator text as the format. If the format "
"is any piece of static text, it will always be treated as a separator. A "
"static separator is only inserted between scenes, as opposed to a formatted "
"heading which is also inserted before the first scene of a chapter."
msgstr ""
"Alternativement, si vous voulez un texte séparateur entre eux, comme le commun "
"``* * *``, vous pouvez entrer le texte séparateur désiré comme format. Si le "
"format est un morceau de texte statique, il sera toujours traité comme un "
"séparateur. Un séparateur statique n'est inséré qu'entre les scènes, "
"contrairement à un titre formaté qui est également inséré avant la première "
"scène d'un chapitre."
#: ../../source/user_interface/manuscript.rst:185
msgid "Hard and Soft Scenes"
msgstr "Scènes dures et douces"
#: ../../source/user_interface/manuscript.rst:187
msgid ""
"If you wish to distinguish between so-called soft and hard scene breaks, you "
"can use the alternative scene heading format in your text. You can then give "
"these headings a different formatting in the **Headings** settings."
msgstr ""
"Si vous souhaitez faire la distinction entre les ruptures de scène douces et "
"dures, vous pouvez utiliser le format alternatif de l'en-tête de scène dans "
"votre texte. Vous pouvez ensuite donner à ces titres un format différent dans "
"les paramètres **En-têtes**."
#: ../../source/user_interface/manuscript.rst:191
msgid ""
"See :ref:`docs_usage_headings_levels` for more info on how to format "
"alternative scene headings in your text."
msgstr ""
"Voir :ref:`docs_usage_headings_levels` pour plus d'informations sur la façon "
"de formater des titres de scène alternatifs dans votre texte."
#: ../../source/user_interface/manuscript.rst:196
msgid "Output Settings"
msgstr "Paramètres de sortie"
#: ../../source/user_interface/manuscript.rst:198
msgid ""
"The **Formatting** sections of the **Manuscript Build Settings** dialog "
"control a number of other settings for the output. This includes formatting, "
"but also what content is included. You can for instance select to include "
"comments, synopsis. tags and reference, and even exclude the body text itself."
msgstr ""
"Les sections **Formatage** de la boîte de dialogue **Paramètres de compilation "
"du manuscrit** contrôlent un certain nombre d'autres paramètres pour la "
"sortie. Il s'agit notamment du formatage, mais aussi du contenu inclus. Vous "
"pouvez par exemple choisir d'inclure les commentaires, le synopsis, les "
"étiquettes et les références, et même d'exclure le corps du texte lui-même."
#: ../../source/user_interface/manuscript.rst:207
msgid "Building Manuscript Documents"
msgstr "Création des manuscrits"
#: ../../source/user_interface/manuscript.rst:212
msgid ""
"The **Manuscript Build** dialog used for writing the actual manuscript "
"documents."
msgstr ""
"Le dialogue **compiler le manuscrit** est utilisé pour créer les manuscrits "
"proprement dits."
#: ../../source/user_interface/manuscript.rst:214
msgid ""
"When you press the :guilabel:`Build` button on the **Build Manuscript** tool "
"main window, a special file dialog opens up. This is where you pick your "
"desired output format and where to write the file."
msgstr ""
"Lorsque vous appuyez sur le bouton :guilabel:`Construire` dans la fenêtre "
"principale de l'outil **Compiler le manuscrit**, une boîte de dialogue "
"spéciale s'ouvre. C'est là que vous choisissez le format de sortie désiré et "
"l'endroit où écrire le fichier."
#: ../../source/user_interface/manuscript.rst:218
msgid ""
"On the left side of the dialog is a list of all the available file formats, "
"and on the right, a list of the documents which are included based on the "
"build definition you selected. You can choose an output path, and set a base "
"file name as well. The file extension will be added automatically."
msgstr ""
"La partie gauche de la boîte de dialogue contient une liste de tous les "
"formats de fichiers disponibles, et la partie droite, une liste des documents "
"qui sont inclus en fonction de la définition de la construction que vous avez "
"sélectionnée. Vous pouvez choisir un chemin de sortie et définir un nom de "
"fichier de base. L'extension du fichier sera ajoutée automatiquement."
#: ../../source/user_interface/manuscript.rst:222
msgid ""
"To generate the manuscript document, press the :guilabel:`Build` button. A "
"small progress bar will show the build progress, but for small projects it may "
"pass very fast."
msgstr ""
"Pour générer le document manuscrit, appuyez sur le bouton :guilabel:"
"`Construire`. Une petite barre de progression indique l'avancement de la "
"construction, mais pour les petits projets, elle peut passer très vite."
#: ../../source/user_interface/manuscript.rst:227
msgid "File Formats"
msgstr "Formats de fichiers"
#: ../../source/user_interface/manuscript.rst:229
msgid "The following document formats are supported:"
msgstr "Les formats de documents suivants sont pris en charge :"
#: ../../source/user_interface/manuscript.rst:231
msgid "Open Document"
msgstr "Open Document"
#: ../../source/user_interface/manuscript.rst:232
msgid ""
"The Build tool can produce either an ``.odt`` file, or an ``.fodt`` file. The "
"latter is just a flat version of the document format as a single XML file. "
"Most rich text editors support the former, and only a few the latter."
msgstr ""
"L'outil de construction peut produire soit un fichier ``.odt``, soit un "
"fichier ``.fodt``. Ce dernier n'est qu'une version plate du format du document "
"sous la forme d'un fichier XML unique. La plupart des éditeurs de texte riche "
"supportent le premier, et seulement quelques uns le second."
#: ../../source/user_interface/manuscript.rst:236
msgid "Microsoft Word Document"
msgstr "Document Microsoft Word"
#: ../../source/user_interface/manuscript.rst:237
msgid ""
"The Microsoft Word Document format writes a single ``.docx`` file. It uses a "
"fairly basic format that should be compatible with most rich text editors."
msgstr ""
"Le format Microsoft Word Document permet d'écrire un seul fichier ``.docx``. "
"Il utilise un format assez basique qui devrait être compatible avec la plupart "
"des éditeurs de texte riche."
#: ../../source/user_interface/manuscript.rst:240
msgid "Portable Document Format (PDF)"
msgstr "Format de document portable (PDF)"
#: ../../source/user_interface/manuscript.rst:241
msgid ""
"The PDF is generated from a copy of the preview document, and should have the "
"same formatting capabilities as the preview. It's identical to what is "
"produced if you select the print option and print to PDF."
msgstr ""
"Le PDF est généré à partir d'une copie du document de prévisualisation et "
"devrait avoir les mêmes capacités de formatage que la prévisualisation. Il est "
"identique à celui qui est produit lorsque vous sélectionnez l'option "
"d'impression et que vous imprimez au format PDF."
#: ../../source/user_interface/manuscript.rst:245
msgid "novelWriter HTML"
msgstr "novelWriter HTML"
#: ../../source/user_interface/manuscript.rst:246
msgid ""
"The HTML format writes a single ``.htm`` file with minimal style formatting. "
"The HTML document is suitable for further processing by document conversion "
"tools like Pandoc_, for importing in word processors, or for printing from "
"browser."
msgstr ""
"Le format HTML écrit un seul fichier ``.htm`` avec un formatage de style "
"minimal. Le document HTML peut être traité par des outils de conversion de "
"documents tels que Pandoc_, importé dans un traitement de texte ou imprimé à "
"partir d'un navigateur."
#: ../../source/user_interface/manuscript.rst:250
msgid "Standard/Extended Markdown"
msgstr "Markdown standard/étendu"
#: ../../source/user_interface/manuscript.rst:251
msgid ""
"The Markdown format comes in both Standard and Extended flavour. The *only* "
"difference in terms of novelWriter functionality is the support for strike "
"through text, which is not supported by the Standard flavour."
msgstr ""
"Le format Markdown existe en version standard et en version étendue. La "
"*seule* différence en termes de fonctionnalité de novelWriter est la prise en "
"charge du texte barré, qui n'est pas prise en charge par la version standard."
#: ../../source/user_interface/manuscript.rst:255
msgid "novelWriter Markup"
msgstr "novelWriter Markup"
#: ../../source/user_interface/manuscript.rst:256
msgid ""
"This is simply a concatenation of the project documents selected by the "
"filters into a ``.txt`` file. The documents are stacked together in the order "
"they appear in the project tree, with comments, tags, etc. included if they "
"are selected. This is a useful format for exporting the project for later "
"import back into novelWriter."
msgstr ""
"Il s'agit simplement d'une concaténation des documents du projet sélectionnés "
"par les filtres dans un fichier ``.txt``. Les documents sont empilés dans "
"l'ordre où ils apparaissent dans l'arborescence du projet, avec les "
"commentaires, les balises, etc. inclus s'ils sont sélectionnés. C'est un "
"format utile pour exporter le projet et le réimporter plus tard dans "
"novelWriter."
#: ../../source/user_interface/manuscript.rst:263
msgid "Microsoft Word and PDF output options were added."
msgstr "Les options de sortie Microsoft Word et PDF ont été ajoutées."
#: ../../source/user_interface/manuscript.rst:267
msgid "Additional Formats"
msgstr "Formats supplémentaires"
#: ../../source/user_interface/manuscript.rst:269
msgid ""
"In addition to the above document formats, the novelWriter HTML and Markup "
"formats can also be wrapped in a JSON file. These files will have a meta data "
"entry and a body entry."
msgstr ""
"En plus des formats de document ci-dessus, les formats HTML et Markup de "
"novelWriter peuvent également être enveloppés dans un fichier JSON. Ces "
"fichiers auront une entrée pour les métadonnées et une entrée pour le corps du "
"texte."
#: ../../source/user_interface/manuscript.rst:272
msgid ""
"The text body is saved in a two-level list. The outer list contains one entry "
"per document, in the order they appear in the project tree. Each document is "
"then split up into a list as well, with one entry per paragraph it contains."
msgstr ""
"Le corps du texte est enregistré dans une liste à deux niveaux. La liste "
"extérieure contient une entrée par document, dans l'ordre où ils apparaissent "
"dans l'arborescence du projet. Chaque document est ensuite divisé en une "
"liste, avec une entrée par paragraphe qu'il contient."
#: ../../source/user_interface/manuscript.rst:276
msgid ""
"These files are mainly intended for scripted post-processing for those who "
"want that option. A JSON file can be imported directly into a Python dict "
"object or a PHP array, to mentions a few options."
msgstr ""
"Ces fichiers sont principalement destinés au post-traitement par script pour "
"ceux qui souhaitent cette option. Un fichier JSON peut être importé "
"directement dans un objet dict de Python ou dans un tableau de PHP, pour ne "
"citer que quelques options."
#: ../../source/user_interface/manuscript.rst:283
msgid "Printing"
msgstr "Impression"
#: ../../source/user_interface/manuscript.rst:285
msgid ""
"The :guilabel:`Print` button allows you to print the content in the preview "
"window. You can either print to one of your system's printers, or select PDF "
"as your output format from the printer icon on the print dialog."
msgstr ""
"Le bouton :guilabel:`Imprimer` vous permet d'imprimer le contenu de la fenêtre "
"de prévisualisation. Vous pouvez soit imprimer sur l'une des imprimantes de "
"votre système, soit sélectionner le format PDF à partir de l'icône de "
"l'imprimante dans la boîte de dialogue d'impression."
#: ../../source/user_interface/manuscript.rst:291
msgid ""
"The paper format should default to whatever your system default is. If you "
"want to change it, you have to select it from the **Print Preview** dialog."
msgstr ""
"Le format de papier doit être défini par défaut, quel que soit le format par "
"défaut de votre système. Si vous souhaitez le modifier, vous devez le "
"sélectionner dans la boîte de dialogue **Aperçu avant impression**."

View File

@@ -0,0 +1,367 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 17:22+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/user_interface/projects.rst:5
msgid "Managing Projects"
msgstr "Gestion des projets"
#: ../../source/user_interface/projects.rst:7
msgid ""
"Your text in novelWriter is organised into projects. Each project is "
"meant to contain one novel and associated notes. If you have multiple "
"novels in a series, with the same characters and shared notes, it is "
"also possible to keep all of them in the same project by creating "
"multiple **Novel** root folders. See :ref:`docs_usage_project_roots` for "
"more details."
msgstr ""
"Votre texte dans novelWriter est organisé en projets. Chaque projet est "
"censé contenir un roman et les notes associées. Si vous avez plusieurs "
"romans dans une série, avec les mêmes personnages et des notes "
"partagées, il est également possible de les garder tous dans le même "
"projet en créant plusieurs dossiers racine **Roman**. Voir :ref:"
"`docs_usage_project_roots` pour plus de détails."
#: ../../source/user_interface/projects.rst:16
msgid "Creating A New Project"
msgstr "Créer un nouveau projet"
#: ../../source/user_interface/projects.rst:18
msgid ""
"You can create a new project from the **Project** menu by selecting "
"**Create or Open Project**. This will open the **Welcome** dialog, where "
"you can select the :guilabel:`New` button that will assist you in "
"creating a project. This dialog is also displayed when you start "
"novelWriter."
msgstr ""
"Vous pouvez créer un nouveau projet à partir du menu **Projet** en "
"sélectionnant **Créer ou ouvrir un projet**. Cela ouvrira la boîte de "
"dialogue **Accueil**, où vous pourrez sélectionner le bouton :guilabel:"
"`Nouveau` qui vous aidera à créer un projet. Cette boîte de dialogue "
"s'affiche également lorsque vous démarrez novelWriter."
#: ../../source/user_interface/projects.rst:22
msgid ""
"A novelWriter project requires a dedicated folder for storing its files "
"on the local file system. If you're interested in the details of how "
"projects are stored, you can have a look at the section :ref:"
"`docs_technical_storage`."
msgstr ""
"Un projet novelWriter nécessite un dossier dédié pour stocker ses "
"fichiers sur le système de fichiers local. Si vous êtes intéressé par "
"les détails de la façon dont les projets sont stockés, vous pouvez "
"consulter la section :ref:`docs_technical_storage`."
#: ../../source/user_interface/projects.rst:26
msgid ""
"A list of recently opened projects is maintained, and displayed in the "
"**Welcome** dialog. A project can be removed from this list by selecting "
"it and pressing the :kbd:`Del` key or by right-clicking it and selecting "
"the **Remove Project** option."
msgstr ""
"Une liste des projets récemment ouverts est maintenue et affichée dans "
"la boîte de dialogue **Bienvenue**. Un projet peut être supprimé de "
"cette liste en le sélectionnant et en appuyant sur la touche :kbd:"
"`Suppr` ou en faisant un clic droit sur le projet et en sélectionnant "
"l'option **Supprimer le projet**."
#: ../../source/user_interface/projects.rst:32
msgid ""
"The project list (left) and new project form (right) of the **Welcome** "
"dialog."
msgstr ""
"La liste des projets (à gauche) et le formulaire de nouveau projet (à "
"droite) de la boîte de dialogue **Bienvenue**."
#: ../../source/user_interface/projects.rst:34
msgid ""
"Project-specific settings are available in **Project Settings** in the "
"**Project** menu. See further details below in the :ref:"
"`docs_ui_projects_settings` section."
msgstr ""
"Les paramètres spécifiques au projet sont disponibles dans **Paramètres "
"du projet** dans le menu **Projet**. Voir plus de détails ci-dessous "
"dans la section :ref:`docs_ui_projects_settings`."
#: ../../source/user_interface/projects.rst:37
msgid ""
"Details about the project's novel text, including word counts, and a "
"table of contents with word and page counts, is available through the "
"**Novel Details** dialog. Statistics about the project is also available "
"in the **Manuscript Build** tool."
msgstr ""
"Les détails du texte du roman du projet, y compris le nombre de mots et "
"une table des matières avec le nombre de mots et de pages, sont "
"disponibles dans la boîte de dialogue **Détails du roman**. Des "
"statistiques sur le projet sont également disponibles dans l'outil "
"**Compiler le manuscrit**."
#: ../../source/user_interface/projects.rst:43
msgid "Template Projects"
msgstr "Modèles de projets"
#: ../../source/user_interface/projects.rst:45
msgid ""
"From the Welcome dialog you can also create a new from another existing "
"project. If you have a specific structure you want to use for all your "
"new projects, you can create a dedicated project to be used as a "
"template, and select to copy an existing project from the \"Prefill "
"Project\" option from the **New Project** form."
msgstr ""
"Dans la boîte de dialogue de bienvenue, vous pouvez également créer un "
"nouveau projet à partir d'un autre projet existant. Si vous souhaitez "
"utiliser une structure spécifique pour tous vos nouveaux projets, vous "
"pouvez créer un projet dédié qui servira de modèle et choisir de copier "
"un projet existant à partir de l'option « Pré-remplir le projet » du "
"formulaire **Nouveau projet**."
#: ../../source/user_interface/projects.rst:54
msgid "Project Settings"
msgstr "Paramètres du projet"
#: ../../source/user_interface/projects.rst:56
msgid ""
"The **Project Settings** can be accessed from the **Project** menu, or "
"by pressing :kbd:`Ctrl+Shift+,`. This will open a dialog box, with a set "
"of tabs."
msgstr ""
"Les **Paramètres du projet** sont accessibles depuis le menu **Projet**, "
"ou en appuyant sur :kbd:`Ctrl+Maj+,`. Cela ouvrira une boîte de "
"dialogue, avec une série d'onglets."
#: ../../source/user_interface/projects.rst:61
msgid "General Settings"
msgstr "Paramètres généraux"
#: ../../source/user_interface/projects.rst:63
msgid ""
"The **Settings** tab holds the project name, author, and language "
"settings."
msgstr ""
"L'onglet **Paramètres** contient les paramètres relatifs au nom du "
"projet, à l'auteur et à la langue."
#: ../../source/user_interface/projects.rst:65
msgid ""
"The **Project Name** can be edited here. It is used for the main window "
"title and for generating backup files. So keep in mind that if you do "
"change this setting, the backup file names will change too."
msgstr ""
"Le **Nom du projet** peut être modifié ici. Il est utilisé pour le titre "
"de la fenêtre principale et pour la génération des fichiers de "
"sauvegarde. Gardez donc à l'esprit que si vous modifiez ce paramètre, "
"les noms des fichiers de sauvegarde changeront également."
#: ../../source/user_interface/projects.rst:69
msgid ""
"You can also change the **Author** and **Project Language** setting. "
"These are only used when building the manuscript, for some formats. The "
"language setting is also used when inserting text into documents in the "
"viewer, like for instance labels for keywords and special comments."
msgstr ""
"Vous pouvez également modifier les paramètres **Auteur** et **Langue du "
"projet**. Ces paramètres ne sont utilisés que lors de la compilation du "
"manuscrit, pour certains formats. Le paramètre de langue est également "
"utilisé lors de l'insertion de texte dans les documents dans "
"l'afficheur, comme par exemple les étiquettes pour les mots-clés et les "
"commentaires spéciaux."
#: ../../source/user_interface/projects.rst:73
msgid ""
"If your project is in a different language than your main spell checking "
"language is set to, you can override the default setting here. The "
"project language can also be changed from the **Tools** menu."
msgstr ""
"Si votre projet est rédigé dans une langue différente de la langue de "
"vérification orthographique principale, vous pouvez remplacer le "
"paramètre par défaut ici. La langue du projet peut également être "
"modifiée à partir du menu **Outils**."
#: ../../source/user_interface/projects.rst:77
msgid ""
"You can also override the automatic backup setting for the project if "
"you wish."
msgstr ""
"Vous pouvez également remplacer le paramètre de sauvegarde automatique "
"du projet si vous le souhaitez."
#: ../../source/user_interface/projects.rst:83
msgid "Status and Importance"
msgstr "Statut et Importance"
#: ../../source/user_interface/projects.rst:85
msgid ""
"Each document or folder of type **Novel** can be given a \"Status\" "
"label accompanied by a coloured icon with an optional shape selected "
"from a list of pre-defined shapes. Each document or folder of the "
"remaining types can be given an \"Importance\" label with the same "
"customisation options."
msgstr ""
"Chaque document ou dossier de type **Roman** peut recevoir une étiquette "
"« Statut » accompagnée d'une icône colorée avec une forme optionnelle "
"sélectionnée dans une liste de formes prédéfinies. Chaque document ou "
"dossier des autres types peut recevoir une étiquette « Importance » avec "
"les mêmes options de personnalisation."
#: ../../source/user_interface/projects.rst:89
msgid ""
"These labels are there purely for your convenience, and you are not "
"required to use them for any other features to work. No other part of "
"novelWriter accesses this information. The intention is to use these to "
"indicate at what stage of completion each novel document is, or how "
"important the content of a note is to the story. You don't have to use "
"them this way, that's just what they were intended for, but you can make "
"them whatever you want."
msgstr ""
"Ces étiquettes sont là uniquement pour votre commodité, et vous n'êtes "
"pas obligé de les utiliser pour que d'autres fonctionnalités "
"fonctionnent. Aucune autre partie de novelWriter n'accède à ces "
"informations. L'intention est de les utiliser pour indiquer à quel stade "
"d'achèvement se trouve chaque document de roman, ou à quel point le "
"contenu d'une note est important pour l'histoire. Vous n'êtes pas obligé "
"de les utiliser de cette manière, c'est juste ce pour quoi elles ont été "
"conçues, mais vous pouvez en faire ce que vous voulez."
#: ../../source/user_interface/projects.rst:95
msgid ""
"Both status and importance labels can be exported and imported so you "
"can share them between projects, or define a standard set for all your "
"writing projects. When you import labels to a project, they are always "
"added as *new* labels."
msgstr ""
"Les étiquettes de statut et d'importance peuvent être exportées et "
"importées afin que vous puissiez les partager entre les projets ou "
"définir un ensemble standard pour tous vos projets d'écriture. Lorsque "
"vous importez des étiquettes dans un projet, elles sont toujours "
"ajoutées en tant que *nouvelles* étiquettes."
#: ../../source/user_interface/projects.rst:99
msgid "See also :ref:`docs_usage_project_status`."
msgstr "Voir aussi :ref:`docs_usage_project_status`."
#: ../../source/user_interface/projects.rst:103
msgid ""
"Status or importance level currently in use cannot be deleted, but they "
"can be edited."
msgstr ""
"Le statut ou le niveau d'importance en cours d'utilisation ne peut pas "
"être supprimé, mais il peut être modifié."
#: ../../source/user_interface/projects.rst:107
msgid "Text Auto-Replace"
msgstr "Remplacement automatique du texte"
#: ../../source/user_interface/projects.rst:109
msgid ""
"A set of automatically replaced keywords can be added in this tab. The "
"keywords in the left column will be replaced by the text in the right "
"column when documents are opened in the viewer. They will also be "
"applied to manuscript builds."
msgstr ""
"Un ensemble de mots-clés de remplacement automatiquement peut être "
"ajouté dans cet onglet. Les mots-clés de la colonne de gauche seront "
"remplacés par le texte de la colonne de droite lorsque les documents "
"seront ouverts dans l'afficheur. Ils seront également appliqués aux "
"constructions de manuscrits."
#: ../../source/user_interface/projects.rst:113
msgid ""
"The auto-replace feature will replace text in angle brackets that is in "
"this list. The syntax highlighter will add an alternate colour to text "
"matching the syntax, but it doesn't check if the text is in this list."
msgstr ""
"La fonction de remplacement automatique remplace le texte entre crochets "
"qui se trouve dans cette liste. Le surligneur syntaxique ajoutera une "
"couleur alternative au texte correspondant à la syntaxe, mais il ne "
"vérifie pas si le texte se trouve dans cette liste."
#: ../../source/user_interface/projects.rst:119
msgid ""
"A keyword cannot contain spaces. The angle brackets are added by "
"default, and when used in the text are a part of the keyword to be "
"replaced. This is to ensure that parts of the text aren't "
"unintentionally replaced by the content of the list."
msgstr ""
"Un mot-clé ne peut pas contenir d'espaces. Les crochets sont ajoutés par "
"défaut et, lorsqu'ils sont utilisés dans le texte, ils font partie du "
"mot-clé à remplacer. Cela permet de s'assurer que certaines parties du "
"texte ne sont pas remplacées involontairement par le contenu de la liste."
#: ../../source/user_interface/projects.rst:127
msgid "Backup"
msgstr "Sauvegarde"
#: ../../source/user_interface/projects.rst:129
msgid ""
"An automatic backup system is built into novelWriter. In order to use "
"it, a backup path to where the backup files are to be stored must be "
"provided in **Preferences**. The path defaults to a folder named "
"\"Backups\" in your home directory."
msgstr ""
"Un système de sauvegarde automatique est intégré à novelWriter. Pour "
"l'utiliser, un chemin d'accès à l'endroit où les fichiers de sauvegarde "
"doivent être stockés doit être indiqué dans les **Préférences**. Le "
"chemin d'accès est par défaut un dossier nommé « Backups » dans votre "
"répertoire personnel."
#: ../../source/user_interface/projects.rst:133
msgid ""
"Backups can run automatically when a project is closed, which also "
"implies it is run when the application itself is closed. Backups are "
"date stamped zip files of the project files in the project folder (files "
"not strictly a part of the project are ignored). The zip archives are "
"stored in a subfolder of the backup path. The subfolder will have the "
"same name as the **Project Name** defined in :ref:"
"`docs_ui_projects_settings`."
msgstr ""
"Les sauvegardes peuvent être exécutées automatiquement lorsqu'un projet "
"est fermé, ce qui implique également qu'elles sont exécutées lorsque "
"l'application elle-même est fermée. Les sauvegardes sont des fichiers "
"zip ayant la même date que les fichiers du projet dans le dossier du "
"projet (les fichiers qui ne font pas strictement partie du projet sont "
"ignorés). Les archives zip sont stockées dans un sous-dossier du chemin "
"de sauvegarde. Le sous-dossier aura le même nom que le **Nom du projet** "
"défini dans :ref:`docs_ui_projects_settings`."
#: ../../source/user_interface/projects.rst:139
msgid ""
"The backup feature, when configured, can also be run manually from the "
"**Tools** menu. It is also possible to disable automated backups for a "
"given project in **Project Settings**."
msgstr ""
"La fonction de sauvegarde, lorsqu'elle est configurée, peut également "
"être exécutée manuellement à partir du menu **Outils**. Il est également "
"possible de désactiver les sauvegardes automatiques pour un projet donné "
"dans **Paramètres du projet**."
#: ../../source/user_interface/projects.rst:144
msgid ""
"For the backup to be able to run, the **Project Name** must be set in "
"**Project Settings**. This value is used to generate the name and path "
"of the backups. Without it, the backup will not run at all, but it will "
"produce a warning message."
msgstr ""
"Pour que la sauvegarde puisse être exécutée, le **Nom du projet** doit "
"être défini dans **Paramètres du projet**. Cette valeur est utilisée "
"pour générer le nom et le chemin des sauvegardes. Sans cette valeur, la "
"sauvegarde ne s'exécutera pas du tout, mais elle produira un message "
"d'avertissement."

View File

@@ -0,0 +1,124 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 17:44+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/user_interface/split_and_merge.rst:5
msgid "Split and Merge Documents"
msgstr "Fractionner et fusionner des documents"
#: ../../source/user_interface/split_and_merge.rst:7
msgid ""
"Under the **Transform** submenu in the context menu of an item in the "
"project tree, you will find several options on how to change a document "
"or folder. This includes changing between document and note, but also "
"splitting them into multiple documents, or merging child items into a "
"single document."
msgstr ""
"Dans le sous-menu **Transformation** du menu contextuel d'un élément de "
"l'arborescence du projet, vous trouverez plusieurs options permettant de "
"modifier un document ou un dossier. Il s'agit notamment de passer d'un "
"document à une note, mais aussi de les diviser en plusieurs documents ou "
"de fusionner des éléments enfants en un seul document."
#: ../../source/user_interface/split_and_merge.rst:14
msgid "Splitting Documents"
msgstr "Découper des documents"
#: ../../source/user_interface/split_and_merge.rst:18
msgid "The **Split Document** dialog."
msgstr "La boîte de dialogue **découper un document**."
#: ../../source/user_interface/split_and_merge.rst:20
msgid ""
"The **Split Document by Headings** option will open a dialog that allows "
"you to split the selected document into multiple new documents based on "
"the headings it contains. You can select at which heading level the "
"split is to be performed from the dropdown box. The list box will "
"preview which headings will be split into new documents."
msgstr ""
"L'option **découper le document selon les titres** ouvre une boîte de "
"dialogue qui vous permet de découper le document sélectionné en "
"plusieurs nouveaux documents sur la base des en-têtes qu'il contient. "
"Vous pouvez sélectionner le niveau de rubrique auquel le fractionnement "
"doit être effectué dans la liste déroulante. La liste déroulante affiche "
"un aperçu des rubriques qui seront scindées en nouveaux documents."
#: ../../source/user_interface/split_and_merge.rst:25
msgid ""
"You are given the option to create a folder for these new documents, and "
"whether or not to create a hierarchy of documents. That is, put sections "
"under scenes, and scenes under chapters."
msgstr ""
"Vous avez la possibilité de créer un dossier pour ces nouveaux documents "
"et de créer ou non une hiérarchie entre les documents. C'est-à-dire de "
"placer les sections sous les scènes, et les scènes sous les chapitres."
#: ../../source/user_interface/split_and_merge.rst:28
msgid ""
"The source document *is not* deleted in the process, but you have the "
"option to let the tool move the source document to the **Trash** folder."
msgstr ""
"Le document source n'est pas supprimé au cours du processus, mais vous "
"avez la possibilité de laisser l'outil déplacer le document source dans "
"le dossier **Poubelle**."
#: ../../source/user_interface/split_and_merge.rst:33
msgid "Merging Documents"
msgstr "Fusionner des documents"
#: ../../source/user_interface/split_and_merge.rst:37
msgid "The **Merge Documents** dialog."
msgstr "La boîte de dialogue **Fusionner des documents**."
#: ../../source/user_interface/split_and_merge.rst:39
msgid ""
"You have two options for merging documents that are child elements of "
"another document. You can either **Merge Child Items into Self** and "
"**Merge Child Items into New**. The first option will pull all content "
"of child items and merge them into the parent document, while the second "
"option will create a new document in the process."
msgstr ""
"Vous disposez de deux options pour fusionner des documents qui sont des "
"éléments enfants d'un autre document. Vous pouvez soit **Intégrer les "
"éléments enfants**, soit **Créer une fusion des éléments enfants**. La "
"première option permet d'extraire tout le contenu des éléments enfants "
"et de les fusionner dans le document parent, tandis que la seconde "
"option crée un nouveau document au cours du processus."
#: ../../source/user_interface/split_and_merge.rst:44
msgid ""
"When merging documents in a folder, only the latter option is possible, "
"so only the choice **Merge Documents in Folder** is available."
msgstr ""
"Lors de la fusion de documents dans un dossier, seule cette dernière "
"option est possible, de sorte que seul le choix **Fusionner les "
"documents dans un dossier** est disponible."
#: ../../source/user_interface/split_and_merge.rst:47
msgid ""
"In either case, the **Merge Documents** dialog will let you exclude "
"documents you don't want to include, and it also lets you reorder them "
"if you wish."
msgstr ""
"Dans les deux cas, la boîte de dialogue **Fusionner des documents** vous "
"permet d'exclure les documents que vous ne souhaitez pas inclure et de "
"les réorganiser si vous le souhaitez."

View File

@@ -0,0 +1,114 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2025
# This file is distributed under the same license as the novelWriter
# package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: novelWriter 2.7rc1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-05-27 19:59+0200\n"
"PO-Revision-Date: 2025-05-28 21:12+0200\n"
"Last-Translator: \n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Generated-By: Babel 2.16.0\n"
"X-Generator: Poedit 3.4.2\n"
#: ../../source/user_interface/statistics.rst:5
msgid "Writing Statistics"
msgstr "Statistiques d'écriture"
#: ../../source/user_interface/statistics.rst:7
msgid ""
"When you work on a project, a log file records when you opened it, when "
"you closed it, and the total word counts of your novel documents and "
"notes at the end of the session, provided that the session lasted either "
"more than 5 minutes, or that the total word count changed. For more "
"details about the log file itself, see :ref:`docs_technical_storage`."
msgstr ""
"Lorsque vous travaillez sur un projet, un fichier journal enregistre le "
"moment où vous l'avez ouvert, le moment où vous l'avez fermé, et le "
"nombre total de mots de vos nouveaux documents et notes à la fin de la "
"session, à condition que la session ait duré plus de 5 minutes, ou que "
"le nombre total de mots ait changé. Pour plus de détails sur le fichier "
"journal lui-même, voir :ref:`docs_technical_storage`."
#: ../../source/user_interface/statistics.rst:12
msgid ""
"A tool to view the content of the log file is available in the **Tools** "
"menu under **Writing Statistics**. You can also launch it by pressing :"
"kbd:`F6`, or find it on the sidebar."
msgstr ""
"Un outil permettant de visualiser le contenu du fichier journal est "
"disponible dans le menu **Outils** sous **Statistiques d'écriture**. "
"Vous pouvez également le lancer en appuyant sur :kbd:`F6`, ou le trouver "
"dans la barre latérale."
#: ../../source/user_interface/statistics.rst:15
msgid ""
"The tool will show a list of all your sessions, and a set of filters to "
"apply to the data. You can also export the filtered data to a JSON file "
"or to a CSV file that can be opened by a spreadsheet application like "
"for instance Libre Office Calc or Excel."
msgstr ""
"L'outil affichera une liste de toutes vos sessions, ainsi qu'un ensemble "
"de filtres à appliquer aux données. Vous pouvez également exporter les "
"données filtrées vers un fichier JSON ou vers un fichier CSV qui peut "
"être ouvert par un tableur comme par exemple Libre Office Calc ou Excel."
#: ../../source/user_interface/statistics.rst:21
msgid "Idle Time"
msgstr "Temps d'inactivité"
#: ../../source/user_interface/statistics.rst:23
msgid ""
"The log file stores how much of the session time was spent idle. The "
"definition of idle here is that the novelWriter main window loses focus, "
"or the user hasn't made any changes to the currently open document in "
"five minutes. You can change the number of minutes in **Preferences**."
msgstr ""
"Le fichier journal enregistre la durée de la session passée en mode "
"inactif. La définition de l'inactivité ici est que la fenêtre principale "
"de novelWriter perd le focus, ou que l'utilisateur n'a pas fait de "
"changements dans le document ouvert depuis cinq minutes. Vous pouvez "
"modifier le nombre de minutes dans les **Préférences**."
#: ../../source/user_interface/statistics.rst:29
msgid "Session Timer"
msgstr "Chronomètre de session"
#: ../../source/user_interface/statistics.rst:31
msgid ""
"A session timer is by default visible in the status bar. The icon will "
"show you a clock icon when you are active, and a pause icon when you are "
"considered \"idle\" per the criteria mentioned above."
msgstr ""
"Un chronomètre de session est visible par défaut dans la barre d'état. "
"L'icône affiche une horloge lorsque vous êtes actif et une icône de "
"pause lorsque vous êtes considéré comme « inactif » selon les critères "
"mentionnés ci-dessus."
#: ../../source/user_interface/statistics.rst:34
msgid ""
"If you do not wish to see the timer, you can click on it once to hide "
"it. The icon will still be visible. Click the icon once more to display "
"the timer again."
msgstr ""
"Si vous ne souhaitez pas voir le chronomètre, vous pouvez cliquer une "
"fois dessus pour le masquer. L'icône restera visible. Cliquez à nouveau "
"sur l'icône pour afficher à nouveau le chronomètre."
#: ../../source/user_interface/statistics.rst:39
msgid ""
"As of version 2.6, clicking the timer text or icon in the status bar "
"will toggle its visibility."
msgstr ""
"Depuis la version 2.6, un clic sur le texte ou l'icône du minuteur dans "
"la barre d'état permet de basculer sa visibilité."

View File

@@ -0,0 +1,98 @@
.. _docs_more_counting:
********************
Word and Text Counts
********************
This is an overview of how words and other counts of your text are performed. The counting rules
should be relatively standard, and are comparable to Libre Office Writer rules.
The counts provided in the app on the raw text are meant to be approximate. For more accurate
counts, you need to build your manuscript in the **Manuscript Tool** and check the counts on the
generated preview.
Text Word Counts and Stats
==========================
These are the rules for the main counts available for for each document in a project.
For all counts, the following rules apply.
#. Short (–) and long (—) dashes are considered word separators.
#. Any line starting with ``%`` or ``@`` is ignored.
#. Trailing white spaces are ignored, including line breaks.
#. Leading ``>`` and trailing ``<`` are ignored with any spaces next to them.
#. Valid shortcodes and other commands wrapped in brackets ``[]`` are ignored.
#. In-line Markdown syntax in text paragraphs is treated as part of the text.
After the above preparation of the text, the following counts are available.
**Character Count**
The character count is the sum of characters per line, including leading and in-text white space
characters, but excluding trailing white space characters. Shortcodes in the text are not
included, but Markdown codes are. Only headings and text are counted.
**Word Count**
The words count is the sum of blocks of continuous character per line separated by any number of
white space characters or dashes. Only headings and text are counted.
**Paragraph Count**
The paragraph count is the number of text blocks separated by one or more empty line. A line
consisting only of white spaces is considered empty.
Manuscript Counts
=================
These are the rules for the counts available for a manuscript in the **Manuscript Tool**. The rules
have been tuned to agree with LibreOffice Writer, but will vary slightly depending on the content
of your text. LibreOffice Writer also counts the text in the page header, which the **Manuscript
Tool** does not.
The content of each line is counted after all formatting has been processed, so the result will be
more accurate than the counts for text documents elsewhere in the app. The following rules apply:
#. Short (–) and long (—) dashes are considered word separators.
#. Leading and trailing white spaces are generally included, but paragraph breaks are not.
#. Hard line breaks within paragraph are considered white space characters.
#. All formatting codes are ignored, including shortcodes, commands and Markdown.
#. Scene and section separators are counted.
#. Comments and meta data lines are counted after they are formatted.
#. Headers are counted after they are formatted with custom formats.
The following counts are available:
**Headings**
The number of headings in the manuscript.
**Paragraphs**
The number of body text paragraphs in the manuscript.
**Words**
The number of words in the manuscript, including any comments and meta data text.
**Words in Text**
The number of words in body text paragraphs, excluding all other text.
**Words in Headings**
The number of words in headings, including inserted formatting like chapter numbers, etc.
**Characters**
The number of characters in all lines, including any comments and meta data text. Paragraph
breaks are not counted, but in-paragraph hard line breaks are.
**Character in Text**
The number of characters in body text paragraphs. Paragraph breaks are not counted, but
in-paragraph hard line breaks are.
**Characters in Headings**
The number of characters in headings.
**Character in Text, No Spaces**
The number of characters in body text paragraphs considered part of a word or punctuation. That
is, white space characters are not counted.
**Character in Headings, No Spaces**
The number of characters in headings considered part of a word or punctuation. That is, white
space characters are not counted.

View File

@@ -0,0 +1,231 @@
.. _docs_more_custom:
**************
Customisations
**************
.. _Enchant: https://rrthomas.github.io/enchant/
.. _Free Desktop: https://cgit.freedesktop.org/libreoffice/dictionaries/tree/
There are a few ways you can customise novelWriter yourself. Currently, you can add new GUI themes,
your own syntax themes, and install additional dictionaries.
.. _docs_more_custom_dict:
Spell Check Dictionaries
========================
novelWriter uses Enchant_ as the spell checking tool. Depending on your operating system, it may or
may not load all installed spell check dictionaries automatically.
Linux and MacOS
---------------
On Linux and MacOS, you generally only have to install hunspell, aspell or myspell dictionaries on
your system like you do for other applications. See your distro or OS documentation for how to do
this. These dictionaries should show up as available spell check languages in novelWriter.
Windows
-------
For Windows, English is included with the installation. For other languages you have to download
and add dictionaries yourself.
**Install Tool**
A small tool to assist with this can be found under **Tools > Add Dictionaries**. It will import
spell checking dictionaries from Free Office or Libre Office extensions. The dictionaries are then
installed in the install location for the Enchant library and should thus work for any application
that uses Enchant for spell checking.
**Manual Install**
If you prefer to do this manually or want to use a different source than the ones mentioned above,
You need to get compatible dictionary files for your language. You need two files files ending with
``.aff`` and ``.dic``. These files must then be copied to the following location:
``C:\Users\<USER>\AppData\Local\enchant\hunspell``
This assumes your user profile is stored at ``C:\Users\<USER>``. The last one or two folders may
not exist, so you may need to create them.
You can find the various dictionaries on the `Free Desktop`_ website.
.. note::
The Free Desktop link points to a repository, and what may look like file links inside the
dictionary folder are actually links to web pages. If you right-click and download those, you
get HTML files, not dictionaries!
In order to download the actual dictionary files, right-click the "plain" label at the end of
each line and download that.
.. _docs_more_custom_theme:
Syntax and GUI Themes
=====================
Adding your own GUI and syntax themes is relatively easy, although it requires that you manually
edit config files with colour values. The themes are defined by simple plain text config files with
meta data and colour settings.
In order to make your own versions, first copy one of the existing files to your local computer and
modify it as you like.
* The existing syntax themes are stored in
`novelwriter/assets/syntax <https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/syntax>`_.
* The existing GUI themes are stored in
`novelwriter/assets/themes <https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/themes>`_.
* The existing icon themes are stored in
`novelwriter/assets/icons <https://github.com/vkbo/novelWriter/tree/main/novelwriter/assets/icons>`_.
Remember to also change the name of your theme by modifying the ``name`` setting at the top of the
file, otherwise you may not be able to distinguish them in **Preferences**.
For novelWriter to be able to locate the custom theme files, you must copy them to the
:ref:`docs_technical_locations_data` location in your home or user area. There should be a folder there named
``syntax`` for syntax themes, just ``themes`` for GUI themes, and ``icons`` for icon themes. These
folders are created the first time you start novelWriter.
Once the files are copied there, they should show up in **Preferences** with the label you
set as ``name`` inside the file.
.. note::
The theme file formats change regularly in new releases. It is up to you to keep custom theme
files up to date.
Custom GUI and Icons Theme
--------------------------
A GUI theme ``.conf`` file consists of the following settings:
.. code-block:: cfg
[Main]
name = My Custom Theme
description = A description of my custom theme
author = Jane Doe
credit = John Doe
url = https://example.com
license = CC BY-SA 4.0
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
[Icons]
default = 100, 100, 100
faded = 100, 100, 100
red = 255, 0, 0
orange = 255, 128, 0
yellow = 255, 255, 0
green = 0, 255, 0
aqua = 0, 255, 255
blue = 0, 0, 255
purple = 255, 0, 255
[Project]
root = 0, 255, 255
folder = 255, 255, 0
file = 100, 100, 100
title = 0, 255, 0
chapter = 255, 0, 0
scene = 0, 0, 255
note = 255, 255, 0
[Palette]
window = 100, 100, 100
windowtext = 100, 100, 100
base = 100, 100, 100
alternatebase = 100, 100, 100
text = 100, 100, 100
tooltipbase = 100, 100, 100
tooltiptext = 100, 100, 100
button = 100, 100, 100
buttontext = 100, 100, 100
brighttext = 100, 100, 100
highlight = 100, 100, 100
highlightedtext = 100, 100, 100
link = 100, 100, 100
linkvisited = 100, 100, 100
[GUI]
helptext = 0, 0, 0
fadedtext = 128, 128, 128
errortext = 255, 0, 0
In the Main section you must at least define the ``name`` settings.
The Palette values correspond to the Qt enum values for ``QPalette::ColorRole``, see the
`Qt documentation <https://doc.qt.io/qt-6/qpalette.html#ColorRole-enum>`_ for more details. The
colour values are RGB numbers on the format ``r, g, b`` where each is an integer from ``0`` to
``255``. Omitted values are not loaded and will use default values. If the ``helptext`` colour is
not defined, it is computed as a colour between the ``window`` and ``windowtext`` colour.
Additional shades of some of the colours are also computed. These are mainly used for 3D effects.
.. versionadded:: 2.5
The ``fadedtext`` and ``errortext`` theme colour entries were added.
.. versionadded:: 2.7
The ``icontheme`` setting was dropped as the icon theme is now its own setting.
The ``[Icons]`` and ``[Project]`` sections were added, and the ``status*`` settings removed.
Custom Syntax Theme
-------------------
A syntax theme ``.conf`` file consists of the following settings:
.. code-block:: cfg
[Main]
name = My Syntax Theme
author = Jane Doe
credit = John Doe
url = https://example.com
license = CC BY-SA 4.0
licenseurl = https://creativecommons.org/licenses/by-sa/4.0/
[Syntax]
background = 255, 255, 255
text = 0, 0, 0
link = 0, 0, 0
headertext = 0, 0, 0
headertag = 0, 0, 0
emphasis = 0, 0, 0
dialog = 0, 0, 0
altdialog = 0, 0, 0
note = 0, 0, 0
hidden = 0, 0, 0
shortcode = 0, 0, 0
keyword = 0, 0, 0
tag = 0, 0, 0
value = 0, 0, 0
optional = 0, 0, 0
spellcheckline = 0, 0, 0
errorline = 0, 0, 0
replacetag = 0, 0, 0
modifier = 0, 0, 0
texthighlight = 255, 255, 255, 128
In the Main section, you must define at least the ``name`` setting. The Syntax colour values are
RGB(A) numbers of the format ``r, g, b, a`` where each is an integer from ``0`` to ``255``. The
fourth value is the alpha channel, which can be omitted.
Omitted syntax colours default to black, except ``background`` which defaults to white, and
``texthighlight`` which defaults to white with half transparency.
.. versionadded:: 2.2
The ``shortcode`` syntax colour entry was added.
.. versionadded:: 2.3
The ``optional`` syntax colour entry was added.
.. versionadded:: 2.4
The ``texthighlight`` syntax colour entry was added.
.. versionadded:: 2.5
The ``dialog``, ``altdialog``, ``note`` and ``tag`` syntax colour entries were added.
``straightquotes``, ``doublequotes`` and ``singlequotes`` were removed.

View File

@@ -0,0 +1,62 @@
.. _docs_more_errors:
***************
Handling Errors
***************
In case something goes wrong, novelWriter has a few built-in features to reduce the chance your
work is lost. In case of a crash, it will also try to save whatever changes you have made before
exiting, if this is at all possible.
The storage solution is designed to save each text document independently, so only the document
you're working on is actually at a risk of losing data in the event of a crash.
.. _docs_more_errors_orphaned:
Recovered Documents
===================
If novelWriter crashes or otherwise exits without saving the project state, or if you're using a
file synchronisation tool that runs out of sync, there may be files in the project storage folder
that aren't tracked in the core project file. These files, when discovered, are recovered and added
back into the project when a project is opened.
The discovered files are scanned for metadata that give clues as to where the document may
previously have been located in the project. The project loading routine will try to put them back
as close as possible to this location, if it still exists. Generally, it will be appended to the
end of the folder where it previously was located. If that folder doesn't exist, it will try to add
it to the correct root folder type. If it cannot figure out which root folder is correct, the
document will be added to the **Novel** root folder. Finally, if a **Novel** does not exist, one
will be created.
If the title of the document can be recovered, the word "Recovered:" will be added as a prefix to
indicate that it may need further attention. If the title cannot be determined, the document will
be named after its internal key, which is a string of characters and numbers.
.. _docs_more_errors_lock:
Project Lockfile
================
To prevent data loss caused by file conflicts when novelWriter projects are synchronised via file
synchronisation tools, a project lockfile is written to the project storage folder when a project
is open. If you try to open a project that already has such a file present, you will be presented
with a warning, and some information about where else novelWriter thinks the project is also open.
You will be given the option to ignore this warning, and continue opening the project at your own
risk.
.. note::
If, for some reason, novelWriter or your computer crashes, the lock file may remain even if
there are no other instances keeping the project open. In such a case it is safe to ignore the
lock file warning when re-opening the project.
.. warning::
If you choose to ignore the warning and continue opening the project, and multiple instances of
the project are in fact open, you are likely to cause inconsistencies and create diverging
project files, potentially resulting in loss of data and orphaned files. You are not likely to
lose any actual text unless both instances have the same document open in the editor, and
novelWriter will try to resolve project inconsistencies the next time you open the project.

View File

@@ -0,0 +1,122 @@
.. _docs_more_project_formats:
**********************
Project Format Changes
**********************
Most of the changes to the file formats over the history of novelWriter have no impact on the
user side of things. The project files are generally updated automatically. However, some of the
changes require minor actions from the user.
The key changes in the formats are listed in this chapter, as well as the user actions required,
where applicable.
A full project file format specification is available under "More Documents".
.. caution::
When you update a project from one format version to the next, the project can no longer be
opened by a version of novelWriter prior to the version where the new file format was
introduced. You will get a notification about any updates to your project file format and will
have the option to decline the upgrade.
.. _docs_more_project_formats_1_5:
Format 1.5 Changes
==================
This project format was introduced in novelWriter version 2.0 RC 2.
This is a modification of the 1.4 format. It makes the XML more consistent in that meta data have
been moved to their respective section nodes as attributes, and key/value settings now have a
consistent format. Logical flags are saved as yes/no instead of Python True/False, and the main
heading of the document is now saved to the item rather than in the index. The conversion is done
automatically the first time a project is loaded. No user action is required.
.. _docs_more_project_formats_1_4:
Format 1.4 Changes
==================
This project format was introduced in novelWriter version 2.0 RC 1. Since this was a release
candidate, it is unlikely that your project uses it, but it may be the case if you've installed a
pre-release.
This format changes the way project items (folders, documents and notes) are stored. It is a more
compact format that is simpler and faster to parse, and easier to extend. The conversion is done
automatically the first time a project is loaded. No user action is required.
.. _docs_more_project_formats_1_3:
Format 1.3 Changes
==================
This project format was introduced in novelWriter version 1.5.
With this format, the number of document layouts was reduced from eight to two. The conversion of
document layouts is performed automatically when the project is opened.
Due to the reduction of layouts, some features that were previously controlled by these layouts
will be lost. These features are instead now controlled by syntax codes, so to recover these
features, some minor modification must be made to select documents by the user.
The manual changes the user must make should be very few as they apply to document layouts that
should be used only a few places in any given project. These are as follows:
**Title Pages**
* The formatting of the level one title on the title page must be changed from ``# Title Text`` to
``#! Title Text`` in order to retain the previous functionality.
See :ref:`docs_usage_headings_levels`.
* Any text that was previously centred on the page must be manually centred using the text
alignment feature. See :ref:`docs_usage_align_indent`.
**Unnumbered Chapters**
* Since the specific layout for unnumbered chapters has been dropped, such chapters must all use
the ``##! Chapter Name`` formatting code instead of ``## Chapter Name``. This also includes
chapters marked by an asterisk: ``## *Chapter Name``, as this feature has also been dropped.
See :ref:`docs_usage_headings_levels`.
**Plain Pages**
* The layout named "Plain Page" has also been removed. The only feature of this layout was that it
ensured that the content always started on a fresh page. In the new format, fresh pages can be
set anywhere in the text with the ``[new page]`` code. See :ref:`docs_usage_formatting_breaks`.
.. _docs_more_project_formats_1_2:
Format 1.2 Changes
==================
This project format was introduced in novelWriter version 0.10.
With this format, the way auto-replace entries were stored in the main project XML file changed.
Conversion from this format is done automatically.
.. _docs_more_project_formats_1_1:
Format 1.1 Changes
==================
This project format was introduced in novelWriter version 0.7.
With this format, the ``content`` folder was introduced in the project storage. Previously, all
novelWriter documents were saved in a series of folders numbered from ``data_0`` to ``data_f``.
It also reduces the number of meta data and cache files. These files are automatically deleted if
an old project is opened. This was also when the Table of Contents file was introduced. Conversion
from this format is done automatically.
.. _docs_more_project_formats_1_0:
Format 1.0 Changes
==================
This is the original file format and project structure. It was in use up to version 0.6.3.

View File

@@ -1,92 +1,89 @@
.. _a_typ:
.. _docs_more_typographical:
*******************
Typographical Notes
*******************
.. _Prime: https://en.wikipedia.org/wiki/Prime_(symbol)
.. _thin space: https://en.wikipedia.org/wiki/Thin_space
.. _Quotation Mark: https://en.wikipedia.org/wiki/Quotation_mark
.. _Modifier letter apostrophe: https://en.wikipedia.org/wiki/Modifier_letter_apostrophe
novelWriter has some support for typographical symbols that are not usually easily available in
many text editors. This includes for instance the proper unicode quotation marks, dashes, ellipsis,
thin spaces, etc. All these symbols are available from the :guilabel:`Insert` menu, and via
keyboard shortcuts. See :ref:`a_kb_ins`.
thin spaces, etc. All these symbols are available from the **Insert** menu, and via
keyboard shortcuts. See :ref:`docs_features_shortcuts_insert`.
This chapter provides some additional information on how novelWriter handles these symbols.
.. _a_typ_notes:
Special Notes on Symbols
========================
Some additional notes on the available symbols.
Dashes and Ellipsis
-------------------
===================
With the auto-replace feature enabled (see :ref:`a_ui_edit_auto`), multiple hyphens are converted
automatically to short and long dashes, and three dots to ellipsis. The last auto-replace can
always be reverted with the undo command :kbd:`Ctrl`:kbd:`Z`, reverting the text to what you typed
before the automatic replacement occurred.
With the auto-replace feature enabled (see :ref:`docs_ui_edit_view_auto`), two and three hyphens
are converted automatically to short and long dashes, four hyphens to a horizontal bar, and three
dots to ellipsis.
.. tip::
The last auto-replace can always be reverted with the undo command :kbd:`Ctrl+Z`, reverting the
text to what you typed before the automatic replacement occurred.
In addition, "Figure Dash" is available. The Figure Dash is a dash that has the same width as the
numbers of the same font, for most fonts. It helps to align numbers align nicely in columns when
you need to use a dash in them.
numbers of the same font, for most fonts. It helps to align numbers nicely in columns when you need
to use a dash in them.
Single and Double Quotes
------------------------
========================
All the different quotation marks listed on the `Quotation Mark`_ Wikipedia page are available, and
can be selected as auto-replaced symbols for straight single and double quote key strokes. The
settings can be found in :guilabel:`Preferences`.
settings can be found in **Preferences**.
Ordinarily, text wrapped in quotes are highlighted by the editor. This is meant as a convenience
for highlighting dialogue between characters. This feature can be disabled in
:guilabel:`Preferences` if this feature isn't wanted.
If your text contains straight single and double quotes, there are two convenience functions in the
**Format** menu that can be used to re-format a selected section of text with the correct quote
symbols.
The editor distinguishes between text wrapped in regular straight quotes and with the user-selected
double quote symbols. This is to help the writer recognise which parts of the text are not using
the chosen quote symbols. Two convenience functions in the :guilabel:`Format` menu can be used to
re-format a selected section of text with the correct quote symbols.
.. _Quotation Mark: https://en.wikipedia.org/wiki/Quotation_mark
You can enable dialogue recognition and colour highlighting for novel documents.
See :ref:`docs_features_dialogue` for more details.
Single and Double Prime
------------------------
=======================
Both single and double prime symbols are available in the :guilabel:`Insert` menu. These symbols
are the correct symbols to use for unit symbols for feet, inches, minutes and seconds. The usage of
these is described in more detail on the Wikipedia Prime_ page. They look very similar to single
and double straight quotes, and may be renderred similarly by the font, but they have different
Both single and double prime symbols are available in the **Insert** menu. These symbols
are the correct symbols to use for unit symbols for feet, inches, minutes, and seconds. The usage
of these is described in more detail on the Wikipedia Prime_ page. They look very similar to single
and double straight quotes, and may be rendered similarly by the font, but they have different
codes. Using these correctly will also prevent the auto-replace and dialogue highlighting features
misunderstanding their meaning in the text.
.. _Prime: https://en.wikipedia.org/wiki/Prime_(symbol)
.. _docs_more_typographical_symbols_apostrophe:
Modifier Letter Apostrophe
--------------------------
==========================
The auto-replace feature will consider any right-facing single straight quote as a quote symbol,
even if it is intended as an apostrophe. This also includes the syntax highlighter, which may
assume the first following apostrophe is the closing symbol of a single quoted region of text.
To get around this, an alternative apostrophe is available. It is a special Unicode character that
is not categorised as punctuation, but as a modifier. It is usually renderred the same way as the
is not categorised as punctuation, but as a modifier. It is usually rendered the same way as the
right single quotation marks, depending on the font. There is a Wikipedia article for the
`Modifier letter apostrophe`_ with more details.
.. note::
On export with the :guilabel:`Build Novel Project` tool, these apostrophes will be replaced
On export with the **Build Manuscript** tool, these apostrophes will be replaced
automatically with the corresponding right hand single quote symbol as is generally recommended.
Therefore it doesn't really matter if you only use them to correct highlighting.
.. _Modifier letter apostrophe: https://en.wikipedia.org/wiki/Modifier_letter_apostrophe
Therefore it doesn't really matter if you only use them to correct syntax highlighting in some
places, and not others.
Special Space Symbols
---------------------
White Space Symbols
===================
A few variations of the regular space character is supported. The correct typographical way to
separate a number from its unit is with a `thin space`_. It is usually 2/3 the width of a regular
@@ -98,7 +95,11 @@ A regular space can also be made into a non-breaking space if needed.
All non-breaking spaces are highlighted with a differently coloured background to make it easier to
spot them in the text. The colour will depend on the selected colour theme.
The thin and non-breaking spaces are converted to their corresponding HTML codes on export to HTML
format.
You can insert these spaces in your text using the following keyboard combinations:
.. _thin space: https://en.wikipedia.org/wiki/Thin_space
* A non-breaking space can be inserted with :kbd:`Ctrl+K`, :kbd:`Space`.
* Thin spaces are also supported, and can be inserted with :kbd:`Ctrl+K`, :kbd:`Shift+Space`.
* Non-breaking thin space can be inserted with :kbd:`Ctrl+K`, :kbd:`Ctrl+Space`.
These are all insert features, and the **Insert** menu has more. The keyboard shortcuts for them
are also listed in :ref:`docs_features_shortcuts`.

View File

@@ -1 +0,0 @@
sphinx_rtd_theme

View File

@@ -1,110 +0,0 @@
.. _a_setup_linux:
**************
Setup on Linux
**************
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _main website: https://novelwriter.io
This is a brief guide to how you can get novelWriter running on a Linux computer. There are
currently no install package of novelWriter for Linux, so it is recommended that you download
either the full source or minimal package and extract it to a practical location on your system and
run the ``setup.py`` script.
Running from Source
===================
To run novelWriter from source, download the latest source package from the release page on
GitHub_ or the `main website`_, or if you have git running on your computer, you can also clone the
repository.
Step 1: Installing Dependencies
-------------------------------
The dependencies of novelWriter are generally available from Linux distro repositories. For Debian
and Ubuntu, they can be installed with:
.. code-block:: console
sudo apt install python3-pyqt5 python3-lxml python3-enchant
If you prefer to install dependencies via PyPi, or the repository dependencies are out of date, you
can install them with:
.. code-block:: console
pip3 install --user -r requirements.txt
Step 2: Install Package (Optional)
----------------------------------
You can install novelWriter to the default location for Python packages using ``setuptools``. This
step is optional as you can also just put the novelWriter program folder wherever you like
yourself. For instance in ``/opt/novelWriter``, and then run Step 3 to set up icons and launcher.
To install novelWriter to the default location, it requires that you have ``setuptools`` installed
on your system. If you don't have it installed, it can usually be installed from your distro's
repository. For Debian and Ubuntu this is achieved with:
.. code-block:: console
sudo apt install python3-setuptools
The package is also available from PyPi:
.. code-block:: console
pip3 install --user setuptools
With ``setuptools`` in place, novelWriter can be installed to the user space with:
.. code-block:: console
./setup.py install --user
This should install novelWriter as ``~/.local/bin/novelWriter``. If you instead want to install for
all users, i.e. as ``/usr/local/bin/novelWriter``, run:
.. code-block:: console
sudo ./setup.py install
This is equivalent to what the ``pip`` installer does. It puts novelWriter in the location on your
system where Python packages are usually kept. This is not really the best suited location for a
GUI application like novelWriter, so you may instead copy the entire source to a suiteable location
yourself.
Step 3: Create Launcher Icons
-----------------------------
Regardless of where you extract or install the source files, you can set up a standard icon and a
launcher. To set up this desktop launcher, the needed icons, and the project file association,
run the following from inside the novelWriter folder at the installed or final location:
.. code-block:: console
./setup.py xdg-install
By default, this command installs the launcher and icons for the current user only. To install for
all users, run the script with the ``sudo`` command.
.. tip::
All options of the setup script can be listed with: ``./setup.py help``.
Uninstalling Icons
==================
The steps taken by the ``xdg-install`` step can be reversed by running:
.. code-block:: console
./setup.py xdg-uninstall
This will remove the desktop launcher and icons from the system. As above, whether this is done on
the current user, or system wide, depends on whether this command is called with ``sudo`` or not.

View File

@@ -1,74 +0,0 @@
.. _a_setup_mac:
**************
Setup on macOS
**************
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _main website: https://novelwriter.io
.. _brew docs: https://docs.brew.sh/Homebrew-and-Python
This is a brief guide to how you can get novelWriter running on macOS. There are currently no
install package of novelWriter for macOS, so it is recommended that you download either the full
source or minimal package and extract it to a practical location on your system and
run it.
Running from Source
===================
To run novelWriter from source, download the latest source package from the release page on
GitHub_ or the `main website`_, or if you have git running on your computer, you can also clone the
repository.
Step 1: Installing Dependencies
-------------------------------
These instructions assume you're using brew, and have Python and pip set up. If not, see the
`brew docs`_ for help. Main requirements are installed via the requirements file. You also need to
install the ``pyobjc`` package, so you should run:
.. code-block:: console
pip3 install --user -r requirements.txt
pip3 install --user pyobjc
For spell checking you may also need to install the enchant package. It comes with a lot of default
dictionaries.
.. code-block:: console
brew install enchant
With the dependencies in place, you can launch the ``novelWriter.py`` script directly to run
novelWriter.
Step 2: Install Package (Optional)
----------------------------------
You can install novelWriter to the correct location for Python packages with:
.. code-block:: console
./setup.py install --user
This requires that the package ``setuptools`` is installed on your system. If not, it can be
installed with:
.. code-block:: console
pip3 install --user setuptools
This is method of install is equivalent to what the ``pip`` installer does. It puts novelWriter in
the location on your system where Python packages are usually kept. This is not really the best
suited location for a GUI application like novelWriter, so you may instead copy the entire source
to a suiteable location yourself.
After this, you should be able to launch novelWriter by running ``novelWriter`` in a command line
window.
.. note::
Right now there isn't a better integration with macOS available. Contributions from someone more
familiar with macOS would be very much appreciated.

View File

@@ -1,149 +0,0 @@
.. _a_setup_win:
****************
Setup on Windows
****************
This is a brief guide to how you can get novelWriter running on a Windows computer.
Unlike other operating systems, Windows does not come prepared with an environment to run Python
applications, so you must first install Python. After that, running novelWriter is straightforward.
.. tip::
If you have any problems, you can always open a question on the project's discussions_ page.
This requires a GitHub account.
.. _discussions: https://github.com/vkbo/novelWriter/discussions
.. _a_setup_win_installer:
Using the Installer
===================
The installer for Windows is no longer provided. See the `installer issue`_ for more info on why.
You can still create the installer yourself if you want to. It can be generated with the provided
``setup.py`` script. use the script's ``help`` command to get further instructions.
Please use the "Running from Source" option below instead. It has been improved and a script has
been added that does nearly the same thing.
.. _installer issue: https://github.com/vkbo/novelWriter/issues/640
.. _a_setup_win_source:
Running from Source
===================
To run novelWriter from source, download the latest source zip file from the release page on
GitHub_, or from the `main website`_. You can download the "Minimal Windows" zip file. It is a
minimal version of the source that contains only the files needed for running on Windows. You can
also download the full source if you wish.
In order to make novelWriter run on your system, you must first have Python installed (Step 1).
Thereafter, a script will do the rest of the job (Step 2). Alternatively, you can run this step
manually from the command prompt if you wish to.
.. tip::
If your system already has all the dependencies installed, you can run novelWriter directly from
the extracted folder by double-clicking the ``novelWriter.pyw`` file. However, running the
script also adds start icons.
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _main website: https://novelwriter.io
Step 1: Installing Python
-------------------------
If you already have Python installed, you can skip this step. If you don't have it installed, you
can download it from the python.org_ website. novelWriter should work with Python 3.6 or higher,
but it is recommended that you install the latest version of Python.
Make sure you select the "Add Python to PATH" option during installation, otherwise the ``python``
command will not work in the command line window.
.. image:: images/python_win_install.png
:width: 600
.. _python.org: https://www.python.org/downloads/windows
Step 2: Dependencies and Icons
------------------------------
**Alternative A: By Script**
Open the folder where you extracted novelWriter, and double-click the file named
``windows_install.bat``. This should open a command line window and run the setup script to install
dependencies, and add desktop and start menu icons.
.. note::
If you downloaded the full source package, the file may be in the ``setup`` subfolder.
The script will also check that it can find Python on your system and alert you if it cannot run
it. If you are sure you have installed it, but the script cannot find it, you probably didn't
install it with the "Add Python to PATH" option mentioned in Step 1.
.. note::
If you upgrade Python to a newer version and the path to ``pythonw.exe`` has therefore changed,
you may need to run this script again. You can also run it to upgrade dependencies to the latest
version.
**Alternative B: Manual Installation**
The above alternative can also be run manually.
Open the windows command prompt. It can be launched by pressing the :kbd:`Win` key and typing "cmd".
The "Command Prompt" app should then be in the list of applications.
With the command prompt open, navigate to the folder where you extracted the novelWriter source,
and run the following commands:
.. code-block:: console
pip install --user pywin32 -r requirements.txt
python setup.py win-install
The first command will install the dependencies on your system from the `Python Package Index`_,
and the second command will create a desktop icon and a start menu icon. That should be all that
you need.
.. _Python Package Index: https://pypi.org/
Uninstalling
============
**Alternative A: By Script**
Open the folder where you keep the novelWriter files, and double-click the file named
``windows_uninstall.bat``. This should open a command line window and run the setup script to
remove the main dependency packages and remove desktop and start menu icons.
.. note::
If you downloaded the full source package, the file may be in the ``setup`` subfolder.
If you plan to also remove Python from your system, you must run the above script first as it needs
Python in order to run.
.. note::
Due to limitations of the ``pip`` installer, dependencies of the dependencies will not be
removed, only the ones the setup script directly installed.
**Alternative B: Manual Uninstallation**
Like for the install process, the script just runs two commands. You can of course run them
yourself if you wish. They are:
.. code-block:: console
python setup.py win-uninstall
pip uninstall -r requirements.txt
There may be other packages on your system installed by ``pip``. To list all packages, run:
.. code-block:: console
pip freeze --user

View File

@@ -1,145 +0,0 @@
.. _a_tech:
*********************
Technical Information
*********************
This section contains details of how novelWriter stores and handles the project data.
How Project Data is Stored
==========================
All novelWriter files are written with utf-8 encoding. Since Python automatically converts Unix
line endings to Windows line endings on Windows systems, novelWriter does not make any adaptations
to the formatting on Windows systems. This is handled entirely by the Python standard library.
Python also handles this fairly well when working on the same files on both Windows and Unix-based
operating systems.
Main Project File
-----------------
The project itself requires a dedicated folder for storing its files where novelWriter will create
its own "file system" where the folder and file hierarchy is described in a project XML file. This
is the main project file in the project's root folder with the name ``nwProject.nwx``. This file
also contains all the meta data required for the project, and a number of related project settings.
If this file is lost or corrupted, the structure of the project is lost, although not the text
itself. It is important to keep this file backed up, either through the built-in backup tool, or
your own backup solution.
.. tip::
The novelWriter project folder is structured so that it can easily be added to a version control
system like git. If so, you may want to add a `.gitignore` file to exclude files with the
extensions `.json` as JSON files are used to cache the index and various run-time settings and
are generally large files that change often. You'd also want to exclude the ``cache`` folder.
The project XML file is indent-formatted, suitable for diff tools and version control since most of
the file will stay static, although a timesetamp is set in the meta section on line 2 each time the
file is saved, and various meta data entries are incremented on each save.
Project Documents
-----------------
All the project documents are saved in a folder in the main project folder named ``content``. Each
document has a file handle taken from the first 13 characters of a SHA256 hash of the system time
when the document was first created. The documents are saved with a filename assembled from this
hash and the file extension ``.nwd``.
If you wish to find the file system location of a document in the project, you can either look it
up in the project XML file, select :guilabel:`Show File Details` from the :guilabel:`Document` menu
when having the document open, or look in the ``ToC.txt`` file in the root of the project folder.
The ``ToC.txt`` file has a list of all documents in the project, referenced by their label, and
where they are saved.
The reason for this cryptic file naming is to avoid issues with file naming conventions and
restrictions on different operating systems, and also to have a file name that does not depend on
what the user names the document within the project, or changes it to.
Each document file contains a plain text version of the text from the editor. The file can in
principle be edited in any text editor, and is suitable for diffing and version control if so
desired. Just make sure the file remains in utf-8 encoding, otherwise unicode chatracters may
become mangled when the file is opened in novelWriter again.
The first lines of the file may contain some meta data starting with the characters ``%%~``. These
lines are mainly there to restore some information if it is lost from the project file, and the
information may be helpful if you do open the file in an external editor as it contains the
document label and the document class and layout. The lines can be deleted without any consequences
to the rest of the content of the file, and will be added back the next time the document is saved
in novelWriter.
The File Saving Process
-----------------------
When saving the project file, or any of the documents, the data is first saved to a temporary file.
If successful, the old data file is removed, and the temporary file becomes the new file. This
ensures that the previously saved data is only replaced when the new data has been successfully
saved to the storage medium.
For the project XML file, a ``.bak`` file is in addition kept, which will always contain the
previous version of the file, although when auto-save is enabled, they may have the same content.
If the opening of a project file fails, novelWriter will automatically try to open the ``.bak``
file instead.
Project Meta Data
=================
The project folder contains a subfolder named ``meta``, containing a number of files. The meta
folder contains semi-important files. That is, they can be lost with only minor impact to the
project.
If you use version control software on your project, you can exclude this folder, although you may
want to track the session log file. The JSON files within this folder can safely be ignored as they
will be automatically regenerated if lost.
The Project Index
-----------------
Between writing sessions, the project index is saved in a JSON file in ``meta/tagsIndex.json``.
This file is not critical. If it is lost, it can be rebuilt from within novelWriter from the
:guilabel:`Tools` menu.
The index is maintained and updated whenever a document or note is saved in the editor. It contains
all references and tags in documents and notes, as well as the location of all headers in the
project, and the word counts within each header section.
The integrity of the index is checked when the file is loaded. It is possible to corrupt the index
if the file is manually edited and manipulated, so the check is important to avoid sudden crashes
of novelWriter. if the file contains errors, novelWriter will automatically build it anew. If the
check somehow fails and novelWriter keeps crashing, you can delete the file manually and rebuild
the index. If this too fails, you have likely encountered a bug.
Cached GUI Options
------------------
A file named ``meta/guiOptions.json`` contains the latest state of various GUI buttons, switches,
dialog window sizes, column sizes, etc, from the GUI. These are the GUI settings that are specific
to the project. Global GUI settings are stored in the main config file.
The file is not critical, but if it is lost, all such GUI options will revert back to their default
settings.
Session Stats
-------------
The writing progress is saved in the ``meta/sessionStats.log`` file. This file records the length
and word counts of each writing session on the given project. The file is used by the
:guilabel:`Writing Statistics` tool. If this file is lost, the history it contains is also lost,
but it has otherwise no impact on the project.
Project Cache
=============
The project ``cache`` folder contains non-critical files. If these files are lost, there is no
impact on the functionality of novelWriter or the history of the project. It contains temporary
files, like the preview document in the :guilabel:`Build Novel Project` tool.
It should be excluded from version control tools if such are used.

View File

@@ -0,0 +1,65 @@
.. _docs_technical_locations:
**************
File Locations
**************
.. _QStandardPaths: https://doc.qt.io/qt-6/qstandardpaths.html
novelWriter will create a few files on your system outside of the application folder itself. These
file locations are described in this chapter.
.. _docs_technical_locations_conf:
Configuration
=============
The general configuration of novelWriter, including everything that is in **Preferences**, is saved
in one central configuration file. The location of this file depends on your operating system. The
system paths are provided by the Qt QStandardPaths_ class and its ``ConfigLocation`` value.
The standard paths are:
* Linux: ``~/.config/novelwriter/novelwriter.conf``
* MacOS: ``~/Library/Preferences/novelwriter/novelwriter.conf``
* Windows: ``C:\Users\<USER>\AppData\Local\novelwriter\novelwriter.conf``
Here, ``~`` corresponds to the user's home directory on Linux and MacOS, and ``<USER>`` is the
user's username on Windows.
.. note::
These are the standard operating system defined locations. If your system has been set up in a
different way, these locations may also be different.
.. _docs_technical_locations_data:
Application Data
================
novelWriter also stores a bit of data that is generated by the user's actions. This includes the
list of recent projects form the **Welcome** dialog. Custom themes should also be saved here. The
system paths are provided by the Qt QStandardPaths_ class and its ``AppDataLocation`` value.
The standard paths are:
* Linux: ``~/.local/share/novelwriter/``
* MacOS: ``~/Library/Application Support/novelwriter/``
* Windows: ``C:\Users\<USER>\AppData\Roaming\novelwriter\``
Here, ``~`` corresponds to the user's home directory on Linux and MacOS, and ``<USER>`` is the
user's username on Windows.
.. note::
These are the standard operating system defined locations. If your system has been set up in a
different way, these locations may also be different.
The Application Data location also holds several folders:
``cache``
This folder is used to save the preview data for the **Manuscript Build** tool.
``icons``, ``syntax`` and ``themes``
These folders are empty by default, but this is where the user can store custom theme files.
See :ref:`docs_more_custom` for more details.

View File

@@ -0,0 +1,164 @@
.. _docs_technical_source:
*******************
Running from Source
*******************
.. _GitHub: https://github.com/vkbo/novelWriter/releases
.. _PyPi: https://pypi.org/project/novelWriter/
.. _Sphinx Docs: https://www.sphinx-doc.org/
This chapter describes various ways of running novelWriter directly from the source code, and how
to build the various components like the translation files and documentation.
.. note::
The text below assumes the command ``python`` corresponds to a Python 3 executable. Python 2 is
now deprecated, but on many systems the command ``python3`` may be needed instead. Likewise,
``pip`` may need to be replaced with ``pip3``.
Most of the custom commands for building packages of novelWriter, or building assets, are contained
in the ``pkgutils.py`` script in the root of the source code. You can list the available commands
by running:
.. code-block:: bash
python pkgutils.py --help
.. _docs_technical_source_depend:
Dependencies
============
novelWriter has been designed to rely on as few dependencies as possible. Only the Python wrapper
for the Qt GUI libraries is required. The package for spell checking is optional, but recommended.
Everything else is handled with standard Python libraries.
The following Python packages are needed to run all features of novelWriter:
* ``PyQt6`` – needed for connecting with the Qt6 libraries.
* ``PyEnchant`` – needed for spell checking (optional).
If you want spell checking, you must install the ``PyEnchant`` package. The spell check library
must be at least 3.0 to work with Windows. On Linux, 2.0 also works fine.
If you install from PyPi, these dependencies should be installed automatically. If you install from
source, dependencies can still be installed from PyPi with:
.. code-block:: bash
pip install -r requirements.txt
.. note::
On Linux distros, the Qt library is usually split up into multiple packages. In some cases,
secondary dependencies may not be installed automatically. For novelWriter, the library files
for rendering the SVG icons may be left out and needs to be installed manually. This is the
case on for instance Arch Linux.
.. _docs_technical_source_install:
Build and Install from Source
=============================
If you want to install novelWriter directly from the source available on GitHub_, you must first
build the package using the Python Packaging Authority's build tool. It can be installed with:
.. code-block:: bash
pip install build
On Debian-based systems the tool can also be installed with:
.. code-block:: bash
sudo apt install python3-build
With the tool installed, run the following command from the root of the novelWriter source code:
.. code-block:: bash
python -m build --wheel
This should generate a ``.whl`` file in the ``dist/`` folder at your current location. The wheel
file can then be installed on your system. Here with example version number 2.0.7, but yours may be
different:
.. code-block:: bash
pip install --user dist/novelWriter-2.0.7-py3-none-any.whl
.. _docs_technical_source_i18n:
Building the Translation Files
==============================
If you installed novelWriter from a package, the translation files should be pre-built and
included. If you're running novelWriter from the source code, you will need to generate the files
yourself. The files you need will be written to the ``novelwriter/assets/i18n`` folder, and will
have the ``.qm`` file extension.
You can build the ``.qm`` files with:
.. code-block:: bash
python pkgutils.py qtlrelease
This requires that the Qt Linguist tool is installed on your system. On Ubuntu and Debian, the
needed package is called ``qttools5-dev-tools``.
.. note::
If you want to improve novelWriter with translation files for another language, or update an
existing translation, instructions for how to contribute can be found in the ``README.md`` file
in the ``i18n`` folder of the source code.
.. _docs_technical_source_sample:
Building the Example Project
============================
In order to be able to create new projects from example files, you need a ``sample.zip`` file in
the ``assets`` folder of the source. This file can be built from the ``pkgutils.py`` script by
running:
.. code-block:: bash
python pkgutils.py sample
.. _docs_technical_source_docs:
Building the Documentation
==========================
A local copy of this documentation can be generated as HTML. This requires installing some Python
packages from PyPi:
.. code-block:: bash
pip install -r docs/requirements.txt
The documentation can then be built from the root folder in the source code by running:
.. code-block:: bash
make -C docs html
If successful, the documentation should be available in the ``docs/build/html`` folder and you can
open the ``index.html`` file in your browser.
You can also build a PDF manual from the documentation using the ``pkgutils.py`` script:
.. code-block:: bash
python pkgutils.py docs-pdf en
This will build the English documentation as a PDF using LaTeX. The file will then be copied into
the assets folder and made available in the **Help** menu in novelWriter. Replace ``en`` with
``all`` to build for all languages. The Sphinx build system has a few extra dependencies when
building the PDF. Please check the `Sphinx Docs`_ for more details.

View File

@@ -0,0 +1,193 @@
.. _docs_technical_storage:
******************
How Data is Stored
******************
.. _version control: https://en.wikipedia.org/wiki/Version_control
This chapter contains details of how novelWriter stores and handles the project data.
Overview
========
The files of a novelWriter project are stored in a dedicated project folder. The project structure
is kept in a file at the root of this folder called ``nwProject.nwx``. All the document files and
associated meta data are stored in other folders below the project folder.
This way of storing data was chosen for several reasons.
Firstly, all the text you add to your project is saved directly to your project folder in separate
files. Only the project structure and the text you are currently editing is stored in memory at any
given time, which means there is a smaller risk of losing data if the application or your computer
crashes.
Secondly, having multiple small files means it is very easy to synchronise them between computers
with standard file synchronisation tools.
Thirdly, if you use `version control`_ software to track the changes to your project, the file
formats used for the files are well suited. All the JSON documents have line breaks and indents as
well, which makes it easier to track them with version control software.
.. note::
Since novelWriter has to keep track of a bunch of files and folders when a project is open, it
may not run well on some virtual file systems. A file or folder must be accessible with exactly
the path it was saved or created with. An example where this is not the case is the way Google
Drive is mapped on Linux Gnome desktops using gvfs/gio.
.. caution::
You should not add additional files to the project folder yourself. Nor should you, as a rule,
manually edit files within it. If you really must manually edit the text files, e.g. with some
automated task you want to perform, you need to rebuild the Project Index when you open
the project again.
Editing text files in the ``content`` folder is less risky as these are just plain text. Editing
the main project XML file, however, may make the project file unreadable and you may crash
novelWriter and lose project structure information and project settings.
Project Structure
=================
All novelWriter files are written with utf-8 encoding. Since Python automatically converts Unix
line endings to Windows line endings on Windows systems, novelWriter does not make any adaptations
to the formatting on Windows systems. This is handled entirely by the Python standard library.
Python also handles this when working on the same files on both Windows and Unix-based operating
systems.
Main Project File
-----------------
The project itself requires a dedicated folder for storing its files, where novelWriter will create
its own "file system" where the project's folder and file hierarchy is described in a project XML
file. This is the main project file in the project's root folder with the name ``nwProject.nwx``.
This file also contains all the meta data required for the project (except the index data), and a
number of related project settings.
If this file is lost or corrupted, the structure of the project is lost, although not the text
itself. It is important to keep this file backed up, either through the built-in backup tool, or
your own backup solution.
The project XML file is indent-formatted, and is suitable for diff tools and version control since
most of the file will stay static, although a timestamp is set in the meta section on line 2, and
various meta data entries incremented, on each save.
A full project file format specification is available under "More Documents".
Project Documents
=================
All the project documents are saved in a subfolder of the main project folder named ``content``.
Each document has a file handle based on a 52 bit random number, represented as a hexadecimal
string. The documents are saved with a filename assembled from this handle and the file extension
``.nwd``.
If you wish to find the file system location of a document in the project, you can either look it
up in the project XML file, select **Show File Details** from the **Document** menu when having the
document open in the editor, or look in the ``ToC.txt`` file in the root of the project folder. The
``ToC.txt`` file has a list of all documents in the project, referenced by their label, and where
they are saved.
The reason for this cryptic file naming is to avoid issues with file naming conventions and
restrictions on different operating systems, and also to have a file name that does not depend on
what you name the document within the project, or changes it to. This is particularly useful when
using a versioning system.
Each document file contains a plain text version of the text from the editor. The file can in
principle be edited in any text editor, and is suitable for diffing and version control if so
desired. Just make sure the file remains in utf-8 encoding, otherwise unicode characters may
become mangled when the file is opened in novelWriter again.
Editing these files is generally not recommended. The reason for this is that the index will not be
automatically updated when doing so, which means novelWriter doesn't know you've altered the file.
If you *do* edit a file in this manner, you should rebuild the index when you next open the project
in novelWriter.
The first lines of the file may contain some meta data starting with the characters ``%%~``. These
lines are mainly there to restore some information if the file is lost from the main project file,
and the information may be helpful if you do open the file in an external editor as it contains the
document label and the document class and layout. The lines can be deleted without any consequences
to the rest of the content of the file, and will be added back the next time the document is saved
in novelWriter.
The File Saving Process
-----------------------
When saving the project file, or any of the documents, the data is first saved to a temporary file.
If successful, the old data file is then removed, and the temporary file replaces it. This ensures
that the previously saved data is only replaced when the new data has been successfully saved to
the storage medium.
Project Meta Data
=================
The project folder contains a subfolder named ``meta``, containing a number of files. The meta
folder contains semi-important files. That is, they can be lost with only minor impact to the
project. All files in this folder are JSON or JSON Lines files, although some other files may
remain from earlier versions of novelWriter as they haven't all been JSON files in the past.
If you use version control software on your project, you can exclude this folder, although you may
want to track the session log file and the custom words list.
The Project Index
-----------------
Between writing sessions, the project index is saved in a JSON file in ``meta/index.json``.
This file is not critical. If it is lost, it can be completely rebuilt from within novelWriter from
the **Tools** menu.
The index is maintained and updated whenever a document or note is saved in the editor. It contains
all references and tags in documents and notes, as well as the location of all headers in the
project, and the word counts within each header section.
The integrity of the index is checked when the file is loaded. It is possible to corrupt the index
if the file is manually edited and manipulated, so the check is important to avoid sudden crashes
of novelWriter. If the file contains errors, novelWriter will automatically build it anew. If the
check somehow fails and novelWriter keeps crashing, you can delete the file manually and rebuild
the index. If this too fails, you have likely encountered a bug.
Build Definitions
-----------------
The build definitions from the **Manuscript Build** tool are kept in the ``meta/builds.json`` file.
If this file is lost, all custom build definitions are lost too.
Cached GUI Options
------------------
A file named ``meta/options.json`` contains the latest state of various GUI buttons, switches,
dialog window sizes, column sizes, etc, from the GUI. These are the GUI settings that are specific
to the project. Global GUI settings are stored in the main config file.
The file is not critical, but if it is lost, all such GUI options will revert back to their default
settings.
Custom Word List
----------------
A file named ``meta/userdict.json`` contains all the custom words you've added to the project for
spell checking purposes. The content of the file can be edited from the **Tools** menu. If you lose
this file, all your custom spell check words will be lost too.
Session Stats
-------------
The writing progress is saved in the ``meta/sessions.jsonl`` file. This file records the length
and word counts of each writing session on the given project. The file is used by the **Writing
Statistics** tool. If this file is lost, the history it contains is also lost, but it has otherwise
no impact on the project.
Each session is recorded as a JSON object on a single line of the file. Each session record is
appended tot he file.

View File

@@ -0,0 +1,84 @@
.. _docs_technical_pytest:
*************
Running Tests
*************
The novelWriter source code is well covered by tests. The test framework used for the development
is ``pytest`` with the use of an extension for Qt.
Dependencies
============
The dependencies for running the tests can be installed with:
.. code-block:: bash
pip install -r tests/requirements.txt
This will install a couple of extra packages for coverage and test management. The minimum
requirement is ``pytest`` and ``pytest-qt``.
Simple Test Run
===============
To run the tests, you simply need to execute the following from the root of the source folder:
.. code-block:: bash
pytest
Since several of the tests involve opening up the novelWriter GUI, you may want to disable the GUI
for the duration of the test run. Moving your mouse while the tests are running may otherwise
interfere with the execution of some tests.
You can disable the renderring of the GUI by setting the flag ``QT_QPA_PLATFORM=offscreen``:
.. code-block:: bash
export QT_QPA_PLATFORM=offscreen pytest
Advanced Options
================
Adding the flag ``-v`` to the ``pytest`` command will increase verbosity of the test execution.
You can also add coverage report generation. For instance to HTML:
.. code-block:: bash
export QT_QPA_PLATFORM=offscreen pytest -v --cov=novelwriter --cov-report=html
Other useful report formats are ``xml``, and ``term`` for terminal output.
You can also run tests per subpackage of novelWriter with the ``-m`` command. The available
subpackage groups are ``base``, ``core``, and ``gui``. Consider for instance:
.. code-block:: bash
export QT_QPA_PLATFORM=offscreen pytest -v --cov=novelwriter --cov-report=html -m core
This will only run the tests of the "core" package, that is, all the classes that deal with the
project data of a novelWriter project. The "gui" tests, likewise, will run the tests for the GUI
components, and the "base" tests cover the bits in-between.
You can also filter the tests with the ``-k`` switch. The following will do the same as
``-m core``:
.. code-block:: bash
export QT_QPA_PLATFORM=offscreen pytest -v --cov=novelwriter --cov-report=html -k testCore
All tests are named in such a way that you can filter them by adding more bits of the test names.
They all start with the word "test". Then comes the group: "Core", "Base", "Dlg", "Tool", or "Gui".
Finally comes the name of the class or module, which generally corresponds to a single source code
file. For instance, running the following will run all tests for the document editor:
.. code-block:: bash
export QT_QPA_PLATFORM=offscreen pytest -v --cov=novelwriter --cov-report=html -k testGuiEditor
To run a single test, simply add the full test name to the ``-k`` switch.

View File

@@ -0,0 +1,149 @@
.. _docs_usage_formatting:
*******************
Advanced Formatting
*******************
Standard Markdown formatting is somewhat limited, so novelWriter has some additional formatting
codes for special use cases. These codes are all based on brackets, and some allow an additional
value to be set after a colon.
This section covers all these formatting codes.
.. _docs_usage_formatting_shortcodes:
Formatting with Shortcodes
==========================
For basic formatting, like emphasis, you should use the standard Markdown style formatting tags
descried in :ref:`docs_usage_basics_emphasis` whenever possible.
For additional formatting options, you can use shortcodes. Shortcodes is a form of in-line codes
that wrap the section of text to be formatted. Shortcodes can be nested to apply multiple formats
to the same piece of text.
These shortcodes are intended for special formatting cases, or more complex cases that cannot be
solved with simple Markdown-like formatting codes. Available shortcodes are listed below.
.. csv-table:: Shortcodes Formats
:header: "Syntax", "Description"
:widths: 40, 60
:class: "tight-table"
"``[b]text[/b]``", "Text is displayed as bold text."
"``[i]text[/i]``", "Text is displayed as italicised text."
"``[s]text[/s]``", "Text is displayed as strike through text."
"``[u]text[/u]``", "Text is displayed as underlined text."
"``[m]text[/m]``", "Text is displayed as highlighted text."
"``[sup]text[/sup]``", "Text is displayed as superscript text."
"``[sub]text[/sub]``", "Text is displayed as subscript text."
"``[footnote:key]``", "A reference to a :ref:`footnote comment <docs_usage_comments_footnotes>`."
Unlike Markdown style codes, these can be used anywhere within a paragraph. Even in the middle of a
word if you need to. You can also freely combine them to form more complex formatting.
The shortcodes are available from the **Format** menu and in the editor toolbar, which can be
activated by clicking the left-most icon button in the editor header.
.. note::
Shortcodes are not processed until you generate a preview or generate a manuscript document. So
there is no highlighting of the text between the formatting markers. There is also no check that
your markers make sense. You must ensure that you have both the opening and closing formatting
markers where you want them.
.. versionadded:: 2.2
.. _docs_usage_formatting_breaks:
Vertical Space and Page Breaks
==============================
You can apply page breaks to partition, chapter and scene headings for novel documents from the
**Manuscript Build** tool. If you need to add a page break or additional vertical spacing in other
places, there are special codes available for this purpose.
Adding more than one line break between paragraphs will **not** increase the space between those
paragraphs when generating a manuscript document. To add additional space between paragraphs, add
the text ``[vspace]`` on a line of its own, and the **Manuscript Build** tool will insert a blank
paragraph in its place.
If you need multiple blank paragraphs just add a colon and a number to the above code. For
instance, writing ``[vspace:3]`` will insert three blank paragraphs.
If you need to add a page break somewhere, put the text ``[new page]`` on a line by itself before
the text you wish to start on a new page.
.. note::
The page break code is applied to the text that follows it. It adds a "page break before" mark
to the text when exporting to HTML or Open Document. This means that a ``[new page]`` code which
has no text following it will not result in a page break.
:bdg-info:`Example`
.. code-block:: md
This is a text paragraph.
[vspace:2]
This is another text paragraph, but there will be two empty paragraphs
between them.
[new page]
This text will start on a new page if the build format supports pages.
.. _docs_usage_formatting_counts:
Inserting Word Counts in the Text
=================================
The cover page of a manuscript normally has the word count stated on it. Any statistics value
collected by novelWriter can be inserted into any document using a special shortcode. You can
insert the code for any of the available statistics values from the **Insert** menu under
**Word/Character Count**.
The value inserted is the actual count for your entire manuscript, so it is not populated until you
run the **Manuscript Build** tool. Until then they will show up as "0" in the viewer panel.
The available codes are:
.. csv-table:: Stats Shortcodes
:header: "Code", "Description"
:class: "tight-table"
"``[field:allChars]``", "Characters"
"``[field:textChars]``", "Characters in Text"
"``[field:titleChars]``", "Characters in Headings"
"``[field:paragraphCount]``", "Paragraphs"
"``[field:titleCount]``", "Headings"
"``[field:allWordChars]``", "Characters, No Spaces"
"``[field:textWordChars]``", "Characters in Text, No Spaces"
"``[field:titleWordChars]``", "Characters in Headings, No Spaces"
"``[field:allWords]``", "Words"
"``[field:textWords]``", "Words in Text"
"``[field:titleWords]``", "Words in Headings"
:bdg-info:`Example`
This is an example cover page. A similar page is automatically generated when you create a new
project.
.. code-block:: md
Jane Smith[br]
42 Main Street[br]
1234 Capital City <<
[vspace:5]
#! Example
>> **By Jane Smith** <<
>> Word Count: [field:textWords] <<

View File

@@ -0,0 +1,78 @@
.. _docs_usage_align_indent:
*************************
Alignment and Indentation
*************************
The Markdown standard doesn't have commands for aligning text, so novelWriter adds its own syntax
for this. It also has syntax for indentation, which is similar to Markdown block quotes.
Paragraph Alignment and Indentation
===================================
All documents have the text by default aligned to the left or justified, depending on your setting
in **Preferences**.
You can override the default text alignment on individual paragraphs by specifying alignment tags.
These tags are double angle brackets. Either ``>>`` or ``<<``. You put them either before or after
the paragraph, and they will "push" the text towards the edge the brackets point towards. This
should be fairly intuitive.
Indentation uses a similar syntax. But here you use a single ``>`` or ``<`` to "push" the text away
from the edge.
:bdg-info:`Example`
.. csv-table:: Text Alignment and Indentation
:header: "Syntax", "Description"
:widths: 40, 60
:class: "tight-table"
"``>> Right aligned text``", "The text paragraph is right-aligned."
"``Left aligned text <<``", "The text paragraph is left-aligned."
"``>> Centred text <<``", "The text paragraph is centred."
"``> Left indented text``", "The text has an increased left margin."
"``Right indented text <``", "The text has an increased right margin."
"``> Left/right indented text <``", "The text has both margins increased."
.. note::
The text editor will not show the alignment and indentation live. But the viewer will show them
when you open the document there. It will of course also be reflected in the document generated
from the **Manuscript Build** tool as long as the format supports paragraph alignment.
Alignment with Line Breaks
==========================
If you have line breaks in the paragraph, the markers for all the lines are combined and used for
the entire paragraph. For the following text, all lines will be centred:
:bdg-info:`Example`
.. code-block:: md
>> I am the very model of a modern Major-General
I've information vegetable, animal, and mineral
I know the kings of England, and I quote the fights historical
From Marathon to Waterloo, in order categorical <<
Alignment with First Line Indent
================================
If you have first line indent enabled in your manuscript build settings, you probably want to
disable it for text in verses. Adding any alignment tags will cause the first line indent to be
switched off for that paragraph.
:bdg-info:`Example`
The following text will always be aligned against the left margin:
.. code-block:: md
I am the very model of a modern Major-General <<
I've information vegetable, animal, and mineral
I know the kings of England, and I quote the fights historical
From Marathon to Waterloo, in order categorical

View File

@@ -0,0 +1,95 @@
.. _docs_usage_basics:
****************
Basic Formatting
****************
.. _Markdown: https://en.wikipedia.org/wiki/Markdown
The basic text formatting syntax of novelWriter is based on Markdown_. It is only a subset of the
Markdown syntax though. Lists, images, and links are not supported.
That said, URLs in the text should automatically be highlighted and become clickable. However, only
URLs starting with "http" or "https" are recognised. In the editor, you must hold down the
:kbd:`Ctrl` key when clicking a URL to follow it.
.. _docs_usage_basics_paragraphs:
Text Paragraphs
===============
A text paragraph is indicated by a blank line. That is, you need two line breaks to separate two
fragments of text into two paragraphs. Single line breaks are treated as line breaks within a
paragraph.
It is important that you actually follow this rule. You should not, for instance, mimic indented
paragraphs manually in the editor. This, and a lot of other formatting options that can be
applied to text paragraphs in the :ref:`Manuscript Tool <docs_ui_manuscript>` depend on paragraphs
being separated by blank lines.
:bdg-success:`Correct`
.. code-block:: md
### Scene
This is a text paragraph.
This is another text paragraph.
:bdg-danger:`Incorrect`
.. code-block:: md
### Scene
This is a text paragraph.
This is meant to be another text paragraph.
If you do as shown in the "Incorrect" example, novelWriter will understand this as a single
paragraph with two lines.
.. _docs_usage_basics_emphasis:
Text Emphasis with Markdown
===========================
A minimal set of Markdown text emphasis styles are supported for text paragraphs.
``_text_``
The text is rendered as emphasised text (italicised).
``**text**``
The text is rendered as strongly emphasised text (bold).
``~~text~~``
Strike through text.
In Markdown guides it is often recommended to differentiate between strong emphasis and emphasis
by using ``**`` for strong and ``_`` for emphasis, although Markdown generally also supports ``__``
for strong and ``*`` for emphasis. However, since the differentiation makes the highlighting and
conversion significantly simpler and faster, in novelWriter this is a rule, not just a
recommendation.
In addition, the following rules apply:
1. The emphasis and strike through formatting tags do not allow spaces between the words and the
tag itself. That is, ``**text**`` is valid, ``**text **`` is not.
2. More generally, the delimiters must be on the outer edge of words. That is, ``some **text in
bold** here`` is valid, ``some** text in bold** here`` is not.
3. If using both ``**`` and ``_`` to wrap the same text, the underscore must be the **inner**
wrapper. This is due to the underscore also being a valid word character, so if they are on the
outside, they violate rule 2.
4. Text emphasis does not span past line breaks. If you need to add emphasis to multiple lines or
paragraphs, you must apply it to each of them in turn.
5. Text emphasis can only be used in comments and paragraphs. Headings and meta data tags don't
allow for formatting, and any formatting markup will be displayed as-is.
.. tip::
novelWriter supports standard escape syntax for the emphasis markup characters in case the
editor misunderstands your intended usage of them. That is, ``\*``, ``\_`` and ``\~`` will
generate a plain ``*``, ``_`` and ``~``, respectively, without interpreting them as part of the
markup.

View File

@@ -0,0 +1,96 @@
.. _docs_usage_headings:
*******************
Chapters and Scenes
*******************
.. _Markdown: https://en.wikipedia.org/wiki/Markdown
Since novelWriter uses a plain text format, the structure of your novel must follow a certain set
of simple rules. For documents in a **Novel** type root folder, it is the heading that determines
if the document is a chapter or a scene.
The formatting of headings is based on Markdown_. A heading is indicated by a line starting with
one or more ``#`` characters. It accepts up to four of these. You can use multiple headings in the
same document, but it is the first heading that determines which icon and information is displayed
in the project tree.
.. note::
You can use the same heading levels for your notes in the other root folders, but they aren't
treated as chapters or scenes, so there you are free to use them as you want.
.. _docs_usage_headings_levels:
Heading Levels
==============
.. figure:: images/fig_heading_levels.png
An illustration of how heading levels correspond to the novel structure.
Four levels of headings are understood for novel documents. You can pick and choose from these as
you want, but if your story has chapters, you should use these headings to indicate them. If you
also add scene headings, you have better control of how your scene separators are formatted in your
manuscript. The chapter and scenes headings are also displayed in the
:ref:`Novel View <docs_ui_main_novel>` and :ref:`Outline View <docs_ui_main_outline>`.
``# Title Text``
This is a heading level one. This heading indicates the start of a new partition. Partitions are
for when you want to split your story into "Part 1", "Part 2", etc. You can also choose to use
them for splitting the text up into acts, and then hide these headings in your manuscript so
that they are not included in the output.
``## Chapter Title``
This is a heading level two. This heading indicates the start of a new chapter. Chapter numbers
can be inserted automatically when building the manuscript, so you don't have to do this in the
title. See :ref:`docs_ui_manuscript_head_numbers` for more details.
``### Scene Title``
This is a heading level three. This heading indicates the start of a new scene. Scene numbers or
scene separators can be inserted automatically when building the manuscript, so you can use the
title field as a working title for your scenes if you wish, but you must provide a minimal
title.
``#### Section Title``
This is a heading level four. This heading indicates the start of a new section. Section titles
can be replaced by separators or ignored completely when building the manuscript. The meaning of
a section is really whatever you want it to be. You can use it to split your scenes up into
chunks, or into separate documents.
For headings level one through three, adding a ``!`` modifies the meaning of the heading. The
alternative meaning of the heading is only relevant when you generate your manuscript, but you may
want to keep the use cases in mind while writing.
``#! Title Text``
This tells the **Manuscript Build** tool that the level one heading is intended to be used for
the novel or notes folder's main title, like for instance the novel title on the cover page.
When building the manuscript, this will use a different styling of the title, which you can
modify independently from how partition titles are styled.
See :ref:`docs_usage_front_back_matter_title` for more details.
``##! Chapter Title``
This tells the **Manuscript Build** tool to not assign a chapter number to this chapter title if
automatic chapter numbers are enabled. Such titles are useful for prologues and epilogues for
instance. See :ref:`docs_usage_front_back_matter_unnumbered` for more details.
``###! Scene Title``
This is an alternative scene heading that can be formatted differently in the **Manuscript
Build** tool. It is intended for separating "soft" and "hard" scene breaks. Aside from this, it
behaves identically to a regular scene heading. See :ref:`docs_ui_manuscript_head_hard_soft`
for more details.
The formatting of these headings can be customised quite extensively in the
:ref:`Manuscript Tool <docs_ui_manuscript>`, which is covered in a separate part of the
documentation.
.. note::
The space after the ``#`` or ``!`` character is mandatory. The editor will change colour and
font size when the heading is correctly formatted.
Page breaks can be automatically added before titles, partition, chapter and scene headings from
the **Manuscript Build** tool when you build your project to a format that supports page breaks.
If you want page breaks in other places, you have to specify them manually.
See :ref:`docs_usage_formatting_breaks` for more details.

View File

@@ -0,0 +1,164 @@
.. _docs_usage_comments:
******************
Comments and Notes
******************
You can add comments to your text that are not a part of the story. Regular comments are intended
for you to add notes to yourself inside the text, which may be useful when you revise your drafts.
However, there are several types of comments you can use.
This section covers the basic comment types. There are a couple of advanced features that use
comment syntax too, but they are covered later.
.. _docs_usage_comments_plain:
Plain Comments
==============
A plain comment is a line or paragraph that starts with the character ``%`` as its first character.
You can put them wherever you like in your documents, and you can choose to include or exclude them
from your manuscript.
For the most part, novelWriter completely ignores these comments. They are not included in your
word or character counts either, and are only displayed in the document viewer panel if you enable
them.
:bdg-info:`Example`
.. code-block:: md
### Scene
A regular text paragraph in the scene.
% A comment you've added for your own notes.
Another regular text paragraph in the scene.
.. _docs_usage_comments_synopsis:
Synopsis or Description Comments
================================
A special kind of comments are **Synopsis** and **Short Description** comments. They are different
from plain comments in that they can be displayed alongside other information about a scene or a
character or other story element described in a note. As with plain comments, they can be included
in your manuscript, but they are formatted differently than plain comments.
.. note::
A summary or description comment can be used once, and only once, for each heading as they are
considered a description of the content of the text under that heading. If you add two such
comments under the same heading, the last one will be used.
Synopsis
--------
A **Synopsis** comment is intended for adding a summary of your chapters and scenes.
:bdg-info:`Example`
.. code-block:: md
### Scene
%Synopsis: A summary of the content of the scene.
The actual scene text.
Short Description
-----------------
A **Short Description** comment behaves exactly the same as a synopsis comment, but is intended as
a description of a story element, like a character.
:bdg-info:`Example`
.. code-block:: md
# Characters
## Darth Vader
%Short: A Sith Lord that used to be a Jedi.
Your text about the character.
## Luke Skywalker
%Short: A Jedi. The son of Darth Vader.
Your text about the character.
.. note::
The ``%Synopsis:`` and ``%Short:`` comment prefixes are interchangeable, but when you include
them in the manuscript, they are labelled based on the prefix, so the latter may make more sense
for a Character note than the former.
.. _docs_usage_comments_footnotes:
Footnote Comments
=================
Footnotes are added with a shortcode, paired with a matching comment for the actual footnote text.
The matching is done with a key that links the two. If you insert a footnote from the **Insert**
menu, a unique key is generated for you. Shortcodes in general are covered in more detail in
:ref:`docs_usage_formatting_shortcodes`.
The insert footnote feature will add the footnote shortcode marker at the position of your cursor
in the editor panel, and create the associated footnote comment right after the paragraph. It will
then move the cursor there so you can immediately start typing the footnote text.
The footnote comment can be anywhere in the document, so if you wish to move them to, say, the
bottom of the text, you are free to do so.
Footnote keys are only required to be unique within a document, so if you copy, move or merge text,
you must make sure the keys are not duplicated. If you use the automatically generated keys from
the **Insert** menu, they are unique among all indexed documents. They are not guaranteed to be
unique against footnotes in the **Archive** or **Trash** folder though, but the chance of
accidentally generating the same key twice in a project is relatively small.
:bdg-info:`Example`
.. code-block:: md
### Scene
This is a text paragraph with a footnote[footnote:fn1] in the middle.
%Footnote.fn1: This is the text of the footnote.
.. versionadded:: 2.5
.. _docs_usage_comments_ignored:
Ignored Text
============
If you want to completely ignore some of the text in your documents, but are not ready to delete
it, you can add ``%~`` before the text paragraph or line. This will cause novelWriter to skip the
text entirely when generating previews or building manuscripts.
This is a better way of removing text than converting them to regular comments, as you may want to
include regular comments in your previews or draft manuscript.
You can toggle the ignored text feature on and off for a paragraph by pressing :kbd:`Ctrl+Shift+D`
on your keyboard with your cursor somewhere in the paragraph.
:bdg-info:`Example`
.. code-block:: md
### Scene
%~ This text is ignored.
This text is a regular paragraph.

View File

@@ -0,0 +1,79 @@
.. _docs_usage_front_back_matter:
*********************
Front and Back Matter
*********************
Front and back matter documents are documents that go before and after your main story text. They
can include pages like your cover page, content tables, prologues, epilogues, etc. These special
pages and sections are supported to some extent by novelWriter.
.. _docs_usage_front_back_matter_title:
The Title Page
==============
It is recommended that you add a document at the very top of each **Novel** root folder with the
novel title in it. You should modify the level 1 heading format code with an ``!`` in order to
render it as a document title that is excluded from any automatic Table of Content in a manuscript
build document.
You can also add the author name and address above this if this is required by the manuscript
format you use, and additional space added before the title.
:bdg-info:`Example`
This is the title page novelWriter generates automatically for a new project as of version 2.6:
.. code-block:: md
Jane Doe[br]
Address Line 1[br]
Address Line 2 <<
[vspace:5]
#! My Novel
>> **By Jane Doe** <<
>> Word Count: [field:textWords] <<
The title is by default centred on the page. You can add more text to the page as you wish, like
for instance the author's name and details.
The default title page inserts the word count for text only, but you can add other counts too.
See :ref:`docs_usage_formatting_counts` for more details.
.. _docs_usage_front_back_matter_pages:
Additional Pages
================
If you want an additional page of text after the title page, starting on a fresh page, you can add
``[new page]`` on a line by itself, and continue the text after it. This will insert a page break
before the text. See :ref:`docs_usage_formatting_breaks` for more details.
.. _docs_usage_front_back_matter_unnumbered:
Unnumbered Chapters
===================
If you use the automatic numbering feature for your chapters, but you want to keep some special
chapters separate from this, you can add an ``!`` to the level 2 heading formatting code to tell
the build tool to skip these chapters when adding numbers.
Unnumbered chapters are useful for prologue and epilogue chapters, and also for interlude chapters
if you use those in your text. There is a separate formatting feature for such chapter titles in
the **Manuscript Build** tool. See the :ref:`docs_ui_manuscript` page for more details.
:bdg-info:`Example`
.. code-block:: md
##! Unnumbered Chapter Title
Chapter Text

119
docs/source/usage/howto.rst Normal file
View File

@@ -0,0 +1,119 @@
.. _docs_usage_howto:
*************
Tips & Tricks
*************
.. _Discussions Page: https://github.com/vkbo/novelWriter/discussions
This is a list of hopefully helpful little tips on how to get the most out of novelWriter.
.. note::
This section will be expanded over time. If you would like to have something added, feel free to
contribute, or start a discussion on the project's `Discussions Page`_.
Managing the Project
====================
.. dropdown:: How do I create a project from a template?
:animate: fade-in-slide-down
On the Welcome dialog's **Create New Project** form, you can select to "Prefill Project" from
the content of a different project. This feature is most useful if you copy a project you have
dedicated to be a template project. If you have a structure and settings you want to use for
every new project, this is the best solution.
.. dropdown:: How do I merge multiple documents into one?
:animate: fade-in-slide-down
If you need to merge a selection of documents in your project into a single document, you can
achieve this by first making a new folder for just that purpose, and drag all the documents you
want merged into this folder. Then you can right click the folder, select :guilabel:`Transform`
and :guilabel:`Merge Documents in Folder`.
In the dialog that pops up, the documents will be in the same order as in the folder, but you
can rearrange them here of you wish. See :ref:`docs_ui_split_merge` for more details.
.. dropdown:: How do I share status or importance labels between projects?
:animate: fade-in-slide-down
The status or importance labels you have defined in a project can be exported from **Project
Settings** from the respective configuration tabs. You can then import these labels in another
project.
Layout Tricks
=============
.. dropdown:: How do I create a table?
:animate: fade-in-slide-down
The formatting tools available in novelWriter don't allow for complex structures like tables.
However, the editor does render tabs in a similar way that regular word processors do. You can
set the width of a tab in **Preferences**.
The tab key should have the same distance in the editor as in the viewer, so you can align text
in columns using the tab key, and it should look the same when viewed next to the editor.
This is most suitable for your notes, as the result in exported documents cannot be guaranteed
to match. Especially if you don't use the same font in your manuscript as in the editor.
.. dropdown:: How do I force a line break when line breaks are ignored in my manuscript?
:animate: fade-in-slide-down
In the **Manuscript Build Settings** you can choose to ignore line breaks within paragraphs in
your text. However, some times you still need those breaks. Like for instance on the cover page
where you may need to add your name and address. In such cases, you can add ``[br]`` where you
want line breaks. These breaks cannot be ignored by any settings and will always be respected.
.. versionadded:: 2.6
.. dropdown:: How do I turn off first line indent for a specific paragraph?
:animate: fade-in-slide-down
If you have first line indent enabled, but have a specific paragraph that you don't want
indented, you can disable the indentation by explicitly adding text alignment. For instance by
adding ``<<`` to the end to left-align it. Aligned paragraphs are not indented.
See :ref:`docs_usage_align_indent` for more details.
Organising Your Text
====================
.. dropdown:: How do I add introductory text to chapters?
:animate: fade-in-slide-down
Sometimes chapters have a short preface, like a brief piece of text or a quote to set the stage
before the first scene begins.
If you add separate files for chapters and scenes, the chapter file is the perfect place to add
such text. Separating chapter and scene files also allows you to make scene files child
documents of the chapter.
.. dropdown:: How do I distinguishing between soft and hard scene breaks?
:animate: fade-in-slide-down
Depending on your writing style, you may need to separate between soft and hard scene breaks
within chapters. Like for instance if you switch point-of-view character often.
In such cases you may want to use different scene headings for hard and soft scene breaks. The
**Build Manuscript** tool will let you define a different format for scenes using the ``###``
and ``###!`` heading codes when you generate your manuscript. You can for instance add the
common "``* * *``" for hard breaks and select to hide soft scene breaks, which will just insert
an empty paragraph in their place. See :ref:`docs_ui_manuscript_settings` for more details.
.. versionadded:: 2.4
Other Tools
===========
.. dropdown:: How do I convert my project to/from the yWriter format?
:animate: fade-in-slide-down
There is a tool available that lets you convert a `yWriter <http://spacejock.com/yWriter7.html>`_
project to a novelWriter project, and vice versa.
The tool is available at `peter88213.github.io/yw2nw <https://peter88213.github.io/yw2nw/>`__

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

View File

@@ -0,0 +1,57 @@
.. _docs_usage:
************
Introduction
************
.. _Markdown: https://en.wikipedia.org/wiki/Markdown
In a nutshell, novelWriter is a plain text editor that lets you organise one or more novels and
associated notes as many smaller documents. You can at any time generate standard document formats
from these plain text documents. Whether it is an outline of your story, a draft, a complete
manuscript, or even a collection of your character notes or other notes.
Why Plain Text?
===============
The idea is to let you be creative without having to deal with formatting while you are writing, or
be distracted by it.
Of course, you probably need *some* form of minimal formatting for your text. At the very least you
need emphasis. Most people are familiar with adding emphasis using ``_underscores_`` and
``**asterisks**``. This formatting standard comes from Markdown_ and is supported by novelWriter.
It also uses Markdown formatting for defining document headings, which is how you distinguish
between chapters and scenes.
For those special cases where you need more complex formatting, a set of shortcodes are available.
To make these codes easier to use, a dropdown button bar is available in the editor panel with
standard format buttons. So don't worry. You don't have to learn any of these codes.
Adding Meta Data
================
In addition to the body text of your story, novelWriter allows you to enter some additional meta
data into your text documents to indicate things like which characters are present in a chapter or
scene, whose point of view we're seeing, what location the events take place in, and so on.
Since the editor is plain text, this is done on special lines of text starting with an ``@``
character. The editor will show an auto-complete menu to help you write these lines. We will talk
more about this later.
You can also add your own author's comments in your text, without these comments becoming a part of
the story itself. A comment line starts with a ``%`` character. There are different types of
comments, and an auto-complete menu can help you here too. More about this later as well.
.. admonition:: Limitations
Please keep in mind that novelWriter is designed for writing fiction, so the formatting features
available are limited to those relevant for this purpose. It is *not* suitable for technical
writing. It is also *not* a full-featured Markdown editor.
In addition, novelWriter is not intended as a tool for organising research for writing, and
therefore lacks formatting features you may need for this purpose. The notes feature in is
mainly intended for character profiles and plot outlines. It is recommended to use a proper
note-taking tool for research. This is anyway more practical as you may use the same research
for multiple projects.

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