Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
09ea6d78
Commit
09ea6d78
authored
Nov 22, 2011
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
back hack to translate two fields
parent
e03e8f54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
UBTeacherBarWidget.cpp
src/gui/UBTeacherBarWidget.cpp
+6
-2
No files found.
src/gui/UBTeacherBarWidget.cpp
View file @
09ea6d78
...
...
@@ -338,7 +338,10 @@ UBTeacherStudentAction::UBTeacherStudentAction(int actionNumber, QWidget *parent
mpLayout
->
addWidget
(
mpActionLabel
,
0
);
mpTeacherLayout
=
new
QHBoxLayout
();
mpTeacherLabel
=
new
QLabel
(
tr
(
"Teacher"
),
this
);
//TODO: I'm not able to translate this string using the normal way *qm file why?
// mpTeacherLabel = new QLabel(tr("Teacher"), this);
mpTeacherLabel
=
new
QLabel
(
tr
(
"Enseignant"
),
this
);
mpTeacherLabel
->
setAlignment
(
Qt
::
AlignTop
);
mpTeacher
=
new
QTextEdit
(
this
);
mpTeacher
->
setObjectName
(
"TeacherStudentBox"
);
...
...
@@ -347,7 +350,8 @@ UBTeacherStudentAction::UBTeacherStudentAction(int actionNumber, QWidget *parent
mpLayout
->
addLayout
(
mpTeacherLayout
,
1
);
mpStudentLayout
=
new
QHBoxLayout
();
mpStudentLabel
=
new
QLabel
(
tr
(
"Student"
),
this
);
// mpStudentLabel = new QLabel(tr("Student"), this);
mpStudentLabel
=
new
QLabel
(
tr
(
"Étudiant"
),
this
);
mpStudentLabel
->
setAlignment
(
Qt
::
AlignTop
);
mpStudent
=
new
QTextEdit
(
this
);
mpStudent
->
setObjectName
(
"TeacherStudentBox"
);
...
...
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