mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[CALC] Added "Minute of arc" and "Second of arc" to the "Angles" units. CORE-5939
This commit is contained in:
parent
dcea9e73c6
commit
e5c8047e3d
27 changed files with 64 additions and 8 deletions
|
@ -64,13 +64,17 @@ typedef struct {
|
|||
{ 0, NULL, NULL },
|
||||
|
||||
/*
|
||||
1 gradian = 0.9 deg
|
||||
1 radian = 57.29577951308233 deg
|
||||
1 arcminute ....... = 1/60 deg
|
||||
1 arcsecond ....... = 1/3600 deg
|
||||
1 gradian ......... = 0.9 deg
|
||||
1 radian .......... = 57.29577951308233 deg
|
||||
*/
|
||||
static const conv_t conv_ANGLE[] = {
|
||||
DECLARE_CONV_UNIT(ANGLE, DEGREES, "$", "$")
|
||||
DECLARE_CONV_UNIT(ANGLE, GRADIANS, "$*0.9", "$/0.9")
|
||||
DECLARE_CONV_UNIT(ANGLE, RADIANS, "$/P*180", "$*P/180")
|
||||
DECLARE_CONV_UNIT(ANGLE, ARCMINUTES, "$/60", "$*60")
|
||||
DECLARE_CONV_UNIT(ANGLE, ARCSECONDS, "$/3600", "$*3600")
|
||||
DECLARE_CONV_UNIT(ANGLE, DEGREES, "$", "$")
|
||||
DECLARE_CONV_UNIT(ANGLE, GRADIANS, "$*0.9", "$/0.9")
|
||||
DECLARE_CONV_UNIT(ANGLE, RADIANS, "$/P*180", "$*P/180")
|
||||
DECLARE_CONV_END
|
||||
};
|
||||
|
||||
|
|
|
@ -435,6 +435,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Градуси"
|
||||
IDS_ANGLE_GRADIANS "Гради"
|
||||
IDS_ANGLE_RADIANS "Радиани"
|
||||
|
|
|
@ -434,6 +434,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Stupně"
|
||||
IDS_ANGLE_GRADIANS "Grady"
|
||||
IDS_ANGLE_RADIANS "Radiány"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Winkeltypen */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Grad"
|
||||
IDS_ANGLE_GRADIANS "Gon"
|
||||
IDS_ANGLE_RADIANS "Radiant"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Βαθμοί"
|
||||
IDS_ANGLE_GRADIANS "Ακτίνια"
|
||||
IDS_ANGLE_RADIANS "Μοίρες"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Degrees"
|
||||
IDS_ANGLE_GRADIANS "Gradians"
|
||||
IDS_ANGLE_RADIANS "Radians"
|
||||
|
|
|
@ -435,6 +435,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Grados"
|
||||
IDS_ANGLE_GRADIANS "Gradianes"
|
||||
IDS_ANGLE_RADIANS "Radianes"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Degrés"
|
||||
IDS_ANGLE_GRADIANS "Grades"
|
||||
IDS_ANGLE_RADIANS "Radians"
|
||||
|
|
|
@ -435,6 +435,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "מעלות"
|
||||
IDS_ANGLE_GRADIANS "גרדיאנים"
|
||||
IDS_ANGLE_RADIANS "רדיאנים"
|
||||
|
|
|
@ -437,6 +437,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Fok"
|
||||
IDS_ANGLE_GRADIANS "Gradián"
|
||||
IDS_ANGLE_RADIANS "Radián"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Tipi di angoli */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minuti d'arco"
|
||||
IDS_ANGLE_ARCSECONDS "Secondi d'arco"
|
||||
IDS_ANGLE_DEGREES "Sessagesimali"
|
||||
IDS_ANGLE_GRADIANS "Centesimali (Gradienti)"
|
||||
IDS_ANGLE_RADIANS "Radianti"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Degrees"
|
||||
IDS_ANGLE_GRADIANS "Gradians"
|
||||
IDS_ANGLE_RADIANS "Radians"
|
||||
|
|
|
@ -431,6 +431,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Degrees"
|
||||
IDS_ANGLE_GRADIANS "Gradians"
|
||||
IDS_ANGLE_RADIANS "Radians"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Graden"
|
||||
IDS_ANGLE_GRADIANS "Gradiënten"
|
||||
IDS_ANGLE_RADIANS "Radialen"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Grader"
|
||||
IDS_ANGLE_GRADIANS "Gradianer"
|
||||
IDS_ANGLE_RADIANS "Radianer"
|
||||
|
|
|
@ -438,6 +438,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Stopnie"
|
||||
IDS_ANGLE_GRADIANS "Gradiany"
|
||||
IDS_ANGLE_RADIANS "Radiany"
|
||||
|
|
|
@ -431,6 +431,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Graus"
|
||||
IDS_ANGLE_GRADIANS "Grados"
|
||||
IDS_ANGLE_RADIANS "Radianos"
|
||||
|
|
|
@ -434,6 +434,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Grade"
|
||||
IDS_ANGLE_GRADIANS "Gradiani"
|
||||
IDS_ANGLE_RADIANS "Radiani"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "градус"
|
||||
IDS_ANGLE_GRADIANS "град"
|
||||
IDS_ANGLE_RADIANS "радиан"
|
||||
|
|
|
@ -436,6 +436,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Stupne"
|
||||
IDS_ANGLE_GRADIANS "Grady"
|
||||
IDS_ANGLE_RADIANS "Radiány"
|
||||
|
|
|
@ -433,6 +433,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Gradë"
|
||||
IDS_ANGLE_GRADIANS "Gradian"
|
||||
IDS_ANGLE_RADIANS "Radians"
|
||||
|
|
|
@ -436,6 +436,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Grader"
|
||||
IDS_ANGLE_GRADIANS "Gradianer"
|
||||
IDS_ANGLE_RADIANS "Radianer"
|
||||
|
|
|
@ -429,6 +429,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "องศา"
|
||||
IDS_ANGLE_GRADIANS "เกรเดียน"
|
||||
IDS_ANGLE_RADIANS "เรเดียน"
|
||||
|
|
|
@ -431,6 +431,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Derece"
|
||||
IDS_ANGLE_GRADIANS "Gradyan"
|
||||
IDS_ANGLE_RADIANS "Radyan"
|
||||
|
|
|
@ -437,6 +437,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "Градус"
|
||||
IDS_ANGLE_GRADIANS "Град"
|
||||
IDS_ANGLE_RADIANS "Радіан"
|
||||
|
|
|
@ -431,6 +431,8 @@ END
|
|||
/* Angles */
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_ANGLE_ARCMINUTES "Minute of arc"
|
||||
IDS_ANGLE_ARCSECONDS "Second of arc"
|
||||
IDS_ANGLE_DEGREES "角度"
|
||||
IDS_ANGLE_GRADIANS "梯度"
|
||||
IDS_ANGLE_RADIANS "弧度"
|
||||
|
|
|
@ -126,9 +126,11 @@
|
|||
#define IDS_CONV_WEIGHT 2012
|
||||
|
||||
/* TYPES OF ANGLES */
|
||||
#define IDS_ANGLE_DEGREES 2100
|
||||
#define IDS_ANGLE_GRADIANS 2101
|
||||
#define IDS_ANGLE_RADIANS 2102
|
||||
#define IDS_ANGLE_ARCMINUTES 2100
|
||||
#define IDS_ANGLE_ARCSECONDS 2101
|
||||
#define IDS_ANGLE_DEGREES 2102
|
||||
#define IDS_ANGLE_GRADIANS 2103
|
||||
#define IDS_ANGLE_RADIANS 2104
|
||||
|
||||
/* TYPES OF AREAS */
|
||||
#define IDS_AREA_ACRES 2200
|
||||
|
|
Loading…
Reference in a new issue