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
Education
Marble
Commits
9dc2c266
Commit
9dc2c266
authored
Oct 18, 2021
by
Antoni Bella Pérez
🚵🏻
Browse files
GUI l10n fixes
* Add @title:window helpers * Capitalization and punctuation
parent
122e17c9
Pipeline
#89465
passed with stage
in 5 minutes and 37 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/apps/marble-kde/marble_part.cpp
View file @
9dc2c266
...
...
@@ -256,7 +256,7 @@ bool MarblePart::openFile()
filters
.
prepend
(
allFileTypes
);
const
QString
filter
=
filters
.
join
(
";;"
);
QStringList
fileNames
=
QFileDialog
::
getOpenFileNames
(
widget
(),
i18n
(
"Open File"
),
QStringList
fileNames
=
QFileDialog
::
getOpenFileNames
(
widget
(),
i18n
c
(
"@title:window"
,
"Open File"
),
m_lastFileOpenPath
,
filter
);
if
(
!
fileNames
.
isEmpty
()
)
{
...
...
@@ -273,7 +273,7 @@ bool MarblePart::openFile()
void
MarblePart
::
exportMapScreenShot
()
{
QString
fileName
=
QFileDialog
::
getSaveFileName
(
widget
(),
i18n
(
"Export Map"
),
QDir
::
homePath
(),
QString
fileName
=
QFileDialog
::
getSaveFileName
(
widget
(),
i18n
c
(
"@title:window"
,
"Export Map"
),
QDir
::
homePath
(),
i18n
(
"Images *.jpg *.png"
)
);
if
(
!
fileName
.
isEmpty
()
)
{
...
...
@@ -878,7 +878,7 @@ void MarblePart::setupActions()
m_addBookmarkAction
=
new
QAction
(
this
);
actionCollection
()
->
addAction
(
"add_bookmark"
,
m_addBookmarkAction
);
m_addBookmarkAction
->
setText
(
i18nc
(
"Add Bookmark"
,
"
&
Add Bookmark"
)
);
m_addBookmarkAction
->
setText
(
i18nc
(
"Add Bookmark"
,
"Add
&
Bookmark
...
"
)
);
m_addBookmarkAction
->
setIcon
(
QIcon
(
QStringLiteral
(
":/icons/bookmark-new.png"
)));
actionCollection
()
->
setDefaultShortcut
(
m_addBookmarkAction
,
Qt
::
CTRL
|
Qt
::
Key_B
);
connect
(
m_addBookmarkAction
,
SIGNAL
(
triggered
()),
...
...
@@ -902,7 +902,7 @@ void MarblePart::setupActions()
m_manageBookmarksAction
=
new
QAction
(
this
);
actionCollection
()
->
addAction
(
"manage_bookmarks"
,
m_manageBookmarksAction
);
m_manageBookmarksAction
->
setText
(
i18nc
(
"Manage Bookmarks"
,
"&Manage Bookmarks"
)
);
m_manageBookmarksAction
->
setText
(
i18nc
(
"Manage Bookmarks"
,
"&Manage Bookmarks
...
"
)
);
m_manageBookmarksAction
->
setIcon
(
QIcon
(
QStringLiteral
(
":/icons/bookmarks-organize.png"
)));
connect
(
m_manageBookmarksAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
openManageBookmarksDialog
())
);
...
...
@@ -914,7 +914,7 @@ void MarblePart::setupActions()
m_externalMapEditorAction
=
new
QAction
(
this
);
actionCollection
()
->
addAction
(
"external_editor"
,
m_externalMapEditorAction
);
m_externalMapEditorAction
->
setText
(
i18nc
(
"Edit the map in an external application"
,
"&Edit Map"
)
);
m_externalMapEditorAction
->
setText
(
i18nc
(
"Edit the map in an external application"
,
"&Edit Map
...
"
)
);
m_externalMapEditorAction
->
setIcon
(
QIcon
(
QStringLiteral
(
":/icons/edit-map.png"
)));
actionCollection
()
->
setDefaultShortcut
(
m_externalMapEditorAction
,
Qt
::
CTRL
|
Qt
::
Key_E
);
connect
(
m_externalMapEditorAction
,
SIGNAL
(
triggered
()),
...
...
@@ -930,7 +930,7 @@ void MarblePart::setupActions()
connect
(
m_recordMovieAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
showMovieCaptureDialog
())
);
m_stopRecordingAction
=
new
QAction
(
i18n
(
"&Stop
r
ecording"
),
this
);
m_stopRecordingAction
=
new
QAction
(
i18n
(
"&Stop
R
ecording"
),
this
);
actionCollection
()
->
addAction
(
"stop_recording"
,
m_stopRecordingAction
);
m_stopRecordingAction
->
setStatusTip
(
i18n
(
"Stop recording a movie of the globe"
)
);
actionCollection
()
->
setDefaultShortcut
(
m_recordMovieAction
,
Qt
::
CTRL
|
Qt
::
SHIFT
|
Qt
::
Key_S
);
...
...
src/apps/marble-qt/QtMainWindow.cpp
View file @
9dc2c266
...
...
@@ -299,7 +299,7 @@ void MainWindow::createActions()
m_copyMapAction
->
setStatusTip
(
tr
(
"Copy a screenshot of the map"
));
connect
(
m_copyMapAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
copyMap
()));
m_osmEditAction
=
new
QAction
(
QIcon
(
QStringLiteral
(
":/icons/edit-map.png"
)),
tr
(
"&Edit Map"
),
this
);
m_osmEditAction
=
new
QAction
(
QIcon
(
QStringLiteral
(
":/icons/edit-map.png"
)),
tr
(
"&Edit Map
...
"
),
this
);
m_osmEditAction
->
setShortcut
(
tr
(
"Ctrl+E"
)
);
m_osmEditAction
->
setStatusTip
(
tr
(
"Edit the current map region in an external editor"
)
);
updateMapEditButtonVisibility
(
m_controlView
->
marbleWidget
()
->
mapThemeId
()
);
...
...
@@ -389,7 +389,7 @@ void MainWindow::createActions()
connect
(
m_aboutQtAction
,
SIGNAL
(
triggered
()),
qApp
,
SLOT
(
aboutQt
()));
//Bookmark Actions
m_addBookmarkAction
=
new
QAction
(
QIcon
(
QStringLiteral
(
":/icons/bookmark-new.png"
)),
tr
(
"
&
Add Bookmark"
),
this
);
m_addBookmarkAction
=
new
QAction
(
QIcon
(
QStringLiteral
(
":/icons/bookmark-new.png"
)),
tr
(
"Add
&
Bookmark
...
"
),
this
);
m_addBookmarkAction
->
setShortcut
(
tr
(
"Ctrl+B"
));
m_addBookmarkAction
->
setStatusTip
(
tr
(
"Add Bookmark"
));
connect
(
m_addBookmarkAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
openEditBookmarkDialog
())
);
...
...
@@ -403,7 +403,7 @@ void MainWindow::createActions()
m_toggleBookmarkDisplayAction
->
setCheckable
(
true
);
connect
(
m_toggleBookmarkDisplayAction
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
showBookmarks
(
bool
))
);
m_manageBookmarksAction
=
new
QAction
(
QIcon
(
QStringLiteral
(
":/icons/bookmarks-organize.png"
)),
tr
(
"&Manage Bookmarks"
),
this
);
m_manageBookmarksAction
=
new
QAction
(
QIcon
(
QStringLiteral
(
":/icons/bookmarks-organize.png"
)),
tr
(
"&Manage Bookmarks
...
"
),
this
);
m_manageBookmarksAction
->
setStatusTip
(
tr
(
"Manage Bookmarks"
)
);
connect
(
m_manageBookmarksAction
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
manageBookmarks
())
);
...
...
src/lib/marble/BookmarkManagerDialog.ui
View file @
9dc2c266
...
...
@@ -71,14 +71,14 @@
<bool>
true
</bool>
</property>
<property
name=
"text"
>
<string>
New
</string>
<string>
New
...
</string>
</property>
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QPushButton"
name=
"renameFolderButton"
>
<property
name=
"text"
>
<string>
Rename
</string>
<string>
Rename
...
</string>
</property>
</widget>
</item>
...
...
src/lib/marble/EditBookmarkDialog.ui
View file @
9dc2c266
...
...
@@ -22,7 +22,7 @@
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"description_lbl"
>
<property
name=
"text"
>
<string>
&
Description
</string>
<string>
&
Description
:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
m_description
</cstring>
...
...
@@ -54,7 +54,7 @@ p, li { white-space: pre-wrap; }
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"folder_lbl"
>
<property
name=
"text"
>
<string>
&
Folder
</string>
<string>
&
Folder
:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
m_folders
</cstring>
...
...
@@ -76,7 +76,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget
class=
"QPushButton"
name=
"m_newFolderButton"
>
<property
name=
"text"
>
<string>
&
Add Folder
</string>
<string>
&
Add Folder
...
</string>
</property>
</widget>
</item>
...
...
src/lib/marble/MarbleNavigationSettingsWidget.ui
View file @
9dc2c266
...
...
@@ -73,7 +73,7 @@ p, li { white-space: pre-wrap; }
<string>
Use kinetic spinning when dragging the map
</string>
</property>
<property
name=
"text"
>
<string>
&
Inertial
G
lobe
R
otation
</string>
<string>
&
Inertial
g
lobe
r
otation
</string>
</property>
</widget>
</item>
...
...
@@ -181,7 +181,7 @@ p, li { white-space: pre-wrap; }
</size>
</property>
<property
name=
"text"
>
<string>
&
External
E
ditor:
</string>
<string>
&
External
e
ditor:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
kcfg_onStartup
</cstring>
...
...
src/lib/marble/NewBookmarkFolderDialog.ui
View file @
9dc2c266
...
...
@@ -19,7 +19,7 @@
<item>
<widget
class=
"QLabel"
name=
"m_namelbl"
>
<property
name=
"text"
>
<string>
&
Folder
N
ame
</string>
<string>
&
Folder
n
ame
:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
m_name
</cstring>
...
...
src/lib/marble/PlacemarkEditHeader.ui
View file @
9dc2c266
...
...
@@ -78,7 +78,7 @@
<item
row=
"1"
column=
"0"
>
<widget
class=
"QLabel"
name=
"iconLinkLabel"
>
<property
name=
"text"
>
<string>
Icon
L
ink:
</string>
<string>
Icon
l
ink:
</string>
</property>
</widget>
</item>
...
...
src/lib/marble/TileLevelRangeWidget.ui
View file @
9dc2c266
...
...
@@ -22,7 +22,7 @@
<item>
<widget
class=
"QLabel"
name=
"tileLevelLabel"
>
<property
name=
"text"
>
<string>
&
Tile
L
evel
R
ange:
</string>
<string>
&
Tile
l
evel
r
ange:
</string>
</property>
<property
name=
"buddy"
>
<cstring>
topSpinBox
</cstring>
...
...
src/lib/marble/routing/RoutingLayer.cpp
View file @
9dc2c266
...
...
@@ -182,10 +182,10 @@ RoutingLayerPrivate::RoutingLayerPrivate( RoutingLayer *parent, MarbleWidget *wi
m_isInteractive
(
true
)
{
m_contextMenu
=
new
MarbleWidgetPopupMenu
(
m_marbleWidget
,
m_marbleWidget
->
model
()
);
m_removeViaPointAction
=
new
QAction
(
QObject
::
tr
(
"&Remove this
d
estination"
),
q
);
m_removeViaPointAction
=
new
QAction
(
QObject
::
tr
(
"&Remove this
D
estination"
),
q
);
QObject
::
connect
(
m_removeViaPointAction
,
SIGNAL
(
triggered
()),
q
,
SLOT
(
removeViaPoint
())
);
m_contextMenu
->
addAction
(
Qt
::
RightButton
,
m_removeViaPointAction
);
QAction
*
exportAction
=
new
QAction
(
QObject
::
tr
(
"&Export
r
oute..."
),
q
);
QAction
*
exportAction
=
new
QAction
(
QObject
::
tr
(
"&Export
R
oute..."
),
q
);
QObject
::
connect
(
exportAction
,
SIGNAL
(
triggered
()),
q
,
SLOT
(
exportRoute
())
);
m_contextMenu
->
addAction
(
Qt
::
RightButton
,
exportAction
);
if
(
MarbleGlobal
::
getInstance
()
->
profiles
()
&
MarbleGlobal
::
SmallScreen
)
{
...
...
src/lib/marble/routing/RoutingSettingsWidget.ui
View file @
9dc2c266
...
...
@@ -19,7 +19,7 @@
<item>
<widget
class=
"QPushButton"
name=
"addButton"
>
<property
name=
"text"
>
<string>
&
Add
</string>
<string>
&
Add
...
</string>
</property>
</widget>
</item>
...
...
@@ -29,7 +29,7 @@
<bool>
false
</bool>
</property>
<property
name=
"text"
>
<string>
&
Configure
</string>
<string>
&
Configure
...
</string>
</property>
</widget>
</item>
...
...
Write
Preview
Supports
Markdown
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