diff --git a/CHANGELOG.md b/CHANGELOG.md index 91878a70..60bc72e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,59 @@ # novelWriter Changelog +## Version 1.3 [2021-05-02] + +### Release Notes + +The main feature of the 1.3 release is internationalisation. The release introduces support for +Portuguese, French, and Norwegian for the main GUI, in addition to the default English. The +settings for choosing the GUI language can be found in the main Preferences. + +The implementation is such that the projects themselves can use a different language than the one +selected for the GUI. To allow for better support for multiple language projects, the Build Novel +Project tool has the added option to select the language of the injected text into exported +documents. In particularly for the number words that can be added for chapter headers. Available +languages here are the same as mentioned above for the main GUI, plus German. + +Settings have also been added in Preferences to allow for automatic injection of spaces or non- +breaking spaces in front of, or behind, certain characters. These are features generally available +in text editors for French, but the implementation in novelWriter simply makes them a free text box +where you can list all characters or symbols where you want a space added automatically. + +The translation files for this release have been provided by Bruno Meneguello for the Portuguese +translation, by Jan Lüdke (jyhelle) for the French translation, by Veronica Berglyd Olsen for the +Norwegian translation as well as the minor modifications for US English, and Marian Lückhof +provided the translation file for chapter numbers in German. + +The work to rewrite novelWriter to allow for internationalisation was done by Bruno Meneguello and +Veronica Berglyd Olsen. + +_These Release Notes also include the changes from 1.3 Beta 1 and RC 1._ + +### Detailed Changelog + +**Bugfixes** + +* Fixed an issue when saving a document from the Build Novel Project tool when the previous path + used for a file dialog no longer existed. The dialog defaults to show the same folder as last + time it was opened, but should default to the user's home folder if that path no longer exists. + There was a bug in this default behaviour that resulted in a critical error. Issue #761. PR #762. +* Remove a duplicate error message triggered by a broken cached index file. The two error messages + reported on the same error. The first of them was also not included in the translation framework. + PR #759. + +**Installation** + +* The setup script, and file locations for the translation files, have been updated such that the + translation files are available in both the PyPi package and in the Minimal Install packages. + PRs #753, #764 and #765. + +**Code Maintenance** + +* The source code files for dialogs and tools have been moved out of the main `gui` source folder. + The `gui` folder now only contains sub-elements of the main GUI class. PR #754. + +---- + ## Version 1.3 RC 1 [2021-04-18] ### Release Notes diff --git a/docs/source/conf.py b/docs/source/conf.py index af2ae7ad..73308b04 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ author = "Veronica Berglyd Olsen" # The short X.Y version version = "1.3" # The full version, including alpha/beta/rc tags -release = "1.3-rc1" +release = "1.3" # -- General configuration --------------------------------------------------- diff --git a/nw/__init__.py b/nw/__init__.py index e07ba2fa..9cd28627 100644 --- a/nw/__init__.py +++ b/nw/__init__.py @@ -62,9 +62,9 @@ __license__ = "GPLv3" __author__ = "Veronica Berglyd Olsen" __maintainer__ = "Veronica Berglyd Olsen" __email__ = "code@vkbo.net" -__version__ = "1.3rc1" -__hexversion__ = "0x010300c1" -__date__ = "2021-04-18" +__version__ = "1.3" +__hexversion__ = "0x010300f0" +__date__ = "2021-05-02" __status__ = "Stable" __domain__ = "novelwriter.io" __url__ = "https://novelwriter.io" diff --git a/nw/assets/text/release_notes.htm b/nw/assets/text/release_notes.htm index b8c5f4e6..ba7ecefd 100644 --- a/nw/assets/text/release_notes.htm +++ b/nw/assets/text/release_notes.htm @@ -2,13 +2,27 @@ -

Release Notes for 1.3 RC 1

-

Released on 18 April 2021

-

This is a release candidate of 1.3. The primary feature of release 1.3 is the addition of -internationalisation (i18n) of novelWriter. The release introduces support for Portuguese, French, -and Norwegian in addition to the default English.

-

There have been no major changes since the release of 1.3 Beta 1, but the bugfixes and -improvements from version 1.2.3 have been included.

+

Release Notes for 1.3

+

Released on 2 May 2021

+

The main feature of the 1.3 release is internationalisation. The release introduces support for +Portuguese, French, and Norwegian for the main GUI, in addition to the default English. The +settings for choosing the GUI language can be found in the main Preferences.

+

The implementation is such that the projects themselves can use a different language than the +one selected for the GUI. To allow for better support for multiple language projects, the Build +Novel Project tool has the added option to select the language of the injected text into exported +documents. In particularly for the number words that can be added for chapter headers. Available +languages here are the same as mentioned above for the main GUI, plus German.

+

Settings have also been added in Preferences to allow for automatic injection of spaces or +non-breaking spaces in front of, or behind, certain characters. These are features generally +available in text editors for French, but the implementation in novelWriter simply makes them a +free text box where you can list all characters or symbols where you want a space added +automatically.

+

The translation files for this release have been provided by Bruno Meneguello for the Portuguese +translation, by Jan Lüdke (jyhelle) for the French translation, by Veronica Berglyd Olsen for the +Norwegian translation as well as the minor modifications for US English, and Marian Lückhof +provided the translation file for chapter numbers in German.

+

The work to rewrite novelWriter to allow for internationalisation was done by Bruno Meneguello +and Veronica Berglyd Olsen.

See also the Releases page.

diff --git a/sample/nwProject.nwx b/sample/nwProject.nwx index a6eea4bc..a61941a2 100644 --- a/sample/nwProject.nwx +++ b/sample/nwProject.nwx @@ -1,13 +1,13 @@ - + Sample Project Sample Project Jane Smith Jay Doh - 1059 + 1060 166 - 49528 + 49679 False diff --git a/tests/test_tools/test_tools_build.py b/tests/test_tools/test_tools_build.py index cb16a557..46865368 100644 --- a/tests/test_tools/test_tools_build.py +++ b/tests/test_tools/test_tools_build.py @@ -117,7 +117,7 @@ def testToolBuild_Main(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir): testFile = os.path.join(outDir, "guiBuild_Tool_Step1_Lorem_Ipsum.fodt") compFile = os.path.join(refDir, "guiBuild_Tool_Step1_Lorem_Ipsum.fodt") copyfile(projFile, testFile) - assert cmpFiles(testFile, compFile, [4]) + assert cmpFiles(testFile, compFile, [4, 5]) # Change Title Formats and Flip Switches nwBuild.fmtChapter.setText(r"Chapter %chw%: %title%") @@ -171,7 +171,7 @@ def testToolBuild_Main(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir): testFile = os.path.join(outDir, "guiBuild_Tool_Step2_Lorem_Ipsum.fodt") compFile = os.path.join(refDir, "guiBuild_Tool_Step2_Lorem_Ipsum.fodt") copyfile(projFile, testFile) - assert cmpFiles(testFile, compFile, [4]) + assert cmpFiles(testFile, compFile, [4, 5]) # Replace Tabs with Spaces qtbot.mouseClick(nwBuild.replaceTabs, Qt.LeftButton) @@ -206,7 +206,7 @@ def testToolBuild_Main(qtbot, monkeypatch, nwGUI, nwLipsum, refDir, outDir): testFile = os.path.join(outDir, "guiBuild_Tool_Step3_Lorem_Ipsum.fodt") compFile = os.path.join(refDir, "guiBuild_Tool_Step3_Lorem_Ipsum.fodt") copyfile(projFile, testFile) - assert cmpFiles(testFile, compFile, [4]) + assert cmpFiles(testFile, compFile, [4, 5]) # Putline Mode nwBuild.fmtChapter.setText(r"Chapter %chw%: %title%")