1
0
Fork 0
mirror of https://github.com/wagesj45/butterflow-ui.git synced 2024-12-22 09:12:42 -06:00

Updating Localizations

Added some localized strings and updated the translation files.
This commit is contained in:
Jordan Wages 2018-07-24 23:03:17 -05:00
parent 8cab2cef5c
commit d647ac1b86
8 changed files with 87 additions and 3 deletions

View file

@ -195,6 +195,15 @@ namespace butterflow_ui.Localization {
} }
} }
/// <summary>
/// Looks up a localized string similar to ButterflowUI Configuration File.
/// </summary>
public static string ButterflowUIConfigurationLabel {
get {
return ResourceManager.GetString("ButterflowUIConfigurationLabel", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Cancel. /// Looks up a localized string similar to Cancel.
/// </summary> /// </summary>
@ -753,6 +762,15 @@ namespace butterflow_ui.Localization {
} }
} }
/// <summary>
/// Looks up a localized string similar to Supported File Types.
/// </summary>
public static string SupportedFileTypesLabel {
get {
return ResourceManager.GetString("SupportedFileTypesLabel", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to butterflow-ui. /// Looks up a localized string similar to butterflow-ui.
/// </summary> /// </summary>

View file

@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve"> <data name="VersionLabel" xml:space="preserve">
<value>الإصدار</value> <value>الإصدار</value>
</data> </data>
<data name="ButterflowUIConfigurationLabel" xml:space="preserve">
<value>ButterflowUI ملف التكوين</value>
</data>
<data name="MultipleFilesPreviewWarningLabel" xml:space="preserve">
<value>لا تتوفر إمكانية معاينة الفيديو والقاطع الفرعي عند معالجة ملفات متعددة.</value>
</data>
<data name="MultipleFilesText" xml:space="preserve">
<value>[ملفات متعددة]</value>
</data>
<data name="SupportedFileTypesLabel" xml:space="preserve">
<value>أنواع الملفات المدعومة</value>
</data>
</root> </root>

View file

@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve"> <data name="VersionLabel" xml:space="preserve">
<value>Versión</value> <value>Versión</value>
</data> </data>
<data name="ButterflowUIConfigurationLabel" xml:space="preserve">
<value>Archivo de configuración de ButterflowUI</value>
</data>
<data name="MultipleFilesPreviewWarningLabel" xml:space="preserve">
<value>La vista previa de video y el recorte subregional no están disponibles cuando se procesan varios archivos.</value>
</data>
<data name="MultipleFilesText" xml:space="preserve">
<value>[Varios archivos]</value>
</data>
<data name="SupportedFileTypesLabel" xml:space="preserve">
<value>Tipos de archivos admitidos</value>
</data>
</root> </root>

View file

@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve"> <data name="VersionLabel" xml:space="preserve">
<value>バージョン</value> <value>バージョン</value>
</data> </data>
<data name="ButterflowUIConfigurationLabel" xml:space="preserve">
<value>ButterflowUI構成ファイル</value>
</data>
<data name="MultipleFilesPreviewWarningLabel" xml:space="preserve">
<value>複数のファイルを処理する場合、ビデオのプレビューとサブリージョンのクリッピングは使用できません。</value>
</data>
<data name="MultipleFilesText" xml:space="preserve">
<value>[複数のファイル]</value>
</data>
<data name="SupportedFileTypesLabel" xml:space="preserve">
<value>サポートされているファイルの種類</value>
</data>
</root> </root>

View file

@ -360,10 +360,16 @@
<data name="VersionLabel" xml:space="preserve"> <data name="VersionLabel" xml:space="preserve">
<value>Version</value> <value>Version</value>
</data> </data>
<data name="ButterflowUIConfigurationLabel" xml:space="preserve">
<value>ButterflowUI Configuration File</value>
</data>
<data name="MultipleFilesPreviewWarningLabel" xml:space="preserve"> <data name="MultipleFilesPreviewWarningLabel" xml:space="preserve">
<value>Video previewing and subregion clipping is not available when processing multiple files.</value> <value>Video previewing and subregion clipping is not available when processing multiple files.</value>
</data> </data>
<data name="MultipleFilesText" xml:space="preserve"> <data name="MultipleFilesText" xml:space="preserve">
<value>[Multiple Files]</value> <value>[Multiple Files]</value>
</data> </data>
<data name="SupportedFileTypesLabel" xml:space="preserve">
<value>Supported File Types</value>
</data>
</root> </root>

View file

@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve"> <data name="VersionLabel" xml:space="preserve">
<value>Версия</value> <value>Версия</value>
</data> </data>
<data name="ButterflowUIConfigurationLabel" xml:space="preserve">
<value>Файл конфигурации ButterflowUI</value>
</data>
<data name="MultipleFilesPreviewWarningLabel" xml:space="preserve">
<value>Предварительный просмотр видео и отсечение субрегиона недоступны при обработке нескольких файлов.</value>
</data>
<data name="MultipleFilesText" xml:space="preserve">
<value>[Несколько файлов]</value>
</data>
<data name="SupportedFileTypesLabel" xml:space="preserve">
<value>Поддерживаемые типы файлов</value>
</data>
</root> </root>

View file

@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve"> <data name="VersionLabel" xml:space="preserve">
<value>版</value> <value>版</value>
</data> </data>
<data name="ButterflowUIConfigurationLabel" xml:space="preserve">
<value>ButterflowUI配置文件</value>
</data>
<data name="MultipleFilesPreviewWarningLabel" xml:space="preserve">
<value>处理多个文件时,视频预览和子区域剪辑不可用。</value>
</data>
<data name="MultipleFilesText" xml:space="preserve">
<value>[多个文件]</value>
</data>
<data name="SupportedFileTypesLabel" xml:space="preserve">
<value>支持的文件类型</value>
</data>
</root> </root>

View file

@ -114,7 +114,7 @@ namespace butterflow_ui
{ {
var ofd = new OpenFileDialog(); var ofd = new OpenFileDialog();
ofd.Multiselect = true; ofd.Multiselect = true;
ofd.Filter = "Supported Video Files|" + SUPPORTED_FILE_TYPES; ofd.Filter = Localization.Localization.SupportedFileTypesLabel + "|" + SUPPORTED_FILE_TYPES;
var result = ofd.ShowDialog(this); var result = ofd.ShowDialog(this);
if (result.HasValue && result.Value) if (result.HasValue && result.Value)
@ -365,7 +365,7 @@ namespace butterflow_ui
private void menuOpen_Click(object sender, RoutedEventArgs e) private void menuOpen_Click(object sender, RoutedEventArgs e)
{ {
var ofd = new OpenFileDialog(); var ofd = new OpenFileDialog();
ofd.Filter = "ButterflowUI Configuration|*.bui"; ofd.Filter = Localization.Localization.ButterflowUIConfigurationLabel + "|*.bui";
var result = ofd.ShowDialog(this); var result = ofd.ShowDialog(this);
if (result.HasValue && result.Value) if (result.HasValue && result.Value)
@ -385,7 +385,7 @@ namespace butterflow_ui
private void menuSaveConfiguration_Click(object sender, RoutedEventArgs e) private void menuSaveConfiguration_Click(object sender, RoutedEventArgs e)
{ {
var sfd = new SaveFileDialog(); var sfd = new SaveFileDialog();
sfd.Filter = "ButterflowUI Configuration|*.bui"; sfd.Filter = Localization.Localization.ButterflowUIConfigurationLabel + "|*.bui";
var result = sfd.ShowDialog(this); var result = sfd.ShowDialog(this);
if (result.HasValue && result.Value) if (result.HasValue && result.Value)