Commit be2e8a1a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Various typo fixes, patch by Kunda Ki

Fixes #879
parent 086008f6
Pipeline #47904 passed with stage
in 10 minutes and 34 seconds
......@@ -3,7 +3,7 @@
<name>Doubleweave</name>
<description>Weave input video fields into double number of frames</description>
<author>libavfilter</author>
<parameter type="list" name="av.first_field" default="top" paramlist="top;botom">
<parameter type="list" name="av.first_field" default="top" paramlist="top;bottom">
<paramlistdisplay>Top field first,Bottom field first</paramlistdisplay>
<name>First Field</name>
</parameter>
......
......@@ -3,7 +3,7 @@
<name>Field Extractor</name>
<description>Extract a field from the input video</description>
<author>libavfilter</author>
<parameter type="list" name="av.type" default="top" paramlist="top;botom">
<parameter type="list" name="av.type" default="top" paramlist="top;bottom">
<paramlistdisplay>Top field first,Bottom field first</paramlistdisplay>
<name>Field priority</name>
</parameter>
......
......@@ -5337,12 +5337,12 @@ namespace fakeit {
template<typename C>
static unsigned int getVTSize() {
struct Derrived : public C {
struct Derived : public C {
virtual void endOfVt() {
}
};
unsigned int vtSize = getOffset(&Derrived::endOfVt);
unsigned int vtSize = getOffset(&Derived::endOfVt);
return vtSize;
}
};
......
......@@ -245,7 +245,7 @@ void KeyframeView::slotCenterKeyframe()
QVector<int>updatedSelection;
for (int kf : m_selectedKeyframes) {
if (kf == 0) {
// Dont't allow moving first keyframe
// Don't allow moving first keyframe
continue;
}
GenTime initPos(kf + offset, pCore->getCurrentFps());
......
......@@ -1392,8 +1392,8 @@ bool ProjectClip::matches(const QString &condition)
bool ProjectClip::rename(const QString &name, int column)
{
QMap<QString, QString> newProperites;
QMap<QString, QString> oldProperites;
QMap<QString, QString> newProperties;
QMap<QString, QString> oldProperties;
bool edited = false;
switch (column) {
case 0:
......@@ -1401,8 +1401,8 @@ bool ProjectClip::rename(const QString &name, int column)
return false;
}
// Rename clip
oldProperites.insert(QStringLiteral("kdenlive:clipname"), m_name);
newProperites.insert(QStringLiteral("kdenlive:clipname"), name);
oldProperties.insert(QStringLiteral("kdenlive:clipname"), m_name);
newProperties.insert(QStringLiteral("kdenlive:clipname"), name);
m_name = name;
edited = true;
break;
......@@ -1412,18 +1412,18 @@ bool ProjectClip::rename(const QString &name, int column)
}
// Rename clip
if (m_clipType == ClipType::TextTemplate) {
oldProperites.insert(QStringLiteral("templatetext"), m_description);
newProperites.insert(QStringLiteral("templatetext"), name);
oldProperties.insert(QStringLiteral("templatetext"), m_description);
newProperties.insert(QStringLiteral("templatetext"), name);
} else {
oldProperites.insert(QStringLiteral("kdenlive:description"), m_description);
newProperites.insert(QStringLiteral("kdenlive:description"), name);
oldProperties.insert(QStringLiteral("kdenlive:description"), m_description);
newProperties.insert(QStringLiteral("kdenlive:description"), name);
}
m_description = name;
edited = true;
break;
}
if (edited) {
pCore->bin()->slotEditClipCommand(m_binId, oldProperites, newProperites);
pCore->bin()->slotEditClipCommand(m_binId, oldProperties, newProperties);
}
return edited;
}
......
......@@ -4,7 +4,7 @@ import QtQuick 2.11
Item {
id: overlay
property double diagonalLenght: Math.sqrt(Math.pow(parent.height, 2) + Math.pow(parent.width, 2))
property double diagonalLength: Math.sqrt(Math.pow(parent.height, 2) + Math.pow(parent.width, 2))
function degreesRotation(width, height) {
var a = height/width;
......@@ -15,7 +15,7 @@ Item {
Rectangle {
color: root.overlayColor
width: overlay.diagonalLenght
width: overlay.diagonalLength
height: 1
rotation: degreesRotation(parent.height, parent.width)
anchors.centerIn: parent
......@@ -24,7 +24,7 @@ Item {
Rectangle {
color: root.overlayColor
height: overlay.diagonalLenght
height: overlay.diagonalLength
width: 1
rotation: degreesRotation(parent.width, parent.height)
anchors.centerIn: parent
......
......@@ -104,7 +104,7 @@ public slots:
void setMessage(const QString &text, MessageType type = DefaultMessage, int timeoutMS = 0);
/** @brief Display a key binding info in status bar */
void setKeyMap(const QString &text);
/** @brief Display a temporary key binding info in status bar, revert to defaut one if text is empty */
/** @brief Display a temporary key binding info in status bar, revert to default one if text is empty */
void setTmpKeyMap(const QString &text);
private slots:
......
......@@ -677,7 +677,7 @@ bool TimelineFunctions::requestItemCopy(const std::shared_ptr<TimelineItemModel>
}
mapping[id] = newId;
}
qDebug() << "Successful copy, coping groups...";
qDebug() << "Successful copy, copying groups...";
res = timeline->m_groups->copyGroups(mapping, undo, redo);
if (!res) {
bool undone = undo();
......
......@@ -176,7 +176,7 @@ public:
*/
void loadTractor();
/* @brief Returns the current tractor's producer, useful fo control seeking, playing, etc
/* @brief Returns the current tractor's producer, useful for control seeking, playing, etc
*/
std::shared_ptr<Mlt::Producer> producer();
Mlt::Profile *getProfile();
......
......@@ -58,8 +58,8 @@ public:
virtual void addScene(const QString & pattern);
/**
* @brief Serialzie all patterns
* @reurn byte QByteArray
* @brief Serialize all patterns
* @return byte QByteArray
*/
virtual QByteArray serialize();
/**
......@@ -75,7 +75,7 @@ public:
int getModifiedCounter() const { return modified_counter; }
/**
* @brief Repaint all scenes. Usefull when e.g. background was changed.
* @brief Repaint all scenes. Useful when e.g. background was changed.
*/
virtual void repaintScenes();
......
......@@ -43,10 +43,10 @@ public:
enum TitleProperties { OutlineWidth = 101, OutlineColor, LineSpacing, Gradient, RotateFactor, ZoomFactor };
void setScene(QGraphicsScene *scene, int width, int height);
bool saveDocument(const QUrl &url, QGraphicsRectItem *startv, QGraphicsRectItem *endv, int duration, bool embed_images = false);
/** @brief Save XML for this title. It calls static version fo the function.
/** @brief Save XML for this title. It calls static version for the function.
*/
QDomDocument xml(QGraphicsRectItem *startv, QGraphicsRectItem *endv, bool embed_images = false);
/** @brief Load XML for this title. It calls static version fo the function.
/** @brief Load XML for this title. It calls static version for the function.
*/
int loadFromXml(const QDomDocument &doc, QGraphicsRectItem *startv, QGraphicsRectItem *endv, int *duration, const QString &projectpath = QString());
/** \brief Get the background color (incl. alpha) from the document, if possibly
......
......@@ -100,7 +100,7 @@ void TransitionListWidget::downloadNewLumas()
{
if (getNewStuff(QStringLiteral(":data/kdenlive_wipes.knsrc")) > 0) {
MltConnection::refreshLumas();
// TODO: refresh currently displayd trans ?
// TODO: refresh currently displayed trans ?
}
}
......
......@@ -619,7 +619,7 @@ void ResourceWidget::parseLicense(const QString &licenseUrl)
/**
* @brief ResourceWidget::licenseNameFromUrl returns a name for the licence based on the license URL
* @param licenseUrl
* @param shortName wether the like "Attribution-NonCommercial-ShareAlike 3.0" or the short name like "CC BY-ND-SA 3.0" should be returned
* @param shortName whether the like "Attribution-NonCommercial-ShareAlike 3.0" or the short name like "CC BY-ND-SA 3.0" should be returned
* @return the license name
*/
QString ResourceWidget::licenseNameFromUrl(const QString &licenseUrl, const bool shortName)
......
......@@ -5364,12 +5364,12 @@ namespace fakeit {
template<typename C>
static unsigned int getVTSize() {
struct Derrived : public C {
struct Derived : public C {
virtual void endOfVt() {
}
};
unsigned int vtSize = getOffset(&Derrived::endOfVt);
unsigned int vtSize = getOffset(&Derived::endOfVt);
return vtSize;
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment