From 8e648627bfc27871542ae7b30625ab433d8b235f Mon Sep 17 00:00:00 2001
From: ScrubN <72096833+ScrubN@users.noreply.github.com>
Date: Sat, 24 Feb 2024 18:46:11 -0500
Subject: [PATCH] Enable Brazilian Portuguese
---
TwitchDownloaderWPF/Services/AvailableCultures.cs | 1 +
.../Translations/{Strings.ptbr.resx => Strings.pt-br.resx} | 0
TwitchDownloaderWPF/TwitchDownloaderWPF.csproj | 3 +++
3 files changed, 4 insertions(+)
rename TwitchDownloaderWPF/Translations/{Strings.ptbr.resx => Strings.pt-br.resx} (100%)
diff --git a/TwitchDownloaderWPF/Services/AvailableCultures.cs b/TwitchDownloaderWPF/Services/AvailableCultures.cs
index 846ca23b..5673c868 100644
--- a/TwitchDownloaderWPF/Services/AvailableCultures.cs
+++ b/TwitchDownloaderWPF/Services/AvailableCultures.cs
@@ -40,6 +40,7 @@ static AvailableCultures()
French = new Culture("fr-FR", "Français"),
Italian = new Culture("it-it", "Italiano"),
Polish = new Culture("pl-PL", "Polski"),
+ Polish = new Culture("pt-BR", "Português (Brasil)"),
Russian = new Culture("ru-RU", "Русский"),
Turkish = new Culture("tr-TR", "Türkçe"),
Ukrainian = new Culture("uk-ua", "Українська"),
diff --git a/TwitchDownloaderWPF/Translations/Strings.ptbr.resx b/TwitchDownloaderWPF/Translations/Strings.pt-br.resx
similarity index 100%
rename from TwitchDownloaderWPF/Translations/Strings.ptbr.resx
rename to TwitchDownloaderWPF/Translations/Strings.pt-br.resx
diff --git a/TwitchDownloaderWPF/TwitchDownloaderWPF.csproj b/TwitchDownloaderWPF/TwitchDownloaderWPF.csproj
index 516a06fd..f7845c09 100644
--- a/TwitchDownloaderWPF/TwitchDownloaderWPF.csproj
+++ b/TwitchDownloaderWPF/TwitchDownloaderWPF.csproj
@@ -50,6 +50,9 @@
Always
+
+ Strings.resx
+