[SHELL32]
authorRafal Harabien <rafalh@reactos.org>
Wed, 23 Mar 2011 16:22:38 +0000 (16:22 +0000)
committerRafal Harabien <rafalh@reactos.org>
Wed, 23 Mar 2011 16:22:38 +0000 (16:22 +0000)
Sync RunFileDlg to wine. It was crashing for one char input.
Add "All files (*.*)" filter to RunDlg and OpenWith dialogs.
Improved polish translation.
Translators: please localize rest...

svn path=/trunk/; revision=51127

34 files changed:
reactos/dll/win32/shell32/dialogs.c
reactos/dll/win32/shell32/lang/bg-BG.rc
reactos/dll/win32/shell32/lang/ca-ES.rc
reactos/dll/win32/shell32/lang/cs-CZ.rc
reactos/dll/win32/shell32/lang/da-DK.rc
reactos/dll/win32/shell32/lang/de-DE.rc
reactos/dll/win32/shell32/lang/el-GR.rc
reactos/dll/win32/shell32/lang/en-GB.rc
reactos/dll/win32/shell32/lang/en-US.rc
reactos/dll/win32/shell32/lang/es-ES.rc
reactos/dll/win32/shell32/lang/fi-FI.rc
reactos/dll/win32/shell32/lang/fr-FR.rc
reactos/dll/win32/shell32/lang/hu-HU.rc
reactos/dll/win32/shell32/lang/it-IT.rc
reactos/dll/win32/shell32/lang/ja-JP.rc
reactos/dll/win32/shell32/lang/ko-KR.rc
reactos/dll/win32/shell32/lang/nl-NL.rc
reactos/dll/win32/shell32/lang/no-NO.rc
reactos/dll/win32/shell32/lang/pl-PL.rc
reactos/dll/win32/shell32/lang/pt-BR.rc
reactos/dll/win32/shell32/lang/pt-PT.rc
reactos/dll/win32/shell32/lang/ro-RO.rc
reactos/dll/win32/shell32/lang/ru-RU.rc
reactos/dll/win32/shell32/lang/sk-SK.rc
reactos/dll/win32/shell32/lang/sl-SI.rc
reactos/dll/win32/shell32/lang/sv-SE.rc
reactos/dll/win32/shell32/lang/tr-TR.rc
reactos/dll/win32/shell32/lang/uk-UA.rc
reactos/dll/win32/shell32/lang/zh-CN.rc
reactos/dll/win32/shell32/lang/zh-TW.rc
reactos/dll/win32/shell32/she_ocmenu.c
reactos/dll/win32/shell32/shell32.spec
reactos/dll/win32/shell32/shresdef.h
reactos/dll/win32/shell32/undocshell.h

index 9955e83..4ea9418 100644 (file)
@@ -25,17 +25,17 @@ typedef struct
     {
        HWND hwndOwner ;
        HICON hIcon ;
-       LPCSTR lpstrDirectory ;
-       LPCSTR lpstrTitle ;
-       LPCSTR lpstrDescription ;
+       LPCWSTR lpstrDirectory ;
+       LPCWSTR lpstrTitle ;
+       LPCWSTR lpstrDescription ;
        UINT uFlags ;
     } RUNFILEDLGPARAMS ;
 
-typedef BOOL (*LPFNOFN) (OPENFILENAMEA *) ;
+typedef BOOL (WINAPI * LPFNOFN) (OPENFILENAMEW *) ;
 
 WINE_DEFAULT_DEBUG_CHANNEL(shell);
 static INT_PTR CALLBACK RunDlgProc (HWND, UINT, WPARAM, LPARAM) ;
-static void FillList (HWND, char *) ;
+static void FillList (HWND, char *, BOOL) ;
 
 
 /*************************************************************************
@@ -261,20 +261,19 @@ BOOL WINAPI PickIconDlg(
 }
 
 /*************************************************************************
- * RunFileDlg                                  [SHELL32.61]
+ * RunFileDlg                                  [internal]
  *
- * NOTES
- *     Original name: RunFileDlg (exported by ordinal)
+ * The Unicode function that is available as ordinal 61 on Windows NT/2000/XP/...
  */
 void WINAPI RunFileDlg(
        HWND hwndOwner,
        HICON hIcon,
-       LPCSTR lpstrDirectory,
-       LPCSTR lpstrTitle,
-       LPCSTR lpstrDescription,
+       LPCWSTR lpstrDirectory,
+       LPCWSTR lpstrTitle,
+       LPCWSTR lpstrDescription,
        UINT uFlags)
 {
-
+    static const WCHAR resnameW[] = {'S','H','E','L','L','_','R','U','N','_','D','L','G',0};
     RUNFILEDLGPARAMS rfdp;
     HRSRC hRes;
     LPVOID template;
@@ -287,43 +286,105 @@ void WINAPI RunFileDlg(
     rfdp.lpstrDescription = lpstrDescription;
     rfdp.uFlags           = uFlags;
 
-    if(!(hRes = FindResourceA(shell32_hInstance, "SHELL_RUN_DLG", (LPSTR)RT_DIALOG)))
-        {
-        MessageBoxA (hwndOwner, "Couldn't find dialog.", "Nix", MB_OK) ;
+    if (!(hRes = FindResourceW(shell32_hInstance, resnameW, (LPWSTR)RT_DIALOG)) ||
+        !(template = LoadResource(shell32_hInstance, hRes)))
+    {
+        ERR("Couldn't load SHELL_RUN_DLG resource\n");
+        ShellMessageBoxW(shell32_hInstance, hwndOwner, MAKEINTRESOURCEW(IDS_RUNDLG_ERROR), NULL, MB_OK | MB_ICONERROR);
         return;
+    }
+
+    DialogBoxIndirectParamW(shell32_hInstance,
+                           template, hwndOwner, RunDlgProc, (LPARAM)&rfdp);
+
+}
+
+/* find the directory that contains the file being run */
+static LPWSTR RunDlg_GetParentDir(LPCWSTR cmdline)
+{
+    const WCHAR *src;
+    WCHAR *dest, *result, *result_end=NULL;
+    static const WCHAR dotexeW[] = {'.','e','x','e',0};
+
+    result = HeapAlloc(GetProcessHeap(), 0, sizeof(WCHAR)*(strlenW(cmdline)+5));
+
+    src = cmdline;
+    dest = result;
+
+    if (*src == '"')
+    {
+        src++;
+        while (*src && *src != '"')
+        {
+            if (*src == '\\')
+                result_end = dest;
+            *dest++ = *src++;
         }
-    if(!(template = (LPVOID)LoadResource(shell32_hInstance, hRes)))
+    }
+    else {
+        while (*src)
         {
-        MessageBoxA (hwndOwner, "Couldn't load dialog.", "Nix", MB_OK) ;
-        return;
+            if (isspaceW(*src))
+            {
+                *dest = 0;
+                if (INVALID_FILE_ATTRIBUTES != GetFileAttributesW(result))
+                    break;
+                strcatW(dest, dotexeW);
+                if (INVALID_FILE_ATTRIBUTES != GetFileAttributesW(result))
+                    break;
+            }
+            else if (*src == '\\')
+                result_end = dest;
+            *dest++ = *src++;
         }
+    }
 
-    DialogBoxIndirectParamA((HINSTANCE)GetWindowLongPtrW( hwndOwner,
-                                                      GWLP_HINSTANCE ),
-                           template, hwndOwner, RunDlgProc, (LPARAM)&rfdp);
-
+    if (result_end)
+    {
+        *result_end = 0;
+        return result;
+    }
+    else
+    {
+        HeapFree(GetProcessHeap(), 0, result);
+        return NULL;
+    }
 }
 
 /* Dialog procedure for RunFileDlg */
 static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
     {
-    int ic ;
-    char *psz, *pdir, szMsg[256];
-    static RUNFILEDLGPARAMS *prfdp = NULL ;
+    RUNFILEDLGPARAMS *prfdp = (RUNFILEDLGPARAMS *)GetWindowLongPtrW(hwnd, DWLP_USER);
 
     switch (message)
         {
         case WM_INITDIALOG :
             prfdp = (RUNFILEDLGPARAMS *)lParam ;
+            SetWindowLongPtrW(hwnd, DWLP_USER, (LONG_PTR)prfdp);
 
             if (prfdp->lpstrTitle)
-                SetWindowTextA (hwnd, prfdp->lpstrTitle) ;
-
-            SetClassLongPtrW (hwnd, GCLP_HICON, (LPARAM)prfdp->hIcon) ;
-            SendMessageW (GetDlgItem (hwnd, 12297), STM_SETICON,
-                          (WPARAM)LoadIconW (NULL, (LPCWSTR)IDI_WINLOGO), 0);
-            FillList (GetDlgItem (hwnd, 12298), NULL) ;
-            SetFocus (GetDlgItem (hwnd, 12298)) ;
+                SetWindowTextW(hwnd, prfdp->lpstrTitle);
+            if (prfdp->lpstrDescription)
+                SetWindowTextW(GetDlgItem(hwnd, IDC_RUNDLG_DESCRIPTION), prfdp->lpstrDescription);
+            if (prfdp->uFlags & RFF_NOBROWSE)
+            {
+                HWND browse = GetDlgItem(hwnd, IDC_RUNDLG_BROWSE);
+                ShowWindow(browse, SW_HIDE);
+                EnableWindow(browse, FALSE);
+            }
+            if (prfdp->uFlags & RFF_NOLABEL)
+                ShowWindow(GetDlgItem(hwnd, IDC_RUNDLG_LABEL), SW_HIDE);
+            if (prfdp->uFlags & RFF_CALCDIRECTORY)
+                FIXME("RFF_CALCDIRECTORY not supported\n");
+
+            if (prfdp->hIcon == NULL)
+                prfdp->hIcon = LoadIconW(NULL, (LPCWSTR)IDI_WINLOGO);
+            SendMessageW(hwnd, WM_SETICON, ICON_BIG, (LPARAM)prfdp->hIcon);
+            SendMessageW(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)prfdp->hIcon);
+            SendMessageW(GetDlgItem(hwnd, IDC_RUNDLG_ICON), STM_SETICON, (WPARAM)prfdp->hIcon, 0);
+
+            FillList (GetDlgItem (hwnd, IDC_RUNDLG_EDITPATH), NULL, (prfdp->uFlags & RFF_NODEFAULT) == 0) ;
+            SetFocus (GetDlgItem (hwnd, IDC_RUNDLG_EDITPATH)) ;
             return TRUE ;
 
         case WM_COMMAND :
@@ -331,46 +392,45 @@ static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPAR
                 {
                 case IDOK :
                     {
-                    HWND htxt = NULL ;
-                    if ((ic = GetWindowTextLengthA (htxt = GetDlgItem (hwnd, 12298))))
+                    int ic ;
+                    HWND htxt = GetDlgItem (hwnd, IDC_RUNDLG_EDITPATH);
+                    if ((ic = GetWindowTextLengthW (htxt)))
                         {
-                        psz = HeapAlloc( GetProcessHeap(), 0, (ic + 2) );
-                        GetWindowTextA (htxt, psz, ic + 1) ;
-                        pdir = HeapAlloc(  GetProcessHeap(), 0, (ic + 2) );
-                        if (pdir)
-                            {
-                            char * ptr;
-                            strcpy(pdir, psz);
-                            ptr = strrchr(pdir + 4, '\\');
-                            if(ptr)
-                                ptr[0] = '\0';
-                            else
-                                pdir[3] = '\0';
-                            }
-                        if (ShellExecuteA(NULL, NULL, psz, NULL, pdir, SW_SHOWNORMAL) < (HINSTANCE)33)
-                            {
-                            char *pszSysMsg = NULL ;
-                            FormatMessageA (
-                                FORMAT_MESSAGE_ALLOCATE_BUFFER |
-                                FORMAT_MESSAGE_FROM_SYSTEM |
-                                FORMAT_MESSAGE_IGNORE_INSERTS,
-                                NULL, GetLastError (),
-                                MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
-                                (LPSTR)&pszSysMsg, 0, NULL
-                                ) ;
-                            sprintf (szMsg, "Error: %s", pszSysMsg) ;
-                            LocalFree ((HLOCAL)pszSysMsg) ;
-                            MessageBoxA (hwnd, szMsg, NULL, MB_OK | MB_ICONEXCLAMATION) ;
+                        WCHAR *psz, *parent=NULL ;
+                        SHELLEXECUTEINFOW sei ;
+
+                        ZeroMemory (&sei, sizeof(sei)) ;
+                        sei.cbSize = sizeof(sei) ;
+                        psz = HeapAlloc( GetProcessHeap(), 0, (ic + 1)*sizeof(WCHAR) );
+                        GetWindowTextW (htxt, psz, ic + 1) ;
+
+                        /* according to http://www.codeproject.com/KB/shell/runfiledlg.aspx we should send a
+                         * WM_NOTIFY before execution */
 
+                        sei.hwnd = hwnd;
+                        sei.nShow = SW_SHOWNORMAL;
+                        sei.lpFile = psz;
+
+                        if (prfdp->lpstrDirectory)
+                            sei.lpDirectory = prfdp->lpstrDirectory;
+                        else
+                            sei.lpDirectory = parent = RunDlg_GetParentDir(sei.lpFile);
+
+                        if (!ShellExecuteExW( &sei ))
+                        {
                             HeapFree(GetProcessHeap(), 0, psz);
-                            HeapFree(GetProcessHeap(), 0, pdir);
+                            HeapFree(GetProcessHeap(), 0, parent);
                             SendMessageA (htxt, CB_SETEDITSEL, 0, MAKELPARAM (0, -1)) ;
                             return TRUE ;
-                            }
-                        FillList (htxt, psz) ;
+                        }
+
+                        /* FillList is still ANSI */
+                        GetWindowTextA (htxt, (LPSTR)psz, ic + 1) ;
+                        FillList (htxt, (LPSTR)psz, FALSE) ;
+
                         HeapFree(GetProcessHeap(), 0, psz);
-                        HeapFree(GetProcessHeap(), 0, pdir);
-                        EndDialog (hwnd, 0) ;
+                        HeapFree(GetProcessHeap(), 0, parent);
+                        EndDialog (hwnd, 0);
                         }
                     }
 
@@ -378,55 +438,43 @@ static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPAR
                     EndDialog (hwnd, 0) ;
                     return TRUE ;
 
-                case 12288 :
+                case IDC_RUNDLG_BROWSE :
                     {
                     HMODULE hComdlg = NULL ;
                     LPFNOFN ofnProc = NULL ;
-                    static char szFName[1024] = "", szFileTitle[256] = "", szInitDir[768] = "" ;
-                    static OPENFILENAMEA ofn =
-                        {
-                        sizeof (OPENFILENAMEA),
-                        NULL,
-                        NULL,
-                        "Executable Files\0*.exe\0All Files\0*.*\0\0\0\0",
-                        NULL,
-                        0,
-                        0,
-                        szFName,
-                        1023,
-                        szFileTitle,
-                        255,
-                        (LPCSTR)szInitDir,
-                        "Browse",
-                        OFN_ENABLESIZING | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_PATHMUSTEXIST,
-                        0,
-                        0,
-                        NULL,
-                        0,
-                        (LPOFNHOOKPROC)NULL,
-                        NULL
-                        } ;
-
-                    ofn.hwndOwner = hwnd ;
-
-                    if (NULL == (hComdlg = LoadLibraryExA ("comdlg32", NULL, 0)))
-                        {
-                        MessageBoxA (hwnd, "Unable to display dialog box (LoadLibraryEx) !", "Nix", MB_OK | MB_ICONEXCLAMATION) ;
-                        return TRUE ;
-                        }
-
-                    if ((LPFNOFN)NULL == (ofnProc = (LPFNOFN)GetProcAddress (hComdlg, "GetOpenFileNameA")))
-                        {
-                        MessageBoxA (hwnd, "Unable to display dialog box (GetProcAddress) !", "Nix", MB_OK | MB_ICONEXCLAMATION) ;
+                    static const WCHAR comdlg32W[] = {'c','o','m','d','l','g','3','2',0};
+                    WCHAR szFName[1024] = {0};
+                    WCHAR filter[MAX_PATH], szCaption[MAX_PATH];
+                    OPENFILENAMEW ofn;
+
+                    LoadStringW(shell32_hInstance, IDS_RUNDLG_BROWSE_FILTER, filter, MAX_PATH);
+                    LoadStringW(shell32_hInstance, IDS_RUNDLG_BROWSE_CAPTION, szCaption, MAX_PATH);
+
+                    ZeroMemory(&ofn, sizeof(ofn));
+                    ofn.lStructSize = sizeof(OPENFILENAMEW);
+                    ofn.hwndOwner = hwnd;
+                    ofn.lpstrFilter = filter;
+                    ofn.lpstrFile = szFName;
+                    ofn.nMaxFile = 1023;
+                    ofn.lpstrTitle = szCaption;
+                    ofn.Flags = OFN_ENABLESIZING | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_PATHMUSTEXIST;
+                    ofn.lpstrInitialDir = prfdp->lpstrDirectory;
+
+                    if (NULL == (hComdlg = LoadLibraryExW (comdlg32W, NULL, 0)) ||
+                        NULL == (ofnProc = (LPFNOFN)GetProcAddress (hComdlg, "GetOpenFileNameW")))
+                    {
+                        ERR("Couldn't get GetOpenFileName function entry (lib=%p, proc=%p)\n", hComdlg, ofnProc);
+                        ShellMessageBoxW(shell32_hInstance, hwnd, MAKEINTRESOURCEW(IDS_RUNDLG_BROWSE_ERROR), NULL, MB_OK | MB_ICONERROR);
                         return TRUE ;
-                        }
-
-                    ofnProc (&ofn) ;
+                    }
 
-                    SetFocus (GetDlgItem (hwnd, IDOK)) ;
-                    SetWindowTextA (GetDlgItem (hwnd, 12298), szFName) ;
-                    SendMessageA (GetDlgItem (hwnd, 12298), CB_SETEDITSEL, 0, MAKELPARAM (0, -1)) ;
-                    SetFocus (GetDlgItem (hwnd, IDOK)) ;
+                    if (ofnProc(&ofn))
+                    {
+                        SetFocus (GetDlgItem (hwnd, IDOK)) ;
+                        SetWindowTextW (GetDlgItem (hwnd, IDC_RUNDLG_EDITPATH), szFName) ;
+                        SendMessageW (GetDlgItem (hwnd, IDC_RUNDLG_EDITPATH), CB_SETEDITSEL, 0, MAKELPARAM (0, -1)) ;
+                        SetFocus (GetDlgItem (hwnd, IDOK)) ;
+                    }
 
                     FreeLibrary (hComdlg) ;
 
@@ -439,7 +487,8 @@ static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPAR
     }
 
 /* This grabs the MRU list from the registry and fills the combo for the "Run" dialog above */
-static void FillList (HWND hCb, char *pszLatest)
+/* fShowDefault ignored if pszLatest != NULL */
+static void FillList (HWND hCb, char *pszLatest, BOOL fShowDefault)
     {
     HKEY hkey ;
 /*    char szDbgMsg[256] = "" ; */
@@ -511,7 +560,7 @@ static void FillList (HWND hCb, char *pszLatest)
             MessageBoxA (hCb, szDbgMsg, "Nix", MB_OK) ;
             */
             SendMessageA (hCb, CB_ADDSTRING, 0, (LPARAM)pszCmd) ;
-            if (!Nix)
+            if (!Nix && fShowDefault)
                 {
                 SetWindowTextA (hCb, pszCmd) ;
                 SendMessageA (hCb, CB_SETEDITSEL, 0, MAKELPARAM (0, -1)) ;
@@ -609,6 +658,7 @@ int WINAPI RestartDialogEx(HWND hWndOwner, LPCWSTR lpwstrReason, DWORD uFlags, D
     return 0;
 }
 
+
 /*************************************************************************
  * LogoffWindowsDialog  [SHELL32.54]
  */
@@ -622,6 +672,7 @@ int WINAPI LogoffWindowsDialog(HWND hWndOwner)
     return 0;
 }
 
+
 /*************************************************************************
  * RestartDialog                               [SHELL32.59]
  */
index 6e9b67a..36a5cf5 100644 (file)
@@ -669,6 +669,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Èçëèçàíå"
        IDS_LOGOFF_PROMPT           "Èñêàòå ëè äà èçëåçåòå?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        // shell folder path default values 
        IDS_PROGRAMS                "Ïóñêîâ èçáîðíèê\\Ïðèëîæåíèÿ"
        IDS_PERSONAL                "Êíèæà"
@@ -718,8 +724,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Ñâîáîäíî ìÿñòî"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Èçáåðåòå çíà÷å"
-       IDS_PICK_ICON_FILTER        "Ôàéëîâå ñúñ çíà÷åòà(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Èçïúëíèìè ôàéëîâå\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Ôàéëîâå ñúñ çíà÷åòà (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Èçïúëíèìè ôàéëîâå (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Ïàïêà"
        IDS_VIRTUAL_DRIVER          "Âîäà÷ íà ïðèâèäíî óñòðîéñòâî"
        IDS_BAT_FILE                "Ïàêåòåí ôàéë íà ÐåàêòÎÑ"
index 214028e..80f7cb4 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index dff2e85..728fce9 100644 (file)
@@ -655,6 +655,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Odhlásit se"
        IDS_LOGOFF_PROMPT           "Opravdu se chcete odhlásit?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Nabídka Start\\Programy"
        IDS_PERSONAL                "Dokumenty"
@@ -704,8 +710,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Dostupné místo"
        IDS_EMPTY_BITBUCKET         "Vysypat ko\9a"
        IDS_PICK_ICON_TITLE         "Zvolit ikonu"
-       IDS_PICK_ICON_FILTER        "Soubory ikon (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Spustitelné soubory\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Soubory ikon (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Spustitelné soubory (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Slo\9eka"
        IDS_VIRTUAL_DRIVER          "Virtuální ovladaè zaøízení"
        IDS_BAT_FILE                "ReactOS dávkový soubor"
index 9ad423c..0047208 100644 (file)
@@ -657,6 +657,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programmer"
        IDS_PERSONAL                "Mine Dokumenter"
@@ -706,8 +712,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 5610af6..6292156 100644 (file)
@@ -672,6 +672,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Ausloggen"
        IDS_LOGOFF_PROMPT           "Möchten Sie sich ausloggen?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Startmenü\\Programme"
        IDS_PERSONAL                "Eigene Dateien"
@@ -721,8 +727,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "freier Speicher"
        IDS_EMPTY_BITBUCKET         "Papierkorb leeren"
        IDS_PICK_ICON_TITLE         "Symbol auswählen"
-       IDS_PICK_ICON_FILTER        "Symboldateien(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Programme\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Symboldateien (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Programme (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Dateiordner"
        IDS_VIRTUAL_DRIVER          "Virtueller Gerätetreiber"
        IDS_BAT_FILE                "ReactOS-Stapelverarbeitungsdatei"
index a269d68..80506a2 100644 (file)
@@ -669,6 +669,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "Ôá ÝããñáöÜ ìïõ"
@@ -718,8 +724,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 5d8f02c..0b9ff3f 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 04df98d..6eaac70 100644 (file)
@@ -679,6 +679,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -728,8 +734,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index c619493..1b48d79 100644 (file)
@@ -681,6 +681,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Cerrar sesión"
        IDS_LOGOFF_PROMPT           "¿Desea cerrar la sesión?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Menú Inicio\\Programas"
        IDS_PERSONAL                "Mis documentos"
@@ -730,8 +736,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Espacio disponible"
        IDS_EMPTY_BITBUCKET         "Vaciar Papelera de reciclaje"
        IDS_PICK_ICON_TITLE         "Seleccione un icono"
-       IDS_PICK_ICON_FILTER        "Archivos de iconos(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Programas\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Archivos de iconos (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Programas (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Directorio"
        IDS_VIRTUAL_DRIVER          "Controlador de dispositivo virtual"
        IDS_BAT_FILE                "Archivo por lotes ReactOS"
index 6469ce1..125a07d 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Käynnistä\\Ohjelmat"
        IDS_PERSONAL                "Omat tiedostot"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 0ba3b44..4083d65 100644 (file)
@@ -672,6 +672,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Se déconnecter"
        IDS_LOGOFF_PROMPT           "Voulez-vous vous déconnecter ?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Menu Démarrer\\Programmes"
        IDS_PERSONAL                "Mes documents"
@@ -721,8 +727,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Espace disponible"
        IDS_EMPTY_BITBUCKET         "Vider la Corbeille"
        IDS_PICK_ICON_TITLE         "Choisir une icône"
-       IDS_PICK_ICON_FILTER        "Fichiers d'icônes (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Fichiers exécutables\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Fichiers d'icônes (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Fichiers exécutables (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Dossier"
        IDS_VIRTUAL_DRIVER          "Pilote de périphérique virtuel"
        IDS_BAT_FILE                "Fichier Batch ReactOS"
index e45819a..7eb015d 100644 (file)
@@ -671,6 +671,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "Dokumentumok"
@@ -720,8 +726,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 824eb22..09251b6 100644 (file)
@@ -679,6 +679,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Disconnetti"
        IDS_LOGOFF_PROMPT           "Volete disconnettervi?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Menu Avvio\\Programmi"
        IDS_PERSONAL                "Documenti Personali"
@@ -728,8 +734,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Spazio disponibile"
        IDS_EMPTY_BITBUCKET         "Svuota cestino"
        IDS_PICK_ICON_TITLE         "Scegliere un icona"
-       IDS_PICK_ICON_FILTER        "Icone(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "File eseguibili\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icone (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "File eseguibili (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Cartella"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index c09ba10..a671c61 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "\83X\83^\81[\83\83\81\83j\83\85\81[\\\83v\83\8d\83O\83\89\83\80"
        IDS_PERSONAL                "My Documents"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "\97\98\97p\82Å\82«\82é\97Ì\88æ"
        IDS_EMPTY_BITBUCKET         "\82²\82Ý\94 \82ð\8bó\82É\82·\82é"
        IDS_PICK_ICON_TITLE         "\83A\83C\83R\83\93\82Ì\91I\91ð"
-       IDS_PICK_ICON_FILTER        "\83A\83C\83R\83\93\83t\83@\83C\83\8b(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "\8eÀ\8ds\89Â\94\\ \83t\83@\83C\83\8b\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "\83A\83C\83R\83\93\83t\83@\83C\83\8b (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "\8eÀ\8ds\89Â\94\\ \83t\83@\83C\83\8b (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "\83t\83H\83\8b\83_"
        IDS_VIRTUAL_DRIVER          "\89¼\91\83f\83o\83C\83\83h\83\89\83C\83o"
        IDS_BAT_FILE                "ReactOS \83o\83b\83\83t\83@\83C\83\8b"
index 98981f7..b5d0dfa 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 1689e2a..fa176ce 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index f02aa64..e576cb4 100644 (file)
@@ -671,6 +671,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start-meny\\Programmer"
        IDS_PERSONAL                "Mine dokumenter"
@@ -720,8 +726,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Ledig plass"
         IDS_EMPTY_BITBUCKET         "Tøm papirkurven"
        IDS_PICK_ICON_TITLE         "Velg Ikon"
-       IDS_PICK_ICON_FILTER        "Ikon Fil(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Kjørbare filer\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Ikon Fil (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Kjørbare filer (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Mappe"
        IDS_VIRTUAL_DRIVER          "Virtuell enhetdriver"
        IDS_BAT_FILE                "ReactOS Batch fil"
index c9a4d40..cb33116 100644 (file)
@@ -675,6 +675,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Wyloguj"
        IDS_LOGOFF_PROMPT           "Czy chcesz siê wylogowaæ z systemu?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Nie mogê wy\9cwietliæ okna Uruchom (b³¹d wewnêtrzny)"
+       IDS_RUNDLG_BROWSE_ERROR     "Nie mogê wy\9cwietliæ okna Przegl¹daj (b³¹d wewnêtrzny)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Przegl¹daj"
+       IDS_RUNDLG_BROWSE_FILTER    "Programy (*.exe)\0*.exe\0Wszystkie pliki (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Menu Start\\Programy"
        IDS_PERSONAL                "Moje dokumenty"
@@ -724,8 +730,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Pozosta³o wolnego miejsca"
        IDS_EMPTY_BITBUCKET         "Opró¿nij Kosz"
        IDS_PICK_ICON_TITLE         "Wybierz ikonê"
-       IDS_PICK_ICON_FILTER        "Pliki ikon(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Programy\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Pliki ikon (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0Wszystkie pliki (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Programy (*.exe)\0*.exe\0Wszystkie pliki (*.*)\0*.*\0"
        IDS_DIRECTORY               "Katalog"
        IDS_VIRTUAL_DRIVER          "Sterownik urz¹dzenia wirtualnego"
        IDS_BAT_FILE                "Plik wsadowy ReactOS"
@@ -759,5 +765,5 @@ BEGIN
        IDS_DEFAULT_CLUSTER_SIZE    "Domy\9clny rozmiar jednostki alokacji"
        IDS_COPY_OF                 "Kopia"
 
-       IDS_SHLEXEC_NOASSOC         "There is no Windows program configured to open this type of file."
+       IDS_SHLEXEC_NOASSOC         "¯aden program nie jest skonfigurowane by otwieraæ pliki tego typu."
 END
index 7679014..ef97edb 100644 (file)
@@ -670,6 +670,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Menu Iniciar\\Programas"
        IDS_PERSONAL                "Meus Documentos"
@@ -719,8 +725,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 2d99ca4..6daead8 100644 (file)
@@ -671,6 +671,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Terminar a sessão"
        IDS_LOGOFF_PROMPT           "Pretende terminar a sessão?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Menu Iniciar\\Programas"
        IDS_PERSONAL                "OS Meus Documentos"
@@ -720,8 +726,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Espaço Disponível"
        IDS_EMPTY_BITBUCKET         "Esvaziar Reciclagem"
        IDS_PICK_ICON_TITLE         "Escolha Ícone"
-       IDS_PICK_ICON_FILTER        "Ficheiros de Ícones(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Ficheiros Executáveis\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Ficheiros de Ícones (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Ficheiros Executáveis (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Pasta"
        IDS_VIRTUAL_DRIVER          "Driver de Dispositivo Virtual"
        IDS_BAT_FILE                "ReactOS Batch File"
index fb24c2b..47d05ff 100644 (file)
@@ -671,6 +671,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Meniu Start\\Programe"
        IDS_PERSONAL                "Documentele mele"
@@ -720,8 +726,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Spațiu disponibil"
        IDS_EMPTY_BITBUCKET         "Golire Coș de gunoi"
        IDS_PICK_ICON_TITLE         "Alegere pictogramă"
-       IDS_PICK_ICON_FILTER        "Fișiere pictogramă (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Fișiere executabile\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Fișiere pictogramă (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Fișiere executabile (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Dosar"
        IDS_VIRTUAL_DRIVER          "Driver dispozitiv virtual"
        IDS_BAT_FILE                "Fișier serie de comenzi ReactOS"
index daf4f2c..b3ecbdb 100644 (file)
@@ -667,6 +667,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Ãëàâíîå ìåíþ\\Ïðîãðàììû"
        IDS_PERSONAL                "Ìîè äîêóìåíòû"
@@ -716,8 +722,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Äîñòóïíîå ïðîñòðàíñòâî"
        IDS_EMPTY_BITBUCKET         "Î÷èñòèòü êîðçèíó"
        IDS_PICK_ICON_TITLE         "Âûáðàòü çíà÷îê"
-       IDS_PICK_ICON_FILTER        "Ôàéëû çíà÷êîâ(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Èñïîëíÿåìûå ôàéëû\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Ôàéëû çíà÷êîâ (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Èñïîëíÿåìûå ôàéëû (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Ïàïêà"
        IDS_VIRTUAL_DRIVER          "Äðàéâåð âèðòóàëüíîãî óñòðîéñòâà"
        IDS_BAT_FILE                "Ïàêåòíûé ôàéë ReactOS"
index 848d343..7620ce0 100644 (file)
@@ -674,6 +674,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Odhlási\9d"
        IDS_LOGOFF_PROMPT           "Naozaj sa chcete odhlási\9d?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Ponuka \8atart\\Programy"
        IDS_PERSONAL                "Moje dokumenty"
@@ -723,8 +729,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Dostupné miesto"
        IDS_EMPTY_BITBUCKET         "Vyprázdni\9d Kô\9a"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Súbory ikon(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Spustite¾né súbory\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Súbory ikon (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Spustite¾né súbory (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Prieèinok"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "Dávkový súbor systému ReactOS"
index 9789ec3..594cdf8 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 4ddd5c3..0238edf 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index 633936f..d5ca8c1 100644 (file)
@@ -668,6 +668,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programlar"
        IDS_PERSONAL                "Belgelerim"
@@ -717,8 +723,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index b65aea7..bd2cfda 100644 (file)
@@ -681,6 +681,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Âèõ³ä ç ñèñòåìè"
        IDS_LOGOFF_PROMPT           "Âè õî÷åòå âèéòè ç ñèñòåìè?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "Ìî¿ äîêóìåíòè"
@@ -730,8 +736,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Äîñòóïíèé ïðîñò³ð"
        IDS_EMPTY_BITBUCKET         "Î÷èñòèòè Êîøèê"
        IDS_PICK_ICON_TITLE         "Âèáðàòè çíà÷îê"
-       IDS_PICK_ICON_FILTER        "Ôàéëè çíà÷ê³â(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Âèêîíóâàí³ ôàéëè\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Ôàéëè çíà÷ê³â (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Âèêîíóâàí³ ôàéëè (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Ïàïêà"
        IDS_VIRTUAL_DRIVER          "Äðàéâåð â³ðòóàëüíîãî ïðèñòðîþ"
        IDS_BAT_FILE                "Ïàêåòíèé ôàéë ReactOS"
index aa54e3e..693a289 100644 (file)
@@ -657,6 +657,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "ÎÒµÄÎĵµ"
@@ -705,8 +711,8 @@ BEGIN
        IDS_RECYCLEBIN_LOCATION     "Recycle Bin Location"
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index fcf7abf..ea14a6d 100644 (file)
@@ -669,6 +669,12 @@ BEGIN
        IDS_LOGOFF_TITLE            "Log Off"
        IDS_LOGOFF_PROMPT           "Do you want to log off?"
 
+    /* Run File dialog */
+       IDS_RUNDLG_ERROR            "Unable to display Run File dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_ERROR     "Unable to display Browse dialog box (internal error)"
+       IDS_RUNDLG_BROWSE_CAPTION   "Browse"
+       IDS_RUNDLG_BROWSE_FILTER    "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
+
        /* shell folder path default values */
        IDS_PROGRAMS                "Start Menu\\Programs"
        IDS_PERSONAL                "My Documents"
@@ -718,8 +724,8 @@ BEGIN
        IDS_RECYCLEBIN_DISKSPACE    "Space Available"
        IDS_EMPTY_BITBUCKET         "Empty Recycle Bin"
        IDS_PICK_ICON_TITLE         "Choose Icon"
-       IDS_PICK_ICON_FILTER        "Icon Files(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0"
-       IDS_OPEN_WITH_FILTER        "Executable Files\0*.exe\0"
+       IDS_PICK_ICON_FILTER        "Icon Files (*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0All Files (*.*)\0*.*\0"
+       IDS_OPEN_WITH_FILTER        "Executable Files (*.exe)\0*.exe\0All Files (*.*)\0*.*\0"
        IDS_DIRECTORY               "Folder"
        IDS_VIRTUAL_DRIVER          "Virtual Device Driver"
        IDS_BAT_FILE                "ReactOS Batch File"
index c2e9c05..9aea9e1 100644 (file)
@@ -537,8 +537,8 @@ SetProgrammAsDefaultHandler(LPCWSTR szFileName, WCHAR * szAppName)
 void
 BrowseForApplication(HWND hwndDlg)
 {
-    WCHAR szBuffer[30] = {0};
-    WCHAR szFilter[30] = {0};
+    WCHAR szBuffer[64] = {0};
+    WCHAR szFilter[256] = {0};
     WCHAR szPath[MAX_PATH];
     OPENFILENAMEW ofn;
     OPEN_WITH_CONTEXT Context;
index bb7e0d2..8c9b388 100644 (file)
@@ -58,9 +58,9 @@
 58  stdcall -noname ParseField(str long ptr long) ParseFieldAW # Fixme
 59  stdcall RestartDialog(long wstr long)
 60  stdcall -noname ExitWindowsDialog(long) # Fixme
-61  stdcall -noname RunFileDlg(long long long str str long) RunFileDlg # Fixme
+61  stdcall -noname RunFileDlg(long long long wstr wstr long) RunFileDlg # Fixme?
 62  stdcall PickIconDlg(long long long long)
-63  stdcall GetFileNameFromBrowse(long long long long str str str)
+63  stdcall GetFileNameFromBrowse(long long long long wstr wstr wstr)
 64  stdcall DriveType(long)
 65  stdcall -noname InvalidateDriveType(long)
 66  stdcall IsNetDrive(long)
index 43e409c..23ff1ec 100644 (file)
 #define IDS_FILE_TYPES              174
 #define IDS_FILE_DETAILS            175
 
+#define IDS_RUNDLG_ERROR            180
+#define IDS_RUNDLG_BROWSE_ERROR     181
+#define IDS_RUNDLG_BROWSE_CAPTION   182
+#define IDS_RUNDLG_BROWSE_FILTER    183
+
 #define IDS_OPEN_VERB               300
 #define IDS_RUNAS_VERB              301
 #define IDS_EDIT_VERB               302
 #define OPEN_WITH_PROGRAMM_DLG      0x4001
 #define IDD_SH_FILE_COPY            0x4002
 
+/* run dialog */
+#define IDC_RUNDLG_DESCRIPTION  12289
+#define IDC_RUNDLG_BROWSE       12288
+#define IDC_RUNDLG_ICON         12297
+#define IDC_RUNDLG_EDITPATH     12298
+#define IDC_RUNDLG_LABEL        12305
+
 /* ID's of the ShellAbout controls */
 // Part 1 - ID's identical to Windows Server 2003 SP1's shell32.dll
 #define IDD_SHELL_ABOUT                   0x3810
index 8911967..f9ec7cd 100644 (file)
@@ -70,6 +70,15 @@ HRESULT WINAPI SHILCreateFromPathW (
 BOOL WINAPI StrRetToStrNA(LPSTR,DWORD,LPSTRRET,const ITEMIDLIST*);
 BOOL WINAPI StrRetToStrNW(LPWSTR,DWORD,LPSTRRET,const ITEMIDLIST*);
 
+
+/****************************************************************************
+* SHChangeNotifyRegister API
+*/
+#define SHCNRF_InterruptLevel          0x0001
+#define SHCNRF_ShellLevel              0x0002
+#define SHCNRF_RecursiveInterrupt      0x1000  /* Must be combined with SHCNRF_InterruptLevel */
+#define SHCNRF_NewDelivery             0x8000  /* Messages use shared memory */
+
 /****************************************************************************
  * Shell Common Dialogs
  */
@@ -100,9 +109,9 @@ typedef struct
 void WINAPI RunFileDlg(
        HWND hwndOwner,
        HICON hIcon,
-       LPCSTR lpstrDirectory,
-       LPCSTR lpstrTitle,
-       LPCSTR lpstrDescription,
+       LPCWSTR lpstrDirectory,
+       LPCWSTR lpstrTitle,
+       LPCWSTR lpstrDescription,
        UINT uFlags);
 
 void WINAPI ExitWindowsDialog(HWND hwndOwner);