mirror of https://github.com/OpenVPN/openvpn-gui
cleaned up resource IDs
parent
35c1bf35c9
commit
5783d7da94
|
@ -80,7 +80,7 @@ SetGUILanguage(LANGID langId)
|
|||
HKEY regkey;
|
||||
if (RegCreateKeyEx(HKEY_CURRENT_USER, GUI_REGKEY_HKCU, 0, NULL, 0,
|
||||
KEY_WRITE, NULL, ®key, NULL) != ERROR_SUCCESS )
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_REG_HKCU_KEY, GUI_REGKEY_HKCU);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_REG_HKCU_KEY, GUI_REGKEY_HKCU);
|
||||
|
||||
SetRegistryValueNumeric(regkey, "ui_language", langId);
|
||||
gui_language = langId;
|
||||
|
@ -305,7 +305,7 @@ LanguageSettingsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
LPPSHNOTIFY psn;
|
||||
langProcData langData = {
|
||||
.languages = GetDlgItem(hwndDlg, CB_LANGUAGES),
|
||||
.languages = GetDlgItem(hwndDlg, ID_CMB_LANGUAGE),
|
||||
.language = GetGUILanguage()
|
||||
};
|
||||
|
||||
|
|
28
main.c
28
main.c
|
@ -73,7 +73,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
if (!(o.debug_fp = fopen(DEBUG_FILE, "w")))
|
||||
{
|
||||
/* can't open debug file */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_DEBUG_FILE, DEBUG_FILE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_DEBUG_FILE, DEBUG_FILE);
|
||||
exit(1);
|
||||
}
|
||||
PrintDebug("Starting OpenVPN GUI v%s", GUI_VERSION);
|
||||
|
@ -89,7 +89,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
else
|
||||
{
|
||||
/* can't load riched20.dll */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_LOAD_RICHED20);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_LOAD_RICHED20);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
if (shell32_version < PACKVERSION(5,0))
|
||||
{
|
||||
/* shell32.dll version to low */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_SHELL_DLL_VERSION, shell32_version);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_SHELL_DLL_VERSION, shell32_version);
|
||||
exit(1);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
|
@ -113,7 +113,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
if ((FindWindow (szClassName, NULL)) != NULL)
|
||||
{
|
||||
/* GUI already running */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_GUI_ALREADY_RUNNING);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_GUI_ALREADY_RUNNING);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -145,8 +145,8 @@ int WINAPI WinMain (HINSTANCE hThisInstance,
|
|||
wincl.cbSize = sizeof (WNDCLASSEX);
|
||||
|
||||
/* Use default icon and mouse-pointer */
|
||||
wincl.hIcon = LoadLocalizedIcon(APP_ICON);
|
||||
wincl.hIconSm = LoadLocalizedIcon(APP_ICON);
|
||||
wincl.hIcon = LoadLocalizedIcon(ID_ICO_APP);
|
||||
wincl.hIconSm = LoadLocalizedIcon(ID_ICO_APP);
|
||||
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
|
||||
wincl.lpszMenuName = NULL; /* No menu */
|
||||
wincl.cbClsExtra = 0; /* No extra bytes after the window class */
|
||||
|
@ -241,7 +241,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
ShowSettingsDialog();
|
||||
}
|
||||
if (LOWORD(wParam) == IDM_ABOUT) {
|
||||
LocalizedDialogBox(IDD_ABOUTDIALOG, AboutDialogFunc);
|
||||
LocalizedDialogBox(ID_DLG_ABOUT, AboutDialogFunc);
|
||||
}
|
||||
if (LOWORD(wParam) == IDM_CLOSE) {
|
||||
CloseApplication(hwnd);
|
||||
|
@ -328,14 +328,14 @@ BOOL CALLBACK AboutDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED LPA
|
|||
switch (msg) {
|
||||
|
||||
case WM_INITDIALOG:
|
||||
hIcon = LoadLocalizedIcon(APP_ICON);
|
||||
hIcon = LoadLocalizedIcon(ID_ICO_APP);
|
||||
if (hIcon) {
|
||||
SendMessage(hwndDlg, WM_SETICON, (WPARAM) (ICON_SMALL), (LPARAM) (hIcon));
|
||||
SendMessage(hwndDlg, WM_SETICON, (WPARAM) (ICON_BIG), (LPARAM) (hIcon));
|
||||
}
|
||||
|
||||
/* Show version string */
|
||||
SetDlgItemText(hwndDlg, ID_TEXT_OPENVPNGUI, LoadLocalizedString(TEXT_ABOUT_OPENVPNGUI, GUI_VERSION));
|
||||
SetDlgItemText(hwndDlg, ID_TXT_OPENVPNGUI, LoadLocalizedString(ID_TXT_ABOUT, GUI_VERSION));
|
||||
|
||||
return FALSE;
|
||||
|
||||
|
@ -363,14 +363,14 @@ ShowSettingsDialog()
|
|||
psp[0].dwSize = sizeof(PROPSHEETPAGE);
|
||||
psp[0].dwFlags = PSP_DLGINDIRECT;
|
||||
psp[0].hInstance = o.hInstance;
|
||||
psp[0].pResource = LocalizedDialogResource(IDD_PROXY);
|
||||
psp[0].pResource = LocalizedDialogResource(ID_DLG_PROXY);
|
||||
psp[0].pfnDlgProc = ProxySettingsDialogFunc;
|
||||
psp[0].lParam = 0;
|
||||
psp[0].pfnCallback = NULL;
|
||||
psp[1].dwSize = sizeof(PROPSHEETPAGE);
|
||||
psp[1].dwFlags = PSP_DLGINDIRECT;
|
||||
psp[1].hInstance = o.hInstance;
|
||||
psp[1].pResource = LocalizedDialogResource(IDD_LANGUAGE);
|
||||
psp[1].pResource = LocalizedDialogResource(ID_DLG_GENERAL);
|
||||
psp[1].pfnDlgProc = LanguageSettingsDlgProc;
|
||||
psp[1].lParam = 0;
|
||||
psp[1].pfnCallback = NULL;
|
||||
|
@ -380,7 +380,7 @@ ShowSettingsDialog()
|
|||
psh.dwFlags = PSH_USEHICON | PSH_PROPSHEETPAGE | PSH_NOAPPLYNOW | PSH_NOCONTEXTHELP;
|
||||
psh.hwndParent = o.hWnd;
|
||||
psh.hInstance = o.hInstance;
|
||||
psh.hIcon = LoadLocalizedIcon(APP_ICON);
|
||||
psh.hIcon = LoadLocalizedIcon(ID_ICO_APP);
|
||||
psh.pszCaption = LoadLocalizedString(IDS_SETTINGS_CAPTION);
|
||||
psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGE);
|
||||
psh.nStartPage = 0;
|
||||
|
@ -397,7 +397,7 @@ void CloseApplication(HWND hwnd)
|
|||
|
||||
if (o.service_running == SERVICE_CONNECTED)
|
||||
{
|
||||
if (MessageBox(NULL, LoadLocalizedString(INFO_SERVICE_ACTIVE_EXIT), "Exit OpenVPN", MB_YESNO) == IDNO)
|
||||
if (MessageBox(NULL, LoadLocalizedString(IDS_NFO_SERVICE_ACTIVE_EXIT), "Exit OpenVPN", MB_YESNO) == IDNO)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -411,7 +411,7 @@ void CloseApplication(HWND hwnd)
|
|||
}
|
||||
if (ask_exit) {
|
||||
/* aks for confirmation */
|
||||
if (MessageBox(NULL, LoadLocalizedString(INFO_ACTIVE_CONN_EXIT), "Exit OpenVPN", MB_YESNO) == IDNO)
|
||||
if (MessageBox(NULL, LoadLocalizedString(IDS_NFO_ACTIVE_CONN_EXIT), "Exit OpenVPN", MB_YESNO) == IDNO)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -25,15 +25,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog - designed with lcc-win32 resource editor */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 145
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 145
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Über OpenVPN - Eine GUI für Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "Ok", IDOK, 99, 125, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - Eine Applikation zum sicheren tunneln eines IP " \
|
||||
|
@ -47,7 +47,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -55,13 +55,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Passwort:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "Ok", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Abbrechen", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - Benutzer Authentifizierung"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -69,28 +69,28 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Benutzer:", 0, 6, 9, 50, 10
|
||||
LTEXT "Passwort:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "Ok", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Abbrechen", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Die Verbindung wird hergestellt...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Die Verbindung wird hergestellt...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Trennen", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Neu Verbinden", ID_RESTART, 150, 190, 50, 14
|
||||
PUSHBUTTON "Minimieren", ID_HIDE, 100, 190, 50, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Ändern der Passphrase"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -99,60 +99,60 @@ BEGIN
|
|||
LTEXT "Altes Passwort:", 171, 6, 9, 85, 10
|
||||
LTEXT "Neues Passwort:", 172, 6, 26, 85, 10
|
||||
LTEXT "Neues Passwort bestätigen:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "Ok", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Abbrechen", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "OpenVPN Konfigurationsdatei verwenden", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "OpenVPN Konfigurationsdatei verwenden", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Internet Explorer Einstellungen verwenden", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manuelle Konfiguration", RB_PROXY_USE_MANUAL, 13, 42, 85, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adresse:", TEXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Port:", TEXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 53, 71, 117, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Beim Verbinden nach Benutzername/Passwort fragen", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manuelle Konfiguration", ID_RB_PROXY_MANUAL, 13, 42, 85, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adresse:", ID_TXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Port:", ID_TXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 53, 71, 117, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Beim Verbinden nach Benutzername/Passwort fragen", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* General Settings Dialog */
|
||||
IDD_LANGUAGE DIALOGEX 6, 18, 249, 124
|
||||
ID_DLG_GENERAL DIALOGEX 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Allgemein"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX "Benutzeroberfläche", 201, 6, 6, 235, 30
|
||||
LTEXT "Sprache:", TEXT_LANGUAGES, 17, 19, 29, 12
|
||||
COMBOBOX CB_LANGUAGES, 51, 17, 177, 400, CBS_DROPDOWNLIST | WS_TABSTOP
|
||||
LTEXT "Sprache:", ID_TXT_LANGUAGE, 17, 19, 29, 12
|
||||
COMBOBOX ID_CMB_LANGUAGE, 51, 17, 177, 400, CBS_DROPDOWNLIST | WS_TABSTOP
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Proxy Anmeldung"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Benutzer:", 201, 9, 8, 48, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 61, 5, 84, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 61, 5, 84, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Passwort:", 202, 9, 26, 48, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 61, 23, 84, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 61, 23, 84, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "Ok", IDOK, 58, 43, 40, 14
|
||||
END
|
||||
|
||||
|
@ -162,206 +162,206 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Deutsch - German"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - Eine grafische Oberfläche für OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - Eine grafische Oberfläche für OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI"
|
||||
MSG_TIP_CONNECTED "\nVerbunden mit: "
|
||||
MSG_TIP_CONNECTING "\nVerbinden mit: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nVerbunden seit: "
|
||||
MSG_TIP_ASSIGNED_IP "\nZugewiesene IP: %s"
|
||||
IDM_TEXT_SERVICE "OpenVPN Dienst"
|
||||
IDM_TEXT_SETTINGS "Einstellungen..."
|
||||
IDM_TEXT_ABOUT "Über..."
|
||||
IDM_TEXT_CLOSE "Beenden"
|
||||
IDM_TEXT_CONNECT "Verbinden"
|
||||
IDM_TEXT_DISCONNECT "Trennen"
|
||||
IDM_TEXT_STATUS "Status"
|
||||
IDM_TEXT_VIEWLOG "Log Information"
|
||||
IDM_TEXT_EDITCONFIG "Konfiguration anpassen"
|
||||
IDM_TEXT_PASSPHRASE "Passwort ändern"
|
||||
IDM_TEXT_SERVICE_START "Starten"
|
||||
IDM_TEXT_SERVICE_STOP "Beenden"
|
||||
IDM_TEXT_SERVICE_RESTART "Neu starten"
|
||||
IDM_TEXT_SERVICEONLY_START "Verbinden"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Trennen"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Erneut verbinden"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "Möchten Sie die Verbindung trennen (Beendet den OpenVPN Dienst)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI"
|
||||
IDS_TIP_CONNECTED "\nVerbunden mit: "
|
||||
IDS_TIP_CONNECTING "\nVerbinden mit: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nVerbunden seit: "
|
||||
IDS_TIP_ASSIGNED_IP "\nZugewiesene IP: %s"
|
||||
IDS_MENU_SERVICE "OpenVPN Dienst"
|
||||
IDS_MENU_SETTINGS "Einstellungen..."
|
||||
IDS_MENU_ABOUT "Über..."
|
||||
IDS_MENU_CLOSE "Beenden"
|
||||
IDS_MENU_CONNECT "Verbinden"
|
||||
IDS_MENU_DISCONNECT "Trennen"
|
||||
IDS_MENU_STATUS "Status"
|
||||
IDS_MENU_VIEWLOG "Log Information"
|
||||
IDS_MENU_EDITCONFIG "Konfiguration anpassen"
|
||||
IDS_MENU_PASSPHRASE "Passwort ändern"
|
||||
IDS_MENU_SERVICE_START "Starten"
|
||||
IDS_MENU_SERVICE_STOP "Beenden"
|
||||
IDS_MENU_SERVICE_RESTART "Neu starten"
|
||||
IDS_MENU_SERVICEONLY_START "Verbinden"
|
||||
IDS_MENU_SERVICEONLY_STOP "Trennen"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Erneut verbinden"
|
||||
IDS_MENU_ASK_STOP_SERVICE "Möchten Sie die Verbindung trennen (Beendet den OpenVPN Dienst)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Fehler beim Starten der Log Anzeige: %s"
|
||||
ERR_START_CONF_EDITOR "Fehler beim Starten des Konfigurations-Editors: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Fehler beim Starten der Log Anzeige: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Fehler beim Starten des Konfigurations-Editors: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "OpenVPN GUI unterstützt nicht mehr als %d Konfigurationen. Bitte kontaktieren Sie bei Bedarf den Author."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Kann die Logdatei mit Namem: %s nicht erstellen"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Sie können nur eine Verbindung zur gleichen Zeit aufbauen, wenn Sie einen ältere Version als 2.0-beta6 von OpenVPN verwenden."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "You cannot use OpenVPN GUI to start a connection while the OpenVPN Service is running (with OpenVPN 1.5/1.6). Stop OpenVPN Service first if you want to use OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "CreateEvent fehlgeschlagen beim Beenden. Event: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Unbekannter Prioritätsnamen: %s"
|
||||
ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Konnte die IE Proxy Einstellungen nicht übernehmen, weil:\n%s"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor fehlgeschlagen."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl fehlgeschlagen."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe an hOutputWrite fehlgeschlagen."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle an hErrorWrite fehlgeschlagen."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe an hInputRead fehlgeschlagen."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle an hOutputRead fehlgeschlagen."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle an hInputWrite fehlgeschlagen."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle an hOutputReadTmp/hInputWriteTmp fehlgeschlagen."
|
||||
ERR_CREATE_PROCESS "CreateProcess fehlgeschlagen, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle fehlgeschlagen."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread, welcher das Statusfenster zeigt ist fehlgschlagen."
|
||||
INFO_STATE_WAIT_TERM "Aktueller Status: Wartet bis OpenVPN beendet ist..."
|
||||
ERR_OPEN_LOG_WRITE "Fehler beim Schreiben des Logfiles: %s. Sie haben vermutlich keine Administratorenrechte, welche nötig sind um OpenVPN zu starten."
|
||||
INFO_STATE_CONNECTED "Aktueller Status: Verbunden"
|
||||
INFO_NOW_CONNECTED "%s ist nun verbunden."
|
||||
INFO_ASSIG_IP "Zugewiesene IP: %s"
|
||||
ERR_CERT_EXPIRED "Es konnte keine Verbindung hergestellt werden, weil Ihr Zertifikat abgelaufen ist oder die Systemzeit nicht korrekt eingestellt ist."
|
||||
ERR_CERT_NOT_YET_VALID "Es konnte keine Verbindung hergestellt werden, weil Ihr Zertifikat noch nicht gültig ist. Bitte überprüfen Sie Ihre Systemzeit."
|
||||
INFO_STATE_RECONNECTING "Aktueller Status: Erneut verbinden"
|
||||
INFO_STATE_DISCONNECTED "Aktueller Status: Getrennt"
|
||||
INFO_CONN_TERMINATED "Verbindung zu %s wurde getrennt."
|
||||
INFO_STATE_FAILED "Aktueller Status: Konnte Verbindung nicht herstellen"
|
||||
INFO_CONN_FAILED "Verbindung zu %s ist fehlgeschlagen."
|
||||
INFO_STATE_FAILED_RECONN "Aktueller Status: Konnte Verbindung nicht erneut herstellen."
|
||||
INFO_RECONN_FAILED "Erneutes Verbinden zu %s ist fehlgeschlagen."
|
||||
INFO_STATE_SUSPENDED "Aktueller Status: Ruhend"
|
||||
ERR_READ_STDOUT_PIPE "Error reading from OpenVPN StdOut Pipe."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Erstellen des RichEdit LogWindow fehlgeschlagen!!"
|
||||
ERR_SET_SIZE "Setzen der Grösse ist fehlgeschlagen!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Kann gewünschte Konfigurationdatei für Autostart nicht finden: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() beim überprüfen der OpenVPN version fehlgeschlagen."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe an hInputRead fehlgeschlagen."
|
||||
INFO_STATE_CONNECTING "Aktueller Status: Verbinden"
|
||||
INFO_CONNECTION_XXX "OpenVPN Verbindung (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "CreateThread zum Lesen des OpenVPN Prozess stdout fehlgeschlagen."
|
||||
INFO_STATE_CONN_SCRIPT "Aktueller Status: Verbindungsscript läuft"
|
||||
INFO_STATE_DISCONN_SCRIPT "Aktueller Status: Verbindungstrennungsscript läuft"
|
||||
ERR_RUN_CONN_SCRIPT "Fehler beim Ausführen des Verbindungsscript: %s"
|
||||
ERR_GET_EXIT_CODE "Fehler beim Erfassen des ExitCodes des Verbinungsscripts (%s)"
|
||||
ERR_CONN_SCRIPT_FAILED "Verbindungsscript fehlgeschlagen. (Exitcode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Verbindungsscript fehlgeschlagen. Abgebrochen nach %d Sekunden."
|
||||
ERR_CONFIG_ALREADY_EXIST "Es exisiert bereits ein Konfigurationsdatei mit dem Namen '%s'. Sie könnnen " \
|
||||
"nicht mehrere Konfigurationsdateien mit dem gleichen Namen haben, ausser sie " \
|
||||
"liegen in unterschiedlichen Verzeichnissen."
|
||||
IDS_ERR_MANY_CONFIGS "OpenVPN GUI unterstützt nicht mehr als %d Konfigurationen. Bitte kontaktieren Sie bei Bedarf den Author."
|
||||
IDS_ERR_LOG_CONSTRUCT "Kann die Logdatei mit Namem: %s nicht erstellen"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Sie können nur eine Verbindung zur gleichen Zeit aufbauen, wenn Sie einen ältere Version als 2.0-beta6 von OpenVPN verwenden."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "You cannot use OpenVPN GUI to start a connection while the OpenVPN Service is running (with OpenVPN 1.5/1.6). Stop OpenVPN Service first if you want to use OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent fehlgeschlagen beim Beenden. Event: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Unbekannter Prioritätsnamen: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Konnte die IE Proxy Einstellungen nicht übernehmen, weil:\n%s"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor fehlgeschlagen."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl fehlgeschlagen."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe an hOutputWrite fehlgeschlagen."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle an hErrorWrite fehlgeschlagen."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe an hInputRead fehlgeschlagen."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle an hOutputRead fehlgeschlagen."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle an hInputWrite fehlgeschlagen."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle an hOutputReadTmp/hInputWriteTmp fehlgeschlagen."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess fehlgeschlagen, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle fehlgeschlagen."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread, welcher das Statusfenster zeigt ist fehlgschlagen."
|
||||
IDS_NFO_STATE_WAIT_TERM "Aktueller Status: Wartet bis OpenVPN beendet ist..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Fehler beim Schreiben des Logfiles: %s. Sie haben vermutlich keine Administratorenrechte, welche nötig sind um OpenVPN zu starten."
|
||||
IDS_NFO_STATE_CONNECTED "Aktueller Status: Verbunden"
|
||||
IDS_NFO_NOW_CONNECTED "%s ist nun verbunden."
|
||||
IDS_NFO_ASSIGN_IP "Zugewiesene IP: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Es konnte keine Verbindung hergestellt werden, weil Ihr Zertifikat abgelaufen ist oder die Systemzeit nicht korrekt eingestellt ist."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Es konnte keine Verbindung hergestellt werden, weil Ihr Zertifikat noch nicht gültig ist. Bitte überprüfen Sie Ihre Systemzeit."
|
||||
IDS_NFO_STATE_RECONNECTING "Aktueller Status: Erneut verbinden"
|
||||
IDS_NFO_STATE_DISCONNECTED "Aktueller Status: Getrennt"
|
||||
IDS_NFO_CONN_TERMINATED "Verbindung zu %s wurde getrennt."
|
||||
IDS_NFO_STATE_FAILED "Aktueller Status: Konnte Verbindung nicht herstellen"
|
||||
IDS_NFO_CONN_FAILED "Verbindung zu %s ist fehlgeschlagen."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Aktueller Status: Konnte Verbindung nicht erneut herstellen."
|
||||
IDS_NFO_RECONN_FAILED "Erneutes Verbinden zu %s ist fehlgeschlagen."
|
||||
IDS_NFO_STATE_SUSPENDED "Aktueller Status: Ruhend"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Error reading from OpenVPN StdOut Pipe."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Erstellen des RichEdit LogWindow fehlgeschlagen!!"
|
||||
IDS_ERR_SET_SIZE "Setzen der Grösse ist fehlgeschlagen!"
|
||||
IDS_ERR_AUTOSTART_CONF "Kann gewünschte Konfigurationdatei für Autostart nicht finden: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() beim überprüfen der OpenVPN version fehlgeschlagen."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe an hInputRead fehlgeschlagen."
|
||||
IDS_NFO_STATE_CONNECTING "Aktueller Status: Verbinden"
|
||||
IDS_NFO_CONNECTION_XXX "OpenVPN Verbindung (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "CreateThread zum Lesen des OpenVPN Prozess stdout fehlgeschlagen."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Aktueller Status: Verbindungsscript läuft"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Aktueller Status: Verbindungstrennungsscript läuft"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Fehler beim Ausführen des Verbindungsscript: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Fehler beim Erfassen des ExitCodes des Verbinungsscripts (%s)"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Verbindungsscript fehlgeschlagen. (Exitcode=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Verbindungsscript fehlgeschlagen. Abgebrochen nach %d Sekunden."
|
||||
IDS_ERR_CONFIG_EXIST "Es exisiert bereits ein Konfigurationsdatei mit dem Namen '%s'. Sie könnnen " \
|
||||
"nicht mehrere Konfigurationsdateien mit dem gleichen Namen haben, ausser sie " \
|
||||
"liegen in unterschiedlichen Verzeichnissen."
|
||||
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Fehler beim öffnen des Debugfiles (%s)."
|
||||
ERR_LOAD_RICHED20 "Kann RICHED20.DLL nicht laden."
|
||||
ERR_SHELL_DLL_VERSION "Die shell32.dll Versionsnummer ist zu niedrieg (0x%lx). Es müssen mindestens Version 5.0 installiert sein."
|
||||
ERR_GUI_ALREADY_RUNNING "Die OpenVPN GUI wurde bereits gestartet."
|
||||
INFO_SERVICE_STARTED "OpenVPN Dienst gestartet."
|
||||
INFO_SERVICE_STOPPED "OpenVPN Dienst beendet."
|
||||
INFO_ACTIVE_CONN_EXIT "Es exisiert noch eine aktive Verbinung, welche geschlossen wird, wenn Sie die OpenVPN GUI beenden." \
|
||||
"\n\nSind sie sicher, dass Sie das Programm beenden möchten?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Der OpenVPN Dienst ist gestartet und verbunden. " \
|
||||
"Die Verbindung besteht solange bis Sie die OpenVPN GUI beenden.\n\n" \
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Fehler beim öffnen des Debugfiles (%s)."
|
||||
IDS_ERR_LOAD_RICHED20 "Kann RICHED20.DLL nicht laden."
|
||||
IDS_ERR_SHELL_DLL_VERSION "Die shell32.dll Versionsnummer ist zu niedrieg (0x%lx). Es müssen mindestens Version 5.0 installiert sein."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "Die OpenVPN GUI wurde bereits gestartet."
|
||||
IDS_NFO_SERVICE_STARTED "OpenVPN Dienst gestartet."
|
||||
IDS_NFO_SERVICE_STOPPED "OpenVPN Dienst beendet."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Es exisiert noch eine aktive Verbinung, welche geschlossen wird, wenn Sie die OpenVPN GUI beenden." \
|
||||
"\n\nSind sie sicher, dass Sie das Programm beenden möchten?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Sie haben ""log"" oder ""log-append"" in Ihrer OpenVPN Konfigurationsdatei. Diese Optionen " \
|
||||
"sollten nicht mit der OpenVPN GUI verwendet werden, denn es verhindert, dass die Ausgaben " \
|
||||
"von OpenVPN lesen kann, welche nötig ist, für den korrekten Betrieb des OpenVPN " \
|
||||
"GUI. Die Ausgabe wird immer in ein Logfile geschrieben, wenn OpenVPN GUI verwendet wird. " \
|
||||
"Deshalb sollten Sie diese Option entfernen.\n\nMöchten Sie dennoch mit dem Verbinden fortfahren? "
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Der OpenVPN Dienst ist gestartet und verbunden. " \
|
||||
"Die Verbindung besteht solange bis Sie die OpenVPN GUI beenden.\n\n" \
|
||||
"\n\nSind sie sicher, dass Sie das Programm beenden möchten?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Sie haben ""log"" oder ""log-append"" in Ihrer OpenVPN Konfigurationsdatei. Diese Optionen " \
|
||||
"sollten nicht mit der OpenVPN GUI verwendet werden, denn es verhindert, dass die Ausgaben " \
|
||||
"von OpenVPN lesen kann, welche nötig ist, für den korrekten Betrieb des OpenVPN " \
|
||||
"GUI. Die Ausgabe wird immer in ein Logfile geschrieben, wenn OpenVPN GUI verwendet wird. " \
|
||||
"Deshalb sollten Sie diese Option entfernen.\n\nMöchten Sie dennoch mit dem Verbinden fortfahren? "
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Zeigt diese Information.\n" \
|
||||
"--connect cnn \t\t: Verbinden zu ""cnn"" beim Starten. (Die Dateierweiterung muss angegeben werden)\n" \
|
||||
"\t\t\t Beispiel: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Option zum Überschreiben der Registry Einstellungen:\n" \
|
||||
"--exe_path\t\t: Pfad zu openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Pfad in welchem nach Konfigurationsdateien gesucht werden soll.\n" \
|
||||
"--ext_string\t\t: Dateinamenerweiterung der Konfigurationsdatei.\n" \
|
||||
"--log_dir\t\t\t: Pfad zum Verzeichnis in welchem die Logfiles gespeichert werden sollen.\n" \
|
||||
"--priority_string\t\t: Prioritätsnummer (Für mehr Informationen, schauen Sie im install.txt nach).\n" \
|
||||
"--append_string\t\t: 1=Logfile erweitern. 0=Überschreibe Logfile beim verbinden.\n" \
|
||||
"--log_viewer\t\t: Pfad zum Lofile-Betrachter.\n" \
|
||||
"--editor\t\t\t: Pfad zum Konfigurationseditor.\n" \
|
||||
"--allow_edit\t\t: 1=Show Edit Config menu item.\n" \
|
||||
"--allow_service\t\t: 1=Zeige Servicekontrolmenü.\n" \
|
||||
"--allow_password\t\t: 1=Show Change Password menu item.\n" \
|
||||
"--allow_proxy\t\t: 1=Zeige Proxy Einstellungsmenu.\n" \
|
||||
"--show_balloon\t\t: 0=Nie, 1=Beim ersten Verbinden, 2=Bei jedem Wiederverbinden.\n" \
|
||||
"--service_only\t\t: 1=Enable Service Only mode.\n" \
|
||||
"--silent_connection\t\t: 1=Unterdrücke die Anzeige des Statusdialogs beim Verbinden.\n" \
|
||||
"--show_script_window\t: 0=Unterdrücke die Anzeige des Scriptfensters, 1=Zeige es.\n" \
|
||||
"--passphrase_attempts\t: Anzahl der erlaubten Passphrase versuche.\n" \
|
||||
"--connectscript_timeout\t: Wartezeit bis Verbindungsscript beendet wird.\n" \
|
||||
"--disconnectscript_timeout\t: Wartezeit bis das Trennungsscript beendet wird.\n" \
|
||||
"--preconnectscript_timeout\t: Wartezeit bis das Verbindungsscript beendet wird.\n"
|
||||
IDS_NFO_USAGE "--help\t\t\t: Zeigt diese Information.\n" \
|
||||
"--connect cnn \t\t: Verbinden zu ""cnn"" beim Starten. (Die Dateierweiterung muss angegeben werden)\n" \
|
||||
"\t\t\t Beispiel: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Option zum Überschreiben der Registry Einstellungen:\n" \
|
||||
"--exe_path\t\t: Pfad zu openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Pfad in welchem nach Konfigurationsdateien gesucht werden soll.\n" \
|
||||
"--ext_string\t\t: Dateinamenerweiterung der Konfigurationsdatei.\n" \
|
||||
"--log_dir\t\t\t: Pfad zum Verzeichnis in welchem die Logfiles gespeichert werden sollen.\n" \
|
||||
"--priority_string\t\t: Prioritätsnummer (Für mehr Informationen, schauen Sie im install.txt nach).\n" \
|
||||
"--append_string\t\t: 1=Logfile erweitern. 0=Überschreibe Logfile beim verbinden.\n" \
|
||||
"--log_viewer\t\t: Pfad zum Lofile-Betrachter.\n" \
|
||||
"--editor\t\t\t: Pfad zum Konfigurationseditor.\n" \
|
||||
"--allow_edit\t\t: 1=Show Edit Config menu item.\n" \
|
||||
"--allow_service\t\t: 1=Zeige Servicekontrolmenü.\n" \
|
||||
"--allow_password\t\t: 1=Show Change Password menu item.\n" \
|
||||
"--allow_proxy\t\t: 1=Zeige Proxy Einstellungsmenu.\n" \
|
||||
"--show_balloon\t\t: 0=Nie, 1=Beim ersten Verbinden, 2=Bei jedem Wiederverbinden.\n" \
|
||||
"--service_only\t\t: 1=Enable Service Only mode.\n" \
|
||||
"--silent_connection\t\t: 1=Unterdrücke die Anzeige des Statusdialogs beim Verbinden.\n" \
|
||||
"--show_script_window\t: 0=Unterdrücke die Anzeige des Scriptfensters, 1=Zeige es.\n" \
|
||||
"--passphrase_attempts\t: Anzahl der erlaubten Passphrase versuche.\n" \
|
||||
"--connectscript_timeout\t: Wartezeit bis Verbindungsscript beendet wird.\n" \
|
||||
"--disconnectscript_timeout\t: Wartezeit bis das Trennungsscript beendet wird.\n" \
|
||||
"--preconnectscript_timeout\t: Wartezeit bis das Verbindungsscript beendet wird.\n"
|
||||
|
||||
INFO_USAGECAPTION "OpenVPN GUI Verwendung"
|
||||
ERR_BAD_PARAMETER "Es wurde versucht ""%s"" als einen Parameter zu parsen, es " \
|
||||
"konnten jedoch keine '--' am Anfang Parameters gefunden werden."
|
||||
ERR_BAD_OPTION "Fehler: Unbekannte Option oder fehlende(r) Parameter: --%s\n" \
|
||||
"Geben Sie 'openvpn-gui --help' für mehr Informationen ein."
|
||||
IDS_NFO_USAGECAPTION "OpenVPN GUI Verwendung"
|
||||
IDS_ERR_BAD_PARAMETER "Es wurde versucht ""%s"" als einen Parameter zu parsen, es " \
|
||||
"konnten jedoch keine '--' am Anfang Parameters gefunden werden."
|
||||
IDS_ERR_BAD_OPTION "Fehler: Unbekannte Option oder fehlende(r) Parameter: --%s\n" \
|
||||
"Geben Sie 'openvpn-gui --help' für mehr Informationen ein."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread, welcher den ChangePassphrase Dialog anzeigt, ist fehlgeschlagen."
|
||||
INFO_CHANGE_PWD "Passwort ändern (%s)"
|
||||
ERR_PWD_DONT_MATCH "Das eingegebene Passwort ist falsch. Bitte versuchen Sie es erneut."
|
||||
ERR_PWD_TO_SHORT "Das neue Passwort muss mindestens %d Zeichen lang sein."
|
||||
INFO_EMPTY_PWD "Sind Sie sicher, dass Sie ein LEERES Passwort setzten möchten?"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Unbekanntes keyfile Format."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Fehler beim Öffnen des privaten Schlüssels(%s)."
|
||||
ERR_OLD_PWD_INCORRECT "Das alte Passwort ist falsch."
|
||||
ERR_OPEN_WRITE_KEY "Fehler beim Öffnen des privaten Schlüssels (%s)."
|
||||
ERR_WRITE_NEW_KEY "Fehler beim Schreiben eines neuen privaten Schlüssel (%s)."
|
||||
INFO_PWD_CHANGED "Ihr Passwort wurde geändert."
|
||||
ERR_READ_PKCS12 "Fehler beim Lesen der PKCS #12 Datei (%s)."
|
||||
ERR_CREATE_PKCS12 "Fehler beim Erstellen eines neuen PKCS #12 Objects. Das Ändern des Passwortes ist fehlgeschlagen."
|
||||
ERR_OPEN_CONFIG "Kann die Konfigurationsdatei nicht öffnen: (%s)"
|
||||
ERR_ONLY_ONE_KEY_OPTION "Sie können nicht mehr als eine ""key"" Optionen in Ihrer Konfiguration verwenden."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "Sie können nicht beide ""key"" und ""pkcs12"" Optionen in Ihrer Konfiguration verwenden."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "Sie können nicht mehr als eine ""pkcs12"" Option in Ihrer Konfiguration verwenden."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Ihre Konfiguration enthält keine ""key"" oder ""pkcs12"" Optionen."
|
||||
ERR_KEY_FILENAME_TO_LONG "Ihr key Dateiname in Ihrer Konfiguration ist zu lang!"
|
||||
ERR_PASSPHRASE2STDIN "Fehler bei der Übergabe der Passphrase an stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Fehler bei der Übergabe des auth Benuzternamen an stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Fehler bei der Übergabe des auth Passwortes an stdin."
|
||||
ERR_CR2STDIN "Fehler bei der Übergabe des CR an stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "Ihr neues Passwort enthält ungültige Zeichen. " \
|
||||
"Bitte verwenden Sie ein anderes Passwort."
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread, welcher den ChangePassphrase Dialog anzeigt, ist fehlgeschlagen."
|
||||
IDS_NFO_CHANGE_PWD "Passwort ändern (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "Das eingegebene Passwort ist falsch. Bitte versuchen Sie es erneut."
|
||||
IDS_ERR_PWD_TO_SHORT "Das neue Passwort muss mindestens %d Zeichen lang sein."
|
||||
IDS_NFO_EMPTY_PWD "Sind Sie sicher, dass Sie ein LEERES Passwort setzten möchten?"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Unbekanntes keyfile Format."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Fehler beim Öffnen des privaten Schlüssels(%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "Das alte Passwort ist falsch."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Fehler beim Öffnen des privaten Schlüssels (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Fehler beim Schreiben eines neuen privaten Schlüssel (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Ihr Passwort wurde geändert."
|
||||
IDS_ERR_READ_PKCS12 "Fehler beim Lesen der PKCS #12 Datei (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Fehler beim Erstellen eines neuen PKCS #12 Objects. Das Ändern des Passwortes ist fehlgeschlagen."
|
||||
IDS_ERR_OPEN_CONFIG "Kann die Konfigurationsdatei nicht öffnen: (%s)"
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "Sie können nicht mehr als eine ""key"" Optionen in Ihrer Konfiguration verwenden."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "Sie können nicht beide ""key"" und ""pkcs12"" Optionen in Ihrer Konfiguration verwenden."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "Sie können nicht mehr als eine ""pkcs12"" Option in Ihrer Konfiguration verwenden."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Ihre Konfiguration enthält keine ""key"" oder ""pkcs12"" Optionen."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Ihr key Dateiname in Ihrer Konfiguration ist zu lang!"
|
||||
IDS_ERR_PASSPHRASE2STDIN "Fehler bei der Übergabe der Passphrase an stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Fehler bei der Übergabe des auth Benuzternamen an stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Fehler bei der Übergabe des auth Passwortes an stdin."
|
||||
IDS_ERR_CR2STDIN "Fehler bei der Übergabe des CR an stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "Ihr neues Passwort enthält ungültige Zeichen. " \
|
||||
"Bitte verwenden Sie ein anderes Passwort."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Einstellungen"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "Sie müssen eine HTTP Proxy Adresse definieren."
|
||||
ERR_HTTP_PROXY_PORT "Sie müssen einen HTTP Proxy Port definieren."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "Sie müssen eine HTTP Proxy Port zwischen 1-65535 definieren"
|
||||
ERR_SOCKS_PROXY_ADDRESS "Sie müssen eine SOCKS Proxy Adresse definieren."
|
||||
ERR_SOCKS_PROXY_PORT "Sie müssen einen SOCKS Proxy Port definieren."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "Sie müssen einen SOCKS Proxy Port zwischen 1-65535 definieren"
|
||||
ERR_CREATE_REG_HKCU_KEY "Fehler beim Erstellen des ""HKEY_CURRENT_USER\\%s"" Schlüssels."
|
||||
ERR_GET_TEMP_PATH "Fehler beim Erkennen des TempPath mit GetTempPath(). Benutzen Sie stattdessen ""C:\\"""
|
||||
ERR_CREATE_AUTH_FILE "Fehler beim Erstellen der AUTH Datei. (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "Sie müssen eine HTTP Proxy Adresse definieren."
|
||||
IDS_ERR_HTTP_PROXY_PORT "Sie müssen einen HTTP Proxy Port definieren."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "Sie müssen eine HTTP Proxy Port zwischen 1-65535 definieren"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "Sie müssen eine SOCKS Proxy Adresse definieren."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "Sie müssen einen SOCKS Proxy Port definieren."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "Sie müssen einen SOCKS Proxy Port zwischen 1-65535 definieren"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Fehler beim Erstellen des ""HKEY_CURRENT_USER\\%s"" Schlüssels."
|
||||
IDS_ERR_GET_TEMP_PATH "Fehler beim Erkennen des TempPath mit GetTempPath(). Benutzen Sie stattdessen ""C:\\"""
|
||||
IDS_ERR_CREATE_AUTH_FILE "Fehler beim Erstellen der AUTH Datei. (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "OpenSCManager Fehler. Sie benötigen Administratorenrechte um diesen Service zu starten."
|
||||
ERR_OPEN_VPN_SERVICE "Fehler beim Öffnen des ""OpenVPNService"""
|
||||
ERR_START_SERVICE "Fehler beim Starten des ""OpenVPNService"""
|
||||
ERR_QUERY_SERVICE "Konnte den Dienst Status nicht abfragen."
|
||||
ERR_SERVICE_START_FAILED "Der OpenVPN Dienst konnte nicht gestarten werden."
|
||||
ERR_OPEN_SCMGR "OpenSCManager Fehler (%d)"
|
||||
ERR_STOP_SERVICE "Fehler beim Stoppen des OpenVPN Diensts"
|
||||
INFO_RESTARTED "Der OpenVPN Dienst wurde neugestartet."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "OpenSCManager Fehler. Sie benötigen Administratorenrechte um diesen Service zu starten."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Fehler beim Öffnen des ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "Fehler beim Starten des ""OpenVPNService"""
|
||||
IDS_ERR_QUERY_SERVICE "Konnte den Dienst Status nicht abfragen."
|
||||
IDS_ERR_SERVICE_START_FAILED "Der OpenVPN Dienst konnte nicht gestarten werden."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager Fehler (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Fehler beim Stoppen des OpenVPN Diensts"
|
||||
IDS_NFO_RESTARTED "Der OpenVPN Dienst wurde neugestartet."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Konnte den Windowspfad nicht ermitteln."
|
||||
ERR_GET_PROGRAM_DIR "Konnte ""Programm"" Pfadname nicht ermitteln."
|
||||
ERR_OPEN_REGISTRY "Fehler beim Lesen des Registry Wert (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN ist vermutlich nicht installiert"
|
||||
ERR_READING_REGISTRY "Fehler beim Lesen des Registry Wert (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "Registry Wert ""passphrase_attempts"" Muss eine Nummer zwischen 1 und 9 sein."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "Registry Wert ""connectscript_timeout"" Muss eine Nummer zwischen 0 und 99 sein."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "Registry Wert ""disconnectscript_timeout"" Muss eine Nummer zwischen 1 und 99 sein."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "Registry Wert ""preconnectscript_timeout"" Muss eine Nummer zwischen 1 und 99 sein."
|
||||
ERR_CREATE_REG_KEY "Fehler beim Erstellen des HKLM\\SOFTWARE\\OpenVPN-GUI Schlüssels."
|
||||
ERR_OPEN_WRITE_REG "Fehler beim Öffnen der Registry. Sie müsse diese Anwendungen einmal " \
|
||||
"als Administrator ausführen um die Registry zu aktualisieren."
|
||||
ERR_READ_SET_KEY "Fehler beim Lesen und Setzen des Registrykeys ""%s""."
|
||||
ERR_WRITE_REGVALUE "Fehler beim Schreiben des Registrywertes ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Konnte den Windowspfad nicht ermitteln."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Konnte ""Programm"" Pfadname nicht ermitteln."
|
||||
IDS_ERR_OPEN_REGISTRY "Fehler beim Lesen des Registry Wert (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN ist vermutlich nicht installiert"
|
||||
IDS_ERR_READING_REGISTRY "Fehler beim Lesen des Registry Wert (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "Registry Wert ""passphrase_attempts"" Muss eine Nummer zwischen 1 und 9 sein."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Registry Wert ""connectscript_timeout"" Muss eine Nummer zwischen 0 und 99 sein."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "Registry Wert ""disconnectscript_timeout"" Muss eine Nummer zwischen 1 und 99 sein."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "Registry Wert ""preconnectscript_timeout"" Muss eine Nummer zwischen 1 und 99 sein."
|
||||
IDS_ERR_CREATE_REG_KEY "Fehler beim Erstellen des HKLM\\SOFTWARE\\OpenVPN-GUI Schlüssels."
|
||||
IDS_ERR_OPEN_WRITE_REG "Fehler beim Öffnen der Registry. Sie müsse diese Anwendungen einmal " \
|
||||
"als Administrator ausführen um die Registry zu aktualisieren."
|
||||
IDS_ERR_READ_SET_KEY "Fehler beim Lesen und Setzen des Registrykeys ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Fehler beim Schreiben des Registrywertes ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
||||
|
|
|
@ -21,15 +21,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog - designed with lcc-win32 resource editor */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "About - OpenVPN GUI for Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - An application to securely tunnel IP networks " \
|
||||
|
@ -42,7 +42,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -50,13 +50,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Enter Password:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - User Authentication"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -64,28 +64,28 @@ LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Username:", 0, 6, 9, 50, 10
|
||||
LTEXT "Password:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Connecting...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Connecting...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Disconnect", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Reconnect", ID_RESTART, 150, 190, 50, 14
|
||||
PUSHBUTTON "Hide", ID_HIDE, 100, 190, 50, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Change Passphrase"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -94,60 +94,60 @@ BEGIN
|
|||
LTEXT "Old Password:", 171, 6, 9, 85, 10
|
||||
LTEXT "New Password:", 172, 6, 26, 85, 10
|
||||
LTEXT "Confirm New Password:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Use OpenVPN Config-file Settings", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Use OpenVPN Config-file Settings", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Use Internet Explorer Settings", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manual Configuration", RB_PROXY_USE_MANUAL, 13, 42, 79, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Address:", TEXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Port:", TEXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 53, 71, 117, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Prompt for username/password when connecting.", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manual Configuration", ID_RB_PROXY_MANUAL, 13, 42, 79, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Address:", ID_TXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Port:", ID_TXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 53, 71, 117, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Prompt for username/password when connecting.", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* General Settings Dialog */
|
||||
IDD_LANGUAGE DIALOGEX 6, 18, 249, 124
|
||||
ID_DLG_GENERAL DIALOGEX 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "General"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX "User Interface", 201, 6, 6, 235, 30
|
||||
LTEXT "Language:", TEXT_LANGUAGES, 17, 19, 52, 12
|
||||
COMBOBOX CB_LANGUAGES, 57, 17, 171, 400, CBS_DROPDOWNLIST | WS_TABSTOP
|
||||
LTEXT "Language:", ID_TXT_LANGUAGE, 17, 19, 52, 12
|
||||
COMBOBOX ID_CMB_LANGUAGE, 57, 17, 171, 400, CBS_DROPDOWNLIST | WS_TABSTOP
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Proxy Authentication"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Username:", 201, 9, 8, 38, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Password:", 202, 9, 26, 38, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 58, 43, 40, 14
|
||||
END
|
||||
|
||||
|
@ -157,205 +157,205 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "English"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - A Windows GUI for OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - A Windows GUI for OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI "
|
||||
MSG_TIP_CONNECTED "\nConnected to: "
|
||||
MSG_TIP_CONNECTING "\nConnecting to: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nConnected since: "
|
||||
MSG_TIP_ASSIGNED_IP "\nAssigned IP: %s"
|
||||
IDM_TEXT_SERVICE "OpenVPN Service"
|
||||
IDM_TEXT_SETTINGS "Settings..."
|
||||
IDM_TEXT_ABOUT "About..."
|
||||
IDM_TEXT_CLOSE "Exit"
|
||||
IDM_TEXT_CONNECT "Connect"
|
||||
IDM_TEXT_DISCONNECT "Disconnect"
|
||||
IDM_TEXT_STATUS "Show Status"
|
||||
IDM_TEXT_VIEWLOG "View Log"
|
||||
IDM_TEXT_EDITCONFIG "Edit Config"
|
||||
IDM_TEXT_PASSPHRASE "Change Password"
|
||||
IDM_TEXT_SERVICE_START "Start"
|
||||
IDM_TEXT_SERVICE_STOP "Stop"
|
||||
IDM_TEXT_SERVICE_RESTART "Restart"
|
||||
IDM_TEXT_SERVICEONLY_START "Connect"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Disconnect"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Reconnect"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "Do you want to disconnect (Stop the OpenVPN Service)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI "
|
||||
IDS_TIP_CONNECTED "\nConnected to: "
|
||||
IDS_TIP_CONNECTING "\nConnecting to: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nConnected since: "
|
||||
IDS_TIP_ASSIGNED_IP "\nAssigned IP: %s"
|
||||
IDS_MENU_SERVICE "OpenVPN Service"
|
||||
IDS_MENU_SETTINGS "Settings..."
|
||||
IDS_MENU_ABOUT "About..."
|
||||
IDS_MENU_CLOSE "Exit"
|
||||
IDS_MENU_CONNECT "Connect"
|
||||
IDS_MENU_DISCONNECT "Disconnect"
|
||||
IDS_MENU_STATUS "Show Status"
|
||||
IDS_MENU_VIEWLOG "View Log"
|
||||
IDS_MENU_EDITCONFIG "Edit Config"
|
||||
IDS_MENU_PASSPHRASE "Change Password"
|
||||
IDS_MENU_SERVICE_START "Start"
|
||||
IDS_MENU_SERVICE_STOP "Stop"
|
||||
IDS_MENU_SERVICE_RESTART "Restart"
|
||||
IDS_MENU_SERVICEONLY_START "Connect"
|
||||
IDS_MENU_SERVICEONLY_STOP "Disconnect"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Reconnect"
|
||||
IDS_MENU_ASK_STOP_SERVICE "Do you want to disconnect (Stop the OpenVPN Service)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Error starting log-viewer: %s"
|
||||
ERR_START_CONF_EDITOR "Error starting config-editor: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Error starting log-viewer: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Error starting config-editor: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "OpenVPN GUI does not support more than %d configs. Please contact the author if you have the need for more."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Cannot construct logfile name based on: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "You can only have one connection running at the same time when using an older version on OpenVPN than 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "You cannot use OpenVPN GUI to start a connection while the OpenVPN Service is running (with OpenVPN 1.5/1.6). Stop OpenVPN Service first if you want to use OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "CreateEvent failed on exit event: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Unknown priority name: %s"
|
||||
ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Unable to get IE proxy settings because:\n%s"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor failed."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl failed."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite failed."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite failed."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead failed."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle on hOutputRead failed."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle on hInputWrite failed."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp failed."
|
||||
ERR_CREATE_PROCESS "CreateProcess failed, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle failed."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread to show Status window Failed."
|
||||
INFO_STATE_WAIT_TERM "Current State: Waiting for OpenVPN to terminate..."
|
||||
ERR_OPEN_LOG_WRITE "Error opening logfile for writing: %s. You probably don't have administrator privileges, which are necessary to run OpenVPN."
|
||||
INFO_STATE_CONNECTED "Current State: Connected"
|
||||
INFO_NOW_CONNECTED "%s is now connected."
|
||||
INFO_ASSIG_IP "Assigned IP: %s"
|
||||
ERR_CERT_EXPIRED "Unable to connect because your certificate has expired or the system time is incorrect."
|
||||
ERR_CERT_NOT_YET_VALID "Unable to connect because your certificate is not yet valid. Check that your system time is correct."
|
||||
INFO_STATE_RECONNECTING "Current State: Reconnecting"
|
||||
INFO_STATE_DISCONNECTED "Current State: Disconnected"
|
||||
INFO_CONN_TERMINATED "Connection to %s was terminated."
|
||||
INFO_STATE_FAILED "Current State: Failed to connect"
|
||||
INFO_CONN_FAILED "Connecting to %s has failed."
|
||||
INFO_STATE_FAILED_RECONN "Current State: Failed to reconnect"
|
||||
INFO_RECONN_FAILED "ReConnecting to %s has failed."
|
||||
INFO_STATE_SUSPENDED "Current State: Suspended"
|
||||
ERR_READ_STDOUT_PIPE "Error reading from OpenVPN StdOut Pipe."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Creating RichEdit LogWindow Failed!!"
|
||||
ERR_SET_SIZE "Set Size failed!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Cannot find requested config to autostart: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() failed when checking openvpn version."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe on hInputRead failed."
|
||||
INFO_STATE_CONNECTING "Current State: Connecting"
|
||||
INFO_CONNECTION_XXX "OpenVPN Connection (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "CreateThread to read openvpn process stdout failed."
|
||||
INFO_STATE_CONN_SCRIPT "Current State: Running Connect Script"
|
||||
INFO_STATE_DISCONN_SCRIPT "Current State: Running Disconnect Script"
|
||||
ERR_RUN_CONN_SCRIPT "Error running Connect Script: %s"
|
||||
ERR_GET_EXIT_CODE "Failed to get ExitCode of Connect Script (%s)"
|
||||
ERR_CONN_SCRIPT_FAILED "Connect Script failed. (exitcode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Connect Script failed. TimeOut after %d sec."
|
||||
ERR_CONFIG_ALREADY_EXIST "There already exist a config file named '%s'. You cannot " \
|
||||
"have multiple config files with the same name, even if " \
|
||||
"they reside in diffrent folders."
|
||||
IDS_ERR_MANY_CONFIGS "OpenVPN GUI does not support more than %d configs. Please contact the author if you have the need for more."
|
||||
IDS_ERR_LOG_CONSTRUCT "Cannot construct logfile name based on: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "You can only have one connection running at the same time when using an older version on OpenVPN than 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "You cannot use OpenVPN GUI to start a connection while the OpenVPN Service is running (with OpenVPN 1.5/1.6). Stop OpenVPN Service first if you want to use OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent failed on exit event: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Unknown priority name: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Unable to get IE proxy settings because:\n%s"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor failed."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl failed."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite failed."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite failed."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead failed."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle on hOutputRead failed."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle on hInputWrite failed."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp failed."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess failed, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle failed."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread to show Status window Failed."
|
||||
IDS_NFO_STATE_WAIT_TERM "Current State: Waiting for OpenVPN to terminate..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Error opening logfile for writing: %s. You probably don't have administrator privileges, which are necessary to run OpenVPN."
|
||||
IDS_NFO_STATE_CONNECTED "Current State: Connected"
|
||||
IDS_NFO_NOW_CONNECTED "%s is now connected."
|
||||
IDS_NFO_ASSIGN_IP "Assigned IP: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Unable to connect because your certificate has expired or the system time is incorrect."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Unable to connect because your certificate is not yet valid. Check that your system time is correct."
|
||||
IDS_NFO_STATE_RECONNECTING "Current State: Reconnecting"
|
||||
IDS_NFO_STATE_DISCONNECTED "Current State: Disconnected"
|
||||
IDS_NFO_CONN_TERMINATED "Connection to %s was terminated."
|
||||
IDS_NFO_STATE_FAILED "Current State: Failed to connect"
|
||||
IDS_NFO_CONN_FAILED "Connecting to %s has failed."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Current State: Failed to reconnect"
|
||||
IDS_NFO_RECONN_FAILED "ReConnecting to %s has failed."
|
||||
IDS_NFO_STATE_SUSPENDED "Current State: Suspended"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Error reading from OpenVPN StdOut Pipe."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Creating RichEdit LogWindow Failed!!"
|
||||
IDS_ERR_SET_SIZE "Set Size failed!"
|
||||
IDS_ERR_AUTOSTART_CONF "Cannot find requested config to autostart: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() failed when checking openvpn version."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe on hInputRead failed."
|
||||
IDS_NFO_STATE_CONNECTING "Current State: Connecting"
|
||||
IDS_NFO_CONNECTION_XXX "OpenVPN Connection (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "CreateThread to read openvpn process stdout failed."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Current State: Running Connect Script"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Current State: Running Disconnect Script"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Error running Connect Script: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Failed to get ExitCode of Connect Script (%s)"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Connect Script failed. (exitcode=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Connect Script failed. TimeOut after %d sec."
|
||||
IDS_ERR_CONFIG_EXIST "There already exist a config file named '%s'. You cannot " \
|
||||
"have multiple config files with the same name, even if " \
|
||||
"they reside in diffrent folders."
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Error opening debug file (%s) for output."
|
||||
ERR_LOAD_RICHED20 "Could not load RICHED20.DLL."
|
||||
ERR_SHELL_DLL_VERSION "Your shell32.dll version is to low (0x%lx). You need at least version 5.0."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI is already running."
|
||||
INFO_SERVICE_STARTED "OpenVPN Service started."
|
||||
INFO_SERVICE_STOPPED "OpenVPN Service stopped."
|
||||
INFO_ACTIVE_CONN_EXIT "There are still active connections that will be closed if you exit OpenVPN GUI." \
|
||||
"\n\nAre you sure you want to exit?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "You are currently connected (the OpenVPN Service is running). " \
|
||||
"You will stay connected even if you exit OpenVPN GUI.\n\n" \
|
||||
"Do you want to proceed and exit OpenVPN GUI?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "You have ""log"" or ""log-append"" in your OpenVPN config file. These options " \
|
||||
"should not be used with OpenVPN GUI as they prevents OpenVPN GUI from reading " \
|
||||
"the log output of OpenVPN which is necessary for correct operation of OpenVPN " \
|
||||
"GUI. The log is always written to a logfile when OpenVPN GUI is beeing used " \
|
||||
"anyway, so you should remove this option.\n\nDo you want to proceed connecting " \
|
||||
"anyway?"
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Error opening debug file (%s) for output."
|
||||
IDS_ERR_LOAD_RICHED20 "Could not load RICHED20.DLL."
|
||||
IDS_ERR_SHELL_DLL_VERSION "Your shell32.dll version is to low (0x%lx). You need at least version 5.0."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI is already running."
|
||||
IDS_NFO_SERVICE_STARTED "OpenVPN Service started."
|
||||
IDS_NFO_SERVICE_STOPPED "OpenVPN Service stopped."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "There are still active connections that will be closed if you exit OpenVPN GUI." \
|
||||
"\n\nAre you sure you want to exit?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "You are currently connected (the OpenVPN Service is running). " \
|
||||
"You will stay connected even if you exit OpenVPN GUI.\n\n" \
|
||||
"Do you want to proceed and exit OpenVPN GUI?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "You have ""log"" or ""log-append"" in your OpenVPN config file. These options " \
|
||||
"should not be used with OpenVPN GUI as they prevents OpenVPN GUI from reading " \
|
||||
"the log output of OpenVPN which is necessary for correct operation of OpenVPN " \
|
||||
"GUI. The log is always written to a logfile when OpenVPN GUI is beeing used " \
|
||||
"anyway, so you should remove this option.\n\nDo you want to proceed connecting " \
|
||||
"anyway?"
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Show this message.\n" \
|
||||
"--connect cnn \t\t: Connect to ""cnn"" at startup. (extension must be included)\n" \
|
||||
"\t\t\t Example: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Options to override registry settings:\n" \
|
||||
"--exe_path\t\t: Path to openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Path to dir to search for config files in.\n" \
|
||||
"--ext_string\t\t: Extension on config files.\n" \
|
||||
"--log_dir\t\t\t: Path to dir where log files will be saved.\n" \
|
||||
"--priority_string\t\t: Priority string (See install.txt for more info).\n" \
|
||||
"--append_string\t\t: 1=Append to log file. 0=Truncate logfile when connecting.\n" \
|
||||
"--log_viewer\t\t: Path to log viewer.\n" \
|
||||
"--editor\t\t\t: Path to config editor.\n" \
|
||||
"--allow_edit\t\t: 1=Show Edit Config menu item.\n" \
|
||||
"--allow_service\t\t: 1=Show Service control menu.\n" \
|
||||
"--allow_password\t\t: 1=Show Change Password menu item.\n" \
|
||||
"--allow_proxy\t\t: 1=Show Proxy Settings menu.\n" \
|
||||
"--show_balloon\t\t: 0=Never, 1=At initial connect, 2=At every re-connect.\n" \
|
||||
"--service_only\t\t: 1=Enable Service Only mode.\n" \
|
||||
"--silent_connection\t\t: 1=Do not show the status dialog while connecting.\n" \
|
||||
"--show_script_window\t: 0=Hide Script execution window, 1=Show it.\n" \
|
||||
"--passphrase_attempts\t: Number of passphrase attempts to allow.\n" \
|
||||
"--connectscript_timeout\t: Time to wait for connect script to finish.\n" \
|
||||
"--disconnectscript_timeout\t: Time to wait for disconnect script to finish.\n" \
|
||||
"--preconnectscript_timeout\t: Time to wait for preconnect script to finish.\n"
|
||||
IDS_NFO_USAGE "--help\t\t\t: Show this message.\n" \
|
||||
"--connect cnn \t\t: Connect to ""cnn"" at startup. (extension must be included)\n" \
|
||||
"\t\t\t Example: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Options to override registry settings:\n" \
|
||||
"--exe_path\t\t: Path to openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Path to dir to search for config files in.\n" \
|
||||
"--ext_string\t\t: Extension on config files.\n" \
|
||||
"--log_dir\t\t\t: Path to dir where log files will be saved.\n" \
|
||||
"--priority_string\t\t: Priority string (See install.txt for more info).\n" \
|
||||
"--append_string\t\t: 1=Append to log file. 0=Truncate logfile when connecting.\n" \
|
||||
"--log_viewer\t\t: Path to log viewer.\n" \
|
||||
"--editor\t\t\t: Path to config editor.\n" \
|
||||
"--allow_edit\t\t: 1=Show Edit Config menu item.\n" \
|
||||
"--allow_service\t\t: 1=Show Service control menu.\n" \
|
||||
"--allow_password\t\t: 1=Show Change Password menu item.\n" \
|
||||
"--allow_proxy\t\t: 1=Show Proxy Settings menu.\n" \
|
||||
"--show_balloon\t\t: 0=Never, 1=At initial connect, 2=At every re-connect.\n" \
|
||||
"--service_only\t\t: 1=Enable Service Only mode.\n" \
|
||||
"--silent_connection\t\t: 1=Do not show the status dialog while connecting.\n" \
|
||||
"--show_script_window\t: 0=Hide Script execution window, 1=Show it.\n" \
|
||||
"--passphrase_attempts\t: Number of passphrase attempts to allow.\n" \
|
||||
"--connectscript_timeout\t: Time to wait for connect script to finish.\n" \
|
||||
"--disconnectscript_timeout\t: Time to wait for disconnect script to finish.\n" \
|
||||
"--preconnectscript_timeout\t: Time to wait for preconnect script to finish.\n"
|
||||
|
||||
INFO_USAGECAPTION "OpenVPN GUI Usage"
|
||||
ERR_BAD_PARAMETER "I'm trying to parse ""%s"" as an --option parameter " \
|
||||
IDS_NFO_USAGECAPTION "OpenVPN GUI Usage"
|
||||
IDS_ERR_BAD_PARAMETER "I'm trying to parse ""%s"" as an --option parameter " \
|
||||
"but I don't see a leading '--'"
|
||||
ERR_BAD_OPTION "Options error: Unrecognized option or missing parameter(s): --%s\n" \
|
||||
IDS_ERR_BAD_OPTION "Options error: Unrecognized option or missing parameter(s): --%s\n" \
|
||||
"Use openvpn-gui --help for more info."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread to show ChangePassphrase dialog failed."
|
||||
INFO_CHANGE_PWD "Change Password (%s)"
|
||||
ERR_PWD_DONT_MATCH "The passwords you typed do not match. Try again."
|
||||
ERR_PWD_TO_SHORT "Your new password must be at least %d characters long."
|
||||
INFO_EMPTY_PWD "Are you sure you want to set an EMPTY password?"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Unknown keyfile format."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Error opening private key file (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "The old password is incorrect."
|
||||
ERR_OPEN_WRITE_KEY "Error opening private key file for writing (%s)."
|
||||
ERR_WRITE_NEW_KEY "Error writing new private key file (%s)."
|
||||
INFO_PWD_CHANGED "Your password has been changed."
|
||||
ERR_READ_PKCS12 "Error reading PKCS #12 file (%s)."
|
||||
ERR_CREATE_PKCS12 "Error creating new PKCS #12 object. Change Password has failed."
|
||||
ERR_OPEN_CONFIG "Could not open config file for reading: (%s)"
|
||||
ERR_ONLY_ONE_KEY_OPTION "You cannot have more than one ""key"" option in your config."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "You cannot have both ""key"" and ""pkcs12"" options in your config."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "You cannot have more than one ""pkcs12"" option in your config."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Your config file does not contain any ""key"" or ""pkcs12"" option."
|
||||
ERR_KEY_FILENAME_TO_LONG "Your key filename in the config is too long!"
|
||||
ERR_PASSPHRASE2STDIN "Error passing passphrase to stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Error passing auth username to stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Error passing auth password to stdin."
|
||||
ERR_CR2STDIN "Error passing CR to stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "Your new password contains non-valid characters. " \
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread to show ChangePassphrase dialog failed."
|
||||
IDS_NFO_CHANGE_PWD "Change Password (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "The passwords you typed do not match. Try again."
|
||||
IDS_ERR_PWD_TO_SHORT "Your new password must be at least %d characters long."
|
||||
IDS_NFO_EMPTY_PWD "Are you sure you want to set an EMPTY password?"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Unknown keyfile format."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Error opening private key file (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "The old password is incorrect."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Error opening private key file for writing (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Error writing new private key file (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Your password has been changed."
|
||||
IDS_ERR_READ_PKCS12 "Error reading PKCS #12 file (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Error creating new PKCS #12 object. Change Password has failed."
|
||||
IDS_ERR_OPEN_CONFIG "Could not open config file for reading: (%s)"
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "You cannot have more than one ""key"" option in your config."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "You cannot have both ""key"" and ""pkcs12"" options in your config."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "You cannot have more than one ""pkcs12"" option in your config."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Your config file does not contain any ""key"" or ""pkcs12"" option."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Your key filename in the config is too long!"
|
||||
IDS_ERR_PASSPHRASE2STDIN "Error passing passphrase to stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Error passing auth username to stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Error passing auth password to stdin."
|
||||
IDS_ERR_CR2STDIN "Error passing CR to stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "Your new password contains non-valid characters. " \
|
||||
"Please choose another one."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Settings"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "You must specify a HTTP proxy address."
|
||||
ERR_HTTP_PROXY_PORT "You must specify a HTTP proxy port."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "You must specify a HTTP proxy port between 1-65535"
|
||||
ERR_SOCKS_PROXY_ADDRESS "You must specify a SOCKS proxy address."
|
||||
ERR_SOCKS_PROXY_PORT "You must specify a SOCKS proxy port."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "You must specify a SOCKS proxy port between 1-65535"
|
||||
ERR_CREATE_REG_HKCU_KEY "Error creating ""HKEY_CURRENT_USER\\%s"" key."
|
||||
ERR_GET_TEMP_PATH "Error determining TempPath with GetTempPath(). Using ""C:\\"" instead."
|
||||
ERR_CREATE_AUTH_FILE "Error creating AUTH file. (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "You must specify a HTTP proxy address."
|
||||
IDS_ERR_HTTP_PROXY_PORT "You must specify a HTTP proxy port."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "You must specify a HTTP proxy port between 1-65535"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "You must specify a SOCKS proxy address."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "You must specify a SOCKS proxy port."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "You must specify a SOCKS proxy port between 1-65535"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Error creating ""HKEY_CURRENT_USER\\%s"" key."
|
||||
IDS_ERR_GET_TEMP_PATH "Error determining TempPath with GetTempPath(). Using ""C:\\"" instead."
|
||||
IDS_ERR_CREATE_AUTH_FILE "Error creating AUTH file. (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "OpenSCManager failed. You need Administrator rights to start a service."
|
||||
ERR_OPEN_VPN_SERVICE "Failed to open ""OpenVPNService"""
|
||||
ERR_START_SERVICE "Failed to start ""OpenVPNService"""
|
||||
ERR_QUERY_SERVICE "Failed to query service status."
|
||||
ERR_SERVICE_START_FAILED "OpenVPN Service failed to start."
|
||||
ERR_OPEN_SCMGR "OpenSCManager failed (%d)"
|
||||
ERR_STOP_SERVICE "Failed to stop OpenVPN Service"
|
||||
INFO_RESTARTED "OpenVPN Service Restarted."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "OpenSCManager failed. You need Administrator rights to start a service."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Failed to open ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "Failed to start ""OpenVPNService"""
|
||||
IDS_ERR_QUERY_SERVICE "Failed to query service status."
|
||||
IDS_ERR_SERVICE_START_FAILED "OpenVPN Service failed to start."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager failed (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Failed to stop OpenVPN Service"
|
||||
IDS_NFO_RESTARTED "OpenVPN Service Restarted."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Error getting Windows Directory."
|
||||
ERR_GET_PROGRAM_DIR "Error getting ""Program"" folder name."
|
||||
ERR_OPEN_REGISTRY "Error opening registry for reading (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
IDS_ERR_GET_WINDOWS_DIR "Error getting Windows Directory."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Error getting ""Program"" folder name."
|
||||
IDS_ERR_OPEN_REGISTRY "Error opening registry for reading (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN is probably not installed"
|
||||
ERR_READING_REGISTRY "Error reading registry value (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "Registry value ""passphrase_attempts"" must be a number between 1 and 9."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "Registry value ""connectscript_timeout"" must be a number between 0 and 99."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "Registry value ""disconnectscript_timeout"" must be a number between 1 and 99."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "Registry value ""preconnectscript_timeout"" must be a number between 1 and 99."
|
||||
ERR_CREATE_REG_KEY "Error creating HKLM\\SOFTWARE\\OpenVPN-GUI key."
|
||||
ERR_OPEN_WRITE_REG "Failed to open the registry for writing. You need to run this application " \
|
||||
IDS_ERR_READING_REGISTRY "Error reading registry value (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "Registry value ""passphrase_attempts"" must be a number between 1 and 9."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Registry value ""connectscript_timeout"" must be a number between 0 and 99."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "Registry value ""disconnectscript_timeout"" must be a number between 1 and 99."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "Registry value ""preconnectscript_timeout"" must be a number between 1 and 99."
|
||||
IDS_ERR_CREATE_REG_KEY "Error creating HKLM\\SOFTWARE\\OpenVPN-GUI key."
|
||||
IDS_ERR_OPEN_WRITE_REG "Failed to open the registry for writing. You need to run this application " \
|
||||
"once as Administrator to update the registry."
|
||||
ERR_READ_SET_KEY "Error reading and setting registry key ""%s""."
|
||||
ERR_WRITE_REGVALUE "Error writing registry value ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_READ_SET_KEY "Error reading and setting registry key ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Error writing registry value ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog - designed with lcc-win32 resource editor */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Acerca de - OpenVPN GUI para Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - Una aplicación para tunelizar de forma segura redes IP " \
|
||||
|
@ -41,7 +41,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -49,13 +49,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Introduce clave:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - Autenticación de usuario"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -63,28 +63,28 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Usuario:", 0, 6, 9, 50, 10
|
||||
LTEXT "Password:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Conectando...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Conectando...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Desconectar", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Reconectar", ID_RESTART, 150, 190, 50, 14
|
||||
PUSHBUTTON "Ocultar", ID_HIDE, 100, 190, 50, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Cambiar Passphrase"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -93,48 +93,48 @@ BEGIN
|
|||
LTEXT "Clave anterior:", 171, 6, 9, 85, 10
|
||||
LTEXT "Nueva clave:", 172, 6, 26, 85, 10
|
||||
LTEXT "Confirmar nueva clave:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Usar opciones del fichero de configuración de OpenVPN", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Usar opciones del fichero de configuración de OpenVPN", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Usar las opciones del Internet Explorer", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configuración Manual", RB_PROXY_USE_MANUAL, 13, 42, 82, 10
|
||||
AUTORADIOBUTTON "Proxy HTTP", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Proxy SOCKS", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Host:", TEXT_PROXY_ADDRESS, 20, 73, 21, 10
|
||||
RTEXT "Puerto:", TEXT_PROXY_PORT, 161, 73, 30, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 42, 71, 119, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Pedir usuario/clave al conectar.", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configuración Manual", ID_RB_PROXY_MANUAL, 13, 42, 82, 10
|
||||
AUTORADIOBUTTON "Proxy HTTP", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Proxy SOCKS", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Host:", ID_TXT_PROXY_ADDRESS, 20, 73, 21, 10
|
||||
RTEXT "Puerto:", ID_TXT_PROXY_PORT, 161, 73, 30, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 42, 71, 119, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Pedir usuario/clave al conectar.", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Autenticación del Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Usuario:", 201, 9, 8, 38, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Clave:", 202, 9, 26, 38, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 58, 43, 40, 14
|
||||
END
|
||||
|
||||
|
@ -144,205 +144,205 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Español - Spanish"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - Un frontend de Windows para OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - Un frontend de Windows para OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI "
|
||||
MSG_TIP_CONNECTED "\nConectado a: "
|
||||
MSG_TIP_CONNECTING "\nConectando a: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nConectado desde: "
|
||||
MSG_TIP_ASSIGNED_IP "\nIP asignada: %s"
|
||||
IDM_TEXT_SERVICE "Servicio OpenVPN"
|
||||
IDM_TEXT_SETTINGS "Opciones..."
|
||||
IDM_TEXT_ABOUT "Acerca de..."
|
||||
IDM_TEXT_CLOSE "Salir"
|
||||
IDM_TEXT_CONNECT "Conectar"
|
||||
IDM_TEXT_DISCONNECT "Desconectar"
|
||||
IDM_TEXT_STATUS "Mostrar estado"
|
||||
IDM_TEXT_VIEWLOG "Ver Log"
|
||||
IDM_TEXT_EDITCONFIG "Editar config"
|
||||
IDM_TEXT_PASSPHRASE "Cambiar clave"
|
||||
IDM_TEXT_SERVICE_START "Iniciar"
|
||||
IDM_TEXT_SERVICE_STOP "Parar"
|
||||
IDM_TEXT_SERVICE_RESTART "Reiniciar"
|
||||
IDM_TEXT_SERVICEONLY_START "Conectar"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Desconectar"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Reconectra"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "¿Quiere desconectar (Parar el servicio OpenVPN)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI "
|
||||
IDS_TIP_CONNECTED "\nConectado a: "
|
||||
IDS_TIP_CONNECTING "\nConectando a: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nConectado desde: "
|
||||
IDS_TIP_ASSIGNED_IP "\nIP asignada: %s"
|
||||
IDS_MENU_SERVICE "Servicio OpenVPN"
|
||||
IDS_MENU_SETTINGS "Opciones..."
|
||||
IDS_MENU_ABOUT "Acerca de..."
|
||||
IDS_MENU_CLOSE "Salir"
|
||||
IDS_MENU_CONNECT "Conectar"
|
||||
IDS_MENU_DISCONNECT "Desconectar"
|
||||
IDS_MENU_STATUS "Mostrar estado"
|
||||
IDS_MENU_VIEWLOG "Ver Log"
|
||||
IDS_MENU_EDITCONFIG "Editar config"
|
||||
IDS_MENU_PASSPHRASE "Cambiar clave"
|
||||
IDS_MENU_SERVICE_START "Iniciar"
|
||||
IDS_MENU_SERVICE_STOP "Parar"
|
||||
IDS_MENU_SERVICE_RESTART "Reiniciar"
|
||||
IDS_MENU_SERVICEONLY_START "Conectar"
|
||||
IDS_MENU_SERVICEONLY_STOP "Desconectar"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Reconectra"
|
||||
IDS_MENU_ASK_STOP_SERVICE "¿Quiere desconectar (Parar el servicio OpenVPN)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Error arrancando el visor de log: %s"
|
||||
ERR_START_CONF_EDITOR "Error arrancando el editor de configuración: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Error arrancando el visor de log: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Error arrancando el editor de configuración: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "OpenVPN GUI no soporta más de %d configuraciones. Contacte con el autor si necesita más."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "No se puede crear el fichero de log basado en: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Sólo se puede tener una conexión activa a la vez usando una version de OpenVPN anterior a la 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "No se puede usar OpenVPN GUI para inicar una conexión mientras el servicio OpenVPN está ejecutándose (con OpenVPN 1.5/1.6). Detenga primero el servicio OpenVPN si quiere utilizar OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "CreateEvent fallido con evento de salida: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Nombre de prioridad desconocido: %s"
|
||||
ERR_LOG_APPEND_BOOL "El flag de append para el fichero de log (dado como '%s') debe ser '0' ó '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Imposible importar la configuración del IE por:\n%s"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor fallido."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl fallido."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite fallido."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite fallido."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead fallido."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle on hOutputRead fallido."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle on hInputWrite fallido."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp fallido."
|
||||
ERR_CREATE_PROCESS "CreateProcess fallido, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle fallido."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread para mostrar la Ventana de Estado fallido."
|
||||
INFO_STATE_WAIT_TERM "Estado actual: Esperando que OpenVPN termine..."
|
||||
ERR_OPEN_LOG_WRITE "Error al abrir el fichero de log para escritura: %s. Probablemente no tiene privilegios de administrador, que son necesarios para ejecutar OpenVPN."
|
||||
INFO_STATE_CONNECTED "Estado actual: Conectado."
|
||||
INFO_NOW_CONNECTED "Conectado a %s."
|
||||
INFO_ASSIG_IP "IP asignada: %s"
|
||||
ERR_CERT_EXPIRED "Imposible conectar porque su certificado ha expirado o la hora del sistema no es correcta."
|
||||
ERR_CERT_NOT_YET_VALID "Imposible conectar porque su certificado aún no es válido. Compruebe que la hora de su sistema es correcta."
|
||||
INFO_STATE_RECONNECTING "Estado actual: Reconectando"
|
||||
INFO_STATE_DISCONNECTED "Estado actual: Desconectado"
|
||||
INFO_CONN_TERMINATED "La conexión con %s ha terminado."
|
||||
INFO_STATE_FAILED "Estado actual: Error al conectar"
|
||||
INFO_CONN_FAILED "La conexión con %s ha fallado."
|
||||
INFO_STATE_FAILED_RECONN "Current State: Failed to reconnect"
|
||||
INFO_RECONN_FAILED "ReConnecting to %s has failed."
|
||||
INFO_STATE_SUSPENDED "Estado actual: Suspendido"
|
||||
ERR_READ_STDOUT_PIPE "Error leyendo del pipe de OpenVPN StdOut."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "La creación de RichEdit LogWindow falló!!"
|
||||
ERR_SET_SIZE "Set Size falló!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "No se encuentra la configuración requerida para el autoinicio: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() falló al chequear la versión de OpenVPN."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe on hInputRead falló."
|
||||
INFO_STATE_CONNECTING "Estado actual: Conectando"
|
||||
INFO_CONNECTION_XXX "Conexión OpenVPN (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "CreateThread para leer la salida del proceso de OpenVPN falló."
|
||||
INFO_STATE_CONN_SCRIPT "Estado actual: Ejecutando el script de conexión"
|
||||
INFO_STATE_DISCONN_SCRIPT "Estado actual: Ejecutando el script de desconexión"
|
||||
ERR_RUN_CONN_SCRIPT "Error ejecutando el script de conexión: %s"
|
||||
ERR_GET_EXIT_CODE "Error al obtener el ExitCode del script de conexión (%s)"
|
||||
ERR_CONN_SCRIPT_FAILED "Script de conexión fallido. (exitcode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Script de conexión fallido. TimeOut tras %d seg."
|
||||
ERR_CONFIG_ALREADY_EXIST "Ya existe un fichero de configuración llamado '%s'. No puede " \
|
||||
"haber varios ficheros de configuración con el mismo nombre, incluso si " \
|
||||
"están en directorios diferentes."
|
||||
IDS_ERR_MANY_CONFIGS "OpenVPN GUI no soporta más de %d configuraciones. Contacte con el autor si necesita más."
|
||||
IDS_ERR_LOG_CONSTRUCT "No se puede crear el fichero de log basado en: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Sólo se puede tener una conexión activa a la vez usando una version de OpenVPN anterior a la 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "No se puede usar OpenVPN GUI para inicar una conexión mientras el servicio OpenVPN está ejecutándose (con OpenVPN 1.5/1.6). Detenga primero el servicio OpenVPN si quiere utilizar OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent fallido con evento de salida: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Nombre de prioridad desconocido: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "El flag de append para el fichero de log (dado como '%s') debe ser '0' ó '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Imposible importar la configuración del IE por:\n%s"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor fallido."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl fallido."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite fallido."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite fallido."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead fallido."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle on hOutputRead fallido."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle on hInputWrite fallido."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp fallido."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess fallido, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle fallido."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread para mostrar la Ventana de Estado fallido."
|
||||
IDS_NFO_STATE_WAIT_TERM "Estado actual: Esperando que OpenVPN termine..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Error al abrir el fichero de log para escritura: %s. Probablemente no tiene privilegios de administrador, que son necesarios para ejecutar OpenVPN."
|
||||
IDS_NFO_STATE_CONNECTED "Estado actual: Conectado."
|
||||
IDS_NFO_NOW_CONNECTED "Conectado a %s."
|
||||
IDS_NFO_ASSIGN_IP "IP asignada: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Imposible conectar porque su certificado ha expirado o la hora del sistema no es correcta."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Imposible conectar porque su certificado aún no es válido. Compruebe que la hora de su sistema es correcta."
|
||||
IDS_NFO_STATE_RECONNECTING "Estado actual: Reconectando"
|
||||
IDS_NFO_STATE_DISCONNECTED "Estado actual: Desconectado"
|
||||
IDS_NFO_CONN_TERMINATED "La conexión con %s ha terminado."
|
||||
IDS_NFO_STATE_FAILED "Estado actual: Error al conectar"
|
||||
IDS_NFO_CONN_FAILED "La conexión con %s ha fallado."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Current State: Failed to reconnect"
|
||||
IDS_NFO_RECONN_FAILED "ReConnecting to %s has failed."
|
||||
IDS_NFO_STATE_SUSPENDED "Estado actual: Suspendido"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Error leyendo del pipe de OpenVPN StdOut."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "La creación de RichEdit LogWindow falló!!"
|
||||
IDS_ERR_SET_SIZE "Set Size falló!"
|
||||
IDS_ERR_AUTOSTART_CONF "No se encuentra la configuración requerida para el autoinicio: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() falló al chequear la versión de OpenVPN."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe on hInputRead falló."
|
||||
IDS_NFO_STATE_CONNECTING "Estado actual: Conectando"
|
||||
IDS_NFO_CONNECTION_XXX "Conexión OpenVPN (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "CreateThread para leer la salida del proceso de OpenVPN falló."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Estado actual: Ejecutando el script de conexión"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Estado actual: Ejecutando el script de desconexión"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Error ejecutando el script de conexión: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Error al obtener el ExitCode del script de conexión (%s)"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Script de conexión fallido. (exitcode=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Script de conexión fallido. TimeOut tras %d seg."
|
||||
IDS_ERR_CONFIG_EXIST "Ya existe un fichero de configuración llamado '%s'. No puede " \
|
||||
"haber varios ficheros de configuración con el mismo nombre, incluso si " \
|
||||
"están en directorios diferentes."
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Error al abrir el fichero de debug (%s) para salida."
|
||||
ERR_LOAD_RICHED20 "No se puede cargar RICHED20.DLL."
|
||||
ERR_SHELL_DLL_VERSION "La versión del shell32.dll es demasiado antigua (0x%lx). Se necesita al menos la versión 5.0."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI ya está ejecutándose."
|
||||
INFO_SERVICE_STARTED "Servcio OpenVPN iniciado."
|
||||
INFO_SERVICE_STOPPED "Servicio OpenVPN detenido."
|
||||
INFO_ACTIVE_CONN_EXIT "Aún hay conexiones activas que serán cerradas si se sale de OpenVPN GUI." \
|
||||
"\n\nEstá seguro de querer salir?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Ahora mismo está conectado (el servicio OpenVPN está corriendo). " \
|
||||
"Seguriá conectado incluso si sale de OpenVPN GUI.\n\n" \
|
||||
"¿Quiere proceder y salir de OpenVPN GUI?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Tiene ""log"" ó ""log-append"" en el fichero de configuración de OpenVPN. Dichas opciones " \
|
||||
"no deberían usarse con OpenVPN GUI pues impiden que OpenVPN GUI pueda leer " \
|
||||
"el log de salida de OpenVPN que es necesario para el correcto funcionamiento de OpenVPN " \
|
||||
"GUI. En todo caso, el log siempre se escribe en un fichero cuando OpenVPN GUI está en " \
|
||||
"uso, asi que deberia quitar ésta opción.\n\n¿Quiere continuar con la conexión " \
|
||||
"de todas formas?"
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Error al abrir el fichero de debug (%s) para salida."
|
||||
IDS_ERR_LOAD_RICHED20 "No se puede cargar RICHED20.DLL."
|
||||
IDS_ERR_SHELL_DLL_VERSION "La versión del shell32.dll es demasiado antigua (0x%lx). Se necesita al menos la versión 5.0."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI ya está ejecutándose."
|
||||
IDS_NFO_SERVICE_STARTED "Servcio OpenVPN iniciado."
|
||||
IDS_NFO_SERVICE_STOPPED "Servicio OpenVPN detenido."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Aún hay conexiones activas que serán cerradas si se sale de OpenVPN GUI." \
|
||||
"\n\nEstá seguro de querer salir?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Ahora mismo está conectado (el servicio OpenVPN está corriendo). " \
|
||||
"Seguriá conectado incluso si sale de OpenVPN GUI.\n\n" \
|
||||
"¿Quiere proceder y salir de OpenVPN GUI?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Tiene ""log"" ó ""log-append"" en el fichero de configuración de OpenVPN. Dichas opciones " \
|
||||
"no deberían usarse con OpenVPN GUI pues impiden que OpenVPN GUI pueda leer " \
|
||||
"el log de salida de OpenVPN que es necesario para el correcto funcionamiento de OpenVPN " \
|
||||
"GUI. En todo caso, el log siempre se escribe en un fichero cuando OpenVPN GUI está en " \
|
||||
"uso, asi que deberia quitar ésta opción.\n\n¿Quiere continuar con la conexión " \
|
||||
"de todas formas?"
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Mostrar éste mensaje.\n" \
|
||||
"--connect cnn \t\t: Conectar con ""cnn"" al arrancar. (la extensión debe incluirse)\n" \
|
||||
"\t\t\t Ejemplo: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Opciones para sobreescribir opciones del registro:\n" \
|
||||
"--exe_path\t\t: Ruta a openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Ruta al directorio de los ficheros de configuración.\n" \
|
||||
"--ext_string\t\t: Extensión de los ficheros de configuración.\n" \
|
||||
"--log_dir\t\t\t: Directorio donde se guardarán los log.\n" \
|
||||
"--priority_string\t\t: Prioridad (Ver install.txt para más detalles).\n" \
|
||||
"--append_string\t\t: 1=Añadir al fichero. 0=Truncar fichero al conectar.\n" \
|
||||
"--log_viewer\t\t: Ruta al visor de logs.\n" \
|
||||
"--editor\t\t\t: Ruta al editor de configuración.\n" \
|
||||
"--allow_edit\t\t: 1=Mostrar el menú de Editar configuración.\n" \
|
||||
"--allow_service\t\t: 1=Mostrar el menú de control del Servicio.\n" \
|
||||
"--allow_password\t\t: 1=Mostrar el menú de Cambiar Clave.\n" \
|
||||
"--allow_proxy\t\t: 1=Mostrar el menú de Configuración del Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Nunca, 1=En la conexión inicial, 2=En cada reconexión.\n" \
|
||||
"--service_only\t\t: 1=Activar el modo de Solo Servicio.\n" \
|
||||
"--silent_connection\t\t: 1=No mostrar la ventana de estado al conectar.\n" \
|
||||
"--show_script_window\t: 0=Oculta la ventana de ejecución de Script, 1=Mostrarla.\n" \
|
||||
"--passphrase_attempts\t: Número de intentos permitidos para la passphrase.\n" \
|
||||
"--connectscript_timeout\t: Tiempo permitido para que finalice el script de conexión.\n" \
|
||||
"--disconnectscript_timeout\t: Tiempo permitido para que finalice el script de desconexión.\n" \
|
||||
"--preconnectscript_timeout\t: Tiempo permitido para que finalice el script de preconexión.\n"
|
||||
IDS_NFO_USAGE "--help\t\t\t: Mostrar éste mensaje.\n" \
|
||||
"--connect cnn \t\t: Conectar con ""cnn"" al arrancar. (la extensión debe incluirse)\n" \
|
||||
"\t\t\t Ejemplo: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Opciones para sobreescribir opciones del registro:\n" \
|
||||
"--exe_path\t\t: Ruta a openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Ruta al directorio de los ficheros de configuración.\n" \
|
||||
"--ext_string\t\t: Extensión de los ficheros de configuración.\n" \
|
||||
"--log_dir\t\t\t: Directorio donde se guardarán los log.\n" \
|
||||
"--priority_string\t\t: Prioridad (Ver install.txt para más detalles).\n" \
|
||||
"--append_string\t\t: 1=Añadir al fichero. 0=Truncar fichero al conectar.\n" \
|
||||
"--log_viewer\t\t: Ruta al visor de logs.\n" \
|
||||
"--editor\t\t\t: Ruta al editor de configuración.\n" \
|
||||
"--allow_edit\t\t: 1=Mostrar el menú de Editar configuración.\n" \
|
||||
"--allow_service\t\t: 1=Mostrar el menú de control del Servicio.\n" \
|
||||
"--allow_password\t\t: 1=Mostrar el menú de Cambiar Clave.\n" \
|
||||
"--allow_proxy\t\t: 1=Mostrar el menú de Configuración del Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Nunca, 1=En la conexión inicial, 2=En cada reconexión.\n" \
|
||||
"--service_only\t\t: 1=Activar el modo de Solo Servicio.\n" \
|
||||
"--silent_connection\t\t: 1=No mostrar la ventana de estado al conectar.\n" \
|
||||
"--show_script_window\t: 0=Oculta la ventana de ejecución de Script, 1=Mostrarla.\n" \
|
||||
"--passphrase_attempts\t: Número de intentos permitidos para la passphrase.\n" \
|
||||
"--connectscript_timeout\t: Tiempo permitido para que finalice el script de conexión.\n" \
|
||||
"--disconnectscript_timeout\t: Tiempo permitido para que finalice el script de desconexión.\n" \
|
||||
"--preconnectscript_timeout\t: Tiempo permitido para que finalice el script de preconexión.\n"
|
||||
|
||||
INFO_USAGECAPTION "Uso de OpenVPN GUI"
|
||||
ERR_BAD_PARAMETER "Intento parsear ""%s"" como un parámetro de --option " \
|
||||
"pero no veo delante un '--'"
|
||||
ERR_BAD_OPTION "Error de opciones: Opción no reconocida o falta(n) parámetro(s): --%s\n" \
|
||||
"Use openvpn-gui --help para más información."
|
||||
IDS_NFO_USAGECAPTION "Uso de OpenVPN GUI"
|
||||
IDS_ERR_BAD_PARAMETER "Intento parsear ""%s"" como un parámetro de --option " \
|
||||
"pero no veo delante un '--'"
|
||||
IDS_ERR_BAD_OPTION "Error de opciones: Opción no reconocida o falta(n) parámetro(s): --%s\n" \
|
||||
"Use openvpn-gui --help para más información."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread para mostrar la ventana de ChangePassphrase falló."
|
||||
INFO_CHANGE_PWD "Cambiar Clave (%s)"
|
||||
ERR_PWD_DONT_MATCH "Las claves escritas no coinciden. Inténtelo de nuevo."
|
||||
ERR_PWD_TO_SHORT "La nueva clave ha de ser al menos de %d caracteres de longitud."
|
||||
INFO_EMPTY_PWD "¿Está seguro de querer usar una clave VACIA?"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Formato de keyfile desconocido."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Error al abrir el fichero de clave privada (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "La clave anterior no es correcta."
|
||||
ERR_OPEN_WRITE_KEY "Error al abrir el fichero de clave privada para escritura (%s)."
|
||||
ERR_WRITE_NEW_KEY "Error al escribir el nuevo fichero de clave privada (%s)."
|
||||
INFO_PWD_CHANGED "Su clave ha sido cambiada."
|
||||
ERR_READ_PKCS12 "Error al leer el fichero PKCS #12 (%s)."
|
||||
ERR_CREATE_PKCS12 "Error al crear el nuevo objeto PKCS #12. El cambio de clave ha fallado."
|
||||
ERR_OPEN_CONFIG "No se pudo abrir el fichero de configuración para lectura: (%s)"
|
||||
ERR_ONLY_ONE_KEY_OPTION "No se puede tener más de una opción ""key"" en la configuración."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "No se pueden tener a la vez las opciones de ""key"" y ""pkcs12"" en la configuración."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "No se puede tener más de una opción de ""pkcs12"" en la configuración."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "El fichero de configuración no tiene ni la opción ""key"" ni la ""pkcs12""."
|
||||
ERR_KEY_FILENAME_TO_LONG "¡El fichero de clave en la configuración es demasiado largo!"
|
||||
ERR_PASSPHRASE2STDIN "Error al pasar la passphrase hacia stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Error al pasar el nombre de usuario hacia stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Error al pasar la clave de autenticación hacia stdin."
|
||||
ERR_CR2STDIN "Error al pasar el CR hacia stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "La nueva clave contiene caracteres no válidos. " \
|
||||
"Por favor elija otra."
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread para mostrar la ventana de ChangePassphrase falló."
|
||||
IDS_NFO_CHANGE_PWD "Cambiar Clave (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "Las claves escritas no coinciden. Inténtelo de nuevo."
|
||||
IDS_ERR_PWD_TO_SHORT "La nueva clave ha de ser al menos de %d caracteres de longitud."
|
||||
IDS_NFO_EMPTY_PWD "¿Está seguro de querer usar una clave VACIA?"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Formato de keyfile desconocido."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Error al abrir el fichero de clave privada (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "La clave anterior no es correcta."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Error al abrir el fichero de clave privada para escritura (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Error al escribir el nuevo fichero de clave privada (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Su clave ha sido cambiada."
|
||||
IDS_ERR_READ_PKCS12 "Error al leer el fichero PKCS #12 (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Error al crear el nuevo objeto PKCS #12. El cambio de clave ha fallado."
|
||||
IDS_ERR_OPEN_CONFIG "No se pudo abrir el fichero de configuración para lectura: (%s)"
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "No se puede tener más de una opción ""key"" en la configuración."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "No se pueden tener a la vez las opciones de ""key"" y ""pkcs12"" en la configuración."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "No se puede tener más de una opción de ""pkcs12"" en la configuración."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "El fichero de configuración no tiene ni la opción ""key"" ni la ""pkcs12""."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "¡El fichero de clave en la configuración es demasiado largo!"
|
||||
IDS_ERR_PASSPHRASE2STDIN "Error al pasar la passphrase hacia stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Error al pasar el nombre de usuario hacia stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Error al pasar la clave de autenticación hacia stdin."
|
||||
IDS_ERR_CR2STDIN "Error al pasar el CR hacia stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "La nueva clave contiene caracteres no válidos. " \
|
||||
"Por favor elija otra."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Configuración"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "Debe especificarse una dirección para el proxy HTTP."
|
||||
ERR_HTTP_PROXY_PORT "Debe especificarse un puerto para el proxy HTTP."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "Debe especificarse un puerto entre 1-65535"
|
||||
ERR_SOCKS_PROXY_ADDRESS "Debe especificarse una dirección para el proxy SOCKS."
|
||||
ERR_SOCKS_PROXY_PORT "Debe especificarse un puerto para el proxy SOCKS."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "Debe especificarse un puerto entre 1-65535"
|
||||
ERR_CREATE_REG_HKCU_KEY "Error al crear la clave ""HKEY_CURRENT_USER\\%s""."
|
||||
ERR_GET_TEMP_PATH "Error al determinar TempPath con GetTempPath(). Usando ""C:\\"" en su lugar."
|
||||
ERR_CREATE_AUTH_FILE "Error al crear el fichero de AUTH. (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "Debe especificarse una dirección para el proxy HTTP."
|
||||
IDS_ERR_HTTP_PROXY_PORT "Debe especificarse un puerto para el proxy HTTP."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "Debe especificarse un puerto entre 1-65535"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "Debe especificarse una dirección para el proxy SOCKS."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "Debe especificarse un puerto para el proxy SOCKS."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "Debe especificarse un puerto entre 1-65535"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Error al crear la clave ""HKEY_CURRENT_USER\\%s""."
|
||||
IDS_ERR_GET_TEMP_PATH "Error al determinar TempPath con GetTempPath(). Usando ""C:\\"" en su lugar."
|
||||
IDS_ERR_CREATE_AUTH_FILE "Error al crear el fichero de AUTH. (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "OpenSCManager falló. Se necesitan privilegios de Administrador para iniciar un servicio."
|
||||
ERR_OPEN_VPN_SERVICE "Error al abrir ""OpenVPNService"""
|
||||
ERR_START_SERVICE "Error al iniciar ""OpenVPNService"""
|
||||
ERR_QUERY_SERVICE "No se pudo obtener el estado del servicio."
|
||||
ERR_SERVICE_START_FAILED "El servicio OpenVPN Service no pudo arrancar."
|
||||
ERR_OPEN_SCMGR "OpenSCManager falló (%d)"
|
||||
ERR_STOP_SERVICE "Error al detener el servicio OpenVPN"
|
||||
INFO_RESTARTED "Servicio OpenVPN reiniciado."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "OpenSCManager falló. Se necesitan privilegios de Administrador para iniciar un servicio."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Error al abrir ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "Error al iniciar ""OpenVPNService"""
|
||||
IDS_ERR_QUERY_SERVICE "No se pudo obtener el estado del servicio."
|
||||
IDS_ERR_SERVICE_START_FAILED "El servicio OpenVPN Service no pudo arrancar."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager falló (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Error al detener el servicio OpenVPN"
|
||||
IDS_NFO_RESTARTED "Servicio OpenVPN reiniciado."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Error al obtener el directorio de Windows."
|
||||
ERR_GET_PROGRAM_DIR "Error al obtener el nombre del directorio ""Program""."
|
||||
ERR_OPEN_REGISTRY "Error al abrir el registro para lectura (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN probablemente no está instalado"
|
||||
ERR_READING_REGISTRY "Error al leer el valor del registro (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "El valor del registro ""passphrase_attempts"" debe ser un número entre 1 y 9."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "El valor del registro ""connectscript_timeout"" debe ser un número entre 0 y 99."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "El valor del registro ""disconnectscript_timeout"" debe ser un número entre 1 y 99."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "El valor del registro ""preconnectscript_timeout"" debe ser un número entre 1 y 99."
|
||||
ERR_CREATE_REG_KEY "Error al crear la clave HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
ERR_OPEN_WRITE_REG "Error al abrir el registro para escritura. Debe ejecutar ésta aplicación de " \
|
||||
"nuevo como Administrator para actualizar el registro."
|
||||
ERR_READ_SET_KEY "Error al leer y escribir la clave de registro ""%s""."
|
||||
ERR_WRITE_REGVALUE "Error al escribir el valor del registro ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Error al obtener el directorio de Windows."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Error al obtener el nombre del directorio ""Program""."
|
||||
IDS_ERR_OPEN_REGISTRY "Error al abrir el registro para lectura (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN probablemente no está instalado"
|
||||
IDS_ERR_READING_REGISTRY "Error al leer el valor del registro (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "El valor del registro ""passphrase_attempts"" debe ser un número entre 1 y 9."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "El valor del registro ""connectscript_timeout"" debe ser un número entre 0 y 99."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "El valor del registro ""disconnectscript_timeout"" debe ser un número entre 1 y 99."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "El valor del registro ""preconnectscript_timeout"" debe ser un número entre 1 y 99."
|
||||
IDS_ERR_CREATE_REG_KEY "Error al crear la clave HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
IDS_ERR_OPEN_WRITE_REG "Error al abrir el registro para escritura. Debe ejecutar ésta aplicación de " \
|
||||
"nuevo como Administrator para actualizar el registro."
|
||||
IDS_ERR_READ_SET_KEY "Error al leer y escribir la clave de registro ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Error al escribir el valor del registro ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog - designed with lcc-win32 resource editor */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "A Propos - OpenVPN GUI pour Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - Une application permettant d'ouvrir un tunnel IP sécurisé " \
|
||||
|
@ -40,7 +40,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -48,13 +48,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Entrez un mot de passe:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Annulation", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - User Authentication"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -62,28 +62,28 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Utilisateur:", 0, 6, 9, 50, 10
|
||||
LTEXT "Mot de passe:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Annuler", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Connexion...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Connexion...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Déconnecter", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Reconnecter", ID_RESTART, 150, 190, 50, 14
|
||||
PUSHBUTTON "Fermer", ID_HIDE, 100, 190, 50, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Change Passphrase"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -92,48 +92,48 @@ BEGIN
|
|||
LTEXT "Ancien Mot de passe:", 171, 6, 9, 85, 10
|
||||
LTEXT "Nouveau Mot de passe:", 172, 6, 26, 85, 10
|
||||
LTEXT "Confirmer le Mot de passe:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Annuler", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Utiliser les valeurs du fichier de configuration", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Utiliser les valeurs du fichier de configuration", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Utiliser la configuration d'Internet Explorer", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configuration Manuelle", RB_PROXY_USE_MANUAL, 13, 42, 84, 10
|
||||
AUTORADIOBUTTON "Proxy HTTP", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Proxy SOCKS", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Addresse:", TEXT_PROXY_ADDRESS, 20, 73, 36, 10
|
||||
RTEXT "Port:", TEXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 57, 71, 113, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Demande de Utilisateur/Mot de passe à la connexion.", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configuration Manuelle", ID_RB_PROXY_MANUAL, 13, 42, 84, 10
|
||||
AUTORADIOBUTTON "Proxy HTTP", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Proxy SOCKS", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Addresse:", ID_TXT_PROXY_ADDRESS, 20, 73, 36, 10
|
||||
RTEXT "Port:", ID_TXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 57, 71, 113, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Demande de Utilisateur/Mot de passe à la connexion.", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Proxy Authentication"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Utilisateur:", 201, 9, 8, 38, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Mot de passe:", 202, 9, 26, 38, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 58, 43, 40, 14
|
||||
END
|
||||
|
||||
|
@ -143,205 +143,205 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Français - French"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - A Windows GUI for OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - A Windows GUI for OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI "
|
||||
MSG_TIP_CONNECTED "\nConnecté à: "
|
||||
MSG_TIP_CONNECTING "\nConnection à: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nConnecté depuis: "
|
||||
MSG_TIP_ASSIGNED_IP "\nIP Assignée: %s"
|
||||
IDM_TEXT_SERVICE "OpenVPN Service"
|
||||
IDM_TEXT_SETTINGS "Configuration..."
|
||||
IDM_TEXT_ABOUT "A Propos..."
|
||||
IDM_TEXT_CLOSE "Quitter"
|
||||
IDM_TEXT_CONNECT "Connecter"
|
||||
IDM_TEXT_DISCONNECT "Déconnecter"
|
||||
IDM_TEXT_STATUS "Afficher le Statut"
|
||||
IDM_TEXT_VIEWLOG "Voir le Log"
|
||||
IDM_TEXT_EDITCONFIG "Editer la Configuration"
|
||||
IDM_TEXT_PASSPHRASE "Changer le Mot de passe"
|
||||
IDM_TEXT_SERVICE_START "Démarrer"
|
||||
IDM_TEXT_SERVICE_STOP "Arrêter"
|
||||
IDM_TEXT_SERVICE_RESTART "Redémarrer"
|
||||
IDM_TEXT_SERVICEONLY_START "Connecter"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Déconnecter"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Reconnecter"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "Voulez-vous vous déconnecter (arrêter le service OpenVPN) ?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI "
|
||||
IDS_TIP_CONNECTED "\nConnecté à: "
|
||||
IDS_TIP_CONNECTING "\nConnection à: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nConnecté depuis: "
|
||||
IDS_TIP_ASSIGNED_IP "\nIP Assignée: %s"
|
||||
IDS_MENU_SERVICE "OpenVPN Service"
|
||||
IDS_MENU_SETTINGS "Configuration..."
|
||||
IDS_MENU_ABOUT "A Propos..."
|
||||
IDS_MENU_CLOSE "Quitter"
|
||||
IDS_MENU_CONNECT "Connecter"
|
||||
IDS_MENU_DISCONNECT "Déconnecter"
|
||||
IDS_MENU_STATUS "Afficher le Statut"
|
||||
IDS_MENU_VIEWLOG "Voir le Log"
|
||||
IDS_MENU_EDITCONFIG "Editer la Configuration"
|
||||
IDS_MENU_PASSPHRASE "Changer le Mot de passe"
|
||||
IDS_MENU_SERVICE_START "Démarrer"
|
||||
IDS_MENU_SERVICE_STOP "Arrêter"
|
||||
IDS_MENU_SERVICE_RESTART "Redémarrer"
|
||||
IDS_MENU_SERVICEONLY_START "Connecter"
|
||||
IDS_MENU_SERVICEONLY_STOP "Déconnecter"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Reconnecter"
|
||||
IDS_MENU_ASK_STOP_SERVICE "Voulez-vous vous déconnecter (arrêter le service OpenVPN) ?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Erreur de démarrage de l'afficheur de log: %s"
|
||||
ERR_START_CONF_EDITOR "Erreur de démarrage de l'éditeur de configuration: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Erreur de démarrage de l'afficheur de log: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Erreur de démarrage de l'éditeur de configuration: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "OpenVPN GUI ne permet pas plus de %d configurations. Contacter l'auteur si vous en avez besoin de plus."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Impossible de créer le fichier de log basé sur: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Vous ne pouvez avoir qu'une connexion en même temps si vous utilisez une version d'OpenVPN plus ancienne que la 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "Vous ne pouvez utiliser OpenVPN GUI pour ouvrir une connexion lorsque que le service OpenVPN est actif (avec OpenVPN 1.5/1.6). Stoppez le service OpenVPN si vous voulez utiliser OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "CreateEvent a échoué avec le code erreur d'évènnement: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Nom de priorité inconnu: %s"
|
||||
ERR_LOG_APPEND_BOOL "L'indicateur de log incrémenté (donné par '%s') doit être '0' ou '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Impossible d'obtenir la configuration Proxy de IE parce que:\n%s"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor avorté."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl avorté."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe sur hOutputWrite avorté."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle sur hErrorWrite avorté."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe sur hInputRead avorté."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle sur hOutputRead avorté."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle sur hInputWrite avorté."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle sur hOutputReadTmp/hInputWriteTmp &vorté."
|
||||
ERR_CREATE_PROCESS "CreateProcess avorté, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle avorté."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread à échoué à afficher la fenêtre de Statut."
|
||||
INFO_STATE_WAIT_TERM "Etat actuel: Attente que OpenVPN termine..."
|
||||
ERR_OPEN_LOG_WRITE "Erreur d'ouverture en écriture du fichier de log: %s. Vous n'avez probablement pas les privilèges administrateur, nécessaires pour lancer OpenVPN."
|
||||
INFO_STATE_CONNECTED "Etat actuel: Connecté"
|
||||
INFO_NOW_CONNECTED "%s est désormais connecté."
|
||||
INFO_ASSIG_IP "IP affectée: %s"
|
||||
ERR_CERT_EXPIRED "Connexion impossible car votre certificat a expiré ou la date système est incorrecte."
|
||||
ERR_CERT_NOT_YET_VALID "Connexion impossible car votre certificat n'est plus valide. Véfifiez que votre date système est correcte."
|
||||
INFO_STATE_RECONNECTING "Etat actuel: Reconnexion"
|
||||
INFO_STATE_DISCONNECTED "Etat actuel: Deconnecté"
|
||||
INFO_CONN_TERMINATED "La Connexion à %s est terminée."
|
||||
INFO_STATE_FAILED "Etat actuel: connexion échouée"
|
||||
INFO_CONN_FAILED "La Connexion à %s a échouée."
|
||||
INFO_STATE_FAILED_RECONN "Etat actuel: Reconnexion échouée"
|
||||
INFO_RECONN_FAILED "La Reconnexion à %s a échouée."
|
||||
INFO_STATE_SUSPENDED "Etat actuel: Suspendu"
|
||||
ERR_READ_STDOUT_PIPE "Erreur lors de la lecture du tube lié StdOut par OpenVPN."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Création de la fenêtre d'édition enrichie à échoué !!!"
|
||||
ERR_SET_SIZE "La définition de la taille a échoué !"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Impossible de trouver la configuration demandée au démarrage: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() a échoué après vérification de la version openvpn."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe sur hInputRead avorté."
|
||||
INFO_STATE_CONNECTING "Etat actuel: En cours de connexion"
|
||||
INFO_CONNECTION_XXX "Connexion OpenVPN (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "CreateThread lecture de la procédure openvpn stdout à échoué."
|
||||
INFO_STATE_CONN_SCRIPT "Etat actuel: Exécution du script de connexion"
|
||||
INFO_STATE_DISCONN_SCRIPT "Etat actuel: Exécution du script de déconnexion"
|
||||
ERR_RUN_CONN_SCRIPT "Erreur d'exécution du script de connexion: %s"
|
||||
ERR_GET_EXIT_CODE "Impossible d'obtenir le code de sortie du script de connexion (%s)"
|
||||
ERR_CONN_SCRIPT_FAILED "Le script de connexion à échoué. (code de sortie=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Le script de connexion à échoué. TimeOut après %d sec."
|
||||
ERR_CONFIG_ALREADY_EXIST "Il éxiste déjà un fichier de configuration nommé '%s'. Vous ne pouvez " \
|
||||
"pas avoir différentes configurations avec le même nom même si " \
|
||||
"ils sont placés dans un répertoire différent."
|
||||
IDS_ERR_MANY_CONFIGS "OpenVPN GUI ne permet pas plus de %d configurations. Contacter l'auteur si vous en avez besoin de plus."
|
||||
IDS_ERR_LOG_CONSTRUCT "Impossible de créer le fichier de log basé sur: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Vous ne pouvez avoir qu'une connexion en même temps si vous utilisez une version d'OpenVPN plus ancienne que la 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "Vous ne pouvez utiliser OpenVPN GUI pour ouvrir une connexion lorsque que le service OpenVPN est actif (avec OpenVPN 1.5/1.6). Stoppez le service OpenVPN si vous voulez utiliser OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent a échoué avec le code erreur d'évènnement: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Nom de priorité inconnu: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "L'indicateur de log incrémenté (donné par '%s') doit être '0' ou '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Impossible d'obtenir la configuration Proxy de IE parce que:\n%s"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor avorté."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl avorté."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe sur hOutputWrite avorté."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle sur hErrorWrite avorté."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe sur hInputRead avorté."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle sur hOutputRead avorté."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle sur hInputWrite avorté."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle sur hOutputReadTmp/hInputWriteTmp &vorté."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess avorté, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle avorté."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread à échoué à afficher la fenêtre de Statut."
|
||||
IDS_NFO_STATE_WAIT_TERM "Etat actuel: Attente que OpenVPN termine..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Erreur d'ouverture en écriture du fichier de log: %s. Vous n'avez probablement pas les privilèges administrateur, nécessaires pour lancer OpenVPN."
|
||||
IDS_NFO_STATE_CONNECTED "Etat actuel: Connecté"
|
||||
IDS_NFO_NOW_CONNECTED "%s est désormais connecté."
|
||||
IDS_NFO_ASSIGN_IP "IP affectée: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Connexion impossible car votre certificat a expiré ou la date système est incorrecte."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Connexion impossible car votre certificat n'est plus valide. Véfifiez que votre date système est correcte."
|
||||
IDS_NFO_STATE_RECONNECTING "Etat actuel: Reconnexion"
|
||||
IDS_NFO_STATE_DISCONNECTED "Etat actuel: Deconnecté"
|
||||
IDS_NFO_CONN_TERMINATED "La Connexion à %s est terminée."
|
||||
IDS_NFO_STATE_FAILED "Etat actuel: connexion échouée"
|
||||
IDS_NFO_CONN_FAILED "La Connexion à %s a échouée."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Etat actuel: Reconnexion échouée"
|
||||
IDS_NFO_RECONN_FAILED "La Reconnexion à %s a échouée."
|
||||
IDS_NFO_STATE_SUSPENDED "Etat actuel: Suspendu"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Erreur lors de la lecture du tube lié StdOut par OpenVPN."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Création de la fenêtre d'édition enrichie à échoué !!!"
|
||||
IDS_ERR_SET_SIZE "La définition de la taille a échoué !"
|
||||
IDS_ERR_AUTOSTART_CONF "Impossible de trouver la configuration demandée au démarrage: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() a échoué après vérification de la version openvpn."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe sur hInputRead avorté."
|
||||
IDS_NFO_STATE_CONNECTING "Etat actuel: En cours de connexion"
|
||||
IDS_NFO_CONNECTION_XXX "Connexion OpenVPN (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "CreateThread lecture de la procédure openvpn stdout à échoué."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Etat actuel: Exécution du script de connexion"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Etat actuel: Exécution du script de déconnexion"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Erreur d'exécution du script de connexion: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Impossible d'obtenir le code de sortie du script de connexion (%s)"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Le script de connexion à échoué. (code de sortie=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Le script de connexion à échoué. TimeOut après %d sec."
|
||||
IDS_ERR_CONFIG_EXIST "Il éxiste déjà un fichier de configuration nommé '%s'. Vous ne pouvez " \
|
||||
"pas avoir différentes configurations avec le même nom même si " \
|
||||
"ils sont placés dans un répertoire différent."
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Erreur d'ouverture du fichier de debug (%s) en sortie."
|
||||
ERR_LOAD_RICHED20 "Impossible de charger RICHED20.DLL."
|
||||
ERR_SHELL_DLL_VERSION "La version de votre shell32.dll est trop basse (0x%lx). vous devez avoir au moins la version 5.0."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI est déjà ouvert."
|
||||
INFO_SERVICE_STARTED "Service OpenVPN démarré."
|
||||
INFO_SERVICE_STOPPED "Service OpenVPN stoppé."
|
||||
INFO_ACTIVE_CONN_EXIT "Les connexions en cours seront interrompues si vous fermez OpenVPN GUI." \
|
||||
"\n\nEtes vous sûr de vouloir fermer l'application ?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Vous etes actuellement connecté (Le service OpenVPN est actif). " \
|
||||
"You will stay connected even if you exit OpenVPN GUI.\n\n" \
|
||||
"Voulez-vous continuer et fermer OpenVPN GUI ?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Vous avez ""log"" ou ""log-append"" dans votre fichier de configuration OpenVPN. Ces options " \
|
||||
"ne doivent pas être utilisées avec OpenVPN GUI afin d'éviter la lecture en sortie " \
|
||||
"d'OpenVPN ce qui est nécéssaire au fonctionnement correct OpenVPN GUI. " \
|
||||
"Les actions sont toujours écrites dans le fichier de log lorsque OpenVPN GUI est utilisé " \
|
||||
"donc, vous devez supprimer cette option.\n\nVoulez-vous malgré tout procéder à " \
|
||||
"la connexion ?"
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Erreur d'ouverture du fichier de debug (%s) en sortie."
|
||||
IDS_ERR_LOAD_RICHED20 "Impossible de charger RICHED20.DLL."
|
||||
IDS_ERR_SHELL_DLL_VERSION "La version de votre shell32.dll est trop basse (0x%lx). vous devez avoir au moins la version 5.0."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI est déjà ouvert."
|
||||
IDS_NFO_SERVICE_STARTED "Service OpenVPN démarré."
|
||||
IDS_NFO_SERVICE_STOPPED "Service OpenVPN stoppé."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Les connexions en cours seront interrompues si vous fermez OpenVPN GUI." \
|
||||
"\n\nEtes vous sûr de vouloir fermer l'application ?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Vous etes actuellement connecté (Le service OpenVPN est actif). " \
|
||||
"You will stay connected even if you exit OpenVPN GUI.\n\n" \
|
||||
"Voulez-vous continuer et fermer OpenVPN GUI ?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Vous avez ""log"" ou ""log-append"" dans votre fichier de configuration OpenVPN. Ces options " \
|
||||
"ne doivent pas être utilisées avec OpenVPN GUI afin d'éviter la lecture en sortie " \
|
||||
"d'OpenVPN ce qui est nécéssaire au fonctionnement correct OpenVPN GUI. " \
|
||||
"Les actions sont toujours écrites dans le fichier de log lorsque OpenVPN GUI est utilisé " \
|
||||
"donc, vous devez supprimer cette option.\n\nVoulez-vous malgré tout procéder à " \
|
||||
"la connexion ?"
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Affiche ce message.\n" \
|
||||
"--connect cnn \t\t: Connecte à ""cnn"" au démarrage. (l'extension doit être incluse)\n" \
|
||||
"\t\t\t Exemple: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Options pour corriger la configuration de registre:\n" \
|
||||
"--exe_path\t\t: Chemin vers openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Chemin du répertoire contenant les fichiers de configuration.\n" \
|
||||
"--ext_string\t\t: Extension dans le fichier de configuration.\n" \
|
||||
"--log_dir\t\t\t: Chemin du répertoire ou sont sauvegardés les fichiers de log.\n" \
|
||||
"--priority_string\t\t: Valeur de priorité (Voir install.txt pour plus d'info).\n" \
|
||||
"--append_string\t\t: 1=Ajoute au fichier de log. 0=Tronque le fichier de log à la connexion.\n" \
|
||||
"--log_viewer\t\t: Chemin vers l'afficheur de log.\n" \
|
||||
"--editor\t\t\t: Chemin vers l'éditeur de configuration.\n" \
|
||||
"--allow_edit\t\t: 1=Affiche le menu de configuration pour l'élément.\n" \
|
||||
"--allow_service\t\t: 1=Affiche le menu Services.\n" \
|
||||
"--allow_password\t\t: 1=Affiche le menu de Changement de Mot de passe.\n" \
|
||||
"--allow_proxy\t\t: 1=Affiche le menu de configuration du Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Jamais, 1=A la connexion initiale, 2=A toutes les re-connexions.\n" \
|
||||
"--service_only\t\t: 1=Active le mode Service seul Enable.\n" \
|
||||
"--silent_connection\t\t: 1=Ne pas ouvrir le dialogue de Statut à la connexion.\n" \
|
||||
"--show_script_window\t: 0=Cache la fenêtre d'exécution du script, 1=Affiche la fenêtre.\n" \
|
||||
"--passphrase_attempts\t: Nombre de tentatives de Mot de passe permises.\n" \
|
||||
"--connectscript_timeout\t: Temps d'attente de terminaison du script.\n" \
|
||||
"--disconnectscript_timeout\t: Temps d'attente de terminaison du script de déconnexion.\n" \
|
||||
"--preconnectscript_timeout\t: Temps d'attente de terminaison du script de pré-connexion.\n"
|
||||
IDS_NFO_USAGE "--help\t\t\t: Affiche ce message.\n" \
|
||||
"--connect cnn \t\t: Connecte à ""cnn"" au démarrage. (l'extension doit être incluse)\n" \
|
||||
"\t\t\t Exemple: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Options pour corriger la configuration de registre:\n" \
|
||||
"--exe_path\t\t: Chemin vers openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Chemin du répertoire contenant les fichiers de configuration.\n" \
|
||||
"--ext_string\t\t: Extension dans le fichier de configuration.\n" \
|
||||
"--log_dir\t\t\t: Chemin du répertoire ou sont sauvegardés les fichiers de log.\n" \
|
||||
"--priority_string\t\t: Valeur de priorité (Voir install.txt pour plus d'info).\n" \
|
||||
"--append_string\t\t: 1=Ajoute au fichier de log. 0=Tronque le fichier de log à la connexion.\n" \
|
||||
"--log_viewer\t\t: Chemin vers l'afficheur de log.\n" \
|
||||
"--editor\t\t\t: Chemin vers l'éditeur de configuration.\n" \
|
||||
"--allow_edit\t\t: 1=Affiche le menu de configuration pour l'élément.\n" \
|
||||
"--allow_service\t\t: 1=Affiche le menu Services.\n" \
|
||||
"--allow_password\t\t: 1=Affiche le menu de Changement de Mot de passe.\n" \
|
||||
"--allow_proxy\t\t: 1=Affiche le menu de configuration du Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Jamais, 1=A la connexion initiale, 2=A toutes les re-connexions.\n" \
|
||||
"--service_only\t\t: 1=Active le mode Service seul Enable.\n" \
|
||||
"--silent_connection\t\t: 1=Ne pas ouvrir le dialogue de Statut à la connexion.\n" \
|
||||
"--show_script_window\t: 0=Cache la fenêtre d'exécution du script, 1=Affiche la fenêtre.\n" \
|
||||
"--passphrase_attempts\t: Nombre de tentatives de Mot de passe permises.\n" \
|
||||
"--connectscript_timeout\t: Temps d'attente de terminaison du script.\n" \
|
||||
"--disconnectscript_timeout\t: Temps d'attente de terminaison du script de déconnexion.\n" \
|
||||
"--preconnectscript_timeout\t: Temps d'attente de terminaison du script de pré-connexion.\n"
|
||||
|
||||
INFO_USAGECAPTION "OpenVPN GUI Usage"
|
||||
ERR_BAD_PARAMETER "J'essaie de décoder ""%s"" comme un --option parameter " \
|
||||
"mais je ne vois pas correspondance '--'"
|
||||
ERR_BAD_OPTION "Erreur d'Options: Option(s) ou paramettre(s) manquant(s): --%s\n" \
|
||||
"Utiliser openvpn-gui --help pour plus d'info."
|
||||
IDS_NFO_USAGECAPTION "OpenVPN GUI Usage"
|
||||
IDS_ERR_BAD_PARAMETER "J'essaie de décoder ""%s"" comme un --option parameter " \
|
||||
"mais je ne vois pas correspondance '--'"
|
||||
IDS_ERR_BAD_OPTION "Erreur d'Options: Option(s) ou paramettre(s) manquant(s): --%s\n" \
|
||||
"Utiliser openvpn-gui --help pour plus d'info."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread pour afficher la fenêtre de dialogue ChangePassphrase a échouée."
|
||||
INFO_CHANGE_PWD "Modification du Mot de passe (%s)"
|
||||
ERR_PWD_DONT_MATCH "Le Mot de passe que vous avez donné ne correspond pas, essayez encore."
|
||||
ERR_PWD_TO_SHORT "Le Mot de passe que vous avez donné doit avoir au moins %d caractères de long."
|
||||
INFO_EMPTY_PWD "Etes vous sûr de définir un Mot de passe VIDE ?"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Format de fichier de clé inconnu."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Erreur à l'ouverture de la clé privée (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "L'ancien Mot de passe est incorrect."
|
||||
ERR_OPEN_WRITE_KEY "Erreur d'ouverture en écriture du fichier de clé privé (%s)."
|
||||
ERR_WRITE_NEW_KEY "Erreur d'écriture du fichier de clé privé (%s)."
|
||||
INFO_PWD_CHANGED "Votre Mot de passe a été modifié."
|
||||
ERR_READ_PKCS12 "Erreur de lecture du fichier PKCS #12 X509 (%s)."
|
||||
ERR_CREATE_PKCS12 "Erreur de création du nouveau fichier PKCS #12 X509. La modification du Mot de passe a échouée."
|
||||
ERR_OPEN_CONFIG "Impossible d'ouvrir en mode lecture le fichier de configuration: (%s)"
|
||||
ERR_ONLY_ONE_KEY_OPTION "Vous ne pouvez pas avoir plus d'une option ""key"" dans votre fichier de configuration."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "Vous ne pouvez pas avoir à la fois les options ""key"" et ""pkcs12"" dans votre configuration."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "Vous ne pouvez pas avoir plus d'une option ""pkcs12"" dans votre configuration."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Votre fichier de configuration ne contient aucune option ""key"" ou ""pkcs12""."
|
||||
ERR_KEY_FILENAME_TO_LONG "Le nom de votre fichier clé est trop long !"
|
||||
ERR_PASSPHRASE2STDIN "Erreur d'envoi de la phrase de passe vers stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Erreur d'envoi du nom d'utilisateur d'authentification vers stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Erreur d'envoi du Mot de passe d'authentification vers stdin."
|
||||
ERR_CR2STDIN "Erreur d'envoi du CR vers stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "Votre nouveau Mot de passe ne contient aucun caractère valide. " \
|
||||
"Choisissez en un autre SVP."
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread pour afficher la fenêtre de dialogue ChangePassphrase a échouée."
|
||||
IDS_NFO_CHANGE_PWD "Modification du Mot de passe (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "Le Mot de passe que vous avez donné ne correspond pas, essayez encore."
|
||||
IDS_ERR_PWD_TO_SHORT "Le Mot de passe que vous avez donné doit avoir au moins %d caractères de long."
|
||||
IDS_NFO_EMPTY_PWD "Etes vous sûr de définir un Mot de passe VIDE ?"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Format de fichier de clé inconnu."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Erreur à l'ouverture de la clé privée (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "L'ancien Mot de passe est incorrect."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Erreur d'ouverture en écriture du fichier de clé privé (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Erreur d'écriture du fichier de clé privé (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Votre Mot de passe a été modifié."
|
||||
IDS_ERR_READ_PKCS12 "Erreur de lecture du fichier PKCS #12 X509 (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Erreur de création du nouveau fichier PKCS #12 X509. La modification du Mot de passe a échouée."
|
||||
IDS_ERR_OPEN_CONFIG "Impossible d'ouvrir en mode lecture le fichier de configuration: (%s)"
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "Vous ne pouvez pas avoir plus d'une option ""key"" dans votre fichier de configuration."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "Vous ne pouvez pas avoir à la fois les options ""key"" et ""pkcs12"" dans votre configuration."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "Vous ne pouvez pas avoir plus d'une option ""pkcs12"" dans votre configuration."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Votre fichier de configuration ne contient aucune option ""key"" ou ""pkcs12""."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Le nom de votre fichier clé est trop long !"
|
||||
IDS_ERR_PASSPHRASE2STDIN "Erreur d'envoi de la phrase de passe vers stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Erreur d'envoi du nom d'utilisateur d'authentification vers stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Erreur d'envoi du Mot de passe d'authentification vers stdin."
|
||||
IDS_ERR_CR2STDIN "Erreur d'envoi du CR vers stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "Votre nouveau Mot de passe ne contient aucun caractère valide. " \
|
||||
"Choisissez en un autre SVP."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Configuration"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "Vous devez spécifier une adresse Proxy HTTP."
|
||||
ERR_HTTP_PROXY_PORT "Vous devez spécifier un port Proxy HTTP."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "Vous devez spécifier un port Proxy HTTP entre 1-65535"
|
||||
ERR_SOCKS_PROXY_ADDRESS "Vous devez spécifier une adresse Proxy SOCKS."
|
||||
ERR_SOCKS_PROXY_PORT "Vous devez spécifier un port Proxy SOCKS."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "Vous devez spécifier un port SOCKS entre 1-65535"
|
||||
ERR_CREATE_REG_HKCU_KEY "Erreur de création de la clé ""HKEY_CURRENT_USER\\%s""."
|
||||
ERR_GET_TEMP_PATH "Erreur de détermination du répertoire temporaire avec GetTempPath(). Utiliser ""C:\\"" à la place."
|
||||
ERR_CREATE_AUTH_FILE "Erreur de création du fichier AUTH. (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "Vous devez spécifier une adresse Proxy HTTP."
|
||||
IDS_ERR_HTTP_PROXY_PORT "Vous devez spécifier un port Proxy HTTP."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "Vous devez spécifier un port Proxy HTTP entre 1-65535"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "Vous devez spécifier une adresse Proxy SOCKS."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "Vous devez spécifier un port Proxy SOCKS."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "Vous devez spécifier un port SOCKS entre 1-65535"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Erreur de création de la clé ""HKEY_CURRENT_USER\\%s""."
|
||||
IDS_ERR_GET_TEMP_PATH "Erreur de détermination du répertoire temporaire avec GetTempPath(). Utiliser ""C:\\"" à la place."
|
||||
IDS_ERR_CREATE_AUTH_FILE "Erreur de création du fichier AUTH. (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "OpenSCManager a échoué. Vous devez avoir les droits Administrateur pour démarrer un Service."
|
||||
ERR_OPEN_VPN_SERVICE "Impossible d'ouvrir ""OpenVPNService"""
|
||||
ERR_START_SERVICE "Impossible de démarrer ""OpenVPNService"""
|
||||
ERR_QUERY_SERVICE "Demande du Statut de Service avorté."
|
||||
ERR_SERVICE_START_FAILED "Impossible de démarrer le Service OpenVPN."
|
||||
ERR_OPEN_SCMGR "OpenSCManager a échoué (%d)"
|
||||
ERR_STOP_SERVICE "Impossible de fermer le Service OpenVPN"
|
||||
INFO_RESTARTED "Service OpenVPN Redémarré."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "OpenSCManager a échoué. Vous devez avoir les droits Administrateur pour démarrer un Service."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Impossible d'ouvrir ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "Impossible de démarrer ""OpenVPNService"""
|
||||
IDS_ERR_QUERY_SERVICE "Demande du Statut de Service avorté."
|
||||
IDS_ERR_SERVICE_START_FAILED "Impossible de démarrer le Service OpenVPN."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager a échoué (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Impossible de fermer le Service OpenVPN"
|
||||
IDS_NFO_RESTARTED "Service OpenVPN Redémarré."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Impossible d'obtenir le Répertoire Windows."
|
||||
ERR_GET_PROGRAM_DIR "Impossible d'obtenir le nom du répertoire ""Program""."
|
||||
ERR_OPEN_REGISTRY "Erreur d'ouverture en mode lecture du registre (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN n'est probablement pas installé"
|
||||
ERR_READING_REGISTRY "Erreur de lecture du registre (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "La valeur du Registre ""passphrase_attempts"" doit être un nombre entre 1 et 9."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "La valeur du Registre ""connectscript_timeout"" doit être un nombre entre 0 et 99."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "La valeur du Registre ""disconnectscript_timeout"" doit être un nombre entre 1 et 99."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "La valeur du Registre ""preconnectscript_timeout"" doit être un nombre entre 1 et 99."
|
||||
ERR_CREATE_REG_KEY "Erreur de création de la clé HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
ERR_OPEN_WRITE_REG "Impossible d'ouvrir en mode écriture le registre. Vous devez lancer cette application " \
|
||||
"en tant qu'Administrator pour mettre à jour la base de registre."
|
||||
ERR_READ_SET_KEY "Impossible de lire et modifier la clé de registre ""%s""."
|
||||
ERR_WRITE_REGVALUE "Impossible d'écrire la valeur de registre ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Impossible d'obtenir le Répertoire Windows."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Impossible d'obtenir le nom du répertoire ""Program""."
|
||||
IDS_ERR_OPEN_REGISTRY "Erreur d'ouverture en mode lecture du registre (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN n'est probablement pas installé"
|
||||
IDS_ERR_READING_REGISTRY "Erreur de lecture du registre (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "La valeur du Registre ""passphrase_attempts"" doit être un nombre entre 1 et 9."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "La valeur du Registre ""connectscript_timeout"" doit être un nombre entre 0 et 99."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "La valeur du Registre ""disconnectscript_timeout"" doit être un nombre entre 1 et 99."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "La valeur du Registre ""preconnectscript_timeout"" doit être un nombre entre 1 et 99."
|
||||
IDS_ERR_CREATE_REG_KEY "Erreur de création de la clé HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
IDS_ERR_OPEN_WRITE_REG "Impossible d'ouvrir en mode écriture le registre. Vous devez lancer cette application " \
|
||||
"en tant qu'Administrator pour mettre à jour la base de registre."
|
||||
IDS_ERR_READ_SET_KEY "Impossible de lire et modifier la clé de registre ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Impossible d'écrire la valeur de registre ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog - designed with lcc-win32 resource editor */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Informazioni - OpenVPN GUI per Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - Un'applicazione che permette di creare tunnel sicuri su reti IP " \
|
||||
|
@ -40,7 +40,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -48,13 +48,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Inserisci la password:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Annulla", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - Autenticazione dell'utente"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -62,28 +62,28 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Nome utente:", 0, 6, 9, 50, 10
|
||||
LTEXT "Password:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Annulla", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Connessione in corso...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Connessione in corso...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Disconnetti", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Riconnetti", ID_RESTART, 150, 190, 50, 14
|
||||
PUSHBUTTON "Nascondi", ID_HIDE, 100, 190, 50, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Modifica della frase di sicurezza"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -92,48 +92,48 @@ BEGIN
|
|||
LTEXT "Vecchia password:", 171, 6, 9, 85, 10
|
||||
LTEXT "Nuova password:", 172, 6, 26, 85, 10
|
||||
LTEXT "Conferma nuova password:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Annulla", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Utilizza il file di configurazione di OpenVPN", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Utilizza il file di configurazione di OpenVPN", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Usa la configurazione di Internet Explorer", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configurazione manuale", RB_PROXY_USE_MANUAL, 13, 42, 88, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Indirizzo:", TEXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Porta:", TEXT_PROXY_PORT, 167, 73, 24, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 53, 71, 113, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Richiesta di Nome utente/Password per la connessione.", CHECKB_PROXY_AUTH, 13, 103, 195, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configurazione manuale", ID_RB_PROXY_MANUAL, 13, 42, 88, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Indirizzo:", ID_TXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Porta:", ID_TXT_PROXY_PORT, 167, 73, 24, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 53, 71, 113, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Richiesta di Nome utente/Password per la connessione.", ID_CB_PROXY_AUTH, 13, 103, 195, 10
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Autenticazione del Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Nome utente:", 201, 9, 8, 38, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Password:", 202, 9, 26, 38, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 58, 43, 40, 14
|
||||
END
|
||||
|
||||
|
@ -143,204 +143,204 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Italiano - Italian"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - Interfaccia per Windows di OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - Interfaccia per Windows di OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI "
|
||||
MSG_TIP_CONNECTED "\nConnesso a: "
|
||||
MSG_TIP_CONNECTING "\nConnessione in corso con: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nConnesso da: "
|
||||
MSG_TIP_ASSIGNED_IP "\nIP assegnato: %s"
|
||||
IDM_TEXT_SERVICE "Servizio di OpenVPN"
|
||||
IDM_TEXT_SETTINGS "Configurazione..."
|
||||
IDM_TEXT_ABOUT "Informazioni..."
|
||||
IDM_TEXT_CLOSE "Esci"
|
||||
IDM_TEXT_CONNECT "Connetti"
|
||||
IDM_TEXT_DISCONNECT "Disconnetti"
|
||||
IDM_TEXT_STATUS "Visualizza lo stato"
|
||||
IDM_TEXT_VIEWLOG "Visualizza il file di Log"
|
||||
IDM_TEXT_EDITCONFIG "Modifica Configurazione"
|
||||
IDM_TEXT_PASSPHRASE "Cambia Password"
|
||||
IDM_TEXT_SERVICE_START "Inizia"
|
||||
IDM_TEXT_SERVICE_STOP "Ferma"
|
||||
IDM_TEXT_SERVICE_RESTART "Riparti"
|
||||
IDM_TEXT_SERVICEONLY_START "Connetti"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Disconnetti"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Riconnetti"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "Vuoi disconnettere (Fermando il servizio di OpenVPN)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI "
|
||||
IDS_TIP_CONNECTED "\nConnesso a: "
|
||||
IDS_TIP_CONNECTING "\nConnessione in corso con: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nConnesso da: "
|
||||
IDS_TIP_ASSIGNED_IP "\nIP assegnato: %s"
|
||||
IDS_MENU_SERVICE "Servizio di OpenVPN"
|
||||
IDS_MENU_SETTINGS "Configurazione..."
|
||||
IDS_MENU_ABOUT "Informazioni..."
|
||||
IDS_MENU_CLOSE "Esci"
|
||||
IDS_MENU_CONNECT "Connetti"
|
||||
IDS_MENU_DISCONNECT "Disconnetti"
|
||||
IDS_MENU_STATUS "Visualizza lo stato"
|
||||
IDS_MENU_VIEWLOG "Visualizza il file di Log"
|
||||
IDS_MENU_EDITCONFIG "Modifica Configurazione"
|
||||
IDS_MENU_PASSPHRASE "Cambia Password"
|
||||
IDS_MENU_SERVICE_START "Inizia"
|
||||
IDS_MENU_SERVICE_STOP "Ferma"
|
||||
IDS_MENU_SERVICE_RESTART "Riparti"
|
||||
IDS_MENU_SERVICEONLY_START "Connetti"
|
||||
IDS_MENU_SERVICEONLY_STOP "Disconnetti"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Riconnetti"
|
||||
IDS_MENU_ASK_STOP_SERVICE "Vuoi disconnettere (Fermando il servizio di OpenVPN)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Errore nell'apertura del viaualizzatore di log: %s"
|
||||
ERR_START_CONF_EDITOR "Errore nell'apertura dell'editor di configurazione: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Errore nell'apertura del viaualizzatore di log: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Errore nell'apertura dell'editor di configurazione: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "OpenVPN GUI non supporta più di %d configurazioni. Per favore contatta l'autore se hai bisogno che ne supporti di più."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Non posso costruire il nome del file di log basato su: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Puoi avere una sola connessione alla volta in funzionamento quando usi una versione di OpenVPN più vecchia della 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "Non puoi usare OpenVPN GUI per far partire una connessione mentre il servizio di OpenVPN è in funzionamento (con OpenVPN 1.5/1.6). Arresta il servizio di OpenVPN se vuoi usare OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "Il creatore di eventi è fallito all'uscita dell'evento: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Nome di priorità sconosciuto: %s"
|
||||
ERR_LOG_APPEND_BOOL "Il file di Log ha aggiunto un puntatore (dato come '%s') deve essere '0' o '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Non riesco ad utilizzare la configurazione di IE per il proxy a causa di:\n%s"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor fallito."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl fallito."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite fallito."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite fallito."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead fallito."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle on hOutputRead fallito."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle on hInputWrite fallito."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp fallito."
|
||||
ERR_CREATE_PROCESS "CreateProcess fallito, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle fallito."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread fallito per visualizzare lo stato."
|
||||
INFO_STATE_WAIT_TERM "Stato corrente: In attesa che OpenVPN termini..."
|
||||
ERR_OPEN_LOG_WRITE "Errore apertura del file di log in scrittura: %s. Probabilmente non hai i privilegi di amministratore, che sono necessari a far funzionare OpenVPN."
|
||||
INFO_STATE_CONNECTED "Stato corrente: Connesso"
|
||||
INFO_NOW_CONNECTED "%s è ora connesso."
|
||||
INFO_ASSIG_IP "IP asseganto: %s"
|
||||
ERR_CERT_EXPIRED "Non riesco a connettermi perché il tuo certificato è scaduto o l'orologio di sistema non è corretto."
|
||||
ERR_CERT_NOT_YET_VALID "Non riesco a connettermi perché il tuo certificato non è ancora valido. Assicurati che l'orologio di sistema sia corretto."
|
||||
INFO_STATE_RECONNECTING "Stato corrente: Riconnessione in corso"
|
||||
INFO_STATE_DISCONNECTED "Stato corrente: Disconnesso"
|
||||
INFO_CONN_TERMINATED "La connessione a %s è terminata."
|
||||
INFO_STATE_FAILED "Stato corrente: Connessione fallita"
|
||||
INFO_CONN_FAILED "La connessione a %s è fallita."
|
||||
INFO_STATE_FAILED_RECONN "Stato corrente: Riconnessione fallita"
|
||||
INFO_RECONN_FAILED "La riconnessione a %s è fallita."
|
||||
INFO_STATE_SUSPENDED "Stato corrente: Sospeso"
|
||||
ERR_READ_STDOUT_PIPE "Errore in lettura dalla OpenVPN StdOut Pipe."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Creazione RichEdit LogWindow Fallita!!"
|
||||
ERR_SET_SIZE "Set Size fallita!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Non riesco a trovare una configurazione per partire in automatico: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() fallito quando ha cercato la versione di openvpn."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe on hInputRead falito."
|
||||
INFO_STATE_CONNECTING "Stato corrente: Connessione in corso"
|
||||
INFO_CONNECTION_XXX "Connessione OpenVPN (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "CreateThread per leggere il process stdout di openvpn è fallito."
|
||||
INFO_STATE_CONN_SCRIPT "Stato corrente: Avviato lo script di connessione"
|
||||
INFO_STATE_DISCONN_SCRIPT "Stato corrente: Avviato lo script di disconnessione"
|
||||
ERR_RUN_CONN_SCRIPT "Errore durante il funzionamento dello script di connessione: %s"
|
||||
ERR_GET_EXIT_CODE "Errore nel ExitCode dello script di connessione (%s)"
|
||||
ERR_CONN_SCRIPT_FAILED "Fallito lo script di connessione. (exitcode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Fallito lo script di connessione. TimeOut dopo %d sec."
|
||||
ERR_CONFIG_ALREADY_EXIST "Esiste già un file di configurazione chiamato '%s'. Non puoi " \
|
||||
"avere file di configurazioni con lo stesso nome, " \
|
||||
"a meno che non risiedano in cartelle differenti."
|
||||
IDS_ERR_MANY_CONFIGS "OpenVPN GUI non supporta più di %d configurazioni. Per favore contatta l'autore se hai bisogno che ne supporti di più."
|
||||
IDS_ERR_LOG_CONSTRUCT "Non posso costruire il nome del file di log basato su: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Puoi avere una sola connessione alla volta in funzionamento quando usi una versione di OpenVPN più vecchia della 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "Non puoi usare OpenVPN GUI per far partire una connessione mentre il servizio di OpenVPN è in funzionamento (con OpenVPN 1.5/1.6). Arresta il servizio di OpenVPN se vuoi usare OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "Il creatore di eventi è fallito all'uscita dell'evento: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Nome di priorità sconosciuto: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "Il file di Log ha aggiunto un puntatore (dato come '%s') deve essere '0' o '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Non riesco ad utilizzare la configurazione di IE per il proxy a causa di:\n%s"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor fallito."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl fallito."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite fallito."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite fallito."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead fallito."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle on hOutputRead fallito."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle on hInputWrite fallito."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp fallito."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess fallito, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle fallito."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread fallito per visualizzare lo stato."
|
||||
IDS_NFO_STATE_WAIT_TERM "Stato corrente: In attesa che OpenVPN termini..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Errore apertura del file di log in scrittura: %s. Probabilmente non hai i privilegi di amministratore, che sono necessari a far funzionare OpenVPN."
|
||||
IDS_NFO_STATE_CONNECTED "Stato corrente: Connesso"
|
||||
IDS_NFO_NOW_CONNECTED "%s è ora connesso."
|
||||
IDS_NFO_ASSIGN_IP "IP asseganto: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Non riesco a connettermi perché il tuo certificato è scaduto o l'orologio di sistema non è corretto."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Non riesco a connettermi perché il tuo certificato non è ancora valido. Assicurati che l'orologio di sistema sia corretto."
|
||||
IDS_NFO_STATE_RECONNECTING "Stato corrente: Riconnessione in corso"
|
||||
IDS_NFO_STATE_DISCONNECTED "Stato corrente: Disconnesso"
|
||||
IDS_NFO_CONN_TERMINATED "La connessione a %s è terminata."
|
||||
IDS_NFO_STATE_FAILED "Stato corrente: Connessione fallita"
|
||||
IDS_NFO_CONN_FAILED "La connessione a %s è fallita."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Stato corrente: Riconnessione fallita"
|
||||
IDS_NFO_RECONN_FAILED "La riconnessione a %s è fallita."
|
||||
IDS_NFO_STATE_SUSPENDED "Stato corrente: Sospeso"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Errore in lettura dalla OpenVPN StdOut Pipe."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Creazione RichEdit LogWindow Fallita!!"
|
||||
IDS_ERR_SET_SIZE "Set Size fallita!"
|
||||
IDS_ERR_AUTOSTART_CONF "Non riesco a trovare una configurazione per partire in automatico: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() fallito quando ha cercato la versione di openvpn."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe on hInputRead falito."
|
||||
IDS_NFO_STATE_CONNECTING "Stato corrente: Connessione in corso"
|
||||
IDS_NFO_CONNECTION_XXX "Connessione OpenVPN (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "CreateThread per leggere il process stdout di openvpn è fallito."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Stato corrente: Avviato lo script di connessione"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Stato corrente: Avviato lo script di disconnessione"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Errore durante il funzionamento dello script di connessione: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Errore nel ExitCode dello script di connessione (%s)"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Fallito lo script di connessione. (exitcode=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Fallito lo script di connessione. TimeOut dopo %d sec."
|
||||
IDS_ERR_CONFIG_EXIST "Esiste già un file di configurazione chiamato '%s'. Non puoi " \
|
||||
"avere file di configurazioni con lo stesso nome, " \
|
||||
"a meno che non risiedano in cartelle differenti."
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Errore nell'apertura del file di debug (%s) per l'output."
|
||||
ERR_LOAD_RICHED20 "Non riesco a caricare RICHED20.DLL."
|
||||
ERR_SHELL_DLL_VERSION "La versione del tuo shell32.dll è troppo bassa (0x%lx). Hai bisogno almeno della versione 5.0."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI è già in funzione."
|
||||
INFO_SERVICE_STARTED "OpenVPN Service iniziato."
|
||||
INFO_SERVICE_STOPPED "OpenVPN Service arrestato."
|
||||
INFO_ACTIVE_CONN_EXIT "Ci sono ancora connessioni attive che verranno chiuse se esci da OpenVPN GUI." \
|
||||
"\n\nSei sicuro di voler uscire?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Al momento sei connesso (il servizio di OpenVPN è in funzione). " \
|
||||
"Rimarrai connesso finché non uscirai da OpenVPN GUI.\n\n" \
|
||||
"Vuoi continuare e uscire da OpenVPN GUI?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Hai ""log"" o ""log-append"" nel tuo file di configurazione OpenVPN . Queste opzioni " \
|
||||
"non devono essere usate con OpenVPN GUI in quanto impediscono a OpenVPN GUI la lettura " \
|
||||
"del file di log di output di OpenVPN che è necessario per il corretto funzionamento di OpenVPN " \
|
||||
"GUI. I log vengono sempre scritti in un file di log quando OpenVPN GUI è in uso, " \
|
||||
"quindi devi rimuovere queste opzioni.\n\nVuoi continuare e conntterti comunque?"
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Errore nell'apertura del file di debug (%s) per l'output."
|
||||
IDS_ERR_LOAD_RICHED20 "Non riesco a caricare RICHED20.DLL."
|
||||
IDS_ERR_SHELL_DLL_VERSION "La versione del tuo shell32.dll è troppo bassa (0x%lx). Hai bisogno almeno della versione 5.0."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI è già in funzione."
|
||||
IDS_NFO_SERVICE_STARTED "OpenVPN Service iniziato."
|
||||
IDS_NFO_SERVICE_STOPPED "OpenVPN Service arrestato."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Ci sono ancora connessioni attive che verranno chiuse se esci da OpenVPN GUI." \
|
||||
"\n\nSei sicuro di voler uscire?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Al momento sei connesso (il servizio di OpenVPN è in funzione). " \
|
||||
"Rimarrai connesso finché non uscirai da OpenVPN GUI.\n\n" \
|
||||
"Vuoi continuare e uscire da OpenVPN GUI?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Hai ""log"" o ""log-append"" nel tuo file di configurazione OpenVPN . Queste opzioni " \
|
||||
"non devono essere usate con OpenVPN GUI in quanto impediscono a OpenVPN GUI la lettura " \
|
||||
"del file di log di output di OpenVPN che è necessario per il corretto funzionamento di OpenVPN " \
|
||||
"GUI. I log vengono sempre scritti in un file di log quando OpenVPN GUI è in uso, " \
|
||||
"quindi devi rimuovere queste opzioni.\n\nVuoi continuare e conntterti comunque?"
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Visualizza questo messaggio.\n" \
|
||||
"--connect cnn \t\t: Connetti a ""cnn"" all'avvio. (l'estensione deve essere inclusa)\n" \
|
||||
"\t\t\t Esempio: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Opzioni di configurazioni manuali nel registro delle impostazioni:\n" \
|
||||
"--exe_path\t\t: Percorso di openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Percorso per la cartella contenente i file di configurazione.\n" \
|
||||
"--ext_string\t\t: Estensione sui file di configurazione.\n" \
|
||||
"--log_dir\t\t\t: Percorso per la cartella dove salvare i file di log.\n" \
|
||||
"--priority_string\t\t: Riga di priorità (Vedi install.txt per i dettagli).\n" \
|
||||
"--append_string\t\t: 1=Aggiungi al file di log. 0=Tronca il file di log quando connetti.\n" \
|
||||
"--log_viewer\t\t: Percorso per il visualizzatore di log.\n" \
|
||||
"--editor\t\t\t: Percorso per l'editor di configurazione.\n" \
|
||||
"--allow_edit\t\t: 1=Visualizza l'elemento Modifica Configurazione nel menu.\n" \
|
||||
"--allow_service\t\t: 1=Visualizza il menu del controllo del Servizio.\n" \
|
||||
"--allow_password\t\t: 1=Visualizza l'elemento Cambia Password nel menu.\n" \
|
||||
"--allow_proxy\t\t: 1=Visualizza il menu di configurazione del Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Mai, 1=Alla connessione iniziale, 2=Ad ogni riconnessione.\n" \
|
||||
"--service_only\t\t: 1=Abilita la modalità Service Only.\n" \
|
||||
"--silent_connection\t\t: 1=Non mostrare la finestra di stato mentre connette.\n" \
|
||||
"--show_script_window\t: 0=Nascondi la finestra di esecuzione dello script, 1=Mostrala.\n" \
|
||||
"--passphrase_attempts\t: Numero di tentativi concessi per la frase di sicurezza.\n" \
|
||||
"--connectscript_timeout\t: Tempo d'attesa affinché lo script di connessione finisca.\n" \
|
||||
"--disconnectscript_timeout\t: Tempo d'attesa affinché lo script di disconnessione finisca.\n" \
|
||||
"--preconnectscript_timeout\t: Tempo d'attesa affinché lo script di preconnessione finisca.\n"
|
||||
IDS_NFO_USAGE "--help\t\t\t: Visualizza questo messaggio.\n" \
|
||||
"--connect cnn \t\t: Connetti a ""cnn"" all'avvio. (l'estensione deve essere inclusa)\n" \
|
||||
"\t\t\t Esempio: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Opzioni di configurazioni manuali nel registro delle impostazioni:\n" \
|
||||
"--exe_path\t\t: Percorso di openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Percorso per la cartella contenente i file di configurazione.\n" \
|
||||
"--ext_string\t\t: Estensione sui file di configurazione.\n" \
|
||||
"--log_dir\t\t\t: Percorso per la cartella dove salvare i file di log.\n" \
|
||||
"--priority_string\t\t: Riga di priorità (Vedi install.txt per i dettagli).\n" \
|
||||
"--append_string\t\t: 1=Aggiungi al file di log. 0=Tronca il file di log quando connetti.\n" \
|
||||
"--log_viewer\t\t: Percorso per il visualizzatore di log.\n" \
|
||||
"--editor\t\t\t: Percorso per l'editor di configurazione.\n" \
|
||||
"--allow_edit\t\t: 1=Visualizza l'elemento Modifica Configurazione nel menu.\n" \
|
||||
"--allow_service\t\t: 1=Visualizza il menu del controllo del Servizio.\n" \
|
||||
"--allow_password\t\t: 1=Visualizza l'elemento Cambia Password nel menu.\n" \
|
||||
"--allow_proxy\t\t: 1=Visualizza il menu di configurazione del Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Mai, 1=Alla connessione iniziale, 2=Ad ogni riconnessione.\n" \
|
||||
"--service_only\t\t: 1=Abilita la modalità Service Only.\n" \
|
||||
"--silent_connection\t\t: 1=Non mostrare la finestra di stato mentre connette.\n" \
|
||||
"--show_script_window\t: 0=Nascondi la finestra di esecuzione dello script, 1=Mostrala.\n" \
|
||||
"--passphrase_attempts\t: Numero di tentativi concessi per la frase di sicurezza.\n" \
|
||||
"--connectscript_timeout\t: Tempo d'attesa affinché lo script di connessione finisca.\n" \
|
||||
"--disconnectscript_timeout\t: Tempo d'attesa affinché lo script di disconnessione finisca.\n" \
|
||||
"--preconnectscript_timeout\t: Tempo d'attesa affinché lo script di preconnessione finisca.\n"
|
||||
|
||||
INFO_USAGECAPTION "Utilizzo di OpenVPN GUI"
|
||||
ERR_BAD_PARAMETER "Sto tentando di analizzare ""%s"" come un parametro --option " \
|
||||
"ma non vedo all'inizio '--'"
|
||||
ERR_BAD_OPTION "Errore sull'opzione: Opzione sconosciuta o Parametro(i) mancante: --%s\n" \
|
||||
"Usa openvpn-gui --help per maggiori informazioni."
|
||||
IDS_NFO_USAGECAPTION "Utilizzo di OpenVPN GUI"
|
||||
IDS_ERR_BAD_PARAMETER "Sto tentando di analizzare ""%s"" come un parametro --option " \
|
||||
"ma non vedo all'inizio '--'"
|
||||
IDS_ERR_BAD_OPTION "Errore sull'opzione: Opzione sconosciuta o Parametro(i) mancante: --%s\n" \
|
||||
"Usa openvpn-gui --help per maggiori informazioni."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread visualizza la finestra ChangePassphrase è fallito."
|
||||
INFO_CHANGE_PWD "Cambia Password (%s)"
|
||||
ERR_PWD_DONT_MATCH "La password che hai digitato non corrisponde. Riprova."
|
||||
ERR_PWD_TO_SHORT "La tua nuova password deve essere lunga almeno %d caratteri."
|
||||
INFO_EMPTY_PWD "Sei sicuro di voler lasciare in bianco la password?"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Formato di chiave sconosciuto."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Errore nell'apertura del file di chiave privata (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "La vecchia password è errata."
|
||||
ERR_OPEN_WRITE_KEY "Errore nell'apertura in scrittura del file di chiave privata (%s)."
|
||||
ERR_WRITE_NEW_KEY "Errore nella scrittura del file della nuova chiave privata (%s)."
|
||||
INFO_PWD_CHANGED "La tua password è stata modificata."
|
||||
ERR_READ_PKCS12 "Errore nella lettura del PKCS #12 file (%s)."
|
||||
ERR_CREATE_PKCS12 "Errore nella creazione del nuovo PKCS #12 oggetto. La modifica della password è fallita."
|
||||
ERR_OPEN_CONFIG "Non posso aprire in lettura il file di configurazione: (%s)"
|
||||
ERR_ONLY_ONE_KEY_OPTION "Non puoi avere più di una opzione ""key"" nella tua configurazione."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "Non puoi avere entrambe le opzioni ""key"" e ""pkcs12"" nella tua configurazione."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "Non puoi avere più di una opzione ""pkcs12"" nella tua configurazione."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Il tuo file di configurazione non può contenere alcuna opzione ""key"" o ""pkcs12""."
|
||||
ERR_KEY_FILENAME_TO_LONG "Il tuo nome del file della chiave è troppo lungo!"
|
||||
ERR_PASSPHRASE2STDIN "Errore nel trasmettere la frase di sicurezza a stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Errore nel trasmettere il nome utente a stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Errore nel trasmettere la password a stdin."
|
||||
ERR_CR2STDIN "Errore nel trasmettere CR a stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "La tua nuova password contiene caratteri non validi. " \
|
||||
"Per favore scegline un'altra."
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread visualizza la finestra ChangePassphrase è fallito."
|
||||
IDS_NFO_CHANGE_PWD "Cambia Password (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "La password che hai digitato non corrisponde. Riprova."
|
||||
IDS_ERR_PWD_TO_SHORT "La tua nuova password deve essere lunga almeno %d caratteri."
|
||||
IDS_NFO_EMPTY_PWD "Sei sicuro di voler lasciare in bianco la password?"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Formato di chiave sconosciuto."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Errore nell'apertura del file di chiave privata (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "La vecchia password è errata."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Errore nell'apertura in scrittura del file di chiave privata (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Errore nella scrittura del file della nuova chiave privata (%s)."
|
||||
IDS_NFO_PWD_CHANGED "La tua password è stata modificata."
|
||||
IDS_ERR_READ_PKCS12 "Errore nella lettura del PKCS #12 file (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Errore nella creazione del nuovo PKCS #12 oggetto. La modifica della password è fallita."
|
||||
IDS_ERR_OPEN_CONFIG "Non posso aprire in lettura il file di configurazione: (%s)"
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "Non puoi avere più di una opzione ""key"" nella tua configurazione."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "Non puoi avere entrambe le opzioni ""key"" e ""pkcs12"" nella tua configurazione."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "Non puoi avere più di una opzione ""pkcs12"" nella tua configurazione."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Il tuo file di configurazione non può contenere alcuna opzione ""key"" o ""pkcs12""."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Il tuo nome del file della chiave è troppo lungo!"
|
||||
IDS_ERR_PASSPHRASE2STDIN "Errore nel trasmettere la frase di sicurezza a stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Errore nel trasmettere il nome utente a stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Errore nel trasmettere la password a stdin."
|
||||
IDS_ERR_CR2STDIN "Errore nel trasmettere CR a stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "La tua nuova password contiene caratteri non validi. " \
|
||||
"Per favore scegline un'altra."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Configurazione"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "Devi specificare un indirizzo per il HTTP proxy."
|
||||
ERR_HTTP_PROXY_PORT "Devi specificare una porta per il HTTP proxy."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "Devi specificare una porta tra 1-65535 per il HTTP proxy port between 1-65535"
|
||||
ERR_SOCKS_PROXY_ADDRESS "Devi specificare un indirizzo per il SOCKS proxy."
|
||||
ERR_SOCKS_PROXY_PORT "Devi specificare una porta per il SOCKS proxy."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "Devi specificare una porta tra 1-65535 per il SOCKS proxy"
|
||||
ERR_CREATE_REG_HKCU_KEY "Errore nella creazione della chiave ""HKEY_CURRENT_USER\\%s""."
|
||||
ERR_GET_TEMP_PATH "Errore nel determinare TempPath con GetTempPath(). Usa ""C:\\"" invece."
|
||||
ERR_CREATE_AUTH_FILE "Errore nella creazione del file di AUTH. (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "Devi specificare un indirizzo per il HTTP proxy."
|
||||
IDS_ERR_HTTP_PROXY_PORT "Devi specificare una porta per il HTTP proxy."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "Devi specificare una porta tra 1-65535 per il HTTP proxy port between 1-65535"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "Devi specificare un indirizzo per il SOCKS proxy."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "Devi specificare una porta per il SOCKS proxy."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "Devi specificare una porta tra 1-65535 per il SOCKS proxy"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Errore nella creazione della chiave ""HKEY_CURRENT_USER\\%s""."
|
||||
IDS_ERR_GET_TEMP_PATH "Errore nel determinare TempPath con GetTempPath(). Usa ""C:\\"" invece."
|
||||
IDS_ERR_CREATE_AUTH_FILE "Errore nella creazione del file di AUTH. (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "OpenSCManager fallito. Devi avere i diritti di amministratore per far partire il servizio."
|
||||
ERR_OPEN_VPN_SERVICE "Errore nell'apertura di ""OpenVPNService"""
|
||||
ERR_START_SERVICE "Errore nel avvio di ""OpenVPNService"""
|
||||
ERR_QUERY_SERVICE "Errore nell'interrogazione dello status del servizio."
|
||||
ERR_SERVICE_START_FAILED "Fallito l'avvio di OpenVPN Service."
|
||||
ERR_OPEN_SCMGR "OpenSCManager fallito (%d)"
|
||||
ERR_STOP_SERVICE "Fallito l'arresto di OpenVPN Service"
|
||||
INFO_RESTARTED "OpenVPN Service riavviato."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "OpenSCManager fallito. Devi avere i diritti di amministratore per far partire il servizio."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Errore nell'apertura di ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "Errore nel avvio di ""OpenVPNService"""
|
||||
IDS_ERR_QUERY_SERVICE "Errore nell'interrogazione dello status del servizio."
|
||||
IDS_ERR_SERVICE_START_FAILED "Fallito l'avvio di OpenVPN Service."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager fallito (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Fallito l'arresto di OpenVPN Service"
|
||||
IDS_NFO_RESTARTED "OpenVPN Service riavviato."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Errore nell'ottenere la cartella di Windows."
|
||||
ERR_GET_PROGRAM_DIR "Errore nell'ottenere la cartella ""Program""."
|
||||
ERR_OPEN_REGISTRY "Errore nell'apertura del registro in lettura (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN probabilmente non è installato"
|
||||
ERR_READING_REGISTRY "Errore nella lettura del valore di registro (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "Il valore di registro ""passphrase_attempts"" deve essere un numero tra 1 e 9."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "Il valore di registro ""connectscript_timeout""deve essere un numero tra 0 and 99."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "Il valore di registro ""disconnectscript_timeout"" deve essere un numero tra 1 and 99."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "Il valore di registro ""preconnectscript_timeout"" deve essere un numero tra 1 and 99."
|
||||
ERR_CREATE_REG_KEY "Errore nella creazione della chiave HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
ERR_OPEN_WRITE_REG "Fallita l'apertura del registro in scrittura. Puoi far partire questa applicazione " \
|
||||
"una volta che l'amministratore ha aggiornato il registro."
|
||||
ERR_READ_SET_KEY "Errore nella lettura e settaggio della chiave di registro ""%s""."
|
||||
ERR_WRITE_REGVALUE "Errore nella scrittura del valore di registro ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Errore nell'ottenere la cartella di Windows."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Errore nell'ottenere la cartella ""Program""."
|
||||
IDS_ERR_OPEN_REGISTRY "Errore nell'apertura del registro in lettura (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN probabilmente non è installato"
|
||||
IDS_ERR_READING_REGISTRY "Errore nella lettura del valore di registro (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "Il valore di registro ""passphrase_attempts"" deve essere un numero tra 1 e 9."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Il valore di registro ""connectscript_timeout""deve essere un numero tra 0 and 99."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "Il valore di registro ""disconnectscript_timeout"" deve essere un numero tra 1 and 99."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "Il valore di registro ""preconnectscript_timeout"" deve essere un numero tra 1 and 99."
|
||||
IDS_ERR_CREATE_REG_KEY "Errore nella creazione della chiave HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
IDS_ERR_OPEN_WRITE_REG "Fallita l'apertura del registro in scrittura. Puoi far partire questa applicazione " \
|
||||
"una volta che l'amministratore ha aggiornato il registro."
|
||||
IDS_ERR_READ_SET_KEY "Errore nella lettura e settaggio della chiave di registro ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Errore nella scrittura del valore di registro ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog - designed with lcc-win32 resource editor */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "About - OpenVPN GUI for Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - Een programma om veilig netwerken te tunnellen " \
|
||||
|
@ -40,7 +40,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -48,13 +48,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Wachtwoord:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Annuleren", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - Gebruikers Authenticatie"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -62,28 +62,28 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Gebruikersnaam:", 0, 6, 9, 50, 10
|
||||
LTEXT "Wachtwoord:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Annuleren", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Verbinden...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Verbinden...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Verbroken", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Opnieuw verbinden", ID_RESTART, 150, 190, 50, 14
|
||||
PUSHBUTTON "Verbergen", ID_HIDE, 100, 190, 50, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Wijzig wachtwoord"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -92,48 +92,48 @@ BEGIN
|
|||
LTEXT "Oud wachtwoord:", 171, 6, 9, 85, 10
|
||||
LTEXT "Nieuw wachtwoord:", 172, 6, 26, 85, 10
|
||||
LTEXT "Bevestig nieuw wachtwoord:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Annuleren", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Gebruik OpenVPN instellingen", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Gebruik OpenVPN instellingen", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Gebruik Internet Explorer Instellingen", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Handmatige Configuratie", RB_PROXY_USE_MANUAL, 13, 42, 90, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adres:", TEXT_PROXY_ADDRESS, 20, 73, 24, 10
|
||||
RTEXT "Poort:", TEXT_PROXY_PORT, 167, 73, 24, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 45, 71, 121, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Vraag gebruikersnaam/wachtwoord tijdens verbinden.", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Handmatige Configuratie", ID_RB_PROXY_MANUAL, 13, 42, 90, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adres:", ID_TXT_PROXY_ADDRESS, 20, 73, 24, 10
|
||||
RTEXT "Poort:", ID_TXT_PROXY_PORT, 167, 73, 24, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 45, 71, 121, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Vraag gebruikersnaam/wachtwoord tijdens verbinden.", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Proxy Authenticatie"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Gebruikersnaam:", 201, 9, 8, 38, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Wacthwoord:", 202, 9, 26, 38, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 58, 43, 40, 14
|
||||
END
|
||||
|
||||
|
@ -143,205 +143,205 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Nederlands - Dutch"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - Een Windows GUI voor OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - Een Windows GUI voor OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI "
|
||||
MSG_TIP_CONNECTED "\nVerbonden met: "
|
||||
MSG_TIP_CONNECTING "\nVerbinden met: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nVerbonden sinds: "
|
||||
MSG_TIP_ASSIGNED_IP "\nToegewezen IP: %s"
|
||||
IDM_TEXT_SERVICE "OpenVPN Service"
|
||||
IDM_TEXT_SETTINGS "Instellingen..."
|
||||
IDM_TEXT_ABOUT "Info..."
|
||||
IDM_TEXT_CLOSE "Afsluiten"
|
||||
IDM_TEXT_CONNECT "Verbind"
|
||||
IDM_TEXT_DISCONNECT "Verbreek Verbinding"
|
||||
IDM_TEXT_STATUS "Toon Status"
|
||||
IDM_TEXT_VIEWLOG "Toon Log"
|
||||
IDM_TEXT_EDITCONFIG "Bewerk Configuratie"
|
||||
IDM_TEXT_PASSPHRASE "Wijzig Wachtwoord"
|
||||
IDM_TEXT_SERVICE_START "Start"
|
||||
IDM_TEXT_SERVICE_STOP "Stop"
|
||||
IDM_TEXT_SERVICE_RESTART "Herstart"
|
||||
IDM_TEXT_SERVICEONLY_START "Verbind"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Verbreek Verbinding"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Herstel Verbinding"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "De verbinding verbreken (Stop de OpenVPN Service)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI "
|
||||
IDS_TIP_CONNECTED "\nVerbonden met: "
|
||||
IDS_TIP_CONNECTING "\nVerbinden met: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nVerbonden sinds: "
|
||||
IDS_TIP_ASSIGNED_IP "\nToegewezen IP: %s"
|
||||
IDS_MENU_SERVICE "OpenVPN Service"
|
||||
IDS_MENU_SETTINGS "Instellingen..."
|
||||
IDS_MENU_ABOUT "Info..."
|
||||
IDS_MENU_CLOSE "Afsluiten"
|
||||
IDS_MENU_CONNECT "Verbind"
|
||||
IDS_MENU_DISCONNECT "Verbreek Verbinding"
|
||||
IDS_MENU_STATUS "Toon Status"
|
||||
IDS_MENU_VIEWLOG "Toon Log"
|
||||
IDS_MENU_EDITCONFIG "Bewerk Configuratie"
|
||||
IDS_MENU_PASSPHRASE "Wijzig Wachtwoord"
|
||||
IDS_MENU_SERVICE_START "Start"
|
||||
IDS_MENU_SERVICE_STOP "Stop"
|
||||
IDS_MENU_SERVICE_RESTART "Herstart"
|
||||
IDS_MENU_SERVICEONLY_START "Verbind"
|
||||
IDS_MENU_SERVICEONLY_STOP "Verbreek Verbinding"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Herstel Verbinding"
|
||||
IDS_MENU_ASK_STOP_SERVICE "De verbinding verbreken (Stop de OpenVPN Service)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Fout tijdens starten logboek: %s"
|
||||
ERR_START_CONF_EDITOR "Fout tijdens starten configurator: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Fout tijdens starten logboek: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Fout tijdens starten configurator: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "OpenVPN GUI ondersteunt niet meer dan %d configuratie's. Neem contact op met de auteur indien u er meer wenst."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Kan geen logfile aanmaken met naam: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Er kan maar 1 verbinding per OpenVPN-client gestart worden met versie's ouder dan OpenVPN 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "De OpenVPN GUI kan niet gestart worden als de OpenVPN Service actief is. (OpenVPN 1.5/1.6). Stop eerst de OpenVPN Service indien u de OpenVPN GUI wenst te gebruiken."
|
||||
ERR_CREATE_EVENT "CreateEvent mislukt tijdens exit event: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Onbekende prioriteitsnaam: %s"
|
||||
ERR_LOG_APPEND_BOOL "Log bestand append flag (opgegeven als '%s') moet '0' of '1' zijn"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Kan IE proxy instellingen niet ophalen:\n%s"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor mislukt."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl mislukt."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite mislukt."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite mislukt."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead mislukt."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle on hOutputRead mislukt."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle on hInputWrite mislukt."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp mislukt."
|
||||
ERR_CREATE_PROCESS "CreateProcess mislukt, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle mislukt."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread om om Status venster te tonen mislukt."
|
||||
INFO_STATE_WAIT_TERM "Huidige Status: Wachten tot OpenVPN gestopt is..."
|
||||
ERR_OPEN_LOG_WRITE "Fout tijdens schrijven naar log-bestand: %s. U heeft waarschijnlijk geen Administrator rechten, deze zijn noodzakelijk om OpenVPN te starten."
|
||||
INFO_STATE_CONNECTED "Hudige status: Verbonden"
|
||||
INFO_NOW_CONNECTED "%s is nu verbonden."
|
||||
INFO_ASSIG_IP "Toegewezen IP: %s"
|
||||
ERR_CERT_EXPIRED "Kan geen verbinding maken, het certificaat is vervallen. Controleer eventueel de systeemtijd."
|
||||
ERR_CERT_NOT_YET_VALID "Kan geen verbinding maken, het certificaat is nog niet geldig. Controleer eventueel de systeemtijd."
|
||||
INFO_STATE_RECONNECTING "Hudige Status: Opnieuw verbinden"
|
||||
INFO_STATE_DISCONNECTED "Huidige Status: Niet verbonden"
|
||||
INFO_CONN_TERMINATED "Verbinding met %s is verbroken."
|
||||
INFO_STATE_FAILED "Huidige Status: Kan geen verbinding maken"
|
||||
INFO_CONN_FAILED "Verbinden met %s is mislukt."
|
||||
INFO_STATE_FAILED_RECONN "Huidige Status: Opnieuw verbinden is mislukt."
|
||||
INFO_RECONN_FAILED "Opnieuw verbinden met %s is mislukt."
|
||||
INFO_STATE_SUSPENDED "Huidige Status: Onderbroken"
|
||||
ERR_READ_STDOUT_PIPE "Fout tijdens lezen van OpenVPN StdOut Pipe."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Creatie van RichEdit LogWindow mislukt!"
|
||||
ERR_SET_SIZE "Instellen afmetingen mislukt!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Kan opgegeven configuratie voor automatische verbinding niet vinden: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() mislukt tijdens verificatie OpenVPN versie."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe tijdens hInputRead mislukt."
|
||||
INFO_STATE_CONNECTING "Huidige Status: Verbinden"
|
||||
INFO_CONNECTION_XXX "OpenVPN Verbinding (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "CreateThread naar OpenVPN stdout lees-proces mislukt.."
|
||||
INFO_STATE_CONN_SCRIPT "Huidige Status: Connect Script Uitvoeren"
|
||||
INFO_STATE_DISCONN_SCRIPT "Hudige Status: Disconnect Script Uitvoeren"
|
||||
ERR_RUN_CONN_SCRIPT "Fout tijdens uitvoeren Connect Script: %s"
|
||||
ERR_GET_EXIT_CODE "Kan ExitCode niet uitlezen voor Connect Script (%s)"
|
||||
ERR_CONN_SCRIPT_FAILED "Connect Script mislukt. (exitcode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Connect Script mislukt. TimeOut na %d sec."
|
||||
ERR_CONFIG_ALREADY_EXIST "Er bestaat al een configuratie '%s'. Elke configuratie " \
|
||||
"moet een unieke naam hebben, ook als " \
|
||||
"ze in verschillende mappen bewaard worden."
|
||||
IDS_ERR_MANY_CONFIGS "OpenVPN GUI ondersteunt niet meer dan %d configuratie's. Neem contact op met de auteur indien u er meer wenst."
|
||||
IDS_ERR_LOG_CONSTRUCT "Kan geen logfile aanmaken met naam: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Er kan maar 1 verbinding per OpenVPN-client gestart worden met versie's ouder dan OpenVPN 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "De OpenVPN GUI kan niet gestart worden als de OpenVPN Service actief is. (OpenVPN 1.5/1.6). Stop eerst de OpenVPN Service indien u de OpenVPN GUI wenst te gebruiken."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent mislukt tijdens exit event: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Onbekende prioriteitsnaam: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "Log bestand append flag (opgegeven als '%s') moet '0' of '1' zijn"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Kan IE proxy instellingen niet ophalen:\n%s"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor mislukt."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl mislukt."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe on hOutputWrite mislukt."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle on hErrorWrite mislukt."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe on hInputRead mislukt."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle on hOutputRead mislukt."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle on hInputWrite mislukt."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle on hOutputReadTmp/hInputWriteTmp mislukt."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess mislukt, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle mislukt."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread om om Status venster te tonen mislukt."
|
||||
IDS_NFO_STATE_WAIT_TERM "Huidige Status: Wachten tot OpenVPN gestopt is..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Fout tijdens schrijven naar log-bestand: %s. U heeft waarschijnlijk geen Administrator rechten, deze zijn noodzakelijk om OpenVPN te starten."
|
||||
IDS_NFO_STATE_CONNECTED "Hudige status: Verbonden"
|
||||
IDS_NFO_NOW_CONNECTED "%s is nu verbonden."
|
||||
IDS_NFO_ASSIGN_IP "Toegewezen IP: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Kan geen verbinding maken, het certificaat is vervallen. Controleer eventueel de systeemtijd."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Kan geen verbinding maken, het certificaat is nog niet geldig. Controleer eventueel de systeemtijd."
|
||||
IDS_NFO_STATE_RECONNECTING "Hudige Status: Opnieuw verbinden"
|
||||
IDS_NFO_STATE_DISCONNECTED "Huidige Status: Niet verbonden"
|
||||
IDS_NFO_CONN_TERMINATED "Verbinding met %s is verbroken."
|
||||
IDS_NFO_STATE_FAILED "Huidige Status: Kan geen verbinding maken"
|
||||
IDS_NFO_CONN_FAILED "Verbinden met %s is mislukt."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Huidige Status: Opnieuw verbinden is mislukt."
|
||||
IDS_NFO_RECONN_FAILED "Opnieuw verbinden met %s is mislukt."
|
||||
IDS_NFO_STATE_SUSPENDED "Huidige Status: Onderbroken"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Fout tijdens lezen van OpenVPN StdOut Pipe."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Creatie van RichEdit LogWindow mislukt!"
|
||||
IDS_ERR_SET_SIZE "Instellen afmetingen mislukt!"
|
||||
IDS_ERR_AUTOSTART_CONF "Kan opgegeven configuratie voor automatische verbinding niet vinden: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() mislukt tijdens verificatie OpenVPN versie."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe tijdens hInputRead mislukt."
|
||||
IDS_NFO_STATE_CONNECTING "Huidige Status: Verbinden"
|
||||
IDS_NFO_CONNECTION_XXX "OpenVPN Verbinding (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "CreateThread naar OpenVPN stdout lees-proces mislukt.."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Huidige Status: Connect Script Uitvoeren"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Hudige Status: Disconnect Script Uitvoeren"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Fout tijdens uitvoeren Connect Script: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Kan ExitCode niet uitlezen voor Connect Script (%s)"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Connect Script mislukt. (exitcode=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Connect Script mislukt. TimeOut na %d sec."
|
||||
IDS_ERR_CONFIG_EXIST "Er bestaat al een configuratie '%s'. Elke configuratie " \
|
||||
"moet een unieke naam hebben, ook als " \
|
||||
"ze in verschillende mappen bewaard worden."
|
||||
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Fout tijdens schrijven naar debug-log (%s)."
|
||||
ERR_LOAD_RICHED20 "Kan RICHED20.DLL niet laden."
|
||||
ERR_SHELL_DLL_VERSION "De shell32.dll versie is te oud (0x%lx). Minstens version 5.0 is vereist."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI is al gestart."
|
||||
INFO_SERVICE_STARTED "OpenVPN Service gestart."
|
||||
INFO_SERVICE_STOPPED "OpenVPN Service gestopt."
|
||||
INFO_ACTIVE_CONN_EXIT "Er zijn nog active connecties die verbroken zullen worden indien OpenVPN GUI afgesloten wordt." \
|
||||
"\n\nBent u zeker dan u wilt afsluiten?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Er is momenteel een active verbinding (OpenVPN services is gestart). " \
|
||||
"De verbinding blijft actief ook als OpenVPN GUI afgesloten wordt.\n\n" \
|
||||
"OpenVPN GUI afsluiten?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Er is een ""log"" of ""log-append"" parameter in de OpenVPN configuratie. Deze parameters " \
|
||||
"kunnen niet samen met OpenVPN GUI gebruikt worden. " \
|
||||
"OpenVPN GUI moet via STDOUT toegang hebben tot de log gegevens om correcte te werken. " \
|
||||
"OpenVPN GUI maakt automatisch een log bestand aan, ook als deze parameters niet ingesteld zijn. " \
|
||||
"Toch verbinding maken? " \
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Fout tijdens schrijven naar debug-log (%s)."
|
||||
IDS_ERR_LOAD_RICHED20 "Kan RICHED20.DLL niet laden."
|
||||
IDS_ERR_SHELL_DLL_VERSION "De shell32.dll versie is te oud (0x%lx). Minstens version 5.0 is vereist."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI is al gestart."
|
||||
IDS_NFO_SERVICE_STARTED "OpenVPN Service gestart."
|
||||
IDS_NFO_SERVICE_STOPPED "OpenVPN Service gestopt."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Er zijn nog active connecties die verbroken zullen worden indien OpenVPN GUI afgesloten wordt." \
|
||||
"\n\nBent u zeker dan u wilt afsluiten?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Er is momenteel een active verbinding (OpenVPN services is gestart). " \
|
||||
"De verbinding blijft actief ook als OpenVPN GUI afgesloten wordt.\n\n" \
|
||||
"OpenVPN GUI afsluiten?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Er is een ""log"" of ""log-append"" parameter in de OpenVPN configuratie. Deze parameters " \
|
||||
"kunnen niet samen met OpenVPN GUI gebruikt worden. " \
|
||||
"OpenVPN GUI moet via STDOUT toegang hebben tot de log gegevens om correcte te werken. " \
|
||||
"OpenVPN GUI maakt automatisch een log bestand aan, ook als deze parameters niet ingesteld zijn. " \
|
||||
"Toch verbinding maken? " \
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Toon dit bericht.\n" \
|
||||
"--connect cnn \t\t: Verbind met ""cnn"" tijdens opstarten. (extensie moet opgegeven worden)\n" \
|
||||
"\t\t\t Voorbeeld: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Instellingen die de register instellingen overschrijven:\n" \
|
||||
"--exe_path\t\t: Path naar openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Path naar map met configuratie bestanden.\n" \
|
||||
"--ext_string\t\t: Extensies voor de configuratie bestanden.\n" \
|
||||
"--log_dir\t\t\t: Path naar de map waar de log bestanden bewaard worden.\n" \
|
||||
"--priority_string\t\t: Prioriteit string (Zie install.txt voor meer info).\n" \
|
||||
"--append_string\t\t: 1=Toevoegen aan log bestand. 0=Overschrijf log bestand tijdens verbinden.\n" \
|
||||
"--log_viewer\t\t: Path naar de log viewer.\n" \
|
||||
"--editor\t\t\t: Path naar de configuratie editor.\n" \
|
||||
"--allow_edit\t\t: 1=Toon Bewerk Configuratie menu item.\n" \
|
||||
"--allow_service\t\t: 1=Toon Service controle menu.\n" \
|
||||
"--allow_password\t\t: 1=Toon Wijzig Wachtwoord menu item.\n" \
|
||||
"--allow_proxy\t\t: 1=Toon Proxy Instellingen menu.\n" \
|
||||
"--show_balloon\t\t: 0=Nooit, 1=Tijdens eerste verbinding, 2=Bij elke herverbinding.\n" \
|
||||
"--service_only\t\t: 1=Activeer Service Only mode.\n" \
|
||||
"--silent_connection\t\t: 1=Verberg het Status venster tijdens het verbinden.\n" \
|
||||
"--show_script_window\t: 0=Verberg Script output venster, 1=Toon het.\n" \
|
||||
"--passphrase_attempts\t: Aantal wachtwoord pogingen.\n" \
|
||||
"--connectscript_timeout\t: Timeout voor uitvoer van Connect Script.\n" \
|
||||
"--disconnectscript_timeout\t: Timeout voor uitvoer van Disconnect Script.\n" \
|
||||
"--preconnectscript_timeout\t: Timeout voor uitvoer Preconnect Script.\n"
|
||||
/* options - Resources */
|
||||
IDS_NFO_USAGE "--help\t\t\t: Toon dit bericht.\n" \
|
||||
"--connect cnn \t\t: Verbind met ""cnn"" tijdens opstarten. (extensie moet opgegeven worden)\n" \
|
||||
"\t\t\t Voorbeeld: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Instellingen die de register instellingen overschrijven:\n" \
|
||||
"--exe_path\t\t: Path naar openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Path naar map met configuratie bestanden.\n" \
|
||||
"--ext_string\t\t: Extensies voor de configuratie bestanden.\n" \
|
||||
"--log_dir\t\t\t: Path naar de map waar de log bestanden bewaard worden.\n" \
|
||||
"--priority_string\t\t: Prioriteit string (Zie install.txt voor meer info).\n" \
|
||||
"--append_string\t\t: 1=Toevoegen aan log bestand. 0=Overschrijf log bestand tijdens verbinden.\n" \
|
||||
"--log_viewer\t\t: Path naar de log viewer.\n" \
|
||||
"--editor\t\t\t: Path naar de configuratie editor.\n" \
|
||||
"--allow_edit\t\t: 1=Toon Bewerk Configuratie menu item.\n" \
|
||||
"--allow_service\t\t: 1=Toon Service controle menu.\n" \
|
||||
"--allow_password\t\t: 1=Toon Wijzig Wachtwoord menu item.\n" \
|
||||
"--allow_proxy\t\t: 1=Toon Proxy Instellingen menu.\n" \
|
||||
"--show_balloon\t\t: 0=Nooit, 1=Tijdens eerste verbinding, 2=Bij elke herverbinding.\n" \
|
||||
"--service_only\t\t: 1=Activeer Service Only mode.\n" \
|
||||
"--silent_connection\t\t: 1=Verberg het Status venster tijdens het verbinden.\n" \
|
||||
"--show_script_window\t: 0=Verberg Script output venster, 1=Toon het.\n" \
|
||||
"--passphrase_attempts\t: Aantal wachtwoord pogingen.\n" \
|
||||
"--connectscript_timeout\t: Timeout voor uitvoer van Connect Script.\n" \
|
||||
"--disconnectscript_timeout\t: Timeout voor uitvoer van Disconnect Script.\n" \
|
||||
"--preconnectscript_timeout\t: Timeout voor uitvoer Preconnect Script.\n"
|
||||
|
||||
INFO_USAGECAPTION "OpenVPN GUI Opties"
|
||||
ERR_BAD_PARAMETER "Ik probeer ""%s"" te interpreteren als een --option parameter " \
|
||||
"maar kan geen '--'-prefix vinden."
|
||||
ERR_BAD_OPTION "Fout in Opties: Onbekende optie of missende parameter: --%s\n" \
|
||||
"Gebruik openvpn-gui --help voor meer informatie."
|
||||
IDS_NFO_USAGECAPTION "OpenVPN GUI Opties"
|
||||
IDS_ERR_BAD_PARAMETER "Ik probeer ""%s"" te interpreteren als een --option parameter " \
|
||||
"maar kan geen '--'-prefix vinden."
|
||||
IDS_ERR_BAD_OPTION "Fout in Opties: Onbekende optie of missende parameter: --%s\n" \
|
||||
"Gebruik openvpn-gui --help voor meer informatie."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread om ChangePassphrase venster aan te maken is mislukt."
|
||||
INFO_CHANGE_PWD "Wijzig wachtwoord (%s)"
|
||||
ERR_PWD_DONT_MATCH "De wachtwoorden die u heeft ingegeven komen niet overeen. Probeer opnieuw."
|
||||
ERR_PWD_TO_SHORT "Het nieuwe wachtwoord moet minstens %d tekens bevatten."
|
||||
INFO_EMPTY_PWD "Wilt u echt een LEEG wachtwoord instellen?"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Onbekend keyfile formaat."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Fout tijdens openen van private key bestand (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "Het oude wachtwoord is niet correct."
|
||||
ERR_OPEN_WRITE_KEY "Fout tijdens schrijven naar private key bestand (%s)."
|
||||
ERR_WRITE_NEW_KEY "Fout tijdens schrijven naar nieuw private key bestand (%s)."
|
||||
INFO_PWD_CHANGED "Het wachtwoord is gewijzigd."
|
||||
ERR_READ_PKCS12 "Fout tijdens lezen van PKCS #12 bestand (%s)."
|
||||
ERR_CREATE_PKCS12 "Fout tijdens aanmaken van PKCS #12 object. Wijzigen wachtwoord is mislukt."
|
||||
ERR_OPEN_CONFIG "Kan configuratie bestand niet lezen: (%s)"
|
||||
ERR_ONLY_ONE_KEY_OPTION "Er mag slechts een enkele ""key"" optie voorkomen in een configuratie."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "De opties ""key"" en ""pkcs12"" mogen niet samen voorkomen in een configuratie."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "Er mag slechts een enkele ""pkcs12"" optie voorkomen in een configuratie."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Er moet of een ""key"" of een ""pkcs12"" optie in de configuratie voorkomen."
|
||||
ERR_KEY_FILENAME_TO_LONG "Het key bestand in de configuratie is te lang!"
|
||||
ERR_PASSPHRASE2STDIN "Fout bij doorgeven wachtwoord aan stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Fout bij doorgeven gebruikersnaam aan stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Fout bij doorgeven wachtwoord aan stdin."
|
||||
ERR_CR2STDIN "Fout bij doorgeven CR aan stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "Het nieuwe wachtwoord bevat niet toegestande tekens. " \
|
||||
"Kies een nieuw wachtwoord."
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread om ChangePassphrase venster aan te maken is mislukt."
|
||||
IDS_NFO_CHANGE_PWD "Wijzig wachtwoord (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "De wachtwoorden die u heeft ingegeven komen niet overeen. Probeer opnieuw."
|
||||
IDS_ERR_PWD_TO_SHORT "Het nieuwe wachtwoord moet minstens %d tekens bevatten."
|
||||
IDS_NFO_EMPTY_PWD "Wilt u echt een LEEG wachtwoord instellen?"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Onbekend keyfile formaat."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Fout tijdens openen van private key bestand (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "Het oude wachtwoord is niet correct."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Fout tijdens schrijven naar private key bestand (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Fout tijdens schrijven naar nieuw private key bestand (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Het wachtwoord is gewijzigd."
|
||||
IDS_ERR_READ_PKCS12 "Fout tijdens lezen van PKCS #12 bestand (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Fout tijdens aanmaken van PKCS #12 object. Wijzigen wachtwoord is mislukt."
|
||||
IDS_ERR_OPEN_CONFIG "Kan configuratie bestand niet lezen: (%s)"
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "Er mag slechts een enkele ""key"" optie voorkomen in een configuratie."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "De opties ""key"" en ""pkcs12"" mogen niet samen voorkomen in een configuratie."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "Er mag slechts een enkele ""pkcs12"" optie voorkomen in een configuratie."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Er moet of een ""key"" of een ""pkcs12"" optie in de configuratie voorkomen."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Het key bestand in de configuratie is te lang!"
|
||||
IDS_ERR_PASSPHRASE2STDIN "Fout bij doorgeven wachtwoord aan stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Fout bij doorgeven gebruikersnaam aan stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Fout bij doorgeven wachtwoord aan stdin."
|
||||
IDS_ERR_CR2STDIN "Fout bij doorgeven CR aan stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "Het nieuwe wachtwoord bevat niet toegestande tekens. " \
|
||||
"Kies een nieuw wachtwoord."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Instellingen"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "Er moet een HTTP proxy adres opgegeven worden."
|
||||
ERR_HTTP_PROXY_PORT "Er moet een HTTP proxy poort opgegeven worden."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "Er moet een HTTP proxy poort opgegeven worden tussen 1 en 65535."
|
||||
ERR_SOCKS_PROXY_ADDRESS "Er moet een SOCKS proxy adres opgegeven worden."
|
||||
ERR_SOCKS_PROXY_PORT "Er moet een SOCKS proxy poort opgegeven worden."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "Er moet een SOCKS proxy poort opgegeven worden tussen 1 en 65535."
|
||||
ERR_CREATE_REG_HKCU_KEY "Fout tijdens aanmaken ""HKEY_CURRENT_USER\\%s"" sleutel."
|
||||
ERR_GET_TEMP_PATH "Fout tijdens opvragen TempPath met GetTempPath(). Gebruikt ""C:\\"" als TempPath."
|
||||
ERR_CREATE_AUTH_FILE "Fout bij aanmaken AUTH bestand. (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "Er moet een HTTP proxy adres opgegeven worden."
|
||||
IDS_ERR_HTTP_PROXY_PORT "Er moet een HTTP proxy poort opgegeven worden."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "Er moet een HTTP proxy poort opgegeven worden tussen 1 en 65535."
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "Er moet een SOCKS proxy adres opgegeven worden."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "Er moet een SOCKS proxy poort opgegeven worden."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "Er moet een SOCKS proxy poort opgegeven worden tussen 1 en 65535."
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Fout tijdens aanmaken ""HKEY_CURRENT_USER\\%s"" sleutel."
|
||||
IDS_ERR_GET_TEMP_PATH "Fout tijdens opvragen TempPath met GetTempPath(). Gebruikt ""C:\\"" als TempPath."
|
||||
IDS_ERR_CREATE_AUTH_FILE "Fout bij aanmaken AUTH bestand. (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "Starten van OpenSCManager mislukt. Administrator rechten zijn vereist om een service te starten."
|
||||
ERR_OPEN_VPN_SERVICE "Openen ""OpenVPNService"" mislukt"
|
||||
ERR_START_SERVICE "Starten ""OpenVPNService"" mislukt"
|
||||
ERR_QUERY_SERVICE "Opvragen service status mislukt."
|
||||
ERR_SERVICE_START_FAILED "Starten van OpenVPN Service mislukt."
|
||||
ERR_OPEN_SCMGR "Starten van OpenSCManager mislukt (%d)"
|
||||
ERR_STOP_SERVICE "Stoppen van OpenVPN Service mislukt"
|
||||
INFO_RESTARTED "OpenVPN Service Herstart."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "Starten van OpenSCManager mislukt. Administrator rechten zijn vereist om een service te starten."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Openen ""OpenVPNService"" mislukt"
|
||||
IDS_ERR_START_SERVICE "Starten ""OpenVPNService"" mislukt"
|
||||
IDS_ERR_QUERY_SERVICE "Opvragen service status mislukt."
|
||||
IDS_ERR_SERVICE_START_FAILED "Starten van OpenVPN Service mislukt."
|
||||
IDS_ERR_OPEN_SCMGR "Starten van OpenSCManager mislukt (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Stoppen van OpenVPN Service mislukt"
|
||||
IDS_NFO_RESTARTED "OpenVPN Service Herstart."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Fout tijdens opvragen Windows-map."
|
||||
ERR_GET_PROGRAM_DIR "Fout tijdens opvragen ""Program"" map naam."
|
||||
ERR_OPEN_REGISTRY "Fout tijdens lezen van register (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN is waarschijnlijk niet geinstalleerd"
|
||||
ERR_READING_REGISTRY "Fout tijdens lezen van registersleutel (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "Registersleutel ""passphrase_attempts"" moet een waarde tussen 1 en 9 bevatten."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "Registersleutel ""connectscript_timeout"" moet een waarde tussen 0 en 99 bevatten."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "Registersleutel ""disconnectscript_timeout"" moet een waarde tussen 1 en 99 bevatten."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "Registersleutel ""preconnectscript_timeout"" moet een waarde tussen 1 en 99 bevatten."
|
||||
ERR_CREATE_REG_KEY "Fout tijdens aamaken van HKLM\\SOFTWARE\\OpenVPN-GUI sleutel."
|
||||
ERR_OPEN_WRITE_REG "Fout tijdens het schrijven naar het register. Voer deze applicatie 1 maal uit als Administrator " \
|
||||
"om de register instellingen te updaten."
|
||||
ERR_READ_SET_KEY "Fout tijdens lezen en instellen van registersleutel ""%s""."
|
||||
ERR_WRITE_REGVALUE "Fout tijdens schrijven van registersleutel ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Fout tijdens opvragen Windows-map."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Fout tijdens opvragen ""Program"" map naam."
|
||||
IDS_ERR_OPEN_REGISTRY "Fout tijdens lezen van register (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN is waarschijnlijk niet geinstalleerd"
|
||||
IDS_ERR_READING_REGISTRY "Fout tijdens lezen van registersleutel (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "Registersleutel ""passphrase_attempts"" moet een waarde tussen 1 en 9 bevatten."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Registersleutel ""connectscript_timeout"" moet een waarde tussen 0 en 99 bevatten."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "Registersleutel ""disconnectscript_timeout"" moet een waarde tussen 1 en 99 bevatten."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "Registersleutel ""preconnectscript_timeout"" moet een waarde tussen 1 en 99 bevatten."
|
||||
IDS_ERR_CREATE_REG_KEY "Fout tijdens aamaken van HKLM\\SOFTWARE\\OpenVPN-GUI sleutel."
|
||||
IDS_ERR_OPEN_WRITE_REG "Fout tijdens het schrijven naar het register. Voer deze applicatie 1 maal uit als Administrator " \
|
||||
"om de register instellingen te updaten."
|
||||
IDS_ERR_READ_SET_KEY "Fout tijdens lezen en instellen van registersleutel ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Fout tijdens schrijven van registersleutel ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -24,15 +24,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Om - OpenVPN GUI for Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - En applikasjon for sikker overføring av IP nett " \
|
||||
|
@ -45,7 +45,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOG 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOG 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -53,13 +53,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Oppgi passord:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - Brukerautentisering"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -67,28 +67,28 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Brukernavn:", 0, 6, 9, 50, 10
|
||||
LTEXT "Passord:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Kobler til...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Kobler til...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Koble fra", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Koble til på nytt", ID_RESTART, 150, 190, 40, 14
|
||||
PUSHBUTTON "Skjul", ID_HIDE, 100, 190, 40, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Ändra Lösenord"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -97,48 +97,48 @@ BEGIN
|
|||
LTEXT "Nåværende passord:", 171, 6, 9, 85, 10
|
||||
LTEXT "Oppgi nytt passord:", 172, 6, 26, 85, 10
|
||||
LTEXT "Bekreft nytt passord:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Bruk innstillinger fra OpenVPNs konfig-fil", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Bruk innstillinger fra OpenVPNs konfig-fil", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Bruk innstillinger fra Internet Explorer", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manuell Konfigurering", RB_PROXY_USE_MANUAL, 13, 42, 81, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adresse:", TEXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Port:", TEXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 53, 71, 117, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Be om brukernavn ved tilkobling.", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manuell Konfigurering", ID_RB_PROXY_MANUAL, 13, 42, 81, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adresse:", ID_TXT_PROXY_ADDRESS, 20, 73, 32, 10
|
||||
RTEXT "Port:", ID_TXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 53, 71, 117, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Be om brukernavn ved tilkobling.", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 170, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 170, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Proxy Autentisering"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Brukernavn:", 201, 9, 8, 55, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 65, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 65, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Passord:", 202, 9, 26, 55, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 65, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 65, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 60, 43, 50, 14
|
||||
END
|
||||
|
||||
|
@ -148,200 +148,200 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Norsk - Norwegian"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - Ett Windows-Grensesnitt mot OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - Ett Windows-Grensesnitt mot OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN Brukergrensesnitt"
|
||||
MSG_TIP_CONNECTED "\nTilkoblet: "
|
||||
MSG_TIP_CONNECTING "\nKobler til: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nTilkoblet siden: "
|
||||
MSG_TIP_ASSIGNED_IP "\nTildelt IP: %s"
|
||||
IDM_TEXT_SERVICE "OpenVPN Service"
|
||||
IDM_TEXT_SETTINGS "Innstillinger..."
|
||||
IDM_TEXT_ABOUT "Om..."
|
||||
IDM_TEXT_CLOSE "Avslutte"
|
||||
IDM_TEXT_CONNECT "Koble til"
|
||||
IDM_TEXT_DISCONNECT "Koble fra"
|
||||
IDM_TEXT_STATUS "Vis Status"
|
||||
IDM_TEXT_VIEWLOG "Vis Logg"
|
||||
IDM_TEXT_EDITCONFIG "Editere innstillinger"
|
||||
IDM_TEXT_PASSPHRASE "Endre passord"
|
||||
IDM_TEXT_SERVICE_START "Starte"
|
||||
IDM_TEXT_SERVICE_STOP "Stoppe"
|
||||
IDM_TEXT_SERVICE_RESTART "Starte på nytt"
|
||||
IDM_TEXT_SERVICEONLY_START "Koble til"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Koble fra"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Koble til på nytt"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "Vil du koble fra? (Stoppe OpenVPN Service)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN Brukergrensesnitt"
|
||||
IDS_TIP_CONNECTED "\nTilkoblet: "
|
||||
IDS_TIP_CONNECTING "\nKobler til: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nTilkoblet siden: "
|
||||
IDS_TIP_ASSIGNED_IP "\nTildelt IP: %s"
|
||||
IDS_MENU_SERVICE "OpenVPN Service"
|
||||
IDS_MENU_SETTINGS "Innstillinger..."
|
||||
IDS_MENU_ABOUT "Om..."
|
||||
IDS_MENU_CLOSE "Avslutte"
|
||||
IDS_MENU_CONNECT "Koble til"
|
||||
IDS_MENU_DISCONNECT "Koble fra"
|
||||
IDS_MENU_STATUS "Vis Status"
|
||||
IDS_MENU_VIEWLOG "Vis Logg"
|
||||
IDS_MENU_EDITCONFIG "Editere innstillinger"
|
||||
IDS_MENU_PASSPHRASE "Endre passord"
|
||||
IDS_MENU_SERVICE_START "Starte"
|
||||
IDS_MENU_SERVICE_STOP "Stoppe"
|
||||
IDS_MENU_SERVICE_RESTART "Starte på nytt"
|
||||
IDS_MENU_SERVICEONLY_START "Koble til"
|
||||
IDS_MENU_SERVICEONLY_STOP "Koble fra"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Koble til på nytt"
|
||||
IDS_MENU_ASK_STOP_SERVICE "Vil du koble fra? (Stoppe OpenVPN Service)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Feil under oppstart av log viewer: %s"
|
||||
ERR_START_CONF_EDITOR "Feil under oppstart av konfig editor: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Feil under oppstart av log viewer: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Feil under oppstart av konfig editor: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "Du kan ikke ha fler enn %d konfig-filer. Kontakt utvikleren av OpenVPN GUI om du har behov for å håndtere fler."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Feil under opprettelse av logg filnavn: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Du kan bara ha en tilkobling igang samtidig med eldre versjoner av OpenVPN enn 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "Du kan ikke koble til med OpenVPN GUI når OpenVPN Service kjører. (kun OpenVPN 1.5/1.6). Stopp tjenesten først om du vil benytte OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "CreateEvent feilet med å opprette event: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Ukjent prioritet: %s"
|
||||
ERR_LOG_APPEND_BOOL "Legg til/Overskriv loggfil flagg (Oppgis som '%s') må være '0' eller '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Kunne ikke hemte innstillinger for HTTP Proxy fra Internet Explorer. (%s)"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor feilet."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl feilet."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe på hOutputWrite feilet."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle på hErrorWrite feilet."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe på hInputRead feilet."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle på hOutputRead feilet."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle på hInputWrite feilet."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle på hOutputReadTmp/hInputWriteTmp feilet."
|
||||
ERR_CREATE_PROCESS "CreateProcess feilet, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle feilet."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread for å vise statusvindu feilet."
|
||||
INFO_STATE_WAIT_TERM "Status: Ventar på OpenVPN avslutning..."
|
||||
ERR_OPEN_LOG_WRITE "Feil under åpning av loggfil for skrivning: %s. Du trenger sannsynligvis administrator-rettigheter for å kjøre OpenVPN."
|
||||
INFO_STATE_CONNECTED "Status: Tilkoblet"
|
||||
INFO_NOW_CONNECTED "%s er tilkoblet."
|
||||
INFO_ASSIG_IP "tildelt IP: %s"
|
||||
ERR_CERT_EXPIRED "Kunne ikke koble til, ditt sertifikat er for gammelt eller klokken i din datamaskin går feil."
|
||||
ERR_CERT_NOT_YET_VALID "Kunne ikke koble til, ditt sertifikat er datert frem i tid eller klokken i din datamaskin går feil."
|
||||
INFO_STATE_RECONNECTING "Status: Kobler til på nytt"
|
||||
INFO_STATE_DISCONNECTED "Status: Koblet fra"
|
||||
INFO_CONN_TERMINATED "Du har blitt frakoblet %s."
|
||||
INFO_STATE_FAILED "Status: Tilkobling feilet."
|
||||
INFO_CONN_FAILED "Tilkobling til %s feilet."
|
||||
INFO_STATE_FAILED_RECONN "Status: Kunne ikke koble til på nytt"
|
||||
INFO_RECONN_FAILED "Tilkobling til %s feilet."
|
||||
INFO_STATE_SUSPENDED "Status: Hvilemodus"
|
||||
ERR_READ_STDOUT_PIPE "Feil under lesning fra OpenVPN StdOut pipe."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Opprettelse av RichEdit LogWindow feilet!!"
|
||||
ERR_SET_SIZE "Set Size feilet!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Følgende konfig kunne ikke starte automatisk: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() feilet under sjekk av openvpn version."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe på hInputRead feilet."
|
||||
INFO_STATE_CONNECTING "Status: Kobler til"
|
||||
INFO_CONNECTION_XXX "OpenVPN Tilkoblet (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "En feil oppsto under opprettelse av tråd for å lytte til OpenVPN logg."
|
||||
INFO_STATE_CONN_SCRIPT "Status: Kjører skript for tilkobling"
|
||||
INFO_STATE_DISCONN_SCRIPT "Status: Kjører skript for frakobling"
|
||||
ERR_RUN_CONN_SCRIPT "En feil oppsto under kjøring av skript: %s"
|
||||
ERR_GET_EXIT_CODE "En feil oppsto når avslutningskode fra følgende skript skulle hentes: %s"
|
||||
ERR_CONN_SCRIPT_FAILED "Tilkoblingsskriptet feilet. (avslutningskode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Tilkoblingsskriptet fikk TimeOut etter %d sekunder."
|
||||
ERR_CONFIG_ALREADY_EXIST "Det finnes allerede en konfig-fil med navn '%s'. Du kan ikke ha flere " \
|
||||
"konfigurasjons-filer med samme navn, selv om de ligger i ulike kataloger."
|
||||
IDS_ERR_MANY_CONFIGS "Du kan ikke ha fler enn %d konfig-filer. Kontakt utvikleren av OpenVPN GUI om du har behov for å håndtere fler."
|
||||
IDS_ERR_LOG_CONSTRUCT "Feil under opprettelse av logg filnavn: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Du kan bara ha en tilkobling igang samtidig med eldre versjoner av OpenVPN enn 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "Du kan ikke koble til med OpenVPN GUI når OpenVPN Service kjører. (kun OpenVPN 1.5/1.6). Stopp tjenesten først om du vil benytte OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent feilet med å opprette event: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Ukjent prioritet: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "Legg til/Overskriv loggfil flagg (Oppgis som '%s') må være '0' eller '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Kunne ikke hemte innstillinger for HTTP Proxy fra Internet Explorer. (%s)"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor feilet."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl feilet."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe på hOutputWrite feilet."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle på hErrorWrite feilet."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe på hInputRead feilet."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle på hOutputRead feilet."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle på hInputWrite feilet."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle på hOutputReadTmp/hInputWriteTmp feilet."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess feilet, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle feilet."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread for å vise statusvindu feilet."
|
||||
IDS_NFO_STATE_WAIT_TERM "Status: Ventar på OpenVPN avslutning..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Feil under åpning av loggfil for skrivning: %s. Du trenger sannsynligvis administrator-rettigheter for å kjøre OpenVPN."
|
||||
IDS_NFO_STATE_CONNECTED "Status: Tilkoblet"
|
||||
IDS_NFO_NOW_CONNECTED "%s er tilkoblet."
|
||||
IDS_NFO_ASSIGN_IP "tildelt IP: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Kunne ikke koble til, ditt sertifikat er for gammelt eller klokken i din datamaskin går feil."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Kunne ikke koble til, ditt sertifikat er datert frem i tid eller klokken i din datamaskin går feil."
|
||||
IDS_NFO_STATE_RECONNECTING "Status: Kobler til på nytt"
|
||||
IDS_NFO_STATE_DISCONNECTED "Status: Koblet fra"
|
||||
IDS_NFO_CONN_TERMINATED "Du har blitt frakoblet %s."
|
||||
IDS_NFO_STATE_FAILED "Status: Tilkobling feilet."
|
||||
IDS_NFO_CONN_FAILED "Tilkobling til %s feilet."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Status: Kunne ikke koble til på nytt"
|
||||
IDS_NFO_RECONN_FAILED "Tilkobling til %s feilet."
|
||||
IDS_NFO_STATE_SUSPENDED "Status: Hvilemodus"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Feil under lesning fra OpenVPN StdOut pipe."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Opprettelse av RichEdit LogWindow feilet!!"
|
||||
IDS_ERR_SET_SIZE "Set Size feilet!"
|
||||
IDS_ERR_AUTOSTART_CONF "Følgende konfig kunne ikke starte automatisk: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() feilet under sjekk av openvpn version."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe på hInputRead feilet."
|
||||
IDS_NFO_STATE_CONNECTING "Status: Kobler til"
|
||||
IDS_NFO_CONNECTION_XXX "OpenVPN Tilkoblet (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "En feil oppsto under opprettelse av tråd for å lytte til OpenVPN logg."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Status: Kjører skript for tilkobling"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Status: Kjører skript for frakobling"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "En feil oppsto under kjøring av skript: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "En feil oppsto når avslutningskode fra følgende skript skulle hentes: %s"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Tilkoblingsskriptet feilet. (avslutningskode=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Tilkoblingsskriptet fikk TimeOut etter %d sekunder."
|
||||
IDS_ERR_CONFIG_EXIST "Det finnes allerede en konfig-fil med navn '%s'. Du kan ikke ha flere " \
|
||||
"konfigurasjons-filer med samme navn, selv om de ligger i ulike kataloger."
|
||||
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Feil under åpning av debug fil. (%s)"
|
||||
ERR_LOAD_RICHED20 "Kunne ikke laste RICHED20.DLL."
|
||||
ERR_SHELL_DLL_VERSION "Din shell32.dll versjon er for lav (0x%lx). Du trenger minst versjon 5.0."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI kjører allerede."
|
||||
INFO_SERVICE_STARTED "OpenVPN Service startet."
|
||||
INFO_SERVICE_STOPPED "OpenVPN Service stoppet."
|
||||
INFO_ACTIVE_CONN_EXIT "Aktive tilkoblinger vil bli avbrutt om du avslutter OpenVPN GUI.\n\nVil du avslutte?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Du er tilkoblet med OpenVPN (OpenVPN tjenesten kjører). " \
|
||||
"Aktive tilkoblinger vil forbli tilkoblet om du avslutter OpenVPN GUI.\n\n" \
|
||||
"Vil du avslutte?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Du har ""log"" eller ""log-append"" i din OpenVPN konfig fil. Du bør ikke benytte " \
|
||||
"disse innstillingene ved bruk av OpenVPN GUI, ettersom GUI'et da ikke kan ""se"" " \
|
||||
"logge meldingene fra OpenVPN. Dette er nødvendig for OpenVPN GUI's funksjon.\n\n" \
|
||||
"Vil du allikevel koble til?"
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Feil under åpning av debug fil. (%s)"
|
||||
IDS_ERR_LOAD_RICHED20 "Kunne ikke laste RICHED20.DLL."
|
||||
IDS_ERR_SHELL_DLL_VERSION "Din shell32.dll versjon er for lav (0x%lx). Du trenger minst versjon 5.0."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI kjører allerede."
|
||||
IDS_NFO_SERVICE_STARTED "OpenVPN Service startet."
|
||||
IDS_NFO_SERVICE_STOPPED "OpenVPN Service stoppet."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Aktive tilkoblinger vil bli avbrutt om du avslutter OpenVPN GUI.\n\nVil du avslutte?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Du er tilkoblet med OpenVPN (OpenVPN tjenesten kjører). " \
|
||||
"Aktive tilkoblinger vil forbli tilkoblet om du avslutter OpenVPN GUI.\n\n" \
|
||||
"Vil du avslutte?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Du har ""log"" eller ""log-append"" i din OpenVPN konfig fil. Du bør ikke benytte " \
|
||||
"disse innstillingene ved bruk av OpenVPN GUI, ettersom GUI'et da ikke kan ""se"" " \
|
||||
"logge meldingene fra OpenVPN. Dette er nødvendig for OpenVPN GUI's funksjon.\n\n" \
|
||||
"Vil du allikevel koble til?"
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Vis dene meldingen.\n" \
|
||||
"--connect cnn \t\t: Koble til ""cnn"" ved oppstart. (filtypen må være med)\n" \
|
||||
"\t\t\t Eksempel: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Parametre som vil overstyre instillinger gjort i registret:\n" \
|
||||
"--exe_path\t\t: Path til openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Path til OpenVPNs konfig-katalog.\n" \
|
||||
"--ext_string\t\t: Filtype for konfig-filer.\n" \
|
||||
"--log_dir\t\t\t: Path til loggfil-katalog.\n" \
|
||||
"--priority_string\t\t: Prioritet på OpenVPN processer (Se install.txt for detaljer).\n" \
|
||||
"--append_string\t\t: 1=Behold gammel logg. 0=Tøm loggfil ved ny tilkobling.\n" \
|
||||
"--log_viewer\t\t: Path til logg-viewer.\n" \
|
||||
"--editor\t\t\t: Path til konfig-editor.\n" \
|
||||
"--allow_edit\t\t: 1=Vise Editere Konfig i meny.\n" \
|
||||
"--allow_service\t\t: 1=Vise OpenVPN Service i meny.\n" \
|
||||
"--allow_password\t\t: 1=Vise Endre Passord i meny.\n" \
|
||||
"--allow_proxy\t\t: 1=Vise Proxy Innstillinger i meny.\n" \
|
||||
"--show_balloon\t\t: 0=Aldri, 1=under tilkobling, 2=Ved hver ""tilkobling på nytt"".\n" \
|
||||
"--service_only\t\t: 1=Aktivere ""Service Only"" modus.\n" \
|
||||
"--silent_connection\t\t: 1=ikke vis status-vindu ved tilkobling.\n" \
|
||||
"--show_script_window\t: 0=Skjul skript-vindu, 1=Vise skript-vindu.\n" \
|
||||
"--passphrase_attempts\t: Antall tilkoblings-forsøk.\n" \
|
||||
"--connectscript_timeout\t: Max tillatt connect-skript tid.\n" \
|
||||
"--disconnectscript_timeout\t: Max tillat disconnect-skript tid.\n" \
|
||||
"--preconnectscript_timeout\t: Max tillat preconnect-skript tid.\n"
|
||||
IDS_NFO_USAGE "--help\t\t\t: Vis dene meldingen.\n" \
|
||||
"--connect cnn \t\t: Koble til ""cnn"" ved oppstart. (filtypen må være med)\n" \
|
||||
"\t\t\t Eksempel: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
"Parametre som vil overstyre instillinger gjort i registret:\n" \
|
||||
"--exe_path\t\t: Path til openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Path til OpenVPNs konfig-katalog.\n" \
|
||||
"--ext_string\t\t: Filtype for konfig-filer.\n" \
|
||||
"--log_dir\t\t\t: Path til loggfil-katalog.\n" \
|
||||
"--priority_string\t\t: Prioritet på OpenVPN processer (Se install.txt for detaljer).\n" \
|
||||
"--append_string\t\t: 1=Behold gammel logg. 0=Tøm loggfil ved ny tilkobling.\n" \
|
||||
"--log_viewer\t\t: Path til logg-viewer.\n" \
|
||||
"--editor\t\t\t: Path til konfig-editor.\n" \
|
||||
"--allow_edit\t\t: 1=Vise Editere Konfig i meny.\n" \
|
||||
"--allow_service\t\t: 1=Vise OpenVPN Service i meny.\n" \
|
||||
"--allow_password\t\t: 1=Vise Endre Passord i meny.\n" \
|
||||
"--allow_proxy\t\t: 1=Vise Proxy Innstillinger i meny.\n" \
|
||||
"--show_balloon\t\t: 0=Aldri, 1=under tilkobling, 2=Ved hver ""tilkobling på nytt"".\n" \
|
||||
"--service_only\t\t: 1=Aktivere ""Service Only"" modus.\n" \
|
||||
"--silent_connection\t\t: 1=ikke vis status-vindu ved tilkobling.\n" \
|
||||
"--show_script_window\t: 0=Skjul skript-vindu, 1=Vise skript-vindu.\n" \
|
||||
"--passphrase_attempts\t: Antall tilkoblings-forsøk.\n" \
|
||||
"--connectscript_timeout\t: Max tillatt connect-skript tid.\n" \
|
||||
"--disconnectscript_timeout\t: Max tillat disconnect-skript tid.\n" \
|
||||
"--preconnectscript_timeout\t: Max tillat preconnect-skript tid.\n"
|
||||
|
||||
INFO_USAGECAPTION "OpenVPN GUI bruk"
|
||||
ERR_BAD_PARAMETER "Forsøker tolke ""%s"" som en --option parameter " \
|
||||
"men kan ikke finne innledende '--'"
|
||||
ERR_BAD_OPTION "Parameter feil: Ukjent parameter eller manglende argument: --%s\n" \
|
||||
"Kjør openvpn-gui --help for hjelp."
|
||||
IDS_NFO_USAGECAPTION "OpenVPN GUI bruk"
|
||||
IDS_ERR_BAD_PARAMETER "Forsøker tolke ""%s"" som en --option parameter " \
|
||||
"men kan ikke finne innledende '--'"
|
||||
IDS_ERR_BAD_OPTION "Parameter feil: Ukjent parameter eller manglende argument: --%s\n" \
|
||||
"Kjør openvpn-gui --help for hjelp."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread for å vise ChangePassphrase dialogen feilet."
|
||||
INFO_CHANGE_PWD "Endre passord (%s)"
|
||||
ERR_PWD_DONT_MATCH "De oppgitte nye passord er forskjellige. Prøv igjen"
|
||||
ERR_PWD_TO_SHORT "Passord må være minst %d tegn."
|
||||
INFO_EMPTY_PWD "Er du sikker på at du vil benytte et BLANKT passord??"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Nøkkelfilen har ukjent format."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "En feil oppsto under åpning av nøkkel-fil (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "Du har oppgitt feil passord."
|
||||
ERR_OPEN_WRITE_KEY "En feil oppsto under åpning av nøkkel-fil for skrivning (%s)."
|
||||
ERR_WRITE_NEW_KEY "En feil oppsto under opprettelse av ny nøkkel-fil (%s)."
|
||||
INFO_PWD_CHANGED "Dn passord har blitt endret."
|
||||
ERR_READ_PKCS12 "Feil under lesning fra pkcs #12 fil (%s)."
|
||||
ERR_CREATE_PKCS12 "En feil oppsto under opprettelse av pkcs12 objekt."
|
||||
ERR_OPEN_CONFIG "En feil oppsto under åpning av følgende konfig-fil: %s."
|
||||
ERR_ONLY_ONE_KEY_OPTION "Du kan ikke ha mer enn en ""key"" parameter i din konfig-fil."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "Du kan ikke ha både ""key"" og ""pkcs12"" parametetre i din konfig-fil."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "Du kan ikke ha mer enn en ""pkcs12"" parameter i din konfig-fil."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Din konfig-fil mangler ""key"" eller ""pkcs12"" parameter."
|
||||
ERR_KEY_FILENAME_TO_LONG "Den oppgitte path til din nøkkel i konfig-fil er for lang!"
|
||||
ERR_PASSPHRASE2STDIN "En feil oppsto når passordet skulle sendes til OpenVPN via stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "En feil oppsto når brukernavnet skulle sendes til OpenVPN via stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "En feil oppsto når passordet skulle sendes til OpenVPN via stdin."
|
||||
ERR_CR2STDIN "En feil oppsto når CR skulle sendes til OpenVPN via stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "Nytt passord inneholder tegn som ikke er tillatt. " \
|
||||
"Forsøk igjen."
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread for å vise ChangePassphrase dialogen feilet."
|
||||
IDS_NFO_CHANGE_PWD "Endre passord (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "De oppgitte nye passord er forskjellige. Prøv igjen"
|
||||
IDS_ERR_PWD_TO_SHORT "Passord må være minst %d tegn."
|
||||
IDS_NFO_EMPTY_PWD "Er du sikker på at du vil benytte et BLANKT passord??"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Nøkkelfilen har ukjent format."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "En feil oppsto under åpning av nøkkel-fil (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "Du har oppgitt feil passord."
|
||||
IDS_ERR_OPEN_WRITE_KEY "En feil oppsto under åpning av nøkkel-fil for skrivning (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "En feil oppsto under opprettelse av ny nøkkel-fil (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Dn passord har blitt endret."
|
||||
IDS_ERR_READ_PKCS12 "Feil under lesning fra pkcs #12 fil (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "En feil oppsto under opprettelse av pkcs12 objekt."
|
||||
IDS_ERR_OPEN_CONFIG "En feil oppsto under åpning av følgende konfig-fil: %s."
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "Du kan ikke ha mer enn en ""key"" parameter i din konfig-fil."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "Du kan ikke ha både ""key"" og ""pkcs12"" parametetre i din konfig-fil."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "Du kan ikke ha mer enn en ""pkcs12"" parameter i din konfig-fil."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Din konfig-fil mangler ""key"" eller ""pkcs12"" parameter."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Den oppgitte path til din nøkkel i konfig-fil er for lang!"
|
||||
IDS_ERR_PASSPHRASE2STDIN "En feil oppsto når passordet skulle sendes til OpenVPN via stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "En feil oppsto når brukernavnet skulle sendes til OpenVPN via stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "En feil oppsto når passordet skulle sendes til OpenVPN via stdin."
|
||||
IDS_ERR_CR2STDIN "En feil oppsto når CR skulle sendes til OpenVPN via stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "Nytt passord inneholder tegn som ikke er tillatt. " \
|
||||
"Forsøk igjen."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Inställningar"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "HTTP proxy addresse må oppgis."
|
||||
ERR_HTTP_PROXY_PORT "HTTP proxy port må oppgis."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "HTTP proxy port må være et tall mellom 1 og 65535"
|
||||
ERR_SOCKS_PROXY_ADDRESS "SOCKS proxy addresse må oppgis."
|
||||
ERR_SOCKS_PROXY_PORT "SOCKS proxy port må oppgis."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "SOCKS proxy port må være ett tall mellom 1 og 65535"
|
||||
ERR_CREATE_REG_HKCU_KEY "En feil oppsto ved opprettelse av register-nøkkel ""HKEY_CURRENT_USER\\%s"""
|
||||
ERR_GET_TEMP_PATH "En feil oppsto når GetTempPath() ble kalt opp. Alternativ ""C:\\"" vil bi benyttet."
|
||||
ERR_CREATE_AUTH_FILE "En feil oppsto under opprettelse av AUTH fil (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "HTTP proxy addresse må oppgis."
|
||||
IDS_ERR_HTTP_PROXY_PORT "HTTP proxy port må oppgis."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "HTTP proxy port må være et tall mellom 1 og 65535"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "SOCKS proxy addresse må oppgis."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "SOCKS proxy port må oppgis."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "SOCKS proxy port må være ett tall mellom 1 og 65535"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "En feil oppsto ved opprettelse av register-nøkkel ""HKEY_CURRENT_USER\\%s"""
|
||||
IDS_ERR_GET_TEMP_PATH "En feil oppsto når GetTempPath() ble kalt opp. Alternativ ""C:\\"" vil bi benyttet."
|
||||
IDS_ERR_CREATE_AUTH_FILE "En feil oppsto under opprettelse av AUTH fil (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "En feil oppsto under åpning av Service Manager. Du har sannsynligvis ikke rettigheter til å starte/stoppe en service."
|
||||
ERR_OPEN_VPN_SERVICE "Kunnne ike åpne ""OpenVPNService"""
|
||||
ERR_START_SERVICE "En feil oppsto under oppstart av OpenVPN Service"
|
||||
ERR_QUERY_SERVICE "En feil oppsto når status på OpenVPN Service skulle kontrolleres."
|
||||
ERR_SERVICE_START_FAILED "OpenVPN Service kunne ikke starte."
|
||||
ERR_OPEN_SCMGR "OpenSCManager feilet (%d)"
|
||||
ERR_STOP_SERVICE "En feil oppsto ved stopp av OpenVPN Service"
|
||||
INFO_RESTARTED "OpenVPN Service omstart utført."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "En feil oppsto under åpning av Service Manager. Du har sannsynligvis ikke rettigheter til å starte/stoppe en service."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Kunnne ike åpne ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "En feil oppsto under oppstart av OpenVPN Service"
|
||||
IDS_ERR_QUERY_SERVICE "En feil oppsto når status på OpenVPN Service skulle kontrolleres."
|
||||
IDS_ERR_SERVICE_START_FAILED "OpenVPN Service kunne ikke starte."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager feilet (%d)"
|
||||
IDS_ERR_STOP_SERVICE "En feil oppsto ved stopp av OpenVPN Service"
|
||||
IDS_NFO_RESTARTED "OpenVPN Service omstart utført."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Kunne ikke finne katalog hvor Windows er installert."
|
||||
ERR_GET_PROGRAM_DIR "Kunne ikke finne path til din ""Program"" katalog."
|
||||
ERR_OPEN_REGISTRY "Feil under åpning av register for lesning (HKLM\\SOFTWARE\\OpenVPN).\n OpenVPN er kanskje ikke installert."
|
||||
ERR_READING_REGISTRY "Feil under lesning av register-nøkkel (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "Register-verdi ""passphrase_attempts"" må være ett tall mellom 1 og 9."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "Register-verdi ""connectscript_timeout"" må være ett tall mellom 0 og 99."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "Register-verdi ""disconnectscript_timeout"" må være ett tall mellom 1 og 99."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "Register-verdi ""preconnectscript_timeout"" må være ett tall mellom 1 og 99."
|
||||
ERR_CREATE_REG_KEY "Feil under opprettelse av register-nøkkel HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
ERR_OPEN_WRITE_REG "Feil under åpning av register for skrivning. Du må starte programmet en gang som administrator for å oppdatere registret."
|
||||
ERR_READ_SET_KEY "Feil under lesning og skrivning av register-verdi ""%s""."
|
||||
ERR_WRITE_REGVALUE "Feil under skrivning av register-verdi ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Kunne ikke finne katalog hvor Windows er installert."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Kunne ikke finne path til din ""Program"" katalog."
|
||||
IDS_ERR_OPEN_REGISTRY "Feil under åpning av register for lesning (HKLM\\SOFTWARE\\OpenVPN).\n OpenVPN er kanskje ikke installert."
|
||||
IDS_ERR_READING_REGISTRY "Feil under lesning av register-nøkkel (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "Register-verdi ""passphrase_attempts"" må være ett tall mellom 1 og 9."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Register-verdi ""connectscript_timeout"" må være ett tall mellom 0 og 99."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "Register-verdi ""disconnectscript_timeout"" må være ett tall mellom 1 og 99."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "Register-verdi ""preconnectscript_timeout"" må være ett tall mellom 1 og 99."
|
||||
IDS_ERR_CREATE_REG_KEY "Feil under opprettelse av register-nøkkel HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
IDS_ERR_OPEN_WRITE_REG "Feil under åpning av register for skrivning. Du må starte programmet en gang som administrator for å oppdatere registret."
|
||||
IDS_ERR_READ_SET_KEY "Feil under lesning og skrivning av register-verdi ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Feil under skrivning av register-verdi ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog - designed with lcc-win32 resource editor */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Sobre - OpenVPN GUI para Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - An application to securely tunnel IP networks " \
|
||||
|
@ -41,7 +41,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOGEX 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -49,13 +49,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Digite a senha:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - Autenticação de usuário"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -63,28 +63,28 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Usuário:", 0, 6, 9, 50, 10
|
||||
LTEXT "Senha:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Conectando...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Conectando...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Desconectar", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Reconectar", ID_RESTART, 150, 190, 50, 14
|
||||
PUSHBUTTON "Ocultar", ID_HIDE, 100, 190, 50, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Trocar senha"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -93,48 +93,48 @@ BEGIN
|
|||
LTEXT "Senha antiga:", 171, 6, 9, 85, 10
|
||||
LTEXT "Nova senha:", 172, 6, 26, 85, 10
|
||||
LTEXT "Confime a nova senha:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Usar aquivo de configuração do OpenVPN", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Usar aquivo de configuração do OpenVPN", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Usar configurações do Internet Explorer", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configuração manual", RB_PROXY_USE_MANUAL, 13, 42, 80, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Endereço:", TEXT_PROXY_ADDRESS, 20, 73, 37, 10
|
||||
RTEXT "Porta:", TEXT_PROXY_PORT, 167, 73, 24, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 58, 71, 108, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Perguntar usuário/senha quando estiver conectando.", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Configuração manual", ID_RB_PROXY_MANUAL, 13, 42, 80, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Endereço:", ID_TXT_PROXY_ADDRESS, 20, 73, 37, 10
|
||||
RTEXT "Porta:", ID_TXT_PROXY_PORT, 167, 73, 24, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 58, 71, 108, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Perguntar usuário/senha quando estiver conectando.", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 154, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Autenticação Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Usuário:", 201, 9, 8, 38, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 49, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Senha:", 202, 9, 26, 38, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 49, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 58, 43, 40, 14
|
||||
END
|
||||
|
||||
|
@ -144,205 +144,205 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Português - Portuguese"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - Uma GUI Windows para OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - Uma GUI Windows para OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI "
|
||||
MSG_TIP_CONNECTED "\nConectado a: "
|
||||
MSG_TIP_CONNECTING "\nConectando a: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nConectado desde: "
|
||||
MSG_TIP_ASSIGNED_IP "\nIP atribuído: %s"
|
||||
IDM_TEXT_SERVICE "Serviço OpenVPN"
|
||||
IDM_TEXT_SETTINGS "Configurações..."
|
||||
IDM_TEXT_ABOUT "Sobre..."
|
||||
IDM_TEXT_CLOSE "Sair"
|
||||
IDM_TEXT_CONNECT "Conectar"
|
||||
IDM_TEXT_DISCONNECT "Desconectar"
|
||||
IDM_TEXT_STATUS "Mostrar status"
|
||||
IDM_TEXT_VIEWLOG "Visualizar log"
|
||||
IDM_TEXT_EDITCONFIG "Editar Configurações"
|
||||
IDM_TEXT_PASSPHRASE "Trocar senha"
|
||||
IDM_TEXT_SERVICE_START "Iniciar"
|
||||
IDM_TEXT_SERVICE_STOP "Parar"
|
||||
IDM_TEXT_SERVICE_RESTART "Reiniciar"
|
||||
IDM_TEXT_SERVICEONLY_START "Conectar"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Desconectar"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Reconectar"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "Você deseja desconectar (Parar o serviço OpenVPN)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI "
|
||||
IDS_TIP_CONNECTED "\nConectado a: "
|
||||
IDS_TIP_CONNECTING "\nConectando a: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nConectado desde: "
|
||||
IDS_TIP_ASSIGNED_IP "\nIP atribuído: %s"
|
||||
IDS_MENU_SERVICE "Serviço OpenVPN"
|
||||
IDS_MENU_SETTINGS "Configurações..."
|
||||
IDS_MENU_ABOUT "Sobre..."
|
||||
IDS_MENU_CLOSE "Sair"
|
||||
IDS_MENU_CONNECT "Conectar"
|
||||
IDS_MENU_DISCONNECT "Desconectar"
|
||||
IDS_MENU_STATUS "Mostrar status"
|
||||
IDS_MENU_VIEWLOG "Visualizar log"
|
||||
IDS_MENU_EDITCONFIG "Editar Configurações"
|
||||
IDS_MENU_PASSPHRASE "Trocar senha"
|
||||
IDS_MENU_SERVICE_START "Iniciar"
|
||||
IDS_MENU_SERVICE_STOP "Parar"
|
||||
IDS_MENU_SERVICE_RESTART "Reiniciar"
|
||||
IDS_MENU_SERVICEONLY_START "Conectar"
|
||||
IDS_MENU_SERVICEONLY_STOP "Desconectar"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Reconectar"
|
||||
IDS_MENU_ASK_STOP_SERVICE "Você deseja desconectar (Parar o serviço OpenVPN)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Erro iniciando o visualizador de log: %s"
|
||||
ERR_START_CONF_EDITOR "Erro iniciando o editor de configuração: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Erro iniciando o visualizador de log: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Erro iniciando o editor de configuração: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "OpenVPN GUI não suporta mais do que %d configurações. Contate o autor se você necessita mais."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Impossível criar arquivo de log baseado em: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Você pode ter apenas uma conexão rodando ao mesmo tempo quando estiver usando uma versão anterior a OpenVPN 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "Você não pode usar o OpenVPN GUI para iniciar uma conexão enquanto o servico OpenVPN estiver rodando (com OpenVPN 1.5/1.6). Pare o serviço OpenVPN primero se você quer utilizar o OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "CreateEvent falhou no evento de saída: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Nome de prioridade desconhecida: %s"
|
||||
ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Impossível carregar configurações de proxy do IE devido a:\n%s"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor falhou."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl falhou."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe em hOutputWrite falhou."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle em hErrorWrite falhou."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe em hInputRead falhou."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle em hOutputRead falhou."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle em hInputWrite falhou."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle em hOutputReadTmp/hInputWriteTmp falhou."
|
||||
ERR_CREATE_PROCESS "CreateProcess falhou, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle falhou."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread falhou ao mostrar janela de status."
|
||||
INFO_STATE_WAIT_TERM "Estado atual: Aguardando OpenVPN terminar..."
|
||||
ERR_OPEN_LOG_WRITE "Erro ao abrir arquivo de log para gravação: %s. Você provavelmente não tem permissão de administrador, que é necessária para rodar o OpenVPN."
|
||||
INFO_STATE_CONNECTED "Estado atual: Conectado"
|
||||
INFO_NOW_CONNECTED "%s está conectado."
|
||||
INFO_ASSIG_IP "IP atribuído: %s"
|
||||
ERR_CERT_EXPIRED "Impossível conectar porque seu certificado expirou ou a data do sistema está incorreta."
|
||||
ERR_CERT_NOT_YET_VALID "Impossível conectar porque seu certificado não é mais válido. Verifique a data/hora de seu sistema."
|
||||
INFO_STATE_RECONNECTING "Estado atual: Reconectando"
|
||||
INFO_STATE_DISCONNECTED "Estado atual: Desconectado"
|
||||
INFO_CONN_TERMINATED "Conexão para %s foi terminada."
|
||||
INFO_STATE_FAILED "Estado atual: Falha ao conectar"
|
||||
INFO_CONN_FAILED "Conectando a %s falhou."
|
||||
INFO_STATE_FAILED_RECONN "Estado atual: Falha ao reconectar"
|
||||
INFO_RECONN_FAILED "Reconexão a %s falhou."
|
||||
INFO_STATE_SUSPENDED "Estado atual: Suspenso"
|
||||
ERR_READ_STDOUT_PIPE "Erro lendo do OpenVPN StdOut Pipe."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Creating RichEdit LogWindow falhou!!"
|
||||
ERR_SET_SIZE "Set Size falhou!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Impossível encontrar configurações para autostart: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() falhou ao verificar a versão do openvpn."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe em hInputRead falhou."
|
||||
INFO_STATE_CONNECTING "Estado atual: Conectando"
|
||||
INFO_CONNECTION_XXX "Conexão OpenVPN (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "CreateThread para ler processo de saída openvpn falhou."
|
||||
INFO_STATE_CONN_SCRIPT "Estado atual: Rodando script de conexão"
|
||||
INFO_STATE_DISCONN_SCRIPT "Estado atual: Running script de desconexão"
|
||||
ERR_RUN_CONN_SCRIPT "Erro rodando script de conexão: %s"
|
||||
ERR_GET_EXIT_CODE "Falha ao consultar código ExitCode do script de conexão (%s)"
|
||||
ERR_CONN_SCRIPT_FAILED "Script de conexão falhou. (exitcode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Script de conexão falhou. Tempo limite depois de %d seg."
|
||||
ERR_CONFIG_ALREADY_EXIST "Arquivo de configuração '%s' já existe. Você não pode " \
|
||||
"ter vários arquivos de configuração com o mesmo nome, mesmo que " \
|
||||
"fiquem em pastas diferentes."
|
||||
IDS_ERR_MANY_CONFIGS "OpenVPN GUI não suporta mais do que %d configurações. Contate o autor se você necessita mais."
|
||||
IDS_ERR_LOG_CONSTRUCT "Impossível criar arquivo de log baseado em: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Você pode ter apenas uma conexão rodando ao mesmo tempo quando estiver usando uma versão anterior a OpenVPN 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "Você não pode usar o OpenVPN GUI para iniciar uma conexão enquanto o servico OpenVPN estiver rodando (com OpenVPN 1.5/1.6). Pare o serviço OpenVPN primero se você quer utilizar o OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent falhou no evento de saída: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Nome de prioridade desconhecida: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Impossível carregar configurações de proxy do IE devido a:\n%s"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor falhou."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl falhou."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe em hOutputWrite falhou."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle em hErrorWrite falhou."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe em hInputRead falhou."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle em hOutputRead falhou."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle em hInputWrite falhou."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle em hOutputReadTmp/hInputWriteTmp falhou."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess falhou, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle falhou."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread falhou ao mostrar janela de status."
|
||||
IDS_NFO_STATE_WAIT_TERM "Estado atual: Aguardando OpenVPN terminar..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Erro ao abrir arquivo de log para gravação: %s. Você provavelmente não tem permissão de administrador, que é necessária para rodar o OpenVPN."
|
||||
IDS_NFO_STATE_CONNECTED "Estado atual: Conectado"
|
||||
IDS_NFO_NOW_CONNECTED "%s está conectado."
|
||||
IDS_NFO_ASSIGN_IP "IP atribuído: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Impossível conectar porque seu certificado expirou ou a data do sistema está incorreta."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Impossível conectar porque seu certificado não é mais válido. Verifique a data/hora de seu sistema."
|
||||
IDS_NFO_STATE_RECONNECTING "Estado atual: Reconectando"
|
||||
IDS_NFO_STATE_DISCONNECTED "Estado atual: Desconectado"
|
||||
IDS_NFO_CONN_TERMINATED "Conexão para %s foi terminada."
|
||||
IDS_NFO_STATE_FAILED "Estado atual: Falha ao conectar"
|
||||
IDS_NFO_CONN_FAILED "Conectando a %s falhou."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Estado atual: Falha ao reconectar"
|
||||
IDS_NFO_RECONN_FAILED "Reconexão a %s falhou."
|
||||
IDS_NFO_STATE_SUSPENDED "Estado atual: Suspenso"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Erro lendo do OpenVPN StdOut Pipe."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Creating RichEdit LogWindow falhou!!"
|
||||
IDS_ERR_SET_SIZE "Set Size falhou!"
|
||||
IDS_ERR_AUTOSTART_CONF "Impossível encontrar configurações para autostart: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() falhou ao verificar a versão do openvpn."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe em hInputRead falhou."
|
||||
IDS_NFO_STATE_CONNECTING "Estado atual: Conectando"
|
||||
IDS_NFO_CONNECTION_XXX "Conexão OpenVPN (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "CreateThread para ler processo de saída openvpn falhou."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Estado atual: Rodando script de conexão"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Estado atual: Running script de desconexão"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Erro rodando script de conexão: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Falha ao consultar código ExitCode do script de conexão (%s)"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Script de conexão falhou. (exitcode=%ld)"
|
||||
IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT "Script de conexão falhou. Tempo limite depois de %d seg."
|
||||
IDS_ERR_CONFIG_EXIST "Arquivo de configuração '%s' já existe. Você não pode " \
|
||||
"ter vários arquivos de configuração com o mesmo nome, mesmo que " \
|
||||
"fiquem em pastas diferentes."
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Erro ao abrir arquivo de debug (%s) para saída."
|
||||
ERR_LOAD_RICHED20 "Erro ao carregar RICHED20.DLL."
|
||||
ERR_SHELL_DLL_VERSION "Sua versão do shell32.dll é antiga (0x%lx). Você precisa de no mínimo da versão 5.0."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI já está rodando."
|
||||
INFO_SERVICE_STARTED "Serviço OpenVPN iniciado."
|
||||
INFO_SERVICE_STOPPED "Serviço OpenVPN parado."
|
||||
INFO_ACTIVE_CONN_EXIT "Ainda existem conexões ativas, estas conexões serão fechadas se você sair do OpenVPN GUI." \
|
||||
"\n\nVocê tem certeza que quer sair?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Você está conectado atualmente (Serviço OpenVPN está rodando). " \
|
||||
"Você irá ficar conectado mesmo que feche o OpenVPN GUI.\n\n" \
|
||||
"Você deseja continuar e fechar o OpenVPN GUI?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Você possui os parâmetros ""log"" ou ""log-append"" no seu arquivo de configuração do OpenVPN. Estas opções " \
|
||||
"não devem ser usadas com o OpenVPN GUI, sendo que elas impedem o OpenVPN de ler. " \
|
||||
"the log output of OpenVPN which is necessary for correct operation of OpenVPN " \
|
||||
"O log é sempre gravado em um arquivo de log quando o OpenVPN GUI é usado," \
|
||||
"de qualquer maneira você deve retirar esta opção.\n\nVocê deseja conectar " \
|
||||
"mesmo assim?"
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Erro ao abrir arquivo de debug (%s) para saída."
|
||||
IDS_ERR_LOAD_RICHED20 "Erro ao carregar RICHED20.DLL."
|
||||
IDS_ERR_SHELL_DLL_VERSION "Sua versão do shell32.dll é antiga (0x%lx). Você precisa de no mínimo da versão 5.0."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI já está rodando."
|
||||
IDS_NFO_SERVICE_STARTED "Serviço OpenVPN iniciado."
|
||||
IDS_NFO_SERVICE_STOPPED "Serviço OpenVPN parado."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Ainda existem conexões ativas, estas conexões serão fechadas se você sair do OpenVPN GUI." \
|
||||
"\n\nVocê tem certeza que quer sair?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Você está conectado atualmente (Serviço OpenVPN está rodando). " \
|
||||
"Você irá ficar conectado mesmo que feche o OpenVPN GUI.\n\n" \
|
||||
"Você deseja continuar e fechar o OpenVPN GUI?"
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Você possui os parâmetros ""log"" ou ""log-append"" no seu arquivo de configuração do OpenVPN. Estas opções " \
|
||||
"não devem ser usadas com o OpenVPN GUI, sendo que elas impedem o OpenVPN de ler. " \
|
||||
"the log output of OpenVPN which is necessary for correct operation of OpenVPN " \
|
||||
"O log é sempre gravado em um arquivo de log quando o OpenVPN GUI é usado," \
|
||||
"de qualquer maneira você deve retirar esta opção.\n\nVocê deseja conectar " \
|
||||
"mesmo assim?"
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Mostra esta mensagem.\n" \
|
||||
"--connect cnn \t\t: Conecta a ""cnn"" no início. (extensão deve ser incluída)\n" \
|
||||
"\t\t\t Exemplo: openvpn-gui --connect escritorio.ovpn\n" \
|
||||
"\n" \
|
||||
"Opções para sobrescrever opções do registro:\n" \
|
||||
"--exe_path\t\t: Caminho para openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Caminho para o diretorio dos arquivos de configuração.\n" \
|
||||
"--ext_string\t\t: Extensão dos arquivos de configuração.\n" \
|
||||
"--log_dir\t\t\t: Caminho para o diretório aonde os logs serão salvos.\n" \
|
||||
"--priority_string\t\t: String de prioridade (Ver install.txt para maiores informações).\n" \
|
||||
"--append_string\t\t: 1=Adicionar ao arquivo de log. 0=Truncar o arquivo de log quando conectando.\n" \
|
||||
"--log_viewer\t\t: Caminho para Visualizador de log.\n" \
|
||||
"--editor\t\t\t: Caminho para config editor.\n" \
|
||||
"--allow_edit\t\t: 1=Mostrar menu para Editor de Configuração.\n" \
|
||||
"--allow_service\t\t: 1=Mostrar menu de controle de serviço.\n" \
|
||||
"--allow_password\t\t: 1=Mostrar menu de troca de senha.\n" \
|
||||
"--allow_proxy\t\t: 1=Mostrar menu de configurações de Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Nunca, 1=Ao iniciar conexão, 2=Sempre que reconectar.\n" \
|
||||
"--service_only\t\t: 1=Habilitar modo Service Only .\n" \
|
||||
"--silent_connection\t\t: 1=Não mostrar dialogo de status quando estiver conectando.\n" \
|
||||
"--show_script_window\t: 0=Esconder janela de execução de script, 1=Mostrar.\n" \
|
||||
"--passphrase_attempts\t: Número de tentativas de digitação de senha.\n" \
|
||||
"--connectscript_timeout\t: Tempo de espera para o connect script terminar.\n" \
|
||||
"--disconnectscript_timeout\t: Tempo de espera para o disconnect script terminar.\n" \
|
||||
"--preconnectscript_timeout\t: Tempo de espera para o preconnect script terminar.\n"
|
||||
IDS_NFO_USAGE "--help\t\t\t: Mostra esta mensagem.\n" \
|
||||
"--connect cnn \t\t: Conecta a ""cnn"" no início. (extensão deve ser incluída)\n" \
|
||||
"\t\t\t Exemplo: openvpn-gui --connect escritorio.ovpn\n" \
|
||||
"\n" \
|
||||
"Opções para sobrescrever opções do registro:\n" \
|
||||
"--exe_path\t\t: Caminho para openvpn.exe.\n" \
|
||||
"--config_dir\t\t: Caminho para o diretorio dos arquivos de configuração.\n" \
|
||||
"--ext_string\t\t: Extensão dos arquivos de configuração.\n" \
|
||||
"--log_dir\t\t\t: Caminho para o diretório aonde os logs serão salvos.\n" \
|
||||
"--priority_string\t\t: String de prioridade (Ver install.txt para maiores informações).\n" \
|
||||
"--append_string\t\t: 1=Adicionar ao arquivo de log. 0=Truncar o arquivo de log quando conectando.\n" \
|
||||
"--log_viewer\t\t: Caminho para Visualizador de log.\n" \
|
||||
"--editor\t\t\t: Caminho para config editor.\n" \
|
||||
"--allow_edit\t\t: 1=Mostrar menu para Editor de Configuração.\n" \
|
||||
"--allow_service\t\t: 1=Mostrar menu de controle de serviço.\n" \
|
||||
"--allow_password\t\t: 1=Mostrar menu de troca de senha.\n" \
|
||||
"--allow_proxy\t\t: 1=Mostrar menu de configurações de Proxy.\n" \
|
||||
"--show_balloon\t\t: 0=Nunca, 1=Ao iniciar conexão, 2=Sempre que reconectar.\n" \
|
||||
"--service_only\t\t: 1=Habilitar modo Service Only .\n" \
|
||||
"--silent_connection\t\t: 1=Não mostrar dialogo de status quando estiver conectando.\n" \
|
||||
"--show_script_window\t: 0=Esconder janela de execução de script, 1=Mostrar.\n" \
|
||||
"--passphrase_attempts\t: Número de tentativas de digitação de senha.\n" \
|
||||
"--connectscript_timeout\t: Tempo de espera para o connect script terminar.\n" \
|
||||
"--disconnectscript_timeout\t: Tempo de espera para o disconnect script terminar.\n" \
|
||||
"--preconnectscript_timeout\t: Tempo de espera para o preconnect script terminar.\n"
|
||||
|
||||
INFO_USAGECAPTION "Uso do OpenVPN GUI"
|
||||
ERR_BAD_PARAMETER "Tentando analisar ""%s"" como um --option parâmetro " \
|
||||
"mas não foi encontrado '--' antes do parâmetro"
|
||||
ERR_BAD_OPTION "Erro: Parâmetro desconhecido ou parâmetro(s) faltando: --%s\n" \
|
||||
"Use openvpn-gui --help para maiores informações."
|
||||
IDS_NFO_USAGECAPTION "Uso do OpenVPN GUI"
|
||||
IDS_ERR_BAD_PARAMETER "Tentando analisar ""%s"" como um --option parâmetro " \
|
||||
"mas não foi encontrado '--' antes do parâmetro"
|
||||
IDS_ERR_BAD_OPTION "Erro: Parâmetro desconhecido ou parâmetro(s) faltando: --%s\n" \
|
||||
"Use openvpn-gui --help para maiores informações."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread para mostrar ChangePassphrase dialog falhou."
|
||||
INFO_CHANGE_PWD "Trocar senha (%s)"
|
||||
ERR_PWD_DONT_MATCH "Senhas digitadas não conferem. Tente novamente."
|
||||
ERR_PWD_TO_SHORT "A nova senha deve ter no mínimo %d caracteres."
|
||||
INFO_EMPTY_PWD "Você tem certeza que quer deixar a senha em branco?"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Formato do keyfile inválido."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Erro abrindo arquivo private key (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "A senha antiga está incorreta."
|
||||
ERR_OPEN_WRITE_KEY "Erro abrindo arquivo private key para gravação (%s)."
|
||||
ERR_WRITE_NEW_KEY "Erro gravando novo arquivo private key (%s)."
|
||||
INFO_PWD_CHANGED "Sua senha foi alterada."
|
||||
ERR_READ_PKCS12 "Erro lendo arquivo PKCS #12 (%s)."
|
||||
ERR_CREATE_PKCS12 "Erro criando novo objeto PKCS #12. Troca da senha falhou."
|
||||
ERR_OPEN_CONFIG "Impossível abrir arquivo de configuração para leitura: (%s)"
|
||||
ERR_ONLY_ONE_KEY_OPTION "Você não pode ter mais do que uma opção ""key"" na sua configuração."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "Você não pode ter as duas opções ""key"" e ""pkcs12"" na sua configuração."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "Você não pode ter mais do que uma opção ""pkcs12"" na sua configuração."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Seu arquivo de configuração não contém nenhuma opção ""key"" ou ""pkcs12"" ."
|
||||
ERR_KEY_FILENAME_TO_LONG "Seu arquivo key na configuração é muito longo."
|
||||
ERR_PASSPHRASE2STDIN "Erro passando passphrase para stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Erro passando auth Usuário para stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Erro passando auth senha para stdin."
|
||||
ERR_CR2STDIN "Erro passando CR to stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "A nova senha contém caracteres inválidos. " \
|
||||
"Por favor escolha outra."
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread para mostrar ChangePassphrase dialog falhou."
|
||||
IDS_NFO_CHANGE_PWD "Trocar senha (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "Senhas digitadas não conferem. Tente novamente."
|
||||
IDS_ERR_PWD_TO_SHORT "A nova senha deve ter no mínimo %d caracteres."
|
||||
IDS_NFO_EMPTY_PWD "Você tem certeza que quer deixar a senha em branco?"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Formato do keyfile inválido."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Erro abrindo arquivo private key (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "A senha antiga está incorreta."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Erro abrindo arquivo private key para gravação (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Erro gravando novo arquivo private key (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Sua senha foi alterada."
|
||||
IDS_ERR_READ_PKCS12 "Erro lendo arquivo PKCS #12 (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Erro criando novo objeto PKCS #12. Troca da senha falhou."
|
||||
IDS_ERR_OPEN_CONFIG "Impossível abrir arquivo de configuração para leitura: (%s)"
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "Você não pode ter mais do que uma opção ""key"" na sua configuração."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "Você não pode ter as duas opções ""key"" e ""pkcs12"" na sua configuração."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "Você não pode ter mais do que uma opção ""pkcs12"" na sua configuração."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Seu arquivo de configuração não contém nenhuma opção ""key"" ou ""pkcs12"" ."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Seu arquivo key na configuração é muito longo."
|
||||
IDS_ERR_PASSPHRASE2STDIN "Erro passando passphrase para stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Erro passando auth Usuário para stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Erro passando auth senha para stdin."
|
||||
IDS_ERR_CR2STDIN "Erro passando CR to stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "A nova senha contém caracteres inválidos. " \
|
||||
"Por favor escolha outra."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Configurações"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "Você precisa especificar o endereço de proxy HTTP."
|
||||
ERR_HTTP_PROXY_PORT "Você precisa especificar a porta para proxy HTTP."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "Você precisa especificar uma porta entre 1-65535 para proxy HTTP"
|
||||
ERR_SOCKS_PROXY_ADDRESS "Você precisa especificar o endereço de proxy SOCKS."
|
||||
ERR_SOCKS_PROXY_PORT "Você precisa especificar a porta para proxy SOCKS."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "Você precisa especificar uma porta entre 1-65535 para o proxy SOCKS"
|
||||
ERR_CREATE_REG_HKCU_KEY "Erro criando chave ""HKEY_CURRENT_USER\\%s""."
|
||||
ERR_GET_TEMP_PATH "Erro ao determinar TempPath com GetTempPath(). Usando ""C:\\"" no lugar."
|
||||
ERR_CREATE_AUTH_FILE "Erro criando arquivo AUTH. (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "Você precisa especificar o endereço de proxy HTTP."
|
||||
IDS_ERR_HTTP_PROXY_PORT "Você precisa especificar a porta para proxy HTTP."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "Você precisa especificar uma porta entre 1-65535 para proxy HTTP"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "Você precisa especificar o endereço de proxy SOCKS."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "Você precisa especificar a porta para proxy SOCKS."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "Você precisa especificar uma porta entre 1-65535 para o proxy SOCKS"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Erro criando chave ""HKEY_CURRENT_USER\\%s""."
|
||||
IDS_ERR_GET_TEMP_PATH "Erro ao determinar TempPath com GetTempPath(). Usando ""C:\\"" no lugar."
|
||||
IDS_ERR_CREATE_AUTH_FILE "Erro criando arquivo AUTH. (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "OpenSCManager falhou. Você precisa ter permissões de Administrador para iniciar um serviço."
|
||||
ERR_OPEN_VPN_SERVICE "Falha ao abrir ""OpenVPNService"""
|
||||
ERR_START_SERVICE "Falha ao iniciar ""OpenVPNService"""
|
||||
ERR_QUERY_SERVICE "Falha ao consultar status do serviço."
|
||||
ERR_SERVICE_START_FAILED "Serviço OpenVPN falhou ao iniciar."
|
||||
ERR_OPEN_SCMGR "OpenSCManager falhou (%d)"
|
||||
ERR_STOP_SERVICE "Falha ao parar o serviço OpenVPN"
|
||||
INFO_RESTARTED "Serviço OpenVPN reiniciado."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "OpenSCManager falhou. Você precisa ter permissões de Administrador para iniciar um serviço."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Falha ao abrir ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "Falha ao iniciar ""OpenVPNService"""
|
||||
IDS_ERR_QUERY_SERVICE "Falha ao consultar status do serviço."
|
||||
IDS_ERR_SERVICE_START_FAILED "Serviço OpenVPN falhou ao iniciar."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager falhou (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Falha ao parar o serviço OpenVPN"
|
||||
IDS_NFO_RESTARTED "Serviço OpenVPN reiniciado."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Erro ao acessar pasta do Windows."
|
||||
ERR_GET_PROGRAM_DIR "Erro ao acessar pasta ""Program""."
|
||||
ERR_OPEN_REGISTRY "Erro abrindo registro para leitura (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN provavelmente não está instalado"
|
||||
ERR_READING_REGISTRY "Erro lendo valor da chave de registro (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "Valor de registro ""passphrase_attempts"" deve ser um número entre 1 e 9."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "Valor de registro ""connectscript_timeout"" deve ser um número entre 0 e 99."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "Valor de registro ""disconnectscript_timeout"" deve ser um número entre 1 e 99."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "Valor de registro ""preconnectscript_timeout"" deve ser um número entre 1 e 99."
|
||||
ERR_CREATE_REG_KEY "Erro criando chave HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
ERR_OPEN_WRITE_REG "Erro ao abrir registro para gravação. Você deve rodar esta aplicação " \
|
||||
"uma vez como Administrador para alterar o registro."
|
||||
ERR_READ_SET_KEY "Erro ao ler e ajustar chave de registro ""%s""."
|
||||
ERR_WRITE_REGVALUE "Erro ao gravar valor da chave de registro ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Erro ao acessar pasta do Windows."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Erro ao acessar pasta ""Program""."
|
||||
IDS_ERR_OPEN_REGISTRY "Erro abrindo registro para leitura (HKLM\\SOFTWARE\\OpenVPN).\n " \
|
||||
"OpenVPN provavelmente não está instalado"
|
||||
IDS_ERR_READING_REGISTRY "Erro lendo valor da chave de registro (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "Valor de registro ""passphrase_attempts"" deve ser um número entre 1 e 9."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Valor de registro ""connectscript_timeout"" deve ser um número entre 0 e 99."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "Valor de registro ""disconnectscript_timeout"" deve ser um número entre 1 e 99."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "Valor de registro ""preconnectscript_timeout"" deve ser um número entre 1 e 99."
|
||||
IDS_ERR_CREATE_REG_KEY "Erro criando chave HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
IDS_ERR_OPEN_WRITE_REG "Erro ao abrir registro para gravação. Você deve rodar esta aplicação " \
|
||||
"uma vez como Administrador para alterar o registro."
|
||||
IDS_ERR_READ_SET_KEY "Erro ao ler e ajustar chave de registro ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Erro ao gravar valor da chave de registro ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -25,15 +25,15 @@
|
|||
*/
|
||||
|
||||
/* About Dialog */
|
||||
IDD_ABOUTDIALOG DIALOG 0, 0, 260, 135
|
||||
ID_DLG_ABOUT DIALOG 0, 0, 260, 135
|
||||
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Om - OpenVPN GUI för Windows"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
PUSHBUTTON "OK", IDOK, 99, 115, 63, 14
|
||||
ICON APP_ICON_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TEXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
ICON ID_ICO_CONNECTED, 204, 11, 8, 21, 20
|
||||
LTEXT "", ID_TXT_OPENVPNGUI, 40, 5, 215, 8
|
||||
LTEXT "Copyright (C) 2004-2005 Mathias Sundman <info@openvpn.se>", 102, 40, 15, 215, 8
|
||||
LTEXT "http://openvpn.se/", 103, 40, 25, 215, 8
|
||||
LTEXT "OpenVPN - En applikation för säker överföring av IP nät " \
|
||||
|
@ -46,7 +46,7 @@ BEGIN
|
|||
END
|
||||
|
||||
/* Passphrase Dialog */
|
||||
IDD_PASSPHRASE DIALOG 6, 18, 120, 51
|
||||
ID_DLG_PASSPHRASE DIALOG 6, 18, 120, 51
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
EXSTYLE WS_EX_TOPMOST
|
||||
CAPTION "OpenVPN"
|
||||
|
@ -54,13 +54,13 @@ FONT 8, "Microsoft Sans Serif"
|
|||
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Ange Lösenord:", 201, 6, 6, 100, 10
|
||||
EDITTEXT EDIT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASSPHRASE, 6, 17, 107, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 6, 33, 50, 14
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 64, 33, 50, 14
|
||||
END
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
IDD_AUTH_PASSWORD DIALOG 6, 18, 160, 62
|
||||
ID_DLG_AUTH DIALOG 6, 18, 160, 62
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER | DS_SETFOREGROUND
|
||||
CAPTION "OpenVPN - Användar Autentisering"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -68,28 +68,28 @@ LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
|
|||
BEGIN
|
||||
LTEXT "Användarnamn:", 0, 6, 9, 50, 10
|
||||
LTEXT "Lösenord:", 0, 6, 26, 50, 10
|
||||
EDITTEXT EDIT_AUTH_USERNAME, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_AUTH_PASSWORD, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 20, 42, 50, 14
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 90, 42, 52, 14
|
||||
END
|
||||
|
||||
/* Status Dialog */
|
||||
IDD_STATUS DIALOG 6, 18, 380, 210
|
||||
ID_DLG_STATUS DIALOG 6, 18, 380, 210
|
||||
STYLE WS_SIZEBOX | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Ansluter...", TEXT_STATUS, 20, 5, 200, 10
|
||||
LTEXT "Ansluter...", ID_TXT_STATUS, 20, 5, 200, 10
|
||||
PUSHBUTTON "Koppla ner", ID_DISCONNECT, 50, 190, 50, 14
|
||||
PUSHBUTTON "Återanslut", ID_RESTART, 150, 190, 40, 14
|
||||
PUSHBUTTON "Göm", ID_HIDE, 100, 190, 40, 14
|
||||
LTEXT "", TEXT_CONFIG, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_CONFIG, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
IDD_CHANGEPSW DIALOG 6, 18, 193, 82
|
||||
ID_DLG_CHGPASS DIALOG 6, 18, 193, 82
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "OpenVPN - Ändra Lösenord"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
|
@ -98,48 +98,48 @@ BEGIN
|
|||
LTEXT "Nuvarande Lösenord:", 171, 6, 9, 85, 10
|
||||
LTEXT "Nytt Lösenord:", 172, 6, 26, 85, 10
|
||||
LTEXT "Bekräfta Nytt Lösenord:", 173, 6, 42, 85, 10
|
||||
EDITTEXT EDIT_PSW_CURRENT, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PSW_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_CUR, 95, 6, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW, 95, 23, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PASS_NEW2, 95, 39, 90, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 40, 59, 50, 14
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 103, 59, 50, 14
|
||||
LTEXT "", TEXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", TEXT_KEYFILE, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFORMAT, 0, 0, 0, 0
|
||||
LTEXT "", ID_TXT_KEYFILE, 0, 0, 0, 0
|
||||
END
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
IDD_PROXY DIALOG 6, 18, 249, 124
|
||||
ID_DLG_PROXY DIALOG 6, 18, 249, 124
|
||||
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CENTER
|
||||
CAPTION "Proxy"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
GROUPBOX " ", 201, 6, 42, 235, 52
|
||||
AUTORADIOBUTTON "Använd inställningar från OpenVPNs konfigurations fil", RB_PROXY_USE_OPENVPN, \
|
||||
AUTORADIOBUTTON "Använd inställningar från OpenVPNs konfigurations fil", ID_RB_PROXY_OPENVPN, \
|
||||
13, 12, 200, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "Använd inställningar från Internet Explorer", \
|
||||
RB_PROXY_USE_IE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manuell Konfigurering", RB_PROXY_USE_MANUAL, 13, 42, 81, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adress:", TEXT_PROXY_ADDRESS, 20, 73, 28, 10
|
||||
RTEXT "Port:", TEXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT EDIT_PROXY_ADDRESS, 49, 71, 121, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT EDIT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Fråga efter användarnamn/lösenord vid uppkoppling.", CHECKB_PROXY_AUTH, 13, 103, 183, 10
|
||||
ID_RB_PROXY_MSIE, 13, 27, 200, 10
|
||||
AUTORADIOBUTTON "Manuell Konfigurering", ID_RB_PROXY_MANUAL, 13, 42, 81, 10
|
||||
AUTORADIOBUTTON "HTTP Proxy", ID_RB_PROXY_HTTP, 20, 58, 90, 10, WS_GROUP | WS_TABSTOP
|
||||
AUTORADIOBUTTON "SOCKS Proxy", ID_RB_PROXY_SOCKS, 120, 58, 90, 10
|
||||
LTEXT "Adress:", ID_TXT_PROXY_ADDRESS, 20, 73, 28, 10
|
||||
RTEXT "Port:", ID_TXT_PROXY_PORT, 171, 73, 20, 10
|
||||
EDITTEXT ID_EDT_PROXY_ADDRESS, 49, 71, 121, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PORT, 196, 71, 30, 12, ES_AUTOHSCROLL
|
||||
AUTOCHECKBOX "Fråga efter användarnamn/lösenord vid uppkoppling.", ID_CB_PROXY_AUTH, 13, 103, 183, 10
|
||||
END
|
||||
|
||||
/* Proxy Authentication Dialog */
|
||||
IDD_PROXY_AUTH DIALOG 29, 23, 170, 65
|
||||
ID_DLG_PROXY_AUTH DIALOG 29, 23, 170, 65
|
||||
STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | DS_CENTER
|
||||
CAPTION "OpenVPN - Proxy Autentisering"
|
||||
FONT 8, "Microsoft Sans Serif"
|
||||
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
|
||||
BEGIN
|
||||
LTEXT "Användarnamn:", 201, 9, 8, 55, 10
|
||||
EDITTEXT EDIT_PROXY_USERNAME, 65, 5, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_USER, 65, 5, 94, 12, ES_AUTOHSCROLL
|
||||
LTEXT "Lösenord:", 202, 9, 26, 55, 10
|
||||
EDITTEXT EDIT_PROXY_PASSWORD, 65, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_PROXY_PASS, 65, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
PUSHBUTTON "OK", IDOK, 60, 43, 50, 14
|
||||
END
|
||||
|
||||
|
@ -149,107 +149,107 @@ BEGIN
|
|||
IDS_LANGUAGE_NAME "Svenska - Swedish"
|
||||
|
||||
/* About Dialog */
|
||||
TEXT_ABOUT_OPENVPNGUI "OpenVPN GUI v%s - Ett Windows GUI för OpenVPN"
|
||||
ID_TXT_ABOUT "OpenVPN GUI v%s - Ett Windows GUI för OpenVPN"
|
||||
|
||||
/* Tray - Resources */
|
||||
MSG_TIP "OpenVPN GUI"
|
||||
MSG_TIP_CONNECTED "\nAnsluten till: "
|
||||
MSG_TIP_CONNECTING "\nAnsluter till: "
|
||||
MSG_TIP_CONNECTED_SINCE "\nAnsluten sedan: "
|
||||
MSG_TIP_ASSIGNED_IP "\nTilldelad IP: %s"
|
||||
IDM_TEXT_SERVICE "OpenVPN Service"
|
||||
IDM_TEXT_SETTINGS "Inställningar..."
|
||||
IDM_TEXT_ABOUT "Om..."
|
||||
IDM_TEXT_CLOSE "Avsluta"
|
||||
IDM_TEXT_CONNECT "Anslut"
|
||||
IDM_TEXT_DISCONNECT "Koppla ner"
|
||||
IDM_TEXT_STATUS "Visa Status"
|
||||
IDM_TEXT_VIEWLOG "Visa Logg"
|
||||
IDM_TEXT_EDITCONFIG "Editera konfig"
|
||||
IDM_TEXT_PASSPHRASE "Ändra Lösenord"
|
||||
IDM_TEXT_SERVICE_START "Starta"
|
||||
IDM_TEXT_SERVICE_STOP "Stoppa"
|
||||
IDM_TEXT_SERVICE_RESTART "Starta om"
|
||||
IDM_TEXT_SERVICEONLY_START "Anslut"
|
||||
IDM_TEXT_SERVICEONLY_STOP "Koppla ner"
|
||||
IDM_TEXT_SERVICEONLY_RESTART "Återanslut"
|
||||
IDM_TEXT_ASK_STOP_SERVICE "Vill du koppla ner? (Stoppa OpenVPN tjänsten)?"
|
||||
IDS_TIP_DEFAULT "OpenVPN GUI"
|
||||
IDS_TIP_CONNECTED "\nAnsluten till: "
|
||||
IDS_TIP_CONNECTING "\nAnsluter till: "
|
||||
IDS_TIP_CONNECTED_SINCE "\nAnsluten sedan: "
|
||||
IDS_TIP_ASSIGNED_IP "\nTilldelad IP: %s"
|
||||
IDS_MENU_SERVICE "OpenVPN Service"
|
||||
IDS_MENU_SETTINGS "Inställningar..."
|
||||
IDS_MENU_ABOUT "Om..."
|
||||
IDS_MENU_CLOSE "Avsluta"
|
||||
IDS_MENU_CONNECT "Anslut"
|
||||
IDS_MENU_DISCONNECT "Koppla ner"
|
||||
IDS_MENU_STATUS "Visa Status"
|
||||
IDS_MENU_VIEWLOG "Visa Logg"
|
||||
IDS_MENU_EDITCONFIG "Editera konfig"
|
||||
IDS_MENU_PASSPHRASE "Ändra Lösenord"
|
||||
IDS_MENU_SERVICE_START "Starta"
|
||||
IDS_MENU_SERVICE_STOP "Stoppa"
|
||||
IDS_MENU_SERVICE_RESTART "Starta om"
|
||||
IDS_MENU_SERVICEONLY_START "Anslut"
|
||||
IDS_MENU_SERVICEONLY_STOP "Koppla ner"
|
||||
IDS_MENU_SERVICEONLY_RESTART "Återanslut"
|
||||
IDS_MENU_ASK_STOP_SERVICE "Vill du koppla ner? (Stoppa OpenVPN tjänsten)?"
|
||||
|
||||
/* Logviewer - Resources */
|
||||
ERR_START_LOG_VIEWER "Fel vid start av logg viewer: %s"
|
||||
ERR_START_CONF_EDITOR "Fel vid start av konfig editor: %s"
|
||||
IDS_ERR_START_LOG_VIEWER "Fel vid start av logg viewer: %s"
|
||||
IDS_ERR_START_CONF_EDITOR "Fel vid start av konfig editor: %s"
|
||||
|
||||
/* OpenVPN */
|
||||
ERR_TO_MANY_CONFIGS "Du kan inte ha fler än %d konfig-filer. Kontakta utvecklaren av OpenVPN GUI om du har behov av att hantera fler."
|
||||
ERR_CANNOT_CONSTRUCT_LOG "Fel vid konstruering av logg filnamn: %s"
|
||||
ERR_ONLY_ONE_CONN_OLD_VERSION "Du kan bara ha en uppkoppling igång samtidigt med äldre versioner av OpenVPN än 2.0-beta6."
|
||||
ERR_STOP_SERV_ON_OLD_VERSION "Du kan inte ansluta med OpenVPN GUI medan OpenVPN Service är igång. (med OpenVPN 1.5/1.6). Stoppa tjänsten först om du vill använda OpenVPN GUI."
|
||||
ERR_CREATE_EVENT "CreateEvent misslyckades med att skapa event: %s"
|
||||
ERR_UNKNOWN_PRIORITY "Okänt prioritets namn: %s"
|
||||
ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
ERR_GET_IE_PROXY_SETTINGS "Kunde inte hämta inställning för HTTP Proxy från Internet Explorer. (%s)"
|
||||
ERR_INIT_SEC_DESC "InitializeSecurityDescriptor misslyckades."
|
||||
ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl misslyckades."
|
||||
ERR_CREATE_PIPE_OUTPUT "CreatePipe på hOutputWrite misslyckades."
|
||||
ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle på hErrorWrite misslyckades."
|
||||
ERR_CREATE_PIPE_INPUT "CreatePipe på hInputRead misslyckades."
|
||||
ERR_DUP_HANDLE_OUTPUT_READ "DuplicateHandle på hOutputRead misslyckades."
|
||||
ERR_DUP_HANDLE_INPUT_WRITE "DuplicateHandle på hInputWrite misslyckades."
|
||||
ERR_CLOSE_HANDLE_TMP "CloseHandle på hOutputReadTmp/hInputWriteTmp misslyckades."
|
||||
ERR_CREATE_PROCESS "CreateProcess misslyckades, exe='%s' cmdline='%s' dir='%s'"
|
||||
ERR_CLOSE_HANDLE "CloseHandle misslyckades."
|
||||
ERR_CREATE_THREAD_STATUS "CreateThread för att visa status fönstret misslyckades."
|
||||
INFO_STATE_WAIT_TERM "Status: Väntar på att OpenVPN skall avslutas..."
|
||||
ERR_OPEN_LOG_WRITE "Fel vid öppnande av logg fil för skrivning: %s. Du saknar förmodligen administratörs rättigheter vilket du behöver för att köra OpenVPN."
|
||||
INFO_STATE_CONNECTED "Status: Ansluten"
|
||||
INFO_NOW_CONNECTED "%s är nu ansluten."
|
||||
INFO_ASSIG_IP "Tilldelad IP: %s"
|
||||
ERR_CERT_EXPIRED "Kunde inte ansluta för att ditt certifikat är för gammalt, eller för att klockan i din dator går fel."
|
||||
ERR_CERT_NOT_YET_VALID "Kunde inte ansluta för att ditt certifikat ännu inte börjat gälla, eller för att klockan i din dator går fel."
|
||||
INFO_STATE_RECONNECTING "Status: ÅterAnsluter"
|
||||
INFO_STATE_DISCONNECTED "Status: Frånkopplad"
|
||||
INFO_CONN_TERMINATED "Du har kopplats ner från %s."
|
||||
INFO_STATE_FAILED "Status: Anslutningen misslyckades"
|
||||
INFO_CONN_FAILED "Anslutningen till %s misslyckades."
|
||||
INFO_STATE_FAILED_RECONN "Status: Misslyckades att återansluta"
|
||||
INFO_RECONN_FAILED "Återanslutning till %s misslyckades."
|
||||
INFO_STATE_SUSPENDED "Status: Viloläge"
|
||||
ERR_READ_STDOUT_PIPE "Fel vid läsning från OpenVPN StdOut pipe."
|
||||
ERR_CREATE_RICHED_LOGWINDOW "Skapande av RichEdit LogWindow misslyckades!!"
|
||||
ERR_SET_SIZE "Set Size misslyckades!"
|
||||
ERR_AUTOSTART_CONF_NOT_FOUND "Följande konfig gick inte att automatiskt starta: %s"
|
||||
ERR_VERSION_CREATE_EVENT "CreateEvent() misslyckades vid kontroll av openvpn version."
|
||||
ERR_CREATE_PIPE_INPUT_READ "CreatePipe på hInputRead misslyckades."
|
||||
INFO_STATE_CONNECTING "Status: Ansluter"
|
||||
INFO_CONNECTION_XXX "OpenVPN Anslutning (%s)"
|
||||
ERR_CREATE_THREAD_READ_STDOUT "Ett fel uppstod vid skapande av tråd för att lyssna på OpenVPNs logg."
|
||||
INFO_STATE_CONN_SCRIPT "Status: Kör anslutnings-skript"
|
||||
INFO_STATE_DISCONN_SCRIPT "Status: Kör frånkopplings-skript"
|
||||
ERR_RUN_CONN_SCRIPT "Ett fel uppstod vid körning av följande skript: %s"
|
||||
ERR_GET_EXIT_CODE "Ett fel uppstod när exitcode från följande skript skulle erhållas: %s"
|
||||
ERR_CONN_SCRIPT_FAILED "Uppkopplingsskriptet misslyckades. (exitcode=%ld)"
|
||||
ERR_RUN_CONN_SCRIPT_TIMEOUT "Uppkopplingsskriptet gjorde TimeOut efter %d sek."
|
||||
ERR_CONFIG_ALREADY_EXIST "Det finns redan en konfig fil vid namn '%s'. Du kan inte ha flera " \
|
||||
IDS_ERR_MANY_CONFIGS "Du kan inte ha fler än %d konfig-filer. Kontakta utvecklaren av OpenVPN GUI om du har behov av att hantera fler."
|
||||
IDS_ERR_LOG_CONSTRUCT "Fel vid konstruering av logg filnamn: %s"
|
||||
IDS_ERR_ONE_CONN_OLD_VER "Du kan bara ha en uppkoppling igång samtidigt med äldre versioner av OpenVPN än 2.0-beta6."
|
||||
IDS_ERR_STOP_SERV_OLD_VER "Du kan inte ansluta med OpenVPN GUI medan OpenVPN Service är igång. (med OpenVPN 1.5/1.6). Stoppa tjänsten först om du vill använda OpenVPN GUI."
|
||||
IDS_ERR_CREATE_EVENT "CreateEvent misslyckades med att skapa event: %s"
|
||||
IDS_ERR_UNKNOWN_PRIORITY "Okänt prioritets namn: %s"
|
||||
IDS_ERR_LOG_APPEND_BOOL "Log file append flag (given as '%s') must be '0' or '1'"
|
||||
IDS_ERR_GET_MSIE_SETTINGS "Kunde inte hämta inställning för HTTP Proxy från Internet Explorer. (%s)"
|
||||
IDS_ERR_INIT_SEC_DESC "InitializeSecurityDescriptor misslyckades."
|
||||
IDS_ERR_SET_SEC_DESC_ACL "SetSecurityDescriptorDacl misslyckades."
|
||||
IDS_ERR_CREATE_PIPE_OUTPUT "CreatePipe på hOutputWrite misslyckades."
|
||||
IDS_ERR_DUP_HANDLE_ERR_WRITE "DuplicateHandle på hErrorWrite misslyckades."
|
||||
IDS_ERR_CREATE_PIPE_INPUT "CreatePipe på hInputRead misslyckades."
|
||||
IDS_ERR_DUP_HANDLE_OUT_READ "DuplicateHandle på hOutputRead misslyckades."
|
||||
IDS_ERR_DUP_HANDLE_IN_WRITE "DuplicateHandle på hInputWrite misslyckades."
|
||||
IDS_ERR_CLOSE_HANDLE_TMP "CloseHandle på hOutputReadTmp/hInputWriteTmp misslyckades."
|
||||
IDS_ERR_CREATE_PROCESS "CreateProcess misslyckades, exe='%s' cmdline='%s' dir='%s'"
|
||||
IDS_ERR_CLOSE_HANDLE "CloseHandle misslyckades."
|
||||
IDS_ERR_CREATE_THREAD_STATUS "CreateThread för att visa status fönstret misslyckades."
|
||||
IDS_NFO_STATE_WAIT_TERM "Status: Väntar på att OpenVPN skall avslutas..."
|
||||
IDS_ERR_OPEN_LOG_WRITE "Fel vid öppnande av logg fil för skrivning: %s. Du saknar förmodligen administratörs rättigheter vilket du behöver för att köra OpenVPN."
|
||||
IDS_NFO_STATE_CONNECTED "Status: Ansluten"
|
||||
IDS_NFO_NOW_CONNECTED "%s är nu ansluten."
|
||||
IDS_NFO_ASSIGN_IP "Tilldelad IP: %s"
|
||||
IDS_ERR_CERT_EXPIRED "Kunde inte ansluta för att ditt certifikat är för gammalt, eller för att klockan i din dator går fel."
|
||||
IDS_ERR_CERT_NOT_YET_VALID "Kunde inte ansluta för att ditt certifikat ännu inte börjat gälla, eller för att klockan i din dator går fel."
|
||||
IDS_NFO_STATE_RECONNECTING "Status: ÅterAnsluter"
|
||||
IDS_NFO_STATE_DISCONNECTED "Status: Frånkopplad"
|
||||
IDS_NFO_CONN_TERMINATED "Du har kopplats ner från %s."
|
||||
IDS_NFO_STATE_FAILED "Status: Anslutningen misslyckades"
|
||||
IDS_NFO_CONN_FAILED "Anslutningen till %s misslyckades."
|
||||
IDS_NFO_STATE_FAILED_RECONN "Status: Misslyckades att återansluta"
|
||||
IDS_NFO_RECONN_FAILED "Återanslutning till %s misslyckades."
|
||||
IDS_NFO_STATE_SUSPENDED "Status: Viloläge"
|
||||
IDS_ERR_READ_STDOUT_PIPE "Fel vid läsning från OpenVPN StdOut pipe."
|
||||
IDS_ERR_CREATE_EDIT_LOGWINDOW "Skapande av RichEdit LogWindow misslyckades!!"
|
||||
IDS_ERR_SET_SIZE "Set Size misslyckades!"
|
||||
IDS_ERR_AUTOSTART_CONF "Följande konfig gick inte att automatiskt starta: %s"
|
||||
IDS_ERR_VERSION_CREATE_EVENT "CreateEvent() misslyckades vid kontroll av openvpn version."
|
||||
IDS_ERR_CREATE_PIPE_IN_READ "CreatePipe på hInputRead misslyckades."
|
||||
IDS_NFO_STATE_CONNECTING "Status: Ansluter"
|
||||
IDS_NFO_CONNECTION_XXX "OpenVPN Anslutning (%s)"
|
||||
IDS_ERR_THREAD_READ_STDOUT "Ett fel uppstod vid skapande av tråd för att lyssna på OpenVPNs logg."
|
||||
IDS_NFO_STATE_CONN_SCRIPT "Status: Kör anslutnings-skript"
|
||||
IDS_NFO_STATE_DISCONN_SCRIPT "Status: Kör frånkopplings-skript"
|
||||
IDS_ERR_RUN_CONN_SCRIPT "Ett fel uppstod vid körning av följande skript: %s"
|
||||
IDS_ERR_GET_EXIT_CODE "Ett fel uppstod när exitcode från följande skript skulle erhållas: %s"
|
||||
IDS_ERR_CONN_SCRIPT_FAILED "Uppkopplingsskriptet misslyckades. (exitcode=%ld)"
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Uppkopplingsskriptet gjorde TimeOut efter %d sek."
|
||||
IDS_ERR_CONFIG_EXIST "Det finns redan en konfig fil vid namn '%s'. Du kan inte ha flera " \
|
||||
"konfigurations filer med samma namn, även om de ligger i olika kataloger."
|
||||
|
||||
/* main - Resources */
|
||||
ERR_OPEN_DEBUG_FILE "Fel vid öppnande av debug fil. (%s)"
|
||||
ERR_LOAD_RICHED20 "Kunde inte ladda RICHED20.DLL."
|
||||
ERR_SHELL_DLL_VERSION "Din shell32.dll version är för låg (0x%lx). Du böhöver minst version 5.0."
|
||||
ERR_GUI_ALREADY_RUNNING "OpenVPN GUI körs redan."
|
||||
INFO_SERVICE_STARTED "OpenVPN Service startad."
|
||||
INFO_SERVICE_STOPPED "OpenVPN Service stoppad."
|
||||
INFO_ACTIVE_CONN_EXIT "Du har aktiva uppkopplingar i gång som kommer kopplas ner om du avslutar OpenVPN GUI.\n\nÄr du säker på att du vill avsluta?"
|
||||
INFO_SERVICE_ACTIVE_EXIT "Du är uppkopplad med OpenVPN (OpenVPN tjänsten är igång). " \
|
||||
IDS_ERR_OPEN_DEBUG_FILE "Fel vid öppnande av debug fil. (%s)"
|
||||
IDS_ERR_LOAD_RICHED20 "Kunde inte ladda RICHED20.DLL."
|
||||
IDS_ERR_SHELL_DLL_VERSION "Din shell32.dll version är för låg (0x%lx). Du böhöver minst version 5.0."
|
||||
IDS_ERR_GUI_ALREADY_RUNNING "OpenVPN GUI körs redan."
|
||||
IDS_NFO_SERVICE_STARTED "OpenVPN Service startad."
|
||||
IDS_NFO_SERVICE_STOPPED "OpenVPN Service stoppad."
|
||||
IDS_NFO_ACTIVE_CONN_EXIT "Du har aktiva uppkopplingar i gång som kommer kopplas ner om du avslutar OpenVPN GUI.\n\nÄr du säker på att du vill avsluta?"
|
||||
IDS_NFO_SERVICE_ACTIVE_EXIT "Du är uppkopplad med OpenVPN (OpenVPN tjänsten är igång). " \
|
||||
"Du kommer att förbli uppkopplad även om du avslutar OpenVPN GUI.\n\n" \
|
||||
"Är du säker på att du vill avsluta OpenVPN GUI?"
|
||||
ERR_OPTION_LOG_IN_CONFIG "Du har ""log"" eller ""log-append"" in din OpenVPN konfig fil. Du bör inte använda " \
|
||||
IDS_ERR_OPTION_LOG_IN_CONFIG "Du har ""log"" eller ""log-append"" in din OpenVPN konfig fil. Du bör inte använda " \
|
||||
"dessa inställningar när du använder OpenVPN GUI, eftersom GUI:t då inte kan ""se"" " \
|
||||
"logg meddelandena från OpenVPN, vilka är nödvändiga för OpenVPN GUI's funktion.\n\n" \
|
||||
"Vill du fortsätta och ansluta ändå?"
|
||||
|
||||
/* options - Resources */
|
||||
INFO_USAGE "--help\t\t\t: Visa detta meddelande.\n" \
|
||||
IDS_NFO_USAGE "--help\t\t\t: Visa detta meddelande.\n" \
|
||||
"--connect cnn \t\t: Anslut till ""cnn"" vid uppstart. (filändelsen måste vara med)\n" \
|
||||
"\t\t\t Exempel: openvpn-gui --connect office.ovpn\n" \
|
||||
"\n" \
|
||||
|
@ -275,74 +275,74 @@ BEGIN
|
|||
"--disconnectscript_timeout\t: Tid att vänta på att dis-connect skriptet är klart.\n" \
|
||||
"--preconnectscript_timeout\t: Tid att vänta på att pre-connect skriptet är klart.\n"
|
||||
|
||||
INFO_USAGECAPTION "OpenVPN GUI Användning"
|
||||
ERR_BAD_PARAMETER "Försöker tolka ""%s"" som en --option parameter " \
|
||||
IDS_NFO_USAGECAPTION "OpenVPN GUI Användning"
|
||||
IDS_ERR_BAD_PARAMETER "Försöker tolka ""%s"" som en --option parameter " \
|
||||
"men kan inte hitta några inledande '--'"
|
||||
ERR_BAD_OPTION "Parameter fel: Okänd parameter eller saknat argument: --%s\n" \
|
||||
IDS_ERR_BAD_OPTION "Parameter fel: Okänd parameter eller saknat argument: --%s\n" \
|
||||
"Kör openvpn-gui --help för mer hjälp."
|
||||
|
||||
/* passphrase - Resources */
|
||||
ERR_CREATE_PASS_THREAD "CreateThread för att visa ChangePassphrase dialogen misslyckades."
|
||||
INFO_CHANGE_PWD "Ändra Lösenord (%s)"
|
||||
ERR_PWD_DONT_MATCH "De angivna lösenorden matchar inte. Försök igen"
|
||||
ERR_PWD_TO_SHORT "Ditt nya lösenord måste vara minst %d tecken långt."
|
||||
INFO_EMPTY_PWD "Är du säker på att du vill använda ett BLANKT lösenord??"
|
||||
ERR_UNKNOWN_KEYFILE_FORMAT "Okänt format på nyckelfilen."
|
||||
ERR_OPEN_PRIVATE_KEY_FILE "Ett fel uppstod vid öppnande av nyckel fil (%s)."
|
||||
ERR_OLD_PWD_INCORRECT "Du har angivit ett felaktigt nuvarande lösenord."
|
||||
ERR_OPEN_WRITE_KEY "Ett fel uppstod vid öppnande av nyckel fil för skrivning (%s)."
|
||||
ERR_WRITE_NEW_KEY "Ett fel uppstod vid skapande av ny nyckel fil (%s)."
|
||||
INFO_PWD_CHANGED "Ditt lösenord har ändrats."
|
||||
ERR_READ_PKCS12 "Fel vid läsning från pkcs #12 fil (%s)."
|
||||
ERR_CREATE_PKCS12 "Ett fel uppstod vid skapande av pkcs12 object."
|
||||
ERR_OPEN_CONFIG "Ett fel uppstod vid öppnande av följande konfigurations fil: %s."
|
||||
ERR_ONLY_ONE_KEY_OPTION "Du kan inte ha mer än en ""key"" parameter i din konfigurations fil."
|
||||
ERR_ONLY_KEY_OR_PKCS12 "Du kan inte ha både ""key"" och ""pkcs12"" parametetrar i din konfigurations fil."
|
||||
ERR_ONLY_ONE_PKCS12_OPTION "Du kan inte ha mer än en ""pkcs12"" parameter i din konfigurations fil."
|
||||
ERR_MUST_HAVE_KEY_OR_PKCS12 "Din konfigurationsfil verkar inte ha någon ""key"" eller ""pkcs12"" parameter."
|
||||
ERR_KEY_FILENAME_TO_LONG "Den angivna pathen till din nyckel i din konfigurations fil är för lång!"
|
||||
ERR_PASSPHRASE2STDIN "Ett fel uppstod då lösenordet skulle skickas till OpenVPN via stdin."
|
||||
ERR_AUTH_USERNAME2STDIN "Ett fel uppstod då användarnamnet skulle skickas till OpenVPN via stdin."
|
||||
ERR_AUTH_PASSWORD2STDIN "Ett fel uppstod då lösenordet skulle skickas till OpenVPN via stdin."
|
||||
ERR_CR2STDIN "Ett fel uppstod då CR skulle skickas till OpenVPN via stdin."
|
||||
ERR_INVALID_CHARS_IN_PSW "Ditt nya lösenord innehåller otillåtna tecken. " \
|
||||
IDS_ERR_CREATE_PASS_THREAD "CreateThread för att visa ChangePassphrase dialogen misslyckades."
|
||||
IDS_NFO_CHANGE_PWD "Ändra Lösenord (%s)"
|
||||
IDS_ERR_PWD_DONT_MATCH "De angivna lösenorden matchar inte. Försök igen"
|
||||
IDS_ERR_PWD_TO_SHORT "Ditt nya lösenord måste vara minst %d tecken långt."
|
||||
IDS_NFO_EMPTY_PWD "Är du säker på att du vill använda ett BLANKT lösenord??"
|
||||
IDS_ERR_UNKNOWN_KEYFILE_FORMAT "Okänt format på nyckelfilen."
|
||||
IDS_ERR_OPEN_PRIVATE_KEY_FILE "Ett fel uppstod vid öppnande av nyckel fil (%s)."
|
||||
IDS_ERR_OLD_PWD_INCORRECT "Du har angivit ett felaktigt nuvarande lösenord."
|
||||
IDS_ERR_OPEN_WRITE_KEY "Ett fel uppstod vid öppnande av nyckel fil för skrivning (%s)."
|
||||
IDS_ERR_WRITE_NEW_KEY "Ett fel uppstod vid skapande av ny nyckel fil (%s)."
|
||||
IDS_NFO_PWD_CHANGED "Ditt lösenord har ändrats."
|
||||
IDS_ERR_READ_PKCS12 "Fel vid läsning från pkcs #12 fil (%s)."
|
||||
IDS_ERR_CREATE_PKCS12 "Ett fel uppstod vid skapande av pkcs12 object."
|
||||
IDS_ERR_OPEN_CONFIG "Ett fel uppstod vid öppnande av följande konfigurations fil: %s."
|
||||
IDS_ERR_ONLY_ONE_KEY_OPTION "Du kan inte ha mer än en ""key"" parameter i din konfigurations fil."
|
||||
IDS_ERR_ONLY_KEY_OR_PKCS12 "Du kan inte ha både ""key"" och ""pkcs12"" parametetrar i din konfigurations fil."
|
||||
IDS_ERR_ONLY_ONE_PKCS12_OPTION "Du kan inte ha mer än en ""pkcs12"" parameter i din konfigurations fil."
|
||||
IDS_ERR_HAVE_KEY_OR_PKCS12 "Din konfigurationsfil verkar inte ha någon ""key"" eller ""pkcs12"" parameter."
|
||||
IDS_ERR_KEY_FILENAME_TO_LONG "Den angivna pathen till din nyckel i din konfigurations fil är för lång!"
|
||||
IDS_ERR_PASSPHRASE2STDIN "Ett fel uppstod då lösenordet skulle skickas till OpenVPN via stdin."
|
||||
IDS_ERR_AUTH_USERNAME2STDIN "Ett fel uppstod då användarnamnet skulle skickas till OpenVPN via stdin."
|
||||
IDS_ERR_AUTH_PASSWORD2STDIN "Ett fel uppstod då lösenordet skulle skickas till OpenVPN via stdin."
|
||||
IDS_ERR_CR2STDIN "Ett fel uppstod då CR skulle skickas till OpenVPN via stdin."
|
||||
IDS_ERR_INVALID_CHARS_IN_PSW "Ditt nya lösenord innehåller otillåtna tecken. " \
|
||||
"Välj ett nytt."
|
||||
|
||||
/* settings */
|
||||
IDS_SETTINGS_CAPTION "OpenVPN - Inställningar"
|
||||
|
||||
/* proxy */
|
||||
ERR_HTTP_PROXY_ADDRESS "Du måste ange en HTTP proxy adress."
|
||||
ERR_HTTP_PROXY_PORT "Du måste ange en HTTP proxy port."
|
||||
ERR_HTTP_PROXY_PORT_RANGE "Du måste ange en HTTP proxy port mellan 1-65535"
|
||||
ERR_SOCKS_PROXY_ADDRESS "Du måste ange en SOCKS proxy adress."
|
||||
ERR_SOCKS_PROXY_PORT "Du måste ange en SOCKS proxy port."
|
||||
ERR_SOCKS_PROXY_PORT_RANGE "Du måste ange en SOCKS proxy port mellan 1-65535"
|
||||
ERR_CREATE_REG_HKCU_KEY "Ett fel uppstod vid skapande av register nyckel ""HKEY_CURRENT_USER\\%s"""
|
||||
ERR_GET_TEMP_PATH "Ett fel uppstod när GetTempPath() anropades. Använder ""C:\\"" istället."
|
||||
ERR_CREATE_AUTH_FILE "Ett fel uppstod vid skapande av AUTH fil (%s)"
|
||||
IDS_ERR_HTTP_PROXY_ADDRESS "Du måste ange en HTTP proxy adress."
|
||||
IDS_ERR_HTTP_PROXY_PORT "Du måste ange en HTTP proxy port."
|
||||
IDS_ERR_HTTP_PROXY_PORT_RANGE "Du måste ange en HTTP proxy port mellan 1-65535"
|
||||
IDS_ERR_SOCKS_PROXY_ADDRESS "Du måste ange en SOCKS proxy adress."
|
||||
IDS_ERR_SOCKS_PROXY_PORT "Du måste ange en SOCKS proxy port."
|
||||
IDS_ERR_SOCKS_PROXY_PORT_RANGE "Du måste ange en SOCKS proxy port mellan 1-65535"
|
||||
IDS_ERR_CREATE_REG_HKCU_KEY "Ett fel uppstod vid skapande av register nyckel ""HKEY_CURRENT_USER\\%s"""
|
||||
IDS_ERR_GET_TEMP_PATH "Ett fel uppstod när GetTempPath() anropades. Använder ""C:\\"" istället."
|
||||
IDS_ERR_CREATE_AUTH_FILE "Ett fel uppstod vid skapande av AUTH fil (%s)"
|
||||
|
||||
/* service */
|
||||
ERR_OPEN_SCMGR_ADMIN "Ett fel uppstod vid öppnande av Service Managern. Du saknar förmodligen rättighet att starta/stoppa en service."
|
||||
ERR_OPEN_VPN_SERVICE "Kunde inte öppna ""OpenVPNService"""
|
||||
ERR_START_SERVICE "Ett fel uppstod vid startande av OpenVPN Service"
|
||||
ERR_QUERY_SERVICE "Ett fel uppstod när statusen på OpenVPN Service skulle kontrolleras."
|
||||
ERR_SERVICE_START_FAILED "OpenVPN Service misslyckades att starta."
|
||||
ERR_OPEN_SCMGR "OpenSCManager misslyckades (%d)"
|
||||
ERR_STOP_SERVICE "Ett fel uppstod vid stoppande av OpenVPN Service"
|
||||
INFO_RESTARTED "OpenVPN Service har startats om."
|
||||
IDS_ERR_OPEN_SCMGR_ADMIN "Ett fel uppstod vid öppnande av Service Managern. Du saknar förmodligen rättighet att starta/stoppa en service."
|
||||
IDS_ERR_OPEN_VPN_SERVICE "Kunde inte öppna ""OpenVPNService"""
|
||||
IDS_ERR_START_SERVICE "Ett fel uppstod vid startande av OpenVPN Service"
|
||||
IDS_ERR_QUERY_SERVICE "Ett fel uppstod när statusen på OpenVPN Service skulle kontrolleras."
|
||||
IDS_ERR_SERVICE_START_FAILED "OpenVPN Service misslyckades att starta."
|
||||
IDS_ERR_OPEN_SCMGR "OpenSCManager misslyckades (%d)"
|
||||
IDS_ERR_STOP_SERVICE "Ett fel uppstod vid stoppande av OpenVPN Service"
|
||||
IDS_NFO_RESTARTED "OpenVPN Service har startats om."
|
||||
|
||||
/* registry */
|
||||
ERR_GET_WINDOWS_DIR "Kunde inte hitta i vilken katalog Windows är installerat."
|
||||
ERR_GET_PROGRAM_DIR "Kunde inte hitta pathen till din ""Program"" katalog."
|
||||
ERR_OPEN_REGISTRY "Fel vid öppnande av registret för läsning (HKLM\\SOFTWARE\\OpenVPN).\n OpenVPN är förmodligen inte installerat."
|
||||
ERR_READING_REGISTRY "Fel vid läsning av register nyckel (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
ERR_PASSPHRASE_ATTEMPTS "Register värdet ""passphrase_attempts"" måste vara ett tal mellan 1 och 9."
|
||||
ERR_CONN_SCRIPT_TIMEOUT "Register värdet ""connectscript_timeout"" måste vara ett tal mellan 0 och 99."
|
||||
ERR_DISCONN_SCRIPT_TIMEOUT "Register värdet ""disconnectscript_timeout"" måste vara ett tal mellan 1 och 99."
|
||||
ERR_PRECONN_SCRIPT_TIMEOUT "Register värdet ""preconnectscript_timeout"" måste vara ett tal mellan 1 och 99."
|
||||
ERR_CREATE_REG_KEY "Fel vid skapande av register nyckeln HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
ERR_OPEN_WRITE_REG "Fel vid öppnande av registret för skrivning. Du måste starta programmet en gång som administratör för att uppdatera registret."
|
||||
ERR_READ_SET_KEY "Fel vid läsning och skrivning av register värde ""%s""."
|
||||
ERR_WRITE_REGVALUE "Fel vid skrivning av register värdet ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
IDS_ERR_GET_WINDOWS_DIR "Kunde inte hitta i vilken katalog Windows är installerat."
|
||||
IDS_ERR_GET_PROGRAM_DIR "Kunde inte hitta pathen till din ""Program"" katalog."
|
||||
IDS_ERR_OPEN_REGISTRY "Fel vid öppnande av registret för läsning (HKLM\\SOFTWARE\\OpenVPN).\n OpenVPN är förmodligen inte installerat."
|
||||
IDS_ERR_READING_REGISTRY "Fel vid läsning av register nyckel (HKLM\\SOFTWARE\\OpenVPN)."
|
||||
IDS_ERR_PASSPHRASE_ATTEMPTS "Register värdet ""passphrase_attempts"" måste vara ett tal mellan 1 och 9."
|
||||
IDS_ERR_CONN_SCRIPT_TIMEOUT "Register värdet ""connectscript_timeout"" måste vara ett tal mellan 0 och 99."
|
||||
IDS_ERR_DISCONN_SCRIPT_TIMEOUT "Register värdet ""disconnectscript_timeout"" måste vara ett tal mellan 1 och 99."
|
||||
IDS_ERR_PRECONN_SCRIPT_TIMEOUT "Register värdet ""preconnectscript_timeout"" måste vara ett tal mellan 1 och 99."
|
||||
IDS_ERR_CREATE_REG_KEY "Fel vid skapande av register nyckeln HKLM\\SOFTWARE\\OpenVPN-GUI."
|
||||
IDS_ERR_OPEN_WRITE_REG "Fel vid öppnande av registret för skrivning. Du måste starta programmet en gång som administratör för att uppdatera registret."
|
||||
IDS_ERR_READ_SET_KEY "Fel vid läsning och skrivning av register värde ""%s""."
|
||||
IDS_ERR_WRITE_REGVALUE "Fel vid skrivning av register värdet ""HKEY_CURRENT_USER\\%s\\%s""."
|
||||
END
|
||||
|
|
|
@ -19,230 +19,242 @@
|
|||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef OPENVPN_GUI_RES_H
|
||||
#define OPENVPN_GUI_RES_H
|
||||
|
||||
/* Icons */
|
||||
#define APP_ICON 90
|
||||
#define APP_ICON_CONNECTED 91
|
||||
#define APP_ICON_CONNECTING 92
|
||||
#define APP_ICON_DISCONNECTED 93
|
||||
#define ID_ICO_APP 90
|
||||
#define ID_ICO_CONNECTED 91
|
||||
#define ID_ICO_CONNECTING 92
|
||||
#define ID_ICO_DISCONNECTED 93
|
||||
|
||||
/* About Dialog */
|
||||
#define IDD_ABOUTDIALOG 100
|
||||
#define ID_TEXT_OPENVPNGUI 101
|
||||
#define TEXT_ABOUT_OPENVPNGUI 102
|
||||
#define ID_DLG_ABOUT 100
|
||||
#define ID_TXT_OPENVPNGUI 101
|
||||
#define ID_TXT_ABOUT 102
|
||||
|
||||
/* Ask for Passphrase Dialog */
|
||||
#define IDD_PASSPHRASE 150
|
||||
#define EDIT_PASSPHRASE 151
|
||||
#define ID_DLG_PASSPHRASE 150
|
||||
#define ID_EDT_PASSPHRASE 151
|
||||
|
||||
/* Status Dialog */
|
||||
#define IDD_STATUS 160
|
||||
#define TEXT_STATUS 161
|
||||
#define EDIT_LOG 162
|
||||
#define ID_DISCONNECT 163
|
||||
#define ID_RESTART 164
|
||||
#define ID_HIDE 165
|
||||
/* A hidden textbox used to pass the config nr so dialog knows
|
||||
* which connection to cancel. If anyone knows of another way
|
||||
* to pass a variable to dialog, please let me know.
|
||||
#define ID_DLG_STATUS 160
|
||||
#define ID_TXT_STATUS 161
|
||||
#define ID_EDT_LOG 162
|
||||
#define ID_DISCONNECT 163
|
||||
#define ID_RESTART 164
|
||||
#define ID_HIDE 165
|
||||
/* A hidden textbox used to pass the config nr so dialog knows
|
||||
* which connection to cancel. If anyone knows of another way
|
||||
* to pass a variable to dialog, please let me know.
|
||||
*/
|
||||
#define TEXT_CONFIG 166
|
||||
#define ID_TXT_CONFIG 166
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
#define IDD_CHANGEPSW 170
|
||||
#define EDIT_PSW_CURRENT 174
|
||||
#define EDIT_PSW_NEW 175
|
||||
#define EDIT_PSW_NEW2 176
|
||||
#define TEXT_KEYFILE 177
|
||||
#define TEXT_KEYFORMAT 178
|
||||
#define ID_DLG_CHGPASS 170
|
||||
#define ID_EDT_PASS_CUR 174
|
||||
#define ID_EDT_PASS_NEW 175
|
||||
#define ID_EDT_PASS_NEW2 176
|
||||
#define ID_TXT_KEYFILE 177
|
||||
#define ID_TXT_KEYFORMAT 178
|
||||
|
||||
/* Auth Username/Password Dialog */
|
||||
#define IDD_AUTH_PASSWORD 180
|
||||
#define EDIT_AUTH_USERNAME 181
|
||||
#define EDIT_AUTH_PASSWORD 182
|
||||
|
||||
/* Settings Dialog*/
|
||||
#define IDS_SETTINGS_CAPTION 190
|
||||
#define ID_DLG_AUTH 180
|
||||
#define ID_EDT_AUTH_USER 181
|
||||
#define ID_EDT_AUTH_PASS 182
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
#define IDD_PROXY 200
|
||||
#define RB_PROXY_USE_OPENVPN 210
|
||||
#define RB_PROXY_USE_IE 211
|
||||
#define RB_PROXY_USE_MANUAL 212
|
||||
#define RB_PROXY_HTTP 213
|
||||
#define RB_PROXY_SOCKS 219
|
||||
#define EDIT_PROXY_ADDRESS 214
|
||||
#define EDIT_PROXY_PORT 215
|
||||
#define TEXT_PROXY_ADDRESS 216
|
||||
#define TEXT_PROXY_PORT 217
|
||||
#define CHECKB_PROXY_AUTH 218
|
||||
#define ID_DLG_PROXY 200
|
||||
#define ID_RB_PROXY_OPENVPN 210
|
||||
#define ID_RB_PROXY_MSIE 211
|
||||
#define ID_RB_PROXY_MANUAL 212
|
||||
#define ID_RB_PROXY_HTTP 213
|
||||
#define ID_RB_PROXY_SOCKS 219
|
||||
#define ID_EDT_PROXY_ADDRESS 214
|
||||
#define ID_EDT_PROXY_PORT 215
|
||||
#define ID_TXT_PROXY_ADDRESS 216
|
||||
#define ID_TXT_PROXY_PORT 217
|
||||
#define ID_CB_PROXY_AUTH 218
|
||||
|
||||
/* Language Settings Dialog */
|
||||
#define IDD_LANGUAGE 230
|
||||
#define IDS_LANGUAGE_NAME 231
|
||||
#define CB_LANGUAGES 232
|
||||
#define TEXT_LANGUAGES 233
|
||||
/* General Settings Dialog */
|
||||
#define ID_DLG_GENERAL 230
|
||||
#define ID_CMB_LANGUAGE 231
|
||||
#define ID_TXT_LANGUAGE 232
|
||||
|
||||
/* Proxy Auth Dialog */
|
||||
#define IDD_PROXY_AUTH 250
|
||||
#define EDIT_PROXY_USERNAME 251
|
||||
#define EDIT_PROXY_PASSWORD 252
|
||||
|
||||
/* Tray - Resources */
|
||||
#define MSG_TIP 1001
|
||||
#define MSG_TIP_CONNECTED 1002
|
||||
#define MSG_TIP_CONNECTING 1003
|
||||
#define MSG_TIP_CONNECTED_SINCE 1004
|
||||
#define MSG_TIP_ASSIGNED_IP 1005
|
||||
#define IDM_TEXT_SERVICE 1006
|
||||
#define IDM_TEXT_SETTINGS 1007
|
||||
#define IDM_TEXT_ABOUT 1008
|
||||
#define IDM_TEXT_CLOSE 1009
|
||||
#define IDM_TEXT_CONNECT 1010
|
||||
#define IDM_TEXT_DISCONNECT 1011
|
||||
#define IDM_TEXT_STATUS 1012
|
||||
#define IDM_TEXT_VIEWLOG 1013
|
||||
#define IDM_TEXT_EDITCONFIG 1014
|
||||
#define IDM_TEXT_PASSPHRASE 1015
|
||||
#define IDM_TEXT_SERVICE_START 1016
|
||||
#define IDM_TEXT_SERVICE_STOP 1017
|
||||
#define IDM_TEXT_SERVICE_RESTART 1018
|
||||
#define IDM_TEXT_SERVICEONLY_START 1019
|
||||
#define IDM_TEXT_SERVICEONLY_STOP 1020
|
||||
#define IDM_TEXT_SERVICEONLY_RESTART 1021
|
||||
#define IDM_TEXT_ASK_STOP_SERVICE 1022
|
||||
|
||||
/* LogViewer */
|
||||
#define ERR_START_LOG_VIEWER 1101
|
||||
#define ERR_START_CONF_EDITOR 1102
|
||||
|
||||
/* OpenVpn */
|
||||
#define ERR_TO_MANY_CONFIGS 1201
|
||||
#define ERR_CANNOT_CONSTRUCT_LOG 1202
|
||||
#define ERR_ONLY_ONE_CONN_OLD_VERSION 1203
|
||||
#define ERR_STOP_SERV_ON_OLD_VERSION 1204
|
||||
#define ERR_CREATE_EVENT 1205
|
||||
#define ERR_UNKNOWN_PRIORITY 1206
|
||||
#define ERR_LOG_APPEND_BOOL 1207
|
||||
#define ERR_GET_IE_PROXY_SETTINGS 1208
|
||||
#define ERR_INIT_SEC_DESC 1209
|
||||
#define ERR_SET_SEC_DESC_ACL 1210
|
||||
#define ERR_CREATE_PIPE_OUTPUT 1211
|
||||
#define ERR_DUP_HANDLE_ERR_WRITE 1212
|
||||
#define ERR_CREATE_PIPE_INPUT 1213
|
||||
#define ERR_DUP_HANDLE_OUTPUT_READ 1214
|
||||
#define ERR_DUP_HANDLE_INPUT_WRITE 1215
|
||||
#define ERR_CLOSE_HANDLE_TMP 1216
|
||||
#define ERR_CREATE_PROCESS 1217
|
||||
#define ERR_CLOSE_HANDLE 1218
|
||||
#define ERR_CREATE_THREAD_STATUS 1219
|
||||
#define INFO_STATE_WAIT_TERM 1220
|
||||
#define ERR_OPEN_LOG_WRITE 1221
|
||||
#define INFO_STATE_CONNECTED 1222
|
||||
#define INFO_NOW_CONNECTED 1223
|
||||
#define INFO_ASSIG_IP 1224
|
||||
#define ERR_CERT_EXPIRED 1225
|
||||
#define ERR_CERT_NOT_YET_VALID 1226
|
||||
#define INFO_STATE_RECONNECTING 1227
|
||||
#define INFO_STATE_DISCONNECTED 1228
|
||||
#define INFO_CONN_TERMINATED 1229
|
||||
#define INFO_STATE_FAILED 1230
|
||||
#define INFO_CONN_FAILED 1231
|
||||
#define INFO_STATE_FAILED_RECONN 1232
|
||||
#define INFO_RECONN_FAILED 1233
|
||||
#define INFO_STATE_SUSPENDED 1234
|
||||
#define ERR_READ_STDOUT_PIPE 1235
|
||||
#define ERR_CREATE_RICHED_LOGWINDOW 1236
|
||||
#define ERR_SET_SIZE 1237
|
||||
#define ERR_AUTOSTART_CONF_NOT_FOUND 1238
|
||||
#define ERR_VERSION_CREATE_EVENT 1239
|
||||
#define ERR_CREATE_PIPE_INPUT_READ 1240
|
||||
#define INFO_STATE_CONNECTING 1241
|
||||
#define INFO_CONNECTION_XXX 1242
|
||||
#define ERR_CREATE_THREAD_READ_STDOUT 1243
|
||||
#define INFO_STATE_CONN_SCRIPT 1244
|
||||
#define INFO_STATE_DISCONN_SCRIPT 1245
|
||||
#define ERR_RUN_CONN_SCRIPT 1246
|
||||
#define ERR_GET_EXIT_CODE 1247
|
||||
#define ERR_CONN_SCRIPT_FAILED 1248
|
||||
#define ERR_RUN_CONN_SCRIPT_TIMEOUT 1249
|
||||
#define ERR_OPTION_LOG_IN_CONFIG 1250
|
||||
#define ERR_CONFIG_ALREADY_EXIST 1251
|
||||
|
||||
/* main */
|
||||
#define ERR_OPEN_DEBUG_FILE 1301
|
||||
#define ERR_LOAD_RICHED20 1302
|
||||
#define ERR_SHELL_DLL_VERSION 1303
|
||||
#define ERR_GUI_ALREADY_RUNNING 1304
|
||||
#define INFO_SERVICE_STARTED 1305
|
||||
#define INFO_SERVICE_STOPPED 1306
|
||||
#define INFO_ACTIVE_CONN_EXIT 1307
|
||||
#define INFO_SERVICE_ACTIVE_EXIT 1308
|
||||
|
||||
/* options */
|
||||
#define INFO_USAGE 1401
|
||||
#define INFO_USAGECAPTION 1402
|
||||
#define ERR_BAD_PARAMETER 1403
|
||||
#define ERR_BAD_OPTION 1404
|
||||
|
||||
/* passphrase */
|
||||
#define ERR_CREATE_PASS_THREAD 1501
|
||||
#define INFO_CHANGE_PWD 1502
|
||||
#define ERR_PWD_DONT_MATCH 1503
|
||||
#define ERR_PWD_TO_SHORT 1504
|
||||
#define INFO_EMPTY_PWD 1505
|
||||
#define ERR_UNKNOWN_KEYFILE_FORMAT 1506
|
||||
#define ERR_OPEN_PRIVATE_KEY_FILE 1507
|
||||
#define ERR_OLD_PWD_INCORRECT 1508
|
||||
#define ERR_OPEN_WRITE_KEY 1509
|
||||
#define ERR_WRITE_NEW_KEY 1510
|
||||
#define INFO_PWD_CHANGED 1511
|
||||
#define ERR_READ_PKCS12 1512
|
||||
#define ERR_CREATE_PKCS12 1513
|
||||
#define ERR_OPEN_CONFIG 1514
|
||||
#define ERR_ONLY_ONE_KEY_OPTION 1515
|
||||
#define ERR_ONLY_KEY_OR_PKCS12 1516
|
||||
#define ERR_ONLY_ONE_PKCS12_OPTION 1517
|
||||
#define ERR_MUST_HAVE_KEY_OR_PKCS12 1518
|
||||
#define ERR_KEY_FILENAME_TO_LONG 1519
|
||||
#define ERR_PASSPHRASE2STDIN 1520
|
||||
#define ERR_CR2STDIN 1521
|
||||
#define ERR_AUTH_USERNAME2STDIN 1522
|
||||
#define ERR_AUTH_PASSWORD2STDIN 1523
|
||||
#define ERR_INVALID_CHARS_IN_PSW 1524
|
||||
#define ID_DLG_PROXY_AUTH 250
|
||||
#define ID_EDT_PROXY_USER 251
|
||||
#define ID_EDT_PROXY_PASS 252
|
||||
|
||||
|
||||
/* proxy */
|
||||
#define ERR_HTTP_PROXY_ADDRESS 1601
|
||||
#define ERR_HTTP_PROXY_PORT 1602
|
||||
#define ERR_HTTP_PROXY_PORT_RANGE 1603
|
||||
#define ERR_SOCKS_PROXY_ADDRESS 1604
|
||||
#define ERR_SOCKS_PROXY_PORT 1605
|
||||
#define ERR_SOCKS_PROXY_PORT_RANGE 1606
|
||||
#define ERR_CREATE_REG_HKCU_KEY 1607
|
||||
#define ERR_GET_TEMP_PATH 1608
|
||||
#define ERR_CREATE_AUTH_FILE 1609
|
||||
/*
|
||||
* String Table Resources
|
||||
*/
|
||||
|
||||
/* service */
|
||||
#define ERR_OPEN_SCMGR_ADMIN 1701
|
||||
#define ERR_OPEN_VPN_SERVICE 1702
|
||||
#define ERR_START_SERVICE 1703
|
||||
#define ERR_QUERY_SERVICE 1704
|
||||
#define ERR_SERVICE_START_FAILED 1705
|
||||
#define ERR_OPEN_SCMGR 1706
|
||||
#define ERR_STOP_SERVICE 1707
|
||||
#define INFO_RESTARTED 1708
|
||||
/* Tray Tooltips */
|
||||
#define IDS_TIP_DEFAULT 1000
|
||||
#define IDS_TIP_CONNECTED 1001
|
||||
#define IDS_TIP_CONNECTING 1003
|
||||
#define IDS_TIP_CONNECTED_SINCE 1004
|
||||
#define IDS_TIP_ASSIGNED_IP 1005
|
||||
|
||||
/* registry */
|
||||
#define ERR_GET_WINDOWS_DIR 1801
|
||||
#define ERR_GET_PROGRAM_DIR 1802
|
||||
#define ERR_OPEN_REGISTRY 1803
|
||||
#define ERR_READING_REGISTRY 1804
|
||||
#define ERR_PASSPHRASE_ATTEMPTS 1805
|
||||
#define ERR_CONN_SCRIPT_TIMEOUT 1806
|
||||
#define ERR_DISCONN_SCRIPT_TIMEOUT 1807
|
||||
#define ERR_PRECONN_SCRIPT_TIMEOUT 1808
|
||||
#define ERR_CREATE_REG_KEY 1809
|
||||
#define ERR_OPEN_WRITE_REG 1810
|
||||
#define ERR_READ_SET_KEY 1811
|
||||
#define ERR_WRITE_REGVALUE 1812
|
||||
/* Tray Icon Context Menu */
|
||||
#define IDS_MENU_SERVICE 1006
|
||||
#define IDS_MENU_SETTINGS 1007
|
||||
#define IDS_MENU_ABOUT 1008
|
||||
#define IDS_MENU_CLOSE 1009
|
||||
#define IDS_MENU_CONNECT 1010
|
||||
#define IDS_MENU_DISCONNECT 1011
|
||||
#define IDS_MENU_STATUS 1012
|
||||
#define IDS_MENU_VIEWLOG 1013
|
||||
#define IDS_MENU_EDITCONFIG 1014
|
||||
#define IDS_MENU_PASSPHRASE 1015
|
||||
#define IDS_MENU_SERVICE_START 1016
|
||||
#define IDS_MENU_SERVICE_STOP 1017
|
||||
#define IDS_MENU_SERVICE_RESTART 1018
|
||||
#define IDS_MENU_SERVICEONLY_START 1019
|
||||
#define IDS_MENU_SERVICEONLY_STOP 1020
|
||||
#define IDS_MENU_SERVICEONLY_RESTART 1021
|
||||
#define IDS_MENU_ASK_STOP_SERVICE 1022
|
||||
|
||||
/* LogViewer Dialog */
|
||||
#define IDS_ERR_START_LOG_VIEWER 1101
|
||||
#define IDS_ERR_START_CONF_EDITOR 1102
|
||||
|
||||
/* OpenVpn Related */
|
||||
#define IDS_ERR_MANY_CONFIGS 1201
|
||||
#define IDS_ERR_LOG_CONSTRUCT 1202
|
||||
#define IDS_ERR_ONE_CONN_OLD_VER 1203
|
||||
#define IDS_ERR_STOP_SERV_OLD_VER 1204
|
||||
#define IDS_ERR_CREATE_EVENT 1205
|
||||
#define IDS_ERR_UNKNOWN_PRIORITY 1206
|
||||
#define IDS_ERR_LOG_APPEND_BOOL 1207
|
||||
#define IDS_ERR_GET_MSIE_SETTINGS 1208
|
||||
#define IDS_ERR_INIT_SEC_DESC 1209
|
||||
#define IDS_ERR_SET_SEC_DESC_ACL 1210
|
||||
#define IDS_ERR_CREATE_PIPE_OUTPUT 1211
|
||||
#define IDS_ERR_DUP_HANDLE_ERR_WRITE 1212
|
||||
#define IDS_ERR_CREATE_PIPE_INPUT 1213
|
||||
#define IDS_ERR_DUP_HANDLE_OUT_READ 1214
|
||||
#define IDS_ERR_DUP_HANDLE_IN_WRITE 1215
|
||||
#define IDS_ERR_CLOSE_HANDLE_TMP 1216
|
||||
#define IDS_ERR_CREATE_PROCESS 1217
|
||||
#define IDS_ERR_CLOSE_HANDLE 1218
|
||||
#define IDS_ERR_CREATE_THREAD_STATUS 1219
|
||||
#define IDS_NFO_STATE_WAIT_TERM 1220
|
||||
#define IDS_ERR_OPEN_LOG_WRITE 1221
|
||||
#define IDS_NFO_STATE_CONNECTED 1222
|
||||
#define IDS_NFO_NOW_CONNECTED 1223
|
||||
#define IDS_NFO_ASSIGN_IP 1224
|
||||
#define IDS_ERR_CERT_EXPIRED 1225
|
||||
#define IDS_ERR_CERT_NOT_YET_VALID 1226
|
||||
#define IDS_NFO_STATE_RECONNECTING 1227
|
||||
#define IDS_NFO_STATE_DISCONNECTED 1228
|
||||
#define IDS_NFO_CONN_TERMINATED 1229
|
||||
#define IDS_NFO_STATE_FAILED 1230
|
||||
#define IDS_NFO_CONN_FAILED 1231
|
||||
#define IDS_NFO_STATE_FAILED_RECONN 1232
|
||||
#define IDS_NFO_RECONN_FAILED 1233
|
||||
#define IDS_NFO_STATE_SUSPENDED 1234
|
||||
#define IDS_ERR_READ_STDOUT_PIPE 1235
|
||||
#define IDS_ERR_CREATE_EDIT_LOGWINDOW 1236
|
||||
#define IDS_ERR_SET_SIZE 1237
|
||||
#define IDS_ERR_AUTOSTART_CONF 1238
|
||||
#define IDS_ERR_VERSION_CREATE_EVENT 1239
|
||||
#define IDS_ERR_CREATE_PIPE_IN_READ 1240
|
||||
#define IDS_NFO_STATE_CONNECTING 1241
|
||||
#define IDS_NFO_CONNECTION_XXX 1242
|
||||
#define IDS_ERR_THREAD_READ_STDOUT 1243
|
||||
#define IDS_NFO_STATE_CONN_SCRIPT 1244
|
||||
#define IDS_NFO_STATE_DISCONN_SCRIPT 1245
|
||||
#define IDS_ERR_RUN_CONN_SCRIPT 1246
|
||||
#define IDS_ERR_GET_EXIT_CODE 1247
|
||||
#define IDS_ERR_CONN_SCRIPT_FAILED 1248
|
||||
#define IDS_ERR_RUN_CONN_SCRIPT_TIMEOUT 1249
|
||||
#define IDS_ERR_OPTION_LOG_IN_CONFIG 1250
|
||||
#define IDS_ERR_CONFIG_EXIST 1251
|
||||
|
||||
/* Program Startup Related */
|
||||
#define IDS_ERR_OPEN_DEBUG_FILE 1301
|
||||
#define IDS_ERR_LOAD_RICHED20 1302
|
||||
#define IDS_ERR_SHELL_DLL_VERSION 1303
|
||||
#define IDS_ERR_GUI_ALREADY_RUNNING 1304
|
||||
#define IDS_NFO_SERVICE_STARTED 1305
|
||||
#define IDS_NFO_SERVICE_STOPPED 1306
|
||||
#define IDS_NFO_ACTIVE_CONN_EXIT 1307
|
||||
#define IDS_NFO_SERVICE_ACTIVE_EXIT 1308
|
||||
|
||||
/* Program Options Related */
|
||||
#define IDS_NFO_USAGE 1401
|
||||
#define IDS_NFO_USAGECAPTION 1402
|
||||
#define IDS_ERR_BAD_PARAMETER 1403
|
||||
#define IDS_ERR_BAD_OPTION 1404
|
||||
|
||||
/* Change Passphrase Dialog */
|
||||
#define IDS_ERR_CREATE_PASS_THREAD 1501
|
||||
#define IDS_NFO_CHANGE_PWD 1502
|
||||
#define IDS_ERR_PWD_DONT_MATCH 1503
|
||||
#define IDS_ERR_PWD_TO_SHORT 1504
|
||||
#define IDS_NFO_EMPTY_PWD 1505
|
||||
#define IDS_ERR_UNKNOWN_KEYFILE_FORMAT 1506
|
||||
#define IDS_ERR_OPEN_PRIVATE_KEY_FILE 1507
|
||||
#define IDS_ERR_OLD_PWD_INCORRECT 1508
|
||||
#define IDS_ERR_OPEN_WRITE_KEY 1509
|
||||
#define IDS_ERR_WRITE_NEW_KEY 1510
|
||||
#define IDS_NFO_PWD_CHANGED 1511
|
||||
#define IDS_ERR_READ_PKCS12 1512
|
||||
#define IDS_ERR_CREATE_PKCS12 1513
|
||||
#define IDS_ERR_OPEN_CONFIG 1514
|
||||
#define IDS_ERR_ONLY_ONE_KEY_OPTION 1515
|
||||
#define IDS_ERR_ONLY_KEY_OR_PKCS12 1516
|
||||
#define IDS_ERR_ONLY_ONE_PKCS12_OPTION 1517
|
||||
#define IDS_ERR_HAVE_KEY_OR_PKCS12 1518
|
||||
#define IDS_ERR_KEY_FILENAME_TO_LONG 1519
|
||||
#define IDS_ERR_PASSPHRASE2STDIN 1520
|
||||
#define IDS_ERR_CR2STDIN 1521
|
||||
#define IDS_ERR_AUTH_USERNAME2STDIN 1522
|
||||
#define IDS_ERR_AUTH_PASSWORD2STDIN 1523
|
||||
#define IDS_ERR_INVALID_CHARS_IN_PSW 1524
|
||||
|
||||
/* Settings Dialog*/
|
||||
#define IDS_SETTINGS_CAPTION 1550
|
||||
|
||||
/* Proxy Settings Dialog */
|
||||
#define IDS_ERR_HTTP_PROXY_ADDRESS 1601
|
||||
#define IDS_ERR_HTTP_PROXY_PORT 1602
|
||||
#define IDS_ERR_HTTP_PROXY_PORT_RANGE 1603
|
||||
#define IDS_ERR_SOCKS_PROXY_ADDRESS 1604
|
||||
#define IDS_ERR_SOCKS_PROXY_PORT 1605
|
||||
#define IDS_ERR_SOCKS_PROXY_PORT_RANGE 1606
|
||||
#define IDS_ERR_CREATE_REG_HKCU_KEY 1607
|
||||
#define IDS_ERR_GET_TEMP_PATH 1608
|
||||
#define IDS_ERR_CREATE_AUTH_FILE 1609
|
||||
|
||||
/* General Settings Dialog */
|
||||
#define IDS_LANGUAGE_NAME 1650
|
||||
|
||||
/* Win32 Service Related */
|
||||
#define IDS_ERR_OPEN_SCMGR_ADMIN 1701
|
||||
#define IDS_ERR_OPEN_VPN_SERVICE 1702
|
||||
#define IDS_ERR_START_SERVICE 1703
|
||||
#define IDS_ERR_QUERY_SERVICE 1704
|
||||
#define IDS_ERR_SERVICE_START_FAILED 1705
|
||||
#define IDS_ERR_OPEN_SCMGR 1706
|
||||
#define IDS_ERR_STOP_SERVICE 1707
|
||||
#define IDS_NFO_RESTARTED 1708
|
||||
|
||||
/* Registry Related */
|
||||
#define IDS_ERR_GET_WINDOWS_DIR 1801
|
||||
#define IDS_ERR_GET_PROGRAM_DIR 1802
|
||||
#define IDS_ERR_OPEN_REGISTRY 1803
|
||||
#define IDS_ERR_READING_REGISTRY 1804
|
||||
#define IDS_ERR_PASSPHRASE_ATTEMPTS 1805
|
||||
#define IDS_ERR_CONN_SCRIPT_TIMEOUT 1806
|
||||
#define IDS_ERR_DISCONN_SCRIPT_TIMEOUT 1807
|
||||
#define IDS_ERR_PRECONN_SCRIPT_TIMEOUT 1808
|
||||
#define IDS_ERR_CREATE_REG_KEY 1809
|
||||
#define IDS_ERR_OPEN_WRITE_REG 1810
|
||||
#define IDS_ERR_READ_SET_KEY 1811
|
||||
#define IDS_ERR_WRITE_REGVALUE 1812
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,16 +20,17 @@
|
|||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "config.h"
|
||||
#include "openvpn-gui-res.h"
|
||||
|
||||
/* Manifest for XP visual styles */
|
||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "openvpn-gui.exe.manifest"
|
||||
|
||||
/* Application Icons */
|
||||
APP_ICON ICON DISCARDABLE "openvpn-gui.ico"
|
||||
APP_ICON_CONNECTED ICON DISCARDABLE "connected.ico"
|
||||
APP_ICON_CONNECTING ICON DISCARDABLE "connecting.ico"
|
||||
APP_ICON_DISCONNECTED ICON DISCARDABLE "disconnected.ico"
|
||||
ID_ICO_APP ICON DISCARDABLE "openvpn-gui.ico"
|
||||
ID_ICO_CONNECTED ICON DISCARDABLE "connected.ico"
|
||||
ID_ICO_CONNECTING ICON DISCARDABLE "connecting.ico"
|
||||
ID_ICO_DISCONNECTED ICON DISCARDABLE "disconnected.ico"
|
||||
|
||||
#include "openvpn-gui-res-de.rc"
|
||||
#include "openvpn-gui-res-en.rc"
|
||||
|
|
106
openvpn.c
106
openvpn.c
|
@ -62,12 +62,12 @@ int CreateExitEvent(int config)
|
|||
if (GetLastError() == ERROR_ACCESS_DENIED)
|
||||
{
|
||||
/* service mustn't be running, while using old version */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_STOP_SERV_ON_OLD_VERSION);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_STOP_SERV_OLD_VER);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* error creating exit event */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CREATE_EVENT, o.cnn[config].exit_event_name);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CREATE_EVENT, o.cnn[config].exit_event_name);
|
||||
}
|
||||
return(false);
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ int CreateExitEvent(int config)
|
|||
if (o.cnn[config].exit_event == NULL)
|
||||
{
|
||||
/* error creating exit event */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CREATE_EVENT, o.cnn[config].exit_event_name);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CREATE_EVENT, o.cnn[config].exit_event_name);
|
||||
return(false);
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ int SetProcessPriority(DWORD *priority)
|
|||
else
|
||||
{
|
||||
/* unknown priority */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_UNKNOWN_PRIORITY, o.priority_string);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_UNKNOWN_PRIORITY, o.priority_string);
|
||||
return (false);
|
||||
}
|
||||
|
||||
|
@ -166,7 +166,7 @@ int StartOpenVPN(int config)
|
|||
if (is_connected)
|
||||
{
|
||||
/* only one simultanious connection on old version */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_ONLY_ONE_CONN_OLD_VERSION);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_ONE_CONN_OLD_VER);
|
||||
return(false);
|
||||
}
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ int StartOpenVPN(int config)
|
|||
if ((ConfigFileOptionExist(config, "log ")) ||
|
||||
(ConfigFileOptionExist(config, "log-append ")))
|
||||
{
|
||||
if (MessageBox(NULL, LoadLocalizedString(ERR_OPTION_LOG_IN_CONFIG), GUI_NAME, MB_YESNO | MB_DEFBUTTON2 | MB_ICONWARNING) != IDYES)
|
||||
if (MessageBox(NULL, LoadLocalizedString(IDS_ERR_OPTION_LOG_IN_CONFIG), GUI_NAME, MB_YESNO | MB_DEFBUTTON2 | MB_ICONWARNING) != IDYES)
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -195,7 +195,7 @@ int StartOpenVPN(int config)
|
|||
if ((o.append_string[0] != '0') && (o.append_string[0] != '1'))
|
||||
{
|
||||
/* append_log must be 0 or 1 */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_LOG_APPEND_BOOL, o.append_string);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_LOG_APPEND_BOOL, o.append_string);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -225,13 +225,13 @@ int StartOpenVPN(int config)
|
|||
if (!InitializeSecurityDescriptor (&sd, SECURITY_DESCRIPTOR_REVISION))
|
||||
{
|
||||
/* Init Sec. Desc. failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_INIT_SEC_DESC);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_INIT_SEC_DESC);
|
||||
goto failed;
|
||||
}
|
||||
if (!SetSecurityDescriptorDacl (&sd, TRUE, NULL, FALSE))
|
||||
{
|
||||
/* set Dacl failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_SET_SEC_DESC_ACL);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_SET_SEC_DESC_ACL);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -240,7 +240,7 @@ int StartOpenVPN(int config)
|
|||
if (!CreatePipe(&hOutputReadTmp,&hOutputWrite,&sa,0))
|
||||
{
|
||||
/* CreatePipe failed. */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_PIPE_OUTPUT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_PIPE_OUTPUT);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -252,7 +252,7 @@ int StartOpenVPN(int config)
|
|||
TRUE,DUPLICATE_SAME_ACCESS))
|
||||
{
|
||||
/* DuplicateHandle failed. */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_DUP_HANDLE_ERR_WRITE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_DUP_HANDLE_ERR_WRITE);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,7 @@ int StartOpenVPN(int config)
|
|||
if (!CreatePipe(&hInputRead,&hInputWriteTmp,&sa,0))
|
||||
{
|
||||
/* CreatePipe failed. */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_PIPE_INPUT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_PIPE_INPUT);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -275,7 +275,7 @@ int StartOpenVPN(int config)
|
|||
DUPLICATE_SAME_ACCESS))
|
||||
{
|
||||
/* Duplicate Handle failed. */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_DUP_HANDLE_OUTPUT_READ);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_DUP_HANDLE_OUT_READ);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -286,7 +286,7 @@ int StartOpenVPN(int config)
|
|||
DUPLICATE_SAME_ACCESS))
|
||||
{
|
||||
/* DuplicateHandle failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_DUP_HANDLE_INPUT_WRITE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_DUP_HANDLE_IN_WRITE);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -294,7 +294,7 @@ int StartOpenVPN(int config)
|
|||
if (!CloseHandle(hOutputReadTmp) || !CloseHandle(hInputWriteTmp))
|
||||
{
|
||||
/* Close Handle failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CLOSE_HANDLE_TMP);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CLOSE_HANDLE_TMP);
|
||||
CloseHandle (o.cnn[config].exit_event);
|
||||
return(0);
|
||||
}
|
||||
|
@ -325,7 +325,7 @@ int StartOpenVPN(int config)
|
|||
&proc_info))
|
||||
{
|
||||
/* CreateProcess failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CREATE_PROCESS,
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CREATE_PROCESS,
|
||||
o.exe_path,
|
||||
command_line,
|
||||
o.cnn[config].config_dir);
|
||||
|
@ -343,7 +343,7 @@ int StartOpenVPN(int config)
|
|||
!CloseHandle (hErrorWrite))
|
||||
{
|
||||
/* CloseHandle failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CLOSE_HANDLE);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CLOSE_HANDLE);
|
||||
CloseHandle (o.cnn[config].exit_event);
|
||||
return(false);
|
||||
}
|
||||
|
@ -367,7 +367,7 @@ int StartOpenVPN(int config)
|
|||
if (hThread == NULL)
|
||||
{
|
||||
/* CreateThread failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CREATE_THREAD_STATUS);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CREATE_THREAD_STATUS);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -398,7 +398,7 @@ void StopOpenVPN(int config)
|
|||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_RESTART), FALSE);
|
||||
SetMenuStatus(config, DISCONNECTING);
|
||||
/* UserInfo: waiting for OpenVPN termination... */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_WAIT_TERM));
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_WAIT_TERM));
|
||||
SetEvent(o.cnn[config].exit_event);
|
||||
}
|
||||
}
|
||||
|
@ -412,7 +412,7 @@ void SuspendOpenVPN(int config)
|
|||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_DISCONNECT), FALSE);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_RESTART), FALSE);
|
||||
SetMenuStatus(config, DISCONNECTING);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_WAIT_TERM));
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_WAIT_TERM));
|
||||
SetEvent(o.cnn[config].exit_event);
|
||||
}
|
||||
}
|
||||
|
@ -446,7 +446,7 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
|
||||
case WM_INITDIALOG:
|
||||
/* Set Window Icon "DisConnected" */
|
||||
SetStatusWinIcon(hwndDlg, APP_ICON_CONNECTING);
|
||||
SetStatusWinIcon(hwndDlg, ID_ICO_CONNECTING);
|
||||
|
||||
/* Create LogWindow */
|
||||
hwndLogWindow = CreateWindowEx (0, RICHEDIT_CLASS, NULL,
|
||||
|
@ -455,7 +455,7 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
ES_READONLY | ES_AUTOHSCROLL | ES_AUTOVSCROLL,
|
||||
20, 25, 350, 160, // Posision and Size
|
||||
hwndDlg, // Parent window handle
|
||||
(HMENU) EDIT_LOG, // hMenu
|
||||
(HMENU) ID_EDT_LOG, // hMenu
|
||||
o.hInstance, // hInstance
|
||||
NULL); // WM_CREATE lpParam
|
||||
|
||||
|
@ -463,7 +463,7 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
if (!hwndLogWindow)
|
||||
{
|
||||
/* Create RichEd LogWindow Failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_RICHED_LOGWINDOW);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_EDIT_LOGWINDOW);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -476,13 +476,13 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
strcpy(charformat.szFaceName, "MS Sans Serif");
|
||||
if ((SendMessage(hwndLogWindow, EM_SETCHARFORMAT, SCF_DEFAULT, (LPARAM) &charformat) && CFM_SIZE) == 0) {
|
||||
/* set size failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_SET_SIZE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_SET_SIZE);
|
||||
}
|
||||
|
||||
/* Set Size and Posision of controls */
|
||||
GetClientRect(hwndDlg, &rect);
|
||||
MoveWindow (hwndLogWindow, 20, 25, rect.right - 40, rect.bottom - 70, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, TEXT_STATUS), 20, 5, rect.right - 25, 15, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_TXT_STATUS), 20, 5, rect.right - 25, 15, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_DISCONNECT), 20, rect.bottom - 30, 90, 23, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_RESTART), 125, rect.bottom - 30, 90, 23, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_HIDE), rect.right - 110, rect.bottom - 30, 90, 23, TRUE);
|
||||
|
@ -493,7 +493,7 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
return FALSE;
|
||||
|
||||
case WM_SIZE:
|
||||
MoveWindow (GetDlgItem(hwndDlg, EDIT_LOG), 20, 25, LOWORD (lParam) - 40,
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_EDT_LOG), 20, 25, LOWORD (lParam) - 40,
|
||||
HIWORD (lParam) - 70, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_DISCONNECT), 20,
|
||||
HIWORD (lParam) - 30, 90, 23, TRUE);
|
||||
|
@ -501,21 +501,21 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
HIWORD (lParam) - 30, 90, 23, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_HIDE), LOWORD (lParam) - 110,
|
||||
HIWORD (lParam) - 30, 90, 23, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, TEXT_STATUS), 20, 5, LOWORD (lParam) - 25, 15, TRUE);
|
||||
MoveWindow (GetDlgItem(hwndDlg, ID_TXT_STATUS), 20, 5, LOWORD (lParam) - 25, 15, TRUE);
|
||||
InvalidateRect(hwndDlg, NULL, TRUE);
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
config=GetDlgItemInt(hwndDlg, TEXT_CONFIG, &Translated, FALSE);
|
||||
config=GetDlgItemInt(hwndDlg, ID_TXT_CONFIG, &Translated, FALSE);
|
||||
switch (LOWORD(wParam)) {
|
||||
|
||||
case ID_DISCONNECT:
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, EDIT_LOG));
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, ID_EDT_LOG));
|
||||
StopOpenVPN(config);
|
||||
return TRUE;
|
||||
|
||||
case ID_HIDE:
|
||||
if (o.cnn[GetDlgItemInt(hwndDlg, TEXT_CONFIG, &Translated, FALSE)].connect_status != DISCONNECTED)
|
||||
if (o.cnn[GetDlgItemInt(hwndDlg, ID_TXT_CONFIG, &Translated, FALSE)].connect_status != DISCONNECTED)
|
||||
{
|
||||
ShowWindow(hwndDlg, SW_HIDE);
|
||||
}
|
||||
|
@ -525,7 +525,7 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
}
|
||||
return TRUE;
|
||||
case ID_RESTART:
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, EDIT_LOG));
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, ID_EDT_LOG));
|
||||
o.cnn[config].restart = true;
|
||||
StopOpenVPN(config);
|
||||
return TRUE;
|
||||
|
@ -535,14 +535,14 @@ BOOL CALLBACK StatusDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||
case WM_SHOWWINDOW:
|
||||
if (wParam == TRUE)
|
||||
{
|
||||
config=GetDlgItemInt(hwndDlg, TEXT_CONFIG, &Translated, FALSE);
|
||||
config=GetDlgItemInt(hwndDlg, ID_TXT_CONFIG, &Translated, FALSE);
|
||||
if (o.cnn[config].hwndStatus)
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, EDIT_LOG));
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, ID_EDT_LOG));
|
||||
}
|
||||
return FALSE;
|
||||
|
||||
case WM_CLOSE:
|
||||
if (o.cnn[GetDlgItemInt(hwndDlg, TEXT_CONFIG, &Translated, FALSE)].connect_status != DISCONNECTED)
|
||||
if (o.cnn[GetDlgItemInt(hwndDlg, ID_TXT_CONFIG, &Translated, FALSE)].connect_status != DISCONNECTED)
|
||||
{
|
||||
ShowWindow(hwndDlg, SW_HIDE);
|
||||
}
|
||||
|
@ -601,7 +601,7 @@ int VerifyAutoConnections()
|
|||
if (match == false)
|
||||
{
|
||||
/* autostart config not found */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_AUTOSTART_CONF_NOT_FOUND, o.auto_connect[i]);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_AUTOSTART_CONF, o.auto_connect[i]);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -651,7 +651,7 @@ int CheckVersion()
|
|||
else
|
||||
{
|
||||
/* CreateEvent failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_VERSION_CREATE_EVENT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_VERSION_CREATE_EVENT);
|
||||
return(false);
|
||||
}
|
||||
}
|
||||
|
@ -677,13 +677,13 @@ int CheckVersion()
|
|||
if (!InitializeSecurityDescriptor (&sd, SECURITY_DESCRIPTOR_REVISION))
|
||||
{
|
||||
/* Init Sec. Desc. failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_INIT_SEC_DESC);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_INIT_SEC_DESC);
|
||||
return(0);
|
||||
}
|
||||
if (!SetSecurityDescriptorDacl (&sd, TRUE, NULL, FALSE))
|
||||
{
|
||||
/* Set Dacl failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_SET_SEC_DESC_ACL);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_SET_SEC_DESC_ACL);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -691,7 +691,7 @@ int CheckVersion()
|
|||
if (!CreatePipe(&hInputRead,&hInputWriteTmp,&sa,0))
|
||||
{
|
||||
/* create pipe failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_PIPE_INPUT_READ);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_PIPE_IN_READ);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -699,7 +699,7 @@ int CheckVersion()
|
|||
if (!CreatePipe(&hOutputReadTmp,&hOutputWrite,&sa,0))
|
||||
{
|
||||
/* CreatePipe failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_PIPE_OUTPUT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_PIPE_OUTPUT);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -710,7 +710,7 @@ int CheckVersion()
|
|||
DUPLICATE_SAME_ACCESS))
|
||||
{
|
||||
/* DuplicateHandle failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_DUP_HANDLE_OUTPUT_READ);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_DUP_HANDLE_OUT_READ);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -721,7 +721,7 @@ int CheckVersion()
|
|||
DUPLICATE_SAME_ACCESS))
|
||||
{
|
||||
/* DuplicateHandle failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_DUP_HANDLE_INPUT_WRITE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_DUP_HANDLE_IN_WRITE);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -730,7 +730,7 @@ int CheckVersion()
|
|||
if (!CloseHandle(hOutputReadTmp) || !CloseHandle(hInputWriteTmp))
|
||||
{
|
||||
/* CloseHandle failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CLOSE_HANDLE_TMP);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CLOSE_HANDLE_TMP);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -756,7 +756,7 @@ int CheckVersion()
|
|||
&proc_info))
|
||||
{
|
||||
/* CreateProcess failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CREATE_PROCESS,
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CREATE_PROCESS,
|
||||
o.exe_path,
|
||||
command_line,
|
||||
bin_path);
|
||||
|
@ -839,7 +839,7 @@ int CheckVersion()
|
|||
|| !CloseHandle (hInputRead) || !CloseHandle(exit_event))
|
||||
{
|
||||
/* CloseHandle failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CLOSE_HANDLE);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CLOSE_HANDLE);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -899,23 +899,23 @@ void ThreadOpenVPNStatus(int config)
|
|||
if (o.cnn[config].restart)
|
||||
{
|
||||
/* UserInfo: Connecting */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_CONNECTING));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, APP_ICON_CONNECTING);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_CONNECTING));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, ID_ICO_CONNECTING);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_DISCONNECT), TRUE);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_RESTART), TRUE);
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, EDIT_LOG));
|
||||
SetFocus(GetDlgItem(o.cnn[config].hwndStatus, ID_EDT_LOG));
|
||||
o.cnn[config].restart = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Create and Show Status Dialog */
|
||||
o.cnn[config].hwndStatus = CreateLocalizedDialog(IDD_STATUS, StatusDialogFunc);
|
||||
o.cnn[config].hwndStatus = CreateLocalizedDialog(ID_DLG_STATUS, StatusDialogFunc);
|
||||
if (!o.cnn[config].hwndStatus)
|
||||
ExitThread(1);
|
||||
/* UserInfo: Connecting */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_CONNECTING));
|
||||
SetDlgItemInt(o.cnn[config].hwndStatus, TEXT_CONFIG, (UINT)config, FALSE);
|
||||
SetWindowText(o.cnn[config].hwndStatus, LoadLocalizedString(INFO_CONNECTION_XXX, conn_name));
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_CONNECTING));
|
||||
SetDlgItemInt(o.cnn[config].hwndStatus, ID_TXT_CONFIG, (UINT)config, FALSE);
|
||||
SetWindowText(o.cnn[config].hwndStatus, LoadLocalizedString(IDS_NFO_CONNECTION_XXX, conn_name));
|
||||
|
||||
if (o.silent_connection[0]=='0')
|
||||
ShowWindow(o.cnn[config].hwndStatus, SW_SHOW);
|
||||
|
@ -930,7 +930,7 @@ void ThreadOpenVPNStatus(int config)
|
|||
if (hThread == NULL)
|
||||
{
|
||||
/* CreateThread failed */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CREATE_THREAD_READ_STDOUT);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_THREAD_READ_STDOUT);
|
||||
ExitThread(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ int AddConfigFileToList(int config, char filename[], char config_dir[])
|
|||
if (!modext (log_file, sizeof (log_file), o.cnn[config].config_file, "log"))
|
||||
{
|
||||
/* cannot construct logfile-name */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CANNOT_CONSTRUCT_LOG, o.cnn[config].config_file);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_LOG_CONSTRUCT, o.cnn[config].config_file);
|
||||
return(false);
|
||||
}
|
||||
mysnprintf (o.cnn[config].log_path, "%s\\%s", o.log_dir, log_file);
|
||||
|
@ -170,7 +170,7 @@ BuildFileList()
|
|||
if (o.num_configs >= MAX_CONFIGS)
|
||||
{
|
||||
/* too many configs */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_TO_MANY_CONFIGS, MAX_CONFIGS);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_MANY_CONFIGS, MAX_CONFIGS);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -219,7 +219,7 @@ BuildFileList()
|
|||
if (o.num_configs >= MAX_CONFIGS)
|
||||
{
|
||||
/* too many configs */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_TO_MANY_CONFIGS, MAX_CONFIGS);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_MANY_CONFIGS, MAX_CONFIGS);
|
||||
FindClose (find_handle);
|
||||
return(true);
|
||||
}
|
||||
|
@ -236,7 +236,7 @@ BuildFileList()
|
|||
else
|
||||
{
|
||||
/* Config filename already exists */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CONFIG_ALREADY_EXIST, find_obj.cFileName);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CONFIG_EXIST, find_obj.cFileName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ int ReadLineFromStdOut(HANDLE hStdOut, int config, char *line)
|
|||
else
|
||||
{
|
||||
/* error reading from pipe */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_READ_STDOUT_PIPE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_READ_STDOUT_PIPE);
|
||||
return(-1);
|
||||
}
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ int ReadLineFromStdOut(HANDLE hStdOut, int config, char *line)
|
|||
else
|
||||
{
|
||||
/* error reading from pipe */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_READ_STDOUT_PIPE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_READ_STDOUT_PIPE);
|
||||
return(-1);
|
||||
}
|
||||
}
|
||||
|
@ -214,16 +214,16 @@ void monitor_openvpnlog_while_connecting(int config, char *line)
|
|||
o.cnn[config].failed_psw_attempts = 0;
|
||||
|
||||
/* UserInfo: Connected */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_CONNECTED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, APP_ICON_CONNECTED);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_CONNECTED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, ID_ICO_CONNECTED);
|
||||
|
||||
/* Show Tray Balloon msg */
|
||||
if (o.show_balloon[0] != '0')
|
||||
{
|
||||
LoadLocalizedStringBuf(msg, sizeof(msg)/sizeof(*msg), INFO_NOW_CONNECTED, o.cnn[config].config_name);
|
||||
LoadLocalizedStringBuf(msg, sizeof(msg)/sizeof(*msg), IDS_NFO_NOW_CONNECTED, o.cnn[config].config_name);
|
||||
if (strlen(o.cnn[config].ip) > 0)
|
||||
{
|
||||
ShowTrayBalloon(msg, LoadLocalizedString(INFO_ASSIG_IP, o.cnn[config].ip));
|
||||
ShowTrayBalloon(msg, LoadLocalizedString(IDS_NFO_ASSIGN_IP, o.cnn[config].ip));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -252,7 +252,7 @@ void monitor_openvpnlog_while_connecting(int config, char *line)
|
|||
{
|
||||
StopOpenVPN(config);
|
||||
/* Cert expired... */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CERT_EXPIRED);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CERT_EXPIRED);
|
||||
}
|
||||
|
||||
/* Check for "certificate is not yet valid" message */
|
||||
|
@ -260,7 +260,7 @@ void monitor_openvpnlog_while_connecting(int config, char *line)
|
|||
{
|
||||
StopOpenVPN(config);
|
||||
/* Cert not yet valid */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CERT_NOT_YET_VALID);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CERT_NOT_YET_VALID);
|
||||
}
|
||||
|
||||
/* Check for "Notified TAP-Win32 driver to set a DHCP IP" message */
|
||||
|
@ -287,8 +287,8 @@ void monitor_openvpnlog_while_connected(int config, char *line)
|
|||
CheckAndSetTrayIcon();
|
||||
|
||||
/* Set Status Window Controls "ReConnecting" */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_RECONNECTING));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, APP_ICON_CONNECTING);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_RECONNECTING));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, ID_ICO_CONNECTING);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -308,16 +308,16 @@ void monitor_openvpnlog_while_reconnecting(int config, char *line)
|
|||
SetTrayIcon(CONNECTED);
|
||||
|
||||
/* Set Status Window Controls "Connected" */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_CONNECTED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, APP_ICON_CONNECTED);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_CONNECTED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, ID_ICO_CONNECTED);
|
||||
|
||||
/* Show Tray Balloon msg */
|
||||
if (o.show_balloon[0] == '2')
|
||||
{
|
||||
LoadLocalizedStringBuf(msg, sizeof(msg)/sizeof(*msg), INFO_NOW_CONNECTED, o.cnn[config].config_name);
|
||||
LoadLocalizedStringBuf(msg, sizeof(msg)/sizeof(*msg), IDS_NFO_NOW_CONNECTED, o.cnn[config].config_name);
|
||||
if (strlen(o.cnn[config].ip) > 0)
|
||||
{
|
||||
ShowTrayBalloon(msg, LoadLocalizedString(INFO_ASSIG_IP, o.cnn[config].ip));
|
||||
ShowTrayBalloon(msg, LoadLocalizedString(IDS_NFO_ASSIGN_IP, o.cnn[config].ip));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -343,7 +343,7 @@ void monitor_openvpnlog_while_reconnecting(int config, char *line)
|
|||
{
|
||||
/* Cert expired */
|
||||
StopOpenVPN(config);
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CERT_EXPIRED);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CERT_EXPIRED);
|
||||
}
|
||||
|
||||
/* Check for "certificate is not yet valid" message */
|
||||
|
@ -351,7 +351,7 @@ void monitor_openvpnlog_while_reconnecting(int config, char *line)
|
|||
{
|
||||
StopOpenVPN(config);
|
||||
/* Cert not yet valid */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CERT_NOT_YET_VALID);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CERT_NOT_YET_VALID);
|
||||
}
|
||||
|
||||
/* Check for "Notified TAP-Win32 driver to set a DHCP IP" message */
|
||||
|
@ -401,9 +401,9 @@ void WatchOpenVPNProcess(int config)
|
|||
|
||||
/* Open log file */
|
||||
if ((fd=fopen(o.cnn[config].log_path, filemode)) == NULL)
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_OPEN_LOG_WRITE, o.cnn[config].log_path);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_OPEN_LOG_WRITE, o.cnn[config].log_path);
|
||||
|
||||
LogWindow = GetDlgItem(o.cnn[config].hwndStatus, EDIT_LOG);
|
||||
LogWindow = GetDlgItem(o.cnn[config].hwndStatus, ID_EDT_LOG);
|
||||
while(TRUE)
|
||||
{
|
||||
if ((ret=ReadLineFromStdOut(o.cnn[config].hStdOut, config, line)) == 1)
|
||||
|
@ -481,13 +481,13 @@ void WatchOpenVPNProcess(int config)
|
|||
CheckAndSetTrayIcon();
|
||||
|
||||
/* Show Status Window */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_DISCONNECTED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, APP_ICON_DISCONNECTED);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_DISCONNECTED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, ID_ICO_DISCONNECTED);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_DISCONNECT), FALSE);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_RESTART), FALSE);
|
||||
SetForegroundWindow(o.cnn[config].hwndStatus);
|
||||
ShowWindow(o.cnn[config].hwndStatus, SW_SHOW);
|
||||
ShowLocalizedMsg(GUI_NAME, INFO_CONN_TERMINATED, o.cnn[config].config_name);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_NFO_CONN_TERMINATED, o.cnn[config].config_name);
|
||||
|
||||
/* Close Status Window */
|
||||
SendMessage(o.cnn[config].hwndStatus, WM_CLOSE, 0, 0);
|
||||
|
@ -512,8 +512,8 @@ void WatchOpenVPNProcess(int config)
|
|||
else
|
||||
{
|
||||
/* Show Status Window */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_FAILED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, APP_ICON_DISCONNECTED);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_FAILED));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, ID_ICO_DISCONNECTED);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_DISCONNECT), FALSE);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_RESTART), FALSE);
|
||||
SetForegroundWindow(o.cnn[config].hwndStatus);
|
||||
|
@ -522,7 +522,7 @@ void WatchOpenVPNProcess(int config)
|
|||
/* Zero psw attempt counter */
|
||||
o.cnn[config].failed_psw_attempts = 0;
|
||||
|
||||
ShowLocalizedMsg(GUI_NAME, INFO_CONN_FAILED, o.cnn[config].config_name);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_NFO_CONN_FAILED, o.cnn[config].config_name);
|
||||
|
||||
/* Set connect_status = "Not Connected" */
|
||||
o.cnn[config].connect_status=DISCONNECTED;
|
||||
|
@ -555,8 +555,8 @@ void WatchOpenVPNProcess(int config)
|
|||
else
|
||||
{
|
||||
/* Show Status Window */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_FAILED_RECONN));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, APP_ICON_DISCONNECTED);
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_FAILED_RECONN));
|
||||
SetStatusWinIcon(o.cnn[config].hwndStatus, ID_ICO_DISCONNECTED);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_DISCONNECT), FALSE);
|
||||
EnableWindow(GetDlgItem(o.cnn[config].hwndStatus, ID_RESTART), FALSE);
|
||||
SetForegroundWindow(o.cnn[config].hwndStatus);
|
||||
|
@ -565,7 +565,7 @@ void WatchOpenVPNProcess(int config)
|
|||
/* Zero psw attempt counter */
|
||||
o.cnn[config].failed_psw_attempts = 0;
|
||||
|
||||
ShowLocalizedMsg(GUI_NAME, INFO_RECONN_FAILED, o.cnn[config].config_name);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_NFO_RECONN_FAILED, o.cnn[config].config_name);
|
||||
|
||||
/* Set connect_status = "Not Connected" */
|
||||
o.cnn[config].connect_status=DISCONNECTED;
|
||||
|
@ -610,7 +610,7 @@ void WatchOpenVPNProcess(int config)
|
|||
|
||||
/* Set connect_status = "SUSPENDED" */
|
||||
o.cnn[config].connect_status=SUSPENDED;
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_SUSPENDED));
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_SUSPENDED));
|
||||
|
||||
/* Change tray icon if no more connections is running */
|
||||
CheckAndSetTrayIcon();
|
||||
|
|
12
options.c
12
options.c
|
@ -144,8 +144,8 @@ add_option (struct options *options,
|
|||
{
|
||||
TCHAR usagecaption[200];
|
||||
|
||||
LoadLocalizedStringBuf(usagecaption, sizeof(usagecaption)/sizeof(*usagecaption), INFO_USAGECAPTION);
|
||||
MessageBox(NULL, LoadLocalizedString(INFO_USAGE), usagecaption, MB_OK);
|
||||
LoadLocalizedStringBuf(usagecaption, sizeof(usagecaption)/sizeof(*usagecaption), IDS_NFO_USAGECAPTION);
|
||||
MessageBox(NULL, LoadLocalizedString(IDS_NFO_USAGE), usagecaption, MB_OK);
|
||||
exit(0);
|
||||
}
|
||||
else if (streq (p[0], "connect") && p[1])
|
||||
|
@ -155,7 +155,7 @@ add_option (struct options *options,
|
|||
if (auto_connect_nr == MAX_CONFIGS)
|
||||
{
|
||||
/* Too many configs */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_TO_MANY_CONFIGS, MAX_CONFIGS);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_MANY_CONFIGS, MAX_CONFIGS);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -267,7 +267,7 @@ add_option (struct options *options,
|
|||
else
|
||||
{
|
||||
/* Unrecognized option or missing parameter */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_BAD_OPTION, p[0]);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_BAD_OPTION, p[0]);
|
||||
exit(1);
|
||||
}
|
||||
return i;
|
||||
|
@ -289,7 +289,7 @@ parse_argv (struct options* options,
|
|||
if (strncmp(p[0], "--", 2))
|
||||
{
|
||||
/* Missing -- before option. */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_BAD_PARAMETER, p[0]);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_BAD_PARAMETER, p[0]);
|
||||
exit(0);
|
||||
}
|
||||
else
|
||||
|
@ -328,7 +328,7 @@ int ConfigFileOptionExist(int config, const char *option)
|
|||
if (!(fp=fopen(configfile_path, "r")))
|
||||
{
|
||||
/* can't open config file */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_CONFIG, configfile_path);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_CONFIG, configfile_path);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
|
118
passphrase.c
118
passphrase.c
|
@ -73,7 +73,7 @@ void CheckPrivateKeyPassphrasePrompt (char *line, int config)
|
|||
if (strncmp(line, "Enter PEM pass phrase:", 22) == 0)
|
||||
{
|
||||
CLEAR(passphrase);
|
||||
if (LocalizedDialogBox(IDD_PASSPHRASE, PassphraseDialogFunc) == IDCANCEL)
|
||||
if (LocalizedDialogBox(ID_DLG_PASSPHRASE, PassphraseDialogFunc) == IDCANCEL)
|
||||
{
|
||||
StopOpenVPN(config);
|
||||
}
|
||||
|
@ -87,14 +87,14 @@ void CheckPrivateKeyPassphrasePrompt (char *line, int config)
|
|||
strlen(passphrase_ascii), &nCharsWritten, NULL))
|
||||
{
|
||||
/* PassPhrase -> stdin failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_PASSPHRASE2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_PASSPHRASE2STDIN);
|
||||
}
|
||||
}
|
||||
if (!WriteFile(o.cnn[config].hStdIn, "\r\n",
|
||||
2, &nCharsWritten, NULL))
|
||||
{
|
||||
/* CR -> stdin failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CR2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CR2STDIN);
|
||||
}
|
||||
/* Remove Passphrase prompt from lastline buffer */
|
||||
line[0]='\0';
|
||||
|
@ -108,7 +108,7 @@ void CheckPrivateKeyPassphrasePrompt (char *line, int config)
|
|||
if (strncmp(line, "Enter Private Key Password:", 27) == 0)
|
||||
{
|
||||
CLEAR(passphrase);
|
||||
if (LocalizedDialogBox(IDD_PASSPHRASE, PassphraseDialogFunc) == IDCANCEL)
|
||||
if (LocalizedDialogBox(ID_DLG_PASSPHRASE, PassphraseDialogFunc) == IDCANCEL)
|
||||
{
|
||||
StopOpenVPN(config);
|
||||
}
|
||||
|
@ -122,7 +122,7 @@ void CheckPrivateKeyPassphrasePrompt (char *line, int config)
|
|||
strlen(passphrase_ascii), &nCharsWritten, NULL))
|
||||
{
|
||||
/* PassPhrase -> stdin failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_PASSPHRASE2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_PASSPHRASE2STDIN);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -131,7 +131,7 @@ void CheckPrivateKeyPassphrasePrompt (char *line, int config)
|
|||
1, &nCharsWritten, NULL))
|
||||
{
|
||||
/* CR -> stdin failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CR2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CR2STDIN);
|
||||
}
|
||||
}
|
||||
/* Remove Passphrase prompt from lastline buffer */
|
||||
|
@ -153,7 +153,7 @@ void CheckAuthUsernamePrompt (char *line, int config)
|
|||
if (strncmp(line, "Enter Auth Username:", 20) == 0)
|
||||
{
|
||||
CLEAR(user_auth);
|
||||
if (LocalizedDialogBoxParam(IDD_AUTH_PASSWORD, AuthPasswordDialogFunc,
|
||||
if (LocalizedDialogBoxParam(ID_DLG_AUTH, AuthPasswordDialogFunc,
|
||||
(LPARAM)&user_auth) == IDCANCEL)
|
||||
{
|
||||
StopOpenVPN(config);
|
||||
|
@ -164,7 +164,7 @@ void CheckAuthUsernamePrompt (char *line, int config)
|
|||
if (!WriteFile(o.cnn[config].hStdIn, user_auth.username,
|
||||
strlen(user_auth.username), &nCharsWritten, NULL))
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_AUTH_USERNAME2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_AUTH_USERNAME2STDIN);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -172,7 +172,7 @@ void CheckAuthUsernamePrompt (char *line, int config)
|
|||
if (!WriteFile(o.cnn[config].hStdIn, "\n",
|
||||
1, &nCharsWritten, NULL))
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CR2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CR2STDIN);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -181,7 +181,7 @@ void CheckAuthUsernamePrompt (char *line, int config)
|
|||
if (!WriteFile(o.cnn[config].hStdIn, user_auth.password,
|
||||
strlen(user_auth.password), &nCharsWritten, NULL))
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_AUTH_PASSWORD2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_AUTH_PASSWORD2STDIN);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -189,7 +189,7 @@ void CheckAuthUsernamePrompt (char *line, int config)
|
|||
if (!WriteFile(o.cnn[config].hStdIn, "\n",
|
||||
1, &nCharsWritten, NULL))
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CR2STDIN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CR2STDIN);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -229,10 +229,10 @@ BOOL CALLBACK PassphraseDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UNUSE
|
|||
switch (LOWORD(wParam)) {
|
||||
|
||||
case IDOK: // button
|
||||
GetDlgItemTextW(hwndDlg, EDIT_PASSPHRASE, passphrase, sizeof(passphrase)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, ID_EDT_PASSPHRASE, passphrase, sizeof(passphrase)/2 - 1);
|
||||
|
||||
/* Clear buffer */
|
||||
SetDlgItemText(hwndDlg, EDIT_PASSPHRASE, empty_string);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PASSPHRASE, empty_string);
|
||||
|
||||
EndDialog(hwndDlg, LOWORD(wParam));
|
||||
return TRUE;
|
||||
|
@ -268,16 +268,16 @@ BOOL CALLBACK AuthPasswordDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPA
|
|||
switch (LOWORD(wParam)) {
|
||||
|
||||
case IDOK: // button
|
||||
GetDlgItemTextW(hwndDlg, EDIT_AUTH_USERNAME, username_unicode, sizeof(username_unicode)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, EDIT_AUTH_PASSWORD, password_unicode, sizeof(password_unicode)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, ID_EDT_AUTH_USER, username_unicode, sizeof(username_unicode)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, ID_EDT_AUTH_PASS, password_unicode, sizeof(password_unicode)/2 - 1);
|
||||
|
||||
/* Convert username/password from Unicode to Ascii (CP850) */
|
||||
ConvertUnicode2Ascii(username_unicode, user_auth->username, sizeof(user_auth->username) - 1);
|
||||
ConvertUnicode2Ascii(password_unicode, user_auth->password, sizeof(user_auth->password) - 1);
|
||||
|
||||
/* Clear buffers */
|
||||
SetDlgItemText(hwndDlg, EDIT_AUTH_USERNAME, empty_string);
|
||||
SetDlgItemText(hwndDlg, EDIT_AUTH_PASSWORD, empty_string);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_AUTH_USER, empty_string);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_AUTH_PASS, empty_string);
|
||||
|
||||
EndDialog(hwndDlg, LOWORD(wParam));
|
||||
return TRUE;
|
||||
|
@ -314,7 +314,7 @@ void ShowChangePassphraseDialog(int config)
|
|||
if (hThread == NULL)
|
||||
{
|
||||
/* error creating thread */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_CREATE_PASS_THREAD);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_CREATE_PASS_THREAD);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -339,13 +339,13 @@ void ChangePassphraseThread(int config)
|
|||
}
|
||||
|
||||
/* Show ChangePassphrase Dialog */
|
||||
hwndChangePSW = CreateLocalizedDialog(IDD_CHANGEPSW, ChangePassphraseDialogFunc);
|
||||
hwndChangePSW = CreateLocalizedDialog(ID_DLG_CHGPASS, ChangePassphraseDialogFunc);
|
||||
if (!hwndChangePSW)
|
||||
return;
|
||||
SetDlgItemText(hwndChangePSW, TEXT_KEYFILE, keyfilename);
|
||||
SetDlgItemInt(hwndChangePSW, TEXT_KEYFORMAT, (UINT) keyfile_format, FALSE);
|
||||
SetDlgItemText(hwndChangePSW, ID_TXT_KEYFILE, keyfilename);
|
||||
SetDlgItemInt(hwndChangePSW, ID_TXT_KEYFORMAT, (UINT) keyfile_format, FALSE);
|
||||
|
||||
SetWindowText(hwndChangePSW, LoadLocalizedString(INFO_CHANGE_PWD, conn_name));
|
||||
SetWindowText(hwndChangePSW, LoadLocalizedString(IDS_NFO_CHANGE_PWD, conn_name));
|
||||
|
||||
ShowWindow(hwndChangePSW, SW_SHOW);
|
||||
|
||||
|
@ -373,7 +373,7 @@ BOOL CALLBACK ChangePassphraseDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam,
|
|||
switch (msg) {
|
||||
|
||||
case WM_INITDIALOG:
|
||||
hIcon = LoadLocalizedIcon(APP_ICON);
|
||||
hIcon = LoadLocalizedIcon(ID_ICO_APP);
|
||||
if (hIcon) {
|
||||
SendMessage(hwndDlg, WM_SETICON, (WPARAM) (ICON_SMALL), (LPARAM) (hIcon));
|
||||
SendMessage(hwndDlg, WM_SETICON, (WPARAM) (ICON_BIG), (LPARAM) (hIcon));
|
||||
|
@ -389,26 +389,26 @@ BOOL CALLBACK ChangePassphraseDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam,
|
|||
if (!ConfirmNewPassword (hwndDlg))
|
||||
{
|
||||
/* passwords don't match */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_PWD_DONT_MATCH);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_PWD_DONT_MATCH);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Check minimum length of password */
|
||||
if (NewPasswordLengh(hwndDlg) < MIN_PASSWORD_LEN)
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_PWD_TO_SHORT, MIN_PASSWORD_LEN);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_PWD_TO_SHORT, MIN_PASSWORD_LEN);
|
||||
break;
|
||||
}
|
||||
|
||||
/* Check if the new password is empty. */
|
||||
if (NewPasswordLengh(hwndDlg) == 0)
|
||||
{
|
||||
if (MessageBox(NULL, LoadLocalizedString(INFO_EMPTY_PWD), GUI_NAME, MB_YESNO) != IDYES)
|
||||
if (MessageBox(NULL, LoadLocalizedString(IDS_NFO_EMPTY_PWD), GUI_NAME, MB_YESNO) != IDYES)
|
||||
break;
|
||||
}
|
||||
|
||||
GetDlgItemText(hwndDlg, TEXT_KEYFILE, keyfile, sizeof(keyfile) - 1);
|
||||
keyfile_format=GetDlgItemInt(hwndDlg, TEXT_KEYFORMAT, &Translated, FALSE);
|
||||
GetDlgItemText(hwndDlg, ID_TXT_KEYFILE, keyfile, sizeof(keyfile) - 1);
|
||||
keyfile_format=GetDlgItemInt(hwndDlg, ID_TXT_KEYFORMAT, &Translated, FALSE);
|
||||
if (keyfile_format == KEYFILE_FORMAT_PEM)
|
||||
{
|
||||
/* Change password of a PEM file */
|
||||
|
@ -424,7 +424,7 @@ BOOL CALLBACK ChangePassphraseDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam,
|
|||
else
|
||||
{
|
||||
/* Unknown key format */
|
||||
ShowLocalizedMsg (GUI_NAME, ERR_UNKNOWN_KEYFILE_FORMAT);
|
||||
ShowLocalizedMsg (GUI_NAME, IDS_ERR_UNKNOWN_KEYFILE_FORMAT);
|
||||
}
|
||||
|
||||
DestroyWindow(hwndDlg);
|
||||
|
@ -457,8 +457,8 @@ int ConfirmNewPassword(HWND hwndDlg)
|
|||
char newpsw[50];
|
||||
char newpsw2[50];
|
||||
|
||||
GetDlgItemText(hwndDlg, EDIT_PSW_NEW, newpsw, sizeof(newpsw) - 1);
|
||||
GetDlgItemText(hwndDlg, EDIT_PSW_NEW2, newpsw2, sizeof(newpsw2) - 1);
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PASS_NEW, newpsw, sizeof(newpsw) - 1);
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PASS_NEW2, newpsw2, sizeof(newpsw2) - 1);
|
||||
|
||||
if (strncmp(newpsw, newpsw2, sizeof(newpsw)) == 0)
|
||||
return true;
|
||||
|
@ -471,7 +471,7 @@ int NewPasswordLengh(HWND hwndDlg)
|
|||
{
|
||||
char newpsw[50];
|
||||
|
||||
GetDlgItemText(hwndDlg, EDIT_PSW_NEW, newpsw, sizeof(newpsw) - 1);
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PASS_NEW, newpsw, sizeof(newpsw) - 1);
|
||||
|
||||
return (strlen(newpsw));
|
||||
}
|
||||
|
@ -582,7 +582,7 @@ int ParseKeyFilenameLine(int config, char *keyfilename, unsigned int keyfilename
|
|||
if (j >= (keyfilenamesize - 1))
|
||||
{
|
||||
/* key filename to long */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_KEY_FILENAME_TO_LONG);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_KEY_FILENAME_TO_LONG);
|
||||
return(0);
|
||||
}
|
||||
i++;
|
||||
|
@ -621,15 +621,15 @@ int ChangePasswordPEM(HWND hwndDlg)
|
|||
EVP_PKEY *privkey;
|
||||
|
||||
/* Get filename, old_psw and new_psw from Dialog */
|
||||
GetDlgItemText(hwndDlg, TEXT_KEYFILE, keyfile, sizeof(keyfile) - 1);
|
||||
GetDlgItemTextW(hwndDlg, EDIT_PSW_CURRENT, oldpsw_unicode, sizeof(oldpsw_unicode)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, EDIT_PSW_NEW, newpsw_unicode, sizeof(newpsw_unicode)/2 - 1);
|
||||
GetDlgItemText(hwndDlg, ID_TXT_KEYFILE, keyfile, sizeof(keyfile) - 1);
|
||||
GetDlgItemTextW(hwndDlg, ID_EDT_PASS_CUR, oldpsw_unicode, sizeof(oldpsw_unicode)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, ID_EDT_PASS_NEW, newpsw_unicode, sizeof(newpsw_unicode)/2 - 1);
|
||||
|
||||
/* Convert Unicode to ASCII (CP850) */
|
||||
ConvertUnicode2Ascii(oldpsw_unicode, oldpsw, sizeof(oldpsw));
|
||||
if (!ConvertUnicode2Ascii(newpsw_unicode, newpsw, sizeof(newpsw)))
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_INVALID_CHARS_IN_PSW);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_INVALID_CHARS_IN_PSW);
|
||||
return(-1);
|
||||
}
|
||||
|
||||
|
@ -639,7 +639,7 @@ int ChangePasswordPEM(HWND hwndDlg)
|
|||
if (! (fp = fopen (keyfile, "r")))
|
||||
{
|
||||
/* can't open key file */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_PRIVATE_KEY_FILE, keyfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_PRIVATE_KEY_FILE, keyfile);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -647,7 +647,7 @@ int ChangePasswordPEM(HWND hwndDlg)
|
|||
if (! (privkey = PEM_read_PrivateKey (fp, NULL, NULL, oldpsw)))
|
||||
{
|
||||
/* wrong password */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OLD_PWD_INCORRECT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OLD_PWD_INCORRECT);
|
||||
fclose(fp);
|
||||
return(-1);
|
||||
}
|
||||
|
@ -658,7 +658,7 @@ int ChangePasswordPEM(HWND hwndDlg)
|
|||
if (! (fp = fopen (keyfile, "w")))
|
||||
{
|
||||
/* can't open file rw */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_WRITE_KEY, keyfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_WRITE_KEY, keyfile);
|
||||
EVP_PKEY_free(privkey);
|
||||
return(0);
|
||||
}
|
||||
|
@ -672,7 +672,7 @@ int ChangePasswordPEM(HWND hwndDlg)
|
|||
0, 0, NULL)))
|
||||
{
|
||||
/* error writing new key */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_WRITE_NEW_KEY, keyfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_WRITE_NEW_KEY, keyfile);
|
||||
EVP_PKEY_free(privkey);
|
||||
fclose(fp);
|
||||
return(0);
|
||||
|
@ -686,7 +686,7 @@ int ChangePasswordPEM(HWND hwndDlg)
|
|||
(UCHAR*) newpsw, (int) strlen(newpsw), 0, NULL)))
|
||||
{
|
||||
/* can't write new key */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_WRITE_NEW_KEY, keyfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_WRITE_NEW_KEY, keyfile);
|
||||
EVP_PKEY_free(privkey);
|
||||
fclose(fp);
|
||||
return(0);
|
||||
|
@ -697,7 +697,7 @@ int ChangePasswordPEM(HWND hwndDlg)
|
|||
fclose(fp);
|
||||
|
||||
/* signal success to user */
|
||||
ShowLocalizedMsg(GUI_NAME, INFO_PWD_CHANGED);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_NFO_PWD_CHANGED);
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
@ -723,15 +723,15 @@ int ChangePasswordPKCS12(HWND hwndDlg)
|
|||
char *alias;
|
||||
|
||||
/* Get filename, old_psw and new_psw from Dialog */
|
||||
GetDlgItemText(hwndDlg, TEXT_KEYFILE, keyfile, sizeof(keyfile) - 1);
|
||||
GetDlgItemTextW(hwndDlg, EDIT_PSW_CURRENT, oldpsw_unicode, sizeof(oldpsw_unicode)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, EDIT_PSW_NEW, newpsw_unicode, sizeof(newpsw_unicode)/2 - 1);
|
||||
GetDlgItemText(hwndDlg, ID_TXT_KEYFILE, keyfile, sizeof(keyfile) - 1);
|
||||
GetDlgItemTextW(hwndDlg, ID_EDT_PASS_CUR, oldpsw_unicode, sizeof(oldpsw_unicode)/2 - 1);
|
||||
GetDlgItemTextW(hwndDlg, ID_EDT_PASS_NEW, newpsw_unicode, sizeof(newpsw_unicode)/2 - 1);
|
||||
|
||||
/* Convert Unicode to ASCII (CP850) */
|
||||
ConvertUnicode2Ascii(oldpsw_unicode, oldpsw, sizeof(oldpsw));
|
||||
if (!ConvertUnicode2Ascii(newpsw_unicode, newpsw, sizeof(newpsw)))
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_INVALID_CHARS_IN_PSW);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_INVALID_CHARS_IN_PSW);
|
||||
return(-1);
|
||||
}
|
||||
|
||||
|
@ -739,7 +739,7 @@ int ChangePasswordPKCS12(HWND hwndDlg)
|
|||
if (!(fp = fopen(keyfile, "rb")))
|
||||
{
|
||||
/* error opening file */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_PRIVATE_KEY_FILE, keyfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_PRIVATE_KEY_FILE, keyfile);
|
||||
return(0);
|
||||
}
|
||||
p12 = d2i_PKCS12_fp(fp, NULL);
|
||||
|
@ -747,7 +747,7 @@ int ChangePasswordPKCS12(HWND hwndDlg)
|
|||
if (!p12)
|
||||
{
|
||||
/* error reading PKCS #12 */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_READ_PKCS12, keyfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_READ_PKCS12, keyfile);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -755,7 +755,7 @@ int ChangePasswordPKCS12(HWND hwndDlg)
|
|||
if (!PKCS12_parse(p12, oldpsw, &privkey, &cert, &ca))
|
||||
{
|
||||
/* old password incorrect */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OLD_PWD_INCORRECT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OLD_PWD_INCORRECT);
|
||||
PKCS12_free(p12);
|
||||
return(-1);
|
||||
}
|
||||
|
@ -771,7 +771,7 @@ int ChangePasswordPKCS12(HWND hwndDlg)
|
|||
if (!p12)
|
||||
{
|
||||
/* create failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_PKCS12);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_PKCS12);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -783,7 +783,7 @@ int ChangePasswordPKCS12(HWND hwndDlg)
|
|||
/* Open keyfile for writing */
|
||||
if (!(fp = fopen(keyfile, "wb")))
|
||||
{
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_WRITE_KEY, keyfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_WRITE_KEY, keyfile);
|
||||
PKCS12_free(p12);
|
||||
return(0);
|
||||
}
|
||||
|
@ -794,7 +794,7 @@ int ChangePasswordPKCS12(HWND hwndDlg)
|
|||
PKCS12_free(p12);
|
||||
fclose(fp);
|
||||
/* signal success to user */
|
||||
ShowLocalizedMsg(GUI_NAME, INFO_PWD_CHANGED);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_NFO_PWD_CHANGED);
|
||||
|
||||
return(1);
|
||||
}
|
||||
|
@ -827,7 +827,7 @@ int GetKeyFilename(int config, char *keyfilename, unsigned int keyfilenamesize,
|
|||
if (!(fp=fopen(configfile_path, "r")))
|
||||
{
|
||||
/* can't open config file */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_CONFIG, configfile_path);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_CONFIG, configfile_path);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -838,13 +838,13 @@ int GetKeyFilename(int config, char *keyfilename, unsigned int keyfilenamesize,
|
|||
if (found_key)
|
||||
{
|
||||
/* only one key option */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_ONLY_ONE_KEY_OPTION);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_ONLY_ONE_KEY_OPTION);
|
||||
return(0);
|
||||
}
|
||||
if (found_pkcs12)
|
||||
{
|
||||
/* key XOR pkcs12 */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_ONLY_KEY_OR_PKCS12);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_ONLY_KEY_OR_PKCS12);
|
||||
return(0);
|
||||
}
|
||||
found_key=1;
|
||||
|
@ -857,13 +857,13 @@ int GetKeyFilename(int config, char *keyfilename, unsigned int keyfilenamesize,
|
|||
if (found_pkcs12)
|
||||
{
|
||||
/* only one pkcs12 option */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_ONLY_ONE_PKCS12_OPTION);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_ONLY_ONE_PKCS12_OPTION);
|
||||
return(0);
|
||||
}
|
||||
if (found_key)
|
||||
{
|
||||
/* only key XOR pkcs12 */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_ONLY_KEY_OR_PKCS12);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_ONLY_KEY_OR_PKCS12);
|
||||
return(0);
|
||||
}
|
||||
found_pkcs12=1;
|
||||
|
@ -876,7 +876,7 @@ int GetKeyFilename(int config, char *keyfilename, unsigned int keyfilenamesize,
|
|||
if ((!found_key) && (!found_pkcs12))
|
||||
{
|
||||
/* must have key or pkcs12 option */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_MUST_HAVE_KEY_OR_PKCS12);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_HAVE_KEY_OR_PKCS12);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
|
140
proxy.c
140
proxy.c
|
@ -41,14 +41,14 @@ bool CALLBACK ProxySettingsDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UN
|
|||
switch (msg) {
|
||||
|
||||
case WM_INITDIALOG:
|
||||
hIcon = LoadLocalizedIcon(APP_ICON);
|
||||
hIcon = LoadLocalizedIcon(ID_ICO_APP);
|
||||
if (hIcon) {
|
||||
SendMessage(hwndDlg, WM_SETICON, (WPARAM) (ICON_SMALL), (LPARAM) (hIcon));
|
||||
SendMessage(hwndDlg, WM_SETICON, (WPARAM) (ICON_BIG), (LPARAM) (hIcon));
|
||||
}
|
||||
|
||||
/* Limit Port editbox to 5 chars. */
|
||||
SendMessage(GetDlgItem(hwndDlg, EDIT_PROXY_PORT), EM_SETLIMITTEXT, 5, 0);
|
||||
SendMessage(GetDlgItem(hwndDlg, ID_EDT_PROXY_PORT), EM_SETLIMITTEXT, 5, 0);
|
||||
|
||||
LoadProxySettings(hwndDlg);
|
||||
break;
|
||||
|
@ -56,61 +56,61 @@ bool CALLBACK ProxySettingsDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UN
|
|||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam)) {
|
||||
|
||||
case RB_PROXY_USE_OPENVPN:
|
||||
case ID_RB_PROXY_OPENVPN:
|
||||
if (HIWORD(wParam) == BN_CLICKED)
|
||||
{
|
||||
EnableWindow(GetDlgItem(hwndDlg, RB_PROXY_HTTP), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, RB_PROXY_SOCKS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, EDIT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, EDIT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, TEXT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, TEXT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, CHECKB_PROXY_AUTH), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_RB_PROXY_HTTP), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_RB_PROXY_SOCKS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_EDT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_EDT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_TXT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_TXT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_CB_PROXY_AUTH), FALSE);
|
||||
}
|
||||
break;
|
||||
|
||||
case RB_PROXY_USE_IE:
|
||||
case ID_RB_PROXY_MSIE:
|
||||
if (HIWORD(wParam) == BN_CLICKED)
|
||||
{
|
||||
EnableWindow(GetDlgItem(hwndDlg, RB_PROXY_HTTP), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, RB_PROXY_SOCKS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, EDIT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, EDIT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, TEXT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, TEXT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, CHECKB_PROXY_AUTH), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_RB_PROXY_HTTP), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_RB_PROXY_SOCKS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_EDT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_EDT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_TXT_PROXY_ADDRESS), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_TXT_PROXY_PORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_CB_PROXY_AUTH), TRUE);
|
||||
}
|
||||
break;
|
||||
|
||||
case RB_PROXY_USE_MANUAL:
|
||||
case ID_RB_PROXY_MANUAL:
|
||||
if (HIWORD(wParam) == BN_CLICKED)
|
||||
{
|
||||
EnableWindow(GetDlgItem(hwndDlg, RB_PROXY_HTTP), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, RB_PROXY_SOCKS), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, EDIT_PROXY_ADDRESS), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, EDIT_PROXY_PORT), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, TEXT_PROXY_ADDRESS), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, TEXT_PROXY_PORT), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, CHECKB_PROXY_AUTH),
|
||||
(IsDlgButtonChecked(hwndDlg, RB_PROXY_HTTP) == BST_CHECKED ? TRUE : FALSE));
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_RB_PROXY_HTTP), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_RB_PROXY_SOCKS), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_EDT_PROXY_ADDRESS), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_EDT_PROXY_PORT), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_TXT_PROXY_ADDRESS), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_TXT_PROXY_PORT), TRUE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_CB_PROXY_AUTH),
|
||||
(IsDlgButtonChecked(hwndDlg, ID_RB_PROXY_HTTP) == BST_CHECKED ? TRUE : FALSE));
|
||||
}
|
||||
break;
|
||||
|
||||
case RB_PROXY_HTTP:
|
||||
case ID_RB_PROXY_HTTP:
|
||||
if (HIWORD(wParam) == BN_CLICKED)
|
||||
{
|
||||
EnableWindow(GetDlgItem(hwndDlg, CHECKB_PROXY_AUTH), TRUE);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_ADDRESS, o.proxy_http_address);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_PORT, o.proxy_http_port);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_CB_PROXY_AUTH), TRUE);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_ADDRESS, o.proxy_http_address);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_PORT, o.proxy_http_port);
|
||||
}
|
||||
break;
|
||||
|
||||
case RB_PROXY_SOCKS:
|
||||
case ID_RB_PROXY_SOCKS:
|
||||
if (HIWORD(wParam) == BN_CLICKED)
|
||||
{
|
||||
EnableWindow(GetDlgItem(hwndDlg, CHECKB_PROXY_AUTH), FALSE);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_ADDRESS, o.proxy_socks_address);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_PORT, o.proxy_socks_port);
|
||||
EnableWindow(GetDlgItem(hwndDlg, ID_CB_PROXY_AUTH), FALSE);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_ADDRESS, o.proxy_socks_address);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_PORT, o.proxy_socks_port);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -143,24 +143,24 @@ bool CALLBACK ProxySettingsDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UN
|
|||
/* Check that proxy settings are valid */
|
||||
int CheckProxySettings(HWND hwndDlg)
|
||||
{
|
||||
if (IsDlgButtonChecked(hwndDlg, RB_PROXY_USE_MANUAL) == BST_CHECKED)
|
||||
if (IsDlgButtonChecked(hwndDlg, ID_RB_PROXY_MANUAL) == BST_CHECKED)
|
||||
{
|
||||
TCHAR text[100];
|
||||
BOOL http = (IsDlgButtonChecked(hwndDlg, RB_PROXY_HTTP) == BST_CHECKED);
|
||||
BOOL http = (IsDlgButtonChecked(hwndDlg, ID_RB_PROXY_HTTP) == BST_CHECKED);
|
||||
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_ADDRESS, text, sizeof(text)/sizeof(*text));
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_ADDRESS, text, sizeof(text)/sizeof(*text));
|
||||
if (_tcslen(text) == 0)
|
||||
{
|
||||
/* proxy address not specified */
|
||||
ShowLocalizedMsg(GUI_NAME, (http ? ERR_HTTP_PROXY_ADDRESS : ERR_SOCKS_PROXY_ADDRESS));
|
||||
ShowLocalizedMsg(GUI_NAME, (http ? IDS_ERR_HTTP_PROXY_ADDRESS : IDS_ERR_SOCKS_PROXY_ADDRESS));
|
||||
return(0);
|
||||
}
|
||||
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_PORT, text, sizeof(text));
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_PORT, text, sizeof(text));
|
||||
if (_tcslen(text) == 0)
|
||||
{
|
||||
/* proxy port not specified */
|
||||
ShowLocalizedMsg(GUI_NAME, (http ? ERR_HTTP_PROXY_PORT : ERR_SOCKS_PROXY_PORT));
|
||||
ShowLocalizedMsg(GUI_NAME, (http ? IDS_ERR_HTTP_PROXY_PORT : IDS_ERR_SOCKS_PROXY_PORT));
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -168,7 +168,7 @@ int CheckProxySettings(HWND hwndDlg)
|
|||
if ((port < 1) || (port > 65535))
|
||||
{
|
||||
/* proxy port range error */
|
||||
ShowLocalizedMsg(GUI_NAME, (http ? ERR_HTTP_PROXY_PORT_RANGE : ERR_SOCKS_PROXY_PORT_RANGE));
|
||||
ShowLocalizedMsg(GUI_NAME, (http ? IDS_ERR_HTTP_PROXY_PORT_RANGE : IDS_ERR_SOCKS_PROXY_PORT_RANGE));
|
||||
return(0);
|
||||
}
|
||||
}
|
||||
|
@ -181,26 +181,26 @@ void LoadProxySettings(HWND hwndDlg)
|
|||
/* Set Proxy type, address and port */
|
||||
if (o.proxy_type == 0) /* HTTP Proxy */
|
||||
{
|
||||
CheckRadioButton(hwndDlg, RB_PROXY_HTTP, RB_PROXY_SOCKS, RB_PROXY_HTTP);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_ADDRESS, o.proxy_http_address);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_PORT, o.proxy_http_port);
|
||||
CheckRadioButton(hwndDlg, ID_RB_PROXY_HTTP, ID_RB_PROXY_SOCKS, ID_RB_PROXY_HTTP);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_ADDRESS, o.proxy_http_address);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_PORT, o.proxy_http_port);
|
||||
}
|
||||
else /* SOCKS Proxy */
|
||||
{
|
||||
CheckRadioButton(hwndDlg, RB_PROXY_HTTP, RB_PROXY_SOCKS, RB_PROXY_SOCKS);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_ADDRESS, o.proxy_socks_address);
|
||||
SetDlgItemText(hwndDlg, EDIT_PROXY_PORT, o.proxy_socks_port);
|
||||
CheckRadioButton(hwndDlg, ID_RB_PROXY_HTTP, ID_RB_PROXY_SOCKS, ID_RB_PROXY_SOCKS);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_ADDRESS, o.proxy_socks_address);
|
||||
SetDlgItemText(hwndDlg, ID_EDT_PROXY_PORT, o.proxy_socks_port);
|
||||
}
|
||||
|
||||
if (o.proxy_http_auth) CheckDlgButton(hwndDlg, CHECKB_PROXY_AUTH, BST_CHECKED);
|
||||
if (o.proxy_http_auth) CheckDlgButton(hwndDlg, ID_CB_PROXY_AUTH, BST_CHECKED);
|
||||
|
||||
/* Set Proxy Settings Source */
|
||||
if (o.proxy_source == 0)
|
||||
SendMessage(GetDlgItem(hwndDlg, RB_PROXY_USE_OPENVPN), BM_CLICK, 0, 0);
|
||||
SendMessage(GetDlgItem(hwndDlg, ID_RB_PROXY_OPENVPN), BM_CLICK, 0, 0);
|
||||
if (o.proxy_source == 1)
|
||||
SendMessage(GetDlgItem(hwndDlg, RB_PROXY_USE_IE), BM_CLICK, 0, 0);
|
||||
SendMessage(GetDlgItem(hwndDlg, ID_RB_PROXY_MSIE), BM_CLICK, 0, 0);
|
||||
if (o.proxy_source == 2)
|
||||
SendMessage(GetDlgItem(hwndDlg, RB_PROXY_USE_MANUAL), BM_CLICK, 0, 0);
|
||||
SendMessage(GetDlgItem(hwndDlg, ID_RB_PROXY_MANUAL), BM_CLICK, 0, 0);
|
||||
}
|
||||
|
||||
void SaveProxySettings(HWND hwndDlg)
|
||||
|
@ -212,34 +212,34 @@ void SaveProxySettings(HWND hwndDlg)
|
|||
char proxy_http_auth_string[2]="0";
|
||||
|
||||
/* Save Proxy Settings Source */
|
||||
if (IsDlgButtonChecked(hwndDlg, RB_PROXY_USE_OPENVPN) == BST_CHECKED)
|
||||
if (IsDlgButtonChecked(hwndDlg, ID_RB_PROXY_OPENVPN) == BST_CHECKED)
|
||||
{
|
||||
o.proxy_source = 0;
|
||||
proxy_source_string[0] = '0';
|
||||
}
|
||||
if (IsDlgButtonChecked(hwndDlg, RB_PROXY_USE_IE) == BST_CHECKED)
|
||||
if (IsDlgButtonChecked(hwndDlg, ID_RB_PROXY_MSIE) == BST_CHECKED)
|
||||
{
|
||||
o.proxy_source = 1;
|
||||
proxy_source_string[0] = '1';
|
||||
}
|
||||
if (IsDlgButtonChecked(hwndDlg, RB_PROXY_USE_MANUAL) == BST_CHECKED)
|
||||
if (IsDlgButtonChecked(hwndDlg, ID_RB_PROXY_MANUAL) == BST_CHECKED)
|
||||
{
|
||||
o.proxy_source = 2;
|
||||
proxy_source_string[0] = '2';
|
||||
}
|
||||
|
||||
/* Save Proxy type, address and port */
|
||||
if (IsDlgButtonChecked(hwndDlg, RB_PROXY_HTTP) == BST_CHECKED)
|
||||
if (IsDlgButtonChecked(hwndDlg, ID_RB_PROXY_HTTP) == BST_CHECKED)
|
||||
{
|
||||
o.proxy_type = 0;
|
||||
proxy_type_string[0] = '0';
|
||||
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_ADDRESS, o.proxy_http_address,
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_ADDRESS, o.proxy_http_address,
|
||||
sizeof(o.proxy_http_address));
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_PORT, o.proxy_http_port,
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_PORT, o.proxy_http_port,
|
||||
sizeof(o.proxy_http_port));
|
||||
|
||||
BOOL auth = (IsDlgButtonChecked(hwndDlg, CHECKB_PROXY_AUTH) == BST_CHECKED);
|
||||
BOOL auth = (IsDlgButtonChecked(hwndDlg, ID_CB_PROXY_AUTH) == BST_CHECKED);
|
||||
o.proxy_http_auth = (auth ? 1 : 0);
|
||||
proxy_http_auth_string[0] = (auth ? '1' : '0');
|
||||
}
|
||||
|
@ -248,9 +248,9 @@ void SaveProxySettings(HWND hwndDlg)
|
|||
o.proxy_type = 1;
|
||||
proxy_type_string[0] = '1';
|
||||
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_ADDRESS, o.proxy_socks_address,
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_ADDRESS, o.proxy_socks_address,
|
||||
sizeof(o.proxy_socks_address));
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_PORT, o.proxy_socks_port,
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_PORT, o.proxy_socks_port,
|
||||
sizeof(o.proxy_socks_port));
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ void SaveProxySettings(HWND hwndDlg)
|
|||
&dwDispos) != ERROR_SUCCESS)
|
||||
{
|
||||
/* error creating Registry-Key */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_REG_HKCU_KEY, GUI_REGKEY_HKCU);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_REG_HKCU_KEY, GUI_REGKEY_HKCU);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -295,7 +295,7 @@ void GetProxyRegistrySettings()
|
|||
if (!GetTempPath(sizeof(temp_path) - 1, temp_path))
|
||||
{
|
||||
/* Error getting TempPath - using C:\ */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_GET_TEMP_PATH);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_GET_TEMP_PATH);
|
||||
strcpy(temp_path, "C:\\");
|
||||
}
|
||||
strncat(temp_path, "openvpn_authfile.txt",
|
||||
|
@ -361,12 +361,12 @@ BOOL CALLBACK ProxyAuthDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED
|
|||
switch (LOWORD(wParam)) {
|
||||
|
||||
case IDOK:
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_USERNAME, username, sizeof(username) - 1);
|
||||
GetDlgItemText(hwndDlg, EDIT_PROXY_PASSWORD, password, sizeof(password) - 1);
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_USER, username, sizeof(username) - 1);
|
||||
GetDlgItemText(hwndDlg, ID_EDT_PROXY_PASS, password, sizeof(password) - 1);
|
||||
if (!(fp = fopen(o.proxy_authfile, "w")))
|
||||
{
|
||||
/* error creating AUTH file */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_AUTH_FILE, o.proxy_authfile);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_AUTH_FILE, o.proxy_authfile);
|
||||
EndDialog(hwndDlg, LOWORD(wParam));
|
||||
}
|
||||
fputs(username, fp);
|
||||
|
@ -402,7 +402,7 @@ void ConstructProxyCmdLine(char *proxy_string_ptr, unsigned int size)
|
|||
if (o.proxy_http_auth == PROXY_HTTP_ASK_AUTH)
|
||||
{
|
||||
/* Ask for Proxy username/password */
|
||||
LocalizedDialogBox(IDD_PROXY_AUTH, ProxyAuthDialogFunc);
|
||||
LocalizedDialogBox(ID_DLG_PROXY_AUTH, ProxyAuthDialogFunc);
|
||||
mysnprintf(proxy_string, "--http-proxy %s %s %s",
|
||||
o.proxy_http_address,
|
||||
o.proxy_http_port,
|
||||
|
@ -432,7 +432,7 @@ void ConstructProxyCmdLine(char *proxy_string_ptr, unsigned int size)
|
|||
if (!ieproxy)
|
||||
{
|
||||
/* can't get ie proxy settings */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_GET_IE_PROXY_SETTINGS, getIeHttpProxyError);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_GET_MSIE_SETTINGS, getIeHttpProxyError);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -446,7 +446,7 @@ void ConstructProxyCmdLine(char *proxy_string_ptr, unsigned int size)
|
|||
if (o.proxy_http_auth == PROXY_HTTP_ASK_AUTH)
|
||||
{
|
||||
/* Ask for Proxy username/password */
|
||||
LocalizedDialogBox(IDD_PROXY_AUTH, ProxyAuthDialogFunc);
|
||||
LocalizedDialogBox(ID_DLG_PROXY_AUTH, ProxyAuthDialogFunc);
|
||||
mysnprintf(proxy_string, "--http-proxy %s %s %s",
|
||||
ieproxy, pos+1, o.proxy_authfile)
|
||||
}
|
||||
|
@ -461,7 +461,7 @@ void ConstructProxyCmdLine(char *proxy_string_ptr, unsigned int size)
|
|||
if (o.proxy_http_auth == PROXY_HTTP_ASK_AUTH)
|
||||
{
|
||||
/* Ask for Proxy username/password */
|
||||
LocalizedDialogBox(IDD_PROXY_AUTH, ProxyAuthDialogFunc);
|
||||
LocalizedDialogBox(ID_DLG_PROXY_AUTH, ProxyAuthDialogFunc);
|
||||
mysnprintf(proxy_string, "--http-proxy %s 80 %s",
|
||||
ieproxy, o.proxy_authfile)
|
||||
}
|
||||
|
|
24
registry.c
24
registry.c
|
@ -41,7 +41,7 @@ GetRegistryKeys()
|
|||
|
||||
if (!GetWindowsDirectory(windows_dir, sizeof(windows_dir))) {
|
||||
/* can't get windows dir */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_GET_WINDOWS_DIR);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_GET_WINDOWS_DIR);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -50,13 +50,13 @@ GetRegistryKeys()
|
|||
!= ERROR_SUCCESS)
|
||||
{
|
||||
/* registry key not found */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_REGISTRY);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_REGISTRY);
|
||||
return(false);
|
||||
}
|
||||
if (!GetRegistryValue(regkey, "", openvpn_path, sizeof(openvpn_path)))
|
||||
{
|
||||
/* error reading registry value */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_READING_REGISTRY);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_READING_REGISTRY);
|
||||
return(false);
|
||||
}
|
||||
if(openvpn_path[strlen(openvpn_path) - 1] != '\\')
|
||||
|
@ -115,7 +115,7 @@ GetRegistryKeys()
|
|||
if ((o.psw_attempts < 1) || (o.psw_attempts > 9))
|
||||
{
|
||||
/* 0 <= passphrase_attempts <= 9 */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_PASSPHRASE_ATTEMPTS);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_PASSPHRASE_ATTEMPTS);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -125,7 +125,7 @@ GetRegistryKeys()
|
|||
if ((o.connectscript_timeout < 0) || (o.connectscript_timeout > 99))
|
||||
{
|
||||
/* 0 <= connectscript_timeout <= 99 */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CONN_SCRIPT_TIMEOUT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CONN_SCRIPT_TIMEOUT);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -135,7 +135,7 @@ GetRegistryKeys()
|
|||
if ((o.disconnectscript_timeout <= 0) || (o.disconnectscript_timeout > 99))
|
||||
{
|
||||
/* 0 < disconnectscript_timeout <= 99 */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_DISCONN_SCRIPT_TIMEOUT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_DISCONN_SCRIPT_TIMEOUT);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,7 @@ GetRegistryKeys()
|
|||
if ((o.preconnectscript_timeout <= 0) || (o.preconnectscript_timeout > 99))
|
||||
{
|
||||
/* 0 < disconnectscript_timeout <= 99 */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_PRECONN_SCRIPT_TIMEOUT);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_PRECONN_SCRIPT_TIMEOUT);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ int GetRegKey(const char name[], char *data, const char default_data[], DWORD le
|
|||
&dwDispos) != ERROR_SUCCESS)
|
||||
{
|
||||
/* error creating registry key */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CREATE_REG_KEY);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CREATE_REG_KEY);
|
||||
return(false);
|
||||
}
|
||||
}
|
||||
|
@ -213,7 +213,7 @@ int GetRegKey(const char name[], char *data, const char default_data[], DWORD le
|
|||
|
||||
if (status != ERROR_SUCCESS) {
|
||||
/* can't open registry for writing */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_WRITE_REG);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_WRITE_REG);
|
||||
return(false);
|
||||
}
|
||||
if(RegSetValueEx(openvpn_key_write,
|
||||
|
@ -224,7 +224,7 @@ int GetRegKey(const char name[], char *data, const char default_data[], DWORD le
|
|||
strlen(default_data)+1))
|
||||
{
|
||||
/* cant read / set reg-key */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_READ_SET_KEY, name);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_READ_SET_KEY, name);
|
||||
return(false);
|
||||
}
|
||||
strncpy(data, default_data, max_len);
|
||||
|
@ -273,7 +273,7 @@ int SetRegistryValue(HKEY regkey, const char *name, char *data)
|
|||
if(RegSetValueEx(regkey, name, 0, REG_SZ, (PBYTE) data, strlen(data)+1) != ERROR_SUCCESS)
|
||||
{
|
||||
/* Error writing registry value */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_WRITE_REGVALUE, GUI_REGKEY_HKCU, name);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_WRITE_REGVALUE, GUI_REGKEY_HKCU, name);
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
@ -288,6 +288,6 @@ SetRegistryValueNumeric(HKEY regkey, const char *name, DWORD data)
|
|||
if (status == ERROR_SUCCESS)
|
||||
return 1;
|
||||
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_WRITE_REGVALUE, GUI_REGKEY_HKCU, name);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_WRITE_REGVALUE, GUI_REGKEY_HKCU, name);
|
||||
return 0;
|
||||
}
|
||||
|
|
12
scripts.c
12
scripts.c
|
@ -62,7 +62,7 @@ void RunConnectScript(int config, int run_as_service)
|
|||
if (!run_as_service)
|
||||
{
|
||||
/* UserInfo: Connect Script running */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_CONN_SCRIPT));
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_CONN_SCRIPT));
|
||||
}
|
||||
|
||||
CLEAR (start_info);
|
||||
|
@ -91,7 +91,7 @@ void RunConnectScript(int config, int run_as_service)
|
|||
&proc_info))
|
||||
{
|
||||
/* Running Script failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_RUN_CONN_SCRIPT, command_line);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_RUN_CONN_SCRIPT, command_line);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ void RunConnectScript(int config, int run_as_service)
|
|||
if (!GetExitCodeProcess(proc_info.hProcess, &ExitCode))
|
||||
{
|
||||
/* failed to get ExitCode */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_GET_EXIT_CODE, command_line);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_GET_EXIT_CODE, command_line);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -117,7 +117,7 @@ void RunConnectScript(int config, int run_as_service)
|
|||
if (ExitCode != 0)
|
||||
{
|
||||
/* ConnectScript failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_CONN_SCRIPT_FAILED, ExitCode);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CONN_SCRIPT_FAILED, ExitCode);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
@ -127,7 +127,7 @@ void RunConnectScript(int config, int run_as_service)
|
|||
}
|
||||
|
||||
/* UserInfo: Timeout */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_RUN_CONN_SCRIPT_TIMEOUT, TimeOut);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_CONN_SCRIPT_TIMEOUT, TimeOut);
|
||||
|
||||
}
|
||||
|
||||
|
@ -162,7 +162,7 @@ void RunDisconnectScript(int config, int run_as_service)
|
|||
if (!run_as_service)
|
||||
{
|
||||
/* UserInfo: Disconnect Script running */
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, TEXT_STATUS, LoadLocalizedString(INFO_STATE_DISCONN_SCRIPT));
|
||||
SetDlgItemText(o.cnn[config].hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_DISCONN_SCRIPT));
|
||||
}
|
||||
|
||||
CLEAR (start_info);
|
||||
|
|
22
service.c
22
service.c
|
@ -56,7 +56,7 @@ int MyStartService()
|
|||
|
||||
if (NULL == schSCManager) {
|
||||
/* open SC manager failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_SCMGR);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_SCMGR);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ int MyStartService()
|
|||
|
||||
if (schService == NULL) {
|
||||
/* can't open VPN service */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_VPN_SERVICE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_VPN_SERVICE);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ int MyStartService()
|
|||
NULL) ) // no arguments
|
||||
{
|
||||
/* can't start */
|
||||
ShowLocalizedMsg(NULL, ERR_START_SERVICE);
|
||||
ShowLocalizedMsg(NULL, IDS_ERR_START_SERVICE);
|
||||
goto failed;
|
||||
}
|
||||
else
|
||||
|
@ -95,7 +95,7 @@ int MyStartService()
|
|||
&ssStatus) ) // address of status information structure
|
||||
{
|
||||
/* query failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_QUERY_SERVICE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_QUERY_SERVICE);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -146,7 +146,7 @@ int MyStartService()
|
|||
if (ssStatus.dwCurrentState != SERVICE_RUNNING)
|
||||
{
|
||||
/* service hasn't started */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_SERVICE_START_FAILED);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_SERVICE_START_FAILED);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
@ -160,7 +160,7 @@ int MyStartService()
|
|||
CheckAndSetTrayIcon();
|
||||
|
||||
/* Show "OpenVPN Service Started" Tray Balloon msg */
|
||||
ShowTrayBalloon(LoadLocalizedString(INFO_SERVICE_STARTED), " ");
|
||||
ShowTrayBalloon(LoadLocalizedString(IDS_NFO_SERVICE_STARTED), " ");
|
||||
|
||||
return(true);
|
||||
|
||||
|
@ -189,7 +189,7 @@ int MyStopService()
|
|||
|
||||
if (NULL == schSCManager) {
|
||||
/* can't open SCManager */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_SCMGR, (int) GetLastError());
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_SCMGR, (int) GetLastError());
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -200,7 +200,7 @@ int MyStopService()
|
|||
|
||||
if (schService == NULL) {
|
||||
/* can't open vpn service */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_VPN_SERVICE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_VPN_SERVICE);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -214,7 +214,7 @@ int MyStopService()
|
|||
&ssStatus) ) // address of status info
|
||||
{
|
||||
/* stop failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_STOP_SERVICE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_STOP_SERVICE);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
@ -263,7 +263,7 @@ int CheckServiceStatus()
|
|||
|
||||
if (schService == NULL) {
|
||||
/* open vpn service failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_OPEN_VPN_SERVICE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_OPEN_VPN_SERVICE);
|
||||
o.service_running = SERVICE_NOACCESS;
|
||||
SetServiceMenuStatus();
|
||||
return(false);
|
||||
|
@ -274,7 +274,7 @@ int CheckServiceStatus()
|
|||
&ssStatus) ) // address of status information structure
|
||||
{
|
||||
/* query failed */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_QUERY_SERVICE);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_QUERY_SERVICE);
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
|
82
tray.c
82
tray.c
|
@ -86,7 +86,7 @@ void OnNotifyTray(LPARAM lParam)
|
|||
else if (o.service_running == SERVICE_CONNECTED)
|
||||
{
|
||||
/* Stop OpenVPN service */
|
||||
if (MessageBox(NULL, LoadLocalizedString(IDM_TEXT_ASK_STOP_SERVICE), GUI_NAME, MB_YESNO | MB_SETFOREGROUND) == IDYES)
|
||||
if (MessageBox(NULL, LoadLocalizedString(IDS_MENU_ASK_STOP_SERVICE), GUI_NAME, MB_YESNO | MB_SETFOREGROUND) == IDYES)
|
||||
{
|
||||
MyStopService();
|
||||
}
|
||||
|
@ -191,41 +191,41 @@ void CreateItemList()
|
|||
/* Create Main menu with actions */
|
||||
if (o.service_only[0]=='0')
|
||||
{
|
||||
AppendMenu(hMenu,MF_STRING, IDM_CONNECTMENU, LoadLocalizedString(IDM_TEXT_CONNECT));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_DISCONNECTMENU, LoadLocalizedString(IDM_TEXT_DISCONNECT));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_STATUSMENU, LoadLocalizedString(IDM_TEXT_STATUS));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_CONNECTMENU, LoadLocalizedString(IDS_MENU_CONNECT));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_DISCONNECTMENU, LoadLocalizedString(IDS_MENU_DISCONNECT));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_STATUSMENU, LoadLocalizedString(IDS_MENU_STATUS));
|
||||
AppendMenu(hMenu,MF_SEPARATOR,0,0);
|
||||
}
|
||||
else
|
||||
{
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_START, LoadLocalizedString(IDM_TEXT_SERVICEONLY_START));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_STOP, LoadLocalizedString(IDM_TEXT_SERVICEONLY_STOP));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_RESTART, LoadLocalizedString(IDM_TEXT_SERVICEONLY_RESTART));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_START, LoadLocalizedString(IDS_MENU_SERVICEONLY_START));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_STOP, LoadLocalizedString(IDS_MENU_SERVICEONLY_STOP));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_RESTART, LoadLocalizedString(IDS_MENU_SERVICEONLY_RESTART));
|
||||
AppendMenu(hMenu,MF_SEPARATOR,0,0);
|
||||
}
|
||||
|
||||
AppendMenu(hMenu,MF_STRING, IDM_VIEWLOGMENU, LoadLocalizedString(IDM_TEXT_VIEWLOG));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_VIEWLOGMENU, LoadLocalizedString(IDS_MENU_VIEWLOG));
|
||||
if (o.allow_edit[0]=='1')
|
||||
{
|
||||
AppendMenu(hMenu,MF_STRING, IDM_EDITMENU, LoadLocalizedString(IDM_TEXT_EDITCONFIG));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_EDITMENU, LoadLocalizedString(IDS_MENU_EDITCONFIG));
|
||||
}
|
||||
#ifndef DISABLE_CHANGE_PASSWORD
|
||||
if (o.allow_password[0]=='1')
|
||||
{
|
||||
AppendMenu(hMenu,MF_STRING, IDM_PASSPHRASEMENU, LoadLocalizedString(IDM_TEXT_PASSPHRASE));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_PASSPHRASEMENU, LoadLocalizedString(IDS_MENU_PASSPHRASE));
|
||||
}
|
||||
#endif
|
||||
|
||||
AppendMenu(hMenu,MF_SEPARATOR,0,0);
|
||||
if (o.allow_service[0]=='1' && o.service_only[0]=='0')
|
||||
{
|
||||
AppendMenu(hMenu,MF_POPUP,(UINT) hMenuService, LoadLocalizedString(IDM_TEXT_SERVICE));
|
||||
AppendMenu(hMenu,MF_POPUP,(UINT) hMenuService, LoadLocalizedString(IDS_MENU_SERVICE));
|
||||
AppendMenu(hMenu,MF_SEPARATOR,0,0);
|
||||
}
|
||||
//TODO: if (o.allow_proxy[0]=='1' && o.service_only[0]=='0')
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_SETTINGS, LoadLocalizedString(IDM_TEXT_SETTINGS));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_ABOUT, LoadLocalizedString(IDM_TEXT_ABOUT));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_CLOSE, LoadLocalizedString(IDM_TEXT_CLOSE));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_SETTINGS, LoadLocalizedString(IDS_MENU_SETTINGS));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_ABOUT, LoadLocalizedString(IDS_MENU_ABOUT));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_CLOSE, LoadLocalizedString(IDS_MENU_CLOSE));
|
||||
|
||||
SetMenuStatus(0, DISCONNECTED);
|
||||
|
||||
|
@ -239,20 +239,20 @@ void CreateItemList()
|
|||
AppendMenu(hMenu,MF_SEPARATOR,0,0);
|
||||
if (o.allow_service[0]=='1' && o.service_only[0]=='0')
|
||||
{
|
||||
AppendMenu(hMenu,MF_POPUP,(UINT) hMenuService, LoadLocalizedString(IDM_TEXT_SERVICE));
|
||||
AppendMenu(hMenu,MF_POPUP,(UINT) hMenuService, LoadLocalizedString(IDS_MENU_SERVICE));
|
||||
AppendMenu(hMenu,MF_SEPARATOR,0,0);
|
||||
}
|
||||
if (o.service_only[0]=='1')
|
||||
{
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_START, LoadLocalizedString(IDM_TEXT_SERVICEONLY_START));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_STOP, LoadLocalizedString(IDM_TEXT_SERVICEONLY_STOP));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_RESTART, LoadLocalizedString(IDM_TEXT_SERVICEONLY_RESTART));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_START, LoadLocalizedString(IDS_MENU_SERVICEONLY_START));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_STOP, LoadLocalizedString(IDS_MENU_SERVICEONLY_STOP));
|
||||
AppendMenu(hMenu,MF_STRING, IDM_SERVICE_RESTART, LoadLocalizedString(IDS_MENU_SERVICEONLY_RESTART));
|
||||
AppendMenu(hMenu,MF_SEPARATOR,0,0);
|
||||
}
|
||||
//TODO: if (o.allow_proxy[0]=='1' && o.service_only[0]=='0')
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_SETTINGS, LoadLocalizedString(IDM_TEXT_SETTINGS));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_ABOUT, LoadLocalizedString(IDM_TEXT_ABOUT));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_CLOSE, LoadLocalizedString(IDM_TEXT_CLOSE));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_SETTINGS, LoadLocalizedString(IDS_MENU_SETTINGS));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_ABOUT, LoadLocalizedString(IDS_MENU_ABOUT));
|
||||
AppendMenu(hMenu,MF_STRING ,IDM_CLOSE, LoadLocalizedString(IDS_MENU_CLOSE));
|
||||
|
||||
|
||||
/* Create PopUp menus for every connection */
|
||||
|
@ -260,19 +260,19 @@ void CreateItemList()
|
|||
{
|
||||
if (o.service_only[0]=='0')
|
||||
{
|
||||
AppendMenu(hMenuConn[i],MF_STRING, (UINT_PTR)IDM_CONNECTMENU+i, LoadLocalizedString(IDM_TEXT_CONNECT));
|
||||
AppendMenu(hMenuConn[i],MF_STRING, (UINT_PTR)IDM_DISCONNECTMENU+i, LoadLocalizedString(IDM_TEXT_DISCONNECT));
|
||||
AppendMenu(hMenuConn[i],MF_STRING, (UINT_PTR)IDM_STATUSMENU+i, LoadLocalizedString(IDM_TEXT_STATUS));
|
||||
AppendMenu(hMenuConn[i],MF_STRING, (UINT_PTR)IDM_CONNECTMENU+i, LoadLocalizedString(IDS_MENU_CONNECT));
|
||||
AppendMenu(hMenuConn[i],MF_STRING, (UINT_PTR)IDM_DISCONNECTMENU+i, LoadLocalizedString(IDS_MENU_DISCONNECT));
|
||||
AppendMenu(hMenuConn[i],MF_STRING, (UINT_PTR)IDM_STATUSMENU+i, LoadLocalizedString(IDS_MENU_STATUS));
|
||||
AppendMenu(hMenuConn[i],MF_SEPARATOR,0,0);
|
||||
}
|
||||
AppendMenu(hMenuConn[i], MF_STRING, (UINT_PTR)IDM_VIEWLOGMENU+i, LoadLocalizedString(IDM_TEXT_VIEWLOG));
|
||||
AppendMenu(hMenuConn[i], MF_STRING, (UINT_PTR)IDM_VIEWLOGMENU+i, LoadLocalizedString(IDS_MENU_VIEWLOG));
|
||||
if (o.allow_edit[0]=='1') {
|
||||
AppendMenu(hMenuConn[i], MF_STRING, (UINT_PTR)IDM_EDITMENU+i, LoadLocalizedString(IDM_TEXT_EDITCONFIG));
|
||||
AppendMenu(hMenuConn[i], MF_STRING, (UINT_PTR)IDM_EDITMENU+i, LoadLocalizedString(IDS_MENU_EDITCONFIG));
|
||||
}
|
||||
#ifndef DISABLE_CHANGE_PASSWORD
|
||||
if (o.allow_password[0]=='1')
|
||||
{
|
||||
AppendMenu(hMenuConn[i], MF_STRING, (UINT_PTR)IDM_PASSPHRASEMENU+i, LoadLocalizedString(IDM_TEXT_PASSPHRASE));
|
||||
AppendMenu(hMenuConn[i], MF_STRING, (UINT_PTR)IDM_PASSPHRASEMENU+i, LoadLocalizedString(IDS_MENU_PASSPHRASE));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -283,9 +283,9 @@ void CreateItemList()
|
|||
/* Create Service menu */
|
||||
if (o.allow_service[0]=='1' && o.service_only[0]=='0')
|
||||
{
|
||||
AppendMenu(hMenuService,MF_STRING, IDM_SERVICE_START, LoadLocalizedString(IDM_TEXT_SERVICE_START));
|
||||
AppendMenu(hMenuService,MF_STRING, IDM_SERVICE_STOP, LoadLocalizedString(IDM_TEXT_SERVICE_STOP));
|
||||
AppendMenu(hMenuService,MF_STRING, IDM_SERVICE_RESTART, LoadLocalizedString(IDM_TEXT_SERVICE_RESTART));
|
||||
AppendMenu(hMenuService,MF_STRING, IDM_SERVICE_START, LoadLocalizedString(IDS_MENU_SERVICE_START));
|
||||
AppendMenu(hMenuService,MF_STRING, IDM_SERVICE_STOP, LoadLocalizedString(IDS_MENU_SERVICE_STOP));
|
||||
AppendMenu(hMenuService,MF_STRING, IDM_SERVICE_RESTART, LoadLocalizedString(IDS_MENU_SERVICE_RESTART));
|
||||
}
|
||||
|
||||
SetServiceMenuStatus();
|
||||
|
@ -296,7 +296,7 @@ BOOL LoadAppIcon()
|
|||
{
|
||||
|
||||
// Load icon from resource
|
||||
HICON hIcon = LoadLocalizedIcon(APP_ICON);
|
||||
HICON hIcon = LoadLocalizedIcon(ID_ICO_APP);
|
||||
if (hIcon) {
|
||||
SendMessage(o.hWnd, WM_SETICON, (WPARAM) (ICON_SMALL), (LPARAM) (hIcon));
|
||||
SendMessage(o.hWnd, WM_SETICON, (WPARAM) (ICON_BIG), (LPARAM) (hIcon)); //ALT+TAB icon
|
||||
|
@ -310,14 +310,14 @@ void ShowTrayIcon()
|
|||
{
|
||||
ni.cbSize = sizeof(ni);
|
||||
ni.uID = 0;
|
||||
lstrcpyn(ni.szTip, LoadLocalizedString(MSG_TIP), sizeof(ni.szTip)/sizeof(*(ni.szTip)));
|
||||
lstrcpyn(ni.szTip, LoadLocalizedString(IDS_TIP_DEFAULT), sizeof(ni.szTip)/sizeof(*(ni.szTip)));
|
||||
ni.hWnd = o.hWnd;
|
||||
ni.uFlags = NIF_MESSAGE | NIF_TIP | NIF_ICON; // We want to use icon, tip, and callback message
|
||||
ni.uCallbackMessage = WM_NOTIFYICONTRAY; // Our custom callback message (WM_APP + 1)
|
||||
|
||||
|
||||
//Load selected icon
|
||||
ni.hIcon = LoadLocalizedIcon(APP_ICON_DISCONNECTED);
|
||||
ni.hIcon = LoadLocalizedIcon(ID_ICO_DISCONNECTED);
|
||||
|
||||
Shell_NotifyIcon(NIM_ADD, &ni);
|
||||
|
||||
|
@ -343,11 +343,11 @@ void SetTrayIcon(int connected)
|
|||
ni.uFlags = NIF_MESSAGE | NIF_TIP | NIF_ICON; // We want to use icon, tip, and callback message
|
||||
ni.uCallbackMessage = WM_NOTIFYICONTRAY; // Our custom callback message (WM_APP + 1)
|
||||
|
||||
strncpy(msg, LoadLocalizedString(MSG_TIP), sizeof(ni.szTip));
|
||||
strncpy(msg, LoadLocalizedString(IDS_TIP_DEFAULT), sizeof(ni.szTip));
|
||||
|
||||
strncpy(msg_connected, LoadLocalizedString(MSG_TIP_CONNECTED), sizeof(msg_connected));
|
||||
strncpy(msg_connected, LoadLocalizedString(IDS_TIP_CONNECTED), sizeof(msg_connected));
|
||||
|
||||
strncpy(msg_connecting, LoadLocalizedString(MSG_TIP_CONNECTING), sizeof(msg_connecting));
|
||||
strncpy(msg_connecting, LoadLocalizedString(IDS_TIP_CONNECTING), sizeof(msg_connecting));
|
||||
|
||||
first_conn=1;
|
||||
for (i=0; i < o.num_configs; i++)
|
||||
|
@ -388,12 +388,12 @@ void SetTrayIcon(int connected)
|
|||
con_time=time(NULL);
|
||||
strftime(connected_since, sizeof(connected_since), "%b %d, %H:%M",
|
||||
localtime(&o.cnn[config].connected_since));
|
||||
strncat(msg, LoadLocalizedString(MSG_TIP_CONNECTED_SINCE), sizeof(msg) - strlen(msg) - 1);
|
||||
strncat(msg, LoadLocalizedString(IDS_TIP_CONNECTED_SINCE), sizeof(msg) - strlen(msg) - 1);
|
||||
strncat(msg, connected_since, sizeof(msg) - strlen(msg) - 1);
|
||||
if (strlen(o.cnn[config].ip) > 0)
|
||||
{
|
||||
char assigned_ip[100];
|
||||
mysnprintf(assigned_ip, LoadLocalizedString(MSG_TIP_ASSIGNED_IP), o.cnn[config].ip);
|
||||
mysnprintf(assigned_ip, LoadLocalizedString(IDS_TIP_ASSIGNED_IP), o.cnn[config].ip);
|
||||
strncat(msg, assigned_ip, sizeof(msg) - strlen(msg) - 1);
|
||||
}
|
||||
}
|
||||
|
@ -402,11 +402,11 @@ void SetTrayIcon(int connected)
|
|||
|
||||
//Load selected icon
|
||||
if (connected==2)
|
||||
ni.hIcon = LoadLocalizedIcon(APP_ICON_CONNECTED);
|
||||
ni.hIcon = LoadLocalizedIcon(ID_ICO_CONNECTED);
|
||||
else if (connected==1)
|
||||
ni.hIcon = LoadLocalizedIcon(APP_ICON_CONNECTING);
|
||||
ni.hIcon = LoadLocalizedIcon(ID_ICO_CONNECTING);
|
||||
else if (connected==0)
|
||||
ni.hIcon = LoadLocalizedIcon(APP_ICON_DISCONNECTED);
|
||||
ni.hIcon = LoadLocalizedIcon(ID_ICO_DISCONNECTED);
|
||||
|
||||
Shell_NotifyIcon(NIM_MODIFY, &ni);
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ void ViewLog(int config)
|
|||
&proc_info))
|
||||
{
|
||||
/* could not start log viewer */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_START_LOG_VIEWER, o.log_viewer);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_START_LOG_VIEWER, o.log_viewer);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ void EditConfig(int config)
|
|||
&proc_info))
|
||||
{
|
||||
/* could not start editor */
|
||||
ShowLocalizedMsg(GUI_NAME, ERR_START_CONF_EDITOR, o.editor);
|
||||
ShowLocalizedMsg(GUI_NAME, IDS_ERR_START_CONF_EDITOR, o.editor);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue