Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
efbe9c53
Commit
efbe9c53
authored
May 14, 2002
by
Sylvain Petreolle
Committed by
Alexandre Julliard
May 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Converted Winhelp for use of NLS
- Minor bugfix - Disable support of Va.rc for now (rumantsch swiss)
parent
fc01b729
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
627 additions
and
604 deletions
+627
-604
Da.rc
programs/winhelp/Da.rc
+44
-37
De.rc
programs/winhelp/De.rc
+44
-37
En.rc
programs/winhelp/En.rc
+44
-38
Es.rc
programs/winhelp/Es.rc
+44
-37
Fi.rc
programs/winhelp/Fi.rc
+44
-37
Fr.rc
programs/winhelp/Fr.rc
+44
-44
Hu.rc
programs/winhelp/Hu.rc
+44
-37
It.rc
programs/winhelp/It.rc
+44
-37
Ko.rc
programs/winhelp/Ko.rc
+44
-37
Pt.rc
programs/winhelp/Pt.rc
+44
-37
Sk.rc
programs/winhelp/Sk.rc
+2
-1
Sw.rc
programs/winhelp/Sw.rc
+44
-37
Va.rc
programs/winhelp/Va.rc
+49
-39
Wa.rc
programs/winhelp/Wa.rc
+45
-40
macro.c
programs/winhelp/macro.c
+6
-4
rsrc.rc
programs/winhelp/rsrc.rc
+3
-12
string.c
programs/winhelp/string.c
+0
-2
winhelp.c
programs/winhelp/winhelp.c
+21
-49
winhelp.h
programs/winhelp/winhelp.h
+3
-42
winhelp_res.h
programs/winhelp/winhelp_res.h
+14
-0
No files found.
programs/winhelp/Da.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1997 Henrik Olsen
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -18,45 +19,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Da
#define LANGUAGE_NUMBER 6
/* Menu */
#define MENU_FILE "&Filer"
#define MENU_FILE_OPEN "&bn..."
#define MENU_FILE_PRINT "&Udskriv emne"
#define MENU_FILE_PRINTER_SETUP "&Indstil printer"
#define MENU_FILE_EXIT "&Afslut"
#define MENU_EDIT "&Rediger"
#define MENU_EDIT_COPY_DIALOG "K&opier..."
#define MENU_EDIT_ANNOTATE "&Anmrk..."
#define MENU_BOOKMARK "Bog&mrke"
#define MENU_BOOKMARK_DEFINE "&Definer..."
#define MENU_HELP "&Hjlp"
#define MENU_HELP_ON_HELP "&Brug af Hjlp"
#define MENU_HELP_ON_TOP "Altid &verst"
#define MENU_HELP_INFO "&Info..."
#define MENU_HELP_ABOUT_WINE "Om &WINE"
MAIN_MENU MENU LANGUAGE LANG_DANISH, SUBLANG_NEUTRAL
{
POPUP "&Filer" {
MENUITEM "&bn...", 0x101
MENUITEM SEPARATOR
MENUITEM "&Udskriv emne", 0x104
MENUITEM "&Indstil printer", 0x106
MENUITEM SEPARATOR
MENUITEM "&Afslut", 0x108
}
POPUP "&Rediger" {
MENUITEM "K&opier...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Anmrk...", 0x10C
}
POPUP "Bog&mrke" {
MENUITEM "&Definer...", 0x10E
}
POPUP "&Hjlp" {
MENUITEM "&Brug af Hjlp", 0x110
MENUITEM "Altid &verst", 0x111
MENUITEM SEPARATOR
MENUITEM "&Info...", 0x113
#ifdef WINELIB
MENUITEM "Om &WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "WINE Hjlp"
#define STRING_ERROR "FEJL"
#define STRING_WARNING "ADVARSEL"
#define STRING_INFO "Information"
#define STRING_NOT_IMPLEMENTED "Ikke implementeret"
#define STRING_HLPFILE_ERROR_s "Fejl ved lsning af filen `%s'"
#define STRING_CONTENTS "&Indhold"
#define STRING_SEARCH "&Sg"
#define STRING_BACK "&Tilbage"
#define STRING_HISTORY "&Oversigt"
#define STRING_ALL_FILES "Alle filer (*.*)"
#define STRING_HELP_FILES_HLP "Hjlpe filer (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_DANISH, SUBLANG_NEUTRAL
{
WINE_HELP, "WINE Hjlp"
WHERROR, "FEJL"
WARNING, "ADVARSEL"
INFO, "Information"
NOT_IMPLEMENTED, "Ikke implementeret"
HLPFILE_ERROR_s, "Fejl ved lsning af filen `%s'"
CONTENTS, "&Indhold"
SEARCH, "&Sg"
BACK, "&Tilbage"
HISTORY, "&Oversigt"
ALL_FILES, "Alle filer (*.*)"
HELP_FILES_HLP, "Hjlpe filer (*.hlp)"
}
programs/winhelp/De.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -18,45 +19,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID De
#define LANGUAGE_NUMBER 2
/* Menu */
#define MENU_FILE "&Datei"
#define MENU_FILE_OPEN "Ö&ffnen..."
#define MENU_FILE_PRINT "Thema &drucken"
#define MENU_FILE_PRINTER_SETUP "Drucker&einrichtung..."
#define MENU_FILE_EXIT "&Beenden"
#define MENU_EDIT "&Bearbeiten"
#define MENU_EDIT_COPY_DIALOG "&Kopieren..."
#define MENU_EDIT_ANNOTATE "&Anmerken..."
#define MENU_BOOKMARK "&Lesezeichen"
#define MENU_BOOKMARK_DEFINE "&Definieren..."
#define MENU_HELP "&Hilfe"
#define MENU_HELP_ON_HELP "&Hilfe benutzen"
#define MENU_HELP_ON_TOP "Immer im &Vordergrund"
#define MENU_HELP_INFO "Inf&o..."
#define MENU_HELP_ABOUT_WINE "&Über WINE"
MAIN_MENU MENU LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
{
POPUP "&Datei" {
MENUITEM "&ffnen...", 0x101
MENUITEM SEPARATOR
MENUITEM "Thema &drucken", 0x104
MENUITEM "Drucker&einrichtung...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Beenden", 0x108
}
POPUP "&Bearbeiten" {
MENUITEM "&Kopieren...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Anmerken...", 0x10C
}
POPUP "&Lesezeichen" {
MENUITEM "&Definieren...", 0x10E
}
POPUP "&Hilfe" {
MENUITEM "&Hilfe benutzen", 0x110
MENUITEM "Immer im &Vordergrund", 0x111
MENUITEM SEPARATOR
MENUITEM "&Info...", 0x113
#ifdef WINELIB
MENUITEM "&ber WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "WINE Hilfe"
#define STRING_ERROR "FEHLER"
#define STRING_WARNING "ACHTUNG"
#define STRING_INFO "Information"
#define STRING_NOT_IMPLEMENTED "Nicht implementiert"
#define STRING_HLPFILE_ERROR_s "Fehler beim Lesen der Hilfe-Datei `%s'"
#define STRING_CONTENTS "&Inhalt"
#define STRING_SEARCH "&Suchen"
#define STRING_BACK "&Zurück"
#define STRING_HISTORY "&Bisher"
#define STRING_ALL_FILES "Alle Dateien (*.*)"
#define STRING_HELP_FILES_HLP "Hilfe-Dateien (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
{
WINE_HELP, "WINE Hilfe"
WHERROR, "FEHLER"
WARNING, "ACHTUNG"
INFO, "Information"
NOT_IMPLEMENTED, "Nicht implementiert"
HLPFILE_ERROR_s, "Fehler beim Lesen der Hilfe-Datei `%s'"
CONTENTS, "&Inhalt"
SEARCH, "&Suchen"
BACK, "&Zurck"
HISTORY, "&Bisher"
ALL_FILES, "Alle Dateien (*.*)"
HELP_FILES_HLP, "Hilfe-Dateien (*.hlp)"
}
programs/winhelp/En.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -18,45 +19,50 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID En
#define LANGUAGE_NUMBER 0
/* Menu */
#define MENU_FILE "&File"
#define MENU_FILE_OPEN "&Open..."
#define MENU_FILE_PRINT "&Print"
#define MENU_FILE_PRINTER_SETUP "Printer &setup..."
#define MENU_FILE_EXIT "&Exit"
#define MENU_EDIT "&Edit"
#define MENU_EDIT_COPY_DIALOG "&Copy..."
#define MENU_EDIT_ANNOTATE "&Annotate..."
#define MENU_BOOKMARK "&Bookmark"
#define MENU_BOOKMARK_DEFINE "&Define..."
#define MENU_HELP "&Help"
#define MENU_HELP_ON_HELP "Help &on help"
#define MENU_HELP_ON_TOP "Always on &top"
#define MENU_HELP_INFO "&Info..."
#define MENU_HELP_ABOUT_WINE "&About WINE"
MAIN_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
{
POPUP "&File" {
MENUITEM "&Open", 0x101
MENUITEM SEPARATOR
MENUITEM "&Print", 0x104
MENUITEM "Printer &setup...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Exit", 0x108
}
POPUP "&Edit" {
MENUITEM "&Copy...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Annotate...", 0x10C
}
POPUP "&Bookmark" {
MENUITEM "&Define...", 0x10E
}
POPUP "&Help" {
MENUITEM "Help &on help", 0x110
MENUITEM "Always on &top", 0x111
MENUITEM SEPARATOR
MENUITEM "&Info...", 0x113
#ifdef WINELIB
MENUITEM "&About WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "WINE Help"
#define STRING_ERROR "ERROR
"
#define STRING_WARNING "WARNING
"
#define STRING_INFO "Information
"
#define STRING_NOT_IMPLEMENTED "Not implemented
"
#define STRING_HLPFILE_ERROR_s "Error while reading the help file `%s'
"
#define STRING_CONTENTS "&Contents
"
#define STRING_SEARCH "&Search
"
#define STRING_BACK "&Back
"
#define STRING_HISTORY "&History
"
#define STRING_ALL_FILES "All files (*.*)
"
#define STRING_HELP_FILES_HLP "Help files (*.hlp
)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL
{
WINE_HELP, "WINE Help
"
WHERROR, "ERROR
"
WARNING, "WARNING
"
INFO, "Information
"
NOT_IMPLEMENTED, "Not implemented
"
HLPFILE_ERROR_s, "Error while reading the help file `%s'
"
CONTENTS, "&Contents
"
SEARCH, "&Search
"
BACK, "&Back
"
HISTORY, "&History
"
ALL_FILES, "All files (*.*
)"
HELP_FILES_HLP, "Help files (*.hlp)"
}
programs/winhelp/Es.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -18,45 +19,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Es
#define LANGUAGE_NUMBER d
/* Menu */
#define MENU_FILE "&Archivo"
#define MENU_FILE_OPEN "A&brir..."
#define MENU_FILE_PRINT "&Imprimir"
#define MENU_FILE_PRINTER_SETUP "&Configuracin Impresora..."
#define MENU_FILE_EXIT "&Salir"
#define MENU_EDIT "&Editar"
#define MENU_EDIT_COPY_DIALOG "&Copiar..."
#define MENU_EDIT_ANNOTATE "&Anotar..."
#define MENU_BOOKMARK "&Marcador"
#define MENU_BOOKMARK_DEFINE "&Definir..."
#define MENU_HELP "&Ayuda"
#define MENU_HELP_ON_HELP "&Ayuda sobre la ayuda"
#define MENU_HELP_ON_TOP "Siempre &visible"
#define MENU_HELP_INFO "&Info..."
#define MENU_HELP_ABOUT_WINE "&Acerca de WINE"
MAIN_MENU MENU LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
{
POPUP "&Archivo" {
MENUITEM "A&brir...", 0x101
MENUITEM SEPARATOR
MENUITEM "&Imprimir", 0x104
MENUITEM "&Configuracin Impresora...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Salir", 0x108
}
POPUP "&Editar" {
MENUITEM "&Copiar...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Anotar...", 0x10C
}
POPUP "&Marcador" {
MENUITEM "&Definir...", 0x10E
}
POPUP "&Ayuda" {
MENUITEM "&Ayuda sobre la ayuda", 0x110
MENUITEM "&Toujours visible", 0x111
MENUITEM SEPARATOR
MENUITEM "&Info...", 0x113
#ifdef WINELIB
MENUITEM "&Acerca de WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "Ayuda de WINE"
#define STRING_ERROR "ERROR"
#define STRING_WARNING "CUIDADO"
#define STRING_INFO "Informacin"
#define STRING_NOT_IMPLEMENTED "An no implementado"
#define STRING_HLPFILE_ERROR_s "Error al leer el archivo de ayuda `%s'"
#define STRING_CONTENTS "&Indice"
#define STRING_SEARCH "&Buscar"
#define STRING_BACK "&Anterior"
#define STRING_HISTORY "&Historia"
#define STRING_ALL_FILES "Todos los archivos (*.*)"
#define STRING_HELP_FILES_HLP "Archivos de ayuda (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
{
WINE_HELP, "Ayuda de WINE"
WHERROR, "ERROR"
WARNING, "CUIDADO"
INFO, "Informacin"
NOT_IMPLEMENTED, "An no implementado"
HLPFILE_ERROR_s, "Error al leer el archivo de ayuda `%s'"
CONTENTS, "&Indice"
SEARCH, "&Buscar"
BACK, "&Anterior"
HISTORY, "&Historia"
ALL_FILES, "Todos los archivos (*.*)"
HELP_FILES_HLP, "Archivos de ayuda (*.hlp)"
}
programs/winhelp/Fi.rc
View file @
efbe9c53
...
...
@@ -3,6 +3,7 @@
*
* Copyright 1996 Ulrich Schmid
* Finnish language by Jussi Tirkkonen <jt@modeemi.cs.tut.fi>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -19,45 +20,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Fi
#define LANGUAGE_NUMBER 5
/* Menu */
#define MENU_FILE "&Tiedosto"
#define MENU_FILE_OPEN "&Avaa..."
#define MENU_FILE_PRINT "&Tulosta"
#define MENU_FILE_PRINTER_SETUP "&Kirjoittimen asetukset..."
#define MENU_FILE_EXIT "&Lopeta"
#define MENU_EDIT "&Muokkaa"
#define MENU_EDIT_COPY_DIALOG "&Kopioi..."
#define MENU_EDIT_ANNOTATE "&Huomautus..."
#define MENU_BOOKMARK "&Kirjanmerkki"
#define MENU_BOOKMARK_DEFINE "&Aseta..."
#define MENU_HELP "&Ohje"
#define MENU_HELP_ON_HELP "&Ohjeen kytt"
#define MENU_HELP_ON_TOP "&Aina pllimmisen"
#define MENU_HELP_INFO "T&ietoja..."
#define MENU_HELP_ABOUT_WINE "&Tietoja WINEst"
MAIN_MENU MENU LANGUAGE LANG_FINNISH, SUBLANG_NEUTRAL
{
POPUP "&Tiedosto" {
MENUITEM "&Avaa...", 0x101
MENUITEM SEPARATOR
MENUITEM "&Tulosta", 0x104
MENUITEM "&Kirjoittimen asetukset...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Lopeta", 0x108
}
POPUP "&Muokkaa" {
MENUITEM "&Kopioi...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Huomautus...", 0x10C
}
POPUP "&Kirjanmerkki" {
MENUITEM "&Aseta...", 0x10E
}
POPUP "&Ohje" {
MENUITEM "&Ohjeen kytt", 0x110
MENUITEM "&Aina pllimmisen", 0x111
MENUITEM SEPARATOR
MENUITEM "T&ietoja...", 0x113
#ifdef WINELIB
MENUITEM "&Tietoja WINEst", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "WINE Ohje"
#define STRING_ERROR "VIRHE"
#define STRING_WARNING "VAROITUS"
#define STRING_INFO "Tietoja"
#define STRING_NOT_IMPLEMENTED "Ei kytettviss"
#define STRING_HLPFILE_ERROR_s "Virhe luettaessa ohjetiedostoa `%s'"
#define STRING_CONTENTS "&Sisllys"
#define STRING_SEARCH "&Etsi"
#define STRING_BACK "&Takaisin"
#define STRING_HISTORY "&Luetut"
#define STRING_ALL_FILES "Kaikki tiedostot (*.*)"
#define STRING_HELP_FILES_HLP "Ohjetiedostot (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_FINNISH, SUBLANG_NEUTRAL
{
WINE_HELP, "WINE Ohje"
WHERROR, "VIRHE"
WARNING, "VAROITUS"
INFO, "Tietoja"
NOT_IMPLEMENTED, "Ei kytettviss"
HLPFILE_ERROR_s, "Virhe luettaessa ohjetiedostoa `%s'"
CONTENTS, "&Sisllys"
SEARCH, "&Etsi"
BACK, "&Takaisin"
HISTORY, "&Luetut"
ALL_FILES, "Kaikki tiedostot (*.*)"
HELP_FILES_HLP, "Ohjetiedostot (*.hlp)"
}
programs/winhelp/Fr.rc
View file @
efbe9c53
...
...
@@ -2,7 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
*
French language by Pablo Saratxaga <srtxg@f2219.n293.z2.fidonet.org
>
*
Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr
>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -19,51 +19,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
/* Alors peut-être ceci aidera (so maybe this will help) :) */
/* #include ../progman/Fr.rc */
#define LANGUAGE_ID Fr
#define LANGUAGE_NUMBER 4
/* Menu */
#define MENU_FILE "&Fichier"
#define MENU_FILE_OPEN "O&uvrir..."
#define MENU_FILE_PRINT "&Imprimer la rubrique"
#define MENU_FILE_PRINTER_SETUP "&Configuration de l'impression..."
#define MENU_FILE_EXIT "&Quitter"
#define MENU_EDIT "&Edition"
#define MENU_EDIT_COPY_DIALOG "&Copier..."
#define MENU_EDIT_ANNOTATE "&Annotation..."
#define MENU_BOOKMARK "&Signet"
#define MENU_BOOKMARK_DEFINE "&Définir..."
#define MENU_HELP "&?"
#define MENU_HELP_ON_HELP "&Utiliser l'aide"
#define MENU_HELP_ON_TOP "&Toujours visible"
#define MENU_HELP_INFO "&Info..."
#define MENU_HELP_ABOUT_WINE "&A propos de WINE"
/*
Configuration de l'imprimante
*/
MAIN_MENU MENU LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
{
POPUP "&Fichier" {
MENUITEM "&Ouvrir", 0x101
MENUITEM SEPARATOR
MENUITEM "Im&primer", 0x104
MENUITEM "&Configuration de l'imprimante...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Quitter", 0x108
}
POPUP "&Edition" {
MENUITEM "&Copier...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Annotation...", 0x10C
}
POPUP "&Signet" {
MENUITEM "&Dfinir...", 0x10E
}
POPUP "&?" {
MENUITEM "&Utiliser l'aide", 0x110
MENUITEM "&Toujours visible", 0x111
MENUITEM SEPARATOR
MENUITEM "&Info...", 0x113
#ifdef WINELIB
MENUITEM "&A propos de WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "Aide de WINE"
#define STRING_ERROR "ERREUR"
#define STRING_WARNING "WARNING"
#define STRING_INFO "Information"
#define STRING_NOT_IMPLEMENTED "Non implementé"
#define STRING_HLPFILE_ERROR_s "Une erreur est survenue en lisant le fichier d'aide `%s'"
#define STRING_CONTENTS "&Index"
#define STRING_SEARCH "&Rechercher"
#define STRING_BACK "&Précédent"
#define STRING_HISTORY "&Historique"
#define STRING_ALL_FILES "Tout fichier (*.*)"
#define STRING_HELP_FILES_HLP "Fichiers d'aide (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
{
WINE_HELP, "Aide de WINE"
WHERROR, "ERREUR"
WARNING, "ATTENTION"
INFO, "Information"
NOT_IMPLEMENTED, "Non implement"
HLPFILE_ERROR_s, "Une erreur est survenue en lisant le fichier d'aide `%s'"
CONTENTS, "&Index"
SEARCH, "&Rechercher"
BACK, "&Prcdent"
HISTORY, "&Historique"
ALL_FILES, "Tout fichier (*.*)"
HELP_FILES_HLP, "Fichiers d'aide (*.hlp)"
}
programs/winhelp/Hu.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -18,45 +19,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Hu
#define LANGUAGE_NUMBER 7
/* Menu */
#define MENU_FILE "&File"
#define MENU_FILE_OPEN "&Megnyits..."
#define MENU_FILE_PRINT "&Nyomtats"
#define MENU_FILE_PRINTER_SETUP "Nyomtat &bellts..."
#define MENU_FILE_EXIT "&Kilps"
#define MENU_EDIT "&Szerkeszts"
#define MENU_EDIT_COPY_DIALOG "&Msols..."
#define MENU_EDIT_ANNOTATE "&Annotate..."
#define MENU_BOOKMARK "&Knyvjelz"
#define MENU_BOOKMARK_DEFINE "&Definils..."
#define MENU_HELP "&Segtsg"
#define MENU_HELP_ON_HELP "Segtsg &a segtsgrl"
#define MENU_HELP_ON_TOP "Mindig &legfell"
#define MENU_HELP_INFO "&Informci..."
#define MENU_HELP_ABOUT_WINE "&A WINE-rl"
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_NEUTRAL
{
POPUP "&File" {
MENUITEM "&Megnyits...", 0x101
MENUITEM SEPARATOR
MENUITEM "&Nyomtats", 0x104
MENUITEM "Nyomtat &bellts...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Kilps", 0x108
}
POPUP "&Szerkeszts" {
MENUITEM "&Msols...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Annotate...", 0x10C
}
POPUP "&Knyvjelz" {
MENUITEM "&Definils...", 0x10E
}
POPUP "&Segtsg" {
MENUITEM "Segtsg &a segtsgrl", 0x110
MENUITEM "Mindig &legfell", 0x111
MENUITEM SEPARATOR
MENUITEM "&Informci...", 0x113
#ifdef WINELIB
MENUITEM "&&A WINE-rl", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "WINE segtsg"
#define STRING_ERROR "HIBA"
#define STRING_WARNING "FIGYELMEZTETS"
#define STRING_INFO "Informci"
#define STRING_NOT_IMPLEMENTED "Nincs implementlva"
#define STRING_HLPFILE_ERROR_s "Hiba a `%s' file olvassakor"
#define STRING_CONTENTS "&Tartalom"
#define STRING_SEARCH "&Keress"
#define STRING_BACK "&Vissza"
#define STRING_HISTORY "&History"
#define STRING_ALL_FILES "Minden file (*.*)"
#define STRING_HELP_FILES_HLP "Segtsg file-ok (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_HUNGARIAN, SUBLANG_NEUTRAL
{
WINE_HELP, "WINE segtsg"
WHERROR, "HIBA"
WARNING, "FIGYELMEZTETS"
INFO, "Informci"
NOT_IMPLEMENTED, "Nincs implementlva"
HLPFILE_ERROR_s, "Hiba a `%s' file olvassakor"
CONTENTS, "&Tartalom"
SEARCH, "&Keress"
BACK, "&Vissza"
HISTORY, "&History"
ALL_FILES, "Minden file (*.*)"
HELP_FILES_HLP, "Segtsg file-ok (*.hlp)"
}
programs/winhelp/It.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -18,45 +19,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID It
#define LANGUAGE_NUMBER 9
/* Menu */
#define MENU_FILE "&File"
#define MENU_FILE_OPEN "&Apri..."
#define MENU_FILE_PRINT "s&tampa"
#define MENU_FILE_PRINTER_SETUP "&Setup stampante..."
#define MENU_FILE_EXIT "&Esci"
#define MENU_EDIT "&Modifica"
#define MENU_EDIT_COPY_DIALOG "&Copia..."
#define MENU_EDIT_ANNOTATE "&Annota..."
#define MENU_BOOKMARK "&Segnalibro"
#define MENU_BOOKMARK_DEFINE "&Definisci..."
#define MENU_HELP "&?"
#define MENU_HELP_ON_HELP "&Aiuto sulla guida"
#define MENU_HELP_ON_TOP "Sempre in primo &piano"
#define MENU_HELP_INFO "&Informazioni su..."
#define MENU_HELP_ABOUT_WINE "&Informazion su WINE"
MAIN_MENU MENU LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
{
POPUP "&File" {
MENUITEM "&Apri...", 0x101
MENUITEM SEPARATOR
MENUITEM "s&tampa", 0x104
MENUITEM "&Setup stampante...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Esci", 0x108
}
POPUP "&Modifica" {
MENUITEM "&Copia...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Annota...", 0x10C
}
POPUP "&Segnalibro" {
MENUITEM "&Definisci...", 0x10E
}
POPUP "&?" {
MENUITEM "&Aiuto sulla guida", 0x110
MENUITEM "Sempre in primo &piano", 0x111
MENUITEM SEPARATOR
MENUITEM "&Informazioni su...", 0x113
#ifdef WINELIB
MENUITEM "&Informazion su WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "Guida di WINE"
#define STRING_ERROR "ERRORE"
#define STRING_WARNING "ATTENZIONE"
#define STRING_INFO "Informazione"
#define STRING_NOT_IMPLEMENTED "Non ancora implementato"
#define STRING_HLPFILE_ERROR_s "Errore di lettura HelpFile `%s'"
#define STRING_CONTENTS "&Sommario"
#define STRING_SEARCH "&Ricerca"
#define STRING_BACK "&Precedente"
#define STRING_HISTORY "&Indice"
#define STRING_ALL_FILES "Tutti i file (*.*)"
#define STRING_HELP_FILES_HLP "HelpFiles (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
{
WINE_HELP, "Guida di WINE"
WHERROR, "ERRORE"
WARNING, "ATTENZIONE"
INFO, "Informazione"
NOT_IMPLEMENTED, "Non ancora implementato"
HLPFILE_ERROR_s, "Errore di lettura HelpFile `%s'"
CONTENTS, "&Sommario"
SEARCH, "&Ricerca"
BACK, "&Precedente"
HISTORY, "&Indice"
ALL_FILES, "Tutti i file (*.*)"
HELP_FILES_HLP, "HelpFiles (*.hlp)"
}
programs/winhelp/Ko.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -18,45 +19,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Ko
#define LANGUAGE_NUMBER A
/* Menu */
#define MENU_FILE "파일(&F)"
#define MENU_FILE_OPEN "열기(&O)..."
#define MENU_FILE_PRINT "인쇄(&P)"
#define MENU_FILE_PRINTER_SETUP "프린터 설정(&S)..."
#define MENU_FILE_EXIT "종료(&E)"
#define MENU_EDIT "편집(&E)"
#define MENU_EDIT_COPY_DIALOG "복사(&C)..."
#define MENU_EDIT_ANNOTATE "주석(&A)..."
#define MENU_BOOKMARK "책갈피(&B)"
#define MENU_BOOKMARK_DEFINE "정의(&D)..."
#define MENU_HELP "도움말(&H)"
#define MENU_HELP_ON_HELP "도움말 사용법(&O)"
#define MENU_HELP_ON_TOP "항상 위(&T)"
#define MENU_HELP_INFO "정보(&I)..."
#define MENU_HELP_ABOUT_WINE "와인에 관하여(&A)"
MAIN_MENU MENU LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
{
POPUP "파일(&F)" {
MENUITEM "열기(&O)...", 0x101
MENUITEM SEPARATOR
MENUITEM "인쇄(&P)", 0x104
MENUITEM "프린터 설정(&S)...", 0x106
MENUITEM SEPARATOR
MENUITEM "종료(&E)", 0x108
}
POPUP "편집(&E)" {
MENUITEM "복사(&C)...", 0x10A
MENUITEM SEPARATOR
MENUITEM "주석(&A)...", 0x10C
}
POPUP "책갈피(&B)" {
MENUITEM "정의(&D)...", 0x10E
}
POPUP "도움말(&H)" {
MENUITEM "도움말 사용법(&O)", 0x110
MENUITEM "항상 위(&T)", 0x111
MENUITEM SEPARATOR
MENUITEM "정보(&I)...", 0x113
#ifdef WINELIB
MENUITEM "와인에 관하여(&A)", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "와인 도움말"
#define STRING_ERROR "오류"
#define STRING_WARNING "경고"
#define STRING_INFO "정보"
#define STRING_NOT_IMPLEMENTED "구현되지 않았음"
#define STRING_HLPFILE_ERROR_s "도움말 파일 `%s'를 읽는 도중 오류 발생"
#define STRING_CONTENTS "목차(&C)"
#define STRING_SEARCH "찾기(&S)"
#define STRING_BACK "뒤로(&B)"
#define STRING_HISTORY "히스토리(&H)"
#define STRING_ALL_FILES "모든 파일 (*.*)"
#define STRING_HELP_FILES_HLP "도움말 파일 (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
{
WINE_HELP, "와인 도움말"
WHERROR, "오류"
WARNING, "경고"
INFO, "정보"
NOT_IMPLEMENTED, "구현되지 않았음"
HLPFILE_ERROR_s, "도움말 파일 `%s'를 읽는 도중 오류 발생"
CONTENTS, "목차(&C)"
SEARCH, "찾기(&S)"
BACK, "뒤로(&B)"
HISTORY, "히스토리(&H)"
ALL_FILES, "모든 파일 (*.*)"
HELP_FILES_HLP, "도움말 파일 (*.hlp)"
}
programs/winhelp/Pt.rc
View file @
efbe9c53
...
...
@@ -3,6 +3,7 @@
*
* Copyright 1996 Ulrich Schmid
* Portuguese translation by Gustavo Junior Alves <alves@correionet.com.br>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -19,45 +20,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Pt
#define LANGUAGE_NUMBER 16
/* Menu */
#define MENU_FILE "&Arquivo"
#define MENU_FILE_OPEN "A&brir..."
#define MENU_FILE_PRINT "&Imprimir"
#define MENU_FILE_PRINTER_SETUP "&Configurar Impressora..."
#define MENU_FILE_EXIT "&Sair"
#define MENU_EDIT "&Editar"
#define MENU_EDIT_COPY_DIALOG "&Copiar..."
#define MENU_EDIT_ANNOTATE "&Anotar..."
#define MENU_BOOKMARK "&Marcador"
#define MENU_BOOKMARK_DEFINE "&Definir..."
#define MENU_HELP "&Ajuda"
#define MENU_HELP_ON_HELP "Ajuda &na ajuda"
#define MENU_HELP_ON_TOP "Sempre &visvel"
#define MENU_HELP_INFO "&Info..."
#define MENU_HELP_ABOUT_WINE "&Sobre WINE"
MAIN_MENU MENU LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
{
POPUP "&Arquiv" {
MENUITEM "A&brir...", 0x101
MENUITEM SEPARATOR
MENUITEM "&Imprimir", 0x104
MENUITEM "&Configurar Impressora...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Sair", 0x108
}
POPUP "&Editar" {
MENUITEM "&Copiar...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Anotar...", 0x10C
}
POPUP "&Marcador" {
MENUITEM "&Definir...", 0x10E
}
POPUP "&Ajuda" {
MENUITEM "Ajuda &na ajuda", 0x110
MENUITEM "Sempre &visvel", 0x111
MENUITEM SEPARATOR
MENUITEM "&Info...", 0x113
#ifdef WINELIB
MENUITEM "&Sobre WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "Ajuda WINE"
#define STRING_ERROR "ERRO"
#define STRING_WARNING "AVISO"
#define STRING_INFO "Informai"
#define STRING_NOT_IMPLEMENTED "No implementado"
#define STRING_HLPFILE_ERROR_s "Foi encontrado um erro enquanto lia `%s'"
#define STRING_CONTENTS "&Contedo"
#define STRING_SEARCH "&Procurar"
#define STRING_BACK "&Voltar"
#define STRING_HISTORY "&Histrico"
#define STRING_ALL_FILES "Todos os arquivo (*.*)"
#define STRING_HELP_FILES_HLP "Arquivos de ajuda (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
{
WINE_HELP, "Ajuda WINE"
WHERROR, "ERRO"
WARNING, "AVISO"
INFO, "Informai"
NOT_IMPLEMENTED, "No implementado"
HLPFILE_ERROR_s, "Foi encontrado um erro enquanto lia `%s'"
CONTENTS, "&Contedo"
SEARCH, "&Procurar"
BACK, "&Voltar"
HISTORY, "&Histrico"
ALL_FILES, "Todos os arquivo (*.*)"
HELP_FILES_HLP, "Arquivos de ajuda (*.hlp)"
}
programs/winhelp/Sk.rc
View file @
efbe9c53
...
...
@@ -18,7 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
/* This file is not yet complete !!
Must be rewritten for use of NLS */
#define LANGUAGE_ID Sk
#define LANGUAGE_NUMBER 10
...
...
programs/winhelp/Sw.rc
View file @
efbe9c53
...
...
@@ -3,6 +3,7 @@
*
* Copyright 1996 Ulrich Schmid
* Swedish language by Karl Backstrm <karl_b@geocities.com>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -19,45 +20,51 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Sw
#define LANGUAGE_NUMBER 1d
/* Menu */
#define MENU_FILE "&Arkiv"
#define MENU_FILE_OPEN "&ppna..."
#define MENU_FILE_PRINT "&Skriv ut"
#define MENU_FILE_PRINTER_SETUP "Skrivar &instllningar..."
#define MENU_FILE_EXIT "&Avsluta"
#define MENU_EDIT "&Redigera"
#define MENU_EDIT_COPY_DIALOG "&Kopiera..."
#define MENU_EDIT_ANNOTATE "&Markera..."
#define MENU_BOOKMARK "&Bokmrke"
#define MENU_BOOKMARK_DEFINE "&Defingera..."
#define MENU_HELP "&Hjlp"
#define MENU_HELP_ON_HELP "Anvndningen &av hjlp"
#define MENU_HELP_ON_TOP "Alltid &verst"
#define MENU_HELP_INFO "&Information..."
#define MENU_HELP_ABOUT_WINE "&Om WINE"
MAIN_MENU MENU LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
{
POPUP "&Arkiv" {
MENUITEM "&ppna...", 0x101
MENUITEM SEPARATOR
MENUITEM "&Skriv ut", 0x104
MENUITEM "Skrivar &instllningar...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Avsluta", 0x108
}
POPUP "&Redigera" {
MENUITEM "&Kopiera...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Markera...", 0x10C
}
POPUP "&Bokmrke" {
MENUITEM "&Defingera...", 0x10E
}
POPUP "&Hjlp" {
MENUITEM "Anvndningen &av hjlp", 0x110
MENUITEM "Alltid &verst", 0x111
MENUITEM SEPARATOR
MENUITEM "&Information...", 0x113
#ifdef WINELIB
MENUITEM "&Om WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "WINE Hjlp"
#define STRING_ERROR "FEL"
#define STRING_WARNING "VARNING"
#define STRING_INFO "Information"
#define STRING_NOT_IMPLEMENTED "Ej implementererat"
#define STRING_HLPFILE_ERROR_s "FEL vid lsning av hjlp filen `%s'"
#define STRING_CONTENTS "&Innehll"
#define STRING_SEARCH "&Sk"
#define STRING_BACK "&Tillbaka"
#define STRING_HISTORY "&versikt"
#define STRING_ALL_FILES "Alla filer (*.*)"
#define STRING_HELP_FILES_HLP "Hjlp filer (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
{
WINE_HELP, "WINE Hjlp"
WHERROR, "FEL"
WARNING, "VARNING"
INFO, "Information"
NOT_IMPLEMENTED, "Ej implementererat"
HLPFILE_ERROR_s, "FEL vid lsning av hjlp filen `%s'"
CONTENTS, "&Innehll"
SEARCH, "&Sk"
BACK, "&Tillbaka"
HISTORY, "&versikt"
ALL_FILES, "Alla filer (*.*))"
HELP_FILES_HLP, "Hjlp filer (*.hlp)"
}
programs/winhelp/Va.rc
View file @
efbe9c53
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
*
* Copyright 1996 Ulrich Schmid
* Rumantsch Ladin (Vallader) by mbaur@g26.ethz.ch
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -20,45 +20,55 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Rl
#define LANGUAGE_NUMBER C
/* Menu */
#define MENU_FILE "&Datoteca"
#define MENU_FILE_OPEN "&Rivir"
#define MENU_FILE_PRINT "&Stampar tema"
#define MENU_FILE_PRINTER_SETUP "&Installaziun dal stampader..."
#define MENU_FILE_EXIT "&Finir"
#define MENU_EDIT "&Lavurar"
#define MENU_EDIT_COPY_DIALOG "&Capchar"
#define MENU_EDIT_ANNOTATE "&Annotaziun..."
#define MENU_BOOKMARK "&Marca"
#define MENU_BOOKMARK_DEFINE "&Definir..."
#define MENU_HELP "&Agd"
#define MENU_HELP_ON_HELP "&Douvrar l'agd"
#define MENU_HELP_ON_TOP "Adna da&vant"
#define MENU_HELP_INFO "I&nfuormaziuns"
#define MENU_HELP_ABOUT_WINE "Davart &WINE"
/*
* language : switzerland romanch
* not supported today
*/
MAIN_MENU MENU LANGUAGE LANG_, SUBLANG_NEUTRAL
{
POPUP "&Datoteca" {
MENUITEM "&Rivir", 0x101
MENUITEM SEPARATOR
MENUITEM "&Stampar tema", 0x104
MENUITEM "&Installaziun dal stampader...", 0x106
MENUITEM SEPARATOR
MENUITEM "&Finir", 0x108
}
POPUP "&Lavurar" {
MENUITEM "Capchar", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Annotaziun...", 0x10C
}
POPUP "&Marca" {
MENUITEM "&Definir...", 0x10E
}
POPUP "&Agd" {
MENUITEM "&Douvrar l'agd", 0x110
MENUITEM "Adna da&vant", 0x111
MENUITEM SEPARATOR
MENUITEM "I&nfuormaziuns", 0x113
#ifdef WINELIB
MENUITEM "Davart &WINE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "WINE agd"
#define STRING_ERROR "SBAGL"
#define STRING_WARNING "ATTENZIUN"
#define STRING_INFO "INFUORMAZIUN"
#define STRING_NOT_IMPLEMENTED "Na implementa"
#define STRING_HLPFILE_ERROR_s "Sbagl cun leger la datoteca d'agd `%s'"
#define STRING_CONTENTS "&Cuntgn"
#define STRING_SEARCH "&Tscherchar"
#define STRING_BACK "&Inavo"
#define STRING_HISTORY "&Fin qua"
#define STRING_ALL_FILES "Tuot las datotecas (*.*)"
#define STRING_HELP_FILES_HLP "Datotecas d'agd (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
{
WINE_HELP, "WINE agd"
WHERROR, "SBAGL"
WARNING, "ATTENZIUN"
INFO, "INFUORMAZIUN"
NOT_IMPLEMENTED, "Na implementa"
HLPFILE_ERROR_s, "Sbagl cun leger la datoteca d'agd `%s'"
CONTENTS, "&Cuntgn"
SEARCH, "&Tscherchar"
BACK, "&Inavo"
HISTORY, "&Fin qua"
ALL_FILES, "Tuot las datotecas (*.*)"
HELP_FILES_HLP, "Datotecas d'agd (*.hlp)"
}
programs/winhelp/Wa.rc
View file @
efbe9c53
/*
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 1999 Pablo Saratxaga
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -16,50 +18,53 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Si vos voloz aider avou li ratornaedje des libes programes walon,
* vos poloz scrre a l' adresse emile <linux-wa@chanae.alphanet.ch>
*/
/* This file is not yet complete !! */
#define LANGUAGE_ID Wa
#define LANGUAGE_NUMBER 90
/* Menu */
#define MENU_FILE "&Fitch"
#define MENU_FILE_OPEN "&Drov..."
#define MENU_FILE_PRINT "&Rexhe"
#define MENU_FILE_PRINTER_SETUP "&Apontiaedje del scrirece..."
#define MENU_FILE_EXIT "Mouss &Fo"
#define MENU_EDIT "&Candj"
#define MENU_EDIT_COPY_DIALOG "&Copy..."
#define MENU_EDIT_ANNOTATE "&Sicrre..."
#define MENU_BOOKMARK "&Rimrkes"
#define MENU_BOOKMARK_DEFINE "&Defini..."
#define MENU_HELP "&Aide"
#define MENU_HELP_ON_HELP "&Aide so l' Aide"
#define MENU_HELP_ON_TOP "Todi &Visibe"
#define MENU_HELP_INFO "&Informcion..."
#define MENU_HELP_ABOUT_WINE " &dfait di WINE"
MAIN_MENU MENU LANGUAGE LANG_WALON, SUBLANG_NEUTRAL
{
POPUP "&Fitch" {
MENUITEM "&Drov...", 0x101
MENUITEM SEPARATOR
MENUITEM "&Rexhe", 0x104
MENUITEM "&Apontiaedje del scrirece...", 0x106
MENUITEM SEPARATOR
MENUITEM "Mouss &Fo", 0x108
}
POPUP "&Candj" {
MENUITEM "&Copy...", 0x10A
MENUITEM SEPARATOR
MENUITEM "&Sicrre...", 0x10C
}
POPUP "&Rimrkes" {
MENUITEM "&Defini...", 0x10E
}
POPUP "&Aide" {
MENUITEM "&Aide so l' Aide", 0x110
MENUITEM "Todi &Visibe", 0x111
MENUITEM SEPARATOR
MENUITEM "&Informcion...", 0x113
#ifdef WINELIB
MENUITEM " &dfait di WINEE", 0x114
#endif
}
}
/* Strings */
#define STRING_WINE_HELP "Aidance di WINE"
#define STRING_ERROR "AROKE"
#define STRING_WARNING "ADVERTIXHMINT"
#define STRING_INFO "Informcion"
#define STRING_NOT_IMPLEMENTED "Nn co possibe"
#define STRING_HLPFILE_ERROR_s "Yk n' a nn st moumint di lere li fitch d' aide `%s'"
#define STRING_CONTENTS "&dvins"
#define STRING_SEARCH "C&wer"
#define STRING_BACK "n &Er"
#define STRING_HISTORY "&Istwere"
#define STRING_ALL_FILES "Tos les fitchs (*.*)"
#define STRING_HELP_FILES_HLP "Fitchs d' aide (*.hlp)"
#include "Xx.rc"
STRINGTABLE DISCARDABLE LANGUAGE LANG_WALON, SUBLANG_NEUTRAL
{
WINE_HELP, "Aidance di WINE"
WHERROR, "AROKE"
WARNING, "ADVERTIXHMINT"
INFO, "Informcion"
NOT_IMPLEMENTED, "Nn co possibe"
HLPFILE_ERROR_s, "Yk n' a nn st moumint di lere li fitch d' aide `%s'"
CONTENTS, "&dvins"
SEARCH, "C&wer"
BACK, "n &Er"
HISTORY, "&Istwere"
ALL_FILES, "Tos les fitchs (*.*)"
HELP_FILES_HLP, "Fitchs d' aide (*.hlp)"
}
programs/winhelp/macro.c
View file @
efbe9c53
...
...
@@ -263,17 +263,19 @@ VOID MACRO_FileOpen(VOID)
CHAR
szzFilter
[
2
*
MAX_STRING_LEN
+
100
];
LPSTR
p
=
szzFilter
;
LoadString
(
Globals
.
hInstance
,
IDS_HELP_FILES_HLP
,
p
,
MAX_STRING_LEN
);
LoadString
(
Globals
.
hInstance
,
0X12B
,
p
,
MAX_STRING_LEN
);
p
+=
strlen
(
p
)
+
1
;
lstrcpy
(
p
,
"*.hlp"
);
p
+=
strlen
(
p
)
+
1
;
LoadString
(
Globals
.
hInstance
,
IDS_ALL_FILES
,
p
,
MAX_STRING_LEN
);
LoadString
(
Globals
.
hInstance
,
0x12A
,
p
,
MAX_STRING_LEN
);
p
+=
strlen
(
p
)
+
1
;
lstrcpy
(
p
,
"*.*"
);
p
+=
strlen
(
p
)
+
1
;
*
p
=
'\0'
;
GetWindowsDirectory
(
szDir
,
sizeof
(
szDir
));
GetCurrentDirectory
(
sizeof
(
szDir
),
szDir
);
szPath
[
0
]
=
'\0'
;
openfilename
.
lStructSize
=
0
;
openfilename
.
hwndOwner
=
Globals
.
active_win
->
hMainWnd
;
...
...
@@ -281,7 +283,7 @@ VOID MACRO_FileOpen(VOID)
openfilename
.
lpstrFilter
=
szzFilter
;
openfilename
.
lpstrCustomFilter
=
0
;
openfilename
.
nMaxCustFilter
=
0
;
openfilename
.
nFilterIndex
=
0
;
openfilename
.
nFilterIndex
=
1
;
openfilename
.
lpstrFile
=
szPath
;
openfilename
.
nMaxFile
=
sizeof
(
szPath
);
openfilename
.
lpstrFileTitle
=
0
;
...
...
programs/winhelp/rsrc.rc
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -20,16 +21,7 @@
#include "windows.h"
#include "winhelp.h"
#define CONCAT(a, b) CONCAT1(a, b)
#define CONCAT1(a, b) a##b
#define ADDSTRING(str) ADDSTRING1(LANGUAGE_NUMBER, IDS_ ## str) STRING_ ## str
#define ADDSTRING1(langnum, ids) ADDSTRING2(langnum, ids)
#define ADDSTRING2(langnum, ids) 0x ## langnum ## ids
#define STRINGIFY(str) STRINGIFY1(str)
#define STRINGIFY1(str) #str
#include "winhelp_res.h"
#include "Da.rc"
#include "De.rc"
...
...
@@ -41,8 +33,7 @@
#include "It.rc"
#include "Ko.rc"
#include "Pt.rc"
#include "Sk.rc"
//
#include "Sk.rc"
#include "Sw.rc"
#include "Va.rc"
#include "Wa.rc"
programs/winhelp/string.c
View file @
efbe9c53
...
...
@@ -30,8 +30,6 @@ CHAR SHADOW_WIN_CLASS_NAME[] = "WHShadow";
CHAR
STRING_BUTTON
[]
=
"BUTTON"
;
/* Resource names */
/* Xx will be overwritten with En, ... */
CHAR
STRING_MENU_Xx
[]
=
"MENU_Xx"
;
CHAR
STRING_DIALOG_TEST
[]
=
"DIALOG_TEST"
;
/* Local Variables: */
...
...
programs/winhelp/winhelp.c
View file @
efbe9c53
...
...
@@ -2,6 +2,7 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid <uschmid@mail.hh.provi.de>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -23,6 +24,7 @@
#include "winbase.h"
#include "windowsx.h"
#include "winhelp.h"
#include "winhelp_res.h"
static
BOOL
WINHELP_RegisterWinClasses
();
static
LRESULT
CALLBACK
WINHELP_MainWndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
...
...
@@ -50,11 +52,8 @@ static BOOL MacroTest = FALSE;
int
PASCAL
WinMain
(
HINSTANCE
hInstance
,
HINSTANCE
prev
,
LPSTR
cmdline
,
int
show
)
{
LPCSTR
opt_lang
=
"En"
;
CHAR
lang
[
3
];
MSG
msg
;
LONG
lHash
=
0
;
INT
langnum
;
Globals
.
hInstance
=
hInstance
;
...
...
@@ -89,33 +88,6 @@ int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show
}
}
/* Find language specific string table */
for
(
langnum
=
0
;
langnum
<=
MAX_LANGUAGE_NUMBER
;
langnum
++
)
{
Globals
.
wStringTableOffset
=
langnum
*
0x100
;
if
(
LoadString
(
hInstance
,
IDS_LANGUAGE_ID
,
lang
,
sizeof
(
lang
))
&&
!
lstrcmp
(
opt_lang
,
lang
))
break
;
}
if
(
langnum
>
MAX_LANGUAGE_NUMBER
)
{
/* Find fallback language */
for
(
langnum
=
0
;
langnum
<=
MAX_LANGUAGE_NUMBER
;
langnum
++
)
{
Globals
.
wStringTableOffset
=
langnum
*
0x100
;
if
(
LoadString
(
hInstance
,
IDS_LANGUAGE_ID
,
lang
,
sizeof
(
lang
)))
break
;
}
if
(
langnum
>
MAX_LANGUAGE_NUMBER
)
{
MessageBox
(
0
,
"No language found"
,
"FATAL ERROR"
,
MB_OK
);
return
(
1
);
}
}
/* Change Resource names */
lstrcpyn
(
STRING_MENU_Xx
+
lstrlen
(
STRING_MENU_Xx
)
-
2
,
lang
,
3
);
/* Create primary window */
WINHELP_RegisterWinClasses
();
WINHELP_CreateHelpWindow
(
cmdline
,
lHash
,
"main"
,
FALSE
,
NULL
,
NULL
,
show
);
...
...
@@ -215,7 +187,7 @@ VOID WINHELP_CreateHelpWindow(LPCSTR lpszFile, LONG lHash, LPCSTR lpszWindow,
page
=
lHash
?
HLPFILE_PageByHash
(
szFile_hlp
,
lHash
)
:
HLPFILE_Contents
(
szFile_hlp
);
if
(
!
page
)
{
WINHELP_MessageBoxIDS_s
(
IDS_HLPFILE_ERROR_s
,
lpszFile
,
IDS_
ERROR
,
MB_OK
);
WINHELP_MessageBoxIDS_s
(
HLPFILE_ERROR_s
,
lpszFile
,
WH
ERROR
,
MB_OK
);
if
(
Globals
.
win_list
)
return
;
}
}
...
...
@@ -271,10 +243,10 @@ VOID WINHELP_CreateHelpWindow(LPCSTR lpszFile, LONG lHash, LPCSTR lpszWindow,
MACRO_CreateButton
(
"BTN_TEST"
,
"&Test"
,
"MacroTest"
);
if
(
bPrimary
&&
page
)
{
LoadString
(
Globals
.
hInstance
,
IDS_CONTENTS
,
szContents
,
sizeof
(
szContents
));
LoadString
(
Globals
.
hInstance
,
IDS_SEARCH
,
szSearch
,
sizeof
(
szSearch
));
LoadString
(
Globals
.
hInstance
,
IDS_BACK
,
szBack
,
sizeof
(
szBack
));
LoadString
(
Globals
.
hInstance
,
IDS_HISTORY
,
szHistory
,
sizeof
(
szHistory
));
LoadString
(
Globals
.
hInstance
,
0x126
,
szContents
,
sizeof
(
szContents
));
LoadString
(
Globals
.
hInstance
,
0x127
,
szSearch
,
sizeof
(
szSearch
));
LoadString
(
Globals
.
hInstance
,
0x128
,
szBack
,
sizeof
(
szBack
));
LoadString
(
Globals
.
hInstance
,
0x129
,
szHistory
,
sizeof
(
szHistory
));
MACRO_CreateButton
(
"BTN_CONTENTS"
,
szContents
,
"Contents()"
);
MACRO_CreateButton
(
"BTN_SEARCH"
,
szSearch
,
"Search()"
);
MACRO_CreateButton
(
"BTN_BACK"
,
szBack
,
"Back()"
);
...
...
@@ -322,12 +294,12 @@ VOID WINHELP_CreateHelpWindow(LPCSTR lpszFile, LONG lHash, LPCSTR lpszWindow,
}
/* Create main Window */
if
(
!
page
)
LoadString
(
Globals
.
hInstance
,
IDS_WINE_HELP
,
szCaption
,
sizeof
(
szCaption
));
if
(
!
page
)
LoadString
(
Globals
.
hInstance
,
0x120
,
szCaption
,
sizeof
(
szCaption
));
hWnd
=
CreateWindow
(
bPopup
?
TEXT_WIN_CLASS_NAME
:
MAIN_WIN_CLASS_NAME
,
page
?
page
->
file
->
lpszTitle
:
szCaption
,
bPopup
?
WS_POPUPWINDOW
|
WS_BORDER
:
WS_OVERLAPPEDWINDOW
,
origin
.
x
,
origin
.
y
,
size
.
cx
,
size
.
cy
,
0
,
bPrimary
?
LoadMenu
(
Globals
.
hInstance
,
STRING_MENU_Xx
)
:
0
,
0
,
bPrimary
?
LoadMenu
(
Globals
.
hInstance
,
MAIN_MENU
)
:
0
,
Globals
.
hInstance
,
win
);
ShowWindow
(
hWnd
,
nCmdShow
);
...
...
@@ -393,26 +365,26 @@ static LRESULT CALLBACK WINHELP_MainWndProc (HWND hWnd, UINT msg, WPARAM wParam,
switch
(
wParam
)
{
/* Menu FILE */
case
WH_OPEN
:
MACRO_FileOpen
();
break
;
case
WH_PRINT
:
MACRO_Print
();
break
;
case
WH_PRINTER_SETUP
:
MACRO_PrinterSetup
();
break
;
case
WH_EXIT
:
MACRO_Exit
();
break
;
case
0x101
:
MACRO_FileOpen
();
break
;
case
0x104
:
MACRO_Print
();
break
;
case
0x106
:
MACRO_PrinterSetup
();
break
;
case
0x108
:
MACRO_Exit
();
break
;
/* Menu EDIT */
case
WH_COPY_DIALOG
:
MACRO_CopyDialog
();
break
;
case
WH_ANNOTATE
:
MACRO_Annotate
();
break
;
case
0x10A
:
MACRO_CopyDialog
();
break
;
case
0x10C
:
MACRO_Annotate
();
break
;
/* Menu Bookmark */
case
WH_BOOKMARK_DEFINE
:
MACRO_BookmarkDefine
();
break
;
case
0x10E
:
MACRO_BookmarkDefine
();
break
;
/* Menu Help */
case
WH_HELP_ON_HELP
:
MACRO_HelpOn
();
break
;
case
WH_HELP_ON_TOP
:
MACRO_HelpOnTop
();
break
;
case
0x110
:
MACRO_HelpOn
();
break
;
case
0x111
:
MACRO_HelpOnTop
();
break
;
/* Menu Info */
case
WH_ABOUT
:
MACRO_About
();
break
;
case
0x113
:
MACRO_About
();
break
;
case
WH_ABOUT_WINE
:
case
0x114
:
ShellAbout
(
hWnd
,
"WINE"
,
"Help"
,
0
);
break
;
...
...
@@ -423,7 +395,7 @@ static LRESULT CALLBACK WINHELP_MainWndProc (HWND hWnd, UINT msg, WPARAM wParam,
if
(
button
)
MACRO_ExecuteMacro
(
button
->
lpszMacro
);
else
WINHELP_MessageBoxIDS
(
IDS_NOT_IMPLEMENTED
,
IDS_ERROR
,
MB_OK
);
WINHELP_MessageBoxIDS
(
0x124
,
0x121
,
MB_OK
);
break
;
}
break
;
...
...
programs/winhelp/winhelp.h
View file @
efbe9c53
...
...
@@ -2,7 +2,8 @@
* Help Viewer
*
* Copyright 1996 Ulrich Schmid
*
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
...
...
@@ -33,6 +34,7 @@
#include "hlpfile.h"
#include "macro.h"
#include "winhelp_res.h"
typedef
struct
tagHelpLinePart
{
...
...
@@ -122,49 +124,8 @@ extern CHAR SHADOW_WIN_CLASS_NAME[];
extern
CHAR
STRING_BUTTON
[];
extern
CHAR
STRING_MENU_Xx
[];
extern
CHAR
STRING_DIALOG_TEST
[];
#define STRINGID(id) (0x##id + Globals.wStringTableOffset)
#else
/* RC_INVOKED */
#define STRINGID(id) id
#endif
/* Stringtable index */
#define IDS_LANGUAGE_ID STRINGID(00)
#define IDS_WINE_HELP STRINGID(01)
#define IDS_ERROR STRINGID(02)
#define IDS_WARNING STRINGID(03)
#define IDS_INFO STRINGID(04)
#define IDS_NOT_IMPLEMENTED STRINGID(05)
#define IDS_HLPFILE_ERROR_s STRINGID(06)
#define IDS_CONTENTS STRINGID(07)
#define IDS_SEARCH STRINGID(08)
#define IDS_BACK STRINGID(09)
#define IDS_HISTORY STRINGID(0a)
#define IDS_ALL_FILES STRINGID(0b)
#define IDS_HELP_FILES_HLP STRINGID(0c)
/* Menu `File' */
#define WH_OPEN 11
#define WH_PRINT 12
#define WH_PRINTER_SETUP 13
#define WH_EXIT 14
/* Menu `Edit' */
#define WH_COPY_DIALOG 21
#define WH_ANNOTATE 22
/* Menu `Bookmark' */
#define WH_BOOKMARK_DEFINE 31
/* Menu `Help' */
#define WH_HELP_ON_HELP 41
#define WH_HELP_ON_TOP 42
#define WH_ABOUT 43
#define WH_ABOUT_WINE 44
/* Buttons */
#define WH_FIRST_BUTTON 500
...
...
programs/winhelp/winhelp_res.h
0 → 100644
View file @
efbe9c53
#define MAIN_MENU 0x10F
#define WINE_HELP 0x120
#define WHERROR 0x121
#define WARNING 0x122
#define INFO 0x123
#define NOT_IMPLEMENTED 0x124
#define HLPFILE_ERROR_s 0x125
#define CONTENTS 0x126
#define SEARCH 0x127
#define BACK 0x128
#define HISTORY 0x129
#define ALL_FILES 0x12A
#define HELP_FILES_HLP 0x12B
#define DIALOG_TEST 0x12C
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment