1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-21 18:02:35 +01:00
thx coderabbit
This commit is contained in:
Mikael Finstad 2024-08-17 13:28:27 +02:00
parent 232344fc71
commit fbe599d53c
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -577,7 +577,7 @@ export async function selectSegmentsByLabelDialog(currentName: string) {
export async function selectSegmentsByExprDialog(inputValidator: (v: string) => Promise<string | undefined>) {
const examples = {
duration: { name: i18n.t('Segment duration less than 5 seconds'), code: 'segment.duration < 5' },
start: { name: i18n.t('Segment starts after 00:60'), code: 'segment.start > 60' },
start: { name: i18n.t('Segment starts after 01:00'), code: 'segment.start > 60' },
label: { name: i18n.t('Segment label (exact)'), code: "segment.label === 'My label'" },
regexp: { name: i18n.t('Segment label (regexp)'), code: '/^My label/.test(segment.label)' },
tag: { name: i18n.t('Segment tag value'), code: "segment.tags.myTag === 'tag value'" },