public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Fix p_cs_precedes for mt_MT
       [not found] <CGME20170808055627epcas5p172ce10282313e04affb3236a56cad542@epcas5p1.samsung.com>
@ 2017-08-08  6:00 ` Akhilesh Kumar
  2017-08-08  7:39   ` Mike FABIAN
  0 siblings, 1 reply; 2+ messages in thread
From: Akhilesh Kumar @ 2017-08-08  6:00 UTC (permalink / raw)
  To: libc-alpha; +Cc: Akhilesh Kumar

Reference :-
    Maltese Style Guide (mlt-mlt-styleguide.pdf doc)

[#BZ 21920]
Positive Currency Format 	€500.00 
Negative Sign Symbol 		- 
Negative Currency Format 	 €500.00 


	locales/mt_MT(LC_MONETARY) : Fix p_cs_precedes/n_cs_precedes
---
 localedata/locales/mt_MT |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/localedata/locales/mt_MT b/localedata/locales/mt_MT
index dd0ab3c..51a4c55 100644
--- a/localedata/locales/mt_MT
+++ b/localedata/locales/mt_MT
@@ -148,9 +148,9 @@ positive_sign         ""
 negative_sign         "<U002D>"
 int_frac_digits       2
 frac_digits           2
-p_cs_precedes         0
+p_cs_precedes         1
 p_sep_by_space        0
-n_cs_precedes         0
+n_cs_precedes         1
 n_sep_by_space        0
 p_sign_posn           1
 n_sign_posn           0
-- 
1.7.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Fix p_cs_precedes for mt_MT
  2017-08-08  6:00 ` [PATCH 1/1] Fix p_cs_precedes for mt_MT Akhilesh Kumar
@ 2017-08-08  7:39   ` Mike FABIAN
  0 siblings, 0 replies; 2+ messages in thread
From: Mike FABIAN @ 2017-08-08  7:39 UTC (permalink / raw)
  To: Akhilesh Kumar; +Cc: libc-alpha

Akhilesh Kumar <akhilesh.k@samsung.com> wrote:

> Reference :-
>     Maltese Style Guide (mlt-mlt-styleguide.pdf doc)


> [#BZ 21920]
  The # should be in front of the bug number, like [BZ #21920]
  
> Positive Currency Format 	€500.00 

http://www.kunsilltalmalti.gov.mt/filebank/documents/rapportdwarlismijiettalmunitaewropea.pdf
on page 7, at the top right, agrees.

> 	locales/mt_MT(LC_MONETARY) : Fix p_cs_precedes/n_cs_precedes
> ---
>  localedata/locales/mt_MT |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/localedata/locales/mt_MT b/localedata/locales/mt_MT
> index dd0ab3c..51a4c55 100644
> --- a/localedata/locales/mt_MT
> +++ b/localedata/locales/mt_MT
> @@ -148,9 +148,9 @@ positive_sign         ""
>  negative_sign         "<U002D>"
>  int_frac_digits       2
>  frac_digits           2
> -p_cs_precedes         0
> +p_cs_precedes         1
>  p_sep_by_space        0
> -n_cs_precedes         0
> +n_cs_precedes         1
>  n_sep_by_space        0
>  p_sign_posn           1
>  n_sign_posn           0

n_sign_posn should be 1, I think:

https://www.gnu.org/software/libc/manual/html_mono/libc.html#General-Numeric

says:

> 0
> 
>     The currency symbol and quantity should be surrounded by parentheses.
> 1
> 
>     Print the sign string before the quantity and currency symbol.

-- 
Mike FABIAN <mfabian@redhat.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-08  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170808055627epcas5p172ce10282313e04affb3236a56cad542@epcas5p1.samsung.com>
2017-08-08  6:00 ` [PATCH 1/1] Fix p_cs_precedes for mt_MT Akhilesh Kumar
2017-08-08  7:39   ` Mike FABIAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).