enhance(frontend): error message i18n

This commit is contained in:
syuilo
2024-08-24 16:59:17 +09:00
parent 8032a4e12a
commit 44f62160cb
3 changed files with 10 additions and 0 deletions

View File

@@ -66,6 +66,11 @@ export async function getNoteClipMenu(props: {
});
if (props.currentClip?.id === clip.id) props.isDeleted.value = true;
}
} else if (err.id === 'f0dba960-ff73-4615-8df4-d6ac5d9dc118') {
os.alert({
type: 'error',
text: i18n.ts.clipNoteLimitExceeded,
});
} else {
os.alert({
type: 'error',