Skip to content

Commit

Permalink
tada
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers committed Jul 16, 2024
1 parent f3841aa commit f3deb57
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions DesktopClock/Properties/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ private Settings()
public DateTime CountdownTo { get; set; } = default;

/// <summary>
/// Time zone to be used.
/// A different time zone to be used.
/// </summary>
public string TimeZone { get; set; } = string.Empty;

/// <summary>
/// Font used for the clock's text.
/// Font to use for the clock's text.
/// </summary>
public string FontFamily { get; set; } = "Consolas";

Expand Down Expand Up @@ -129,7 +129,7 @@ private Settings()
public double BackgroundCornerRadius { get; set; } = 1;

/// <summary>
/// Path to the background image. If left blank, solid color will be used.
/// Path to the background image. If left blank, a solid color will be used.
/// </summary>
public string BackgroundImagePath { get; set; } = string.Empty;

Expand Down Expand Up @@ -164,7 +164,7 @@ private Settings()
public bool StartHidden { get; set; } = false;

/// <summary>
/// Allows moving the clock by dragging the mouse.
/// Allows moving the clock by dragging it with the cursor.
/// </summary>
public bool DragToMove { get; set; } = true;

Expand All @@ -182,7 +182,7 @@ private Settings()
public string WavFilePath { get; set; } = string.Empty;

/// <summary>
/// Interval for playing the WAV file if one is specified and exists.
/// Interval for playing the WAV file if one is specified and exists (HH:mm:ss).
/// </summary>
public TimeSpan WavFileInterval { get; set; }

Expand Down
14 changes: 7 additions & 7 deletions DesktopClock/SettingsWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<TextBlock Text="Countdown Format:" />
<TextBox Text="{Binding Settings.CountdownFormat, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<TextBlock Text=".NET format string for the countdown mode. If left blank, it will be dynamic."
<TextBlock Text="Format string for the countdown mode. If left blank, it will be dynamic."
FontStyle="Italic"
FontSize="10"
Margin="0,0,0,12" />
Expand All @@ -52,15 +52,15 @@
Command="{Binding ResetCountdownCommand}"
Grid.Column="1" />
</Grid>
<TextBlock Text="Target date and time for countdown mode."
<TextBlock Text="Date and time to countdown to. If left blank, countdown mode is not enabled."
FontStyle="Italic"
FontSize="10"
Margin="0,0,0,12" />


<TextBlock Text="Time Zone:" />
<ComboBox ItemsSource="{Binding TimeZones}" SelectedItem="{Binding Settings.TimeZone, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<TextBlock Text="Time zone for the clock display."
<TextBlock Text="A different time zone to be used."
FontStyle="Italic"
FontSize="10"
Margin="0,0,0,12" />
Expand All @@ -71,7 +71,7 @@
<StackPanel>
<TextBlock Text="Font Family:" />
<ComboBox ItemsSource="{Binding FontFamilies}" SelectedItem="{Binding Settings.FontFamily, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<TextBlock Text="Font used for the clock's text."
<TextBlock Text="Font to use for the clock's text."
FontStyle="Italic"
FontSize="10"
Margin="0,0,0,12" />
Expand Down Expand Up @@ -127,7 +127,7 @@
Click="BrowseBackgroundImagePath"
Grid.Column="1" />
</Grid>
<TextBlock Text="Path to the background image. If left blank, solid color will be used."
<TextBlock Text="Path to the background image. If left blank, a solid color will be used."
FontStyle="Italic"
FontSize="10"
Margin="0,0,0,12" />
Expand Down Expand Up @@ -163,7 +163,7 @@
Margin="0,0,0,12" />

<CheckBox Content="Drag to Move" IsChecked="{Binding Settings.DragToMove, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<TextBlock Text="Allows moving the clock by dragging the mouse."
<TextBlock Text="Allows moving the clock by dragging it with the cursor."
FontStyle="Italic"
FontSize="10"
Margin="0,0,0,12" />
Expand Down Expand Up @@ -193,7 +193,7 @@

<TextBlock Text="WAV File Interval:" />
<TextBox Text="{Binding Settings.WavFileInterval, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
<TextBlock Text="Interval for playing the WAV file if one is specified and exists."
<TextBlock Text="Interval for playing the WAV file if one is specified and exists (HH:mm:ss)."
FontStyle="Italic"
FontSize="10"
Margin="0,0,0,12" />
Expand Down

0 comments on commit f3deb57

Please sign in to comment.