From ce9537f2b847b9b3b89e8dfca377d2659b3f02fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marius=20Kj=C3=A6rstad?= Date: Wed, 21 Aug 2024 20:20:46 +0200 Subject: Add Hausa translation (#1404) --- src/Main/Forms/PreferencesDialog.cpp | 1 + src/Setup/Portable.rc | 1 + src/Setup/Resource.h | 1 + src/Setup/Setup.c | 1 + src/Setup/Setup.rc | 1 + src/SetupDLL/Resource.h | 1 + src/SetupDLL/Setup.rc | 1 + 7 files changed, 7 insertions(+) (limited to 'src') diff --git a/src/Main/Forms/PreferencesDialog.cpp b/src/Main/Forms/PreferencesDialog.cpp index a610987d..8f096da6 100644 --- a/src/Main/Forms/PreferencesDialog.cpp +++ b/src/Main/Forms/PreferencesDialog.cpp @@ -100,6 +100,7 @@ namespace VeraCrypt {"fa", L"فارسي"}, {"fi", L"Suomi"}, {"fr", L"Français"}, + {"ha", L"(ḥawsa) حَوْسَ"}, {"he", L"עברית"}, {"hu", L"Magyar"}, {"id", L"Bahasa Indonesia"}, diff --git a/src/Setup/Portable.rc b/src/Setup/Portable.rc index fba944a6..ca6773d5 100644 --- a/src/Setup/Portable.rc +++ b/src/Setup/Portable.rc @@ -96,6 +96,7 @@ IDR_LANG_ET LANGUAGES "..\\..\\Translations\\Language. IDR_LANG_EU LANGUAGES "..\\..\\Translations\\Language.eu.xml" IDR_LANG_FA LANGUAGES "..\\..\\Translations\\Language.fa.xml" IDR_LANG_FI LANGUAGES "..\\..\\Translations\\Language.fi.xml" +IDR_LANG_HA LANGUAGES "..\\..\\Translations\\Language.ha.xml" IDR_LANG_HE LANGUAGES "..\\..\\Translations\\Language.he.xml" IDR_LANG_HU LANGUAGES "..\\..\\Translations\\Language.hu.xml" IDR_LANG_ID LANGUAGES "..\\..\\Translations\\Language.id.xml" diff --git a/src/Setup/Resource.h b/src/Setup/Resource.h index 62246068..80313f47 100644 --- a/src/Setup/Resource.h +++ b/src/Setup/Resource.h @@ -44,6 +44,7 @@ #define IDR_LANG_UZ 58 #define IDR_LANG_ZHTW 59 #define IDR_LANG_NB 60 +#define IDR_LANG_HA 61 #define IDD_INSTALL 101 #define IDD_INSTALL_OPTIONS_PAGE_DLG 102 #define IDD_UNINSTALL 103 diff --git a/src/Setup/Setup.c b/src/Setup/Setup.c index dc8c8ccc..b6b81926 100644 --- a/src/Setup/Setup.c +++ b/src/Setup/Setup.c @@ -2570,6 +2570,7 @@ static tLanguageEntry g_languagesEntries[] = { {L"فارسي", IDR_LANG_FA, LANG_PERSIAN, "fa", NULL}, {L"Suomi", IDR_LANG_FI, LANG_FINNISH, "fi", NULL}, {L"Français", IDR_LANG_FR, LANG_FRENCH, "fr", NULL}, + {L"(ḥawsa) حَوْسَ", IDR_LANG_HA, LANG_HAUSA, "ha", NULL}, {L"עברית", IDR_LANG_HE, LANG_HEBREW, "he", NULL}, {L"Magyar", IDR_LANG_HU, LANG_HUNGARIAN, "hu", NULL}, {L"Bahasa Indonesia", IDR_LANG_ID, LANG_INDONESIAN, "id", NULL}, diff --git a/src/Setup/Setup.rc b/src/Setup/Setup.rc index 16d55360..b1b26229 100644 --- a/src/Setup/Setup.rc +++ b/src/Setup/Setup.rc @@ -103,6 +103,7 @@ IDR_LANG_ET LANGUAGES "..\\..\\Translations\\Language. IDR_LANG_EU LANGUAGES "..\\..\\Translations\\Language.eu.xml" IDR_LANG_FA LANGUAGES "..\\..\\Translations\\Language.fa.xml" IDR_LANG_FI LANGUAGES "..\\..\\Translations\\Language.fi.xml" +IDR_LANG_HA LANGUAGES "..\\..\\Translations\\Language.ha.xml" IDR_LANG_HE LANGUAGES "..\\..\\Translations\\Language.he.xml" IDR_LANG_HU LANGUAGES "..\\..\\Translations\\Language.hu.xml" IDR_LANG_ID LANGUAGES "..\\..\\Translations\\Language.id.xml" diff --git a/src/SetupDLL/Resource.h b/src/SetupDLL/Resource.h index 62246068..80313f47 100644 --- a/src/SetupDLL/Resource.h +++ b/src/SetupDLL/Resource.h @@ -44,6 +44,7 @@ #define IDR_LANG_UZ 58 #define IDR_LANG_ZHTW 59 #define IDR_LANG_NB 60 +#define IDR_LANG_HA 61 #define IDD_INSTALL 101 #define IDD_INSTALL_OPTIONS_PAGE_DLG 102 #define IDD_UNINSTALL 103 diff --git a/src/SetupDLL/Setup.rc b/src/SetupDLL/Setup.rc index b085c9b0..cd565e58 100644 --- a/src/SetupDLL/Setup.rc +++ b/src/SetupDLL/Setup.rc @@ -103,6 +103,7 @@ IDR_LANG_ET LANGUAGES "..\\..\\Translations\\Language. IDR_LANG_EU LANGUAGES "..\\..\\Translations\\Language.eu.xml" IDR_LANG_FA LANGUAGES "..\\..\\Translations\\Language.fa.xml" IDR_LANG_FI LANGUAGES "..\\..\\Translations\\Language.fi.xml" +IDR_LANG_HA LANGUAGES "..\\..\\Translations\\Language.ha.xml" IDR_LANG_HE LANGUAGES "..\\..\\Translations\\Language.he.xml" IDR_LANG_HU LANGUAGES "..\\..\\Translations\\Language.hu.xml" IDR_LANG_ID LANGUAGES "..\\..\\Translations\\Language.id.xml" -- cgit v1.2.3