diff mbox

[1/1] Fix LC_TIME for mai_IN

Message ID 1500879371-21444-1-git-send-email-akhilesh.k@samsung.com
State New
Headers show

Commit Message

Akhilesh Kumar July 24, 2017, 6:56 a.m. UTC
[BZ #21822]
	* locales/mai_IN (LC_TIME): Fix abday, day, mon etc..

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
---
 localedata/locales/mai_IN |   82 ++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 78 insertions(+), 4 deletions(-)

Comments

Mike FABIAN July 25, 2017, 11:06 a.m. UTC | #1
Akhilesh Kumar <akhilesh.k@samsung.com> wrote:

> [BZ #21822]
> 	* locales/mai_IN (LC_TIME): Fix abday, day, mon etc..

committed.
Rafal Luzynski July 26, 2017, 9:52 p.m. UTC | #2
24.07.2017 08:56 Akhilesh Kumar <akhilesh.k@samsung.com> wrote:
> [...]
> +% Abbreviated month names (%b)
> +abmon "<U091A><U0948><U0924><U093F>";/
> + "<U0042><U0061><U0069><U0073><U0068><U0061><U006B><U0068>";/

This line says "Baishakh" - like this, with Latin characters.
All other locale data in this patch use Devanagari alphabet
so I guess this is wrong.

> [...]
> +% Full month names (%B)
> +% Maithili uses a lunar calendar. When gregorian month names
> +% are needed, the names are the same names than those used
> +% by Hindi
> +% https://en.wikipedia.org/wiki/Tirhuta_Panchang
> +% https://en.wikipedia.org/wiki/Maithili_language#cite_ref-20
> +mon "<U091A><U0948><U0924><U093F>";/
> + "<U0042><U0061><U0069><U0073><U0068><U0061><U006B><U0068>";/

The same here.

Also the wiki article from the link above says that Baishakh
is the first month. So I guess this line should be removed and
something should be added to make 12 months.

Since 2.26 release is coming in days please fix it ASAP.

Regards,

Rafal
diff mbox

Patch

diff --git a/localedata/locales/mai_IN b/localedata/locales/mai_IN
index 5172475..dff326d 100644
--- a/localedata/locales/mai_IN
+++ b/localedata/locales/mai_IN
@@ -11,19 +11,20 @@  escape_char /
 % Maithili language locale for India.
 % Contributed by Rajesh Ranjan <rajeshkajha@yahoo.com> and
 % Sangeeta Kumari <sangeeta09@gmail.com>.
+% Akhilesh Kumar <akhilesh.k@samusng.com>.
 
 LC_IDENTIFICATION
 title      "Maithili language locale for India"
 source     "Maithili Computing Research Center, Pune, India"
 address    "B-3/302, Lunkad Daffodills, Viman Nagar, Pune, India"
 contact    ""
-email      "rajeshkajha@yahoo.com"
+email      "rajeshkajha@yahoo.com,akhilesh.k@samusng.com"
 tel        ""
 fax        ""
 language   "Maithili"
 territory  "India"
-revision   "1.0"
-date       "2006-11-01"
+revision   "1.1"
+date       "2017-24-07"
 
 category "i18n:2012";LC_IDENTIFICATION
 category "i18n:2012";LC_CTYPE
@@ -58,7 +59,80 @@  END LC_NUMERIC
 
 
 LC_TIME
-copy "hi_IN"
+% Abbreviated weekday names (%a)
+abday   "<U0930><U0935><U093F>";
+		"<U0938><U094B><U092E>";/
+		"<U092E><U0902><U0917><U0932>";/
+		"<U092C><U0941><U0927>";/
+		"<U092C><U0943><U0939><U0938><U094D><U092A><U0924><U0940>";/
+		"<U0936><U0941><U0915><U094D><U0930>";/
+		"<U0936><U0928><U0940>"
+%
+% Full weekday names (%A)
+day		"<U0930><U0935><U093F><U0926><U093F><U0928>";/
+		"<U0938><U094B><U092E><U0926><U093F><U0928>";/
+		"<U092E><U0902><U0917><U0932><U0926><U093F><U0928>";/
+		"<U092C><U0941><U0927><U0926><U093F><U0928>";/
+		"<U092C><U0943><U0939><U0938><U094D><U092A><U0924><U0940><U0926><U093F><U0928>";/
+		"<U0936><U0941><U0915><U094D><U0930><U0926><U093F><U0928>";/
+		"<U0936><U0928><U0940><U0926><U093F><U0928>"
+%
+% Abbreviated month names (%b)
+abmon	"<U091A><U0948><U0924><U093F>";/
+		"<U0042><U0061><U0069><U0073><U0068><U0061><U006B><U0068>";/
+		"<U091C><U0947><U0920>";/
+		"<U0905><U0937><U093E><U0922><U093C>";/
+		"<U0938><U093E><U0935><U094B><U0928>";/
+		"<U092D><U093E><U0926><U094B>";/
+		"<U0906><U0938><U093F><U0928>";/
+		"<U0915><U093E><U0924><U093F><U0915>";/
+		"<U0905><U0917><U0939><U0928>";/
+		"<U092A><U0942><U0938>";/
+		"<U092E><U093E><U0918>";/
+		"<U092B><U093E><U0917><U0941><U0928>"
+% Full month names (%B)
+% Maithili uses a lunar calendar. When gregorian month names
+% are needed, the names are the same names than those used
+% by Hindi
+% https://en.wikipedia.org/wiki/Tirhuta_Panchang
+% https://en.wikipedia.org/wiki/Maithili_language#cite_ref-20
+mon     "<U091A><U0948><U0924><U093F>";/
+	    "<U0042><U0061><U0069><U0073><U0068><U0061><U006B><U0068>";/
+		"<U091C><U0947><U0920>";/
+		"<U0905><U0937><U093E><U0922><U093C>";/
+		"<U0938><U093E><U0935><U094B><U0928>";/
+		"<U092D><U093E><U0926><U094B>";/
+		"<U0906><U0938><U093F><U0928>";/
+		"<U0915><U093E><U0924><U093F><U0915>";/
+		"<U0905><U0917><U0939><U0928>";/
+		"<U092A><U0942><U0938>";/
+		"<U092E><U093E><U0918>";/
+		"<U092B><U093E><U0917><U0941><U0928>"
+%
+% Equivalent of AM PM
+am_pm   "<U092A><U0942><U0930><U094D><U0935><U093E><U0939><U094D><U0928>";/
+        "<U0905><U092A><U0930><U093E><U0939><U094D><U0928>"
+%
+% Appropriate date and time representation
+% %A %d %b %Y%I:%M:%S  %Z
+d_t_fmt "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062>/
+<U0020><U0025><U0059><U0020><U0025><U0049><U003A><U0025><U004D><U003A>/
+<U0025><U0053><U0020><U0025><U0070><U0020><U0025><U005A>"
+%
+% Appropriate date representation
+% %A %d %b %Y
+d_fmt   "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062>/
+<U0020><U0025><U0059>"
+%
+% Appropriate time representation
+% %I:%M:%S  %Z
+t_fmt   "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
+<U0020><U0020><U0025><U005A>"
+%
+% Appropriate 12 h time representation (%r)
+t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
+<U0020><U0025><U0070><U0020><U0025><U005A>"
+week 7;19971130;1
 END LC_TIME