Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bur
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vaclab
bur
Commits
c830bd76
Commit
c830bd76
authored
2 years ago
by
Ute Becker
Browse files
Options
Downloads
Patches
Plain Diff
Kommentar von 30 in 130 Pa geändert
parent
24668cf4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
trans/utils.py
+2
-2
2 additions, 2 deletions
trans/utils.py
with
2 additions
and
2 deletions
trans/utils.py
+
2
−
2
View file @
c830bd76
...
...
@@ -730,10 +730,10 @@ class Utils:
def
get_balance_description
(
self
,
lang
,
add_balance
):
if
add_balance
:
if
lang
==
"
de
"
:
return
"
Oberhalb von
\\
SI{30}{
\\
pascal} werden die Zieldrücke mit der Druckwaage FRS5 erzeugt.
"
,
False
return
"
Oberhalb von
\\
SI{
1
30}{
\\
pascal} werden die Zieldrücke mit der Druckwaage FRS5 erzeugt.
"
,
False
if
lang
==
"
en
"
:
return
"
Above
\\
SI{30}{
\\
pascal}, target points will be generated by means of the pressure balance FRS5.
"
,
False
return
"
Above
\\
SI{
1
30}{
\\
pascal}, target points will be generated by means of the pressure balance FRS5.
"
,
False
return
{
'
error
'
:
"
unknown lang at function get_balance_description
"
},
True
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment