mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 16:20:37 +00:00
636e39eb03
svn path=/trunk/; revision=8502
155 lines
4.8 KiB
Text
155 lines
4.8 KiB
Text
/*
|
|
* WineCalc (En.rc)
|
|
*
|
|
* Copyright 2003 James Briggs
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#include "windows.h"
|
|
#include "resource.h"
|
|
#include "winecalc.h"
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
{
|
|
IDS_APPNAME, "GNU Calculator"
|
|
|
|
IDS_COPYRIGHT1, "GNU Calculator 5.0. Licensed under LGPL 2"
|
|
IDS_COPYRIGHT2 "Copyright 2003, James Briggs"
|
|
IDS_COPYRIGHT3 "San Jose, California, USA"
|
|
IDS_COPYRIGHT4 "james@ActionMessage.com"
|
|
IDS_COPYRIGHT5 "http://www.ActionMessage.com/winecalc/"
|
|
|
|
IDS_BTN_BACKSPACE, "Backspace"
|
|
IDS_BTN_CLEAR_ENTRY, "CE"
|
|
IDS_BTN_CLEAR_ALL, "C"
|
|
IDS_BTN_MEM_CLEAR, "MC"
|
|
IDS_BTN_MEM_RECALL, "MR"
|
|
IDS_BTN_MEM_STORE, "MS"
|
|
IDS_BTN_MEM_PLUS, "M+"
|
|
IDS_BTN_MEM_STATUS_M, "M"
|
|
IDS_BTN_SQRT, "sqrt"
|
|
IDS_ERR_INVALID_INPUT, "Invalid input for function."
|
|
IDS_ERR_DIVIDE_BY_ZERO, "Cannot divide by zero."
|
|
IDS_ERR_UNDEFINED, "Result of function is undefined."
|
|
}
|
|
|
|
MAIN_MENU MENU DISCARDABLE
|
|
{
|
|
POPUP "&Edit" {
|
|
MENUITEM "&Copy Ctrl+C", IDM_COPY
|
|
MENUITEM "&Paste Ctrl+V", IDM_PASTE
|
|
}
|
|
POPUP "&View" {
|
|
MENUITEM "Standard", IDM_MODE_STANDARD
|
|
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
|
|
}
|
|
POPUP "&Help" {
|
|
MENUITEM "Help Topics", IDM_HELP_TOPICS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "About Calculator", IDM_ABOUT
|
|
}
|
|
}
|
|
|
|
SCIMS_MENU MENU DISCARDABLE
|
|
{
|
|
POPUP "&Edit" {
|
|
MENUITEM "&Copy Ctrl+C", IDM_COPY
|
|
MENUITEM "&Paste Ctrl+V", IDM_PASTE
|
|
}
|
|
POPUP "&View" {
|
|
MENUITEM "Standard", IDM_MODE_STANDARD
|
|
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
|
|
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
|
|
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
|
|
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Degrees\tF2", ID_CALC_MS_DEGREES
|
|
MENUITEM "Radians\tF3", ID_CALC_MS_RADIANS
|
|
MENUITEM "Grads\tF4", ID_CALC_MS_GRADS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
|
|
}
|
|
POPUP "&Help" {
|
|
MENUITEM "Help Topics", IDM_HELP_TOPICS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "About Calculator", IDM_ABOUT
|
|
}
|
|
}
|
|
|
|
SCIWS_MENU MENU DISCARDABLE
|
|
{
|
|
POPUP "&Edit" {
|
|
MENUITEM "&Copy Ctrl+C", IDM_COPY
|
|
MENUITEM "&Paste Ctrl+V", IDM_PASTE
|
|
}
|
|
POPUP "&View" {
|
|
MENUITEM "Standard", IDM_MODE_STANDARD
|
|
MENUITEM "Scientific", IDM_MODE_SCIENTIFIC
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Hex\tF5", ID_CALC_NS_HEX
|
|
MENUITEM "Decimal\tF6", ID_CALC_NS_DEC
|
|
MENUITEM "Octal\tF7", ID_CALC_NS_OCT
|
|
MENUITEM "Binary\tF8", ID_CALC_NS_BIN
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Qword\tF12", ID_CALC_WS_QWORD
|
|
MENUITEM "Dword\tF2", ID_CALC_WS_DWORD
|
|
MENUITEM "Word\tF3", ID_CALC_WS_WORD
|
|
MENUITEM "Byte\tF4", ID_CALC_WS_BYTE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Digit Grouping", IDM_DIGIT_GROUPING
|
|
}
|
|
POPUP "&Help" {
|
|
MENUITEM "Help Topics", IDM_HELP_TOPICS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "About Calculator", IDM_ABOUT
|
|
}
|
|
}
|
|
|
|
MAIN_MENU ACCELERATORS
|
|
BEGIN
|
|
VK_F1, IDV_HELP, VIRTKEY
|
|
END
|
|
|
|
DLG_ABOUT DIALOG 12,0,120,82
|
|
CAPTION "About GNU winecalc"
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK", IDOK, 42, 60, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
END
|
|
|
|
WHATS_THIS_MENU MENU DISCARDABLE
|
|
{
|
|
POPUP "" {
|
|
MENUITEM "What's This?", IDM_WHATS_THIS
|
|
}
|
|
}
|
|
|
|
DLG_STATS DIALOG 12,0,125,78
|
|
CAPTION "Statistics Box"
|
|
FONT 9, "Tahoma"
|
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE
|
|
BEGIN
|
|
DEFPUSHBUTTON "&RET", ID_STATS_RET, 4, 52, 25, 13, WS_TABSTOP | WS_GROUP
|
|
PUSHBUTTON "&LOAD", ID_STATS_LOAD, 34, 52, 25, 13, WS_TABSTOP | WS_GROUP
|
|
PUSHBUTTON "&CD" ID_STATS_CD, 64, 52, 25, 13, WS_TABSTOP | WS_GROUP
|
|
PUSHBUTTON "C&AD", ID_STATS_CAD, 94, 52, 25, 13, WS_TABSTOP | WS_GROUP
|
|
END
|