Add Catalan translation by mecatxis.

Closes #2616.
master
cybersphinx 2011-04-03 21:35:42 +02:00
parent b80e713648
commit 38088f37bc
4 changed files with 15279 additions and 0 deletions

View File

@ -39,6 +39,7 @@
// Language names (http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes) // Language names (http://en.wikipedia.org/wiki/List_of_ISO_639-2_codes)
#define LANG_NAME_BASQUE "euskara" #define LANG_NAME_BASQUE "euskara"
#define LANG_NAME_CATALAN "català"
#define LANG_NAME_CHINESE_SIMPLIFIED "汉语" #define LANG_NAME_CHINESE_SIMPLIFIED "汉语"
#define LANG_NAME_CHINESE_TRADITIONAL "漢語" #define LANG_NAME_CHINESE_TRADITIONAL "漢語"
#define LANG_NAME_CROATIAN "Hrvatski" #define LANG_NAME_CROATIAN "Hrvatski"
@ -90,6 +91,7 @@ static const struct
} map[] = { } map[] = {
{ "", N_("System locale"), LANG_NEUTRAL, SUBLANG_DEFAULT }, { "", N_("System locale"), LANG_NEUTRAL, SUBLANG_DEFAULT },
# if defined(ENABLE_NLS) # if defined(ENABLE_NLS)
{ "ca", LANG_NAME_CATALAN, LANG_CATALAN, SUBLANG_DEFAULT },
{ "cs", LANG_NAME_CZECH, LANG_CZECH, SUBLANG_DEFAULT }, { "cs", LANG_NAME_CZECH, LANG_CZECH, SUBLANG_DEFAULT },
{ "da", LANG_NAME_DANISH, LANG_DANISH, SUBLANG_DEFAULT }, { "da", LANG_NAME_DANISH, LANG_DANISH, SUBLANG_DEFAULT },
{ "de", LANG_NAME_GERMAN, LANG_GERMAN, SUBLANG_GERMAN }, { "de", LANG_NAME_GERMAN, LANG_GERMAN, SUBLANG_GERMAN },
@ -150,6 +152,7 @@ static const struct
} map[] = { } map[] = {
{ "", N_("System locale"), "", "" }, { "", N_("System locale"), "", "" },
# if defined(ENABLE_NLS) # if defined(ENABLE_NLS)
{ "ca_ES", LANG_NAME_CATALAN, "ca_ES.UTF-8", "ca_ES" },
{ "cs", LANG_NAME_CZECH, "cs.UTF-8", "cs" }, { "cs", LANG_NAME_CZECH, "cs.UTF-8", "cs" },
{ "da", LANG_NAME_DANISH, "da_DK.UTF-8", "da_DK" }, { "da", LANG_NAME_DANISH, "da_DK.UTF-8", "da_DK" },
{ "de", LANG_NAME_GERMAN, "de_DE.UTF-8", "de_DE" }, { "de", LANG_NAME_GERMAN, "de_DE.UTF-8", "de_DE" },

View File

@ -298,6 +298,9 @@ SectionGroupEnd
SectionGroup $(TEXT_SecNLS) SecNLS SectionGroup $(TEXT_SecNLS) SecNLS
Section "-NLS files" SecNLS_files Section "-NLS files" SecNLS_files
SetOutPath "$INSTDIR\locale\ca\LC_MESSAGES"
File "/oname=${PACKAGE}.mo" "${TOP_SRCDIR}\po\ca_ES.gmo"
SetOutPath "$INSTDIR\locale\cs\LC_MESSAGES" SetOutPath "$INSTDIR\locale\cs\LC_MESSAGES"
File "/oname=${PACKAGE}.mo" "${TOP_SRCDIR}\po\cs.gmo" File "/oname=${PACKAGE}.mo" "${TOP_SRCDIR}\po\cs.gmo"
@ -686,6 +689,10 @@ Section "Uninstall"
; remove all the locales ; remove all the locales
Delete "$INSTDIR\locale\ca\LC_MESSAGES\${PACKAGE}.mo"
RMDir "$INSTDIR\locale\ca\LC_MESSAGES"
RMDir "$INSTDIR\locale\ca"
Delete "$INSTDIR\locale\cs\LC_MESSAGES\${PACKAGE}.mo" Delete "$INSTDIR\locale\cs\LC_MESSAGES\${PACKAGE}.mo"
RMDir "$INSTDIR\locale\cs\LC_MESSAGES" RMDir "$INSTDIR\locale\cs\LC_MESSAGES"
RMDir "$INSTDIR\locale\cs" RMDir "$INSTDIR\locale\cs"

View File

@ -1,3 +1,4 @@
ca_ES
cs cs
da da
de de

15268
po/ca_ES.po Normal file

File diff suppressed because it is too large Load Diff