- localization to the Portuguese of Brazil of "programs/*"

- separation of some resources that only existed in English
- lesser adjustments in menus
This commit is contained in:
Marcelo Duarte 2003-06-23 18:15:15 +00:00 committed by Alexandre Julliard
parent c962a6997c
commit 5bb472eae1
30 changed files with 2119 additions and 794 deletions

View File

@ -19,7 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
MAIN_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
MAIN_MENU MENU
{ {
POPUP "&Properties" { POPUP "&Properties" {
MENUITEM "Ana&log", 0x100 MENUITEM "Ana&log", 0x100
@ -39,7 +41,7 @@ MAIN_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
} }
} }
STRINGTABLE DISCARDABLE LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE
{ {
CLOCK, "Clock" CLOCK, "Clock"
MENU_ON_TOP, "&Always on Top" MENU_ON_TOP, "&Always on Top"

View File

@ -1,9 +1,10 @@
/* /*
* Clock (Portuguese resources) * Clock
* Portuguese Language Support
* *
* Copyright 1999 Gustavo Junior Alves <alves@correionet.com.br> * Copyright 1999 Gustavo Junior Alves <alves@correionet.com.br>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr> * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* FIXME: Weak translation ! * Copyright 2003 Marcelo Duarte
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -20,7 +21,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
MAIN_MENU MENU LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
MAIN_MENU MENU
{ {
POPUP "&Propriedades" { POPUP "&Propriedades" {
MENUITEM "&Analógico", 0x100 MENUITEM "&Analógico", 0x100
@ -33,15 +36,15 @@ MAIN_MENU MENU LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
MENUITEM "&Segundos", 0x107 MENUITEM "&Segundos", 0x107
MENUITEM "&Data", 0x108 MENUITEM "&Data", 0x108
} }
POPUP "Inf&ormações..." { POPUP "&Informações..." {
MENUITEM "&Licença", 0x109 MENUITEM "&Licença", 0x109
MENUITEM "&SEM GARANTIA", 0x10A MENUITEM "&SEM GARANTIA", 0x10A
MENUITEM "&Sobre Clock...", 0x10B MENUITEM "&Sobre Clock...", 0x10B
} }
} }
STRINGTABLE DISCARDABLE LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE
{ {
CLOCK, "Clock" CLOCK, "Relógio"
MENU_ON_TOP, "&Sempre visível" MENU_ON_TOP, "&Sempre visível"
} }

View File

@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "windows.h" #include <windows.h>
#include "main.h" #include "main.h"
#include "clock_res.h" #include "clock_res.h"

234
programs/cmdlgtst/En.rc Normal file
View File

@ -0,0 +1,234 @@
/*
* Common Dialog Test Jig Exerciser
* English Language Support
*
* Copyright (c) 1999 Eric Williams.
*
* 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
CmdlgtstMenu MENU
{
POPUP "&File"
{
MENUITEM "&Quit", CM_U_EXIT
}
POPUP "&Commdlg"
{
MENUITEM "&Open", CM_U_OPEN
MENUITEM "&Save", CM_U_SAVE
MENUITEM SEPARATOR
MENUITEM "&Color", CM_U_COLOR
MENUITEM "&Font", CM_U_FONT
MENUITEM SEPARATOR
MENUITEM "Find &Text", CM_U_FIND
MENUITEM "&Replace Text", CM_U_REPLACE
MENUITEM SEPARATOR
MENUITEM "P&rint", CM_U_PRINT
}
POPUP "F&lags"
{
MENUITEM "Fil&e", CM_F_FILE
MENUITEM SEPARATOR
MENUITEM "&Color", CM_F_COLOR
MENUITEM "&Font", CM_F_FONT
MENUITEM SEPARATOR
MENUITEM "Find/&Replace", CM_F_FINDREPLACE
MENUITEM SEPARATOR
MENUITEM "P&rint", CM_F_PRINT
}
POPUP "&Help"
{
MENUITEM "&Usage", CM_H_USAGE
MENUITEM "&About", CM_H_ABOUT
}
}
Color_Flags_Dialog DIALOG 11, 20, 207, 107
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Color dialog flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLEHOOK", I_CC_ENABLEHOOK, 12, 12, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLETEMPLATE", I_CC_ENABLETEMPLATE, 12, 24, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLETEMPLATEHANDLE", I_CC_ENABLETEMPLATEHANDLE, 12, 36, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_FULLOPEN", I_CC_FULLOPEN, 12, 48, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_PREVENTFULLOPEN", I_CC_PREVENTFULLOPEN, 12, 60, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_RGBINIT", I_CC_RGBINIT, 12, 72, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_SHOWHELP", I_CC_SHOWHELP, 12, 84, 122, 10, WS_GROUP | WS_TABSTOP
}
Font_Flags_Dialog DIALOG 9, 20, 207, 313
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Font Dialog Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14
CHECKBOX "CF_APPLY", I_CF_APPLY, 12, 12, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ANSIONLY", I_CF_ANSIONLY, 12, 24, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_BOTH", I_CF_BOTH, 12, 36, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_TTONLY", I_CF_TTONLY, 12, 48, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_EFFECTS", I_CF_EFFECTS, 12, 60, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLEHOOK", I_CF_ENABLEHOOK, 12, 72, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLETEMPLATE", I_CF_ENABLETEMPLATE, 12, 84, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLETEMPLATEHANDLE", I_CF_ENABLETEMPLATEHANDLE, 12, 96, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_FIXEDPITCHONLY", I_CF_FIXEDPITCHONLY, 12, 108, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_FORCEFONTEXIST", I_CF_FORCEFONTEXIST, 12, 120, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_INITTOLOGFONTSTRUCT", I_CF_INITTOLOGFONTSTRUCT, 12, 132, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_LIMITSIZE", I_CF_LIMITSIZE, 12, 144, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOFACESEL", I_CF_NOFACESEL, 12, 156, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOOEMFONTS", I_CF_NOOEMFONTS, 12, 168, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSIMULATIONS", I_CF_NOSIMULATIONS, 12, 180, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSIZESEL", I_CF_NOSIZESEL, 12, 192, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSTYLESEL", I_CF_NOSTYLESEL, 12, 204, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOVECTORFONTS", I_CF_NOVECTORFONTS, 12, 216, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_PRINTERFONTS", I_CF_PRINTERFONTS, 12, 228, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SCALABLEONLY", I_CF_SCALABLEONLY, 12, 240, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SHOWHELP", I_CF_SHOWHELP, 12, 264, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SCREENFONTS", I_CF_SCREENFONTS, 12, 252, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_USESTYLE", I_CF_USESTYLE, 12, 276, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_WYSIWYG", I_CF_WYSIWYG, 12, 288, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
}
Find_Flags_Dialog DIALOG 8, 24, 207, 306
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Find/Replace Dialog Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Help", IDHELP, 148, 42, 50, 14
CHECKBOX "FR_DIALOGTERM", I_FR_DIALOGTERM, 24, 12, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_DOWN", I_FR_DOWN, 24, 24, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLEHOOK", I_FR_ENABLEHOOK, 24, 36, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLETEMPLATE", I_FR_ENABLETEMPLATE, 24, 48, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLETEMPLATEHANDLE", I_FR_ENABLETEMPLATEHANDLE, 24, 60, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_FINDNEXT", I_FR_FINDNEXT, 24, 72, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEMATCHCASE", I_FR_HIDEMATCHCASE, 24, 84, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEWHOLEWORD", I_FR_HIDEWHOLEWORD, 24, 96, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEUPDOWN", I_FR_HIDEUPDOWN, 24, 108, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_MATCHCASE", I_FR_MATCHCASE, 24, 120, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOMATCHCASE", I_FR_NOMATCHCASE, 24, 132, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOUPDOWN", I_FR_NOUPDOWN, 24, 144, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOWHOLEWORD", I_FR_NOWHOLEWORD, 24, 156, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_REPLACE", I_FR_REPLACE, 24, 168, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_REPLACEALL", I_FR_REPLACEALL, 24, 180, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_SHOWHELP", I_FR_SHOWHELP, 24, 192, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_WHOLEWORD", I_FR_WHOLEWORD, 24, 204, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 12, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 72, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 168, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 180, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 24, 228, 11, 13
CONTROL "Marks flags that are set by the system and must be cleared by the user.", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 48, 228, 98, 36
}
Print_Flags_Dialog DIALOG 4, 17, 239, 287
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Print / PrintSetup Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 180, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 180, 24, 50, 14
PUSHBUTTON "Help", CM_R_HELP, 180, 42, 50, 14
CHECKBOX "PD_ALLPAGES", I_PD_ALLPAGES, 12, 12, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_COLLATE", I_PD_COLLATE, 12, 24, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_DISABLEPRINTTOFILE", I_PD_DISABLEPRINTTOFILE, 12, 36, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTHOOK", I_PD_ENABLEPRINTHOOK, 12, 48, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTTEMPLATE", I_PD_ENABLEPRINTTEMPLATE, 12, 60, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTTEMPLATEHANDLE", I_PD_ENABLEPRINTTEMPLATEHANDLE, 12, 72, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPHOOK", I_PD_ENABLESETUPHOOK, 12, 84, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPTEMPLATE", I_PD_ENABLESETUPTEMPLATE, 12, 96, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPTEMPLATEHANDLE", I_PD_ENABLESETUPTEMPLATEHANDLE, 12, 108, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_HIDEPRINTTOFILE", I_PD_HIDEPRINTTOFILE, 12, 120, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOPAGENUMS", I_PD_NOPAGENUMS, 12, 132, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOSELECTION", I_PD_NOSELECTION, 12, 144, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOWARNING", I_PD_NOWARNING, 12, 156, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PAGENUMS", I_PD_PAGENUMS, 12, 168, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PRINTSETUP", I_PD_PRINTSETUP, 12, 180, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PRINTTOFILE", I_PD_PRINTTOFILE, 12, 192, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNDC", I_PD_RETURNDC, 12, 204, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNDEFAULT", I_PD_RETURNDEFAULT, 12, 216, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNIC", I_PD_RETURNIC, 12, 228, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_SELECTION", I_PD_SELECTION, 12, 240, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_SHOWHELP", I_PD_SHOWHELP, 12, 252, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_USEDEVMODECOPIES", I_PD_USEDEVMODECOPIES, 12, 264, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
}
File_Flags_Dialog DIALOG 6, 15, 207, 227
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Open File/Save File Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14
CHECKBOX "OFN_ALLOWMULTISELECT", I_OFN_ALLOWMULTISELECT, 12, 12, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_CREATEPROMPT", I_OFN_CREATEPROMPT, 12, 24, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLEHOOK", I_OFN_ENABLEHOOK, 12, 36, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLETEMPLATE", I_OFN_ENABLETEMPLATE, 12, 48, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLETEMPLATEHANDLE", I_OFN_ENABLETEMPLATEHANDLE, 12, 60, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_EXTENSIONDIFFERENT", I_OFN_EXTENSIONDIFFERENT, 12, 72, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_FILEMUSTEXIST", I_OFN_FILEMUSTEXIST, 12, 84, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_HIDEREADONLY", I_OFN_HIDEREADONLY, 12, 96, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOCHANGEDIR", I_OFN_NOCHANGEDIR, 12, 108, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOREADONLYRETURN", I_OFN_NOREADONLYRETURN, 12, 120, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOTESTFILECREATE", I_OFN_NOTESTFILECREATE, 12, 132, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOVALIDATE", I_OFN_NOVALIDATE, 12, 144, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_OVERWRITEPROMPT", I_OFN_OVERWRITEPROMPT, 12, 156, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_PATHMUSTEXIST", I_OFN_PATHMUSTEXIST, 12, 168, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_READONLY", I_OFN_READONLY, 12, 180, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_SHAREAWARE", I_OFN_SHAREAWARE, 12, 192, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_SHOWHELP", I_OFN_SHOWHELP, 12, 204, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
}
AboutDialog DIALOG 6, 15, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 72, 96, 50, 14
LTEXT "Common Dialog Test Jig Exerciser, version 1.20", -1, 13, 36, 168, 12
LTEXT "(c) 1999-2000, Eric Williams. Rights are as granted under the WINE license. Don't hoard code...share it!", -1, 18, 60, 157, 24
ICON "AboutIcon", -1, 84, 12, 18, 20
}
UsageDialog DIALOG 183, 22, 190, 300
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Usage"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 70, 276, 50, 14
LTEXT "Common Dialog Test Jig Exerciser, version 1.20", -1, 13, 48, 168, 12
LTEXT "This tool tests COMMDLG for Wine.", -1, 12, 72, 168, 12
LTEXT "Flags are specified in the Flags menu.", -1, 12, 96, 168, 12
LTEXT "Color dialog changes background color.", -1, 12, 120, 168, 12
LTEXT "Font dialog changes all fonts, and font color if CF_EFFECTS is selected.", -1, 12, 144, 168, 24
LTEXT "Upper left hand corner indicate full pathname and title of the last successful Open or Save.", -1, 12, 180, 168, 24
LTEXT "(c) 1999-2000, Eric Williams. Rights are as granted under the WINE license. Don't hoard code...share it!", -1, 12, 228, 168, 36
ICON "AboutIcon", -1, 86, 12, 18, 20
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 216, 168, 2
}

238
programs/cmdlgtst/Pt.rc Normal file
View File

@ -0,0 +1,238 @@
/*
* Common Dialog Test Jig Exerciser
* Portuguese Language Support
*
* 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
CmdlgtstMenu MENU
{
POPUP "&Arquivo"
{
MENUITEM "Sai&r", CM_U_EXIT
}
POPUP "&Commdlg"
{
MENUITEM "&Abrir", CM_U_OPEN
MENUITEM "&Salvar", CM_U_SAVE
MENUITEM SEPARATOR
MENUITEM "&Cores", CM_U_COLOR
MENUITEM "&Fonte", CM_U_FONT
MENUITEM SEPARATOR
MENUITEM "&Localizar texto", CM_U_FIND
MENUITEM "&Substituir texto", CM_U_REPLACE
MENUITEM SEPARATOR
MENUITEM "&Imprimir", CM_U_PRINT
}
POPUP "F&lags"
{
MENUITEM "&Arquivo", CM_F_FILE
MENUITEM SEPARATOR
MENUITEM "&Cores", CM_F_COLOR
MENUITEM "&Fonte", CM_F_FONT
MENUITEM SEPARATOR
MENUITEM "&Localizar/Substituir", CM_F_FINDREPLACE
MENUITEM SEPARATOR
MENUITEM "&Imprimir", CM_F_PRINT
}
POPUP "Aj&uda"
{
MENUITEM "&Uso", CM_H_USAGE
MENUITEM "&Sobre", CM_H_ABOUT
}
}
Color_Flags_Dialog DIALOG 11, 20, 207, 107
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Flags do diálode de cores"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 148, 24, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Ajuda", CM_R_HELP, 148, 42, 50, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLEHOOK", I_CC_ENABLEHOOK, 12, 12, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLETEMPLATE", I_CC_ENABLETEMPLATE, 12, 24, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLETEMPLATEHANDLE", I_CC_ENABLETEMPLATEHANDLE, 12, 36, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_FULLOPEN", I_CC_FULLOPEN, 12, 48, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_PREVENTFULLOPEN", I_CC_PREVENTFULLOPEN, 12, 60, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_RGBINIT", I_CC_RGBINIT, 12, 72, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_SHOWHELP", I_CC_SHOWHELP, 12, 84, 122, 10, WS_GROUP | WS_TABSTOP
}
Font_Flags_Dialog DIALOG 9, 20, 207, 313
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Flags do diálogo de fontes"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Ajuda", CM_R_HELP, 148, 42, 50, 14
CHECKBOX "CF_APPLY", I_CF_APPLY, 12, 12, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ANSIONLY", I_CF_ANSIONLY, 12, 24, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_BOTH", I_CF_BOTH, 12, 36, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_TTONLY", I_CF_TTONLY, 12, 48, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_EFFECTS", I_CF_EFFECTS, 12, 60, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLEHOOK", I_CF_ENABLEHOOK, 12, 72, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLETEMPLATE", I_CF_ENABLETEMPLATE, 12, 84, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLETEMPLATEHANDLE", I_CF_ENABLETEMPLATEHANDLE, 12, 96, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_FIXEDPITCHONLY", I_CF_FIXEDPITCHONLY, 12, 108, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_FORCEFONTEXIST", I_CF_FORCEFONTEXIST, 12, 120, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_INITTOLOGFONTSTRUCT", I_CF_INITTOLOGFONTSTRUCT, 12, 132, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_LIMITSIZE", I_CF_LIMITSIZE, 12, 144, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOFACESEL", I_CF_NOFACESEL, 12, 156, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOOEMFONTS", I_CF_NOOEMFONTS, 12, 168, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSIMULATIONS", I_CF_NOSIMULATIONS, 12, 180, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSIZESEL", I_CF_NOSIZESEL, 12, 192, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSTYLESEL", I_CF_NOSTYLESEL, 12, 204, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOVECTORFONTS", I_CF_NOVECTORFONTS, 12, 216, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_PRINTERFONTS", I_CF_PRINTERFONTS, 12, 228, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SCALABLEONLY", I_CF_SCALABLEONLY, 12, 240, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SHOWHELP", I_CF_SHOWHELP, 12, 264, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SCREENFONTS", I_CF_SCREENFONTS, 12, 252, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_USESTYLE", I_CF_USESTYLE, 12, 276, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_WYSIWYG", I_CF_WYSIWYG, 12, 288, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
}
Find_Flags_Dialog DIALOG 8, 24, 207, 306
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Flags do diálogo Localizar/Substituir"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Ajuda", IDHELP, 148, 42, 50, 14
CHECKBOX "FR_DIALOGTERM", I_FR_DIALOGTERM, 24, 12, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_DOWN", I_FR_DOWN, 24, 24, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLEHOOK", I_FR_ENABLEHOOK, 24, 36, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLETEMPLATE", I_FR_ENABLETEMPLATE, 24, 48, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLETEMPLATEHANDLE", I_FR_ENABLETEMPLATEHANDLE, 24, 60, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_FINDNEXT", I_FR_FINDNEXT, 24, 72, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEMATCHCASE", I_FR_HIDEMATCHCASE, 24, 84, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEWHOLEWORD", I_FR_HIDEWHOLEWORD, 24, 96, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEUPDOWN", I_FR_HIDEUPDOWN, 24, 108, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_MATCHCASE", I_FR_MATCHCASE, 24, 120, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOMATCHCASE", I_FR_NOMATCHCASE, 24, 132, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOUPDOWN", I_FR_NOUPDOWN, 24, 144, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOWHOLEWORD", I_FR_NOWHOLEWORD, 24, 156, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_REPLACE", I_FR_REPLACE, 24, 168, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_REPLACEALL", I_FR_REPLACEALL, 24, 180, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_SHOWHELP", I_FR_SHOWHELP, 24, 192, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_WHOLEWORD", I_FR_WHOLEWORD, 24, 204, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 12, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 72, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 168, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 180, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 24, 228, 11, 13
CONTROL "Marcas flags que são configurados pelo sistema e devem ser limpos pelo usuário.", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 48, 228, 98, 36
}
Print_Flags_Dialog DIALOG 4, 17, 239, 287
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Flags do diálogo Imprimir/Configurar Impressão"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 180, 6, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 180, 24, 50, 14
PUSHBUTTON "Ajuda", CM_R_HELP, 180, 42, 50, 14
CHECKBOX "PD_ALLPAGES", I_PD_ALLPAGES, 12, 12, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_COLLATE", I_PD_COLLATE, 12, 24, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_DISABLEPRINTTOFILE", I_PD_DISABLEPRINTTOFILE, 12, 36, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTHOOK", I_PD_ENABLEPRINTHOOK, 12, 48, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTTEMPLATE", I_PD_ENABLEPRINTTEMPLATE, 12, 60, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTTEMPLATEHANDLE", I_PD_ENABLEPRINTTEMPLATEHANDLE, 12, 72, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPHOOK", I_PD_ENABLESETUPHOOK, 12, 84, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPTEMPLATE", I_PD_ENABLESETUPTEMPLATE, 12, 96, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPTEMPLATEHANDLE", I_PD_ENABLESETUPTEMPLATEHANDLE, 12, 108, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_HIDEPRINTTOFILE", I_PD_HIDEPRINTTOFILE, 12, 120, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOPAGENUMS", I_PD_NOPAGENUMS, 12, 132, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOSELECTION", I_PD_NOSELECTION, 12, 144, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOWARNING", I_PD_NOWARNING, 12, 156, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PAGENUMS", I_PD_PAGENUMS, 12, 168, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PRINTSETUP", I_PD_PRINTSETUP, 12, 180, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PRINTTOFILE", I_PD_PRINTTOFILE, 12, 192, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNDC", I_PD_RETURNDC, 12, 204, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNDEFAULT", I_PD_RETURNDEFAULT, 12, 216, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNIC", I_PD_RETURNIC, 12, 228, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_SELECTION", I_PD_SELECTION, 12, 240, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_SHOWHELP", I_PD_SHOWHELP, 12, 252, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_USEDEVMODECOPIES", I_PD_USEDEVMODECOPIES, 12, 264, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
}
File_Flags_Dialog DIALOG 6, 15, 207, 227
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Flags do Abrir/Salvar arquivo"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Ajuda", CM_R_HELP, 148, 42, 50, 14
CHECKBOX "OFN_ALLOWMULTISELECT", I_OFN_ALLOWMULTISELECT, 12, 12, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_CREATEPROMPT", I_OFN_CREATEPROMPT, 12, 24, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLEHOOK", I_OFN_ENABLEHOOK, 12, 36, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLETEMPLATE", I_OFN_ENABLETEMPLATE, 12, 48, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLETEMPLATEHANDLE", I_OFN_ENABLETEMPLATEHANDLE, 12, 60, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_EXTENSIONDIFFERENT", I_OFN_EXTENSIONDIFFERENT, 12, 72, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_FILEMUSTEXIST", I_OFN_FILEMUSTEXIST, 12, 84, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_HIDEREADONLY", I_OFN_HIDEREADONLY, 12, 96, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOCHANGEDIR", I_OFN_NOCHANGEDIR, 12, 108, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOREADONLYRETURN", I_OFN_NOREADONLYRETURN, 12, 120, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOTESTFILECREATE", I_OFN_NOTESTFILECREATE, 12, 132, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOVALIDATE", I_OFN_NOVALIDATE, 12, 144, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_OVERWRITEPROMPT", I_OFN_OVERWRITEPROMPT, 12, 156, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_PATHMUSTEXIST", I_OFN_PATHMUSTEXIST, 12, 168, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_READONLY", I_OFN_READONLY, 12, 180, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_SHAREAWARE", I_OFN_SHAREAWARE, 12, 192, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_SHOWHELP", I_OFN_SHOWHELP, 12, 204, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
}
AboutDialog DIALOG 6, 15, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sobre"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 72, 96, 50, 14
LTEXT "Common Dialog Test Jig Exerciser, versão 1.20", -1, 13, 36, 168, 12
LTEXT "(c) 1999-2000, Eric Williams. Direitos garantidos pelo licença do WINE. Don't hoard code...share it", -1, 18, 60, 157, 24
ICON "AboutIcon", -1, 84, 12, 18, 20
}
UsageDialog DIALOG 183, 22, 190, 300
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Uso"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 70, 276, 50, 14
LTEXT "Common Dialog Test Jig Exerciser, versão 1.20", -1, 13, 48, 168, 12
LTEXT "Esta ferramenta testa COMMDLG para o Wine.", -1, 12, 72, 168, 12
LTEXT "Flags são especificados no menu Flags.", -1, 12, 96, 168, 12
LTEXT "Diálogo de cores muda a cor de fundo.", -1, 12, 120, 168, 12
LTEXT "Diálogo de fontes muda todas as fontes, cores das fontes se CF_EFFECTS está selecionado.", -1, 12, 144, 168, 24
LTEXT "O canto superior esquerdo indica o caminho completo e o título dos último sucesso de Abrir ou Salvar.", -1, 12, 180, 168, 24
LTEXT "(c) 1999-2000, Eric Williams. Direitos garantidos pelo licença do WINE. Don't hoard code...share it", -1, 18, 60, 157, 24
ICON "AboutIcon", -1, 86, 12, 18, 20
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 216, 168, 2
}

View File

@ -1,8 +1,6 @@
/**************************************************************************** /****************************************************************************
* CMDLGR.RC * CMDLGR.RC
* *
* originally produced by Borland Resource Workshop, and then heavily edited
*
* Copyright (c) 1999 Eric Williams. * Copyright (c) 1999 Eric Williams.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -23,166 +21,10 @@
#include <windows.h> #include <windows.h>
#include "cmdlgtst.h" #include "cmdlgtst.h"
CmdlgtstMenu MENU #include "En.rc"
{ #include "Pt.rc"
POPUP "&File"
{
MENUITEM "&Quit", CM_U_EXIT
}
POPUP "&Commdlg" LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
{
MENUITEM "&Open", CM_U_OPEN
MENUITEM "&Save", CM_U_SAVE
MENUITEM SEPARATOR
MENUITEM "&Color", CM_U_COLOR
MENUITEM "&Font", CM_U_FONT
MENUITEM SEPARATOR
MENUITEM "Find &Text", CM_U_FIND
MENUITEM "&Replace Text", CM_U_REPLACE
MENUITEM SEPARATOR
MENUITEM "P&rint", CM_U_PRINT
}
POPUP "F&lags"
{
MENUITEM "Fil&e", CM_F_FILE
MENUITEM SEPARATOR
MENUITEM "&Color", CM_F_COLOR
MENUITEM "&Font", CM_F_FONT
MENUITEM SEPARATOR
MENUITEM "Find/&Replace", CM_F_FINDREPLACE
MENUITEM SEPARATOR
MENUITEM "P&rint", CM_F_PRINT
}
POPUP "&Help"
{
MENUITEM "&Usage", CM_H_USAGE
MENUITEM "&About", CM_H_ABOUT
}
}
Color_Flags_Dialog DIALOG 11, 20, 207, 107
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Color dialog flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14, WS_GROUP | WS_TABSTOP
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLEHOOK", I_CC_ENABLEHOOK, 12, 12, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLETEMPLATE", I_CC_ENABLETEMPLATE, 12, 24, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_ENABLETEMPLATEHANDLE", I_CC_ENABLETEMPLATEHANDLE, 12, 36, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_FULLOPEN", I_CC_FULLOPEN, 12, 48, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_PREVENTFULLOPEN", I_CC_PREVENTFULLOPEN, 12, 60, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_RGBINIT", I_CC_RGBINIT, 12, 72, 122, 10, WS_GROUP | WS_TABSTOP
CHECKBOX "CC_SHOWHELP", I_CC_SHOWHELP, 12, 84, 122, 10, WS_GROUP | WS_TABSTOP
}
Font_Flags_Dialog DIALOG 9, 20, 207, 313
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Font Dialog Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14
CHECKBOX "CF_APPLY", I_CF_APPLY, 12, 12, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ANSIONLY", I_CF_ANSIONLY, 12, 24, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_BOTH", I_CF_BOTH, 12, 36, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_TTONLY", I_CF_TTONLY, 12, 48, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_EFFECTS", I_CF_EFFECTS, 12, 60, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLEHOOK", I_CF_ENABLEHOOK, 12, 72, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLETEMPLATE", I_CF_ENABLETEMPLATE, 12, 84, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_ENABLETEMPLATEHANDLE", I_CF_ENABLETEMPLATEHANDLE, 12, 96, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_FIXEDPITCHONLY", I_CF_FIXEDPITCHONLY, 12, 108, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_FORCEFONTEXIST", I_CF_FORCEFONTEXIST, 12, 120, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_INITTOLOGFONTSTRUCT", I_CF_INITTOLOGFONTSTRUCT, 12, 132, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_LIMITSIZE", I_CF_LIMITSIZE, 12, 144, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOFACESEL", I_CF_NOFACESEL, 12, 156, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOOEMFONTS", I_CF_NOOEMFONTS, 12, 168, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSIMULATIONS", I_CF_NOSIMULATIONS, 12, 180, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSIZESEL", I_CF_NOSIZESEL, 12, 192, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOSTYLESEL", I_CF_NOSTYLESEL, 12, 204, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_NOVECTORFONTS", I_CF_NOVECTORFONTS, 12, 216, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_PRINTERFONTS", I_CF_PRINTERFONTS, 12, 228, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SCALABLEONLY", I_CF_SCALABLEONLY, 12, 240, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SHOWHELP", I_CF_SHOWHELP, 12, 264, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_SCREENFONTS", I_CF_SCREENFONTS, 12, 252, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_USESTYLE", I_CF_USESTYLE, 12, 276, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "CF_WYSIWYG", I_CF_WYSIWYG, 12, 288, 120, 10, BS_AUTOCHECKBOX | WS_TABSTOP
}
Find_Flags_Dialog DIALOG 8, 24, 207, 306
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Find/Replace Dialog Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Help", IDHELP, 148, 42, 50, 14
CHECKBOX "FR_DIALOGTERM", I_FR_DIALOGTERM, 24, 12, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_DOWN", I_FR_DOWN, 24, 24, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLEHOOK", I_FR_ENABLEHOOK, 24, 36, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLETEMPLATE", I_FR_ENABLETEMPLATE, 24, 48, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_ENABLETEMPLATEHANDLE", I_FR_ENABLETEMPLATEHANDLE, 24, 60, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_FINDNEXT", I_FR_FINDNEXT, 24, 72, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEMATCHCASE", I_FR_HIDEMATCHCASE, 24, 84, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEWHOLEWORD", I_FR_HIDEWHOLEWORD, 24, 96, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_HIDEUPDOWN", I_FR_HIDEUPDOWN, 24, 108, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_MATCHCASE", I_FR_MATCHCASE, 24, 120, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOMATCHCASE", I_FR_NOMATCHCASE, 24, 132, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOUPDOWN", I_FR_NOUPDOWN, 24, 144, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_NOWHOLEWORD", I_FR_NOWHOLEWORD, 24, 156, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_REPLACE", I_FR_REPLACE, 24, 168, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_REPLACEALL", I_FR_REPLACEALL, 24, 180, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_SHOWHELP", I_FR_SHOWHELP, 24, 192, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "FR_WHOLEWORD", I_FR_WHOLEWORD, 24, 204, 120, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 12, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 72, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 168, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 180, 11, 13
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 24, 228, 11, 13
CONTROL "Marks flags that are set by the system and must be cleared by the user.", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 48, 228, 98, 36
}
Print_Flags_Dialog DIALOG 4, 17, 239, 287
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Print / PrintSetup Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 180, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 180, 24, 50, 14
PUSHBUTTON "Help", CM_R_HELP, 180, 42, 50, 14
CHECKBOX "PD_ALLPAGES", I_PD_ALLPAGES, 12, 12, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_COLLATE", I_PD_COLLATE, 12, 24, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_DISABLEPRINTTOFILE", I_PD_DISABLEPRINTTOFILE, 12, 36, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTHOOK", I_PD_ENABLEPRINTHOOK, 12, 48, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTTEMPLATE", I_PD_ENABLEPRINTTEMPLATE, 12, 60, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLEPRINTTEMPLATEHANDLE", I_PD_ENABLEPRINTTEMPLATEHANDLE, 12, 72, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPHOOK", I_PD_ENABLESETUPHOOK, 12, 84, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPTEMPLATE", I_PD_ENABLESETUPTEMPLATE, 12, 96, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_ENABLESETUPTEMPLATEHANDLE", I_PD_ENABLESETUPTEMPLATEHANDLE, 12, 108, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_HIDEPRINTTOFILE", I_PD_HIDEPRINTTOFILE, 12, 120, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOPAGENUMS", I_PD_NOPAGENUMS, 12, 132, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOSELECTION", I_PD_NOSELECTION, 12, 144, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_NOWARNING", I_PD_NOWARNING, 12, 156, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PAGENUMS", I_PD_PAGENUMS, 12, 168, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PRINTSETUP", I_PD_PRINTSETUP, 12, 180, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_PRINTTOFILE", I_PD_PRINTTOFILE, 12, 192, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNDC", I_PD_RETURNDC, 12, 204, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNDEFAULT", I_PD_RETURNDEFAULT, 12, 216, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_RETURNIC", I_PD_RETURNIC, 12, 228, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_SELECTION", I_PD_SELECTION, 12, 240, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_SHOWHELP", I_PD_SHOWHELP, 12, 252, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "PD_USEDEVMODECOPIES", I_PD_USEDEVMODECOPIES, 12, 264, 144, 12, BS_AUTOCHECKBOX | WS_TABSTOP
}
AboutIcon ICON AboutIcon ICON
{ {
@ -235,58 +77,3 @@ AboutIcon ICON
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00' '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00' '00 00 00 00 00 00 00 00 00 00 00 00 00 00'
} }
File_Flags_Dialog DIALOG 6, 15, 207, 227
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Open File/Save File Flags"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
PUSHBUTTON "Help", CM_R_HELP, 148, 42, 50, 14
CHECKBOX "OFN_ALLOWMULTISELECT", I_OFN_ALLOWMULTISELECT, 12, 12, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_CREATEPROMPT", I_OFN_CREATEPROMPT, 12, 24, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLEHOOK", I_OFN_ENABLEHOOK, 12, 36, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLETEMPLATE", I_OFN_ENABLETEMPLATE, 12, 48, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_ENABLETEMPLATEHANDLE", I_OFN_ENABLETEMPLATEHANDLE, 12, 60, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_EXTENSIONDIFFERENT", I_OFN_EXTENSIONDIFFERENT, 12, 72, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_FILEMUSTEXIST", I_OFN_FILEMUSTEXIST, 12, 84, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_HIDEREADONLY", I_OFN_HIDEREADONLY, 12, 96, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOCHANGEDIR", I_OFN_NOCHANGEDIR, 12, 108, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOREADONLYRETURN", I_OFN_NOREADONLYRETURN, 12, 120, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOTESTFILECREATE", I_OFN_NOTESTFILECREATE, 12, 132, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_NOVALIDATE", I_OFN_NOVALIDATE, 12, 144, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_OVERWRITEPROMPT", I_OFN_OVERWRITEPROMPT, 12, 156, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_PATHMUSTEXIST", I_OFN_PATHMUSTEXIST, 12, 168, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_READONLY", I_OFN_READONLY, 12, 180, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_SHAREAWARE", I_OFN_SHAREAWARE, 12, 192, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "OFN_SHOWHELP", I_OFN_SHOWHELP, 12, 204, 132, 12, BS_AUTOCHECKBOX | WS_TABSTOP
}
AboutDialog DIALOG 6, 15, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 72, 96, 50, 14
LTEXT "Common Dialog Test Jig Exerciser, version 1.20", -1, 13, 36, 168, 12
LTEXT "(c) 1999-2000, Eric Williams. Rights are as granted under the WINE license. Don't hoard code...share it!", -1, 18, 60, 157, 24
ICON "AboutIcon", -1, 84, 12, 18, 20
}
UsageDialog DIALOG 183, 22, 190, 300
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Usage"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 70, 276, 50, 14
LTEXT "Common Dialog Test Jig Exerciser, version 1.20", -1, 13, 48, 168, 12
LTEXT "This tool tests COMMDLG for Wine.", -1, 12, 72, 168, 12
LTEXT "Flags are specified in the Flags menu.", -1, 12, 96, 168, 12
LTEXT "Color dialog changes background color.", -1, 12, 120, 168, 12
LTEXT "Font dialog changes all fonts, and font color if CF_EFFECTS is selected.", -1, 12, 144, 168, 24
LTEXT "Upper left hand corner indicate full pathname and title of the last successful Open or Save.", -1, 12, 180, 168, 24
LTEXT "(c) 1999-2000, Eric Williams. Rights are as granted under the WINE license. Don't hoard code...share it!", -1, 12, 228, 168, 36
ICON "AboutIcon", -1, 86, 12, 18, 20
CONTROL "", -1, "static", SS_BLACKRECT | WS_CHILD | WS_VISIBLE, 12, 216, 168, 2
}

View File

@ -4,6 +4,7 @@
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch> * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
* Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu> * Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr> * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2003 Marcelo Duarte
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -46,15 +47,14 @@ POPUP "&Edit" {
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Select &all\tCtrl+A", CMD_SELECT_ALL MENUITEM "Select &all\tCtrl+A", CMD_SELECT_ALL
MENUITEM "&Time/Date\tF5", CMD_TIME_DATE MENUITEM "&Time/Date\tF5", CMD_TIME_DATE
MENUITEM SEPARATOR
MENUITEM "&Wrap long lines", CMD_WRAP
MENUITEM "&Font...", CMD_FONT
} }
POPUP "&Search" { POPUP "&Search" {
MENUITEM "&Search\tCtrl+F", CMD_SEARCH MENUITEM "&Search\tCtrl+F", CMD_SEARCH
MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT
} }
POPUP "F&ormat" {
MENUITEM "&Wrap long lines", CMD_WRAP
MENUITEM "&Font...", CMD_FONT
}
POPUP "&Help" { POPUP "&Help" {
MENUITEM "&Contents", CMD_HELP_CONTENTS MENUITEM "&Contents", CMD_HELP_CONTENTS
MENUITEM "&Search...", CMD_HELP_SEARCH MENUITEM "&Search...", CMD_HELP_SEARCH

View File

@ -1,8 +1,10 @@
/* /*
* Notepad (Portuguese resources) * Notepad
* Portuguese Language Support
* *
* Copyright 1999 Marcel Baur <alves@correionet.com.br> * Copyright 1999 Marcel Baur <alves@correionet.com.br>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr> * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2003 Marcelo Duarte
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -29,37 +31,38 @@ MAIN_MENU MENU
MENUITEM "&Salvar", CMD_SAVE MENUITEM "&Salvar", CMD_SAVE
MENUITEM "Salvar &como...", CMD_SAVE_AS MENUITEM "Salvar &como...", CMD_SAVE_AS
MENUITEM "&Imprimir", CMD_PRINT MENUITEM "&Imprimir", CMD_PRINT
MENUITEM "C&onfigurar Página...", CMD_PAGE_SETUP MENUITEM "C&onfigurar página...", CMD_PAGE_SETUP
MENUITEM "Configurar I&mpressora...", CMD_PRINTER_SETUP MENUITEM "Configurar i&mpressora...", CMD_PRINTER_SETUP
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Sair", CMD_EXIT MENUITEM "Sai&r", CMD_EXIT
} }
POPUP "&Editar" { POPUP "&Editar" {
MENUITEM "&Desfazer\tCtrl+Z", CMD_UNDO MENUITEM "&Desfazer\tCtrl+Z", CMD_UNDO
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "C&ortar\tCtrl+X", CMD_CUT MENUITEM "&Recortar\tCtrl+X", CMD_CUT
MENUITEM "&Copiar\tCtrl+C", CMD_COPY MENUITEM "&Copiar\tCtrl+C", CMD_COPY
MENUITEM "Co&lar\tCtrl+V", CMD_PASTE MENUITEM "C&olar\tCtrl+V", CMD_PASTE
MENUITEM "&Delete\tDel", CMD_DELETE MENUITEM "E&xcluir\tDel", CMD_DELETE
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Selecionar &Tudo", CMD_SELECT_ALL MENUITEM "Selecionar &tudo", CMD_SELECT_ALL
MENUITEM "&Data/Hora\tF5", CMD_TIME_DATE MENUITEM "&Data/Hora\tF5", CMD_TIME_DATE
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Quebrar linhas longas", CMD_WRAP MENUITEM "&Quebrar automática de linha", CMD_WRAP
MENUITEM "&Fonte...", CMD_FONT
} }
POPUP "&Pesquisa" { POPUP "&Pesquisa" {
MENUITEM "Pesquisar...", CMD_SEARCH MENUITEM "&Localizar...", CMD_SEARCH
MENUITEM "&Procurar Próxima\tF3", CMD_SEARCH_NEXT MENUITEM "Localizar &próxima\tF3", CMD_SEARCH_NEXT
} }
POPUP "&Ajuda" { POPUP "&Ajuda" {
MENUITEM "&Conteúdo", CMD_HELP_CONTENTS MENUITEM "&Conteúdo", CMD_HELP_CONTENTS
MENUITEM "&Procurar...", CMD_HELP_SEARCH MENUITEM "&Procurar...", CMD_HELP_SEARCH
MENUITEM "&Ajuda na ajuda", CMD_HELP_ON_HELP MENUITEM "&Ajuda na ajuda", CMD_HELP_ON_HELP
MENUITEM SEPARATOR MENUITEM SEPARATOR
POPUP "Inf&ormações..." { POPUP "&Informações..." {
MENUITEM "&Licença", CMD_LICENSE MENUITEM "&Licença", CMD_LICENSE
MENUITEM "&SEM GARANTIA", CMD_NO_WARRANTY MENUITEM "&SEM GARANTIA", CMD_NO_WARRANTY
MENUITEM "&Sobre Wine", CMD_ABOUT_WINE MENUITEM "&Sobre o Wine", CMD_ABOUT_WINE
} }
} }
} }
@ -69,7 +72,7 @@ POPUP "&Ajuda" {
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95 DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 8, "Helv" FONT 8, "Helv"
CAPTION "Configurar Página" CAPTION "Configurar página"
{ {
LTEXT "&Cabeçalho:", 0x140, 10, 07, 40, 15 LTEXT "&Cabeçalho:", 0x140, 10, 07, 40, 15
EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP EDITTEXT 0x141, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
@ -114,13 +117,12 @@ STRING_TOOLARGE, "Arquivo '%s'
Por favor use um editor diferente." Por favor use um editor diferente."
STRING_NOTEXT, "Você não digitou nenhum texto. \ STRING_NOTEXT, "Você não digitou nenhum texto. \
\nPor favor digite alguma coisa e tente novamente" \nPor favor digite alguma coisa e tente novamente"
STRING_DOESNOTEXIST, "File '%s'\ndoes not exist\n\n \ STRING_DOESNOTEXIST, "Arquivo '%s'\nnão existe\n\n \
Do you want to create a new file ?" Você deseja criar um novo arquivo?"
STRING_NOTSAVED, "Arquivo '%s'\nfoi modificado\n\n \ STRING_NOTSAVED, "Arquivo '%s'\nfoi modificado\n\n \
Gostaria de salvar as alteraçÕes ?" Gostaria de salvar as alteraçÕes?"
STRING_NOTFOUND, "'%s' não pode ser encontrado." STRING_NOTFOUND, "'%s' não pode ser encontrado."
STRING_OUT_OF_MEMORY, "Não há memória suficiente para completar essa \ 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 \ tarefa. \nFeche uma ou mais aplicações para aumentar a quantidade de memória livre."
livre."
} }

View File

@ -1,7 +1,9 @@
/* /*
* Program Manager * Program Manager
* Portuguese Language Support
* *
* Copyright 1999 Gustavo Junior Alves <alves@correionet.com.br> * Copyright 1999 Gustavo Junior Alves <alves@correionet.com.br>
* Copyright 2003 Marcelo Duarte
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -18,116 +20,195 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#define LANGUAGE_ID Pt LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
#define LANGUAGE_NUMBER 16
#define LANGUAGE_MENU_ITEM "&Português"
/* Menu */ /* Menu */
MAIN_MENU MENU
{
POPUP "&Arquivo" {
MENUITEM "&Novo...", PM_NEW
MENUITEM "A&brir\tEnter", PM_OPEN
MENUITEM "&Mover...\tF7", PM_MOVE, GRAYED
MENUITEM "&Copiar...\tF8", PM_COPY, GRAYED
MENUITEM "&Excluir\tEntf", PM_DELETE
MENUITEM "&Atributos...\tAlt+Enter", PM_ATTRIBUTES
MENUITEM SEPARATOR
MENUITEM "&Executar...", PM_EXECUTE
MENUITEM SEPARATOR
MENUITEM "Sai&r do Windows...", PM_EXIT
}
POPUP "&Opções" {
MENUITEM "&Autoorganizar", PM_AUTO_ARRANGE
MENUITEM "&Minimizar na execução", PM_MIN_ON_RUN
MENUITEM "&Salvar alterações ao sair", PM_SAVE_SETTINGS
}
POPUP "&Janelas" {
MENUITEM "&Cascata\tShift+F5", PM_OVERLAP
MENUITEM "&Lado a lado \tShift+F4", PM_SIDE_BY_SIDE
MENUITEM "&Organizar ícones", PM_ARRANGE
}
POPUP "Aj&uda" {
MENUITEM "&Conteúdo", PM_CONTENTS
MENUITEM "&Pesquisa...", PM_SEARCH
MENUITEM SEPARATOR
MENUITEM "&Ajuda da ajuda", PM_HELPONHELP
MENUITEM "&Tutorial", PM_TUTORIAL
MENUITEM SEPARATOR
#define MENU_FILE "&Arquivo" POPUP "&Informações..." {
#define MENU_FILE_NEW "&Novo..." MENUITEM "&Licença", PM_LICENSE
#define MENU_FILE_OPEN "A&brir\tEnter" MENUITEM "&SEM GARANTIA", PM_NO_WARRANTY
#define MENU_FILE_MOVE "&Mover...\tF7" MENUITEM "&Sobre o WINE", PM_ABOUT_WINE
#define MENU_FILE_COPY "&Copiar...\tF8" }
#define MENU_FILE_DELETE "&Deletar\tEntf" }
#define MENU_FILE_ATTRIBUTES "A&tributos...\tAlt+Enter" }
#define MENU_FILE_EXECUTE "&Executar..."
#define MENU_FILE_EXIT "&Sair do Windows..."
#define MENU_OPTIONS "&Opções" /* Dialog `New' */
#define MENU_OPTIONS_AUTO_ARRANGE "&Organizar Automaticamente"
#define MENU_OPTIONS_MIN_ON_RUN "&Minimizar na Execução"
#define MENU_OPTIONS_SAVE_SETTINGS "&Salvar alterações ao sair"
#define MENU_WINDOWS "&Janelas" DIALOG_NEW DIALOG 0, 0, 170, 65
#define MENU_WINDOWS_OVERLAP "&Cascata\tShift+F5" STYLE DS_MODALFRAME
#define MENU_WINDOWS_SIDE_BY_SIDE "&Lado a lado\tShift+F4" CAPTION "Novo"
#define MENU_WINDOWS_ARRANGE "&Organizar simbolos" {
RADIOBUTTON "", PM_NEW_GROUP, 10, 15, 10, 15
LTEXT "&Grupo de programa", PM_NEW_GROUP, 20, 18, 80, 15
RADIOBUTTON "", PM_NEW_PROGRAM, 10, 35, 10, 15
LTEXT "&Programa", PM_NEW_PROGRAM, 20, 38, 80, 15
DEFPUSHBUTTON "OK", IDOK, 105, 5, 60, 15, WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 105, 25, 60, 15, WS_TABSTOP
PUSHBUTTON "Aj&uda", PM_HELP, 105, 45, 60, 15, WS_TABSTOP
}
#define MENU_LANGUAGE "&Linguagem" /* Dialog `Move' */
#define MENU_HELP "&Ajuda" DIALOG_MOVE DIALOG 0, 0, 250, 65
#define MENU_HELP_CONTENTS "&Conteudo" STYLE DS_MODALFRAME
#define MENU_HELP_SEARCH "&Procuras..." CAPTION "Mover programa"
#define MENU_HELP_HELP_ON_HELP "&Ajuda na ajuda" {
#define MENU_HELP_TUTORIAL "&Tutorial" LTEXT "Mover programa:", IDIGNORE, 5, 5, 90, 15
LTEXT "", PM_PROGRAM, 95, 5, 90, 15
LTEXT "Do grupo:", IDIGNORE, 5, 13, 90, 15
LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
LTEXT "&Para o grupo:", PM_TO_GROUP_TXT, 5, 28, 140, 15
COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
PUSHBUTTON "Aj&uda", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
}
#define MENU_INFO "&Informações..." /* Dialog `Copy' */
#define MENU_INFO_LICENSE "&Licença"
#define MENU_INFO_NO_WARRANTY "&SEM GARANTIA"
#define MENU_INFO_ABOUT_WINE "&Sobre WINE"
/* Dialogs */ DIALOG_COPY DIALOG 0, 0, 250, 65
STYLE DS_MODALFRAME
CAPTION "Copiar programa"
{
LTEXT "Copiar programa:", IDIGNORE, 5, 5, 90, 15
LTEXT "", PM_PROGRAM, 95, 5, 90, 15
LTEXT "Do grupo:", IDIGNORE, 5, 13, 90, 15
LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15
LTEXT "&Para o grupo:", PM_TO_GROUP_TXT, 5, 28, 140, 15
COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST
DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
PUSHBUTTON "Aj&uda", PM_HELP, 185, 45, 60, 15, WS_TABSTOP
}
#define DIALOG_OK "OK" /* Dialog `Group attributes' */
#define DIALOG_CANCEL "Cancelar"
#define DIALOG_BROWSE "&Procurar"
#define DIALOG_HELP "&Ajuda"
#define DIALOG_NEW_CAPTION "Novo objeto de programa" DIALOG_GROUP DIALOG 0, 0, 230, 65
#define DIALOG_NEW_NEW "Novo" STYLE DS_MODALFRAME
#define DIALOG_NEW_GROUP "&Grupo de programa" CAPTION "Atributos do grupo de programas"
#define DIALOG_NEW_PROGRAM "&Programa" {
LTEXT "&Descrição:", PM_DESCRIPTION_TXT, 05, 18, 50, 10
EDITTEXT PM_DESCRIPTION, 60, 18, 90, 15, WS_TABSTOP
LTEXT "&Grupo de arquivo:", PM_FILE_TXT, 05, 38, 50, 10
EDITTEXT PM_FILE, 60, 38, 90, 15, WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 155, 5, 60, 15, WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 155, 25, 60, 15, WS_TABSTOP
PUSHBUTTON "Aj&uda", PM_HELP, 155, 45, 60, 15, WS_TABSTOP
}
#define DIALOG_MOVE_CAPTION "Mover Programa" /* Dialog `Program attributes' */
#define DIALOG_MOVE_PROGRAM "Mover programa:"
#define DIALOG_MOVE_FROM_GROUP "Do grupo:"
#define DIALOG_MOVE_TO_GROUP "&Para grupo:"
#define DIALOG_COPY_CAPTION "Copiar Programa" DIALOG_PROGRAM DIALOG 0, 0, 250, 105
#define DIALOG_COPY_PROGRAM "Copiar programa:" STYLE DS_MODALFRAME
#define DIALOG_COPY_FROM_GROUP DIALOG_MOVE_FROM_GROUP CAPTION "Atributos de programa"
#define DIALOG_COPY_TO_GROUP DIALOG_MOVE_TO_GROUP {
LTEXT "&Descrição:", PM_DESCRIPTION_TXT, 05, 10, 60, 10
EDITTEXT PM_DESCRIPTION, 80, 10, 90, 15, WS_TABSTOP
LTEXT "&Linha de comando:", PM_COMMAND_LINE_TXT, 05, 25, 60, 10
EDITTEXT PM_COMMAND_LINE, 80, 25, 90, 15, WS_TABSTOP
LTEXT "&Pasta de trabalho:", PM_DIRECTORY_TXT, 05, 40, 60, 10
EDITTEXT PM_DIRECTORY, 80, 40, 90, 15, WS_TABSTOP
LTEXT "&Tecla de atalho:", PM_HOT_KEY_TXT, 05, 55, 60, 10
EDITTEXT PM_HOT_KEY, 80, 55, 90, 15, WS_TABSTOP
ICON "", PM_ICON, 20, 70
CHECKBOX "", PM_SYMBOL, 80, 75, 10, 10, WS_TABSTOP
LTEXT "Executar &minimizado", IDIGNORE, 95, 75, 75, 10
DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP
PUSHBUTTON "P&rocurar...", PM_BROWSE, 185, 45, 60, 15, WS_TABSTOP
PUSHBUTTON "Alt&erar ícone...", PM_OTHER_SYMBOL, 185, 65, 60, 15, WS_TABSTOP
PUSHBUTTON "Aj&uda", PM_HELP, 185, 85, 60, 15, WS_TABSTOP
}
#define DIALOG_GROUP_CAPTION "Atributos do grupo de programa" /* Dialog `Symbol' */
#define DIALOG_GROUP_DESCRIPTION "&Descrição:"
#define DIALOG_GROUP_FILE "&Arquivo de grupo:"
#define DIALOG_PROGRAM_CAPTION "Atributos de programa" DIALOG_SYMBOL DIALOG 0, 0, 200, 85
#define DIALOG_PROGRAM_DESCRIPTION DIALOG_GROUP_DESCRIPTION STYLE DS_MODALFRAME
#define DIALOG_PROGRAM_COMMAND_LINE "&Linha de comando:" CAPTION "Alterar ícone"
#define DIALOG_PROGRAM_DIRECTORY "&Diretório de trabalho:" {
#define DIALOG_PROGRAM_HOT_KEY "&Combinação de chaves:" LTEXT "&Nome do arquivo:", PM_ICON_FILE_TXT, 5, 15, 40, 10
#define DIALOG_PROGRAM_SYMBOL "Como &Simbolo" EDITTEXT PM_ICON_FILE, 45, 15, 85, 15, WS_TABSTOP
#define DIALOG_PROGRAM_OTHER_SYMBOL "&Outros simbolos..." LTEXT "Ícone &atual:", PM_SYMBOL_LIST_TXT, 5, 30, 125, 10
COMBOBOX PM_SYMBOL_LIST, 5, 40, 125, 50,
CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 135, 5, 60, 15, WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 135, 25, 60, 15, WS_TABSTOP
PUSHBUTTON "&Procurar...", PM_BROWSE, 135, 45, 60, 15, WS_TABSTOP
PUSHBUTTON "Aj&uda", PM_HELP, 135, 65, 60, 15, WS_TABSTOP
}
#define DIALOG_SYMBOL_CAPTION "Selecionar simbolo" /* Dialog `Execute' */
#define DIALOG_SYMBOL_FILE "&Nome do arquivo:"
#define DIALOG_SYMBOL_CURRENT "&Simbolo corrente:"
#define DIALOG_EXECUTE_CAPTION "Executar programa" DIALOG_EXECUTE DIALOG 0, 0, 200, 85
#define DIALOG_EXECUTE_COMMAND_LINE DIALOG_PROGRAM_COMMAND_LINE STYLE DS_MODALFRAME
#define DIALOG_EXECUTE_SYMBOL DIALOG_PROGRAM_SYMBOL CAPTION "Executar programa"
{
LTEXT "&Linha de comando:", IDIGNORE, 05, 15, 120, 10
EDITTEXT PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP
CHECKBOX "", PM_SYMBOL, 05, 45, 10, 10, WS_TABSTOP
LTEXT "Executar &minimizado", IDIGNORE, 20, 45, 120, 10
DEFPUSHBUTTON "OK", IDOK, 135, 5, 60, 15, WS_TABSTOP
PUSHBUTTON "Cancelar", IDCANCEL, 135, 25, 60, 15, WS_TABSTOP
PUSHBUTTON "&Procurar...", PM_BROWSE, 135, 45, 60, 15, WS_TABSTOP
PUSHBUTTON "Aj&uda", PM_HELP, 135, 65, 60, 15, WS_TABSTOP
}
/* Strings */ /* Strings */
#define STRING_PROGRAM_MANAGER "Gerenciador de programas" STRINGTABLE DISCARDABLE
#define STRING_ERROR "ERRO" {
#define STRING_WARNING "AVISO" IDS_PROGRAM_MANAGER, "Gerenciador de programas"
#define STRING_INFO "Informação" IDS_ERROR, "ERRO"
#define STRING_DELETE "Excluir" IDS_WARNING, "AVISO"
#define STRING_DELETE_GROUP_s "Excluir grupo `%s' ?" IDS_INFO, "Informação"
#define STRING_DELETE_PROGRAM_s "Excluir programa `%s' ?" IDS_DELETE, "Excluir"
#define STRING_NOT_IMPLEMENTED "Não implementado" IDS_DELETE_GROUP_s, "Excluir grupo '%s' ?"
#define STRING_FILE_READ_ERROR_s "Erro lendo `%s'" IDS_DELETE_PROGRAM_s, "Excluir programa '%s' ?"
#define STRING_FILE_WRITE_ERROR_s "Erro escrevendo `%s'" IDS_NOT_IMPLEMENTED, "Não implementado"
IDS_FILE_READ_ERROR_s, "Erro lendo '%s'."
#define STRING_GRPFILE_READ_ERROR_s "\ IDS_FILE_WRITE_ERROR_s, "Erro escrevendo '%s'."
O arquivo de grupo `%s' não pode ser aberto.\n\ IDS_GRPFILE_READ_ERROR_s, "O arquivo de grupo '%s' não pode ser aberto.\n\Deverá ser tentado outras vezes?"
Deverá ser tentado outras vezes?" IDS_OUT_OF_MEMORY, "Sem memória."
IDS_WINHELP_ERROR, "Ajuda não disponível."
#define STRING_OUT_OF_MEMORY "Sem memória" IDS_UNKNOWN_FEATURE_s, "Recurso desconhecido em %s"
#define STRING_WINHELP_ERROR "Ajuda não disponível" IDS_FILE_NOT_OVERWRITTEN_s, "Arquivo '%s' existe. Não sobreescrevendo."
#define STRING_UNKNOWN_FEATURE_s "Recurso desconhecido em %s" IDS_SAVE_GROUP_AS_s, "Salvar grupo como '%s' para prevenir a sobreescrita dos arquivos originais."
#define STRING_FILE_NOT_OVERWRITTEN_s "Arquivo `%s' existe. Não sobreescrevendo." IDS_NO_HOT_KEY, "Nenhuma"
#define STRING_SAVE_GROUP_AS_s "Salvar grupo como `%s' para previnir a sobreescrita dos arquivos originais" IDS_ALL_FILES, "Todos os arquivos (*.*)"
IDS_PROGRAMS, "Programas"
#define STRING_NO_HOT_KEY "Nenhuma" IDS_LIBRARIES_DLL, "Bibliotecas (*.dll)"
IDS_SYMBOL_FILES, "Arquivos de ícones"
#define STRING_ALL_FILES "Todos os arquivos (*.*)" IDS_SYMBOLS_ICO, "Ícones (*.ico)"
#define STRING_PROGRAMS "Programas" }
#define STRING_LIBRARIES_DLL "Bibliotecas (*.dll)"
#define STRING_SYMBOL_FILES "Arquivo de simbolos"
#define STRING_SYMBOLS_ICO "Simbolos (*.ico)"
#include "Xx.rc"

View File

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "windows.h" #include <windows.h>
#include "progman.h" #include "progman.h"
#include "accel.rc" #include "accel.rc"
@ -29,7 +29,7 @@
#include "Hu.rc" #include "Hu.rc"
/* #include "It.rc" */ /* #include "It.rc" */
/* #include "Ko.rc" */ /* #include "Ko.rc" */
/* #include "Pt.rc" */ #include "Pt.rc"
#include "Ru.rc" #include "Ru.rc"
#include "Si.rc" #include "Si.rc"
/* #include "Sk.rc" */ /* #include "Sk.rc" */

64
programs/start/Pt.rc Normal file
View File

@ -0,0 +1,64 @@
/*
* Start
* Portuguese Language Support
*
* 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
#pragma code_page(850)
STRINGTABLE DISCARDABLE
{
STRING_USAGE, "Inicia um programa, ou abre um documento no programa normalmente usado para arquivos com determinado sufuxo. \n\
Uso: \n\
start [opções] arquivo_de_programa [argumentos...] \n\
start [opções] arquivo_de_documento.ext \n\
\n\
Options: \n\
/M[inimized] Inicia o programa minimizado. \n\
/MAX[imized] Inicia o programa maximizado. \n\
/R[estored] Inicia o programa normalmente (sem minimizar nem maximizar). \n\
/W[ait] Aguarda que o programa iniciado termine e então retorno um código (exit code). \n\
/L Mostra a licença ao usuário. \n\
\n\
start.exe version 0.2 Copyright (C) 2003, Dan Kegel \n\
Start não vem com ABSOLUTAMENTE NENHUMA GARANTIA; para detahes execute com a opção /L. \n\
Este é um software livre (free software), e você é benvindo a redistribuí-lo sob \n\
certas condições; execute 'start /L' para detalhes. \n\
"
STRING_LICENSE, "start.exe versão 0.2 Copyright (C) 2003, Dan Kegel \n\
This program is free software; you can redistribute it and/or \n\
modify it under the terms of the GNU Lesser Public License \n\
as published by the Free Software Foundation; either version 2.1 \n\
of the License, or (at your option) any later version. \n\
\n\
This program is distributed in the hope that it will be useful, \n\
but WITHOUT ANY WARRANTY; without even the implied warranty of \n\
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \n\
GNU Lesser Public License for more details. \n\
\n\
You should have received a copy of the GNU Lesser Public License \n\
along with this program; if not, write to the Free Software \n\
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. \n\
\n\
Veja o arquivo COPYING.LIB para informação sobre a licença. \n\
"
STRING_EXECFAIL "Aplicação não pode ser iniciada, ou não existe aplicação associada com o arquivo especificado.\nShellExecuteEx falhou"
}

View File

@ -22,5 +22,6 @@
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "En.rc" #include "En.rc"
#include "Pt.rc"
#include "Ru.rc" #include "Ru.rc"
#include "Si.rc" #include "Si.rc"

76
programs/view/En.rc Normal file
View File

@ -0,0 +1,76 @@
/*
* View
* English Language Support
*
* Copyright 1998 Douglas Ridgway
* 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_ENGLISH, SUBLANG_DEFAULT
/*
*
* Menu
*
*/
VIEW MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open", IDM_OPEN
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Pan"
BEGIN
MENUITEM "&Scale to Window", IDM_SET_EXT_TO_WIN
MENUITEM SEPARATOR
MENUITEM "&Left", IDM_LEFT
MENUITEM "&Right", IDM_RIGHT
MENUITEM "&Up", IDM_UP
MENUITEM "&Down", IDM_DOWN
END
POPUP "&Info"
BEGIN
MENUITEM "&Hello", IDM_HELLO
END
END
/*
*
* Accelerator
*
*/
VIEW ACCELERATORS
BEGIN
"Q", IDM_EXIT, CONTROL
END
/*
*
* String Table
*
*/
STRINGTABLE DISCARDABLE
BEGIN
IDS_APPNAME "View"
IDS_DESCRIPTION "Regular Metafile Viewer"
END

75
programs/view/Pt.rc Normal file
View File

@ -0,0 +1,75 @@
/*
* View
* Portuguese Language Support
*
* 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
/*
*
* Menu
*
*/
VIEW MENU
BEGIN
POPUP "&Arquivo"
BEGIN
MENUITEM "&A", IDM_OPEN
MENUITEM "Sai&r", IDM_EXIT
END
POPUP "&Pan"
BEGIN
MENUITEM "Ajustar a &janela", IDM_SET_EXT_TO_WIN
MENUITEM SEPARATOR
MENUITEM "&Esquerda", IDM_LEFT
MENUITEM "&Direita", IDM_RIGHT
MENUITEM "&Acima", IDM_UP
MENUITEM "A&baixo", IDM_DOWN
END
POPUP "&Informações"
BEGIN
MENUITEM "&Hello", IDM_HELLO
END
END
/*
*
* Accelerator
*
*/
VIEW ACCELERATORS
BEGIN
"Q", IDM_EXIT, CONTROL
END
/*
*
* String Table
*
*/
STRINGTABLE DISCARDABLE
BEGIN
IDS_APPNAME "View"
IDS_DESCRIPTION "Regular Metafile Viewer"
END

View File

@ -16,63 +16,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "windows.h" #include <windows.h>
#include "resource.h" #include "resource.h"
///////////////////////////////////////////////////////////////////////////// #include "En.rc"
// #include "Pt.rc"
// Icon
// /*
* Icon
*/
/*IDI_APPICON ICON DISCARDABLE "view.ico"*/ /*IDI_APPICON ICON DISCARDABLE "view.ico"*/
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
VIEW MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open", IDM_OPEN
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Pan"
BEGIN
MENUITEM "&Scale to Window", IDM_SET_EXT_TO_WIN
MENUITEM SEPARATOR
MENUITEM "&Left", IDM_LEFT
MENUITEM "&Right", IDM_RIGHT
MENUITEM "&Up", IDM_UP
MENUITEM "&Down", IDM_DOWN
END
POPUP "&Info"
BEGIN
MENUITEM "&Hello", IDM_HELLO
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
VIEW ACCELERATORS
BEGIN
"Q", IDM_EXIT, CONTROL
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_APPNAME "View"
IDS_DESCRIPTION "Regular Metafile Viewer"
END

229
programs/wcmd/En.rc Normal file
View File

@ -0,0 +1,229 @@
/*
* Wine command prompt
* English Language Support
*
* Copyright (C) 1999 D A Pickles
*
* 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
STRINGTABLE
{
WCMD_ATTRIB, "Help about ATTRIB\n"
WCMD_CALL,
"CALL <batchfilename> is used within a batch file to execute commands\n\
from another batch file. When the batch file exits, control returns to\n\
the file which called it. The CALL command may supply parameters to the\n\
called procedure.\n\
\n\
Changes to default directory, environment variables etc made within a\n\
called procedure are inherited by the caller.\n"
WCMD_CD, "Help about CD\n"
WCMD_CHDIR, "Help about CHDIR\n"
WCMD_CLS,
"CLS clears the console screen\n"
WCMD_COPY, "Help about COPY\n"
WCMD_CTTY, "Help about CTTY\n"
WCMD_DATE, "Help about DATE\n"
WCMD_DEL, "Help about DEL\n"
WCMD_DIR, "Help about DIR\n"
WCMD_ECHO,
"ECHO <string> displays <string> on the current terminal device.\n\
\n\
ECHO ON causes all subsequent commands in a batch file to be displayed\n\
on the terminal device before they are executed.\n\
\n\
ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\n\
default). The ECHO OFF command can be prevented from displaying by\n\
preceding it with an @ sign.\n"
WCMD_ERASE, "Help about ERASE\n"
WCMD_FOR,
"The FOR command is used to execute a command for each of a set of files.\n\
\n\
Syntax: FOR %variable IN (set) DO command\n\
\n\
The requirement to double the % sign when using FOR in a batch file does\n\
not exist in wcmd.\n"
WCMD_GOTO,
"The GOTO command transfers execution to another statement within a\n\
batch file.\n\
\n\
The label which is the target of a GOTO may be up to 255 characters\n\
long but may not include spaces (this is different to other operating\n\
systems). If two or more identical labels exist in a batch file the\n\
first one will always be executed. Attempting to GOTO a non-existent\n\
label terminates the batch file execution.\n\
\n\
GOTO has no effect when used interactively.\n"
WCMD_HELP, "Help about HELP\n"
WCMD_IF,
"IF is used to conditionally execute a command.\n\
\n\
Syntax: IF [NOT] EXIST filename command\n\
IF [NOT] string1==string2 command\n\
IF [NOT] ERRORLEVEL number command\n\
\n\
In the second form of the command, string1 and string2 must be in double\n\
quotes. The comparison is not case-sensitive.\n"
WCMD_LABEL, "LABEL is used to set a disk volume label. \n\
\n\
Syntax: LABEL [drive:]\n\
The command will prompt you for the new volume label for the given drive.\n\
You can display the disk volume label with the VOL command.\n"
WCMD_MD, "Help about MD\n"
WCMD_MKDIR, "Help about MKDIR\n"
WCMD_MOVE,
"MOVE relocates a file or directory to a new point within the file system.\n\
\n\
If the item being moved is a directory then all the files and subdirectories\n\
below the item are moved as well.\n\
\n\
MOVE fails if the old and new locations are on different DOS drive letters.\n"
WCMD_PATH,
"PATH displays or changes the wcmd search path.\n\
\n\
Entering PATH will display the current PATH setting (initially this is\n\
the value given in your wine.conf file). To change the setting follow the\n\
PATH command with the new value.\n\
\n\
It is also possible to modify the PATH by using the PATH environment\n\
variable, for example:\n\
PATH %PATH%;c:\\temp \n"
WCMD_PAUSE,
"PAUSE displays a message on the screen 'Press Return key to continue'\n\
and waits for the user to press the Return key. It is mainly useful in\n\
batch files to allow the user to read the output of a previous command\n\
before it scrolls off the screen.\n"
WCMD_PROMPT,
"PROMPT sets the command-line prompt.\n\
\n\
The string following the PROMPT command (and the space immediately after)\n\
appears at the beginning of the line when wcmd is waiting for input.\n\
\n\
The following character strings have the special meaning shown:\n\
\n\
$$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
$d Current date $e Escape $g > sign\n\
$l > sign $n Current drive $p Current path\n\
$q Equal sign $t Current time $v wcmd version\n\
\n\
Note that entering the PROMPT command without a prompt-string resets the\n\
prompt to the default, which is the current drive letter followed by a\n\
greater-than (>) sign.\n\
\n\
The prompt can also be changed by altering the PROMPT environment variable,\n\
so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'\n"
WCMD_REM,
"A command line beginning REM (followed by a space) performs no\n\
action, and can therefore be used as a comment in a batch file.\n"
WCMD_REN, "Help about REN\n"
WCMD_RENAME, "Help about RENAME\n"
WCMD_RD, "Help about RD\n"
WCMD_RMDIR, "Help about RMDIR\n"
WCMD_SET,
"SET displays or changes the wcmd environment variables.\n\
\n\
SET without parameters shows all of the current environment.\n\
\n\
To create or modify an environment variable the syntax is:\n\
\n\
SET <variable>=<value>\n\
\n\
where <variable> and <value> are character strings. There must be no\n\
spaces either side of the equals sign, nor can the variable or value\n\
have embedded spaces.\n\
\n\
Under Wine, the environment of the underlying operating system is\n\
included into the Win32 environment, there will generally therefore be\n\
many more values than in a native Win32 implementation. Note that it is\n\
not possible to affect the operating system environment from within wcmd.\n"
WCMD_SHIFT,
"SHIFT is used in a batch file to remove one parameter from the head of\n\
the list, so parameter 2 becomes parameter 1 and so on. It has no effect\n\
if called from the command line.\n"
WCMD_TIME, "Help about TIME\n"
WCMD_TITLE, "Sets the window title for the wcmd window, syntax TITLE [string]"
WCMD_TYPE,
"TYPE <filename> copies <filename> to the console device (or elsewhere\n\
if redirected). No check is made that the file is readable text.\n"
WCMD_VERIFY,
"VERIFY is used to set, clear or test the verify flag. Valid forms are:\n\
\n\
VERIFY ON Set the flag\n\
VERIFY OFF Clear the flag\n\
VERIFY Displays ON or OFF as appropriate.\n\
\n\
The verify flag has no function in Wine.\n"
WCMD_VER,
"VER displays the version of wcmd you are running\n"
WCMD_VOL, "Help about VOL\n"
WCMD_EXIT,
"EXIT terminates the current command session and returns\n\
to the operating system or shell from which you invoked wcmd.\n"
1000, "WCMD built-in commands are:\n\
ATTRIB\t\tShow or change DOS file attributes\n\
CALL\t\tInvoke a batch file from inside another\n\
CD (CHDIR)\tChange current default directory\n\
CLS\t\tClear the console screen\n\
COPY\t\tCopy file\n\
CTTY\t\tChange input/output device\n\
DATE\t\tShow or change the system date\n\
DEL (ERASE)\tDelete a file or set of files\n\
DIR\t\tList the contents of a directory\n\
ECHO\t\tCopy text directly to the console output\n\
HELP\t\tShow brief help details on a topic\n\
MD (MKDIR)\tCreate a subdirectory\n\
MOVE\t\tMove a file, set of files or directory tree\n\
PATH\t\tSet or show the search path\n\
PROMPT\t\tChange the command prompt\n\
REN (RENAME)\tRename a file\n\
RD (RMDIR)\tDelete a subdirectory\n\
SET\t\tSet or show environment variables\n\
TIME\t\tSet or show the current system time\n\
TITLE\t\tSet the window title for the WCMD session\n\
TYPE\t\tType the contents of a text file\n\
VER\t\tShow the current version of WCMD\n\
VOL\t\tShow the volume label of a disk device\n\
EXIT\t\tClose down WCMD\n\n\
Enter HELP <command> for further information on any of the above commands\n"
}

230
programs/wcmd/Pt.rc Normal file
View File

@ -0,0 +1,230 @@
/*
* Wine command prompt
* Portuguese Language Support
*
* Copyright (C) 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
STRINGTABLE
{
WCMD_ATTRIB, "Ajuda do comando ATTRIB\n"
WCMD_CALL,
"CALL <arquivo_de_lote> é usado dentro de um arquivo de lote para executar\n\
comando de outro arquivo de lote. Quando o arquivo existe, o controle retorna\n\
ao arquivo que o chamou. O comando CALL pode passar parâmetros ao procedimento\n\
chamado.\n\
\n\
Mudannças no diretório padrão, variáveis de ambiente, etc, feitas dentro\n\
do procedimente chamado são herdados pelo chamador.\n"
WCMD_CD, "Ajuda do comando CD\n"
WCMD_CHDIR, "Ajuda do comando CHDIR\n"
WCMD_CLS, "CLS limpa a tela do console\n"
WCMD_COPY, "Ajuda do comando COPY\n"
WCMD_CTTY, "Ajuda do comando CTTY\n"
WCMD_DATE, "Ajuda do comando DATE\n"
WCMD_DEL, "Ajuda do comando DEL\n"
WCMD_DIR, "Ajuda do comando DIR\n"
WCMD_ECHO,
"ECHO <string> mostra a <string> no dispositivo terminal atual.\n\
\n\
ECHO ON ativa a exibição de todos os comandos subsequentes em um\n\
arquivo de lote no terminal antes deles serem executados.\n\
\n\
ECHO OFF desativa o efeito de um comando ECHO ON (ECHO é OFF por padrão).\n\
O comando ECHO OFF pode ser impedido de ser mostrado colocando-se um\n\
símbolo @ precedendo o mesmo.\n"
WCMD_ERASE, "Ajuda do comando ERASE\n"
WCMD_FOR,
"O comando FOR é usado para executar um comando a cada vez em\n\
um conjunto de arquivos.\n\
\n\
Sintaxe: FOR %variável IN (conjunto) DO comando\n\
\n\
No wcmd, não existe a necessidade de usar dois sinais % no \n\
comando FOR nos arquivos de lote.\n"
WCMD_GOTO,
"O comando GOTO transfere a execução para outra declaração dentro\n\
do arquivo de lote.\n\
\n\
O rótulo que será o destino do comando GOTO pode ter até 255 caracteres\n\
mas não pode incluir espaços (diferentemente de outros sistemas operacionais).\n\
Se dois ou mais rótulos forem identicos no arquivo de lote, o primeiro deles\n\
será sempre executado. A tentativa de usar o GOTO para um rótulo inexistente\n\
termina a execução do arquivo de lote.\n\
\n\
GOTO não tem efeito quando usando interativamente.\n"
WCMD_HELP, "Ajuda do comando HELP\n"
WCMD_IF,
"IF é usado para executar um comando condicionalmente.\n\
\n\
Sintaxe: IF [NOT] EXIST arquivo comando\n\
IF [NOT] texto1==texto2 comando\n\
IF [NOT] ERRORLEVEL número comando\n\
\n\
Na segunda forma do comando, texto1 e texto2 devem estar usando aspas.\n\
A comparação não diferencia maiúsculas de minusculas.\n"
WCMD_LABEL, "LABEL é usado para rotular um volume do disco. \n\
\n\
Sintaxe: LABEL [drive:]\n\
O comando LABEL irá aguardar que vc informe o novo rótulo para o drive\n\
especificado. Você pode mostrar o rótulo do disco com o comando VOL.\n"
WCMD_MD, "Ajuda do comando MD\n"
WCMD_MKDIR, "Ajuda do comando MKDIR\n"
WCMD_MOVE,
"MOVE realoca um arquivo ou diretório em um novo ponto no sistema de arquivos.\n\
\n\
Se o item sendo movido é um diretório então todos os arquivos e subdiretórios\n\
abaixo do item são movidos com o mesmo.\n\
\n\
MOVE falhará se o local antigo e o novo local estão em diferentes unidades.\n"
WCMD_PATH,
"PATH mostra ou permite mudar o caminho de procura de programas do wcmd.\n\
\n\
Digitando PATH mostrará a atual configuração do comando PATH (inicialmente este\n\
valor é especificado no arquivo wine.conf). Para mudar as configurações, digite\n\
novos valores no comando PATH.\n\
\n\
Também é possível modificar o comando PATH usando a variável de ambiente PATH,\n\
por exemplo:\n\
PATH %PATH%;c:\\temp\n"
WCMD_PAUSE,
"PAUSE mostra a seguinte mensagem na tela 'Pressione Enter para continuar'\n\
e aguarda que o usuário pressione a tecla Enter. Isto é útil principalmente\n\
em arquivos de lote para permitir ao usuário ler a saída de um comando anterior\n\
antes que a tela sofra um rolamento.\n"
WCMD_PROMPT,
"PROMPT configura o 'prompt' da linha de comando.\n\
\n\
O texto seguindo o comando PROMPT (e os espaços imediatamente depois)\n\
aparecem no começo da linha enquanto o wcmd está aguardando por comandos.\n\
\n\
Os seguintes caracteres tem um significado especial, conforme mostrado:\n\
\n\
$$ Cifrão ($) $_ Avanço de linha $b Símbolo pipe (|)\n\
$d Data atual $e Código de escape $g Sinal de maior (>)\n\
$l Sinal de menor (>) $n Unidade atual $p Caminho atual\n\
$q Sinal de igual (=) $t Hora atual $v Versão do wcmd\n\
\n\
Note que digitando o comando PROMPT sem parâmetros reconfigura o padrão,\n\
que é a unidade atual seguida de um sinal de maior (equivalente a um\n\
comando PROMPT $p$g).\n\
\n\
O 'prompt' também pode ser mudado alterando a variável PROMPT, assim,\n\
o comando 'SET PROMPT=texto' tem o mesmo efeito que 'PROMPT texto'\n"
WCMD_REM,
"Uma linha de comando iniciando com REM (seguindo de um espaço) não faz\n\
ação alguma, e os carateres usando são considerados comentários em um\n\
arquivo de lote\n"
WCMD_REN, "Ajuda do comando REN\n"
WCMD_RENAME, "Ajuda do comando RENAME\n"
WCMD_RD, "Ajuda do comando RD\n"
WCMD_RMDIR, "Ajuda do comando RMDIR\n"
WCMD_SET,
"SET mostra ou muda as varável de ambiente de wcmd.\n\
\n\
SET sem parêmtros mostra todas as varável de ambiente atuais\n\
\n\
Para criar ou modificar variável de ambiente, a sintaxe é:\n\
\n\
SET <variável>=<valor>\n\
\n\
sendo que <variável> e <valor> são textos. Não devem existir espaços\n\
em ambos os lados do sinal de igualdade, nem na varável nem no valor\n\
podem haver espaços.\n\
\n\
No Wine, o ambiente do sistema operacional é incluido no ambiente Win32,\n\
onde sempre haverá mais valores que em um sistema Win32 nativo. Note que\n\
não é possível afetar o ambiente do sistema operacional a partir do wcmd.\n"
WCMD_SHIFT,
"SHIFT é usado em arquivos de lote para remover um parâmetro que inicia a\n\
lista, assim então o parâmentro2 sobrepôe o parametro1 e assim por diante.\n\
Isto não tem efeito se chamado a partir da linha de comando.\n"
WCMD_TIME, "Ajuda do comando TIME\n"
WCMD_TITLE, "Configura o título da janela do wcmd, e a sintaxe é TITLE [texto]"
WCMD_TYPE,
"TYPE <arquivo> copia <arquvo> para o dispositivo console (ou outro, se\n\
redirecionado). Nehuma verificação é feita se o arquivo pode ser lido.\n"
WCMD_VERIFY,
"VERIFY é usado para configurar, limpar e testar o 'flag' de verificação. As\n\
formas válidas são>\n\
\n\
VERIFY ON Configura o flag\n\
VERIFY OFF Limpa o flag\n\
VERIFY Mostra ON ou OFF qdo apropriado.\n\
\n\
O flag de verificação não tem função no Wine.\n"
WCMD_VER,
"VER mostra a versão em execução do wcmd.\n"
WCMD_VOL, "Ajuda do comando VOL\n"
WCMD_EXIT,
"EXIT termina a sessão de comando atual e retorna ao sistema operacional\n\
ou shell que tenha invocado o wcmd.\n"
1000, "WCMD - os comando internos são:\n\
ATTRIB\t\tMostra ou troca atributos de arquivo DOS\n\
CALL\t\tInvoca um arquivo de lote dentro de outro\n\
CD (CHDIR)\tMuda o diretório padrão atual\n\
CLS\t\tLimpa a tela do console\n\
COPY\t\tCopia arquivos\n\
CTTY\t\tMuda o dispositivo de entrada/saída\n\
DATE\t\tMostra ou muda a data do sistema\n\
DEL (ERASE)\tApaga um arquivo ou conjunto de arquivos\n\
DIR\t\tMostra o conteúdo de um diretórios\n\
ECHO\t\tCopia texto diretamente na saída do console\n\
HELP\t\tMostra breves detalhes de um tópico\n\
MD (MKDIR)\tCria um subdiretório\n\
MOVE\t\tMove um arquivo, conjunto de arquivos ou uma árvore de diretórios\n\
PATH\t\tConfigira o caminho de procura\n\
PROMPT\t\tMuda o 'prompt' de comando\n\
REN (RENAME)\tRenomeia um arquivo\n\
RD (RMDIR)\tApaga um subdiretório\n\
SET\t\tConfigura ou mostra variáveis de ambiente\n\
TIME\t\tConfigura ou mostra a hora atual do sistema\n\
TITLE\t\tConfigura o título da janela de comando WCMD\n\
TYPE\t\tMostra o conteúdo de um arquivo texto\n\
VER\t\tMostra a versão atual do WCMD\n\
VOL\t\tMostra o rótulo do volume de uma unidade de disco\n\
EXIT\t\tFecha o WCMD\n\n\
Entre HELP <comando> para maiores informações sobre alguns dos comandos acima\n"
}

View File

@ -18,215 +18,11 @@
#include "wcmd.h" #include "wcmd.h"
STRINGTABLE #include "En.rc"
{ #include "Pt.rc"
WCMD_ATTRIB, "Help about ATTRIB\n"
WCMD_CALL,
"CALL <batchfilename> is used within a batch file to execute commands\n\
from another batch file. When the batch file exits, control returns to\n\
the file which called it. The CALL command may supply parameters to the\n\
called procedure.\n\
\n\
Changes to default directory, environment variables etc made within a\n\
called procedure are inherited by the caller.\n"
WCMD_CD, "Help about CD\n"
WCMD_CHDIR, "Help about CHDIR\n"
WCMD_CLS,
"CLS clears the console screen\n"
WCMD_COPY, "Help about COPY\n"
WCMD_CTTY, "Help about CTTY\n"
WCMD_DATE, "Help about DATE\n"
WCMD_DEL, "Help about DEL\n"
WCMD_DIR, "Help about DIR\n"
WCMD_ECHO,
"ECHO <string> displays <string> on the current terminal device.\n\
\n\
ECHO ON causes all subsequent commands in a batch file to be displayed\n\
on the terminal device before they are executed.\n\
\n\
ECHO OFF reverses the effect of a previous ECHO ON (ECHO is OFF by\n\
default). The ECHO OFF command can be prevented from displaying by\n\
preceding it with an @ sign.\n"
WCMD_ERASE, "Help about ERASE\n"
WCMD_FOR,
"The FOR command is used to execute a command for each of a set of files.\n\
\n\
Syntax: FOR %variable IN (set) DO command\n\
\n\
The requirement to double the % sign when using FOR in a batch file does\n\
not exist in wcmd.\n"
WCMD_GOTO,
"The GOTO command transfers execution to another statement within a\n\
batch file.\n\
\n\
The label which is the target of a GOTO may be up to 255 characters\n\
long but may not include spaces (this is different to other operating\n\
systems). If two or more identical labels exist in a batch file the\n\
first one will always be executed. Attempting to GOTO a non-existent\n\
label terminates the batch file execution.\n\
\n\
GOTO has no effect when used interactively.\n"
WCMD_HELP, "Help about HELP\n"
WCMD_IF,
"IF is used to conditionally execute a command.\n\
\n\
Syntax: IF [NOT] EXIST filename command\n\
IF [NOT] string1==string2 command\n\
IF [NOT] ERRORLEVEL number command\n\
\n\
In the second form of the command, string1 and string2 must be in double\n\
quotes. The comparison is not case-sensitive.\n"
WCMD_LABEL, "LABEL is used to set a disk volume label. \n\
\n\
Syntax: LABEL [drive:]\n\
The command will prompt you for the new volume label for the given drive.\n\
You can display the disk volume label with the VOL command.\n"
WCMD_MD, "Help about MD\n"
WCMD_MKDIR, "Help about MKDIR\n"
WCMD_MOVE,
"MOVE relocates a file or directory to a new point within the file system.\n\
\n\
If the item being moved is a directory then all the files and subdirectories\n\
below the item are moved as well.\n\
\n\
MOVE fails if the old and new locations are on different DOS drive letters.\n"
WCMD_PATH,
"PATH displays or changes the wcmd search path.\n\
\n\
Entering PATH will display the current PATH setting (initially this is\n\
the value given in your wine.conf file). To change the setting follow the\n\
PATH command with the new value.\n\
\n\
It is also possible to modify the PATH by using the PATH environment\n\
variable, for example:\n\
PATH %PATH%;c:\\temp \n"
WCMD_PAUSE,
"PAUSE displays a message on the screen 'Press Return key to continue'\n\
and waits for the user to press the Return key. It is mainly useful in\n\
batch files to allow the user to read the output of a previous command\n\
before it scrolls off the screen.\n"
WCMD_PROMPT,
"PROMPT sets the command-line prompt.\n\
\n\
The string following the PROMPT command (and the space immediately after)\n\
appears at the beginning of the line when wcmd is waiting for input.\n\
\n\
The following character strings have the special meaning shown:\n\
\n\
$$ Dollar sign $_ Linefeed $b Pipe sign (|)\n\
$d Current date $e Escape $g > sign\n\
$l > sign $n Current drive $p Current path\n\
$q Equal sign $t Current time $v wcmd version\n\
\n\
Note that entering the PROMPT command without a prompt-string resets the\n\
prompt to the default, which is the current drive letter followed by a\n\
greater-than (>) sign.\n\
\n\
The prompt can also be changed by altering the PROMPT environment variable,\n\
so the command 'SET PROMPT=text' has the same effect as 'PROMPT text'\n"
WCMD_REM,
"A command line beginning REM (followed by a space) performs no\n\
action, and can therefore be used as a comment in a batch file.\n"
WCMD_REN, "Help about REN\n"
WCMD_RENAME, "Help about RENAME\n"
WCMD_RD, "Help about RD\n"
WCMD_RMDIR, "Help about RMDIR\n"
WCMD_SET,
"SET displays or changes the wcmd environment variables.\n\
\n\
SET without parameters shows all of the current environment.\n\
\n\
To create or modify an environment variable the syntax is:\n\
\n\
SET <variable>=<value>\n\
\n\
where <variable> and <value> are character strings. There must be no\n\
spaces either side of the equals sign, nor can the variable or value\n\
have embedded spaces.\n\
\n\
Under Wine, the environment of the underlying operating system is\n\
included into the Win32 environment, there will generally therefore be\n\
many more values than in a native Win32 implementation. Note that it is\n\
not possible to affect the operating system environment from within wcmd.\n"
WCMD_SHIFT,
"SHIFT is used in a batch file to remove one parameter from the head of\n\
the list, so parameter 2 becomes parameter 1 and so on. It has no effect\n\
if called from the command line.\n"
WCMD_TIME, "Help about TIME\n"
WCMD_TITLE, "Sets the window title for the wcmd window, syntax TITLE [string]"
WCMD_TYPE,
"TYPE <filename> copies <filename> to the console device (or elsewhere\n\
if redirected). No check is made that the file is readable text.\n"
WCMD_VERIFY,
"VERIFY is used to set, clear or test the verify flag. Valid forms are:\n\
\n\
VERIFY ON Set the flag\n\
VERIFY OFF Clear the flag\n\
VERIFY Displays ON or OFF as appropriate.\n\
\n\
The verify flag has no function in Wine.\n"
WCMD_VER,
"VER displays the version of wcmd you are running\n"
WCMD_VOL, "Help about VOL\n"
WCMD_EXIT,
"EXIT terminates the current command session and returns\n\
to the operating system or shell from which you invoked wcmd.\n"
1000, "WCMD built-in commands are:\n\
ATTRIB\t\tShow or change DOS file attributes\n\
CALL\t\tInvoke a batch file from inside another\n\
CD (CHDIR)\tChange current default directory\n\
CLS\t\tClear the console screen\n\
COPY\t\tCopy file\n\
CTTY\t\tChange input/output device\n\
DATE\t\tShow or change the system date\n\
DEL (ERASE)\tDelete a file or set of files\n\
DIR\t\tList the contents of a directory\n\
ECHO\t\tCopy text directly to the console output\n\
HELP\t\tShow brief help details on a topic\n\
MD (MKDIR)\tCreate a subdirectory\n\
MOVE\t\tMove a file, set of files or directory tree\n\
PATH\t\tSet or show the search path\n\
PROMPT\t\tChange the command prompt\n\
REN (RENAME)\tRename a file\n\
RD (RMDIR)\tDelete a subdirectory\n\
SET\t\tSet or show environment variables\n\
TIME\t\tSet or show the current system time\n\
TITLE\t\tSet the window title for the WCMD session\n\
TYPE\t\tType the contents of a text file\n\
VER\t\tShow the current version of WCMD\n\
VOL\t\tShow the volume label of a disk device\n\
EXIT\t\tClose down WCMD\n\n\
Enter HELP <command> for further information on any of the above commands\n"
}
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
IDI_ICON1 ICON IDI_ICON1 ICON
{ {
'00 00 01 00 01 00 20 20 00 01 00 00 00 00 A8 08' '00 00 01 00 01 00 20 20 00 01 00 00 00 00 A8 08'

111
programs/winecfg/En.rc Normal file
View File

@ -0,0 +1,111 @@
/*
* WineCfg resources
* English Language Support
*
* Copyright 2002 Jaco Greeff
* Copyright 2003 Dimitrie O. Paun
* 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_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
IDD_GENERALCFG DIALOGEX 0, 0, 260, 250
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
COMBOBOX IDC_WINVER,83,153,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_DOSVER,83,172,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_WINELOOK,83,190,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Wine Version:",IDC_STATIC,119,17,45,8
LTEXT "CVS",IDC_WINEVER,169,17,56,8
LTEXT "Windows Version:",IDC_STATIC,17,155,58,8
LTEXT "Windows Look:",IDC_STATIC,17,193,58,8
LTEXT "DOS Version:",IDC_STATIC,17,173,57,8
CONTROL IDB_WINE,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,15,17,157,111, WS_EX_TRANSPARENT
LTEXT "http://www.winehq.com/",IDC_STATIC,119,31,106,8
GROUPBOX "Default Behaviour",IDC_STATIC,8,115,244,97
LTEXT "Wine provides the ability for Windows applications to mimic various Windows versions and styles",
IDC_STATIC,15,128,227,20
GROUPBOX "Information",IDC_STATIC,8,4,244,106
CTEXT "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.",
IDC_STATIC,119,44,124,59
END
IDD_APPCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "List2",IDC_LIST_APPS,"SysListView32",LVS_LIST |
LVS_NOLABELWRAP | WS_BORDER | WS_TABSTOP,16,39,226,108
GROUPBOX "Application Specific Setting",IDC_STATIC,8,4,244,151
LTEXT "These settings allow you to overwrite Wine default settings (as specified in other configuration tabs) on a per-application basis.",
IDC_STATIC,15,17,228,20
END
IDD_X11DRVCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_SYSCOLORS,100,41,40,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "Use a private color map",IDC_PRIVATEMAP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,62,91,10
CONTROL "Favor correctness over speed",IDC_PERFECTGRAPH,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,76,117,10
CONTROL "Use XFree DGA extension",IDC_XDGA,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,141,62,97,10
CONTROL "Use XFree Shm extension",IDC_XSHM,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,141,76,96,10
CONTROL "Enable Wine desktop",IDC_MANAGED,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,143,84,10
EDITTEXT IDC_DESKTOP_WIDTH,64,159,40,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,159,40,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX "Render Settings",IDC_STATIC,8,4,244,90
LTEXT "The driver color and render settings are used to optimise the way in which colors and applications are displayed.",
IDC_STATIC,15,17,228,22
LTEXT "Allocated system colors:",IDC_STATIC,17,43,76,8
GROUPBOX "Wine Desktop",IDC_STATIC,8,99,244,83
LTEXT "Wine can be setup to emulate a windows desktop, or can be run in ""Managed"" mode (default) where the default X11 windows manager/environment is resposible for placing the windows.",
IDC_STATIC,15,112,228,28
LTEXT "Desktop size:",IDC_DESKTOP_SIZE,17,161,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,161,8,8,WS_DISABLED
END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "Static",IDC_STATIC,8,4,244,157
CONTROL "Builtin (Wine)",IDC_RAD_BUILTIN,"Button", BS_AUTORADIOBUTTON | WS_GROUP,59,144,57,10
CONTROL "Native (Windows)",IDC_RAD_NATIVE,"Button", BS_AUTORADIOBUTTON,121,144,72,10
LTEXT "Libraries can be specified individually to be either builtin or native. A DLL entry specified as ""*"" pertains to all DLLs not specified explicitly.",
IDC_STATIC,15,17,228,27
CONTROL "List3",IDC_LIST_DLLS,"SysListView32",LVS_LIST |
LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER |
WS_TABSTOP,15,47,227,90
LTEXT "Load order:",IDC_STATIC,16,144,37,8
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINE_VERSION "CVS"
IDS_TAB_GENERAL "General"
IDS_TAB_DLLS "Libraries"
IDS_TAB_DRIVES "Drives"
END

109
programs/winecfg/Pt.rc Normal file
View File

@ -0,0 +1,109 @@
/*
* WineCfg resources
* Portuguese Language Support
*
* 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
#pragma code_page(1252)
IDD_GENERALCFG DIALOGEX 0, 0, 260, 250
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
COMBOBOX IDC_WINVER,83,153,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_DOSVER,83,172,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_WINELOOK,83,190,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Versão do Wine:",IDC_STATIC,119,17,45,8
LTEXT "CVS",IDC_WINEVER,169,17,56,8
LTEXT "Versão do Windows:",IDC_STATIC,17,155,58,8
LTEXT "Aparência do Windows:",IDC_STATIC,17,193,58,8
LTEXT "Versão do DOS:",IDC_STATIC,17,173,57,8
CONTROL IDB_WINE,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,15,17,157,111, WS_EX_TRANSPARENT
LTEXT "http://www.winehq.com/",IDC_STATIC,119,31,106,8
GROUPBOX "Comportamento padrão",IDC_STATIC,8,115,244,97
LTEXT "Wine providencia a aplicações Windows, a habilidade de se parecer a várias versões e estilos de Windows",
IDC_STATIC,15,128,227,20
GROUPBOX "Informação",IDC_STATIC,8,4,244,106
CTEXT "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.",
IDC_STATIC,119,44,124,59
END
IDD_APPCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "List2",IDC_LIST_APPS,"SysListView32",LVS_LIST |
LVS_NOLABELWRAP | WS_BORDER | WS_TABSTOP,16,39,226,108
GROUPBOX "Configurações especificas da aplicação",IDC_STATIC,8,4,244,151
LTEXT "Estas configurações permitem a você sobreescrever as configurações padrões do Wine (como especificado em outras guias de configuração) numa base por aplicação.",
IDC_STATIC,15,17,228,20
END
IDD_X11DRVCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_SYSCOLORS,100,41,40,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "Usar uma mapa privado de cores",IDC_PRIVATEMAP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,62,91,10
CONTROL "Favorecer perfeição sobre velocidade",IDC_PERFECTGRAPH,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,76,117,10
CONTROL "Usar extenção XFree DGA",IDC_XDGA,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,141,62,97,10
CONTROL "Usar extenção XFree Shm",IDC_XSHM,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,141,76,96,10
CONTROL "Habilitar 'Wine desktop'",IDC_MANAGED,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,143,84,10
EDITTEXT IDC_DESKTOP_WIDTH,64,159,40,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,159,40,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX "Configurações de renderização",IDC_STATIC,8,4,244,90
LTEXT "As configurações do driver de cores e renderização são usados para otimizar a forma em que as cores e aplicações são mostradas.",
IDC_STATIC,15,17,228,22
LTEXT "Alocar cores do sistema:",IDC_STATIC,17,43,76,8
GROUPBOX "Wine Desktop",IDC_STATIC,8,99,244,83
LTEXT "Wine pode ser configurado a emular a área de trabalho do windows, ou pode ser executado no modo ""Managed"" (padrão) onde o gerenciador/ambiente de janelas padrão do X11 é responsável pela manipulação das janelas.",
IDC_STATIC,15,112,228,28
LTEXT "Tamanho da área de trabalho:",IDC_DESKTOP_SIZE,17,161,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,161,8,8,WS_DISABLED
END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "Static",IDC_STATIC,8,4,244,157
CONTROL "Builtin (Wine)",IDC_RAD_BUILTIN,"Button", BS_AUTORADIOBUTTON | WS_GROUP,59,144,57,10
CONTROL "Native (Windows)",IDC_RAD_NATIVE,"Button", BS_AUTORADIOBUTTON,121,144,72,10
LTEXT "Bibliotecas podem ser especificadas individualmente a ser builtin ou native. Uma entrada de DLL especificada como ""*"" define todas as DLLs não especificadas explicitamente.",
IDC_STATIC,15,17,228,27
CONTROL "List3",IDC_LIST_DLLS,"SysListView32",LVS_LIST |
LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER |
WS_TABSTOP,15,47,227,90
LTEXT "Ordem de carga:",IDC_STATIC,16,144,37,8
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINE_VERSION "CVS"
IDS_TAB_GENERAL "Geral"
IDS_TAB_DLLS "Bibliotecas"
IDS_TAB_DRIVES "Unidades"
END

View File

@ -23,96 +23,12 @@
#include "winresrc.h" #include "winresrc.h"
#include "resource.h" #include "resource.h"
/* English (U.S.) resources */ #include "En.rc"
#include "Pt.rc"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#pragma code_page(1252) #pragma code_page(1252)
IDD_GENERALCFG DIALOGEX 0, 0, 260, 250
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
COMBOBOX IDC_WINVER,83,153,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_DOSVER,83,172,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_WINELOOK,83,190,158,56,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Wine Version:",IDC_STATIC,119,17,45,8
LTEXT "CVS",IDC_WINEVER,169,17,56,8
LTEXT "Windows Version:",IDC_STATIC,17,155,58,8
LTEXT "Windows Look:",IDC_STATIC,17,193,58,8
LTEXT "DOS Version:",IDC_STATIC,17,173,57,8
CONTROL IDB_WINE,IDC_STATIC,"Static",SS_BITMAP | SS_CENTERIMAGE |
SS_REALSIZEIMAGE | WS_BORDER,15,17,157,111, WS_EX_TRANSPARENT
LTEXT "http://www.winehq.com/",IDC_STATIC,119,31,106,8
GROUPBOX "Default Behaviour",IDC_STATIC,8,115,244,97
LTEXT "Wine provides the ability for Windows applications to mimic various Windows versions and styles",
IDC_STATIC,15,128,227,20
GROUPBOX "Information",IDC_STATIC,8,4,244,106
CTEXT "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.",
IDC_STATIC,119,44,124,59
END
IDD_APPCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "List2",IDC_LIST_APPS,"SysListView32",LVS_LIST |
LVS_NOLABELWRAP | WS_BORDER | WS_TABSTOP,16,39,226,108
GROUPBOX "Application Specific Setting",IDC_STATIC,8,4,244,151
LTEXT "These settings allow you to overwrite Wine default settings (as specified in other configuration tabs) on a per-application basis.",
IDC_STATIC,15,17,228,20
END
IDD_X11DRVCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_SYSCOLORS,100,41,40,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "Use a private color map",IDC_PRIVATEMAP,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,62,91,10
CONTROL "Favor correctness over speed",IDC_PERFECTGRAPH,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,76,117,10
CONTROL "Use XFree DGA extension",IDC_XDGA,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,141,62,97,10
CONTROL "Use XFree Shm extension",IDC_XSHM,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,141,76,96,10
CONTROL "Enable Wine desktop",IDC_MANAGED,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,17,143,84,10
EDITTEXT IDC_DESKTOP_WIDTH,64,159,40,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
EDITTEXT IDC_DESKTOP_HEIGHT,117,159,40,14,ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED
GROUPBOX "Render Settings",IDC_STATIC,8,4,244,90
LTEXT "The driver color and render settings are used to optimise the way in which colors and applications are displayed.",
IDC_STATIC,15,17,228,22
LTEXT "Allocated system colors:",IDC_STATIC,17,43,76,8
GROUPBOX "Wine Desktop",IDC_STATIC,8,99,244,83
LTEXT "Wine can be setup to emulate a windows desktop, or can be run in ""Managed"" mode (default) where the default X11 windows manager/environment is resposible for placing the windows.",
IDC_STATIC,15,112,228,28
LTEXT "Desktop size:",IDC_DESKTOP_SIZE,17,161,44,8,WS_DISABLED
LTEXT "X",IDC_DESKTOP_BY,108,161,8,8,WS_DISABLED
END
IDD_DLLCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "Static",IDC_STATIC,8,4,244,157
CONTROL "Builtin (Wine)",IDC_RAD_BUILTIN,"Button", BS_AUTORADIOBUTTON | WS_GROUP,59,144,57,10
CONTROL "Native (Windows)",IDC_RAD_NATIVE,"Button", BS_AUTORADIOBUTTON,121,144,72,10
LTEXT "Libraries can be specified individually to be either builtin or native. A DLL entry specified as ""*"" pertains to all DLLs not specified explicitly.",
IDC_STATIC,15,17,228,27
CONTROL "List3",IDC_LIST_DLLS,"SysListView32",LVS_LIST |
LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER |
WS_TABSTOP,15,47,227,90
LTEXT "Load order:",IDC_STATIC,16,144,37,8
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_WINE_VERSION "CVS"
IDS_TAB_GENERAL "General"
IDS_TAB_DLLS "Libraries"
IDS_TAB_DRIVES "Drives"
END
/* BINRES idb_wine.bmp */ /* BINRES idb_wine.bmp */
IDB_WINE BITMAP IDB_WINE BITMAP
{ {

View File

@ -0,0 +1,123 @@
/*
* Wineconsole
* Portuguese Language Support
*
* 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
STRINGTABLE
BEGIN
IDS_EDIT, "&Editar"
IDS_DEFAULT, "&Definir padrões"
IDS_PROPERTIES, "&Propriedades"
IDS_MARK, "&Marcar"
IDS_COPY, "&Copiar"
IDS_PASTE, "&Colar"
IDS_SELECTALL, "&Selecionar tudo"
IDS_SCROLL, "&Rolar"
IDS_SEARCH, "&Pesquisar"
IDS_FNT_DISPLAY, "Cada caracter tem %ld pixels de largura por %ld pixels de altura"
IDS_FNT_PREVIEW_1, "Este é um teste"
IDS_FNT_PREVIEW_2, ""
IDS_DLG_TIT_DEFAULT, "Setup - configurações padrões"
IDS_DLG_TIT_CURRENT, "Setup - configurações atuais"
IDS_DLG_TIT_ERROR, "Erro de configuração"
IDS_DLG_ERR_SBWINSIZE, "Tamanho do buffer de tela deve ser maior ou igual ao da janela"
END
IDD_OPTION DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION " Opções "
FONT 8, "Helv"
{
GROUPBOX "Cursor", -1, 10, 11, 60, 44, BS_GROUPBOX
AUTORADIOBUTTON "&Pequeno", IDC_OPT_CURSOR_SMALL, 14, 23, 44, 10, WS_TABSTOP
AUTORADIOBUTTON "&Médio", IDC_OPT_CURSOR_MEDIUM, 14, 33, 44, 10, WS_TABSTOP
AUTORADIOBUTTON "&Grande", IDC_OPT_CURSOR_LARGE, 14, 43, 44, 10, WS_TABSTOP
GROUPBOX "Controle", -1, 75, 11, 125, 44, BS_GROUPBOX
LTEXT "Popup menu", -1, 79, 23, 40, 10
AUTOCHECKBOX "&Controle", IDC_OPT_CONF_CTRL, 129, 23, 60, 10, WS_TABSTOP
AUTOCHECKBOX "&Rotação", IDC_OPT_CONF_SHIFT, 129, 33, 60, 10, WS_TABSTOP
LTEXT "Edição rápida", -1, 79, 43, 50, 10
AUTOCHECKBOX "&Habilitado", IDC_OPT_QUICK_EDIT, 129, 43, 60, 10, WS_TABSTOP
GROUPBOX "Histórico de comandos", -1, 10, 57, 190, 35, BS_GROUPBOX
LTEXT "&Número de comandos rechamados :", -1, 14, 67, 78, 18
EDITTEXT IDC_OPT_HIST_SIZE, 92, 69, 31, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
CONTROL "", IDC_OPT_HIST_SIZE_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
AUTOCHECKBOX "&Remover duplicados", IDC_OPT_HIST_NODOUBLE, 130, 67, 50, 18, WS_TABSTOP|BS_MULTILINE
}
IDD_FONT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION " Fonte "
FONT 8, "Helv"
{
LTEXT "&Fonte", -1, 5, 5, 24, 8
LISTBOX IDC_FNT_LIST_FONT, 5, 18, 90, 42, LBS_SORT|WS_VSCROLL
LTEXT "&Cores", -1, 100, 5, 50, 8
CONTROL "", IDC_FNT_COLOR_FG, "WineConColorPreview", 0L, 100, 18, 48, 16
CONTROL "", IDC_FNT_COLOR_BK, "WineConColorPreview", 0L, 100, 40, 48, 16
LTEXT "&Tamanho", -1, 158, 5, 40, 8
LISTBOX IDC_FNT_LIST_SIZE, 158, 18, 40, 60, WS_VSCROLL
CONTROL "", IDC_FNT_PREVIEW, "WineConFontPreview", 0L, 5, 60, 109, 40
LTEXT "", IDC_FNT_FONT_INFO, 128, 76, 80, 18
}
IDD_CONFIG DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 140, 105
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION " Configuração "
FONT 8, "Helv"
{
GROUPBOX "Buffer zone", -1, 10, 11, 100, 42, BS_GROUPBOX
LTEXT "&Largura :", -1, 14, 25, 54, 9
EDITTEXT IDC_CNF_SB_WIDTH, 68, 23, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
CONTROL "", IDC_CNF_SB_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
LTEXT "&Altura :", -1, 14, 39, 54, 9
EDITTEXT IDC_CNF_SB_HEIGHT, 68, 37, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
CONTROL "", IDC_CNF_SB_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
GROUPBOX "Window size", -1, 10, 55, 100, 42
LTEXT "L&argura :", -1, 14, 69, 54, 9
EDITTEXT IDC_CNF_WIN_WIDTH, 68, 67, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
CONTROL "", IDC_CNF_WIN_WIDTH_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
LTEXT "A&ltura :", -1, 14, 83, 54, 9
EDITTEXT IDC_CNF_WIN_HEIGHT, 68, 81, 36, 12, WS_TABSTOP|WS_BORDER|ES_NUMBER
CONTROL "", IDC_CNF_WIN_HEIGHT_UD, "msctls_updown32", UDS_SETBUDDYINT|UDS_ALIGNRIGHT|UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_NOTHOUSANDS, 0, 0, 0, 0
GROUPBOX "Finalizar programa", -1, 115, 11, 80, 42, BS_GROUPBOX
AUTOCHECKBOX "&Fechar o console", IDC_CNF_CLOSE_EXIT, 119, 25, 75, 20, WS_TABSTOP
GROUPBOX "Edição", -1, 115, 55, 80, 42
COMBOBOX IDC_CNF_EDITION_MODE, 119, 69, 75, 20, CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP
}
IDD_SAVE_SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 20, 20, 140, 60
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Parâmetros do console"
FONT 8, "Helv"
{
GROUPBOX "", -1, 10, 10, 120, 31, BS_GROUPBOX
AUTORADIOBUTTON "Manter configurações nas sessões seguintes", IDC_SAV_SAVE, 14, 15, 110, 10, WS_TABSTOP
AUTORADIOBUTTON "Modificar somente sessão atual", IDC_SAV_SESSION, 14, 27, 110, 10, WS_TABSTOP
PUSHBUTTON "OK", IDOK, 20, 45, 35, 12
PUSHBUTTON "Cancelar", IDCANCEL, 65, 45, 35, 12
}

View File

@ -26,5 +26,6 @@
#include "wineconsole_Fr.rc" #include "wineconsole_Fr.rc"
#include "wineconsole_De.rc" #include "wineconsole_De.rc"
#include "wineconsole_Hu.rc" #include "wineconsole_Hu.rc"
#include "wineconsole_Pt.rc"
#include "wineconsole_Ru.rc" #include "wineconsole_Ru.rc"
#include "wineconsole_Zh.rc" #include "wineconsole_Zh.rc"

166
programs/winefile/Pt.rc Normal file
View File

@ -0,0 +1,166 @@
/*
* WineFile
* Portuguese Language Support
*
* 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
#pragma code_page(850)
/* Menu */
IDM_WINEFILE MENU FIXED IMPURE
{
POPUP "&Arquivo" {
MENUITEM "A&brir\tEnter" , 101
MENUITEM "&Mover...\tF7" , 106
MENUITEM "&Copiar...\tF8" , 107
MENUITEM "&In Clipboard...\tF9" , 118
MENUITEM "E&xcluir\tDel" , 108
MENUITEM "Re&nomear..." , 109
MENUITEM "&Propriedades...\tAlt+Enter" , ID_EDIT_PROPERTIES
MENUITEM SEPARATOR
MENUITEM "C&omprimir..." , 119
MENUITEM "Descomprimir..." , 120
MENUITEM SEPARATOR
MENUITEM "Execu&tar..." , ID_EXECUTE
MENUITEM "&Imprimir..." , 102
MENUITEM "A&ssociar..." , 103
MENUITEM SEPARATOR
MENUITEM "Cri&ar pasta..." , 111
MENUITEM "P&esquisar..." , 104
MENUITEM "Selecionar arqui&vos..." , 116
MENUITEM SEPARATOR
#ifndef _NO_EXTENSIONS
MENUITEM "Sai&r\tAlt+X" , ID_FILE_EXIT
#else
MENUITEM "Sai&r", ID_FILE_EXIT
#endif
}
POPUP "&Disco" {
MENUITEM "&Copiar disco..." , 201
MENUITEM "&Nomear disco..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formatar disco..." , 203
#ifdef _WIN95
MENUITEM "&Gerar disco de sistema...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
MENUITEM "Conecta&r unidade de rede" , 252
MENUITEM "&Desconectar unidade de rede" , 253
MENUITEM SEPARATOR
MENUITEM "C&ompartilhar como..." , 254
MENUITEM "&Remover compartilhamento..." , 255
MENUITEM SEPARATOR
MENUITEM "Selecionar &unidade..." , 251
}
POPUP "Á&rvore" {
MENUITEM "&Próximo nível\t+" , 301
MENUITEM "Expandi&r pasta\t*" , 302
MENUITEM "Expandir &tudo\tStrg+*" , 303
MENUITEM "Recolher p&asta\t-" , 304
MENUITEM SEPARATOR
MENUITEM "&Indicar subníveis" , 505
}
POPUP "&Exibir" {
MENUITEM "Á&rvore e pasta" , 413
MENUITEM "S&omente árvore" , 411
MENUITEM "So&mente pasta" , 412
MENUITEM SEPARATOR
MENUITEM "&Dividir" , 414
MENUITEM SEPARATOR
MENUITEM "&Nome" , ID_VIEW_NAME
MENUITEM "&Todos os delalhes" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
MENUITEM "D&etalhes parciais..." , ID_VIEW_SELECTED_ATTRIBUTES
MENUITEM SEPARATOR
MENUITEM "&Classificar por nome" , 404
MENUITEM "C&lassificar por tipo" , 405
MENUITEM "Cl&assificar por tamanho" , 406
MENUITEM "Cla&ssificar por &data" , 407
MENUITEM SEPARATOR
MENUITEM "Classificar &por..." , 409
}
POPUP "&Opções" {
MENUITEM "&Confirmação..." , -1
MENUITEM "&Fonte..." , -1
MENUITEM "&Personalizar barra de ferramentas..." , -1
MENUITEM SEPARATOR
MENUITEM "Barra d&e ferramentas" , ID_VIEW_TOOL_BAR, CHECKED
MENUITEM "&Barra de unidades" , ID_VIEW_DRIVE_BAR, CHECKED
MENUITEM "B&arra de &status" , ID_VIEW_STATUSBAR, CHECKED
#ifndef _NO_EXTENSIONS
MENUITEM "Tela Cheia\tCtrl+Shift+S" , ID_VIEW_FULLSCREEN
#endif
MENUITEM SEPARATOR
MENUITEM "&Minimizar durante o uso" , -1 /* FIXME */
MENUITEM "&Salvar configurações ao sair" , 511 /* FIXME */
}
POPUP "&Segurança" {
MENUITEM "&Acesso..." , 605
MENUITEM "&Logging..." , 606
MENUITEM "&Owner..." , 607
}
POPUP "&Janela" {
MENUITEM "&Nova janela" , ID_WINDOW_NEW
MENUITEM "&Em cascata\tCtrl+F5" , ID_WINDOW_CASCADE
MENUITEM "Lado a lado &horizontalmente" , ID_WINDOW_TILE_HORZ
MENUITEM "Lado a lado &verticalmente\tCtrl+F4" , ID_WINDOW_TILE_VERT
#ifndef _NO_EXTENSIONS
MENUITEM "Organizar automaticalmente" , ID_WINDOW_AUTOSORT
#endif
MENUITEM "&Organizar ícones" , ID_WINDOW_ARRANGE
MENUITEM "&Atualizar\tF5" , ID_REFRESH
}
POPUP "Aj&uda" {
MENUITEM "&Tópicos da ajuda\tF1" , ID_HELP
MENUITEM "Pesquisar..." , ID_HELP
MENUITEM "&Usando a ajuda" , ID_HELP_USING
MENUITEM SEPARATOR
POPUP "&Informações..." {
MENUITEM "Sobre o &Wine..." , ID_ABOUT_WINE
/*
* MENUITEM "&License..." ID_LICENSE
* MENUITEM "&NO WARRANTY" ID_NO_WARRANTY
*/
}
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Executar"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Comando:" , -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "&Minimizado" , 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK" , 1, 158, 6, 47, 14
PUSHBUTTON "Cancelar" , 2, 158, 23, 47, 14
PUSHBUTTON "&Ajuda" , 254, 158, 43, 47, 14
}

View File

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "windows.h" #include <windows.h>
#include "resource.h" #include "resource.h"
/* define language neutral resources */ /* define language neutral resources */
@ -31,5 +31,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "En.rc" #include "En.rc"
#include "Fr.rc" #include "Fr.rc"
#include "Hu.rc" #include "Hu.rc"
#include "Pt.rc"
#include "Ru.rc" #include "Ru.rc"
#include "Zh.rc" #include "Zh.rc"

103
programs/winemine/En.rc Normal file
View File

@ -0,0 +1,103 @@
/*
* WineMine
* English Language Support
*
* Copyright 2000 Joshua Thielen <jt85296@ltu.edu>
* 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_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE {
IDS_APPNAME, "WineMine"
}
MENU_WINEMINE MENU DISCARDABLE
{
POPUP "&Options" {
MENUITEM "&New", IDM_NEW
MENUITEM SEPARATOR
MENUITEM "&Mark Question", IDM_MARKQ
MENUITEM SEPARATOR
MENUITEM "&Beginner", IDM_BEGINNER
MENUITEM "&Advanced", IDM_ADVANCED
MENUITEM "&Expert", IDM_EXPERT
MENUITEM "&Custom", IDM_CUSTOM
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
}
POPUP "&Info" {
MENUITEM "&Fastest Times", IDM_TIMES
MENUITEM "&About", IDM_ABOUT
}
}
DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Fastest Times"
{
GROUPBOX "Fastest Times", IDIGNORE, 10, 10, 140, 45
LTEXT "Beginner", IDIGNORE, 20, 20, 40, 8
LTEXT "Advanced", IDIGNORE, 20, 30, 40, 8
LTEXT "Expert", IDIGNORE, 20, 40, 40, 8
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
LTEXT "", IDC_NAME1, 90, 20, 55, 8
LTEXT "", IDC_NAME2, 90, 30, 55, 8
LTEXT "", IDC_NAME3, 90, 40, 55, 8
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
}
DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Congratulations!"
{
LTEXT "Please enter your name", IDIGNORE, 10, 10, 150, 10
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
}
DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Custom Game"
{
LTEXT "Rows", IDIGNORE, 5, 5, 30, 10
LTEXT "Cols", IDIGNORE, 5, 35, 30, 10
LTEXT "Mines", IDIGNORE, 5, 65, 30, 10
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Cancel", IDCANCEL, 40, 50, 50, 15
}
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 145, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "About"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 35, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 100, 10
LTEXT "under the Wine license", IDIGNORE, 35, 35, 100, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 55, 15
}

102
programs/winemine/Pt.rc Normal file
View File

@ -0,0 +1,102 @@
/*
* WineMine
* Portuguese Language Support
*
* 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
STRINGTABLE {
IDS_APPNAME, "WineMine"
}
MENU_WINEMINE MENU DISCARDABLE
{
POPUP "&Opções" {
MENUITEM "&Novo", IDM_NEW
MENUITEM SEPARATOR
MENUITEM "&Marcas", IDM_MARKQ
MENUITEM SEPARATOR
MENUITEM "&Principiante", IDM_BEGINNER
MENUITEM "&Intermediário", IDM_ADVANCED
MENUITEM "&Experiente", IDM_EXPERT
MENUITEM "Personali&zar...", IDM_CUSTOM
MENUITEM SEPARATOR
MENUITEM "Sai&r", IDM_EXIT
}
POPUP "Aj&uda" {
MENUITEM "&Melhores tempos", IDM_TIMES
MENUITEM "&Sobre", IDM_ABOUT
}
}
DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Melhores tempos"
{
GROUPBOX "Melhores tempos", IDIGNORE, 10, 10, 140, 45
LTEXT "Principiante", IDIGNORE, 20, 20, 40, 8
LTEXT "Intermediário", IDIGNORE, 20, 30, 40, 8
LTEXT "Experiente", IDIGNORE, 20, 40, 40, 8
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
LTEXT "", IDC_NAME1, 90, 20, 55, 8
LTEXT "", IDC_NAME2, 90, 30, 55, 8
LTEXT "", IDC_NAME3, 90, 40, 55, 8
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
}
DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Congratulações!"
{
LTEXT "Por favor, entre o seu nome", IDIGNORE, 10, 10, 150, 10
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
}
DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Jogo personalizado"
{
LTEXT "Linhas", IDIGNORE, 5, 5, 30, 10
LTEXT "Colunas", IDIGNORE, 5, 35, 30, 10
LTEXT "Minas", IDIGNORE, 5, 65, 30, 10
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Cancelar", IDCANCEL, 40, 50, 50, 15
}
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 145, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Sobre"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 35, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 100, 10
LTEXT "conforme a licença do Wine", IDIGNORE, 35, 35, 100, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 55, 15
}

View File

@ -2,6 +2,7 @@
* WineMine (rsrc.rc) * WineMine (rsrc.rc)
* *
* Copyright 2000 Joshua Thielen <jt85296@ltu.edu> * Copyright 2000 Joshua Thielen <jt85296@ltu.edu>
* Copyright 2003 Marcelo Duarte
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -21,6 +22,11 @@
#include <windows.h> #include <windows.h>
#include "resource.h" #include "resource.h"
#include "En.rc"
#include "Pt.rc"
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
WINEMINE ICON MOVEABLE WINEMINE ICON MOVEABLE
{ {
'00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02' '00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
@ -464,88 +470,3 @@ MINES BITMAP MOVEABLE
'00 00 00 00 00 0F 00 00 00 00 00 00 00 0F 00 00' '00 00 00 00 00 0F 00 00 00 00 00 00 00 0F 00 00'
'00 00 00 00 00 0F' '00 00 00 00 00 0F'
} }
/* English-US Resources */
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE {
IDS_APPNAME, "WineMine"
}
MENU_WINEMINE MENU DISCARDABLE
{
POPUP "&Options" {
MENUITEM "&New", IDM_NEW
MENUITEM SEPARATOR
MENUITEM "&Mark Question", IDM_MARKQ
MENUITEM SEPARATOR
MENUITEM "&Beginner", IDM_BEGINNER
MENUITEM "&Advanced", IDM_ADVANCED
MENUITEM "&Expert", IDM_EXPERT
MENUITEM "&Custom", IDM_CUSTOM
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
}
POPUP "&Info" {
MENUITEM "&Fastest Times", IDM_TIMES
MENUITEM "&About", IDM_ABOUT
}
}
DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Fastest Times"
{
GROUPBOX "Fastest Times", IDIGNORE, 10, 10, 140, 45
LTEXT "Beginner", IDIGNORE, 20, 20, 40, 8
LTEXT "Advanced", IDIGNORE, 20, 30, 40, 8
LTEXT "Expert", IDIGNORE, 20, 40, 40, 8
LTEXT "999", IDC_TIME1, 70, 20, 15, 8
LTEXT "999", IDC_TIME2, 70, 30, 15, 8
LTEXT "999", IDC_TIME3, 70, 40, 15, 8
LTEXT "", IDC_NAME1, 90, 20, 55, 8
LTEXT "", IDC_NAME2, 90, 30, 55, 8
LTEXT "", IDC_NAME3, 90, 40, 55, 8
DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15
}
DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Congratulations!"
{
LTEXT "Please enter your name", IDIGNORE, 10, 10, 150, 10
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
DEFPUSHBUTTON "Ok", IDOK, 60, 40, 40, 15
}
DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Custom Game"
{
LTEXT "Rows", IDIGNORE, 5, 5, 30, 10
LTEXT "Cols", IDIGNORE, 5, 35, 30, 10
LTEXT "Mines", IDIGNORE, 5, 65, 30, 10
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
DEFPUSHBUTTON "Ok", IDOK, 40, 30, 50, 15
PUSHBUTTON "Cancel", IDCANCEL, 40, 50, 50, 15
}
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 145, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "About"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 35, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 100, 10
LTEXT "under the Wine license", IDIGNORE, 35, 35, 100, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "Ok", IDOK, 50, 60, 55, 15
}
/* End of English-US Resources */

View File

@ -1,9 +1,11 @@
/* /*
* Help Viewer * Help Viewer
* Portuguese Language Support
* *
* Copyright 1996 Ulrich Schmid * Copyright 1996 Ulrich Schmid
* Portuguese translation by Gustavo Junior Alves <alves@correionet.com.br> * Portuguese translation by Gustavo Junior Alves <alves@correionet.com.br>
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr> * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
* Copyright 2003 Marcelo Duarte
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -20,31 +22,32 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
/* Menu */ LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
MAIN_MENU MENU LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT /* Menu */
MAIN_MENU MENU
{ {
POPUP "&Arquiv" { POPUP "&Arquivo" {
MENUITEM "A&brir...", MNID_FILE_OPEN MENUITEM "&Abrir...", MNID_FILE_OPEN
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Imprimir", MNID_FILE_PRINT MENUITEM "&Imprimir", MNID_FILE_PRINT
MENUITEM "&Configurar Impressora...", MNID_FILE_SETUP MENUITEM "&Configurar Impressora...", MNID_FILE_SETUP
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Sair", MNID_FILE_EXIT MENUITEM "Sai&r", MNID_FILE_EXIT
} }
POPUP "&Editar" { POPUP "&Editar" {
MENUITEM "&Copiar...", MNID_EDIT_COPYDLG MENUITEM "&Copiar...", MNID_EDIT_COPYDLG
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Anotar...", MNID_EDIT_ANNOTATE MENUITEM "&Anotar...", MNID_EDIT_ANNOTATE
} }
POPUP "&Marcador" { POPUP "In&dicador" {
MENUITEM "&Definir...", MNID_BKMK_DEFINE MENUITEM "&Definir...", MNID_BKMK_DEFINE
} }
POPUP "&Ajuda" { POPUP "Aj&uda" {
MENUITEM "Ajuda &na ajuda", MNID_HELP_HELPON MENUITEM "Ajuda &na ajuda", MNID_HELP_HELPON
MENUITEM "Sempre &visível", MNID_HELP_HELPTOP MENUITEM "Sempre &visível", MNID_HELP_HELPTOP
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Info...", MNID_HELP_ABOUT MENUITEM "&Informações...", MNID_HELP_ABOUT
#ifdef WINELIB #ifdef WINELIB
MENUITEM "&Sobre WINE", MNID_HELP_WINE MENUITEM "&Sobre WINE", MNID_HELP_WINE
#endif #endif
@ -53,19 +56,19 @@ MAIN_MENU MENU LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
/* Strings */ /* Strings */
STRINGTABLE DISCARDABLE LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE
{ {
STID_WINE_HELP, "Ajuda WINE" STID_WINE_HELP, "Ajuda WINE"
STID_WHERROR, "ERRO" STID_WHERROR, "ERRO"
STID_WARNING, "AVISO" STID_WARNING, "AVISO"
STID_INFO, "Informaçãi" STID_INFO, "Informação"
STID_NOT_IMPLEMENTED, "Não implementado" STID_NOT_IMPLEMENTED, "Não implementado"
STID_HLPFILE_ERROR_s, "Foi encontrado um erro enquanto lia `%s'" STID_HLPFILE_ERROR_s, "Erro encontrado na leitura do arquivo de ajuda '%s'"
STID_CONTENTS, "&Conteúdo" STID_CONTENTS, "&Conteúdo"
STID_SEARCH, "&Procurar" STID_SEARCH, "&Procurar"
STID_BACK, "&Voltar" STID_BACK, "&Voltar"
STID_HISTORY, "&Histórico" STID_HISTORY, "&Histórico"
STID_TOPICS, "&Topics" STID_TOPICS, "&Tópicos"
STID_ALL_FILES, "Todos os arquivo (*.*)" STID_ALL_FILES, "Todos os arquivos (*.*)"
STID_HELP_FILES_HLP, "Arquivos de ajuda (*.hlp)" STID_HELP_FILES_HLP, "Arquivos de ajuda (*.hlp)"
} }

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "windows.h" #include <windows.h>
#include "winhelp.h" #include "winhelp.h"
#include "winhelp_res.h" #include "winhelp_res.h"