summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNomis101 <[email protected]>2020-09-02 20:17:32 +0200
committerScott <[email protected]>2020-09-03 18:49:52 +0100
commit3110809845793e060218225ecf7b90a34d23138e (patch)
tree4310058c0c183f0336e9ce36d4d27b45d9c69ed3
parent3db134845e7decf41a5ff696bcafb5ca88cff3ac (diff)
WinGUI: Add initial support for Ukrainian locale
-rw-r--r--win/CS/HandBrakeWPF/Installer/Installer64.nsi10
-rw-r--r--win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi10
-rw-r--r--win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs1
3 files changed, 17 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/Installer/Installer64.nsi b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
index ab296b22e..bf2411922 100644
--- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
@@ -196,7 +196,11 @@ Section "HandBrake" SectionApp
SetOutPath "$INSTDIR\co"
SetOverwrite ifnewer
- File "co\*.*"
+ File "co\*.*"
+
+ SetOutPath "$INSTDIR\uk"
+ SetOverwrite ifnewer
+ File "uk\*.*"
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
@@ -262,7 +266,9 @@ Section Uninstall
Delete "$INSTDIR\pt-BR\*.*"
RMDir "$INSTDIR\pt-BR"
Delete "$INSTDIR\co\*.*"
- RMDir "$INSTDIR\co"
+ RMDir "$INSTDIR\co"
+ Delete "$INSTDIR\uk\*.*"
+ RMDir "$INSTDIR\uk"
RMDir "$INSTDIR"
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
index 2dbdf90a1..b3ed1bd64 100644
--- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
@@ -194,7 +194,11 @@ Section "HandBrake" SectionApp
SetOutPath "$INSTDIR\co"
SetOverwrite ifnewer
- File "co\*.*"
+ File "co\*.*"
+
+ SetOutPath "$INSTDIR\uk"
+ SetOverwrite ifnewer
+ File "uk\*.*"
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
@@ -258,7 +262,9 @@ Section Uninstall
Delete "$INSTDIR\pt-BR\*.*"
RMDir "$INSTDIR\pt-BR"
Delete "$INSTDIR\co\*.*"
- RMDir "$INSTDIR\co"
+ RMDir "$INSTDIR\co"
+ Delete "$INSTDIR\uk\*.*"
+ RMDir "$INSTDIR\uk"
RMDir "$INSTDIR"
diff --git a/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs b/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
index 8264ab703..a0ac427ed 100644
--- a/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
+++ b/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
@@ -33,6 +33,7 @@ namespace HandBrakeWPF.Utilities
new InterfaceLanguage("ja", "Japanese"),
new InterfaceLanguage("pt-BR", "Brazilian Portuguese"),
new InterfaceLanguage("co", "Corsican"),
+ new InterfaceLanguage("uk", "Ukrainian"),
};
}