mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-01 04:30:49 +12:00
commit
55e2cbb35b
|
@ -263,16 +263,14 @@ private void UpdateUI()
|
||||||
{
|
{
|
||||||
if (Status == ScreenRecordingStatus.Waiting || Status == ScreenRecordingStatus.Paused)
|
if (Status == ScreenRecordingStatus.Waiting || Status == ScreenRecordingStatus.Paused)
|
||||||
{
|
{
|
||||||
// TODO: Translate
|
btnPause.Text = Resources.Resume;
|
||||||
btnPause.Text = "Resume";
|
|
||||||
lblTimer.Cursor = Cursors.SizeAll;
|
lblTimer.Cursor = Cursors.SizeAll;
|
||||||
borderColor = Color.FromArgb(241, 196, 27);
|
borderColor = Color.FromArgb(241, 196, 27);
|
||||||
Refresh();
|
Refresh();
|
||||||
}
|
}
|
||||||
else if (Status == ScreenRecordingStatus.Recording)
|
else if (Status == ScreenRecordingStatus.Recording)
|
||||||
{
|
{
|
||||||
// TODO: Translate
|
btnPause.Text = Resources.Pause;
|
||||||
btnPause.Text = "Pause";
|
|
||||||
lblTimer.Cursor = Cursors.Default;
|
lblTimer.Cursor = Cursors.Default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1242,6 +1242,15 @@ internal class Resources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Pause.
|
||||||
|
/// </summary>
|
||||||
|
internal static string Pause {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Pause", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1365,6 +1374,15 @@ internal class Resources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Resume.
|
||||||
|
/// </summary>
|
||||||
|
internal static string Resume {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("Resume", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Are you sure you want to abort this recording?.
|
/// Looks up a localized string similar to Are you sure you want to abort this recording?.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -811,4 +811,10 @@ X: {4} Y: {5}</value>
|
||||||
<data name="pencil__arrow" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="pencil__arrow" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\pencil--arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\pencil--arrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Resume" xml:space="preserve">
|
||||||
|
<value>Resume</value>
|
||||||
|
</data>
|
||||||
|
<data name="Pause" xml:space="preserve">
|
||||||
|
<value>Pause</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
27
ShareX/Properties/Resources.Designer.cs
generated
27
ShareX/Properties/Resources.Designer.cs
generated
|
@ -1423,6 +1423,33 @@ public class Resources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to FFmpeg does not exist at the following path:.
|
||||||
|
/// </summary>
|
||||||
|
public static string FFmpegDoesNotExistAtTheFollowingPath {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("FFmpegDoesNotExistAtTheFollowingPath", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to FFmpeg is missing.
|
||||||
|
/// </summary>
|
||||||
|
public static string FFmpegIsMissing {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("FFmpegIsMissing", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to FFmpeg that comes with ShareX only supports 64-bit operating systems..
|
||||||
|
/// </summary>
|
||||||
|
public static string FFmpegOnlySupports64BitOperatingSystems {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("FFmpegOnlySupports64BitOperatingSystems", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Use new name: .
|
/// Looks up a localized string similar to Use new name: .
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -1110,4 +1110,13 @@ Middle click to close</value>
|
||||||
<data name="openhand" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="openhand" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\openhand.cur;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>..\Resources\openhand.cur;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="FFmpegOnlySupports64BitOperatingSystems" xml:space="preserve">
|
||||||
|
<value>FFmpeg that comes with ShareX only supports 64-bit operating systems.</value>
|
||||||
|
</data>
|
||||||
|
<data name="FFmpegIsMissing" xml:space="preserve">
|
||||||
|
<value>FFmpeg is missing</value>
|
||||||
|
</data>
|
||||||
|
<data name="FFmpegDoesNotExistAtTheFollowingPath" xml:space="preserve">
|
||||||
|
<value>FFmpeg does not exist at the following path:</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
|
@ -1424,9 +1424,8 @@ public static bool CheckFFmpeg(TaskSettings taskSettings)
|
||||||
{
|
{
|
||||||
if (!Environment.Is64BitOperatingSystem && !taskSettings.CaptureSettings.FFmpegOptions.OverrideCLIPath)
|
if (!Environment.Is64BitOperatingSystem && !taskSettings.CaptureSettings.FFmpegOptions.OverrideCLIPath)
|
||||||
{
|
{
|
||||||
// TODO: Translate
|
MessageBox.Show(Resources.FFmpegOnlySupports64BitOperatingSystems,
|
||||||
MessageBox.Show("FFmpeg that comes with ShareX only supports 64-bit operating systems.",
|
"ShareX - " + Resources.FFmpegIsMissing, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
"ShareX - " + "FFmpeg is missing", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -1435,9 +1434,8 @@ public static bool CheckFFmpeg(TaskSettings taskSettings)
|
||||||
|
|
||||||
if (!File.Exists(ffmpegPath))
|
if (!File.Exists(ffmpegPath))
|
||||||
{
|
{
|
||||||
// TODO: Translate
|
MessageBox.Show(Resources.FFmpegDoesNotExistAtTheFollowingPath + "\r\n" + ffmpegPath,
|
||||||
MessageBox.Show("FFmpeg does not exist at the following path:\r\n" + ffmpegPath,
|
"ShareX - " + Resources.FFmpegIsMissing, MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
"ShareX - " + "FFmpeg is missing", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue