diff --git a/i18n/nw_base.ts b/i18n/nw_base.ts index 94ce51df..e9653400 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,7 +1095,7 @@ GuiDocToolBar - + Toggle Markdown or Shortcodes Mode @@ -1103,27 +1103,27 @@ GuiDocViewFooter - + Show/Hide Viewer Panel - + Show Comments - + Show Synopsis Comments - + Comments - + Synopsis @@ -1131,22 +1131,22 @@ GuiDocViewHeader - + Go Backward - + Go Forward - + Reload - + Close @@ -1190,12 +1190,12 @@ GuiEditLabel - + Item Label - + Label @@ -1269,123 +1269,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 +1393,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 - + Strong Emphasis - + 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 +2041,38 @@ GuiMainStatus - - + + None - + Editor - + Project - + Session Time - + Words: {0} ({1}) - + Project word count (session change) - + Novel word count (session change) @@ -2192,58 +2192,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 +2251,7 @@ GuiNovelTree - + No meta data @@ -2259,65 +2259,65 @@ GuiOutlineDetails - - - - + + + + Title - + Chapter - + Scene - + Section - + Document - + Status - + Characters - + Words - + Paragraphs - + Synopsis - + Title Details - + Reference Tags @@ -2325,7 +2325,7 @@ GuiOutlineHeaderMenu - + Select Columns @@ -2346,42 +2346,42 @@ GuiPreferences - + Preferences - + General - + Projects - + Documents - + Editor - + Highlighting - + Automation - + Quotes @@ -2389,103 +2389,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 +2493,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 +2587,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 +2680,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 +2776,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 +2886,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 +2934,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 +3012,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 +3085,42 @@ GuiProjectDetailsMain - + Words - + Chapters - + Scenes - + Revisions - + Editing Time - + Path - + Project: {0} - + By {0} @@ -3128,64 +3128,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 +3193,27 @@ GuiProjectEditReplace - + Text Replace List for Preview and Export - + Keyword - + Replace With - + Select item to edit - + Save @@ -3221,67 +3221,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 +3348,27 @@ GuiProjectSettings - + Project Settings - + Settings - + Status - + Importance - + Auto-Replace @@ -3543,37 +3543,37 @@ GuiSideBar - + Project Tree View - + Novel Tree View - + Novel Outline View - + Build Manuscript - + Project Details - + Writing Statistics - + Settings @@ -3615,18 +3615,18 @@ GuiWordList - - + + Project Word List - + Cannot add a blank word. - + The word '{0}' is already in the word list. @@ -3754,27 +3754,27 @@ - + JSON Data File - + CSV Data File - + Save Data As - + {0} file successfully written to: - + Failed to write {0} file. @@ -4438,27 +4438,27 @@ _DetailsWidget - + Setting - + Value - + Name - + Selection - + Title @@ -4466,37 +4466,37 @@ _FilterTab - + Included in manuscript - + Excluded from manuscript - + Always included - + Always excluded - + Reset to default - + Mark selection as - + Select Root Folders @@ -4504,22 +4504,22 @@ _GuiAlert - + Information - + Warning - + Error - + Question @@ -4527,65 +4527,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 +4593,27 @@ _PreviewWidget - + Press the "Preview" button to generate ... - + Processing ... - + Done - + Unknown - + Built @@ -4754,12 +4754,12 @@ _ViewPanelBackRefs - + Document - + First Heading @@ -4767,22 +4767,27 @@ _ViewPanelKeyWords - + Tag - + + Importance + + + + Document - + Heading - + Short Description diff --git a/novelwriter/gui/docviewerpanel.py b/novelwriter/gui/docviewerpanel.py index 24dc0559..308d3aef 100644 --- a/novelwriter/gui/docviewerpanel.py +++ b/novelwriter/gui/docviewerpanel.py @@ -309,9 +309,11 @@ class _ViewPanelBackRefs(QTreeWidget): trItem.setIcon(self.C_DOC, docIcon) trItem.setText(self.C_DOC, nwItem.itemName) + trItem.setToolTip(self.C_DOC, nwItem.itemName) trItem.setIcon(self.C_EDIT, self._editIcon) - trItem.setText(self.C_TITLE, hItem.title) trItem.setData(self.C_TITLE, Qt.ItemDataRole.DecorationRole, hDec) + trItem.setText(self.C_TITLE, hItem.title) + trItem.setToolTip(self.C_TITLE, hItem.title) trItem.setData(self.C_DATA, self.D_HANDLE, tHandle) if tKey not in self._treeMap: @@ -412,14 +414,19 @@ class _ViewPanelKeyWords(QTreeWidget): trItem.setIcon(self.C_NAME, self._classIcon) trItem.setText(self.C_NAME, name) + trItem.setToolTip(self.C_NAME, name) trItem.setIcon(self.C_EDIT, self._editIcon) trItem.setIcon(self.C_IMPORT, impIcon) trItem.setText(self.C_IMPORT, impLabel) + trItem.setToolTip(self.C_IMPORT, impLabel) trItem.setIcon(self.C_DOC, docIcon) trItem.setText(self.C_DOC, nwItem.itemName) - trItem.setText(self.C_TITLE, hItem.title) + trItem.setToolTip(self.C_DOC, nwItem.itemName) trItem.setData(self.C_TITLE, Qt.ItemDataRole.DecorationRole, hDec) + trItem.setText(self.C_TITLE, hItem.title) + trItem.setToolTip(self.C_TITLE, hItem.title) trItem.setText(self.C_SHORT, hItem.synopsis) + trItem.setToolTip(self.C_SHORT, hItem.synopsis) trItem.setData(self.C_DATA, self.D_TAG, tag) if tag not in self._treeMap: