Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5d6a2148 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent d5c9f4ce
......@@ -87,7 +87,7 @@ Item {
smooth: true
// A custom icon could also be rectangular. However, if a square, custom, icon is given, assume it
// to be an icon and round it to the nearest icon size again to avoid scaling artefacts.
// to be an icon and round it to the nearest icon size again to avoid scaling artifacts.
roundToIconSize: !useCustomButtonImage || aspectRatio === 1
onSourceChanged: updateSizeHints()
......
......@@ -572,7 +572,7 @@ Item {
// If the motion vector is outside the angle range from oldPos to the
// relevant tab bar corners, switch immediately. Otherwise start the
// timer, which gets aborted should the pointer exit the the tab bar
// timer, which gets aborted should the pointer exit the tab bar
// early.
var inRange = (lower < angleMouseMove == angleMouseMove < upper);
......
......@@ -287,7 +287,7 @@ PlasmaCore.Dialog {
maxWidth += LayoutManager.horizontalMargins() + units.iconSizes.medium + 2 * units.smallSpacing;
// Add horizontal space for scrollbar if needed.
// FIXME TODO HACK: Use actuall scrollbar width instead of a good guess.
// FIXME TODO HACK: Use actual scrollbar width instead of a good guess.
if (maxHeight > preferredHeight) {
maxWidth += (units.smallSpacing * 3);
}
......
......@@ -40,7 +40,7 @@ using namespace Attica;
KdePlatformDependent::KdePlatformDependent()
: m_config(KSharedConfig::openConfig(QStringLiteral("atticarc"))), m_accessManager(nullptr), m_wallet(nullptr)
{
// FIXME: Investigate how to not leak this instance witohut crashing.
// FIXME: Investigate how to not leak this instance without crashing.
m_accessManager = new QNetworkAccessManager(nullptr);
const QString cacheDir = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + QStringLiteral("/attica");
......
......@@ -134,7 +134,7 @@ Item {
// Arrangment section
// Arrangement section
ComboBox {
id: arrangement
Layout.fillWidth: true
......
......@@ -652,7 +652,7 @@ FocusScope {
scrollRight = false;
}
// Update rubberband geomety.
// Update rubberband geometry.
if (main.rubberBand) {
var rB = main.rubberBand;
......
......@@ -54,7 +54,7 @@ DragDrop.DropArea {
//BEGIN functions
function addApplet(applet, x, y) {
// don't show applet if it choses to be hidden but still make it
// don't show applet if it chooses to be hidden but still make it
// accessible in the panelcontroller
// Due to the nature of how "visible" propagates in QML, we need to
// explicitly set it on the container (so the Layout ignores it)
......
......@@ -122,8 +122,8 @@ Tools
* NEW: Plasma::Service interaction UI, using DataEngine::serviceForSource
* plasmapkg
* now supports listing, updating and removing packages
* NEW: Destkop Theme Details
* Customize and create new desktop themes with kcmshell4 destkopthemedetails
* NEW: Desktop Theme Details
* Customize and create new desktop themes with kcmshell4 desktopthemedetails
Plugins/Addons
--------------
......
......@@ -39,7 +39,7 @@ Information
If the user missed some notification, it's possible to view the old ones by manually invoking a different ui by hitting the "i" button.
The notifications are contained in a widget called NotificationScroller, that appears as a popup window. A tabbar lets the user filter the notifications by the sender application (useful for instance if the user is looking for informations about completition of an old running file tranfer or battery warning notices).
Notifications are in a scrolling view that permits a fairly large amount of those to be displayed without using too much screen space.
It features also the the following behaviour:
It features also the following behaviour:
* If a new notification arrives the current status of the widget is not changed, to not interrupt the user workflow. (current selected tab and scrollbar value)
* If the user manually dismisses a notification, bot there and in the NotificationStack it goes away both in the NotificationStack and in the NotificationScroller
......
......@@ -37,7 +37,7 @@ Item {
shortcut: "Escape"
onTriggered: {
// avoid leaving the panel in an inconsistent state when escaping while dragging it
// "checked" means "pressed" in this case, we abuse that propery to make the button look pressed
// "checked" means "pressed" in this case, we abuse that property to make the button look pressed
if (edgeHandle.checked || sizeHandle.checked) {
return
}
......
......@@ -214,7 +214,7 @@ void Autostart::load()
int indexPath = m_paths.indexOf((item->fileName().adjusted(QUrl::RemoveFilename).toString() ) );
if ( indexPath > 2 )
indexPath = 0; //.kde/share/autostart and .config/autostart load destkop at startup
indexPath = 0; //.kde/share/autostart and .config/autostart load desktop at startup
addItem(item, config.readName(), m_pathName.value(indexPath), grp.readEntry("Exec"), disabled );
}
}
......
......@@ -197,7 +197,7 @@ void SchemeEditorDialog::saveScheme()
KStandardGuiItem::overwrite(),
KStandardGuiItem::cancel());
//on don't overwrite, call again the functionn
//on don't overwrite, call again the function
if(ret == KMessageBox::No){
this->saveScheme();
return;
......
......@@ -120,7 +120,7 @@ private:
/** Holds the last size that was chosen by the user. Example: The user chooses
theme1 which provides the sizes 24 and 36. He chooses 36. preferredSize gets
set to 36. Now, he switchs to theme2 which provides the sizes 30 and 40.
set to 36. Now, he switches to theme2 which provides the sizes 30 and 40.
preferredSize still is 36, so the UI will default to 40, which is next to 36.
Now, he chooses theme3 which provides the sizes 34 and 44. preferredSize is
still 36, so the UI defaults to 34. Now the user changes manually to 44. This
......
......@@ -28,7 +28,7 @@ Item {
id: background
anchors.fill: parent
// Air theme have huge transparent margins in widgets/background svg, so use
// widgets/panel-backroung untill Plasma::FrameSvg exposes the transparent margins
// widgets/panel-background until Plasma::FrameSvg exposes the transparent margins
imagePath: themeName == "air" ? "widgets/panel-background" : "widgets/background"
}
......
......@@ -59,7 +59,7 @@ static QFont nearestExistingFont(const QFont &font)
{
QFontDatabase dbase;
// Initialize font data accoring to given font object.
// Initialize font data according to given font object.
QString family = font.family();
QString style = dbase.styleString(font);
qreal size = font.pointSizeF();
......
......@@ -64,7 +64,7 @@ void KeyboardConfig::setDefaults()
// layouts.append(LayoutUnit(DEFAULT_LAYOUT));
layoutLoopCount = NO_LOOPING;
// switch cotrol options
// switch control options
switchingPolicy = SWITCH_POLICY_GLOBAL;
// stickySwitching = false;
// stickySwitchingDepth = 2;
......
......@@ -60,7 +60,7 @@ public:
QList<LayoutUnit> layouts;
int layoutLoopCount;
// switch cotrol options
// switch control options
SwitchingPolicy switchingPolicy;
// bool stickySwitching;
// int stickySwitchingDepth;
......
......@@ -59,12 +59,12 @@ struct GeometryParser : qi::grammar<Iterator, iso::space_type> {
qi::rule<Iterator, std::string(), iso::space_type>comments, ignore;
qi::rule<Iterator, double(), iso::space_type>localDimension, priority;
//general non-temrminals
//general non-terminals
qi::rule<Iterator, std::string(), iso::space_type>name;
qi::rule<Iterator, std::string(), iso::space_type>description;
qi::rule<Iterator, std::string(), iso::space_type>input;
//non-teminals for shape
//non-terminals for shape
qi::rule<Iterator, int(), iso::space_type>shape;
qi::rule<Iterator, int(), iso::space_type>shapeDef;
qi::rule<Iterator, int(), iso::space_type>shapeC;
......@@ -75,7 +75,7 @@ struct GeometryParser : qi::grammar<Iterator, iso::space_type> {
qi::rule<Iterator, int(), iso::space_type>cordinatea;
qi::rule<Iterator, int(), iso::space_type>cordinates;
//non-teminals for key
//non-terminals for key
qi::rule<Iterator, double(), iso::space_type>keygap;
qi::rule<Iterator, std::string(), iso::space_type>keyName;
qi::rule<Iterator, std::string(), iso::space_type>keyShape;
......@@ -87,7 +87,7 @@ struct GeometryParser : qi::grammar<Iterator, iso::space_type> {
qi::rule<Iterator, std::string(), iso::space_type>section;
//non-teminals related to local data
//non-terminals related to local data
qi::rule<Iterator, std::string(), iso::space_type>localShape;
qi::rule<Iterator, std::string(), iso::space_type>localColor;
......@@ -138,12 +138,12 @@ struct GeometryParser : qi::grammar<Iterator, iso::space_type> {
void setKeyOffset();
void setKeyCordi();
//functionsfor geometry
//functions for geometry
void setGeomShape(std::string n);
void getName(std::string n);
void getDescription(std::string n);
//functions for alingment
//functions for alignment
void setVerticalRow();
void setVerticalSection();
void setVerticalGeometry();
......
......@@ -1726,7 +1726,7 @@ void CFontListView::selectionChanged(const QItemSelection &selected,
QModelIndexList CFontListView::getSelectedItems()
{
//
// Go throgh current selection, and for any 'font' items that are selected,
// Go through current selection, and for any 'font' items that are selected,
// ensure 'family' item is not...
QModelIndexList selectedItems(selectedIndexes()),
deselectList;
......
......@@ -987,7 +987,7 @@ void CGroupListView::dropEvent(QDropEvent *event)
to(indexAt(event->pos()));
ds >> families;
// Are we mvoeing/copying, removing a font from the current group?
// Are we moving/copying, removing a font from the current group?
if(to.isValid() && from.isValid())
{
if( ((static_cast<CGroupListItem *>(from.internalPointer()))->isSystem() &&
......
......@@ -595,7 +595,7 @@ void CKCmFontInst::print(bool all)
title = QCoreApplication::applicationName();
//
// If we have lots of fonts to print, pass kfontinst a tempory groups file to print
// If we have lots of fonts to print, pass kfontinst a temporary groups file to print
// instead of passing font by font...
if(useFile)
{
......
......@@ -292,9 +292,9 @@ void CKioFonts::get(const QUrl &url)
end((*style).files().end());
//
// The thumbnail job always donwloads non-local files to /tmp/... and passes this file name to
// The thumbnail job always downloads non-local files to /tmp/... and passes this file name to
// the thumbnail creator. However, in the case of fonts which are split among many files, this
// wont work. Therefore, when the thumbnail code asks for the font to donwload, just return
// wont work. Therefore, when the thumbnail code asks for the font to download, just return
// the family and style info for enabled fonts, and the filename for disabled fonts. This way
// the font-thumbnail creator can read this and just ask Xft/fontconfig for the font data.
if("1"==metaData("thumbnail"))
......
......@@ -26,7 +26,7 @@
#include <QHash>
//
// KDE font chooser always seems to use Italic - for both Oblique, and Italic. So I guees
// KDE font chooser always seems to use Italic - for both Oblique, and Italic. So I guess
// the fonts:/ should do too - so as to appear more unified.
//
// ditto with respect to Medium/Regular
......
......@@ -146,7 +146,7 @@ QString SolidActionData::generateUserString( QString className )
finalString = className.remove(0, className.lastIndexOf(':') + 1); // Remove any Class information
finalString = finalString.replace( camelCase, QStringLiteral(" \\1") ); // Use Camel Casing to add spaces
finalString = KStringHandler::capwords( finalString ); // Captialise everything
finalString = KStringHandler::capwords( finalString ); // Capitalize everything
return finalString.trimmed();
}
......
......@@ -35,11 +35,11 @@ bool TouchpadDisabler::workingTouchpadFound() const
void TouchpadDisabler::serviceRegistered(const QString &service)
{
if (!m_dependecies.removeWatchedService(service)) {
if (!m_dependencies.removeWatchedService(service)) {
return;
}
if (m_dependecies.watchedServices().isEmpty()) {
if (m_dependencies.watchedServices().isEmpty()) {
lateInit();
}
}
......@@ -52,9 +52,9 @@ TouchpadDisabler::TouchpadDisabler(QObject *parent, const QVariantList &)
return;
}
m_dependecies.addWatchedService("org.kde.plasmashell");
m_dependecies.addWatchedService("org.kde.kglobalaccel");
connect(&m_dependecies, SIGNAL(serviceRegistered(QString)),
m_dependencies.addWatchedService("org.kde.plasmashell");
m_dependencies.addWatchedService("org.kde.kglobalaccel");
connect(&m_dependencies, SIGNAL(serviceRegistered(QString)),
SLOT(serviceRegistered(QString)));
connect(m_backend, SIGNAL(mousesChanged()), SLOT(mousePlugged()));
......@@ -75,8 +75,8 @@ TouchpadDisabler::TouchpadDisabler(QObject *parent, const QVariantList &)
m_userRequestedState = m_touchpadEnabled;
reloadSettings();
m_dependecies.setWatchMode(QDBusServiceWatcher::WatchForRegistration);
m_dependecies.setConnection(QDBusConnection::sessionBus());
m_dependencies.setWatchMode(QDBusServiceWatcher::WatchForRegistration);
m_dependencies.setConnection(QDBusConnection::sessionBus());
QDBusPendingCall async = QDBusConnection::sessionBus().interface()->asyncCall(QLatin1String("ListNames"));
QDBusPendingCallWatcher *callWatcher = new QDBusPendingCallWatcher(async, this);
connect(callWatcher, SIGNAL(finished(QDBusPendingCallWatcher*)),
......@@ -102,7 +102,7 @@ void TouchpadDisabler::serviceNameFetchFinished(QDBusPendingCallWatcher *callWat
}
QStringList allServices = reply.value();
Q_FOREACH (const QString &service, m_dependecies.watchedServices()) {
Q_FOREACH (const QString &service, m_dependencies.watchedServices()) {
if (allServices.contains(service)) {
serviceRegistered(service);
}
......@@ -192,7 +192,7 @@ void TouchpadDisabler::timerElapsed()
void TouchpadDisabler::mousePlugged()
{
if (!m_dependecies.watchedServices().isEmpty()) {
if (!m_dependencies.watchedServices().isEmpty()) {
return;
}
......
......@@ -71,7 +71,7 @@ private:
TouchpadBackend *m_backend;
TouchpadDisablerSettings m_settings;
QTimer m_keyboardActivityTimeout;
QDBusServiceWatcher m_dependecies;
QDBusServiceWatcher m_dependencies;
TouchpadBackend::TouchpadOffState m_keyboardDisableState;
bool m_userRequestedState, m_touchpadEnabled;
......
......@@ -142,7 +142,7 @@ Item {
}
function placeToolBox(ts) {
// if nothing has been setup yet, determin default position based on layout direction
// if nothing has been setup yet, determine default position based on layout direction
if (!ts) {
if (Qt.application.layoutDirection === Qt.RightToLeft) {
placeToolBox("topleft");
......
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