From 048a3030f348e1d65df894b97ee0ba75edcb7474 Mon Sep 17 00:00:00 2001
From: 1024jp <1024jp@wolfrosch.com>
Date: Fri, 5 Jul 2024 11:52:54 +0900
Subject: [PATCH] =?UTF-8?q?Replace=20=E2=80=9Ccontent=E2=80=9D=20with=20?=
=?UTF-8?q?=E2=80=9Ccontents=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
CHANGELOG.md | 10 +++++-----
.../Resources/en.lproj/pgs/releasenotes.html | 10 +++++-----
.../en.lproj/pgs/script_osascript_changes.html | 2 +-
.../en.lproj/pgs/syntax_file_mapping.html | 4 ++--
CotEditor/Localizables/FileDropItem.xcstrings | 6 +++---
CotEditor/Sources/FileDropItem.swift | 18 +++++++++---------
6 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4a2407366..eea164450 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -282,7 +282,7 @@
### Improvements
-- When the file encoding is incompatible with the document content, display a notification instead of silently overwriting the document file with lossy data in autosaving until the user explicitly allows it.
+- When the file encoding is incompatible with the document contents, display a notification instead of silently overwriting the document file with lossy data in autosaving until the user explicitly allows it.
- Suppress displaying the dialog for saving in an incompatible encoding when the user once allowed it.
- Update the C syntax to improve highlighting numbers.
- Deprecate the future to interpret `Shift_JIS` as Shift JIS or Shift JIS X0213 according to the user's priority setting when referring to encoding declarations in documents in encoding detection.
@@ -1880,7 +1880,7 @@
- Live update selection counts while moving the selection.
- Scroll editor by swiping the line number area.
- Previously, CotEditor scripts written in Unix scripts, such as Ruby or Python, were decoded using the user-preferred file-encoding set in the Format preferences pane for normal documents, now they are always interpreted as UTF-8.
-- Avoid showing the "edited" indicator in the close button of document windows when the document content is empty and therefore can close the window without the confirmation dialog.
+- Avoid showing the "edited" indicator in the close button of document windows when the document contents are empty and therefore can close the window without the confirmation dialog.
- Remove the toolbar button to toggle page guide visibility.
- Remove feature to import legacy syntax style definition files of which format was used in CotEditor 1.x.
- [trivial] Improve tooltips of toolbar icons to reflect the current document state.
@@ -2510,7 +2510,7 @@ no change.
### New Features
-- Add new variable “file content” to File Drop feature to insert the file content when the dropped file is a text file.
+- Add new variable “file content” to File Drop feature to insert the file contents when the dropped file is a text file.
### Improvements
@@ -5143,7 +5143,7 @@ no change.
- Add stylesheet keyword to color code type.
- Add stylesheet keyword color list to editor panel.
- Make editor panel resizable.
-- Now syntax style is automatically set to XML on file opening if no appropriate style can be found but the file content starts with an XML declaration.
+- Now syntax style is automatically set to XML on file opening if no appropriate style can be found but the file contents start with an XML declaration.
- Update word completion list setting in Edit pane in Preferences (The previous setting has been reset).
- Support “swipe to delete” for some tables in Preferences on El Capitan.
- Improve contextual menu for theme list on preferences.
@@ -5184,7 +5184,7 @@ no change.
- __for advanced users__: In this feature, CotEditor saves an *extended attribute* which named `com.coteditor.VerticalText` to the file *only when* the editor's text orientation is vertical. You can even disable the feature running the command `defaults write com.coteditor.CotEditor savesTextOrientation -bool NO` in Terminal.
- Line number view for vertical text orientation.
- Print with vertical text orientation.
-- Add interpreter name list to the syntax style definition to determine syntax style from the shebang in the file content for in case when syntax style cannot be determined from the file name.
+- Add interpreter name list to the syntax style definition to determine syntax style from the shebang in the file contents for in case when syntax style cannot be determined from the file name.
- From this change, some of the bundled syntax styles are also updated.
- Add `encoding:` and `coding:` to the encoding declaration keywords which will be used on encoding auto-detection (interpreting priorities are: `charset=` > `encoding=` > `@charset` > `encoding:` > `coding:`).
diff --git a/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/releasenotes.html b/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/releasenotes.html
index 55fc8c1c0..63229d679 100644
--- a/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/releasenotes.html
+++ b/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/releasenotes.html
@@ -371,7 +371,7 @@
Improvements
-
When the file encoding is incompatible with the document content, display a notification instead of silently overwriting the document file with lossy data in autosaving until the user explicitly allows it.
+
When the file encoding is incompatible with the document contents, display a notification instead of silently overwriting the document file with lossy data in autosaving until the user explicitly allows it.
Suppress displaying the dialog for saving in an incompatible encoding when the user once allowed it.
Update the C syntax to improve highlighting numbers.
Deprecate the future to interpret Shift_JIS as Shift JIS or Shift JIS X0213 according to the user’s priority setting when referring to encoding declarations in documents in encoding detection.
@@ -2230,7 +2230,7 @@
Scroll editor by swiping the line number area.
Reduce the priority that CotEditor implicitly becomes the default application for specific file types.
Previously, CotEditor scripts written in Unix scripts, such as Ruby or Python, were decoded using the user-preferred file-encoding set in the Format preferences pane for normal documents, now they are always interpreted as UTF-8.
-
Avoid showing the “edited” indicator in the close button of document windows when the document content is empty and therefore can close the window without the confirmation dialog.
+
Avoid showing the “edited” indicator in the close button of document windows when the document contents are empty and therefore can close the window without the confirmation dialog.
Avoid discarding the current input when a new item is added while another item is in editing in the syntax style editor.
Round the corners of current line highlight.
Put only the filename rather than the absolute path for the relative path insertion (<<<RELATIVE-PATH>>>) when the document file itself is dropped into the editor.
@@ -3063,7 +3063,7 @@
New Features
-
Add new variable “file content” to File Drop feature to insert the file content when the dropped file is a text file.
+
Add new variable “file content” to File Drop feature to insert the file contents when the dropped file is a text file.
@@ -6319,7 +6319,7 @@
for advanced users: In this feature, CotEditor saves an extended attribute which named com.coteditor.VerticalText to the file only when the editor’s text orientation is vertical. You can even disable the feature running the command defaults write com.coteditor.CotEditor savesTextOrientation -bool NO in Terminal.
-
Add interpreter name list to the syntax style definition to determine syntax style from the shebang in the file content for in case when syntax style cannot be determined from the file name.
+
Add interpreter name list to the syntax style definition to determine syntax style from the shebang in the file contents for in case when syntax style cannot be determined from the file name.
From this change, some of the bundled syntax styles are also updated.
@@ -6367,7 +6367,7 @@
Add stylesheet keyword color list to editor panel.
Make editor panel resizable.
-
Now syntax style is automatically set to XML on file opening if no appropriate style can be found but the file content starts with an XML declaration.
+
Now syntax style is automatically set to XML on file opening if no appropriate style can be found but the file contents start with an XML declaration.
Update Swift syntax style:
Add new terms available in Swift 2.0.
diff --git a/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/script_osascript_changes.html b/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/script_osascript_changes.html
index 8e3610218..87af5acd1 100644
--- a/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/script_osascript_changes.html
+++ b/CotEditor/CotEditor.help/Contents/Resources/en.lproj/pgs/script_osascript_changes.html
@@ -222,7 +222,7 @@ This issue doesn’t occur with plain-text AppleScript (.applescript).
Selection object directly under the application
-
In version 0.6, the initial release of CotEditor, if you didn’t specify the ‘selection’ object, the frontmost window’s contents is selected. But it actually didn’t work correctly and therefore deprecated. This method was kept valid however to maintain backward compatibility.
+
In version 0.6, the initial release of CotEditor, if you didn’t specify the ‘selection’ object, the frontmost window’s contents are selected. But it actually didn’t work correctly and therefore deprecated. This method was kept valid however to maintain backward compatibility.
On CotEditor 1.5, it is formally removed. Specify the target like below, when you get the ‘selection’ object.
Shebang in the first line of the document
-
When there is no corresponding syntax for the extension and the filename, and if the first line of the document content is a shebang, then try determining syntax from the shebang. In this trial, the interpreter names which is defined in the syntaxes are used. The interpreter can be either the last part of the path just after #! or the next term to the path if the path targets env.
+
When there is no corresponding syntax for the extension and the filename, and if the first line of the document contents are a shebang, then try determining syntax from the shebang. In this trial, the interpreter names which is defined in the syntaxes are used. The interpreter can be either the last part of the path just after #! or the next term to the path if the path targets env.