From ecfd324f3b288012dad69a11f9e769e644f8bd22 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 20 May 2016 04:08:21 +0400 Subject: [PATCH] added another localized string. --- GUI/MainWindow.xaml.cs | 2 +- GUI/Strings/guiStrings.Designer.cs | 9 +++++++++ GUI/Strings/guiStrings.ko-KR.resx | 4 ++++ GUI/Strings/guiStrings.resx | 4 ++++ GUI/Strings/guiStrings.ru-RU.resx | 4 ++++ GUI/Strings/guiStrings.zh-Hans.resx | 4 ++++ 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/GUI/MainWindow.xaml.cs b/GUI/MainWindow.xaml.cs index 5d2934a6..d5de9035 100644 --- a/GUI/MainWindow.xaml.cs +++ b/GUI/MainWindow.xaml.cs @@ -921,7 +921,7 @@ namespace GARbro.GUI AudioDevice.PlaybackStopped += OnPlaybackStopped; AudioDevice.Play(); var fmt = CurrentAudio.WaveFormat; - SetResourceText (string.Format ("Playing {0} / {3} / {2}bps / {1}Hz", entry.Name, + SetResourceText (string.Format (guiStrings.MsgPlaying, entry.Name, fmt.SampleRate, sound.SourceBitrate / 1000, CurrentAudio.TotalTime.ToString ("m':'ss"))); } diff --git a/GUI/Strings/guiStrings.Designer.cs b/GUI/Strings/guiStrings.Designer.cs index 2fdbb6ae..c679d381 100644 --- a/GUI/Strings/guiStrings.Designer.cs +++ b/GUI/Strings/guiStrings.Designer.cs @@ -693,6 +693,15 @@ namespace GARbro.GUI.Strings { } } + /// + /// Looks up a localized string similar to Playing {0} / {3} / {2}bps / {1}Hz. + /// + public static string MsgPlaying { + get { + return ResourceManager.GetString("MsgPlaying", resourceCulture); + } + } + /// /// Looks up a localized string similar to Ready. /// diff --git a/GUI/Strings/guiStrings.ko-KR.resx b/GUI/Strings/guiStrings.ko-KR.resx index a94085ca..1866fcd4 100644 --- a/GUI/Strings/guiStrings.ko-KR.resx +++ b/GUI/Strings/guiStrings.ko-KR.resx @@ -452,4 +452,8 @@ Destination directory translation pending + + Playing {0} / {3} / {2}bps / {1}Hz + translation pending. {0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time + \ No newline at end of file diff --git a/GUI/Strings/guiStrings.resx b/GUI/Strings/guiStrings.resx index 8650c712..5a7333fb 100644 --- a/GUI/Strings/guiStrings.resx +++ b/GUI/Strings/guiStrings.resx @@ -452,4 +452,8 @@ Overwrite? Destination directory + + Playing {0} / {3} / {2}bps / {1}Hz + {0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time + \ No newline at end of file diff --git a/GUI/Strings/guiStrings.ru-RU.resx b/GUI/Strings/guiStrings.ru-RU.resx index 0ec35161..53768582 100644 --- a/GUI/Strings/guiStrings.ru-RU.resx +++ b/GUI/Strings/guiStrings.ru-RU.resx @@ -473,4 +473,8 @@ Сохранить результаты в + + Проигрывается {0} / {3} / {2}bps / {1}Гц + {0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time + \ No newline at end of file diff --git a/GUI/Strings/guiStrings.zh-Hans.resx b/GUI/Strings/guiStrings.zh-Hans.resx index 965ee7f2..3e135f41 100644 --- a/GUI/Strings/guiStrings.zh-Hans.resx +++ b/GUI/Strings/guiStrings.zh-Hans.resx @@ -453,4 +453,8 @@ Destination directory translation pending + + Playing {0} / {3} / {2}bps / {1}Hz + translation pending. {0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time + \ No newline at end of file