diff --git a/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.de.resx b/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.de.resx new file mode 100644 index 00000000..d7c88ffe --- /dev/null +++ b/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.de.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Abbrechen + + + Projekt herunterladen + + + Dateiname + + + Projekt speichern + + \ No newline at end of file diff --git a/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.razor b/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.razor new file mode 100644 index 00000000..c84df798 --- /dev/null +++ b/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.razor @@ -0,0 +1,41 @@ + +@inherits BaseLocalizedComponent + +@inject IStringLocalizer _localizer + + + + @_localizer["Save project"] + + + + + + @_localizer["Cancel"] + @_localizer["Download project"] + + + +@code { + [CascadingParameter] + private MudDialogInstance? MudDialog { get; set; } + //TODO + //TODO: validation + //TODO: Load application settings for filename +} diff --git a/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.resx b/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.resx new file mode 100644 index 00000000..60fa0360 --- /dev/null +++ b/AudioCuesheetEditor/Shared/Dialogs/DownloadProjectfileDialog.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Cancel + + + Download project + + + Filename + + + Save project + + \ No newline at end of file diff --git a/AudioCuesheetEditor/Shared/NavMenu.de.resx b/AudioCuesheetEditor/Shared/NavMenu.de.resx index 1fbbc3ff..65fffd14 100644 --- a/AudioCuesheetEditor/Shared/NavMenu.de.resx +++ b/AudioCuesheetEditor/Shared/NavMenu.de.resx @@ -117,9 +117,22 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Cuesheetdatei + Bearbeiten + + + Export + + + Andere + + + Projektdatei + Wiederherstellen diff --git a/AudioCuesheetEditor/Shared/NavMenu.razor b/AudioCuesheetEditor/Shared/NavMenu.razor index d22f2432..6b1e2b15 100644 --- a/AudioCuesheetEditor/Shared/NavMenu.razor +++ b/AudioCuesheetEditor/Shared/NavMenu.razor @@ -19,6 +19,7 @@ along with Foobar. If not, see @inject IStringLocalizer _localizer @inject TraceChangeManager _traceChangeManager +@inject IDialogService _dialogService @@ -27,12 +28,13 @@ along with Foobar. If not, see @_localizer["Cuesheetfile"] - @_localizer["Projectfile"] + @_localizer["Projectfile"] @_localizer["Other"] @code { + private readonly DialogOptions DownloadProjectfileDialogOptions = new() { BackdropClick = false, CloseButton = true }; //TODO: export onclick //TODO: Colors } diff --git a/AudioCuesheetEditor/Shared/NavMenu.resx b/AudioCuesheetEditor/Shared/NavMenu.resx index 31aef69d..2b9dbf8f 100644 --- a/AudioCuesheetEditor/Shared/NavMenu.resx +++ b/AudioCuesheetEditor/Shared/NavMenu.resx @@ -117,9 +117,21 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Cuesheetfile + Edit + + Export + + + Other + + + Projectfile + Redo diff --git a/AudioCuesheetEditor/_Imports.razor b/AudioCuesheetEditor/_Imports.razor index 611086e4..8a3c7700 100644 --- a/AudioCuesheetEditor/_Imports.razor +++ b/AudioCuesheetEditor/_Imports.razor @@ -12,6 +12,7 @@ @using AudioCuesheetEditor @using AudioCuesheetEditor.Pages @using AudioCuesheetEditor.Shared +@using AudioCuesheetEditor.Shared.Dialogs @using AudioCuesheetEditor.Shared.ViewModes @using AudioCuesheetEditor.Shared.Layouts @using AudioCuesheetEditor.Shared.TrackList