-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
401error -> login page direction, error alert message change Signup/Login Button textclass, language variance
- Loading branch information
Showing
5 changed files
with
58 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
interface Messages { | ||
[key: string]: { | ||
fileSelectAlert: string; | ||
uploadSuccess: (name: string) => string; | ||
uploadFail: string; | ||
}; | ||
} | ||
|
||
const messages: Messages = { | ||
ko: { | ||
fileSelectAlert: "파일을 선택해주세요.", | ||
uploadSuccess: (name: string) => `${name} 파일 업로드가 완료되었습니다. 변환을 시작하시겠습니까?`, | ||
uploadFail: "파일 업로드에 실패했습니다. 다시 시도해주세요.", | ||
}, | ||
en: { | ||
fileSelectAlert: "Please select a file.", | ||
uploadSuccess: (id: string) => `File ${id} has been uploaded. Would you like to start the conversion?`, | ||
uploadFail: "File upload failed. Please try again.", | ||
}, | ||
[key: string]: { | ||
fileSelectAlert: string; | ||
uploadSuccess: (name: string) => string; | ||
uploadFail: string; | ||
AuthFail: string; | ||
}; | ||
|
||
export default messages; | ||
} | ||
|
||
const messages: Messages = { | ||
ko: { | ||
fileSelectAlert: "파일을 선택해주세요.", | ||
uploadSuccess: (name: string) => | ||
`${name} 파일 업로드가 완료되었습니다. 변환을 시작하시겠습니까?`, | ||
uploadFail: "파일 업로드에 실패했습니다. 다시 시도해주세요.", | ||
AuthFail: "로그인 후 이용해 주세요.", | ||
}, | ||
en: { | ||
fileSelectAlert: "Please select a file.", | ||
uploadSuccess: (id: string) => | ||
`File ${id} has been uploaded. Would you like to start the conversion?`, | ||
uploadFail: "File upload failed. Please try again.", | ||
AuthFail: "Please log in to use this service.", | ||
}, | ||
}; | ||
|
||
export default messages; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters