This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/1] Fix p_cs_precedes for mt_MT


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]