[gnome-maps] address: Add additional terretories with anglosaxian format



commit 2935edbfda1608dc82b4074d721ce475bd324f09
Author: Marcus Lundblad <ml update uu se>
Date:   Fri Jun 14 23:19:53 2019 +0200

    address: Add additional terretories with anglosaxian format
    
    Set housenumber before street address format for
    UK Crown dependencies and Overseas Terretories and
    U.S. Virgin Islands.

 src/address.js | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/src/address.js b/src/address.js
index b1e6c32..cec8c33 100644
--- a/src/address.js
+++ b/src/address.js
@@ -35,6 +35,7 @@ const Format = imports.format;
  * and house number).
  */
 const FORMAT_MAP = {
+    'AI': '%2$s %1$s',
     'AL': '%1$s %2$s̈́',
     'AR': '%1$s %2$s',
     'AS': '%1$s %2$s',
@@ -43,6 +44,7 @@ const FORMAT_MAP = {
     'BA': '%1$s %2$s',
     'BD': '%1$s. %2$s',
     'BE': '%1$s %2$s',
+    'BM': '%2$s %1$s',
     'BR': '%1$s, %2$s',
     'BY': '%1$s, д. %2$s',
     /* if we had access to state codes, we could add a special case for
@@ -58,8 +60,10 @@ const FORMAT_MAP = {
     'EE': '%1$s %2$s',
     'ES': '%1$s, %2$s',
     'FI': '%1$s %2$s',
+    'FK': '%2$s %1$s',
     'FR': '%2$s, %1$s',
     'GB': '%2$s %1$s',
+    'GG': '%2$s %1$s',
     'GR': '%1$s %2$s',
     'HK': '%2$s %1$s',
     'HR': '%1$s %2$s',
@@ -67,18 +71,22 @@ const FORMAT_MAP = {
     'IE': '%2$s %1$s',
     'IL': '%2$s %1$s',
     'IS': '%1$s %2$s',
+    'IM': '%2$s %1$s',
     'IN': '%2$s %1$s',
     'ID': '%1$s No. %2$s',
     'IR': '%1$s %2$s',
     'IT': '%1$s %2$s',
     'IQ': '%1$s %2$s',
+    'JE': '%2$s %1$s',
     'KR': '%1$s %2$s',
+    'KY': '%2$s %1$s',
     'LI': '%1$s %2$s',
     'LK': '%2$s %1$s',
     'LU': '%1$s %2$s',
     'LV': '%1$s %2$s',
     'ME': '%1$s %2$s',
     'MO': '%1$s%2$s',
+    'MS': '%2$s %1$s',
     'MY': '%2$s $1%s',
     'MX': '%1$s No. %2$s',
     'NL': '%1$s %2$s',
@@ -86,8 +94,9 @@ const FORMAT_MAP = {
     'NZ': '%2$s %1$s',
     'OM': '%1$s, %2$s',
     'PE': '%1$s %2$s',
-    'PK': '%2$s, %1$s',
     'PH': '%2$s %1$s',
+    'PN': '%2$s %1$s',
+    'PK': '%2$s, %1$s',
     'PL': '%1$s %2$s',
     'PT': '%1$s %2$s',
     'RO': '%1$s, nr. %2$s',
@@ -96,13 +105,17 @@ const FORMAT_MAP = {
     'SA': '%2$s %1$s',
     'SE': '%1$s %2$s',
     'SG': '%2$s %1$s',
+    'SH': '%2$s %1$s',
     'SJ': '%1$s %2$s',
     'SK': '%1$s %2$s',
     'SL': '%1$s %2$s',
+    'TC': '%2$s %1$s',
     'TR': '%1$s %2$s',
     'TW': '%1$s, %2$s̈́',
     'UK': 'вул. %1$s, буд. %2$s',
     'US': '%2$s %1$s',
+    'VG': '%2$s %1$s',
+    'VI': '%2$s %1$s',
     'VN': 'số %2$s %1$s'
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]