From 479ce3a1641398a8506812300834666614013850 Mon Sep 17 00:00:00 2001 From: Kunda Ki Date: Wed, 3 Sep 2025 12:04:13 +0000 Subject: Fix several user-facing and non-user-facing typos Found via `codespell -S "*.desktop,*.po,*.svg,*.xml,./po" -L aparent,childs,goup,lokal` --- src/kitemviews/accessibility/kitemlistdelegateaccessible.cpp | 6 +++--- src/kitemviews/accessibility/kitemlistviewaccessible.cpp | 2 +- src/kitemviews/accessibility/kitemlistviewaccessible.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kitemviews/accessibility') diff --git a/src/kitemviews/accessibility/kitemlistdelegateaccessible.cpp b/src/kitemviews/accessibility/kitemlistdelegateaccessible.cpp index dcfe3af80..b50b71daf 100644 --- a/src/kitemviews/accessibility/kitemlistdelegateaccessible.cpp +++ b/src/kitemviews/accessibility/kitemlistdelegateaccessible.cpp @@ -177,12 +177,12 @@ QString KItemListDelegateAccessible::text(QAccessible::Text t) const continue; // No need to announce roles which are empty for this item. } description += - // i18n: The text starts with a comma because multiple occurences of this text can follow after each others as an enumeration. + // i18n: The text starts with a comma because multiple occurrences of this text can follow after each others as an enumeration. // Normally it would make sense to have a colon between property and value to make the relation between the property and its property value // clear, however this is accessible text that will be read out by screen readers. That's why there is only a space between the two here, // because screen readers would read the colon literally as "colon", which is just a waste of time for users who might go through a list of - // hundreds of items. So, if you want to add any more punctation there to improve structure, try to make sure that it will not lead to annoying - // announcements when read out by a screen reader. + // hundreds of items. So, if you want to add any more punctuation there to improve structure, try to make sure that it will not lead to + // annoying announcements when read out by a screen reader. i18nc("@info accessibility enumeration, %1 is property, %2 is value", ", %1 %2", model->roleDescription(roleInformation), roleText); } return description; diff --git a/src/kitemviews/accessibility/kitemlistviewaccessible.cpp b/src/kitemviews/accessibility/kitemlistviewaccessible.cpp index f58527be6..319b69f30 100644 --- a/src/kitemviews/accessibility/kitemlistviewaccessible.cpp +++ b/src/kitemviews/accessibility/kitemlistviewaccessible.cpp @@ -261,7 +261,7 @@ QString KItemListViewAccessible::text(QAccessible::Text t) const /** * Always announce the path last because it might be very long. - * We do not need to announce the total count of items here because accessibility software like Orca alrady announces this automatically for lists. + * We do not need to announce the total count of items here because accessibility software like Orca already announces this automatically for lists. */ if (!currentItem) { return i18nc("@info 1 states that the folder is empty and sometimes why, 2 is the full filesystem path", diff --git a/src/kitemviews/accessibility/kitemlistviewaccessible.h b/src/kitemviews/accessibility/kitemlistviewaccessible.h index 64b5a2442..5ab1ee5c3 100644 --- a/src/kitemviews/accessibility/kitemlistviewaccessible.h +++ b/src/kitemviews/accessibility/kitemlistviewaccessible.h @@ -27,7 +27,7 @@ class KItemListSelectionManager; * interact with the view using accessibility tools. It implements various interfaces mostly to generally allow working with the view as a whole. However, * actually interacting with singular items within the view is implemented in KItemListDelegateAccessible. * - * @note For documentation of most of the methods within this class, check out the documentation of the methods which are being overriden here. + * @note For documentation of most of the methods within this class, check out the documentation of the methods which are being overridden here. */ class DOLPHIN_EXPORT KItemListViewAccessible : public QAccessibleObject, public QAccessibleSelectionInterface, -- cgit v1.3.1