fix: add missing translations and fix namespace usage
- Fix srt-player to use srtT namespace for error messages - Add deck_id.enterLanguageName and language labels (english, chinese, japanese, korean) - Add memorize.review.nextCard translation - Update all 8 locales with consistent translations
This commit is contained in:
@@ -70,7 +70,7 @@ export default function SrtPlayerPage() {
|
||||
uploadVideo((url) => {
|
||||
setVideoUrl(url);
|
||||
}, (error) => {
|
||||
toast.error(t('videoUploadFailed') + ': ' + error.message);
|
||||
toast.error(srtT('videoUploadFailed') + ': ' + error.message);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -78,7 +78,7 @@ export default function SrtPlayerPage() {
|
||||
uploadSubtitle((url) => {
|
||||
setSubtitleUrl(url);
|
||||
}, (error) => {
|
||||
toast.error(t('subtitleUploadFailed') + ': ' + error.message);
|
||||
toast.error(srtT('subtitleUploadFailed') + ': ' + error.message);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user