Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
d5fff4a6
Commit
d5fff4a6
authored
Apr 11, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert text strings for clarity
parent
e07590f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pcb_parser.cpp
pcbnew/pcb_parser.cpp
+3
-3
No files found.
pcbnew/pcb_parser.cpp
View file @
d5fff4a6
...
...
@@ -89,7 +89,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR )
if
(
errno
)
{
wxString
error
;
error
.
Printf
(
_
(
"invalid floating point number in
file: <%s>
\n
line: %d,
offset: %d"
),
error
.
Printf
(
_
(
"invalid floating point number in
\n
file: <%s>
\n
line: %d
\n
offset: %d"
),
GetChars
(
CurSource
()
),
CurLineNumber
(),
CurOffset
()
);
THROW_IO_ERROR
(
error
);
...
...
@@ -98,7 +98,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR )
if
(
CurText
()
==
tmp
)
{
wxString
error
;
error
.
Printf
(
_
(
"missing floating point number in
file: <%s>
\n
line: %d,
offset: %d"
),
error
.
Printf
(
_
(
"missing floating point number in
\n
file: <%s>
\n
line: %d
\n
offset: %d"
),
GetChars
(
CurSource
()
),
CurLineNumber
(),
CurOffset
()
);
THROW_IO_ERROR
(
error
);
...
...
@@ -754,7 +754,7 @@ T PCB_PARSER::lookUpLayer( const M& aMap ) throw( PARSE_ERROR, IO_ERROR )
#endif
wxString
error
=
wxString
::
Format
(
_
(
"Layer
%s
in file <%s> at line %d, position %d, was not defined in the layers section"
),
_
(
"Layer
'%s'
in file <%s> at line %d, position %d, was not defined in the layers section"
),
GetChars
(
FROM_UTF8
(
CurText
()
)
),
GetChars
(
CurSource
()
),
CurLineNumber
(),
CurOffset
()
);
...
...
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