Author: ekohl
Date: Sun May 24 22:51:12 2015
New Revision: 67893
URL:
http://svn.reactos.org/svn/reactos?rev=67893&view=rev
Log:
[SYSDM]
Show a warning if the user tries to copy or rename a hardware profile to a name that is
already in use.
Modified:
trunk/reactos/dll/cpl/sysdm/hardprof.c
trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc
trunk/reactos/dll/cpl/sysdm/lang/cs-CZ.rc
trunk/reactos/dll/cpl/sysdm/lang/da-DK.rc
trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc
trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc
trunk/reactos/dll/cpl/sysdm/lang/en-US.rc
trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc
trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc
trunk/reactos/dll/cpl/sysdm/lang/he-IL.rc
trunk/reactos/dll/cpl/sysdm/lang/hu-HU.rc
trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc
trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc
trunk/reactos/dll/cpl/sysdm/lang/ja-JP.rc
trunk/reactos/dll/cpl/sysdm/lang/nl-NL.rc
trunk/reactos/dll/cpl/sysdm/lang/no-NO.rc
trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc
trunk/reactos/dll/cpl/sysdm/lang/ro-RO.rc
trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc
trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc
trunk/reactos/dll/cpl/sysdm/lang/sq-AL.rc
trunk/reactos/dll/cpl/sysdm/lang/sv-SE.rc
trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc
trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc
trunk/reactos/dll/cpl/sysdm/lang/zh-CN.rc
trunk/reactos/dll/cpl/sysdm/resource.h
Modified: trunk/reactos/dll/cpl/sysdm/hardprof.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardprof.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] Sun May 24 22:51:12 2015
@@ -34,16 +34,39 @@
{
WCHAR szSourceName[PROFILE_NAME_LENGTH];
WCHAR szDestinationName[PROFILE_NAME_LENGTH];
+ PPROFILEDATA pProfileData;
} PROFILENAMES, *PPROFILENAMES;
+
+
+static
+BOOL
+IsProfileNameInUse(
+ PPROFILENAMES pProfileNames,
+ BOOL bIgnoreCurrent)
+{
+ DWORD i;
+
+ for (i = 0; i < pProfileNames->pProfileData->dwProfileCount; i++)
+ {
+ if (bIgnoreCurrent == TRUE && i ==
pProfileNames->pProfileData->dwSelectedProfileIndex)
+ continue;
+
+ if (wcscmp(pProfileNames->pProfileData->pProfiles[i].szFriendlyName,
pProfileNames->szDestinationName) == 0)
+ return TRUE;
+ }
+
+ return FALSE;
+}
static
INT_PTR
CALLBACK
-CopyProfileDlgProc(HWND hwndDlg,
- UINT uMsg,
- WPARAM wParam,
- LPARAM lParam)
+CopyProfileDlgProc(
+ HWND hwndDlg,
+ UINT uMsg,
+ WPARAM wParam,
+ LPARAM lParam)
{
PPROFILENAMES pProfileNames;
@@ -71,7 +94,14 @@
IDC_COPYPROFILETO,
pProfileNames->szDestinationName,
PROFILE_NAME_LENGTH);
- EndDialog(hwndDlg, IDOK);
+ if (IsProfileNameInUse(pProfileNames, FALSE))
+ ResourceMessageBox(hApplet,
+ NULL,
+ MB_OK | MB_ICONERROR,
+ IDS_HWPROFILE_WARNING,
+ IDS_HWPROFILE_ALREADY_IN_USE);
+ else
+ EndDialog(hwndDlg, IDOK);
return TRUE;
case IDCANCEL:
@@ -101,6 +131,8 @@
wcscpy(ProfileNames.szSourceName, pProfile->szFriendlyName);
swprintf(ProfileNames.szDestinationName, L"%s %lu", szBuffer,
pProfileData->dwProfileCount);
+
+ ProfileNames.pProfileData = pProfileData;
if (DialogBoxParam(hApplet,
MAKEINTRESOURCE(IDD_COPYPROFILE),
@@ -145,10 +177,11 @@
static
INT_PTR
CALLBACK
-RenameProfileDlgProc(HWND hwndDlg,
- UINT uMsg,
- WPARAM wParam,
- LPARAM lParam)
+RenameProfileDlgProc(
+ HWND hwndDlg,
+ UINT uMsg,
+ WPARAM wParam,
+ LPARAM lParam)
{
PPROFILENAMES pProfileNames;
@@ -176,7 +209,14 @@
IDC_RENPROFEDITTO,
pProfileNames->szDestinationName,
PROFILE_NAME_LENGTH);
- EndDialog(hwndDlg, IDOK);
+ if (IsProfileNameInUse(pProfileNames, TRUE))
+ ResourceMessageBox(hApplet,
+ NULL,
+ MB_OK | MB_ICONERROR,
+ IDS_HWPROFILE_WARNING,
+ IDS_HWPROFILE_ALREADY_IN_USE);
+ else
+ EndDialog(hwndDlg, IDOK);
return TRUE;
case IDCANCEL:
@@ -206,6 +246,8 @@
wcscpy(ProfileNames.szSourceName, pProfile->szFriendlyName);
swprintf(ProfileNames.szDestinationName, L"%s %lu", szBuffer,
pProfileData->dwProfileCount);
+
+ ProfileNames.pProfileData = pProfileData;
if (DialogBoxParam(hApplet,
MAKEINTRESOURCE(IDD_RENAMEPROFILE),
@@ -248,36 +290,36 @@
if (MessageBox(NULL,
szMessage,
szCaption,
- MB_YESNO | MB_ICONQUESTION) == IDYES)
- {
- SendDlgItemMessageW(hwndDlg, IDC_HRDPROFLSTBOX, LB_DELETESTRING,
pProfileData->dwSelectedProfileIndex, 0);
-
- if (pProfileData->dwSelectedProfileIndex != pProfileData->dwProfileCount -
1)
- {
-
RtlMoveMemory(&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex],
-
&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex + 1],
- (pProfileData->dwProfileCount -
pProfileData->dwSelectedProfileIndex - 1) * sizeof(PPROFILE));
- }
- else
- {
- pProfileData->dwSelectedProfileIndex--;
- }
-
- pProfiles = HeapReAlloc(GetProcessHeap(),
- HEAP_ZERO_MEMORY,
- pProfileData->pProfiles,
- (pProfileData->dwProfileCount - 1) *
sizeof(PROFILE));
- if (pProfiles == NULL)
- {
- DPRINT1("HeapReAlloc() failed!\n");
- return;
- }
-
- pProfileData->dwProfileCount--;
- pProfileData->pProfiles = pProfiles;
-
- SendDlgItemMessageW(hwndDlg, IDC_HRDPROFLSTBOX, LB_SETCURSEL,
pProfileData->dwSelectedProfileIndex, 0);
- }
+ MB_YESNO | MB_ICONQUESTION) != IDYES)
+ return;
+
+ SendDlgItemMessageW(hwndDlg, IDC_HRDPROFLSTBOX, LB_DELETESTRING,
pProfileData->dwSelectedProfileIndex, 0);
+
+ if (pProfileData->dwSelectedProfileIndex != pProfileData->dwProfileCount - 1)
+ {
+
RtlMoveMemory(&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex],
+
&pProfileData->pProfiles[pProfileData->dwSelectedProfileIndex + 1],
+ (pProfileData->dwProfileCount -
pProfileData->dwSelectedProfileIndex - 1) * sizeof(PPROFILE));
+ }
+ else
+ {
+ pProfileData->dwSelectedProfileIndex--;
+ }
+
+ pProfiles = HeapReAlloc(GetProcessHeap(),
+ HEAP_ZERO_MEMORY,
+ pProfileData->pProfiles,
+ (pProfileData->dwProfileCount - 1) * sizeof(PROFILE));
+ if (pProfiles == NULL)
+ {
+ DPRINT1("HeapReAlloc() failed!\n");
+ return;
+ }
+
+ pProfileData->dwProfileCount--;
+ pProfileData->pProfiles = pProfiles;
+
+ SendDlgItemMessageW(hwndDlg, IDC_HRDPROFLSTBOX, LB_SETCURSEL,
pProfileData->dwSelectedProfileIndex, 0);
}
Modified: trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/bg-BG.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/bg-BG.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/cs-CZ.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/cs-CZ.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -288,4 +288,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/da-DK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/da-DK.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/da-DK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/da-DK.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/de-DE.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -292,4 +292,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/el-GR.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/el-GR.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/en-US.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/en-US.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/es-ES.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/es-ES.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -285,4 +285,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/fr-FR.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/he-IL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/he-IL.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/he-IL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/he-IL.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -285,4 +285,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/hu-HU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/hu-HU.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/hu-HU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/hu-HU.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -285,4 +285,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/id-ID.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/it-IT.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/ja-JP.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/ja-JP.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/nl-NL.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/nl-NL.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/no-NO.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/no-NO.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/pl-PL.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -292,4 +292,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/ro-RO.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/ro-RO.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -292,4 +292,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/ru-RU.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/sk-SK.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -291,4 +291,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/sq-AL.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/sq-AL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/sq-AL.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -283,4 +283,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/sv-SE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/sv-SE.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/sv-SE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/sv-SE.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -285,4 +285,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/tr-TR.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -285,4 +285,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/uk-UA.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -291,4 +291,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/zh-CN.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/zh-CN.rc [iso-8859-1] Sun May 24 22:51:12 2015
@@ -285,4 +285,5 @@
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware
profile ""%s""?"
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
IDS_HWPROFILE_PROFILE "Profile"
-END
+ IDS_HWPROFILE_WARNING "Warning"
+END
Modified: trunk/reactos/dll/cpl/sysdm/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/resource.h?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/resource.h [iso-8859-1] Sun May 24 22:51:12 2015
@@ -47,6 +47,7 @@
#define IDS_HWPROFILE_CONFIRM_DELETE 86
#define IDS_HWPROFILE_ALREADY_IN_USE 87
#define IDS_HWPROFILE_PROFILE 88
+#define IDS_HWPROFILE_WARNING 89
/* Propsheet - general */
#define IDD_PROPPAGEGENERAL 100