Skip to content

Commit 4d22f83

Browse files
Merge branch 'main' into anca/cm-ca-staples
2 parents 438aad9 + 455614d commit 4d22f83

File tree

3 files changed

+16
-3768
lines changed

3 files changed

+16
-3768
lines changed

l10n_CM/run_l10n.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
current_dir = os.path.dirname(__file__)
1616
valid_flags = {"--run-headless", "-n", "--reruns", "--fx-executable", "--ci"}
1717
flag_with_parameter = {"-n", "--reruns"}
18-
valid_region = {"US", "CA", "DE", "FR", "IT", "GB", "PL"}
18+
valid_region = {"US", "CA", "DE", "FR", "IT", "GB", "PL", "ES"}
1919
valid_sites = {
2020
"demo",
2121
"amazon",
@@ -47,7 +47,6 @@
4747
"diy",
4848
"tiffany",
4949
"assos",
50-
"staples"
5150
}
5251

5352
loaded_valid_sites = valid_l10n_mappings().keys()

l10n_CM/sites/tiffany/IT/tiffany_ad.html

Lines changed: 9 additions & 3764 deletions
Large diffs are not rendered by default.

modules/util.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,11 @@ def __init__(self):
104104
"Yukon": "YT",
105105
}
106106
# temporary fix until faker issue is resolved
107-
self.country_local_translation = {"Germany": "Deutschland", "Italy": "Italia", "Spain": "España"}
107+
self.country_local_translation = {
108+
"Germany": "Deutschland",
109+
"Italy": "Italia",
110+
"Spain": "España",
111+
}
108112
self.fake = None
109113
self.locale = None
110114

@@ -556,7 +560,7 @@ def normalize_regional_phone_numbers(self, phone: str, region: str) -> str:
556560
"DE": "49",
557561
"GB": "44",
558562
"IT": "39",
559-
"ES": "34"
563+
"ES": "34",
560564
}
561565

562566
# Sub out anything that matches this regex statement with an empty string to get rid of extensions in generated phone numbers

0 commit comments

Comments
 (0)