Commit 161d2ac3 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues and typos

parent cd50b3e7
......@@ -99,7 +99,7 @@ The rest:
- works with MLT filters that use mlt_geometry for keyframe support (includes all frei0r filters)
- same attributes as "keyframe"
- "geometry":
- a rectangle: postion + dimension + additional value
- a rectangle: position + dimension + additional value
- works with MLT filters using mlt_geometry
- the rect can be edited on the project monitor
- additional attributes:
......
......@@ -87,7 +87,7 @@ public:
/**
* @brief Removes a child item and notifies the bin model about it (before and after).
* @param child project which sould be removed from the child list
* @param child project which should be removed from the child list
*
* This function is called when a child's parent is changed through setParent
*/
......
......@@ -2421,7 +2421,7 @@ void Bin::slotUpdateJobStatus(const QString &id, int jobType, int status, const
void Bin::doDisplayMessage(const QString &text, KMessageWidget::MessageType type, const QList<QAction *> &actions)
{
// Remove axisting actions if any
// Remove existing actions if any
QList<QAction *> acts = m_infoMessage->actions();
while (!acts.isEmpty()) {
QAction *a = acts.takeFirst();
......
......@@ -83,7 +83,7 @@ QImage ColorTools::yuvColorWheel(const QSize &size, int Y, float scaling, bool m
db *= dmax;
}
// Avoid overflows (which would generate intersting patterns).
// Avoid overflows (which would generate intersecting patterns).
// Note that not all possible (y,u,v) values with u,v \in [-1,1]
// have a correct RGB representation, therefore some RGB values
// may exceed {0,...,255}.
......@@ -295,7 +295,7 @@ QImage ColorTools::yPbPrColorWheel(const QSize &size, int Y, float scaling, bool
dg = Y - 87.75 * dpB - 182.1 * dpR;
db = Y + 451.86 * dpB;
// Avoid overflows (which would generate intersting patterns).
// Avoid overflows (which would generate intersecting patterns).
// Note that not all possible (y,u,v) values with u,v \in [-1,1]
// have a correct RGB representation, therefore some RGB values
// may exceed {0,...,255}.
......
......@@ -59,7 +59,7 @@ public:
* @param Url (optional) file to open
* @param clipsToLoad (optional) a comma separated list of clips to import in project
*
* If Url is present, it will be opened, otherwhise, if openlastproject is
* If Url is present, it will be opened, otherwise, if openlastproject is
* set, latest project will be opened. If no file is open after trying this,
* a default new file will be created. */
static void build(const QString &MltPath = QString(), const QUrl &Url = QUrl(), const QString &clipsToLoad = QString());
......
......@@ -72,7 +72,7 @@ public:
static QString getColorspaceDescription(int colorspace);
/** @brief Get the colorspace code (defined by MLT) from a descriptive text
* @param desctiption A string description as defined in getColorspaceDescription(int colorspace)
* @param description A string description as defined in getColorspaceDescription(int colorspace)
* @return The int code */
static int getColorspaceFromDescription(const QString &description);
......
......@@ -1292,7 +1292,7 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut,
renderArgs.append(QStringLiteral(" real_time=-%1").arg(KdenliveSettings::mltthreads()));
// Check if the rendering profile is different from project profile,
// in which case we need to use the producer_comsumer from MLT
// in which case we need to use the producer_consumer from MLT
QString subsize;
if (std.startsWith(QLatin1String("s="))) {
subsize = std.section(QLatin1Char(' '), 0, 0).toLower();
......
......@@ -76,7 +76,7 @@ private:
void fixClipItem(QTreeWidgetItem *child, const QDomNodeList &producers, const QDomNodeList &trans);
void fixSourceClipItem(QTreeWidgetItem *child, const QDomNodeList &producers);
void fixProxyClip(const QString &id, const QString &oldUrl, const QString &newUrl, const QDomNodeList &producers);
/** @brief Returns list of transitions containg luma files */
/** @brief Returns list of transitions containing luma files */
QMap <QString, QString> getLumaPairs() const;
};
......
......@@ -238,7 +238,7 @@ void ParameterPlotter::replot(const QString &name)
void ParameterPlotter::mousePressEvent(QMouseEvent *event)
{
//topPadding and other padding can be wrong and this (i hope) will be correctet in newer kde versions
//topPadding and other padding can be wrong and this (i hope) will be corrected in newer kde versions
QPoint inPlot = event->pos() - QPoint(leftPadding(), topPadding());
QList<KPlotPoint *> list = pointsUnderPoint(inPlot);
if (event->button() == Qt::LeftButton) {
......
......@@ -161,7 +161,7 @@ private slots:
/** @brief Sets the rect's height to @param value. */
void slotSetHeight(double value);
/** @brief Resizes the rect by @param value (in perecent) compared to the frame size. */
/** @brief Resizes the rect by @param value (in percent) compared to the frame size. */
void slotResize(double value);
/** @brief Sets the opacity to @param value. */
......
......@@ -38,7 +38,7 @@
<Action name="duplicate_clip" />
<Action name="proxy_clip" />
<Menu name="clip_in_timeline"><text>Clip in Timeline</text>
<ActionList name="timeline_occurences" />
<ActionList name="timeline_occurrences" />
</Menu>
<Action name="clip_properties" />
<Action name="edit_clip" />
......
......@@ -2,4 +2,3 @@ set(kdenlive_SRCS
${kdenlive_SRCS}
library/librarywidget.cpp
PARENT_SCOPE)
\ No newline at end of file
......@@ -2964,9 +2964,9 @@ void MainWindow::slotClipInTimeline(const QString &clipId)
actionList.insert(j, a);
}
QList<QAction *> list = inTimelineMenu->actions();
unplugActionList(QStringLiteral("timeline_occurences"));
unplugActionList(QStringLiteral("timeline_occurrences"));
qDeleteAll(list);
plugActionList(QStringLiteral("timeline_occurences"), actionList);
plugActionList(QStringLiteral("timeline_occurrences"), actionList);
if (actionList.isEmpty()) {
inTimelineMenu->setEnabled(false);
......
......@@ -70,7 +70,7 @@ public:
* @param Url (optional) file to open
* @param clipsToLoad (optional) a comma separated list of clips to import in project
*
* If Url is present, it will be opened, otherwhise, if openlastproject is
* If Url is present, it will be opened, otherwise, if openlastproject is
* set, latest project will be opened. If no file is open after trying this,
* a default new file will be created. */
void init(const QString &MltPath, const QUrl &Url, const QString &clipsToLoad);
......@@ -316,7 +316,7 @@ private slots:
void slotDeleteAllClipMarkers();
void slotEditClipMarker();
/** @brief Adds marker or auide at the current position without showing the marker dialog.
/** @brief Adds marker or guide at the current position without showing the marker dialog.
*
* Adds a marker if clip monitor is active, otherwise a guide.
* The comment is set to the current position (therefore not dialog).
......@@ -436,7 +436,7 @@ private slots:
/** @brief Process keyframe data sent from a clip to effect / transition stack. */
void slotProcessImportKeyframes(GraphicsRectItem type, const QString& tag, const QString& keyframes);
/** @brief Move playhead to mouse curser position if defined key is pressed */
/** @brief Move playhead to mouse cursor position if defined key is pressed */
void slotAlignPlayheadToMousePos();
void slotThemeChanged(const QString &);
......
......@@ -168,7 +168,7 @@ public:
QStringList getProjectHashes();
public slots:
/** @brief Stored a Bin Folder id / name to MLT's bin playlist. Using an empry folderName deletes the property */
/** @brief Stored a Bin Folder id / name to MLT's bin playlist. Using an empty folderName deletes the property */
void slotStoreFolder(const QString &folderId, const QString &parentId, const QString &oldParentId, const QString &folderName);
private:
......
......@@ -182,7 +182,7 @@ public:
/** @brief Returns true if audio thumbnails for this clip are cached */
bool audioThumbCreated;
Mlt::Profile *profile();
/** @brief When replacing a producer, it is important that we keep some properties, for exemple force_ stuff and url for proxies
/** @brief When replacing a producer, it is important that we keep some properties, for example force_ stuff and url for proxies
* this method returns a list of properties that we want to keep when replacing a producer . */
static const char *getPassPropertiesList(bool passLength = true);
/** @brief Disable all Kdenlive effects on this clip */
......
......@@ -735,7 +735,7 @@ void ProducerQueue::processFileProperties()
}
QImage img = KThumb::getFrame(frame, fullWidth, info.imageHeight, forceThumbScale);
if (frameNumber == -1) {
// No user specipied frame, look for best one
// No user specified frame, look for best one
int variance = KThumb::imageVariance(img);
if (variance < 6) {
// Thumbnail is not interesting (for example all black, seek to fetch better thumb
......
......@@ -212,7 +212,7 @@ void GLWidget::resizeGL(int width, int height)
double this_aspect = (double) width / height;
double video_aspect = m_monitorProfile->dar();
// Special case optimisation to negate odd effect of sample aspect ratio
// Special case optimization to negate odd effect of sample aspect ratio
// not corresponding exactly with image resolution.
if ((int)(this_aspect * 1000) == (int)(video_aspect * 1000)) {
w = width;
......
......@@ -140,7 +140,7 @@ signals:
void addEffect(const QDomElement &);
/** @brief Monitor activated, refresh overlay options actions */
void updateOverlayInfos(int, int);
/** @brief info is available for audio spectum widget */
/** @brief info is available for audio spectrum widget */
void frameDisplayed(const SharedFrame &);
};
......
......@@ -101,7 +101,7 @@ main()
/*
* NearestPointOnCurve :
* Compute the parameter value of the point on a Bezier
* curve segment closest to some arbtitrary, user-input point.
* curve segment closest to some arbitrary, user-input point.
* Return the point on the curve at that parameter value.
*
*/
......
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