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
b534c54b
Commit
b534c54b
authored
Feb 17, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Function 'current' added
parent
74c1145a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
+27
-3
src/lib/co/src/co_lng.cpp
src/lib/co/src/co_lng.cpp
+26
-3
src/lib/co/src/co_lng.h
src/lib/co/src/co_lng.h
+1
-0
No files found.
src/lib/co/src/co_lng.cpp
View file @
b534c54b
...
...
@@ -23,9 +23,16 @@ char Lng::items[][2][40] = {
{
"Collect"
,
"Samla"
},
{
"Type Graph..."
,
"Typ Bild..."
},
{
"Open Plc..."
,
"ppna Plc..."
},
{
"Alarm list"
,
"Larm lista"
},
{
"Event list"
,
"Hndelse lista"
},
{
"Historical list"
,
"Historisk lista"
},
{
"Open Plc"
,
"ppna Plc"
},
{
"Note"
,
"Notera"
},
{
"Photo"
,
"Foto"
},
{
"Fast"
,
"Snabbkurva"
},
{
"Trend"
,
"Trendkurva"
},
{
"Block Events..."
,
"Blockera Hndelser..."
},
{
"Hist Event..."
,
"Historisk lista..."
},
{
"Alarm List"
,
"Larmlista"
},
{
"Event List"
,
"Hndelselista"
},
{
"Historical List"
,
"Historisk lista"
},
{
"Link"
,
"Lnkar"
},
{
"Subscription Client"
,
"Prenumerationer Klient"
},
{
"Subscription Server"
,
"Prenumerationer Server"
},
...
...
@@ -46,12 +53,15 @@ char Lng::items[][2][40] = {
{
"Logging entry 9"
,
"Loggning entry 9"
},
{
"Logging entry 10"
,
"Loggning entry 10"
},
{
"System Messages"
,
"System Meddelanden"
},
{
"Volume"
,
"Volym"
},
{
"Volumes"
,
"Volymer"
},
{
"Nodes"
,
"Noder"
},
{
"Database"
,
"Databas"
},
{
"Alarm"
,
"Larm"
},
{
"Store"
,
"Lagra"
},
{
"System"
,
"System"
},
{
"Exit"
,
"Avsluta"
},
{
"Close"
,
"Stng"
},
{
"Active"
,
"Aktiv"
},
{
"Insert"
,
"LggIn"
},
{
"Start"
,
"Starta"
},
...
...
@@ -95,6 +105,19 @@ char Lng::items[][2][40] = {
{
"Set value"
,
"Br vrde"
},
{
"Process value"
,
"r vrde"
},
{
"Out value"
,
"Ut signal"
},
{
"Blocked Alarms"
,
"Blockerade larm"
},
{
"Alarm Blocking"
,
"Larmblockering"
},
{
"Contents"
,
"Innehll"
},
{
"page"
,
"sidan"
},
{
"See"
,
"Se"
},
{
"Class"
,
"Klass"
},
{
"Author"
,
"Redaktr"
},
{
"Version"
,
"Version"
},
{
"Code"
,
"Kod"
},
{
"Body"
,
"Kropp"
},
{
"Type"
,
"Typ"
},
{
"English text not available"
,
"Svensk text finns ej tillgnglig"
},
{
"Object Reference Manual"
,
"Objekt handbok"
},
};
...
...
src/lib/co/src/co_lng.h
View file @
b534c54b
...
...
@@ -42,6 +42,7 @@ class Lng {
static
char
items
[][
2
][
40
];
static
void
set
(
lng_eLanguage
language
)
{
lang
=
language
;};
static
lng_eLanguage
current
()
{
return
lang
;}
static
void
set
(
char
*
language
)
{
if
(
strcmp
(
language
,
"en_us"
)
==
0
)
lang
=
lng_eLanguage_en_us
;
else
if
(
strcmp
(
language
,
"sv_se"
)
==
0
)
lang
=
lng_eLanguage_sv_se
;};
...
...
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