From 3f25e68eaabe866833472e56cf0f018547a2328a Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Tue, 12 Nov 2024 08:58:50 +0100 Subject: [PATCH] added localization for TrackSelection --- AudioCuesheetEditor/AudioCuesheetEditor.csproj | 4 ++++ .../Resources/Localization/TrackSelection/de.json | 6 ++++++ .../Resources/Localization/TrackSelection/en.json | 6 ++++++ AudioCuesheetEditor/Shared/TrackList/TrackSelection.razor | 2 -- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 AudioCuesheetEditor/Resources/Localization/TrackSelection/de.json create mode 100644 AudioCuesheetEditor/Resources/Localization/TrackSelection/en.json diff --git a/AudioCuesheetEditor/AudioCuesheetEditor.csproj b/AudioCuesheetEditor/AudioCuesheetEditor.csproj index 78e416b8..7829ab41 100644 --- a/AudioCuesheetEditor/AudioCuesheetEditor.csproj +++ b/AudioCuesheetEditor/AudioCuesheetEditor.csproj @@ -51,6 +51,8 @@ + + @@ -100,6 +102,8 @@ + + diff --git a/AudioCuesheetEditor/Resources/Localization/TrackSelection/de.json b/AudioCuesheetEditor/Resources/Localization/TrackSelection/de.json new file mode 100644 index 00000000..7d261e5e --- /dev/null +++ b/AudioCuesheetEditor/Resources/Localization/TrackSelection/de.json @@ -0,0 +1,6 @@ +{ + "culture": "de", + "translations": { + "Select this track for multiple track operations": "Diesen Titel in Mehrfachauswahl übernehmen" + } +} \ No newline at end of file diff --git a/AudioCuesheetEditor/Resources/Localization/TrackSelection/en.json b/AudioCuesheetEditor/Resources/Localization/TrackSelection/en.json new file mode 100644 index 00000000..a61c2a09 --- /dev/null +++ b/AudioCuesheetEditor/Resources/Localization/TrackSelection/en.json @@ -0,0 +1,6 @@ +{ + "culture": "en", + "translations": { + "Select this track for multiple track operations": "Select this track for multiple track operations" + } +} \ No newline at end of file diff --git a/AudioCuesheetEditor/Shared/TrackList/TrackSelection.razor b/AudioCuesheetEditor/Shared/TrackList/TrackSelection.razor index 329be82a..b4547325 100644 --- a/AudioCuesheetEditor/Shared/TrackList/TrackSelection.razor +++ b/AudioCuesheetEditor/Shared/TrackList/TrackSelection.razor @@ -30,8 +30,6 @@ along with Foobar. If not, see } @code { - //TODO: Localization - [Parameter, EditorRequired] public Boolean Visible { get; set; }