The swiss army knife of lossless video/audio editing
add i18n
Mikael Finstad0b97e1f62e1d
diff --git a/public/locales/en/translation.json b/public/locales/en/translation.jsonindex ee69274c..f566f994 100644--- a/public/locales/en/translation.json+++ b/public/locales/en/translation.json@@ -4,6 +4,7 @@"<0></0> <2></2> or <4>I</4> <6>O</6> to set cutpoints": "<0></0> <2></2> or <4>I</4> <6>O</6> to set cutpoints","<0>{{durationMsFormatted}}</0> ms, <2>{{frameCount}}</2> frames": "<0>{{durationMsFormatted}}</0> ms, <2>{{frameCount}}</2> frames","About": "About",+ "About LosslessCut": "About LosslessCut","Accurate time but could leave an empty portion at the beginning of the video. Equiv to": "Accurate time but could leave an empty portion at the beginning of the video. Equiv to","Add cut segment": "Add cut segment","Add metadata": "Add metadata",@@ -498,6 +499,7 @@"Working directory": "Working directory","XML files": "XML files","Yes": "Yes",+ "You are running version {{version}}": "You are running version {{version}}","You can customize the file name of the output segment(s) using special variables.": "You can customize the file name of the output segment(s) using special variables.","You do not have permission to access this file": "You do not have permission to access this file","You have no write access to the directory of this file": "You have no write access to the directory of this file",diff --git a/src/dialogs.jsx b/src/dialogs.jsxindex 0ab2e214..d4a61305 100644--- a/src/dialogs.jsx+++ b/src/dialogs.jsx@@ -396,8 +396,8 @@ export async function labelSegmentDialog({ currentName, maxLength }) {export function openAbout() {Swal.fire({icon: 'info',- title: 'About LosslessCut',- text: `You are running version ${app.getVersion()}`,+ title: i18n.t('About LosslessCut'),+ text: i18n.t('You are running version {{version}}', { version: app.getVersion() }),});}