From 5df59ba2fcf12bf242c8af3a9524b1c1197bee65 Mon Sep 17 00:00:00 2001 From: Don HO Date: Wed, 28 Nov 2018 02:56:02 +0100 Subject: [PATCH] Add Pig latin language in installer --- .../installer/nsisInclude/langs4Npp.nsh | 7 +++++++ .../WinControls/PluginsAdmin/pluginsAdminRes.h | 18 +++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/PowerEditor/installer/nsisInclude/langs4Npp.nsh b/PowerEditor/installer/nsisInclude/langs4Npp.nsh index e2160f8f2..5439625c2 100644 --- a/PowerEditor/installer/nsisInclude/langs4Npp.nsh +++ b/PowerEditor/installer/nsisInclude/langs4Npp.nsh @@ -283,6 +283,10 @@ SectionGroup "Localization" localization ${MementoUnselectedSection} "Kurdish" kurdish CopyFiles "$PLUGINSDIR\nppLocalization\kurdish.xml" "$INSTDIR\localization\kurdish.xml" ${MementoSectionEnd} + ${MementoSectionEnd} + ${MementoUnselectedSection} "Piglatin" piglatin + CopyFiles "$PLUGINSDIR\nppLocalization\piglatin.xml" "$INSTDIR\localization\piglatin.xml" + ${MementoSectionEnd} SectionGroupEnd SectionGroup un.localization @@ -541,4 +545,7 @@ SectionGroup un.localization Section un.kurdish Delete "$INSTDIR\localization\kurdish.xml" SectionEnd + Section un.piglatin + Delete "$INSTDIR\localization\piglatin.xml" + SectionEnd SectionGroupEnd diff --git a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdminRes.h b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdminRes.h index c3553ace1..25dd1f16f 100644 --- a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdminRes.h +++ b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdminRes.h @@ -28,13 +28,13 @@ #define IDD_PLUGINSADMIN_DLG 5500 - #define IDC_PLUGINADM_SEARCH_STATIC (IDD_PLUGINSADMIN_DLG + 1) - #define IDC_PLUGINADM_SEARCH_EDIT (IDD_PLUGINSADMIN_DLG + 2) - #define IDC_PLUGINADM_INSTALL (IDD_PLUGINSADMIN_DLG + 3) - #define IDC_PLUGINADM_UPDATE (IDD_PLUGINSADMIN_DLG + 4) - #define IDC_PLUGINADM_REMOVE (IDD_PLUGINSADMIN_DLG + 5) - #define IDC_PLUGINADM_LISTVIEW (IDD_PLUGINSADMIN_DLG + 6) - #define IDC_PLUGINADM_EDIT (IDD_PLUGINSADMIN_DLG + 7) - #define IDC_PLUGINADM_RESEARCH_NEXT (IDD_PLUGINSADMIN_DLG + 8) - #define IDC_PLUGINADM_SETTINGS_BUTTON (IDD_PLUGINSADMIN_DLG + 9) +#define IDC_PLUGINADM_SEARCH_STATIC (IDD_PLUGINSADMIN_DLG + 1) +#define IDC_PLUGINADM_SEARCH_EDIT (IDD_PLUGINSADMIN_DLG + 2) +#define IDC_PLUGINADM_INSTALL (IDD_PLUGINSADMIN_DLG + 3) +#define IDC_PLUGINADM_UPDATE (IDD_PLUGINSADMIN_DLG + 4) +#define IDC_PLUGINADM_REMOVE (IDD_PLUGINSADMIN_DLG + 5) +#define IDC_PLUGINADM_LISTVIEW (IDD_PLUGINSADMIN_DLG + 6) +#define IDC_PLUGINADM_EDIT (IDD_PLUGINSADMIN_DLG + 7) +#define IDC_PLUGINADM_RESEARCH_NEXT (IDD_PLUGINSADMIN_DLG + 8) +#define IDC_PLUGINADM_SETTINGS_BUTTON (IDD_PLUGINSADMIN_DLG + 9)