Skip to content

Commit

Permalink
Updating Localizations
Browse files Browse the repository at this point in the history
Added some localized strings and updated the translation files.
  • Loading branch information
wagesj45 committed Jul 25, 2018
1 parent 8cab2ce commit d647ac1
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 3 deletions.
18 changes: 18 additions & 0 deletions butterflow-ui/Localization/Localization.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions butterflow-ui/Localization/Localization.ar.resx
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve">
<value>الإصدار</value>
</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>
12 changes: 12 additions & 0 deletions butterflow-ui/Localization/Localization.es.resx
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve">
<value>Versión</value>
</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>
12 changes: 12 additions & 0 deletions butterflow-ui/Localization/Localization.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve">
<value>バージョン</value>
</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>
6 changes: 6 additions & 0 deletions butterflow-ui/Localization/Localization.resx
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,16 @@
<data name="VersionLabel" xml:space="preserve">
<value>Version</value>
</data>
<data name="ButterflowUIConfigurationLabel" xml:space="preserve">
<value>ButterflowUI Configuration File</value>
</data>
<data name="MultipleFilesPreviewWarningLabel" xml:space="preserve">
<value>Video previewing and subregion clipping is not available when processing multiple files.</value>
</data>
<data name="MultipleFilesText" xml:space="preserve">
<value>[Multiple Files]</value>
</data>
<data name="SupportedFileTypesLabel" xml:space="preserve">
<value>Supported File Types</value>
</data>
</root>
12 changes: 12 additions & 0 deletions butterflow-ui/Localization/Localization.ru.resx
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve">
<value>Версия</value>
</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>
12 changes: 12 additions & 0 deletions butterflow-ui/Localization/Localization.zh-CN.resx
Original file line number Diff line number Diff line change
Expand Up @@ -360,4 +360,16 @@
<data name="VersionLabel" xml:space="preserve">
<value>版</value>
</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>
6 changes: 3 additions & 3 deletions butterflow-ui/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void btnFilePicker_Click(object sender, RoutedEventArgs e)
{
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)
Expand Down Expand Up @@ -365,7 +365,7 @@ private void btnRemoveSubregion_Click(object sender, RoutedEventArgs e)
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)
Expand All @@ -385,7 +385,7 @@ private void menuOpen_Click(object sender, RoutedEventArgs e)
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)
Expand Down

0 comments on commit d647ac1

Please sign in to comment.