Skip to content

Anca/ L10n [CA] Movieposters #704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
31 changes: 31 additions & 0 deletions l10n_CM/constants/movieposters/CA/movieposters_ad.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"url": "http://127.0.0.1:8080/movieposters_ad.html",
"field_mapping": {
"given_name": "76d61249-afe6-4bc4-9c9a-a62c5d8107de",
"family_name": "9536d8e7-519e-4197-ae5b-7bbe127925d0",
"organization": "5c8e00c8-ad7d-488b-aff3-67a728498ae0",
"street_address": "fdc9d3f2-13f8-47db-90a3-7a18584028cb",
"address_level_2": "3ee2821f-8f38-4a9d-b95c-e3f62b4ea69e",
"address_level_1": "ecbdd508-3d94-45ec-97b5-c2b642dc3fe6",
"postal_code": "f60c786d-a9bb-41af-ac0f-bff95bb7d3ad",
"country" : "c02b72d4-ba59-4c54-bd27-b4b686cc9133",
"telephone": "c11c59df-db4e-459a-9590-4798a6d22030",
"email": "5f14e679-8b86-4b2d-98ab-0746f1902eca"

},
"form_field": "*[data-moz-autofill-inspect-id='{name}']",
"fields": [
"76d61249-afe6-4bc4-9c9a-a62c5d8107de",
"9536d8e7-519e-4197-ae5b-7bbe127925d0",
"5c8e00c8-ad7d-488b-aff3-67a728498ae0",
"fdc9d3f2-13f8-47db-90a3-7a18584028cb",
"3ee2821f-8f38-4a9d-b95c-e3f62b4ea69e",
"ecbdd508-3d94-45ec-97b5-c2b642dc3fe6",
"f60c786d-a9bb-41af-ac0f-bff95bb7d3ad",
"c02b72d4-ba59-4c54-bd27-b4b686cc9133",
"c11c59df-db4e-459a-9590-4798a6d22030",
"5f14e679-8b86-4b2d-98ab-0746f1902eca"

],
"skip_os": ["Linux", "Windows"]
}
16 changes: 16 additions & 0 deletions l10n_CM/constants/movieposters/CA/movieposters_cc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"url": "http://127.0.0.1:8080/movieporters_cc.html",
"field_mapping": {
"card_number": "11111111-aaaa-bbbb-cccc-000000000000",
"expiration_date": "22222222-bbbb-cccc-dddd-111111111111",
"cvv": "33333333-cccc-dddd-eeee-222222222222"
},
"form_field": "*[data-moz-autofill-inspect-id='{name}']",
"skip": "True",
"fields": [
"11111111-aaaa-bbbb-cccc-000000000000",
"22222222-bbbb-cccc-dddd-111111111111",
"33333333-cccc-dddd-eeee-222222222222"
],
"skip_os": ["Linux", "Windows"]
}
3 changes: 2 additions & 1 deletion l10n_CM/region/CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"newbalance",
"canadatire",
"ebay",
"burtsbees"
"burtsbees",
"movieposters"
],
"tests": [
]
Expand Down
37 changes: 22 additions & 15 deletions l10n_CM/run_l10n.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,34 @@
flag_with_parameter = {"-n", "--reruns"}
valid_region = {"US", "CA", "DE", "FR", "IT", "GB", "PL", "ES"}
valid_sites = {
"demo",
"aldoshoes",
"amazon",
"walmart",
"mediamarkt",
"lowes",
"etsy",
"calvinklein",
"apple",
"artsper",
"assos",
"bestbuy",
"bijoubrigitte",
"burtsbeescalvinklein",
"canadatire",
"cdiscount",
"decathlon",
"newegg",
"vans",
"demo",
"diy",
"ebay",
"etsy",
"justspices",
"lowes",
"mediamarkt",
"movieposters",
"newbalance",
"zalando",
"cdiscount",
"aldoshoes",
"canadatire",
"apple",
"newegg",
"peacocks",
"thomann",
"tiffany",
"vans",
"walmart",
"whittard",
"wish",
"artsper",
"justspices",
"yellowkorner",
"bijoubrigitte",
"fnac",
Expand All @@ -49,6 +55,7 @@
"tiffany",
"assos",
"duka",
"zalando",
}

loaded_valid_sites = valid_l10n_mappings().keys()
Expand Down
3 changes: 3 additions & 0 deletions l10n_CM/sites/movieposters/CA/movieposters_ad.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions l10n_CM/sites/movieposters/CA/movieposters_cc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>

</body>
</html>
Loading