Skip to content

Commit b3b8cb4

Browse files
committed
chore: fix typos in docs (#513)
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent d2d6bfb commit b3b8cb4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

OUDS/Core/Components/Sources/ContentDisplay/BulletList/OUDSBulletList.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ import SwiftUI
4646
///
4747
/// **it is not allowed to have a depth of items greater than 3**
4848
///
49-
/// ## Internationalisation consideratios
49+
/// ## Internationalisation considerations
5050
///
51-
/// For latin-based speaking coutries, like France, Spain, United Kingdom or Belgium, the european "arabic" numbers are used for the first level of depth
51+
/// For latin-based speaking countries, like France, Spain, United Kingdom or Belgium, the european "arabic" numbers are used for the first level of depth
5252
/// of the ordered bullet list. For the second and third levels, the european alphabets are used with upper and lower case values.
5353
///
5454
/// However for countries speaking arabic, these rules can't be applied. Indeed, there is no notion of upper and lower case characters in arabic alphabet.

OUDS/Core/Components/Sources/_OUDSComponents.docc/ContentDisplay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Some components can be used for **content display**.
1111

1212
### Bullet List
1313

14-
Bullet list is a UI element that helps to view in related individual text items grouped together; items usually starting with a number or a bullet.
14+
Bullet list is a UI element that helps to display related individual text items grouped together; items usually start with a number or a bullet.
1515

1616
@TabNavigator {
1717
@Tab("Orange") {

OUDS/Core/Tokens/SemanticTokens/Tests/Multiples/MultipleFontLineHeightSemanticTokensTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ struct MultipleFontLineHeightSemanticTokenTests {
5555
#expect(!first.isEqual(sixth))
5656
}
5757

58-
/// Tests the returned value depending to the user interfce size class
58+
/// Tests the returned value depending to the user interface size class
5959
@Test func lineHeightForUserInterfaceSizeClass() {
6060
let compactValue = FontRawTokens.lineHeight250
6161
let regularValue = FontRawTokens.lineHeight2050

OUDS/Foundations/Sources/OUDSUtils.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import Foundation
1515

16-
/// A set of utilities from OUDS lirbary shared with love ⸜(。˃ ᵕ ˂)⸝♡♡♡
16+
/// A set of utilities from OUDS library shared with love ⸜(。˃ ᵕ ˂)⸝♡♡♡
1717
///
1818
/// - Since: 1.2.0
1919
public enum OUDSUtils {
@@ -42,7 +42,7 @@ public enum OUDSUtils {
4242
/// - Parameters:
4343
/// - index: A rank, starting at 0
4444
/// - isUppercase: True if letter must be upper cased, false otherwise
45-
/// - Returns: A letter or group a letters (e.g. 1 to Z, AA to AZ, etc).
45+
/// - Returns: A letter or group of letters (e.g. 1 to Z, AA to AZ, etc).
4646
public static func cyclicLatinLetter(at index: UInt8, isUppercase: Bool) -> String {
4747
let alphabetSize = 26
4848
let baseChar: UInt8 = isUppercase ? UInt8(ascii: "A") : UInt8(ascii: "a")

0 commit comments

Comments
 (0)