Skip to content

The swiss army knife of lossless video/audio editing

rename

Mikael Finstad72b9fe53a4f4
diff --git a/src/App.jsx b/src/App.jsx
index 8c8dba5c..1490eef5 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -427,7 +427,7 @@ const App = memo(() => {
}, [detectedFps]);
const formatTimecode = useCallback(({ seconds, shorten }) => {
- if (timecodeFormat === 'framesTotal') {
+ if (timecodeFormat === 'frameCount') {
const frameCount = getFrameCount(seconds);
return frameCount != null ? frameCount : '';
}
diff --git a/src/Settings.jsx b/src/Settings.jsx
index 24cfd0bc..1590ae61 100644
--- a/src/Settings.jsx
+++ b/src/Settings.jsx
@@ -54,7 +54,7 @@ const Settings = memo(({
}, [setLanguage]);
const timecodeFormatOptions = useMemo(() => ({
- framesTotal: t('Frame numbers'),
+ frameCount: t('Frame counts'),
timecodeWithDecimalFraction: t('Millisecond fractions'),
timecodeWithFramesFraction: t('Frame fractions'),
}), [t]);
@@ -174,7 +174,7 @@ const Settings = memo(({
<Row>
<KeyCell>{t('In timecode show')}</KeyCell>
<Table.TextCell>
- <Button iconBefore={timecodeFormat === 'framesTotal' ? NumericalIcon : TimeIcon} onClick={onTimecodeFormatClick}>
+ <Button iconBefore={timecodeFormat === 'frameCount' ? NumericalIcon : TimeIcon} onClick={onTimecodeFormatClick}>
{timecodeFormatOptions[timecodeFormat]}
</Button>
</Table.TextCell>