fix: typos and ignore some false typos
This commit is contained in:
parent
9590803e40
commit
45482c3a1b
3 changed files with 5 additions and 3 deletions
2
.typos.toml
Normal file
2
.typos.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[default]
|
||||
extend-ignore-re = ["(?Rm)^.*(#|//)\\s*spellchecker:disable-line$"]
|
||||
|
|
@ -341,7 +341,7 @@ function nationality(text: string, lang: "th" | "en" = "en") {
|
|||
case "th":
|
||||
return (
|
||||
{
|
||||
["THA"]: "ไทย",
|
||||
["THA"]: "ไทย", // spellchecker:disable-line
|
||||
["MMR"]: "เมียนมา",
|
||||
["LAO"]: "ลาว",
|
||||
["KHM"]: "กัมพูชา",
|
||||
|
|
@ -353,7 +353,7 @@ function nationality(text: string, lang: "th" | "en" = "en") {
|
|||
default:
|
||||
return (
|
||||
{
|
||||
["THA"]: "Thai",
|
||||
["THA"]: "Thai", // spellchecker:disable-line
|
||||
["MMR"]: "Myanmar",
|
||||
["LAO"]: "Laos",
|
||||
["KHM"]: "Khmer",
|
||||
|
|
|
|||
|
|
@ -536,7 +536,7 @@ export class CreditNoteController extends Controller {
|
|||
if (record.creditNoteStatus !== CreditNoteStatus.Waiting) {
|
||||
throw new HttpError(
|
||||
HttpStatus.BAD_REQUEST,
|
||||
"Accpeted credit note cannot be deleted",
|
||||
"Accepted credit note cannot be deleted",
|
||||
"creditNoteAcceptedNoDelete",
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue