From: Marius P Date: Sun, 16 Jun 2024 00:43:20 +0000 (+0300) Subject: Prefer en_US, "colour" -> "color" X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/22d5283eb7e7858d1375eaabfca467c2b03fed47?ds=inline Prefer en_US, "colour" -> "color" --- diff --git a/src/kitemviews/kstandarditemlistwidget.cpp b/src/kitemviews/kstandarditemlistwidget.cpp index 10494ba7e..d2806082a 100644 --- a/src/kitemviews/kstandarditemlistwidget.cpp +++ b/src/kitemviews/kstandarditemlistwidget.cpp @@ -1513,8 +1513,8 @@ void KStandardItemListWidget::updateAdditionalInfoTextColor() if (m_customTextColor.isValid()) { c1 = m_customTextColor; } else if (isSelected() && hasFocus && (m_layout != DetailsLayout || m_highlightEntireRow)) { - // The detail text colour needs to match the main text (HighlightedText) for the same level - // of readability. We short circuit early here to avoid interpolating with another colour. + // The detail text color needs to match the main text (HighlightedText) for the same level + // of readability. We short circuit early here to avoid interpolating with another color. m_additionalInfoTextColor = styleOption().palette.color(QPalette::HighlightedText); return; } else { diff --git a/src/selectionmode/backgroundcolorhelper.h b/src/selectionmode/backgroundcolorhelper.h index 4f8ce81f5..f274593b8 100644 --- a/src/selectionmode/backgroundcolorhelper.h +++ b/src/selectionmode/backgroundcolorhelper.h @@ -47,7 +47,7 @@ private: */ void slotPaletteChanged(); - /** Calculates a new m_colorControlledWidgets based on the current colour scheme of the application. */ + /** Calculates a new m_colorControlledWidgets based on the current color scheme of the application. */ void updateBackgroundColor(); private: