mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-22 02:12:30 +01:00
fix typo
thx coderabbit
This commit is contained in:
parent
232344fc71
commit
fbe599d53c
@ -577,7 +577,7 @@ export async function selectSegmentsByLabelDialog(currentName: string) {
|
|||||||
export async function selectSegmentsByExprDialog(inputValidator: (v: string) => Promise<string | undefined>) {
|
export async function selectSegmentsByExprDialog(inputValidator: (v: string) => Promise<string | undefined>) {
|
||||||
const examples = {
|
const examples = {
|
||||||
duration: { name: i18n.t('Segment duration less than 5 seconds'), code: 'segment.duration < 5' },
|
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'" },
|
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)' },
|
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'" },
|
tag: { name: i18n.t('Segment tag value'), code: "segment.tags.myTag === 'tag value'" },
|
||||||
|
Loading…
Reference in New Issue
Block a user