mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Added Wine notepad to main tree.
svn path=/trunk/; revision=12130
This commit is contained in:
parent
13277fb296
commit
d9ccbedded
34 changed files with 4114 additions and 0 deletions
7
reactos/subsys/system/notepad/.cvsignore
Normal file
7
reactos/subsys/system/notepad/.cvsignore
Normal file
|
@ -0,0 +1,7 @@
|
|||
*.a
|
||||
*.exe
|
||||
*.sym
|
||||
*.map
|
||||
*.o
|
||||
*.coff
|
||||
|
56
reactos/subsys/system/notepad/ChangeLog
Normal file
56
reactos/subsys/system/notepad/ChangeLog
Normal file
|
@ -0,0 +1,56 @@
|
|||
*** This file is obsolete. Changes are listed in the main
|
||||
*** ChangeLog now. Please do not edit.
|
||||
|
||||
Fri Jun 12 23:29:44 1998 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
- Fixed GetDateFormat()->GetTimeFormat() for locale time.
|
||||
|
||||
Mon May 25 14:30:00 1998 Henrik Olsen <henrik@iaeste.dk>
|
||||
* [Da.rc]
|
||||
- Added Danish language support.
|
||||
|
||||
Fri May 15 23:59:22 1998 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
- Date/Time now uses locale-specific formats
|
||||
- Language-specific window caption, displays file being edited.
|
||||
- Started with parsing of command line settings
|
||||
- Started with DoOpenFile, DoCloseFile, DoSaveFile logics
|
||||
- Prompt user to save settings when closing a file
|
||||
-> Introduced a new message box (not yet finished)
|
||||
- Fixed minor features (missing IDS in main.h, ...)
|
||||
|
||||
Sun Mar 29 20:29:41 1998 Laurent Buffler <laurent@bluewin.ch>
|
||||
* [Fr.rc]
|
||||
- Added French language support.
|
||||
|
||||
Fri Feb 27 21:03:37 1998 Karl Backström <karl_b@geocities.com>
|
||||
- Fixed some minor features.
|
||||
|
||||
Sat Feb 14 17:42:29 1998 Karl Backström <karl_b@geocities.com>
|
||||
* NEW [language.c] [language.h]
|
||||
- Takes care of all language related stuff.
|
||||
- A new [programs] in .winerc is in use.
|
||||
|
||||
Tue Feb 10 23:34:08 1998 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
- Fixed broken language menus
|
||||
|
||||
Fri Feb 06 23.54.35 1998 Karl Backström <karl_b@geocities.com>
|
||||
* [main.c] [main.h] [notepad.rc]
|
||||
- Fixed language support for menus.
|
||||
* NEW [dialog.c] [dialog.h]
|
||||
- Moved all menu and dialog related stuff here.
|
||||
|
||||
Sun Jan 18 23:05:04 1998 Karl Backström <karl_b@geocities.com>
|
||||
* [Sw.rc]
|
||||
- Added/updated Swedish language support.
|
||||
|
||||
Tue Dec 23 23:35:04 1997 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
- Fixed lots of bugs w/ resources in *.rc
|
||||
- moved [notepad.c] into [main.c]
|
||||
- moved [notepad.h] into [main.h]
|
||||
|
||||
Fri Dec 05 20:51:55 1997 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* [notepad.c] [notepad.h] [notepad.rc] [En.rc] [De.rc]
|
||||
[license.c] [license.h] [License_En.c]
|
||||
[README] [TODO] [ChangeLog]
|
||||
- Originals by Marcel Baur
|
||||
|
||||
|
130
reactos/subsys/system/notepad/Cs.rc
Normal file
130
reactos/subsys/system/notepad/Cs.rc
Normal file
|
@ -0,0 +1,130 @@
|
|||
/*
|
||||
* Notepad (Czech resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur
|
||||
* Proofread 1998 by David Lee Lambert
|
||||
* Copyright 2002 Sylvain Petreolle
|
||||
* Copyright 2004 David Kredba
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Soubor" {
|
||||
MENUITEM "&Nový...", CMD_NEW
|
||||
MENUITEM "&Otevøít\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "&Ulo¾it\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "Ulo¾it j&ako...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Tisk", CMD_PRINT
|
||||
MENUITEM "Nas&tavení stránky...", CMD_PAGE_SETUP
|
||||
MENUITEM "Nastavení tiská&rny...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Konec", CMD_EXIT
|
||||
}
|
||||
POPUP "U&pravit" {
|
||||
MENUITEM "&Zpìt\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Vyjmou&t\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Kopírovat\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Vlo¾it\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Smazat\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Vybrat v¹&e\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "È&as/Datum\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Zalo&mit dlouhé øádky", CMD_WRAP
|
||||
MENUITEM "&Písmo...", CMD_FONT
|
||||
}
|
||||
POPUP "&Hledání" {
|
||||
MENUITEM "&Hledej\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "&Najdi dal¹í\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Nápovìda" {
|
||||
MENUITEM "&Obsah", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Najít...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Pomoc k nápovìdì", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&Licence", CMD_LICENSE
|
||||
MENUITEM "&BEZ ZÁRUKY", CMD_NO_WARRANTY
|
||||
MENUITEM "&O Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Nastavení stránky"
|
||||
{
|
||||
LTEXT "Zá&hlaví:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Zápatí:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Okraje:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Levý:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Horní:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "P&ravý:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Dolní:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Storno", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Nápovìda", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Strana &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notepad"
|
||||
STRING_ERROR, "CHYBA"
|
||||
STRING_WARNING, "VAROVÁNÍ"
|
||||
STRING_INFO, "Informace"
|
||||
|
||||
STRING_UNTITLED, "(bez názvu)"
|
||||
|
||||
STRING_ALL_FILES, "V¹echny soubory (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Textové soubory (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Soubor '%s' je pro notepad pøíli¹ velký.\n \
|
||||
Pou¾ijte jiný editor, prosím."
|
||||
STRING_NOTEXT, "Nebyl zadán ¾ádný text. \
|
||||
\nPlease type something and try again"
|
||||
STRING_DOESNOTEXIST, "Soubor '%s'\nneexistuje.\n\n \
|
||||
Chcete ho vytvoøit ?"
|
||||
STRING_NOTSAVED, "Soubor '%s'\nbyl zmìnìn.\n\n \
|
||||
Chcete ulo¾it zmìny ?"
|
||||
STRING_NOTFOUND, "'%s' nebyl nalezen."
|
||||
STRING_OUT_OF_MEMORY, "Není dost pamìti na dokonèení této úlohy. \
|
||||
\nUzavøete jednu èi více aplikací abyste získali více \nvolné \
|
||||
pamìti."
|
||||
|
||||
}
|
126
reactos/subsys/system/notepad/Da.rc
Normal file
126
reactos/subsys/system/notepad/Da.rc
Normal file
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* Notepad (Danish resources)
|
||||
*
|
||||
* Copyright 1998 Henrik Olsen <henrik@iaeste.dk>
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Filef" {
|
||||
MENUITEM "&Ny...", CMD_NEW
|
||||
MENUITEM "Å&bn\tEnter", CMD_OPEN
|
||||
MENUITEM "&Gem", CMD_SAVE
|
||||
MENUITEM "Gem so&m...", CMD_SAVE_AS
|
||||
MENUITEM "&Udskriv", CMD_PRINT
|
||||
MENUITEM "Side&opsætning...", CMD_PAGE_SETUP
|
||||
MENUITEM "&Indstil printer...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Afslut", CMD_EXIT
|
||||
}
|
||||
POPUP "&Rediger" {
|
||||
MENUITEM "&Fortryd\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Klip\tCtrl+X", CMD_CUT
|
||||
MENUITEM "K&opier\tCtrl+C", CMD_COPY
|
||||
MENUITEM "Sæt &ind\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Slet\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Marker &alt", CMD_SELECT_ALL
|
||||
MENUITEM "&Dato/tid\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Automatisk &linjeskift", CMD_WRAP
|
||||
}
|
||||
POPUP "&Søg" {
|
||||
MENUITEM "&Søg...", CMD_SEARCH
|
||||
MENUITEM "&Find næste\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Hjælp" {
|
||||
MENUITEM "&Indhold", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Søg efter hjælp om...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Brug af Hjælp", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "&Om Notesblok..." {
|
||||
MENUITEM "&Licens", CMD_LICENSE
|
||||
MENUITEM "&NO WARRANTY", CMD_NO_WARRANTY
|
||||
MENUITEM "&Om WINE", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Sideopsætning"
|
||||
{
|
||||
LTEXT "&Sidehoved:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "Side&fod:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "Margener:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Venstre:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Top:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Højre:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Bund:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Annuller", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Hjælp", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Page &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notesblok"
|
||||
STRING_ERROR, "FEJL"
|
||||
STRING_WARNING, "ADVARSEL"
|
||||
STRING_INFO, "Information"
|
||||
|
||||
STRING_UNTITLED, "(ikke-navngivet)"
|
||||
|
||||
STRING_ALL_FILES, "Alle filer (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Tekst filer (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Filen '%s' er for stor til Notesblok. \
|
||||
\nBrug en anden editor til at redigere filen."
|
||||
STRING_NOTEXT, "Du har ikke skrevet noget tekst. \
|
||||
\nSkriv noget tekst, og prøv så igen"
|
||||
STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
|
||||
Do you want to create a new file ?"
|
||||
STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \
|
||||
Would you like to save the changes ?"
|
||||
STRING_NOTFOUND, "Kan ikke finde '%s'."
|
||||
STRING_OUT_OF_MEMORY, "Der er ikke nok hukommelse til at udføre \
|
||||
denne operation. \nAfslut et eller flere aktive programmer for at frigøre \
|
||||
hukommelse, og prøv så igen."
|
||||
|
||||
}
|
131
reactos/subsys/system/notepad/De.rc
Normal file
131
reactos/subsys/system/notepad/De.rc
Normal file
|
@ -0,0 +1,131 @@
|
|||
/*
|
||||
* Notepad (German resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <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
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Datei" {
|
||||
MENUITEM "&Neu...", CMD_NEW
|
||||
MENUITEM "Ö&ffnen...", CMD_OPEN
|
||||
MENUITEM "&Speichern", CMD_SAVE
|
||||
MENUITEM "Speichern &unter...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Drucken", CMD_PRINT
|
||||
MENUITEM "Seite ein&richten...", CMD_PAGE_SETUP
|
||||
MENUITEM "Drucker&einrichtung...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Beenden", CMD_EXIT
|
||||
}
|
||||
POPUP "&Bearbeiten" {
|
||||
MENUITEM "&Rückgängig\tStrg+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Ausschneiden\tStrg+X", CMD_CUT
|
||||
MENUITEM "&Kopieren\tStrg+C", CMD_COPY
|
||||
MENUITEM "&Einfügen\tStrg+V", CMD_PASTE
|
||||
MENUITEM "&Löschen\tEntf", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Alles &markieren", CMD_SELECT_ALL
|
||||
MENUITEM "&Uhrzeit/Datum\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Zeilenumbruch", CMD_WRAP
|
||||
MENUITEM "&Schriftarten...", CMD_FONT
|
||||
}
|
||||
POPUP "&Suchen" {
|
||||
MENUITEM "Suchen...", CMD_SEARCH
|
||||
MENUITEM "&Weitersuchen\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Hilfe" {
|
||||
MENUITEM "&Inhalt", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Suchen...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Hilfe benutzen", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&Lizenz", CMD_LICENSE
|
||||
MENUITEM "&KEINE GARANTIE", CMD_NO_WARRANTY
|
||||
MENUITEM "&Über Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Seite einrichten"
|
||||
{
|
||||
LTEXT "&Kopfzeile:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Fußzeile:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "Ränder", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Links:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Oben:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Rechts:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Unten:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Abbrechen", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Hilfe", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Seite &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Editor"
|
||||
STRING_ERROR, "Fehler"
|
||||
STRING_WARNING, "Achtung"
|
||||
STRING_INFO, "Information"
|
||||
|
||||
STRING_UNTITLED, "(unbenannt)"
|
||||
|
||||
STRING_ALL_FILES, "Alle Dateien (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Textdateien (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Die Datei '%s' ist zu groß für den Editor\n \
|
||||
Benutzen Sie bitte einen anderen Editor, um diese Datei zu bearbeiten."
|
||||
STRING_NOTEXT, "Sie haben keinen Text eingegeben, der \
|
||||
gespeichert\n werden könnte. Geben Sie Text ein, und versuchen Sie es \
|
||||
\nerneut."
|
||||
STRING_DOESNOTEXIST, "Die Datei '%s'\nexistiert nicht.\n\n \
|
||||
Möchten Sie eine neue Datei erstellen ?"
|
||||
STRING_NOTSAVED, "Datei %s\n wurde geändert.\n\n \
|
||||
Möchten Sie die Änderungen speichern ?"
|
||||
STRING_NOTFOUND, "'%s' kann nicht gefunden werden."
|
||||
STRING_OUT_OF_MEMORY, "Nicht genügend Arbeitsspeicher, \
|
||||
um diese Funktion \nabzuschließen. Beenden Sie eine oder mehrere \
|
||||
\nAnwendungen, um den verfügbaren Arbeitsspeicher zu \nerhöhen."
|
||||
|
||||
|
||||
}
|
129
reactos/subsys/system/notepad/En.rc
Normal file
129
reactos/subsys/system/notepad/En.rc
Normal file
|
@ -0,0 +1,129 @@
|
|||
/*
|
||||
* Notepad (English resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&File" {
|
||||
MENUITEM "&New...", CMD_NEW
|
||||
MENUITEM "&Open\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "&Save\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "Save &as...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Print", CMD_PRINT
|
||||
MENUITEM "Page Se&tup...", CMD_PAGE_SETUP
|
||||
MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "E&xit", CMD_EXIT
|
||||
}
|
||||
POPUP "&Edit" {
|
||||
MENUITEM "&Undo\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Cu&t\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Copy\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Paste\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Delete\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Select &all\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "&Time/Date\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Wrap long lines", CMD_WRAP
|
||||
MENUITEM "&Font...", CMD_FONT
|
||||
}
|
||||
POPUP "&Search" {
|
||||
MENUITEM "&Search\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Help" {
|
||||
MENUITEM "&Contents", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Search...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Help on help", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&License", CMD_LICENSE
|
||||
MENUITEM "&NO WARRANTY", CMD_NO_WARRANTY
|
||||
MENUITEM "&About Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Page Setup"
|
||||
{
|
||||
LTEXT "&Header:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Footer:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Margins:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Left:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Top:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Right:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Bottom:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Cancel", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Help", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Page &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notepad"
|
||||
STRING_ERROR, "ERROR"
|
||||
STRING_WARNING, "WARNING"
|
||||
STRING_INFO, "Information"
|
||||
|
||||
STRING_UNTITLED, "(untitled)"
|
||||
|
||||
STRING_ALL_FILES, "All files (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Text files (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "File '%s' is too large for notepad.\n \
|
||||
Please use a different editor."
|
||||
STRING_NOTEXT, "You didn't enter any text. \
|
||||
\nPlease type something and try again"
|
||||
STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
|
||||
Do you want to create a new file ?"
|
||||
STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \
|
||||
Would you like to save the changes ?"
|
||||
STRING_NOTFOUND, "'%s' can not be found."
|
||||
STRING_OUT_OF_MEMORY, "Not enough memory to complete this \
|
||||
task. \nClose one or more applications to increase the amount of \nfree \
|
||||
memory."
|
||||
|
||||
}
|
131
reactos/subsys/system/notepad/Es.rc
Normal file
131
reactos/subsys/system/notepad/Es.rc
Normal file
|
@ -0,0 +1,131 @@
|
|||
/*
|
||||
* Notepad (Spanish resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* Proofread 1999 by Jose Marcos Lopez <jose.lopez@upcnet.upc.es>
|
||||
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
||||
* Copyright 2003,2004 José Manuel Ferrer Ortiz
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Archivo" {
|
||||
MENUITEM "&Nuevo...", CMD_NEW
|
||||
MENUITEM "&Abrir\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "&Guardar\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "Guardar &como...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Imprimir", CMD_PRINT
|
||||
MENUITEM "Configurar &página...", CMD_PAGE_SETUP
|
||||
MENUITEM "Configuración &impresora...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Salir", CMD_EXIT
|
||||
}
|
||||
POPUP "&Editar" {
|
||||
MENUITEM "&Deshacer\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Cor&tar\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Copiar\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Pegar\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Borrar\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Seleccionar t&odo\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "&Hora y fecha\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Ajuste de línea", CMD_WRAP
|
||||
MENUITEM "Tipo de &letra...", CMD_FONT
|
||||
}
|
||||
POPUP "&Buscar" {
|
||||
MENUITEM "&Buscar\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "Buscar &siguiente\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "A&yuda" {
|
||||
MENUITEM "Í&ndice", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Buscar...", CMD_HELP_SEARCH
|
||||
MENUITEM "A&yuda sobre la ayuda", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "&Información..." {
|
||||
MENUITEM "&Licencia", CMD_LICENSE
|
||||
MENUITEM "SIN &GARANTÍA", CMD_NO_WARRANTY
|
||||
MENUITEM "&Acerca de Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Ajuste de página"
|
||||
{
|
||||
LTEXT "&Cabecera:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Pie:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Márgenes:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Izquierda:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "A&rriba:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Derecha:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "Aba&jo:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "Aceptar", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Cancelar", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Ayuda", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Página &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Bloc de notas"
|
||||
STRING_ERROR, "ERROR"
|
||||
STRING_WARNING, "ADVERTENCIA"
|
||||
STRING_INFO, "Información"
|
||||
|
||||
STRING_UNTITLED, "(sin título)"
|
||||
|
||||
STRING_ALL_FILES, "Todos los archivos (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Documentos de texto (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "El archivo '%s' es demasiado grande para el \
|
||||
bloc de notas.\n Use otro editor."
|
||||
STRING_NOTEXT, "No escribió nada. \nPor favor escriba algo e \
|
||||
inténtelo de nuevo"
|
||||
STRING_DOESNOTEXIST, "El archivo '%s'\nno existe\n\n ¿Desea crear \
|
||||
un nuevo archivo?"
|
||||
STRING_NOTSAVED, "El texto en el archivo '%s' ha cambiado\n\n \
|
||||
¿Desea guardar los cambios?"
|
||||
STRING_NOTFOUND, "No se encontró '%s'."
|
||||
STRING_OUT_OF_MEMORY, "No hay suficiente memoria para terminar esta \
|
||||
tarea. \nCierre una o más aplicaciones para \
|
||||
aumentar la cantidad \nde memoria libre."
|
||||
|
||||
}
|
126
reactos/subsys/system/notepad/Fi.rc
Normal file
126
reactos/subsys/system/notepad/Fi.rc
Normal file
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* Notepad (Finnish resources)
|
||||
*
|
||||
* Copyright 1999 by Jukka Iivonen <iivonen@iki.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
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Tiedosto" {
|
||||
MENUITEM "&Uusi...", CMD_NEW
|
||||
MENUITEM "&Avaa", CMD_OPEN
|
||||
MENUITEM "Ta&lleta", CMD_SAVE
|
||||
MENUITEM "Talleta &nimellä...", CMD_SAVE_AS
|
||||
MENUITEM "T&ulosta", CMD_PRINT
|
||||
MENUITEM "&Sivun asetukset...", CMD_PAGE_SETUP
|
||||
MENUITEM "&Kirjoittimen asetukset...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Poistu", CMD_EXIT
|
||||
}
|
||||
POPUP "&Muokkaa" {
|
||||
MENUITEM "&Palauta\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Leikkaa\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Kopioi\tCtrl+C", CMD_COPY
|
||||
MENUITEM "L&iitä\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "P&oista\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Valitse kaikki", CMD_SELECT_ALL
|
||||
MENUITEM "&Aika/Päivämäärä\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ka&tkaise pitkä rivi", CMD_WRAP
|
||||
}
|
||||
POPUP "&Etsi" {
|
||||
MENUITEM "Etsi...", CMD_SEARCH
|
||||
MENUITEM "Etsi &seuraava\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Apua" {
|
||||
MENUITEM "&Sisältö", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Etsi...", CMD_HELP_SEARCH
|
||||
MENUITEM "Apua &Opastuksesta", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&Lisenssi", CMD_LICENSE
|
||||
MENUITEM "&EI TAKUUTA", CMD_NO_WARRANTY
|
||||
MENUITEM "&Tietoja Wine:ista", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Sivun asetukset"
|
||||
{
|
||||
LTEXT "&Yläotsikko:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "Alao&tsikko:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Marginaali:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Vasen:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "Y&lä:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Oikea:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Ala:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Peruuta", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Apua", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Sivu &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notepad"
|
||||
STRING_ERROR, "VIRHE"
|
||||
STRING_WARNING, "VAROITUS"
|
||||
STRING_INFO, "Tiedoitus"
|
||||
|
||||
STRING_UNTITLED, "(otsikoimaton)"
|
||||
|
||||
STRING_ALL_FILES, "Kaikki tiedostot (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Teksti tiedostot (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Tiedosto '%s' on liian suuri.\n \
|
||||
Please use a different editor."
|
||||
STRING_NOTEXT, "Et syöttänyt lainkaan tekstiä. \
|
||||
\nKirjoita jotain ja yritä uudelleen"
|
||||
STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
|
||||
Do you want to create a new file ?"
|
||||
STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \
|
||||
Would you like to save the changes ?"
|
||||
STRING_NOTFOUND, "'%s' ei löydy."
|
||||
STRING_OUT_OF_MEMORY, "Muistia ei ole riittävästi tämän \
|
||||
\ntehtävän tekemiseksi. Sulje jokin sovellus vapauttaaksesi\n \
|
||||
muistia."
|
||||
|
||||
}
|
129
reactos/subsys/system/notepad/Fr.rc
Normal file
129
reactos/subsys/system/notepad/Fr.rc
Normal file
|
@ -0,0 +1,129 @@
|
|||
/*
|
||||
* Notepad (French resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Translation by Laurent Buffler <laurent@bluewin.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
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Fichier" {
|
||||
MENUITEM "&Nouveau...", CMD_NEW
|
||||
MENUITEM "&Ouvrir\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "&Enregistrer\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "Enregistrer &sous...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Im&primer", CMD_PRINT
|
||||
MENUITEM "&Mise en page...", CMD_PAGE_SETUP
|
||||
MENUITEM "&Configuration de l'imprimante...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Quitter", CMD_EXIT
|
||||
}
|
||||
POPUP "&Edition" {
|
||||
MENUITEM "&Annuler\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Co&uper\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Copier\tCtrl+C", CMD_COPY
|
||||
MENUITEM "C&oller\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Effacer\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Tout &sélectionner\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "&Heure/Date\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Retour à la ligne", CMD_WRAP
|
||||
MENUITEM "&Police...", CMD_FONT
|
||||
}
|
||||
POPUP "&Rechercher" {
|
||||
MENUITEM "&Rechercher\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "&Suivant\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Aide" {
|
||||
MENUITEM "&Sommaire", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Rechercher...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Utiliser l'aide", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&Licence", CMD_LICENSE
|
||||
MENUITEM "&AUCUNE GARANTIE", CMD_NO_WARRANTY
|
||||
MENUITEM "&A propos de Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Mise en page"
|
||||
{
|
||||
LTEXT "&En-tête :", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Pied de page :", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Marges :", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Gauche :", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Haut :", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Droite :", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Bas :", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Annuler", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Aide", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Page &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Bloc-notes"
|
||||
STRING_ERROR, "ERREUR"
|
||||
STRING_WARNING, "ATTENTION"
|
||||
STRING_INFO, "Information"
|
||||
|
||||
STRING_UNTITLED, "(sans-titre)"
|
||||
|
||||
STRING_ALL_FILES, "Tous fichiers (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Fichiers texte (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Le fichier '%s' est trop grand pour le bloc-notes.\n \
|
||||
Veuillez utiliser un autre éditeur."
|
||||
STRING_NOTEXT, "Vous n'avez pas entré de texte. \
|
||||
Veuillez taper quelque chose et recommencer"
|
||||
STRING_DOESNOTEXIST, "Le fichier '%s'\nn'existe pas.\n\n \
|
||||
Voulez-vous créer un nouveau fichier ?"
|
||||
STRING_NOTSAVED, "Le fichier '%s'\na été modifié\n\n \
|
||||
Voulez-vous enregistrer vos modifications ?"
|
||||
STRING_NOTFOUND, "'%s' non trouvé."
|
||||
STRING_OUT_OF_MEMORY, "Pas assez de mémoire pour compléter cette \
|
||||
tâche. \nFermez une ou plusieurs applications pour libérer\n\
|
||||
de la mémoire."
|
||||
|
||||
}
|
128
reactos/subsys/system/notepad/Hu.rc
Normal file
128
reactos/subsys/system/notepad/Hu.rc
Normal file
|
@ -0,0 +1,128 @@
|
|||
/*
|
||||
* Notepad (Hungarian resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur
|
||||
* Proofread 1998 by David Lee Lambert
|
||||
* Copyright 2002 Sylvain Petreolle
|
||||
* Copyright 2002 Zoly Nagy
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
|
||||
{
|
||||
POPUP "&Fájl" {
|
||||
MENUITEM "Ú&j", CMD_NEW
|
||||
MENUITEM "Meg&nyitás...", CMD_OPEN
|
||||
MENUITEM "&Mentés", CMD_SAVE
|
||||
MENUITEM "Mentés má&sként...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Oldalbeállítás...", CMD_PAGE_SETUP
|
||||
MENUITEM "Nyom&tatás...", CMD_PRINT
|
||||
MENUITEM "Nyomtató &beállítás...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Kilépés", CMD_EXIT
|
||||
}
|
||||
POPUP "S&zerkesztés" {
|
||||
MENUITEM "&Visszavonás\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Kivá&gás\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Másolás\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Beillesztés\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "Tör&lés\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Az összes kijelölése", CMD_SELECT_ALL
|
||||
MENUITEM "&Idõ/dátum\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Hosszú sorok tördelése", CMD_WRAP
|
||||
}
|
||||
POPUP "&Keresés" {
|
||||
MENUITEM "&Keresés...", CMD_SEARCH
|
||||
MENUITEM "Köve&tkezõ keresése\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Súgó" {
|
||||
MENUITEM "&Témakörök", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Keresés...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Használat", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&ormáció..." {
|
||||
MENUITEM "&Licenc", CMD_LICENSE
|
||||
MENUITEM "&SEMMI GARANCIA", CMD_NO_WARRANTY
|
||||
MENUITEM "&Wine névjegy", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Oldalbeállítás"
|
||||
{
|
||||
LTEXT "&Fejléc:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Lábléc:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Margók:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Bal:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Felsõ:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Jobb:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Alsó:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Mégse", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Súgó", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Oldalszám: &s." /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Jegyzettömb"
|
||||
STRING_ERROR, "HIBA"
|
||||
STRING_WARNING, "FIGYELMEZTETÉS"
|
||||
STRING_INFO, "Információ"
|
||||
|
||||
STRING_UNTITLED, "(névtelen)"
|
||||
|
||||
STRING_ALL_FILES, "Minden fájl (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Szövegfájlok (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "'%s' fájl túl nagy méretû.\n \
|
||||
Kérem használjon másik szövegszerkesztõ programot."
|
||||
STRING_NOTEXT, "A szöveg nem tartalmaz karaktert! \
|
||||
\nKérem gépeljen be néhány karaktert és próbálja újra!"
|
||||
STRING_DOESNOTEXIST, "A megadott '%s'\nfájl nem létezik!\n\n \
|
||||
Kíván létrehozni új fájlt?"
|
||||
STRING_NOTSAVED, "'%s' fájl\nmódosult\n\n \
|
||||
Szeretné menteni a változásokat?"
|
||||
STRING_NOTFOUND, "'%s' nem található!"
|
||||
STRING_OUT_OF_MEMORY, "Nincs elegendõ szabad memória!\
|
||||
\nZárjon be néhány alkalmazást, ezzel növelve a szabad memória méretét\
|
||||
!"
|
||||
|
||||
}
|
130
reactos/subsys/system/notepad/It.rc
Normal file
130
reactos/subsys/system/notepad/It.rc
Normal file
|
@ -0,0 +1,130 @@
|
|||
/*
|
||||
* Notepad (Italian resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
||||
* Copyright 2003 Marcelo Duarte
|
||||
* Copyright 2003-2004 Ivan Leo Puoti
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&File" {
|
||||
MENUITEM "&Nuovo", CMD_NEW
|
||||
MENUITEM "&Apri...\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "&Salva\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "Salva &con nome...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Stampa", CMD_PRINT
|
||||
MENUITEM "&Imposta pagina...", CMD_PAGE_SETUP
|
||||
MENUITEM "&Configurazione stampante...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "E&sci", CMD_EXIT
|
||||
}
|
||||
POPUP "&Modifica" {
|
||||
MENUITEM "&Anulla\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Taglia\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Copia\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Incolla\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Elimina\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Seleziona &tutto\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "&Ora/Data\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&A campo automatico", CMD_WRAP
|
||||
MENUITEM "&Imposta carattere...", CMD_FONT
|
||||
}
|
||||
POPUP "&Trova" {
|
||||
MENUITEM "&Trova\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "&Trova successivo\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Aiuto" {
|
||||
MENUITEM "&Contenuti", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Trova...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Aiuto sulla Guida", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&Licenza", CMD_LICENSE
|
||||
MENUITEM "&Garanzia", CMD_NO_WARRANTY
|
||||
MENUITEM "&Informazioni sul Blocco Note", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Setup di pagina"
|
||||
{
|
||||
LTEXT "&Note a inizio pagina:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Note a piè di pagina:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Margini:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Sinistro:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Superiore:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Destro:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Inferiore:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Cancella", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Aiuto", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Page &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Blocco note"
|
||||
STRING_ERROR, "ERRORE"
|
||||
STRING_WARNING, "ATTENZIONE"
|
||||
STRING_INFO, "Info"
|
||||
|
||||
STRING_UNTITLED, "(senza nome)"
|
||||
|
||||
STRING_ALL_FILES, "Tutti i file (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "File di testo (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Il file '%s' è troppo grande per il blocco note.\n \
|
||||
Per favore usare un altro editor."
|
||||
STRING_NOTEXT, "Non è stato inserito alcun testo. \
|
||||
\nPer favore digitare qualcosa e riprovare"
|
||||
STRING_DOESNOTEXIST, "Il file '%s'\nnon esiste\n\n \
|
||||
Creare un nuovo file ?"
|
||||
STRING_NOTSAVED, "Il file '%s'\ne' stato modificato\n\n \
|
||||
Salvare le modifiche ?"
|
||||
STRING_NOTFOUND, "'%s' non è stato trovato."
|
||||
STRING_OUT_OF_MEMORY, "Memoria insufficente per completare questa operazione \
|
||||
task. \nChiudere una o più applicazioni per aumentare la quantita'\n di memoria libera."
|
||||
|
||||
}
|
129
reactos/subsys/system/notepad/Ja.rc
Normal file
129
reactos/subsys/system/notepad/Ja.rc
Normal file
|
@ -0,0 +1,129 @@
|
|||
/*
|
||||
* Notepad (Japanese resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "ファイル(&F)" {
|
||||
MENUITEM "新規作成(&N)...", CMD_NEW
|
||||
MENUITEM "開く(&O)\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "保存(&S)\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "名前を付けて保存(&a)...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "印刷(&P)", CMD_PRINT
|
||||
MENUITEM "ページ設定(&t)...", CMD_PAGE_SETUP
|
||||
MENUITEM "プリンタの設定(&r)...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "終了(&x)", CMD_EXIT
|
||||
}
|
||||
POPUP "編集(&E)" {
|
||||
MENUITEM "アンドゥ(&U)\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "切り取り(&t)\tCtrl+X", CMD_CUT
|
||||
MENUITEM "コピー(&C)\tCtrl+C", CMD_COPY
|
||||
MENUITEM "ペースト(&P)\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "削除(&D)\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "全て選択(&a)\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "日付と時刻(&T)\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "長い行を折り返す(&W)", CMD_WRAP
|
||||
MENUITEM "フォント(&F)...", CMD_FONT
|
||||
}
|
||||
POPUP "検索(&S)" {
|
||||
MENUITEM "検索(&S)\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "次の候補を検索(&S)\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "ヘルプ(&H)" {
|
||||
MENUITEM "目次(&C)", CMD_HELP_CONTENTS
|
||||
MENUITEM "検索(&S)...", CMD_HELP_SEARCH
|
||||
MENUITEM "ヘルプの使い方(&H)", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "情報(&o)..." {
|
||||
MENUITEM "ライセンス(&L)", CMD_LICENSE
|
||||
MENUITEM "未保証(&N)", CMD_NO_WARRANTY
|
||||
MENUITEM "Wineについて(&A)", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 9, "MS UI Gothic"
|
||||
CAPTION "ページ設定"
|
||||
{
|
||||
LTEXT "ヘッダ(&H):", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "フッタ(&F):", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "マージン(&M):", 0x144, 10, 43,160, 45
|
||||
LTEXT "左(&L):", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "上(&T):", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "右(&R):", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "下(&B):", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "キャンセル", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "ヘルプ(&H)", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "&s ページ" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "メモ帳"
|
||||
STRING_ERROR, "エラー"
|
||||
STRING_WARNING, "警告"
|
||||
STRING_INFO, "情報"
|
||||
|
||||
STRING_UNTITLED, "(無題)"
|
||||
|
||||
STRING_ALL_FILES, "全てのファイル (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "テキストファイル (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "ファイル '%s' のサイズは大きすぎるため、メモ帳では編集できません。\n \
|
||||
別のエディタを使用して下さい。"
|
||||
STRING_NOTEXT, "何も入力されていません。\
|
||||
\n何か入力してから実行して下さい。"
|
||||
STRING_DOESNOTEXIST, "ファイル '%s'\nは存在しません\n\n \
|
||||
新しいファイルを作成しますか ?"
|
||||
STRING_NOTSAVED, "ファイル '%s'\nは変更されています\n\n \
|
||||
変更を保存しますか ?"
|
||||
STRING_NOTFOUND, "'%s' は見つかりませんでした"
|
||||
STRING_OUT_OF_MEMORY, "この操作を実行するためのメモリが\
|
||||
足りません。 \nメモリの空きを増やすためにいくつかのアプリケーションを\n終了して\
|
||||
下さい。"
|
||||
|
||||
}
|
28
reactos/subsys/system/notepad/License_En.c
Normal file
28
reactos/subsys/system/notepad/License_En.c
Normal file
|
@ -0,0 +1,28 @@
|
|||
#include <windows.h>
|
||||
#include "license.h"
|
||||
|
||||
static const CHAR LicenseCaption_En[] = "LICENSE";
|
||||
static const CHAR License_En[] =
|
||||
"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 "
|
||||
"version 2.1 of the License, or (at your option) any later version.\n"
|
||||
|
||||
"This library is distributed in the hope that it will be useful, "
|
||||
"but WITHOUT ANY WARRANTY; without even the implied warranty of "
|
||||
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
|
||||
"Lesser General Public License for more details.\n"
|
||||
|
||||
"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";
|
||||
|
||||
static const CHAR NoWarrantyCaption_En[] = "NO WARRANTY";
|
||||
static const CHAR NoWarranty_En[] =
|
||||
"This library is distributed in the hope that it will be useful, "
|
||||
"but WITHOUT ANY WARRANTY; without even the implied warranty of "
|
||||
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU "
|
||||
"Lesser General Public License for more details.";
|
||||
|
||||
LICENSE WineLicense_En = {License_En, LicenseCaption_En,
|
||||
NoWarranty_En, NoWarrantyCaption_En};
|
29
reactos/subsys/system/notepad/Makefile
Normal file
29
reactos/subsys/system/notepad/Makefile
Normal file
|
@ -0,0 +1,29 @@
|
|||
PATH_TO_TOP = ../../..
|
||||
|
||||
TARGET_TYPE = program
|
||||
|
||||
TARGET_APPTYPE = windows
|
||||
|
||||
TARGET_NAME = notepad
|
||||
|
||||
TARGET_INSTALLDIR = system32
|
||||
|
||||
TARGET_CFLAGS = -D__USE_W32API -D_WIN32_IE=0x0501
|
||||
|
||||
TARGET_RCFLAGS = -D__USE_W32API -D_WIN32_IE=0x0501
|
||||
|
||||
TARGET_SDKLIBS = \
|
||||
kernel32.a \
|
||||
user32.a \
|
||||
gdi32.a \
|
||||
comdlg32.a
|
||||
|
||||
TARGET_OBJECTS = \
|
||||
License_En.o \
|
||||
dialog.o \
|
||||
license.o \
|
||||
main.o
|
||||
|
||||
include $(PATH_TO_TOP)/rules.mak
|
||||
|
||||
include $(TOOLS_PATH)/helper.mk
|
21
reactos/subsys/system/notepad/Makefile.in
Normal file
21
reactos/subsys/system/notepad/Makefile.in
Normal file
|
@ -0,0 +1,21 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = notepad.exe
|
||||
APPMODE = -mwindows
|
||||
IMPORTS = comdlg32 shell32 user32 gdi32 msvcrt advapi32 kernel32
|
||||
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
|
||||
EXTRADEFS = -DNO_LIBWINE_PORT
|
||||
|
||||
C_SRCS = \
|
||||
License_En.c \
|
||||
dialog.c \
|
||||
license.c \
|
||||
main.c
|
||||
|
||||
RC_SRCS = rsrc.rc
|
||||
|
||||
@MAKE_PROG_RULES@
|
||||
|
||||
### Dependencies:
|
126
reactos/subsys/system/notepad/Nl.rc
Normal file
126
reactos/subsys/system/notepad/Nl.rc
Normal file
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* Notepad (Dutch resources)
|
||||
*
|
||||
* Copyright 2003 Hans Leidekker
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Bestand" {
|
||||
MENUITEM "&Nieuw...", CMD_NEW
|
||||
MENUITEM "&Openen\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "O&pslaan\tCtrl+p", CMD_SAVE
|
||||
MENUITEM "Ops&laan als...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Afdrukken", CMD_PRINT
|
||||
MENUITEM "Pagina-in&stelling...", CMD_PAGE_SETUP
|
||||
MENUITEM "Printerinstellingen...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Afsluiten", CMD_EXIT
|
||||
}
|
||||
POPUP "Be&werken" {
|
||||
MENUITEM "&Ongedaan maken\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "K&nippen\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Kopiëren\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Plakken\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Verwijderen\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Alles selecteren\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "Tijd/&datum\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "A&utomatische terugloop", CMD_WRAP
|
||||
MENUITEM "&Lettertype instellen...", CMD_FONT
|
||||
}
|
||||
POPUP "&Zoeken" {
|
||||
MENUITEM "&Zoeken\tCtrl+Z", CMD_SEARCH
|
||||
MENUITEM "&Volgende zoeken\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Help" {
|
||||
MENUITEM "&Help-onderwerpen", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Zoeken...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Hulp bij Help", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&Licentie", CMD_LICENSE
|
||||
MENUITEM "&GEEN GARANTIE", CMD_NO_WARRANTY
|
||||
MENUITEM "&Over Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Pagina-instelling"
|
||||
{
|
||||
LTEXT "&Koptekst:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Voettekst:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Marges:", 0x144, 10, 43,160, 45
|
||||
LTEXT "Li&nks:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Boven:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Rechts:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Onder:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Annuleren", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Help", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Pagina &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Kladblok"
|
||||
STRING_ERROR, "FOUT"
|
||||
STRING_WARNING, "WAARSCHUWING"
|
||||
STRING_INFO, "Informatie"
|
||||
|
||||
STRING_UNTITLED, "(naamloos)"
|
||||
|
||||
STRING_ALL_FILES, "Alle bestanden (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Tekstbestanden (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Het bestand '%s' is te groot voor Kladblok.\n \
|
||||
Gebruik een andere editor."
|
||||
STRING_NOTEXT, "U heeft geen tekst ingevoerd. \
|
||||
\nType uw tekst en probeer het nogmaals"
|
||||
STRING_DOESNOTEXIST, "Het bestand '%s'\nbestaat niet\n\n \
|
||||
Wilt u een nieuw bestand maken?"
|
||||
STRING_NOTSAVED, "Het bestand '%s'\nis gewijzigd\n\n \
|
||||
Wilt u de wijzigingen opslaan?"
|
||||
STRING_NOTFOUND, "'%s' kan niet worden gevonden."
|
||||
STRING_OUT_OF_MEMORY, "Onvoldoende geheugen. \
|
||||
\nSluit een of meer applicaties om de hoeveelheid \nbeschikbaar geheugen te vergroten."
|
||||
|
||||
}
|
129
reactos/subsys/system/notepad/Pl.rc
Normal file
129
reactos/subsys/system/notepad/Pl.rc
Normal file
|
@ -0,0 +1,129 @@
|
|||
/*
|
||||
* Notepad (Polish resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
||||
* Copyright 2004 Jacek Caban <jack@itma.pwr.wroc.pl>
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Plik" {
|
||||
MENUITEM "&Nowy...", CMD_NEW
|
||||
MENUITEM "&Otwórz\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "&Zapisz\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "Z&apisz jako...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Drukuj", CMD_PRINT
|
||||
MENUITEM "&Ustawienia strony...", CMD_PAGE_SETUP
|
||||
MENUITEM "Ustawienia &drukarki...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Zakoñ&cz", CMD_EXIT
|
||||
}
|
||||
POPUP "&Edycja" {
|
||||
MENUITEM "&Cofnij\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Wytnij\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Kopiuj\tCtrl+C", CMD_COPY
|
||||
MENUITEM "Wkl&ej\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Usuñ\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Zaznacz w&szystko\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "Godzina/&Data\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Zawijanie wierszy", CMD_WRAP
|
||||
MENUITEM "Czci&onka...", CMD_FONT
|
||||
}
|
||||
POPUP "&ZnajdŸ" {
|
||||
MENUITEM "&ZnajdŸ\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "Z&najdŸ nastêpny\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "Pomo&c" {
|
||||
MENUITEM "&Tematy pomocy", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Szukaj...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Pomoc", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "In&fo..." {
|
||||
MENUITEM "&Licencja", CMD_LICENSE
|
||||
MENUITEM "&BEZ GWARANCJI", CMD_NO_WARRANTY
|
||||
MENUITEM "&O Wine...", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Ustawienia strony"
|
||||
{
|
||||
LTEXT "&Nag³ówek:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Stopka:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Marginesy:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Lewy:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Górny:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "P&rawy:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Dolny:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Anuluj", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Pomoc", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Strona &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notatnik"
|
||||
STRING_ERROR, "B£¥D"
|
||||
STRING_WARNING, "OSTRZE¯ENIE"
|
||||
STRING_INFO, "Informacja"
|
||||
|
||||
STRING_UNTITLED, "(bez tytu³u)"
|
||||
|
||||
STRING_ALL_FILES, "Wszystkie piki (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Pliki tekstowe (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Plik '%s' jest za du¿y dla notatnika.\n \
|
||||
Proszê u¿yæ innego edytora."
|
||||
STRING_NOTEXT, "Nie wprowadzi³eœ ¿adnego tekstu. \
|
||||
\nProszê coœ wpisaæ i spróbowaæ ponownie."
|
||||
STRING_DOESNOTEXIST, "Plik '%s' nie istnieje\n\n \
|
||||
Czy chcesz utworzyæ nowy plik ?"
|
||||
STRING_NOTSAVED, "Plik '%s'\nzosta³ zmodyfikowany\n\n \
|
||||
Czy chcesz zachowaæ zmiany ?"
|
||||
STRING_NOTFOUND, "Nie mo¿na odnaleŸæ '%s'."
|
||||
STRING_OUT_OF_MEMORY, "Za ma³o pamiêci do wykonania tego zadania.\n \
|
||||
Zamknij jedn¹ lub wiêcej aplikacji aby zwiêkszyæ iloœæ wolnej pamiêci."
|
||||
|
||||
}
|
129
reactos/subsys/system/notepad/Pt.rc
Normal file
129
reactos/subsys/system/notepad/Pt.rc
Normal file
|
@ -0,0 +1,129 @@
|
|||
/*
|
||||
* Notepad
|
||||
* Portuguese Language Support
|
||||
*
|
||||
* Copyright 1999 Marcel Baur <alves@correionet.com.br>
|
||||
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
||||
* Copyright 2003 Marcelo Duarte
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Arquivo" {
|
||||
MENUITEM "&Novo...", CMD_NEW
|
||||
MENUITEM "A&brir", CMD_OPEN
|
||||
MENUITEM "&Salvar", CMD_SAVE
|
||||
MENUITEM "Salvar &como...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Imprimir", CMD_PRINT
|
||||
MENUITEM "C&onfigurar página...", CMD_PAGE_SETUP
|
||||
MENUITEM "Configurar i&mpressora...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Sai&r", CMD_EXIT
|
||||
}
|
||||
POPUP "&Editar" {
|
||||
MENUITEM "&Desfazer\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Recortar\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Copiar\tCtrl+C", CMD_COPY
|
||||
MENUITEM "C&olar\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "E&xcluir\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Selecionar &tudo", CMD_SELECT_ALL
|
||||
MENUITEM "&Data/Hora\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Quebrar automática de linha", CMD_WRAP
|
||||
MENUITEM "&Fonte...", CMD_FONT
|
||||
}
|
||||
POPUP "&Pesquisa" {
|
||||
MENUITEM "&Localizar...", CMD_SEARCH
|
||||
MENUITEM "Localizar &próxima\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Ajuda" {
|
||||
MENUITEM "&Conteúdo", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Procurar...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Ajuda na ajuda", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "&Informações..." {
|
||||
MENUITEM "&Licença", CMD_LICENSE
|
||||
MENUITEM "&SEM GARANTIA", CMD_NO_WARRANTY
|
||||
MENUITEM "&Sobre o Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Configurar página"
|
||||
{
|
||||
LTEXT "&Cabeçalho:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Rodapé:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Margens:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Esquerda:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Superior:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Direita:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Inferior:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Cancelar", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Ajuda", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Página &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notepad"
|
||||
STRING_ERROR, "ERRO"
|
||||
STRING_WARNING, "AVISO"
|
||||
STRING_INFO, "Informação"
|
||||
|
||||
STRING_UNTITLED, "(sem nome)"
|
||||
|
||||
STRING_ALL_FILES, "Todos os arquivos (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Arquivos texto (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Arquivo '%s' é muito longo para o notepad.\n \
|
||||
Por favor use um editor diferente."
|
||||
STRING_NOTEXT, "Você não digitou nenhum texto. \
|
||||
\nPor favor digite alguma coisa e tente novamente"
|
||||
STRING_DOESNOTEXIST, "Arquivo '%s'\nnão existe\n\n \
|
||||
Você deseja criar um novo arquivo?"
|
||||
STRING_NOTSAVED, "Arquivo '%s'\nfoi modificado\n\n \
|
||||
Gostaria de salvar as alteraçÕes?"
|
||||
STRING_NOTFOUND, "'%s' não pode ser encontrado."
|
||||
STRING_OUT_OF_MEMORY, "Não há memória suficiente para completar essa \
|
||||
tarefa. \nFeche uma ou mais aplicações para aumentar a quantidade de memória livre."
|
||||
|
||||
}
|
124
reactos/subsys/system/notepad/Ru.rc
Normal file
124
reactos/subsys/system/notepad/Ru.rc
Normal file
|
@ -0,0 +1,124 @@
|
|||
/*
|
||||
* Notepad (Russian resources)
|
||||
*
|
||||
* Copyright 2003 Igor Stepin
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
MAIN_MENU MENU LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||
{
|
||||
POPUP "&Ôàéë" {
|
||||
MENUITEM "Ñîçä&àòü", CMD_NEW
|
||||
MENUITEM "&Îòêðûòü...", CMD_OPEN
|
||||
MENUITEM "&Ñîõðàíèòü", CMD_SAVE
|
||||
MENUITEM "Ñîõðàíèòü &êàê...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ïàðà&ìåòðû ñòðàíèöû...", CMD_PAGE_SETUP
|
||||
MENUITEM "&Íàñòðîéêà ïðèíòåðà...", CMD_PRINTER_SETUP
|
||||
MENUITEM "&Ïå÷àòàòü", CMD_PRINT
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Â&ûõîä", CMD_EXIT
|
||||
}
|
||||
POPUP "&Ïðàâêà" {
|
||||
MENUITEM "&Îòìåíèòü\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Âûðåçàòü\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Êîïèðîâàòü\tCtrl+C", CMD_COPY
|
||||
MENUITEM "Âñò&àâèòü\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Óäàëèòü\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Âûäåëèòü â&ñå", CMD_SELECT_ALL
|
||||
MENUITEM "Âðåì&ÿ è äàòà\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Ïåðåíîñ ïî ñëîâàì", CMD_WRAP
|
||||
}
|
||||
POPUP "Ï&îèñê" {
|
||||
MENUITEM "&Íàéòè", CMD_SEARCH
|
||||
MENUITEM "Íàéòè &äàëåå\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Ñïðàâêà" {
|
||||
MENUITEM "&Ñîäåðæàíèå", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Ïîèñê...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Èñïîëüçîâàíèå ñïðàâêè", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "&Ñâåäåíèÿ..." {
|
||||
MENUITEM "&Ëèöåíçèÿ", CMD_LICENSE
|
||||
MENUITEM "&ÁÅÇ ÃÀÐÀÍÒÈÉ", CMD_NO_WARRANTY
|
||||
MENUITEM "&O Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Ïàðàìåòðû ñòðàíèöû"
|
||||
{
|
||||
LTEXT "Â&åðõíèé êîëîíòèòóë:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "Í&èæíèé êîëîíòèòóë:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "Ïîëÿ (ìì):", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Ëåâîå:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Âåðõíåå:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Ïðàâîå:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Íèæíåå:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Îòìåíà", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Ñïðàâêà", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Ñòðàíèöà &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 ìì" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 ìì" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 ìì" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 ìì" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Áëîêíîò"
|
||||
STRING_ERROR, "ÎØÈÁÊÀ"
|
||||
STRING_WARNING, "ÂÍÈÌÀÍÈÅ"
|
||||
STRING_INFO, "Èíôîðìàöèÿ"
|
||||
|
||||
STRING_UNTITLED, "(áåç çàãîëîâêà)"
|
||||
|
||||
STRING_ALL_FILES, "Âñå ôàéëû (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Òåêñòîâûå ôàéëû (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Ôàéë '%s' ñëèøêîì áîëüøîé äëÿ áëîêíîòà.\n \
|
||||
Èñïîëüçóéòå äðóãîé ðåäàêòîð."
|
||||
STRING_NOTEXT, "Âû íå ââåëè íèêàêîãî òåêñòà. \
|
||||
\nÂâåäèòå ÷òî-íèáóäü è ïîïðîáóéòå åùå."
|
||||
STRING_DOESNOTEXIST, "Ôàéë '%s'\níå ñóùåñòâóåò\n\n \
|
||||
Õîòèòå ñîçäàòü íîâûé ôàéë?"
|
||||
STRING_NOTSAVED, "Ôàéë '%s'\náûë èçìåíåí\n\n \
|
||||
Õîòèòå ñîõðàíèòü èçìåíåíèÿ?"
|
||||
STRING_NOTFOUND, "'%s' íå íàéäåí."
|
||||
STRING_OUT_OF_MEMORY, "Íåäîñòàòî÷íî ïàìÿòè äëÿ çàâåðøåíèÿ ýòîé îïåðàöèè \
|
||||
\nÇàêðîéòå îäíî èëè íåñêîëüêî ïðèëîæåíèé è ïîâòîðèòå ïîïûòêó."
|
||||
|
||||
}
|
125
reactos/subsys/system/notepad/Si.rc
Normal file
125
reactos/subsys/system/notepad/Si.rc
Normal file
|
@ -0,0 +1,125 @@
|
|||
/*
|
||||
* Notepad (Slovenian resources)
|
||||
*
|
||||
* Copyright 2002-2003 Rok Mandeljc <rok.mandeljc@gimb.org>
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Datoteka" {
|
||||
MENUITEM "&Nova", CMD_NEW
|
||||
MENUITEM "&Odpri ...", CMD_OPEN
|
||||
MENUITEM "&Shrani", CMD_SAVE
|
||||
MENUITEM "Shrani &kot ...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Na&tisni", CMD_PRINT
|
||||
MENUITEM "P&riprava strani ...", CMD_PAGE_SETUP
|
||||
MENUITEM "&Tiskalnik ...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Iz&hod", CMD_EXIT
|
||||
}
|
||||
POPUP "&Urejanje" {
|
||||
MENUITEM "&Razveljavi\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Izreži\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Kopiraj\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Prilepi\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "Izbri&ši\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Izberi &vse", CMD_SELECT_ALL
|
||||
MENUITEM "Èas/&Datum\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Pr&elom vrstice", CMD_WRAP
|
||||
}
|
||||
POPUP "&Iskanje" {
|
||||
MENUITEM "&Najdi ...", CMD_SEARCH
|
||||
MENUITEM "Na&daljuj iskanje\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Pomoè" {
|
||||
MENUITEM "&Teme pomoèi", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Najdi ...", CMD_HELP_SEARCH
|
||||
MENUITEM "&O pomoèi", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&ormacije ..." {
|
||||
MENUITEM "&Licenèna pogodba", CMD_LICENSE
|
||||
MENUITEM "&BREZ GARANCIJE", CMD_NO_WARRANTY
|
||||
MENUITEM "&O Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Page Setup"
|
||||
{
|
||||
LTEXT "&Glava:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Noga:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "Robovi", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Levo:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Desno:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Zgoraj:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Spodaj:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "V redu", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Preklièi", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Pomoè", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Stran &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Beležnica"
|
||||
STRING_ERROR, "NAPAKA"
|
||||
STRING_WARNING, "OPOZORILO"
|
||||
STRING_INFO, "Informacija"
|
||||
|
||||
STRING_UNTITLED, "Neimenovana"
|
||||
|
||||
STRING_ALL_FILES, "Vse datoteke (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Datoteke z besedilom (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Datoteka '%s' je prevelika za Beležnico.\n \
|
||||
Uporabite drug urejevalnik."
|
||||
STRING_NOTEXT, "Niste vnesli besedila. \
|
||||
\nVnesite besedilo in poskusite znova."
|
||||
STRING_DOESNOTEXIST, "Datoteka '%s' ne obstaja.\n\n \
|
||||
Ali želite ustvariti novo datoteko?"
|
||||
STRING_NOTSAVED, "Vsebina datoteke '%s'je bila spremenjena.\n\n \
|
||||
Ali želite shraniti spremembe?"
|
||||
STRING_NOTFOUND, "Ni mogoèe najti '%s'."
|
||||
STRING_OUT_OF_MEMORY, "Na voljo ni dovolj pomnilnika, da bi bilo mogoèe dokonèati to \
|
||||
operacijo. \nÈe ga želite sprostiti, konèajte enega ali veè programov in poskusite znova. "
|
||||
|
||||
}
|
127
reactos/subsys/system/notepad/Sk.rc
Normal file
127
reactos/subsys/system/notepad/Sk.rc
Normal file
|
@ -0,0 +1,127 @@
|
|||
/*
|
||||
* Notepad (Slovak resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&File" {
|
||||
MENUITEM "&New...", CMD_NEW
|
||||
MENUITEM "&Open", CMD_OPEN
|
||||
MENUITEM "&Save", CMD_SAVE
|
||||
MENUITEM "Save &as...", CMD_SAVE_AS
|
||||
MENUITEM "&Print", CMD_PRINT
|
||||
MENUITEM "Page Se&tup...", CMD_PAGE_SETUP
|
||||
MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Exit", CMD_EXIT
|
||||
}
|
||||
POPUP "&Edit" {
|
||||
MENUITEM "&Undo\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Cu&t\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Copy\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Paste\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Delete\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Select &all", CMD_SELECT_ALL
|
||||
MENUITEM "&Time/Date\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Wrap long lines", CMD_WRAP
|
||||
}
|
||||
POPUP "&Search" {
|
||||
MENUITEM "&Search", CMD_SEARCH
|
||||
MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Help" {
|
||||
MENUITEM "&Contents", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Search...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Help on help", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&o..." {
|
||||
MENUITEM "&License", CMD_LICENSE
|
||||
MENUITEM "&NO WARRANTY", CMD_NO_WARRANTY
|
||||
MENUITEM "&About Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Page Setup"
|
||||
{
|
||||
LTEXT "&Header:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Footer:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Margins:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Left:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Top:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Right:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Bottom:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Cancel", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Help", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Page &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notepad"
|
||||
STRING_ERROR, "ERROR"
|
||||
STRING_WARNING, "WARNING"
|
||||
STRING_INFO, "Information"
|
||||
|
||||
STRING_UNTITLED, "(untitled)"
|
||||
|
||||
STRING_ALL_FILES, "All files (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Text files (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "File '%s' is too large for notepad.\n \
|
||||
Please use a different editor."
|
||||
STRING_NOTEXT, "You didn't enter any text. \
|
||||
\nPlease type something and try again"
|
||||
STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
|
||||
Do you want to create a new file ?"
|
||||
STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \
|
||||
Would you like to save the changes ?"
|
||||
STRING_NOTFOUND, "'%s' can not be found."
|
||||
STRING_OUT_OF_MEMORY, "Not enough memory to complete this \
|
||||
task. \nClose one or more applications to increase the amount of \nfree \
|
||||
memory."
|
||||
|
||||
}
|
127
reactos/subsys/system/notepad/Sw.rc
Normal file
127
reactos/subsys/system/notepad/Sw.rc
Normal file
|
@ -0,0 +1,127 @@
|
|||
/*
|
||||
* Notepad (Swedish resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Arkiv" {
|
||||
MENUITEM "&Ny...", CMD_NEW
|
||||
MENUITEM "Ö&ppna", CMD_OPEN
|
||||
MENUITEM "&Spara", CMD_SAVE
|
||||
MENUITEM "Spara &som...", CMD_SAVE_AS
|
||||
MENUITEM "&Skriv ut", CMD_PRINT
|
||||
MENUITEM "Sid La&yout...", CMD_PAGE_SETUP
|
||||
MENUITEM "Skrivar &inställningar...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Avsluta", CMD_EXIT
|
||||
}
|
||||
POPUP "&Redigera" {
|
||||
MENUITEM "&Undo\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Klippa\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Kopiera\tCtrl+C", CMD_COPY
|
||||
MENUITEM "&Klistra in\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Ta bort\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Markera &allt", CMD_SELECT_ALL
|
||||
MENUITEM "&Tid/Datum\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Dela långa meningar", CMD_WRAP
|
||||
}
|
||||
POPUP "&Sök" {
|
||||
MENUITEM "Sök...", CMD_SEARCH
|
||||
MENUITEM "&Sök nästa\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Hjälp" {
|
||||
MENUITEM "&Innehåll", CMD_HELP_CONTENTS
|
||||
MENUITEM "&Sök...", CMD_HELP_SEARCH
|
||||
MENUITEM "Användningen &av hjälp", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Inf&ormation..." {
|
||||
MENUITEM "&Licens", CMD_LICENSE
|
||||
MENUITEM "&INGEN GARANTI", CMD_NO_WARRANTY
|
||||
MENUITEM "&Om Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Sid Layout"
|
||||
{
|
||||
LTEXT "&Huvudnot:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Fotnot:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "Kanter:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Vänster:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Över:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Höger:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Under:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "OK", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Avbryt", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Hjälp", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Page &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Anteckningar"
|
||||
STRING_ERROR, "FEL"
|
||||
STRING_WARNING, "WARNING"
|
||||
STRING_INFO, "Information"
|
||||
|
||||
STRING_UNTITLED, "(untitled)"
|
||||
|
||||
STRING_ALL_FILES, "Alla filer (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Text filer (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Filen '%s' är för stor för notepad.\n \
|
||||
Använd en annan editor."
|
||||
STRING_NOTEXT, "Du skrev inte in någon text. \
|
||||
\nSkriv något och försök sedan igen"
|
||||
STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
|
||||
Do you want to create a new file ?"
|
||||
STRING_NOTSAVED, "File '%s'\nhas been modified\n\n \
|
||||
Would you like to save the changes ?"
|
||||
STRING_NOTFOUND, "'%s' hittades inte."
|
||||
STRING_OUT_OF_MEMORY, "Inte tillräkligt med minne för att slutföra \
|
||||
den här uppgiften. \nAvsluta ett eller flera program för att öka mängden \nfritt \
|
||||
minne."
|
||||
|
||||
}
|
121
reactos/subsys/system/notepad/Th.rc
Normal file
121
reactos/subsys/system/notepad/Th.rc
Normal file
|
@ -0,0 +1,121 @@
|
|||
/*
|
||||
* Notepad (Thai Resources)
|
||||
*
|
||||
* Copyright 2003 Jon Griffiths
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_THAI, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "á¿éÁ" {
|
||||
MENUITEM "ÊÃéÒ§ãËÁè...", CMD_NEW
|
||||
MENUITEM "à»Ô´...\tCtrl+O", CMD_OPEN
|
||||
MENUITEM "ºÑ¹·×¡\tCtrl+S", CMD_SAVE
|
||||
MENUITEM "ºÑ¹·×¡à»ç¹...", CMD_SAVE_AS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "¾ÔÁ¾ì", CMD_PRINT
|
||||
MENUITEM "»ÃѺáµè§Ë¹éÒ...", CMD_PAGE_SETUP
|
||||
MENUITEM "»ÃѺáµè§à¤Ã×èͧ¾ÔÁ¾ì...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ÍÍ¡", CMD_EXIT
|
||||
}
|
||||
POPUP "á¡éä¢" {
|
||||
MENUITEM "àÃÕ¡¤×¹\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "µÑ´\tCtrl+X", CMD_CUT
|
||||
MENUITEM "µÑ´ÅÍ¡\tCtrl+C", CMD_COPY
|
||||
MENUITEM "ÇÒ§\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "ź\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "àÅ×Í¡·Ñé§ËÁ´\tCtrl+A", CMD_SELECT_ALL
|
||||
MENUITEM "Çѹ·Õè/\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ËèͺÃ÷ѴÂÒÇ", CMD_WRAP
|
||||
MENUITEM "ÃٻẺ´ÑÇÍÑ¡ÉÃ...", CMD_FONT
|
||||
}
|
||||
POPUP "¤Ñ¹ËÒ" {
|
||||
MENUITEM "¤é¹ËÒ\tCtrl+F", CMD_SEARCH
|
||||
MENUITEM "¤é¹ËÒµèÍä»\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "ªèÇÂàËÅÕÍ" {
|
||||
MENUITEM "à¹×éÍËÒ", CMD_HELP_CONTENTS
|
||||
MENUITEM "¤é¹ËÒ...", CMD_HELP_SEARCH
|
||||
MENUITEM "à¡ÕèÂǡѺªèÇÂàËÅÕÍ", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "ÃÒÂÅÐàÍÕ´..." {
|
||||
MENUITEM "ãºÍ¹ØÒµ", CMD_LICENSE
|
||||
MENUITEM "äÁèÁÕ WARRANTY", CMD_NO_WARRANTY
|
||||
MENUITEM "à¡ÕèÂǡѺ Wine... ", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "»ÃѺáµè§Ë¹éÒ"
|
||||
{
|
||||
LTEXT "ËÑÇ:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Footer:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "¢Íº¡ÃдÒÉ:", 0x144, 10, 43,160, 45
|
||||
LTEXT "£éÒÂ:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "º¹:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "¢ÇÒ:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "ÅèÒ§:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "µ¡Å§", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "¡àÅÔ¡", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "ªèÇÂàËÅÕÍ", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "˹éÒ &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 ÁÁ." /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 ÁÁ." /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 ÁÁ." /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 ÁÁ." /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notepad"
|
||||
STRING_ERROR, "¤ÇÒÁ»Ô´"
|
||||
STRING_WARNING, "¤íÒµ×͹"
|
||||
STRING_INFO, "ÃÒÂÅÐàÍÕ´"
|
||||
|
||||
STRING_UNTITLED, "äÁè¡íÒ˹´ªÖèÍ"
|
||||
|
||||
STRING_ALL_FILES, "·Ø¡á¿éÁ (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "á¿éÁµíÒÃÒ (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "á¿éÁ '%s' ãËèà¡Ô¹ä»"
|
||||
STRING_NOTEXT, "¤Ø³äÁèã´à¢Õ¹ÍÐäÃ\n¡ÃسÒÅͧãËÁè"
|
||||
STRING_DOESNOTEXIST, "äÁ辺á¿éÁ '%s' ·Õèµéͧ¡ÒÃà»Ô´\n¤Ø³µéͧ¡ÒÃÊÃéÒ§ãËÁèäÁè ?"
|
||||
STRING_NOTSAVED, "ÁÕ¡ÒÃà»ÅÕè¹á»Å§¡ÑºàÍ¡ÊÒÃ\n\n'%s'\n\n¤Ø³µéͧ¡Òúѹ·Ö¡ÁѹËÃ×ÍäÁè ?"
|
||||
STRING_NOTFOUND, "äÁ辺¢éͤÇÒÁ '%s' ·Õèµéͧ¡Òäé¹ËÒ"
|
||||
STRING_OUT_OF_MEMORY, "¤ÇÒÁ¨íÒËÁ´\n¡ÃسÒÅͧãËÁè"
|
||||
|
||||
}
|
130
reactos/subsys/system/notepad/Wa.rc
Normal file
130
reactos/subsys/system/notepad/Wa.rc
Normal file
|
@ -0,0 +1,130 @@
|
|||
/*
|
||||
* Notepad (Walon resources)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifdef LANG_WALON
|
||||
|
||||
LANGUAGE LANG_WALON, SUBLANG_DEFAULT
|
||||
|
||||
MAIN_MENU MENU
|
||||
{
|
||||
POPUP "&Fitchî" {
|
||||
MENUITEM "&Novea...", CMD_NEW
|
||||
MENUITEM "&Drovî", CMD_OPEN
|
||||
MENUITEM "&Schaper", CMD_SAVE
|
||||
MENUITEM "Schaper èt r&lomer...", CMD_SAVE_AS
|
||||
MENUITEM "&Rexhe", CMD_PRINT
|
||||
MENUITEM "Arrandjmint del &Pådje...", CMD_PAGE_SETUP
|
||||
MENUITEM "&Apontiaedje del scrirece...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Moussî &Foû", CMD_EXIT
|
||||
}
|
||||
POPUP "&Candjî" {
|
||||
MENUITEM "&Disfé\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Cô&per\tCtrl+X", CMD_CUT
|
||||
MENUITEM "&Copyî\tCtrl+C", CMD_COPY
|
||||
MENUITEM "C&laper\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "&Rafacer\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Tchwezi totafwait", CMD_SELECT_ALL
|
||||
MENUITEM "&Eure/Date\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Côper les ro&yes", CMD_WRAP
|
||||
}
|
||||
POPUP "C&werî" {
|
||||
MENUITEM "Cwerî...", CMD_SEARCH
|
||||
MENUITEM "&Shûvant\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "&Aide" {
|
||||
MENUITEM "Å&dvins", CMD_HELP_CONTENTS
|
||||
MENUITEM "C&werî...", CMD_HELP_SEARCH
|
||||
MENUITEM "&Aide so l' Aide", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "&Informåcion..." {
|
||||
MENUITEM "&Licinse", CMD_LICENSE
|
||||
MENUITEM "&NOLE WARANTEYE", CMD_NO_WARRANTY
|
||||
MENUITEM "Å &dfait di Wine", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 8, "MS Shell Dlg"
|
||||
CAPTION "Arindjmint del Pådje"
|
||||
{
|
||||
LTEXT "&Tite:", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Pînote:", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "&Mardjes:", 0x144, 10, 43,160, 45
|
||||
LTEXT "&Hintche:", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Copete:", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Droete:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "&Bas:", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "I Va", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "Rinoncî", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "&Aide", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Pådje &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "Notepad"
|
||||
STRING_ERROR, "AROKE"
|
||||
STRING_WARNING, "ADVERTIXHMINT"
|
||||
STRING_INFO, "Informåcion"
|
||||
|
||||
STRING_UNTITLED, "(sin tite)"
|
||||
|
||||
STRING_ALL_FILES, "Tos les fitchîs (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "Fitchîs tekse (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "Li fitchî '%s' est trop gros pol notepad.\n \
|
||||
Eployoz on ôte aspougneu di tekse."
|
||||
STRING_NOTEXT, "Vos n' avoz rén sicrît. \
|
||||
\nTapez ene sacwe èt rasayez"
|
||||
STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \
|
||||
Do you want to create a new file ?"
|
||||
STRING_NOTSAVED, "Li fitchî '%s'\na candjî\n\n \
|
||||
El voloz schaper ?"
|
||||
STRING_NOTFOUND, "'%s' pout nén esse trové."
|
||||
STRING_OUT_OF_MEMORY, "Li memwere est plinne. \n\
|
||||
Cloyoz on programe ou pus po monter li memwere libe."
|
||||
|
||||
}
|
||||
|
||||
#endif /* LANG_WALON */
|
123
reactos/subsys/system/notepad/Zh.rc
Normal file
123
reactos/subsys/system/notepad/Zh.rc
Normal file
|
@ -0,0 +1,123 @@
|
|||
/*
|
||||
* Notepad (Simplified Chinese resources)
|
||||
*
|
||||
* Copyright 2002 liuspider <liuspider@yahoo.com>
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
MAIN_MENU MENU LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||||
{
|
||||
POPUP "文件(&F)" {
|
||||
MENUITEM "新建(&N)...", CMD_NEW
|
||||
MENUITEM "打开(&O)", CMD_OPEN
|
||||
MENUITEM "保存(&S)", CMD_SAVE
|
||||
MENUITEM "另存为(&A)...", CMD_SAVE_AS
|
||||
MENUITEM "打印(&P)", CMD_PRINT
|
||||
MENUITEM "页面设置(&T)...", CMD_PAGE_SETUP
|
||||
MENUITEM "打印设置(&R)...", CMD_PRINTER_SETUP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "退出(&E)", CMD_EXIT
|
||||
}
|
||||
POPUP "编辑(&E)" {
|
||||
MENUITEM "撤消(&U)\tCtrl+Z", CMD_UNDO
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "剪切(&T)\tCtrl+X", CMD_CUT
|
||||
MENUITEM "复制(&C)\tCtrl+C", CMD_COPY
|
||||
MENUITEM "粘贴(&P)\tCtrl+V", CMD_PASTE
|
||||
MENUITEM "删除(&D)\tDel", CMD_DELETE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "全选(&A)", CMD_SELECT_ALL
|
||||
MENUITEM "插入日期、时间(&T)\tF5", CMD_TIME_DATE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "自动换行(&W)", CMD_WRAP
|
||||
}
|
||||
POPUP "搜索(&S)" {
|
||||
MENUITEM "搜索(&S)", CMD_SEARCH
|
||||
MENUITEM "搜索下一个(&S)\tF3", CMD_SEARCH_NEXT
|
||||
}
|
||||
POPUP "帮助(&H)" {
|
||||
MENUITEM "内容(&C)", CMD_HELP_CONTENTS
|
||||
MENUITEM "搜索(&S)...", CMD_HELP_SEARCH
|
||||
MENUITEM "如何使用帮助(&H)", CMD_HELP_ON_HELP
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "资料信息(&O)..." {
|
||||
MENUITEM "用户许可协议(&L)", CMD_LICENSE
|
||||
MENUITEM "责任无关(&N)", CMD_NO_WARRANTY
|
||||
MENUITEM "关于 Wine(&A)", CMD_ABOUT_WINE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog `Page setup' */
|
||||
|
||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||
FONT 10, "MS Shell Dlg"
|
||||
CAPTION "页面设置"
|
||||
{
|
||||
LTEXT "页眉(&H):", 0x140, 10, 07, 40, 15
|
||||
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
||||
LTEXT "脚注(&F):", 0x142, 10, 24, 40, 15
|
||||
EDITTEXT 0x143, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
||||
|
||||
GROUPBOX "边缘空白(&M):", 0x144, 10, 43,160, 45
|
||||
LTEXT "左(&L):", 0x145, 20, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/ 0x147, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "上(&T):", 0x148, 20, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/ 0x14A, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "右(&R):", 0x14B, 100, 55, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/ 0x14D, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
LTEXT "下(&B):", 0x14E,100, 73, 30, 10, WS_CHILD
|
||||
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
||||
|
||||
DEFPUSHBUTTON "确定", 0x151, 180, 3, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "取消", 0x152, 180, 21, 40, 15, WS_TABSTOP
|
||||
PUSHBUTTON "帮助(&)", 0x153, 180, 39, 40, 15, WS_TABSTOP
|
||||
}
|
||||
|
||||
STRINGTABLE DISCARDABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||||
{
|
||||
STRING_PAGESETUP_HEADERVALUE, "&n" /* FIXME */
|
||||
STRING_PAGESETUP_FOOTERVALUE, "Page &s" /* FIXME */
|
||||
STRING_PAGESETUP_LEFTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_RIGHTVALUE, "20 mm" /* FIXME */
|
||||
STRING_PAGESETUP_TOPVALUE, "25 mm" /* FIXME */
|
||||
STRING_PAGESETUP_BOTTOMVALUE, "25 mm" /* FIXME */
|
||||
|
||||
STRING_NOTEPAD, "记事本"
|
||||
STRING_ERROR, "错误"
|
||||
STRING_WARNING, "警告"
|
||||
STRING_INFO, "信息"
|
||||
|
||||
STRING_UNTITLED, "(未命名)"
|
||||
|
||||
STRING_ALL_FILES, "所有文件 (*.*)"
|
||||
STRING_TEXT_FILES_TXT, "文本文件 (*.txt)"
|
||||
|
||||
STRING_TOOLARGE, "记事本不能打开 '%s' 这么大的文件。\n \
|
||||
请使用别的编辑器。"
|
||||
STRING_NOTEXT, "您没有输入任何文本。 \
|
||||
\n请输入一些再试"
|
||||
STRING_DOESNOTEXIST, "文件 '%s'\n不存在\n\n \
|
||||
您想新建一个文件吗?"
|
||||
STRING_NOTSAVED, "文件 '%s'\n正文已更改\n\n \
|
||||
是否保存更改?"
|
||||
STRING_NOTFOUND, "找不到文件 '%s'"
|
||||
STRING_OUT_OF_MEMORY, "没有足够的内存可以用来完成此项任务。 \
|
||||
\n请关闭一些程序施放内存后再试。"
|
||||
|
||||
}
|
720
reactos/subsys/system/notepad/dialog.c
Normal file
720
reactos/subsys/system/notepad/dialog.c
Normal file
|
@ -0,0 +1,720 @@
|
|||
/*
|
||||
* Notepad (dialog.c)
|
||||
*
|
||||
* Copyright 1998,99 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
||||
* Copyright 2002 Andriy Palamarchuk
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define UNICODE
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
#include <commdlg.h>
|
||||
|
||||
#include "main.h"
|
||||
#include "license.h"
|
||||
#include "dialog.h"
|
||||
|
||||
static const WCHAR helpfileW[] = { 'n','o','t','e','p','a','d','.','h','l','p',0 };
|
||||
|
||||
static INT_PTR WINAPI DIALOG_PAGESETUP_DlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
VOID ShowLastError(void)
|
||||
{
|
||||
DWORD error = GetLastError();
|
||||
if (error != NO_ERROR)
|
||||
{
|
||||
LPWSTR lpMsgBuf;
|
||||
WCHAR szTitle[MAX_STRING_LEN];
|
||||
|
||||
LoadString(Globals.hInstance, STRING_ERROR, szTitle, SIZEOF(szTitle));
|
||||
FormatMessage(
|
||||
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
|
||||
NULL, error, 0,
|
||||
(LPTSTR) &lpMsgBuf, 0, NULL);
|
||||
MessageBox(NULL, lpMsgBuf, szTitle, MB_OK | MB_ICONERROR);
|
||||
LocalFree(lpMsgBuf);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the caption of the main window according to Globals.szFileTitle:
|
||||
* Notepad - (untitled) if no file is open
|
||||
* Notepad - [filename] if a file is given
|
||||
*/
|
||||
static void UpdateWindowCaption(void)
|
||||
{
|
||||
WCHAR szCaption[MAX_STRING_LEN];
|
||||
WCHAR szUntitled[MAX_STRING_LEN];
|
||||
|
||||
LoadString(Globals.hInstance, STRING_NOTEPAD, szCaption, SIZEOF(szCaption));
|
||||
|
||||
if (Globals.szFileTitle[0] != '\0') {
|
||||
static const WCHAR bracket_lW[] = { ' ','-',' ','[',0 };
|
||||
static const WCHAR bracket_rW[] = { ']',0 };
|
||||
lstrcat(szCaption, bracket_lW);
|
||||
lstrcat(szCaption, Globals.szFileTitle);
|
||||
lstrcat(szCaption, bracket_rW);
|
||||
}
|
||||
else
|
||||
{
|
||||
static const WCHAR hyphenW[] = { ' ','-',' ',0 };
|
||||
LoadString(Globals.hInstance, STRING_UNTITLED, szUntitled, SIZEOF(szUntitled));
|
||||
lstrcat(szCaption, hyphenW);
|
||||
lstrcat(szCaption, szUntitled);
|
||||
}
|
||||
|
||||
SetWindowText(Globals.hMainWnd, szCaption);
|
||||
}
|
||||
|
||||
static void AlertFileNotFound(LPCWSTR szFileName)
|
||||
{
|
||||
WCHAR szMessage[MAX_STRING_LEN];
|
||||
WCHAR szResource[MAX_STRING_LEN];
|
||||
|
||||
/* Load and format szMessage */
|
||||
LoadString(Globals.hInstance, STRING_NOTFOUND, szResource, SIZEOF(szResource));
|
||||
wsprintf(szMessage, szResource, szFileName);
|
||||
|
||||
/* Load szCaption */
|
||||
LoadString(Globals.hInstance, STRING_ERROR, szResource, SIZEOF(szResource));
|
||||
|
||||
/* Display Modal Dialog */
|
||||
MessageBox(Globals.hMainWnd, szMessage, szResource, MB_ICONEXCLAMATION);
|
||||
}
|
||||
|
||||
static int AlertFileNotSaved(LPCWSTR szFileName)
|
||||
{
|
||||
WCHAR szMessage[MAX_STRING_LEN];
|
||||
WCHAR szResource[MAX_STRING_LEN];
|
||||
WCHAR szUntitled[MAX_STRING_LEN];
|
||||
|
||||
LoadString(Globals.hInstance, STRING_UNTITLED, szUntitled, SIZEOF(szUntitled));
|
||||
|
||||
/* Load and format Message */
|
||||
LoadString(Globals.hInstance, STRING_NOTSAVED, szResource, SIZEOF(szResource));
|
||||
wsprintf(szMessage, szResource, szFileName[0] ? szFileName : szUntitled);
|
||||
|
||||
/* Load Caption */
|
||||
LoadString(Globals.hInstance, STRING_ERROR, szResource, SIZEOF(szResource));
|
||||
|
||||
/* Display modal */
|
||||
return MessageBox(Globals.hMainWnd, szMessage, szResource, MB_ICONEXCLAMATION|MB_YESNOCANCEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns:
|
||||
* TRUE - if file exists
|
||||
* FALSE - if file does not exist
|
||||
*/
|
||||
BOOL FileExists(LPCWSTR szFilename)
|
||||
{
|
||||
WIN32_FIND_DATA entry;
|
||||
HANDLE hFile;
|
||||
|
||||
hFile = FindFirstFile(szFilename, &entry);
|
||||
FindClose(hFile);
|
||||
|
||||
return (hFile != INVALID_HANDLE_VALUE);
|
||||
}
|
||||
|
||||
|
||||
static VOID DoSaveFile(VOID)
|
||||
{
|
||||
HANDLE hFile;
|
||||
DWORD dwNumWrite;
|
||||
LPSTR pTemp;
|
||||
DWORD size;
|
||||
|
||||
hFile = CreateFile(Globals.szFileName, GENERIC_WRITE, FILE_SHARE_WRITE,
|
||||
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if(hFile == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
ShowLastError();
|
||||
return;
|
||||
}
|
||||
|
||||
size = GetWindowTextLengthA(Globals.hEdit) + 1;
|
||||
pTemp = HeapAlloc(GetProcessHeap(), 0, size);
|
||||
if (!pTemp)
|
||||
{
|
||||
CloseHandle(hFile);
|
||||
ShowLastError();
|
||||
return;
|
||||
}
|
||||
size = GetWindowTextA(Globals.hEdit, pTemp, size);
|
||||
|
||||
if (!WriteFile(hFile, pTemp, size, &dwNumWrite, NULL))
|
||||
ShowLastError();
|
||||
else
|
||||
SendMessage(Globals.hEdit, EM_SETMODIFY, FALSE, 0);
|
||||
|
||||
CloseHandle(hFile);
|
||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns:
|
||||
* TRUE - User agreed to close (both save/don't save)
|
||||
* FALSE - User cancelled close by selecting "Cancel"
|
||||
*/
|
||||
BOOL DoCloseFile(void)
|
||||
{
|
||||
int nResult;
|
||||
static const WCHAR empty_strW[] = { 0 };
|
||||
|
||||
if (SendMessage(Globals.hEdit, EM_GETMODIFY, 0, 0))
|
||||
{
|
||||
/* prompt user to save changes */
|
||||
nResult = AlertFileNotSaved(Globals.szFileName);
|
||||
switch (nResult) {
|
||||
case IDYES: DIALOG_FileSave();
|
||||
break;
|
||||
|
||||
case IDNO: break;
|
||||
|
||||
case IDCANCEL: return(FALSE);
|
||||
break;
|
||||
|
||||
default: return(FALSE);
|
||||
break;
|
||||
} /* switch */
|
||||
} /* if */
|
||||
|
||||
SetFileName(empty_strW);
|
||||
|
||||
UpdateWindowCaption();
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
|
||||
void DoOpenFile(LPCWSTR szFileName)
|
||||
{
|
||||
HANDLE hFile;
|
||||
LPSTR pTemp;
|
||||
DWORD size;
|
||||
DWORD dwNumRead;
|
||||
|
||||
/* Close any files and prompt to save changes */
|
||||
if (!DoCloseFile())
|
||||
return;
|
||||
|
||||
hFile = CreateFile(szFileName, GENERIC_READ, FILE_SHARE_READ, NULL,
|
||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if(hFile == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
ShowLastError();
|
||||
return;
|
||||
}
|
||||
|
||||
size = GetFileSize(hFile, NULL);
|
||||
if (size == INVALID_FILE_SIZE)
|
||||
{
|
||||
CloseHandle(hFile);
|
||||
ShowLastError();
|
||||
return;
|
||||
}
|
||||
size++;
|
||||
|
||||
pTemp = HeapAlloc(GetProcessHeap(), 0, size);
|
||||
if (!pTemp)
|
||||
{
|
||||
CloseHandle(hFile);
|
||||
ShowLastError();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ReadFile(hFile, pTemp, size, &dwNumRead, NULL))
|
||||
{
|
||||
CloseHandle(hFile);
|
||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||
ShowLastError();
|
||||
return;
|
||||
}
|
||||
|
||||
CloseHandle(hFile);
|
||||
pTemp[dwNumRead] = 0;
|
||||
|
||||
if (IsTextUnicode(pTemp, dwNumRead, NULL))
|
||||
{
|
||||
LPWSTR p = (LPWSTR)pTemp;
|
||||
/* We need to strip BOM Unicode character, SetWindowTextW won't do it for us. */
|
||||
if (*p == 0xFEFF || *p == 0xFFFE) p++;
|
||||
SetWindowTextW(Globals.hEdit, p);
|
||||
}
|
||||
else
|
||||
SetWindowTextA(Globals.hEdit, pTemp);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||
|
||||
SendMessage(Globals.hEdit, EM_SETMODIFY, FALSE, 0);
|
||||
SendMessage(Globals.hEdit, EM_EMPTYUNDOBUFFER, 0, 0);
|
||||
SetFocus(Globals.hEdit);
|
||||
|
||||
SetFileName(szFileName);
|
||||
UpdateWindowCaption();
|
||||
}
|
||||
|
||||
VOID DIALOG_FileNew(VOID)
|
||||
{
|
||||
static const WCHAR empty_strW[] = { 0 };
|
||||
|
||||
/* Close any files and promt to save changes */
|
||||
if (DoCloseFile()) {
|
||||
SetWindowText(Globals.hEdit, empty_strW);
|
||||
SendMessage(Globals.hEdit, EM_EMPTYUNDOBUFFER, 0, 0);
|
||||
SetFocus(Globals.hEdit);
|
||||
}
|
||||
}
|
||||
|
||||
VOID DIALOG_FileOpen(VOID)
|
||||
{
|
||||
OPENFILENAME openfilename;
|
||||
WCHAR szPath[MAX_PATH];
|
||||
WCHAR szDir[MAX_PATH];
|
||||
static const WCHAR szDefaultExt[] = { 't','x','t',0 };
|
||||
static const WCHAR txt_files[] = { '*','.','t','x','t',0 };
|
||||
|
||||
ZeroMemory(&openfilename, sizeof(openfilename));
|
||||
|
||||
GetCurrentDirectory(SIZEOF(szDir), szDir);
|
||||
lstrcpy(szPath, txt_files);
|
||||
|
||||
openfilename.lStructSize = sizeof(openfilename);
|
||||
openfilename.hwndOwner = Globals.hMainWnd;
|
||||
openfilename.hInstance = Globals.hInstance;
|
||||
openfilename.lpstrFilter = Globals.szFilter;
|
||||
openfilename.lpstrFile = szPath;
|
||||
openfilename.nMaxFile = SIZEOF(szPath);
|
||||
openfilename.lpstrInitialDir = szDir;
|
||||
openfilename.Flags = OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST |
|
||||
OFN_HIDEREADONLY;
|
||||
openfilename.lpstrDefExt = szDefaultExt;
|
||||
|
||||
|
||||
if (GetOpenFileName(&openfilename)) {
|
||||
if (FileExists(openfilename.lpstrFile))
|
||||
DoOpenFile(openfilename.lpstrFile);
|
||||
else
|
||||
AlertFileNotFound(openfilename.lpstrFile);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
VOID DIALOG_FileSave(VOID)
|
||||
{
|
||||
if (Globals.szFileName[0] == '\0')
|
||||
DIALOG_FileSaveAs();
|
||||
else
|
||||
DoSaveFile();
|
||||
}
|
||||
|
||||
VOID DIALOG_FileSaveAs(VOID)
|
||||
{
|
||||
OPENFILENAME saveas;
|
||||
WCHAR szPath[MAX_PATH];
|
||||
WCHAR szDir[MAX_PATH];
|
||||
static const WCHAR szDefaultExt[] = { 't','x','t',0 };
|
||||
static const WCHAR txt_files[] = { '*','.','t','x','t',0 };
|
||||
|
||||
ZeroMemory(&saveas, sizeof(saveas));
|
||||
|
||||
GetCurrentDirectory(SIZEOF(szDir), szDir);
|
||||
lstrcpy(szPath, txt_files);
|
||||
|
||||
saveas.lStructSize = sizeof(OPENFILENAME);
|
||||
saveas.hwndOwner = Globals.hMainWnd;
|
||||
saveas.hInstance = Globals.hInstance;
|
||||
saveas.lpstrFilter = Globals.szFilter;
|
||||
saveas.lpstrFile = szPath;
|
||||
saveas.nMaxFile = SIZEOF(szPath);
|
||||
saveas.lpstrInitialDir = szDir;
|
||||
saveas.Flags = OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT |
|
||||
OFN_HIDEREADONLY;
|
||||
saveas.lpstrDefExt = szDefaultExt;
|
||||
|
||||
if (GetSaveFileName(&saveas)) {
|
||||
SetFileName(szPath);
|
||||
UpdateWindowCaption();
|
||||
DoSaveFile();
|
||||
}
|
||||
}
|
||||
|
||||
VOID DIALOG_FilePrint(VOID)
|
||||
{
|
||||
DOCINFO di;
|
||||
PRINTDLG printer;
|
||||
SIZE szMetric;
|
||||
int cWidthPels, cHeightPels, border;
|
||||
int xLeft, yTop, pagecount, dopage, copycount;
|
||||
unsigned int i;
|
||||
LOGFONT hdrFont;
|
||||
HFONT font, old_font=0;
|
||||
DWORD size;
|
||||
LPWSTR pTemp;
|
||||
static const WCHAR times_new_romanW[] = { 'T','i','m','e','s',' ','N','e','w',' ','R','o','m','a','n',0 };
|
||||
|
||||
/* Get a small font and print some header info on each page */
|
||||
hdrFont.lfHeight = 100;
|
||||
hdrFont.lfWidth = 0;
|
||||
hdrFont.lfEscapement = 0;
|
||||
hdrFont.lfOrientation = 0;
|
||||
hdrFont.lfWeight = FW_BOLD;
|
||||
hdrFont.lfItalic = 0;
|
||||
hdrFont.lfUnderline = 0;
|
||||
hdrFont.lfStrikeOut = 0;
|
||||
hdrFont.lfCharSet = ANSI_CHARSET;
|
||||
hdrFont.lfOutPrecision = OUT_DEFAULT_PRECIS;
|
||||
hdrFont.lfClipPrecision = CLIP_DEFAULT_PRECIS;
|
||||
hdrFont.lfQuality = PROOF_QUALITY;
|
||||
hdrFont.lfPitchAndFamily = VARIABLE_PITCH | FF_ROMAN;
|
||||
lstrcpy(hdrFont.lfFaceName, times_new_romanW);
|
||||
|
||||
font = CreateFontIndirect(&hdrFont);
|
||||
|
||||
/* Get Current Settings */
|
||||
ZeroMemory(&printer, sizeof(printer));
|
||||
printer.lStructSize = sizeof(printer);
|
||||
printer.hwndOwner = Globals.hMainWnd;
|
||||
printer.hInstance = Globals.hInstance;
|
||||
|
||||
/* Set some default flags */
|
||||
printer.Flags = PD_RETURNDC;
|
||||
printer.nFromPage = 0;
|
||||
printer.nMinPage = 1;
|
||||
/* we really need to calculate number of pages to set nMaxPage and nToPage */
|
||||
printer.nToPage = 0;
|
||||
printer.nMaxPage = -1;
|
||||
|
||||
/* Let commdlg manage copy settings */
|
||||
printer.nCopies = (WORD)PD_USEDEVMODECOPIES;
|
||||
|
||||
if (!PrintDlg(&printer)) return;
|
||||
|
||||
assert(printer.hDC != 0);
|
||||
|
||||
/* initialize DOCINFO */
|
||||
di.cbSize = sizeof(DOCINFO);
|
||||
di.lpszDocName = Globals.szFileTitle;
|
||||
di.lpszOutput = NULL;
|
||||
di.lpszDatatype = NULL;
|
||||
di.fwType = 0;
|
||||
|
||||
if (StartDoc(printer.hDC, &di) <= 0) return;
|
||||
|
||||
/* Get the page dimensions in pixels. */
|
||||
cWidthPels = GetDeviceCaps(printer.hDC, HORZRES);
|
||||
cHeightPels = GetDeviceCaps(printer.hDC, VERTRES);
|
||||
|
||||
/* Get the file text */
|
||||
size = GetWindowTextLength(Globals.hEdit) + 1;
|
||||
pTemp = HeapAlloc(GetProcessHeap(), 0, size * sizeof(WCHAR));
|
||||
if (!pTemp)
|
||||
{
|
||||
ShowLastError();
|
||||
return;
|
||||
}
|
||||
size = GetWindowText(Globals.hEdit, pTemp, size);
|
||||
|
||||
border = 150;
|
||||
for (copycount=1; copycount <= printer.nCopies; copycount++) {
|
||||
i = 0;
|
||||
pagecount = 1;
|
||||
do {
|
||||
static const WCHAR letterM[] = { 'M',0 };
|
||||
|
||||
if (pagecount >= printer.nFromPage &&
|
||||
/* ((printer.Flags & PD_PAGENUMS) == 0 || pagecount <= printer.nToPage))*/
|
||||
pagecount <= printer.nToPage)
|
||||
dopage = 1;
|
||||
else
|
||||
dopage = 0;
|
||||
|
||||
old_font = SelectObject(printer.hDC, font);
|
||||
GetTextExtentPoint32(printer.hDC, letterM, 1, &szMetric);
|
||||
|
||||
if (dopage) {
|
||||
if (StartPage(printer.hDC) <= 0) {
|
||||
static const WCHAR failedW[] = { 'S','t','a','r','t','P','a','g','e',' ','f','a','i','l','e','d',0 };
|
||||
static const WCHAR errorW[] = { 'P','r','i','n','t',' ','E','r','r','o','r',0 };
|
||||
MessageBox(Globals.hMainWnd, failedW, errorW, MB_ICONEXCLAMATION);
|
||||
return;
|
||||
}
|
||||
/* Write a rectangle and header at the top of each page */
|
||||
Rectangle(printer.hDC, border, border, cWidthPels-border, border+szMetric.cy*2);
|
||||
/* I don't know what's up with this TextOut command. This comes out
|
||||
kind of mangled.
|
||||
*/
|
||||
TextOut(printer.hDC, border*2, border+szMetric.cy/2, Globals.szFileTitle, lstrlen(Globals.szFileTitle));
|
||||
}
|
||||
|
||||
/* The starting point for the main text */
|
||||
xLeft = border*2;
|
||||
yTop = border+szMetric.cy*4;
|
||||
|
||||
SelectObject(printer.hDC, old_font);
|
||||
GetTextExtentPoint32(printer.hDC, letterM, 1, &szMetric);
|
||||
|
||||
/* Since outputting strings is giving me problems, output the main
|
||||
text one character at a time.
|
||||
*/
|
||||
do {
|
||||
if (pTemp[i] == '\n') {
|
||||
xLeft = border*2;
|
||||
yTop += szMetric.cy;
|
||||
}
|
||||
else if (pTemp[i] != '\r') {
|
||||
if (dopage)
|
||||
TextOut(printer.hDC, xLeft, yTop, &pTemp[i], 1);
|
||||
xLeft += szMetric.cx;
|
||||
}
|
||||
} while (i++<size && yTop<(cHeightPels-border*2));
|
||||
|
||||
if (dopage)
|
||||
EndPage(printer.hDC);
|
||||
pagecount++;
|
||||
} while (i<size);
|
||||
}
|
||||
|
||||
EndDoc(printer.hDC);
|
||||
DeleteDC(printer.hDC);
|
||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||
}
|
||||
|
||||
VOID DIALOG_FilePrinterSetup(VOID)
|
||||
{
|
||||
PRINTDLG printer;
|
||||
|
||||
ZeroMemory(&printer, sizeof(printer));
|
||||
printer.lStructSize = sizeof(printer);
|
||||
printer.hwndOwner = Globals.hMainWnd;
|
||||
printer.hInstance = Globals.hInstance;
|
||||
printer.Flags = PD_PRINTSETUP;
|
||||
printer.nCopies = 1;
|
||||
|
||||
PrintDlg(&printer);
|
||||
}
|
||||
|
||||
VOID DIALOG_FileExit(VOID)
|
||||
{
|
||||
PostMessage(Globals.hMainWnd, WM_CLOSE, 0, 0l);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditUndo(VOID)
|
||||
{
|
||||
SendMessage(Globals.hEdit, EM_UNDO, 0, 0);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditCut(VOID)
|
||||
{
|
||||
SendMessage(Globals.hEdit, WM_CUT, 0, 0);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditCopy(VOID)
|
||||
{
|
||||
SendMessage(Globals.hEdit, WM_COPY, 0, 0);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditPaste(VOID)
|
||||
{
|
||||
SendMessage(Globals.hEdit, WM_PASTE, 0, 0);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditDelete(VOID)
|
||||
{
|
||||
SendMessage(Globals.hEdit, WM_CLEAR, 0, 0);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditSelectAll(VOID)
|
||||
{
|
||||
SendMessage(Globals.hEdit, EM_SETSEL, 0, (LPARAM)-1);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditTimeDate(VOID)
|
||||
{
|
||||
SYSTEMTIME st;
|
||||
WCHAR szDate[MAX_STRING_LEN];
|
||||
static const WCHAR spaceW[] = { ' ',0 };
|
||||
|
||||
GetLocalTime(&st);
|
||||
|
||||
GetTimeFormat(LOCALE_USER_DEFAULT, 0, &st, NULL, szDate, MAX_STRING_LEN);
|
||||
SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)szDate);
|
||||
|
||||
SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)spaceW);
|
||||
|
||||
GetDateFormat(LOCALE_USER_DEFAULT, DATE_LONGDATE, &st, NULL, szDate, MAX_STRING_LEN);
|
||||
SendMessage(Globals.hEdit, EM_REPLACESEL, TRUE, (LPARAM)szDate);
|
||||
}
|
||||
|
||||
VOID DIALOG_EditWrap(VOID)
|
||||
{
|
||||
Globals.bWrapLongLines = !Globals.bWrapLongLines;
|
||||
CheckMenuItem(GetMenu(Globals.hMainWnd), CMD_WRAP,
|
||||
MF_BYCOMMAND | (Globals.bWrapLongLines ? MF_CHECKED : MF_UNCHECKED));
|
||||
}
|
||||
|
||||
VOID DIALOG_SelectFont(VOID)
|
||||
{
|
||||
CHOOSEFONT cf;
|
||||
LOGFONT lf=Globals.lfFont;
|
||||
|
||||
ZeroMemory( &cf, sizeof(cf) );
|
||||
cf.lStructSize=sizeof(cf);
|
||||
cf.hwndOwner=Globals.hMainWnd;
|
||||
cf.lpLogFont=&lf;
|
||||
cf.Flags=CF_SCREENFONTS;
|
||||
|
||||
if( ChooseFont(&cf) )
|
||||
{
|
||||
HFONT currfont=Globals.hFont;
|
||||
|
||||
Globals.hFont=CreateFontIndirect( &lf );
|
||||
Globals.lfFont=lf;
|
||||
SendMessage( Globals.hEdit, WM_SETFONT, (WPARAM)Globals.hFont, (LPARAM)TRUE );
|
||||
if( currfont!=NULL )
|
||||
DeleteObject( currfont );
|
||||
}
|
||||
}
|
||||
|
||||
VOID DIALOG_Search(VOID)
|
||||
{
|
||||
ZeroMemory(&Globals.find, sizeof(Globals.find));
|
||||
Globals.find.lStructSize = sizeof(Globals.find);
|
||||
Globals.find.hwndOwner = Globals.hMainWnd;
|
||||
Globals.find.hInstance = Globals.hInstance;
|
||||
Globals.find.lpstrFindWhat = Globals.szFindText;
|
||||
Globals.find.wFindWhatLen = SIZEOF(Globals.szFindText);
|
||||
Globals.find.Flags = FR_DOWN;
|
||||
|
||||
/* We only need to create the modal FindReplace dialog which will */
|
||||
/* notify us of incoming events using hMainWnd Window Messages */
|
||||
|
||||
Globals.hFindReplaceDlg = FindText(&Globals.find);
|
||||
assert(Globals.hFindReplaceDlg !=0);
|
||||
}
|
||||
|
||||
VOID DIALOG_SearchNext(VOID)
|
||||
{
|
||||
/* FIXME: Search Next */
|
||||
DIALOG_Search();
|
||||
}
|
||||
|
||||
VOID DIALOG_HelpContents(VOID)
|
||||
{
|
||||
WinHelp(Globals.hMainWnd, helpfileW, HELP_INDEX, 0);
|
||||
}
|
||||
|
||||
VOID DIALOG_HelpSearch(VOID)
|
||||
{
|
||||
/* Search Help */
|
||||
}
|
||||
|
||||
VOID DIALOG_HelpHelp(VOID)
|
||||
{
|
||||
WinHelp(Globals.hMainWnd, helpfileW, HELP_HELPONHELP, 0);
|
||||
}
|
||||
|
||||
VOID DIALOG_HelpLicense(VOID)
|
||||
{
|
||||
WineLicense(Globals.hMainWnd);
|
||||
}
|
||||
|
||||
VOID DIALOG_HelpNoWarranty(VOID)
|
||||
{
|
||||
WineWarranty(Globals.hMainWnd);
|
||||
}
|
||||
|
||||
VOID DIALOG_HelpAboutWine(VOID)
|
||||
{
|
||||
static const WCHAR notepadW[] = { 'N','o','t','e','p','a','d','\n',0 };
|
||||
WCHAR szNotepad[MAX_STRING_LEN];
|
||||
|
||||
LoadString(Globals.hInstance, STRING_NOTEPAD, szNotepad, SIZEOF(szNotepad));
|
||||
ShellAbout(Globals.hMainWnd, szNotepad, notepadW, 0);
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
*
|
||||
* DIALOG_FilePageSetup
|
||||
*/
|
||||
VOID DIALOG_FilePageSetup(void)
|
||||
{
|
||||
DialogBox(Globals.hInstance, MAKEINTRESOURCE(DIALOG_PAGESETUP),
|
||||
Globals.hMainWnd, DIALOG_PAGESETUP_DlgProc);
|
||||
}
|
||||
|
||||
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
*
|
||||
* DIALOG_PAGESETUP_DlgProc
|
||||
*/
|
||||
|
||||
static INT_PTR WINAPI DIALOG_PAGESETUP_DlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
||||
switch (msg)
|
||||
{
|
||||
case WM_COMMAND:
|
||||
switch (wParam)
|
||||
{
|
||||
case IDOK:
|
||||
/* save user input and close dialog */
|
||||
GetDlgItemText(hDlg, 0x141, Globals.szHeader, SIZEOF(Globals.szHeader));
|
||||
GetDlgItemText(hDlg, 0x143, Globals.szFooter, SIZEOF(Globals.szFooter));
|
||||
GetDlgItemText(hDlg, 0x14A, Globals.szMarginTop, SIZEOF(Globals.szMarginTop));
|
||||
GetDlgItemText(hDlg, 0x150, Globals.szMarginBottom, SIZEOF(Globals.szMarginBottom));
|
||||
GetDlgItemText(hDlg, 0x147, Globals.szMarginLeft, SIZEOF(Globals.szMarginLeft));
|
||||
GetDlgItemText(hDlg, 0x14D, Globals.szMarginRight, SIZEOF(Globals.szMarginRight));
|
||||
EndDialog(hDlg, IDOK);
|
||||
return TRUE;
|
||||
|
||||
case IDCANCEL:
|
||||
/* discard user input and close dialog */
|
||||
EndDialog(hDlg, IDCANCEL);
|
||||
return TRUE;
|
||||
|
||||
case IDHELP:
|
||||
{
|
||||
/* FIXME: Bring this to work */
|
||||
static const WCHAR sorryW[] = { 'S','o','r','r','y',',',' ','n','o',' ','h','e','l','p',' ','a','v','a','i','l','a','b','l','e',0 };
|
||||
static const WCHAR helpW[] = { 'H','e','l','p',0 };
|
||||
MessageBox(Globals.hMainWnd, sorryW, helpW, MB_ICONEXCLAMATION);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_INITDIALOG:
|
||||
/* fetch last user input prior to display dialog */
|
||||
SetDlgItemText(hDlg, 0x141, Globals.szHeader);
|
||||
SetDlgItemText(hDlg, 0x143, Globals.szFooter);
|
||||
SetDlgItemText(hDlg, 0x14A, Globals.szMarginTop);
|
||||
SetDlgItemText(hDlg, 0x150, Globals.szMarginBottom);
|
||||
SetDlgItemText(hDlg, 0x147, Globals.szMarginLeft);
|
||||
SetDlgItemText(hDlg, 0x14D, Globals.szMarginRight);
|
||||
break;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
57
reactos/subsys/system/notepad/dialog.h
Normal file
57
reactos/subsys/system/notepad/dialog.h
Normal file
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
* Notepad (dialog.h)
|
||||
*
|
||||
* Copyright 1998 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
VOID DIALOG_FileNew(VOID);
|
||||
VOID DIALOG_FileOpen(VOID);
|
||||
VOID DIALOG_FileSave(VOID);
|
||||
VOID DIALOG_FileSaveAs(VOID);
|
||||
VOID DIALOG_FilePrint(VOID);
|
||||
VOID DIALOG_FilePageSetup(VOID);
|
||||
VOID DIALOG_FilePrinterSetup(VOID);
|
||||
VOID DIALOG_FileExit(VOID);
|
||||
|
||||
VOID DIALOG_EditUndo(VOID);
|
||||
VOID DIALOG_EditCut(VOID);
|
||||
VOID DIALOG_EditCopy(VOID);
|
||||
VOID DIALOG_EditPaste(VOID);
|
||||
VOID DIALOG_EditDelete(VOID);
|
||||
VOID DIALOG_EditSelectAll(VOID);
|
||||
VOID DIALOG_EditTimeDate(VOID);
|
||||
VOID DIALOG_EditWrap(VOID);
|
||||
|
||||
VOID DIALOG_Search(VOID);
|
||||
VOID DIALOG_SearchNext(VOID);
|
||||
|
||||
VOID DIALOG_SelectFont(VOID);
|
||||
|
||||
VOID DIALOG_HelpContents(VOID);
|
||||
VOID DIALOG_HelpSearch(VOID);
|
||||
VOID DIALOG_HelpHelp(VOID);
|
||||
VOID DIALOG_HelpLicense(VOID);
|
||||
VOID DIALOG_HelpNoWarranty(VOID);
|
||||
VOID DIALOG_HelpAboutWine(VOID);
|
||||
|
||||
VOID DIALOG_TimeDate(VOID);
|
||||
|
||||
/* utility functions */
|
||||
VOID ShowLastError();
|
||||
BOOL FileExists(LPCWSTR szFilename);
|
||||
BOOL DoCloseFile(void);
|
||||
void DoOpenFile(LPCWSTR szFileName);
|
40
reactos/subsys/system/notepad/license.c
Normal file
40
reactos/subsys/system/notepad/license.c
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* Notepad (license.h)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "license.h"
|
||||
|
||||
VOID WineLicense(HWND Wnd)
|
||||
{
|
||||
/* FIXME: should load strings from resources */
|
||||
LICENSE *License = &WineLicense_En;
|
||||
MessageBox(Wnd, License->License, License->LicenseCaption,
|
||||
MB_ICONINFORMATION | MB_OK);
|
||||
}
|
||||
|
||||
|
||||
VOID WineWarranty(HWND Wnd)
|
||||
{
|
||||
/* FIXME: should load strings from resources */
|
||||
LICENSE *License = &WineLicense_En;
|
||||
MessageBox(Wnd, License->Warranty, License->WarrantyCaption,
|
||||
MB_ICONEXCLAMATION | MB_OK);
|
||||
}
|
||||
|
52
reactos/subsys/system/notepad/license.h
Normal file
52
reactos/subsys/system/notepad/license.h
Normal file
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* Notepad (license.h)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
VOID WineLicense(HWND hWnd);
|
||||
VOID WineWarranty(HWND hWnd);
|
||||
|
||||
typedef struct
|
||||
{
|
||||
LPCSTR License, LicenseCaption;
|
||||
LPCSTR Warranty, WarrantyCaption;
|
||||
} LICENSE;
|
||||
|
||||
/*
|
||||
extern LICENSE WineLicense_Ca;
|
||||
extern LICENSE WineLicense_Cz;
|
||||
extern LICENSE WineLicense_Da;
|
||||
extern LICENSE WineLicense_De;
|
||||
*/
|
||||
|
||||
extern LICENSE WineLicense_En;
|
||||
|
||||
/*
|
||||
extern LICENSE WineLicense_Eo;
|
||||
extern LICENSE WineLicense_Es;
|
||||
extern LICENSE WineLicense_Fi;
|
||||
extern LICENSE WineLicense_Fr;
|
||||
extern LICENSE WineLicense_Hu;
|
||||
extern LICENSE WineLicense_It;
|
||||
extern LICENSE WineLicense_Ko;
|
||||
extern LICENSE WineLicense_No;
|
||||
extern LICENSE WineLicense_Pl;
|
||||
extern LICENSE WineLicense_Po;
|
||||
extern LICENSE WineLicense_Sw;
|
||||
extern LICENSE WineLicense_Va;
|
||||
*/
|
361
reactos/subsys/system/notepad/main.c
Normal file
361
reactos/subsys/system/notepad/main.c
Normal file
|
@ -0,0 +1,361 @@
|
|||
/*
|
||||
* Notepad
|
||||
*
|
||||
* Copyright 2000 Mike McCormack <Mike_McCormack@looksmart.com.au>
|
||||
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
||||
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
||||
* Copyright 2002 Andriy Palamarchuk
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*
|
||||
*/
|
||||
|
||||
#define UNICODE
|
||||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "main.h"
|
||||
#include "dialog.h"
|
||||
#include "notepad_res.h"
|
||||
|
||||
NOTEPAD_GLOBALS Globals;
|
||||
static ATOM aFINDMSGSTRING;
|
||||
|
||||
/***********************************************************************
|
||||
*
|
||||
* SetFileName
|
||||
*
|
||||
* Sets Global File Name.
|
||||
*/
|
||||
VOID SetFileName(LPCWSTR szFileName)
|
||||
{
|
||||
lstrcpy(Globals.szFileName, szFileName);
|
||||
Globals.szFileTitle[0] = 0;
|
||||
GetFileTitle(szFileName, Globals.szFileTitle, sizeof(Globals.szFileTitle));
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
*
|
||||
* NOTEPAD_MenuCommand
|
||||
*
|
||||
* All handling of main menu events
|
||||
*/
|
||||
static int NOTEPAD_MenuCommand(WPARAM wParam)
|
||||
{
|
||||
switch (wParam)
|
||||
{
|
||||
case CMD_NEW: DIALOG_FileNew(); break;
|
||||
case CMD_OPEN: DIALOG_FileOpen(); break;
|
||||
case CMD_SAVE: DIALOG_FileSave(); break;
|
||||
case CMD_SAVE_AS: DIALOG_FileSaveAs(); break;
|
||||
case CMD_PRINT: DIALOG_FilePrint(); break;
|
||||
case CMD_PAGE_SETUP: DIALOG_FilePageSetup(); break;
|
||||
case CMD_PRINTER_SETUP: DIALOG_FilePrinterSetup();break;
|
||||
case CMD_EXIT: DIALOG_FileExit(); break;
|
||||
|
||||
case CMD_UNDO: DIALOG_EditUndo(); break;
|
||||
case CMD_CUT: DIALOG_EditCut(); break;
|
||||
case CMD_COPY: DIALOG_EditCopy(); break;
|
||||
case CMD_PASTE: DIALOG_EditPaste(); break;
|
||||
case CMD_DELETE: DIALOG_EditDelete(); break;
|
||||
case CMD_SELECT_ALL: DIALOG_EditSelectAll(); break;
|
||||
case CMD_TIME_DATE: DIALOG_EditTimeDate();break;
|
||||
|
||||
case CMD_SEARCH: DIALOG_Search(); break;
|
||||
case CMD_SEARCH_NEXT: DIALOG_SearchNext(); break;
|
||||
|
||||
case CMD_WRAP: DIALOG_EditWrap(); break;
|
||||
case CMD_FONT: DIALOG_SelectFont(); break;
|
||||
|
||||
case CMD_HELP_CONTENTS: DIALOG_HelpContents(); break;
|
||||
case CMD_HELP_SEARCH: DIALOG_HelpSearch(); break;
|
||||
case CMD_HELP_ON_HELP: DIALOG_HelpHelp(); break;
|
||||
case CMD_LICENSE: DIALOG_HelpLicense(); break;
|
||||
case CMD_NO_WARRANTY: DIALOG_HelpNoWarranty(); break;
|
||||
case CMD_ABOUT_WINE: DIALOG_HelpAboutWine(); break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* Data Initialization
|
||||
*/
|
||||
static VOID NOTEPAD_InitData(VOID)
|
||||
{
|
||||
LPWSTR p = Globals.szFilter;
|
||||
static const WCHAR txt_files[] = { '*','.','t','x','t',0 };
|
||||
static const WCHAR all_files[] = { '*','.','*',0 };
|
||||
|
||||
LoadString(Globals.hInstance, STRING_TEXT_FILES_TXT, p, MAX_STRING_LEN);
|
||||
p += lstrlen(p) + 1;
|
||||
lstrcpy(p, txt_files);
|
||||
p += lstrlen(p) + 1;
|
||||
LoadString(Globals.hInstance, STRING_ALL_FILES, p, MAX_STRING_LEN);
|
||||
p += lstrlen(p) + 1;
|
||||
lstrcpy(p, all_files);
|
||||
p += lstrlen(p) + 1;
|
||||
*p = '\0';
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
*
|
||||
* NOTEPAD_WndProc
|
||||
*/
|
||||
static LRESULT WINAPI NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam,
|
||||
LPARAM lParam)
|
||||
{
|
||||
switch (msg) {
|
||||
|
||||
case WM_CREATE:
|
||||
{
|
||||
static const WCHAR editW[] = { 'e','d','i','t',0 };
|
||||
RECT rc;
|
||||
GetClientRect(hWnd, &rc);
|
||||
Globals.hEdit = CreateWindowEx(WS_EX_CLIENTEDGE, editW, NULL,
|
||||
WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL |
|
||||
ES_AUTOVSCROLL | ES_MULTILINE,
|
||||
0, 0, rc.right, rc.bottom, hWnd,
|
||||
NULL, Globals.hInstance, NULL);
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_COMMAND:
|
||||
NOTEPAD_MenuCommand(LOWORD(wParam));
|
||||
break;
|
||||
|
||||
case WM_DESTROYCLIPBOARD:
|
||||
/*MessageBox(Globals.hMainWnd, "Empty clipboard", "Debug", MB_ICONEXCLAMATION);*/
|
||||
break;
|
||||
|
||||
case WM_CLOSE:
|
||||
if (DoCloseFile()) {
|
||||
DestroyWindow(hWnd);
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_QUERYENDSESSION:
|
||||
if (DoCloseFile()) {
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_DESTROY:
|
||||
PostQuitMessage(0);
|
||||
break;
|
||||
|
||||
case WM_SIZE:
|
||||
SetWindowPos(Globals.hEdit, NULL, 0, 0, LOWORD(lParam), HIWORD(lParam),
|
||||
SWP_NOOWNERZORDER | SWP_NOZORDER);
|
||||
break;
|
||||
|
||||
case WM_SETFOCUS:
|
||||
SetFocus(Globals.hEdit);
|
||||
break;
|
||||
|
||||
case WM_DROPFILES:
|
||||
{
|
||||
WCHAR szFileName[MAX_PATH];
|
||||
HANDLE hDrop = (HANDLE) wParam;
|
||||
|
||||
DragQueryFile(hDrop, 0, szFileName, SIZEOF(szFileName));
|
||||
DragFinish(hDrop);
|
||||
DoOpenFile(szFileName);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
return DefWindowProc(hWnd, msg, wParam, lParam);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int AlertFileDoesNotExist(LPCWSTR szFileName)
|
||||
{
|
||||
int nResult;
|
||||
WCHAR szMessage[MAX_STRING_LEN];
|
||||
WCHAR szResource[MAX_STRING_LEN];
|
||||
|
||||
LoadString(Globals.hInstance, STRING_DOESNOTEXIST, szResource, SIZEOF(szResource));
|
||||
wsprintf(szMessage, szResource, szFileName);
|
||||
|
||||
LoadString(Globals.hInstance, STRING_ERROR, szResource, SIZEOF(szResource));
|
||||
|
||||
nResult = MessageBox(Globals.hMainWnd, szMessage, szResource,
|
||||
MB_ICONEXCLAMATION | MB_YESNO);
|
||||
|
||||
return(nResult);
|
||||
}
|
||||
|
||||
static void HandleCommandLine(LPWSTR cmdline)
|
||||
{
|
||||
WCHAR delimiter;
|
||||
int opt_print=0;
|
||||
|
||||
/* skip white space */
|
||||
while (*cmdline == ' ') cmdline++;
|
||||
|
||||
/* skip executable name */
|
||||
delimiter = (*cmdline == '"' ? '"' : ' ');
|
||||
|
||||
do
|
||||
{
|
||||
cmdline++;
|
||||
}
|
||||
while (*cmdline && *cmdline != delimiter);
|
||||
if (*cmdline == delimiter) cmdline++;
|
||||
|
||||
while (*cmdline == ' ' || *cmdline == '-' || *cmdline == '/')
|
||||
{
|
||||
WCHAR option;
|
||||
|
||||
if (*cmdline++ == ' ') continue;
|
||||
|
||||
option = *cmdline;
|
||||
if (option) cmdline++;
|
||||
while (*cmdline == ' ') cmdline++;
|
||||
|
||||
switch(option)
|
||||
{
|
||||
case 'p':
|
||||
case 'P':
|
||||
opt_print=1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (*cmdline)
|
||||
{
|
||||
/* file name is passed in the command line */
|
||||
LPCWSTR file_name;
|
||||
BOOL file_exists;
|
||||
WCHAR buf[MAX_PATH];
|
||||
|
||||
if (cmdline[0] == '"')
|
||||
{
|
||||
cmdline++;
|
||||
cmdline[lstrlen(cmdline) - 1] = 0;
|
||||
}
|
||||
|
||||
if (FileExists(cmdline))
|
||||
{
|
||||
file_exists = TRUE;
|
||||
file_name = cmdline;
|
||||
}
|
||||
else
|
||||
{
|
||||
static const WCHAR txtW[] = { '.','t','x','t',0 };
|
||||
|
||||
/* try to find file with ".txt" extension */
|
||||
if (!lstrcmp(txtW, cmdline + lstrlen(cmdline) - lstrlen(txtW)))
|
||||
{
|
||||
file_exists = FALSE;
|
||||
file_name = cmdline;
|
||||
}
|
||||
else
|
||||
{
|
||||
lstrcpyn(buf, cmdline, MAX_PATH - lstrlen(txtW) - 1);
|
||||
lstrcat(buf, txtW);
|
||||
file_name = buf;
|
||||
file_exists = FileExists(buf);
|
||||
}
|
||||
}
|
||||
|
||||
if (file_exists)
|
||||
{
|
||||
DoOpenFile(file_name);
|
||||
InvalidateRect(Globals.hMainWnd, NULL, FALSE);
|
||||
if (opt_print)
|
||||
DIALOG_FilePrint();
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (AlertFileDoesNotExist(file_name)) {
|
||||
case IDYES:
|
||||
DoOpenFile(file_name);
|
||||
break;
|
||||
|
||||
case IDNO:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
*
|
||||
* WinMain
|
||||
*/
|
||||
int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
{
|
||||
MSG msg;
|
||||
HACCEL hAccel;
|
||||
WNDCLASSEX class;
|
||||
static const WCHAR className[] = {'N','P','C','l','a','s','s',0};
|
||||
static const WCHAR winName[] = {'N','o','t','e','p','a','d',0};
|
||||
|
||||
aFINDMSGSTRING = RegisterWindowMessage(FINDMSGSTRING);
|
||||
|
||||
ZeroMemory(&Globals, sizeof(Globals));
|
||||
Globals.hInstance = hInstance;
|
||||
|
||||
ZeroMemory(&class, sizeof(class));
|
||||
class.cbSize = sizeof(class);
|
||||
class.lpfnWndProc = NOTEPAD_WndProc;
|
||||
class.hInstance = Globals.hInstance;
|
||||
class.hIcon = LoadIcon(0, IDI_APPLICATION);
|
||||
class.hCursor = LoadCursor(0, IDC_ARROW);
|
||||
class.hbrBackground = (HBRUSH)(COLOR_WINDOW);
|
||||
class.lpszMenuName = MAKEINTRESOURCE(MAIN_MENU);
|
||||
class.lpszClassName = className;
|
||||
|
||||
if (!RegisterClassEx(&class)) return FALSE;
|
||||
|
||||
/* Setup windows */
|
||||
|
||||
Globals.hMainWnd =
|
||||
CreateWindow(className, winName, WS_OVERLAPPEDWINDOW,
|
||||
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0,
|
||||
NULL, NULL, Globals.hInstance, NULL);
|
||||
if (!Globals.hMainWnd)
|
||||
{
|
||||
ShowLastError();
|
||||
ExitProcess(1);
|
||||
}
|
||||
|
||||
NOTEPAD_InitData();
|
||||
DIALOG_FileNew();
|
||||
|
||||
ShowWindow(Globals.hMainWnd, show);
|
||||
UpdateWindow(Globals.hMainWnd);
|
||||
DragAcceptFiles(Globals.hMainWnd, TRUE);
|
||||
|
||||
HandleCommandLine(GetCommandLine());
|
||||
|
||||
hAccel = LoadAccelerators( hInstance, MAKEINTRESOURCE(ID_ACCEL) );
|
||||
|
||||
while (GetMessage(&msg, 0, 0, 0))
|
||||
{
|
||||
if (!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg) && !IsDialogMessage(Globals.hFindReplaceDlg, &msg))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
return msg.wParam;
|
||||
}
|
53
reactos/subsys/system/notepad/main.h
Normal file
53
reactos/subsys/system/notepad/main.h
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
* Notepad (notepad.h)
|
||||
*
|
||||
* Copyright 1997,98 Marcel Baur <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
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define SIZEOF(a) sizeof(a)/sizeof((a)[0])
|
||||
|
||||
#include "notepad_res.h"
|
||||
|
||||
#define MAX_STRING_LEN 255
|
||||
|
||||
typedef struct
|
||||
{
|
||||
HANDLE hInstance;
|
||||
HWND hMainWnd;
|
||||
HWND hFindReplaceDlg;
|
||||
HWND hEdit;
|
||||
HFONT hFont; /* Font used by the edit control */
|
||||
LOGFONT lfFont;
|
||||
BOOL bWrapLongLines;
|
||||
WCHAR szFindText[MAX_PATH];
|
||||
WCHAR szFileName[MAX_PATH];
|
||||
WCHAR szFileTitle[MAX_PATH];
|
||||
WCHAR szFilter[2 * MAX_STRING_LEN + 100];
|
||||
WCHAR szMarginTop[MAX_PATH];
|
||||
WCHAR szMarginBottom[MAX_PATH];
|
||||
WCHAR szMarginLeft[MAX_PATH];
|
||||
WCHAR szMarginRight[MAX_PATH];
|
||||
WCHAR szHeader[MAX_PATH];
|
||||
WCHAR szFooter[MAX_PATH];
|
||||
|
||||
FINDREPLACE find;
|
||||
} NOTEPAD_GLOBALS;
|
||||
|
||||
extern NOTEPAD_GLOBALS Globals;
|
||||
|
||||
VOID SetFileName(LPCWSTR szFileName);
|
1
reactos/subsys/system/notepad/notepad.rc
Normal file
1
reactos/subsys/system/notepad/notepad.rc
Normal file
|
@ -0,0 +1 @@
|
|||
#include "rsrc.rc"
|
78
reactos/subsys/system/notepad/notepad_res.h
Normal file
78
reactos/subsys/system/notepad/notepad_res.h
Normal file
|
@ -0,0 +1,78 @@
|
|||
/*
|
||||
* Constants, used in resources.
|
||||
*
|
||||
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
||||
* Copyright 2002 Andriy Palamarchuk
|
||||
*
|
||||
* 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
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define MAIN_MENU 0x201
|
||||
#define DIALOG_PAGESETUP 0x202
|
||||
#define ID_ACCEL 0x203
|
||||
|
||||
/* Commands */
|
||||
#define CMD_NEW 0x100
|
||||
#define CMD_OPEN 0x101
|
||||
#define CMD_SAVE 0x102
|
||||
#define CMD_SAVE_AS 0x103
|
||||
#define CMD_PRINT 0x104
|
||||
#define CMD_PAGE_SETUP 0x105
|
||||
#define CMD_PRINTER_SETUP 0x106
|
||||
#define CMD_EXIT 0x108
|
||||
|
||||
#define CMD_UNDO 0x110
|
||||
#define CMD_CUT 0x111
|
||||
#define CMD_COPY 0x112
|
||||
#define CMD_PASTE 0x113
|
||||
#define CMD_DELETE 0x114
|
||||
#define CMD_SELECT_ALL 0x116
|
||||
#define CMD_TIME_DATE 0x117
|
||||
|
||||
#define CMD_SEARCH 0x120
|
||||
#define CMD_SEARCH_NEXT 0x121
|
||||
|
||||
#define CMD_WRAP 0x119
|
||||
#define CMD_FONT 0x140
|
||||
|
||||
#define CMD_HELP_CONTENTS 0x130
|
||||
#define CMD_HELP_SEARCH 0x131
|
||||
#define CMD_HELP_ON_HELP 0x132
|
||||
#define CMD_LICENSE 0x135
|
||||
#define CMD_NO_WARRANTY 0x136
|
||||
#define CMD_ABOUT_WINE 0x137
|
||||
|
||||
/* Strings */
|
||||
#define STRING_PAGESETUP_HEADERVALUE 0x160
|
||||
#define STRING_PAGESETUP_FOOTERVALUE 0x161
|
||||
#define STRING_PAGESETUP_LEFTVALUE 0x162
|
||||
#define STRING_PAGESETUP_RIGHTVALUE 0x163
|
||||
#define STRING_PAGESETUP_TOPVALUE 0x164
|
||||
#define STRING_PAGESETUP_BOTTOMVALUE 0x165
|
||||
|
||||
#define STRING_NOTEPAD 0x170
|
||||
#define STRING_ERROR 0x171
|
||||
#define STRING_WARNING 0x172
|
||||
#define STRING_INFO 0x173
|
||||
#define STRING_UNTITLED 0x174
|
||||
#define STRING_ALL_FILES 0x175
|
||||
#define STRING_TEXT_FILES_TXT 0x176
|
||||
#define STRING_TOOLARGE 0x177
|
||||
#define STRING_NOTEXT 0x178
|
||||
#define STRING_DOESNOTEXIST 0x179
|
||||
#define STRING_NOTSAVED 0x17A
|
||||
|
||||
#define STRING_NOTFOUND 0x17B
|
||||
#define STRING_OUT_OF_MEMORY 0x17C
|
61
reactos/subsys/system/notepad/rsrc.rc
Normal file
61
reactos/subsys/system/notepad/rsrc.rc
Normal file
|
@ -0,0 +1,61 @@
|
|||
/*
|
||||
* Copyright 1997,98 Marcel Baur <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
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winuser.h"
|
||||
#include "main.h"
|
||||
#include "winnls.h"
|
||||
#include "commctrl.h"
|
||||
#include "notepad_res.h"
|
||||
|
||||
ID_ACCEL ACCELERATORS
|
||||
{
|
||||
"^A", CMD_SELECT_ALL
|
||||
"^C", CMD_COPY
|
||||
"^F", CMD_SEARCH
|
||||
"^O", CMD_OPEN
|
||||
"^S", CMD_SAVE
|
||||
"^V", CMD_PASTE
|
||||
"^X", CMD_CUT
|
||||
"^Z", CMD_UNDO
|
||||
VK_F3, CMD_SEARCH_NEXT, VIRTKEY
|
||||
VK_F5, CMD_TIME_DATE, VIRTKEY
|
||||
}
|
||||
|
||||
#include "Cs.rc"
|
||||
#include "Da.rc"
|
||||
#include "De.rc"
|
||||
#include "En.rc"
|
||||
#include "Es.rc"
|
||||
#include "Fi.rc"
|
||||
#include "Fr.rc"
|
||||
#include "Hu.rc"
|
||||
#include "It.rc"
|
||||
#include "Ja.rc"
|
||||
#include "Nl.rc"
|
||||
#include "Pl.rc"
|
||||
#include "Pt.rc"
|
||||
#include "Ru.rc"
|
||||
#include "Si.rc"
|
||||
#include "Sk.rc"
|
||||
#include "Sw.rc"
|
||||
#include "Th.rc"
|
||||
#include "Wa.rc"
|
||||
#include "Zh.rc"
|
Loading…
Reference in a new issue