Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
ad9036da
Commit
ad9036da
authored
Apr 08, 2010
by
Kai Koehne
Browse files
QmlDesigner: Add more stuff to the list of strings to be translated
parent
66de48d3
Changes
5
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/translations/qtcreator_de.ts
View file @
ad9036da
...
...
@@ -16457,7 +16457,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.</translatio
<location line="+1"/>
<source>Resources</source>
<comment>Title of library resources view</comment>
<translation>Ressourcen
dateien
</translation>
<translation>Ressourcen</translation>
</message>
<message>
<location line="+5"/>
...
...
src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp
View file @
ad9036da
...
...
@@ -165,19 +165,19 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
QActionGroup
*
layoutMarginActionGroup
=
new
QActionGroup
(
this
);
m_snappingMarginAction
=
new
NumberSeriesAction
(
layoutMarginActionGroup
);
m_snappingMarginAction
->
addEntry
(
"no margins (0)"
,
0
);
m_snappingMarginAction
->
addEntry
(
"small margin (2)"
,
2
);
m_snappingMarginAction
->
addEntry
(
"medium margin (6)"
,
6
);
m_snappingMarginAction
->
addEntry
(
"large margin (10)"
,
10
);
m_snappingMarginAction
->
addEntry
(
tr
(
"no margins (0)"
)
,
0
);
m_snappingMarginAction
->
addEntry
(
tr
(
"small margin (2)"
)
,
2
);
m_snappingMarginAction
->
addEntry
(
tr
(
"medium margin (6)"
)
,
6
);
m_snappingMarginAction
->
addEntry
(
tr
(
"large margin (10)"
)
,
10
);
m_snappingMarginAction
->
setCurrentEntryIndex
(
2
);
layoutMarginActionGroup
->
addAction
(
m_snappingMarginAction
.
data
());
m_snappingSpacingAction
=
new
NumberSeriesAction
(
layoutMarginActionGroup
);
m_snappingSpacingAction
->
addEntry
(
"no spacing (0)"
,
0
);
m_snappingSpacingAction
->
addEntry
(
"small spacing (2)"
,
2
);
m_snappingSpacingAction
->
addEntry
(
"medium spacing (4)"
,
4
);
m_snappingSpacingAction
->
addEntry
(
"large spacing (6)"
,
6
);
m_snappingSpacingAction
->
addEntry
(
tr
(
"no spacing (0)"
)
,
0
);
m_snappingSpacingAction
->
addEntry
(
tr
(
"small spacing (2)"
)
,
2
);
m_snappingSpacingAction
->
addEntry
(
tr
(
"medium spacing (4)"
)
,
4
);
m_snappingSpacingAction
->
addEntry
(
tr
(
"large spacing (6)"
)
,
6
);
m_snappingSpacingAction
->
setCurrentEntryIndex
(
1
);
layoutMarginActionGroup
->
addAction
(
m_snappingSpacingAction
.
data
());
...
...
src/plugins/qmldesigner/components/integration/componentview.cpp
View file @
ad9036da
...
...
@@ -72,7 +72,7 @@ ModelNode ComponentView::modelNode(int index) const
void
ComponentView
::
appendWholeDocumentAsComponent
()
{
QStandardItem
*
item
=
new
QStandardItem
(
"W
hole
D
ocument"
);
QStandardItem
*
item
=
new
QStandardItem
(
tr
(
"w
hole
d
ocument"
)
)
;
item
->
setData
(
QVariant
::
fromValue
(
rootModelNode
()),
ModelNodeRole
);
item
->
setEditable
(
false
);
m_standardItemModel
->
appendRow
(
item
);
...
...
src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp
View file @
ad9036da
...
...
@@ -73,7 +73,7 @@ QVariant StatesEditorModel::data(const QModelIndex &index, int role) const
switch
(
role
)
{
case
StateNameRole
:
{
if
(
index
.
row
()
==
0
)
result
=
QString
(
"base state"
);
result
=
QString
(
tr
(
"base state"
,
"Implicit default state"
)
);
else
result
=
m_stateNames
.
at
(
index
.
row
());
break
;
...
...
src/plugins/qmldesigner/components/stateseditor/stateseditorwidget.cpp
View file @
ad9036da
...
...
@@ -130,7 +130,7 @@ void StatesEditorWidgetPrivate::addState()
QString
newStateName
;
int
index
=
1
;
while
(
1
)
{
newStateName
=
tr
(
"State%1"
).
arg
(
index
++
);
newStateName
=
tr
(
"State%1"
,
"Default name for newly created states"
).
arg
(
index
++
);
if
(
!
modelStateNames
.
contains
(
newStateName
))
break
;
}
...
...
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