Commit fa25f187 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winhelp: Remove the search button, hook the index button to the Finder, and add…

winhelp: Remove the search button, hook the index button to the Finder, and add a new summary button to go back to main page.
parent 841720e4
......@@ -74,8 +74,8 @@ STID_WARNING, ""
STID_INFO, ""
STID_NOT_IMPLEMENTED, " "
STID_HLPFILE_ERROR_s, " `%s'"
STID_CONTENTS, "&"
STID_SEARCH, "&"
STID_INDEX, "&"
STID_CONTENTS, "Summary"
STID_BACK, "&"
STID_ALL_FILES, " (*.*)"
STID_HELP_FILES_HLP, " (*.hlp)"
......
......@@ -79,8 +79,8 @@ STID_WARNING, "VAROVN"
STID_INFO, "Informace"
STID_NOT_IMPLEMENTED, "Nen implementovno"
STID_HLPFILE_ERROR_s, "Nelze pest soubor npovdy `%s'"
STID_CONTENTS, "&Obsah"
STID_SEARCH, "&Hledat"
STID_INDEX, "&Obsah"
STID_CONTENTS, "Summary"
STID_BACK, "&Zpt"
STID_ALL_FILES, "Vechny soubory (*.*)"
STID_HELP_FILES_HLP, "Soubory npovdy (*.hlp)"
......
......@@ -86,8 +86,8 @@ STID_WARNING, "ADVARSEL"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Ikke implementeret"
STID_HLPFILE_ERROR_s, "Fejl ved indlsning af filen `%s'"
STID_CONTENTS, "&Indhold"
STID_SEARCH, "&Sg"
STID_INDEX, "&Indhold"
STID_CONTENTS, "Summary"
STID_BACK, "&Tilbage"
STID_ALL_FILES, "Alle filer (*.*)"
STID_HELP_FILES_HLP, "Hjlpe filer (*.hlp)"
......
......@@ -86,8 +86,8 @@ STID_WARNING, "ACHTUNG"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Nicht implementiert"
STID_HLPFILE_ERROR_s, "Fehler beim Lesen der Hilfe-Datei `%s'"
STID_CONTENTS, "&Inhalt"
STID_SEARCH, "&Suchen"
STID_INDEX, "&Inhalt"
STID_CONTENTS, "Summary"
STID_BACK, "&Zurck"
STID_ALL_FILES, "Alle Dateien (*.*)"
STID_HELP_FILES_HLP, "Hilfe-Dateien (*.hlp)"
......
......@@ -93,8 +93,8 @@ STID_WARNING, "WARNING"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Not implemented"
STID_HLPFILE_ERROR_s, "Error while reading the help file `%s'"
STID_CONTENTS, "&Contents"
STID_SEARCH, "&Search"
STID_INDEX, "&Index"
STID_CONTENTS, "Summary"
STID_BACK, "&Back"
STID_ALL_FILES, "All files (*.*)"
STID_HELP_FILES_HLP, "Help files (*.hlp)"
......
......@@ -77,8 +77,8 @@ STID_WARNING, "ATENTU"
STID_INFO, "Informo pri"
STID_NOT_IMPLEMENTED, "Ne-implementata"
STID_HLPFILE_ERROR_s, "Eraro dum la legado de helpdosiero `%s'"
STID_CONTENTS, "&Enhavo"
STID_SEARCH, "&Seru"
STID_INDEX, "&Enhavo"
STID_CONTENTS, "Summary"
STID_BACK, "&Retro"
STID_ALL_FILES, "Tutaj dosieroj (*.*)"
STID_HELP_FILES_HLP, "Helpaj dosieroj (*.hlp)"
......
......@@ -76,8 +76,8 @@ STID_WARNING, "ADVERTENCIA"
STID_INFO, "Informacin"
STID_NOT_IMPLEMENTED, "An no implementado"
STID_HLPFILE_ERROR_s, "Error al leer el archivo de ayuda `%s'"
STID_CONTENTS, "&ndice"
STID_SEARCH, "&Buscar"
STID_INDEX, "&ndice"
STID_CONTENTS, "Summary"
STID_BACK, "&Anterior"
STID_ALL_FILES, "Todos los archivos (*.*)"
STID_HELP_FILES_HLP, "Archivos de ayuda (*.hlp)"
......
......@@ -77,8 +77,8 @@ STID_WARNING, "VAROITUS"
STID_INFO, "Tietoja"
STID_NOT_IMPLEMENTED, "Ei kytettviss"
STID_HLPFILE_ERROR_s, "Virhe luettaessa ohjetiedostoa `%s'"
STID_CONTENTS, "&Sisllys"
STID_SEARCH, "&Etsi"
STID_INDEX, "&Sisllys"
STID_CONTENTS, "Summary"
STID_BACK, "&Takaisin"
STID_ALL_FILES, "Kaikki tiedostot (*.*)"
STID_HELP_FILES_HLP, "Ohjetiedostot (*.hlp)"
......
......@@ -88,8 +88,8 @@ STID_WARNING, "ATTENTION"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Non implment"
STID_HLPFILE_ERROR_s, "Une erreur est survenue en lisant le fichier d'aide %s"
STID_CONTENTS, "&Index"
STID_SEARCH, "&Rechercher"
STID_INDEX, "&Index"
STID_CONTENTS, "Sommaire"
STID_BACK, "&Prcdent"
STID_ALL_FILES, "Tous fichiers (*.*)"
STID_HELP_FILES_HLP, "Fichiers d'aide (*.hlp)"
......
......@@ -77,8 +77,8 @@ STID_WARNING, "FIGYELMEZTETS"
STID_INFO, "Informci"
STID_NOT_IMPLEMENTED, "Nincs implementlva"
STID_HLPFILE_ERROR_s, "Hiba a `%s' file olvassakor"
STID_CONTENTS, "&Tartalom"
STID_SEARCH, "&Keress"
STID_INDEX, "&Tartalom"
STID_CONTENTS, "Summary"
STID_BACK, "&Vissza"
STID_ALL_FILES, "Minden fjl (*.*)"
STID_HELP_FILES_HLP, "Sg fjlok (*.hlp)"
......
......@@ -76,8 +76,8 @@ STID_WARNING, "ATTENZIONE"
STID_INFO, "Informazione"
STID_NOT_IMPLEMENTED, "Non ancora implementato"
STID_HLPFILE_ERROR_s, "Errore di lettura del file della Guida `%s'"
STID_CONTENTS, "&Sommario"
STID_SEARCH, "&Trova"
STID_INDEX, "Index"
STID_CONTENTS, "&Sommario"
STID_BACK, "&Precedente"
STID_ALL_FILES, "Tutti i file (*.*)"
STID_HELP_FILES_HLP, "File della Guida (*.hlp)"
......
......@@ -88,8 +88,8 @@ STID_WARNING, "경고"
STID_INFO, "정보"
STID_NOT_IMPLEMENTED, "구현되지 않았음"
STID_HLPFILE_ERROR_s, "도움말 파일 `%s'를 읽는 도중 오류 발생"
STID_CONTENTS, "목차(&C)"
STID_SEARCH, "찾기(&S)"
STID_INDEX, "목차(&C)"
STID_CONTENTS, "Summary"
STID_BACK, "뒤로(&B)"
STID_ALL_FILES, "모든 파일 (*.*)"
STID_HELP_FILES_HLP, "도움말 파일 (*.hlp)"
......
......@@ -85,8 +85,8 @@ STID_WARNING, "WAARSCHUWING"
STID_INFO, "Informatie"
STID_NOT_IMPLEMENTED, "Niet gemplementeerd"
STID_HLPFILE_ERROR_s, "Fout bij het lezen van het helpbestand `%s'"
STID_CONTENTS, "&Inhoud"
STID_SEARCH, "&Zoeken"
STID_INDEX, "&Inhoud"
STID_CONTENTS, "Summary"
STID_BACK, "&Terug"
STID_ALL_FILES, "Alle bestanden (*.*)"
STID_HELP_FILES_HLP, "Helpbestanden (*.hlp)"
......
......@@ -84,8 +84,8 @@ STID_WARNING, "ADVARSEL"
STID_INFO, "Informasjon"
STID_NOT_IMPLEMENTED, "Ikke implementert"
STID_HLPFILE_ERROR_s, "Feil ved lesing av hjelpefilen '%s'"
STID_CONTENTS, "&Innhold"
STID_SEARCH, "&Sk"
STID_INDEX, "&Innhold"
STID_CONTENTS, "Summary"
STID_BACK, "Til&bake"
STID_ALL_FILES, "Alle filer (*.*)"
STID_HELP_FILES_HLP, "Hjelp-filer (*.hlp)"
......
......@@ -86,8 +86,8 @@ STID_WARNING, "OSTRZEENIE"
STID_INFO, "Informacja"
STID_NOT_IMPLEMENTED, "Nie zaimplementowane"
STID_HLPFILE_ERROR_s, "Bd w trakcie odczytu pliku pomocy `%s'"
STID_CONTENTS, "&Zawarto"
STID_SEARCH, "&Szukaj"
STID_INDEX, "&Zawarto"
STID_CONTENTS, "&Szukaj"
STID_BACK, "&Wstecz"
STID_ALL_FILES, "Wszystkie pliki (*.*)"
STID_HELP_FILES_HLP, "Pliki pomocy (*.hlp)"
......
......@@ -131,8 +131,8 @@ STID_WARNING, "AVISO"
STID_INFO, "Informao"
STID_NOT_IMPLEMENTED, "No implementado"
STID_HLPFILE_ERROR_s, "Erro encontrado na leitura do arquivo de ajuda '%s'"
STID_CONTENTS, "&Contedo"
STID_SEARCH, "&Procurar"
STID_INDEX, "&Contedo"
STID_CONTENTS, "Summary"
STID_BACK, "&Voltar"
STID_ALL_FILES, "Todos os arquivos (*.*)"
STID_HELP_FILES_HLP, "Arquivos de ajuda (*.hlp)"
......@@ -151,8 +151,8 @@ STID_WARNING, "AVISO"
STID_INFO, "Informao"
STID_NOT_IMPLEMENTED, "No implementado"
STID_HLPFILE_ERROR_s, "Erro encontrado na leitura do ficheiro de ajuda '%s'"
STID_CONTENTS, "&Contedo"
STID_SEARCH, "&Procurar"
STID_INDEX, "&Contedo"
STID_CONTENTS, "Summary"
STID_BACK, "&Voltar"
STID_ALL_FILES, "Todos os ficheiros (*.*)"
STID_HELP_FILES_HLP, "Ficheiros de ajuda (*.hlp)"
......
......@@ -79,8 +79,8 @@ STID_WARNING, "ATTENZIUN"
STID_INFO, "INFUORMAZIUN"
STID_NOT_IMPLEMENTED, "Na implementa"
STID_HLPFILE_ERROR_s, "Sbagl cun leger la datoteca d'ag�d `%s'"
STID_CONTENTS, "&Cuntgn�"
STID_SEARCH, "&Tscherchar"
STID_INDEX, "&Cuntgn�"
STID_CONTENTS, "Summary"
STID_BACK, "&Inavo"
STID_ALL_FILES, "Tuot las datotecas (*.*)"
STID_HELP_FILES_HLP, "Datotecas d'ag�d (*.hlp)"
......
......@@ -84,8 +84,8 @@ STID_WARNING, ""
STID_INFO, ""
STID_NOT_IMPLEMENTED, " "
STID_HLPFILE_ERROR_s, " `%s'"
STID_CONTENTS, "&"
STID_SEARCH, "&"
STID_INDEX, "&"
STID_CONTENTS, "Summary"
STID_BACK, "&"
STID_ALL_FILES, " (*.*)"
STID_HELP_FILES_HLP, " (*.hlp)"
......
......@@ -86,8 +86,8 @@ STID_WARNING, "OPOZORILO"
STID_INFO, "Informacija"
STID_NOT_IMPLEMENTED, "Ni (še) na voljo"
STID_HLPFILE_ERROR_s, "Napaka pri branju datoteke s pomočjo `%s'"
STID_CONTENTS, "&Teme pomoči"
STID_SEARCH, "&Iskanje"
STID_INDEX, "&Teme pomoči"
STID_CONTENTS, "Summart"
STID_BACK, "&Nazaj"
STID_ALL_FILES, "Vse datoteke (*.*)"
STID_HELP_FILES_HLP, "Datoteke s pomočjo (*.hlp)"
......
......@@ -72,8 +72,8 @@ STID_WARNING, "VAROVANIE"
STID_INFO, "Informcie"
STID_NOT_IMPLEMENTED, "Neimplementovan"
STID_HLPFILE_ERROR_s, "Chyba poas tania sboru `%s'"
STID_CONTENTS, "&Obsah"
STID_SEARCH, "&Hada"
STID_INDEX, "&Obsah"
STID_CONTENTS, "Summary"
STID_BACK, "&Sp"
STID_ALL_FILES, "Vetky sbory (*.*)"
STID_HELP_FILES_HLP, "Sbory pomoci (*.hlp)"
......
......@@ -77,8 +77,8 @@ STID_WARNING, "VARNING"
STID_INFO, "Information"
STID_NOT_IMPLEMENTED, "Inte implementerat"
STID_HLPFILE_ERROR_s, "Fel vid läsning av hjälpfilen `%s'"
STID_CONTENTS, "&Innehåll"
STID_SEARCH, "&Sök"
STID_INDEX, "&Innehåll"
STID_CONTENTS, "Summary"
STID_BACK, "&Bakåt"
STID_ALL_FILES, "Alla filer (*.*)"
STID_HELP_FILES_HLP, "Hjälpfiler (*.hlp)"
......
......@@ -74,8 +74,8 @@ STID_WARNING, "UYARI"
STID_INFO, "Bilgi"
STID_NOT_IMPLEMENTED, "Henz tamamlanmad"
STID_HLPFILE_ERROR_s, "'%s' yardm dosyas alrken hata"
STID_CONTENTS, "&indekiler"
STID_SEARCH, "&Ara"
STID_INDEX, "&indekiler"
STID_CONTENTS, "Summary"
STID_BACK, "&Geri"
STID_ALL_FILES, "Tm dosyalar (*.*)"
STID_HELP_FILES_HLP, "Yardm dosyalar (*.hlp)"
......
......@@ -79,8 +79,8 @@ STID_WARNING, "ADVERTIXHMINT"
STID_INFO, "Informcion"
STID_NOT_IMPLEMENTED, "Nn co possibe"
STID_HLPFILE_ERROR_s, "Yk n' a nn st moumint di lere li fitch d' aide `%s'"
STID_CONTENTS, "&dvins"
STID_SEARCH, "C&wer"
STID_INDEX, "&dvins"
STID_CONTENTS, "Summary"
STID_BACK, "n &Er"
STID_ALL_FILES, "Tos les fitchs (*.*)"
STID_HELP_FILES_HLP, "Fitchs d' aide (*.hlp)"
......
......@@ -75,8 +75,8 @@ STID_WARNING, "警告"
STID_INFO, "信息"
STID_NOT_IMPLEMENTED, "未实现"
STID_HLPFILE_ERROR_s, "读入帮助文件 ‘%s’ 时发生错误"
STID_CONTENTS, "内容(&C)"
STID_SEARCH, "搜索(&S)"
STID_INDEX, "内容(&C)"
STID_CONTENTS, "Summary"
STID_BACK, "返回(&B)"
STID_ALL_FILES, "所有文件 (*.*)"
STID_HELP_FILES_HLP, "帮助文件 (*.hlp)"
......
......@@ -627,8 +627,8 @@ BOOL WINHELP_CreateHelpWindow(WINHELP_WNDPAGE* wpage, int nCmdShow, BOOL remembe
LoadString(Globals.hInstance, STID_CONTENTS, buffer, sizeof(buffer));
MACRO_CreateButton("BTN_CONTENTS", buffer, "Contents()");
LoadString(Globals.hInstance, STID_SEARCH,buffer, sizeof(buffer));
MACRO_CreateButton("BTN_SEARCH", buffer, "Search()");
LoadString(Globals.hInstance, STID_INDEX, buffer, sizeof(buffer));
MACRO_CreateButton("BTN_INDEX", buffer, "Finder()");
LoadString(Globals.hInstance, STID_BACK, buffer, sizeof(buffer));
MACRO_CreateButton("BTN_BACK", buffer, "Back()");
if (win->back.index <= 1) MACRO_DisableButton("BTN_BACK");
......
......@@ -43,7 +43,7 @@
#define STID_NOT_IMPLEMENTED 0x124
#define STID_HLPFILE_ERROR_s 0x125
#define STID_CONTENTS 0x126
#define STID_SEARCH 0x127
#define STID_INDEX 0x127
#define STID_BACK 0x128
#define STID_ALL_FILES 0x12B
#define STID_HELP_FILES_HLP 0x12C
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment