[2/3] Add/Fix country_isbn for France

Message ID 1500531984-7032-1-git-send-email-akhilesh.k@samsung.com
State Committed
Delegated to: Mike Fabian
Headers

Commit Message

Akhilesh Kumar July 20, 2017, 6:26 a.m. UTC
  [BZ #21795]
* locales/br_FR  (LC_ADDRESS)   : Add country_post.
* locales/ca_FR  (LC_ADDRESS)   : Add country_post.
* locales/fr_FR  (LC_ADDRESS)   : Add country_post.
* locales/ia_FR  (LC_ADDRESS)   : Add country_post.
* locales/oc_FR  (LC_ADDRESS)   : Fix country_post.

Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
---
 localedata/locales/br_FR |    1 +
 localedata/locales/ca_FR |    1 +
 localedata/locales/fr_FR |    1 +
 localedata/locales/ia_FR |    2 +-
 localedata/locales/oc_FR |    2 +-
 5 files changed, 5 insertions(+), 2 deletions(-)
  

Comments

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

> [BZ #21795]
> * locales/br_FR  (LC_ADDRESS)   : Add country_post.
> * locales/ca_FR  (LC_ADDRESS)   : Add country_post.
> * locales/fr_FR  (LC_ADDRESS)   : Add country_post.
> * locales/ia_FR  (LC_ADDRESS)   : Add country_post.
> * locales/oc_FR  (LC_ADDRESS)   : Fix country_post.
                                    ^ country_isbn !
                                    
> --- a/localedata/locales/br_FR
> +++ b/localedata/locales/br_FR
> @@ -175,6 +175,7 @@ country_name "<U0046><U0072><U0061><U00F1><U0073>"
>  country_ab2 "<U0046><U0052>"
>  country_ab3 "<U0046><U0052><U0041>"
>  country_num 250
> +country_isbn 979-10
>  % F
>  country_car    "<U0046>"
>  % Brezhoneg

[...]

> diff --git a/localedata/locales/oc_FR b/localedata/locales/oc_FR
> index cfabfa1..f0ffa2b 100644
> --- a/localedata/locales/oc_FR
> +++ b/localedata/locales/oc_FR
> @@ -45,7 +45,7 @@ country_post "F"
>  country_ab2 "FR"
>  country_ab3 "FRA"
>  country_num 250
> -country_isbn "2"
> +country_isbn 979-10
>  country_car "<U0046>"
>  % Occitan
>  lang_name    "<U004F><U0063><U0063><U0069><U0074><U0061><U006E>"

That seems correct according to the RangeMessage.xml file one
can download at https://www.isbn-international.org/range_file_generation
  
Mike FABIAN July 21, 2017, 8:16 a.m. UTC | #2
Mike FABIAN <mfabian@redhat.com> さんはかきました:

> Akhilesh Kumar <akhilesh.k@samsung.com> wrote:
>
>> [BZ #21795]
>> * locales/br_FR  (LC_ADDRESS)   : Add country_post.
>> * locales/ca_FR  (LC_ADDRESS)   : Add country_post.
>> * locales/fr_FR  (LC_ADDRESS)   : Add country_post.
>> * locales/ia_FR  (LC_ADDRESS)   : Add country_post.
>> * locales/oc_FR  (LC_ADDRESS)   : Fix country_post.
>                                     ^ country_isbn !
>                                     
>> --- a/localedata/locales/br_FR
>> +++ b/localedata/locales/br_FR
>> @@ -175,6 +175,7 @@ country_name "<U0046><U0072><U0061><U00F1><U0073>"
>>  country_ab2 "<U0046><U0052>"
>>  country_ab3 "<U0046><U0052><U0041>"
>>  country_num 250
>> +country_isbn 979-10
>>  % F
>>  country_car    "<U0046>"
>>  % Brezhoneg
>
> [...]
>
>> diff --git a/localedata/locales/oc_FR b/localedata/locales/oc_FR
>> index cfabfa1..f0ffa2b 100644
>> --- a/localedata/locales/oc_FR
>> +++ b/localedata/locales/oc_FR
>> @@ -45,7 +45,7 @@ country_post "F"
>>  country_ab2 "FR"
>>  country_ab3 "FRA"
>>  country_num 250
>> -country_isbn "2"
>> +country_isbn 979-10
>>  country_car "<U0046>"
>>  % Occitan
>>  lang_name    "<U004F><U0063><U0063><U0069><U0074><U0061><U006E>"
>
> That seems correct according to the RangeMessage.xml file one
> can download at https://www.isbn-international.org/range_file_generation

But it needs to be in double quotes, like this:

    country_isbn "979-10"

Without the double quotes it is a syntax error:

   br_FR.UTF-8...locales/br_FR:178: LC_ADDRESS: syntax error
  
Mike FABIAN July 21, 2017, 8:20 a.m. UTC | #3
Mike FABIAN <mfabian@redhat.com> wrote:

> Mike FABIAN <mfabian@redhat.com> wrote:
>
>> Akhilesh Kumar <akhilesh.k@samsung.com> wrote:
>>
>>> [BZ #21795]
>>> * locales/br_FR  (LC_ADDRESS)   : Add country_post.
>>> * locales/ca_FR  (LC_ADDRESS)   : Add country_post.
>>> * locales/fr_FR  (LC_ADDRESS)   : Add country_post.
>>> * locales/ia_FR  (LC_ADDRESS)   : Add country_post.
>>> * locales/oc_FR  (LC_ADDRESS)   : Fix country_post.

[...]

>>
>> That seems correct according to the RangeMessage.xml file one
>> can download at https://www.isbn-international.org/range_file_generation
>
> But it needs to be in double quotes, like this:
>
>     country_isbn "979-10"
>
> Without the double quotes it is a syntax error:
>
>    br_FR.UTF-8...locales/br_FR:178: LC_ADDRESS: syntax error

committed with the above fix.
  

Patch

diff --git a/localedata/locales/br_FR b/localedata/locales/br_FR
index adfa73d..9fe0b5d 100644
--- a/localedata/locales/br_FR
+++ b/localedata/locales/br_FR
@@ -175,6 +175,7 @@  country_name "<U0046><U0072><U0061><U00F1><U0073>"
 country_ab2 "<U0046><U0052>"
 country_ab3 "<U0046><U0052><U0041>"
 country_num 250
+country_isbn 979-10
 % F
 country_car    "<U0046>"
 % Brezhoneg
diff --git a/localedata/locales/ca_FR b/localedata/locales/ca_FR
index 1107ae1..44ac756 100644
--- a/localedata/locales/ca_FR
+++ b/localedata/locales/ca_FR
@@ -95,6 +95,7 @@  country_name "<U0046><U0072><U0061><U006E><U00E7><U0061>"
 country_ab2 "<U0046><U0052>"
 country_ab3 "<U0046><U0052><U0041>"
 country_num 250
+country_isbn 979-10
 % F
 country_car    "<U0046>"
 % català
diff --git a/localedata/locales/fr_FR b/localedata/locales/fr_FR
index 19b2b50..bf4c519 100644
--- a/localedata/locales/fr_FR
+++ b/localedata/locales/fr_FR
@@ -179,6 +179,7 @@  country_name "<U0046><U0072><U0061><U006E><U0063><U0065>"
 country_ab2 "<U0046><U0052>"
 country_ab3 "<U0046><U0052><U0041>"
 country_num 250
+country_isbn 979-10
 % F
 country_car    "<U0046>"
 % Français
diff --git a/localedata/locales/ia_FR b/localedata/locales/ia_FR
index 85e97eb..926d6de 100644
--- a/localedata/locales/ia_FR
+++ b/localedata/locales/ia_FR
@@ -129,7 +129,7 @@  country_post "<U0046>"
 country_ab2 "<U0046><U0052>"
 country_ab3 "<U0046><U0052><U0041>"
 country_num 250
-country_isbn 2
+country_isbn 979-10
 country_car "<U0046>"
 lang_name "<U0049><U006E><U0074><U0065><U0072><U006C><U0069><U006E><U0067><U0075><U0061>"
 
diff --git a/localedata/locales/oc_FR b/localedata/locales/oc_FR
index cfabfa1..f0ffa2b 100644
--- a/localedata/locales/oc_FR
+++ b/localedata/locales/oc_FR
@@ -45,7 +45,7 @@  country_post "F"
 country_ab2 "FR"
 country_ab3 "FRA"
 country_num 250
-country_isbn "2"
+country_isbn 979-10
 country_car "<U0046>"
 % Occitan
 lang_name    "<U004F><U0063><U0063><U0069><U0074><U0061><U006E>"