Skip to content

Commit

Permalink
Display current countdown timer value
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoCoderMatrix86 committed Jul 3, 2024
1 parent 0ab1293 commit 1dc6832
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions AudioCuesheetEditor/Pages/RecordControl.razor
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ along with Foobar. If not, see
</Button>
<DropdownToggle Color="Color.Danger" Split Disabled="_sessionStateContainer.Cuesheet.IsRecording || startRecordTimer?.Enabled == true"></DropdownToggle>
<DropdownMenu>
<DropdownItem Clicked="StartRecordCountdownTimer" Disabled="_sessionStateContainer.Cuesheet.IsRecording || startRecordTimer?.Enabled == true">@_localizer["Start record timer"]</DropdownItem>
<DropdownItem Clicked="StartRecordCountdownTimer" Disabled="_sessionStateContainer.Cuesheet.IsRecording || startRecordTimer?.Enabled == true">@_localizer["Start record countdown timer ({0} seconds)", (startRecordTimer?.Interval / 1000)]</DropdownItem>
</DropdownMenu>
</Dropdown>
</Column>
Expand Down Expand Up @@ -75,7 +75,6 @@ along with Foobar. If not, see
<ModalDialog @ref="modalDialog" />

@code {
//TODO: Display the current value of the RecordCountdownTimer
//TODO: Allow the user to edit the default RecordCountdownTimer
Timer updateGUITimer = new Timer(300);
Timer? startRecordTimer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Record running!": "Aufnahme aktiv!",
"Start recording": "Aufnahme starten",
"Stop recording": "Aufnahme beenden",
"Start record timer": "Aufnahmecountdown starten",
"Start record countdown timer ({0} seconds)": "Aufnahmecountdown starten ({0} Sekunden)",
"Record will start in {0} seconds!": "Aufnahme wird in {0} Sekunden starten!",
"Error": "Fehler",
"Cuesheet already contains tracks. Recording is not possible, if tracks are present. Please save your work and start with a clean cuesheet.": "Das Cuesheet enthält bereits Titel. Die Aufnahme ist nicht möglich, wenn bereits Titel vorhanden sind. Bitte speichern Sie ihre Arbeit und starten Sie anschließend mit einem leeren Cuesheet."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Record running!": "Record is running!",
"Start recording": "Start recording",
"Stop recording": "Stop recording",
"Start record timer": "Start record countdown timer",
"Start record countdown timer ({0} seconds)": "Start record countdown timer ({0} seconds)",
"Record will start in {0} seconds!": "Record will start in {0} seconds!",
"Error": "Error",
"Cuesheet already contains tracks. Recording is not possible, if tracks are present. Please save your work and start with a clean cuesheet.": "Cuesheet already contains tracks. Recording is not possible, if tracks are present. Please save your work and start with a clean cuesheet."
Expand Down

0 comments on commit 1dc6832

Please sign in to comment.