Skip to content

Commit

Permalink
Prepare 1.4.2 based on novxlib v1.0.0
Browse files Browse the repository at this point in the history
- Fix a bug where property changes might be lost when pressing the F5
key.
  • Loading branch information
peter88213 committed Jan 23, 2024
1 parent a376d7c commit 7d953cd
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 10 deletions.
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[LATEST]
version = 1.4.1
download_link = https://github.com/peter88213/noveltree/raw/main/dist/noveltree_v1.4.1.zip
version = 1.4.2
download_link = https://github.com/peter88213/noveltree/raw/main/dist/noveltree_v1.4.2.zip
Binary file not shown.
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

See the [GitHub "Features" project](https://github.com/users/peter88213/projects/14).

### v1.4.2

- Fix a bug where property changes might be lost when pressing the F5 key.

Based on novxlib v1.0.0

### v1.4.1

- Add "Unused" checkboxes to the chapter/section properties view.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ I use the program myself and fix errors immediately if I notice any. As far as I

## Download and install

[Download the latest release (version 1.4.1)](https://github.com/peter88213/noveltree/raw/main/dist/noveltree_v1.4.1.zip)
[Download the latest release (version 1.4.2)](https://github.com/peter88213/noveltree/raw/main/dist/noveltree_v1.4.2.zip)

- Extract the "noveltree_v1.4.1" folder from the downloaded zipfile "noveltree_v1.4.1.zip".
- Extract the "noveltree_v1.4.2" folder from the downloaded zipfile "noveltree_v1.4.2.zip".
- Move into this new folder and open "README.md" for further instructions.
- You may wish to install plugins; the [section editor](https://peter88213.github.io/noveltree_editor/) is highly recommended.

Expand Down
6 changes: 3 additions & 3 deletions i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#
msgid ""
msgstr ""
"Project-Id-Version: 1.4.1\n"
"POT-Creation-Date: 2024-01-23 19:25:55\n"
"PO-Revision-Date: 2024-01-23 19:25:55\n"
"Project-Id-Version: 1.4.2\n"
"POT-Creation-Date: 2024-01-23 21:40:36\n"
"PO-Revision-Date: 2024-01-23 21:40:37\n"
"Last-Translator: Peter Triesberger\n"
"Language: de\n"
"MIME-Version: 1.0\n"
Expand Down
Binary file modified i18n/locale/de/LC_MESSAGES/noveltree.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions i18n/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#
msgid ""
msgstr ""
"Project-Id-Version: 1.4.1\n"
"POT-Creation-Date: 2024-01-23 19:25:55\n"
"Project-Id-Version: 1.4.2\n"
"POT-Creation-Date: 2024-01-23 21:40:36\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: LANGUAGE\n"
Expand Down
1 change: 1 addition & 0 deletions src/noveltreelib/controller/nv_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@ def refresh(self):

def refresh_views(self, event=None):
"""Update all registered views."""
self._ui.propertiesView.apply_changes()
self._mdl.renumber_chapters()
self._mdl.prjFile.adjust_section_types()
self._mdl.novel.update_section_arcs()
Expand Down
34 changes: 34 additions & 0 deletions test/A Game of Drones.novx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE novx SYSTEM "novx_1_0.dtd">
<?xml-stylesheet href="novx.css" type="text/css"?>
<novx version="1.0" xml:lang="de-DE">
<PROJECT renumberChapters="1" saveWordCount="1">
<Title>A Game of Drones</Title>
<Author>Martin Q. Q. Q. George</Author>
<ChapterHeadingPrefix>Chapter </ChapterHeadingPrefix>
<PartHeadingPrefix>Part </PartHeadingPrefix>
</PROJECT>
<CHAPTERS>
<CHAPTER id="ch1">
<Title>Chapter 1</Title>
<SECTION id="sc1">
<Title>Humming around the Happy Hive</Title>
</SECTION>
<SECTION id="sc2">
<Title>New Section (sc2)</Title>
</SECTION>
</CHAPTER>
</CHAPTERS>
<CHARACTERS />
<LOCATIONS />
<ITEMS />
<ARCS />
<PROJECTNOTES />
<PROGRESS>
<WC>
<Date>2024-01-23</Date>
<Count>0</Count>
<WithUnused>0</WithUnused>
</WC>
</PROGRESS>
</novx>
2 changes: 1 addition & 1 deletion tools/build.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="noveltree" basedir=".">
<property name="version" value="1.4.1" />
<property name="version" value="1.4.2" />
<property name="test-app" value="noveltree" />

<property name="source-path" location="../src" />
Expand Down

0 comments on commit 7d953cd

Please sign in to comment.