Veronica Berglyd Olsen
1b89d0a4f0
Logger messages ( #818 )
...
* Change the way logger messages are generated by using the printf-like method
* Use single quotes around log values that can be empty strings
* Fix bug in log message
2021-07-02 10:22:00 +02:00
Veronica Berglyd Olsen
0575f89ae9
Remove alignments in arguments for format statements
2021-06-25 23:20:15 +02:00
Veronica Berglyd Olsen
e1dcfaa1e3
Drop dictionary alignment by colon
2021-06-25 23:14:13 +02:00
Veronica Berglyd Olsen
26912f226f
Add double space before in-line comments
2021-06-25 21:36:52 +02:00
Veronica Berglyd Olsen
edfd7c9770
Remove encoding line and add spaces between classes and functions
2021-06-25 20:53:33 +02:00
Veronica Berglyd Olsen
d511c69ee7
Rewrap some alert messages
2021-06-10 21:51:52 +02:00
Veronica Berglyd Olsen
6e1e40f13e
Fix translations and refactor makeAlert calls
2021-06-10 21:42:40 +02:00
Veronica K. B. Olsen
0cad96fdca
Use an enum to pass values to the status bar LEDs
2021-05-16 16:43:44 +02:00
Veronica K. B. Olsen
470daf0036
Make NWDoc class non-reusable
2021-04-25 23:01:20 +02:00
Veronica K. B. Olsen
48695651e1
Core classes should only init with project class and if needed access main gui via project
2021-04-25 17:39:52 +02:00
Veronica K. B. Olsen
45f726669e
Remove the showStatus flag from document handling
2021-04-25 17:16:57 +02:00
Veronica K. B. Olsen
d473615ccf
Rename open and save document to read and write in NWDoc
2021-04-25 17:10:12 +02:00
Veronica K. B. Olsen
f92ef05ee2
Move enum and constants to the root source folder
2021-03-28 17:15:17 +02:00
Veronica K. B. Olsen
36fd23b264
Fix some typos and inconsistencies in GUI texts
2021-02-24 22:19:17 +01:00
Veronica K. B. Olsen
58eaddf753
Merge branch 'main' into dev
2021-02-20 17:40:44 +01:00
Veronica K. B. Olsen
dcd4c19b21
Drop logging quick open and close sessions to the session log
2021-02-20 17:28:05 +01:00
Veronica K. B. Olsen
c9cab47ce0
Minor code changes for consistency
2021-02-20 13:40:26 +01:00
Veronica K. B. Olsen
844c3ab26f
Allow Build language to not be set at all
2021-02-18 21:18:14 +01:00
Veronica K. B. Olsen
97c884de42
Fix a potential bug
2021-02-18 20:53:31 +01:00
Veronica K. B. Olsen
e9763f4ec6
Add language option to the Build tool
2021-02-18 20:45:18 +01:00
Veronica K. B. Olsen
8b0ac6e81e
Rename projLang to spellLang
2021-02-18 19:19:50 +01:00
Veronica K. B. Olsen
e114873e4c
Remove deprecated meta entry support in project files
2021-02-17 21:54:56 +01:00
Veronica K. B. Olsen
35b8e389a3
The project language files should obviously also be in the i18n folder
2021-02-17 12:14:57 +01:00
Veronica K. B. Olsen
1f0e6c0426
Fix a bunch of missing translation tags and fix a few default strings
2021-02-17 01:37:28 +01:00
Veronica K. B. Olsen
4033f7a47d
Fix tests
2021-02-16 23:58:25 +01:00
Veronica K. B. Olsen
290ca2178d
Merge branch 'dev' into tokenizer_localisation
2021-02-16 23:13:36 +01:00
Veronica K. B. Olsen
8aa2401134
Make sure the project translation map is loaded correctly
2021-02-16 22:42:18 +01:00
Veronica K. B. Olsen
4699d9404b
Add the project localisation to the converter classes
2021-02-16 22:18:14 +01:00
Veronica K. B. Olsen
b50132e255
Add support for project language file
2021-02-16 22:02:59 +01:00
Veronica K. B. Olsen
8f1c4af9fa
Fix a bug in Build and Constants, and clean up some more nested translates
2021-02-16 19:42:50 +01:00
Veronica K. B. Olsen
d5bd816676
Last round of changes to localisation
2021-02-16 18:14:04 +01:00
Veronica K. B. Olsen
7b7bf5d390
Fix a bug in parsing orphaned file names
2021-02-16 00:38:15 +01:00
Veronica K. B. Olsen
6d56bc7c0c
Fix flake8 complaints
2021-02-15 17:01:38 +01:00
Veronica K. B. Olsen
df19ced50c
Rewrap self.tr and fix a few bugs
2021-02-15 16:47:57 +01:00
Bruno Kühnen Meneguello
98e3343808
novelWriter i18n and portuguese translation
2021-02-14 17:16:43 -03:00
Veronica K. B. Olsen
3521d4a4f7
Add idle time to session log and writing stats dialog
2021-02-08 23:17:33 +01:00
Veronica K. B. Olsen
89ba4aeeaf
Use the logException function in all places where exception messages are written to the error log
2021-01-29 18:29:50 +01:00
Veronica K. B. Olsen
f30b14a3da
Merge branch 'main' into dev
2021-01-17 20:58:15 +01:00
Veronica K. B. Olsen
2030793a02
Latest release notes check should use hex version number instead of string version number
2021-01-17 20:52:34 +01:00
Veronica K. B. Olsen
c35255b82b
Merge branch 'file_headers' into source_code_maintenance
2021-01-16 17:51:32 +01:00
Veronica K. B. Olsen
cdf3c62d17
Reformat and update the source file header docstrings
2021-01-16 17:41:40 +01:00
Veronica K. B. Olsen
b5e11f2303
Added more info to the forst tab of the Project Details dialog
2021-01-11 19:47:42 +01:00
Veronica K. B. Olsen
778adc2f39
Merge branch 'main' into dev
2021-01-09 21:42:18 +01:00
Veronica K. B. Olsen
a6cbdfc559
Fix initial setting of project word count
2021-01-09 20:07:09 +01:00
Veronica K. B. Olsen
323ab5498b
Merge branch 'dev' into novel_tab
2021-01-03 17:17:30 +01:00
Veronica K. B. Olsen
4d7f925c5a
Added timestamp to project tree, and made some class variables internal in various classes
2021-01-02 16:57:12 +01:00
Veronica K. B. Olsen
b2d3b2cf72
Bump copyright year to 2021
2021-01-01 15:14:37 +01:00
Veronica K. B. Olsen
4509545214
Some minor cleanup and fixes
2020-12-21 11:03:47 +01:00
Veronica K. B. Olsen
6a188a5906
Orphaned files are now put back in the tree, or rejected if nowhere to put them
2020-12-21 01:28:19 +01:00
Veronica K. B. Olsen
8d71ee30d4
Use the main gui askQuestion function for yes/no dialogs
2020-12-19 20:21:43 +01:00