Merge pull request #379 from Tichau/integration

File Converter release v2.0
This commit is contained in:
Adrien Allard authored and GitHub committed 2024-03-06 22:34:01 +01:00
commit 044ea6d79b
212 files changed
+16918 -5002

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots and Logs**
If applicable, add the following informations to help explain your problem.
- Registry.xml
- Settings.user.xml
- The Diagnostics folder of the session that encountered the issue.
- A screenshot (if possible)
You will find the xml files and diagnostics folder in `%localappdata%\FileConverter`.
**Desktop (please complete the following information):**
- OS: [e.g. Windows 11 64bits]
**Additional context**
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+1 -3
View File
@@ -26,6 +26,7 @@ bld/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
TestData/*
# NUNIT
*.VisualState.xml
@@ -195,6 +196,3 @@ FakesAssemblies/
# Ignore the installer signing commands file
Installer/Installer.sign
# Ignore the installer languages file because it is automatically generated
Installer/Languages.wxs
+20 -4
View File
@@ -1,11 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Languages"/>
<probing privatePath="Languages" />
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.ComponentModel.Annotations" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
</configuration>
+60 -41
View File
@@ -1,57 +1,76 @@
<Application x:Class="FileConverter.Application"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:xaml="clr-namespace:Markdown.Xaml;assembly=Markdown.Xaml"
xmlns:valueConverters="clr-namespace:FileConverter.ValueConverters"
xmlns:generic="clr-namespace:FileConverter.ValueConverters.Generic"
StartupUri="Windows/MainWindow.xaml" ShutdownMode="OnMainWindowClose">
xmlns:viewModels="clr-namespace:FileConverter.ViewModels"
xmlns:services="clr-namespace:FileConverter.Services"
ShutdownMode="OnLastWindowClose">
<Application.Resources>
<!-- Converters -->
<valueConverters:ApplicationVersionToApplicationName x:Key="ApplicationVersionToApplicationName"/>
<generic:BoolToVisibility x:Key="BoolToVisibility"/>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Views/Resources/Colors.xaml"/>
<ResourceDictionary Source="Views/Resources/CustomStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
<generic:ValueConverterGroup x:Key="InvBoolToVisibility">
<generic:BoolInverterConverter/>
<generic:BoolToVisibility/>
</generic:ValueConverterGroup>
<!--Global View Model Locator-->
<viewModels:ViewModelLocator x:Key="Locator" />
<services:UpgradeService x:Key="Upgrade" />
<!-- Markdown style -->
<Style TargetType="FlowDocument" x:Key="DocumentStyle">
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="Foreground" Value="#786C71" />
<Setter Property="Background" Value="White" />
<Setter Property="LineHeight" Value="9"/>
<Setter Property="FontSize" Value="13" />
</Style>
<!-- Markdown style -->
<xaml:Markdown x:Key="Markdown">
<xaml:Markdown.DocumentStyle>
<Style TargetType="FlowDocument">
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="Foreground" Value="{DynamicResource Markdown_ForegroundBrush}" />
<Setter Property="Background" Value="{DynamicResource Markdown_BackgroundBrush}" />
<Setter Property="LineHeight" Value="9"/>
<Setter Property="FontSize" Value="13" />
</Style>
</xaml:Markdown.DocumentStyle>
<Style x:Key="PageHeader" TargetType="Paragraph">
<Setter Property="FontSize" Value="24" />
<Setter Property="Foreground" Value="#1E6BB8" />
</Style>
<xaml:Markdown.Heading1Style>
<Style TargetType="Paragraph">
<Setter Property="FontSize" Value="24" />
<Setter Property="Foreground" Value="{DynamicResource Markdown_Heading1ForegroundBrush}" />
</Style>
</xaml:Markdown.Heading1Style>
<Style x:Key="SubHeader"
TargetType="Paragraph">
<Setter Property="FontSize"
Value="20" />
<Setter Property="Foreground"
Value="#DF3900" />
</Style>
<xaml:Markdown.Heading2Style>
<Style TargetType="Paragraph">
<Setter Property="FontSize" Value="20" />
<Setter Property="Foreground" Value="{DynamicResource Markdown_Heading2ForegroundBrush}" />
</Style>
</xaml:Markdown.Heading2Style>
<Style x:Key="SubHeaderSecondary"
TargetType="Paragraph">
<Setter Property="FontSize"
Value="20" />
<Setter Property="Foreground"
Value="#DF3900" />
</Style>
<xaml:Markdown.Heading3Style>
<Style TargetType="Paragraph">
<Setter Property="FontSize" Value="20" />
<Setter Property="Foreground" Value="{DynamicResource Markdown_Heading3ForegroundBrush}" />
</Style>
</xaml:Markdown.Heading3Style>
</xaml:Markdown>
<xaml:Markdown x:Key="Markdown"
DocumentStyle="{StaticResource DocumentStyle}"
Heading1Style="{StaticResource PageHeader}"
Heading2Style="{StaticResource SubHeader}"
Heading3Style="{StaticResource SubHeaderSecondary}"/>
<!-- Converters -->
<valueConverters:ApplicationVersionToApplicationName x:Key="ApplicationVersionToApplicationName"/>
<generic:BoolToVisibility x:Key="BoolToVisibility"/>
<xaml:TextToFlowDocumentConverter x:Key="TextToFlowDocumentConverter" Markdown="{StaticResource Markdown}"/>
<generic:ValueConverterGroup x:Key="EnumEqualsToVisibility">
<generic:ValueToString/>
<generic:EqualsConverter/>
<generic:BoolToVisibility/>
</generic:ValueConverterGroup>
<valueConverters:ConversionStateToBrush x:Key="ConversionStateToBrush" />
<valueConverters:ConversionJobToEstimatedRemainingDuration x:Key="ConversionJobToEstimatedRemainingDuration" />
<generic:ValueConverterGroup x:Key="ChangelogToMarkdown">
<valueConverters:ChangelogConverter/>
<xaml:TextToFlowDocumentConverter Markdown="{StaticResource Markdown}"/>
</generic:ValueConverterGroup>
</ResourceDictionary>
</Application.Resources>
</Application>
+261 -278
View File
@@ -1,7 +1,7 @@
// <copyright file="Application.xaml.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
/* File Converter - This program allow you to convert file format to another.
Copyright (C) 2017 Adrien Allard
Copyright (C) 2024 Adrien Allard
email: adrien.allard.pro@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
@@ -17,83 +17,49 @@ namespace FileConverter
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using CommunityToolkit.Mvvm.DependencyInjection;
using FileConverter.ConversionJobs;
using FileConverter.Diagnostics;
using FileConverter.Windows;
using FileConverter.Services;
using FileConverter.ViewModels;
using FileConverter.Views;
using Microsoft.Extensions.DependencyInjection;
using Debug = FileConverter.Diagnostics.Debug;
public partial class Application : System.Windows.Application
{
private static readonly Version Version = new Version()
{
Major = 1,
Minor = 2,
Patch = 3,
};
private readonly List<ConversionJob> conversionJobs = new List<ConversionJob>();
private int numberOfConversionThread = 1;
{
Major = 2,
Minor = 0,
Patch = 0,
};
private bool needToRunConversionThread;
private bool cancelAutoExit;
private bool isSessionEnding;
private bool verbose;
private bool showSettings;
private bool showHelp;
public Application()
{
this.ConvertionJobs = this.conversionJobs.AsReadOnly();
}
public event EventHandler<ApplicationTerminateArgs> OnApplicationTerminate;
public static Version ApplicationVersion
public static Version ApplicationVersion => Application.Version;
public static bool IsInAdmininstratorPrivileges
{
get
{
return Application.Version;
return new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
}
}
public ReadOnlyCollection<ConversionJob> ConvertionJobs
{
get;
private set;
}
public Settings Settings
{
get;
set;
}
public bool ShowSettings
{
get;
set;
}
public bool HideMainWindow
{
get;
set;
}
public UpgradeVersionDescription UpgradeVersionDescription
{
get;
private set;
}
public bool Verbose
{
get;
set;
}
public void CancelAutoExit()
{
this.cancelAutoExit = true;
@@ -108,12 +74,36 @@ namespace FileConverter
{
base.OnStartup(e);
this.RegisterServices();
this.Initialize();
// Navigate to the wanted view.
INavigationService navigationService = Ioc.Default.GetRequiredService<INavigationService>();
if (this.showHelp)
{
navigationService.Show(Pages.Help);
return;
}
if (this.needToRunConversionThread)
{
Thread fileConvertionThread = Helpers.InstantiateThread("ConversionQueueThread", this.ConvertFiles);
fileConvertionThread.Start();
navigationService.Show(Pages.Main);
IConversionService conversionService = Ioc.Default.GetRequiredService<IConversionService>();
conversionService.ConversionJobsTerminated += this.ConversionService_ConversionJobsTerminated;
conversionService.ConvertFilesAsync();
}
if (this.showSettings)
{
navigationService.Show(Pages.Settings);
}
if (this.verbose)
{
navigationService.Show(Pages.Diagnostics);
}
}
@@ -122,24 +112,26 @@ namespace FileConverter
base.OnExit(e);
Debug.Log("Exit application.");
if (!this.isSessionEnding && this.UpgradeVersionDescription != null && this.UpgradeVersionDescription.NeedToUpgrade)
{
Debug.Log("A new version of file converter has been found: {0}.", this.UpgradeVersionDescription.LatestVersion);
if (string.IsNullOrEmpty(this.UpgradeVersionDescription.InstallerPath))
IUpgradeService upgradeService = Ioc.Default.GetRequiredService<IUpgradeService>();
if (!this.isSessionEnding && upgradeService.UpgradeVersionDescription != null && upgradeService.UpgradeVersionDescription.NeedToUpgrade)
{
Debug.Log("A new version of file converter has been found: {0}.", upgradeService.UpgradeVersionDescription.LatestVersion);
if (string.IsNullOrEmpty(upgradeService.UpgradeVersionDescription.InstallerPath))
{
Debug.LogError("Invalid installer path.");
}
else
{
Debug.Log("Wait for the end of the installer download.");
while (this.UpgradeVersionDescription.InstallerDownloadInProgress)
while (upgradeService.UpgradeVersionDescription.InstallerDownloadInProgress)
{
Thread.Sleep(1000);
}
string installerPath = this.UpgradeVersionDescription.InstallerPath;
string installerPath = upgradeService.UpgradeVersionDescription.InstallerPath;
if (!System.IO.File.Exists(installerPath))
{
Debug.LogError("Can't find upgrade installer ({0}). Try to restart the application.", installerPath);
@@ -147,18 +139,12 @@ namespace FileConverter
}
// Start process.
Debug.Log("Start file converter upgrade from version {0} to {1}.", ApplicationVersion, this.UpgradeVersionDescription.LatestVersion);
Debug.Log("Start file converter upgrade from version {0} to {1}.", ApplicationVersion, upgradeService.UpgradeVersionDescription.LatestVersion);
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(installerPath)
{
UseShellExecute = true,
};
ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(installerPath) { UseShellExecute = true, };
Debug.Log("Start upgrade process: {0}{1}.", System.IO.Path.GetFileName(startInfo.FileName), startInfo.Arguments);
System.Diagnostics.Process process = new System.Diagnostics.Process
{
StartInfo = startInfo
};
Process process = new System.Diagnostics.Process { StartInfo = startInfo };
process.Start();
}
@@ -175,6 +161,46 @@ namespace FileConverter
this.Shutdown();
}
private void RegisterServices()
{
var services = new ServiceCollection();
if (this.TryFindResource("Locator") is ViewModelLocator viewModelLocator)
{
viewModelLocator.RegisterViewModels(services);
}
else
{
Debug.LogError("Can't retrieve view model locator.");
this.Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
}
if (this.TryFindResource("Upgrade") is UpgradeService upgradeService)
{
services.AddSingleton<IUpgradeService>(upgradeService);
}
else
{
Debug.LogError("Can't retrieve Upgrade service.");
this.Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
}
services
.AddSingleton<INavigationService, NavigationService>()
.AddSingleton<IConversionService, ConversionService>()
.AddSingleton<ISettingsService, SettingsService>();
Ioc.Default.ConfigureServices(services.BuildServiceProvider());
INavigationService navigationService = Ioc.Default.GetRequiredService<INavigationService>();
navigationService.RegisterPage<HelpWindow>(Pages.Help, false, true);
navigationService.RegisterPage<MainWindow>(Pages.Main, false, true);
navigationService.RegisterPage<SettingsWindow>(Pages.Settings, true, true);
navigationService.RegisterPage<DiagnosticsWindow>(Pages.Diagnostics, true, false);
navigationService.RegisterPage<UpgradeWindow>(Pages.Upgrade, true, false);
}
private void Initialize()
{
#if BUILD32
@@ -186,17 +212,7 @@ namespace FileConverter
// Retrieve arguments.
Debug.Log("Retrieve arguments...");
string[] args = Environment.GetCommandLineArgs();
#if (DEBUG)
{
////System.Array.Resize(ref args, 5);
////args[1] = "--conversion-preset";
////args[2] = "To Png";
////args[3] = "--verbose";
////args[4] = @"D:\Test\images\Mario Big.png";
}
#endif
// Log arguments.
for (int index = 0; index < args.Length; index++)
{
@@ -208,14 +224,16 @@ namespace FileConverter
if (args.Length == 1)
{
// Diplay help windows to explain that this application is a context menu extension.
ApplicationStartHelp applicationStartHelp = new ApplicationStartHelp();
applicationStartHelp.Show();
this.HideMainWindow = true;
// Display help windows to explain that this application is a context menu extension.
this.showHelp = true;
return;
}
ISettingsService settingsService = Ioc.Default.GetRequiredService<ISettingsService>();
// Parse arguments.
bool quitAfterStartup = false;
int quitExitCode = 0;
List<string> filePaths = new List<string>();
string conversionPresetName = null;
for (int index = 1; index < args.Length; index++)
@@ -234,40 +252,117 @@ namespace FileConverter
switch (parameterTitle)
{
case "post-install-init":
Settings.PostInstallationInitialization();
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
return;
if (!settingsService.PostInstallationInitialization())
{
quitExitCode = 0x0F;
Debug.LogError(quitExitCode, $"Failed to execute post install initialization.");
}
case "version":
Console.Write(ApplicationVersion.ToString());
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
return;
case "settings":
this.ShowSettings = true;
this.HideMainWindow = true;
quitAfterStartup = true;
break;
case "apply-settings":
Settings.ApplyTemporarySettings();
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
return;
case "register-shell-extension":
{
quitAfterStartup = true;
if (index >= args.Length - 1)
{
quitExitCode = 0x0B;
Debug.LogError(quitExitCode, $"Invalid format.");
break;
}
string shellExtensionPath = args[index + 1];
index++;
if (!Helpers.RegisterShellExtension(shellExtensionPath))
{
quitExitCode = 0x0C;
Debug.LogError(quitExitCode, $"Failed to register shell extension {shellExtensionPath}.");
}
break;
}
case "unregister-shell-extension":
{
quitAfterStartup = true;
if (index >= args.Length - 1)
{
quitExitCode = 0x0D;
Debug.LogError(quitExitCode, $"Invalid format.");
break;
}
string shellExtensionPath = args[index + 1];
index++;
if (!Helpers.UnregisterExtension(shellExtensionPath))
{
quitExitCode = 0x0E;
Debug.LogError(quitExitCode, $"Failed to unregister shell extension {shellExtensionPath}.");
}
break;
}
case "version":
Console.WriteLine(ApplicationVersion.ToString());
quitAfterStartup = true;
break;
case "settings":
this.showSettings = true;
break;
case "conversion-preset":
if (index >= args.Length - 1)
{
Debug.LogError("Invalid format. (code 0x01)");
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
return;
quitAfterStartup = true;
quitExitCode = 0x01;
Debug.LogError(quitExitCode, $"Invalid format.");
break;
}
conversionPresetName = args[index + 1];
index++;
continue;
break;
case "input-files":
if (index >= args.Length - 1)
{
quitAfterStartup = true;
quitExitCode = 0x02;
Debug.LogError(quitExitCode, $"Invalid format.");
break;
}
string fileListPath = args[index + 1];
try
{
using (FileStream file = File.OpenRead(fileListPath))
using (StreamReader reader = new StreamReader(file))
{
while (!reader.EndOfStream)
{
filePaths.Add(reader.ReadLine());
}
}
}
catch (Exception exception)
{
quitAfterStartup = true;
quitExitCode = 0x03;
Debug.LogError(quitExitCode, $"Can't read input files list: {exception}");
}
index++;
break;
case "verbose":
{
this.Verbose = true;
this.verbose = true;
}
break;
@@ -283,46 +378,33 @@ namespace FileConverter
}
}
// Load settigns.
Debug.Log("Load settings...");
this.Settings = Settings.Load();
if (this.Settings == null)
if (settingsService.Settings == null)
{
Diagnostics.Debug.LogError("The application will now shutdown. If you want to fix the problem yourself please edit or delete the file: C:\\Users\\UserName\\AppData\\Local\\FileConverter\\Settings.user.xml.");
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
Debug.LogError("Can't load File Converter settings. The application will now shutdown, if you want to fix the problem yourself please edit or delete the file: C:\\Users\\UserName\\AppData\\Local\\FileConverter\\Settings.user.xml.");
quitAfterStartup = true;
quitExitCode = 13;
}
if (quitAfterStartup)
{
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown(quitExitCode)));
return;
}
if (this.Settings.MaximumNumberOfSimultaneousConversions <= 0)
Debug.Assert(quitExitCode == 0, "An error happened during the initialization.");
// Check for upgrade.
if (settingsService.Settings.CheckUpgradeAtStartup)
{
this.Settings.MaximumNumberOfSimultaneousConversions = System.Math.Max(1, Environment.ProcessorCount / 2);
Diagnostics.Debug.Log("The number of processors on this computer is {0}. Set the default number of conversion threads to {0}", this.Settings.MaximumNumberOfSimultaneousConversions);
}
this.numberOfConversionThread = this.Settings.MaximumNumberOfSimultaneousConversions;
Diagnostics.Debug.Log("Maximum number of conversion threads: {0}", this.numberOfConversionThread);
// Check upgrade.
if (this.Settings.CheckUpgradeAtStartup)
{
#if DEBUG
Task<UpgradeVersionDescription> task = Upgrade.Helpers.GetLatestVersionDescriptionAsync(this.OnGetLatestVersionDescription);
#else
long fileTime = Registry.GetValue<long>(Registry.Keys.LastUpdateCheckDate);
DateTime lastUpdateDateTime = DateTime.FromFileTime(fileTime);
TimeSpan durationSinceLastUpdate = DateTime.Now.Subtract(lastUpdateDateTime);
if (durationSinceLastUpdate > new TimeSpan(1, 0, 0, 0))
{
Task<UpgradeVersionDescription> task = Upgrade.Helpers.GetLatestVersionDescriptionAsync(this.OnGetLatestVersionDescription);
}
#endif
IUpgradeService upgradeService = Ioc.Default.GetRequiredService<IUpgradeService>();
upgradeService.NewVersionAvailable += this.UpgradeService_NewVersionAvailable;
upgradeService.CheckForUpgrade();
}
ConversionPreset conversionPreset = null;
if (!string.IsNullOrEmpty(conversionPresetName))
{
conversionPreset = this.Settings.GetPresetFromName(conversionPresetName);
conversionPreset = settingsService.Settings.GetPresetFromName(conversionPresetName);
if (conversionPreset == null)
{
Debug.LogError("Invalid conversion preset '{0}'. (code 0x02)", conversionPresetName);
@@ -333,16 +415,18 @@ namespace FileConverter
if (conversionPreset != null)
{
// Create convertion jobs.
Debug.Log("Create jobs for conversion preset: '{0}'", conversionPreset.Name);
IConversionService conversionService = Ioc.Default.GetRequiredService<IConversionService>();
// Create conversion jobs.
Debug.Log("Create jobs for conversion preset: '{0}'", conversionPreset.FullName);
try
{
for (int index = 0; index < filePaths.Count; index++)
{
string inputFilePath = filePaths[index];
ConversionJob conversionJob = ConversionJobFactory.Create(conversionPreset, inputFilePath);
this.conversionJobs.Add(conversionJob);
conversionService.RegisterConversionJob(conversionJob);
}
}
catch (Exception exception)
@@ -355,158 +439,57 @@ namespace FileConverter
}
}
private void ConvertFiles()
private void UpgradeService_NewVersionAvailable(object sender, UpgradeVersionDescription e)
{
// Prepare conversions.
for (int index = 0; index < this.ConvertionJobs.Count; index++)
Ioc.Default.GetRequiredService<INavigationService>().Show(Pages.Upgrade);
IUpgradeService upgradeService = Ioc.Default.GetRequiredService<IUpgradeService>();
upgradeService.NewVersionAvailable -= this.UpgradeService_NewVersionAvailable;
}
private void ConversionService_ConversionJobsTerminated(object sender, ConversionJobsTerminatedEventArgs e)
{
IConversionService conversionService = Ioc.Default.GetRequiredService<IConversionService>();
conversionService.ConversionJobsTerminated -= this.ConversionService_ConversionJobsTerminated;
ISettingsService settingsService = Ioc.Default.GetRequiredService<ISettingsService>();
if (!settingsService.Settings.ExitApplicationWhenConversionsFinished)
{
this.ConvertionJobs[index].PrepareConversion();
return;
}
// Convert!
Thread[] jobThreads = new Thread[this.numberOfConversionThread];
while (true)
if (this.cancelAutoExit)
{
// Compute conversion flags.
ConversionFlags conversionFlags = ConversionFlags.None;
bool allJobAreFinished = true;
for (int jobIndex = 0; jobIndex < this.conversionJobs.Count; jobIndex++)
{
ConversionJob conversionJob = this.conversionJobs[jobIndex];
allJobAreFinished &= !(conversionJob.State == ConversionJob.ConversionState.Ready ||
conversionJob.State == ConversionJob.ConversionState.InProgress);
if (conversionJob.State == ConversionJob.ConversionState.InProgress)
{
conversionFlags |= conversionJob.StateFlags;
}
}
if (allJobAreFinished)
{
break;
}
// Start job if possible.
for (int jobIndex = 0; jobIndex < this.conversionJobs.Count; jobIndex++)
{
ConversionJob conversionJob = this.conversionJobs[jobIndex];
if (conversionJob.State == ConversionJob.ConversionState.Ready &&
conversionJob.CanStartConversion(conversionFlags))
{
// Find a thread to execute the job.
Thread jobThread = null;
for (int threadIndex = 0; threadIndex < jobThreads.Length; threadIndex++)
{
Thread thread = jobThreads[threadIndex];
if (thread == null || !thread.IsAlive)
{
jobThread = Helpers.InstantiateThread(conversionJob.GetType().Name, this.ExecuteConversionJob);
jobThreads[threadIndex] = jobThread;
break;
}
}
if (jobThread != null)
{
jobThread.Start(conversionJob);
while (conversionJob.State == ConversionJob.ConversionState.Ready)
{
Debug.Log("Wait the launch of the conversion thread before launching any other thread.");
Thread.Sleep(20);
}
}
break;
}
}
Thread.Sleep(50);
return;
}
if (this.Settings.ExitApplicationWhenConversionsFinished)
if (e.AllConversionsSucceed)
{
bool allConversionsSucceed = true;
for (int index = 0; index < this.conversionJobs.Count; index++)
float remainingTime = settingsService.Settings.DurationBetweenEndOfConversionsAndApplicationExit;
while (remainingTime > 0f)
{
allConversionsSucceed &= this.conversionJobs[index].State == ConversionJob.ConversionState.Done;
}
if (this.cancelAutoExit)
{
return;
}
if (allConversionsSucceed)
{
float remainingTime = this.Settings.DurationBetweenEndOfConversionsAndApplicationExit;
while (remainingTime > 0f)
{
if (this.OnApplicationTerminate != null)
{
this.OnApplicationTerminate.Invoke(this, new ApplicationTerminateArgs(remainingTime));
}
System.Threading.Thread.Sleep(1000);
remainingTime--;
if (this.cancelAutoExit)
{
return;
}
}
if (this.OnApplicationTerminate != null)
{
this.OnApplicationTerminate.Invoke(this, new ApplicationTerminateArgs(remainingTime));
}
Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
Thread.Sleep(1000);
remainingTime--;
if (this.cancelAutoExit)
{
return;
}
}
}
}
private void ExecuteConversionJob(object parameter)
{
ConversionJob conversionJob = parameter as ConversionJob;
if (conversionJob == null)
{
throw new System.ArgumentException("The parameter must be a conversion job.", "parameter");
}
if (this.OnApplicationTerminate != null)
{
this.OnApplicationTerminate.Invoke(this, new ApplicationTerminateArgs(remainingTime));
}
if (conversionJob.State != ConversionJob.ConversionState.Ready)
{
Debug.LogError("Fail to execute conversion job.");
return;
this.Dispatcher.BeginInvoke((Action)(() => Application.Current.Shutdown()));
}
try
{
conversionJob.StartConvertion();
}
catch (Exception exception)
{
Debug.LogError("Failure during conversion: {0}", exception.ToString());
}
}
private void OnGetLatestVersionDescription(UpgradeVersionDescription upgradeVersionDescription)
{
if (upgradeVersionDescription == null)
{
return;
}
Registry.SetValue(Registry.Keys.LastUpdateCheckDate, DateTime.Now.ToFileTime());
if (upgradeVersionDescription.LatestVersion <= ApplicationVersion)
{
return;
}
this.UpgradeVersionDescription = upgradeVersionDescription;
(this.MainWindow as MainWindow).OnNewVersionReleased(upgradeVersionDescription);
}
}
}
@@ -1,35 +0,0 @@
// <copyright file="CancelConversionJobCommand.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Commands
{
using System;
using System.Windows.Input;
using FileConverter.ConversionJobs;
public class CancelConversionJobCommand : ICommand
{
private readonly ConversionJob conversionJob;
public CancelConversionJobCommand(ConversionJob conversionJob)
{
this.conversionJob = conversionJob;
}
public event EventHandler CanExecuteChanged;
public bool CanExecute(object parameter)
{
if (this.conversionJob == null)
{
return false;
}
return this.conversionJob.IsCancelable && this.conversionJob.State == ConversionJob.ConversionState.InProgress;
}
public void Execute(object parameter)
{
this.conversionJob?.Cancel();
}
}
}
@@ -1,46 +0,0 @@
// <copyright file="DelegateCommand.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Commands
{
using System;
using System.Windows.Input;
public class DelegateCommand : ICommand
{
private Action executeMethod;
private Func<bool> canExecuteMethod;
public DelegateCommand(Action executeMethod)
{
if (executeMethod == null)
{
throw new ArgumentNullException(nameof(executeMethod));
}
this.executeMethod = executeMethod;
}
public DelegateCommand(Action executeMethod, Func<bool> canExecuteMethod)
{
this.executeMethod = executeMethod;
this.canExecuteMethod = canExecuteMethod;
}
public event EventHandler CanExecuteChanged;
public bool CanExecute(object parameter)
{
if (this.canExecuteMethod != null)
{
return this.canExecuteMethod.Invoke();
}
return true;
}
public void Execute(object parameter)
{
this.executeMethod.Invoke();
}
}
}
@@ -1,33 +0,0 @@
// <copyright file="OpenUrlCommand.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Commands
{
using System;
using System.Diagnostics;
using System.Windows.Input;
public class OpenUrlCommand : ICommand
{
public OpenUrlCommand()
{
}
public event EventHandler CanExecuteChanged;
public bool CanExecute(object parameter)
{
return true;
}
public void Execute(object parameter)
{
string url = parameter as string;
if (string.IsNullOrEmpty(url))
{
return;
}
Process.Start(url);
}
}
}
@@ -0,0 +1,68 @@
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:project="clr-namespace:FileConverter.Properties"
xmlns:conversionJobs="clr-namespace:FileConverter.ConversionJobs"
x:Class="FileConverter.Controls.ConversionJobControl"
mc:Ignorable="d"
d:DesignHeight="100" d:DesignWidth="800">
<d:DesignProperties.DataContext>
<conversionJobs:ConversionJob />
</d:DesignProperties.DataContext>
<Border BorderBrush="#FF000000" BorderThickness="0" CornerRadius="8" Background="{Binding State, Converter={StaticResource ConversionStateToBrush}, ConverterParameter=Background}">
<Grid Margin="0,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="64"/>
</Grid.ColumnDefinitions>
<Grid Margin="10" Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="20" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.5*" MinWidth="300" />
<ColumnDefinition Width="*" MinWidth="100" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0" Grid.Column="0" Text="{Binding OutputFilePath}" Foreground="#DD000000" FontWeight="Bold" />
<StackPanel Grid.Row="1" Grid.Column="0" Margin="10,0,0,0">
<WrapPanel>
<TextBlock Text="{x:Static project:Resources.ConvertedFrom}" Foreground="#AA000000" FontSize="11" FontStyle="Italic" Margin="0,0,5,0" />
<TextBlock Text="{Binding InputFilePath}" Foreground="#AA000000" FontSize="11" FontStyle="Italic" />
</WrapPanel>
<TextBlock Text="{Binding ErrorMessage}" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}" FontSize="14" />
</StackPanel>
<TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding UserState}" FontWeight="Bold" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}" />
<StackPanel Grid.Row="1" Grid.Column="1">
<ProgressBar Height="18" Width="Auto" Minimum="0" Maximum="1" SmallChange="0.001" Value="{Binding Progress, Mode=OneWay}" Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}, Mode=OneWay}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" MinWidth="100" LargeChange="0.1" />
<TextBlock Foreground="{Binding State, ConverterParameter=Foreground, Converter={StaticResource ConversionStateToBrush}}">
<TextBlock.Text>
<MultiBinding Converter="{StaticResource ConversionJobToEstimatedRemainingDuration}" Mode="OneWay">
<Binding Path="State" Mode="OneWay"/>
<Binding Path="StartTime" Mode="OneWay"/>
<Binding Path="Progress" Mode="OneWay"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</StackPanel>
</Grid>
<Button Margin="3" Grid.Column="1" Height="57"
Visibility="{Binding State, ConverterParameter=|InProgress|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"
Command="{Binding CancelCommand}" ToolTip="{x:Static project:Resources.CancelJobTooltip}">
<Image Source="/FileConverter;component/Resources/CancelIcon.png" Width="48" Height="48" Style="{StaticResource EnableDisableImageStyle}" />
</Button>
<Image Margin="3" Grid.Column="1" Source="/FileConverter;component/Resources/SuccessIcon.png" Width="48" Height="48"
Visibility="{Binding State, ConverterParameter=|Done|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"/>
<Image Margin="3" Grid.Column="1" Source="/FileConverter;component/Resources/FailIcon.png" Width="48" Height="48"
Visibility="{Binding State, ConverterParameter=|Failed|Collapsed, Converter={StaticResource EnumEqualsToVisibility}}"/>
</Grid>
</Border>
</UserControl>
@@ -0,0 +1,17 @@
// <copyright file="ConversionJobControl.xaml.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Controls
{
using System.Windows.Controls;
/// <summary>
/// Interaction logic for ConversionJobControl.xaml
/// </summary>
public partial class ConversionJobControl : UserControl
{
public ConversionJobControl()
{
this.InitializeComponent();
}
}
}
@@ -5,12 +5,12 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:valueConverters="clr-namespace:FileConverter.ValueConverters"
xmlns:project="clr-namespace:FileConverter.Properties"
x:Name="userControl"
x:Class="FileConverter.Controls.EncodingQualitySliderControl"
mc:Ignorable="d" d:DesignWidth="300" Height="50">
<UserControl.Resources>
<valueConverters:BitrateToString x:Key="BitrateToString"/>
</UserControl.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
@@ -21,8 +21,10 @@
<ColumnDefinition Width="65"/>
</Grid.ColumnDefinitions>
<Slider Grid.Column="0" x:Name="slider" Margin="0,2,0,0" VerticalAlignment="Top" Maximum="245" AutoToolTipPlacement="TopLeft" SmallChange="8" IsSnapToTickEnabled="True" IsSelectionRangeEnabled="True" SelectionStart="115" SelectionEnd="245" Minimum="65" TickPlacement="BottomRight" LargeChange="32" TickFrequency="8" Ticks="65 85 100 115 130 165 175 190 225 245" Foreground="#004B82" />
<Label Grid.Column="1" Content="{Binding Value, Converter={StaticResource BitrateToString}, ElementName=slider, Mode=OneWay}" Width="65" />
<Label Grid.Column="0" Grid.Row="1" Content="{x:Static project:Resources.RecommendeBitrateRangeInBlue}" Foreground="#E5004B82" FontSize="11" />
<Slider x:Name="slider" Grid.Column="0" Margin="0,2,0,0" VerticalAlignment="Top"
AutoToolTipPlacement="TopLeft" IsSnapToTickEnabled="True" IsSelectionRangeEnabled="True" Minimum="65" Maximum="245" SelectionStart="115" SelectionEnd="245" SmallChange="8" LargeChange="32" TickPlacement="BottomRight" TickFrequency="8" Ticks="65 85 100 115 130 165 175 190 225 245"
Foreground="{DynamicResource MainDarkBrush}" />
<Label Grid.Row="0" Grid.Column="1" Content="{Binding Value, Converter={StaticResource BitrateToString}, ElementName=slider, Mode=OneWay}" Width="65" />
<Label Grid.Column="0" Grid.Row="1" Content="{x:Static project:Resources.RecommendedBitrateRangeInBlue}" Foreground="{DynamicResource MainDarkBrush}" FontSize="11" />
</Grid>
</UserControl>
@@ -2,7 +2,6 @@
namespace FileConverter.Controls
{
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
@@ -0,0 +1,38 @@
// <copyright file="IconButton.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Controls
{
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
public class IconButton : Button
{
public static readonly DependencyProperty IconSourceProperty = DependencyProperty.Register("IconSource", typeof(ImageSource), typeof(IconButton));
public static readonly DependencyProperty MouseOverBrushProperty = DependencyProperty.Register("MouseOverBrush", typeof(Brush), typeof(IconButton));
public static readonly DependencyProperty PressedBrushProperty = DependencyProperty.Register("PressedBrush", typeof(Brush), typeof(IconButton));
static IconButton()
{
FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(IconButton), new FrameworkPropertyMetadata(typeof(IconButton)));
}
public ImageSource IconSource
{
get => (ImageSource)this.GetValue(IconButton.IconSourceProperty);
set => this.SetValue(IconButton.IconSourceProperty, value);
}
public Brush MouseOverBrush
{
get => (Brush)this.GetValue(IconButton.MouseOverBrushProperty);
set => this.SetValue(IconButton.MouseOverBrushProperty, value);
}
public Brush PressedBrush
{
get => (Brush)this.GetValue(IconButton.PressedBrushProperty);
set => this.SetValue(IconButton.PressedBrushProperty, value);
}
}
}
@@ -5,31 +5,39 @@ namespace FileConverter.ConversionJobs
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
using System.Windows.Input;
using CommunityToolkit.Mvvm.Input;
using FileConverter.Commands;
using FileConverter.Diagnostics;
public class ConversionJob : INotifyPropertyChanged
{
private float progress = 0f;
private DateTime startTime;
private ConversionState state = ConversionState.Unknown;
private string errorMessage = string.Empty;
private string userState = string.Empty;
private CancelConversionJobCommand cancelCommand;
private RelayCommand cancelCommand;
private string initialInputPath = string.Empty;
private int currentOuputFilePathIndex;
private readonly string initialInputPath;
private int currentOutputFilePathIndex;
public ConversionJob()
{
this.State = ConversionState.Unknown;
this.UserState = "Design Mode";
this.ConversionPreset = null;
this.initialInputPath = string.Empty;
this.InputFilePath = string.Empty;
this.InputFilePath = @"C:\Path\To\AVery\Long\Location\WithAVeryNiceFile.png";
this.OutputFilePaths = new[] { "C:\\Path\\To\\AVery\\Long\\Location\\WithAVeryNiceFile.jpg" };
this.StartTime = DateTime.Now - TimeSpan.FromMinutes(1.2);
this.State = ConversionState.InProgress;
this.StateFlags = ConversionFlags.None;
this.Progress = 0.6f;
}
public ConversionJob(ConversionPreset conversionPreset, string inputFilePath) : this()
public ConversionJob(ConversionPreset conversionPreset, string inputFilePath)
{
if (conversionPreset == null)
{
@@ -41,6 +49,7 @@ namespace FileConverter.ConversionJobs
throw new ArgumentNullException(nameof(inputFilePath));
}
this.State = ConversionState.Unknown;
this.initialInputPath = inputFilePath;
this.InputFilePath = inputFilePath;
this.ConversionPreset = conversionPreset;
@@ -48,17 +57,7 @@ namespace FileConverter.ConversionJobs
}
public event PropertyChangedEventHandler PropertyChanged;
public enum ConversionState
{
Unknown,
Ready,
InProgress,
Done,
Failed,
}
public ConversionPreset ConversionPreset
{
get;
@@ -68,7 +67,7 @@ namespace FileConverter.ConversionJobs
public string InputFilePath
{
get;
private set;
set;
}
public string OutputFilePath
@@ -80,40 +79,35 @@ namespace FileConverter.ConversionJobs
return string.Empty;
}
if (this.CurrentOuputFilePathIndex < 0)
if (this.CurrentOutputFilePathIndex < 0)
{
return this.OutputFilePaths[0];
}
if (this.CurrentOuputFilePathIndex >= this.OutputFilePaths.Length)
if (this.CurrentOutputFilePathIndex >= this.OutputFilePaths.Length)
{
return this.OutputFilePaths[this.OutputFilePaths.Length - 1];
}
return this.OutputFilePaths[this.CurrentOuputFilePathIndex];
return this.OutputFilePaths[this.CurrentOutputFilePathIndex];
}
}
public ConversionState State
{
get
{
return this.state;
}
get => this.state;
private set
{
this.state = value;
this.NotifyPropertyChanged();
Application.Current.Dispatcher.Invoke(() => this.cancelCommand?.NotifyCanExecuteChanged());
}
}
public string UserState
{
get
{
return this.userState;
}
get => this.userState;
protected set
{
@@ -124,10 +118,7 @@ namespace FileConverter.ConversionJobs
public float Progress
{
get
{
return this.progress;
}
get => this.progress;
protected set
{
@@ -136,12 +127,20 @@ namespace FileConverter.ConversionJobs
}
}
public DateTime StartTime
{
get => this.startTime;
protected set
{
this.startTime = value;
this.NotifyPropertyChanged();
}
}
public string ErrorMessage
{
get
{
return this.errorMessage;
}
get => this.errorMessage;
private set
{
@@ -156,41 +155,32 @@ namespace FileConverter.ConversionJobs
protected set;
}
public CancelConversionJobCommand CancelCommand
public ICommand CancelCommand
{
get
{
if (this.cancelCommand == null)
{
this.cancelCommand = new CancelConversionJobCommand(this);
this.cancelCommand = new RelayCommand(this.Cancel, this.IsCancelable);
}
return this.cancelCommand;
}
}
public bool IsCancelable
{
get;
protected set;
}
protected bool CancelIsRequested
{
get;
private set;
}
protected int CurrentOuputFilePathIndex
protected int CurrentOutputFilePathIndex
{
get
{
return this.currentOuputFilePathIndex;
}
get => this.currentOutputFilePathIndex;
set
{
this.currentOuputFilePathIndex = value;
this.currentOutputFilePathIndex = value;
this.NotifyPropertyChanged(nameof(this.OutputFilePath));
}
}
@@ -208,6 +198,8 @@ namespace FileConverter.ConversionJobs
}
}
protected virtual bool IsCancelable() => this.State == ConversionState.InProgress;
protected string[] OutputFilePaths
{
get;
@@ -240,7 +232,7 @@ namespace FileConverter.ConversionJobs
this.OutputFilePaths = outputFilePaths;
if (this.OutputFilePaths.Length == 0)
{
int outputFilesCount = this.GetOuputFilesCount();
int outputFilesCount = this.GetOutputFilesCount();
this.OutputFilePaths = new string[outputFilesCount];
}
@@ -296,7 +288,7 @@ namespace FileConverter.ConversionJobs
this.OutputFilePaths[index] = path;
}
this.CurrentOuputFilePathIndex = 0;
this.CurrentOutputFilePathIndex = 0;
// Check if the input file is located on a cd drive.
if (PathHelpers.IsOnCDDrive(this.InputFilePath))
@@ -304,14 +296,23 @@ namespace FileConverter.ConversionJobs
this.StateFlags = ConversionFlags.CdDriveExtraction;
}
this.Initialize();
try
{
this.Initialize();
}
catch (Exception exception)
{
this.ConversionFailed(Properties.Resources.ErrorDuringJobInitialization);
Debug.Log(exception.ToString());
return;
}
if (this.State == ConversionState.Unknown)
{
this.State = ConversionState.Ready;
}
Debug.Log("Job initialized: Preset: '{0}' Input: {1} Output: {2}", this.ConversionPreset.Name, this.InputFilePath, this.OutputFilePath);
Debug.Log("Job initialized: Preset: '{0}' Input: {1} Output: {2}", this.ConversionPreset.FullName, this.InputFilePath, this.OutputFilePath);
if (this.State != ConversionState.Failed)
{
@@ -319,7 +320,7 @@ namespace FileConverter.ConversionJobs
}
}
public void StartConvertion()
public void StartConversion()
{
if (this.ConversionPreset == null)
{
@@ -333,6 +334,7 @@ namespace FileConverter.ConversionJobs
Debug.Log("Convert file {0} to {1}.", this.InputFilePath, this.OutputFilePath);
this.StartTime = DateTime.Now;
this.State = ConversionState.InProgress;
try
@@ -355,11 +357,11 @@ namespace FileConverter.ConversionJobs
this.OnConversionSucceed();
}
if (this.State == ConversionJob.ConversionState.Done && !this.AllOuputFilesExists())
if (this.State == ConversionState.Done && !this.AllOutputFilesExists())
{
Debug.LogError(Properties.Resources.ErrorCantFindOutputFiles);
}
else if (this.State == ConversionJob.ConversionState.Failed && this.AtLeastOneOuputFilesExists())
else if (this.State == ConversionState.Failed && this.AtLeastOneOutputFilesExists())
{
Debug.Log(Properties.Resources.ErrorConversionFailedWithOutput);
}
@@ -367,7 +369,7 @@ namespace FileConverter.ConversionJobs
public virtual void Cancel()
{
if (!this.IsCancelable || this.State != ConversionState.InProgress)
if (!this.IsCancelable())
{
return;
}
@@ -376,7 +378,7 @@ namespace FileConverter.ConversionJobs
this.ConversionFailed(Properties.Resources.ErrorCanceled);
}
protected virtual int GetOuputFilesCount()
protected virtual int GetOutputFilesCount()
{
return 1;
}
@@ -415,6 +417,8 @@ namespace FileConverter.ConversionJobs
{
Debug.Log("Conversion Succeed!");
this.ChangeOutputFileTimestampToMatchOriginal();
// Apply the input post conversion action.
switch (this.InputPostConversionAction)
{
@@ -456,7 +460,7 @@ namespace FileConverter.ConversionJobs
if (this.State == ConversionState.Failed)
{
// Already failed, don't override informations.
return;
return;
}
this.State = ConversionState.Failed;
@@ -472,7 +476,36 @@ namespace FileConverter.ConversionJobs
}
}
private bool AllOuputFilesExists()
private void ChangeOutputFileTimestampToMatchOriginal()
{
Debug.Log("Changing output files timestamp to match original timestamp ...");
var originalFileCreationTime = System.IO.File.GetCreationTimeUtc(this.InputFilePath);
var originalFileLastAccesTime = System.IO.File.GetLastAccessTimeUtc(this.InputFilePath);
var originalFileLastWriteTime = System.IO.File.GetLastWriteTimeUtc(this.InputFilePath);
Debug.Log(" original timestamp: {0}, {1}, {2}", originalFileCreationTime, originalFileLastAccesTime, originalFileLastWriteTime);
for (int index = 0; index < this.OutputFilePaths.Length; index++)
{
string outputFilePath = this.OutputFilePaths[index];
try
{
System.IO.File.SetCreationTimeUtc(outputFilePath, originalFileCreationTime);
System.IO.File.SetLastAccessTimeUtc(outputFilePath, originalFileLastAccesTime);
System.IO.File.SetLastWriteTimeUtc(outputFilePath, originalFileLastWriteTime);
Debug.Log(" output file '{0}' timestamp changed", outputFilePath);
}
catch (Exception exception)
{
Debug.Log("Can't change timestamp from file '{0}'", outputFilePath);
Debug.Log("An exception as been thrown: {0}.", exception.ToString());
}
}
Debug.Log("... timestamp matching finished.");
}
private bool AllOutputFilesExists()
{
for (int index = 0; index < this.OutputFilePaths.Length; index++)
{
@@ -486,7 +519,7 @@ namespace FileConverter.ConversionJobs
return true;
}
private bool AtLeastOneOuputFilesExists()
private bool AtLeastOneOutputFilesExists()
{
for (int index = 0; index < this.OutputFilePaths.Length; index++)
{
@@ -26,15 +26,11 @@ namespace FileConverter.ConversionJobs
{
}
protected override ApplicationName Application
{
get
{
return ApplicationName.Excel;
}
}
protected override ApplicationName Application => ApplicationName.Excel;
protected override int GetOuputFilesCount()
protected override bool IsCancelable() => false;
protected override int GetOutputFilesCount()
{
if (this.ConversionPreset.OutputType == OutputType.Pdf)
{
@@ -132,7 +128,7 @@ namespace FileConverter.ConversionJobs
Diagnostics.Debug.Log("Convert pdf to images.");
this.pdf2ImageConversionJob.StartConvertion();
this.pdf2ImageConversionJob.StartConversion();
if (this.pdf2ImageConversionJob.State != ConversionState.Done)
{
@@ -22,12 +22,10 @@ namespace FileConverter.ConversionJobs
public ConversionJob_ExtractCDA() : base()
{
this.IsCancelable = true;
}
public ConversionJob_ExtractCDA(ConversionPreset conversionPreset, string inputFilePath) : base(conversionPreset, inputFilePath)
{
this.IsCancelable = true;
}
protected override InputPostConversionAction InputPostConversionAction
@@ -220,7 +218,7 @@ namespace FileConverter.ConversionJobs
private void CompressAsync()
{
this.compressionConversionJob.StartConvertion();
this.compressionConversionJob.StartConversion();
}
}
}
@@ -16,7 +16,7 @@ namespace FileConverter.ConversionJobs
return string.Empty;
}
return string.Format("{0} \"{1}\"", optionName, args);
return $"{optionName} \"{args}\"";
}
/// <summary>
@@ -96,6 +96,14 @@ namespace FileConverter.ConversionJobs
transformArgs += rotationArgs;
}
if (conversionPreset.OutputType == OutputType.Mkv || conversionPreset.OutputType == OutputType.Mp4)
{
// http://trac.ffmpeg.org/wiki/Encode/H.264#Encodingfordumbplayers
// YUV planar color space with 4:2:0 chroma subsampling
transformArgs += (transformArgs.Length > 0 ? "," : string.Empty) + "format=yuv420p";
//// TODO: maybe there should be an option for this on the settings?
}
return transformArgs;
}
@@ -21,18 +21,29 @@ namespace FileConverter.ConversionJobs
private ProcessStartInfo ffmpegProcessStartInfo;
private List<FFMpegPass> ffmpegArgumentStringByPass = new List<FFMpegPass>();
private readonly List<FFMpegPass> ffmpegArgumentStringByPass = new List<FFMpegPass>();
public ConversionJob_FFMPEG() : base()
{
this.IsCancelable = true;
}
public ConversionJob_FFMPEG(ConversionPreset conversionPreset, string inputFilePath) : base(conversionPreset, inputFilePath)
{
this.IsCancelable = true;
}
public static VideoEncodingSpeed[] VideoEncodingSpeeds => new[]
{
VideoEncodingSpeed.UltraFast,
VideoEncodingSpeed.SuperFast,
VideoEncodingSpeed.VeryFast,
VideoEncodingSpeed.Faster,
VideoEncodingSpeed.Fast,
VideoEncodingSpeed.Medium,
VideoEncodingSpeed.Slow,
VideoEncodingSpeed.Slower,
VideoEncodingSpeed.VerySlow,
};
protected virtual string FfmpegPath
{
get
@@ -61,22 +72,36 @@ namespace FileConverter.ConversionJobs
return;
}
this.ffmpegProcessStartInfo = new ProcessStartInfo(ffmpegPath);
this.ffmpegProcessStartInfo.CreateNoWindow = true;
this.ffmpegProcessStartInfo.UseShellExecute = false;
this.ffmpegProcessStartInfo.RedirectStandardOutput = true;
this.ffmpegProcessStartInfo.RedirectStandardError = true;
this.ffmpegProcessStartInfo = new ProcessStartInfo(ffmpegPath)
{
CreateNoWindow = true,
UseShellExecute = false,
RedirectStandardOutput = true,
RedirectStandardError = true
};
this.FillFFMpegArgumentsList();
}
protected virtual void FillFFMpegArgumentsList()
{
bool customCommandEnabled = this.ConversionPreset.GetSettingsValue<bool>(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand);
if (customCommandEnabled)
{
// Custom command override other settings.
string customCommand = this.ConversionPreset.GetSettingsValue<string>(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand) ?? string.Empty;
string arguments = string.Format("-n -stats -i \"{0}\" {2} \"{1}\"", this.InputFilePath, this.OutputFilePath, customCommand);
this.ffmpegArgumentStringByPass.Add(new FFMpegPass(arguments));
return;
}
// This option are necessary to be able to read metadata on Windows. src: http://jonhall.info/how_to/create_id3_tags_using_ffmpeg
const string mp3MetadataArgs = "-id3v2_version 3 -write_id3v1 1";
const string MP3MetadataArgs = "-id3v2_version 3 -write_id3v1 1";
// AAC have no standard tag system, use ApeV2 (that are compatible). src: http://eolindel.free.fr/foobar/tags.shtml
const string aacMetadataArgs = "-write_apetag 1";
const string AACMetadataArgs = "-write_apetag 1";
switch (this.ConversionPreset.OutputType)
{
@@ -86,7 +111,7 @@ namespace FileConverter.ConversionJobs
// https://trac.ffmpeg.org/wiki/Encode/AAC
int audioEncodingBitrate = this.ConversionPreset.GetSettingsValue<int>(ConversionPreset.ConversionSettingKeys.AudioBitrate);
string encoderArgs = $"-c:a aac -q:a {this.AACBitrateToQualityIndex(audioEncodingBitrate)} {channelArgs} {aacMetadataArgs}";
string encoderArgs = $"-c:a aac -q:a {this.AACBitrateToQualityIndex(audioEncodingBitrate)} {channelArgs} {AACMetadataArgs}";
string arguments = string.Format("-n -stats -i \"{0}\" {2} \"{1}\"", this.InputFilePath, this.OutputFilePath, encoderArgs);
@@ -111,7 +136,7 @@ namespace FileConverter.ConversionJobs
// Compute final arguments.
string videoFilteringArgs = ConversionJob_FFMPEG.Encapsulate("-vf", transformArgs);
string encoderArgs = $"-c:v mpeg4 -vtag xvid -qscale:v {this.MPEG4QualityToQualityIndex(videoEncodingQuality)} {audioArgs} {videoFilteringArgs} {mp3MetadataArgs}";
string encoderArgs = $"-c:v mpeg4 -vtag xvid -qscale:v {this.MPEG4QualityToQualityIndex(videoEncodingQuality)} {audioArgs} {videoFilteringArgs} {MP3MetadataArgs}";
string arguments = string.Format("-n -stats -i \"{0}\" {2} \"{1}\"", this.InputFilePath, this.OutputFilePath, encoderArgs);
this.ffmpegArgumentStringByPass.Add(new FFMpegPass(arguments));
@@ -203,11 +228,11 @@ namespace FileConverter.ConversionJobs
switch (encodingMode)
{
case EncodingMode.Mp3VBR:
encoderArgs = $"-codec:a libmp3lame -q:a {this.MP3VBRBitrateToQualityIndex(encodingQuality)} {channelArgs} {mp3MetadataArgs}";
encoderArgs = $"-codec:a libmp3lame -q:a {this.MP3VBRBitrateToQualityIndex(encodingQuality)} {channelArgs} {MP3MetadataArgs}";
break;
case EncodingMode.Mp3CBR:
encoderArgs = $"-codec:a libmp3lame -b:a {encodingQuality}k {channelArgs} {mp3MetadataArgs}";
encoderArgs = $"-codec:a libmp3lame -b:a {encodingQuality}k {channelArgs} {MP3MetadataArgs}";
break;
default:
@@ -480,9 +505,12 @@ namespace FileConverter.ConversionJobs
}
}
if (input.Contains("Exiting.") || input.Contains("Error") || input.Contains("Unsupported dimensions") || input.Contains("No such file or directory"))
// Remove file names from log to avoid false negative when some words like 'Error' are in file name (github issue #247).
string inputWithoutFileNames = input.Replace(this.InputFilePath, string.Empty).Replace(this.OutputFilePath, string.Empty);
if (inputWithoutFileNames.Contains("Exiting.") || inputWithoutFileNames.Contains("Error") || inputWithoutFileNames.Contains("Unsupported dimensions") || inputWithoutFileNames.Contains("No such file or directory"))
{
if (input.StartsWith("Error while decoding stream") && input.EndsWith("Invalid data found when processing input"))
if (inputWithoutFileNames.StartsWith("Error while decoding stream") && inputWithoutFileNames.EndsWith("Invalid data found when processing input"))
{
// It is normal for a transport stream to start with a broken frame.
// https://trac.ffmpeg.org/ticket/1622
@@ -14,7 +14,6 @@ namespace FileConverter.ConversionJobs
public ConversionJob_Gif(ConversionPreset conversionPreset, string inputFilePath) : base(conversionPreset, inputFilePath)
{
this.IsCancelable = true;
}
public override void Cancel()
@@ -79,7 +78,7 @@ namespace FileConverter.ConversionJobs
Diagnostics.Debug.Log(string.Empty);
Diagnostics.Debug.Log("Convert image to PNG (intermediate format).");
this.pngConversionJob.StartConvertion();
this.pngConversionJob.StartConversion();
if (this.pngConversionJob.State != ConversionState.Done)
{
@@ -90,7 +89,7 @@ namespace FileConverter.ConversionJobs
Diagnostics.Debug.Log(string.Empty);
Diagnostics.Debug.Log("Convert png intermediate image to gif.");
this.gifConversionJob.StartConvertion();
this.gifConversionJob.StartConversion();
if (this.gifConversionJob.State != ConversionState.Done)
{
@@ -13,7 +13,6 @@ namespace FileConverter.ConversionJobs
public ConversionJob_Ico(ConversionPreset conversionPreset, string inputFilePath) : base(conversionPreset, inputFilePath)
{
this.IsCancelable = true;
}
public override void Cancel()
@@ -59,7 +58,7 @@ namespace FileConverter.ConversionJobs
Diagnostics.Debug.Log(string.Empty);
Diagnostics.Debug.Log("Convert image to PNG (intermediate format).");
this.pngConversionJob.StartConvertion();
this.pngConversionJob.StartConversion();
if (this.pngConversionJob.State != ConversionState.Done)
{
@@ -69,7 +68,7 @@ namespace FileConverter.ConversionJobs
Diagnostics.Debug.Log(string.Empty);
Diagnostics.Debug.Log("Convert png intermediate image to ICO.");
this.icoConversionJob.StartConvertion();
this.icoConversionJob.StartConversion();
if (this.icoConversionJob.State != ConversionState.Done)
{
@@ -17,12 +17,10 @@ namespace FileConverter.ConversionJobs
public ConversionJob_ImageMagick() : base()
{
this.IsCancelable = true;
}
public ConversionJob_ImageMagick(ConversionPreset conversionPreset, string inputFilePath) : base(conversionPreset, inputFilePath)
{
this.IsCancelable = true;
}
protected override void Initialize()
@@ -40,7 +38,7 @@ namespace FileConverter.ConversionJobs
}
}
protected override int GetOuputFilesCount()
protected override int GetOutputFilesCount()
{
if (System.IO.Path.GetExtension(this.InputFilePath).ToLowerInvariant() == ".pdf")
{
@@ -64,7 +62,7 @@ namespace FileConverter.ConversionJobs
throw new Exception("The conversion preset must be valid.");
}
this.CurrentOuputFilePathIndex = 0;
this.CurrentOutputFilePathIndex = 0;
if (this.isInputFilePdf)
{
@@ -73,10 +71,28 @@ namespace FileConverter.ConversionJobs
else
{
this.pageCount = 1;
using (MagickImage image = new MagickImage(this.InputFilePath))
MagickReadSettings readSettings = new MagickReadSettings();
string inputExtension = System.IO.Path.GetExtension(this.InputFilePath).ToLowerInvariant();
switch (inputExtension)
{
case ".cr2":
// Requires an explicit image format otherwise the image is interpreted as a TIFF image.
readSettings.Format = MagickFormat.Cr2;
break;
case ".dng":
// Requires an explicit image format otherwise the image is interpreted as a TIFF image.
readSettings.Format = MagickFormat.Dng;
break;
default:
break;
}
using (MagickImage image = new MagickImage(this.InputFilePath, readSettings))
{
Debug.Log("Load image {0} succeed.", this.InputFilePath);
this.ConvertImage(image);
}
}
@@ -112,16 +128,18 @@ namespace FileConverter.ConversionJobs
foreach (MagickImage image in images)
{
Debug.Log("Write page {0}/{1}.", this.CurrentOuputFilePathIndex + 1, this.pageCount);
Debug.Log("Write page {0}/{1}.", this.CurrentOutputFilePathIndex + 1, this.pageCount);
if (PdfSuperSamplingRatio > 1)
{
#pragma warning disable CS0162 // Unreachable code detected
image.Scale(new Percentage(100 / PdfSuperSamplingRatio));
#pragma warning restore CS0162 // Unreachable code detected
}
this.ConvertImage(image, true);
this.CurrentOuputFilePathIndex++;
this.CurrentOutputFilePathIndex++;
}
}
}
@@ -223,7 +241,7 @@ namespace FileConverter.ConversionJobs
return;
}
float alreadyCompletedPages = this.CurrentOuputFilePathIndex / (float)this.pageCount;
float alreadyCompletedPages = this.CurrentOutputFilePathIndex / (float)this.pageCount;
this.Progress = alreadyCompletedPages + ((float)eventArgs.Progress.ToDouble() / (100f * this.pageCount));
}
}
@@ -25,7 +25,9 @@ namespace FileConverter.ConversionJobs
{
get;
}
protected override bool IsCancelable() => false;
protected override void Initialize()
{
base.Initialize();
@@ -27,15 +27,11 @@ namespace FileConverter.ConversionJobs
{
}
protected override ApplicationName Application
{
get
{
return ApplicationName.PowerPoint;
}
}
protected override ApplicationName Application => ApplicationName.PowerPoint;
protected override int GetOuputFilesCount()
protected override bool IsCancelable() => false;
protected override int GetOutputFilesCount()
{
if (this.ConversionPreset.OutputType == OutputType.Pdf)
{
@@ -121,7 +117,7 @@ namespace FileConverter.ConversionJobs
Diagnostics.Debug.Log("Convert pdf to images.");
this.pdf2ImageConversionJob.StartConvertion();
this.pdf2ImageConversionJob.StartConversion();
if (this.pdf2ImageConversionJob.State != ConversionState.Done)
{
@@ -26,15 +26,11 @@ namespace FileConverter.ConversionJobs
{
}
protected override ApplicationName Application
{
get
{
return ApplicationName.Word;
}
}
protected override ApplicationName Application => ApplicationName.Word;
protected override int GetOuputFilesCount()
protected override bool IsCancelable() => false;
protected override int GetOutputFilesCount()
{
if (this.ConversionPreset.OutputType == OutputType.Pdf)
{
@@ -104,7 +100,18 @@ namespace FileConverter.ConversionJobs
this.UserState = Properties.Resources.ConversionStateConversion;
Diagnostics.Debug.Log("Convert word document to pdf.");
this.document.ExportAsFixedFormat(this.intermediateFilePath, Word.WdExportFormat.wdExportFormatPDF);
// this.document.ExportAsFixedFormat(this.intermediateFilePath, Word.WdExportFormat.wdExportFormatPDF);
this.document.ExportAsFixedFormat(this.intermediateFilePath,
Word.WdExportFormat.wdExportFormatPDF,
false,
Word.WdExportOptimizeFor.wdExportOptimizeForPrint,
Word.WdExportRange.wdExportAllDocument,
1, 1,
Word.WdExportItem.wdExportDocumentContent,
true,
true,
Word.WdExportCreateBookmarks.wdExportCreateHeadingBookmarks,
true);
Diagnostics.Debug.Log("Close word document '{0}'.", this.InputFilePath);
this.document.Close(Word.WdSaveOptions.wdDoNotSaveChanges);
@@ -124,7 +131,7 @@ namespace FileConverter.ConversionJobs
Diagnostics.Debug.Log("Convert pdf to images.");
this.pdf2ImageConversionJob.StartConvertion();
this.pdf2ImageConversionJob.StartConversion();
if (this.pdf2ImageConversionJob.State != ConversionState.Done)
{
@@ -0,0 +1,14 @@
// <copyright file="ConversionState.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.ConversionJobs
{
public enum ConversionState
{
Unknown,
Ready,
InProgress,
Done,
Failed,
}
}
@@ -4,22 +4,19 @@ namespace FileConverter
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
using CommunityToolkit.Mvvm.ComponentModel;
using FileConverter.Annotations;
using FileConverter.Controls;
using FileConverter.Diagnostics;
using FileConverter.ValueConverters;
[XmlRoot]
[XmlType]
public class ConversionPreset : INotifyPropertyChanged, IDataErrorInfo, IXmlSerializable
public class ConversionPreset : ObservableObject, IXmlSerializable
{
private string name;
private string shortName;
private OutputType outputType;
private List<string> inputTypes;
private InputPostConversionAction inputPostConversionAction;
@@ -28,12 +25,12 @@ namespace FileConverter
public ConversionPreset()
{
this.Name = Properties.Resources.DefaultPresetName;
this.FullName = Properties.Resources.DefaultPresetName;
}
public ConversionPreset(string name, OutputType outputType, params string[] inputTypes)
public ConversionPreset(string shortName, OutputType outputType, params string[] inputTypes)
{
this.Name = name;
this.ShortName = shortName;
this.OutputType = outputType;
List<string> inputTypeList = new List<string>();
inputTypeList.AddRange(inputTypes);
@@ -42,9 +39,10 @@ namespace FileConverter
this.outputFileNameTemplate = "(p)(f)";
}
public ConversionPreset(string name, ConversionPreset source, params string[] additionalInputTypes)
public ConversionPreset(string shortName, ConversionPreset source, params string[] additionalInputTypes)
{
this.Name = name;
this.ShortName = shortName;
this.ParentFoldersNames = source.ParentFoldersNames;
this.OutputType = source.outputType;
List<string> inputTypeList = new List<string>();
if (source.inputTypes != null)
@@ -67,30 +65,65 @@ namespace FileConverter
}
}
public event PropertyChangedEventHandler PropertyChanged;
[XmlAttribute]
public string Name
[XmlAttribute("Name")]
public string FullName
{
get
{
return this.name;
string fullName = string.Empty;
if (this.ParentFoldersNames != null)
{
foreach (string folder in this.ParentFoldersNames)
{
fullName += $"{folder}/";
}
}
fullName += this.shortName;
return fullName;
}
set
{
this.name = value;
string[] folders = value.Split('/');
if (folders.Length == 0)
{
Diagnostics.Debug.Log("Invalid full name.");
this.ShortName = value;
return;
}
this.ShortName = folders[folders.Length - 1];
Array.Resize(ref folders, folders.Length - 1);
this.ParentFoldersNames = folders;
}
}
[XmlIgnore]
public string ShortName
{
get => this.shortName;
set
{
this.shortName = value;
this.OnPropertyChanged();
}
}
[XmlIgnore]
public string[] ParentFoldersNames
{
get;
set;
}
[XmlAttribute]
public OutputType OutputType
{
get
{
return this.outputType;
}
get => this.outputType;
set
{
@@ -106,7 +139,7 @@ namespace FileConverter
{
get;
set;
} = false;
}
[XmlElement]
public List<string> InputTypes
@@ -214,10 +247,7 @@ namespace FileConverter
[XmlIgnore]
public IConversionSettings Settings
{
get
{
return this.settings;
}
get => this.settings;
set
{
@@ -242,34 +272,6 @@ namespace FileConverter
}
}
public string Error
{
get
{
string errorString = this.Validate("Name");
if (!string.IsNullOrEmpty(errorString))
{
return errorString;
}
errorString = this.Validate("OutputFileNameTemplate");
if (!string.IsNullOrEmpty(errorString))
{
return errorString;
}
return string.Empty;
}
}
public string this[string columnName]
{
get
{
return this.Validate(columnName);
}
}
public void Clean()
{
// Remove unrelevant settings.
@@ -326,12 +328,12 @@ namespace FileConverter
{
if (string.IsNullOrEmpty(settingsKey))
{
throw new ArgumentNullException("key");
throw new ArgumentNullException(nameof(settingsKey));
}
if (string.IsNullOrEmpty(value))
if (value == null)
{
throw new ArgumentNullException("value");
throw new ArgumentNullException(nameof(value));
}
if (!this.IsRelevantSetting(settingsKey))
@@ -353,7 +355,7 @@ namespace FileConverter
{
if (string.IsNullOrEmpty(settingsKey))
{
throw new ArgumentNullException("key");
throw new ArgumentNullException(nameof(settingsKey));
}
if (this.settings.ContainsKey(settingsKey))
@@ -376,10 +378,10 @@ namespace FileConverter
Type type = typeof(T);
if (type.IsEnum)
{
return (T)System.Enum.Parse(type, settingsValue);
return (T)Enum.Parse(type, settingsValue);
}
return (T)System.Convert.ChangeType(settingsValue, type, NumberFormatInfo.InvariantInfo);
return (T)Convert.ChangeType(settingsValue, type, NumberFormatInfo.InvariantInfo);
}
public bool IsRelevantSetting(string settingsKey)
@@ -387,12 +389,6 @@ namespace FileConverter
return this.Settings.ContainsKey(settingsKey);
}
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
private void CoerceInputTypes()
{
if (this.inputTypes == null)
@@ -422,26 +418,36 @@ namespace FileConverter
case OutputType.Aac:
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioBitrate, "128");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioChannelCount, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Flac:
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioChannelCount, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Ogg:
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioBitrate, "160");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioChannelCount, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Mp3:
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioEncodingMode, EncodingMode.Mp3VBR.ToString(), true);
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioBitrate, "190");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioChannelCount, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Wav:
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioEncodingMode, EncodingMode.Wav16.ToString(), true);
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioChannelCount, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
// Video
@@ -451,6 +457,8 @@ namespace FileConverter
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoScale, "1");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoRotation, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioBitrate, "190");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Mkv:
@@ -460,6 +468,8 @@ namespace FileConverter
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoScale, "1");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoRotation, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioBitrate, "128");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Mp4:
@@ -469,6 +479,8 @@ namespace FileConverter
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoScale, "1");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoRotation, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioBitrate, "128");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Ogv:
@@ -477,6 +489,8 @@ namespace FileConverter
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoScale, "1");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoRotation, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.AudioBitrate, "160");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
case OutputType.Webm:
@@ -485,6 +499,8 @@ namespace FileConverter
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoQuality, "40");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoScale, "1");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.VideoRotation, "0");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.EnableFFMPEGCustomCommand, "False");
this.InitializeSettingsValue(ConversionPreset.ConversionSettingKeys.FFMPEGCustomCommand, string.Empty);
break;
// Images
@@ -538,9 +554,9 @@ namespace FileConverter
throw new ArgumentNullException("key");
}
if (string.IsNullOrEmpty(value))
if (value == null)
{
throw new ArgumentNullException("value");
throw new ArgumentNullException(nameof(value));
}
if (!this.settings.ContainsKey(settingsKey))
@@ -553,102 +569,6 @@ namespace FileConverter
}
}
private string Validate(string propertyName)
{
// Return error message if there is an error, else return empty or null string.
switch (propertyName)
{
case "Name":
{
if (string.IsNullOrEmpty(this.Name))
{
return "The preset name can't be empty.";
}
if (this.Name.Contains(";"))
{
return "The preset name can't contains the character ';'.";
}
Application application = Application.Current as Application;
int? count = application?.Settings?.ConversionPresets?.Count(match => match?.name == this.Name);
if (count > 1)
{
return "The preset name is already used.";
}
}
break;
case "OutputFileNameTemplate":
{
string sampleOutputFilePath = this.GenerateOutputFilePath(FileConverter.Properties.Resources.OuputFileNameTemplateSample, 1, 3);
if (string.IsNullOrEmpty(sampleOutputFilePath))
{
return "The output filename template must produce a non empty result.";
}
if (!PathHelpers.IsPathValid(sampleOutputFilePath))
{
// Diagnostic to feedback purpose.
// Drive letter.
if (!PathHelpers.IsPathDriveLetterValid(sampleOutputFilePath))
{
return "The output filename template must define a root (for example c:\\, use (p) to use the input file path).";
}
// File name.
string filename = PathHelpers.GetFileName(sampleOutputFilePath);
if (filename == null)
{
return "The output file name must not be empty (use (f) to use the name of the input file).";
}
char[] invalidFileNameChars = System.IO.Path.GetInvalidFileNameChars();
for (int index = 0; index < invalidFileNameChars.Length; index++)
{
if (filename.Contains(invalidFileNameChars[index]))
{
return "The output file name must not contains the character '" + invalidFileNameChars[index] + "'.";
}
}
// Directory names.
string path = sampleOutputFilePath.Substring(3, sampleOutputFilePath.Length - 3 - filename.Length);
char[] invalidPathChars = System.IO.Path.GetInvalidPathChars();
for (int index = 0; index < invalidPathChars.Length; index++)
{
if (string.IsNullOrEmpty(path))
{
return "The output directory name must not be empty (use (d0), (d1), ... to use the name of the parent directories of the input file).";
}
if (path.Contains(invalidPathChars[index]))
{
return "The output directory name must not contains the character '" + invalidPathChars[index] + "'.";
}
}
string[] directories = path.Split('\\');
for (int index = 0; index < directories.Length; ++index)
{
string directoryName = directories[index];
if (string.IsNullOrEmpty(directoryName))
{
return "The output directory name must not be empty (use (d0), (d1), ... to use the name of the parent directories of the input file).";
}
}
return "The output filename template is invalid";
}
}
break;
}
return string.Empty;
}
public struct ConversionSetting
{
public ConversionSetting(KeyValuePair<string, string> keyValuePair)
@@ -687,9 +607,11 @@ namespace FileConverter
public const string VideoScale = "VideoScale";
public const string VideoRotation = "VideoRotation";
public const string VideoFramesPerSecond = "VideoFramesPerSecond";
public const string FFMPEGCustomCommand = "FFMPEGCustomCommand";
public const string EnableAudio = "EnableAudio";
public const string EnableVideo = "EnableVideo";
public const string EnableFFMPEGCustomCommand = "EnableFFMPEGCustomCommand";
}
}
}
@@ -16,13 +16,7 @@ namespace FileConverter
this.value = value;
}
public int Count
{
get
{
return 1;
}
}
public int Count => 1;
public IEnumerable<string> Keys
{
@@ -7,4 +7,4 @@ namespace FileConverter
public interface IConversionSettings : IReadOnlyDictionary<string, string>
{
}
}
}
+52 -14
View File
@@ -12,13 +12,16 @@ namespace FileConverter.Diagnostics
public static class Debug
{
private static string diagnosticsFolderPath;
private static Dictionary<int, DiagnosticsData> diagnosticsDataById = new Dictionary<int, DiagnosticsData>();
private static readonly string diagnosticsFolderPath;
private static readonly Dictionary<int, DiagnosticsData> diagnosticsDataById = new Dictionary<int, DiagnosticsData>();
private static int threadCount = 0;
private static readonly int mainThreadId = 0;
static Debug()
{
string path = PathHelpers.GetUserDataFolderPath();
Debug.mainThreadId = Thread.CurrentThread.ManagedThreadId;
string path = FileConverterExtension.PathHelpers.GetUserDataFolderPath;
// Delete old diagnostics folder (1 day).
DateTime expirationDate = DateTime.Now.Subtract(new TimeSpan(1, 0, 0, 0));
@@ -42,20 +45,34 @@ namespace FileConverter.Diagnostics
public static event EventHandler<PropertyChangedEventArgs> StaticPropertyChanged;
public static DiagnosticsData[] Data
{
get
{
return Debug.diagnosticsDataById.Values.ToArray();
}
}
public static DiagnosticsData[] Data => Debug.diagnosticsDataById.Values.ToArray();
public static void Log(string message, params object[] arguments)
{
DiagnosticsData diagnosticsData;
string log = arguments.Length > 0 ? string.Format(message, arguments) : message;
Debug.Log(log, ConsoleColor.White);
}
Thread currentThread = System.Threading.Thread.CurrentThread;
public static void Log(string message)
{
Debug.Log(message, ConsoleColor.White);
}
public static void Log(string log, ConsoleColor color)
{
DiagnosticsData diagnosticsData;
Thread currentThread = Thread.CurrentThread;
int threadId = currentThread.ManagedThreadId;
// Display main thread logs in standard output.
if (threadId == Debug.mainThreadId)
{
Console.ForegroundColor = color;
Console.WriteLine(log);
Console.ResetColor();
}
lock (Debug.diagnosticsDataById)
{
if (!Debug.diagnosticsDataById.TryGetValue(threadId, out diagnosticsData))
@@ -70,7 +87,23 @@ namespace FileConverter.Diagnostics
}
}
diagnosticsData.Log(message, arguments);
diagnosticsData.Log(log);
}
public static void Assert(bool condition)
{
if (!condition)
{
LogError("Assertion failed");
}
}
public static void Assert(bool condition, string message)
{
if (!condition)
{
LogError(message);
}
}
public static void LogError(string message, params object[] arguments)
@@ -79,7 +112,12 @@ namespace FileConverter.Diagnostics
MessageBox.Show(log, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
Debug.Log("Error: " + message, arguments);
Debug.Log($"Error: {log}", ConsoleColor.Red);
}
public static void LogError(int errorCode, string message)
{
Debug.LogError($"{message} (code 0x{errorCode:X})");
}
public static void Release()
@@ -13,8 +13,8 @@ namespace FileConverter.Diagnostics
public class DiagnosticsData : INotifyPropertyChanged
{
private List<string> logMessages = new List<string>();
private StringBuilder stringBuilder = new StringBuilder();
private readonly List<string> logMessages = new List<string>();
private readonly StringBuilder stringBuilder = new StringBuilder();
private System.IO.TextWriter logFileWriter;
private string name;
@@ -28,10 +28,7 @@ namespace FileConverter.Diagnostics
public string Name
{
get
{
return this.name;
}
get => this.name;
private set
{
@@ -62,11 +59,11 @@ namespace FileConverter.Diagnostics
public void Initialize(string diagnosticsFolderPath, int id)
{
string path = Path.Combine(diagnosticsFolderPath, string.Format("Diagnostics{0}.log", id));
string path = Path.Combine(diagnosticsFolderPath, $"Diagnostics{id}.log");
path = PathHelpers.GenerateUniquePath(path);
this.logFileWriter = new StreamWriter(File.Open(path, FileMode.Create));
this.Log("{0} {1}\n", System.DateTime.Now.ToLongDateString(), System.DateTime.Now.ToLongTimeString());
this.Log($"{System.DateTime.Now.ToLongDateString()} {System.DateTime.Now.ToLongTimeString()}\n");
}
public void Release()
@@ -75,15 +72,13 @@ namespace FileConverter.Diagnostics
this.logFileWriter = null;
}
public void Log(string message, params object[] arguments)
public void Log(string log)
{
string log = arguments.Length > 0 ? string.Format(message, arguments) : message;
this.logMessages.Add(log);
this.logFileWriter.WriteLine(log);
this.logFileWriter.Flush();
this.OnPropertyChanged("Content");
this.OnPropertyChanged(nameof(this.Content));
}
[NotifyPropertyChangedInvocator]
+179 -53
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -9,10 +9,13 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FileConverter</RootNamespace>
<AssemblyName>FileConverter</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -66,13 +69,29 @@
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Magick.NET-Q16-AnyCPU, Version=7.0.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec, processorArchitecture=MSIL">
<HintPath>..\..\packages\Magick.NET-Q16-AnyCPU.7.0.5.502\lib\net40-client\Magick.NET-Q16-AnyCPU.dll</HintPath>
<Reference Include="CommunityToolkit.Mvvm, Version=8.2.0.0, Culture=neutral, PublicKeyToken=4aff67a105548ee2, processorArchitecture=MSIL">
<HintPath>..\..\packages\CommunityToolkit.Mvvm.8.2.2\lib\netstandard2.0\CommunityToolkit.Mvvm.dll</HintPath>
</Reference>
<Reference Include="Magick.NET-Q16-AnyCPU, Version=13.5.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec, processorArchitecture=MSIL">
<HintPath>..\..\packages\Magick.NET-Q16-AnyCPU.13.5.0\lib\netstandard20\Magick.NET-Q16-AnyCPU.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Magick.NET.Core, Version=13.5.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec, processorArchitecture=MSIL">
<HintPath>..\..\packages\Magick.NET.Core.13.5.0\lib\netstandard20\Magick.NET.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Markdown.Xaml">
<HintPath>..\..\Middleware\Markdown.Xaml.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Extensions.DependencyInjection.8.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.8.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Office.Interop.Excel.15.0.4795.1000\lib\net20\Microsoft.Office.Interop.Excel.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
@@ -85,6 +104,9 @@
<HintPath>..\..\packages\Microsoft.Office.Interop.Word.15.0.4797.1003\lib\net20\Microsoft.Office.Interop.Word.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Xaml.Behaviors.Wpf.1.1.77\lib\net462\Microsoft.Xaml.Behaviors.dll</HintPath>
</Reference>
<Reference Include="Office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
<HintPath>..\..\packages\Office.12.0.0\lib\net40\Office.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
@@ -94,8 +116,33 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Middleware\Ripper.dll</HintPath>
</Reference>
<Reference Include="SharpShell, Version=2.7.2.0, Culture=neutral, PublicKeyToken=f14dc899472fe6fb, processorArchitecture=MSIL">
<HintPath>..\..\packages\SharpShell.2.7.2\lib\net40-client\SharpShell.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.Annotations, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.ComponentModel.Annotations.5.0.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Drawing" />
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
@@ -107,9 +154,8 @@
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="WpfAnimatedGif, Version=1.4.14.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\WpfAnimatedGif.1.4.14\lib\net\WpfAnimatedGif.dll</HintPath>
<Private>True</Private>
<Reference Include="WpfAnimatedGif, Version=2.0.0.0, Culture=neutral, PublicKeyToken=9e7cd3b544a090dc, processorArchitecture=MSIL">
<HintPath>..\..\packages\WpfAnimatedGif.2.0.2\lib\net40\WpfAnimatedGif.dll</HintPath>
</Reference>
<Reference Include="yeti.mmedia">
<HintPath>..\..\Middleware\yeti.mmedia.dll</HintPath>
@@ -121,12 +167,13 @@
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="ApplicationTerminateArgs.cs" />
<Compile Include="Commands\DelegateCommand.cs" />
<Compile Include="Commands\OpenUrlCommand.cs" />
<Compile Include="Controls\ConversionJobControl.xaml.cs">
<DependentUpon>ConversionJobControl.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\IconButton.cs" />
<Compile Include="Controls\EncodingQualitySliderControl.xaml.cs">
<DependentUpon>EncodingQualitySliderControl.xaml</DependentUpon>
</Compile>
<Compile Include="Commands\CancelConversionJobCommand.cs" />
<Compile Include="ConversionJobs\ConversionFlags.cs" />
<Compile Include="ConversionJobs\ConversionJob_Office.cs" />
<Compile Include="ConversionJobs\ConversionJob_PowerPoint.cs" />
@@ -139,6 +186,7 @@
<Compile Include="ConversionJobs\ConversionJob_Excel.cs" />
<Compile Include="ConversionJobs\ConversionJob_Word.cs" />
<Compile Include="ConversionJobs\ConversionJob_ImageMagick.cs" />
<Compile Include="ConversionJobs\ConversionState.cs" />
<Compile Include="ConversionJobs\VideoEncodingSpeed.cs" />
<Compile Include="ConversionPreset\ConversionSettingsOverride.cs" />
<Compile Include="ConversionPreset\ConversionSettings.cs" />
@@ -148,13 +196,14 @@
<Compile Include="Helpers.cs" />
<Compile Include="InputPostConversionAction.cs" />
<Compile Include="IXmlSerializable.cs" />
<Compile Include="Services\ConversionJobsTerminatedEventArgs.cs" />
<Compile Include="Services\ConversionService.cs" />
<Compile Include="Services\IConversionService.cs" />
<Compile Include="Services\INavigationService.cs" />
<Compile Include="Services\ISettingsService.cs" />
<Compile Include="Services\IUpgradeService.cs" />
<Compile Include="Services\NavigationService.cs" />
<Compile Include="PathHelpers.cs" />
<Compile Include="Properties\Resources.fr.Designer.cs">
<DependentUpon>Resources.fr.resx</DependentUpon>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<ExcludeFromStyleCop>True</ExcludeFromStyleCop>
</Compile>
<Compile Include="Properties\Resources.en.Designer.cs">
<DependentUpon>Resources.en.resx</DependentUpon>
<AutoGen>True</AutoGen>
@@ -162,12 +211,19 @@
<ExcludeFromStyleCop>True</ExcludeFromStyleCop>
</Compile>
<Compile Include="Registry.cs" />
<Compile Include="Settings.Migration.cs" />
<Compile Include="Settings.Settings.cs" />
<Compile Include="Upgrade\Helpers.cs" />
<Compile Include="Upgrade\UpgradeVersionDescription.cs" />
<Compile Include="Pages.cs" />
<Compile Include="Services\SettingsService.Migration.cs" />
<Compile Include="Services\SettingsService.cs" />
<Compile Include="Services\UpgradeService.cs" />
<Compile Include="Services\UpgradeVersionDescription.cs" />
<Compile Include="ValueConverters\ConversionJobsToProgressState.cs" />
<Compile Include="ValueConverters\ApplicationVersionToApplicationName.cs" />
<Compile Include="ConversionPreset\ConversionPreset.cs" />
<Compile Include="ValueConverters\ChangelogConverter.cs" />
<Compile Include="ValueConverters\ConversionJobToEstimatedRemainingDuration.cs" />
<Compile Include="ValueConverters\ConversionJobsToProgressValue.cs" />
<Compile Include="ValueConverters\ConversionSettingsRelevant.cs" />
<Compile Include="ValueConverters\Generic\IcoFileSizeSelectorConverter.cs" />
<Compile Include="ValueConverters\OutputTypeEnumToViewModel.cs" />
<Compile Include="ValueConverters\BitrateToString.cs" />
<Compile Include="ValueConverters\FileNameConverter.cs" />
@@ -187,37 +243,49 @@
<Compile Include="ValueConverters\OutputTypeToVisibility.cs" />
<Compile Include="ValueConverters\Generic\StringToEnum.cs" />
<Compile Include="ValueConverters\Generic\ValueConverterGroup.cs" />
<Compile Include="Windows\ApplicationStartHelp.xaml.cs">
<DependentUpon>ApplicationStartHelp.xaml</DependentUpon>
<Compile Include="ViewModels\DiagnosticsViewModel.cs" />
<Compile Include="ViewModels\PresetNode.cs" />
<Compile Include="ViewModels\SettingsViewModel.cs" />
<Compile Include="ViewModels\HelpViewModel.cs" />
<Compile Include="ViewModels\UpgradeViewModel.cs" />
<Compile Include="ViewModels\MainViewModel.cs" />
<Compile Include="ViewModels\ViewModelLocator.cs" />
<Compile Include="Views\BindableSelectedItemBehavior.cs" />
<Compile Include="Views\DragDropExtension.cs" />
<Compile Include="Views\HelpWindow.xaml.cs">
<DependentUpon>HelpWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Windows\DiagnosticsWindow.xaml.cs">
<Compile Include="Views\DiagnosticsWindow.xaml.cs">
<DependentUpon>DiagnosticsWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Windows\ConversionSettingsTemplateSelector.cs" />
<Compile Include="Windows\InputExtension.cs" />
<Compile Include="Windows\InputExtensionCategory.cs" />
<Compile Include="Windows\OutputTypeViewModel.cs" />
<Compile Include="Windows\SettingsWindow.xaml.cs">
<Compile Include="ViewModels\InputExtension.cs" />
<Compile Include="ViewModels\InputExtensionCategory.cs" />
<Compile Include="ViewModels\OutputTypeViewModel.cs" />
<Compile Include="Views\SettingsWindow.xaml.cs">
<DependentUpon>SettingsWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Version.cs" />
<Compile Include="Windows\UpgradeWindow.xaml.cs">
<Compile Include="Views\UpgradeWindow.xaml.cs">
<DependentUpon>UpgradeWindow.xaml</DependentUpon>
</Compile>
<Compile Include="XmlHelpers.cs" />
<Page Include="Controls\ConversionJobControl.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Controls\EncodingQualitySliderControl.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\ApplicationStartHelp.xaml">
<Page Include="Views\HelpWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\DiagnosticsWindow.xaml">
<Page Include="Views\DiagnosticsWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\MainWindow.xaml">
<Page Include="Views\MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
@@ -228,15 +296,27 @@
<Compile Include="ValueConverters\ConversionStateToBrush.cs" />
<Compile Include="ConversionJobs\ConversionJob.cs" />
<Compile Include="Diagnostics\Debug.cs" />
<Compile Include="Windows\MainWindow.xaml.cs">
<Compile Include="Views\MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Page Include="Windows\SettingsWindow.xaml">
<Page Include="Views\Resources\ConversionPresetTemplates.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\Resources\Colors.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\Resources\CustomStyles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\UpgradeWindow.xaml">
<Page Include="Views\SettingsWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\UpgradeWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
@@ -260,20 +340,27 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.fr.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.fr.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.ar-EG.resx" />
<EmbeddedResource Include="Properties\Resources.de-DE.resx" />
<EmbeddedResource Include="Properties\Resources.hi-IN.resx" />
<EmbeddedResource Include="Properties\Resources.es-ES.resx" />
<EmbeddedResource Include="Properties\Resources.en.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.en.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.pt.resx" />
<EmbeddedResource Include="Properties\Resources.fr-FR.resx" />
<EmbeddedResource Include="Properties\Resources.it-IT.resx" />
<EmbeddedResource Include="Properties\Resources.pt-BR.resx" />
<EmbeddedResource Include="Properties\Resources.pt-PT.resx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.tr-TR.resx" />
<EmbeddedResource Include="Properties\Resources.zh-CN.resx" />
<EmbeddedResource Include="Properties\Resources.el-GR.resx" />
<EmbeddedResource Include="Properties\Resources.zh-TW.resx" />
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
@@ -284,10 +371,9 @@
<AppDesigner Include="Properties\" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\ApplicationIcon.png" />
<None Include="app.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\ApplicationIcon.ico" />
@@ -313,29 +399,69 @@
<ItemGroup>
<Resource Include="Resources\GitHub-Documentation-Icon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Pledge-icon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\FileConverterUsage.gif" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Settings-Icon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\WebSite-Icon.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FileConverterExtension\FileConverterExtension.csproj">
<Project>{0c44ca69-42d6-4357-bdfd-83069d1aba2f}</Project>
<Name>FileConverterExtension</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\SettingsIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\FolderIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\UpIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DownIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\PresetIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DeleteIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\LogIcon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\PaypalIcon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\ExportIcon.ico" />
<Resource Include="Resources\ImportIcon.ico" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DuplicatePresetIcon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy /Y "$(SolutionDir)Middleware\ffmpeg\$(PlatformName)\ffmpeg.exe" "$(TargetDir)ffmpeg.exe"
copy /Y "$(SolutionDir)Middleware\gs\x86\gsdll32.dll" "$(TargetDir)gsdll32.dll"
copy /Y "$(SolutionDir)Middleware\gs\x86\gswin32c.exe" "$(TargetDir)gswin32c.exe"
<PostBuildEvent>copy /Y "$(SolutionDir)Middleware\ffmpeg\ffmpeg.exe" "$(TargetDir)ffmpeg.exe"
copy /Y "$(SolutionDir)Middleware\gs\gsdll64.dll" "$(TargetDir)gsdll64.dll"
copy /Y "$(SolutionDir)Middleware\gs\gswin64c.exe" "$(TargetDir)gswin64c.exe"
copy /Y "$(ProjectDir)Settings.default.xml" "$(TargetDir)Settings.default.xml"
robocopy $(TargetDir) $(TargetDir)\Languages "$(TargetName).resources.dll" /CREATE /S /XD Languages /IS /IT /NFL /NDL /NJH /NJS /NC /NS /NP
if %25errorlevel%25 leq 1 exit 0 else exit %25errorlevel%25
robocopy $(TargetDir) $(TargetDir)\Languages "$(TargetName).resources.dll" /MOVE /S /XD Languages /XL /IS /IT /NFL /NDL /NJH /NJS /NC /NS /NP
if %25errorlevel%25 leq 1 exit 0 else exit %25errorlevel%25</PostBuildEvent>
</PropertyGroup>
<Import Project="..\..\packages\Magick.NET-Q16-AnyCPU.13.5.0\build\netstandard20\Magick.NET-Q16-AnyCPU.targets" Condition="Exists('..\..\packages\Magick.NET-Q16-AnyCPU.13.5.0\build\netstandard20\Magick.NET-Q16-AnyCPU.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Magick.NET-Q16-AnyCPU.13.5.0\build\netstandard20\Magick.NET-Q16-AnyCPU.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Magick.NET-Q16-AnyCPU.13.5.0\build\netstandard20\Magick.NET-Q16-AnyCPU.targets'))" />
<Error Condition="!Exists('..\..\packages\CommunityToolkit.Mvvm.8.2.2\build\netstandard2.0\CommunityToolkit.Mvvm.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\CommunityToolkit.Mvvm.8.2.2\build\netstandard2.0\CommunityToolkit.Mvvm.targets'))" />
</Target>
<Import Project="..\..\packages\CommunityToolkit.Mvvm.8.2.2\build\netstandard2.0\CommunityToolkit.Mvvm.targets" Condition="Exists('..\..\packages\CommunityToolkit.Mvvm.8.2.2\build\netstandard2.0\CommunityToolkit.Mvvm.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
+135 -23
View File
@@ -1,4 +1,4 @@
// // <copyright file="Helpers.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
// <copyright file="Helpers.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
@@ -6,32 +6,27 @@ namespace FileConverter
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.ComponentModel.Composition.Hosting;
using FileConverter.ConversionJobs;
using FileConverter.Services;
using SharpShell;
using SharpShell.ServerRegistration;
using Microsoft.Win32;
using CommunityToolkit.Mvvm.DependencyInjection;
public static class Helpers
{
public static IEnumerable<CultureInfo> GetSupportedCultures()
{
// Get all cultures.
CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.AllCultures);
// Find the location where application installed.
string exeLocation = Path.GetDirectoryName(Uri.UnescapeDataString(new UriBuilder(Assembly.GetExecutingAssembly().CodeBase).Path));
// Return all culture for which satellite folder found with culture code.
foreach (CultureInfo cultureInfo in cultures)
{
if (!string.IsNullOrEmpty(cultureInfo.Name) && Directory.Exists(Path.Combine(exeLocation, "Languages", cultureInfo.Name)))
{
yield return cultureInfo;
}
}
}
public static readonly string[] CompatibleInputExtensions = {
"3gp","3gpp","aac","aiff","ape","arw","avi","bik","bmp","cda","cr2","dds","dng","doc","docx",
"exr","flac","flv","gif","heic","ico","jfif","jpg","jpeg","m4a","m4b","m4v","mkv","mov","mp3","mp4",
"mpg","mpeg","nef","odp","ods","odt","oga","ogg","ogv","opus","pdf","png","ppt","pptx","psd",
"raf", "rm","svg","tga","tif","tiff", "ts", "vob","wav","webm","webp","wma","wmv","xls","xlsx"
};
public static string GetExtensionCategory(string extension)
{
@@ -44,35 +39,50 @@ namespace FileConverter
case "flac":
case "mp3":
case "m4a":
case "m4b":
case "oga":
case "ogg":
case "opus":
case "wav":
case "wma":
return InputCategoryNames.Audio;
case "3gp":
case "3gpp":
case "avi":
case "bik":
case "flv":
case "m4v":
case "mp4":
case "mpg":
case "mpeg":
case "mov":
case "mkv":
case "ogv":
case "rm":
case "ts":
case "vob":
case "webm":
case "wmv":
return InputCategoryNames.Video;
case "arw":
case "bmp":
case "cr2":
case "dds":
case "dng":
case "exr":
case "heic":
case "ico":
case "jfif":
case "jpg":
case "jpeg":
case "nef":
case "png":
case "psd":
case "raf":
case "tga":
case "tif":
case "tiff":
case "svg":
case "xcf":
@@ -98,6 +108,107 @@ namespace FileConverter
return InputCategoryNames.Misc;
}
public static bool RegisterShellExtension(string shellExtensionPath)
{
if (!Application.IsInAdmininstratorPrivileges)
{
Diagnostics.Debug.LogError("File Converter needs administrator privileges to register the shell extension.");
return false;
}
if (!File.Exists(shellExtensionPath))
{
Diagnostics.Debug.LogError($"Shell extension {shellExtensionPath} does not exists.");
return false;
}
Diagnostics.Debug.Log($"Install and register shell extension: {shellExtensionPath}.");
try
{
var catalog = new AssemblyCatalog(shellExtensionPath);
var container = new CompositionContainer(catalog);
var server = container.GetExport<ISharpShellServer>().Value;
RegistrationType registrationType = RegistrationType.OS64Bit;
#if BUILD32
registrationType = RegistrationType.OS32Bit;
#endif
ServerRegistrationManager.InstallServer(server, registrationType, true);
Diagnostics.Debug.Log($"Shell extension has been installed correctly.");
ServerRegistrationManager.RegisterServer(server, registrationType);
Diagnostics.Debug.Log($"Shell extension has been registered correctly.");
}
catch (Exception exception)
{
Diagnostics.Debug.LogError($"An exception has been thrown during shell extension {shellExtensionPath} registration.\n{exception}");
return false;
}
return true;
}
public static bool UnregisterExtension(string shellExtensionPath)
{
if (!Application.IsInAdmininstratorPrivileges)
{
Diagnostics.Debug.LogError("File Converter needs administrator privileges to unregister the shell extension.");
return false;
}
if (!File.Exists(shellExtensionPath))
{
Diagnostics.Debug.LogError($"Shell extension {shellExtensionPath} does not exists.");
return false;
}
Diagnostics.Debug.Log($"Unregister and uninstall shell extension: {shellExtensionPath}.");
try
{
var catalog = new AssemblyCatalog(shellExtensionPath);
var container = new CompositionContainer(catalog);
var server = container.GetExport<ISharpShellServer>().Value;
RegistrationType registrationType = RegistrationType.OS64Bit;
#if BUILD32
registrationType = RegistrationType.OS32Bit;
#endif
ServerRegistrationManager.UnregisterServer(server, registrationType);
Diagnostics.Debug.Log($"Shell extension has been successfully unregistered.");
ServerRegistrationManager.UninstallServer(server, registrationType);
Diagnostics.Debug.Log($"Shell extension has been successfully uninstalled.");
}
catch (Exception exception)
{
Diagnostics.Debug.LogError($"An exception has been thrown during shell extension {shellExtensionPath} unregistration.\n{exception}");
return false;
}
return true;
}
public static IEnumerable<CultureInfo> GetSupportedCultures()
{
// Get all cultures.
CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.AllCultures);
// Find the location where application installed.
string exeLocation = Path.GetDirectoryName(Uri.UnescapeDataString(new UriBuilder(Assembly.GetExecutingAssembly().CodeBase).Path));
// Return all culture for which satellite folder found with culture code.
foreach (CultureInfo cultureInfo in cultures)
{
if (!string.IsNullOrEmpty(cultureInfo.Name) && Directory.Exists(Path.Combine(exeLocation, "Languages", cultureInfo.Name)))
{
yield return cultureInfo;
}
}
}
public static bool IsOutputTypeCompatibleWithCategory(OutputType outputType, string category)
{
if (category == InputCategoryNames.Misc)
@@ -141,8 +252,8 @@ namespace FileConverter
public static Thread InstantiateThread(string name, ThreadStart threadStart)
{
Application application = Application.Current as Application;
CultureInfo currentCulture = application?.Settings?.ApplicationLanguage;
ISettingsService settingsService = Ioc.Default.GetRequiredService<ISettingsService>();
CultureInfo currentCulture = settingsService?.Settings?.ApplicationLanguage;
Thread thread = new Thread(threadStart);
thread.Name = name;
@@ -158,8 +269,8 @@ namespace FileConverter
public static Thread InstantiateThread(string name, ParameterizedThreadStart parameterizedThreadStart)
{
Application application = Application.Current as Application;
CultureInfo currentCulture = application?.Settings?.ApplicationLanguage;
ISettingsService settingsService = Ioc.Default.GetRequiredService<ISettingsService>();
CultureInfo currentCulture = settingsService?.Settings?.ApplicationLanguage;
Thread thread = new Thread(parameterizedThreadStart);
thread.Name = name;
@@ -176,6 +287,7 @@ namespace FileConverter
/// <summary>
/// Check whether Microsoft office is available or not.
/// </summary>
/// <param name="application">The office application name.</param>
/// <returns>Returns true if Office is installed on the computer.</returns>
/// source: http://stackoverflow.com/questions/3266675/how-to-detect-installed-version-of-ms-office/3267832#3267832
/// source: http://www.codeproject.com/Articles/26520/Getting-Office-s-Version
+13
View File
@@ -0,0 +1,13 @@
// <copyright file="Pages.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
public static class Pages
{
public const string Help = "Help";
public const string Main = "Main";
public const string Settings = "Settings";
public const string Diagnostics = "Diagnostics";
public const string Upgrade = "Upgrade";
}
}
+6 -16
View File
@@ -16,6 +16,7 @@ namespace FileConverter
private static Regex pathRegex = new Regex(@"^(?:\\\\[^\\/:*?""<>|\r\n]+\\|[a-zA-Z]:\\)(?:[^\\/:*?""<>|\r\n]+\\)*[^\.\\/:*?""<>|\r\n][^\\/:*?""<>|\r\n]*$");
private static Regex filenameRegex = new Regex(@"[^\\]*", RegexOptions.RightToLeft);
private static Regex directoryRegex = new Regex(@"^(?<drive>\\\\[^\\/:*?""""<>|\r\n]+\\|[A-Za-z]:\\)(?:(?<folders>[^\\]*)\\)*");
private static Regex dateRegex = new Regex(@"\(d:(?<format>[^)]*)\)");
public static bool IsPathDriveLetterValid(string path)
{
@@ -129,7 +130,7 @@ namespace FileConverter
}
catch (Exception)
{
Debug.Log(string.Format("Can't create directories for path {0}", filePath));
Debug.Log($"Can't create directories for path {filePath}");
return false;
}
}
@@ -138,19 +139,6 @@ namespace FileConverter
return true;
}
public static string GetUserDataFolderPath()
{
string path = System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData);
path = System.IO.Path.Combine(path, "FileConverter");
if (!System.IO.Directory.Exists(path))
{
System.IO.Directory.CreateDirectory(path);
}
return path;
}
public static string GenerateFilePathFromTemplate(string inputFilePath, OutputType outputFileExtension, string outputFilePathTemplate, int numberIndex, int numberMax)
{
if (string.IsNullOrEmpty(inputFilePath))
@@ -213,13 +201,15 @@ namespace FileConverter
for (int index = 0; index < directories.Length; index++)
{
outputPath = outputPath.Replace(string.Format("(d{0})", directories.Length - index - 1), directories[index]);
outputPath = outputPath.Replace(string.Format("(D{0})", directories.Length - index - 1), directories[index].ToUpperInvariant());
outputPath = outputPath.Replace($"(d{directories.Length - index - 1})", directories[index]);
outputPath = outputPath.Replace($"(D{directories.Length - index - 1})", directories[index].ToUpperInvariant());
}
outputPath = outputPath.Replace("(n:i)", numberIndex.ToString());
outputPath = outputPath.Replace("(n:c)", numberMax.ToString());
outputPath = dateRegex.Replace(outputPath, match => DateTime.Now.ToString(match.Groups["format"].Value).Replace('/', '-').Replace(':', '\''));
outputPath += "." + outputExtension;
return outputPath;
@@ -1,6 +1,4 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
@@ -12,7 +10,7 @@ using System.Windows;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FileConverter")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -51,5 +49,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
+163 -19
View File
@@ -19,7 +19,7 @@ namespace FileConverter.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
@@ -70,7 +70,7 @@ namespace FileConverter.Properties {
}
/// <summary>
/// Looks up a localized string similar to Allow you to chose what you want to do with your input files if the conversion succeed.
/// Looks up a localized string similar to Allow you to choose what you want to do with your input files if the conversion succeed.
/// </summary>
public static string ActionWhenConversionSucceedDescription {
get {
@@ -88,7 +88,7 @@ namespace FileConverter.Properties {
}
/// <summary>
/// Looks up a localized string similar to Add new preset (duplicate selected preset).
/// Looks up a localized string similar to New preset.
/// </summary>
public static string AddNewPreset {
get {
@@ -96,6 +96,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Advanced mode.
/// </summary>
public static string AdvancedMode {
get {
return ResourceManager.GetString("AdvancedMode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Application.
/// </summary>
@@ -159,6 +168,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Cancel.
/// </summary>
public static string CancelJobTooltip {
get {
return ResourceManager.GetString("CancelJobTooltip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Channel count :.
/// </summary>
@@ -303,6 +321,33 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Copy files in clipboard after conversion.
/// </summary>
public static string CopyFilesInClipboardAfterConversion {
get {
return ResourceManager.GetString("CopyFilesInClipboardAfterConversion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New folder.
/// </summary>
public static string CreateANewFolder {
get {
return ResourceManager.GetString("CreateANewFolder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New folder.
/// </summary>
public static string DefaultFolderName {
get {
return ResourceManager.GetString("DefaultFolderName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New preset.
/// </summary>
@@ -324,9 +369,9 @@ namespace FileConverter.Properties {
/// <summary>
/// Looks up a localized string similar to Logs.
/// </summary>
public static string DiagnosticsButtonTitle {
public static string DiagnosticsButtonTooltip {
get {
return ResourceManager.GetString("DiagnosticsButtonTitle", resourceCulture);
return ResourceManager.GetString("DiagnosticsButtonTooltip", resourceCulture);
}
}
@@ -384,6 +429,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Duplicate preset.
/// </summary>
public static string DuplicatePreset {
get {
return ResourceManager.GetString("DuplicatePreset", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Encoding :.
/// </summary>
@@ -402,6 +456,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Error.
/// </summary>
public static string Error {
get {
return ResourceManager.GetString("Error", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Canceled..
/// </summary>
@@ -429,6 +492,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t load file converter user settings. Do you want to fall back to default settings ?.
/// </summary>
public static string ErrorCantLoadSettings {
get {
return ResourceManager.GetString("ErrorCantLoadSettings", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Audio CD track extraction failed..
/// </summary>
@@ -456,6 +528,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Error during conversion job initialization..
/// </summary>
public static string ErrorDuringJobInitialization {
get {
return ResourceManager.GetString("ErrorDuringJobInitialization", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Fail to launch ffmpeg..
/// </summary>
@@ -600,6 +681,33 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Export.
/// </summary>
public static string ExportSelectedPresets {
get {
return ResourceManager.GetString("ExportSelectedPresets", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Custom Arguments.
/// </summary>
public static string FFMPEGCustomArguments {
get {
return ResourceManager.GetString("FFMPEGCustomArguments", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Custom FFMPEG command line arguments.
/// </summary>
public static string FFMPEGCustomArgumentsTooltip {
get {
return ResourceManager.GetString("FFMPEGCustomArgumentsTooltip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File Converter is a shell extension..
/// </summary>
@@ -663,6 +771,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Import.
/// </summary>
public static string ImportPresets {
get {
return ResourceManager.GetString("ImportPresets", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Input example.
/// </summary>
@@ -843,6 +960,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to No preset selected.
/// </summary>
public static string NoPresetSelected {
get {
return ResourceManager.GetString("NoPresetSelected", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Ok.
/// </summary>
@@ -870,15 +996,6 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to C:\Music\Artist\Album\Song.wav.
/// </summary>
public static string OuputFileNameTemplateSample {
get {
return ResourceManager.GetString("OuputFileNameTemplateSample", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Output.
/// </summary>
@@ -888,6 +1005,15 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to C:\Music\Artist\Album\Song.wav.
/// </summary>
public static string OutputFileNameTemplateSample {
get {
return ResourceManager.GetString("OutputFileNameTemplateSample", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to (p): input file path
///(f): input filename
@@ -931,6 +1057,24 @@ namespace FileConverter.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Folder.
/// </summary>
public static string PresetFolder {
get {
return ResourceManager.GetString("PresetFolder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Folder Name.
/// </summary>
public static string PresetFolderName {
get {
return ResourceManager.GetString("PresetFolderName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Preset Name.
/// </summary>
@@ -952,14 +1096,14 @@ namespace FileConverter.Properties {
/// <summary>
/// Looks up a localized string similar to Recommended bitrate range in blue.
/// </summary>
public static string RecommendeBitrateRangeInBlue {
public static string RecommendedBitrateRangeInBlue {
get {
return ResourceManager.GetString("RecommendeBitrateRangeInBlue", resourceCulture);
return ResourceManager.GetString("RecommendedBitrateRangeInBlue", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remove selected preset.
/// Looks up a localized string similar to Delete.
/// </summary>
public static string RemoveSelectedPreset {
get {
@@ -1024,9 +1168,9 @@ namespace FileConverter.Properties {
/// <summary>
/// Looks up a localized string similar to Settings.
/// </summary>
public static string SettingsButtonTitle {
public static string SettingsButtonTooltip {
get {
return ResourceManager.GetString("SettingsButtonTitle", resourceCulture);
return ResourceManager.GetString("SettingsButtonTooltip", resourceCulture);
}
}
@@ -0,0 +1,751 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>حول البرنامج</value>
<comment>about</comment>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>السماح لك لاختيار ماذا تريد أن تفعل مع الملف المدخل عند انتهاء التحويل</value>
<comment>Allow you to choose what you want to do with your input files if the conversion succeed</comment>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>افعل عند انتهاء التحويل بنجاح</value>
<comment>Action when conversion succeed</comment>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>ضبط مسبق جديد</value>
<comment>New preset</comment>
</data>
<data name="Application" xml:space="preserve">
<value>البرنامج</value>
<comment>Application</comment>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>الصوت</value>
<comment>Audio</comment>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>البحث عن التحديثات تلقائياً عند فتح البرنامج</value>
<comment>Automatically check for updates when File Converter starts</comment>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>الخروج من البرنامج عند انتهاء كل التحويلات</value>
<comment>Automatically exit when all conversions finished</comment>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>ثبت لأدنى طاقة بحجم 2</value>
<comment>Clamp to lowest power of 2 size</comment>
</data>
<data name="Close" xml:space="preserve">
<value>إغلاق</value>
<comment>Close</comment>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>أرشيف الضبط المسبق</value>
<comment>Conversion Presets</comment>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>ملفات للتحويل</value>
<comment>Files to convert</comment>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>محول من</value>
<comment>Converted from</comment>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>السجلات</value>
<comment>Logs</comment>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>السجلات</value>
<comment>Logs</comment>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>فتح الوثائق</value>
<comment>Open documentation</comment>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>تبرع</value>
<comment>Donate</comment>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>لا تنسي مكافأة عملي لو أعجبك</value>
<comment>Don't forget to reward my work if you like it :)</comment>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>التحديث سوف يقوم بالتنزيل في الخلفية و سوف يتم تثبيت التحديث عند غلق البرنامج</value>
<comment>The update will be downloaded in background, and installed once you exit File Converter.</comment>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>تثبيت عندما اقوم بإغلاق البرنامج</value>
<comment>Install when I exit File Converter</comment>
</data>
<data name="Encoding" xml:space="preserve">
<value>الترميز:</value>
<comment>Encoding :</comment>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>سرعة الترميز:</value>
<comment>Encoding speed :</comment>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>shell يكون صيغة File Converter</value>
<comment>File Converter is a shell extension.</comment>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Windows explorer. ذلك معناه انه مدمج مع</value>
<comment>That means it is integrated into the Windows explorer.</comment>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>لاستخدام File Converter قم بفتح explorer وقم بالضغط مرتين يمين علي الملف الذي تريد جلبة الي القائمة حيث سوف تجد اوامر البرنامج (انظر ملف readme لتري مجموعه الصيغ المتوافقة </value>
<comment>To use File Converter please open the explorer and right-click on any file you like to bring up the context menu where you will find File Converter commands (see the readme file to see the list of compatible file formats).</comment>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>نموذج اسم الملف</value>
<comment>File name template</comment>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>إطار لكل ثانية</value>
<comment>Frames per second :</comment>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>افتح صفحة مشاريع GitHub</value>
<comment>Open GitHub project page</comment>
</data>
<data name="Help" xml:space="preserve">
<value>مساعدة ؟</value>
<comment>help ?</comment>
</data>
<data name="InputExample" xml:space="preserve">
<value>نموذج المدخلات</value>
<comment>Input example</comment>
</data>
<data name="InputFormats" xml:space="preserve">
<value>صيغ المدخلات</value>
<comment>Input formats</comment>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>حذف</value>
<comment>Delete</comment>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>نقل الي مجلد الارشيف</value>
<comment>Move in an archive folder</comment>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>فارغ</value>
<comment>None</comment>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>التحديث تم تنزيله.اغلق البرنامج و قم بتثبيت التحديث الان</value>
<comment>The update has been downloaded. Exit File Converter and install the update now.</comment>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>تثبيت عندما اقوم بغلق البرنامج</value>
<comment>Install when I exit File Converter</comment>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>تقرير عن مشكلة</value>
<comment>Report an issue</comment>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>تحرك لأسفل الإعداد المسبق المحدد</value>
<comment>Move down selected preset</comment>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>تحرك لأعلي الإعداد المسبق المحدد</value>
<comment>Move up selected preset</comment>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>ترميز معدل البت الثابت</value>
<comment>Constant bitrate encoding</comment>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>ترميز معدل البت المتغير</value>
<comment>Variable bitrate encoding</comment>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>90 درجة دوران عقارب الساعة</value>
<comment>90° counter clockwise rotation</comment>
</data>
<data name="Ok" xml:space="preserve">
<value>موافق</value>
<comment>Ok</comment>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>180° دوران</value>
<comment>180° rotation</comment>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Music\Artist\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>الاخراج</value>
<comment>Output</comment>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): مسار الملف المخل
(f): اسم الملف المدخل
(o): نوع صيغه الاخراج
(i): نوع صيغة المدخل
(d0): إدخال المجلد الأصل
(d1): إدخال المجلد الأصل الفرعي
...
(n:i): فهرس رقم الصفحة
(n:c): إجمالي عدد الصفحات
مسارات خاصة:
(p:d): documents مسار
(p:m): music مسار
(p:v): videos مسار
(p:p): pictures مسار
استخدم maj لإصدار الأحرف الكبيرة</value>
<comment>(p): input file path
(f): input filename
(o): output extension type
(i): input extension type
(d0): input parent folder
(d1): input sub parent folder
...
(n:i): page number index
(n:c): total page count
Special paths:
(p:d): my documents path
(p:m): my music path
(p:v): my videos path
(p:p): my pictures path
use maj for uppercase version</comment>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>صيغة الاخراج</value>
<comment>Output format</comment>
</data>
<data name="Preset" xml:space="preserve">
<value>ضبط</value>
<comment>Preset</comment>
</data>
<data name="PresetName" xml:space="preserve">
<value>اسم الضبط</value>
<comment>Preset Name</comment>
</data>
<data name="Quality" xml:space="preserve">
<value>الجوده:</value>
<comment>Quality :</comment>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>نطاق معدل البت الموصى به باللون الأزرق</value>
<comment>Recommended bitrate range in blue</comment>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>حذف</value>
<comment>Delete</comment>
</data>
<data name="Rotate" xml:space="preserve">
<value>دوران:</value>
<comment>Rotate :</comment>
</data>
<data name="Save" xml:space="preserve">
<value>حفظ</value>
<comment>Save</comment>
</data>
<data name="Scale" xml:space="preserve">
<value>الحجم:</value>
<comment>Scale :</comment>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>انظر سجل التغيرات..</value>
<comment>See change log ...</comment>
</data>
<data name="Settings" xml:space="preserve">
<value>الاعدادات</value>
<comment>Settings</comment>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>الاعدادات</value>
<comment>Settings</comment>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>90 درجة دوران في اتجاه عقارب الساعة</value>
<comment>90° clockwise rotation</comment>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>يتوفر تحديث للبرنامج. يوصى بشدة بتثبيته في أسرع وقت ممكن!</value>
<comment>An update for File Converter is available. It is strongly recommended that you install it as soon as possible!</comment>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>ترقية التنزيل قيد التقدم ...</value>
<comment>Upgrade download in progress...</comment>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>تحديثات File Converter</value>
<comment>File Converter Updates</comment>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>حدد نسبة "حجم الملف" مقابل "جودة الفيديو". ستمنحك القيمة الأقل ملفًا أصغر ، بينما تمنحك القيمة الأكبر جودة فيديو أفضل.</value>
<comment>Define the ratio 'file size' versus 'video quality'. A lower value will give you a smaller file, a greater value give you a better video quality.</comment>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>اسرع</value>
<comment>Faster</comment>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>سريع</value>
<comment>Fast</comment>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>متوسط</value>
<comment>Medium</comment>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>ابطئ</value>
<comment>Slower</comment>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>بطئ</value>
<comment>Slow</comment>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>خارق السرعه</value>
<comment>Super Fast</comment>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>حدد نسبة "حجم الملف" مقابل "مدة الضغط". يمنحك الضغط البطيء ملفًا أصغر (لنفس جودة الفيديو) من ضغط أسرع.</value>
<comment>Define the ratio 'file size' versus 'compression duration'. A slow compression will give you a smaller file (for the same video quality) than a faster compression.</comment>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>سريع للغاية</value>
<comment>Ultra Fast</comment>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>سريع جداً</value>
<comment>Very Fast</comment>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>بطئ جداً</value>
<comment>Very Slow</comment>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>فيديو</value>
<comment>Video</comment>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM signed 16-bit little-endian</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM signed 24-bit little-endian</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM signed 32-bit little-endian</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM signed 8-bit little-endian</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>فارغ</value>
<comment>None</comment>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>لا دوران</value>
<comment>No rotation</comment>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>التحويل</value>
<comment>Conversion</comment>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>أنتهي</value>
<comment>Done</comment>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>الاخراج</value>
<comment>Extraction</comment>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>فشل</value>
<comment>Failed</comment>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>في قائمة الانتظار</value>
<comment>In queue</comment>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>قرأت الصوره المدخلة</value>
<comment>Read input image</comment>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>قرأت الملف</value>
<comment>Read document</comment>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>صورة متحركة</value>
<comment>Animated Image</comment>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>الصوت</value>
<comment>Audio</comment>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>مستند</value>
<comment>Document</comment>
</data>
<data name="StringImageName" xml:space="preserve">
<value>صوره</value>
<comment>Image</comment>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>فيديو</value>
<comment>Video</comment>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>فترة انتظار قبل اغلاق البرنامج</value>
<comment>Waiting duration before application exit</comment>
</data>
<data name="Language" xml:space="preserve">
<value>اللغة</value>
<comment>Language</comment>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>الحد الأقصى لعدد التحويلات المتزامنة</value>
<comment>Maximum number of simultaneous conversions</comment>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>ضبط مسبق جديد</value>
<comment>New preset</comment>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###تنزيل سجل التغييرات</value>
<comment>###Downloading change log ...</comment>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>أرشيف التحويلات</value>
<comment>Conversion Archives</comment>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>ألغي</value>
<comment>Canceled.</comment>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>فشل في ايجاد ffmpeg executable ,يجب ان تحاول اعادة تثبيت البرنامج</value>
<comment>Fail to find ffmpeg executable. You should try to reinstall the application.</comment>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>فشل في اخراج صوت CD</value>
<comment>Audio CD track extraction failed.</comment>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>قرص CD غير جاهز</value>
<comment>CD drive is not ready.</comment>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>فشل في بدأ ffmpeg</value>
<comment>Fail to launch ffmpeg.</comment>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>فشل في انشاء مسار مجلد الاخراج</value>
<comment>Fail to create output path folders.</comment>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>فشل في انشاء مسار فريد لملف الاخراج</value>
<comment>Fail to generate a unique output file path.</comment>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>فشل في قرأت قرص CD '{0}'.</value>
<comment>Fail to read cd drive '{0}'.</comment>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>فشل في استعاده مسار القرص المدخل</value>
<comment>Fail to retrieve input path drive letter.</comment>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>فشل في استعاده رقم المسار من المسار المدخل لcda</value>
<comment>Fail to retrieve track number from the cda input path.</comment>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>فشل في استخدام قرص الCD بسبب انه مستخدم</value>
<comment>Fail to use the CD drive because it is oppened.</comment>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>نوع الملف المدخل لايتوافق مع نوع الملف المخرج المختار</value>
<comment>The input file type is not compatible with the selected output file type.</comment>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>مسار مخرج غير صحيح تم انشائه بواسطه قالب مسار الملف المخرج</value>
<comment>Invalid output path generated by output file path template.</comment>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value> '{0}'.صيغة الاخراج غير مدعومة</value>
<comment>Unsupported output format '{0}'.</comment>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>عدد القنوات:</value>
<comment>Channel count :</comment>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>تغيير عدد قنوات الملف المدخل</value>
<comment>Change the number of channels of the input file.</comment>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Mono</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>نفس ملف الإدخال</value>
<comment>Same than input file</comment>
</data>
<data name="StereoOption" xml:space="preserve">
<value>استيريو</value>
<comment>Stereo</comment>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**هذا البرنامج مجاني**.</value>
<comment>**This program is free software**.</comment>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>يمكنك إعاده توزيعه او تعديلة تحت رخصة GNU General Public License.</value>
<comment>You can redistribute it and/or modify it under the terms of the GNU General Public License.</comment>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>هذا البرنامح موزع املاً ان يكون مفيد , بدون اي تحذير انظر GNU General Public License (متوافر في مجلد التثبيت LICENSE.md` لمزيد من التفاصيل</value>
<comment>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License (available in the installation folder: `LICENSE.md`) for more details.</comment>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>البرنامج ينتهي</value>
<comment>The application is terminating.</comment>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>البرنامج سوف ينتهي تلقائيا في {0} ثانية</value>
<comment>The application will automatically terminate in {0} seconds.</comment>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>البرنامج سوف ينتهي تلقائيا في {1} ثانية</value>
<comment>The application will automatically terminate in 1 second.</comment>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Misc</value>
<comment>Misc</comment>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>لا يمكن ايجاد الملف المخرج </value>
<comment>Can't find the output file(s).</comment>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>فشل عملية التحويل لكن هناك ملف مخرج ليس موجود</value>
<comment>The conversion job failed but there is an output file that does exists.</comment>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>تجهيز التحويل</value>
<comment>Prepare conversion</comment>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>لتحويل ملفات Microsoft Office يجب ان يتم تثبيت Office</value>
<comment>Microsoft Office must be installed in order to convert Office documents.</comment>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>فشل في فتح مستند بواسطه Microsoft Office (تحقق من تثبيت رخصة صالحة)</value>
<comment>Fail to open document with Microsoft Office (check if your licence/installation is valid).</comment>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>لتحويل ملفات Microsoft Excel يجب ان يتم تثبيت Excel</value>
<comment>Microsoft Excel must be installed in order to convert Excel documents.</comment>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>لتحويل ملفات Microsoft PowerPoint يجب ان يتم تثبيت PowerPoint</value>
<comment>Microsoft PowerPoint must be installed in order to convert PowerPoint documents.</comment>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>لتحويل ملفات Microsoft Word يجب ان يتم تثبيت Word</value>
<comment>Microsoft Word must be installed in order to convert Word documents.</comment>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>فتح موقع البرناج</value>
<comment>Open File Converter website</comment>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>خطأ اثناء عملية تثبيت التحويل</value>
<comment>Error during conversion job initialization.</comment>
</data>
<data name="CreateANewFolder" xml:space="preserve">
<value>مجلد جديد</value>
<comment>New folder</comment>
</data>
<data name="DefaultFolderName" xml:space="preserve">
<value>مجلد جديد</value>
<comment>New folder</comment>
</data>
<data name="PresetFolder" xml:space="preserve">
<value>مجلد</value>
<comment>Folder</comment>
</data>
<data name="PresetFolderName" xml:space="preserve">
<value>اسم المجلد</value>
<comment>Folder Name</comment>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>الوضع المتقدم</value>
<comment>Advanced mode</comment>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>تخصيص وسائط</value>
<comment>Custom Arguments</comment>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>وسائط سطر الاومر FFMPEG تخصيص</value>
<comment>Custom FFMPEG command line arguments</comment>
</data>
<data name="NoPresetSelected" xml:space="preserve">
<value>لم يتم اختيار إعداد مسبق</value>
<comment>No preset selected</comment>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>تصدير</value>
<comment>Export</comment>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>استيراد</value>
<comment>Import</comment>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>نسخ الضبط</value>
<comment>Duplicate preset</comment>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>إلغاء</value>
<comment>Cancel</comment>
</data>
<data name="Error" xml:space="preserve">
<value>خطأ</value>
<comment>Error</comment>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>لا يمكن تحميل ملف الضبط ,هل تريد ان تعود الي الضبط الرئيسي</value>
<comment>Can't load file converter user settings. Do you want to fall back to default settings ?</comment>
</data>
</root>
@@ -0,0 +1,568 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>Über</value>
<comment/>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Erlaubt es die Aktion auszuwählen, die passiert, sobald die Dateien konvertiert sind.</value>
<comment/>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Aktion nach Umwandlungsschluss</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Eine neues Preset hinzufügen (duplicate selected preset)</value>
<comment/>
</data>
<data name="Application" xml:space="preserve">
<value>Applikation</value>
<comment/>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>Audio</value>
<comment/>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>Bei Programmstart automatisch nach Updates suchen</value>
<comment/>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>Automatisch schließen, wenn alle Dateien bereit sind</value>
<comment/>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>Clamp to lowest power of 2 size</value>
<comment></comment>
</data>
<data name="Close" xml:space="preserve">
<value>Schließen</value>
<comment/>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>Umwandlungs-Preset</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>Dateien zu konvertieren</value>
<comment/>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>Umgewandelt von</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>Logs</value>
<comment/>
</data>
<data name="DiagnosticsButtonTitle" xml:space="preserve">
<value>Logs</value>
<comment/>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>Dokumentation öffnen</value>
<comment/>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>Spenden</value>
<comment/>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>Vergessen Sie nicht meine Arbeit zu belohnen, wenn sie Ihnen gefällt :)</value>
<comment/>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>Das Update wird im Hintergrund heruntergeladen und installiert sobald sie File Converter schließen</value>
<comment/>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>Installieren sobald ich File Converter schließe</value>
<comment/>
</data>
<data name="Encoding" xml:space="preserve">
<value>Codierung:</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>Codierungsgeschwindigkeit :</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>File Converter ist eine Shell-Erweiterung.</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Das heißt, dass sie in den Windows Explorer integriert ist.</value>
<comment/>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>Dateinamen-Vorlage</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>Bilder die Sekunde(FPS):</value>
<comment/>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>GitHub Projektseite öffnen</value>
</data>
<data name="Help" xml:space="preserve">
<value>Hilfe</value>
<comment/>
</data>
<data name="InputExample" xml:space="preserve">
<value>Eingabebeispiel</value>
<comment/>
</data>
<data name="InputFormats" xml:space="preserve">
<value>Eingabeformate</value>
<comment/>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>Löschen</value>
<comment/>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Ins Archiv verschieben</value>
<comment/>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>Nichts</value>
<comment/>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>Das Update wurde heruntergeladen. Schließe File Converter um es zu installieren</value>
<comment/>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>Installieren sobald ich File Converter schließe</value>
<comment/>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>Einen Fehler melden</value>
<comment/>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>Ausgewähltes Preset nach unten verschieben</value>
<comment/>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>Ausgewähltes Preset nach oben verschieben</value>
<comment/>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>Codieren mit konstanter Bitrate</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>Codieren mit variabler Bitrate</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
<comment/>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>90° gegen den Uhrzeigersinn rotieren</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Ok</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
<comment/>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>180° rotieren</value>
</data>
<data name="OuputFileNameTemplateSample" xml:space="preserve">
<value>C:\Musik\Künstler\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>Ausgabe</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): Eingabe Dateipfad(f): Eingabe Dateiname(o): Ausgabe Erweiterungstyp(i): Eingabe Erweiterungstyp(d0): Eingabe Oberordner(d1): Eingabe Unter-Oberordner...(n:i): Seitennummer(n:c): total page countSpecial paths:(p:d): Meine Dokumente Pfad(p:m): Meine Musik Pfad(p:v): Meine Videos Pfad(p:p): Meine Vilder Pfad </value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>Ausgabeformat</value>
</data>
<data name="Preset" xml:space="preserve">
<value>Preset</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>Preset Name</value>
</data>
<data name="Quality" xml:space="preserve">
<value>Qualität: </value>
</data>
<data name="RecommendeBitrateRangeInBlue" xml:space="preserve">
<value>Empfohlene Bitratenreichweite in Blau</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Ausgewähltes Preset löschen</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Rotieren:</value>
</data>
<data name="Save" xml:space="preserve">
<value>Speichern</value>
</data>
<data name="Scale" xml:space="preserve">
<value>Größe:</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>Change log anschauen</value>
</data>
<data name="Settings" xml:space="preserve">
<value>File Converter Einstellungen</value>
</data>
<data name="SettingsButtonTitle" xml:space="preserve">
<value>Einstellungen</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
<comment/>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>90° im Uhrzeigersinn rotieren</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>Eine Aktualisierung für File Converter ist verfügbar. Es wird stark empfohlen, dass Sie dies so früh wie möglich installieren!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>Aktualisierung wird heruntergeladen</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>File Converter Aktualisierungen</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Definieren Sie das Verhältnis zwischen Dateigröße und Videoqualität. Ein niedrigerer Wert wird Ihnen eine kleinere Datei geben, ein größerer Wert wird Ihnen bessere Videoqualität geben.</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>Schneller</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>Schnell</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>Medium</value>
<comment/>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>Langsamer</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>Langsam</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>Super schnell</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Definieren Sie das Verhältnis zwischen Dateigröße und Komprimierungsdauer. Eine langasme Komprimierung wird Ihnen eine kleinere Datei(bei selber Qualität) geben als schnellere Komprimierung.</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>Ultra schnell</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>Sehr schnell</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>Sehr langsam</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>Video</value>
<comment/>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM signierter 16-bit little-endian</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM signierter 24-bit little-endian</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM signierter 32-bit little-endian</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM signierter 8-bit little-endian</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>Keiner</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>Keine Rotation</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>Umwandlung</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>Fertig</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>Extraktion</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>Fehler</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>In Warteschlange</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>Eingabebild lesen</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>Dokument lesen</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>Animiertes Bild</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>Audio</value>
<comment/>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>Dokument</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>Bild</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>Video</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>Wartezeit bevor das Programm sich schließt</value>
</data>
<data name="Language" xml:space="preserve">
<value>Sprache</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>Maximale Anzahl an gleichzeitig verlaufenden Umwandlung</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>Neues Preset</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>Change log wird heruntergeladen...</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>Umwandlungsarchiv</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>Abgebrochen</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>Fehler beim Finden der ffmpeg executable. Sie sollten versuchen das Programm neu zu installieren.</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>Audio CD Spur Extraktion fehlgeschlagen</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>CD Laufwerk ist nicht bereit.</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>Fehler beim Ausführen der ffmpeg</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>Fehler beim Erstellen des Ausgabeordners.</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>Fehler beim Generieren eines einzigartigen Ausageordners.</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>Fehler beim Lesen des CD Laufwerks '{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>Fehler beim Lesen des Laufwerksbuchstaben des Eingangspfades.</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>Fehler beim Lesen der Spurnummer vom cda Eingangspfad.</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>Fehler beim Lesen vom CD-Laufwerk, da es geöffnet ist.</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>Der Eingangsdateityp ist nicht mit dem gewählten Ausgangsdateityp kompatibel.</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>Ungültiger Ausgangspfad von der Ausgangspfad-Vorlage erstellt.</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>Nicht-untertütztes Ausgangsformat: '{0}'.</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>Kanal Anzahl: </value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>Hier können Sie die Anazhl an Kanälen der Eingangsdatei ändern.</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Mono</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>Der Eingangsdatei gleich</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>Stereo</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>Um File Converter zu benutzen, öffnen sie den Dateiexplorer und klicken Sie mit der rechten Maustaste auf die Datei, die Sie umwandeln möchten, um das Kontext-Menü zu öffnen, wo Sie File Converter Befehle finden( Sehen Sie sich die Online-Dokumentation für eine Liste der integrierten Dateitypen an)</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**This program is free software**.</value>
<comment>Apparently, this has to stay english in order for it to be legally binding... I'm not sure about that though.</comment>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>You can redistribute it and/or modify it under the terms of the GNU General Public License.</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License (available in the installation folder: `LICENSE.md`) for more details.</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>Das Programm wird sich schließen.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>Das Programm wird sich in {0} Sekunden automatisch schließen.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>Das Programm wird sich in einer Sekunde automatisch schließen.</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Verschiedenes</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>Ausgangsdateien konnten nicht gefunden werden.</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>Die Umwandlung ist fehlgeschlagen, aber es gibt eine Ausgabedatei.</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>Umwandlung vorbereiten</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>Microsoft Office muss installiert sein, damit ein Office Dokument umgewandelt werden kann.</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>Öfnnen des Dokuments mit Microsoft Office fehlgeschlagen(Prüfen Sie, ob ihre Lizenz und Installation von Microsoft Office gültig sind).</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>Microsoft Excel muss installiert sein, damit ein Excel Dokument umgewandelt werden kann.</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>Microsoft PowerPoint muss installiert sein, damit ein PowerPoint Dokument umgewandelt werden kann.</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>Microsoft Word muss installiert sein, damit ein Word Dokument umgewandelt werden kann.</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Die File Converter Internetseite öffnen</value>
</data>
</root>
@@ -0,0 +1,598 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>Σχετικά</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Σας επιτρέπει να επιλέξετε τι θέλετε να κάνετε με τα αρχεία που επιλέξατε, αν η μετατροπή τους πετύχει</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Ενέργεια που θα γίνει όταν η μετατροπή επιτύχει</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Νέα προκαθορισμένη ρύθμιση</value>
</data>
<data name="Application" xml:space="preserve">
<value>Εφαρμογή</value>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>Ήχος</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>Αυτόματος έλεγχος για ενημερώσεις κατά την εκκίνηση του μετατροπέα αρχείων</value>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>Αυτόματη έξοδος όταν ολοκληρωθούν όλες οι μετατροπές</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>Συμπίεση στη χαμηλότερη τιμή σε μέγεθος 2</value>
</data>
<data name="Close" xml:space="preserve">
<value>Κλείσιμο</value>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>Προκαθορισμένες ρυθμίσεις μετατροπής</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>Αρχεία για μετατροπή</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>Έγινε μετατροπή από</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>Αρχεία διάγνωσης</value>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Αρχεία καταγραφής-διάγνωσης</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>Άνοιγμα εγγράφων τεκμηρίωσης</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>Δωρεά</value>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>Μην ξεχάσεις να ανταμείψεις τη δουλειά μου αν σου αρέσει η εφαρμογή :)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>Η ενημέρωση θα ληφθεί στο παρασκήνιο και θα εγκατασταθεί μόλις πραγματοποιήσετε έξοδο από τον Μετατροπέα αρχείων.</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>Εγκατάσταση κατά την έξοδο από τον Μετατροπέα Αρχείων</value>
</data>
<data name="Encoding" xml:space="preserve">
<value>Κωδικοποίηση :</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>Τχύτητα Κωδικοποίησης :</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>Ο μετατροπέας αρχείων είναι επέκταση shell-κελύφους.</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Αυτό σημαίνει ότι είναι ενσωματωμένη στην εξερεύνηση των Windows.</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>Για να χρησιμοποιήσετε το μετατροπέα αρχείων ανοίξτε την εξερεύνηση και κάντε δεξί κλικ σε οποιοδήποτε αρχείο θέλετε να εμφανιστεί το μενού περιβάλλοντος όπου θα βρείτε τις εντολές του μετατροπέα αρχείων (δείτε το αρχείο readme για να δείτε τη λίστα με τις συμβατές μορφές αρχείων).</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>Πρότυπο ονόματος αρχείου</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>Καρέ ανά δευτερόλεπτο :</value>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>Άνοιγμα σελίδας της εφαρμογής στο GitHub</value>
</data>
<data name="Help" xml:space="preserve">
<value>Βοήθεια</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>Παράδειγμα εισαγωγής</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>Μορφές εισόδου</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>Διαγραφή</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Μετακίνηση σε φάκελο αρχειοθέτησης</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>Καμία</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>Έγινε λήψη της ενημέρωσης. Κλείστε τον Μετατροπέα Αρχείων και εγκαταστήστε την ενημέρωση τώρα.</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>Εγκατάσταση κατά την έξοδο από τον Μετατροπέα Αρχείων</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>Αναφορά προβλήματος</value>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>Μετακίνηση της επιλεγμένης προεπιλογής κάτω</value>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>Μετακίνηση της επιλεγμένης προεπιλογής επάνω</value>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>Κωδικοποίηση σταθερού ρυθμού bit</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>Κωδικοποίηση μεταβλητού ρυθμού bit</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>90° αριστερόστροφη περιστροφή</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Ok</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>180° περιστροφή</value>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Music\Artist\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>Έξοδος</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): διαδρομή αρχείου εισόδου
(f): όνομα αρχείου εισόδου
(o): τύπος επέκτασης εξόδου
(i): τύπος επέκτασης εισόδου
(d0): γονικός φάκελος εισόδου
(d1): εισαγωγή δευτερεύοντος γονικού φακέλου
..
(n:i): δείκτης αριθμού σελίδας
(n:c): συνολικός αριθμός σελίδων
Ειδικές διαδρομές:
(p:d): διαδρομή εγγράφων
(p:m): η μουσική μου διαδρομή
(p:v): η διαδρομή των βίντεό μου
(p:p): διαδρομή εικόνων
χρήση maj για έκδοση με κεφαλαία</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>Μορφή εξόδου</value>
</data>
<data name="Preset" xml:space="preserve">
<value>Προεπιλογή</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>Όνομα προεπιλογής</value>
</data>
<data name="Quality" xml:space="preserve">
<value>Ποιότητα :</value>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>Προτεινόμενο εύρος ρυθμού bit σε μπλε</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Διαγραφή</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Περιστροφή :</value>
</data>
<data name="Save" xml:space="preserve">
<value>Αποθήκευση</value>
</data>
<data name="Scale" xml:space="preserve">
<value>Κλίμακα :</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>Έμφάνιση αλλαγών ...</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Ρυθμίσεις μετατροπέα αρχείων</value>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Ρυθμίσεις</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>90° δεξιόστροφη περιστροφή</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>Υπάρχει διαθέσιμη ενημέρωση για το πρόγραμμα μετατροπής αρχείων. Συνιστάται η εγκατάστασή του το συντομότερο δυνατό!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>Λήψη αναβάθμισης σε εξέλιξη...</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>Ενημερώσεις Μετατροπέα Αρχείων</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Ορίστε την αναλογία "μέγεθος αρχείου" έναντι "ποιότητα βίντεο". Με χαμηλότερη τιμή έχετε μικρότερο μέγεθος αρχείου, με μεγαλύτερη τιμή έχετε καλύτερη ποιότητα βίντεο.</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>Πολύ γρήγορη</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>Γρήγορη</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>Μεσαία</value>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>Πολύ αργή</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>Αργή</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>Ταχύτερη</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Ορίστε την αναλογία 'μέγεθος αρχείου' έναντι 'διάρκειας συμπίεσης'. Η αργή συμπίεση θα σας δώσει ένα μικρότερο αρχείο (για την ίδια ποιότητα βίντεο) σε σύγκριση με την ταχύτερη συμπίεση.</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>Εξαιρετικά γρήγορη</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>Πολύ γρήγορη</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>Πολύ αργή</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>Βίντεο</value>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM υπογεγραμμένο με 16-bit little-endian</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM υπογεγραμμένο με 24-bit little-endian</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM υπογεγραμμένο με 32-bit little-endian</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM υπογεγραμμένο με 8-bit little-endian</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>Καμία</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>Χωρίς περιστροφή</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>Μετατροπή</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>Έγινε</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>Εξαγωγή</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>Απέτυχε</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>Σε ουρά</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>Ανάγνωση Εικόνας εισόδου</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>Ανάγνωση εγγράφου</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>Κινούμενη εικόνα</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>Ήχος</value>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>Έγγραφο</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>Εικόνα</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>Βίντεο</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>Διάρκεια αναμονής πριν από την έξοδο της εφαρμογής</value>
</data>
<data name="Language" xml:space="preserve">
<value>Γλώσσα</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>Μέγιστος αριθμός ταυτόχρονων μετατροπών</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>Νέα προκαθορισμένη ρύθμιση</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###Λήψη αρχείου καταγραφής αλλαγών ...</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>Αρχειοθήκες μετατροπής</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>Ακυρώθηκε.</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>Αποτυχία εύρεσης του εκτελέσιμου ffmpeg. Θα πρέπει να προσπαθήσετε να εγκαταστήσετε ξανά την εφαρμογή.</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>Η εξαγωγή κομματιού του CD ήχου απέτυχε</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>Η μονάδα CD/DVD δεν είναι έτοιμη.</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>Αποτυχία εκκίνησης του ffmpeg.</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>Αποτυχία δημιουργίας φακέλων διαδρομής εξόδου.</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>Αποτυχία δημιουργίας μιας μοναδικής διαδρομής του αρχείου εξόδου.</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>Αποτυχία ανάγνωσης μονάδας CD/DVD '{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>Αποτυχία ανάκτησης του γράμματος της μονάδας διαδρομής εισόδου.</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>Αποτυχία ανάκτησης αριθμού κομματιού από τη διαδρομή εισόδου cda.</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>Αποτυχία χρήσης της μονάδας CD/DVD επειδή είναι ανοιχτή.</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>Ο τύπος αρχείου εισόδου δεν είναι συμβατός με τον επιλεγμένο τύπο αρχείου εξόδου.</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>Δημιουργήθηκε μη έγκυρη διαδρομή εξόδου από το πρότυπο διαδρομής αρχείου εξόδου.</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>Μη υποστηριζόμενη μορφή εξόδου '{0}'.</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>Πλήθος καναλιών :</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>Αλλαγή του αριθμού καναλιών του αρχείου εισόδου.</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Μονοφωνικό</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>Ίδιο με το αρχείο εισόδου</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>Stereo</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**Αυτό το πρόγραμμα είναι ελεύθερο λογισμικό**.</value>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>Μπορείτε να το αναδιανείμετε ή/και να το τροποποιήσετε σύμφωνα με τους όρους της Γενικής Δημόσιας Άδειας GNU.</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>Αυτό το πρόγραμμα διανέμεται με την ελπίδα ότι θα είναι χρήσιμο, αλλά ΧΩΡΙΣ ΚΑΜΙΑ ΕΓΓΥΗΣΗ. Δείτε την Γενική Δημόσια Άδεια GNU (διαθέσιμη στον φάκελο εγκατάστασης: `LICENSE.md`) για περισσότερες λεπτομέρειες.</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>Η εφαρμογή τερματίζεται.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>Η εφαρμογή θα τερματιστεί αυτόματα σε {0} δευτερόλεπτα.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>Η εφαρμογή θα τερματιστεί αυτόματα σε 1 δευτερόλεπτο.</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Διάφορα</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>Δεν είναι δυνατή η εύρεση του αρχείου(ων) εξόδου.</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>Η εργασία μετατροπής απέτυχε αλλά υπάρχει ένα αρχείο εξόδου που δημιουργήθηκε.</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>Προετοιμασία μετατροπής</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>Το Microsoft Office πρέπει να εγκατασταθεί για να μετατρέψετε έγγραφα του Office.</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>Αποτυχία ανοίγματος εγγράφου με το Microsoft Office (ελέγξτε αν η άδεια χρήσης/εγκατάσταση είναι έγκυρη).</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>Το Microsoft Excel πρέπει να εγκατασταθεί για να μετατρέψετε έγγραφα του Excel.</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>Το Microsoft PowerPoint πρέπει να είναι εγκατεστημένο, για να μετατρέψετε έγγραφα του PowerPoint.</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>Το Microsoft Word πρέπει να εγκατασταθεί για να μετατρέψετε έγγραφα του Word.</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Τοποθεσία Web του Open File Converter</value>
</data>
<data name="SayThanksButtonTitle" xml:space="preserve">
<value>Πείτε ένα ευχαριστώ!</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Σφάλμα κατά την προετοιμασία της εργασίας μετατροπής.</value>
</data>
<data name="CreateANewFolder" xml:space="preserve">
<value>Δημιουργία νέου φακέλου</value>
</data>
<data name="DefaultFolderName" xml:space="preserve">
<value>Νέος φάκελος</value>
</data>
<data name="PresetFolder" xml:space="preserve">
<value>Φάκελος</value>
</data>
<data name="PresetFolderName" xml:space="preserve">
<value>Όνομα φακέλου</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>Προηγμένη κατάσταση λειτουργίας</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>Προσαρμοσμένοι ορισμοί</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>Προσαρμοσμένοι ορισμοί γραμμής εντολών FFMPEG</value>
</data>
<data name="NoPresetSelected" xml:space="preserve">
<value>Δεν έχει επιλεγεί προκαθορισμένη ρύθμιση</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>Εξαγωγή</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>Εισαγωγή</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>Προκαθορισμένο Διπλότυπο</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>Ακύρωση</value>
</data>
<data name="Error" xml:space="preserve">
<value>Σφάλμα</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>Δεν είναι δυνατή η φόρτωση των ρυθμίσεων χρήστη του μετατροπέα αρχείων. Θέλετε να επιστρέψετε στις προεπιλεγμένες ρυθμίσεις?</value>
</data>
<data name="CopyFilesInClipboardAfterConversion" xml:space="preserve">
<value>Αντιγραφή αρχείων στο πρόχειρο μετά τη μετατροπή</value>
</data>
</root>
@@ -121,13 +121,13 @@
<value>About</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Allow you to chose what you want to do with your input files if the conversion succeed</value>
<value>Allow you to choose what you want to do with your input files if the conversion succeed</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Action when conversion succeed</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Add new preset (duplicate selected preset)</value>
<value>New preset</value>
</data>
<data name="Application" xml:space="preserve">
<value>Application</value>
@@ -159,7 +159,7 @@
<data name="Diagnostics" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DiagnosticsButtonTitle" xml:space="preserve">
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
@@ -252,7 +252,7 @@
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>180° rotation</value>
</data>
<data name="OuputFileNameTemplateSample" xml:space="preserve">
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Music\Artist\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
@@ -289,11 +289,11 @@ use maj for uppercase version</value>
<data name="Quality" xml:space="preserve">
<value>Quality :</value>
</data>
<data name="RecommendeBitrateRangeInBlue" xml:space="preserve">
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>Recommended bitrate range in blue</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Remove selected preset</value>
<value>Delete</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Rotate :</value>
@@ -310,7 +310,7 @@ use maj for uppercase version</value>
<data name="Settings" xml:space="preserve">
<value>File Converter Settings</value>
</data>
<data name="SettingsButtonTitle" xml:space="preserve">
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Settings</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
@@ -544,4 +544,34 @@ use maj for uppercase version</value>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Open File Converter website</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Error during conversion job initialization.</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>Export</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>Import</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>Duplicate preset</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>Advanced mode</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>Custom Arguments</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>Custom FFMPEG command line arguments</value>
</data>
<data name="Error" xml:space="preserve">
<value>Error</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>Can't load file converter user settings. Do you want to fall back to default settings ?</value>
</data>
</root>
@@ -0,0 +1,550 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>Acerca de...</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Le permite elegir qué hacer con los archivos origen si la conversión tiene éxito</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Acción tras conversión:</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Añadir preajuste (duplicando el actual)</value>
</data>
<data name="Application" xml:space="preserve">
<value>Aplicación</value>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>Audio</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>Buscar actualizaciones de forma automática cuando File Converter se ejecuta</value>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>Salir automáticamente al concluir las conversiones</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>Redondear al tamaño de la potencia de dos más bajo</value>
</data>
<data name="Close" xml:space="preserve">
<value>Cerrar</value>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>Preajustes de conversión</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>Archivos a convertir</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>Convertir de</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>Registros</value>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Registros</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>Abrir documentación</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>Donar</value>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>No olvide recompensar mi trabajo si le ha gustado :)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>La actualización se descargará en segundo plano y será instalada una vez salga de File Converter.</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>Instalar tras salir de File Converter</value>
</data>
<data name="Encoding" xml:space="preserve">
<value>Codificación:</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>Vel. de codificación:</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>File Converter es una extensión de la "shell" de Windows.</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Ello significa que está integrado en el Explorador de Windows.</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>Para usar File Converter, abra el Explorador de Windows y haga clic derecho en cualquier archivo. En el menú contextual, use directamente los comandos de File Converter (cfr. al archivo "readme" para una completa lista de formatos de archivo compatibles).</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>Plantilla de nombre de archivo</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>Fotogramas por segundo:</value>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>Abrir la página del proyecto en GitHub</value>
</data>
<data name="Help" xml:space="preserve">
<value>¿Ayuda?</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>Ejemplo de origen</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>Formatos de origen:</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>Eliminar</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Mover a carpeta de archivos</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>No hacer nada</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>Actualización descargada. Se instalará cuando salga de File Converter.</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>Instalar al salir de File Converter</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>Informar de un problema</value>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>Mover abajo el preajuste seleccionado</value>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>Mover arriba el preajuste seleccionado</value>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>Codificación con tasa de bits constante</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>Codificación con tasa de bits variable</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>Rotación de 90° en el sentido del reloj</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Aceptar</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>Rotación de 180° en el sentido del reloj</value>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Música\Artista\Album\Canción.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>Resultado</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): ruta de archivo origen
(f): nombre de archivo origen
(o): extensión de destino
(i): extensión de origen
(d0): carpeta contenedora de origen
(d1): subcarpeta contenedora de origen
...
(n:i): índice de número de página
(n:c): número de páginas totales
Rutas especiales:
(p:d): ruta de Documentos
(p:m): ruta de Música
(p:v): ruta de Vídeos
(p:p): ruta de Imágenes
Use May para versión en mayúsculas</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>Formato destino</value>
</data>
<data name="Preset" xml:space="preserve">
<value>Preajuste</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>Nombre de preajuste</value>
</data>
<data name="Quality" xml:space="preserve">
<value>Calidad:</value>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>Rango de tasa de bits recomendado en azul</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Remover preajuste seleccionado</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Rotar:</value>
</data>
<data name="Save" xml:space="preserve">
<value>Guardar</value>
</data>
<data name="Scale" xml:space="preserve">
<value>Escala:</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>Ver registro de cambios...</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Configuración</value>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Configuración</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>Rotación de 270° en el sentido del reloj</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>Hay disponible una actualización para File Converter. ¡Se recomienda vivamente instalarla cuanto antes!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>Descarga de actualización en curso...</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>Actualizaciones de File Converter</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Define la relación entre tamaño de archivo y calidad de vídeo. Cuanto menor sea el valor, más pequeño y de peor calidad será el archivo resultante y viceversa.</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>Muy rápida</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>Rápida</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>Media</value>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>Muy lenta</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>Lenta</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>Superrápida</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Define la relación entre tamaño de archivo y tiempo invertido en la compresión. Una compresión prolongada arroja un tamaño menor de archivo conservando la calidad.</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>Ultrarrápida</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>Muy rápida</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>Muy lenta</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>Vídeo</value>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM firmado 16 bits little-endian</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM firmado 24 bits little-endian</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM firmado 32 bits little-endian</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM firmado 8 bits little-endian</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>Cero</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>Sin rotación</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>Conversión</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>Hecho</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>Extracción</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>Error</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>En cola</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>Leer imagen origen</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>Leer documento</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>Imagen animada</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>Audio</value>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>Documento</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>Imagen</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>Vídeo</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>Tiempo de espera antes de cerrar la aplicación</value>
</data>
<data name="Language" xml:space="preserve">
<value>Idioma</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>Número máximo de conversiones simultáneas</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>Nuevo preajuste</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###Descargando registro de cambios...</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>Archivos de conversión</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>Cancelado.</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>No se encuentra el ejecutable de ffmpeg. Debería reinstalar la aplicación.</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>Extracción de pista de audio CD fallida.</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>La unidad de CD no está lista.</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>Error al ejecutar ffmpeg.</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>Error al crear las carpetas destino.</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>Error al generar la ruta de un archivo destino único.</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>Error al leer la unidad de CD '{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>Error al indagar la letra de unidad de la ruta origen.</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>Error al indagar el número de pista.</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>Error al gestionar la unidad de CD: Bandeja abierta.</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>El tipo de archivo origen no es compatible con el tipo de archivo destino seleccionado.</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>Ruta destino inválida causada por una plantilla de ruta de archivo destino incorrecta.</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>Formato destino '{0}' no soportado.</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>Número de canales:</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>Cambiar el número de canales del archivo origen.</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Mono</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>Mismo que el archivo origen</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>Estéreo</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**Este programa es software libre**.</value>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>Puede distribuirlo y modificarlo bajo los términos de la Licencia Pública General de GNU.</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>Este programa se distribuye con la esperanza de que le resulte útil, pero SIN NINGUNA GARANTÍA. Para más detalles, sírvase leer la Licencia Pública General de GNU (disponible en el directorio de instalación como "LICENSE.md").</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>La aplicación está a punto de cerrarse.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>La aplicación se cerrará automáticamente en {0} segundos.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>La aplicación se cerrará automáticamente en 1 segundo.</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Miscelánea</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>No pueden encontrarse el archivo o archivos destino.</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>El trabajo de conversión falló porque el archivo destino ya existe.</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>Preparar conversión</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>Debe tener instalado Microsoft Office para poder convertir documentos de Office.</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>Error al abrir el documento con Microsoft Office (compruebe que su licencia y su instalación son correctas).</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>Debe tener instalado Microsoft Excel para poder convertir documentos de Excel.</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>Debe tener instalado Microsoft PowerPoint para poder convertir documentos de PowerPoint.</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>Debe tener instalado Microsoft Word para poder convertir documentos de Word.</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Abrir la web de File Converter</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Error al iniciar el trabajo de conversión.</value>
</data>
</root>
@@ -122,13 +122,13 @@
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Cette option vous permet de choisir ce que vous souhaitez faire du fichier d'origine après une conversion réussie</value>
<comment>Allow you to chose what you want to do with your input files if the conversion succeed</comment>
<comment>Allow you to choose what you want to do with your input files if the conversion succeed</comment>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Action après conversion réussie</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Ajoute un nouveau preset (duplique le preset selectionné)</value>
<value>Ajoute un nouveau profil (duplique le profil selectionné)</value>
</data>
<data name="Application" xml:space="preserve">
<value>Application</value>
@@ -137,14 +137,14 @@
<value>Audio</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>Vérifier automatiquement les mises à jour au démarage de File Converter</value>
<value>Vérifier automatiquement les mises à jour au démarrage de File Converter</value>
<comment>Automatically check for updates when File Converter starts</comment>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>Terminer File Converter lorsque toutes les conversions ont réussies</value>
<value>Fermer File Converter après que toutes les conversions ont réussis</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>Ajuster à la taille en puissance de 2 la plus proche</value>
<value>Ajuster la taille à la puissance de 2 la plus proche</value>
</data>
<data name="Close" xml:space="preserve">
<value>Fermer</value>
@@ -161,7 +161,7 @@
<data name="Diagnostics" xml:space="preserve">
<value>Historique d'activité</value>
</data>
<data name="DiagnosticsButtonTitle" xml:space="preserve">
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Historique d'activité</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
@@ -174,7 +174,7 @@
<value>N'oubliez pas de récompenser mon travail si vous l'apréciez :)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>La mise à jour sera téléchargé en tache de fond et sera installé à la fermeture de File Converter.</value>
<value>La mise à jour sera téléchargée en tâche de fond et sera installée à la fermeture de File Converter.</value>
<comment>The update will be downloaded in background, and installed once you exit File Converter.</comment>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
@@ -195,7 +195,7 @@
<comment>That means it is integrated into the Windows explorer.</comment>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>Pour utiliser File Converter, ouvrez l'explorateur et faites un clic droit sur le ou les fichier(s) que vous souhaitez convertir pour faire apparaitre le menu contextuel ou vous trouverez File Converter (visitez la documentation en ligne pour connaître la liste des extensions de fichiers compatibles).</value>
<value>Pour utiliser File Converter, ouvrez l'explorateur et faites un clic droit sur le ou les fichier(s) que vous souhaitez convertir pour faire apparaître le menu contextuel où vous trouverez File Converter (visitez la documentation en ligne pour connaître la liste des extensions de fichier compatibles).</value>
<comment>To use File Converter please open the explorer and right-click on any file you like to bring up the context menu where you will find File Converter commands (see the online documentation to see the list of compatible file formats).</comment>
</data>
<data name="FileNameTemplate" xml:space="preserve">
@@ -211,13 +211,13 @@
<value>aide ?</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>Example de chemin d'origine</value>
<value>Exemple de chemin d'origine</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>Formats compatibles</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>Supprimer</value>
<value>Supprimer l'original</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Déplacer dans un dossier d'archive</value>
@@ -226,7 +226,7 @@
<value>Aucune</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>La mise à jour a été téléchargé. Quitte File Conveter et installe la mise à jour maintenant.</value>
<value>La mise à jour a été téléchargée. Quitte File Converter et installe la mise à jour maintenant.</value>
<comment>The update has been downloaded. Exit File Converter and install the update now.</comment>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
@@ -263,7 +263,7 @@
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>rotation de 180°</value>
</data>
<data name="OuputFileNameTemplateSample" xml:space="preserve">
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Musique\Artiste\Album\Chanson.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
@@ -280,13 +280,13 @@
(n:i): index du numéro de page
(n:c): nombre total de pages
Chemin spéciaux:
Chemins spéciaux:
(p:d): chemin vers mes documents
(p:m): chemin vers ma musique
(p:v): chemin vers mes vidéos
(p:p): chemin vers mes images
utilisez maj pour une version en majuscules</value>
utilisez MAJ pour une version en majuscules</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>Format de destination</value>
@@ -300,11 +300,11 @@ utilisez maj pour une version en majuscules</value>
<data name="Quality" xml:space="preserve">
<value>Qualité :</value>
</data>
<data name="RecommendeBitrateRangeInBlue" xml:space="preserve">
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>Taux recommandés en bleu</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Supprime le preset selectionné</value>
<value>Supprime le profil selectionné</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Rotation :</value>
@@ -313,7 +313,7 @@ utilisez maj pour une version en majuscules</value>
<value>Enregistrer</value>
</data>
<data name="Scale" xml:space="preserve">
<value>Echelle :</value>
<value>Échelle :</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>Voir les changements ...</value>
@@ -321,7 +321,7 @@ utilisez maj pour une version en majuscules</value>
<data name="Settings" xml:space="preserve">
<value>Configuration de File Converter</value>
</data>
<data name="SettingsButtonTitle" xml:space="preserve">
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Configuration</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
@@ -341,7 +341,7 @@ utilisez maj pour une version en majuscules</value>
<value>Mise à jour de File Converter</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Défini le rapport 'poid du fichier' contre 'qualité vidéo'. Une valeur basse donnera un fichier plus léger, une valeur haute une meilleur qualité vidéo.</value>
<value>Définit le rapport 'poids du fichier' contre 'qualité vidéo'. Une valeur basse donnera un fichier plus léger, une valeur haute une meilleure qualité vidéo.</value>
<comment>Define the ratio 'file size' versus 'video quality'. A lower value will give you a smaller file, a greater value give you a better video quality.</comment>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
@@ -363,7 +363,7 @@ utilisez maj pour une version en majuscules</value>
<value>Super Rapide</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Défini le ratio 'poid du fichier' contre 'temps de compression'. Une compression lente donnera un fichier plus léger (pour la même qualité vidéo) qu'une compression rapide.</value>
<value>Définit le ratio 'poids du fichier' contre 'temps de compression'. Une compression lente donnera un fichier plus léger (pour la même qualité vidéo) par rapport à une compression rapide.</value>
<comment>Define the ratio 'file size' versus 'compression duration'. A slow compression will give you a smaller file (for the same video quality) than a faster compression.</comment>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
@@ -433,7 +433,7 @@ utilisez maj pour une version en majuscules</value>
<value>Vidéo</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>Temps d'attente avant l'arret de l'application</value>
<value>Temps d'attente avant l'arrêt de l'application</value>
</data>
<data name="Language" xml:space="preserve">
<value>Langue</value>
@@ -457,7 +457,7 @@ utilisez maj pour une version en majuscules</value>
<value>L'exécutable ffmpeg n'a pas été trouvé. Vous pouvez essayer de réinstaller l'application pour corriger le problème.</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>Echec de l'extraction de la piste audio.</value>
<value>Échec de l'extraction de la piste audio.</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>Le lecteur CD n'est pas prêt.</value>
@@ -536,7 +536,7 @@ utilisez maj pour une version en majuscules</value>
<value>Autre</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>Les fichiers n'ont pas pu être converti.</value>
<value>Les fichiers n'ont pas pu être convertis.</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>Des fichiers sont présents malgré l'echec de la conversion.</value>
@@ -562,4 +562,25 @@ utilisez maj pour une version en majuscules</value>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Ouvrir le site web de File Converter</value>
</data>
</root>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>L'initialisation du processus de conversion a échoué.</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>Annuler</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>Mode avancé</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>Arguments personalisés</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>Arguments de ligne de commande FFMPEG personalisés</value>
</data>
<data name="Error" xml:space="preserve">
<value>Erreur</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>Impossible de charger la configuration de File Converter. Voulez vous appliquer la configuration par défaut ?</value>
</data>
</root>
Whitespace-only changes.
@@ -0,0 +1,577 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>के बारे में</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>रूपांतरण सफल होने पर आपको अपनी इनपुट फ़ाइलों के साथ क्या करना है, यह चुनने की अनुमति दें</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>रूपांतरण सफल होने पर कार्रवाई</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>नया प्रीसेट</value>
</data>
<data name="Application" xml:space="preserve">
<value>एप्लीकेशन</value>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>ऑडियो</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>फ़ाइल कनवर्टर शुरू होने पर स्वचालित रूप से अपडेट की जांच करें</value>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>सभी रूपांतरण समाप्त होने पर स्वचालित रूप से बाहर निकलें</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>2 आकार की सबसे कम शक्ति के लिए दबाना</value>
</data>
<data name="Close" xml:space="preserve">
<value>बंद करें</value>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>रूपांतरण प्रीसेट</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>कनवर्ट करने के लिए फ़ाइलें</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>से परिवर्तित</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>खुला दस्तावेज़</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>दान</value>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>अगर आपको मेरा काम पसंद आया तो इनाम देना न भूलें :)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>अपडेट को बैकग्राउंड में डाउनलोड किया जाएगा, और फाइल कन्वर्टर से बाहर निकलने के बाद इंस्टॉल किया जाएगा।</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>जब मैं फ़ाइल कनवर्टर से बाहर निकलूं तो इंस्टॉल करें</value>
</data>
<data name="Encoding" xml:space="preserve">
<value>Encoding :</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>Encoding speed :</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>फाइल कन्वर्टर एक शेल एक्सटेंशन है।</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>इसका मतलब है कि यह विंडोज एक्सप्लोरर में एकीकृत है।</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>फ़ाइल का नाम टेम्पलेट</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>चित्र हर क्षण में :</value>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>GitHub प्रोजेक्ट पेज खोलें</value>
</data>
<data name="Help" xml:space="preserve">
<value>मदद ?</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>इनपुट उदाहरण</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>इनपुट प्रारूप</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>मिटाए</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>एक संग्रह फ़ोल्डर में ले जाएँ</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>कुछ भी नहीं</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>अपडेट डाउनलोड कर लिया गया है। फ़ाइल कनवर्टर से बाहर निकलें और अभी अपडेट इंस्टॉल करें।</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>जब मैं फ़ाइल कनवर्टर से बाहर निकलूं तो इंस्टॉल करें</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>मामले की रिपोर्ट करें</value>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>चयनित प्रीसेट को नीचे ले जाएँ</value>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>चयनित प्रीसेट ऊपर ले जाएँ</value>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>लगातार बिटरेट एन्कोडिंग</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>परिवर्तनीय बिटरेट एन्कोडिंग</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>90° वामावर्त रोटेशन</value>
</data>
<data name="Ok" xml:space="preserve">
<value>ठीक</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>180° रोटेशन</value>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Music\Artist\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>उत्पादन</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): इनपुट फ़ाइल पथ
(f): इनपुट फ़ाइल नाम
(o): आउटपुट एक्सटेंशन प्रकार
(i): इनपुट एक्सटेंशन प्रकार
(d0): इनपुट पैरेंट फोल्डर
(d1): इनपुट उप मूल फ़ोल्डर
...
(n:i): पेज नंबर इंडेक्स
(n:c): कुल पृष्ठ संख्या
विशेष पथ:
(p:d): मेरे दस्तावेज़ पथ
(p:m): मेरा संगीत पथ
(p:v): मेरे वीडियो पथ
(p:p): मेरे चित्र पथ
अपरकेस संस्करण के लिए माज का प्रयोग करें</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>आउटपुट स्वरूप</value>
</data>
<data name="Preset" xml:space="preserve">
<value>प्रीसेट</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>प्रीसेट नाम</value>
</data>
<data name="Quality" xml:space="preserve">
<value>गुणवत्ता :</value>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>नीले रंग में अनुशंसित बिटरेट श्रेणी</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>मिटाए</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>घुमाएँ :</value>
</data>
<data name="Save" xml:space="preserve">
<value>सहेजें</value>
</data>
<data name="Scale" xml:space="preserve">
<value>पैमाना :</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>परिवर्तन लॉग देखें ...</value>
</data>
<data name="Settings" xml:space="preserve">
<value>फ़ाइल कनवर्टर सेटिंग्स</value>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>समायोजन</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>90° दक्षिणावर्त घुमाव</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>फ़ाइल कनवर्टर के लिए एक अद्यतन उपलब्ध है। यह दृढ़ता से अनुशंसा की जाती है कि आप इसे जल्द से जल्द स्थापित करें!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>अपग्रेड डाउनलोड जारी है...</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>फ़ाइल कनवर्टर अपडेट</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>'फ़ाइल आकार' बनाम 'वीडियो गुणवत्ता' के अनुपात को परिभाषित करें। कम मान आपको एक छोटी फ़ाइल देगा, अधिक मूल्य आपको बेहतर वीडियो गुणवत्ता देगा।</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>और तेज</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>तेज़</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>मध्यम</value>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>और धीमा</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>धीमा</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>अत्यधिक तीव्र</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>'फ़ाइल आकार' बनाम 'संपीड़न अवधि' के अनुपात को परिभाषित करें। एक धीमी गति से संपीड़न आपको तेज़ संपीड़न की तुलना में एक छोटी फ़ाइल (समान वीडियो गुणवत्ता के लिए) देगा।</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>अत्यंत तेजट</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>बहुत तेज</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>बहुत धीमा</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>वीडियो</value>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM signed 16-bit little-endian</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM signed 24-bit little-endian</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM signed 32-bit little-endian</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM signed 8-bit little-endian</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>None</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>कोई रोटेशन नहीं</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>परिवर्तन</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>पूर्ण</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>निष्कर्षण</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>असफल</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>क़तार में</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>इनपुट छवि पढ़ें</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>दस्तावेज़ पढ़ें</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>एनिमेटेड छवि</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>ऑडियो</value>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>दस्तावेज़</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>छवि</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>वीडियो</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>आवेदन से बाहर निकलने से पहले प्रतीक्षा अवधि</value>
</data>
<data name="Language" xml:space="preserve">
<value>भाषा</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>एक साथ रूपांतरणों की अधिकतम संख्या</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>नया प्रीसेट</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###परिवर्तन लॉग डाउनलोड कर रहा है ...</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>रूपांतरण अभिलेखागार</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>रद्द</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>Ffmpeg निष्पादन योग्य खोजने में विफल। आपको एप्लिकेशन को फिर से स्थापित करने का प्रयास करना चाहिए।</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>ऑडियो सीडी ट्रैक निष्कर्षण विफल</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>सीडी ड्राइव तैयार नहीं है।</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>Ffmpeg लॉन्च करने में विफल।</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>आउटपुट पथ फ़ोल्डर बनाने में विफल।</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>एक अद्वितीय आउटपुट फ़ाइल पथ उत्पन्न करने में विफल।</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>सीडी ड्राइव पढ़ने में विफल '{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>इनपुट पथ ड्राइव अक्षर पुनर्प्राप्त करने में विफल।</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>सीडीए इनपुट पथ से ट्रैक नंबर प्राप्त करने में विफल।</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>सीडी ड्राइव का उपयोग करने में विफल क्योंकि इसे खोला गया है।</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>इनपुट फ़ाइल प्रकार चयनित आउटपुट फ़ाइल प्रकार के साथ संगत नहीं है।</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>आउटपुट फ़ाइल पथ टेम्पलेट द्वारा उत्पन्न अमान्य आउटपुट पथ।</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>असमर्थित आउटपुट स्वरूप '{0}'.</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>चैनल गिनती :</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>इनपुट फ़ाइल के चैनलों की संख्या बदलें।</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>मोनो</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>इनपुट फ़ाइल के समान</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>स्टीरियो</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>फ़ाइल कन्वर्टर का उपयोग करने के लिए कृपया एक्सप्लोरर खोलें और संदर्भ मेनू लाने के लिए किसी भी फ़ाइल पर राइट-क्लिक करें जहां आपको फ़ाइल कन्वर्टर कमांड मिलेंगे (संगत फ़ाइल स्वरूपों की सूची देखने के लिए ऑनलाइन दस्तावेज़ देखें)।</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**यह प्रोग्राम फ्री सॉफ्टवेयर है**.</value>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>आप इसे GNU जनरल पब्लिक लाइसेंस की शर्तों के तहत पुनर्वितरित और/या संशोधित कर सकते हैं.</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>यह कार्यक्रम इस उम्मीद में वितरित किया जाता है कि यह उपयोगी होगा, लेकिन बिना किसी वारंटी के। अधिक विवरण के लिए जीएनयू जनरल पब्लिक लाइसेंस (स्थापना फ़ोल्डर में उपलब्ध: `LICENSE.md`) देखें।</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>आवेदन समाप्त हो रहा है।</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>एप्लिकेशन स्वचालित रूप से {0} सेकंड में समाप्त हो जाएगा।</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>आवेदन स्वचालित रूप से 1 सेकंड में समाप्त हो जाएगा।</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>विविध</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>आउटपुट फ़ाइल नहीं मिल रही है।</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>रूपांतरण कार्य विफल रहा लेकिन एक आउटपुट फ़ाइल मौजूद है जो मौजूद है।</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>रूपांतरण तैयार करें</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>Office दस्तावेज़ों को कनवर्ट करने के लिए Microsoft Office स्थापित होना चाहिए।</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>Microsoft Office के साथ दस्तावेज़ खोलने में विफल (जाँचें कि क्या आपका लाइसेंस/स्थापना मान्य है)।</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>Excel दस्तावेज़ों को कनवर्ट करने के लिए Microsoft Excel स्थापित होना चाहिए।</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>PowerPoint दस्तावेज़ों को कनवर्ट करने के लिए Microsoft PowerPoint स्थापित होना चाहिए।</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>Word दस्तावेज़ों को कनवर्ट करने के लिए Microsoft Word स्थापित होना चाहिए।</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>फ़ाइल कनवर्टर वेबसाइट खोलें</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>रूपांतरण कार्य प्रारंभ करने के दौरान त्रुटि।</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>निर्यात करना</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>आयात</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>डुप्लिकेट प्रीसेट</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>रद्द करना</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>उन्नत मोड</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>कस्टम तर्क</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>कस्टम FFMPEG कमांड लाइन तर्क</value>
</data>
<data name="Error" xml:space="preserve">
<value>गलती</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>फ़ाइल कनवर्टर उपयोगकर्ता सेटिंग्स लोड नहीं कर सकता। क्या आप डिफ़ॉल्ट सेटिंग्स पर वापस आना चाहते हैं?</value>
</data>
</root>
@@ -0,0 +1,704 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>Informazioni su</value>
<comment>About</comment>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Permette di scegliere cosa vuoi fare con i tuoi file di input se la conversione ha successo</value>
<comment>Allow you to choose what you want to do with your input files if the conversion succeed</comment>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Azione dopo la conversione</value>
<comment>Action when conversion succeed</comment>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Aggiungi nuovo modello (duplica modello selezionato)</value>
<comment>Add new preset (duplicate selected preset)</comment>
</data>
<data name="Application" xml:space="preserve">
<value>Applicazione</value>
<comment>Application</comment>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>Audio</value>
<comment>Audio</comment>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>Controlla automaticamente gli aggiornamenti all'avvio di File Converter</value>
<comment>Automatically check for updates when File Converter starts</comment>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>Esci automaticamente quando tutte le conversioni sono terminate</value>
<comment>Automatically exit when all conversions finished</comment>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>Aggancia alla potenza 2 volte più bassa</value>
<comment>Clamp to lowest power of 2 size</comment>
</data>
<data name="Close" xml:space="preserve">
<value>Esci</value>
<comment>Close</comment>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>Modelli di conversione</value>
<comment>Conversion Presets</comment>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>File da convertire</value>
<comment>Files to convert</comment>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>Convertito da</value>
<comment>Converted from</comment>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>Log</value>
<comment>Logs</comment>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Log</value>
<comment>Logs</comment>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>Apri documentazione</value>
<comment>Open documentation</comment>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>Dona</value>
<comment>Donate</comment>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>Non dimenticare di premiare il nostro lavoro se ti piace :)</value>
<comment>Don't forget to reward my work if you like it :)</comment>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>L'aggiornamento verrà scaricato in background e installato una volta uscito da File Converter.</value>
<comment>The update will be downloaded in background, and installed once you exit File Converter.</comment>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>Installa quando esco da File Converter</value>
<comment>Install when I exit File Converter</comment>
</data>
<data name="Encoding" xml:space="preserve">
<value>Codifica :</value>
<comment>Encoding :</comment>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>Velocità di codifica :</value>
<comment>Encoding speed :</comment>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>File Converter è un'estensione della shell.</value>
<comment>File Converter is a shell extension.</comment>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Ciò significa che è integrato in Windows Explorer.</value>
<comment>That means it is integrated into the Windows explorer.</comment>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>Per utilizzare File Converter, apri l'explorer e fai clic con il pulsante destro del mouse su qualsiasi file per visualizzare il menu di scelta rapida in cui troverai i comandi di File Converter (consulta il file readme per visualizzare l'elenco dei formati di file compatibili).</value>
<comment>To use File Converter please open the explorer and right-click on any file you like to bring up the context menu where you will find File Converter commands (see the readme file to see the list of compatible file formats).</comment>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>Template nome file</value>
<comment>File name template</comment>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>Fotogrammi per secondo :</value>
<comment>Frames per second :</comment>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>Apri la pagina del progetto su GitHub</value>
<comment>Open GitHub project page</comment>
</data>
<data name="Help" xml:space="preserve">
<value>aiuto ?</value>
<comment>help ?</comment>
</data>
<data name="InputExample" xml:space="preserve">
<value>Input di esempio</value>
<comment>Input example</comment>
</data>
<data name="InputFormats" xml:space="preserve">
<value>Formati di input</value>
<comment>Input formats</comment>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>Cancella</value>
<comment>Delete</comment>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Sposta in una cartella di archivio</value>
<comment>Move in an archive folder</comment>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>Niente</value>
<comment>None</comment>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>L'aggiornamento è stato scaricato. Uscire da File Converter e installare l'aggiornamento ora.</value>
<comment>The update has been downloaded. Exit File Converter and install the update now.</comment>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>Installa quando esco da File Converter</value>
<comment>Install when I exit File Converter</comment>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>Segnala un problema</value>
<comment>Report an issue</comment>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>Sposta in basso il modello selezionato</value>
<comment>Move down selected preset</comment>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>Sposta in alto il modello selezionato</value>
<comment>Move up selected preset</comment>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>Codifica bitrate costante</value>
<comment>Constant bitrate encoding</comment>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>Codifica bitrate variabile</value>
<comment>Variable bitrate encoding</comment>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
<comment>90°</comment>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>Rotazione antioraria di 90°</value>
<comment>90° counter clockwise rotation</comment>
</data>
<data name="Ok" xml:space="preserve">
<value>Ok</value>
<comment>Ok</comment>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
<comment>180°</comment>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>Rotazione di 180°</value>
<comment>180° rotation</comment>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Musica\Artista\Album\Canzone.wav</value>
<comment>C:\Music\Artist\Album\Song.wav</comment>
</data>
<data name="OutputExample" xml:space="preserve">
<value>Output</value>
<comment>Output</comment>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): percorso del file di input
(f): nome file di input
(o): tipo di estensione di output
(i): tipo di estensione di input
(d0): cartella superiore di input
(d1): cartella inferiore di input
...
(n:i): indice numero di pagina
(n:c): numero totale di pagine
Percorsi speciali:
(p:d): Percorso documenti
(p:m): Percorso musica
(p:v): Percorso video
(p:p): Percorso immagini
usa maj per il maiuscolo</value>
<comment>(p): input file path
(f): input filename
(o): output extension type
(i): input extension type
(d0): input parent folder
(d1): input sub parent folder
...
(n:i): page number index
(n:c): total page count
Special paths:
(p:d): my documents path
(p:m): my music path
(p:v): my videos path
(p:p): my pictures path
use maj for uppercase version</comment>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>Formato di output</value>
<comment>Output format</comment>
</data>
<data name="Preset" xml:space="preserve">
<value>Modello</value>
<comment>Preset</comment>
</data>
<data name="PresetName" xml:space="preserve">
<value>Nome modello</value>
<comment>Preset Name</comment>
</data>
<data name="Quality" xml:space="preserve">
<value>Qualità :</value>
<comment>Quality :</comment>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>In blu l'intervallo di bitrate consigliato</value>
<comment>Recommended bitrate range in blue</comment>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Rimuovi preset selezionato</value>
<comment>Remove selected preset</comment>
</data>
<data name="Rotate" xml:space="preserve">
<value>Ruota :</value>
<comment>Rotate :</comment>
</data>
<data name="Save" xml:space="preserve">
<value>Salva</value>
<comment>Save</comment>
</data>
<data name="Scale" xml:space="preserve">
<value>Scala :</value>
<comment>Scale :</comment>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>Guarda il registro delle modifiche...</value>
<comment>See change log ...</comment>
</data>
<data name="Settings" xml:space="preserve">
<value>Impostazioni</value>
<comment>Settings</comment>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Impostazioni</value>
<comment>Settings</comment>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
<comment>270°</comment>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>Rotazione senso orario di 90°</value>
<comment>90° clockwise rotation</comment>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>È disponibile un aggiornamento per File Converter. Si consiglia di installarlo il prima possibile!</value>
<comment>An update for File Converter is available. It is strongly recommended that you install it as soon as possible!</comment>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>Download aggiornamento in corso...</value>
<comment>Upgrade download in progress...</comment>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>Aggiornamenti File Converter</value>
<comment>File Converter Updates</comment>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Definisci il rapporto "dimensione del file" rispetto a "qualità video". Un valore inferiore ti darà un file più piccolo, un valore maggiore ti darà una qualità video migliore.</value>
<comment>Define the ratio 'file size' versus 'video quality'. A lower value will give you a smaller file, a greater value give you a better video quality.</comment>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>Più veloce</value>
<comment>Faster</comment>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>Veloce</value>
<comment>Fast</comment>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>Media</value>
<comment>Medium</comment>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>Più lenta</value>
<comment>Slower</comment>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>Lenta</value>
<comment>Slow</comment>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>Super veloce</value>
<comment>Super Fast</comment>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Definisci il rapporto "dimensione del file" rispetto a "durata della compressione". Una compressione lenta ti darà un file più piccolo (con la stessa qualità video) rispetto a una compressione più veloce.</value>
<comment>Define the ratio 'file size' versus 'compression duration'. A slow compression will give you a smaller file (for the same video quality) than a faster compression.</comment>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>Ultra veloce</value>
<comment>Ultra Fast</comment>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>Molto veloce</value>
<comment>Very Fast</comment>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>Molto lenta</value>
<comment>Very Slow</comment>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>Video</value>
<comment>Video</comment>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM signed 16-bit little-endian</value>
<comment>PCM signed 16-bit little-endian</comment>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM signed 24-bit little-endian</value>
<comment>PCM signed 24-bit little-endian</comment>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM signed 32-bit little-endian</value>
<comment>PCM signed 32-bit little-endian</comment>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM signed 8-bit little-endian</value>
<comment>PCM signed 8-bit little-endian</comment>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>Niente</value>
<comment>None</comment>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>Nessuna rotazione</value>
<comment>No rotation</comment>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>Conversione</value>
<comment>Conversion</comment>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>Fatto</value>
<comment>Done</comment>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>Estrazione</value>
<comment>Extraction</comment>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>Fallito</value>
<comment>Failed</comment>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>In coda</value>
<comment>In queue</comment>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>Leggi immagine di input</value>
<comment>Read input image</comment>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>Leggi documento</value>
<comment>Read document</comment>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>Immagine animata</value>
<comment>Animated Image</comment>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>Audio</value>
<comment>Audio</comment>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>Documento</value>
<comment>Document</comment>
</data>
<data name="StringImageName" xml:space="preserve">
<value>Immagine</value>
<comment>Image</comment>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>Video</value>
<comment>Video</comment>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>Tempo di attesa prima dell'uscita dall'applicazione</value>
<comment>Waiting duration before application exit</comment>
</data>
<data name="Language" xml:space="preserve">
<value>Lingua</value>
<comment>Language</comment>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>Numero massimo di conversioni simultanee</value>
<comment>Maximum number of simultaneous conversions</comment>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>Nuovo modello</value>
<comment>New preset</comment>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###Download del registro delle modifiche ...</value>
<comment>###Downloading change log ...</comment>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>Archivi di conversione</value>
<comment>Conversion Archives</comment>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>Cancellato.</value>
<comment>Canceled.</comment>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>Impossibile trovare l'eseguibile ffmpeg. Dovresti provare a reinstallare l'applicazione.</value>
<comment>Fail to find ffmpeg executable. You should try to reinstall the application.</comment>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>Estrazione della traccia audio del CD non riuscita.</value>
<comment>Audio CD track extraction failed.</comment>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>L'unità CD non è pronta.</value>
<comment>CD drive is not ready.</comment>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>Impossibile avviare ffmpeg.</value>
<comment>Fail to launch ffmpeg.</comment>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>Impossibile creare cartelle del percorso di output.</value>
<comment>Fail to create output path folders.</comment>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>Impossibile generare un percorso univoco dei file di output.</value>
<comment>Fail to generate a unique output file path.</comment>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>Impossibile leggere l'unità cd '{0}'.</value>
<comment>Fail to read cd drive '{0}'.</comment>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>Impossibile recuperare la lettera dell'unità del percorso di input.</value>
<comment>Fail to retrieve input path drive letter.</comment>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>Impossibile recuperare il numero di traccia dal percorso di input cda.</value>
<comment>Fail to retrieve track number from the cda input path.</comment>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>Impossibile utilizzare l'unità CD perché è aperta.</value>
<comment>Fail to use the CD drive because it is oppened.</comment>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>Il tipo di file di input non è compatibile con il tipo di file di output selezionato.</value>
<comment>The input file type is not compatible with the selected output file type.</comment>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>Percorso di output non valido generato dal modello.</value>
<comment>Invalid output path generated by output file path template.</comment>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>Formato di output non supportato '{0}'.</value>
<comment>Unsupported output format '{0}'.</comment>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>Numero di canali:</value>
<comment>Channel count :</comment>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>Cambia il numero di canali del file di input.</value>
<comment>Change the number of channels of the input file.</comment>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Mono</value>
<comment>Mono</comment>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>Uguale al file di input</value>
<comment>Same than input file</comment>
</data>
<data name="StereoOption" xml:space="preserve">
<value>Stereo</value>
<comment>Stereo</comment>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>** Questo programma è gratuito **.</value>
<comment>**This program is free software**.</comment>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>È possibile ridistribuirlo e / o modificarlo secondo i termini della GNU General Public License.</value>
<comment>You can redistribute it and/or modify it under the terms of the GNU General Public License.</comment>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>Questo programma è distribuito nella speranza che sia utile, ma SENZA ALCUNA GARANZIA. Vedi la GNU General Public License (disponibile nella cartella di installazione: `LICENSE.md`) per maggiori dettagli.</value>
<comment>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License (available in the installation folder: `LICENSE.md`) for more details.</comment>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>L'applicazione si sta chiudendo.</value>
<comment>The application is terminating.</comment>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>L'applicazione si chiuderà automaticamente tra {0} secondi.</value>
<comment>The application will automatically terminate in {0} seconds.</comment>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>L'applicazione si chiuderà automaticamente tra 1 secondo.</value>
<comment>The application will automatically terminate in 1 second.</comment>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Varie</value>
<comment>Misc</comment>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>Impossibile trovare il/i file di output.</value>
<comment>Can't find the output file(s).</comment>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>Il processo di conversione non è riuscito, ma esiste un file di output.</value>
<comment>The conversion job failed but there is an output file that does exists.</comment>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>Preparo la conversione</value>
<comment>Prepare conversion</comment>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>Per convertire i documenti Microsoft Office deve essere installato.</value>
<comment>Microsoft Office must be installed in order to convert Office documents.</comment>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>Impossibile aprire il documento con Microsoft Office (verificare se la propria licenza / installazione è valida).</value>
<comment>Fail to open document with Microsoft Office (check if your licence/installation is valid).</comment>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>Microsoft Excel deve essere installato per convertire i documenti Excel.</value>
<comment>Microsoft Excel must be installed in order to convert Excel documents.</comment>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>Microsoft PowerPoint deve essere installato per convertire i documenti PowerPoint.</value>
<comment>Microsoft PowerPoint must be installed in order to convert PowerPoint documents.</comment>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>Microsoft Word deve essere installato per convertire i documenti Word.</value>
<comment>Microsoft Word must be installed in order to convert Word documents.</comment>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Apri il sito di File Converter</value>
<comment>Open File Converter website</comment>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Errore durante l'inizializzazione del processo di conversione.</value>
<comment>Error during conversion job initialization.</comment>
</data>
</root>
@@ -121,13 +121,13 @@
<value>Sobre</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Se a conversão for bem sucedida, o que pretende fazer com o ficheiro original?</value>
<value>Se a conversão for bem sucedida, o que pretende fazer com o arquivo original?</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Ação a fazer aquando conversão bem sucedida</value>
<value>Ação a fazer quando a conversão for bem sucedida</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Adicional nova predefinição (duplicar predefinição selecionada)</value>
<value>Adicionar nova predefinição (duplicar predefinição selecionada)</value>
</data>
<data name="Application" xml:space="preserve">
<value>Programa</value>
@@ -151,7 +151,7 @@
<value>Predefinições de conversão</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>Ficheiros para converter</value>
<value>Arquivos para converter</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>Convertidos de</value>
@@ -159,11 +159,11 @@
<data name="Diagnostics" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DiagnosticsButtonTitle" xml:space="preserve">
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>Abrir documentação</value>
<value>Abrir a documentação</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>Doar</value>
@@ -172,7 +172,7 @@
<value>Não se esqueça de recompensar o meu trabalho se gostou :)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>A atualização irá ser decarregada em background e instalada assim que fechar o File Converter.</value>
<value>A atualização será baixada em segundo plano e instalada assim que fechar o File Converter.</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>instalar quando eu sair do File Converter</value>
@@ -187,13 +187,13 @@
<value>O File Converter é uma extensão shell.</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Isso quer dizer que está integrada no explorador de ficheiros.</value>
<value>Isso quer dizer que ele está integrado no Explorador de arquivos do Windows.</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>Para usar o File Converter abra o explorador de ficheiros e clique com o botão direito do rato em qualquer ficheiro que goste para mostrar o menu de contexto, onde encontrará os comandos do File Converter (veja o ficheiro readme para ver a lista de formatos de ficheiro compatíveis).</value>
<value>Para usar o File Converter abra o Explorador de arquivos do Windows e clique com o botão direito do mouse em qualquer arquivo para mostrar o menu de contexto, onde encontrará os comandos do File Converter (veja no arquivo readme do File-Converter a lista de formatos de arquivos compatíveis).</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>Nome do ficheiro de modelo</value>
<value>Nome do arquivo de modelo</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>Quadros por segundo :</value>
@@ -214,7 +214,7 @@
<value>Apagar</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Mover-se para um ficheiro</value>
<value>Mover-se para um arquivo</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>Nenhum</value>
@@ -223,7 +223,7 @@
<value>A atualização foi transferida. Saia do File Converter e instale a atualização agora.</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>Instalar quando eu saia do File Converter</value>
<value>Instalar quando eu sair do File Converter</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>Reportar um problema</value>
@@ -244,7 +244,7 @@
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>Rotacionar 90° sentido inverso aos ponteiros do relógio</value>
<value>Rotacionar 90° sentido inverso ao relógio</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Ok</value>
@@ -255,14 +255,14 @@
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>Rotacionar 180°</value>
</data>
<data name="OuputFileNameTemplateSample" xml:space="preserve">
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Música\Artista\Álbum\música.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>Destino</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(P): caminho do ficheiro original
<value>(P): caminho do arquivo original
(F): nome do arquivo original
(O): tipo de extensão de destino
(I): tipo de extensão de entrada
@@ -292,8 +292,8 @@ Use maj para a versão em maiúsculas</value>
<data name="Quality" xml:space="preserve">
<value>Qualidade :</value>
</data>
<data name="RecommendeBitrateRangeInBlue" xml:space="preserve">
<value>O bitrate recomendado está representado a azul</value>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>O bitrate recomendado está representado em azul</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Remover a predefinição selecionada</value>
@@ -302,7 +302,7 @@ Use maj para a versão em maiúsculas</value>
<value>Rotacionar :</value>
</data>
<data name="Save" xml:space="preserve">
<value>Guardar</value>
<value>Salvar</value>
</data>
<data name="Scale" xml:space="preserve">
<value>Escala :</value>
@@ -311,16 +311,16 @@ Use maj para a versão em maiúsculas</value>
<value>Ver log de alterações ...</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Definições</value>
<value>Configurações</value>
</data>
<data name="SettingsButtonTitle" xml:space="preserve">
<value>Definições</value>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Configurações</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>Rotacionar 90° na direção dos ponteiros do relógio</value>
<value>Rotacionar 90° na direção do relógio</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>Uma atualização para o File Converter está disponível. É altamente recomendado instala-la assim que puder!</value>
@@ -332,7 +332,7 @@ Use maj para a versão em maiúsculas</value>
<value>Atualizações do File Converter</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Define a relação "tamanho x qualidade". Um valor mais baixo produz um ficheiro mais pequeno, um valor mais alto produz um ficheiro com mais qualidade.</value>
<value>Define a relação "tamanho x qualidade". Um valor mais baixo produz um arquivo menor, um valor mais alto produz um arquivo com mais qualidade.</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>Mais rápido</value>
@@ -353,7 +353,7 @@ Use maj para a versão em maiúsculas</value>
<value>Super rápido</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Define a relação "tamanho x duração de compressão". Uma compressão lenta produz um ficheiro mais pequeno (pela mesma qualidade) do que uma compressão mais rapida.</value>
<value>Define a relação "tamanho x duração de compressão". Uma compressão lenta produz um arquivo menor (pela mesma qualidade) do que uma compressão mais rapida.</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>Ultra rápido</value>
@@ -401,7 +401,7 @@ Use maj para a versão em maiúsculas</value>
<value>Em espera</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>Ler a imagem de entradae</value>
<value>Ler a imagem de entrada</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>Ler o documento</value>
@@ -434,7 +434,7 @@ Use maj para a versão em maiúsculas</value>
<value>Nova predefinição</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###A transferir registo de alterações ...</value>
<value>###Transferindo registro de alterações ...</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>Arquivos de conversão</value>
@@ -452,31 +452,31 @@ Use maj para a versão em maiúsculas</value>
<value>A unidade de CD não está pronta</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>Foi impossível abrir o ffmpeg.</value>
<value>Não foi possível abrir o ffmpeg.</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>Foi impossível criar as pastas no caminho de saída.</value>
<value>Não foi possível criar as pastas no caminho de saída.</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>Foi impossível criar um caminho único de saída.</value>
<value>Não foi possível criar um caminho único de saída.</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>Foi impossível ler a unidade de CD '{0}'.</value>
<value>Não foi possível ler a unidade de CD '{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>Foi impossível conseguir a letra da unidade do ficheiro original.</value>
<value>Não foi possível conseguir a letra da unidade do arquivo original.</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>Foi impossível conseguir o número de faixa do caminho de entrada do CDA.</value>
<value>Não foi possível conseguir o número de faixa do caminho de entrada do CDA.</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>Foi impossível usar a unidade de CD porque não está aberta.</value>
<value>Não foi possível usar a unidade de CD porque não está aberta.</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>O ficheiro original é incompatível com o formato de ficheiro selecionado.</value>
<value>O arquivo original é incompatível com o formato de arquivo selecionado.</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>Caminho de saída inválido gerado pelo modelo de caminho do ficheiro de saída.</value>
<value>Caminho de saída inválido gerado pelo modelo de caminho do arquivo de saída.</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>Formato de saída não suportado '{0}'.</value>
@@ -485,13 +485,13 @@ Use maj para a versão em maiúsculas</value>
<value>Contagem de canais :</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>Mudar o número de canais do ficheiro original</value>
<value>Mudar o número de canais do arquivo original</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Mono</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>O mesmo que o ficheiro original</value>
<value>O mesmo que o arquivo original</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>Stereo</value>
@@ -506,42 +506,45 @@ Use maj para a versão em maiúsculas</value>
<value>Este programa é distribuído na esperança de que seja útil, mas SEM QUALQUER GARANTIA. Veja a GNU General Public License (disponível na pasta de instalação do programa: "LICENSE.md") para mais detalhes.</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>O programa está a terminar.</value>
<value>O programa está terminando.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>O programa irá terminar automáticamente em {0} segundos.</value>
<value>O programa terminará automaticamente em {0} segundos.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>O programa irá terminar automáticamente em 1 segundo.</value>
<value>O programa terminará automaticamente em 1 segundo.</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Variadoc</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>É impossivel encontrar o(s) ficheiro(s) de saída.</value>
<value>Não foi possivel encontrar o(s) arquivo(s) de saída.</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>A conversão falhou mas existem ficheiros presentes na localização.</value>
<value>A conversão falhou mas existem arquivos presentes na localização.</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>Preparar conversão</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>O Microsoft Office deve estar instalado para sr possível converter documentos do Office.</value>
<value>O Microsoft Office deve estar instalado para que seja possível converter documentos do Office.</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>É impossível abrir o documento Microsoft Office (verifique se a sua licença/instalação é válida)</value>
<value>Não foi possível abrir o documento Microsoft Office (verifique se a sua licença/instalação é válida)</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>O Microsoft Excel tem de estar instalado para converter documentos Excel.</value>
<value>O Microsoft Excel tem que estar instalado para converter documentos do Excel.</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>O Microsoft PowerPoint tem de estar instalado para converter documentos PowerPoint.</value>
<value>O Microsoft PowerPoint tem que estar instalado para converter documentos do PowerPoint.</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>O Microsoft Word tem de estar instalado para converter documentos Word.</value>
<value>O Microsoft Word tem que estar instalado para converter documentos do Word.</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Abrir o site do File Converter</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Error during conversion job initialization.</value>
</data>
</root>
@@ -0,0 +1,598 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>Sobre</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Se a conversão for bem sucedida, o que pretende fazer com o ficheiro original?</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Ação a fazer aquando conversão bem sucedida</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Adicional nova predefinição (duplicar predefinição selecionada)</value>
</data>
<data name="Application" xml:space="preserve">
<value>Aplicação</value>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>Áudio</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>Verificar por atualizações automaticamente quando o File converter iniciar</value>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>Sair do programa automaticamente quando todas as conversões estiverem concluídas</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>Arredondar para a menor potência de 2 tamanhos</value>
</data>
<data name="Close" xml:space="preserve">
<value>Fechar</value>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>Predefinições de conversão</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>Ficheiros a converter</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>Convertidos de</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>Registos</value>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Registos</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>Abrir documentação</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>Doar</value>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>Não se esqueça de recompensar o meu trabalho se gostou dele :)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>A atualização irá ser transferida em segundo plano e instalada assim que fechar o File Converter.</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>Instalar quando eu sair do File Converter</value>
</data>
<data name="Encoding" xml:space="preserve">
<value>Codificação :</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>Velocidade de codificação :</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>O File Converter é uma extensão shell.</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Isto significa que está integrado no explorador de ficheiros do Windows.</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>Para usar o File Converter abra o explorador de ficheiros e clique com o botão direito do rato em qualquer ficheiro que goste para mostrar o menu de contexto, onde encontrará os comandos do File Converter (veja o ficheiro readme para ver a lista de formatos de ficheiro compatíveis).</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>Nome do ficheiro de modelo</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>Quadros por segundo :</value>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>Abrir a página do projeto no GitHub</value>
</data>
<data name="Help" xml:space="preserve">
<value>Ajuda ?</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>Exemplo de origem</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>Formatos de origem</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>Eliminar</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Mover para uma pasta de arquivo</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>Nenhum</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>A atualização foi transferida. Sair do File Converter e instalar a atualização agora.</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>Instalar quando eu sair do File Converter</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>Reportar um problema</value>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>Mover a predefinição selecionada para baixo</value>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>Mover a predefinição selecionada para cima</value>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>Codificação de taxa de bits constante</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>Codificação de taxa de bits variável</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>Rodar 90° no sentido contrário aos ponteiros do relógio</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Ok</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>Rodar 180°</value>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Música\Artista\Álbum\Música.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>Destino</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): caminho do ficheiro original
(f): nome do ficheiro original
(o): tipo de extensão de saída
(i): tipo de extensão de entrada
(d0): pasta principal de entrada
(d1): pasta principal secundária de entrada
...
(n:i): índice de número de página
(n:c): contagem total de páginas
Caminhos especiais:
(p:d): localização para documentos
(p:m): localização para música
(p:v): localização para vídeos
(p:p): localização para imagens
Use maj para a versão em maiúsculas</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>Formato de saída</value>
</data>
<data name="Preset" xml:space="preserve">
<value>Predefinição</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>Nome da predefinição</value>
</data>
<data name="Quality" xml:space="preserve">
<value>Qualidade :</value>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>A taxa de bits recomendada está representada a azul</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Remover a predefinição selecionada</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Rodar :</value>
</data>
<data name="Save" xml:space="preserve">
<value>Guardar</value>
</data>
<data name="Scale" xml:space="preserve">
<value>Escala :</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>Ver registo de alterações ...</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Definições</value>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Definições</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>Rodar 90° no sentido dos ponteiros do relógio</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>Uma atualização para o File Converter está disponível. É altamente recomendado instalá-la assim que possível!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>Transferência da atualização em curso...</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>Atualizações do File Converter</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>Define o rácio 'tamanho do ficheiro' versus 'qualidade do vídeo'. Um valor mais baixo dá-lhe um ficheiro mais pequeno, um valor mais alto dá-lhe uma melhor qualidade de vídeo.</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>Mais rápida</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>Rápida</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>Média</value>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>Mais lenta</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>Lenta</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>Super rápida</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>Define o rácio 'tamanho do ficheiro' versus 'duração da compressão'. Uma compressão lenta dá-lhe um ficheiro mais pequeno (para a mesma qualidade de vídeo) do que uma compressão mais rápida.</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>Ultra rápida</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>Muito rápida</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>Muito lenta</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>Vídeo</value>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM signed 16-bit little-endian</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM signed 24-bit little-endian</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM signed 32-bit little-endian</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM signed 8-bit little-endian</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>Não</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>Sem rotação</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>Conversão</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>Concluída</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>Extração</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>Ocorreu um erro</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>Em espera</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>Ler a imagem de entrada</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>Ler o documento</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>Imagem animada</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>Áudio</value>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>Documento</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>Imagem</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>Vídeo</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>Duração da espera antes da aplicação fechar</value>
</data>
<data name="Language" xml:space="preserve">
<value>Idioma</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>Número máximo de conversões simultâneas</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>Nova predefinição</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###A transferir registo de alterações ...</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>Arquivos de conversão</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>Cancelado.</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>Ocorreu um erro ao localizar o executável ffmpeg. Deve tentar reinstalar a aplicação.</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>Ocrreu um erro ao extrair faixa de CD áudio.</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>A unidade de CD não está pronta.</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>Ocrreu um erro ao iniciar o ffmpeg.</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>Ocrreu um erro ao criar as pastas na localização de saída.</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>Ocrreu um erro ao gerar uma localização única do ficheiro de saída.</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>Ocrreu um erro ao ler a unidade de CD '{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>Ocrreu um erro ao obter a letra da unidade do ficheiro original.</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>Ocrreu um erro ao obter o número de faixa da localização de entrada do cda.</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>Ocrreu um erro ao utilizar a unidade de CD porque não está aberta.</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>O ficheiro original é incompatível com o formato de ficheiro selecionado.</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>Localização de saída inválida gerada pelo modelo de localização do ficheiro de saída.</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>Formato de saída não suportado '{0}'.</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>Contagem de canais :</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>Mudar o número de canais do ficheiro original</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Mono</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>O mesmo que o ficheiro original</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>Estéreo</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**Este programa é gratuito**.</value>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>Pode redistribuí-lo e/ou modificá-lo sob os termos da GNU General Public License.</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>Este programa é distribuído na esperança de que seja útil, mas SEM QUALQUER GARANTIA. Veja a GNU General Public License (disponível na pasta de instalação do programa: "LICENSE.md") para mais detalhes.</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>A aplicação está a terminar.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>A aplicação irá terminar automaticamente dentro de {0} segundos.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>A aplicação irá terminar automaticamente dentro de 1 segundo.</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Diversos</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>Não foi possivel localizar o(s) ficheiro(s) de saída.</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>Ocorreu um erro na tarefa de conversão mas existe um ficheiro presente na localização de saída.</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>Preparar conversão</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>O Microsoft Office deve estar instalado para ser possível converter documentos do Office.</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>Ocorreu um erro ao abrir o documento Microsoft Office (verifique se a sua licença/instalação é válida)</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>O Microsoft Excel tem de estar instalado para converter documentos Excel.</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>O Microsoft PowerPoint tem de estar instalado para converter documentos PowerPoint.</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>O Microsoft Word tem de estar instalado para converter documentos Word.</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Abrir o website do File Converter</value>
</data>
<data name="SayThanksButtonTitle" xml:space="preserve">
<value>Obrigado!</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Ocorreu um erro durante a inicialização da tarefa de conversão.</value>
</data>
<data name="CreateANewFolder" xml:space="preserve">
<value>Nova pasta</value>
</data>
<data name="DefaultFolderName" xml:space="preserve">
<value>Nova pasta</value>
</data>
<data name="PresetFolder" xml:space="preserve">
<value>Pasta</value>
</data>
<data name="PresetFolderName" xml:space="preserve">
<value>Nome da pasta</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>Modo avançado</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>Argumentos personalizados</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>Argumentos personalizados da linha de comandos do FFMPEG</value>
</data>
<data name="NoPresetSelected" xml:space="preserve">
<value>Nenhuma predefinição selecionada</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>Exportar</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>Importar</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>Predefinição duplicada</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>Cancelar</value>
</data>
<data name="Error" xml:space="preserve">
<value>Erro</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>Não foi possível carregar as definições do utilizador do conversor de ficheiros. Pretende voltar às predefinições ?</value>
</data>
<data name="CopyFilesInClipboardAfterConversion" xml:space="preserve">
<value>Copiar ficheiros para a área de transferência após a conversão</value>
</data>
</root>
@@ -121,13 +121,13 @@
<value>About</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Allow you to chose what you want to do with your input files if the conversion succeed</value>
<value>Allow you to choose what you want to do with your input files if the conversion succeed</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Action when conversion succeed</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Add new preset (duplicate selected preset)</value>
<value>New preset</value>
</data>
<data name="Application" xml:space="preserve">
<value>Application</value>
@@ -159,7 +159,7 @@
<data name="Diagnostics" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DiagnosticsButtonTitle" xml:space="preserve">
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>Logs</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
@@ -255,7 +255,7 @@
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>180° rotation</value>
</data>
<data name="OuputFileNameTemplateSample" xml:space="preserve">
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Music\Artist\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
@@ -292,11 +292,11 @@ use maj for uppercase version</value>
<data name="Quality" xml:space="preserve">
<value>Quality :</value>
</data>
<data name="RecommendeBitrateRangeInBlue" xml:space="preserve">
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>Recommended bitrate range in blue</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Remove selected preset</value>
<value>Delete</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Rotate :</value>
@@ -313,7 +313,7 @@ use maj for uppercase version</value>
<data name="Settings" xml:space="preserve">
<value>Settings</value>
</data>
<data name="SettingsButtonTitle" xml:space="preserve">
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Settings</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
@@ -544,4 +544,52 @@ use maj for uppercase version</value>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>Open File Converter website</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Error during conversion job initialization.</value>
</data>
<data name="CreateANewFolder" xml:space="preserve">
<value>New folder</value>
</data>
<data name="DefaultFolderName" xml:space="preserve">
<value>New folder</value>
</data>
<data name="PresetFolder" xml:space="preserve">
<value>Folder</value>
</data>
<data name="PresetFolderName" xml:space="preserve">
<value>Folder Name</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>Advanced mode</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>Custom Arguments</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>Custom FFMPEG command line arguments</value>
</data>
<data name="NoPresetSelected" xml:space="preserve">
<value>No preset selected</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>Export</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>Import</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>Duplicate preset</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="Error" xml:space="preserve">
<value>Error</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>Can't load file converter user settings. Do you want to fall back to default settings ?</value>
</data>
<data name="CopyFilesInClipboardAfterConversion" xml:space="preserve">
<value>Copy files in clipboard after conversion</value>
</data>
</root>
@@ -0,0 +1,592 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>Hakkında</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>Dönüşüm başarılı olursa, giriş dosyasıyla ne yapmak istediğinize karar verir</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>Dönüşüm işlemi başarılı olduğunda yapılacak işlem</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>Yeni ön ayar</value>
</data>
<data name="Application" xml:space="preserve">
<value>Uygulama</value>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>Ses</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>File Converter başladığında otomatik olarak güncellemeleri denetle</value>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>Tüm dönüşümler bittiğinde otomatik olarak çıkış yap</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>2 boyutun en düşük kuvvetine sıkıştır (?)</value>
</data>
<data name="Close" xml:space="preserve">
<value>Kapat</value>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>Dönüşüm Ön Ayarları</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>Dönüştürülecek dosyalar</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>'den/'dan dönüştürüldü</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>kayıtlar</value>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>kayıtlar</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>Açık Belgeler</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>Bağış yap</value>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>Eğer beğendiysen işimde bana yardımcı olmayı unutma :)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>Güncelleme arkaplanda iniyor olacak, ve File Converter'dan çıktığınızda kurulacak.</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>File Converter'dan çıktığımda kur</value>
</data>
<data name="Encoding" xml:space="preserve">
<value>Şifreleniyor :</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>Şifreleme hızı :</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>File Converter bir kabuk uzantısıdır.</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>Bu, Windows gezgini ile birleşik çalıştığı anlamına geliyor.</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>File converter'ı kullanmak için lütfen dosya gezginini açın ve File Converter komutlarını bulacağınız bağlam menüsüne ulaşmak için istediğiniz herhangi bir dosyaya sağ tıklayın (tüm uyumlu dosya türleri için readme dosyasına bakın).</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>Dosya ismi şablonu</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>Saniyedeki kare sayısı :</value>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>GitHub proje sayfasını aç</value>
</data>
<data name="Help" xml:space="preserve">
<value>yardım ?</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>Giriş örneği</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>Giriş türleri</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>Sil</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>Bir arşiv klasörüne taşı</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>Hiçbiri</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>Güncelleme indirildi. File Converter'dan çıkın ve şimdi kurun.</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>Ben File Converter'dan çıktığımda kur</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>Bir problem raporla</value>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>Seçilen ön ayarı aşağı kaydır</value>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>Seçilen ön ayarı yukarı kaydır</value>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>Sabit bithızı şifreleme</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>Değişken bithızı şifreleme</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>90° saat yönünün tersi dönme</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Tamam</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>180° dönme</value>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Müzil\Sanatçı\Albüm\şarkı.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>Çıktı</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): giriş dosyası yolu
(f): giriş dosyası ismi
(o): çıktı dosyası türü
(i): girdi dosyası türü
(d0): girdi üst klasörü
(d1): input sub parent folder
...
(n:i): sayfa sayısı indeksi
(n:c): toplam sayfa sayısı
Özel yollar:
(p:d): belgeler yolu
(p:m): müzikler yolu
(p:v): videolar yolu
(p:p): resimler yolu
</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>Çıktı türü</value>
</data>
<data name="Preset" xml:space="preserve">
<value>Ön ayar</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>Ön ayar adı</value>
</data>
<data name="Quality" xml:space="preserve">
<value>Kalite :</value>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>Önerilen bithızı değeri mavi aralığında</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>Sil</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>Döndür :</value>
</data>
<data name="Save" xml:space="preserve">
<value>Kaydet</value>
</data>
<data name="Scale" xml:space="preserve">
<value>Ölçek :</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>Kayıtlara bakın ...</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Ayarlar</value>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>Ayarlar</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>90° saat yönünün tersine dönme</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>File Converter için bir güncelleme mevcut. Mümkün olan en yakın zamanda kurmanız şiddetle tavsiye edilir!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>Yükseltme indiriliyor...</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>File Converter Güncellemeleri</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>'dosya boyutu' ve 'video kalitesi' arasındaki oranı tanımla. Düşük bir değer daha küçük dosya boyutu demek, Yüksek bir değer daha kaliteli video demek.</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>Daha hızlı</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>Hızlı</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>Orta</value>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>Daha yavaş</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>Yavaş</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>Çok hızlı</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>'dosya boyutu' ve 'sıkıştırma süreci' arasındaki oranı tanımla. Yavaş bir sıkıştırma, daha hızlı sıkıştırmaya göre daha küçük bir dosya anlamına geliyor. (Aynı video kalitesi için geçerli)</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>Aşırı hızlı</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>Epey hızlı</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>Epey yavaş</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>Video</value>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM imzalı 16-bit little-endian</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM imzalı 24-bit little-endian</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM imzalı 32-bit little-endian</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM imzalı 8-bit little-endian</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>Hiç</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>Dönme yok</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>Dönüşüm</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>Bitti</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>Çıkartma</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>Başarısız</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>Sırada</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>Giriş görüntüsünü oku</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>Dökümanı oku</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>Canlı görüntü</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>Ses</value>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>Döküman</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>Görüntü</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>Video</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>Uygulamadan çıkılmadan önceki bekleme süresi</value>
</data>
<data name="Language" xml:space="preserve">
<value>Dil</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>Azami eş zamanlı çevirme sayısı</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>Yeni ön ayar</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###Değişim kaydı indiriliyor ...</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>Dönüşüm Arşivleri</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>İptal edildi.</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>Çalıştırılabilir ffmpeg bulunamadı. Uygulamayı yeniden kurmayı deneyin.</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>Ses CD çıkarma işlemi başarısız.</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>CD sürücü hazır değil.</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>ffmpeg başlatılamadı.</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>Çıktı yolu klasörü oluşturması başarısız.</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>Özgün çıktı yolu klasörü oluşturması başarısız.</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>cd sürücü okuma başarısız '{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>Giriş yolu sürücü harfi alınamadı.</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>cda giriş yolundan parça numarası alınamadı.</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>CD sürücüsü açık olduğu için kullanılamıyor..</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>Giriş dosya türü seçilen çıktı dosya türü ile uyumlu değil.</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>Çıktı dosyası yolu şablonu tarafından oluşturulan geçersiz çıktı yolu.</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>Desteklenmeyen çıktı dosyası türü '{0}'.</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>Kanal sayısı :</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>Giriş dosyasının kanal sayısını değiştirin.</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>Mono</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>Giriş dosyası ile aynı</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>Stereo</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**Bu ücretsiz bir yazılımdır**.</value>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>GNU Genel Kamu Lisansı koşulları altında yeniden dağıtabilir ve/veya değiştirebilirsiniz.</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>Bu program, yararlı olacağı ümidiyle dağıtılmıştır, ancak HİÇBİR GARANTİSİ YOKTUR. Daha fazla ayrıntı için GNU Genel Kamu Lisansına (kurulum klasöründe bulunur: `LICENSE.md`) bakın.</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>Uygulama sonlandırılıyor.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>Uygulama {0} saniye içinde otomatik olarak sonlandırılacak.</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>Uygulama 1 saniye içinde otomatik olarak sonlandırılacaktır.</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>Diğer</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>Çıktı dosyası/dosyaları bulunamıyor.</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>Dönüştürme başarısız oldu, ancak var olan bir çıktı dosyası var.</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>Dönüştürmeyi hazırla</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>Office belgelerini dönüştürmek için Microsoft Office yüklü olmalıdır.</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>Belge Microsoft Office ile açılamadı (lisansınızın/kurulumunuzun geçerli olup olmadığını kontrol edin).</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>Excel belgelerini dönüştürmek için Microsoft Excel'in kurulu olması gerekir.</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>PowerPoint belgelerini dönüştürmek için Microsoft PowerPoint yüklü olmalıdır.</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>Word belgelerini dönüştürmek için Microsoft Word yüklü olmalıdır.</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>File Converter internet sitesini aç</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>Dönüştürme başlatma sırasında hata meydana geldi.</value>
</data>
<data name="CreateANewFolder" xml:space="preserve">
<value>Yeni klasör</value>
</data>
<data name="DefaultFolderName" xml:space="preserve">
<value>Yeni klasör</value>
</data>
<data name="PresetFolder" xml:space="preserve">
<value>Klasör</value>
</data>
<data name="PresetFolderName" xml:space="preserve">
<value>Klasör ismi</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>Gelişmiş mod</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>Özel parametreler</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>Özel FFMPEG komut satırı parametreleri</value>
</data>
<data name="NoPresetSelected" xml:space="preserve">
<value>Hiçbir ön ayar seçilmedi</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>Dışa aktar</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>İçeri aktar</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>Ön ayarı kopyala</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>İptal</value>
</data>
<data name="Error" xml:space="preserve">
<value>Hata</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>Dosya dönüştürücü kullanıcı ayarları yüklenemiyor. Varsayılan ayarlara geri dönmek istiyor musunuz?</value>
</data>
</root>
@@ -0,0 +1,592 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>关于</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>指定转换成功后对文件的操作</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>转换成功时的操作</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>新的预设</value>
</data>
<data name="Application" xml:space="preserve">
<value>应用</value>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>音频</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>File Converter 启动时自动检查更新</value>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>所有转换完成后自动退出</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>Clamp to lowest power of 2 size</value>
</data>
<data name="Close" xml:space="preserve">
<value>关闭</value>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>转换设置</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>要转换的文件</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>转换自</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>日志</value>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>日志</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>打开文件</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>捐赠</value>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>如果你喜欢,别忘了鼓励我的工作^_^</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>此更新将在后台下载,并在 File Converter 退出后立即开始安装。</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>当我退出 File Converter 时安装</value>
</data>
<data name="Encoding" xml:space="preserve">
<value>正在编码:</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>编码速度:</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>File Converter 是一个 Shell 扩展。</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>这意味着它被集成在 Windows 资源管理器中。</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>要使用 File Converter,请打开资源管理器并右击任意文件显示上下文菜单,您可以找到 File Converter 的一些命令(请查阅 readme 文件中列出的可兼容的文件格式)。</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>文件名模板</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>每秒帧数:</value>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>打开 GitHub 项目页面</value>
</data>
<data name="Help" xml:space="preserve">
<value>帮助?</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>输入示例</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>输入格式</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>删除</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>移动到压缩包中</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>无</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>更新下载完成。现在可退出 File Converter 并安装更新。</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>当我退出 File Converter 时安装</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>报告问题</value>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>将所选项下移</value>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>将所选项上移</value>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>恒定比特率编码</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>可变比特率编码</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>逆时针旋转 90°</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Ok</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>旋转 180°</value>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Music\Artist\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>输出</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): 输入文件路径
(f): 输入文件名
(o): 输出扩展名
(i): 输入扩展名
(d0): 输入父级文件夹
(d1): 输入次父级文件夹
...
(n:i): 页码索引
(n:c): 总页数
特殊路径:
(p:d): 文档
(p:m): 音乐
(p:v): 视频
(p:p): 图片
使用 maj 表示大写</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>输出格式</value>
</data>
<data name="Preset" xml:space="preserve">
<value>预设</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>预设名称</value>
</data>
<data name="Quality" xml:space="preserve">
<value>质量:</value>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>建议蓝光比特率范围</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>删除</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>旋转:</value>
</data>
<data name="Save" xml:space="preserve">
<value>保存</value>
</data>
<data name="Scale" xml:space="preserve">
<value>范围:</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>请参阅更改日志……</value>
</data>
<data name="Settings" xml:space="preserve">
<value>设置</value>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>设置</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>顺时针旋转 90°</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>File Converter 有可用更新。墙裂建议您尽快安装最新版本!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>正在下载升级包……</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>File Converter 更新</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>定义“文件大小”与“视频质量”的比重。较小的比重可以让您的文件占用更小,较大的比重可以让您的视频质量更高。</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>更快</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>快</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>中等</value>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>更慢</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>慢</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>超快</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>定义“文件大小”与“压缩时间”的比重。对于相同的视频质量,与快速压缩相比,慢速压缩将为您提供更小的文件。</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>超快速</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>极快速</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>极慢速</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>视频</value>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>带符号的16位低位编址 PCM</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>带符号的24位低位编址 PCM</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>带符号的32位低位编址 PCM</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>带符号的8位低位编址 PCM</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>无</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>不旋转</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>转换</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>完成</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>提取</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>失败</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>在队列中</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>读取输入的图像</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>读取文档</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>动态图像</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>音频</value>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>文档</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>图像</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>视频</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>应用退出前的等待时间</value>
</data>
<data name="Language" xml:space="preserve">
<value>语言</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>同时转换的最大数量</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>新预设</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###正在下载更新日志……</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>转换压缩包</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>取消。</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>找不到 ffmpeg 可执行文件,您应该尝试重新安装应用程序。</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>音频CD轨道提取失败。</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>CD 驱动器未准备好。</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>启动 ffmpeg 失败。</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>创建输出路径文件夹失败。</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>无法生成唯一的输出文件路径。</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>无法读取CD驱动器'{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>无法检索到输入路径的驱动器号。</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>无法中cda输入路径检索轨道编号。</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>无法使用 CD 驱动器,因为它已被打开。</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>输入文件的类型与所选择的输出文件类型不兼容。</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>输出文件路径模板生成的输出路径无效。</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>不支持的输出格式'{0}'。</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>通道计数:</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>修改输入文件的通道数量。</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>单声道</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>与输入文件相同</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>立体声</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**该软件免费**.</value>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>您可以根据GNU通用公共许可证的条款重新发布和(或)修改它。</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>本程序的发布是希望它有用,但不提供任何担保。有关更多详细信息,请参阅GNU通用公共许可证(可在安装文件夹中找到:License.md)。</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>应用程序正在关闭。The application is terminating.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>应用程序将在 {0} 秒后自动关闭。</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>应用程序将在 1 秒内自动关闭。</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>杂项</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>无法找到输出文件。</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>转换失败,但输出文件确实存在。</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>准备转换</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>要转换 Office 文档,必须安装 Microsoft Office。</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>使用 Microsoft Office 打开文档失败(检查您的许可证/安装是否有效)。</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>要转换 Excel 文档,必须安装 Microsoft Excel。</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>要转换 PowerPoint 文档,必须安装 Microsoft PowerPoint。</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>要转换 Word 文档,必须安装 Microsoft Word。</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>打开 File Converter 网址</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>转换任务初始化时出错。</value>
</data>
<data name="CreateANewFolder" xml:space="preserve">
<value>新文件夹</value>
</data>
<data name="DefaultFolderName" xml:space="preserve">
<value>新文件夹</value>
</data>
<data name="PresetFolder" xml:space="preserve">
<value>文件夹</value>
</data>
<data name="PresetFolderName" xml:space="preserve">
<value>文件夹名称</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>高级模式</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>自定义参数</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>自定义 FFMPEG 命令行参数</value>
</data>
<data name="NoPresetSelected" xml:space="preserve">
<value>未选择预设</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>导出</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>导入</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>复制预设</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>取消</value>
</data>
<data name="Error" xml:space="preserve">
<value>错误</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>无法加载 File Converter 用户设置。您想恢复默认设置吗?</value>
</data>
</root>
@@ -0,0 +1,595 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="About" xml:space="preserve">
<value>關於</value>
</data>
<data name="ActionWhenConversionSucceedDescription" xml:space="preserve">
<value>指定轉換成功後對檔案的操作</value>
</data>
<data name="ActionWhenConversionSucceedTitle" xml:space="preserve">
<value>轉換成功時的操作</value>
</data>
<data name="AddNewPreset" xml:space="preserve">
<value>新的預設</value>
</data>
<data name="Application" xml:space="preserve">
<value>應用程式</value>
</data>
<data name="AudioTitle" xml:space="preserve">
<value>音訊</value>
</data>
<data name="AutomaticallyCheckForUpdates" xml:space="preserve">
<value>當File Converter啟動時自動檢查更新</value>
</data>
<data name="AutomaticallyExitWhenAllConversionsFinished" xml:space="preserve">
<value>所有轉換完成後自動關閉</value>
</data>
<data name="ClampToLowestPowerOfTwoSize" xml:space="preserve">
<value>限制為最接近的2的次方大小</value>
</data>
<data name="Close" xml:space="preserve">
<value>關閉</value>
</data>
<data name="ConversionPresets" xml:space="preserve">
<value>轉換預設</value>
</data>
<data name="ConversionQueueTitle" xml:space="preserve">
<value>要轉換的文件</value>
</data>
<data name="ConvertedFrom" xml:space="preserve">
<value>轉換自</value>
</data>
<data name="Diagnostics" xml:space="preserve">
<value>日誌</value>
</data>
<data name="DiagnosticsButtonTooltip" xml:space="preserve">
<value>日誌</value>
</data>
<data name="DocumentationButtonDescription" xml:space="preserve">
<value>開啟文件</value>
</data>
<data name="DonateButtonTitle" xml:space="preserve">
<value>贊助</value>
</data>
<data name="DonateDescription" xml:space="preserve">
<value>如果您喜歡我的作品,別忘了給予一些獎勵:)</value>
</data>
<data name="DownloadAndInstallButtonDescription" xml:space="preserve">
<value>此更新將在背景下載,並在 File Converter 退出後立即安裝。</value>
</data>
<data name="DownloadAndInstallButtonTitle" xml:space="preserve">
<value>當我退出 File Converter 時安裝</value>
</data>
<data name="Encoding" xml:space="preserve">
<value>編碼中:</value>
</data>
<data name="EncodingSpeed" xml:space="preserve">
<value>編碼速度:</value>
</data>
<data name="FileConverterStartHelp1" xml:space="preserve">
<value>File Converter是一個Shell擴充功能。</value>
</data>
<data name="FileConverterStartHelp2" xml:space="preserve">
<value>這表示它已整合到Windows檔案總管中。</value>
</data>
<data name="FileConverterStartHelp3" xml:space="preserve">
<value>要使用File Converter,請開啟資檔案總管並右鍵點選任何檔案以顯示選單,您可以找到File Converter的一些命令(請參閱線上文件以查看可相容的檔案格式)。</value>
</data>
<data name="FileNameTemplate" xml:space="preserve">
<value>檔案名稱模板</value>
</data>
<data name="FramesPerSecond" xml:space="preserve">
<value>每秒影格數:</value>
</data>
<data name="GitHubButtonDescription" xml:space="preserve">
<value>開啟GitHub專案頁面</value>
</data>
<data name="Help" xml:space="preserve">
<value>幫助</value>
</data>
<data name="InputExample" xml:space="preserve">
<value>輸入範例</value>
</data>
<data name="InputFormats" xml:space="preserve">
<value>輸入格式</value>
</data>
<data name="InputPostConversionActionDeleteName" xml:space="preserve">
<value>刪除</value>
</data>
<data name="InputPostConversionActionMoveInArchiveFolderName" xml:space="preserve">
<value>移到壓縮檔中</value>
</data>
<data name="InputPostConversionActionNoneName" xml:space="preserve">
<value>無</value>
</data>
<data name="InstallButtonDescription" xml:space="preserve">
<value>更新下載完成。現在可退出File Converter並安裝更新。</value>
</data>
<data name="InstallButtonTitle" xml:space="preserve">
<value>退出File Converter時安裝</value>
</data>
<data name="IssueButtonDescription" xml:space="preserve">
<value>問題回報</value>
</data>
<data name="MoveDownSelectedPreset" xml:space="preserve">
<value>下移所選預設</value>
</data>
<data name="MoveUpSelectedPreset" xml:space="preserve">
<value>上移所選預設</value>
</data>
<data name="Mp3CbrDescription" xml:space="preserve">
<value>固定位元速率編碼</value>
</data>
<data name="Mp3VbrDescription" xml:space="preserve">
<value>可變位元速率編碼</value>
</data>
<data name="NinetyDegreesRotationTitle" xml:space="preserve">
<value>90°</value>
</data>
<data name="NinetyDegreesRotationTooltip" xml:space="preserve">
<value>逆時針旋轉90°</value>
</data>
<data name="Ok" xml:space="preserve">
<value>Ok</value>
</data>
<data name="OneEightyDegreesRotationTitle" xml:space="preserve">
<value>180°</value>
</data>
<data name="OneEightyDegreesRotationTooltip" xml:space="preserve">
<value>旋轉180°</value>
</data>
<data name="OutputFileNameTemplateSample" xml:space="preserve">
<value>C:\Music\Artist\Album\Song.wav</value>
</data>
<data name="OutputExample" xml:space="preserve">
<value>輸出</value>
</data>
<data name="OutputFilePathTemplateHelp" xml:space="preserve">
<value>(p): 輸入檔案路徑
(f): 輸入檔案名稱
(o): 輸出檔案格式
(i): 輸入檔案格式
(d0): 輸入上層資料夾名稱
(d1): 輸入資料夾名稱
...
(n:i): 頁數
(n:c): 總頁數
特殊路徑:
(p:d): 文件
(p:m): 音樂
(p:v): 影片
(p:p): 圖片
使用 maj 表示大寫</value>
</data>
<data name="OutputFormat" xml:space="preserve">
<value>輸出格式</value>
</data>
<data name="Preset" xml:space="preserve">
<value>預設</value>
</data>
<data name="PresetName" xml:space="preserve">
<value>預設名稱</value>
</data>
<data name="Quality" xml:space="preserve">
<value>品質:</value>
</data>
<data name="RecommendedBitrateRangeInBlue" xml:space="preserve">
<value>建議的藍色位元速率範圍</value>
</data>
<data name="RemoveSelectedPreset" xml:space="preserve">
<value>刪除</value>
</data>
<data name="Rotate" xml:space="preserve">
<value>旋轉:</value>
</data>
<data name="Save" xml:space="preserve">
<value>儲存</value>
</data>
<data name="Scale" xml:space="preserve">
<value>範圍:</value>
</data>
<data name="SeeChangeLog" xml:space="preserve">
<value>請參閱變更日誌……</value>
</data>
<data name="Settings" xml:space="preserve">
<value>設定</value>
</data>
<data name="SettingsButtonTooltip" xml:space="preserve">
<value>設定</value>
</data>
<data name="TwoSeventyDegreesRotationTitle" xml:space="preserve">
<value>270°</value>
</data>
<data name="TwoSeventyDegreesRotationTooltip" xml:space="preserve">
<value>順時針旋轉90°</value>
</data>
<data name="UpgradeAvailable" xml:space="preserve">
<value>File Converter有更新。 強烈建議您盡快安裝新版本!</value>
</data>
<data name="UpgradeDownloadInProgress" xml:space="preserve">
<value>升級下載正在進行中……</value>
</data>
<data name="UpgradeWindowTitle" xml:space="preserve">
<value>File Converter更新</value>
</data>
<data name="VideoEncodingQualityTooltip" xml:space="preserve">
<value>定義「檔案大小」與「視訊品質」的比率。 較小的值可以讓您的檔案更小,較大的值可以讓您的影片品質更高。</value>
</data>
<data name="VideoEncodingSpeedFasterName" xml:space="preserve">
<value>更快</value>
</data>
<data name="VideoEncodingSpeedFastName" xml:space="preserve">
<value>快</value>
</data>
<data name="VideoEncodingSpeedMediumName" xml:space="preserve">
<value>中等</value>
</data>
<data name="VideoEncodingSpeedSlowerName" xml:space="preserve">
<value>稍慢</value>
</data>
<data name="VideoEncodingSpeedSlowName" xml:space="preserve">
<value>慢</value>
</data>
<data name="VideoEncodingSpeedSuperFastName" xml:space="preserve">
<value>超快</value>
</data>
<data name="VideoEncodingSpeedTooltip" xml:space="preserve">
<value>定義「檔案大小」與「壓縮時間」的比種。 對於相同的影片品質,與快速壓縮相比,慢速壓縮將為您提供更小的文件。</value>
</data>
<data name="VideoEncodingSpeedUltraFastName" xml:space="preserve">
<value>超快速</value>
</data>
<data name="VideoEncodingSpeedVeryFastName" xml:space="preserve">
<value>極快速</value>
</data>
<data name="VideoEncodingSpeedVerySlowName" xml:space="preserve">
<value>極慢速</value>
</data>
<data name="VideoTitle" xml:space="preserve">
<value>影片</value>
</data>
<data name="Wav16bitsDescription" xml:space="preserve">
<value>PCM-有符號的16位小端序</value>
</data>
<data name="Wav24bitsDescription" xml:space="preserve">
<value>PCM-有符號的24位小端序</value>
</data>
<data name="Wav32bitsDescription" xml:space="preserve">
<value>PCM-有符號的32位小端序</value>
</data>
<data name="Wav8bitsDescription" xml:space="preserve">
<value>PCM-有符號的8位小端序</value>
</data>
<data name="ZeroDegreesRotationTitle" xml:space="preserve">
<value>無</value>
</data>
<data name="ZeroDegreesRotationTooltip" xml:space="preserve">
<value>不旋轉</value>
</data>
<data name="ConversionStateConversion" xml:space="preserve">
<value>轉換</value>
</data>
<data name="ConversionStateDone" xml:space="preserve">
<value>完成</value>
</data>
<data name="ConversionStateExtraction" xml:space="preserve">
<value>提取</value>
</data>
<data name="ConversionStateFailed" xml:space="preserve">
<value>失敗</value>
</data>
<data name="ConversionStateInQueue" xml:space="preserve">
<value>在佇列中</value>
</data>
<data name="ConversionStateReadIntputImage" xml:space="preserve">
<value>讀取輸入影像</value>
</data>
<data name="ConversionStateReadDocument" xml:space="preserve">
<value>讀取文件</value>
</data>
<data name="StringAnimatedImageName" xml:space="preserve">
<value>動態圖片</value>
</data>
<data name="StringAudioName" xml:space="preserve">
<value>音訊</value>
</data>
<data name="StringDocumentName" xml:space="preserve">
<value>文件</value>
</data>
<data name="StringImageName" xml:space="preserve">
<value>圖片</value>
</data>
<data name="StringVideoName" xml:space="preserve">
<value>影片</value>
</data>
<data name="ExitWaitingDuration" xml:space="preserve">
<value>應用程式退出前的等待時間</value>
</data>
<data name="Language" xml:space="preserve">
<value>語言</value>
</data>
<data name="MaximumNumberOfSimultaneousConversions" xml:space="preserve">
<value>同時轉換的最大數量</value>
</data>
<data name="DefaultPresetName" xml:space="preserve">
<value>新預設</value>
</data>
<data name="DownloadingChangeLog" xml:space="preserve">
<value>###正在下载更新日誌……</value>
</data>
<data name="ConversionArchives" xml:space="preserve">
<value>轉換壓縮檔</value>
</data>
<data name="ErrorCanceled" xml:space="preserve">
<value>取消。</value>
</data>
<data name="ErrorCantFindFFMPEG" xml:space="preserve">
<value>找不到ffmpeg執行檔。 您應該嘗試重新安裝該應用程式。</value>
</data>
<data name="ErrorCDAExtractionFailed" xml:space="preserve">
<value>音訊CD軌道提取失敗。</value>
</data>
<data name="ErrorCDDriveNotReady" xml:space="preserve">
<value>CD光碟機未準備好。</value>
</data>
<data name="ErrorFailedToLaunchFFMPEG" xml:space="preserve">
<value>啟動ffmpeg失敗。</value>
</data>
<data name="ErrorFailToCreateOutputPathFolders" xml:space="preserve">
<value>無法建立輸出路徑資料夾。</value>
</data>
<data name="ErrorFailToGenerateUniqueOutputPath" xml:space="preserve">
<value>無法產生唯一的輸出檔案路徑。</value>
</data>
<data name="ErrorFailToReadCDDrive" xml:space="preserve">
<value>無法讀取CD'{0}'.</value>
</data>
<data name="ErrorFailToRetrieveInputPathDriveLetter" xml:space="preserve">
<value>無法檢索輸入路徑磁碟機號。</value>
</data>
<data name="ErrorFailToRetrieveTrackNumber" xml:space="preserve">
<value>無法從 cda 輸入路徑檢索軌道編號。</value>
</data>
<data name="ErrorFailToUseCDDriveOpen" xml:space="preserve">
<value>CD光碟機已開啟,無法使用。</value>
</data>
<data name="ErrorInputTypeIncompatibleWithOutputType" xml:space="preserve">
<value>輸入檔案格式與所選輸出檔案格式不相容。</value>
</data>
<data name="ErrorInvalidOutputPath" xml:space="preserve">
<value>輸出檔案路徑範例產生的輸出路徑無效。</value>
</data>
<data name="ErrorUnsupportedOutputFormat" xml:space="preserve">
<value>不支援的輸出格式'{0}'。</value>
</data>
<data name="ChannelCountTitle" xml:space="preserve">
<value>聲道數量:</value>
</data>
<data name="ChannelCountTooltip" xml:space="preserve">
<value>更改輸入檔的聲道數量。</value>
</data>
<data name="MonoOption" xml:space="preserve">
<value>單聲道</value>
</data>
<data name="SameChannelCountOption" xml:space="preserve">
<value>與輸入檔案相同</value>
</data>
<data name="StereoOption" xml:space="preserve">
<value>立體聲</value>
</data>
<data name="LicenceHeader1" xml:space="preserve">
<value>**此軟體免費**.</value>
</data>
<data name="LicenceHeader2" xml:space="preserve">
<value>您可以根據 GNU 通用公共授權的條款重新分發和(或)修改它。</value>
</data>
<data name="LicenceHeader3" xml:space="preserve">
<value>分發此程序是希望它有幫助,但不提供任何保證。 有關更多詳細資訊,請參閱GNU通用公共許可證(可在安裝資料夾中找到:LICENSE.md)。</value>
</data>
<data name="ApplicationIsTerminating" xml:space="preserve">
<value>應用程式正在關閉。.</value>
</data>
<data name="ApplicationWillTerminateInMultipleSeconds" xml:space="preserve">
<value>>應用程式將在 {0} 秒後自動關閉。</value>
</data>
<data name="ApplicationWillTerminateInOneSecond" xml:space="preserve">
<value>應用程式將在1秒後自動關閉。</value>
</data>
<data name="StringMiscName" xml:space="preserve">
<value>雜項</value>
</data>
<data name="ErrorCantFindOutputFiles" xml:space="preserve">
<value>無法找到輸出檔案。</value>
</data>
<data name="ErrorConversionFailedWithOutput" xml:space="preserve">
<value>轉換作業失敗,但輸出檔案確實存在。</value>
</data>
<data name="ConversionStatePrepareConversion" xml:space="preserve">
<value>準備轉換</value>
</data>
<data name="ErrorMicrosoftOfficeIsNotAvailable" xml:space="preserve">
<value>要轉換Office文件,必須安裝Microsoft Office。</value>
</data>
<data name="ErrorUnableToUseMicrosoftOffice" xml:space="preserve">
<value>使用Microsoft Office開啟文件失敗(檢查您的授權/安裝是否有效)。</value>
</data>
<data name="ErrorMicrosoftExcelIsNotAvailable" xml:space="preserve">
<value>要轉換Excel文件,必須安裝Microsoft Excel。</value>
</data>
<data name="ErrorMicrosoftPowerPointIsNotAvailable" xml:space="preserve">
<value>要轉換PowerPoint文件,必須安裝Microsoft PowerPoint。</value>
</data>
<data name="ErrorMicrosoftWordIsNotAvailable" xml:space="preserve">
<value>要轉換Word文件,必須安裝Microsoft Word。</value>
</data>
<data name="WebsiteButtonDescription" xml:space="preserve">
<value>打開File Converter網站</value>
</data>
<data name="SayThanksButtonTitle" xml:space="preserve">
<value>感謝!</value>
</data>
<data name="ErrorDuringJobInitialization" xml:space="preserve">
<value>轉換作業初始化期間出錯。</value>
</data>
<data name="CreateANewFolder" xml:space="preserve">
<value>新建資料夾</value>
</data>
<data name="DefaultFolderName" xml:space="preserve">
<value>新建資料夾</value>
</data>
<data name="PresetFolder" xml:space="preserve">
<value>資料夾</value>
</data>
<data name="PresetFolderName" xml:space="preserve">
<value>資料夾名稱</value>
</data>
<data name="AdvancedMode" xml:space="preserve">
<value>高級模式</value>
</data>
<data name="FFMPEGCustomArguments" xml:space="preserve">
<value>自訂參數</value>
</data>
<data name="FFMPEGCustomArgumentsTooltip" xml:space="preserve">
<value>自訂FFMPEG命令列參數</value>
</data>
<data name="NoPresetSelected" xml:space="preserve">
<value>未選擇預設</value>
</data>
<data name="ExportSelectedPresets" xml:space="preserve">
<value>輸出</value>
</data>
<data name="ImportPresets" xml:space="preserve">
<value>輸入</value>
</data>
<data name="DuplicatePreset" xml:space="preserve">
<value>複製預設</value>
</data>
<data name="CancelJobTooltip" xml:space="preserve">
<value>取消</value>
</data>
<data name="Error" xml:space="preserve">
<value>錯誤</value>
</data>
<data name="ErrorCantLoadSettings" xml:space="preserve">
<value>無法載入File Converter使用者設定。 您想恢復到預設設定嗎?</value>
</data>
</root>
+10 -14
View File
@@ -1,28 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FileConverter.Properties
{
namespace FileConverter.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.7.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
public static Settings Default {
get {
return defaultInstance;
}
}
+17 -14
View File
@@ -80,14 +80,23 @@ namespace FileConverter
}
}
public static T GetValue<T>(string key)
private static string GetUserRegistryFilePath
{
get
{
string path = FileConverterExtension.PathHelpers.GetUserDataFolderPath;
path = Path.Combine(path, "Registry.xml");
return path;
}
}
public static T GetValue<T>(string key, T defaultValue = default(T))
{
Registry registry = Registry.Instance;
string stringValue;
if (!registry.registryEntries.TryGetValue(key, out stringValue))
if (!registry.registryEntries.TryGetValue(key, out string stringValue))
{
return default(T);
return defaultValue;
}
try
@@ -100,7 +109,7 @@ namespace FileConverter
Diagnostics.Debug.LogError("Can't convert registry value: {0}.", exception.Message);
}
return default(T);
return defaultValue;
}
public static void SetValue<T>(string key, T value)
@@ -126,7 +135,7 @@ namespace FileConverter
public void Dispose()
{
// SAVE
string registryFilePath = Registry.GetUserRegistryFilePath();
string registryFilePath = Registry.GetUserRegistryFilePath;
try
{
@@ -140,7 +149,7 @@ namespace FileConverter
private static void Load()
{
string registryFilePath = Registry.GetUserRegistryFilePath();
string registryFilePath = Registry.GetUserRegistryFilePath;
if (!File.Exists(registryFilePath))
{
Registry.instance = new Registry();
@@ -164,13 +173,6 @@ namespace FileConverter
}
}
private static string GetUserRegistryFilePath()
{
string path = PathHelpers.GetUserDataFolderPath();
path = Path.Combine(path, "Registry.xml");
return path;
}
[XmlRoot("Entry")]
public struct Entry
{
@@ -198,6 +200,7 @@ namespace FileConverter
public static class Keys
{
public static readonly string LastUpdateCheckDate = "LastUpdateCheckDate";
public static readonly string ImportInitialFolder = "ImportInitialFolder";
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 376 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@@ -0,0 +1,20 @@
// <copyright file="ConversionJobsTerminatedEventArgs.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
using System;
public class ConversionJobsTerminatedEventArgs : EventArgs
{
public ConversionJobsTerminatedEventArgs(bool allConversionsSucceed)
{
this.AllConversionsSucceed = allConversionsSucceed;
}
public bool AllConversionsSucceed
{
get;
private set;
}
}
}
@@ -0,0 +1,202 @@
// <copyright file="ConversionService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.DependencyInjection;
using FileConverter.ConversionJobs;
using FileConverter.Diagnostics;
public class ConversionService : ObservableObject, IConversionService
{
private readonly List<ConversionJob> conversionJobs = new List<ConversionJob>();
private readonly int numberOfConversionThread = 1;
private ISettingsService settingsService;
public ConversionService(ISettingsService settingsService)
{
if (settingsService == null)
{
throw new ArgumentNullException(nameof(settingsService));
}
this.settingsService = settingsService;
this.ConversionJobs = this.conversionJobs.AsReadOnly();
this.numberOfConversionThread = this.settingsService.Settings.MaximumNumberOfSimultaneousConversions;
Diagnostics.Debug.Log("Maximum number of conversion threads: {0}", this.numberOfConversionThread);
if (this.numberOfConversionThread <= 0)
{
this.numberOfConversionThread = System.Math.Max(1, Environment.ProcessorCount / 2);
Diagnostics.Debug.Log("The number of processors on this computer is {0}. Set the default number of conversion threads to {0}", settingsService.Settings.MaximumNumberOfSimultaneousConversions);
}
}
public event System.EventHandler<ConversionJobsTerminatedEventArgs> ConversionJobsTerminated;
public ReadOnlyCollection<ConversionJob> ConversionJobs
{
get;
private set;
}
public void RegisterConversionJob(ConversionJob conversionJob)
{
this.conversionJobs.Add(conversionJob);
this.OnPropertyChanged(nameof(this.ConversionJobs));
}
public void ConvertFilesAsync()
{
Thread fileConvertionThread = Helpers.InstantiateThread("ConversionQueueThread", this.ConvertFiles);
fileConvertionThread.Start();
}
private void ConvertFiles()
{
// Prepare conversions.
for (int index = 0; index < this.ConversionJobs.Count; index++)
{
this.ConversionJobs[index].PrepareConversion();
}
System.Collections.Specialized.StringCollection files = new System.Collections.Specialized.StringCollection();
// Convert!
Thread[] jobThreads = new Thread[this.numberOfConversionThread];
while (true)
{
// Compute conversion flags.
ConversionFlags conversionFlags = ConversionFlags.None;
bool allJobAreFinished = true;
for (int jobIndex = 0; jobIndex < this.conversionJobs.Count; jobIndex++)
{
ConversionJob conversionJob = this.conversionJobs[jobIndex];
allJobAreFinished &= !(conversionJob.State == ConversionState.Ready || conversionJob.State == ConversionState.InProgress);
if (conversionJob.State == ConversionState.InProgress)
{
conversionFlags |= conversionJob.StateFlags;
}
}
if (allJobAreFinished)
{
break;
}
// Start job if possible.
for (int jobIndex = 0; jobIndex < this.conversionJobs.Count; jobIndex++)
{
ConversionJob conversionJob = this.conversionJobs[jobIndex];
if (conversionJob.State == ConversionState.Ready && conversionJob.CanStartConversion(conversionFlags))
{
// Find a thread to execute the job.
Thread jobThread = null;
for (int threadIndex = 0; threadIndex < jobThreads.Length; threadIndex++)
{
Thread thread = jobThreads[threadIndex];
if (thread == null || !thread.IsAlive)
{
jobThread = Helpers.InstantiateThread(conversionJob.GetType().Name, this.ExecuteConversionJob);
jobThreads[threadIndex] = jobThread;
break;
}
}
if (jobThread != null)
{
jobThread.Start(conversionJob);
while (conversionJob.State == ConversionState.Ready)
{
Debug.Log("Wait the launch of the conversion thread before launching any other thread.");
Thread.Sleep(20);
}
}
if (!files.Contains(conversionJob.OutputFilePath))
{
files.Add(conversionJob.OutputFilePath);
}
break;
}
}
Thread.Sleep(50);
}
// Copy the output files to the clipboard
if (this.settingsService.Settings.CopyFilesInClipboardAfterConversion && files.Count > 0)
{
Thread clipboardThread = Helpers.InstantiateThread("CopyFilesToClipboardThread", this.CopyFilesToClipboard);
clipboardThread.SetApartmentState(ApartmentState.STA);
clipboardThread.Start(files);
}
bool allConversionsSucceed = true;
for (int index = 0; index < this.conversionJobs.Count; index++)
{
allConversionsSucceed &= this.conversionJobs[index].State == ConversionState.Done;
}
if (this.ConversionJobsTerminated != null)
{
this.ConversionJobsTerminated.Invoke(this, new ConversionJobsTerminatedEventArgs(allConversionsSucceed));
}
}
private void ExecuteConversionJob(object parameter)
{
ConversionJob conversionJob = parameter as ConversionJob;
if (conversionJob == null)
{
throw new System.ArgumentException("The parameter must be a conversion job.", nameof(parameter));
}
if (conversionJob.State != ConversionState.Ready)
{
Debug.LogError("Fail to execute conversion job.");
return;
}
try
{
conversionJob.StartConversion();
}
catch (Exception exception)
{
Debug.LogError("Failure during conversion: {0}", exception.ToString());
}
}
private void CopyFilesToClipboard(object _filePaths)
{
try
{
System.Collections.Specialized.StringCollection FilePaths = _filePaths as System.Collections.Specialized.StringCollection;
System.Windows.Forms.Clipboard.SetFileDropList(FilePaths);
Debug.Log("Output files copied to the clipboard:");
for (int index = 0; index < FilePaths.Count; index++)
{
Debug.Log(" {0}", FilePaths[index]);
}
}
catch (Exception exception)
{
Debug.Log("Can't copy files to the clipboard.");
Debug.Log("An exception has been thrown: {0}.", exception.ToString());
}
}
}
}
@@ -0,0 +1,22 @@
// <copyright file="IConversionService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
using System.Collections.ObjectModel;
using FileConverter.ConversionJobs;
public interface IConversionService
{
event System.EventHandler<ConversionJobsTerminatedEventArgs> ConversionJobsTerminated;
ReadOnlyCollection<ConversionJob> ConversionJobs
{
get;
}
void ConvertFilesAsync();
void RegisterConversionJob(ConversionJob conversionJob);
}
}
@@ -0,0 +1,15 @@
// <copyright file="INavigationService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
using System.Windows;
public interface INavigationService
{
void RegisterPage<T>(string pageKey, bool cancelAutoExit, bool mainWindow) where T : Window;
void Show(string pageKey);
void Close(string pageKey, bool alreadyClosing);
}
}
@@ -0,0 +1,18 @@
// <copyright file="ISettingsService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
public interface ISettingsService
{
Settings Settings
{
get;
}
bool PostInstallationInitialization();
void SaveSettings();
void RevertSettings();
}
}
@@ -0,0 +1,24 @@
// <copyright file="IUpgradeService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
using System.Threading.Tasks;
public interface IUpgradeService
{
event System.EventHandler<UpgradeVersionDescription> NewVersionAvailable;
UpgradeVersionDescription UpgradeVersionDescription
{
get;
}
Task<UpgradeVersionDescription> CheckForUpgrade();
Task<string> DownloadChangeLog();
Task StartUpgrade();
void CancelUpgrade();
}
}
@@ -0,0 +1,195 @@
// <copyright file="NavigationService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
using System;
using System.Collections.Generic;
using System.Windows;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.DependencyInjection;
using FileConverter.Annotations;
using Application = FileConverter.Application;
public class NavigationService : ObservableObject, INavigationService
{
private readonly Dictionary<string, PageInfo> pageInfoByType;
private int numberOfPageShowed = 0;
public NavigationService()
{
this.pageInfoByType = new Dictionary<string, PageInfo>();
}
public void Show([NotNull] string pageKey)
{
lock (this.pageInfoByType)
{
PageInfo pageInfo;
if (!this.pageInfoByType.TryGetValue(pageKey, out pageInfo))
{
throw new ArgumentException($"No such page: {pageKey}.", nameof(pageKey));
}
if (pageInfo.Showed)
{
return;
}
pageInfo.Showed = true;
if (pageInfo.Instance == null || !pageInfo.Instance.IsLoaded)
{
pageInfo.Instance = Activator.CreateInstance(pageInfo.Type) as Window;
}
Diagnostics.Debug.Log($"Show page {pageKey}.");
this.pageInfoByType[pageKey] = pageInfo;
this.numberOfPageShowed++;
if (pageInfo.CancelAutoExit)
{
Application application = Application.Current as Application;
application?.CancelAutoExit();
}
pageInfo.Instance.Show();
}
}
public void Close([NotNull] string pageKey, bool alreadyClosing)
{
if (pageKey == null)
{
throw new ArgumentNullException(nameof(pageKey));
}
lock (this.pageInfoByType)
{
PageInfo pageInfo;
if (!this.pageInfoByType.TryGetValue(pageKey, out pageInfo))
{
throw new ArgumentException($"No such page: {pageKey}.", nameof(pageKey));
}
if (!pageInfo.Showed)
{
return;
}
pageInfo.Showed = false;
Diagnostics.Debug.Log($"Close page {pageKey}.");
this.pageInfoByType[pageKey] = pageInfo;
if (pageInfo.MainWindow)
{
this.CloseSecondaryWindowsIfThereIsNoOtherMainWindowShowed();
}
if (!alreadyClosing)
{
pageInfo.Instance.Close();
}
this.numberOfPageShowed--;
// If this is the last window.
if (this.numberOfPageShowed == 0)
{
IUpgradeService upgradeService = Ioc.Default.GetRequiredService<IUpgradeService>();
bool upgradeInProgress = upgradeService.UpgradeVersionDescription != null &&
upgradeService.UpgradeVersionDescription.NeedToUpgrade &&
!upgradeService.UpgradeVersionDescription.InstallerDownloadDone;
if (upgradeInProgress)
{
if (pageKey == Pages.Upgrade)
{
upgradeService.CancelUpgrade();
Application.Current.Shutdown();
}
else
{
INavigationService navigationService = Ioc.Default.GetRequiredService<INavigationService>();
navigationService.Show(Pages.Upgrade);
Diagnostics.Debug.Log("There is an upgrade in progress, display the upgrade window.");
}
}
else
{
Application.Current.Shutdown();
}
}
}
}
public void RegisterPage<T>(string pageKey, bool cancelAutoExit, bool mainWindow) where T : Window
{
if (string.IsNullOrEmpty(pageKey))
{
throw new ArgumentNullException(nameof(pageKey));
}
lock (this.pageInfoByType)
{
if (!this.pageInfoByType.ContainsKey(pageKey))
{
this.pageInfoByType.Add(pageKey, new PageInfo(typeof(T), cancelAutoExit, mainWindow));
}
else
{
throw new Exception($"Page {pageKey} already registered.");
}
}
}
private void CloseSecondaryWindowsIfThereIsNoOtherMainWindowShowed()
{
List<string> windowsToClose = new List<string>();
foreach (KeyValuePair<string, PageInfo> keyValuePair in this.pageInfoByType)
{
if (keyValuePair.Value.MainWindow && keyValuePair.Value.Showed)
{
// There is another main window showed.
return;
}
if (keyValuePair.Value.Showed)
{
windowsToClose.Add(keyValuePair.Key);
}
}
// Close all windows.
for (int index = 0; index < windowsToClose.Count; index++)
{
this.Close(windowsToClose[index], false);
}
}
private struct PageInfo
{
public Window Instance;
public Type Type;
public bool CancelAutoExit;
public bool MainWindow;
public bool Showed;
public PageInfo(Type type, bool cancelAutoExit, bool mainWindow)
{
this.Instance = null;
this.Type = type;
this.CancelAutoExit = cancelAutoExit;
this.MainWindow = mainWindow;
this.Showed = false;
}
}
}
}
@@ -1,14 +1,13 @@
// // <copyright file="Settings.Migration.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
// <copyright file="SettingsService.Migration.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
namespace FileConverter.Services
{
using System;
using FileConverter.ConversionJobs;
public partial class Settings
public partial class SettingsService
{
private static void MigrateSettingsToCurrentVersion(Settings settings)
private void MigrateSettingsToCurrentVersion(Settings settings)
{
int settingsVersion = settings.SerializationVersion;
@@ -17,12 +16,12 @@ namespace FileConverter
{
foreach (ConversionPreset conversionPreset in settings.ConversionPresets)
{
Settings.MigrateConversionPresetToCurrentVersion(conversionPreset, settingsVersion);
this.MigrateConversionPresetToCurrentVersion(conversionPreset, settingsVersion);
}
}
}
private static void MigrateConversionPresetToCurrentVersion(ConversionPreset preset, int settingsVersion)
private void MigrateConversionPresetToCurrentVersion(ConversionPreset preset, int settingsVersion)
{
if (settingsVersion <= 2)
{
@@ -72,4 +71,4 @@ namespace FileConverter
}
}
}
}
}
@@ -0,0 +1,205 @@
// <copyright file="SettingsService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
using FileConverter.Properties;
namespace FileConverter.Services
{
using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using CommunityToolkit.Mvvm.ComponentModel;
using Debug = FileConverter.Diagnostics.Debug;
public partial class SettingsService : ObservableObject, ISettingsService
{
public SettingsService()
{
// Load settigns.
Debug.Log("Load settings...");
this.Settings = this.Load();
}
public Settings Settings
{
get;
private set;
}
private string UserSettingsTemporaryFilePath
{
get
{
string path = FileConverterExtension.PathHelpers.GetUserDataFolderPath;
path = Path.Combine(path, "Settings.temp.xml");
return path;
}
}
public bool PostInstallationInitialization()
{
Debug.Log("Execute post installation initialization.");
Settings defaultSettings = null;
// Load the default settings.
if (File.Exists(FileConverterExtension.PathHelpers.DefaultSettingsFilePath))
{
try
{
XmlHelpers.LoadFromFile<Settings>("Settings", FileConverterExtension.PathHelpers.DefaultSettingsFilePath, out defaultSettings);
}
catch (Exception exception)
{
Debug.LogError($"Fail to load file converter default settings. {exception.Message}");
return false;
}
}
else
{
Debug.LogError("Default settings not found at path {0}. You should try to reinstall the application.", FileConverterExtension.PathHelpers.DefaultSettingsFilePath);
return false;
}
// Load user settings if exists.
Settings userSettings = null;
if (File.Exists(FileConverterExtension.PathHelpers.UserSettingsFilePath))
{
try
{
XmlHelpers.LoadFromFile<Settings>("Settings", FileConverterExtension.PathHelpers.UserSettingsFilePath, out userSettings);
}
catch (Exception)
{
File.Delete(FileConverterExtension.PathHelpers.UserSettingsFilePath);
}
if (userSettings != null)
{
if (userSettings.SerializationVersion != Settings.Version)
{
this.MigrateSettingsToCurrentVersion(userSettings);
Debug.Log("File converter settings have been imported from version {0} to version {1}.", userSettings.SerializationVersion, Settings.Version);
userSettings.SerializationVersion = Settings.Version;
}
// Remove default settings.
if (userSettings.ConversionPresets != null)
{
for (int index = userSettings.ConversionPresets.Count - 1; index >= 0; index--)
{
if (userSettings.ConversionPresets[index].IsDefaultSettings)
{
userSettings.ConversionPresets.RemoveAt(index);
}
}
}
}
}
Settings settings = userSettings != null ? userSettings.Merge(defaultSettings) : defaultSettings;
return this.Save(settings);
}
public void SaveSettings()
{
this.Save(this.Settings);
}
public void RevertSettings()
{
// Load previous preset in order to cancel changes.
this.Settings = this.Load();
}
private Settings Load()
{
Settings settings = null;
if (File.Exists(FileConverterExtension.PathHelpers.UserSettingsFilePath))
{
Settings userSettings = null;
try
{
var stopwatch = new Stopwatch();
stopwatch.Start();
XmlHelpers.LoadFromFile<Settings>("Settings", FileConverterExtension.PathHelpers.UserSettingsFilePath, out userSettings);
stopwatch.Stop();
Debug.Log($"Settings load time: {stopwatch.Elapsed.TotalMilliseconds}ms");
settings = userSettings;
}
catch (Exception)
{
MessageBoxResult messageBoxResult =
MessageBox.Show(Resources.ErrorCantLoadSettings,
Resources.Error,
MessageBoxButton.YesNo,
MessageBoxImage.Exclamation);
if (messageBoxResult == MessageBoxResult.Yes)
{
File.Delete(FileConverterExtension.PathHelpers.UserSettingsFilePath);
return this.Load();
}
else if (messageBoxResult == MessageBoxResult.No)
{
return null;
}
}
if (userSettings != null && userSettings.SerializationVersion != Settings.Version)
{
this.MigrateSettingsToCurrentVersion(userSettings);
Diagnostics.Debug.Log("File converter settings has been imported from version {0} to version {1}.", userSettings.SerializationVersion, Settings.Version);
userSettings.SerializationVersion = Settings.Version;
this.Save(userSettings);
}
}
else
{
// Load the default settings.
if (File.Exists(FileConverterExtension.PathHelpers.DefaultSettingsFilePath))
{
try
{
XmlHelpers.LoadFromFile<Settings>("Settings", FileConverterExtension.PathHelpers.DefaultSettingsFilePath, out Settings defaultSettings);
settings = defaultSettings;
}
catch (Exception exception)
{
Debug.LogError("Fail to load file converter default settings. {0}", exception.Message);
}
}
else
{
Debug.LogError("Default settings not found at path {0}. You should try to reinstall the application.", FileConverterExtension.PathHelpers.DefaultSettingsFilePath);
}
}
return settings;
}
private bool Save(Settings settings)
{
if (settings == null)
{
throw new ArgumentNullException(nameof(settings));
}
settings.Clean();
// Save the settings in a temporary files (we'll write the settings file when we'll succeed to write the registry keys).
XmlHelpers.SaveToFile("Settings", this.UserSettingsTemporaryFilePath, settings);
// Copy temporary settings file to the real settings file.
File.Copy(this.UserSettingsTemporaryFilePath, FileConverterExtension.PathHelpers.UserSettingsFilePath, true);
File.Delete(this.UserSettingsTemporaryFilePath);
return true;
}
}
}
@@ -0,0 +1,256 @@
// <copyright file="UpgradeService.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Services
{
using System;
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using CommunityToolkit.Mvvm.ComponentModel;
using FileConverter.Annotations;
using FileConverter.Diagnostics;
public class UpgradeService : ObservableObject, IUpgradeService
{
#if DEBUG
private const string BaseURI = "https://raw.githubusercontent.com/Tichau/FileConverter/integration/";
#else
private const string BaseURI = "https://raw.githubusercontent.com/Tichau/FileConverter/master/";
#endif
[NotNull]
private readonly WebClient webClient = new WebClient();
private UpgradeVersionDescription upgradeVersionDescription;
public UpgradeService()
{
this.UpgradeVersionDescription = new UpgradeVersionDescription();
}
public event EventHandler<UpgradeVersionDescription> NewVersionAvailable;
public UpgradeVersionDescription UpgradeVersionDescription
{
get => this.upgradeVersionDescription;
private set
{
this.upgradeVersionDescription = value;
this.OnPropertyChanged();
}
}
public async Task<UpgradeVersionDescription> CheckForUpgrade()
{
Task<UpgradeVersionDescription> task = null;
try
{
#if DEBUG
task = this.DownloadLatestVersionDescription();
#else
long fileTime = Registry.GetValue<long>(Registry.Keys.LastUpdateCheckDate);
DateTime lastUpdateDateTime = DateTime.FromFileTime(fileTime);
TimeSpan durationSinceLastUpdate = DateTime.Now.Subtract(lastUpdateDateTime);
if (durationSinceLastUpdate > new TimeSpan(1, 0, 0, 0))
{
task = this.DownloadLatestVersionDescription();
}
#endif
}
catch (Exception exception)
{
Diagnostics.Debug.Log($"Failed to check upgrade: {exception.Message}.");
}
UpgradeVersionDescription versionDescription = await task;
if (versionDescription == null)
{
return null;
}
Registry.SetValue(Registry.Keys.LastUpdateCheckDate, DateTime.Now.ToFileTime());
if (versionDescription.LatestVersion <= Application.ApplicationVersion)
{
return null;
}
this.UpgradeVersionDescription = versionDescription;
this.NewVersionAvailable?.Invoke(this, versionDescription);
return versionDescription;
}
public async Task<string> DownloadChangeLog()
{
if (this.UpgradeVersionDescription == null)
{
throw new ArgumentNullException(nameof(this.UpgradeVersionDescription));
}
this.UpgradeVersionDescription.ChangeLog = Properties.Resources.DownloadingChangeLog;
Uri uri = new Uri(UpgradeService.BaseURI + "CHANGELOG.md");
try
{
Task<Stream> openReadTaskAsync = this.webClient.OpenReadTaskAsync(uri);
if (openReadTaskAsync == null)
{
return null;
}
Stream stream = await openReadTaskAsync;
using (StreamReader reader = new StreamReader(stream))
{
this.UpgradeVersionDescription.ChangeLog = reader.ReadToEnd();
}
}
catch (Exception)
{
Debug.LogError("Error while retrieving change log.");
return null;
}
return this.UpgradeVersionDescription.ChangeLog;
}
public async Task StartUpgrade()
{
if (this.UpgradeVersionDescription == null)
{
Debug.Log("Can't start upgrade because no check upgrade have been done.");
return;
}
try
{
this.UpgradeVersionDescription.NeedToUpgrade = true;
await this.DownloadInstaller();
}
catch (Exception exception)
{
Debug.Log($"Failed to download upgrade: {exception.Message}.");
}
}
public void CancelUpgrade()
{
if (this.UpgradeVersionDescription == null)
{
Debug.Log("Can't cancel upgrade because there is no upgrade in progress.");
return;
}
Debug.Log("Cancel application upgrade.");
this.UpgradeVersionDescription.NeedToUpgrade = false;
}
private async Task<UpgradeVersionDescription> DownloadLatestVersionDescription()
{
#if BUILD32
Uri uri = new Uri(Helpers.BaseURI + "version (x86).xml");
#else
Uri uri = new Uri(UpgradeService.BaseURI + "version.xml");
#endif
UpgradeVersionDescription description = null;
try
{
Stream stream = await this.webClient.OpenReadTaskAsync(uri);
XmlRootAttribute xmlRoot = new XmlRootAttribute
{
ElementName = "Version"
};
XmlSerializer serializer = new XmlSerializer(typeof(UpgradeVersionDescription), xmlRoot);
XmlReaderSettings xmlReaderSettings = new XmlReaderSettings
{
IgnoreWhitespace = true,
IgnoreComments = true
};
using (XmlReader xmlReader = XmlReader.Create(stream, xmlReaderSettings))
{
description = (UpgradeVersionDescription)serializer.Deserialize(xmlReader);
}
}
catch (Exception)
{
Debug.Log("Error while retrieving change log.");
return null;
}
return description;
}
private async Task DownloadInstaller()
{
if (this.UpgradeVersionDescription == null)
{
throw new ArgumentNullException(nameof(this.UpgradeVersionDescription));
}
if (this.UpgradeVersionDescription.InstallerDownloadInProgress)
{
throw new Exception("The installer download is currently in progress.");
}
Uri uri = new Uri(this.UpgradeVersionDescription.InstallerURL);
string fileName = "FileConverter-setup.msi";
Regex retrieveFileNameRegex = new Regex("/([^/]*)");
MatchCollection matchCollection = retrieveFileNameRegex.Matches(this.UpgradeVersionDescription.InstallerURL);
if (matchCollection.Count > 0)
{
Match match = matchCollection[matchCollection.Count - 1];
if (match.Groups.Count > 1)
{
fileName = match.Groups[1].Value;
}
}
string tempPath = System.IO.Path.GetTempPath();
string installerPath = System.IO.Path.Combine(tempPath, fileName);
this.UpgradeVersionDescription.InstallerPath = installerPath;
this.UpgradeVersionDescription.InstallerDownloadInProgress = true;
this.UpgradeVersionDescription.InstallerDownloadProgress = 0;
// Source: https://stackoverflow.com/questions/2859790/the-request-was-aborted-could-not-create-ssl-tls-secure-channel#2904963
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
this.webClient.DownloadProgressChanged += this.WebClient_DownloadProgressChanged;
try
{
await this.webClient.DownloadFileTaskAsync(uri, installerPath);
this.UpgradeVersionDescription.InstallerDownloadProgress = 100;
this.UpgradeVersionDescription.InstallerDownloadInProgress = false;
this.UpgradeVersionDescription = null;
}
catch (Exception exception)
{
Debug.LogError("Failed to download the new File Converter upgrade. You should try again or download it manually.");
Debug.Log(exception.ToString());
this.UpgradeVersionDescription.NeedToUpgrade = false;
}
this.webClient.DownloadProgressChanged -= this.WebClient_DownloadProgressChanged;
}
private void WebClient_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs eventArgs)
{
this.UpgradeVersionDescription.InstallerDownloadProgress = eventArgs.ProgressPercentage;
}
}
}
@@ -1,19 +1,17 @@
// <copyright file="UpgradeVersionDescription.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
namespace FileConverter.Services
{
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
using FileConverter.Annotations;
using CommunityToolkit.Mvvm.ComponentModel;
public class UpgradeVersionDescription : INotifyPropertyChanged
public class UpgradeVersionDescription : ObservableObject
{
private int installerDownloadProgress;
private bool installerDownloadInProgress;
public event PropertyChangedEventHandler PropertyChanged;
private string changeLog;
[XmlElement("Latest")]
public Version LatestVersion
@@ -28,12 +26,16 @@ namespace FileConverter
get;
set;
}
[XmlIgnore]
public string ChangeLog
{
get;
set;
get => this.changeLog;
set
{
this.changeLog = value;
this.OnPropertyChanged();
}
}
[XmlIgnore]
@@ -46,10 +48,7 @@ namespace FileConverter
[XmlIgnore]
public bool InstallerDownloadInProgress
{
get
{
return this.installerDownloadInProgress;
}
get => this.installerDownloadInProgress;
set
{
@@ -63,10 +62,7 @@ namespace FileConverter
[XmlIgnore]
public int InstallerDownloadProgress
{
get
{
return this.installerDownloadProgress;
}
get => this.installerDownloadProgress;
set
{
@@ -78,22 +74,10 @@ namespace FileConverter
}
[XmlIgnore]
public bool InstallerDownloadDone
{
get
{
return !this.InstallerDownloadInProgress && this.InstallerDownloadProgress == 100;
}
}
public bool InstallerDownloadDone => !this.InstallerDownloadInProgress && this.InstallerDownloadProgress == 100;
[XmlIgnore]
public bool InstallerDownloadNotStarted
{
get
{
return !this.InstallerDownloadInProgress && this.InstallerDownloadProgress == 0;
}
}
public bool InstallerDownloadNotStarted => !this.InstallerDownloadInProgress && this.InstallerDownloadProgress == 0;
[XmlIgnore]
public bool NeedToUpgrade
@@ -101,11 +85,5 @@ namespace FileConverter
get;
set;
}
[NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}
@@ -1,210 +0,0 @@
// <copyright file="Settings.Settings.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter
{
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Xml.Serialization;
public partial class Settings : IXmlSerializable
{
public const int Version = 4;
private bool exitApplicationWhenConversionsFinished = true;
private float durationBetweenEndOfConversionsAndApplicationExit = 3f;
private ObservableCollection<ConversionPreset> conversionPresets = new ObservableCollection<ConversionPreset>();
private bool checkUpgradeAtStartup = true;
private CultureInfo applicationLanguage;
private int maximumNumberOfSimultaneousConversions;
[XmlAttribute]
public int SerializationVersion
{
get;
set;
} = Version;
[XmlIgnore]
public CultureInfo ApplicationLanguage
{
get
{
return this.applicationLanguage;
}
set
{
if (this.applicationLanguage != null && this.applicationLanguage.Equals(value))
{
return;
}
this.applicationLanguage = value;
if (this.applicationLanguage != null)
{
System.Threading.Thread.CurrentThread.CurrentCulture = this.applicationLanguage;
System.Threading.Thread.CurrentThread.CurrentUICulture = this.applicationLanguage;
}
this.OnPropertyChanged();
}
}
[XmlElement]
public string ApplicationLanguageName
{
get
{
if (this.ApplicationLanguage == null)
{
return string.Empty;
}
return this.ApplicationLanguage.Name;
}
set
{
if (string.IsNullOrEmpty(value))
{
this.ApplicationLanguage = null;
return;
}
this.ApplicationLanguage = CultureInfo.GetCultureInfo(value);
}
}
[XmlIgnore]
public ObservableCollection<ConversionPreset> ConversionPresets
{
get
{
return this.conversionPresets;
}
set
{
this.conversionPresets = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public bool ExitApplicationWhenConversionsFinished
{
get
{
return this.exitApplicationWhenConversionsFinished;
}
set
{
this.exitApplicationWhenConversionsFinished = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public float DurationBetweenEndOfConversionsAndApplicationExit
{
get
{
return this.durationBetweenEndOfConversionsAndApplicationExit;
}
set
{
this.durationBetweenEndOfConversionsAndApplicationExit = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public int MaximumNumberOfSimultaneousConversions
{
get
{
return this.maximumNumberOfSimultaneousConversions;
}
set
{
this.maximumNumberOfSimultaneousConversions = value;
this.OnPropertyChanged();
}
}
[XmlElement("ConversionPreset")]
public ConversionPreset[] SerializableConversionPresets
{
get
{
return this.ConversionPresets.ToArray();
}
set
{
for (int index = 0; index < value.Length; index++)
{
this.ConversionPresets.Add(value[index]);
}
}
}
[XmlElement]
public bool CheckUpgradeAtStartup
{
get
{
return this.checkUpgradeAtStartup;
}
set
{
this.checkUpgradeAtStartup = value;
this.OnPropertyChanged();
}
}
public void OnDeserializationComplete()
{
this.DurationBetweenEndOfConversionsAndApplicationExit = System.Math.Max(0, System.Math.Min(10, this.DurationBetweenEndOfConversionsAndApplicationExit));
for (int index = 0; index < this.ConversionPresets.Count; index++)
{
this.ConversionPresets[index].OnDeserializationComplete();
}
// Initialize application if it was not deserialized from the settings.
if (this.ApplicationLanguage == null)
{
CultureInfo bestCandidate = null;
CultureInfo currentUICulture = System.Threading.Thread.CurrentThread.CurrentUICulture;
foreach (CultureInfo culture in Helpers.GetSupportedCultures())
{
if (culture.Equals(currentUICulture))
{
bestCandidate = culture;
break;
}
else if (culture.Equals(currentUICulture.Parent))
{
bestCandidate = culture;
}
}
if (bestCandidate != null)
{
this.ApplicationLanguage = bestCandidate;
}
else
{
Diagnostics.Debug.Log("Can't find supported culture info for culture {0}. Fallback to default culture.", currentUICulture);
this.ApplicationLanguage = CultureInfo.GetCultureInfo("en");
}
}
}
}
}
+219 -461
View File
@@ -2,275 +2,30 @@
namespace FileConverter
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Principal;
using System.Windows;
using System.Xml.Serialization;
using System.Collections.ObjectModel;
using System.Globalization;
using FileConverter.Annotations;
using Microsoft.Win32;
using CommunityToolkit.Mvvm.ComponentModel;
[XmlRoot]
[XmlType]
public partial class Settings : INotifyPropertyChanged, IDataErrorInfo
public class Settings : ObservableObject, IXmlSerializable
{
private const char PresetSeparator = ';';
public const int Version = 4;
public event PropertyChangedEventHandler PropertyChanged;
[XmlIgnore]
public string Error
{
get
{
for (int index = 0; index < this.ConversionPresets.Count; index++)
{
string error = this.ConversionPresets[index].Error;
if (!string.IsNullOrEmpty(error))
{
return error;
}
}
return string.Empty;
}
}
private static bool IsInAdmininstratorPrivileges
{
get
{
return new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
}
}
[XmlIgnore]
public string this[string columnName]
{
get
{
return this.Error;
}
}
public static void ApplyTemporarySettings()
{
// Load temporary settings.
string temporaryFilePath = Settings.GetUserSettingsTemporaryFilePath();
if (!File.Exists(temporaryFilePath))
{
return;
}
Settings settings = null;
XmlHelpers.LoadFromFile("Settings", temporaryFilePath, out settings);
RegistryKey registryKey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\FileConverter");
if (registryKey == null)
{
Diagnostics.Debug.LogError("Can't apply settings in registry. (code 0x03)");
return;
}
// Compute the registry entries data from settings.
Dictionary<string, List<string>> registryEntries = ComputeRegistryEntriesFromConvertionPresets(settings.ConversionPresets);
bool succeed = Settings.ApplyRegistryModifications(registryEntries);
if (succeed)
{
// Copy temporary settings file to the real settings file.
string userFilePath = Settings.GetUserSettingsFilePath();
File.Copy(temporaryFilePath, userFilePath, true);
File.Delete(temporaryFilePath);
}
}
public static void PostInstallationInitialization()
{
Settings defaultSettings = null;
// Load the default settings.
string defaultFilePath = Settings.GetDefaultSettingsFilePath();
if (File.Exists(defaultFilePath))
{
try
{
XmlHelpers.LoadFromFile<Settings>("Settings", defaultFilePath, out defaultSettings);
}
catch (Exception exception)
{
Diagnostics.Debug.LogError("Fail to load file converter default settings. {0}", exception.Message);
}
}
else
{
Diagnostics.Debug.LogError("Default settings not found at path {0}. You should try to reinstall the application.", defaultFilePath);
}
// Load user settings if exists.
Settings userSettings = null;
string userFilePath = Settings.GetUserSettingsFilePath();
if (File.Exists(userFilePath))
{
try
{
XmlHelpers.LoadFromFile<Settings>("Settings", userFilePath, out userSettings);
}
catch (Exception)
{
System.IO.File.Delete(userFilePath);
}
if (userSettings != null)
{
if (userSettings.SerializationVersion != Version)
{
Settings.MigrateSettingsToCurrentVersion(userSettings);
Diagnostics.Debug.Log("File converter settings have been imported from version {0} to version {1}.", userSettings.SerializationVersion, Version);
userSettings.SerializationVersion = Version;
}
// Remove default settings.
if (userSettings.ConversionPresets != null)
{
for (int index = userSettings.ConversionPresets.Count - 1; index >= 0; index--)
{
if (userSettings.ConversionPresets[index].IsDefaultSettings)
{
userSettings.ConversionPresets.RemoveAt(index);
}
}
}
}
}
Settings settings = userSettings != null ? userSettings.Merge(defaultSettings) : defaultSettings;
settings.Save();
}
public static Settings Load()
{
Settings settings = null;
string userFilePath = Settings.GetUserSettingsFilePath();
if (File.Exists(userFilePath))
{
Settings userSettings = null;
try
{
XmlHelpers.LoadFromFile<Settings>("Settings", userFilePath, out userSettings);
settings = userSettings;
}
catch (Exception)
{
MessageBoxResult messageBoxResult =
MessageBox.Show(
"Can't load file converter user settings. Do you want to fall back to default settings ?",
"Error",
MessageBoxButton.YesNo,
MessageBoxImage.Exclamation);
if (messageBoxResult == MessageBoxResult.Yes)
{
System.IO.File.Delete(userFilePath);
return Settings.Load();
}
else if (messageBoxResult == MessageBoxResult.No)
{
return null;
}
}
if (userSettings != null && userSettings.SerializationVersion != Version)
{
Settings.MigrateSettingsToCurrentVersion(userSettings);
Diagnostics.Debug.Log("File converter settings has been imported from version {0} to version {1}.", userSettings.SerializationVersion, Version);
userSettings.SerializationVersion = Version;
userSettings.Save();
}
}
else
{
// Load the default settings.
string defaultFilePath = Settings.GetDefaultSettingsFilePath();
if (File.Exists(defaultFilePath))
{
Settings defaultSettings = null;
try
{
XmlHelpers.LoadFromFile<Settings>("Settings", defaultFilePath, out defaultSettings);
settings = defaultSettings;
}
catch (Exception exception)
{
Diagnostics.Debug.LogError("Fail to load file converter default settings. {0}", exception.Message);
}
}
else
{
Diagnostics.Debug.LogError("Default settings not found at path {0}. You should try to reinstall the application.", defaultFilePath);
}
}
return settings;
}
private bool exitApplicationWhenConversionsFinished = false;
private float durationBetweenEndOfConversionsAndApplicationExit = 3f;
private ObservableCollection<ConversionPreset> conversionPresets = new ObservableCollection<ConversionPreset>();
private bool checkUpgradeAtStartup = true;
private CultureInfo applicationLanguage;
private int maximumNumberOfSimultaneousConversions;
private bool copyFilesInClipboardAfterConversion = false;
public ConversionPreset GetPresetFromName(string presetName)
{
return this.conversionPresets.FirstOrDefault(match => match.Name == presetName);
}
public void Save()
{
this.Clean();
// Save the settings in a temporary files (we'll write the settings file when we'll succeed to write the registry keys).
string temporaryFilePath = Settings.GetUserSettingsTemporaryFilePath();
XmlHelpers.SaveToFile("Settings", temporaryFilePath, this);
// Compute the registry entries data from settings.
Dictionary<string, List<string>> registryEntries = Settings.ComputeRegistryEntriesFromConvertionPresets(this.ConversionPresets);
// Detect if existing registry configuration need to be modified.
bool registryNeedModifications = Settings.IsRegistryNeedModifications(registryEntries);
if (registryNeedModifications)
{
// Write the settings in registry.
if (Settings.IsInAdmininstratorPrivileges)
{
// We are in admin mode, write registry ...
bool succeed = Settings.ApplyRegistryModifications(registryEntries);
if (succeed)
{
// ... and copy temporary settings file to the real settings file.
string userFilePath = Settings.GetUserSettingsFilePath();
File.Copy(temporaryFilePath, userFilePath, true);
File.Delete(temporaryFilePath);
}
}
else
{
// Run the application in admin mode in order to perform modifications.
Settings.RunSaveInAdminMode();
}
}
else
{
// Copy temporary settings file to the real settings file.
string userFilePath = Settings.GetUserSettingsFilePath();
File.Copy(temporaryFilePath, userFilePath, true);
File.Delete(temporaryFilePath);
}
return this.conversionPresets.FirstOrDefault(match => match.FullName == presetName);
}
public void Clean()
@@ -280,208 +35,8 @@ namespace FileConverter
this.ConversionPresets[index].Clean();
}
}
private static bool ApplyRegistryModifications(Dictionary<string, List<string>> registryEntries)
{
if (!Settings.IsInAdmininstratorPrivileges)
{
MessageBox.Show("Can't apply settings in registry because the application is not in administrator privileges. (code 0x04)", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
RegistryKey registryKey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\FileConverter", RegistryKeyPermissionCheck.ReadWriteSubTree);
if (registryKey == null)
{
MessageBox.Show("Can't apply settings in registry. (code 0x05)", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
// Delete previous settings.
string[] subKeyNames = registryKey.GetSubKeyNames();
for (int index = 0; index < subKeyNames.Length; index++)
{
try
{
registryKey.DeleteSubKey(subKeyNames[index]);
}
catch (Exception)
{
MessageBox.Show("Can't apply settings in registry. (code 0x06)", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
}
// Apply settings in registry.
foreach (KeyValuePair<string, List<string>> registryEntry in registryEntries)
{
string presets = string.Empty;
for (int index = 0; index < registryEntry.Value.Count; index++)
{
if (index > 0)
{
presets += ";";
}
presets += registryEntry.Value[index];
}
RegistryKey subKey = null;
try
{
subKey = registryKey.CreateSubKey(registryEntry.Key);
}
catch (Exception exception)
{
Diagnostics.Debug.Log(exception.Message);
}
if (subKey == null)
{
MessageBox.Show("Can't apply settings in registry. (code 0x07)", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return false;
}
subKey.SetValue("Presets", presets);
}
return true;
}
private static Dictionary<string, List<string>> ComputeRegistryEntriesFromConvertionPresets(ICollection<ConversionPreset> conversionPresets)
{
Dictionary<string, List<string>> registryEntries = new Dictionary<string, List<string>>();
foreach (ConversionPreset conversionPreset in conversionPresets)
{
List<string> inputTypes = conversionPreset.InputTypes;
for (int inputIndex = 0; inputIndex < inputTypes.Count; inputIndex++)
{
string inputType = inputTypes[inputIndex].ToLowerInvariant();
if (!registryEntries.ContainsKey(inputType))
{
registryEntries.Add(inputType, new List<string>());
}
registryEntries[inputType].Add(conversionPreset.Name);
}
}
return registryEntries;
}
private static string GetDefaultSettingsFilePath()
{
string path = Assembly.GetEntryAssembly().Location;
path = Path.GetDirectoryName(path);
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
path = Path.Combine(path, "Settings.default.xml");
return path;
}
private static string GetUserSettingsFilePath()
{
string path = PathHelpers.GetUserDataFolderPath();
path = Path.Combine(path, "Settings.user.xml");
return path;
}
private static string GetUserSettingsTemporaryFilePath()
{
string path = PathHelpers.GetUserDataFolderPath();
path = Path.Combine(path, "Settings.temp.xml");
return path;
}
private static bool IsRegistryNeedModifications(Dictionary<string, List<string>> registryEntries)
{
// Compare to registry entries.
RegistryKey registryKey = Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\FileConverter");
if (registryKey == null)
{
return true;
}
string[] subKeyNames = registryKey.GetSubKeyNames();
if (subKeyNames.Length == registryEntries.Count)
{
for (int index = 0; index < subKeyNames.Length; index++)
{
string subKeyName = subKeyNames[index];
if (!registryEntries.ContainsKey(subKeyName))
{
return true;
}
List<string> presetsList = registryEntries[subKeyName];
RegistryKey subKey = registryKey.OpenSubKey(subKeyName);
if (subKey == null)
{
return true;
}
string presetsString = subKey.GetValue("Presets", string.Empty) as string;
string[] presets = presetsString != null ? presetsString.Split(Settings.PresetSeparator) : new string[0];
if (presets.Length != presetsList.Count)
{
return true;
}
for (int presetIndex = 0; presetIndex < presets.Length; presetIndex++)
{
if (presetsList[presetIndex] != presets[presetIndex])
{
return true;
}
}
}
}
else
{
return true;
}
return false;
}
private static void RunSaveInAdminMode()
{
ProcessStartInfo processStartInfo = new ProcessStartInfo(Assembly.GetEntryAssembly().Location, "--apply-settings")
{
UseShellExecute = true,
Verb = "runas", // indicates to elevate privileges
};
Process process = new Process
{
EnableRaisingEvents = true, // enable WaitForExit()
StartInfo = processStartInfo
};
try
{
process.Start();
process.WaitForExit();
}
catch (Exception)
{
MessageBox.Show("Can't apply settings in registry because the application has no administrator privileges. (code 0x08)", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
return;
}
}
[NotifyPropertyChangedInvocator]
private void OnPropertyChanged([CallerMemberName] string propertyName = null)
{
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
private Settings Merge(Settings settings)
public Settings Merge(Settings settings)
{
if (settings == null || settings.conversionPresets == null)
{
@@ -491,7 +46,7 @@ namespace FileConverter
for (int index = 0; index < settings.conversionPresets.Count; index++)
{
ConversionPreset conversionPreset = settings.conversionPresets[index];
if (this.conversionPresets.Any(match => match.Name == conversionPreset.Name))
if (this.conversionPresets.Any(match => match.FullName == conversionPreset.FullName))
{
continue;
}
@@ -501,5 +56,208 @@ namespace FileConverter
return this;
}
[XmlAttribute]
public int SerializationVersion
{
get;
set;
} = Version;
[XmlIgnore]
public CultureInfo ApplicationLanguage
{
get
{
return this.applicationLanguage;
}
set
{
if (this.applicationLanguage != null && this.applicationLanguage.Equals(value))
{
return;
}
this.applicationLanguage = value;
if (this.applicationLanguage != null)
{
System.Threading.Thread.CurrentThread.CurrentCulture = this.applicationLanguage;
System.Threading.Thread.CurrentThread.CurrentUICulture = this.applicationLanguage;
}
this.OnPropertyChanged();
}
}
[XmlElement]
public string ApplicationLanguageName
{
get
{
if (this.ApplicationLanguage == null)
{
return string.Empty;
}
return this.ApplicationLanguage.Name;
}
set
{
if (string.IsNullOrEmpty(value))
{
this.ApplicationLanguage = null;
return;
}
this.ApplicationLanguage = CultureInfo.GetCultureInfo(value);
}
}
[XmlIgnore]
public ObservableCollection<ConversionPreset> ConversionPresets
{
get
{
return this.conversionPresets;
}
set
{
this.conversionPresets = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public bool ExitApplicationWhenConversionsFinished
{
get
{
return this.exitApplicationWhenConversionsFinished;
}
set
{
this.exitApplicationWhenConversionsFinished = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public float DurationBetweenEndOfConversionsAndApplicationExit
{
get
{
return this.durationBetweenEndOfConversionsAndApplicationExit;
}
set
{
this.durationBetweenEndOfConversionsAndApplicationExit = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public int MaximumNumberOfSimultaneousConversions
{
get
{
return this.maximumNumberOfSimultaneousConversions;
}
set
{
this.maximumNumberOfSimultaneousConversions = value;
this.OnPropertyChanged();
}
}
[XmlElement("ConversionPreset")]
public ConversionPreset[] SerializableConversionPresets
{
get
{
return this.ConversionPresets.ToArray();
}
set
{
for (int index = 0; index < value.Length; index++)
{
this.ConversionPresets.Add(value[index]);
}
}
}
[XmlElement]
public bool CheckUpgradeAtStartup
{
get
{
return this.checkUpgradeAtStartup;
}
set
{
this.checkUpgradeAtStartup = value;
this.OnPropertyChanged();
}
}
[XmlElement]
public bool CopyFilesInClipboardAfterConversion
{
get
{
return this.copyFilesInClipboardAfterConversion;
}
set
{
this.copyFilesInClipboardAfterConversion = value;
this.OnPropertyChanged();
}
}
public void OnDeserializationComplete()
{
this.DurationBetweenEndOfConversionsAndApplicationExit = System.Math.Max(0, System.Math.Min(10, this.DurationBetweenEndOfConversionsAndApplicationExit));
for (int index = 0; index < this.ConversionPresets.Count; index++)
{
this.ConversionPresets[index].OnDeserializationComplete();
}
// Initialize application if it was not deserialized from the settings.
if (this.ApplicationLanguage == null)
{
CultureInfo bestCandidate = null;
CultureInfo currentUICulture = System.Threading.Thread.CurrentThread.CurrentUICulture;
foreach (CultureInfo culture in Helpers.GetSupportedCultures())
{
if (culture.Equals(currentUICulture))
{
bestCandidate = culture;
break;
}
else if (culture.Equals(currentUICulture.Parent))
{
bestCandidate = culture;
}
}
if (bestCandidate != null)
{
this.ApplicationLanguage = bestCandidate;
}
else
{
Diagnostics.Debug.Log("Can't find supported culture info for culture {0}. Fallback to default culture.", currentUICulture);
this.ApplicationLanguage = CultureInfo.GetCultureInfo("en");
}
}
}
}
}
File diff suppressed because it is too large. Load diff
@@ -1,156 +0,0 @@
// <copyright file="Helpers.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.Upgrade
{
using System;
using System.IO;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
public static class Helpers
{
#if DEBUG
private const string BaseURI = "https://raw.githubusercontent.com/Tichau/FileConverter/development/";
#else
private const string BaseURI = "https://raw.githubusercontent.com/Tichau/FileConverter/master/";
#endif
private static WebClient webClient = new WebClient();
private static UpgradeVersionDescription currentlyDownloadedVersionDescription;
public delegate void OnUpgradeOperationCompletedEventHandler(UpgradeVersionDescription upgradeVersionDescription);
public static async Task<UpgradeVersionDescription> GetLatestVersionDescriptionAsync(OnUpgradeOperationCompletedEventHandler onGetCompleteDelegate = null)
{
#if BUILD32
Uri uri = new Uri(Helpers.BaseURI + "version (x86).xml");
#else
Uri uri = new Uri(Helpers.BaseURI + "version.xml");
#endif
Stream stream = await Helpers.webClient.OpenReadTaskAsync(uri);
UpgradeVersionDescription upgradeVersionDescription = null;
try
{
XmlRootAttribute xmlRoot = new XmlRootAttribute
{
ElementName = "Version"
};
XmlSerializer serializer = new XmlSerializer(typeof(UpgradeVersionDescription), xmlRoot);
XmlReaderSettings xmlReaderSettings = new XmlReaderSettings
{
IgnoreWhitespace = true,
IgnoreComments = true
};
using (XmlReader xmlReader = XmlReader.Create(stream, xmlReaderSettings))
{
upgradeVersionDescription = (UpgradeVersionDescription)serializer.Deserialize(xmlReader);
}
}
catch (Exception)
{
Diagnostics.Debug.LogError("Error while retrieving change log.");
return null;
}
onGetCompleteDelegate?.Invoke(upgradeVersionDescription);
return upgradeVersionDescription;
}
public static async Task<string> GetChangeLogAsync(UpgradeVersionDescription upgradeVersionDescription, OnUpgradeOperationCompletedEventHandler onGetCompleteDelegate = null)
{
if (upgradeVersionDescription == null)
{
throw new ArgumentNullException(nameof(upgradeVersionDescription));
}
Uri uri = new Uri(Helpers.BaseURI + "CHANGELOG.md");
Stream stream = await Helpers.webClient.OpenReadTaskAsync(uri);
try
{
using (StreamReader reader = new StreamReader(stream))
{
upgradeVersionDescription.ChangeLog = reader.ReadToEnd();
}
}
catch (Exception)
{
Diagnostics.Debug.LogError("Error while retrieving change log.");
return null;
}
onGetCompleteDelegate?.Invoke(upgradeVersionDescription);
return upgradeVersionDescription.ChangeLog;
}
public static async Task DownloadInstallerAsync(UpgradeVersionDescription upgradeVersionDescription)
{
if (upgradeVersionDescription == null)
{
throw new ArgumentNullException("upgradeVersionDescription");
}
if (Helpers.currentlyDownloadedVersionDescription != null)
{
throw new Exception("The installer download is currently in progress.");
}
Uri uri = new Uri(upgradeVersionDescription.InstallerURL);
string fileName = "FileConverter-setup.msi";
Regex retrieveFileNameRegex = new Regex("/([^/]*)");
MatchCollection matchCollection = retrieveFileNameRegex.Matches(upgradeVersionDescription.InstallerURL);
if (matchCollection.Count > 0)
{
Match match = matchCollection[matchCollection.Count - 1];
if (match.Groups.Count > 1)
{
fileName = match.Groups[1].Value;
}
}
string tempPath = System.IO.Path.GetTempPath();
string installerPath = System.IO.Path.Combine(tempPath, fileName);
upgradeVersionDescription.InstallerPath = installerPath;
upgradeVersionDescription.InstallerDownloadInProgress = true;
upgradeVersionDescription.InstallerDownloadProgress = 0;
Helpers.currentlyDownloadedVersionDescription = upgradeVersionDescription;
Helpers.webClient.DownloadProgressChanged += Helpers.WebClient_DownloadProgressChanged;
Helpers.webClient.DownloadFileCompleted += Helpers.WebClient_DownloadFileCompleted;
Task downloadTask = Helpers.webClient.DownloadFileTaskAsync(uri, installerPath);
}
private static void WebClient_DownloadFileCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
{
Helpers.webClient.DownloadProgressChanged -= WebClient_DownloadProgressChanged;
Helpers.webClient.DownloadFileCompleted -= WebClient_DownloadFileCompleted;
if (Helpers.currentlyDownloadedVersionDescription != null)
{
Helpers.currentlyDownloadedVersionDescription.InstallerDownloadProgress = 100;
Helpers.currentlyDownloadedVersionDescription.InstallerDownloadInProgress = false;
Helpers.currentlyDownloadedVersionDescription = null;
}
}
private static void WebClient_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs eventArgs)
{
if (Helpers.currentlyDownloadedVersionDescription != null)
{
Helpers.currentlyDownloadedVersionDescription.InstallerDownloadProgress = eventArgs.ProgressPercentage;
}
}
}
}
@@ -17,7 +17,7 @@ namespace FileConverter.ValueConverters
FileConverter.Version version = (FileConverter.Version)value;
return string.Format("File Converter v{0}", version.ToString());
return $"File Converter v{version}";
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
@@ -17,7 +17,7 @@ namespace FileConverter.ValueConverters
double bitrate = (double)value;
return string.Format("{0} kbit/s", bitrate.ToString("0"));
return $"{bitrate:0} kbit/s";
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
@@ -0,0 +1,59 @@
// <copyright file="ChangelogConverter.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.ValueConverters
{
using System;
using System.Globalization;
using System.Windows.Data;
using FileConverter.Diagnostics;
public class ChangelogConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
bool header = false;
if (parameter != null)
{
switch (parameter)
{
case string s:
{
if (!bool.TryParse(s, out header))
{
Debug.LogError($"Invalid parameter {s}");
}
break;
}
case bool b:
header = b;
break;
default:
Debug.LogError($"Invalid parameter {parameter}");
break;
}
}
string content = string.Empty;
if (header)
{
content += Properties.Resources.LicenceHeader1 + "\n";
content += Properties.Resources.LicenceHeader2 + "\n\n";
content += Properties.Resources.LicenceHeader3 + "\n\n";
}
string changelog = (string)value;
content += changelog;
return content;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -0,0 +1,52 @@
// <copyright file="ConversionJobToEstimatedRemainingDuration.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.ValueConverters
{
using System;
using System.Globalization;
using System.Windows.Data;
using ConversionJobs;
public class ConversionJobToEstimatedRemainingDuration : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
{
if (values.Length != 3)
{
return string.Empty;
}
ConversionState state = (ConversionState)values[0];
DateTime startTime = (DateTime)values[1];
float progress = (float)values[2];
if (progress <= 0f)
{
return string.Empty;
}
if (state == ConversionState.Unknown ||
state == ConversionState.Ready ||
state == ConversionState.Failed ||
state == ConversionState.Done)
{
return string.Empty;
}
TimeSpan elapsedTime = DateTime.Now - startTime;
if (elapsedTime.TotalSeconds < 10f)
{
return string.Empty;
}
double remainingTimeInSeconds = (1 - progress) * elapsedTime.TotalSeconds / progress;
TimeSpan remainingTime = TimeSpan.FromSeconds(Math.Floor(remainingTimeInSeconds));
return "~" + remainingTime.ToString("g");
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -0,0 +1,48 @@
// <copyright file="ConversionJobsToProgressState.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.ValueConverters
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Shell;
using FileConverter.ConversionJobs;
public class ConversionJobsToProgressState : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (!(value is IEnumerable<ConversionJob>))
{
return TaskbarItemProgressState.None;
}
IEnumerable<ConversionJob> jobs = (IEnumerable<ConversionJob>)value;
TaskbarItemProgressState progressState = TaskbarItemProgressState.None;
foreach (ConversionJob job in jobs)
{
if (job.State == ConversionState.Failed)
{
progressState = TaskbarItemProgressState.Error;
break;
}
if (job.State == ConversionState.InProgress)
{
progressState = TaskbarItemProgressState.Normal;
break;
}
}
return progressState;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -0,0 +1,40 @@
// <copyright file="ConversionJobsToProgressValue.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.ValueConverters
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Shell;
using FileConverter.ConversionJobs;
public class ConversionJobsToProgressValue : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (!(value is IEnumerable<ConversionJob>))
{
return TaskbarItemProgressState.None;
}
IEnumerable<ConversionJob> jobs = (IEnumerable<ConversionJob>)value;
int jobCount = 0;
float progressValue = 0f;
foreach (ConversionJob job in jobs)
{
progressValue += job.Progress;
jobCount++;
}
return jobCount > 0 ? progressValue / jobCount : 0f;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -0,0 +1,39 @@
// <copyright file="ConversionSettingsToString.cs" company="AAllard">License: http://www.gnu.org/licenses/gpl.html GPL version 3.</copyright>
namespace FileConverter.ValueConverters
{
using System;
using System.Globalization;
using System.Windows.Data;
public class ConversionSettingsRelevant : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
{
return null;
}
if (!(value is IConversionSettings))
{
throw new ArgumentException("The value must be a conversion preset array.");
}
IConversionSettings settings = (IConversionSettings)value;
string key = parameter as string;
if (key == null)
{
throw new ArgumentException("The parameter must be a string value.");
}
return settings.ContainsKey(key);
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -5,7 +5,6 @@ namespace FileConverter.ValueConverters
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
using FileConverter.ConversionJobs;
@@ -13,60 +12,15 @@ namespace FileConverter.ValueConverters
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (!(value is ConversionJob.ConversionState))
if (!(value is ConversionState))
{
throw new ArgumentException("The value must be a conversion state.");
}
ConversionJob.ConversionState conversionState = (ConversionJob.ConversionState)value;
ConversionState conversionState = (ConversionState)value;
string type = parameter as string;
if (type == "Background")
{
switch (conversionState)
{
case ConversionJob.ConversionState.Unknown:
return new SolidColorBrush(Color.FromRgb(230, 230, 230));
case ConversionJob.ConversionState.Ready:
return new SolidColorBrush(Color.FromRgb(230, 230, 230));
case ConversionJob.ConversionState.InProgress:
return new SolidColorBrush(Color.FromRgb(250, 236, 179));
case ConversionJob.ConversionState.Done:
return new SolidColorBrush(Color.FromRgb(200, 230, 201));
case ConversionJob.ConversionState.Failed:
return new SolidColorBrush(Color.FromRgb(255, 205, 210));
}
}
else if (type == "Foreground")
{
switch (conversionState)
{
case ConversionJob.ConversionState.Unknown:
return new SolidColorBrush(Color.FromRgb(128, 128, 128));
case ConversionJob.ConversionState.Ready:
return new SolidColorBrush(Color.FromRgb(32, 32, 32));
case ConversionJob.ConversionState.InProgress:
return new SolidColorBrush(Color.FromRgb(255, 160, 0));
case ConversionJob.ConversionState.Done:
return new SolidColorBrush(Color.FromRgb(56, 142, 60));
case ConversionJob.ConversionState.Failed:
return new SolidColorBrush(Color.FromRgb(255, 82, 82));
}
}
else
{
throw new SystemException("Unknown type.");
}
throw new SystemException("Unknown state.");
return Application.Current.Resources[$"{conversionState}{type}Brush"];
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
@@ -10,18 +10,35 @@ namespace FileConverter.ValueConverters.Generic
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (!(value is bool))
if (value != null && !(value is bool))
{
throw new ArgumentException("The value must be a boolean.");
}
bool booleanValue = (bool?) value ?? false;
string stringParameter = parameter as string;
string falseResult = stringParameter ?? "Hidden";
string trueResult = "Visible";
string falseResult = "Hidden";
if (!string.IsNullOrEmpty(stringParameter))
{
string[] results = stringParameter.Split(';');
Diagnostics.Debug.Assert(results.Length <= 2, "results.Length <= 2");
bool booleanValue = (bool)value;
if (results.Length >= 1)
{
falseResult = results[0];
}
return booleanValue ? "Visible" : falseResult;
if (results.Length >= 2)
{
trueResult = results[1];
}
}
return booleanValue ? trueResult : falseResult;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
@@ -17,7 +17,7 @@ namespace FileConverter.ValueConverters.Generic
double doubleValue = (double)value;
return string.Format("{0} second{1}", doubleValue.ToString("0.#"), doubleValue >= 2 ? "s" : string.Empty);
return $"{doubleValue:0.#} second{(doubleValue >= 2 ? "s" : string.Empty)}";
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
@@ -0,0 +1,45 @@
using System;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Data;
using System.Windows.Media.Imaging;
namespace FileConverter.ValueConverters.Generic
{
/// <summary>
/// Forces the selection of a given size from the ICO file/resource.
/// If the exact size does not exists, selects the closest smaller if possible otherwise closest higher resolution.
/// If no parameter is given, the smallest frame available will be selected
/// </summary>
public class IcoFileSizeSelectorConverter : IValueConverter
{
public virtual object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
var size = string.IsNullOrWhiteSpace(parameter?.ToString()) ? 0 : System.Convert.ToInt32(parameter);
var uri = value?.ToString()?.Trim();
if (string.IsNullOrWhiteSpace(uri))
{
return null;
}
if (!uri.StartsWith("pack:"))
{
uri = $"pack://application:,,,{uri}";
}
var decoder = BitmapDecoder.Create(new Uri(uri), BitmapCreateOptions.DelayCreation, BitmapCacheOption.OnDemand);
var result = decoder.Frames.Where(f => f.Width <= size).OrderByDescending(f => f.Width).FirstOrDefault()
?? decoder.Frames.OrderBy(f => f.Width).FirstOrDefault();
return result;
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();
}
}
}
@@ -12,7 +12,7 @@ namespace FileConverter.ValueConverters.Generic
{
if (value == null)
{
throw new System.ArgumentNullException("value.");
throw new System.ArgumentNullException(nameof(value));
}
string stringValue = value.ToString();
@@ -20,7 +20,7 @@ namespace FileConverter.ValueConverters.Generic
string typeName = parameter as string;
if (typeName == null)
{
throw new ArgumentNullException("parameter", "The parameter must contains the enum type.");
throw new ArgumentNullException(nameof(parameter), "The parameter must contains the enum type.");
}
Type enumType = Type.GetType(typeName);
Loaded 100 of 212 files, more files were not shown because too many files have changed in this diff. Show more