From d647ac1b86db7cbada6f5e410cab1f4aa6ff5bfc Mon Sep 17 00:00:00 2001 From: Jordan Wages Date: Tue, 24 Jul 2018 23:03:17 -0500 Subject: [PATCH] Updating Localizations Added some localized strings and updated the translation files. --- .../Localization/Localization.Designer.cs | 18 ++++++++++++++++++ .../Localization/Localization.ar.resx | 12 ++++++++++++ .../Localization/Localization.es.resx | 12 ++++++++++++ .../Localization/Localization.ja.resx | 12 ++++++++++++ butterflow-ui/Localization/Localization.resx | 6 ++++++ .../Localization/Localization.ru.resx | 12 ++++++++++++ .../Localization/Localization.zh-CN.resx | 12 ++++++++++++ butterflow-ui/MainWindow.xaml.cs | 6 +++--- 8 files changed, 87 insertions(+), 3 deletions(-) diff --git a/butterflow-ui/Localization/Localization.Designer.cs b/butterflow-ui/Localization/Localization.Designer.cs index ce4094f..9669893 100644 --- a/butterflow-ui/Localization/Localization.Designer.cs +++ b/butterflow-ui/Localization/Localization.Designer.cs @@ -195,6 +195,15 @@ namespace butterflow_ui.Localization { } } + /// + /// Looks up a localized string similar to ButterflowUI Configuration File. + /// + public static string ButterflowUIConfigurationLabel { + get { + return ResourceManager.GetString("ButterflowUIConfigurationLabel", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cancel. /// @@ -753,6 +762,15 @@ namespace butterflow_ui.Localization { } } + /// + /// Looks up a localized string similar to Supported File Types. + /// + public static string SupportedFileTypesLabel { + get { + return ResourceManager.GetString("SupportedFileTypesLabel", resourceCulture); + } + } + /// /// Looks up a localized string similar to butterflow-ui. /// diff --git a/butterflow-ui/Localization/Localization.ar.resx b/butterflow-ui/Localization/Localization.ar.resx index 4357097..3e028f4 100644 --- a/butterflow-ui/Localization/Localization.ar.resx +++ b/butterflow-ui/Localization/Localization.ar.resx @@ -360,4 +360,16 @@ الإصدار + + ButterflowUI ملف التكوين + + + لا تتوفر إمكانية معاينة الفيديو والقاطع الفرعي عند معالجة ملفات متعددة. + + + [ملفات متعددة] + + + أنواع الملفات المدعومة + \ No newline at end of file diff --git a/butterflow-ui/Localization/Localization.es.resx b/butterflow-ui/Localization/Localization.es.resx index 0c92876..72f2fe7 100644 --- a/butterflow-ui/Localization/Localization.es.resx +++ b/butterflow-ui/Localization/Localization.es.resx @@ -360,4 +360,16 @@ Versión + + Archivo de configuración de ButterflowUI + + + La vista previa de video y el recorte subregional no están disponibles cuando se procesan varios archivos. + + + [Varios archivos] + + + Tipos de archivos admitidos + \ No newline at end of file diff --git a/butterflow-ui/Localization/Localization.ja.resx b/butterflow-ui/Localization/Localization.ja.resx index 444ed14..d64fb34 100644 --- a/butterflow-ui/Localization/Localization.ja.resx +++ b/butterflow-ui/Localization/Localization.ja.resx @@ -360,4 +360,16 @@ バージョン + + ButterflowUI構成ファイル + + + 複数のファイルを処理する場合、ビデオのプレビューとサブリージョンのクリッピングは使用できません。 + + + [複数のファイル] + + + サポートされているファイルの種類 + \ No newline at end of file diff --git a/butterflow-ui/Localization/Localization.resx b/butterflow-ui/Localization/Localization.resx index 6e4e854..8b54f09 100644 --- a/butterflow-ui/Localization/Localization.resx +++ b/butterflow-ui/Localization/Localization.resx @@ -360,10 +360,16 @@ Version + + ButterflowUI Configuration File + Video previewing and subregion clipping is not available when processing multiple files. [Multiple Files] + + Supported File Types + \ No newline at end of file diff --git a/butterflow-ui/Localization/Localization.ru.resx b/butterflow-ui/Localization/Localization.ru.resx index faa3d6f..ddeeacb 100644 --- a/butterflow-ui/Localization/Localization.ru.resx +++ b/butterflow-ui/Localization/Localization.ru.resx @@ -360,4 +360,16 @@ Версия + + Файл конфигурации ButterflowUI + + + Предварительный просмотр видео и отсечение субрегиона недоступны при обработке нескольких файлов. + + + [Несколько файлов] + + + Поддерживаемые типы файлов + \ No newline at end of file diff --git a/butterflow-ui/Localization/Localization.zh-CN.resx b/butterflow-ui/Localization/Localization.zh-CN.resx index ccf8126..89fb5fb 100644 --- a/butterflow-ui/Localization/Localization.zh-CN.resx +++ b/butterflow-ui/Localization/Localization.zh-CN.resx @@ -360,4 +360,16 @@ + + ButterflowUI配置文件 + + + 处理多个文件时,视频预览和子区域剪辑不可用。 + + + [多个文件] + + + 支持的文件类型 + \ No newline at end of file diff --git a/butterflow-ui/MainWindow.xaml.cs b/butterflow-ui/MainWindow.xaml.cs index e77cdeb..b921f98 100644 --- a/butterflow-ui/MainWindow.xaml.cs +++ b/butterflow-ui/MainWindow.xaml.cs @@ -114,7 +114,7 @@ namespace butterflow_ui { var ofd = new OpenFileDialog(); ofd.Multiselect = true; - ofd.Filter = "Supported Video Files|" + SUPPORTED_FILE_TYPES; + ofd.Filter = Localization.Localization.SupportedFileTypesLabel + "|" + SUPPORTED_FILE_TYPES; var result = ofd.ShowDialog(this); if (result.HasValue && result.Value) @@ -365,7 +365,7 @@ namespace butterflow_ui private void menuOpen_Click(object sender, RoutedEventArgs e) { var ofd = new OpenFileDialog(); - ofd.Filter = "ButterflowUI Configuration|*.bui"; + ofd.Filter = Localization.Localization.ButterflowUIConfigurationLabel + "|*.bui"; var result = ofd.ShowDialog(this); if (result.HasValue && result.Value) @@ -385,7 +385,7 @@ namespace butterflow_ui private void menuSaveConfiguration_Click(object sender, RoutedEventArgs e) { var sfd = new SaveFileDialog(); - sfd.Filter = "ButterflowUI Configuration|*.bui"; + sfd.Filter = Localization.Localization.ButterflowUIConfigurationLabel + "|*.bui"; var result = sfd.ShowDialog(this); if (result.HasValue && result.Value)