From f2eaaa09b68d7cc871d6c8221070e8e2b8f83015 Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Sun, 3 Dec 2023 16:10:09 +0100
Subject: [PATCH 1/7] Turn viewer footer button and label into text buttons
(#1628)
---
novelwriter/gui/docviewer.py | 42 +++++++-----------------------------
1 file changed, 8 insertions(+), 34 deletions(-)
diff --git a/novelwriter/gui/docviewer.py b/novelwriter/gui/docviewer.py
index 44ccb1d5..1e3562e3 100644
--- a/novelwriter/gui/docviewer.py
+++ b/novelwriter/gui/docviewer.py
@@ -862,8 +862,7 @@ class GuiDocViewFooter(QWidget):
self._docHandle = None
fPx = int(0.9*SHARED.theme.fontPixelSize)
- bSp = CONFIG.pxInt(2)
- hSp = CONFIG.pxInt(8)
+ hSp = CONFIG.pxInt(4)
# Main Widget Settings
self.setContentsMargins(0, 0, 0, 0)
@@ -873,64 +872,41 @@ class GuiDocViewFooter(QWidget):
self.showHide = QToolButton(self)
self.showHide.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonIconOnly)
self.showHide.setIconSize(QSize(fPx, fPx))
- self.showHide.setFixedSize(QSize(fPx, fPx))
self.showHide.clicked.connect(lambda: self.docViewer.togglePanelVisibility.emit())
self.showHide.setToolTip(self.tr("Show/Hide Viewer Panel"))
# Show Comments
self.showComments = QToolButton(self)
+ self.showComments.setText(self.tr("Comments"))
self.showComments.setCheckable(True)
self.showComments.setChecked(CONFIG.viewComments)
- self.showComments.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonIconOnly)
+ self.showComments.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextBesideIcon)
self.showComments.setIconSize(QSize(fPx, fPx))
- self.showComments.setFixedSize(QSize(fPx, fPx))
self.showComments.toggled.connect(self._doToggleComments)
self.showComments.setToolTip(self.tr("Show Comments"))
# Show Synopsis
self.showSynopsis = QToolButton(self)
+ self.showSynopsis.setText(self.tr("Synopsis"))
self.showSynopsis.setCheckable(True)
self.showSynopsis.setChecked(CONFIG.viewSynopsis)
- self.showSynopsis.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonIconOnly)
+ self.showSynopsis.setToolButtonStyle(Qt.ToolButtonStyle.ToolButtonTextBesideIcon)
self.showSynopsis.setIconSize(QSize(fPx, fPx))
- self.showSynopsis.setFixedSize(QSize(fPx, fPx))
self.showSynopsis.toggled.connect(self._doToggleSynopsis)
self.showSynopsis.setToolTip(self.tr("Show Synopsis Comments"))
- # Labels
- self.lblComments = QLabel(self.tr("Comments"))
- self.lblComments.setBuddy(self.showComments)
- self.lblComments.setIndent(0)
- self.lblComments.setMargin(0)
- self.lblComments.setContentsMargins(0, 0, 0, 0)
- self.lblComments.setAutoFillBackground(True)
- self.lblComments.setFixedHeight(fPx)
- self.lblComments.setAlignment(Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
-
- self.lblSynopsis = QLabel(self.tr("Synopsis"))
- self.lblSynopsis.setBuddy(self.showSynopsis)
- self.lblSynopsis.setIndent(0)
- self.lblSynopsis.setMargin(0)
- self.lblSynopsis.setContentsMargins(0, 0, 0, 0)
- self.lblSynopsis.setAutoFillBackground(True)
- self.lblSynopsis.setFixedHeight(fPx)
- self.lblSynopsis.setAlignment(Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
-
lblFont = self.font()
lblFont.setPointSizeF(0.9*SHARED.theme.fontPointSize)
- self.lblComments.setFont(lblFont)
- self.lblSynopsis.setFont(lblFont)
+ self.showComments.setFont(lblFont)
+ self.showSynopsis.setFont(lblFont)
# Assemble Layout
self.outerBox = QHBoxLayout()
- self.outerBox.setSpacing(bSp)
self.outerBox.addWidget(self.showHide, 0)
self.outerBox.addStretch(1)
self.outerBox.addWidget(self.showComments, 0)
- self.outerBox.addWidget(self.lblComments, 0)
- self.outerBox.addSpacing(hSp)
self.outerBox.addWidget(self.showSynopsis, 0)
- self.outerBox.addWidget(self.lblSynopsis, 0)
+ self.outerBox.setSpacing(hSp)
self.setLayout(self.outerBox)
# Fix Margins and Size
@@ -984,8 +960,6 @@ class GuiDocViewFooter(QWidget):
palette.setColor(QPalette.ColorRole.WindowText, QColor(*SHARED.theme.colText))
palette.setColor(QPalette.ColorRole.Text, QColor(*SHARED.theme.colText))
self.setPalette(palette)
- self.lblComments.setPalette(palette)
- self.lblSynopsis.setPalette(palette)
return
##
From 776eedc5f2aeeb000d114c389a83809b6ca8bf89 Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Sun, 3 Dec 2023 16:56:36 +0100
Subject: [PATCH 2/7] Drop the markdown/shortcode toggle feature from editor
toolbar and update icons (#1636, #1637)
---
.../assets/icons/typicons_dark/icons.conf | 5 +-
.../icons/typicons_dark/nw_tb-bold-md.svg | 4 +
.../assets/icons/typicons_dark/nw_tb-bold.svg | 4 +-
.../icons/typicons_dark/nw_tb-italic-md.svg | 4 +
.../icons/typicons_dark/nw_tb-italic.svg | 4 +-
.../icons/typicons_dark/nw_tb-markdown.svg | 8 --
.../icons/typicons_dark/nw_tb-shortcode.svg | 8 --
.../icons/typicons_dark/nw_tb-strike-md.svg | 4 +
.../icons/typicons_dark/nw_tb-strike.svg | 4 +-
.../icons/typicons_dark/nw_tb-subscript.svg | 6 +-
.../icons/typicons_dark/nw_tb-superscript.svg | 6 +-
.../icons/typicons_dark/nw_tb-underline.svg | 6 +-
.../assets/icons/typicons_light/icons.conf | 5 +-
.../icons/typicons_light/nw_tb-bold-md.svg | 4 +
.../icons/typicons_light/nw_tb-bold.svg | 4 +-
.../icons/typicons_light/nw_tb-italic-md.svg | 4 +
.../icons/typicons_light/nw_tb-italic.svg | 4 +-
.../icons/typicons_light/nw_tb-markdown.svg | 8 --
.../icons/typicons_light/nw_tb-shortcode.svg | 8 --
.../icons/typicons_light/nw_tb-strike-md.svg | 4 +
.../icons/typicons_light/nw_tb-strike.svg | 4 +-
.../icons/typicons_light/nw_tb-subscript.svg | 6 +-
.../typicons_light/nw_tb-superscript.svg | 6 +-
.../icons/typicons_light/nw_tb-underline.svg | 6 +-
novelwriter/gui/doceditor.py | 79 ++++++++-----------
novelwriter/gui/theme.py | 9 +--
tests/test_gui/test_gui_doceditor.py | 15 ++--
27 files changed, 116 insertions(+), 113 deletions(-)
create mode 100644 novelwriter/assets/icons/typicons_dark/nw_tb-bold-md.svg
create mode 100644 novelwriter/assets/icons/typicons_dark/nw_tb-italic-md.svg
delete mode 100644 novelwriter/assets/icons/typicons_dark/nw_tb-markdown.svg
delete mode 100644 novelwriter/assets/icons/typicons_dark/nw_tb-shortcode.svg
create mode 100644 novelwriter/assets/icons/typicons_dark/nw_tb-strike-md.svg
create mode 100644 novelwriter/assets/icons/typicons_light/nw_tb-bold-md.svg
create mode 100644 novelwriter/assets/icons/typicons_light/nw_tb-italic-md.svg
delete mode 100644 novelwriter/assets/icons/typicons_light/nw_tb-markdown.svg
delete mode 100644 novelwriter/assets/icons/typicons_light/nw_tb-shortcode.svg
create mode 100644 novelwriter/assets/icons/typicons_light/nw_tb-strike-md.svg
diff --git a/novelwriter/assets/icons/typicons_dark/icons.conf b/novelwriter/assets/icons/typicons_dark/icons.conf
index 999ce000..0adec011 100644
--- a/novelwriter/assets/icons/typicons_dark/icons.conf
+++ b/novelwriter/assets/icons/typicons_dark/icons.conf
@@ -47,10 +47,11 @@ down = typ_chevron-down.svg
edit = typ_pencil.svg
export = typ_export.svg
fmt_bold = nw_tb-bold.svg
+fmt_bold-md = nw_tb-bold-md.svg
fmt_italic = nw_tb-italic.svg
-fmt_mode-md = nw_tb-markdown.svg
-fmt_mode-sc = nw_tb-shortcode.svg
+fmt_italic-md = nw_tb-italic-md.svg
fmt_strike = nw_tb-strike.svg
+fmt_strike-md = nw_tb-strike-md.svg
fmt_subscript = nw_tb-subscript.svg
fmt_superscript = nw_tb-superscript.svg
fmt_underline = nw_tb-underline.svg
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-bold-md.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-bold-md.svg
new file mode 100644
index 00000000..e59edb08
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-bold-md.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-bold.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-bold.svg
index 2eaeb846..92e3df02 100644
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-bold.svg
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-bold.svg
@@ -1,4 +1,6 @@
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-italic-md.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-italic-md.svg
new file mode 100644
index 00000000..0ec5fb2a
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-italic-md.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-italic.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-italic.svg
index 0ec5fb2a..4ef620d2 100644
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-italic.svg
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-italic.svg
@@ -1,4 +1,6 @@
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-markdown.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-markdown.svg
deleted file mode 100644
index 02768596..00000000
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-markdown.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-shortcode.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-shortcode.svg
deleted file mode 100644
index 4ea59ec3..00000000
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-shortcode.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-strike-md.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-strike-md.svg
new file mode 100644
index 00000000..2858b4d1
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-strike-md.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-strike.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-strike.svg
index 639dd694..5c87b666 100644
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-strike.svg
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-strike.svg
@@ -1,4 +1,6 @@
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-subscript.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-subscript.svg
index e0ae3587..7fcd5715 100644
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-subscript.svg
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-subscript.svg
@@ -1,5 +1,7 @@
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-superscript.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-superscript.svg
index 1d60aec2..d867fb36 100644
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-superscript.svg
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-superscript.svg
@@ -1,5 +1,7 @@
diff --git a/novelwriter/assets/icons/typicons_dark/nw_tb-underline.svg b/novelwriter/assets/icons/typicons_dark/nw_tb-underline.svg
index 3a249f4d..65190358 100644
--- a/novelwriter/assets/icons/typicons_dark/nw_tb-underline.svg
+++ b/novelwriter/assets/icons/typicons_dark/nw_tb-underline.svg
@@ -1,5 +1,7 @@
diff --git a/novelwriter/assets/icons/typicons_light/icons.conf b/novelwriter/assets/icons/typicons_light/icons.conf
index 3c6f545c..69273d2f 100644
--- a/novelwriter/assets/icons/typicons_light/icons.conf
+++ b/novelwriter/assets/icons/typicons_light/icons.conf
@@ -47,10 +47,11 @@ down = typ_chevron-down.svg
edit = typ_pencil.svg
export = typ_export.svg
fmt_bold = nw_tb-bold.svg
+fmt_bold-md = nw_tb-bold-md.svg
fmt_italic = nw_tb-italic.svg
-fmt_mode-md = nw_tb-markdown.svg
-fmt_mode-sc = nw_tb-shortcode.svg
+fmt_italic-md = nw_tb-italic-md.svg
fmt_strike = nw_tb-strike.svg
+fmt_strike-md = nw_tb-strike-md.svg
fmt_subscript = nw_tb-subscript.svg
fmt_superscript = nw_tb-superscript.svg
fmt_underline = nw_tb-underline.svg
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-bold-md.svg b/novelwriter/assets/icons/typicons_light/nw_tb-bold-md.svg
new file mode 100644
index 00000000..69614a4b
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-bold-md.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-bold.svg b/novelwriter/assets/icons/typicons_light/nw_tb-bold.svg
index 3fbfbc88..45b25e7c 100644
--- a/novelwriter/assets/icons/typicons_light/nw_tb-bold.svg
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-bold.svg
@@ -1,4 +1,6 @@
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-italic-md.svg b/novelwriter/assets/icons/typicons_light/nw_tb-italic-md.svg
new file mode 100644
index 00000000..893d8930
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-italic-md.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-italic.svg b/novelwriter/assets/icons/typicons_light/nw_tb-italic.svg
index 893d8930..b09e11cc 100644
--- a/novelwriter/assets/icons/typicons_light/nw_tb-italic.svg
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-italic.svg
@@ -1,4 +1,6 @@
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-markdown.svg b/novelwriter/assets/icons/typicons_light/nw_tb-markdown.svg
deleted file mode 100644
index 24b3809d..00000000
--- a/novelwriter/assets/icons/typicons_light/nw_tb-markdown.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-shortcode.svg b/novelwriter/assets/icons/typicons_light/nw_tb-shortcode.svg
deleted file mode 100644
index fc19a690..00000000
--- a/novelwriter/assets/icons/typicons_light/nw_tb-shortcode.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-strike-md.svg b/novelwriter/assets/icons/typicons_light/nw_tb-strike-md.svg
new file mode 100644
index 00000000..c915d218
--- /dev/null
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-strike-md.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-strike.svg b/novelwriter/assets/icons/typicons_light/nw_tb-strike.svg
index 89f4b7ee..2d73ab90 100644
--- a/novelwriter/assets/icons/typicons_light/nw_tb-strike.svg
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-strike.svg
@@ -1,4 +1,6 @@
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-subscript.svg b/novelwriter/assets/icons/typicons_light/nw_tb-subscript.svg
index 2384f6ea..573d6802 100644
--- a/novelwriter/assets/icons/typicons_light/nw_tb-subscript.svg
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-subscript.svg
@@ -1,5 +1,7 @@
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-superscript.svg b/novelwriter/assets/icons/typicons_light/nw_tb-superscript.svg
index df0aa35c..f650df47 100644
--- a/novelwriter/assets/icons/typicons_light/nw_tb-superscript.svg
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-superscript.svg
@@ -1,5 +1,7 @@
diff --git a/novelwriter/assets/icons/typicons_light/nw_tb-underline.svg b/novelwriter/assets/icons/typicons_light/nw_tb-underline.svg
index ca122269..2c7eb51d 100644
--- a/novelwriter/assets/icons/typicons_light/nw_tb-underline.svg
+++ b/novelwriter/assets/icons/typicons_light/nw_tb-underline.svg
@@ -1,5 +1,7 @@
diff --git a/novelwriter/gui/doceditor.py b/novelwriter/gui/doceditor.py
index 64a0e7a6..8ef7681e 100644
--- a/novelwriter/gui/doceditor.py
+++ b/novelwriter/gui/doceditor.py
@@ -2237,24 +2237,41 @@ class GuiDocToolBar(QWidget):
# General Buttons
# ===============
- self.tbMode = QToolButton(self)
- self.tbMode.setToolTip(self.tr("Toggle Markdown or Shortcodes Mode"))
- self.tbMode.setIconSize(iconSize)
- self.tbMode.setCheckable(True)
- self.tbMode.setChecked(CONFIG.useShortcodes)
- self.tbMode.toggled.connect(self._toggleFormatMode)
+ self.tbBoldMD = QToolButton(self)
+ self.tbBoldMD.setIconSize(iconSize)
+ self.tbBoldMD.clicked.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.STRONG)
+ )
+
+ self.tbItalicMD = QToolButton(self)
+ self.tbItalicMD.setIconSize(iconSize)
+ self.tbItalicMD.clicked.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.EMPH)
+ )
+
+ self.tbStrikeMD = QToolButton(self)
+ self.tbStrikeMD.setIconSize(iconSize)
+ self.tbStrikeMD.clicked.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.STRIKE)
+ )
self.tbBold = QToolButton(self)
self.tbBold.setIconSize(iconSize)
- self.tbBold.clicked.connect(self._formatBold)
+ self.tbBold.clicked.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.SC_BOLD)
+ )
self.tbItalic = QToolButton(self)
self.tbItalic.setIconSize(iconSize)
- self.tbItalic.clicked.connect(self._formatItalic)
+ self.tbItalic.clicked.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.SC_ITALIC)
+ )
self.tbStrike = QToolButton(self)
self.tbStrike.setIconSize(iconSize)
- self.tbStrike.clicked.connect(self._formatStrike)
+ self.tbStrike.clicked.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.SC_STRIKE)
+ )
self.tbUnderline = QToolButton(self)
self.tbUnderline.setIconSize(iconSize)
@@ -2278,7 +2295,10 @@ class GuiDocToolBar(QWidget):
# ========
self.outerBox = QVBoxLayout()
- self.outerBox.addWidget(self.tbMode)
+ self.outerBox.addWidget(self.tbBoldMD)
+ self.outerBox.addWidget(self.tbItalicMD)
+ self.outerBox.addWidget(self.tbStrikeMD)
+ self.outerBox.addSpacing(cM)
self.outerBox.addWidget(self.tbBold)
self.outerBox.addWidget(self.tbItalic)
self.outerBox.addWidget(self.tbStrike)
@@ -2306,8 +2326,9 @@ class GuiDocToolBar(QWidget):
palette.setColor(QPalette.ColorRole.Text, QColor(*SHARED.theme.colText))
self.setPalette(palette)
- tPx = int(0.8*SHARED.theme.fontPixelSize)
- self.tbMode.setIcon(SHARED.theme.getToggleIcon("fmt_mode", (tPx, tPx)))
+ self.tbBoldMD.setIcon(SHARED.theme.getIcon("fmt_bold-md"))
+ self.tbItalicMD.setIcon(SHARED.theme.getIcon("fmt_italic-md"))
+ self.tbStrikeMD.setIcon(SHARED.theme.getIcon("fmt_strike-md"))
self.tbBold.setIcon(SHARED.theme.getIcon("fmt_bold"))
self.tbItalic.setIcon(SHARED.theme.getIcon("fmt_italic"))
self.tbStrike.setIcon(SHARED.theme.getIcon("fmt_strike"))
@@ -2317,40 +2338,6 @@ class GuiDocToolBar(QWidget):
return
- ##
- # Private Slots
- ##
-
- @pyqtSlot(bool)
- def _toggleFormatMode(self, checked: bool) -> None:
- """Toggle the formatting mode."""
- CONFIG.useShortcodes = checked
- return
-
- @pyqtSlot()
- def _formatBold(self):
- """Call the bold format action."""
- self.requestDocAction.emit(
- nwDocAction.SC_BOLD if self.tbMode.isChecked() else nwDocAction.STRONG
- )
- return
-
- @pyqtSlot()
- def _formatItalic(self):
- """Call the italic format action."""
- self.requestDocAction.emit(
- nwDocAction.SC_ITALIC if self.tbMode.isChecked() else nwDocAction.EMPH
- )
- return
-
- @pyqtSlot()
- def _formatStrike(self):
- """Call the strikethrough format action."""
- self.requestDocAction.emit(
- nwDocAction.SC_STRIKE if self.tbMode.isChecked() else nwDocAction.STRIKE
- )
- return
-
# END Class GuiDocToolBar
diff --git a/novelwriter/gui/theme.py b/novelwriter/gui/theme.py
index 4ac8b714..a5d731bf 100644
--- a/novelwriter/gui/theme.py
+++ b/novelwriter/gui/theme.py
@@ -460,8 +460,8 @@ class GuiIcons:
"search_regex", "search_word",
# Format Icons
- "fmt_bold", "fmt_italic", "fmt_mode-md", "fmt_mode-sc", "fmt_strike", "fmt_subscript",
- "fmt_superscript", "fmt_underline",
+ "fmt_bold", "fmt_bold-md", "fmt_italic", "fmt_italic-md", "fmt_strike", "fmt_strike-md",
+ "fmt_subscript", "fmt_superscript", "fmt_underline",
# General Button Icons
"add", "backward", "bookmark", "browse", "checked", "close", "cross", "down", "edit",
@@ -479,9 +479,8 @@ class GuiIcons:
}
TOGGLE_ICON_KEYS = {
- "sticky": ("sticky-on", "sticky-off"),
- "bullet": ("bullet-on", "bullet-off"),
- "fmt_mode": ("fmt_mode-sc", "fmt_mode-md"),
+ "sticky": ("sticky-on", "sticky-off"),
+ "bullet": ("bullet-on", "bullet-off"),
}
IMAGE_MAP = {
diff --git a/tests/test_gui/test_gui_doceditor.py b/tests/test_gui/test_gui_doceditor.py
index 51217182..ebbc2e84 100644
--- a/tests/test_gui/test_gui_doceditor.py
+++ b/tests/test_gui/test_gui_doceditor.py
@@ -667,27 +667,26 @@ def testGuiEditor_ToolBar(qtbot, nwGUI, projPath, mockRnd):
docEditor._toggleToolBarVisibility()
assert docToolBar.isVisible() is True
- # Markdown Mode
- assert docToolBar.tbMode.isChecked() is False
+ # Markdown
+ # ========
# Click Bold
docEditor.setCursorPosition(20)
- docToolBar.tbBold.click()
+ docToolBar.tbBoldMD.click()
assert len(docEditor.getText()) == length + 4
# Click Italic
docEditor.setCursorPosition(54)
- docToolBar.tbItalic.click()
+ docToolBar.tbItalicMD.click()
assert len(docEditor.getText()) == length + 6
# Click Strikethrough
docEditor.setCursorPosition(90)
- docToolBar.tbStrike.click()
+ docToolBar.tbStrikeMD.click()
assert len(docEditor.getText()) == length + 10
- # Shortcode Mode
- docToolBar.tbMode.click()
- assert docToolBar.tbMode.isChecked() is True
+ # Shortcodes
+ # ==========
# Click Bold
docEditor.setCursorPosition(39)
From fff6ba98bc6084d5e34a613098c789e6ef9481b9 Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Sun, 3 Dec 2023 17:33:15 +0100
Subject: [PATCH 3/7] Rename emph and strong to italic and bold for consistency
and add tooltips to editor toolbar
---
novelwriter/enum.py | 6 +++---
novelwriter/gui/doceditor.py | 21 +++++++++++++++------
novelwriter/gui/mainmenu.py | 22 +++++++++++-----------
novelwriter/guimain.py | 4 ++--
tests/test_gui/test_gui_doceditor.py | 6 +++---
tests/test_gui/test_gui_mainmenu.py | 16 ++++++++--------
6 files changed, 42 insertions(+), 33 deletions(-)
diff --git a/novelwriter/enum.py b/novelwriter/enum.py
index 8b84c39e..300624e7 100644
--- a/novelwriter/enum.py
+++ b/novelwriter/enum.py
@@ -95,9 +95,9 @@ class nwDocAction(Enum):
CUT = 3
COPY = 4
PASTE = 5
- EMPH = 6
- STRONG = 7
- STRIKE = 8
+ MD_ITALIC = 6
+ MD_BOLD = 7
+ MD_STRIKE = 8
S_QUOTE = 9
D_QUOTE = 10
SEL_ALL = 11
diff --git a/novelwriter/gui/doceditor.py b/novelwriter/gui/doceditor.py
index 8ef7681e..28e65f7e 100644
--- a/novelwriter/gui/doceditor.py
+++ b/novelwriter/gui/doceditor.py
@@ -718,11 +718,11 @@ class GuiDocEditor(QPlainTextEdit):
self.copy()
elif action == nwDocAction.PASTE:
self.paste()
- elif action == nwDocAction.EMPH:
+ elif action == nwDocAction.MD_ITALIC:
self._toggleFormat(1, "_")
- elif action == nwDocAction.STRONG:
+ elif action == nwDocAction.MD_BOLD:
self._toggleFormat(2, "*")
- elif action == nwDocAction.STRIKE:
+ elif action == nwDocAction.MD_STRIKE:
self._toggleFormat(2, "~")
elif action == nwDocAction.S_QUOTE:
self._wrapSelection(self._typSQuoteO, self._typSQuoteC)
@@ -2239,54 +2239,63 @@ class GuiDocToolBar(QWidget):
self.tbBoldMD = QToolButton(self)
self.tbBoldMD.setIconSize(iconSize)
+ self.tbBoldMD.setToolTip(self.tr("Markdown Bold"))
self.tbBoldMD.clicked.connect(
- lambda: self.requestDocAction.emit(nwDocAction.STRONG)
+ lambda: self.requestDocAction.emit(nwDocAction.MD_BOLD)
)
self.tbItalicMD = QToolButton(self)
self.tbItalicMD.setIconSize(iconSize)
+ self.tbItalicMD.setToolTip(self.tr("Markdown Italic"))
self.tbItalicMD.clicked.connect(
- lambda: self.requestDocAction.emit(nwDocAction.EMPH)
+ lambda: self.requestDocAction.emit(nwDocAction.MD_ITALIC)
)
self.tbStrikeMD = QToolButton(self)
self.tbStrikeMD.setIconSize(iconSize)
+ self.tbStrikeMD.setToolTip(self.tr("Markdown Strikethrough"))
self.tbStrikeMD.clicked.connect(
- lambda: self.requestDocAction.emit(nwDocAction.STRIKE)
+ lambda: self.requestDocAction.emit(nwDocAction.MD_STRIKE)
)
self.tbBold = QToolButton(self)
self.tbBold.setIconSize(iconSize)
+ self.tbBold.setToolTip(self.tr("Shortcode Bold"))
self.tbBold.clicked.connect(
lambda: self.requestDocAction.emit(nwDocAction.SC_BOLD)
)
self.tbItalic = QToolButton(self)
self.tbItalic.setIconSize(iconSize)
+ self.tbItalic.setToolTip(self.tr("Shortcode Italic"))
self.tbItalic.clicked.connect(
lambda: self.requestDocAction.emit(nwDocAction.SC_ITALIC)
)
self.tbStrike = QToolButton(self)
self.tbStrike.setIconSize(iconSize)
+ self.tbStrike.setToolTip(self.tr("Shortcode Strikethrough"))
self.tbStrike.clicked.connect(
lambda: self.requestDocAction.emit(nwDocAction.SC_STRIKE)
)
self.tbUnderline = QToolButton(self)
self.tbUnderline.setIconSize(iconSize)
+ self.tbUnderline.setToolTip(self.tr("Shortcode Underline"))
self.tbUnderline.clicked.connect(
lambda: self.requestDocAction.emit(nwDocAction.SC_ULINE)
)
self.tbSuperscript = QToolButton(self)
self.tbSuperscript.setIconSize(iconSize)
+ self.tbSuperscript.setToolTip(self.tr("Shortcode Superscript"))
self.tbSuperscript.clicked.connect(
lambda: self.requestDocAction.emit(nwDocAction.SC_SUP)
)
self.tbSubscript = QToolButton(self)
self.tbSubscript.setIconSize(iconSize)
+ self.tbSubscript.setToolTip(self.tr("Shortcode Subscript"))
self.tbSubscript.clicked.connect(
lambda: self.requestDocAction.emit(nwDocAction.SC_SUB)
)
diff --git a/novelwriter/gui/mainmenu.py b/novelwriter/gui/mainmenu.py
index e442f9e8..6d116596 100644
--- a/novelwriter/gui/mainmenu.py
+++ b/novelwriter/gui/mainmenu.py
@@ -608,25 +608,25 @@ class GuiMainMenu(QMenuBar):
# Format
self.fmtMenu = self.addMenu(self.tr("&Format"))
- # Format > Emphasis
- self.aFmtEmph = self.fmtMenu.addAction(self.tr("Emphasis"))
- self.aFmtEmph.setShortcut("Ctrl+I")
- self.aFmtEmph.triggered.connect(
- lambda: self.requestDocAction.emit(nwDocAction.EMPH)
+ # Format > Bold
+ self.aFmtBold = self.fmtMenu.addAction(self.tr("Bold"))
+ self.aFmtBold.setShortcut("Ctrl+B")
+ self.aFmtBold.triggered.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.MD_BOLD)
)
- # Format > Strong Emphasis
- self.aFmtStrong = self.fmtMenu.addAction(self.tr("Strong Emphasis"))
- self.aFmtStrong.setShortcut("Ctrl+B")
- self.aFmtStrong.triggered.connect(
- lambda: self.requestDocAction.emit(nwDocAction.STRONG)
+ # Format > Italic
+ self.aFmtItalic = self.fmtMenu.addAction(self.tr("Italic"))
+ self.aFmtItalic.setShortcut("Ctrl+I")
+ self.aFmtItalic.triggered.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.MD_ITALIC)
)
# Format > Strikethrough
self.aFmtStrike = self.fmtMenu.addAction(self.tr("Strikethrough"))
self.aFmtStrike.setShortcut("Ctrl+D")
self.aFmtStrike.triggered.connect(
- lambda: self.requestDocAction.emit(nwDocAction.STRIKE)
+ lambda: self.requestDocAction.emit(nwDocAction.MD_STRIKE)
)
# Edit > Separator
diff --git a/novelwriter/guimain.py b/novelwriter/guimain.py
index 17f91f4f..5825d0ec 100644
--- a/novelwriter/guimain.py
+++ b/novelwriter/guimain.py
@@ -1422,8 +1422,8 @@ class GuiMain(QMainWindow):
self.addAction(self.mainMenu.aReplaceNext)
# Format
- self.addAction(self.mainMenu.aFmtEmph)
- self.addAction(self.mainMenu.aFmtStrong)
+ self.addAction(self.mainMenu.aFmtItalic)
+ self.addAction(self.mainMenu.aFmtBold)
self.addAction(self.mainMenu.aFmtStrike)
self.addAction(self.mainMenu.aFmtDQuote)
self.addAction(self.mainMenu.aFmtSQuote)
diff --git a/tests/test_gui/test_gui_doceditor.py b/tests/test_gui/test_gui_doceditor.py
index ebbc2e84..dc99614e 100644
--- a/tests/test_gui/test_gui_doceditor.py
+++ b/tests/test_gui/test_gui_doceditor.py
@@ -432,21 +432,21 @@ def testGuiEditor_Actions(qtbot, nwGUI, projPath, ipsumText, mockRnd):
# Emphasis
nwGUI.docEditor.setCursorPosition(50)
- assert nwGUI.docEditor.docAction(nwDocAction.EMPH) is True
+ assert nwGUI.docEditor.docAction(nwDocAction.MD_ITALIC) is True
assert nwGUI.docEditor.getText() == text.replace("consectetur", "_consectetur_")
assert nwGUI.docEditor.docAction(nwDocAction.UNDO) is True
assert nwGUI.docEditor.getText() == text
# Strong
nwGUI.docEditor.setCursorPosition(50)
- assert nwGUI.docEditor.docAction(nwDocAction.STRONG) is True
+ assert nwGUI.docEditor.docAction(nwDocAction.MD_BOLD) is True
assert nwGUI.docEditor.getText() == text.replace("consectetur", "**consectetur**")
assert nwGUI.docEditor.docAction(nwDocAction.UNDO) is True
assert nwGUI.docEditor.getText() == text
# Strikeout
nwGUI.docEditor.setCursorPosition(50)
- assert nwGUI.docEditor.docAction(nwDocAction.STRIKE) is True
+ assert nwGUI.docEditor.docAction(nwDocAction.MD_STRIKE) is True
assert nwGUI.docEditor.getText() == text.replace("consectetur", "~~consectetur~~")
assert nwGUI.docEditor.docAction(nwDocAction.UNDO) is True
assert nwGUI.docEditor.getText() == text
diff --git a/tests/test_gui/test_gui_mainmenu.py b/tests/test_gui/test_gui_mainmenu.py
index 95eec7b8..7d2ef53c 100644
--- a/tests/test_gui/test_gui_mainmenu.py
+++ b/tests/test_gui/test_gui_mainmenu.py
@@ -50,17 +50,17 @@ def testGuiMenu_EditFormat(qtbot, monkeypatch, nwGUI, prjLipsum):
cleanText = nwGUI.docEditor.getText()[39:86]
# Bold
- nwGUI.mainMenu.aFmtStrong.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtBold.activate(QAction.Trigger)
fmtStr = "**Pellentesque** nec erat ut nulla posuere commodo."
assert nwGUI.docEditor.getText()[39:90] == fmtStr
- nwGUI.mainMenu.aFmtStrong.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtBold.activate(QAction.Trigger)
assert nwGUI.docEditor.getText()[39:86] == cleanText
# Italic
- nwGUI.mainMenu.aFmtEmph.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtItalic.activate(QAction.Trigger)
fmtStr = "_Pellentesque_ nec erat ut nulla posuere commodo."
assert nwGUI.docEditor.getText()[39:88] == fmtStr
- nwGUI.mainMenu.aFmtEmph.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtItalic.activate(QAction.Trigger)
assert nwGUI.docEditor.getText()[39:86] == cleanText
# Strikethrough
@@ -71,10 +71,10 @@ def testGuiMenu_EditFormat(qtbot, monkeypatch, nwGUI, prjLipsum):
assert nwGUI.docEditor.getText()[39:86] == cleanText
# Should get us back to plain
- nwGUI.mainMenu.aFmtStrong.activate(QAction.Trigger)
- nwGUI.mainMenu.aFmtEmph.activate(QAction.Trigger)
- nwGUI.mainMenu.aFmtEmph.activate(QAction.Trigger)
- nwGUI.mainMenu.aFmtStrong.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtBold.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtItalic.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtItalic.activate(QAction.Trigger)
+ nwGUI.mainMenu.aFmtBold.activate(QAction.Trigger)
assert nwGUI.docEditor.getText()[39:86] == cleanText
# Double Quotes
From 023f6bed011acd12c7057245fecfb5bfb015ad7d Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Sun, 3 Dec 2023 17:34:08 +0100
Subject: [PATCH 4/7] Update base translation file
---
i18n/nw_base.ts | 1132 ++++++++++++++++++++++++-----------------------
1 file changed, 586 insertions(+), 546 deletions(-)
diff --git a/i18n/nw_base.ts b/i18n/nw_base.ts
index 94ce51df..061ac984 100644
--- a/i18n/nw_base.ts
+++ b/i18n/nw_base.ts
@@ -207,72 +207,72 @@
Common
-
+ in the future
-
+ just now
-
+ a minute ago
-
+ {0} minutes ago
-
+ an hour ago
-
+ {0} hours ago
-
+ a day ago
-
+ {0} days ago
-
+ a week ago
-
+ {0} weeks ago
-
+ a month ago
-
+ {0} months ago
-
+ a year ago
-
+ {0} years ago
@@ -626,7 +626,7 @@
GuiAbout
-
+ About novelWriter
@@ -652,27 +652,27 @@
-
+ Website: {0}
-
+ novelWriter is a markdown-like text editor designed for organising and writing novels. It is written in Python 3 with a Qt5 GUI, using PyQt5.
-
+ novelWriter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
-
+ novelWriter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
+ See the Licence tab for the full licence text, or visit the GNU website at {0} for more details.
@@ -776,32 +776,32 @@
GuiDocEditFooter
-
+ Status
-
+ Line: {0} ({1})
-
+ Words: {0} ({1})
-
+ Document size is {0} bytes
-
+ Words: {0} selected
-
+ Character count: {0}
@@ -809,22 +809,22 @@
GuiDocEditHeader
-
+ Toggle Tool Bar
-
+ Search
-
+ Toggle Focus Mode
-
+ Close
@@ -832,58 +832,58 @@
GuiDocEditSearch
-
-
+
+ Search
-
+ Replace
-
+ Case Sensitive
-
+ Whole Words Only
-
+ RegEx Mode
-
+ Loop Search
-
+ Search Next File
-
+ Preserve Case
-
+ Close Search
-
+ Find in current document
-
+ Find and replace in current document
@@ -891,127 +891,127 @@
GuiDocEditor
-
+ Opened Document: {0}
-
+ This document has been changed outside of novelWriter while it was open. Overwrite the file on disk?
-
+ Could not save document.
-
+ Saved Document: {0}
-
+ Spell checking requires the package PyEnchant. It does not appear to be installed.
-
+ Spell check complete
-
+ Document Details
-
+ Created: {0}
-
+ Updated: {0}
-
+ File Location: {0}
-
+ Set as Document Name
-
+ Follow Tag
-
+ Create Note for Tag
-
+ Cut
-
+ Copy
-
+ Paste
-
+ Select All
-
+ Select Word
-
+ Select Paragraph
-
+ Spelling Suggestion(s)
-
+ No Suggestions
-
+ Add Word to Dictionary
-
+ Please select some text before calling replace quotes.
-
+ Do you want to create a new project note for the tag '{0}'?
-
+ Could not create note in a root folder for '{0}'. If one doesn't exist, you must create one first.
@@ -1019,22 +1019,22 @@
GuiDocMerge
-
+ Merge Documents
-
+ Documents to Merge
-
+ Drag and drop items to change the order, or uncheck to exclude.
-
+ Move merged items to Trash
@@ -1042,52 +1042,52 @@
GuiDocSplit
-
+ Split Document
-
+ Document Headers
-
+ Select the maximum level to split into files.
-
+ Split on Header Level 1 (Title)
-
+ Split up to Header Level 2 (Chapter)
-
+ Split up to Header Level 3 (Scene)
-
+ Split up to Header Level 4 (Section)
-
+ Split into a new folder
-
+ Create document hierarchy
-
+ Move split document to Trash
@@ -1095,58 +1095,98 @@
GuiDocToolBar
-
- Toggle Markdown or Shortcodes Mode
+
+ Markdown Bold
+
+
+
+
+ Markdown Italic
+
+
+
+
+ Markdown Strikethrough
+
+
+
+
+ Shortcode Bold
+
+
+
+
+ Shortcode Italic
+
+
+
+
+ Shortcode Strikethrough
+
+
+
+
+ Shortcode Underline
+
+
+
+
+ Shortcode Superscript
+
+
+
+
+ Shortcode SubscriptGuiDocViewFooter
-
+ Show/Hide Viewer Panel
-
- Show Comments
-
-
-
-
- Show Synopsis Comments
-
-
-
-
+ Comments
-
+
+ Show Comments
+
+
+
+ Synopsis
+
+
+ Show Synopsis Comments
+
+ GuiDocViewHeader
-
+ Go Backward
-
+ Go Forward
-
+ Reload
-
+ Close
@@ -1190,12 +1230,12 @@
GuiEditLabel
-
+ Item Label
-
+ Label
@@ -1269,123 +1309,123 @@
GuiMain
-
+ novelWriter is ready ...
-
+ Cannot create a new project when another project is open.
-
+ A project already exists in that location. Please choose another folder.
-
+ Close the current project?
-
-
+
+ Changes are saved automatically.
-
+ Backup the current project?
-
+ The project is already open by another instance of novelWriter, and is therefore locked. Override lock and continue anyway?
-
+ Note: If the program or the computer previously crashed, the lock can safely be overridden. However, overriding it is not recommended if the project is open in another instance of novelWriter. Doing so may corrupt the project.
-
+ The project was locked by the computer '{0}' ({1} {2}), last active on {3}.
-
+ The project index is outdated or broken. Rebuilding index.
-
+ Text files ({0})
-
+ Markdown files ({0})
-
+ novelWriter files ({0})
-
+ All files ({0})
-
+ Import File
-
+ Could not read file. The file must be an existing text file.
-
+ Please open a document to import the text file into.
-
+ Importing the file will overwrite the current content of the document. Do you want to proceed?
-
+ Indexing completed in {0} ms
-
+ The project index has been successfully rebuilt.
-
- Some changes will not be applied until novelWriter has been restarted.
-
-
-
-
+ Could not initialise the dialog.
-
+ Do you want to exit novelWriter?
-
+
+ Some changes will not be applied until novelWriter has been restarted.
+
+
+
+ Could not find the reference for tag '{0}'. It either doesn't exist, or the index is out of date. The index can be updated from the Tools menu, or by pressing {1}.
@@ -1393,647 +1433,647 @@
GuiMainMenu
-
+ &Project
-
+ New Project
-
+ Open Project
-
+ Save Project
-
+ Close Project
-
+ Project Settings
-
+ Project Details
-
+ Rename Item
-
+ Delete Item
-
+ Empty Trash
-
+ Exit
-
+ &Document
-
+ Open Document
-
+ Save Document
-
+ Close Document
-
+ View Document
-
+ Close Document View
-
+ Show File Details
-
+ Import Text from File
-
+ &Edit
-
+ Undo
-
+ Redo
-
+ Cut
-
+ Copy
-
+ Paste
-
+ Select All
-
+ Select Paragraph
-
+ &View
-
+ Go to Project Tree
-
+ Go to Document Editor
-
+ Go to Outline
-
+ Navigate Backward
-
+ Navigate Forward
-
+ Focus Mode
-
+ Full Screen Mode
-
+ &Insert
-
+ Dashes
-
+ Short Dash
-
+ Long Dash
-
+ Horizontal Bar
-
+ Figure Dash
-
+ Quote Marks
-
+ Left Single Quote
-
+ Right Single Quote
-
+ Left Double Quote
-
+ Right Double Quote
-
+ Alternative Apostrophe
-
+ General Punctuation
-
+ Ellipsis
-
+ Prime
-
+ Double Prime
-
+ White Spaces
-
+ Non-Breaking Space
-
+ Thin Space
-
+ Thin Non-Breaking Space
-
+ Other Symbols
-
+ List Bullet
-
+ Hyphen Bullet
-
+ Flower Mark
-
+ Per Mille
-
+ Degree Symbol
-
+ Minus Sign
-
+ Times Sign
-
+ Division Sign
-
+ Tags and References
-
+ Special Comments
-
+ Synopsis Comment
-
+ Short Description Comment
-
+ Page Break and Space
-
+ Page Break
-
+ Vertical Space (Single)
-
+ Vertical Space (Multi)
-
+ Placeholder Text
-
+ &Format
-
- Emphasis
+
+ Bold
-
- Strong Emphasis
+
+ Italic
-
+ Strikethrough
-
+ Wrap Double Quotes
-
+ Wrap Single Quotes
-
+ More Formats ...
-
+ Italics (Shortcode)
-
+ Bold (Shortcode)
-
+ Strikethrough (Shortcode)
-
+ Underline
-
+ Superscript
-
+ Subscript
-
+ Header 1 (Partition)
-
+ Header 2 (Chapter)
-
+ Header 3 (Scene)
-
+ Header 4 (Section)
-
+ Novel Title
-
+ Unnumbered Chapter
-
+ Align Left
-
+ Align Centre
-
+ Align Right
-
+ Indent Left
-
+ Indent Right
-
+ Toggle Comment
-
+ Remove Block Format
-
+ Convert Single Quotes
-
+ Convert Double Quotes
-
+ Remove In-Paragraph Breaks
-
+ &Search
-
+ Find
-
+ Replace
-
+ Find Next
-
+ Find Previous
-
+ Replace Next
-
+ &Tools
-
+ Check Spelling
-
+ Spell Check Language
-
+ Default
-
+ Re-Run Spell Check
-
+ Project Word List
-
+ Add Dictionaries
-
+ Rebuild Index
-
+ Backup Project
-
+ Build Manuscript
-
+ Writing Statistics
-
+ Preferences
-
+ &Help
-
+ About novelWriter
-
+ About Qt5
-
+ User Manual (Online)
-
+ User Manual (PDF)
-
+ Report an Issue (GitHub)
-
+ Ask a Question (GitHub)
-
+ The novelWriter Website
-
+ Check for New Release
@@ -2041,38 +2081,38 @@
GuiMainStatus
-
-
+
+ None
-
+ Editor
-
+ Project
-
+ Session Time
-
+ Words: {0} ({1})
-
+ Project word count (session change)
-
+ Novel word count (session change)
@@ -2192,58 +2232,58 @@
GuiNovelToolBar
-
+ Outline of {0}
-
+ Novel Root
-
+ Refresh
-
+ Last Column
-
+ Hidden
-
+ Point of View Character
-
+ Focus Character
-
+ Novel Plot
-
-
+
+ Column Size
-
+ More Options
-
+ Maximum column size in %
@@ -2251,7 +2291,7 @@
GuiNovelTree
-
+ No meta data
@@ -2259,65 +2299,65 @@
GuiOutlineDetails
-
-
-
-
+
+
+
+ Title
-
+ Chapter
-
+ Scene
-
+ Section
-
+ Document
-
+ Status
-
+ Characters
-
+ Words
-
+ Paragraphs
-
+ Synopsis
-
+ Title Details
-
+ Reference Tags
@@ -2325,7 +2365,7 @@
GuiOutlineHeaderMenu
-
+ Select Columns
@@ -2346,42 +2386,42 @@
GuiPreferences
-
+ Preferences
-
+ General
-
+ Projects
-
+ Documents
-
+ Editor
-
+ Highlighting
-
+ Automation
-
+ Quotes
@@ -2389,103 +2429,103 @@
GuiPreferencesAutomation
-
+ Automatic Features
-
+ Auto-select word under cursor
-
+ Apply formatting to word under cursor if no selection is made.
-
+ Auto-replace text as you type
-
+ Allow the editor to replace symbols as you type.
-
+ Replace as You Type
-
+ Auto-replace single quotes
-
-
+
+ Try to guess which is an opening or a closing quote.
-
+ Auto-replace double quotes
-
+ Auto-replace dashes
-
+ Double and triple hyphens become short and long dashes.
-
+ Auto-replace dots
-
+ Three consecutive dots become ellipsis.
-
+ Automatic Padding
-
+ Insert non-breaking space before
-
+ Automatically add space before any of these symbols.
-
+ Insert non-breaking space after
-
+ Automatically add space after any of these symbols.
-
+ Use thin space instead
-
+ Inserts a thin space instead of a regular space.
@@ -2493,93 +2533,93 @@
GuiPreferencesDocuments
-
+ Text Style
-
+ Font family
-
-
-
+
+
+ Applies to both document editor and viewer.
-
+ Font size
-
+ pt
-
+ Text Flow
-
+ Maximum text width in "Normal Mode"
-
+ Set to 0 to disable this feature.
-
-
+
+ px
-
+ Maximum text width in "Focus Mode"
-
+ The maximum width cannot be disabled.
-
+ Hide document footer in "Focus Mode"
-
+ Hide the information bar in the document editor.
-
+ Justify the text margins
-
+ Minimum text margin
-
+ Tab width
-
+ The width of a tab key press in the editor and viewer.
@@ -2587,92 +2627,92 @@
GuiPreferencesEditor
-
+ Spell Checking
-
+ None
-
+ Spell check language
-
+ Available languages are determined by your system.
-
+ Word Count
-
+ Word count interval
-
+ seconds
-
+ Include project notes in status bar word count
-
+ Writing Guides
-
+ Show tabs and spaces
-
+ Show line endings
-
+ Scroll Behaviour
-
+ Scroll past end of the document
-
+ Also centres the cursor when scrolling.
-
+ Typewriter style scrolling when you type
-
+ Keeps the cursor at a fixed vertical position.
-
+ Minimum position for Typewriter scrolling
-
+ Percentage of the editor height from the top.
@@ -2680,95 +2720,95 @@
GuiPreferencesGeneral
-
+ Look and Feel
-
+ Main GUI language
-
-
+
+ Requires restart to take effect.
-
+ Main GUI theme
-
+ General colour theme and icons.
-
+ Editor theme
-
+ Colour theme for the editor and viewer.
-
+ Font family
-
+ Font size
-
+ pt
-
+ GUI Settings
-
+ Emphasise partition and chapter labels
-
+ Makes them stand out in the project tree.
-
+ Show full path in document header
-
+ Add the parent folder names to the header.
-
+ Hide vertical scroll bars in main windows
-
-
+
+ Scrolling available with mouse wheel and keys only.
-
+ Hide horizontal scroll bars in main windows
@@ -2776,109 +2816,109 @@
GuiPreferencesProjects
-
+ Automatic Save
-
+ Save document interval
-
+ How often the document is automatically saved.
-
+ seconds
-
+ Save project interval
-
+ How often the project is automatically saved.
-
+ Project Backup
-
+ Browse
-
+ Backup storage location
-
-
+
+ Path: {0}
-
+ Run backup when the project is closed
-
+ Can be overridden for individual projects in Project Settings.
-
+ Ask before running backup
-
+ If off, backups will run in the background.
-
+ Session Timer
-
+ Pause the session timer when not writing
-
+ Also pauses when the application window does not have focus.
-
+ Editor inactive time before pausing timer
-
+ User activity includes typing and changing the content.
-
+ minutes
-
+ Backup Directory
@@ -2886,47 +2926,47 @@
GuiPreferencesQuotes
-
+ Quotation Style
-
+ Single quote open style
-
+ The symbol to use for a leading single quote.
-
+ Single quote close style
-
+ The symbol to use for a trailing single quote.
-
+ Double quote open style
-
+ The symbol to use for a leading double quote.
-
+ Double quote close style
-
+ The symbol to use for a trailing double quote.
@@ -2934,59 +2974,59 @@
GuiPreferencesSyntax
-
+ Quotes & Dialogue
-
+ Highlight text wrapped in quotes
-
-
+
+ Applies to the document editor only.
-
+ Allow open-ended single quotes
-
+ Highlight single-quoted line with no closing quote.
-
+ Allow open-ended double quotes
-
+ Highlight double-quoted line with no closing quote.
-
+ Text Emphasis
-
+ Add highlight colour to emphasised text
-
+ Text Errors
-
+ Highlight multiple or trailing spaces
@@ -3012,72 +3052,72 @@
GuiProjectDetailsContents
-
+ Table of Contents
-
+ Title
-
+ Words
-
+ Pages
-
+ Page
-
+ Progress
-
+ Typical word count for a 5 by 8 inch book page with 11 pt font is 350.
-
+ Start counting page numbers from this page.
-
+ Assume a new chapter or partition always start on an odd numbered page.
-
+ Words per page
-
+ Count pages from
-
+ Clear double pages
-
+ END
-
+ Untitled
@@ -3085,42 +3125,42 @@
GuiProjectDetailsMain
-
+ Words
-
+ Chapters
-
+ Scenes
-
+ Revisions
-
+ Editing Time
-
+ Path
-
+ Project: {0}
-
+ By {0}
@@ -3128,64 +3168,64 @@
GuiProjectEditMain
-
+ Project Settings
-
+ Project name
-
+ Should be set only once.
-
+ Novel title
-
-
+
+ Change whenever you want!
-
+ Author(s)
-
+ Project language
-
+ Used when building the manuscript.
-
+ Default
-
+ Spell check language
-
-
+
+ Overrides main preferences.
-
+ No backup on close
@@ -3193,27 +3233,27 @@
GuiProjectEditReplace
-
+ Text Replace List for Preview and Export
-
+ Keyword
-
+ Replace With
-
+ Select item to edit
-
+ Save
@@ -3221,67 +3261,67 @@
GuiProjectEditStatus
-
+ Novel File Status Levels
-
+ Note File Importance Levels
-
+ Label
-
+ Usage
-
+ Select item to edit
-
+ Colour
-
+ Save
-
+ Select Colour
-
+ New Item
-
+ Cannot delete a status item that is in use.
-
+ Not in use
-
+ Used once
-
+ Used by {0} items
@@ -3348,27 +3388,27 @@
GuiProjectSettings
-
+ Project Settings
-
+ Settings
-
+ Status
-
+ Importance
-
+ Auto-Replace
@@ -3543,37 +3583,37 @@
GuiSideBar
-
+ Project Tree View
-
+ Novel Tree View
-
+ Novel Outline View
-
+ Build Manuscript
-
+ Project Details
-
+ Writing Statistics
-
+ Settings
@@ -3615,18 +3655,18 @@
GuiWordList
-
-
+
+ Project Word List
-
+ Cannot add a blank word.
-
+ The word '{0}' is already in the word list.
@@ -3754,27 +3794,27 @@
-
+ JSON Data File
-
+ CSV Data File
-
+ Save Data As
-
+ {0} file successfully written to:
-
+ Failed to write {0} file.
@@ -4438,27 +4478,27 @@
_DetailsWidget
-
+ Setting
-
+ Value
-
+ Name
-
+ Selection
-
+ Title
@@ -4466,37 +4506,37 @@
_FilterTab
-
+ Included in manuscript
-
+ Excluded from manuscript
-
+ Always included
-
+ Always excluded
-
+ Reset to default
-
+ Mark selection as
-
+ Select Root Folders
@@ -4504,22 +4544,22 @@
_GuiAlert
-
+ Information
-
+ Warning
-
+ Error
-
+ Question
@@ -4527,65 +4567,65 @@
_HeadingsTab
-
-
+
+ Hide
-
-
+
+ Editing: {0}
-
-
+
+ None
-
+ Title
-
+ Chapter Number
-
+ Chapter Number (Word)
-
+ Chapter Number (Upper Case Roman)
-
+ Chapter Number (Lower Case Roman)
-
+ Scene Number (In Chapter)
-
+ Scene Number (Absolute)
-
+ Insert
-
+ Apply
@@ -4593,27 +4633,27 @@
_PreviewWidget
-
+ Press the "Preview" button to generate ...
-
+ Processing ...
-
+ Done
-
+ Unknown
-
+ Built
@@ -4754,12 +4794,12 @@
_ViewPanelBackRefs
-
+ Document
-
+ First Heading
@@ -4767,22 +4807,22 @@
_ViewPanelKeyWords
-
+ Tag
-
+ Document
-
+ Heading
-
+ Short Description
From b7c657141f55959193196338e5e6df8c6017335a Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Sun, 3 Dec 2023 17:43:28 +0100
Subject: [PATCH 5/7] Update translations
---
i18n/nw_en_US.ts | 1138 +++++++++---------
i18n/nw_nb_NO.ts | 1140 ++++++++++---------
novelwriter/assets/i18n/project_es_419.json | 11 +
novelwriter/assets/i18n/project_fr_FR.json | 11 +
novelwriter/assets/i18n/project_it_IT.json | 11 +
5 files changed, 1212 insertions(+), 1099 deletions(-)
diff --git a/i18n/nw_en_US.ts b/i18n/nw_en_US.ts
index 6e9a05f2..69efc0af 100644
--- a/i18n/nw_en_US.ts
+++ b/i18n/nw_en_US.ts
@@ -207,72 +207,72 @@
Common
-
+ in the futurein the future
-
+ just nowjust now
-
+ a minute agoa minute ago
-
+ {0} minutes ago{0} minutes ago
-
+ an hour agoan hour ago
-
+ {0} hours ago{0} hours ago
-
+ a day agoa day ago
-
+ {0} days ago{0} days ago
-
+ a week agoa week ago
-
+ {0} weeks ago{0} weeks ago
-
+ a month agoa month ago
-
+ {0} months ago{0} months ago
-
+ a year agoa year ago
-
+ {0} years ago{0} years ago
@@ -626,7 +626,7 @@
GuiAbout
-
+ About novelWriterAbout novelWriter
@@ -652,27 +652,27 @@
License
-
+ Website: {0}Website: {0}
-
+ novelWriter is a markdown-like text editor designed for organising and writing novels. It is written in Python 3 with a Qt5 GUI, using PyQt5.novelWriter is a markdown-like text editor designed for organising and writing novels. It is written in Python 3 with a Qt5 GUI, using PyQt5.
-
+ novelWriter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.novelWriter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
-
+ novelWriter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.novelWriter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
+ See the Licence tab for the full licence text, or visit the GNU website at {0} for more details.See the License tab for the full license text, or visit the GNU website at {0} for more details.
@@ -776,32 +776,32 @@
GuiDocEditFooter
-
+ StatusStatus
-
+ Line: {0} ({1})Line: {0} ({1})
-
+ Words: {0} ({1})Words: {0} ({1})
-
+ Document size is {0} bytesDocument size is {0} bytes
-
+ Words: {0} selectedWords: {0} selected
-
+ Character count: {0}Character count: {0}
@@ -809,22 +809,22 @@
GuiDocEditHeader
-
+ Toggle Tool BarToggle Tool Bar
-
+ SearchSearch
-
+ Toggle Focus ModeToggle Focus Mode
-
+ CloseClose
@@ -832,58 +832,58 @@
GuiDocEditSearch
-
-
+
+ SearchSearch
-
+ ReplaceReplace
-
+ Case SensitiveCase Sensitive
-
+ Whole Words OnlyWhole Words Only
-
+ RegEx ModeRegEx Mode
-
+ Loop SearchLoop Search
-
+ Search Next FileSearch Next File
-
+ Preserve CasePreserve Case
-
+ Close SearchClose Search
-
+ Find in current documentFind in current document
-
+ Find and replace in current documentFind and replace in current document
@@ -891,127 +891,127 @@
GuiDocEditor
-
+ Opened Document: {0}Opened Document: {0}
-
+ This document has been changed outside of novelWriter while it was open. Overwrite the file on disk?This document has been changed outside of novelWriter while it was open. Overwrite the file on disk?
-
+ Could not save document.Could not save document.
-
+ Saved Document: {0}Saved Document: {0}
-
+ Spell checking requires the package PyEnchant. It does not appear to be installed.Spell checking requires the package PyEnchant. It does not appear to be installed.
-
+ Spell check completeSpell check complete
-
+ Document DetailsDocument Details
-
+ Created: {0}Created: {0}
-
+ Updated: {0}Updated: {0}
-
+ File Location: {0}File Location: {0}
-
+ Set as Document NameSet as Document Name
-
+ Follow TagFollow Tag
-
+ Create Note for TagCreate Note for Tag
-
+ CutCut
-
+ CopyCopy
-
+ PastePaste
-
+ Select AllSelect All
-
+ Select WordSelect Word
-
+ Select ParagraphSelect Paragraph
-
+ Spelling Suggestion(s)Spelling Suggestion(s)
-
+ No SuggestionsNo Suggestions
-
+ Add Word to DictionaryAdd Word to Dictionary
-
+ Please select some text before calling replace quotes.Please select some text before calling replace quotes.
-
+ Do you want to create a new project note for the tag '{0}'?Do you want to create a new project note for the tag '{0}'?
-
+ Could not create note in a root folder for '{0}'. If one doesn't exist, you must create one first.Could not create note in a root folder for '{0}'. If one doesn't exist, you must create one first.
@@ -1019,22 +1019,22 @@
GuiDocMerge
-
+ Merge DocumentsMerge Documents
-
+ Documents to MergeDocuments to Merge
-
+ Drag and drop items to change the order, or uncheck to exclude.Drag and drop items to change the order, or uncheck to exclude.
-
+ Move merged items to TrashMove merged items to Trash
@@ -1042,52 +1042,52 @@
GuiDocSplit
-
+ Split DocumentSplit Document
-
+ Document HeadersDocument Headers
-
+ Select the maximum level to split into files.Select the maximum level to split into files.
-
+ Split on Header Level 1 (Title)Split on Header Level 1 (Title)
-
+ Split up to Header Level 2 (Chapter)Split up to Header Level 2 (Chapter)
-
+ Split up to Header Level 3 (Scene)Split up to Header Level 3 (Scene)
-
+ Split up to Header Level 4 (Section)Split up to Header Level 4 (Section)
-
+ Split into a new folderSplit into a new folder
-
+ Create document hierarchyCreate document hierarchy
-
+ Move split document to TrashMove split document to Trash
@@ -1095,58 +1095,98 @@
GuiDocToolBar
-
- Toggle Markdown or Shortcodes Mode
- Toggle Markdown or Shortcodes Mode
+
+ Markdown Bold
+ Markdown Bold
+
+
+
+ Markdown Italic
+ Markdown Italic
+
+
+
+ Markdown Strikethrough
+ Markdown Strikethrough
+
+
+
+ Shortcode Bold
+ Shortcode Bold
+
+
+
+ Shortcode Italic
+ Shortcode Italic
+
+
+
+ Shortcode Strikethrough
+ Shortcode Strikethrough
+
+
+
+ Shortcode Underline
+ Shortcode Underline
+
+
+
+ Shortcode Superscript
+ Shortcode Superscript
+
+
+
+ Shortcode Subscript
+ Shortcode SubscriptGuiDocViewFooter
-
+ Show/Hide Viewer PanelShow/Hide Viewer Panel
-
- Show Comments
- Show Comments
-
-
-
- Show Synopsis Comments
- Show Synopsis Comments
-
-
-
+ CommentsComments
-
+
+ Show Comments
+ Show Comments
+
+
+ SynopsisSynopsis
+
+
+ Show Synopsis Comments
+ Show Synopsis Comments
+ GuiDocViewHeader
-
+ Go BackwardGo Backward
-
+ Go ForwardGo Forward
-
+ ReloadReload
-
+ CloseClose
@@ -1190,12 +1230,12 @@
GuiEditLabel
-
+ Item LabelItem Label
-
+ LabelLabel
@@ -1269,123 +1309,123 @@
GuiMain
-
+ novelWriter is ready ...novelWriter is ready ...
-
+ Cannot create a new project when another project is open.Cannot create a new project when another project is open.
-
+ A project already exists in that location. Please choose another folder.A project already exists in that location. Please choose another folder.
-
+ Close the current project?Close the current project?
-
-
+
+ Changes are saved automatically.Changes are saved automatically.
-
+ Backup the current project?Backup the current project?
-
+ The project is already open by another instance of novelWriter, and is therefore locked. Override lock and continue anyway?The project is already open by another instance of novelWriter, and is therefore locked. Override lock and continue anyway?
-
+ Note: If the program or the computer previously crashed, the lock can safely be overridden. However, overriding it is not recommended if the project is open in another instance of novelWriter. Doing so may corrupt the project.Note: If the program or the computer previously crashed, the lock can safely be overridden. However, overriding it is not recommended if the project is open in another instance of novelWriter. Doing so may corrupt the project.
-
+ The project was locked by the computer '{0}' ({1} {2}), last active on {3}.The project was locked by the computer '{0}' ({1} {2}), last active on {3}.
-
+ The project index is outdated or broken. Rebuilding index.The project index is outdated or broken. Rebuilding index.
-
+ Text files ({0})Text files ({0})
-
+ Markdown files ({0})Markdown files ({0})
-
+ novelWriter files ({0})novelWriter files ({0})
-
+ All files ({0})All files ({0})
-
+ Import FileImport File
-
+ Could not read file. The file must be an existing text file.Could not read file. The file must be an existing text file.
-
+ Please open a document to import the text file into.Please open a document to import the text file into.
-
+ Importing the file will overwrite the current content of the document. Do you want to proceed?Importing the file will overwrite the current content of the document. Do you want to proceed?
-
+ Indexing completed in {0} msIndexing completed in {0} ms
-
+ The project index has been successfully rebuilt.The project index has been successfully rebuilt.
-
- Some changes will not be applied until novelWriter has been restarted.
- Some changes will not be applied until novelWriter has been restarted.
-
-
-
+ Could not initialise the dialog.Could not initialize the dialog.
-
+ Do you want to exit novelWriter?Do you want to exit novelWriter?
-
+
+ Some changes will not be applied until novelWriter has been restarted.
+ Some changes will not be applied until novelWriter has been restarted.
+
+
+ Could not find the reference for tag '{0}'. It either doesn't exist, or the index is out of date. The index can be updated from the Tools menu, or by pressing {1}.Could not find the reference for tag '{0}'. It either doesn't exist, or the index is out of date. The index can be updated from the Tools menu, or by pressing {1}.
@@ -1393,647 +1433,647 @@
GuiMainMenu
-
+ &Project&Project
-
+ New ProjectNew Project
-
+ Open ProjectOpen Project
-
+ Save ProjectSave Project
-
+ Close ProjectClose Project
-
+ Project SettingsProject Settings
-
+ Project DetailsProject Details
-
+ Rename ItemRename Item
-
+ Delete ItemDelete Item
-
+ Empty TrashEmpty Trash
-
+ ExitExit
-
+ &Document&Document
-
+ Open DocumentOpen Document
-
+ Save DocumentSave Document
-
+ Close DocumentClose Document
-
+ View DocumentView Document
-
+ Close Document ViewClose Document View
-
+ Show File DetailsShow File Details
-
+ Import Text from FileImport Text from File
-
+ &Edit&Edit
-
+ UndoUndo
-
+ RedoRedo
-
+ CutCut
-
+ CopyCopy
-
+ PastePaste
-
+ Select AllSelect All
-
+ Select ParagraphSelect Paragraph
-
+ &View&View
-
+ Go to Project TreeGo to Project Tree
-
+ Go to Document EditorGo to Document Editor
-
+ Go to OutlineGo to Outline
-
+ Navigate BackwardNavigate Backward
-
+ Navigate ForwardNavigate Forward
-
+ Focus ModeFocus Mode
-
+ Full Screen ModeFull Screen Mode
-
+ &Insert&Insert
-
+ DashesDashes
-
+ Short DashShort Dash
-
+ Long DashLong Dash
-
+ Horizontal BarHorizontal Bar
-
+ Figure DashFigure Dash
-
+ Quote MarksQuote Marks
-
+ Left Single QuoteLeft Single Quote
-
+ Right Single QuoteRight Single Quote
-
+ Left Double QuoteLeft Double Quote
-
+ Right Double QuoteRight Double Quote
-
+ Alternative ApostropheAlternative Apostrophe
-
+ General PunctuationGeneral Punctuation
-
+ EllipsisEllipsis
-
+ PrimePrime
-
+ Double PrimeDouble Prime
-
+ White SpacesWhite Spaces
-
+ Non-Breaking SpaceNon-Breaking Space
-
+ Thin SpaceThin Space
-
+ Thin Non-Breaking SpaceThin Non-Breaking Space
-
+ Other SymbolsOther Symbols
-
+ List BulletList Bullet
-
+ Hyphen BulletHyphen Bullet
-
+ Flower MarkFlower Mark
-
+ Per MillePer Mille
-
+ Degree SymbolDegree Symbol
-
+ Minus SignMinus Sign
-
+ Times SignTimes Sign
-
+ Division SignDivision Sign
-
+ Tags and ReferencesTags and References
-
+ Special CommentsSpecial Comments
-
+ Synopsis CommentSynopsis Comment
-
+ Short Description CommentShort Description Comment
-
+ Page Break and SpacePage Break and Space
-
+ Page BreakPage Break
-
+ Vertical Space (Single)Vertical Space (Single)
-
+ Vertical Space (Multi)Vertical Space (Multi)
-
+ Placeholder TextPlaceholder Text
-
+ &Format&Format
-
- Emphasis
- Emphasis
+
+ Bold
+ Bold
-
- Strong Emphasis
- Strong Emphasis
+
+ Italic
+ Italic
-
+ StrikethroughStrikethrough
-
+ Wrap Double QuotesWrap Double Quotes
-
+ Wrap Single QuotesWrap Single Quotes
-
+ More Formats ...More Formats ...
-
+ Italics (Shortcode)Italics (Shortcode)
-
+ Bold (Shortcode)Bold (Shortcode)
-
+ Strikethrough (Shortcode)Strikethrough (Shortcode)
-
+ UnderlineUnderline
-
+ SuperscriptSuperscript
-
+ SubscriptSubscript
-
+ Header 1 (Partition)Header 1 (Partition)
-
+ Header 2 (Chapter)Header 2 (Chapter)
-
+ Header 3 (Scene)Header 3 (Scene)
-
+ Header 4 (Section)Header 4 (Section)
-
+ Novel TitleNovel Title
-
+ Unnumbered ChapterUnnumbered Chapter
-
+ Align LeftAlign Left
-
+ Align CentreAlign Center
-
+ Align RightAlign Right
-
+ Indent LeftIndent Left
-
+ Indent RightIndent Right
-
+ Toggle CommentToggle Comment
-
+ Remove Block FormatRemove Block Format
-
+ Convert Single QuotesConvert Single Quotes
-
+ Convert Double QuotesConvert Double Quotes
-
+ Remove In-Paragraph BreaksRemove In-Paragraph Breaks
-
+ &Search&Search
-
+ FindFind
-
+ ReplaceReplace
-
+ Find NextFind Next
-
+ Find PreviousFind Previous
-
+ Replace NextReplace Next
-
+ &Tools&Tools
-
+ Check SpellingCheck Spelling
-
+ Spell Check LanguageSpell Check Language
-
+ DefaultDefault
-
+ Re-Run Spell CheckRe-Run Spell Check
-
+ Project Word ListProject Word List
-
+ Add DictionariesAdd Dictionaries
-
+ Rebuild IndexRebuild Index
-
+ Backup ProjectBackup Project
-
+ Build ManuscriptBuild Manuscript
-
+ Writing StatisticsWriting Statistics
-
+ PreferencesPreferences
-
+ &Help&Help
-
+ About novelWriterAbout novelWriter
-
+ About Qt5About Qt5
-
+ User Manual (Online)User Manual (Online)
-
+ User Manual (PDF)User Manual (PDF)
-
+ Report an Issue (GitHub)Report an Issue (GitHub)
-
+ Ask a Question (GitHub)Ask a Question (GitHub)
-
+ The novelWriter WebsiteThe novelWriter Website
-
+ Check for New ReleaseCheck for New Release
@@ -2041,38 +2081,38 @@
GuiMainStatus
-
-
+
+ NoneNone
-
+ EditorEditor
-
+ ProjectProject
-
+ Session TimeSession Time
-
+ Words: {0} ({1})Words: {0} ({1})
-
+ Project word count (session change)Project word count (session change)
-
+ Novel word count (session change)Novel word count (session change)
@@ -2192,58 +2232,58 @@
GuiNovelToolBar
-
+ Outline of {0}Outline of {0}
-
+ Novel RootNovel Root
-
+ RefreshRefresh
-
+ Last ColumnLast Column
-
+ HiddenHidden
-
+ Point of View CharacterPoint of View Character
-
+ Focus CharacterFocus Character
-
+ Novel PlotNovel Plot
-
-
+
+ Column SizeColumn Size
-
+ More OptionsMore Options
-
+ Maximum column size in %Maximum column size in %
@@ -2251,7 +2291,7 @@
GuiNovelTree
-
+ No meta dataNo meta data
@@ -2259,65 +2299,65 @@
GuiOutlineDetails
-
-
-
-
+
+
+
+ TitleTitle
-
+ ChapterChapter
-
+ SceneScene
-
+ SectionSection
-
+ DocumentDocument
-
+ StatusStatus
-
+ CharactersCharacters
-
+ WordsWords
-
+ ParagraphsParagraphs
-
+ SynopsisSynopsis
-
+ Title DetailsTitle Details
-
+ Reference TagsReference Tags
@@ -2325,7 +2365,7 @@
GuiOutlineHeaderMenu
-
+ Select ColumnsSelect Columns
@@ -2346,42 +2386,42 @@
GuiPreferences
-
+ PreferencesPreferences
-
+ GeneralGeneral
-
+ ProjectsProjects
-
+ DocumentsDocuments
-
+ EditorEditor
-
+ HighlightingHighlighting
-
+ AutomationAutomation
-
+ QuotesQuotes
@@ -2389,103 +2429,103 @@
GuiPreferencesAutomation
-
+ Automatic FeaturesAutomatic Features
-
+ Auto-select word under cursorAuto-select word under cursor
-
+ Apply formatting to word under cursor if no selection is made.Apply formatting to word under cursor if no selection is made.
-
+ Auto-replace text as you typeAuto-replace text as you type
-
+ Allow the editor to replace symbols as you type.Allow the editor to replace symbols as you type.
-
+ Replace as You TypeReplace as You Type
-
+ Auto-replace single quotesAuto-replace single quotes
-
-
+
+ Try to guess which is an opening or a closing quote.Try to guess which is an opening or a closing quote.
-
+ Auto-replace double quotesAuto-replace double quotes
-
+ Auto-replace dashesAuto-replace dashes
-
+ Double and triple hyphens become short and long dashes.Double and triple hyphens become short and long dashes.
-
+ Auto-replace dotsAuto-replace dots
-
+ Three consecutive dots become ellipsis.Three consecutive dots become ellipsis.
-
+ Automatic PaddingAutomatic Padding
-
+ Insert non-breaking space beforeInsert non-breaking space before
-
+ Automatically add space before any of these symbols.Automatically add space before any of these symbols.
-
+ Insert non-breaking space afterInsert non-breaking space after
-
+ Automatically add space after any of these symbols.Automatically add space after any of these symbols.
-
+ Use thin space insteadUse thin space instead
-
+ Inserts a thin space instead of a regular space.Inserts a thin space instead of a regular space.
@@ -2493,93 +2533,93 @@
GuiPreferencesDocuments
-
+ Text StyleText Style
-
+ Font familyFont family
-
-
-
+
+
+ Applies to both document editor and viewer.Applies to both document editor and viewer.
-
+ Font sizeFont size
-
+ ptpt
-
+ Text FlowText Flow
-
+ Maximum text width in "Normal Mode"Maximum text width in "Normal Mode"
-
+ Set to 0 to disable this feature.Set to 0 to disable this feature.
-
-
+
+ pxpx
-
+ Maximum text width in "Focus Mode"Maximum text width in "Focus Mode"
-
+ The maximum width cannot be disabled.The maximum width cannot be disabled.
-
+ Hide document footer in "Focus Mode"Hide document footer in "Focus Mode"
-
+ Hide the information bar in the document editor.Hide the information bar in the document editor.
-
+ Justify the text marginsJustify the text margins
-
+ Minimum text marginMinimum text margin
-
+ Tab widthTab width
-
+ The width of a tab key press in the editor and viewer.The width of a tab key press in the editor and viewer.
@@ -2587,92 +2627,92 @@
GuiPreferencesEditor
-
+ Spell CheckingSpell Checking
-
+ NoneNone
-
+ Spell check languageSpell check language
-
+ Available languages are determined by your system.Available languages are determined by your system.
-
+ Word CountWord Count
-
+ Word count intervalWord count interval
-
+ secondsseconds
-
+ Include project notes in status bar word countInclude project notes in status bar word count
-
+ Writing GuidesWriting Guides
-
+ Show tabs and spacesShow tabs and spaces
-
+ Show line endingsShow line endings
-
+ Scroll BehaviourScroll Behavior
-
+ Scroll past end of the documentScroll past end of the document
-
+ Also centres the cursor when scrolling.Also centers the cursor when scrolling.
-
+ Typewriter style scrolling when you typeTypewriter style scrolling when you type
-
+ Keeps the cursor at a fixed vertical position.Keeps the cursor at a fixed vertical position.
-
+ Minimum position for Typewriter scrollingMinimum position for Typewriter scrolling
-
+ Percentage of the editor height from the top.Percentage of the editor height from the top.
@@ -2680,95 +2720,95 @@
GuiPreferencesGeneral
-
+ Look and FeelLook and Feel
-
+ Main GUI languageMain GUI language
-
-
+
+ Requires restart to take effect.Requires restart to take effect.
-
+ Main GUI themeMain GUI theme
-
+ General colour theme and icons.General color theme and icons.
-
+ Editor themeEditor theme
-
+ Colour theme for the editor and viewer.Color theme for the editor and viewer.
-
+ Font familyFont family
-
+ Font sizeFont size
-
+ ptpt
-
+ GUI SettingsGUI Settings
-
+ Emphasise partition and chapter labelsEmphasise partition and chapter labels
-
+ Makes them stand out in the project tree.Makes them stand out in the project tree.
-
+ Show full path in document headerShow full path in document header
-
+ Add the parent folder names to the header.Add the parent folder names to the header.
-
+ Hide vertical scroll bars in main windowsHide vertical scroll bars in main windows
-
-
+
+ Scrolling available with mouse wheel and keys only.Scrolling available with mouse wheel and keys only.
-
+ Hide horizontal scroll bars in main windowsHide horizontal scroll bars in main windows
@@ -2776,109 +2816,109 @@
GuiPreferencesProjects
-
+ Automatic SaveAutomatic Save
-
+ Save document intervalSave document interval
-
+ How often the document is automatically saved.How often the document is automatically saved.
-
+ secondsseconds
-
+ Save project intervalSave project interval
-
+ How often the project is automatically saved.How often the project is automatically saved.
-
+ Project BackupProject Backup
-
+ BrowseBrowse
-
+ Backup storage locationBackup storage location
-
-
+
+ Path: {0}Path: {0}
-
+ Run backup when the project is closedRun backup when the project is closed
-
+ Can be overridden for individual projects in Project Settings.Can be overridden for individual projects in Project Settings.
-
+ Ask before running backupAsk before running backup
-
+ If off, backups will run in the background.If off, backups will run in the background.
-
+ Session TimerSession Timer
-
+ Pause the session timer when not writingPause the session timer when not writing
-
+ Also pauses when the application window does not have focus.Also pauses when the application window does not have focus.
-
+ Editor inactive time before pausing timerEditor inactive time before pausing timer
-
+ User activity includes typing and changing the content.User activity includes typing and changing the content.
-
+ minutesminutes
-
+ Backup DirectoryBackup Directory
@@ -2886,47 +2926,47 @@
GuiPreferencesQuotes
-
+ Quotation StyleQuotation Style
-
+ Single quote open styleSingle quote open style
-
+ The symbol to use for a leading single quote.The symbol to use for a leading single quote.
-
+ Single quote close styleSingle quote close style
-
+ The symbol to use for a trailing single quote.The symbol to use for a trailing single quote.
-
+ Double quote open styleDouble quote open style
-
+ The symbol to use for a leading double quote.The symbol to use for a leading double quote.
-
+ Double quote close styleDouble quote close style
-
+ The symbol to use for a trailing double quote.The symbol to use for a trailing double quote.
@@ -2934,59 +2974,59 @@
GuiPreferencesSyntax
-
+ Quotes & DialogueQuotes & Dialogue
-
+ Highlight text wrapped in quotesHighlight text wrapped in quotes
-
-
+
+ Applies to the document editor only.Applies to the document editor only.
-
+ Allow open-ended single quotesAllow open-ended single quotes
-
+ Highlight single-quoted line with no closing quote.Highlight single-quoted line with no closing quote.
-
+ Allow open-ended double quotesAllow open-ended double quotes
-
+ Highlight double-quoted line with no closing quote.Highlight double-quoted line with no closing quote.
-
+ Text EmphasisText Emphasis
-
+ Add highlight colour to emphasised textAdd highlight color to emphasised text
-
+ Text ErrorsText Errors
-
+ Highlight multiple or trailing spacesHighlight multiple or trailing spaces
@@ -3012,72 +3052,72 @@
GuiProjectDetailsContents
-
+ Table of ContentsTable of Contents
-
+ TitleTitle
-
+ WordsWords
-
+ PagesPages
-
+ PagePage
-
+ ProgressProgress
-
+ Typical word count for a 5 by 8 inch book page with 11 pt font is 350.Typical word count for a 5 by 8 inch book page with 11 pt font is 350.
-
+ Start counting page numbers from this page.Start counting page numbers from this page.
-
+ Assume a new chapter or partition always start on an odd numbered page.Assume a new chapter or partition always start on an odd numbered page.
-
+ Words per pageWords per page
-
+ Count pages fromCount pages from
-
+ Clear double pagesClear double pages
-
+ ENDEND
-
+ UntitledUntitled
@@ -3085,42 +3125,42 @@
GuiProjectDetailsMain
-
+ WordsWords
-
+ ChaptersChapters
-
+ ScenesScenes
-
+ RevisionsRevisions
-
+ Editing TimeEditing Time
-
+ PathPath
-
+ Project: {0}Project: {0}
-
+ By {0}By {0}
@@ -3128,64 +3168,64 @@
GuiProjectEditMain
-
+ Project SettingsProject Settings
-
+ Project nameProject name
-
+ Should be set only once.Should be set only once.
-
+ Novel titleNovel title
-
-
+
+ Change whenever you want!Change whenever you want!
-
+ Author(s)Author(s)
-
+ Project languageProject language
-
+ Used when building the manuscript.Used when building the manuscript.
-
+ DefaultDefault
-
+ Spell check languageSpell check language
-
-
+
+ Overrides main preferences.Overrides main preferences.
-
+ No backup on closeNo backup on close
@@ -3193,27 +3233,27 @@
GuiProjectEditReplace
-
+ Text Replace List for Preview and ExportText Replace List for Preview and Export
-
+ KeywordKeyword
-
+ Replace WithReplace With
-
+ Select item to editSelect item to edit
-
+ SaveSave
@@ -3221,67 +3261,67 @@
GuiProjectEditStatus
-
+ Novel File Status LevelsNovel File Status Levels
-
+ Note File Importance LevelsNote File Importance Levels
-
+ LabelLabel
-
+ UsageUsage
-
+ Select item to editSelect item to edit
-
+ ColourColor
-
+ SaveSave
-
+ Select ColourSelect Color
-
+ New ItemNew Item
-
+ Cannot delete a status item that is in use.Cannot delete a status item that is in use.
-
+ Not in useNot in use
-
+ Used onceUsed once
-
+ Used by {0} itemsUsed by {0} items
@@ -3348,27 +3388,27 @@
GuiProjectSettings
-
+ Project SettingsProject Settings
-
+ SettingsSettings
-
+ StatusStatus
-
+ ImportanceImportance
-
+ Auto-ReplaceAuto-Replace
@@ -3543,37 +3583,37 @@
GuiSideBar
-
+ Project Tree ViewProject Tree View
-
+ Novel Tree ViewNovel Tree View
-
+ Novel Outline ViewNovel Outline View
-
+ Build ManuscriptBuild Manuscript
-
+ Project DetailsProject Details
-
+ Writing StatisticsWriting Statistics
-
+ SettingsSettings
@@ -3615,18 +3655,18 @@
GuiWordList
-
-
+
+ Project Word ListProject Word List
-
+ Cannot add a blank word.Cannot add a blank word.
-
+ The word '{0}' is already in the word list.The word '{0}' is already in the word list.
@@ -3754,27 +3794,27 @@
CSV Data File (.csv)
-
+ JSON Data FileJSON Data File
-
+ CSV Data FileCSV Data File
-
+ Save Data AsSave Data As
-
+ {0} file successfully written to:{0} file successfully written to:
-
+ Failed to write {0} file.Failed to write {0} file.
@@ -4438,27 +4478,27 @@
_DetailsWidget
-
+ SettingSetting
-
+ ValueValue
-
+ NameName
-
+ SelectionSelection
-
+ TitleTitle
@@ -4466,37 +4506,37 @@
_FilterTab
-
+ Included in manuscriptIncluded in manuscript
-
+ Excluded from manuscriptExcluded from manuscript
-
+ Always includedAlways included
-
+ Always excludedAlways excluded
-
+ Reset to defaultReset to default
-
+ Mark selection asMark selection as
-
+ Select Root FoldersSelect Root Folders
@@ -4504,22 +4544,22 @@
_GuiAlert
-
+ InformationInformation
-
+ WarningWarning
-
+ ErrorError
-
+ QuestionQuestion
@@ -4527,65 +4567,65 @@
_HeadingsTab
-
-
+
+ HideHide
-
-
+
+ Editing: {0}Editing: {0}
-
-
+
+ NoneNone
-
+ TitleTitle
-
+ Chapter NumberChapter Number
-
+ Chapter Number (Word)Chapter Number (Word)
-
+ Chapter Number (Upper Case Roman)Chapter Number (Upper Case Roman)
-
+ Chapter Number (Lower Case Roman)Chapter Number (Lower Case Roman)
-
+ Scene Number (In Chapter)Scene Number (In Chapter)
-
+ Scene Number (Absolute)Scene Number (Absolute)
-
+ InsertInsert
-
+ ApplyApply
@@ -4593,27 +4633,27 @@
_PreviewWidget
-
+ Press the "Preview" button to generate ...Press the "Preview" button to generate ...
-
+ Processing ...Processing ...
-
+ DoneDone
-
+ UnknownUnknown
-
+ BuiltBuilt
@@ -4754,12 +4794,12 @@
_ViewPanelBackRefs
-
+ DocumentDocument
-
+ First HeadingFirst Heading
@@ -4767,22 +4807,22 @@
_ViewPanelKeyWords
-
+ TagTag
-
+ DocumentDocument
-
+ HeadingHeading
-
+ Short DescriptionShort Description
diff --git a/i18n/nw_nb_NO.ts b/i18n/nw_nb_NO.ts
index c0d36985..f64e6c71 100644
--- a/i18n/nw_nb_NO.ts
+++ b/i18n/nw_nb_NO.ts
@@ -207,72 +207,72 @@
Common
-
+ in the futurei fremtiden
-
+ just nownå nettopp
-
+ a minute agofor et minutt siden
-
+ {0} minutes agofor {0} minutter siden
-
+ an hour agofor en time siden
-
+ {0} hours agofor {0} timer siden
-
+ a day agofor en dag siden
-
+ {0} days agofor {0} dager siden
-
+ a week agofor en uke siden
-
+ {0} weeks agofor {0} uker siden
-
+ a month agofor en måned siden
-
+ {0} months agofor {0} måneder siden
-
+ a year agofor et år siden
-
+ {0} years agofor {0} år siden
@@ -626,7 +626,7 @@
GuiAbout
-
+ About novelWriterOm novelWriter
@@ -652,27 +652,27 @@
Lisens
-
+ Website: {0}Nettside: {0}
-
+ novelWriter is a markdown-like text editor designed for organising and writing novels. It is written in Python 3 with a Qt5 GUI, using PyQt5.novelWriter er en markdown-liknende teksteditor laget for å kunne organisere og skrive romaner og noveller. Programmet er skrevet i Python 3 med et brukergrensesnitt i Qt 5 via PyQt5.
-
+ novelWriter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.novelWriter er gratis programvare: du kan videredistribuere det og/eller modifisere det under vilkårene i GNU General Public License som utgitt av Free Software Foundation, enten versjon 3 av Lisensen, eller (etter eget valg) enhver senere versjon.
-
+ novelWriter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.novelWriter er distribuert i håp om at det vil være nyttig, men UTEN NOEN GARANTI; uten selv en underforstått garanti vedrørende SALGBARHET eller EGNETHET TIL ET BESTEMT FORMÅL. Se GNU General Public Licence for flere detaljer.
-
+ See the Licence tab for the full licence text, or visit the GNU website at {0} for more details.Se lisens-fanen for fulltekst-versjonen av lisensen (på engelsk), eller besøk GNU sin nettside på {0} for mer informasjon.
@@ -776,32 +776,32 @@
GuiDocEditFooter
-
+ StatusStatus
-
+ Line: {0} ({1})Linje: {0} ({1})
-
+ Words: {0} ({1})Ord: {0} ({1})
-
+ Document size is {0} bytesDokumentet er {0} byte
-
+ Words: {0} selectedOrd: {0} valgt
-
+ Character count: {0}Antall tegn: {0}
@@ -809,22 +809,22 @@
GuiDocEditHeader
-
+ Toggle Tool BarVis/skjul verktøylinje
-
+ SearchSøk
-
+ Toggle Focus ModeSlå av/på "Fokus-modus"
-
+ CloseLukk
@@ -832,58 +832,58 @@
GuiDocEditSearch
-
-
+
+ SearchSøk
-
+ ReplaceErstatt
-
+ Case SensitiveSkill store/små bokstaver
-
+ Whole Words OnlyKun hele ord
-
+ RegEx ModeRegEx-modus
-
+ Loop SearchSøk rundt
-
+ Search Next FileSøk i neste file
-
+ Preserve CaseBehold store/små bokstaver
-
+ Close SearchLukk søk
-
+ Find in current documentSøk i det åpne dokumentet
-
+ Find and replace in current documentSøk og erstatt i det åpne dokumentet
@@ -891,127 +891,127 @@
GuiDocEditor
-
+ Opened Document: {0}Åpnet dokument: {0}
-
+ This document has been changed outside of novelWriter while it was open. Overwrite the file on disk?Dette dokumentet er endret utenfor novelWriter mens det var åpent. Overskrive filen på disken?
-
+ Could not save document.Kunne ikke lagre dokumentet.
-
+ Saved Document: {0}Lagret dokument: {0}
-
+ Spell checking requires the package PyEnchant. It does not appear to be installed.Stavekontroll krever at pakken PyEnchant er installert. Det ser det ikke ut til at den er.
-
+ Spell check completeStavekontrollen er ferdig
-
+ Document DetailsDokumentdetaljer
-
+ Created: {0}Opprettet: {0}
-
+ Updated: {0}Oppdatert: {0}
-
+ File Location: {0}Filplassering: {0}
-
+ Set as Document NameSett som dokumentnavn
-
+ Follow TagFølg knagg
-
+ Create Note for TagOpprett notat for knagg
-
+ CutKlipp
-
+ CopyKopier
-
+ PasteLim inn
-
+ Select AllVelg hele teksten
-
+ Select WordVelg hele ordet
-
+ Select ParagraphVelg hele avsnittet
-
+ Spelling Suggestion(s)Forslag fra stavekontrollen
-
+ No SuggestionsIngen forslag
-
+ Add Word to DictionaryLegg til ord i ordbok
-
+ Please select some text before calling replace quotes.Venligst velg en del av teksten før du velger å erstatte sitattegn.
-
+ Do you want to create a new project note for the tag '{0}'?Vil du opprette et nytt prosjektnotat for knaggen '{0}'?
-
+ Could not create note in a root folder for '{0}'. If one doesn't exist, you must create one first.Kunne ikke opprette et notat i en rotmappe for '{0}'. Hvis en slik ikke eksisterer, må du opprette en først.
@@ -1019,22 +1019,22 @@
GuiDocMerge
-
+ Merge DocumentsSlå sammen dokumenter
-
+ Documents to MergeDokumenter som skal slås sammen
-
+ Drag and drop items to change the order, or uncheck to exclude.Dra og slipp elementer for å endre rekkefølgen, eller fjern merking for å ekskludere.
-
+ Move merged items to TrashFlytt sammenslåtte elementer til papirkurven
@@ -1042,52 +1042,52 @@
GuiDocSplit
-
+ Split DocumentDel opp dokument
-
+ Document HeadersDokumentets overskrifter
-
+ Select the maximum level to split into files.Velg hvilket nivå av overskrifter å dele opp til.
-
+ Split on Header Level 1 (Title)Del på overskrifter på nivå 1 (titler)
-
+ Split up to Header Level 2 (Chapter)Del på overskrifter opp til nivå 2 (kapitler)
-
+ Split up to Header Level 3 (Scene)Del på overskrifter opp til nivå 3 (scener)
-
+ Split up to Header Level 4 (Section)Del på overskrifter opp til nivå 4 (seksjoner)
-
+ Split into a new folderDel inn i en ny mappe
-
+ Create document hierarchyOpprett dokumenthierarki
-
+ Move split document to TrashFlytt splittet element til papirkurven
@@ -1095,58 +1095,98 @@
GuiDocToolBar
-
- Toggle Markdown or Shortcodes Mode
- Vis/skjul Markdown eller kortkode-modus
+
+ Markdown Bold
+ Fet skrift med Markdown
+
+
+
+ Markdown Italic
+ Kursiv med Markdown
+
+
+
+ Markdown Strikethrough
+ Gjennomstrek med Markdown
+
+
+
+ Shortcode Bold
+ Fet skrift med kortkode
+
+
+
+ Shortcode Italic
+ Kursiv med kortkode
+
+
+
+ Shortcode Strikethrough
+ Gjennomstrek med kortkode
+
+
+
+ Shortcode Underline
+ Understrek med kortkode
+
+
+
+ Shortcode Superscript
+ Hevet skrift med kortkode
+
+
+
+ Shortcode Subscript
+ Senket skrift med kortkodeGuiDocViewFooter
-
+ Show/Hide Viewer PanelVis/skjul visningspanelet
-
- Show Comments
- Vis kommentarer
-
-
-
- Show Synopsis Comments
- Vis sammendrag
-
-
-
+ CommentsKommentarer
-
+
+ Show Comments
+ Vis kommentarer
+
+
+ SynopsisSammendrag
+
+
+ Show Synopsis Comments
+ Vis sammendrag
+ GuiDocViewHeader
-
+ Go BackwardGå bakover
-
+ Go ForwardGå fremover
-
+ ReloadOppdater
-
+ CloseLukk
@@ -1190,12 +1230,12 @@
GuiEditLabel
-
+ Item LabelEnhetens navn
-
+ LabelNavn
@@ -1269,123 +1309,123 @@
GuiMain
-
+ novelWriter is ready ...novelWriter er klar ...
-
+ Cannot create a new project when another project is open.Kan ikke lage et nytt prosjekt mens et annet prosjekt er åpent.
-
+ A project already exists in that location. Please choose another folder.Et prosjekt finnes allerede i den mappen. Vennligst velg et annet sted å lagre prosjektet.
-
+ Close the current project?Ønsker du å lukke dette prosjektet?
-
-
+
+ Changes are saved automatically.Endringer lagres automatisk.
-
+ Backup the current project?Ønsker du å ta sikkerhetskopi av dette prosjektet?
-
+ The project is already open by another instance of novelWriter, and is therefore locked. Override lock and continue anyway?Prosjektet er allerede åpent av en annen instans av novelWriter, og er derfor låst. Vil du overstyre denne låsen og fortsette likevel?
-
+ Note: If the program or the computer previously crashed, the lock can safely be overridden. However, overriding it is not recommended if the project is open in another instance of novelWriter. Doing so may corrupt the project.Merk: Hvis programmet eller datamaskinen tidligere krasjet, kan fil-låsen trygt overstyres. Det anbefales imidlertid ikke å overstyre den hvis prosjektet er åpent i en annen instans av novelWriter. Å gjøre det kan skape konflikter i prosjektets filer.
-
+ The project was locked by the computer '{0}' ({1} {2}), last active on {3}.Prosjektet er låst av datamaskinen {0} ({1} {2}), siste registrerte aktivitet var {3}.
-
+ The project index is outdated or broken. Rebuilding index.Prosjektets indeks er utdatert eller skadet. Bygger indeksen på nytt.
-
+ Text files ({0})Tekstfiler ({0})
-
+ Markdown files ({0})Markdown-filer ({0})
-
+ novelWriter files ({0})novelWriter-filer ({0})
-
+ All files ({0})Alle filer ({0})
-
+ Import FileImporter fil
-
+ Could not read file. The file must be an existing text file.Kunne ikke lese filen. Filen må eksistere fra før av.
-
+ Please open a document to import the text file into.Vennligst åpne et dokument hvor teksten i filen kan importeres.
-
+ Importing the file will overwrite the current content of the document. Do you want to proceed?Å importere filen vil overskrive all eksisterende tekst i dokumentet. Ønsker du å fortsette?
-
+ Indexing completed in {0} msIndekseringen tok {0} ms
-
+ The project index has been successfully rebuilt.Prosjektets indeks har blitt bygget på nytt.
-
- Some changes will not be applied until novelWriter has been restarted.
- Noen endringer vil ikke tas i bruk før neste gang novelWriter startes.
-
-
-
+ Could not initialise the dialog.Kunne ikke initialisere dialogen.
-
+ Do you want to exit novelWriter?Ønsker du å avslutte novelWriter?
-
+
+ Some changes will not be applied until novelWriter has been restarted.
+ Noen endringer vil ikke tas i bruk før neste gang novelWriter startes.
+
+
+ Could not find the reference for tag '{0}'. It either doesn't exist, or the index is out of date. The index can be updated from the Tools menu, or by pressing {1}.Kunne ikke finne referansen til knagg {0}. Enten finnes den ikke, eller så er prosjektets indeks ikke oppdatert. Indeksen kan oppdateres fra Verktøy-menyen eller ved å trykke på {1}.
@@ -1393,647 +1433,647 @@
GuiMainMenu
-
+ &Project&Prosjekt
-
+ New ProjectNytt prosjekt
-
+ Open ProjectÅpne prosjekt
-
+ Save ProjectLagre prosjektet
-
+ Close ProjectLukk prosjektet
-
+ Project SettingsProsjektinnstillinger
-
+ Project DetailsProsjektdetaljer
-
+ Rename ItemEndre navn
-
+ Delete ItemSlett enhet
-
+ Empty TrashTøm søppel
-
+ ExitAvslutt
-
+ &Document&Dokument
-
+ Open DocumentÅpne dokument
-
+ Save DocumentLagre dokumentet
-
+ Close DocumentLukk dokumentet
-
+ View DocumentVis dokument
-
+ Close Document ViewLukk dokumentvisning
-
+ Show File DetailsVis filinformasjon
-
+ Import Text from FileImporter tekst fra fil
-
+ &Edit&Rediger
-
+ UndoAngre
-
+ RedoGjenopprett
-
+ CutKlipp
-
+ CopyKopier
-
+ PasteLim inn
-
+ Select AllVelg hele teksten
-
+ Select ParagraphVelg hele avsnittet
-
+ &View&Vis
-
+ Go to Project TreeGå til prosjekt-tre
-
+ Go to Document EditorGå til dokument-editor
-
+ Go to OutlineGå til disposisjon
-
+ Navigate BackwardNavigere bakover
-
+ Navigate ForwardNavigere fremover
-
+ Focus ModeFocus-modus
-
+ Full Screen ModeFullskjerm-modus
-
+ &InsertSett &inn
-
+ DashesBindestreker
-
+ Short DashKort bindestrek
-
+ Long DashLang bindestrek
-
+ Horizontal BarHorisontal strek
-
+ Figure DashTallstrek
-
+ Quote MarksSitattegn
-
+ Left Single QuoteVenstre, enkelt sitattegn
-
+ Right Single QuoteHøyre, enkelt sitattegn
-
+ Left Double QuoteVenstre, dobbelt sitattegn
-
+ Right Double QuoteHøyre, dobbelt sitattegn
-
+ Alternative ApostropheAlternativ apostrof
-
+ General PunctuationGenerell tegnsetting
-
+ EllipsisEllipsis
-
+ PrimePrimtegn
-
+ Double PrimeDobbelt primtegn
-
+ White SpacesMellomrom
-
+ Non-Breaking SpaceHardt mellomrom
-
+ Thin SpaceKort mellomrom
-
+ Thin Non-Breaking SpaceHardt, kort mellomrom
-
+ Other SymbolsAndre symboler
-
+ List BulletKulepunkt
-
+ Hyphen BulletBindestrekpunkt
-
+ Flower MarkBlomsterpunkt
-
+ Per MillePromille
-
+ Degree SymbolGradertegn
-
+ Minus SignMinustegn
-
+ Times SignGangetegn
-
+ Division SignDeletegn
-
+ Tags and ReferencesKnagger og referanser
-
+ Special CommentsAndre kommentartyper
-
+ Synopsis CommentKommentar med sammendrag
-
+ Short Description CommentKommentar for kort beskrivelse
-
+ Page Break and SpaceSideskift og avstand
-
+ Page BreakSideskift
-
+ Vertical Space (Single)Vertikal avstand (enkel)
-
+ Vertical Space (Multi)Vertikal avstand (flere)
-
+ Placeholder TextMidlertidig tekst
-
+ &Format&Formattering
-
- Emphasis
+
+ Bold
+ Fet
+
+
+
+ ItalicKursiv
-
- Strong Emphasis
- Uthev
-
-
-
+ StrikethroughGjennomstrek
-
+ Wrap Double QuotesSett i doble sitattegn
-
+ Wrap Single QuotesSett i enkle sitattegn
-
+ More Formats ...Flere formater ...
-
+ Italics (Shortcode)Kursiv (kortkode)
-
+ Bold (Shortcode)Fet (kortkode)
-
+ Strikethrough (Shortcode)Gjennomstrek (Kortkode)
-
+ UnderlineUnderstrek
-
+ SuperscriptHevet skrift
-
+ SubscriptSenket skrift
-
+ Header 1 (Partition)Overskrift 1 (inndeling)
-
+ Header 2 (Chapter)Overskrift 2 (kapittel)
-
+ Header 3 (Scene)Overskrift 3 (scene)
-
+ Header 4 (Section)Overskrift 4 (seksjon)
-
+ Novel TitleBoktittel
-
+ Unnumbered ChapterUnumrert kapittel
-
+ Align LeftVenstrejuster
-
+ Align CentreSentrer
-
+ Align RightHøyrejuster
-
+ Indent LeftInnrykk fra venstre
-
+ Indent RightInnrykk fra høyre
-
+ Toggle CommentVeksle kommentar
-
+ Remove Block FormatFjern formattering
-
+ Convert Single QuotesKonverter enkle sitattegn
-
+ Convert Double QuotesKonverter doble sitattegn
-
+ Remove In-Paragraph BreaksFjern linjeskift i avsnittet
-
+ &Search&Søk
-
+ FindSøk
-
+ ReplaceErstatt
-
+ Find NextFinn neste
-
+ Find PreviousFinn forrige
-
+ Replace NextErstatt neste
-
+ &Tools&Verktøy
-
+ Check SpellingStavekontroll
-
+ Spell Check LanguageSpråk for stavekontroll
-
+ DefaultIngen valg
-
+ Re-Run Spell CheckKjør stavekontroll
-
+ Project Word ListProsjektets ordliste
-
+ Add DictionariesLegg til ordbøker
-
+ Rebuild IndexBygg indeks
-
+ Backup ProjectLag sikkerhetskopi av prosjektets mappe
-
+ Build ManuscriptBygg manuskript
-
+ Writing StatisticsStatistikk
-
+ PreferencesInnstillinger
-
+ &Help&Hjelp
-
+ About novelWriterOm novelWriter
-
+ About Qt5Om Qt5
-
+ User Manual (Online)Brukermanual (på nett)
-
+ User Manual (PDF)Brukermanual (PDF)
-
+ Report an Issue (GitHub)Rapporter en feil (GitHub)
-
+ Ask a Question (GitHub)Still et spørsmål (GitHub)
-
+ The novelWriter WebsitenovelWriters nettside
-
+ Check for New ReleaseSjekk etter oppdateringer
@@ -2041,38 +2081,38 @@
GuiMainStatus
-
-
+
+ NoneIngen
-
+ EditorEditor
-
+ ProjectProsjekt
-
+ Session TimeTid brukt i gjeldende sesjon
-
+ Words: {0} ({1})Ord: {0} ({1})
-
+ Project word count (session change)Antall ord i prosjektet (endring i denne sesjonen)
-
+ Novel word count (session change)Antall ord i roman-teksten (endring i denne sesjonen)
@@ -2192,58 +2232,58 @@
GuiNovelToolBar
-
+ Outline of {0}Innhold i {0}
-
+ Novel RootRoman-mappe
-
+ RefreshOppdatér
-
+ Last ColumnSiste kolonne
-
+ HiddenSkjult
-
+ Point of View CharacterSynsvinkel-karakter
-
+ Focus CharacterFokus-karakter
-
+ Novel PlotRoman-plott
-
-
+
+ Column SizeKolonnebredde
-
+ More OptionsFlere valg
-
+ Maximum column size in %Maksimal kolonnebredde i %
@@ -2251,7 +2291,7 @@
GuiNovelTree
-
+ No meta dataIngen meta-data
@@ -2259,65 +2299,65 @@
GuiOutlineDetails
-
-
-
-
+
+
+
+ TitleTittel
-
+ ChapterKapittel
-
+ SceneScene
-
+ SectionSeksjon
-
+ DocumentDokument
-
+ StatusStatus
-
+ CharactersTegn
-
+ WordsOrd
-
+ ParagraphsAvsnitt
-
+ SynopsisSammendrag
-
+ Title DetailsOversikt
-
+ Reference TagsReferanser
@@ -2325,7 +2365,7 @@
GuiOutlineHeaderMenu
-
+ Select ColumnsVelg kolonner
@@ -2346,42 +2386,42 @@
GuiPreferences
-
+ PreferencesInnstillinger
-
+ GeneralGenerelt
-
+ ProjectsProsjekt
-
+ DocumentsDokument
-
+ EditorEditor
-
+ HighlightingFremheving
-
+ AutomationAutomasjon
-
+ QuotesSitattegn
@@ -2389,103 +2429,103 @@
GuiPreferencesAutomation
-
+ Automatic FeaturesAutomatiske funksjoner
-
+ Auto-select word under cursorAuto-velg ord under markør
-
+ Apply formatting to word under cursor if no selection is made.Hvis ingen tekst er valgt, formatter ordet hvor markøren står.
-
+ Auto-replace text as you typeErstatt mens du skriver
-
+ Allow the editor to replace symbols as you type.La editoren erstatte symboler mens du skriver.
-
+ Replace as You TypeErstatt mens du skriver
-
+ Auto-replace single quotesErstatt enkle sitattegn
-
-
+
+ Try to guess which is an opening or a closing quote.Prøv å gjette om det er et åpne- eller lukketegn.
-
+ Auto-replace double quotesErstatt doble sitattegn
-
+ Auto-replace dashesErstatt bindestreker
-
+ Double and triple hyphens become short and long dashes.To og tre bindestreker erstattes med kort og lang bindestrek.
-
+ Auto-replace dotsErstatt tre punktum
-
+ Three consecutive dots become ellipsis.Tre punktum på rad erstattes med ellipsis.
-
+ Automatic PaddingAutomatisk mellomrom
-
+ Insert non-breaking space beforeSett inn hardt mellomrom foran
-
+ Automatically add space before any of these symbols.Legg til mellomrom automatisk foran disse tegnene.
-
+ Insert non-breaking space afterSett inn hardt mellomrom etter
-
+ Automatically add space after any of these symbols.Legg til mellomrom automatisk etter disse tegnene.
-
+ Use thin space insteadBruk tynt mellomrom istedet
-
+ Inserts a thin space instead of a regular space.Sett inn et tynt mellomrom istedenfor et vanlig et.
@@ -2493,93 +2533,93 @@
GuiPreferencesDocuments
-
+ Text StyleTekststil
-
+ Font familySkriftfamilie
-
-
-
+
+
+ Applies to both document editor and viewer.Gjelder både redigerings- og visningsvindu.
-
+ Font sizeSkriftstørrelse
-
+ ptpt
-
+ Text FlowTekstflyt
-
+ Maximum text width in "Normal Mode"Maks tekstbredde i "Normal-modus"
-
+ Set to 0 to disable this feature.Sett til 0 for å deaktivere denne funksjonen.
-
-
+
+ pxpx
-
+ Maximum text width in "Focus Mode"Maks tekstbredde i "Fokus-modus"
-
+ The maximum width cannot be disabled.Denne maks-bredden kan ikke deaktiveres.
-
+ Hide document footer in "Focus Mode"Gjem dokumentets bunnlinje i "Fokus-modus"
-
+ Hide the information bar in the document editor.Skjul informasjonslinjen i dokumenteditoren.
-
+ Justify the text marginsJuster tekstmarginer
-
+ Minimum text marginMinimum tekstmargin
-
+ Tab widthTabulatorens bredde
-
+ The width of a tab key press in the editor and viewer.Hvor langt tabulatoren hopper i editor og visning.
@@ -2587,92 +2627,92 @@
GuiPreferencesEditor
-
+ Spell CheckingStavekontroll
-
+ NoneIngen
-
+ Spell check languageSpråk for stavekontroll
-
+ Available languages are determined by your system.Tilgjengelige språk hentes fra operativystemet ditt.
-
+ Word CountTelling av ord
-
+ Word count intervalTelle-intervall
-
+ secondssekunder
-
+ Include project notes in status bar word countInkluder prosjektnotater i antallet ord i statuslinjen
-
+ Writing GuidesHjelpesymboler
-
+ Show tabs and spacesSynlige tabulatorer og mellomrom
-
+ Show line endingsSynlige linjeender
-
+ Scroll BehaviourRullefelt
-
+ Scroll past end of the documentTillat å rulle forbi slutten av dokumentet
-
+ Also centres the cursor when scrolling.Sentrerer også markøren når man ruller.
-
+ Typewriter style scrolling when you typeSkrivemaskin-liknende rulling mens du skriver
-
+ Keeps the cursor at a fixed vertical position.Holder markøren på samme sted vertikalt.
-
+ Minimum position for Typewriter scrollingMinste avstand for skrivemaskin-rulling
-
+ Percentage of the editor height from the top.I prosent fra toppen av editor-vinduet.
@@ -2680,95 +2720,95 @@
GuiPreferencesGeneral
-
+ Look and FeelUtseende
-
+ Main GUI languageProgramspråk
-
-
+
+ Requires restart to take effect.Krever omstart for å tre i kraft.
-
+ Main GUI themeFargetema
-
+ General colour theme and icons.Generelt fargetema og ikoner.
-
+ Editor themeSyntaksfremheving
-
+ Colour theme for the editor and viewer.Fargetema for editor og visning.
-
+ Font familySkriftfamilie
-
+ Font sizeSkriftstørrelse
-
+ ptpt
-
+ GUI SettingsBrukergrensesnitt
-
+ Emphasise partition and chapter labelsFremhev filnavn for inndeling og kapitler
-
+ Makes them stand out in the project tree.Får dem til å skille seg ut i prosjekttreet.
-
+ Show full path in document headerVis full prosjektbane i dokumenthoder
-
+ Add the parent folder names to the header.Legger til mappene foran dokumentets navn.
-
+ Hide vertical scroll bars in main windowsSkjul vertikale rullefelt i hovedvinduer
-
-
+
+ Scrolling available with mouse wheel and keys only.Rulling kan bare gjøres med mus og tastatur.
-
+ Hide horizontal scroll bars in main windowsSkjul horisontale rullefelt i hovedvinduer
@@ -2776,109 +2816,109 @@
GuiPreferencesProjects
-
+ Automatic SaveAutomatisk lagring
-
+ Save document intervalInterval for lagring av dokument
-
+ How often the document is automatically saved.Hvor ofte dokumentet lagres automatisk.
-
+ secondssekunder
-
+ Save project intervalInterval for lagring av prosjekt
-
+ How often the project is automatically saved.Hvor ofte prosjektet lagres automatisk.
-
+ Project BackupSikkerhetskopi
-
+ BrowseBla
-
+ Backup storage locationFilbane for sikkerhetskopi
-
-
+
+ Path: {0}Filbane: {0}
-
+ Run backup when the project is closedLag sikkerhetskopi når prosjektet lukkes
-
+ Can be overridden for individual projects in Project Settings.Kan overstyres fra individuelle prosjektinnstillinger.
-
+ Ask before running backupSpør før sikkerhetskopi tas
-
+ If off, backups will run in the background.Hvis avslått, tas sikkerhetskopi automatisk.
-
+ Session TimerSesjons-klokke
-
+ Pause the session timer when not writingSett klokka på pause når du er inaktiv
-
+ Also pauses when the application window does not have focus.Pauses også når du ikke jobber i applikasjonens vindu.
-
+ Editor inactive time before pausing timerTid uten skriving før klokka settes på pause
-
+ User activity includes typing and changing the content.Dette måler kun endringer i teksteditoren.
-
+ minutesminutter
-
+ Backup DirectoryMappe for sikkerhetskopi
@@ -2886,47 +2926,47 @@
GuiPreferencesQuotes
-
+ Quotation StyleSitattegn
-
+ Single quote open styleEnkelt sitat, venstre side
-
+ The symbol to use for a leading single quote.Symbol for enkelt sitattegn før et sitat.
-
+ Single quote close styleEnkelt sitat, høyre side
-
+ The symbol to use for a trailing single quote.Symbol for enkelt sitattegn etter et sitat.
-
+ Double quote open styleDobbelt sitat, venstre side
-
+ The symbol to use for a leading double quote.Symbol for dobbelt sitattegn før et sitat.
-
+ Double quote close styleDobbelt sitat, høyre side
-
+ The symbol to use for a trailing double quote.Symbol for dobbelt sitattegn etter et sitat.
@@ -2934,59 +2974,59 @@
GuiPreferencesSyntax
-
+ Quotes & DialogueSitattegn & dialog
-
+ Highlight text wrapped in quotesFremhev tekst mellom sitattegn
-
-
+
+ Applies to the document editor only.Gjelder bare for redigeringsvindu.
-
+ Allow open-ended single quotesTillat enkle sitattegn som ikke lukkes
-
+ Highlight single-quoted line with no closing quote.Fremhev sitater som ikke er lukket i samme avsnitt.
-
+ Allow open-ended double quotesTillat doble sitattegn som ikke lukkes
-
+ Highlight double-quoted line with no closing quote.Fremhev sitater som ikke er lukket i samme avsnitt.
-
+ Text EmphasisFremheving av tekst
-
+ Add highlight colour to emphasised textFremhev formattert tekst
-
+ Text ErrorsFeil i tekst
-
+ Highlight multiple or trailing spacesFremhev flere eller etterfølgende mellomrom
@@ -3012,72 +3052,72 @@
GuiProjectDetailsContents
-
+ Table of ContentsInnholdsfortegnelse
-
+ TitleTittel
-
+ WordsOrd
-
+ PagesSider
-
+ PageSide
-
+ ProgressFremdrift
-
+ Typical word count for a 5 by 8 inch book page with 11 pt font is 350.Typisk antall ord for en 5 x 8 tommers bokside med 11 pt tekst er 350.
-
+ Start counting page numbers from this page.Begynn sidetall fra denne siden.
-
+ Assume a new chapter or partition always start on an odd numbered page.Beregn at nye kapitler og partisjoner alltid starter på en høyreside.
-
+ Words per pageOrd per side
-
+ Count pages fromTell sider fra
-
+ Clear double pagesTøm doble sider
-
+ ENDSLUTT
-
+ UntitledUten tittel
@@ -3085,42 +3125,42 @@
GuiProjectDetailsMain
-
+ WordsOrd
-
+ ChaptersKapitler
-
+ ScenesScener
-
+ RevisionsRevisjoner
-
+ Editing TimeRedigeringstid
-
+ PathFilbane
-
+ Project: {0}Prosjekt: {0}
-
+ By {0}Av {0}
@@ -3128,64 +3168,64 @@
GuiProjectEditMain
-
+ Project SettingsProsjektinnstillinger
-
+ Project nameProsjektnavn
-
+ Should be set only once.Bør bare settes én gang.
-
+ Novel titleBokens tittel
-
-
+
+ Change whenever you want!Kan endres når som helst!
-
+ Author(s)Forfatter(e)
-
+ Project languageProsjektets språk
-
+ Used when building the manuscript.Brukes ved bygging av manuskript.
-
+ DefaultIngen valg
-
+ Spell check languageSpråk for stavekontroll
-
-
+
+ Overrides main preferences.Overstyrer valg i innstillinger.
-
+ No backup on closeSlå av sikkerhetskopi
@@ -3193,27 +3233,27 @@
GuiProjectEditReplace
-
+ Text Replace List for Preview and ExportErstatningsliste for forhåndsvisning og eksport
-
+ KeywordKodeord
-
+ Replace WithErstatt med
-
+ Select item to editVelg enhet å redigere
-
+ SaveLagre
@@ -3221,67 +3261,67 @@
GuiProjectEditStatus
-
+ Novel File Status LevelsStatusnivåer i roman-filer
-
+ Note File Importance LevelsViktighetsnivåer i notatfiler
-
+ LabelNavn
-
+ UsageBruk
-
+ Select item to editVelg enhet å redigere
-
+ ColourFarge
-
+ SaveLagre
-
+ Select ColourVelg farge
-
+ New ItemLegg til
-
+ Cannot delete a status item that is in use.Kan ikke slette status som er i bruk.
-
+ Not in useIkke i bruk
-
+ Used onceBrukt ett sted
-
+ Used by {0} itemsBrukt {0} steder
@@ -3348,27 +3388,27 @@
GuiProjectSettings
-
+ Project SettingsProsjektinnstillinger
-
+ SettingsInnstillinger
-
+ StatusStatus
-
+ ImportanceViktighet
-
+ Auto-ReplaceAutoerstatt
@@ -3543,37 +3583,37 @@
GuiSideBar
-
+ Project Tree ViewProsjektoversikt
-
+ Novel Tree ViewRomanoversikt
-
+ Novel Outline ViewDisposisjon
-
+ Build ManuscriptBygg manuskript
-
+ Project DetailsProsjektdetaljer
-
+ Writing StatisticsStatistikk
-
+ SettingsOppsett
@@ -3615,18 +3655,18 @@
GuiWordList
-
-
+
+ Project Word ListProsjektets ordliste
-
+ Cannot add a blank word.Kan ikke legge til et tomt ord.
-
+ The word '{0}' is already in the word list.Ordet {0} ligger allerede i ordlisten.
@@ -3754,27 +3794,27 @@
CSV-format (.csv)
-
+ JSON Data FileJSON-format
-
+ CSV Data FileCSV-format
-
+ Save Data AsLagre data som
-
+ {0} file successfully written to:{0}-filen ble skrevet til:
-
+ Failed to write {0} file.Kunne ikke skrive {0}-filen.
@@ -4438,27 +4478,27 @@
_DetailsWidget
-
+ SettingInnstilling
-
+ ValueVerdi
-
+ NameNavn
-
+ SelectionUtvalg
-
+ TitleTittel
@@ -4466,37 +4506,37 @@
_FilterTab
-
+ Included in manuscriptInkludert i manuskript
-
+ Excluded from manuscriptEkskludert fra manuskript
-
+ Always includedAlltid inkludert
-
+ Always excludedAlltid ekskludert
-
+ Reset to defaultTilbakestill til standard
-
+ Mark selection asMerk utvalg som
-
+ Select Root FoldersVelg hovedmapper
@@ -4504,22 +4544,22 @@
_GuiAlert
-
+ InformationInformasjon
-
+ WarningAdvarsel
-
+ ErrorFeil
-
+ QuestionSpørsmål
@@ -4527,65 +4567,65 @@
_HeadingsTab
-
-
+
+ HideSkjul
-
-
+
+ Editing: {0}Redigerer: {0}
-
-
+
+ NoneIngen
-
+ TitleTittel
-
+ Chapter NumberKapittelnummer
-
+ Chapter Number (Word)Kapittelnummer (som ord)
-
+ Chapter Number (Upper Case Roman)Kapittelnummer (store romertall)
-
+ Chapter Number (Lower Case Roman)Kapittelnummer (små romertall)
-
+ Scene Number (In Chapter)Scenenummer (i kapittel)
-
+ Scene Number (Absolute)Scenenummer (absolutt)
-
+ InsertSett inn
-
+ ApplyAnvend
@@ -4593,27 +4633,27 @@
_PreviewWidget
-
+ Press the "Preview" button to generate ...Trykk på "Forhåndsvisning"-knappen for å generere ...
-
+ Processing ...Behandler ...
-
+ DoneFerdig
-
+ UnknownUkjent
-
+ BuiltBygget
@@ -4754,12 +4794,12 @@
_ViewPanelBackRefs
-
+ DocumentDokument
-
+ First HeadingFørste overskrift
@@ -4767,22 +4807,22 @@
_ViewPanelKeyWords
-
+ TagKnagg
-
+ DocumentDokument
-
+ HeadingOverskrift
-
+ Short DescriptionKort beskrivelse
diff --git a/novelwriter/assets/i18n/project_es_419.json b/novelwriter/assets/i18n/project_es_419.json
index 44ca29c3..e0ac7caa 100644
--- a/novelwriter/assets/i18n/project_es_419.json
+++ b/novelwriter/assets/i18n/project_es_419.json
@@ -1,7 +1,18 @@
{
"Synopsis": "Sinopsis",
+ "Short Description": "Breve Descripción",
"Comment": "Comentario",
"Notes": "Notas",
+ "Tag": "Etiqueta",
+ "Point of View": "Punto de Vista",
+ "Focus": "Foco",
+ "Characters": "Personajes",
+ "Plot": "Argumento",
+ "Timeline": "Línea de Tiempo",
+ "Locations": "Lugares",
+ "Objects": "Objetos",
+ "Entities": "Entidades",
+ "Custom": "Otros",
"0": "Cero",
"1": "Uno",
"2": "Dos",
diff --git a/novelwriter/assets/i18n/project_fr_FR.json b/novelwriter/assets/i18n/project_fr_FR.json
index 5f81473a..8e134e0c 100644
--- a/novelwriter/assets/i18n/project_fr_FR.json
+++ b/novelwriter/assets/i18n/project_fr_FR.json
@@ -1,7 +1,18 @@
{
"Synopsis": "Synopsis",
+ "Short Description": "Description sommaire",
"Comment": "Commentaire",
"Notes": "Notes",
+ "Tag": "Étiquette",
+ "Point of View": "Point de vue",
+ "Focus": "Focus",
+ "Characters": "Personnages",
+ "Plot": "Intrigue",
+ "Timeline": "Chronologie",
+ "Locations": "Lieux",
+ "Objects": "Objets",
+ "Entities": "Entités",
+ "Custom": "Personnalisé",
"0": "Zero",
"1": "Un",
"2": "Deux",
diff --git a/novelwriter/assets/i18n/project_it_IT.json b/novelwriter/assets/i18n/project_it_IT.json
index e9f9bcaa..2de0c507 100644
--- a/novelwriter/assets/i18n/project_it_IT.json
+++ b/novelwriter/assets/i18n/project_it_IT.json
@@ -1,7 +1,18 @@
{
"Synopsis": "Sinossi",
+ "Short Description": "Breve descrizione",
"Comment": "Commento",
"Notes": "Note",
+ "Tag": "Etichetta",
+ "Point of View": "Punto di vista",
+ "Focus": "Focus",
+ "Characters": "Personaggi",
+ "Plot": "Trama",
+ "Timeline": "Sequenza temporale",
+ "Locations": "Luoghi",
+ "Objects": "Oggetti",
+ "Entities": "Enti",
+ "Custom": "Personalizzato",
"0": "Zero",
"1": "Uno",
"2": "Due",
From 9f1e2d322ec525e4cb08cc5d4bda28ba02e21699 Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Sun, 3 Dec 2023 17:55:12 +0100
Subject: [PATCH 6/7] Re-order formats menu to be consistent with toolbar
---
novelwriter/gui/mainmenu.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/novelwriter/gui/mainmenu.py b/novelwriter/gui/mainmenu.py
index 6d116596..a2a3f0e5 100644
--- a/novelwriter/gui/mainmenu.py
+++ b/novelwriter/gui/mainmenu.py
@@ -652,18 +652,18 @@ class GuiMainMenu(QMenuBar):
# Shortcodes
self.mShortcodes = self.fmtMenu.addMenu(self.tr("More Formats ..."))
- # Shortcode Italic
- self.aScItalic = self.mShortcodes.addAction(self.tr("Italics (Shortcode)"))
- self.aScItalic.triggered.connect(
- lambda: self.requestDocAction.emit(nwDocAction.SC_ITALIC)
- )
-
# Shortcode Bold
self.aScBold = self.mShortcodes.addAction(self.tr("Bold (Shortcode)"))
self.aScBold.triggered.connect(
lambda: self.requestDocAction.emit(nwDocAction.SC_BOLD)
)
+ # Shortcode Italic
+ self.aScItalic = self.mShortcodes.addAction(self.tr("Italics (Shortcode)"))
+ self.aScItalic.triggered.connect(
+ lambda: self.requestDocAction.emit(nwDocAction.SC_ITALIC)
+ )
+
# Shortcode Strikethrough
self.aScStrike = self.mShortcodes.addAction(self.tr("Strikethrough (Shortcode)"))
self.aScStrike.triggered.connect(
From 553b76cafce60e21799849f606e300e7b2f6b8b0 Mon Sep 17 00:00:00 2001
From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com>
Date: Sun, 3 Dec 2023 18:58:01 +0100
Subject: [PATCH 7/7] Update en_US and nb_NO translations
---
i18n/nw_en_US.ts | 21 +++++++++++++--------
i18n/nw_nb_NO.ts | 21 +++++++++++++--------
2 files changed, 26 insertions(+), 16 deletions(-)
diff --git a/i18n/nw_en_US.ts b/i18n/nw_en_US.ts
index 69efc0af..38b9191e 100644
--- a/i18n/nw_en_US.ts
+++ b/i18n/nw_en_US.ts
@@ -1834,13 +1834,13 @@
- Italics (Shortcode)
- Italics (Shortcode)
+ Bold (Shortcode)
+ Bold (Shortcode)
- Bold (Shortcode)
- Bold (Shortcode)
+ Italics (Shortcode)
+ Italics (Shortcode)
@@ -4807,22 +4807,27 @@
_ViewPanelKeyWords
-
+ TagTag
-
+
+ Importance
+ Importance
+
+
+ DocumentDocument
-
+ HeadingHeading
-
+ Short DescriptionShort Description
diff --git a/i18n/nw_nb_NO.ts b/i18n/nw_nb_NO.ts
index f64e6c71..bc7ebf7c 100644
--- a/i18n/nw_nb_NO.ts
+++ b/i18n/nw_nb_NO.ts
@@ -1834,13 +1834,13 @@
- Italics (Shortcode)
- Kursiv (kortkode)
+ Bold (Shortcode)
+ Fet (kortkode)
- Bold (Shortcode)
- Fet (kortkode)
+ Italics (Shortcode)
+ Kursiv (kortkode)
@@ -4807,22 +4807,27 @@
_ViewPanelKeyWords
-
+ TagKnagg
-
+
+ Importance
+ Viktighet
+
+
+ DocumentDokument
-
+ HeadingOverskrift
-
+ Short DescriptionKort beskrivelse