[1/2] New locale ca_ES@valencia [BZ #2522]

Message ID 1458850770-23717-2-git-send-email-aurelien@aurel32.net
State Superseded
Delegated to: Mike Frysinger
Headers

Commit Message

Aurelien Jarno March 24, 2016, 8:19 p.m. UTC
  The Valencian (meridional Catalan) locale is basically a copy of the
Catlan locale. The point of having a separate locale is only for PO
translations. This locale is already provided by several distributions
and is already supported by various projects like LibreOffice, Mozilla,
Gnome, KDE.

localedata/Changelog:
	[BZ #2522]
	* locales/ca_ES@valencia: New locale.
	* SUPPORTED: Add ca_ES@valencia.
---
 localedata/ChangeLog              |   7 +++
 localedata/SUPPORTED              |   1 +
 localedata/locales/ca_ES@valencia | 100 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+)
 create mode 100644 localedata/locales/ca_ES@valencia
  

Comments

Mike Frysinger April 10, 2016, 5:54 a.m. UTC | #1
On 24 Mar 2016 21:19, Aurelien Jarno wrote:
> +% Contact: Jordi Mallach
> +% Email: jordi@gnu.org
> +% Tel:
> +% Fax:
> +% Language: ca
> +% Territory: ES
> +% Option: euro
> +% Revision: 1.0
> +% Date: 2006-04-06
> +% Application: general
> +% Users: general
> +% Charset: ISO-8859-15

this block seems pointless/redundant.  can we just drop it ?

> +LC_CTYPE
> +copy "i18n"
> +END LC_CTYPE

why not ca_ES ?
-mike
  
Aurelien Jarno April 10, 2016, 4:19 p.m. UTC | #2
On 2016-04-10 01:54, Mike Frysinger wrote:
> On 24 Mar 2016 21:19, Aurelien Jarno wrote:
> > +% Contact: Jordi Mallach
> > +% Email: jordi@gnu.org
> > +% Tel:
> > +% Fax:
> > +% Language: ca
> > +% Territory: ES
> > +% Option: euro
> > +% Revision: 1.0
> > +% Date: 2006-04-06
> > +% Application: general
> > +% Users: general
> > +% Charset: ISO-8859-15
> 
> this block seems pointless/redundant.  can we just drop it ?

Ok.

> > +LC_CTYPE
> > +copy "i18n"
> > +END LC_CTYPE
> 
> why not ca_ES ?

No real reason, I'll change that.
  

Patch

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 664f88b..6374f37 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,10 @@ 
+2016-03-24  Jordi Mallach  <jordi@gnu.org>
+	    Aurelien Jarno  <aurelien@aurel32.net>
+
+	[BZ #2522]
+	* locales/ca_ES@valencia: New locale.
+	* SUPPORTED: Add ca_ES@valencia.
+
 2016-03-21  Mike Frysinger  <vapier@gentoo.org>
 
 	[BZ #11213]
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index f8cf0eb..68f13df 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -80,6 +80,7 @@  ca_AD/ISO-8859-15 \
 ca_ES.UTF-8/UTF-8 \
 ca_ES/ISO-8859-1 \
 ca_ES@euro/ISO-8859-15 \
+ca_ES.UTF-8@valencia/UTF-8 \
 ca_FR.UTF-8/UTF-8 \
 ca_FR/ISO-8859-15 \
 ca_IT.UTF-8/UTF-8 \
diff --git a/localedata/locales/ca_ES@valencia b/localedata/locales/ca_ES@valencia
new file mode 100644
index 0000000..56f7827
--- /dev/null
+++ b/localedata/locales/ca_ES@valencia
@@ -0,0 +1,100 @@ 
+comment_char %
+escape_char  /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Valencian (southern Catalan) locale for Spain with Euro
+%
+% Note that this locale is almost the same as ca_ES@euro.  The point of having
+% a separate locale is only for PO translations, which have a lot of social
+% support and are very appreciated by the Valencian-speaking community.
+%
+% Contact: Jordi Mallach
+% Email: jordi@gnu.org
+% Tel:
+% Fax:
+% Language: ca
+% Territory: ES
+% Option: euro
+% Revision: 1.0
+% Date: 2006-04-06
+% Application: general
+% Users: general
+% Charset: ISO-8859-15
+
+LC_IDENTIFICATION
+title      "Valencian (southern Catalan) locale for Spain with Euro"
+source     ""
+address    ""
+contact    "Jordi Mallach"
+email      "jordi@gnu.org"
+tel        ""
+fax        ""
+language   "Catalan"
+territory  "Spain"
+revision   "1.0"
+date       "2006-04-06"
+%
+category  "i18n:2000";LC_IDENTIFICATION
+category  "i18n:2000";LC_CTYPE
+category  "i18n:2000";LC_COLLATE
+category  "i18n:2000";LC_MONETARY
+category  "i18n:2000";LC_NUMERIC
+category  "i18n:2000";LC_TIME
+category  "i18n:2000";LC_MESSAGES
+category  "i18n:2000";LC_PAPER
+category  "i18n:2000";LC_NAME
+category  "i18n:2000";LC_ADDRESS
+category  "i18n:2000";LC_TELEPHONE
+category  "i18n:2000";LC_MEASUREMENT
+
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "i18n"
+END LC_CTYPE
+
+LC_COLLATE
+copy "ca_ES"
+END LC_COLLATE
+
+LC_MONETARY
+copy "ca_ES"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "ca_ES"
+END LC_NUMERIC
+
+LC_TIME
+copy "ca_ES"
+END LC_TIME
+
+LC_MESSAGES
+copy "ca_ES"
+END LC_MESSAGES
+
+LC_PAPER
+copy "ca_ES"
+END LC_PAPER
+
+LC_NAME
+copy "ca_ES"
+END LC_NAME
+
+LC_ADDRESS
+copy "ca_ES"
+END LC_ADDRESS
+
+LC_TELEPHONE
+copy "ca_ES"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "ca_ES"
+END LC_MEASUREMENT