summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorNomis101 <[email protected]>2020-09-02 19:31:30 +0200
committerScott <[email protected]>2020-09-03 18:49:52 +0100
commit9eabbed6d1858676385cae1f223577a898c2a49a (patch)
treeeeaaa36921067c87d8aea1d556d6ec6d0c1d2fb9 /win
parentfe85886dc78ba84c4e2962e9165390d33df1c6b7 (diff)
WinGUI: Add support for Corsican locale
Diffstat (limited to 'win')
-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 b07d11dfa..ab296b22e 100644
--- a/win/CS/HandBrakeWPF/Installer/Installer64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/Installer64.nsi
@@ -192,7 +192,11 @@ Section "HandBrake" SectionApp
SetOutPath "$INSTDIR\pt-BR"
SetOverwrite ifnewer
- File "pt-BR\*.*"
+ File "pt-BR\*.*"
+
+ SetOutPath "$INSTDIR\co"
+ SetOverwrite ifnewer
+ File "co\*.*"
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
@@ -256,7 +260,9 @@ Section Uninstall
Delete "$INSTDIR\ja\*.*"
RMDir "$INSTDIR\ja"
Delete "$INSTDIR\pt-BR\*.*"
- RMDir "$INSTDIR\pt-BR"
+ RMDir "$INSTDIR\pt-BR"
+ Delete "$INSTDIR\co\*.*"
+ RMDir "$INSTDIR\co"
RMDir "$INSTDIR"
diff --git a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
index b8f874418..2dbdf90a1 100644
--- a/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
+++ b/win/CS/HandBrakeWPF/Installer/MakeNightly64.nsi
@@ -190,7 +190,11 @@ Section "HandBrake" SectionApp
SetOutPath "$INSTDIR\pt-BR"
SetOverwrite ifnewer
- File "pt-BR\*.*"
+ File "pt-BR\*.*"
+
+ SetOutPath "$INSTDIR\co"
+ SetOverwrite ifnewer
+ File "co\*.*"
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
@@ -252,7 +256,9 @@ Section Uninstall
Delete "$INSTDIR\ja\*.*"
RMDir "$INSTDIR\ja"
Delete "$INSTDIR\pt-BR\*.*"
- RMDir "$INSTDIR\pt-BR"
+ RMDir "$INSTDIR\pt-BR"
+ Delete "$INSTDIR\co\*.*"
+ RMDir "$INSTDIR\co"
RMDir "$INSTDIR"
diff --git a/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs b/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
index eb58a4dea..8264ab703 100644
--- a/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
+++ b/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
@@ -32,6 +32,7 @@ namespace HandBrakeWPF.Utilities
new InterfaceLanguage("ko", "Korean"),
new InterfaceLanguage("ja", "Japanese"),
new InterfaceLanguage("pt-BR", "Brazilian Portuguese"),
+ new InterfaceLanguage("co", "Corsican"),
};
}