Cleanup: Fix various typos

Fixes several user-facing and non-user-facing typos.

Found via:  
`codespell -S "*.actions,*.appdata.xml,*.desktop,*.json,*.kksrc,*.metainfo.xml,*.notifyrc,*.po,./po,*.xml" -L claus,doubleclick,filetest,flate,mis,nam,previousy,propt,substract,virtualy`
This commit is contained in:
Kunda Ki 2025-09-22 15:21:10 +00:00
parent 5c88eeee6a
commit 7898cd7837
18 changed files with 19 additions and 19 deletions

View file

@ -48,7 +48,7 @@ PlasmaExtras.PlasmoidHeading {
implicitWidth: contentWidth + leftPadding + rightPadding
implicitHeight: contentHeight + topPadding + bottomPadding
// This is needed to keep the sparators horizontally aligned
// This is needed to keep the separators horizontally aligned
leftPadding: mirrored ? root.spacing : 0
rightPadding: !mirrored ? root.spacing : 0

View file

@ -117,7 +117,7 @@ EmptyPage {
focus: true
interactive: height < contentHeight
pixelAligned: true
reuseItems: false // explicitely disabled because it doesnt work correctly with switching models like we do
reuseItems: false // explicitly disabled because it doesn't work correctly with switching models like we do
boundsBehavior: Flickable.StopAtBounds
// default keyboard navigation doesn't allow focus reasons to be used
// and eats up/down key events when at the beginning or end of the list.

View file

@ -19,7 +19,7 @@ KickoffGridView {
property int gridIndex: -1 // To know the index of the grid when used inside a listivew
property bool isCurrentSectionGrid: false
property bool isSearchFieldActive: false // needed since check doesn't work here when gridview used in all apps
property ListView parentView // neeeded when used inside a listview e.g. all apps view
property ListView parentView // needed when used inside a listview e.g. all apps view
signal showSectionView(string sectionName)

View file

@ -66,7 +66,7 @@ PlasmaCore.PopupPlasmaWindow {
Component.onCompleted: {
// Don't bind visible at creation, otherwise it
// vill be made visible before assigning the visual partent
// will be made visible before assigning the visual partent
// making the window flickering in the center of the screen before being moved
// in the correct position
visible = true

View file

@ -234,7 +234,7 @@ bool Attica::KdePlatformDependent::isReady()
}
// TODO Don't just cache it forever, so reset to nullptr every so often, so we pick up potential new stuff the user's done
// NOTE The above todo is nonesense. Whatever changes the credentials should broadcast that something changed and then we
// NOTE The above todo is nonsense. Whatever changes the credentials should broadcast that something changed and then we
// should reload. Also reloading shouldn't clear the m_accessToken but simply overwrite with a new one - sitter, 2024
void Attica::KdePlatformDependent::loadAccessToken()
{

View file

@ -152,7 +152,7 @@ KCM.ScrollViewKCM {
Layout.fillHeight: true
implicitWidth: Kirigami.Units.iconSizes.small
implicitHeight: Kirigami.Units.iconSizes.small
animated: false // TableView re-uses delegates, avoid animation when sorting/filtering.
animated: false // TableView reuses delegates, avoid animation when sorting/filtering.
source: decoration
}
Label {

View file

@ -130,7 +130,7 @@ void PositionerTest::tst_move()
if (configChanged) {
QCOMPARE_NE(baselineConfig, getCurrentConfig());
} else {
// If our movement doesnt change anything, config is equal
// If our movement doesn't change anything, config is equal
QCOMPARE(baselineConfig, getCurrentConfig());
}
}

View file

@ -251,7 +251,7 @@ void ScreenMapperTest::tst_readAndSaveItemsOnActivitiesOnDisabledScreens()
// clang-format on
QStringList seralizedMap;
// Create a seralized QStringList from expectedMapping
// Create a serialized QStringList from expectedMapping
for (const auto &l : expectedMapping) {
for (const auto &s : l) {
seralizedMap.append(s);

View file

@ -96,7 +96,7 @@ void Positioner::setPerStripe(int perStripe)
if (configurationHasResolution(m_resolution)) {
loadAndApplyPositionsConfig(SkipPerStripeUpdate);
}
// If no longer defering positions, update them
// If no longer deferring positions, update them
if (!m_deferApplyPositions) {
updatePositionsList();
}
@ -491,7 +491,7 @@ void Positioner::sourceStatusChanged()
{
if (m_deferApplyPositions && m_folderModel->status() != FolderModel::Listing) {
convertFolderModelData();
// If no longer defering positions, update them
// If no longer deferring positions, update them
if (!m_deferApplyPositions) {
updatePositionsList();
}

View file

@ -107,7 +107,7 @@ function childAtCoordinates(x, y) {
while (!child) {
if (root.isHorizontal) {
// Only yields incorrect results for widgets smaller than the
// row/column spacing, which is luckly fairly unrealistic
// row/column spacing, which is luckily fairly unrealistic
x -= layout.rowSpacing
} else {
y -= layout.columnSpacing

View file

@ -27,7 +27,7 @@ The plasma shell can control the security aspects of remote widgets, combined wi
Security wise, every incoming message will get processed as follows:
Every message that gets sent to the server get's a signature appended. Signing happens with an RSA key that is generated for you if it doesn't exist already, and then stored in the kde wallet, so your private key for signing doesn't change from that moment on. When starting a connection, the full credentials of the client are sent along, later messages just contain a hash of the key to identify the sender without having to put all the information in every message.
Every message that gets sent to the server gets a signature appended. Signing happens with an RSA key that is generated for you if it doesn't exist already, and then stored in the kde wallet, so your private key for signing doesn't change from that moment on. When starting a connection, the full credentials of the client are sent along, later messages just contain a hash of the key to identify the sender without having to put all the information in every message.
Whenever a message is received and the Credential's trustLevel is at least ValidCredentials (meaning, the signature of the message is at least valid for the public key), the combination service name and public key signature is used to see if there are any AuthorizationRules that already match this request. These are both rules defined in /etc/plasma-remotewidgets.conf and rules that are created for the current plasma session only. If a matching rule is found, it is applied (that is, the message is either accepted or denied). Else a new rule is created, that is at that moment still Undefined. This rule, containing an instance of Credential that can be used to obtain a trustLevel, will be passed to the active AuthorizationInterface's authorizationRequest. The interface can then decide to either accept or deny the request, or request PIN pairing, in which case the user will have to enter the same password on both client and server to establish a connection.
NOT YET IMPLEMENTED: additionally, a message can also be signed with a GPG key, in which case the trustLevel can go beyond ValidCredentials. Either by having that key in your trusted keyring, or, for UltimateCredentials, having it signed by the plasma overlords themselves.

View file

@ -278,7 +278,7 @@ PC3.Page {
bottomMargin: footerContainer.visible ? 0 : - main.sidePanel.margins.bottom
}
// The scrollbar changing visibiliy can lead to the content size changing due to word wrap
// The scrollbar changing visibility can lead to the content size changing due to word wrap
// A delayed binding gives some extra time, it'll come to a stop as there's only one scroll bar
property bool scrollBarVisible: false
Binding on scrollBarVisible {

View file

@ -33,7 +33,7 @@ void EmojiDict::load(const QString &path)
// We use a fixed version to keep it binary compatible.
// Also we do not use advanced data type so it does not matter.
stream.setVersion(QDataStream::Qt_5_15);
// Explicitly set endianess to ensure it's not relevant to architecture.
// Explicitly set endianness to ensure it's not relevant to architecture.
stream.setByteOrder(QDataStream::LittleEndian);
QList<Emoji> emojis;
stream >> emojis;

View file

@ -51,7 +51,7 @@ Canvas {
ctx.translate(translation, translation)
ctx.scale(scale, scale)
// Acount for offset bounds (positive or negative!)
// Account for offset bounds (positive or negative!)
ctx.translate(-shape.bounds.x, -shape.bounds.y)
ctx.beginPath()

View file

@ -97,7 +97,7 @@ Window {
visible: hoverArea.containsMouse
contentItem: Item {
scale: kbd.scale * 3 // make keys easily redable at 2.5 times the regular size
scale: kbd.scale * 3 // make keys easily readable at 2.5 times the regular size
Key {
id: keyItem

View file

@ -163,7 +163,7 @@ void KCMKeys::loadScheme(const QUrl &url)
KConfig copy(QString(), KConfig::SimpleConfig);
file.copyTo(QString(), &copy);
KConfigGroup commandsGroup(&copy, QStringLiteral("Custom Commands"));
// Importing Custom Commmands:
// Importing Custom Commands:
// - check if the command already exists
// - if yes, and its the same component, there is nothing to do
// - otherwise need to add command and/or migrate config

View file

@ -18,7 +18,7 @@ public:
/**
* @param fileInfo QFileInfo of the file or directory
* @param mimeType Mime type of the file
* @param install Set to true if the entry should be installed, flase if it should be uninstalled
* @param install Set to true if the entry should be installed, false if it should be uninstalled
*/
virtual void executeOperation(const QFileInfo &fileInfo, const QString &mimeType, bool install) = 0;

View file

@ -12,7 +12,7 @@
/**
* @brief Represents an input sequence that happens on a tablet button action, which could be a variety of types.
* Currently suppoerted is "Disabled", "Keyboard", "Mouse" or "Application-defined".
* Currently supported is "Disabled", "Keyboard", "Mouse" or "Application-defined".
*/
class InputSequence
{