Skip to content

Commit

Permalink
Fix typo & minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Jul 20, 2024
1 parent 19ddb91 commit d805dcb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions PowerEditor/installer/nativeLang/english.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ Translation note:
<Backup title="Backup">
<Item id="6817" name="Session snapshot and periodic backup"/>
<Item id="6818" name="Enable session snapshot and periodic backup"/>
<Item id="6819" name="Trigger backup on modifification in every"/>
<Item id="6819" name="Trigger backup on modification in every"/>
<Item id="6821" name="seconds"/>
<Item id="6822" name="Backup path:"/>
<Item id="6309" name="Remember current session for next launch"/>
Expand Down Expand Up @@ -1809,8 +1809,8 @@ Click on &quot;?&quot; button on right to open website with User Manual."/>
<searchingInSelThresh-tip value="Number of selected characters in edit zone to automatically check the &quot;In selection&quot; checkbox when the Find dialog is activated. The maximum value is 1024. Set the value to 0 to disable auto-checking."/>
<verticalEdge-tip value="Add your column marker by indicating its position with a decimal number. You can define several column markers by using white space to separate the different numbers."/>
<autoIndentBasic-tip value="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."/>
<autoIndentAdvanced-tip value="Enable smart indentation for 'C-like' languages and Python. The 'C-like' languages include:
C, C++, Java, C#, Objective-C, PHP, JavaScript, JSP, CSS, Perl, Rust, PowerShell and JSON
<autoIndentAdvanced-tip value="Enable smart indentation for &quot;C-like&quot; languages and Python. The &quot;C-like&quot; languages include:
C, C++, Java, C#, Objective-C, PHP, JavaScript, JSP, CSS, Perl, Rust, PowerShell and JSON.
If you select advanced mode but do not edit files in the aforementioned languages, the indentation will remain in basic mode."/>
</MiscStrings>
Expand Down
6 changes: 3 additions & 3 deletions PowerEditor/installer/nativeLang/english_customizable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ Translation note:
<Backup title="Backup">
<Item id="6817" name="Session snapshot and periodic backup"/>
<Item id="6818" name="Enable session snapshot and periodic backup"/>
<Item id="6819" name="Trigger backup on modifification in every"/>
<Item id="6819" name="Trigger backup on modification in every"/>
<Item id="6821" name="seconds"/>
<Item id="6822" name="Backup path:"/>
<Item id="6309" name="Remember current session for next launch"/>
Expand Down Expand Up @@ -1808,8 +1808,8 @@ Click on &quot;?&quot; button on right to open website with User Manual."/>
<searchingInSelThresh-tip value="Number of selected characters in edit zone to automatically check the &quot;In selection&quot; checkbox when the Find dialog is activated. The maximum value is 1024. Set the value to 0 to disable auto-checking."/>
<verticalEdge-tip value="Add your column marker by indicating its position with a decimal number. You can define several column markers by using white space to separate the different numbers."/>
<autoIndentBasic-tip value="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."/>
<autoIndentAdvanced-tip value="Enable smart indentation for 'C-like' languages and Python. The 'C-like' languages include:
C, C++, Java, C#, Objective-C, PHP, JavaScript, JSP, CSS, Perl, Rust, PowerShell and JSON
<autoIndentAdvanced-tip value="Enable smart indentation for &quot;C-like&quot; languages and Python. The &quot;C-like&quot; languages include:
C, C++, Java, C#, Objective-C, PHP, JavaScript, JSP, CSS, Perl, Rust, PowerShell and JSON.
If you select advanced mode but do not edit files in the aforementioned languages, the indentation will remain in basic mode."/>
</MiscStrings>
Expand Down
2 changes: 1 addition & 1 deletion PowerEditor/src/WinControls/Preference/preference.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions PowerEditor/src/WinControls/Preference/preferenceDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down

0 comments on commit d805dcb

Please sign in to comment.