From d805dcb39cc14e752e743b641fb3e19bff99978a Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 20 Jul 2024 19:55:53 +0200 Subject: [PATCH] Fix typo & minor changes --- PowerEditor/installer/nativeLang/english.xml | 6 +++--- PowerEditor/installer/nativeLang/english_customizable.xml | 6 +++--- PowerEditor/src/WinControls/Preference/preference.rc | 2 +- PowerEditor/src/WinControls/Preference/preferenceDlg.cpp | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml index 076cfda57..918cb2364 100644 --- a/PowerEditor/installer/nativeLang/english.xml +++ b/PowerEditor/installer/nativeLang/english.xml @@ -1201,7 +1201,7 @@ Translation note: - + @@ -1809,8 +1809,8 @@ Click on "?" button on right to open website with User Manual."/> - diff --git a/PowerEditor/installer/nativeLang/english_customizable.xml b/PowerEditor/installer/nativeLang/english_customizable.xml index ee24252ac..d6c2fc148 100644 --- a/PowerEditor/installer/nativeLang/english_customizable.xml +++ b/PowerEditor/installer/nativeLang/english_customizable.xml @@ -1200,7 +1200,7 @@ Translation note: - + @@ -1808,8 +1808,8 @@ Click on "?" button on right to open website with User Manual."/> - diff --git a/PowerEditor/src/WinControls/Preference/preference.rc b/PowerEditor/src/WinControls/Preference/preference.rc index cff461577..9ee9fcdc9 100644 --- a/PowerEditor/src/WinControls/Preference/preference.rc +++ b/PowerEditor/src/WinControls/Preference/preference.rc @@ -409,7 +409,7 @@ BEGIN GROUPBOX "Session snapshot and periodic backup",IDC_BACKUPDIR_RESTORESESSION_GRP_STATIC,79,1,289,98,BS_CENTER CONTROL "Remember current session for next launch",IDC_CHECK_REMEMBERSESSION,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,85,14,270,10 CONTROL "Enable session snapshot and periodic backup",IDC_BACKUPDIR_RESTORESESSION_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,85,29,270,10 - RTEXT "Trigger backup on modifification in every",IDD_BACKUPDIR_RESTORESESSION_STATIC1,82,46,190,8 + RTEXT "Trigger backup on modification in every",IDD_BACKUPDIR_RESTORESESSION_STATIC1,82,46,190,8 EDITTEXT IDC_BACKUPDIR_RESTORESESSION_EDIT,276,44,21,12,ES_CENTER | ES_NUMBER LTEXT "seconds",IDD_BACKUPDIR_RESTORESESSION_STATIC2,302,46,66,8 RTEXT "Backup path:",IDD_BACKUPDIR_RESTORESESSION_PATHLABEL_STATIC,85,64,61,8 diff --git a/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp b/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp index 630655f34..ccdc003e5 100644 --- a/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp +++ b/PowerEditor/src/WinControls/Preference/preferenceDlg.cpp @@ -3281,8 +3281,8 @@ intptr_t CALLBACK IndentationSubDlg::run_dlgProc(UINT message, WPARAM wParam, LP L"Ensure that the indentation of the current line (i.e. the new line created by pressing the ENTER key) matches the indentation of the previous line."); wstring tipAutoIndentAdvanced2show = pNativeSpeaker->getLocalizedStrFromID("autoIndentAdvanced-tip", - L"Enable smart indentation for 'C-like' languages and Python. The 'C-like' languages include:\n"\ - L"C, C++, Java, C#, Objective-C, PHP, JavaScript, JSP, CSS, Perl, Rust, PowerShell and JSON\n"\ + L"Enable smart indentation for \"C-like\" languages and Python. The \"C-like\" languages include:\n"\ + L"C, C++, Java, C#, Objective-C, PHP, JavaScript, JSP, CSS, Perl, Rust, PowerShell and JSON.\n"\ L"\n"\ L"If you select advanced mode but do not edit files in the aforementioned languages, the indentation will remain in basic mode.");