Re: [PATCH] Automatize creation of DATA lists for Makefiles

From: Chris Leonard <cjlhomeaddress_at_gmail.com>
Date: Thu May 17 2012 - 06:33:01 CEST

On Wed, May 16, 2012 at 10:16 AM, Ingo Brückl <ib@wupperonline.de> wrote:
>
> Chris Leonard wrote on Tue, 15 May 2012 16:52:03 -0400:
>
>>>> ar_EG
>>>> ar_SA
>>>> de_AT
>>>> en_NZ
>>>> en_ZA
>>>> es_AR
>>>> es_IR
>>>> fr_BE
>>>> fr_CA
>>>> fr_CH
>>>
>>> There are no .po files for these in svn, i.e. they can't be removed
>>> because they don't exist for AbiWord.
>
>> However lines for these apparently exist in two of the Makefiles, and
>> it is from there that they should be removed to leave the code as
>> clean as possible.
>
>> user/wp/Makefile.am
>> user/wp/templates/Makefile.am
>
> These have a slightly different meaning, because they are more related to
> the user's locale which does not only include the language, but additional
> information. For example, in fr_CA the pagetype is letter and in fr_CH it
> is A4. (Same goes for units, cm vs. inch.)
>
> But we should reduce them and use generic ones, like cm (ISO standard) in
> system.profiles and inch in system.profile-en-US. We could then remove all
> system.profile-ll{-CC} that currently only define cm as well.

Please forgive me if this sounds like an ignorant question, but is
there some reason we maintain this information ourselves instead of
relying on the glibc locale file which contains:

LC_Paper and LC_Measurement

LC_Paper gives height and width in mm

LC_MEASUREMENT:
1 = cm
2 = inches

**** fr_CA locale ****

LC_PAPER
copy "en_CA"
END LC_PAPER

LC_MEASUREMENT
copy "en_CA"
END LC_MEASUREMENT

**** en_CA locale ****

LC_PAPER
height 279
width 216
END LC_PAPER

LC_MEASUREMENT
measurement 1
END LC_MEASUREMENT

**** fr_FR locale ****

LC_PAPER
height 297
width 210
END LC_PAPER

LC_MEASUREMENT
measurement 1
END LC_MEASUREMENT

**** en-US locale ****

LC_PAPER
height 279
width 216
END LC_PAPER

LC_MEASUREMENT
measurement 2
END LC_MEASUREMENT
Received on Thu May 17 06:33:51 2012

This archive was generated by hypermail 2.1.8 : Thu May 17 2012 - 06:33:52 CEST