Author: mkupfer
Date: Sat Jun 14 17:21:44 2008
New Revision: 33968
URL:
http://svn.reactos.org/svn/reactos?rev=33968&view=rev
Log:
- Give listbox in explorer searchprograms dialog i18n column heads (only done for German
and English, other language need to be done)
Modified:
trunk/reactos/base/shell/explorer/dialogs/searchprogram.cpp
trunk/reactos/base/shell/explorer/explorer-bg.rc
trunk/reactos/base/shell/explorer/explorer-bn.rc
trunk/reactos/base/shell/explorer/explorer-cn.rc
trunk/reactos/base/shell/explorer/explorer-cz.rc
trunk/reactos/base/shell/explorer/explorer-de.rc
trunk/reactos/base/shell/explorer/explorer-en.rc
trunk/reactos/base/shell/explorer/explorer-es.rc
trunk/reactos/base/shell/explorer/explorer-fr.rc
trunk/reactos/base/shell/explorer/explorer-gr.rc
trunk/reactos/base/shell/explorer/explorer-hu.rc
trunk/reactos/base/shell/explorer/explorer-id.rc
trunk/reactos/base/shell/explorer/explorer-it.rc
trunk/reactos/base/shell/explorer/explorer-jp.rc
trunk/reactos/base/shell/explorer/explorer-ko.rc
trunk/reactos/base/shell/explorer/explorer-nl.rc
trunk/reactos/base/shell/explorer/explorer-no.rc
trunk/reactos/base/shell/explorer/explorer-pl.rc
trunk/reactos/base/shell/explorer/explorer-pt.rc
trunk/reactos/base/shell/explorer/explorer-ro.rc
trunk/reactos/base/shell/explorer/explorer-ru.rc
trunk/reactos/base/shell/explorer/explorer-sk.rc
trunk/reactos/base/shell/explorer/explorer-sv.rc
trunk/reactos/base/shell/explorer/explorer-uk.rc
trunk/reactos/base/shell/explorer/resource.h
Modified: trunk/reactos/base/shell/explorer/dialogs/searchprogram.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/dialog…
==============================================================================
--- trunk/reactos/base/shell/explorer/dialogs/searchprogram.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/dialogs/searchprogram.cpp [iso-8859-1] Sat Jun 14
17:21:44 2008
@@ -93,6 +93,8 @@
_thread(collect_programs_callback, hwnd, this),
_sort(_list_ctrl, CompareFunc/*, (LPARAM)this*/)
{
+ TCHAR szTemp[256];
+ const size_t nChars = sizeof(szTemp)/sizeof(*szTemp);
SetWindowIcon(hwnd, IDI_SEARCH);
_resize_mgr.Add(IDC_FILTER, RESIZE_X);
@@ -107,18 +109,18 @@
LV_COLUMN column = {LVCF_FMT|LVCF_WIDTH|LVCF_TEXT, LVCFMT_LEFT, 250};
- TCHAR lvColName[] = _T("Name");
- column.pszText = lvColName;
+ LoadString(g_Globals._hInstance, IDS_NAMECOLUMN, szTemp, nChars);
+ column.pszText = szTemp;
ListView_InsertColumn(_list_ctrl, 0, &column);
column.cx = 300;
- TCHAR lvColPath[] = _T("Path");
- column.pszText = lvColPath;
+ LoadString(g_Globals._hInstance, IDS_PATHCOLUMN, szTemp, nChars);
+ column.pszText = szTemp;
ListView_InsertColumn(_list_ctrl, 1, &column);
column.cx = 400;
- TCHAR lvColMenuPath[] = _T("Menu Path");
- column.pszText = lvColMenuPath;
+ LoadString(g_Globals._hInstance, IDS_MENUCOLUMN, szTemp, nChars);
+ column.pszText = szTemp;
ListView_InsertColumn(_list_ctrl, 2, &column);
ListView_SetExtendedListViewStyleEx(_list_ctrl, LVS_EX_FULLROWSELECT,
LVS_EX_FULLROWSELECT);
Modified: trunk/reactos/base/shell/explorer/explorer-bg.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-bg.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-bg.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Íàñòðîéêè íà ðàáîòíàòà ïëîù"
IDS_DESKTOP "Ðàáîòíà ïëîù"
IDS_TASKBAR "Çàäà÷íà ëåíòà"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Bulgarian (Bg) resources
Modified: trunk/reactos/base/shell/explorer/explorer-bn.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-bn.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-bn.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -378,6 +378,9 @@
IDS_DESKTOPBAR_SETTINGS "W¯Uc wbq¿b"
IDS_DESKTOP "W¯Uc"
IDS_TASKBAR "Kvh©Kvix `Û"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Bengali resources
Modified: trunk/reactos/base/shell/explorer/explorer-cn.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-cn.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-cn.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "×ÀÃæÉèÖÃ"
IDS_DESKTOP "×ÀÃæ"
IDS_TASKBAR "ÈÎÎñÀ¸"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Chinese (P.R.C.) resources
Modified: trunk/reactos/base/shell/explorer/explorer-cz.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-cz.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-cz.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Nastavení plochy"
IDS_DESKTOP "Plocha"
IDS_TASKBAR "Panel úloh"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Czech resources
Modified: trunk/reactos/base/shell/explorer/explorer-de.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-de.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-de.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -387,6 +387,9 @@
IDS_DESKTOPBAR_SETTINGS "Desktop-Einstellungen"
IDS_DESKTOP "Desktop"
IDS_TASKBAR "Taskbar"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Pfad"
+ IDS_MENUCOLUMN "Menüpfad"
END
#endif // German (Germany) resources
Modified: trunk/reactos/base/shell/explorer/explorer-en.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-en.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-en.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Desktop Settings"
IDS_DESKTOP "Desktop"
IDS_TASKBAR "Taskbar"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // English (U.S.) resources
Modified: trunk/reactos/base/shell/explorer/explorer-es.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-es.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-es.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -380,6 +380,9 @@
IDS_DESKTOPBAR_SETTINGS "Configuracion del Escritorio"
IDS_DESKTOP "Escritorio"
IDS_TASKBAR "Barra de Tareas"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Spanish (Castilian) resources
Modified: trunk/reactos/base/shell/explorer/explorer-fr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-fr.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-fr.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -380,6 +380,9 @@
IDS_DESKTOPBAR_SETTINGS "Paramètres du bureau"
IDS_DESKTOP "Bureau"
IDS_TASKBAR "Barre de tâches"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // French (France) resources
Modified: trunk/reactos/base/shell/explorer/explorer-gr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-gr.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-gr.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -380,6 +380,9 @@
IDS_DESKTOPBAR_SETTINGS "Ñõèìßóåéò ÅðéöÜíåéáò Åñãáóßáò"
IDS_DESKTOP "ÅðéöÜíåéá Åñãáóßáò"
IDS_TASKBAR "ÃñáììÞ åñãáóéþí"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Greek resources
Modified: trunk/reactos/base/shell/explorer/explorer-hu.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-hu.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-hu.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Asztal beállításai"
IDS_DESKTOP "Asztal"
IDS_TASKBAR "Taskbar"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Hungarian (unknown sub-lang: 0x0) resources
Modified: trunk/reactos/base/shell/explorer/explorer-id.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-id.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-id.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Setelan Desktop"
IDS_DESKTOP "Desktop"
IDS_TASKBAR "Taskbar"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Indonesian resources
Modified: trunk/reactos/base/shell/explorer/explorer-it.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-it.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-it.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -345,6 +345,9 @@
IDS_DESKTOPBAR_SETTINGS "Impostazioni del Desktop"
IDS_DESKTOP "Desktop"
IDS_TASKBAR "Taskbar"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Italian (Neutral) resources
Modified: trunk/reactos/base/shell/explorer/explorer-jp.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-jp.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-jp.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "fXNgbvÌÝè"
IDS_DESKTOP "fXNgbv"
IDS_TASKBAR "^XNo["
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Japanese resources
Modified: trunk/reactos/base/shell/explorer/explorer-ko.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-ko.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-ko.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -379,6 +379,9 @@
IDS_DESKTOPBAR_SETTINGS "¹ÙÅÁÈ¸é ¼³Á¤"
IDS_DESKTOP "¹ÙÅÁȸé"
IDS_TASKBAR "ÀÛ¾÷ Ç¥½ÃÁÙ"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Korean resources by manatails007(www.manatails007.org)
Modified: trunk/reactos/base/shell/explorer/explorer-nl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-nl.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-nl.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Bureaublad instellingen"
IDS_DESKTOP "Bureaublad"
IDS_TASKBAR "Taakbalk"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Dutch resources
Modified: trunk/reactos/base/shell/explorer/explorer-no.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-no.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-no.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Skrivebord Innstillinger"
IDS_DESKTOP "Skrivebord"
IDS_TASKBAR "Oppgavelinje"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Norwegian (N.O.) resources
Modified: trunk/reactos/base/shell/explorer/explorer-pl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-pl.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-pl.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "W³aciwoci pulpitu"
IDS_DESKTOP "Pulpit"
IDS_TASKBAR "Pasek zadañ"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Polish (PL) resources
Modified: trunk/reactos/base/shell/explorer/explorer-pt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-pt.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-pt.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -149,6 +149,9 @@
IDS_DESKTOPBAR_SETTINGS "Desktop Settings"
IDS_DESKTOP "Desktop"
IDS_TASKBAR "Taskbar"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Portuguese (Portugal) resources
Modified: trunk/reactos/base/shell/explorer/explorer-ro.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-ro.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-ro.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -185,6 +185,9 @@
IDS_DESKTOPBAR_SETTINGS "Desktop Settings"
IDS_DESKTOP "Desktop"
IDS_TASKBAR "Taskbar"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Romanian resources
Modified: trunk/reactos/base/shell/explorer/explorer-ru.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-ru.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-ru.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Íàñòðîéêè ðàáî÷åãî ñòîëà"
IDS_DESKTOP "Ðàáî÷èé ñòîë"
IDS_TASKBAR "Ïàíåëü çàäà÷"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Russian resources
Modified: trunk/reactos/base/shell/explorer/explorer-sk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-sk.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-sk.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -392,6 +392,9 @@
IDS_DESKTOPBAR_SETTINGS "Nastavenia plochy"
IDS_DESKTOP "Pracovná plocha"
IDS_TASKBAR "Panel úloh"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Slovak resources
Modified: trunk/reactos/base/shell/explorer/explorer-sv.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-sv.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-sv.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -376,6 +376,9 @@
IDS_DESKTOPBAR_SETTINGS "Skrivbordsinställningar"
IDS_DESKTOP "Skrivbord"
IDS_TASKBAR "Aktivitetsfält"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Swedish resources
Modified: trunk/reactos/base/shell/explorer/explorer-uk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
==============================================================================
--- trunk/reactos/base/shell/explorer/explorer-uk.rc [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/explorer-uk.rc [iso-8859-1] Sat Jun 14 17:21:44
2008
@@ -381,6 +381,9 @@
IDS_DESKTOPBAR_SETTINGS "Íàñòðîéêè ðîáî÷îãî ñòîëà"
IDS_DESKTOP "Ðîáî÷èé Ñò³ë"
IDS_TASKBAR "Ïàíåëü çàâäàíü"
+ IDS_NAMECOLUMN "Name"
+ IDS_PATHCOLUMN "Path"
+ IDS_MENUCOLUMN "Menu path"
END
#endif // Ukrainian resources
Modified: trunk/reactos/base/shell/explorer/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/resour…
==============================================================================
--- trunk/reactos/base/shell/explorer/resource.h [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer/resource.h [iso-8859-1] Sat Jun 14 17:21:44 2008
@@ -49,6 +49,9 @@
#define IDS_HIDE_ICONS 44
#define IDS_TERMINATE 45
#define IDS_RESTART 46
+#define IDS_NAMECOLUMN 47
+#define IDS_PATHCOLUMN 48
+#define IDS_MENUCOLUMN 49
#define IDI_REACTOS 100
#define IDI_EXPLORER 101
#define IDI_STARTMENU 102