mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +00:00
- report successful deletion
- refresh service list upon creation svn path=/trunk/; revision=28691
This commit is contained in:
parent
144f0b2c27
commit
32841791ae
|
@ -29,6 +29,20 @@ DoDeleteService(PMAIN_WND_INFO Info,
|
|||
{
|
||||
if (DeleteService(hSc))
|
||||
{
|
||||
LPTSTR lpSuccess;
|
||||
|
||||
/* report success to user */
|
||||
if (AllocAndLoadString(&lpSuccess,
|
||||
hInstance,
|
||||
IDS_DELETE_SUCCESS))
|
||||
{
|
||||
DisplayString(lpSuccess);
|
||||
|
||||
HeapFree(ProcessHeap,
|
||||
0,
|
||||
lpSuccess);
|
||||
}
|
||||
|
||||
bRet = TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -218,6 +218,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Óñëóãàòà å óñïåøíî ñúçäàäåíà"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "Ïîëåòàòà, îòáåëÿçàíè ñúñ \nçâåçäè÷êà ñà íåàçàäúëæèòåëíè"
|
||||
IDS_DELETE_STOP "Òðÿáâà ðú÷íî äà ñïðåòå óñëóãàòà, ïðåäè äà ÿ èçòðèåòå!"
|
||||
END
|
||||
|
|
|
@ -214,6 +214,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Dienst wurde erfolgreich erstellt"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "Mit einem Sternchen gekennzeichnete Felder sind erforderlich"
|
||||
IDS_DELETE_STOP "Sie müssen den Dienst manuell beenden, bevor er gelöscht werden kann!"
|
||||
END
|
||||
|
|
|
@ -214,6 +214,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Service Created Succesfully"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "Fields marked with an\nasterix are mandatory"
|
||||
IDS_DELETE_STOP "You must manually stop the service before deleting!"
|
||||
END
|
||||
|
|
|
@ -218,6 +218,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS essaye de suspendre le service suivant"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS essaye de relancer le service suivant"
|
||||
IDS_CREATE_SUCCESS "Service créé"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "Les champs marqués d'une astérisque\nasont obligatoires"
|
||||
IDS_DELETE_STOP "Vous devez arrêter le service avant de le supprimer!"
|
||||
END
|
||||
|
|
|
@ -214,6 +214,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Layanan Dibuat Dengan Sukses"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "Field yang ditandai dengan\nbintang adalah mandatori"
|
||||
IDS_DELETE_STOP "Anda harus menghentikan layanan sebelum menghapus!"
|
||||
END
|
||||
|
|
|
@ -214,6 +214,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Servizio creato regolarmente"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "I campi marcati con un asterisco\nsono obbligatori"
|
||||
IDS_DELETE_STOP "Devi fermare il servizio prima di cancellare!"
|
||||
END
|
||||
|
|
|
@ -221,6 +221,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Us³uga utworzona pomyœlnie"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "Pole zaznaczone wraz z \ nasterix jest obowi¹zkowy"
|
||||
IDS_DELETE_STOP "Musisz rêcznie zatrzymaæ us³ugê przed usuwaniem!"
|
||||
END
|
||||
|
|
|
@ -213,6 +213,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Ñîçäàíèå ñëóæáû óñïåøíî çàâåðøåíî"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "* = îáÿçàòåëüíûå ïîëÿ"
|
||||
IDS_DELETE_STOP "Âû äîëæíû âðó÷íóþ îñòàíîâèòü ñëóæáó ïåðåä óäàëåíèåì!"
|
||||
END
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* FILE: base/applications/mscutils/servman/lang/th-TH.rc
|
||||
* PURPOSE: Thai resources
|
||||
* COPYRIGHT: Copyright 2007 Sumath Aowsakulsutthi
|
||||
* TRANSLATOR: Sumath Aowsakulsutthi
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -223,6 +223,7 @@ BEGIN
|
|||
IDS_PROGRESS_INFO_PAUSE "ReactOS is attempting to pause the following service"
|
||||
IDS_PROGRESS_INFO_RESUME "ReactOS is attempting to resume the following service"
|
||||
IDS_CREATE_SUCCESS "Service Created Succesfully"
|
||||
IDS_DELETE_SUCCESS "Service Deleted Succesfully"
|
||||
IDS_CREATE_REQ "Fields marked with an\nasterix are mandatory"
|
||||
IDS_DELETE_STOP "You must manually stop the service before deleting!"
|
||||
END
|
||||
|
|
|
@ -400,11 +400,15 @@ MainWndCommand(PMAIN_WND_INFO Info,
|
|||
|
||||
case ID_CREATE:
|
||||
{
|
||||
DialogBoxParam(hInstance,
|
||||
MAKEINTRESOURCE(IDD_DLG_CREATE),
|
||||
Info->hMainWnd,
|
||||
(DLGPROC)CreateDialogProc,
|
||||
(LPARAM)Info);
|
||||
INT ret;
|
||||
|
||||
ret = DialogBoxParam(hInstance,
|
||||
MAKEINTRESOURCE(IDD_DLG_CREATE),
|
||||
Info->hMainWnd,
|
||||
(DLGPROC)CreateDialogProc,
|
||||
(LPARAM)Info);
|
||||
if (ret == IDOK)
|
||||
RefreshServiceList(Info);
|
||||
|
||||
SetFocus(Info->hListView);
|
||||
}
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
#define IDC_DEL_NAME 9002
|
||||
#define IDC_DEL_DESC 9003
|
||||
#define IDS_DELETE_STOP 9010
|
||||
#define IDS_DELETE_SUCCESS 9011
|
||||
|
||||
|
||||
/* progress bar */
|
||||
|
|
Loading…
Reference in a new issue