Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
b444e9e4
Commit
b444e9e4
authored
Oct 06, 2022
by
Camille Moulin
Committed by
Jean-Baptiste Mardelle
Oct 07, 2022
Browse files
typo: add line break in online resources autogenerated notes
parent
517d4d9d
Pipeline
#243392
failed with stage
in 9 minutes and 36 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/onlineresources/resourcewidget.cpp
View file @
b444e9e4
...
...
@@ -559,7 +559,7 @@ void ResourceWidget::slotSaveItem(const QString &originalUrl, const QString &acc
"Do you want to add license attribution to your Project Notes?"
),
QString
(),
KStandardGuiItem
::
yes
(),
KStandardGuiItem
::
no
(),
i18n
(
"Remember this decision"
))
==
KMessageBox
::
Yes
)
{
attribution
=
i18nc
(
"item name, item url, author name, license name, license url"
,
"This video uses
\"
%1
\"
(%2) by
\"
%3
\"
licensed under %4. To view a copy of this license, visit %5"
,
"This video uses
\"
%1
\"
(%2) by
\"
%3
\"
licensed under %4. To view a copy of this license, visit %5
.<br/>
"
,
m_currentItem
->
data
(
nameRole
).
toString
().
isEmpty
()
?
i18n
(
"Unnamed"
)
:
m_currentItem
->
data
(
nameRole
).
toString
(),
m_currentItem
->
data
(
urlRole
).
toString
(),
m_currentItem
->
data
(
authorRole
).
toString
(),
ResourceWidget
::
licenseNameFromUrl
(
m_currentItem
->
data
(
licenseRole
).
toString
(),
true
),
m_currentItem
->
data
(
licenseRole
).
toString
());
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment