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":
|
case "th":
|
||||||
return (
|
return (
|
||||||
{
|
{
|
||||||
["THA"]: "ไทย",
|
["THA"]: "ไทย", // spellchecker:disable-line
|
||||||
["MMR"]: "เมียนมา",
|
["MMR"]: "เมียนมา",
|
||||||
["LAO"]: "ลาว",
|
["LAO"]: "ลาว",
|
||||||
["KHM"]: "กัมพูชา",
|
["KHM"]: "กัมพูชา",
|
||||||
|
|
@ -353,7 +353,7 @@ function nationality(text: string, lang: "th" | "en" = "en") {
|
||||||
default:
|
default:
|
||||||
return (
|
return (
|
||||||
{
|
{
|
||||||
["THA"]: "Thai",
|
["THA"]: "Thai", // spellchecker:disable-line
|
||||||
["MMR"]: "Myanmar",
|
["MMR"]: "Myanmar",
|
||||||
["LAO"]: "Laos",
|
["LAO"]: "Laos",
|
||||||
["KHM"]: "Khmer",
|
["KHM"]: "Khmer",
|
||||||
|
|
|
||||||
|
|
@ -536,7 +536,7 @@ export class CreditNoteController extends Controller {
|
||||||
if (record.creditNoteStatus !== CreditNoteStatus.Waiting) {
|
if (record.creditNoteStatus !== CreditNoteStatus.Waiting) {
|
||||||
throw new HttpError(
|
throw new HttpError(
|
||||||
HttpStatus.BAD_REQUEST,
|
HttpStatus.BAD_REQUEST,
|
||||||
"Accpeted credit note cannot be deleted",
|
"Accepted credit note cannot be deleted",
|
||||||
"creditNoteAcceptedNoDelete",
|
"creditNoteAcceptedNoDelete",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue