Improve English grammar in user-interface text. - #2075
Conversation
Co-Authored-By: Ed L <[email protected]>
|
Thank you for the suggestions. I welcome the comments and appreciate the discovery of errors. |
|
That sounds good, do the same with the text editor font string
…On Wed, 29 Apr 2020 at 13:11, brainchild0 ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/renderer/prefComponents/editor/index.vue
<#2075 (comment)>:
> @@ -34,20 +34,20 @@
:onChange="value => onSelectChange('codeFontSize', value)"
></range>
<font-text-box
- description="The font used in code blocks."
+ description="Font family in code blocks."
Maybe "Font *for* code blocks"?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2075 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKE5BH7OLWENEY2CXSTY7JLRPAKPBANCNFSM4MTR7U2Q>
.
|
fxha
left a comment
There was a problem hiding this comment.
@brainchild0 @Rexogamer Thanks for the contribution and the great feedback!
Co-authored-by: Felix Häusler <[email protected]>
Drop instructions for adding dictionaries from label to list of currently installed ones. Co-authored-by: Felix Häusler <[email protected]>
Resolve language for white space handling in code blocks. Co-authored-by: Felix Häusler <[email protected]>
|
I have attempted to apply as many of the comments as possible at the present time. For purposes of housekeeping, I have marked all conversations as resolved. Please be free to comment further if you find unfixed problems. Currently, three questions remain, which I feel are structural rather than grammatical, but may be dependencies for this request. The structural questions are as follows:
|
This comment has been minimized.
This comment has been minimized.
The option will be only shown when macOS spell checker is used (#2138). In addition we need to notify the user about the compatible issue with underlined words like "This feature is only enabled if spelling mistakes are underlined." because there are no backend checks. The spell check is most likely disabled but I cannot test this because I don't own macOS.
That's wrong because all cases are valid options depending on the users preferences. The options are:
I still prefer bold and italic because it's most commonly used. Further opinions @Jocs @Rexogamer ? |
I’m presuming this means that 3 is used alongside one of the other options (eg 3 and 1)?
I agree, bold/italic would be better as it just seems more commonly understood to me. |
I also prefer |
|
@brainchild0 @Rexogamer Thank you, great work! |
|
My understanding is still lacking for handing of trailing newline characters, but I believe it is at least improving. Every file at any time falls into one of three categories: a) It has no trailing newline characters, b) it has exactly one, or c) it has more than one. I believe we all agree so far. Now I am understanding that option (1) causes the resulting file to have no trailing newline characters, regardless of how many it had before. Option (2) causes it to have one newline character, regardless of how many it had before. Option (4) has no effect. But you are describing option (3) as "analyzing" the file. Can we please be explicit? If the three possibilities are that the initial number of newline characters is a) 0, b) 1, or c) N > 1, then what is the result for option (3) in each case? |
The third option checks the end of the document while loading the file and set it to a (1), b (2) or c (4). After the document is edited by the user, the text is formatted by a, b or c. That means the third option is never used by the editor to format the document but is used by the document decoding process while loading a file to detect and apply one of the other options. If you set 1, 2 or 4 in settings we don't care about the existing format of the file and just overwrite the ending. |
|
So if the file has three trailing line breaks when it is opened, under option (3), and the editing buffer has no trailing line breaks when the file is saved, then the application appends the three lines breaks to the saved file? And if the buffer has ten trailing line breaks when the file is saved, then the application truncates seven line breaks? |
- Unify emphasis descriptions, using words "italic" and "bold". - Add note that language detection depends on enabling feature for highlighting spelling errors.
fxha
left a comment
There was a problem hiding this comment.
Could you please change traling to trailing, thanks.
So if the file has three trailing line breaks when it is opened, under option (3), and the editing buffer has no trailing line breaks when the file is saved, then the application appends the three lines breaks to the saved file? And if the buffer has ten trailing line breaks when the file is saved, then the application truncates seven line breaks?
@brainchild0 That's wrong because we disable formatting when there are more than 1 new lines while opening a file and (3) is used. I made a suggestion that should be fine.
|
I still lack a clear understanding of the behavior and meaning, but we can use whatever text you want. I accepted the comments and revisions. These changes appear in commits up to and including 9f44ea3. I also made a few more find adjustments in b39b662. I am mostly comfortable with everything except the language about the trailing new lines. Two further possible revisions moving forward include using ellipsis (...) consistently following items that invoke a dialog box, and deciding whether to keep colon characters in the text for the GitHub fields. |
Co-authored-by: Felix Häusler <[email protected]>
- Describe thematic break as "horizontal rule", which accords with
decision to use terms "italic" and "bold" instead of their
semantic counterparts. Note that "rule" is more precise than
"line", and is famaliar from HTML element '<hr/>'.
- Add a verb to text for full screen mode. Now it is "show in full
screen".
- Further very fine modifications for consistency and flow.
|
See revised, previous comment. I will wait for feedback, and am currently planning nothing further until I receive it. |
There was a problem hiding this comment.
Thanks again for your work! I'll merge the PR soon (next days) if no feedback is given.
I am mostly comfortable with everything except the language about the trailing new lines.
Let n be the newline count behind the last non-empty line when opening a file. m the trailing newline mode (1: no trailing newlines, 2: one trailing newline, 3: auto 4: none).
We do nothing if a file is loaded and a mode m not 3 is used. If m=3 then
n=0-> setm:=1n=1-> setm:=2n>1-> setm:=4
Now, the user wants to save the opened file and we check m:
m=1: Remove all trailing newlinesm=2: Remove all trailing newlines and add one newline
... and save the document on disk.
|
@fxha: I now understand. Thank you. The rules are too complex to explain completely in summary, but to me, compared to the current language, a clearer form for option (3) is one similar to "Preserve style of original document." (Also, for option (2) I prefer "Ensure exactly one trailing.") |
@brainchild0 That's sounds great. Would you mind updating the string, so I can merge the PR. |
@fxha Done! |
* update readme (#2008) * update readme * remove unused codes * Update third party * remove unused codes * fix: style error in editor setting * Release v0.16.1 (#2011) * Fix typo (#2118) * Include Chocolatey package installation option (#2107) * Update dependencies (#2133) * Fix max width of editor tabs (#2097) * Fix max width of editor tabs * Update sponsor (#2141) * update: sponsors * update img width and height * Add ability to paste images to Features (#2127) * Fix empty shortcuts in shortcut validator (#2130) * Fix Hunspell dictionary downloader on Windows (#2131) * Add missing encoding entry (#2132) * Improve heading font size scaling (#2135) * Reduce dependency bundle size (#2136) * Fix Hunspell spell checker initialization on Windows (#2137) * Disable and hide unnecessary settings options (#2138) * Increase indentation for sidebar treeview (#2161) * Fix image export issues on Windows (#2129) * Fix footnote renderer exception in markedjs (#2162) * Add GitLab math block support (#2119) * update: yarn.lock file (#2178) * feat: switch tabs using alt-#num (#1975) * Fix bad font when exporting document on macOS (#2190) * 📝 update zh_cn.md (#2192) * Improve English grammar in user-interface text. (#2075) * Fix unnecessary character sanitation on clipboard output (#2197) * Fix double used shortcut (#2198) * Fix double used shortcut * Update documentation * Update dependencies (#2199) * Support setting text direction via comand palette (#2194) (#2195) * Update bug issue template (#2215) * Fix inline html renderer (#2224) * Fix sub- and superscript in HTML output * Update dependencies * Conform user-interface text to conventions for trailing punctuation (#2209) * Release v0.16.2 (#2200) Bump version to 0.16.2 and update documentation. * Replace PRC emoji for zh_TW translation with Taiwan flag (#2278) * Update FAQ.md (#2290) Clarify what aidou is for non-chinese users * Fix markdown syntax document mistake for table content align (#2282) (#2296) * Update pt.md (#2350) * Update pt.md My annual contribution to Mark Text, with its documentation accessible to all Brazilians and Portuguese. * Update pt.md * Update pt.md * Update pt.md * Update pt.md * Update pt.md * Update pt.md * Update pt.md * Update pt.md * Update regex of auto link to fix trailing slashes (#2354) * Update FAQ.md - link to Portable (#2337) Fixing link to portable page. * updated turkish translation of readme.md (#2366) * pass file.id to closeTab on middle click (#2272) * Add codeblock highlight and coloration for the SPARQL and Turtle languages (#2365) * fix image paths on readme tr.md (#2374) * Fix issue with not being able to copy table cell (#2375) * fixed issue#2383 (#2397) * Fix quick open bug and freeze constants to avoid accidental mutation (#2323) * fix: #2330 enable shift+tab for table navigation (#2331) * fix: prism language missing while load dependent language (#1752) (#2335) * Fix graphite light wordcount (#2392) * Update dependencies (minor only) (#2402) * fix: typewriter shake after press enter (#1852) * Support negative zoom (#2412) * Restrict export dialog file extensions (#2408) * Allow BCP-47 language codes in spell checker (#2410) * Fix footnote inline code font size (#2411) * feat: add shortcut for toggle-toc (#1863) (#2326) * Make global menu fields mutable (#2407) * Replace text when only one table cell is selected (#2413) * Allow to copy table cells text as plaintext (#2409) * Fix font selection autocomplete (#2420) * Updated korean translation of README.md (#2432) I updated ko.md (korean translation of README.md) to match the latest version of README.md * Rebase markedjs bug fixes (#2419) * Add option to disable HTML rendering (#2414) * Fix symbolic links and related path issues (#2416) * Upgrade to N-API and Electron 11 (#2422) * Upgrade to N-API and Electron 11 * Update Electron and remove workaround * Fix ESLint error * Disble MathML due to DOMPurify security issues (#2436) * Update Simplified Chinese translation of README (#2445) * Improve undo history (#2437) * Add TOC generator to document exporter (#2391) * Add support for relative image directory (#2439) * Fix installation instructions in README.md (#2449) * Update README.md Calling brew cask install is disabled * Update i18n files * Release v0.16.3 (#2448) Co-authored-by: Ran Luo <[email protected]> Co-authored-by: saymoon <[email protected]> Co-authored-by: shaunmbg <[email protected]> Co-authored-by: Micael Dias <[email protected]> Co-authored-by: Dan Dascalescu <[email protected]> Co-authored-by: BeatLink <[email protected]> Co-authored-by: He Linming <[email protected]> Co-authored-by: Royce <[email protected]> Co-authored-by: brainchild0 <[email protected]> Co-authored-by: Rasmus Eneman <[email protected]> Co-authored-by: nyanpasu64 <[email protected]> Co-authored-by: Sbelletier <[email protected]> Co-authored-by: 小新 <[email protected]> Co-authored-by: Enderson Menezes <[email protected]> Co-authored-by: Sweet Liquid <[email protected]> Co-authored-by: Nick Ali <[email protected]> Co-authored-by: erentar <[email protected]> Co-authored-by: Max Lantas <[email protected]> Co-authored-by: Vincent Emonet <[email protected]> Co-authored-by: Amauri Bizerra <[email protected]> Co-authored-by: Anton Freeman <[email protected]> Co-authored-by: Dan Munckton <[email protected]> Co-authored-by: evan-cohen <[email protected]> Co-authored-by: zmen <[email protected]> Co-authored-by: bmvisoky <[email protected]> Co-authored-by: YeloMelon <[email protected]> Co-authored-by: MingZZX <[email protected]> Co-authored-by: カワリミ人形 <[email protected]>
Thank you to all contributors for undertaking this wonderful project.
Although I have long found Markdown to provide the best platform for writing, I often thought that I was the only one who disliked the common variety of editors styled with two side-by-side panes for plain text and live preview. Being unable to write directly in formatted text has been a major distraction in using Markdown.
More recently, a handful of truly WYSIWG editors have emerged, but confined to the commercial space.
It will vastly improve the user experience to have available an application that is enjoyable too use, free to distribute, and open for contributions.
I am also excited about the Muya project, which will allow integration with generic applications.
Because I am a native speaker of English, I noticed that the user strings might be revised to follow standard grammar.
I prepared a PR with proposed revisions. Unfortunately, I have no environment to build or to test. However, because the changes merely revise static strings, I expect integration would be virtually problem free.