Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhpk committed Dec 25, 2024
1 parent ec2bc01 commit b7107a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func EUnsupportedFileFormat(accid, fileformat string, supporteds []string, field
}
field["account_id"] = accid
field["file_format"] = fileformat
field["supported"] = strings.Join(supporteds, " ,")
field["supported"] = strings.Join(supporteds, ", ")
return Error(nil, field, E_unsupported_file_format, E_invalid_input)
}

Expand Down
4 changes: 2 additions & 2 deletions error_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ var ErrorTable = map[E]H{
"en_US": "Invalid handle, please select a handle longer than 5 characters and containing only latin alphabetic characters, digits or '-', '_'",
},
"unsupported_file_format": H{
"vi_VN": "Định dạng file {file_format} không được hỗ trợ. Danh sách những định dạng file được hỗ trợ: {supported}",
"en_US": "The file format {file_format} is not supported. List of supported file formats: {supported}",
"vi_VN": "Định dạng file {file_format} không được hỗ trợ. Danh sách những định dạng file được hỗ trợ: {supported}.",
"en_US": "The file format {file_format} is not supported. List of supported file formats: {supported}.",
},
"api_http_unsupported": H{
"vi_VN": "API chỉ có thể truy cập qua HTTPS. Đảm bảo URL bắt đầu bằng 'https://' chứ không phải 'http://'.",
Expand Down
4 changes: 2 additions & 2 deletions errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"en_US": "Invalid handle, please select a handle longer than 5 characters and containing only latin alphabetic characters, digits or '-', '_'"
},
"unsupported_file_format": {
"vi_VN": "Định dạng file {file_format} không được hỗ trợ. Danh sách những định dạng file được hỗ trợ: {supported}",
"en_US": "The file format {file_format} is not supported. List of supported file formats: {supported}"
"vi_VN": "Định dạng file {file_format} không được hỗ trợ. Danh sách những định dạng file được hỗ trợ: {supported}.",
"en_US": "The file format {file_format} is not supported. List of supported file formats: {supported}."
},
"api_http_unsupported": {
"vi_VN": "API chỉ có thể truy cập qua HTTPS. Đảm bảo URL bắt đầu bằng 'https://' chứ không phải 'http://'.",
Expand Down

0 comments on commit b7107a0

Please sign in to comment.