Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
459f7632
Commit
459f7632
authored
May 18, 2016
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge method toolbar and methods menu wasn't translated
parent
a7227e07
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
11 deletions
+39
-11
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+27
-11
xtt/mmi/xtt/en_us/xtt_lng.dat
xtt/mmi/xtt/en_us/xtt_lng.dat
+4
-0
xtt/mmi/xtt/sv_se/xtt_lng.dat
xtt/mmi/xtt/sv_se/xtt_lng.dat
+8
-0
No files found.
xtt/lib/ge/src/ge_dyn.cpp
View file @
459f7632
...
...
@@ -18172,16 +18172,26 @@ int GeMethodToolbar::action( grow_tObject object, glow_tEvent event)
break
;
case
glow_eEvent_MB1Up
:
break
;
case
glow_eEvent_TipText
:
if
(
event
->
toolbar
.
category
==
1
)
grow_SetTipText
(
dyn
->
graph
->
grow
->
ctx
,
event
->
toolbar
.
object
,
GeMethods
::
op_tooltip
[
event
->
toolbar
.
idx
],
event
->
any
.
x_pixel
,
event
->
any
.
y_pixel
);
else
grow_SetTipText
(
dyn
->
graph
->
grow
->
ctx
,
event
->
toolbar
.
object
,
GeMethods
::
mnt_tooltip
[
event
->
toolbar
.
idx
],
event
->
any
.
x_pixel
,
event
->
any
.
y_pixel
);
case
glow_eEvent_TipText
:
{
pwr_tString80
text
;
if
(
event
->
toolbar
.
category
==
1
)
{
if
(
grow_GetTranslate
(
dyn
->
graph
->
grow
->
ctx
))
Lng
::
translate
(
GeMethods
::
op_tooltip
[
event
->
toolbar
.
idx
],
text
);
else
strcpy
(
text
,
GeMethods
::
op_tooltip
[
event
->
toolbar
.
idx
]);
}
else
{
if
(
grow_GetTranslate
(
dyn
->
graph
->
grow
->
ctx
))
Lng
::
translate
(
GeMethods
::
mnt_tooltip
[
event
->
toolbar
.
idx
],
text
);
else
strcpy
(
text
,
GeMethods
::
mnt_tooltip
[
event
->
toolbar
.
idx
]);
}
grow_SetTipText
(
dyn
->
graph
->
grow
->
ctx
,
event
->
toolbar
.
object
,
text
,
event
->
any
.
x_pixel
,
event
->
any
.
y_pixel
);
break
;
}
case
glow_eEvent_Key_Return
:
case
glow_eEvent_MB1Click
:
{
int
sts
;
...
...
@@ -18421,7 +18431,10 @@ int GeMethodPulldownMenu::action( grow_tObject object, glow_tEvent event)
if
(
opmask
&
(
1
<<
i
))
{
info
.
item
[
menu_idx
].
type
=
glow_eMenuItem_Button
;
strcpy
(
info
.
item
[
menu_idx
].
text
,
GeMethods
::
op_name
[
i
]);
if
(
grow_GetTranslate
(
dyn
->
graph
->
grow
->
ctx
))
Lng
::
translate
(
GeMethods
::
op_name
[
i
],
info
.
item
[
menu_idx
].
text
);
else
strcpy
(
info
.
item
[
menu_idx
].
text
,
GeMethods
::
op_name
[
i
]);
info
.
item
[
menu_idx
].
occupied
=
true
;
if
(
insensitive_opmask
&
(
1
<<
i
))
info
.
item
[
menu_idx
].
type
=
glow_eMenuItem_ButtonDisabled
;
...
...
@@ -18440,7 +18453,10 @@ int GeMethodPulldownMenu::action( grow_tObject object, glow_tEvent event)
if
(
mntmask
&
(
1
<<
i
))
{
info
.
item
[
menu_idx
].
type
=
glow_eMenuItem_Button
;
strcpy
(
info
.
item
[
menu_idx
].
text
,
GeMethods
::
mnt_name
[
i
]);
if
(
grow_GetTranslate
(
dyn
->
graph
->
grow
->
ctx
))
Lng
::
translate
(
GeMethods
::
mnt_name
[
i
],
info
.
item
[
menu_idx
].
text
);
else
strcpy
(
info
.
item
[
menu_idx
].
text
,
GeMethods
::
mnt_name
[
i
]);
info
.
item
[
menu_idx
].
occupied
=
true
;
if
(
insensitive_mntmask
&
(
1
<<
i
))
info
.
item
[
menu_idx
].
type
=
glow_eMenuItem_ButtonDisabled
;
...
...
xtt/mmi/xtt/en_us/xtt_lng.dat
View file @
459f7632
...
...
@@ -510,6 +510,10 @@ E 1.20.5 "Value below minvalue"
# Method toolbar
E 1.21.1 "Fast curve"
E 1.21.2 "Block events"
E 1.21.3 "Event log"
E 1.21.4 "Simulate"
E 1.21.5 "Open parent object graph"
E 1.21.6 "Camera"
#
# Video management system
E 1.22.1 "Panels"
...
...
xtt/mmi/xtt/sv_se/xtt_lng.dat
View file @
459f7632
...
...
@@ -507,6 +507,10 @@ E 1.20.5 "Minv
# Method toolbar
E 1.21.1 "Snabbkurva"
E 1.21.2 "Blockera hndelser"
E 1.21.3 "Hndelselogg"
E 1.21.4 "Simulera"
E 1.21.5 "ppna frlders objektsbild"
E 1.21.6 "Kamera"
#
# Video management system
E 1.22.1 "Paneler"
...
...
@@ -735,6 +739,10 @@ E 4.15.7 "Order
E 4.15.8 "Order Stng"
# BaseCDamper
E 4.16.1 "Spjll"
# BaseFilter
E 4.17.1 "Filter igensatt"
# BasePositSensor
E 4.18.1 "Kalibrering"
#
# Manufacturer components
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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