Skip to content

Commit e0520f0

Browse files
committed
chore: spelling
1 parent a1d2bc2 commit e0520f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

deno/shared.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ export function parseAcceptLanguage(value: string): string[] {
6464
}
6565

6666
/**
67-
* nomralize the language name
67+
* normalize the language name
6868
*
6969
* @description
7070
* This function normalizes the locale name defined in {@link https://www.gnu.org/software/gettext/manual/gettext.html#Locale-Names | gettext(libc) style} to {@link https://datatracker.ietf.org/doc/html/rfc4646#section-2.1 | BCP 47 language tag}
7171
*
7272
* @example
7373
* ```ts
7474
* const oldLangName = 'en_US'
75-
* const langTag = nomralizeLanguageName(oldLangName)
75+
* const langTag = normalizeLanguageName(oldLangName)
7676
* conosle.log(langTag) // en-US
7777
* ```
7878
*

src/shared.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ export function parseAcceptLanguage(value: string): string[] {
6464
}
6565

6666
/**
67-
* nomralize the language name
67+
* normalize the language name
6868
*
6969
* @description
7070
* This function normalizes the locale name defined in {@link https://www.gnu.org/software/gettext/manual/gettext.html#Locale-Names | gettext(libc) style} to {@link https://datatracker.ietf.org/doc/html/rfc4646#section-2.1 | BCP 47 language tag}
7171
*
7272
* @example
7373
* ```ts
7474
* const oldLangName = 'en_US'
75-
* const langTag = nomralizeLanguageName(oldLangName)
75+
* const langTag = normalizeLanguageName(oldLangName)
7676
* conosle.log(langTag) // en-US
7777
* ```
7878
*

0 commit comments

Comments
 (0)