added another localized string.

This commit is contained in:
morkt 2016-05-20 04:08:21 +04:00
parent 41b9dd9a54
commit ecfd324f3b
6 changed files with 26 additions and 1 deletions

View File

@ -921,7 +921,7 @@ namespace GARbro.GUI
AudioDevice.PlaybackStopped += OnPlaybackStopped; AudioDevice.PlaybackStopped += OnPlaybackStopped;
AudioDevice.Play(); AudioDevice.Play();
var fmt = CurrentAudio.WaveFormat; 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, fmt.SampleRate, sound.SourceBitrate / 1000,
CurrentAudio.TotalTime.ToString ("m':'ss"))); CurrentAudio.TotalTime.ToString ("m':'ss")));
} }

View File

@ -693,6 +693,15 @@ namespace GARbro.GUI.Strings {
} }
} }
/// <summary>
/// Looks up a localized string similar to Playing {0} / {3} / {2}bps / {1}Hz.
/// </summary>
public static string MsgPlaying {
get {
return ResourceManager.GetString("MsgPlaying", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Ready. /// Looks up a localized string similar to Ready.
/// </summary> /// </summary>

View File

@ -452,4 +452,8 @@
<value>Destination directory</value> <value>Destination directory</value>
<comment>translation pending</comment> <comment>translation pending</comment>
</data> </data>
<data name="MsgPlaying" xml:space="preserve">
<value>Playing {0} / {3} / {2}bps / {1}Hz</value>
<comment>translation pending. {0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time </comment>
</data>
</root> </root>

View File

@ -452,4 +452,8 @@ Overwrite?</value>
<data name="LabelDestinationDir" xml:space="preserve"> <data name="LabelDestinationDir" xml:space="preserve">
<value>Destination directory</value> <value>Destination directory</value>
</data> </data>
<data name="MsgPlaying" xml:space="preserve">
<value>Playing {0} / {3} / {2}bps / {1}Hz</value>
<comment>{0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time </comment>
</data>
</root> </root>

View File

@ -473,4 +473,8 @@
<data name="LabelDestinationDir" xml:space="preserve"> <data name="LabelDestinationDir" xml:space="preserve">
<value>Сохранить результаты в</value> <value>Сохранить результаты в</value>
</data> </data>
<data name="MsgPlaying" xml:space="preserve">
<value>Проигрывается {0} / {3} / {2}bps / {1}Гц</value>
<comment>{0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time </comment>
</data>
</root> </root>

View File

@ -453,4 +453,8 @@
<value>Destination directory</value> <value>Destination directory</value>
<comment>translation pending</comment> <comment>translation pending</comment>
</data> </data>
<data name="MsgPlaying" xml:space="preserve">
<value>Playing {0} / {3} / {2}bps / {1}Hz</value>
<comment>translation pending. {0}=filename, {1}=sampling rate, {2}=bitrate, {3}=total time </comment>
</data>
</root> </root>