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