Localize hardcoded Korean text in download-bottom-sheet and notice-detail

- Add translation keys for download bottom sheet messages
- Replace hardcoded Korean text with translation function calls
- Add error handling for empty notice detail response
- Support multi-language functionality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-11-10 13:41:27 +09:00
parent 213c4aac00
commit 4590efe8bb
4 changed files with 14 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ export const DownloadBottomSheet = ({
}, 10);
}
else{
snackBar('신청 방법을 선택하세요');
snackBar(t('common.selectRequestMethod'));
}
};
@@ -108,7 +108,7 @@ export const DownloadBottomSheet = ({
>
<div className="bottomsheet-header">
<div className="bottomsheet-title">
<h2> </h2>
<h2>{t('common.selectRequestMethod')}</h2>
<button
className="close-btn"
type="button"
@@ -175,10 +175,10 @@ export const DownloadBottomSheet = ({
</div>
</div>
}
{ selectedMode === DownloadSelectedMode.EMAIL &&
{ selectedMode === DownloadSelectedMode.EMAIL &&
(!optionsEmails || optionsEmails.length === 0) &&
<div className="error-message">
<p> .<br /> .</p>
<p>{t('common.noRegisteredEmail')}<br />{t('common.addEmailAuthInfo')}</p>
</div>
}
</>