Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit subtitles. Soni Translate don't apply when i adjust sub array's length #141

Open
hoangquocvietbro opened this issue Jan 17, 2025 · 1 comment

Comments

@hoangquocvietbro
Copy link

hoangquocvietbro commented Jan 17, 2025

Example of error: origin sub before edit in textarea : [
{
"start": 0.265,
"text": "We want to buy a cushion, please change it for us.",
"speaker": 1
},
{
"start": 4.494,
"text": "What cushion?",
"speaker": 1
},
{
"start": 5.296,
"text": "Just change it to a bigger one, as soft as a sofa.",
"speaker": 1
}
]
Edited sub:
[
{
"start": 0.265,
"text": "We want to buy a cushion, please change it for us.",
"speaker": 1
},
{
"start": 2.494,
"text": "What cushion?",
"speaker": 1
},
{
"start": 3.296,
"text": "Just change it to a bigger one, as soft as a sofa.",
"speaker": 1
},
{
"start": 4.813,
"text": "Soft?",
"speaker": 1
},
{
"start": 5.738,
"text": "This stool is too hard, isn't it, sister?",
"speaker": 1
}
]
I add two element to array. All adjust in three head element is done but two tail element don't work. => Error when i increase sub array's length. And when i decrease (remove some element) => Index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@hoangquocvietbro and others