Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Kig
Commits
9561f421
Commit
9561f421
authored
Jul 15, 2022
by
Laurent Montel
Browse files
Port some I18N_NOOP
parent
e4bd468a
Pipeline
#205331
passed with stage
in 7 minutes and 1 second
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
misc/builtin_stuff.cc
View file @
9561f421
...
...
@@ -129,8 +129,8 @@ void setupBuiltinStuff()
AngleImp
::
stype
(),
I18N_NOOP
(
"Construct Bisector of This Angle"
),
I18N_NOOP
(
"Select the angle you want to construct the bisector of..."
),
I
18
N_NOOP
(
"Angle Bisector"
),
I
18
N_NOOP
(
"The bisector of an angle"
),
i
18
n
(
"Angle Bisector"
),
i
18
n
(
"The bisector of an angle"
),
"angle_bisector"
,
"angle-bisector"
);
actions
->
add
(
new
ConstructibleAction
(
&
anglebisectionctor
,
"objects_new_angle_bisector"
)
);
...
...
@@ -641,7 +641,7 @@ void setupBuiltinStuff()
c
=
new
TestConstructor
(
ConvexPolygonTestType
::
instance
(),
i18n
(
"Convex Polygon Test"
),
I
18
N_NOOP
(
"Test whether a given polygon is convex"
),
i
18
n
(
"Test whether a given polygon is convex"
),
"test"
);
ctors
->
add
(
c
);
actions
->
add
(
new
ConstructibleAction
(
c
,
"objects_new_convexpolygontest"
)
);
...
...
misc/object_constructor.cc
View file @
9561f421
...
...
@@ -515,8 +515,8 @@ bool ObjectConstructor::isIntersection() const
PropertyObjectConstructor
::
PropertyObjectConstructor
(
const
ObjectImpType
*
imprequirement
,
const
char
*
usetext
,
const
char
*
selectstat
,
const
char
*
descname
,
const
char
*
desc
,
const
char
*
iconfile
,
const
char
*
propertyinternalname
)
const
char
*
selectstat
,
const
QString
&
descname
,
const
QString
&
desc
,
const
QString
&
iconfile
,
const
char
*
propertyinternalname
)
:
StandardConstructorBase
(
descname
,
desc
,
iconfile
,
mparser
),
mpropinternalname
(
propertyinternalname
)
{
...
...
misc/object_constructor.h
View file @
9561f421
...
...
@@ -121,7 +121,7 @@ class StandardConstructorBase
:
public
ObjectConstructor
{
QString
mdescname
;
QString
mdesc
;
// TODO Use KLazyLocalizedString
QString
mdesc
;
QString
miconfile
;
const
ArgsParser
&
margsparser
;
public:
...
...
@@ -205,10 +205,9 @@ class PropertyObjectConstructor
ArgsParser
mparser
;
const
char
*
mpropinternalname
;
public:
explicit
PropertyObjectConstructor
(
const
ObjectImpType
*
imprequirement
,
const
char
*
usetext
,
const
char
*
selectstat
,
const
char
*
descname
,
const
char
*
desc
,
const
char
*
iconfile
,
const
char
*
propertyinternalname
);
explicit
PropertyObjectConstructor
(
const
ObjectImpType
*
imprequirement
,
const
char
*
usetext
,
const
char
*
selectstat
,
const
QString
&
descname
,
const
QString
&
desc
,
const
QString
&
iconfile
,
const
char
*
propertyinternalname
);
~
PropertyObjectConstructor
();
...
...
misc/special_constructors.cc
View file @
9561f421
...
...
@@ -371,7 +371,7 @@ static const struct ArgsParser::spec argsspecpp[] =
};
LocusConstructor
::
LocusConstructor
()
:
StandardConstructorBase
(
I
18
N_NOOP
(
"Locus"
),
I
18
N_NOOP
(
"A locus"
),
:
StandardConstructorBase
(
i
18
n
(
"Locus"
),
i
18
n
(
"A locus"
),
"locus"
,
margsparser
),
margsparser
(
argsspecpp
,
2
)
{
...
...
@@ -579,8 +579,8 @@ bool PointSequenceConstructor::isTransform() const
PolygonBNPTypeConstructor
::
PolygonBNPTypeConstructor
()
:
PointSequenceConstructor
(
I
18
N_NOOP
(
"Polygon by Its Vertices"
),
I
18
N_NOOP
(
"Construct a polygon by giving its vertices"
),
i
18
n
(
"Polygon by Its Vertices"
),
i
18
n
(
"Construct a polygon by giving its vertices"
),
"kig_polygon"
,
PolygonBNPType
::
instance
()
)
{
...
...
@@ -658,8 +658,8 @@ void PolygonBNPTypeConstructor::drawprelim( const ObjectDrawer& drawer, KigPaint
OpenPolygonTypeConstructor
::
OpenPolygonTypeConstructor
()
:
PointSequenceConstructor
(
I
18
N_NOOP
(
"Open Polygon (Polygonal Line)"
),
I
18
N_NOOP
(
"Construct an open polygon"
),
i
18
n
(
"Open Polygon (Polygonal Line)"
),
i
18
n
(
"Construct an open polygon"
),
"openpolygon"
,
OpenPolygonType
::
instance
()
)
{
...
...
@@ -1575,8 +1575,8 @@ bool GenericAffinityConstructor::isAlreadySelectedOK(const std::vector< ObjectCa
GenericProjectivityConstructor
::
GenericProjectivityConstructor
()
:
MergeObjectConstructor
(
I
18
N_NOOP
(
"Generic Projective Transformation"
),
I
18
N_NOOP
(
"The unique projective transformation that maps four points (or a quadrilateral) onto four other points (or a quadrilateral)"
),
i
18
n
(
"Generic Projective Transformation"
),
i
18
n
(
"The unique projective transformation that maps four points (or a quadrilateral) onto four other points (or a quadrilateral)"
),
"genericprojectivity"
)
{
SimpleObjectTypeConstructor
*
b2qu
=
...
...
@@ -1608,8 +1608,8 @@ bool GenericProjectivityConstructor::isAlreadySelectedOK(const std::vector< Obje
InversionConstructor
::
InversionConstructor
()
:
MergeObjectConstructor
(
I
18
N_NOOP
(
"Inversion of Point, Line or Circle"
),
I
18
N_NOOP
(
"The inversion of a point, line or circle with respect to a circle"
),
i
18
n
(
"Inversion of Point, Line or Circle"
),
i
18
n
(
"The inversion of a point, line or circle with respect to a circle"
),
"inversion"
)
{
SimpleObjectTypeConstructor
*
pointobj
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment