Merge pull request #766 from vkbo/release_1.3

Release 1.3
This commit is contained in:
Veronica Berglyd Olsen
2021-05-02 16:58:48 +02:00
committed by GitHub
6 changed files with 85 additions and 17 deletions
+54
View File
@@ -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
+1 -1
View File
@@ -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 ---------------------------------------------------
+3 -3
View File
@@ -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"
+21 -7
View File
@@ -2,13 +2,27 @@
<html>
<body>
<h2>Release Notes for 1.3 RC 1</h2>
<p><i>Released on 18 April 2021</i></p>
<p>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.</p>
<p>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.</p>
<h2>Release Notes for 1.3</h2>
<p><i>Released on 2 May 2021</i></p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>The work to rewrite novelWriter to allow for internationalisation was done by Bruno Meneguello
and Veronica Berglyd Olsen.</p>
<p><i>See also the <a href="https://github.com/vkbo/novelWriter/releases">Releases</a> page.</i></p>
+3 -3
View File
@@ -1,13 +1,13 @@
<?xml version='1.0' encoding='utf-8'?>
<novelWriterXML appVersion="1.3rc1" hexVersion="0x010300c1" fileVersion="1.2" timeStamp="2021-04-18 17:54:40">
<novelWriterXML appVersion="1.3" hexVersion="0x010300f0" fileVersion="1.2" timeStamp="2021-05-02 16:48:34">
<project>
<name>Sample Project</name>
<title>Sample Project</title>
<author>Jane Smith</author>
<author>Jay Doh</author>
<saveCount>1059</saveCount>
<saveCount>1060</saveCount>
<autoCount>166</autoCount>
<editTime>49528</editTime>
<editTime>49679</editTime>
</project>
<settings>
<doBackup>False</doBackup>
+3 -3
View File
@@ -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%")