diff --git a/blocks/identity-block/features/signup/default.jsx b/blocks/identity-block/features/signup/default.jsx index cb26f03b70..d7f0347967 100644 --- a/blocks/identity-block/features/signup/default.jsx +++ b/blocks/identity-block/features/signup/default.jsx @@ -96,8 +96,8 @@ const SignUp = ({ customFields, arcSite }) => { }, specialCharacters: { value: pwSpecialCharacters, - message: phrases.t("identity-block.password-requirements-uppercase", { - requirementCount: pwUppercase, + message: phrases.t("identity-block.password-requirements-special", { + requirementCount: pwSpecialCharacters, }), }, }, diff --git a/blocks/identity-block/index.js b/blocks/identity-block/index.js new file mode 100644 index 0000000000..c0f80d77c7 --- /dev/null +++ b/blocks/identity-block/index.js @@ -0,0 +1,6 @@ +import useIdentity from "./components/identity"; + +export { + // eslint-disable-next-line import/prefer-default-export + useIdentity, +}; \ No newline at end of file diff --git a/blocks/subscriptions-block/README.md b/blocks/subscriptions-block/README.md new file mode 100644 index 0000000000..d5f0b9146d --- /dev/null +++ b/blocks/subscriptions-block/README.md @@ -0,0 +1 @@ +# `@wpmedia/subscriptions-block` \ No newline at end of file diff --git a/blocks/subscriptions-block/_index.scss b/blocks/subscriptions-block/_index.scss new file mode 100644 index 0000000000..5827ec0bcf --- /dev/null +++ b/blocks/subscriptions-block/_index.scss @@ -0,0 +1,206 @@ +@use "@wpmedia/arc-themes-components/scss"; + +.b-checkout { + &__cart { + @include scss.block-components("checkout-cart"); + @include scss.block-properties("checkout-cart"); + } + + &__cart-items { + @include scss.block-components("checkout-cart-items"); + @include scss.block-properties("checkout-cart-items"); + } + + &__cart-item { + @include scss.block-components("checkout-cart-item"); + @include scss.block-properties("checkout-cart-item"); + + &--name { + @include scss.block-components("checkout-cart-item--name"); + @include scss.block-properties("checkout-cart-item--name"); + } + + &--info { + @include scss.block-components("checkout-cart-item--info"); + @include scss.block-properties("checkout-cart-item--info"); + } + } + + &__contact-info { + @include scss.block-components("checkout-contact-info"); + @include scss.block-properties("checkout-contact-info"); + + &-profile { + @include scss.block-components("checkout-contact-info-profile"); + @include scss.block-properties("checkout-contact-info-profile"); + } + } + + &__identity-row { + @include scss.block-components("checkout-identity-row"); + @include scss.block-properties("checkout-identity-row"); + } + + &__identity-icon { + @include scss.block-components("checkout-identity-icon"); + @include scss.block-properties("checkout-identity-icon"); + } + + &__payment { + @include scss.block-components("checkout-payment"); + @include scss.block-properties("checkout-payment"); + + &-form { + @include scss.block-components("checkout-payment-form"); + @include scss.block-properties("checkout-payment-form"); + + &--stripe-input-container { + @include scss.block-components("checkout-payment-form--stripe-input-container"); + @include scss.block-properties("checkout-payment-form--stripe-input-container"); + } + + &--stripe-label { + @include scss.block-components("checkout-payment-form--stripe-label"); + @include scss.block-properties("checkout-payment-form--stripe-label"); + } + + &--stripe-element { + @include scss.block-components("checkout-payment-form--stripe-element"); + @include scss.block-properties("checkout-payment-form--stripe-element"); + } + + &--stripe-cardDetails { + @include scss.block-components("checkout-payment-form--stripe-cardDetails"); + @include scss.block-properties("checkout-payment-form--stripe-cardDetails"); + } + + &--stripe-countryDetails { + @include scss.block-components("checkout-payment-form--stripe-countryDetails"); + @include scss.block-properties("checkout-payment-form--stripe-countryDetails"); + } + + &--stripe-row { + @include scss.block-components("checkout-payment-form--stripe-row"); + @include scss.block-properties("checkout-payment-form--stripe-row"); + } + + &--border-bottom { + @include scss.block-components("checkout-payment-form--border-bottom"); + @include scss.block-properties("checkout-payment-form--border-bottom"); + } + + &--border-right { + @include scss.block-components("checkout-payment-form--border-right"); + @include scss.block-properties("checkout-payment-form--border-right"); + } + } + + &-information { + @include scss.block-components("checkout-payment-information"); + @include scss.block-properties("checkout-payment-information"); + } + } + + &__test { + @include scss.block-components("checkout-payment-test"); + @include scss.block-properties("checkout-payment-test"); + + &-1 { + @include scss.block-components("checkout-payment-test-1"); + @include scss.block-properties("checkout-payment-test-1"); + } + + &-2 { + @include scss.block-components("checkout-payment-test-2"); + @include scss.block-properties("checkout-payment-test-2"); + } + + &-row { + @include scss.block-components("checkout-payment-test-row"); + @include scss.block-properties("checkout-payment-test-row"); + } + } + + @include scss.block-components("checkout"); + @include scss.block-properties("checkout"); +} + +.b-offer { + &__headings { + @include scss.block-components("offer-headings"); + @include scss.block-properties("offer-headings"); + } + + &__title { + @include scss.block-components("offer-title"); + @include scss.block-properties("offer-title"); + } + + &__subtitle { + @include scss.block-components("offer-subtitle"); + @include scss.block-properties("offer-subtitle"); + } + + &__wrapper { + @include scss.block-components("offer-wrapper"); + @include scss.block-properties("offer-wrapper"); + } + + &__children-grid { + @include scss.block-components("offer-children-grid"); + @include scss.block-properties("offer-children-grid"); + } + + &__grid-list { + @include scss.block-components("offer-grid-list"); + @include scss.block-properties("offer-grid-list"); + + &--1 { + @include scss.block-components("offer-grid-list-1"); + @include scss.block-properties("offer-grid-list-1"); + } + + &--2 { + @include scss.block-components("offer-grid-list-2"); + @include scss.block-properties("offer-grid-list-2"); + } + + &--3 { + @include scss.block-components("offer-grid-list-3"); + @include scss.block-properties("offer-grid-list-3"); + } + + &--4 { + @include scss.block-components("offer-grid-list-4"); + @include scss.block-properties("offer-grid-list-4"); + } + + &--5 { + @include scss.block-components("offer-grid-list-5"); + @include scss.block-properties("offer-grid-list-5"); + + > * { + @include scss.block-components("offer-grid-list-5-children"); + @include scss.block-properties("offer-grid-list-5-children"); + } + } + } + + &__card { + @include scss.block-components("offer-card"); + @include scss.block-properties("offer-card"); + } + + &__card--features { + @include scss.block-components("offer-card-features"); + @include scss.block-properties("offer-card-features"); + } + + &__card--features--feature-item { + @include scss.block-components("offer-card-features--feature-item"); + @include scss.block-properties("offer-card-features--feature-item"); + } + + @include scss.block-components("offer"); + @include scss.block-properties("offer"); +} diff --git a/blocks/subscriptions-block/components/Cart/index.jsx b/blocks/subscriptions-block/components/Cart/index.jsx new file mode 100644 index 0000000000..f58f5973a3 --- /dev/null +++ b/blocks/subscriptions-block/components/Cart/index.jsx @@ -0,0 +1,114 @@ +import React, { useEffect, useState } from "react"; +import PropTypes from "@arc-fusion/prop-types"; +import { useFusionContext } from "fusion:context"; +import getProperties from "fusion:properties"; +import { usePhrases, Heading, Link } from "@wpmedia/arc-themes-components"; +import useSales from "../useSales"; +import currency from "../../utils/currency"; +import Item from "./item"; + +const getPaymentInfo = ({ origin, endpoint, priceCode }) => { + const dateMidnight = new Date(); + dateMidnight.setUTCHours(0, 0, 0, 0); + + return fetch(`${origin}${endpoint}${priceCode}/1/${dateMidnight}`, {}).then((res) => + res.json(), + ); +}; + +const Cart = ({ offerURL, className }) => { + const { arcSite } = useFusionContext(); + const phrases = usePhrases(); + + const [isFetching, setIsFetching] = useState(true); + const [cartItems, setCartItems] = useState(); + + const { + api: { + retail: { origin }, + }, + } = getProperties(arcSite); + + const { Sales } = useSales(); + + useEffect(() => { + const fetchPaymentInfo = (priceCode) => + getPaymentInfo({ + origin, + endpoint: "/retail/public/v1/pricing/paymentInfo/", + priceCode, + }); + + const fetchCartItemSummaries = async (cartDetails) => { + const updatedCart = cartDetails; + + if (!cartDetails.items) { + return cartDetails; + } + + await Promise.all( + cartDetails.items.map((item) => + fetchPaymentInfo(item.priceCode).then((priceSummary) => ({ + ...item, + priceSummary, + })), + ), + ).then((results) => { + updatedCart.items = results; + }); + + return updatedCart; + }; + + const getAllCart = async () => { + setCartItems( + await Sales.getCart() + .then(fetchCartItemSummaries) + .catch(() => []), + ); + setIsFetching(false); + }; + + getAllCart(); + }, [Sales, origin]); + + if (isFetching) { + return null; + } + + if (!cartItems?.items || !cartItems?.items.length) { + return ( +
+ {phrases.t("checkout-block.empty-cart-message")} +
+ ); + } + + return ( +
+ {phrases.t("checkout-block.order-summary")} +
+ {cartItems.items.map((itemDetails) => ( + + ))} + +
+
+ ); +}; + +Cart.propTypes = { + offerURL: PropTypes.string.isRequired, +}; + +export default Cart; diff --git a/blocks/subscriptions-block/components/Cart/index.test.jsx b/blocks/subscriptions-block/components/Cart/index.test.jsx new file mode 100644 index 0000000000..16a2cbedd2 --- /dev/null +++ b/blocks/subscriptions-block/components/Cart/index.test.jsx @@ -0,0 +1,115 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import { act } from "react-dom/test-utils"; +import useSales from "../useSales"; + +import Cart from "./index"; + +const BLOCK_CLASS_NAME = "b-checkout"; + +jest.mock("fusion:properties", () => jest.fn(() => ({ api: { retail: { origin: "" } } }))); + +jest.mock("fusion:intl", () => ({ + __esModule: true, + default: jest.fn(() => ({ t: jest.fn((phrase) => phrase) })), +})); + +jest.mock("../../components/useSales"); + +describe("Cart", () => { + it("renders empty cart message if no cart items", async () => { + useSales.mockReturnValue({ + Sales: { + getCart: jest.fn(async () => Promise.resolve({ items: [] })), + }, + }); + + await act(async () => { + await render(); + }); + + expect(screen.getByText("Select from one of our offers")).not.toBeNull(); + }); + + it("renders cart", async () => { + global.fetch = jest.fn(() => + Promise.resolve({ + json: () => + Promise.resolve({ + timeUMType: null, + timeQty: 0, + price: 0, + finalPayment: false, + pricingStrategy: { + pricingStrategyId: 1179, + priceCode: "HUV7RS", + name: "Sports: Free Trial + Monthly", + description: "

1 month free trial

", + gift: false, + summary: "

Free first month,then $5.00 every month until canceled.

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "0.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "Month", + }, + { + amount: "5.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + paymentDate: 1638489600000, + currency: "USD", + }), + }), + ); + + const items = [ + { + sku: "SPORTS", + quantity: 1, + shortDescription: "

It's all you care about! We understand.

", + name: "Sports All Access", + price: 0, + tax: 0, + subtotal: 0, + total: 0, + priceCode: "HUV7RS", + gift: false, + }, + ]; + + useSales.mockReturnValue({ + Sales: { + getCart: jest.fn(async () => + Promise.resolve({ + total: 0, + subtotal: 0, + tax: 0, + shipping: 0, + items: items, + currency: "USD", + taxSupported: true, + }), + ), + }, + }); + + await act(async () => { + await render(); + }); + + expect(screen.getByText("Order Summary")).not.toBeNull(); + expect(screen.getByText(items.name)).not.toBeNull; + }); +}); diff --git a/blocks/subscriptions-block/components/Cart/item.jsx b/blocks/subscriptions-block/components/Cart/item.jsx new file mode 100644 index 0000000000..dc5ff75e8e --- /dev/null +++ b/blocks/subscriptions-block/components/Cart/item.jsx @@ -0,0 +1,24 @@ +import React from "react"; +import PropTypes from "@arc-fusion/prop-types"; +import { Stack } from "@wpmedia/arc-themes-components"; + +const Item = ({ name, description, additionalInfo, className }) => ( + +

{name}

+ {description ? ( +

+ ) : null} + {additionalInfo ?

{additionalInfo}

: null} +
+); + +Item.propTypes = { + name: PropTypes.string.isRequired, + description: PropTypes.string, + additionalInfo: PropTypes.string, +}; + +export default Item; \ No newline at end of file diff --git a/blocks/subscriptions-block/components/Cart/item.test.jsx b/blocks/subscriptions-block/components/Cart/item.test.jsx new file mode 100644 index 0000000000..b7d2bc6b81 --- /dev/null +++ b/blocks/subscriptions-block/components/Cart/item.test.jsx @@ -0,0 +1,43 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import Item from "./item"; + +const BLOCK_CLASS_NAME = "b-checkout"; + +describe("Cart Item", () => { + it("renders name, description and additional info", () => { + const props = { + name: "Name", + description: "Item description", + additionalInfo: "Some addtional information for an item", + }; + render(); + + expect(screen.getByText(props.name)).not.toBeNull(); + expect(screen.getByText(props.description)).not.toBeNull(); + expect(screen.getByText(props.additionalInfo)).not.toBeNull(); + }); + + it("renders name, description", () => { + const props = { + name: "Name", + description: "Item description", + }; + render(); + + expect(screen.getByText(props.name)).not.toBeNull(); + expect(screen.getByText(props.description)).not.toBeNull(); + expect(screen.getByText(props.additionalInfo)).toBeNull(); + }); + + it("renders name only", () => { + const props = { + name: "Name", + }; + const wrapper = mount(); + + expect(screen.getByText(props.name)).not.toBeNull(); + expect(screen.getByText(props.description)).toBeNull(); + expect(screen.getByText(props.additionalInfo)).toBeNull(); + }); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/components/ContactInfo/countryCodes.js b/blocks/subscriptions-block/components/ContactInfo/countryCodes.js new file mode 100644 index 0000000000..3802f75196 --- /dev/null +++ b/blocks/subscriptions-block/components/ContactInfo/countryCodes.js @@ -0,0 +1,980 @@ +const countryCodes = [ + { + key: "checkout-block.Select-Country", + code: "", + }, + { + key: "checkout-block.Afghanistan", + code: "AF", + }, + { + key: "checkout-block.Åland-Islands", + code: "AX", + }, + { + key: "checkout-block.Albania", + code: "AL", + }, + { + key: "checkout-block.Algeria", + code: "DZ", + }, + { + key: "checkout-block.American-Samoa", + code: "AS", + }, + { + key: "checkout-block.AndorrA", + code: "AD", + }, + { + key: "checkout-block.Angola", + code: "AO", + }, + { + key: "checkout-block.Anguilla", + code: "AI", + }, + { + key: "checkout-block.Antarctica", + code: "AQ", + }, + { + key: "checkout-block.Antigua-and-Barbuda", + code: "AG", + }, + { + key: "checkout-block.Argentina", + code: "AR", + }, + { + key: "checkout-block.Armenia", + code: "AM", + }, + { + key: "checkout-block.Aruba", + code: "AW", + }, + { + key: "checkout-block.Australia", + code: "AU", + }, + { + key: "checkout-block.Austria", + code: "AT", + }, + { + key: "checkout-block.Azerbaijan", + code: "AZ", + }, + { + key: "checkout-block.Bahamas", + code: "BS", + }, + { + key: "checkout-block.Bahrain", + code: "BH", + }, + { + key: "checkout-block.Bangladesh", + code: "BD", + }, + { + key: "checkout-block.Barbados", + code: "BB", + }, + { + key: "checkout-block.Belarus", + code: "BY", + }, + { + key: "checkout-block.Belgium", + code: "BE", + }, + { + key: "checkout-block.Belize", + code: "BZ", + }, + { + key: "checkout-block.Benin", + code: "BJ", + }, + { + key: "checkout-block.Bermuda", + code: "BM", + }, + { + key: "checkout-block.Bhutan", + code: "BT", + }, + { + key: "checkout-block.Bolivia", + code: "BO", + }, + { + key: "checkout-block.Bosnia-and-Herzegovina", + code: "BA", + }, + { + key: "checkout-block.Botswana", + code: "BW", + }, + { + key: "checkout-block.Bouvet-Island", + code: "BV", + }, + { + key: "checkout-block.Brazil", + code: "BR", + }, + { + key: "checkout-block.British-Indian-Ocean-Territory", + code: "IO", + }, + { + key: "checkout-block.Brunei-Darussalam", + code: "BN", + }, + { + key: "checkout-block.Bulgaria", + code: "BG", + }, + { + key: "checkout-block.Burkina-Faso", + code: "BF", + }, + { + key: "checkout-block.Burundi", + code: "BI", + }, + { + key: "checkout-block.Cambodia", + code: "KH", + }, + { + key: "checkout-block.Cameroon", + code: "CM", + }, + { + key: "checkout-block.Canada", + code: "CA", + }, + { + key: "checkout-block.Cape-Verde", + code: "CV", + }, + { + key: "checkout-block.Cayman-Islands", + code: "KY", + }, + { + key: "checkout-block.Central-African-Republic", + code: "CF", + }, + { + key: "checkout-block.Chad", + code: "TD", + }, + { + key: "checkout-block.Chile", + code: "CL", + }, + { + key: "checkout-block.China", + code: "CN", + }, + { + key: "checkout-block.Christmas-Island", + code: "CX", + }, + { + key: "checkout-block.Cocos-(Keeling)-Islands", + code: "CC", + }, + { + key: "checkout-block.Colombia", + code: "CO", + }, + { + key: "checkout-block.Comoros", + code: "KM", + }, + { + key: "checkout-block.Congo", + code: "CG", + }, + { + key: "checkout-block.Congo,-The-Democratic-Republic-of-the", + code: "CD", + }, + { + key: "checkout-block.Cook-Islands", + code: "CK", + }, + { + key: "checkout-block.Costa-Rica", + code: "CR", + }, + { + key: "checkout-block.Cote-D'Ivoire", + code: "CI", + }, + { + key: "checkout-block.Croatia", + code: "HR", + }, + { + key: "checkout-block.Cuba", + code: "CU", + }, + { + key: "checkout-block.Cyprus", + code: "CY", + }, + { + key: "checkout-block.Czech-Republic", + code: "CZ", + }, + { + key: "checkout-block.Denmark", + code: "DK", + }, + { + key: "checkout-block.Djibouti", + code: "DJ", + }, + { + key: "checkout-block.Dominica", + code: "DM", + }, + { + key: "checkout-block.Dominican-Republic", + code: "DO", + }, + { + key: "checkout-block.Ecuador", + code: "EC", + }, + { + key: "checkout-block.Egypt", + code: "EG", + }, + { + key: "checkout-block.El-Salvador", + code: "SV", + }, + { + key: "checkout-block.Equatorial-Guinea", + code: "GQ", + }, + { + key: "checkout-block.Eritrea", + code: "ER", + }, + { + key: "checkout-block.Estonia", + code: "EE", + }, + { + key: "checkout-block.Ethiopia", + code: "ET", + }, + { + key: "checkout-block.Falkland-Islands-(Malvinas)", + code: "FK", + }, + { + key: "checkout-block.Faroe-Islands", + code: "FO", + }, + { + key: "checkout-block.Fiji", + code: "FJ", + }, + { + key: "checkout-block.Finland", + code: "FI", + }, + { + key: "checkout-block.France", + code: "FR", + }, + { + key: "checkout-block.French-Guiana", + code: "GF", + }, + { + key: "checkout-block.French-Polynesia", + code: "PF", + }, + { + key: "checkout-block.French-Southern-Territories", + code: "TF", + }, + { + key: "checkout-block.Gabon", + code: "GA", + }, + { + key: "checkout-block.Gambia", + code: "GM", + }, + { + key: "checkout-block.Georgia", + code: "GE", + }, + { + key: "checkout-block.Germany", + code: "DE", + }, + { + key: "checkout-block.Ghana", + code: "GH", + }, + { + key: "checkout-block.Gibraltar", + code: "GI", + }, + { + key: "checkout-block.Greece", + code: "GR", + }, + { + key: "checkout-block.Greenland", + code: "GL", + }, + { + key: "checkout-block.Grenada", + code: "GD", + }, + { + key: "checkout-block.Guadeloupe", + code: "GP", + }, + { + key: "checkout-block.Guam", + code: "GU", + }, + { + key: "checkout-block.Guatemala", + code: "GT", + }, + { + key: "checkout-block.Guernsey", + code: "GG", + }, + { + key: "checkout-block.Guinea", + code: "GN", + }, + { + key: "checkout-block.Guinea-Bissau", + code: "GW", + }, + { + key: "checkout-block.Guyana", + code: "GY", + }, + { + key: "checkout-block.Haiti", + code: "HT", + }, + { + key: "checkout-block.Heard-Island-and-Mcdonald-Islands", + code: "HM", + }, + { + key: "checkout-block.Holy-See-(Vatican-City-State)", + code: "VA", + }, + { + key: "checkout-block.Honduras", + code: "HN", + }, + { + key: "checkout-block.Hong-Kong", + code: "HK", + }, + { + key: "checkout-block.Hungary", + code: "HU", + }, + { + key: "checkout-block.Iceland", + code: "IS", + }, + { + key: "checkout-block.India", + code: "IN", + }, + { + key: "checkout-block.Indonesia", + code: "ID", + }, + { + key: "checkout-block.Iran,-Islamic-Republic-Of", + code: "IR", + }, + { + key: "checkout-block.Iraq", + code: "IQ", + }, + { + key: "checkout-block.Ireland", + code: "IE", + }, + { + key: "checkout-block.Isle-of-Man", + code: "IM", + }, + { + key: "checkout-block.Israel", + code: "IL", + }, + { + key: "checkout-block.Italy", + code: "IT", + }, + { + key: "checkout-block.Jamaica", + code: "JM", + }, + { + key: "checkout-block.Japan", + code: "JP", + }, + { + key: "checkout-block.Jersey", + code: "JE", + }, + { + key: "checkout-block.Jordan", + code: "JO", + }, + { + key: "checkout-block.Kazakhstan", + code: "KZ", + }, + { + key: "checkout-block.Kenya", + code: "KE", + }, + { + key: "checkout-block.Kiribati", + code: "KI", + }, + { + key: "checkout-block.Korea,-Democratic-People'S-Republic-of", + code: "KP", + }, + { + key: "checkout-block.Korea,-Republic-of", + code: "KR", + }, + { + key: "checkout-block.Kuwait", + code: "KW", + }, + { + key: "checkout-block.Kyrgyzstan", + code: "KG", + }, + { + key: "checkout-block.Lao-People'S-Democratic-Republic", + code: "LA", + }, + { + key: "checkout-block.Latvia", + code: "LV", + }, + { + key: "checkout-block.Lebanon", + code: "LB", + }, + { + key: "checkout-block.Lesotho", + code: "LS", + }, + { + key: "checkout-block.Liberia", + code: "LR", + }, + { + key: "checkout-block.Libyan-Arab-Jamahiriya", + code: "LY", + }, + { + key: "checkout-block.Liechtenstein", + code: "LI", + }, + { + key: "checkout-block.Lithuania", + code: "LT", + }, + { + key: "checkout-block.Luxembourg", + code: "LU", + }, + { + key: "checkout-block.Macao", + code: "MO", + }, + { + key: "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of", + code: "MK", + }, + { + key: "checkout-block.Madagascar", + code: "MG", + }, + { + key: "checkout-block.Malawi", + code: "MW", + }, + { + key: "checkout-block.Malaysia", + code: "MY", + }, + { + key: "checkout-block.Maldives", + code: "MV", + }, + { + key: "checkout-block.Mali", + code: "ML", + }, + { + key: "checkout-block.Malta", + code: "MT", + }, + { + key: "checkout-block.Marshall-Islands", + code: "MH", + }, + { + key: "checkout-block.Martinique", + code: "MQ", + }, + { + key: "checkout-block.Mauritania", + code: "MR", + }, + { + key: "checkout-block.Mauritius", + code: "MU", + }, + { + key: "checkout-block.Mayotte", + code: "YT", + }, + { + key: "checkout-block.Mexico", + code: "MX", + }, + { + key: "checkout-block.Micronesia,-Federated-States-of", + code: "FM", + }, + { + key: "checkout-block.Moldova,-Republic-of", + code: "MD", + }, + { + key: "checkout-block.Monaco", + code: "MC", + }, + { + key: "checkout-block.Mongolia", + code: "MN", + }, + { + key: "checkout-block.Montserrat", + code: "MS", + }, + { + key: "checkout-block.Morocco", + code: "MA", + }, + { + key: "checkout-block.Mozambique", + code: "MZ", + }, + { + key: "checkout-block.Myanmar", + code: "MM", + }, + { + key: "checkout-block.Namibia", + code: "NA", + }, + { + key: "checkout-block.Nauru", + code: "NR", + }, + { + key: "checkout-block.Nepal", + code: "NP", + }, + { + key: "checkout-block.Netherlands", + code: "NL", + }, + { + key: "checkout-block.Netherlands-Antilles", + code: "AN", + }, + { + key: "checkout-block.New-Caledonia", + code: "NC", + }, + { + key: "checkout-block.New-Zealand", + code: "NZ", + }, + { + key: "checkout-block.Nicaragua", + code: "NI", + }, + { + key: "checkout-block.Niger", + code: "NE", + }, + { + key: "checkout-block.Nigeria", + code: "NG", + }, + { + key: "checkout-block.Niue", + code: "NU", + }, + { + key: "checkout-block.Norfolk-Island", + code: "NF", + }, + { + key: "checkout-block.Northern-Mariana-Islands", + code: "MP", + }, + { + key: "checkout-block.Norway", + code: "NO", + }, + { + key: "checkout-block.Oman", + code: "OM", + }, + { + key: "checkout-block.Pakistan", + code: "PK", + }, + { + key: "checkout-block.Palau", + code: "PW", + }, + { + key: "checkout-block.Palestinian-Territory,-Occupied", + code: "PS", + }, + { + key: "checkout-block.Panama", + code: "PA", + }, + { + key: "checkout-block.Papua-New-Guinea", + code: "PG", + }, + { + key: "checkout-block.Paraguay", + code: "PY", + }, + { + key: "checkout-block.Peru", + code: "PE", + }, + { + key: "checkout-block.Philippines", + code: "PH", + }, + { + key: "checkout-block.Pitcairn", + code: "PN", + }, + { + key: "checkout-block.Poland", + code: "PL", + }, + { + key: "checkout-block.Portugal", + code: "PT", + }, + { + key: "checkout-block.Puerto-Rico", + code: "PR", + }, + { + key: "checkout-block.Qatar", + code: "QA", + }, + { + key: "checkout-block.Reunion", + code: "RE", + }, + { + key: "checkout-block.Romania", + code: "RO", + }, + { + key: "checkout-block.Russian-Federation", + code: "RU", + }, + { + key: "checkout-block.RWANDA", + code: "RW", + }, + { + key: "checkout-block.Saint-Helena", + code: "SH", + }, + { + key: "checkout-block.Saint-Kitts-and-Nevis", + code: "KN", + }, + { + key: "checkout-block.Saint-Lucia", + code: "LC", + }, + { + key: "checkout-block.Saint-Pierre-and-Miquelon", + code: "PM", + }, + { + key: "checkout-block.Saint-Vincent-and-the-Grenadines", + code: "VC", + }, + { + key: "checkout-block.Samoa", + code: "WS", + }, + { + key: "checkout-block.San-Marino", + code: "SM", + }, + { + key: "checkout-block.Sao-Tome-and-Principe", + code: "ST", + }, + { + key: "checkout-block.Saudi-Arabia", + code: "SA", + }, + { + key: "checkout-block.Senegal", + code: "SN", + }, + { + key: "checkout-block.Serbia-and-Montenegro", + code: "CS", + }, + { + key: "checkout-block.Seychelles", + code: "SC", + }, + { + key: "checkout-block.Sierra-Leone", + code: "SL", + }, + { + key: "checkout-block.Singapore", + code: "SG", + }, + { + key: "checkout-block.Slovakia", + code: "SK", + }, + { + key: "checkout-block.Slovenia", + code: "SI", + }, + { + key: "checkout-block.Solomon-Islands", + code: "SB", + }, + { + key: "checkout-block.Somalia", + code: "SO", + }, + { + key: "checkout-block.South-Africa", + code: "ZA", + }, + { + key: "checkout-block.South-Georgia-and-the-South-Sandwich-Islands", + code: "GS", + }, + { + key: "checkout-block.Spain", + code: "ES", + }, + { + key: "checkout-block.Sri-Lanka", + code: "LK", + }, + { + key: "checkout-block.Sudan", + code: "SD", + }, + { + key: "checkout-block.Suriname", + code: "SR", + }, + { + key: "checkout-block.Svalbard-and-Jan-Mayen", + code: "SJ", + }, + { + key: "checkout-block.Swaziland", + code: "SZ", + }, + { + key: "checkout-block.Sweden", + code: "SE", + }, + { + key: "checkout-block.Switzerland", + code: "CH", + }, + { + key: "checkout-block.Syrian-Arab-Republic", + code: "SY", + }, + { + key: "checkout-block.Taiwan,-Province-of-China", + code: "TW", + }, + { + key: "checkout-block.Tajikistan", + code: "TJ", + }, + { + key: "checkout-block.Tanzania,-United-Republic-of", + code: "TZ", + }, + { + key: "checkout-block.Thailand", + code: "TH", + }, + { + key: "checkout-block.Timor-Leste", + code: "TL", + }, + { + key: "checkout-block.Togo", + code: "TG", + }, + { + key: "checkout-block.Tokelau", + code: "TK", + }, + { + key: "checkout-block.Tonga", + code: "TO", + }, + { + key: "checkout-block.Trinidad-and-Tobago", + code: "TT", + }, + { + key: "checkout-block.Tunisia", + code: "TN", + }, + { + key: "checkout-block.Turkey", + code: "TR", + }, + { + key: "checkout-block.Turkmenistan", + code: "TM", + }, + { + key: "checkout-block.Turks-and-Caicos-Islands", + code: "TC", + }, + { + key: "checkout-block.Tuvalu", + code: "TV", + }, + { + key: "checkout-block.Uganda", + code: "UG", + }, + { + key: "checkout-block.Ukraine", + code: "UA", + }, + { + key: "checkout-block.United-Arab-Emirates", + code: "AE", + }, + { + key: "checkout-block.United-Kingdom", + code: "GB", + }, + { + key: "checkout-block.United-States", + code: "US", + }, + { + key: "checkout-block.United-States-Minor-Outlying-Islands", + code: "UM", + }, + { + key: "checkout-block.Uruguay", + code: "UY", + }, + { + key: "checkout-block.Uzbekistan", + code: "UZ", + }, + { + key: "checkout-block.Vanuatu", + code: "VU", + }, + { + key: "checkout-block.Venezuela", + code: "VE", + }, + { + key: "checkout-block.Viet-Nam", + code: "VN", + }, + { + key: "checkout-block.Virgin-Islands,-British", + code: "VG", + }, + { + key: "checkout-block.Virgin-Islands,-U.S.", + code: "VI", + }, + { + key: "checkout-block.Wallis-and-Futuna", + code: "WF", + }, + { + key: "checkout-block.Western-Sahara", + code: "EH", + }, + { + key: "checkout-block.Yemen", + code: "YE", + }, + { + key: "checkout-block.Zambia", + code: "ZM", + }, + { + key: "checkout-block.Zimbabwe", + code: "ZW", + }, +]; + +export default countryCodes; diff --git a/blocks/subscriptions-block/components/ContactInfo/google.svg b/blocks/subscriptions-block/components/ContactInfo/google.svg new file mode 100644 index 0000000000..b917237b3c --- /dev/null +++ b/blocks/subscriptions-block/components/ContactInfo/google.svg @@ -0,0 +1,26 @@ + + Google + + + + + + diff --git a/blocks/subscriptions-block/components/ContactInfo/index.jsx b/blocks/subscriptions-block/components/ContactInfo/index.jsx new file mode 100644 index 0000000000..c31a729268 --- /dev/null +++ b/blocks/subscriptions-block/components/ContactInfo/index.jsx @@ -0,0 +1,158 @@ +import React, { useRef } from "react"; + +import { usePhrases, Heading, Input, Button, Stack, Image, Icon } from "@wpmedia/arc-themes-components"; +import countryCodes from "./countryCodes"; +import GoogleIcon from "./google.svg"; + +const ContactInfo = ({ callback, user, signedInIdentity, logoutCallback, className }) => { + const formRef = useRef(); + const entriesRef = useRef({}); + + if (user) { + entriesRef.current.email = user.email ? user.email : ""; + entriesRef.current.firstName = user.firstName ? user.firstName : ""; + entriesRef.current.lastName = user.lastName ? user.lastName : ""; + } + + const handleSubmit = (event) => { + event.preventDefault(); + const valid = formRef.current.checkValidity(); + if (valid) { + callback(entriesRef.current); + } + }; + + const handleInputChange = (name, entry) => { + entriesRef.current[name] = entry.value; + }; + + const handleLogout = () => { + logoutCallback(); + }; + + const phrases = usePhrases(); + + const getTranslatedCountries = countryCodes.map((entry) => ({ + label: phrases.t(entry.key), + value: entry.code, + })); + + const signOutBtn = ( + + ); + + const identityInfo = () => { + if (user && signedInIdentity) { + const type = signedInIdentity.type.toLowerCase(); + switch (type) { + case "google": + return ( +
+ {/* {TO-DO: Change the Icon to Google } */} + Google + + {phrases.t("checkout-block.identity-social", { + email: user.email, + })} + + {signOutBtn} +
+ ); + case "facebook": + return ( +
+ + + {phrases.t("checkout-block.identity-social", { + email: user.email, + })} + + {signOutBtn} +
+ ); + case "password": + return ( +
+ + {phrases.t("checkout-block.identity-email", { + email: user.email, + })} + + {signOutBtn} +
+ ); + default: + return null; + } + } + return null; + }; + + return ( +
+ {phrases.t("checkout-block.contact-info")} + + { + handleInputChange("email", value); + }} + showDefaultError={false} + type="email" + validationErrorMessage={phrases.t("checkout-block.email-requirements")} + /> + {identityInfo()} + +
+ { + handleInputChange("firstName", value); + }} + showDefaultError={false} + type="text" + validationErrorMessage={phrases.t("checkout-block.first-name-requirements")} + /> + { + handleInputChange("lastName", value); + }} + showDefaultError={false} + type="text" + validationErrorMessage={phrases.t("checkout-block.last-name-requirements")} + /> +
+ { + handleInputChange("country", value); + }} + options={getTranslatedCountries} + showDefaultError={false} + type="select" + validationErrorMessage={phrases.t("checkout-block.country-requirements")} + /> + +
+ ); +}; + +export default ContactInfo; \ No newline at end of file diff --git a/blocks/subscriptions-block/components/ContactInfo/index.story-ignore.jsx b/blocks/subscriptions-block/components/ContactInfo/index.story-ignore.jsx new file mode 100644 index 0000000000..b2c4ad110d --- /dev/null +++ b/blocks/subscriptions-block/components/ContactInfo/index.story-ignore.jsx @@ -0,0 +1,14 @@ +import React from "react"; + +import ContactInfo from "."; + +export default { + title: "Blocks/Subscriptions/Components/Contact Info", + parameters: { + chromatic: { viewports: [320, 1200] }, + }, +}; + +export const contactInfo = () => ( + 0} user={false} logoutCallback={() => 0} /> +); diff --git a/blocks/subscriptions-block/components/ContactInfo/index.test.jsx b/blocks/subscriptions-block/components/ContactInfo/index.test.jsx new file mode 100644 index 0000000000..82db392297 --- /dev/null +++ b/blocks/subscriptions-block/components/ContactInfo/index.test.jsx @@ -0,0 +1,186 @@ +import React from "react"; +import { render, screen } from "@testing-library/react"; +import "@testing-library/jest-dom/extend-expect"; +import { act } from "react-dom/test-utils"; + +import ContactInfo from "."; + +const BLOCK_CLASS_NAME = "b-checkout"; + +describe("ContactInfo", () => { + it("renders form and associated inputs", () => { + const mockCallBack = jest.fn(); + const mockCallBack2 = jest.fn(); + render( + + ); + + expect(screen.getByRole("input").length).toEqual(4); + expect(screen.getByRole("button").length).toEqual(1); + }); + + it("Does not call form callback when form is not filled out", () => { + const mockCallBack = jest.fn(); + const mockCallBack2 = jest.fn(); + render( + + ); + fireEvent.click(screen.getByRole("button")); + expect(mockCallBack.mock.calls.length).toEqual(0); + }); + + it("renders sign out button when user is signed in", async () => { + const mockCallBack = jest.fn(); + const mockCallBack2 = jest.fn(); + + await act(async () => { + render( + + ); + }); + const logOutbutton = screen.getByText("checkout-block.identity-sign-out"); + expect(logOutbutton).not.toBeNull(); + }); + + it("renders text and icon indicating user is signed in through Google", () => { + const mockCallBack = jest.fn(); + const mockCallBack2 = jest.fn(); + render( + + ); + + expect(screen.getByRole("svg")).not.toBeNull(); + }); + + it("renders text and icon indicating user is signed in through Facebook", () => { + const mockCallBack = jest.fn(); + const mockCallBack2 = jest.fn(); + render( + + ); + + expect(screen.getByRole("svg")).not.toBeNull(); + }); + + it("renders text indicating user is signed in through password", () => { + const mockCallBack = jest.fn(); + const mockCallBack2 = jest.fn(); + + const user = { + email: "arcuser@gmail.com", + firstName: "Arc", + lastName: "Xp", + identities: [ + { + userName: "106487204473538668210", + passwordReset: false, + type: "Password", + lastLoginDate: 1639164736000, + locked: false, + } + ] + }; + + render( + + ); + + expect(screen.getByText(`Signed in as ${user.email}`)).not.toBeNull(); + }); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/components/OfferCard/index.jsx b/blocks/subscriptions-block/components/OfferCard/index.jsx new file mode 100644 index 0000000000..b9560cd448 --- /dev/null +++ b/blocks/subscriptions-block/components/OfferCard/index.jsx @@ -0,0 +1,53 @@ +import React from "react"; +import PropTypes from "@arc-fusion/prop-types"; +import { Heading, Button, Stack, Paragraph, Icon } from "@wpmedia/arc-themes-components"; + +// TO-DO: Change the Icon to Check +const OfferCard = ({ + headline, + subHeadline, + actionText, + actionEvent, + features = [], + className, +}) => ( + + {headline ? : null} + + {subHeadline ? : null} + + {actionText && actionEvent ? ( + + ) : null} + + {features.length ? ( +
    + {features.map((feat) => ( +
  • + + +
  • + ))} +
+ ) : null} +
+); + +OfferCard.propTypes = { + headline: PropTypes.string, + subHeadline: PropTypes.string, + actionText: PropTypes.string, + actionEvent: PropTypes.func, + features: PropTypes.arrayOf( + PropTypes.shape({ + featureText: PropTypes.string, + }) + ), +}; + +export default OfferCard; \ No newline at end of file diff --git a/blocks/subscriptions-block/components/OfferCard/index.story-ignore.jsx b/blocks/subscriptions-block/components/OfferCard/index.story-ignore.jsx new file mode 100644 index 0000000000..311b19963b --- /dev/null +++ b/blocks/subscriptions-block/components/OfferCard/index.story-ignore.jsx @@ -0,0 +1,68 @@ +import React from "react"; + +import OfferCard from "."; + +export default { + title: "Blocks/Subscriptions/Components/Offer Card", + parameters: { + chromatic: { viewports: [320, 1200] }, + }, +}; + +export const allFields = () => ( + {}} + features={[ + { featureText: "Unlimited access to The Daily Intelligencer" }, + { featureText: "Save $40" }, + ]} + /> +); + +export const noFeatures = () => ( + {}} + /> +); + +export const noActionNoFeatures = () => ( + +); + +export const HeadlineOnly = () => ; + +export const subHeadlineOnly = () => ; + +export const noAction = () => ( + +); + +export const onlyFeatures = () => ( + +); + +export const headlineAndAction = () => ( + {}} + /> +); diff --git a/blocks/subscriptions-block/components/OfferCard/index.test.jsx b/blocks/subscriptions-block/components/OfferCard/index.test.jsx new file mode 100644 index 0000000000..7000852aff --- /dev/null +++ b/blocks/subscriptions-block/components/OfferCard/index.test.jsx @@ -0,0 +1,70 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import OfferCard from "."; + +const props = { + headline: "All Access Annual", + subHeadline: "Save $40 by subscribing annually", + actionText: "Subscribe for $68 for one year", + actionEvent: () => {}, + features: [ + { featureText: "Unlimited access to The Daily Intelligencer" }, + { featureText: "Save $40" }, + ], +}; + +describe("OfferCard", () => { + it("renders all fields", () => { + render(); + + expect(screen.getByText(props.headline)).not.toBeNull(); + expect(screen.getByText(props.subHeadline)).not.toBeNull(); + + expect(screen.getByRole("button")).not.toBeNull(); + + const ul = getByRole("list"); + expect(ul).toBeInTheDocument(); + + expect(screen.getByText(props.features[0].featureText)).not.toBeNull(); + expect(screen.getByText(props.features[1].featureText)).not.toBeNull(); + }); + + it("does not render headline if not present", () => { + const { container } = render( + , + ); + + expect(container.querySelector(".b-offer__card h1")).not.toBeInTheDocument(); + }); + + it("does not render subHeadline if not present", () => { + const { container } = render(); + + expect(container.querySelector(".b-offer__card p")).not.toBeInTheDocument(); + }); + + it("does not render button if no actionText and no ActionEvent", () => { + render(); + + expect(screen.getByRole("button")).not.toBeNull(); + }); + + it("does not render button if no actionText", () => { + render(); + + expect(screen.getByRole("button")).not.toBeNull(); + }); + + it("does not render button if no actionEvent", () => { + render(); + + expect(screen.getByRole("button")).not.toBeNull(); + }); + + it("does not render features", () => { + const { container } = render(); + + const features = expect(container.querySelector(".b-offer__card--features li")); + expect(features.length).toBe(0); + }); +}); diff --git a/blocks/subscriptions-block/components/OfferToProductList/index.jsx b/blocks/subscriptions-block/components/OfferToProductList/index.jsx new file mode 100644 index 0000000000..2fc47c5a55 --- /dev/null +++ b/blocks/subscriptions-block/components/OfferToProductList/index.jsx @@ -0,0 +1,89 @@ +import React from "react"; +import PropTypes from "@arc-fusion/prop-types"; +import useSales from "../useSales"; +import { Grid } from "@wpmedia/arc-themes-components"; +import OfferCard from "../OfferCard"; + +const OfferToProductList = ({ offer, isLoggedIn, checkoutURL, loginURL, className }) => { + const { Sales } = useSales(); + + const buildOffers = () => { + const offers = []; + let productIdx; + let strategiesIdx; + if (offer.products) { + const { products } = offer; + for (productIdx = 0; productIdx < products.length; productIdx += 1) { + const { pricingStrategies: strategies } = products[productIdx]; + for (strategiesIdx = 0; strategiesIdx < strategies.length; strategiesIdx += 1) { + const features = + typeof products[productIdx].attributes !== "undefined" && + products[productIdx].attributes.length !== 0 + ? products[productIdx].attributes.map((feature) => ({ + featureText: feature.value, + })) + : []; + const { sku } = products[productIdx]; + const { priceCode } = strategies[strategiesIdx]; + offers.push({ + key: strategies[strategiesIdx].pricingStrategyId, + subHeadline: strategies[strategiesIdx].description, + headline: strategies[strategiesIdx].name, + actionText: strategies[strategiesIdx].summary, + actionEvent: () => { + Sales.clearCart() + .then(() => + Sales.addItemToCart([ + { + sku, + priceCode, + quantity: 1, + }, + ]) + ) + .then(() => { + if (isLoggedIn) { + window.location.href = checkoutURL; + return; + } + window.location.href = `${loginURL}?redirect=${checkoutURL}`; + }); + }, + features, + }); + } + } + } + return offers; + }; + + const builtOffers = buildOffers(); + + const childCount = builtOffers.length; + const additionalClass = childCount ? `${className}__grid-list--${childCount}` : ""; + + return ( + + {builtOffers.map((builtOffer) => ( + + ))} + + ); +}; + +OfferToProductList.propTypes = { + offer: PropTypes.any, + isLoggedIn: PropTypes.bool, + loginURL: PropTypes.string, + checkoutURL: PropTypes.string, +}; + +export default OfferToProductList; \ No newline at end of file diff --git a/blocks/subscriptions-block/components/OfferToProductList/index.test.jsx b/blocks/subscriptions-block/components/OfferToProductList/index.test.jsx new file mode 100644 index 0000000000..8aceae2519 --- /dev/null +++ b/blocks/subscriptions-block/components/OfferToProductList/index.test.jsx @@ -0,0 +1,207 @@ +import React from "react"; +import { act, render } from "@testing-library/react"; +import OfferToProductList from "./index"; +import useOffer from "../useOffer"; +import OfferCard from "../OfferCard"; + +const sampleOffer = { + name: "All Products Offer", + disclaimerText: "

Terms apply

", + largeImage: null, + mediumImage: null, + smallImage: null, + pageSubTitle: "

Get access today!

", + pageTitle: "

Subscribe to any of our sections

", + templateName: "a", + campaigns: [ + { + canRenew: true, + canRestart: true, + canStart: true, + name: "allaccess", + validFrom: 1632146400000, + validUntil: null, + }, + ], + products: [ + { + sku: "SPORTS", + description: "

It's all you care about! We understand.

", + image: null, + imageAction: null, + name: "Sports All Access", + thumbnail: null, + maxSubscriptionAssociations: 0, + attributes: [ + { + name: "li", + value: "

Unlimited access to all Sports content

", + }, + { + name: "li", + value: "

Save $40

", + }, + ], + pricingStrategies: [ + { + pricingStrategyId: 1179, + priceCode: "HUV7RS", + name: "Sports: Free Trial + Monthly", + description: "

1 month free trial

", + gift: false, + summary: "

Free first month,then $5.00 every month until canceled.

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "0.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "Month", + }, + { + amount: "5.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + { + pricingStrategyId: 1180, + priceCode: "0SINKE", + name: "Sports: Monthly", + description: "

Monthly price for sports content

", + gift: false, + summary: "

$10/mo

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + ], + defaultSwgProduct: false, + }, + { + sku: "premium", + description: "

Premium all access subscription. Cancel anytime!

", + image: null, + imageAction: null, + name: "Premium All Access", + thumbnail: null, + maxSubscriptionAssociations: 0, + attributes: [], + pricingStrategies: [ + { + pricingStrategyId: 1173, + priceCode: "EX8TZV", + name: "Free Trial: All Access Premium", + description: "

Save $40 by subscribing annually

", + gift: false, + summary: "

Unlimited access to the daily intelligencer

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "0.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "Month", + }, + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + { + pricingStrategyId: 1181, + priceCode: "K7XNLO", + name: "All Access Premium Monthly", + description: "

Pay month to month. Cancel anytime

", + gift: false, + summary: "

10/mo

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + ], + defaultSwgProduct: false, + }, + ], + attributes: [], + default: false, +}; + +jest.mock("fusion:context", () => ({ + useFusionContext: jest.fn(() => ({ + arcSite: "gazette", + })), +})); + +jest.mock("fusion:properties", () => + jest.fn(() => ({ + api: { + retail: { + endpoint: "/retail/public/v1/offer/live/", + origin: "https://corecomponents-the-gazette-prod.api.cdn.arcpublishing.com", + script: "https://corecomponents-the-gazette-prod.cdn.arcpublishing.com/arc/subs/p.min.js", + }, + }, + })) +); + +jest.mock("@arc-publishing/sdk-sales"); +jest.mock("../../components/useOffer"); +useOffer.mockReturnValue({ + offer: sampleOffer, + fetchOffer: () => sampleOffer, +}); + +describe("The OfferToProductList component", () => { + it("renders the correct number of offer cards", () => { + const { container } = render( + + ); + + act(() => { + container.setProps({}); + }); + + expect(container.find(OfferCard)).toHaveLength(4); + }); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/components/PaymentForm/index.jsx b/blocks/subscriptions-block/components/PaymentForm/index.jsx new file mode 100644 index 0000000000..c3a46e7fe5 --- /dev/null +++ b/blocks/subscriptions-block/components/PaymentForm/index.jsx @@ -0,0 +1,185 @@ +import React, { useState } from "react"; +import Sales from "@arc-publishing/sdk-sales"; +import { + useElements, + CardNumberElement, + CardExpiryElement, + CardCvcElement +} from "@stripe/react-stripe-js"; +import { + usePhrases, + Button, + Heading, + HeadingSection, + Paragraph, + Grid, + Input, + Stack, +} from "@wpmedia/arc-themes-components"; + +const CARD_ELEMENT_OPTIONS = { + showIcon: true, +}; + +const FORM_STATUS = { + IDLE: "idle", + PROCESSING: "processing", + SUCCESS: "success", + ERROR: "error", +}; + +function PaymentForm({ + orderNumber, + successURL = "/", // fallback if no successURL is provided + paymentMethodID, + clientSecret, + stripeInstance, + formTitle, + formLabel, + submitText, + formErrorText, + className, +}) { + const [formStatus, setFormStatus] = useState(FORM_STATUS.IDLE); + const [cardName, setCardName] = useState(""); + + const phrases = usePhrases(); + + // stripe hooks have to be within Elements wrapper + // https://stripe.com/docs/stripe-js/react#useelements-hook + const elements = useElements(); + + const handleSubmit = async (event) => { + event.preventDefault(); + + setFormStatus(FORM_STATUS.PROCESSING); + const cardNumber = elements.getElement("cardNumber"); + + const { error, paymentMethod } = await stripeInstance.createPaymentMethod({ + type: "card", + card: cardNumber, + billing_details: { + name: cardName, + }, // todo: collect other info? eg. name, email, etc. + }); + + if (error) { + setFormStatus(FORM_STATUS.ERROR); + return; + } + + let result; + + // if order of $0 there's a different stripe logic + const totalOrder = Sales.currentOrder.total; + + if (totalOrder > 0) { + result = await stripeInstance.confirmCardPayment(clientSecret, { + payment_method: paymentMethod.id, + }); + } else { + result = await stripeInstance.confirmCardSetup(clientSecret, { + payment_method: paymentMethod.id, + }); + } + + if (result.error) { + setFormStatus(FORM_STATUS.ERROR); + return; + } + + if (totalOrder > 0) { + const nonZeroPriceOutput = await Sales.finalizePayment( + orderNumber, + paymentMethodID, + // using paymentIntent here for greater than 0 + result.paymentIntent.id, + ); + if (nonZeroPriceOutput.status === "Paid") { + setFormStatus(FORM_STATUS.SUCCESS); + window.location.href = successURL; + } else { + setFormStatus(FORM_STATUS.ERROR); + } + } else { + const zeroPriceOutput = await Sales.finalizePayment( + orderNumber, + paymentMethodID, + // using setupIntent here for 0 + result.setupIntent.id, + ); + // even if no money changes hands, still shows status 'Paid' + if (zeroPriceOutput.status === "Paid") { + setFormStatus(FORM_STATUS.SUCCESS); + window.location.href = successURL; + } else { + setFormStatus(FORM_STATUS.ERROR); + } + } + }; + + const additionalClass = `${className}__payment-form--stripe-element`; + + return ( +
+ + {formTitle} + +
+ {formLabel} + + + { + setCardName(value); + }} + showDefaultError={false} + type="text" + validationErrorMessage={phrases.t("checkout-block.cardholderName-requirements")} + /> + + +
+ +
+ +
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+ + {formStatus === FORM_STATUS.ERROR ? ( +
+ {formErrorText} +
+ ) : null} +
+
+ ); +} + +export default PaymentForm; diff --git a/blocks/subscriptions-block/components/PaymentForm/index.story-ignore.jsx b/blocks/subscriptions-block/components/PaymentForm/index.story-ignore.jsx new file mode 100644 index 0000000000..3ca8c52900 --- /dev/null +++ b/blocks/subscriptions-block/components/PaymentForm/index.story-ignore.jsx @@ -0,0 +1,26 @@ +import React from "react"; + +import { Elements } from "@stripe/react-stripe-js"; +import { loadStripe } from "@stripe/stripe-js"; + +import PaymentForm from "."; + +export default { + title: "Blocks/Subscriptions/Components/Payment Form", + parameters: { + chromatic: { viewports: [320, 1200] }, + }, +}; + +// test string via stripe +const stripePromise = loadStripe("pk_test_TYooMQauvdEDq54NiTphI7jx"); + +export const basic = () => ( + + + +); diff --git a/blocks/subscriptions-block/components/PaymentForm/index.test.jsx b/blocks/subscriptions-block/components/PaymentForm/index.test.jsx new file mode 100644 index 0000000000..01906d8c3a --- /dev/null +++ b/blocks/subscriptions-block/components/PaymentForm/index.test.jsx @@ -0,0 +1,27 @@ +import React from "react"; +import { render } from "@testing-library/react"; +import { Elements } from "@stripe/react-stripe-js"; +import { loadStripe } from "@stripe/stripe-js"; + +import PaymentForm from "./index"; + +// test string via stripe +const stripePromise = loadStripe("pk_test_TYooMQauvdEDq54NiTphI7jx"); + +it("renders", () => { + render( + + + + ); + + expect(screen.getByRole("button")).not.toBeNull(); + expect(screen.getByText("Purchase Subscription")).not.toBeNull(); + + expect(screen.getByText("Payment Method and Information")).not.toBeNull(); + expect(screen.getByText("Credit card information")).not.toBeNull(); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/components/useOffer.jsx b/blocks/subscriptions-block/components/useOffer.jsx new file mode 100644 index 0000000000..3f5192a22f --- /dev/null +++ b/blocks/subscriptions-block/components/useOffer.jsx @@ -0,0 +1,61 @@ +import { useState, useEffect, useCallback } from "react"; +import { useFusionContext } from "fusion:context"; +import getProperties from "fusion:properties"; +import { isServerSide } from "@wpmedia/arc-themes-components"; + +const offerService = ({ origin, campaignCode = "default", endpoint }) => + fetch(`${origin}${endpoint}${campaignCode || "default"}`, {}).then((res) => res.json()); + +const useOffer = ({ campaignCode }) => { + const { arcSite } = useFusionContext(); + const { + api: { + retail: { origin, endpoint }, + }, + } = getProperties(arcSite); + const [offer, setOffer] = useState(null); + const [error, setError] = useState(null); + const [isFetching, setIsFetching] = useState(true); + + const fetchOffer = useCallback( + async (code) => { + try { + const offerResponse = await offerService({ + campaignCode: code, + origin, + endpoint, + }); + setOffer(offerResponse); + return offerResponse; + } catch (err) { + setError(`Error in fetching retail offers: ${err.toString()}`); + } + return null; + }, + [origin, endpoint] + ); + + useEffect(() => { + const fetchNewOffer = async () => { + setIsFetching(true); + await fetchOffer(campaignCode); + setIsFetching(false); + }; + if (!offer && !isServerSide()) { + if (!origin || !endpoint) { + setError("Origin or endpoint properties not set in api.retail for this environment."); + } else { + fetchNewOffer(); + } + } + }, [campaignCode, endpoint, fetchOffer, offer, origin]); + + return { + error, + offer, + isFetching, + fetchOffer, + }; +}; + +export default useOffer; \ No newline at end of file diff --git a/blocks/subscriptions-block/components/useOffer.test.jsx b/blocks/subscriptions-block/components/useOffer.test.jsx new file mode 100644 index 0000000000..6c9d489c98 --- /dev/null +++ b/blocks/subscriptions-block/components/useOffer.test.jsx @@ -0,0 +1,195 @@ +function sleep(ms) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} + +jest.mock("fusion:context", () => ({ + useFusionContext: jest.fn(() => ({ + arcSite: "arc-demo-3", + })), +})); + +jest.mock("fusion:properties", () => + jest.fn(() => ({ + api: { + retail: { + origin: "https://corecomponents-arc-demo-3-prod.api.cdn.arcpublishing.com", + endpoint: "/retail/public/v1/offer/live/", + }, + }, + })) +); + +const testOfferResponse = { + name: "Premium Offer", + disclaimerText: null, + largeImage: null, + mediumImage: null, + smallImage: null, + pageSubTitle: "

Free trial: first month free, then $10/mo

", + pageTitle: "

Default subscription

", + templateName: "bottom-drawer", + campaigns: [ + { + canRenew: true, + canRestart: true, + canStart: true, + name: "augpromo", + validFrom: 1629216600000, + validUntil: 1630468800000, + }, + ], + products: [ + { + sku: "premium", + description: "

Get access to premium content

", + image: null, + imageAction: null, + name: "Premium Content", + thumbnail: null, + maxSubscriptionAssociations: 0, + attributes: [ + { + name: "p", + value: "

get access to sports, business, cooking sections

", + }, + ], + pricingStrategies: [ + { + pricingStrategyId: 1169, + priceCode: "1B1HCQ", + name: "Premium free trial", + description: "

free trial price

", + gift: false, + summary: null, + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "0.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "Month", + }, + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + { + pricingStrategyId: 1168, + priceCode: "H7SCJB", + name: "premium all access", + description: "

Get access to premium content for a low rate

", + gift: false, + summary: null, + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + ], + defaultSwgProduct: false, + }, + ], + attributes: [], + default: true, +}; + +function TestOfferComponent({ code }) { + const { offer, isFetching, error } = useOffer({ + campaignCode: code, + }); + if (error) { + return
Error: {error}
; + } + if (isFetching || !offer) { + return
Fetching
; + } + return
; +} + +global.fetch = jest.fn(() => + Promise.resolve({ + json: () => Promise.resolve(testOfferResponse), + }) +); + +let container = null; +beforeEach(() => { + jest.clearAllMocks(); + fetch.mockClear(); + container = document.createElement("div"); + document.body.appendChild(container); +}); + +afterEach(() => { + unmountComponentAtNode(container); + container.remove(); + container = null; +}); + +it("useOffer hook runs correctly", async () => { + act(() => { + render( + , + container + ); + }); + expect(container.textContent).toBe("Fetching"); + await act(() => sleep(500)); + expect(container.textContent).toBe("Default subscription"); +}); + +it("use offer uses fallback default string", async () => { + act(() => { + render( + , + container + ); + }); + expect(container.textContent).toBe("Fetching"); + await act(() => sleep(500)); + expect(container.textContent).toBe("Default subscription"); +}); + +it("useOffer hook handles an error state during fetch", async () => { + global.fetch = jest.fn(() => Promise.reject(new Error("Error #2"))); + + act(() => { + render( + , + container + ); + }); + expect(container.textContent).toBe("Fetching"); + await act(() => sleep(500)); + expect(container.textContent).toContain("Error #2"); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/components/useSales.jsx b/blocks/subscriptions-block/components/useSales.jsx new file mode 100644 index 0000000000..b1109c18e1 --- /dev/null +++ b/blocks/subscriptions-block/components/useSales.jsx @@ -0,0 +1,34 @@ +import { useState } from "react"; +import Identity from "@arc-publishing/sdk-identity"; +import Sales from "@arc-publishing/sdk-sales"; +import { useFusionContext } from "fusion:context"; +import getProperties from "fusion:properties"; + +const useSales = () => { + const { arcSite } = useFusionContext(); + const { api } = getProperties(arcSite); + const [isInit, setIsInit] = useState(!!Sales.apiOrigin); + const isIdentityInit = !!Identity.apiOrigin; + + const identityApiOrigin = api?.identity?.origin ?? api?.sales?.origin ?? api?.retail?.origin; + const salesApiOrigin = api?.sales?.origin ?? api?.identity?.origin ?? api?.retail?.origin; + + if (!isIdentityInit && arcSite && identityApiOrigin) { + Identity.options({ apiOrigin: identityApiOrigin }); + } + + if (!isInit && arcSite && salesApiOrigin) { + Sales.options({ + apiOrigin: salesApiOrigin, + Identity, + }); + setIsInit(true); + } + + return { + Sales, + isInitialized: isInit, + }; +}; + +export default useSales; \ No newline at end of file diff --git a/blocks/subscriptions-block/components/useSales.test.jsx b/blocks/subscriptions-block/components/useSales.test.jsx new file mode 100644 index 0000000000..d830e2671a --- /dev/null +++ b/blocks/subscriptions-block/components/useSales.test.jsx @@ -0,0 +1,76 @@ +import React from "react"; +import { mount } from "enzyme"; + +import SalesObject from "@arc-publishing/sdk-sales"; + +import useSales from "./useSales"; + +jest.mock("@arc-publishing/sdk-identity", () => ({ + __esModule: true, + default: { + apiOrigin: "", + options: jest.fn(), + }, +})); + +jest.mock("@arc-publishing/sdk-sales", () => ({ + __esModule: true, + default: { + apiOrigin: "", + options: jest.fn(), + }, +})); + +jest.mock("fusion:properties", () => + jest.fn(() => ({ + // arcSite + api: { + identity: { + origin: "http://origin/", + }, + retail: { + origin: "http://retail-origin/", + }, + }, + })) +); + +jest.mock("fusion:context", () => ({ + __esModule: true, + useFusionContext: () => ({ + arcSite: "Test Site", + }), +})); + +describe("Sales useSales Hook", () => { + it("returns itself and changes the option to http://origin", () => { + const Test = () => { + const { Sales } = useSales(); + expect(Sales).toBe(SalesObject); + return
; + }; + mount(); + expect(SalesObject.options).toHaveBeenLastCalledWith({ + apiOrigin: "http://retail-origin/", + Identity: { + apiOrigin: "", + options: expect.any(Function), + }, + }); + }); + + it("initializes", () => { + const testInitialization = jest.fn(); + + const Test = () => { + const { isInitialized } = useSales(); + testInitialization(isInitialized); + return
; + }; + + mount(); + + expect(testInitialization).toHaveBeenCalledWith(false); + expect(testInitialization).toHaveBeenLastCalledWith(true); + }); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/features/checkout/_children/PaymentInfo/index.jsx b/blocks/subscriptions-block/features/checkout/_children/PaymentInfo/index.jsx new file mode 100644 index 0000000000..9319e6af4e --- /dev/null +++ b/blocks/subscriptions-block/features/checkout/_children/PaymentInfo/index.jsx @@ -0,0 +1,51 @@ +import React, { useEffect, useState } from "react"; +import { Elements } from "@stripe/react-stripe-js"; +import { loadStripe } from "@stripe/stripe-js"; + +import { usePhrases } from "@wpmedia/arc-themes-components"; + +import PaymentForm from "../../../../components/PaymentForm"; + +const PaymentInfo = ({ orderNumber, paymentDetails, paymentMethodID, successURL, className }) => { + const [stripeInstance, setStripeInstance] = useState(null); + + // initialized payment doc https://redirector.arcpublishing.com/alc/en/arc-xp-subscriptions-sdks?id=kb_article_view&sys_kb_id=7770d58747447990eee38788436d4362&spa=1 + const { parameter2: stripeKey, parameter1: clientSecret } = paymentDetails; + + const phrases = usePhrases(); + + const formErrorText = phrases.t("subscriptions-block.payment-error"); + const formLabel = phrases.t("subscriptions-block.credit-card-information"); + const formTitle = phrases.t("subscriptions-block.payment-information"); + const submitText = phrases.t("subscriptions-block.submit-payment"); + + // load stripe key via payment details stripe key string + useEffect(() => { + // stripe docs https://stripe.com/docs/stripe-js/react#elements-provider + loadStripe(stripeKey).then((newStripePromise) => setStripeInstance(newStripePromise)); + }, [stripeKey]); + + if (stripeInstance) { + // elements wrapper has to contain any stripe hooks + return ( + + + + ); + } + + return null; +}; + +export default PaymentInfo; \ No newline at end of file diff --git a/blocks/subscriptions-block/features/checkout/default.jsx b/blocks/subscriptions-block/features/checkout/default.jsx new file mode 100644 index 0000000000..9576e8adc9 --- /dev/null +++ b/blocks/subscriptions-block/features/checkout/default.jsx @@ -0,0 +1,133 @@ +import React, { useEffect, useState } from "react"; +import PropTypes from "@arc-fusion/prop-types"; + +import { usePhrases, Heading, Link } from "@wpmedia/arc-themes-components"; +import { useIdentity } from "@wpmedia/identity-block"; + +import useSales from "../../components/useSales"; +import Cart from "../../components/Cart"; +import ContactInfo from "../../components/ContactInfo"; +import PaymentInfo from "./_children/PaymentInfo"; + +const BLOCK_CLASS_NAME = "b-checkout"; + +const Checkout = ({ customFields }) => { + const { offerURL, successURL } = customFields; + const [loggedIn, setIsLoggedIn] = useState(false); + const [user, setUser] = useState(false); + const [signedInIdentity, setSignedInIdentity] = useState(false); + const [orderNumber, setOrderNumber] = useState(); + const [showPaymentScreen, setShowPaymentScreen] = useState(false); + const [payment, setPayment] = useState(); + const [paymentMethodID, setPaymentMethodID] = useState(); + + const { Identity, getSignedInIdentity } = useIdentity(); + const { Sales } = useSales(); + const phrases = usePhrases(); + + useEffect(() => { + const isLoggedIn = async () => { + setIsLoggedIn(await Identity.isLoggedIn()); + }; + + isLoggedIn(); + }, [Identity]); + + useEffect(() => { + let isActive = true; + + if (loggedIn) { + Identity.getUserProfile() + .then((userProfile) => { + if (isActive) { + setUser(userProfile); + setSignedInIdentity(getSignedInIdentity(userProfile)); + } + }) + .catch(() => { + setUser(false); + }); + } + + // cancel subscription to useEffect + return () => { + isActive = false; + return null; + }; + }, [Identity, loggedIn]); + + const logoutCallback = () => { + Identity.logout().then(() => { + setUser(false); + }); + }; + const createNewOrder = async ({ email, firstName, lastName, country }) => { + if (user) { + Identity.updateUserProfile({ firstName, lastName }); + } + + Sales.getCart().then((cart) => { + if (!cart?.items?.length) { + window.location.href = offerURL; + return; + }else{ + Sales.createNewOrder({ country }, email).then((order) => { + setOrderNumber(order.orderNumber); + Sales.getPaymentOptions().then((paymentOptions) => { + const newPaymentMethodID = paymentOptions[0].paymentMethodID; + Sales.initializePayment(order.orderNumber, paymentOptions[0].paymentMethodID).then( + (paymentObject) => { + setPayment(paymentObject); + setPaymentMethodID(newPaymentMethodID); + setShowPaymentScreen(true); + }, + ); + }); + }); + } + }); + }; + + return ( +
+ {phrases.t("checkout-block.headline")} + {phrases.t("checkout-block.back-to-offer-page")} + + + + {!showPaymentScreen ? ( + + ) : ( + + )} +
+ ); +}; +Checkout.propTypes = { + customFields: PropTypes.shape({ + offerURL: PropTypes.string.tag({ + defaultValue: "/offer/", + }), + successURL: PropTypes.string.tag({ + defaultValue: "/", + label: "Success URL", + }), + }), +}; + +Checkout.label = "Subscriptions Checkout - Arc Block"; +Checkout.icon = "shop-cart"; + +export default Checkout; \ No newline at end of file diff --git a/blocks/subscriptions-block/features/checkout/default.test.jsx b/blocks/subscriptions-block/features/checkout/default.test.jsx new file mode 100644 index 0000000000..240fb4a275 --- /dev/null +++ b/blocks/subscriptions-block/features/checkout/default.test.jsx @@ -0,0 +1,123 @@ +import React from "react"; + +import { fireEvent, render, screen } from "@testing-library/react"; +import "@testing-library/jest-dom/extend-expect"; + +import { act } from "react-dom/test-utils"; +import useIdentity from "@wpmedia/identity-block/components/Identity"; +import useSales from "../../components/useSales"; + +import Checkout from "./default"; + +jest.mock("@wpmedia/identity-block/components/Identity"); + +jest.mock("../../components/useSales"); + +jest.mock("fusion:properties", () => jest.fn(() => ({ api: { retail: { origin: "" } } }))); + +jest.mock("fusion:intl", () => ({ + __esModule: true, + default: jest.fn(() => ({ t: jest.fn((phrase) => phrase) })), +})); + +describe("Checkout Feature", () => { + it("renders link, cart and contact info", () => { + useIdentity.mockImplementation(() => ({ + getSignedInIdentity: jest.fn( + (user) => + user?.identities?.reduce((prev, current) => + prev.lastLoginDate > current.lastLoginDate ? prev : current + ) || null + ), + Identity: { + isLoggedIn: jest.fn(async () => false), + }, + })); + + useSales.mockReturnValue({ + Sales: {}, + }); + + render( + + ); + + expect(screen.getByText('Select from one of our offers').closest('a')).toHaveAttribute('href', '/offer-url/') + + const contactInfo = screen.getByText("checkout-block.contact-info"); + expect(contactInfo).not.toBeNull(); + }); + + it.only("Renders PaymentInfo after creating an order", async () => { + const userProfile = Promise.resolve({ + email: "email@email.com", + firstName: "first name", + lastName: "last name", + }); + const updateUserProfileMock = jest.fn(); + + useIdentity.mockImplementation(() => ({ + getSignedInIdentity: jest.fn( + (user) => + user?.identities?.reduce((prev, current) => + prev.lastLoginDate > current.lastLoginDate ? prev : current + ) || null + ), + Identity: { + isLoggedIn: jest.fn(async () => true), + getUserProfile: jest.fn(() => userProfile), + updateUserProfile: updateUserProfileMock, + }, + })); + + const createNewOrderMock = Promise.resolve({ orderNumber: 1 }); + const getPaymentOptionsMock = Promise.resolve([{ paymentMethodID: 11 }]); + const initializePaymentMock = Promise.resolve({}); + + useSales.mockReturnValue({ + Sales: { + getCart: jest.fn(async () => Promise.resolve({})), + createNewOrder: jest.fn(() => createNewOrderMock), + getPaymentOptions: jest.fn(() => getPaymentOptionsMock), + initializePayment: jest.fn(() => initializePaymentMock), + }, + }); + + await act(async () => { + render( + + ); + }); + await userProfile; + + const contactInfo = screen.getByText("checkout-block.contact-info"); + const email = screen.getByLabelText("checkout-block.email"); + const firstName = screen.getByLabelText("checkout-block.first-name"); + const lastName = screen.getByLabelText("checkout-block.last-name"); + const country = screen.getByLabelText("checkout-block.country"); + + expect(contactInfo).not.toBeNull(); + expect(country).toBeInTheDocument(); + fireEvent.change(country, { target: { value: "US" } }); + + await act(async () => { + fireEvent.click(screen.getByRole("button")); + await initializePaymentMock; + }); + + expect(updateUserProfileMock).toHaveBeenCalled(); + + expect(country).not.toBeInTheDocument(); + expect(email).not.toBeInTheDocument(); + expect(firstName).not.toBeInTheDocument(); + expect(lastName).not.toBeInTheDocument(); + }); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/features/offer/default.jsx b/blocks/subscriptions-block/features/offer/default.jsx new file mode 100644 index 0000000000..4b706409d8 --- /dev/null +++ b/blocks/subscriptions-block/features/offer/default.jsx @@ -0,0 +1,86 @@ +import React, { useEffect, useState } from "react"; +import PropTypes from "@arc-fusion/prop-types"; +import { useIdentity } from "@wpmedia/identity-block"; +import { Heading, Paragraph, isServerSide } from "@wpmedia/arc-themes-components"; +import useOffer from "../../components/useOffer"; +import OfferToProductList from "../../components/OfferToProductList"; + +const BLOCK_CLASS_NAME = "b-offer"; + +const Offer = ({ customFields }) => { + const { campaignCode, loginURL, checkoutURL } = customFields; + + let selectedCampaignCode = campaignCode || "default"; + + if (!isServerSide()) { + const searchParams = new URLSearchParams(window.location.search.substring(1)); + selectedCampaignCode = searchParams.has("campaign") + ? searchParams.get("campaign") + : campaignCode; + } + + const { offer, isFetching } = useOffer({ + campaignCode: selectedCampaignCode, + }); + + const [isLoggedIn, setIsLoggedIn] = useState(false); + const { Identity } = useIdentity(); + + const getIsLoggedIn = async () => { + const response = await Identity.isLoggedIn(); + setIsLoggedIn(response); + }; + + useEffect(() => { + getIsLoggedIn(); + }, []); + + if (isServerSide()) { + return null; + } + + return ( +
+ {!isFetching && offer ? ( + <> +
+ + +
+
+ +
+ + ) : null} +
+ ); +}; + +Offer.propTypes = { + customFields: PropTypes.shape({ + campaignCode: PropTypes.string.tag({ + defaultValue: "default", + }), + loginURL: PropTypes.string.tag({ + defaultValue: "/account/login/", + }), + checkoutURL: PropTypes.string.tag({ + defaultValue: "/checkout/", + }), + }), +}; + +Offer.label = "Subscriptions Offer - Arc Block"; +export default Offer; \ No newline at end of file diff --git a/blocks/subscriptions-block/features/offer/default.test.jsx b/blocks/subscriptions-block/features/offer/default.test.jsx new file mode 100644 index 0000000000..b64d5b9351 --- /dev/null +++ b/blocks/subscriptions-block/features/offer/default.test.jsx @@ -0,0 +1,302 @@ +import React from "react"; +import { render } from "@testing-library/react"; + +import { isServerSide } from "@wpmedia/arc-themes-components"; +import Offer from "./default"; +import useOffer from "../../components/useOffer"; + +jest.spyOn(URLSearchParams.prototype, "get").mockReturnValue("some value"); +jest.spyOn(URLSearchParams.prototype, "has").mockReturnValue(false); + +jest.mock("@wpmedia/arc-themes-components", () => ({ + ...jest.requireActual("@wpmedia/arc-themes-components"), + isServerSide: jest.fn(), +})); + +const HEADLINE_TEXT = "Get access today!"; +const SUBHEADLINE_TEXT = "Subscribe to any of our sections"; +const sampleOffer = { + name: "All Products Offer", + disclaimerText: "

Terms apply

", + largeImage: null, + mediumImage: null, + smallImage: null, + pageSubTitle: `

${SUBHEADLINE_TEXT}

`, + pageTitle: `

${HEADLINE_TEXT}

`, + templateName: "a", + campaigns: [ + { + canRenew: true, + canRestart: true, + canStart: true, + name: "allaccess", + validFrom: 1632146400000, + validUntil: null, + }, + ], + products: [ + { + sku: "SPORTS", + description: "

It's all you care about! We understand.

", + image: null, + imageAction: null, + name: "Sports All Access", + thumbnail: null, + maxSubscriptionAssociations: 0, + attributes: [ + { + name: "li", + value: "

Unlimited access to all Sports content

", + }, + { + name: "li", + value: "

Save $40

", + }, + ], + pricingStrategies: [ + { + pricingStrategyId: 1179, + priceCode: "HUV7RS", + name: "Sports: Free Trial + Monthly", + description: "

1 month free trial

", + gift: false, + summary: "

Free first month,then $5.00 every month until canceled.

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "0.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "Month", + }, + { + amount: "5.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + { + pricingStrategyId: 1180, + priceCode: "0SINKE", + name: "Sports: Monthly", + description: "

Monthly price for sports content

", + gift: false, + summary: "

$10/mo

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + ], + defaultSwgProduct: false, + }, + { + sku: "premium", + description: "

Premium all access subscription. Cancel anytime!

", + image: null, + imageAction: null, + name: "Premium All Access", + thumbnail: null, + maxSubscriptionAssociations: 0, + attributes: [], + pricingStrategies: [ + { + pricingStrategyId: 1173, + priceCode: "EX8TZV", + name: "Free Trial: All Access Premium", + description: "

Save $40 by subscribing annually

", + gift: false, + summary: "

Unlimited access to the daily intelligencer

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "0.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "Month", + }, + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + { + pricingStrategyId: 1181, + priceCode: "K7XNLO", + name: "All Access Premium Monthly", + description: "

Pay month to month. Cancel anytime

", + gift: false, + summary: "

10/mo

", + currencyCode: "USD", + currencyDisplayFormat: "symbol", + currencyLocale: "en-US", + rates: [ + { + amount: "10.00", + billingCount: 1, + billingFrequency: "Month", + durationCount: 1, + duration: "UntilCancelled", + }, + ], + taxInclusive: false, + }, + ], + defaultSwgProduct: false, + }, + ], + attributes: [], + default: false, +}; + +jest.mock("fusion:context", () => ({ + useFusionContext: jest.fn(() => ({ + arcSite: "gazette", + })), +})); + +jest.mock("fusion:properties", () => + jest.fn(() => ({ + api: { + retail: { + endpoint: "/retail/public/v1/offer/live/", + origin: "https://corecomponents-the-gazette-prod.api.cdn.arcpublishing.com", + script: "https://corecomponents-the-gazette-prod.cdn.arcpublishing.com/arc/subs/p.min.js", + }, + }, + })) +); + +jest.mock("@arc-publishing/sdk-sales"); +jest.mock("../../components/useOffer"); +useOffer.mockReturnValue({ + offer: sampleOffer, + fetchOffer: () => sampleOffer, + isFetching: false, +}); + +isServerSide.mockReturnValue(false); + +describe("The Offer feature", () => { + it("renders the correct number of offer cards", () => { + const { container } = render( + + ); + + const offers = expect(container.querySelector(".b-offer__card--features li")); + expect(offers.length).toBe(4); + }); + + it("renders sub-headline and subheadline", () => { + render( + + ); + expect(screen.getByText(HEADLINE_TEXT)).not.toBeNull(); + expect(screen.getByText(SUBHEADLINE_TEXT)).not.toBeNull(); + }); + + it("uses fallback campaign code", () => { + const { container } = render( + + ); + + const offers = expect(container.querySelector(".b-offer__grid-list div")); + expect(offers.length).toBe(4); + }); + + it("uses the fallback campaign code if url params does not have campaign present", () => { + jest.spyOn(URLSearchParams.prototype, "has").mockReturnValueOnce(true); + + const { container } = render( + + ); + + expect(container.querySelector(".b-offer")).not.toBeInTheDocument(); + }); + + it("is fetching and does not return offers", () => { + useOffer.mockReturnValue({ + isFetching: true, + offer: null, + fetchOffer: () => null, + }); + + const { container } = render( + + ); + + const offers = expect(container.querySelector(".b-offer__grid-list div")); + expect(offers.length).toBe(0); + + const offersHeading = expect(container.querySelector(".b-offer__headings")); + expect(offersHeading.length).toBe(0); + }); + + it("returns null on serverside", () => { + isServerSide.mockReturnValue(true); + + render( + + ); + + expect(container.querySelector(".b-offer")).toBeInTheDocument(); + }); +}); \ No newline at end of file diff --git a/blocks/subscriptions-block/intl.json b/blocks/subscriptions-block/intl.json new file mode 100644 index 0000000000..01cd5cfe8c --- /dev/null +++ b/blocks/subscriptions-block/intl.json @@ -0,0 +1,2948 @@ +{ + "checkout-block.Afghanistan": { + "sv": "Afghanistan", + "pt": "Afghanistan", + "no": "Afghanistan", + "ko": "Afghanistan", + "ja": "Afghanistan", + "fr": "Afghanistan", + "es": "Afghanistan", + "en": "Afghanistan", + "de": "Afghanistan" + }, + "checkout-block.Albania": { + "sv": "Albania", + "pt": "Albania", + "no": "Albania", + "ko": "Albania", + "ja": "Albania", + "fr": "Albania", + "es": "Albania", + "en": "Albania", + "de": "Albania" + }, + "checkout-block.Algeria": { + "sv": "Algeria", + "pt": "Algeria", + "no": "Algeria", + "ko": "Algeria", + "ja": "Algeria", + "fr": "Algeria", + "es": "Algeria", + "en": "Algeria", + "de": "Algeria" + }, + "checkout-block.American-Samoa": { + "sv": "American Samoa", + "pt": "American Samoa", + "no": "American Samoa", + "ko": "American Samoa", + "ja": "American Samoa", + "fr": "American Samoa", + "es": "American Samoa", + "en": "American Samoa", + "de": "American Samoa" + }, + "checkout-block.AndorrA": { + "sv": "AndorrA", + "pt": "AndorrA", + "no": "AndorrA", + "ko": "AndorrA", + "ja": "AndorrA", + "fr": "AndorrA", + "es": "AndorrA", + "en": "AndorrA", + "de": "AndorrA" + }, + "checkout-block.Angola": { + "sv": "Angola", + "pt": "Angola", + "no": "Angola", + "ko": "Angola", + "ja": "Angola", + "fr": "Angola", + "es": "Angola", + "en": "Angola", + "de": "Angola" + }, + "checkout-block.Anguilla": { + "sv": "Anguilla", + "pt": "Anguilla", + "no": "Anguilla", + "ko": "Anguilla", + "ja": "Anguilla", + "fr": "Anguilla", + "es": "Anguilla", + "en": "Anguilla", + "de": "Anguilla" + }, + "checkout-block.Antarctica": { + "sv": "Antarctica", + "pt": "Antarctica", + "no": "Antarctica", + "ko": "Antarctica", + "ja": "Antarctica", + "fr": "Antarctica", + "es": "Antarctica", + "en": "Antarctica", + "de": "Antarctica" + }, + "checkout-block.Antigua-and-Barbuda": { + "sv": "Antigua and Barbuda", + "pt": "Antigua and Barbuda", + "no": "Antigua and Barbuda", + "ko": "Antigua and Barbuda", + "ja": "Antigua and Barbuda", + "fr": "Antigua and Barbuda", + "es": "Antigua and Barbuda", + "en": "Antigua and Barbuda", + "de": "Antigua and Barbuda" + }, + "checkout-block.Argentina": { + "sv": "Argentina", + "pt": "Argentina", + "no": "Argentina", + "ko": "Argentina", + "ja": "Argentina", + "fr": "Argentina", + "es": "Argentina", + "en": "Argentina", + "de": "Argentina" + }, + "checkout-block.Armenia": { + "sv": "Armenia", + "pt": "Armenia", + "no": "Armenia", + "ko": "Armenia", + "ja": "Armenia", + "fr": "Armenia", + "es": "Armenia", + "en": "Armenia", + "de": "Armenia" + }, + "checkout-block.Aruba": { + "sv": "Aruba", + "pt": "Aruba", + "no": "Aruba", + "ko": "Aruba", + "ja": "Aruba", + "fr": "Aruba", + "es": "Aruba", + "en": "Aruba", + "de": "Aruba" + }, + "checkout-block.Australia": { + "sv": "Australia", + "pt": "Australia", + "no": "Australia", + "ko": "Australia", + "ja": "Australia", + "fr": "Australia", + "es": "Australia", + "en": "Australia", + "de": "Australia" + }, + "checkout-block.Austria": { + "sv": "Austria", + "pt": "Austria", + "no": "Austria", + "ko": "Austria", + "ja": "Austria", + "fr": "Austria", + "es": "Austria", + "en": "Austria", + "de": "Austria" + }, + "checkout-block.Azerbaijan": { + "sv": "Azerbaijan", + "pt": "Azerbaijan", + "no": "Azerbaijan", + "ko": "Azerbaijan", + "ja": "Azerbaijan", + "fr": "Azerbaijan", + "es": "Azerbaijan", + "en": "Azerbaijan", + "de": "Azerbaijan" + }, + "checkout-block.Bahamas": { + "sv": "Bahamas", + "pt": "Bahamas", + "no": "Bahamas", + "ko": "Bahamas", + "ja": "Bahamas", + "fr": "Bahamas", + "es": "Bahamas", + "en": "Bahamas", + "de": "Bahamas" + }, + "checkout-block.Bahrain": { + "sv": "Bahrain", + "pt": "Bahrain", + "no": "Bahrain", + "ko": "Bahrain", + "ja": "Bahrain", + "fr": "Bahrain", + "es": "Bahrain", + "en": "Bahrain", + "de": "Bahrain" + }, + "checkout-block.Bangladesh": { + "sv": "Bangladesh", + "pt": "Bangladesh", + "no": "Bangladesh", + "ko": "Bangladesh", + "ja": "Bangladesh", + "fr": "Bangladesh", + "es": "Bangladesh", + "en": "Bangladesh", + "de": "Bangladesh" + }, + "checkout-block.Barbados": { + "sv": "Barbados", + "pt": "Barbados", + "no": "Barbados", + "ko": "Barbados", + "ja": "Barbados", + "fr": "Barbados", + "es": "Barbados", + "en": "Barbados", + "de": "Barbados" + }, + "checkout-block.Belarus": { + "sv": "Belarus", + "pt": "Belarus", + "no": "Belarus", + "ko": "Belarus", + "ja": "Belarus", + "fr": "Belarus", + "es": "Belarus", + "en": "Belarus", + "de": "Belarus" + }, + "checkout-block.Belgium": { + "sv": "Belgium", + "pt": "Belgium", + "no": "Belgium", + "ko": "Belgium", + "ja": "Belgium", + "fr": "Belgium", + "es": "Belgium", + "en": "Belgium", + "de": "Belgium" + }, + "checkout-block.Belize": { + "sv": "Belize", + "pt": "Belize", + "no": "Belize", + "ko": "Belize", + "ja": "Belize", + "fr": "Belize", + "es": "Belize", + "en": "Belize", + "de": "Belize" + }, + "checkout-block.Benin": { + "sv": "Benin", + "pt": "Benin", + "no": "Benin", + "ko": "Benin", + "ja": "Benin", + "fr": "Benin", + "es": "Benin", + "en": "Benin", + "de": "Benin" + }, + "checkout-block.Bermuda": { + "sv": "Bermuda", + "pt": "Bermuda", + "no": "Bermuda", + "ko": "Bermuda", + "ja": "Bermuda", + "fr": "Bermuda", + "es": "Bermuda", + "en": "Bermuda", + "de": "Bermuda" + }, + "checkout-block.Bhutan": { + "sv": "Bhutan", + "pt": "Bhutan", + "no": "Bhutan", + "ko": "Bhutan", + "ja": "Bhutan", + "fr": "Bhutan", + "es": "Bhutan", + "en": "Bhutan", + "de": "Bhutan" + }, + "checkout-block.Bolivia": { + "sv": "Bolivia", + "pt": "Bolivia", + "no": "Bolivia", + "ko": "Bolivia", + "ja": "Bolivia", + "fr": "Bolivia", + "es": "Bolivia", + "en": "Bolivia", + "de": "Bolivia" + }, + "checkout-block.Bosnia-and-Herzegovina": { + "sv": "Bosnia and Herzegovina", + "pt": "Bosnia and Herzegovina", + "no": "Bosnia and Herzegovina", + "ko": "Bosnia and Herzegovina", + "ja": "Bosnia and Herzegovina", + "fr": "Bosnia and Herzegovina", + "es": "Bosnia and Herzegovina", + "en": "Bosnia and Herzegovina", + "de": "Bosnia and Herzegovina" + }, + "checkout-block.Botswana": { + "sv": "Botswana", + "pt": "Botswana", + "no": "Botswana", + "ko": "Botswana", + "ja": "Botswana", + "fr": "Botswana", + "es": "Botswana", + "en": "Botswana", + "de": "Botswana" + }, + "checkout-block.Bouvet-Island": { + "sv": "Bouvet Island", + "pt": "Bouvet Island", + "no": "Bouvet Island", + "ko": "Bouvet Island", + "ja": "Bouvet Island", + "fr": "Bouvet Island", + "es": "Bouvet Island", + "en": "Bouvet Island", + "de": "Bouvet Island" + }, + "checkout-block.Brazil": { + "sv": "Brazil", + "pt": "Brazil", + "no": "Brazil", + "ko": "Brazil", + "ja": "Brazil", + "fr": "Brazil", + "es": "Brazil", + "en": "Brazil", + "de": "Brazil" + }, + "checkout-block.British-Indian-Ocean-Territory": { + "sv": "British Indian Ocean Territory", + "pt": "British Indian Ocean Territory", + "no": "British Indian Ocean Territory", + "ko": "British Indian Ocean Territory", + "ja": "British Indian Ocean Territory", + "fr": "British Indian Ocean Territory", + "es": "British Indian Ocean Territory", + "en": "British Indian Ocean Territory", + "de": "British Indian Ocean Territory" + }, + "checkout-block.Brunei-Darussalam": { + "sv": "Brunei Darussalam", + "pt": "Brunei Darussalam", + "no": "Brunei Darussalam", + "ko": "Brunei Darussalam", + "ja": "Brunei Darussalam", + "fr": "Brunei Darussalam", + "es": "Brunei Darussalam", + "en": "Brunei Darussalam", + "de": "Brunei Darussalam" + }, + "checkout-block.Bulgaria": { + "sv": "Bulgaria", + "pt": "Bulgaria", + "no": "Bulgaria", + "ko": "Bulgaria", + "ja": "Bulgaria", + "fr": "Bulgaria", + "es": "Bulgaria", + "en": "Bulgaria", + "de": "Bulgaria" + }, + "checkout-block.Burkina-Faso": { + "sv": "Burkina Faso", + "pt": "Burkina Faso", + "no": "Burkina Faso", + "ko": "Burkina Faso", + "ja": "Burkina Faso", + "fr": "Burkina Faso", + "es": "Burkina Faso", + "en": "Burkina Faso", + "de": "Burkina Faso" + }, + "checkout-block.Burundi": { + "sv": "Burundi", + "pt": "Burundi", + "no": "Burundi", + "ko": "Burundi", + "ja": "Burundi", + "fr": "Burundi", + "es": "Burundi", + "en": "Burundi", + "de": "Burundi" + }, + "checkout-block.Cambodia": { + "sv": "Cambodia", + "pt": "Cambodia", + "no": "Cambodia", + "ko": "Cambodia", + "ja": "Cambodia", + "fr": "Cambodia", + "es": "Cambodia", + "en": "Cambodia", + "de": "Cambodia" + }, + "checkout-block.Cameroon": { + "sv": "Cameroon", + "pt": "Cameroon", + "no": "Cameroon", + "ko": "Cameroon", + "ja": "Cameroon", + "fr": "Cameroon", + "es": "Cameroon", + "en": "Cameroon", + "de": "Cameroon" + }, + "checkout-block.Canada": { + "sv": "Canada", + "pt": "Canada", + "no": "Canada", + "ko": "Canada", + "ja": "Canada", + "fr": "Canada", + "es": "Canada", + "en": "Canada", + "de": "Canada" + }, + "checkout-block.Cape-Verde": { + "sv": "Cape Verde", + "pt": "Cape Verde", + "no": "Cape Verde", + "ko": "Cape Verde", + "ja": "Cape Verde", + "fr": "Cape Verde", + "es": "Cape Verde", + "en": "Cape Verde", + "de": "Cape Verde" + }, + "checkout-block.Cayman-Islands": { + "sv": "Cayman Islands", + "pt": "Cayman Islands", + "no": "Cayman Islands", + "ko": "Cayman Islands", + "ja": "Cayman Islands", + "fr": "Cayman Islands", + "es": "Cayman Islands", + "en": "Cayman Islands", + "de": "Cayman Islands" + }, + "checkout-block.Central-African-Republic": { + "sv": "Central African Republic", + "pt": "Central African Republic", + "no": "Central African Republic", + "ko": "Central African Republic", + "ja": "Central African Republic", + "fr": "Central African Republic", + "es": "Central African Republic", + "en": "Central African Republic", + "de": "Central African Republic" + }, + "checkout-block.Chad": { + "sv": "Chad", + "pt": "Chad", + "no": "Chad", + "ko": "Chad", + "ja": "Chad", + "fr": "Chad", + "es": "Chad", + "en": "Chad", + "de": "Chad" + }, + "checkout-block.Chile": { + "sv": "Chile", + "pt": "Chile", + "no": "Chile", + "ko": "Chile", + "ja": "Chile", + "fr": "Chile", + "es": "Chile", + "en": "Chile", + "de": "Chile" + }, + "checkout-block.China": { + "sv": "China", + "pt": "China", + "no": "China", + "ko": "China", + "ja": "China", + "fr": "China", + "es": "China", + "en": "China", + "de": "China" + }, + "checkout-block.Christmas-Island": { + "sv": "Christmas Island", + "pt": "Christmas Island", + "no": "Christmas Island", + "ko": "Christmas Island", + "ja": "Christmas Island", + "fr": "Christmas Island", + "es": "Christmas Island", + "en": "Christmas Island", + "de": "Christmas Island" + }, + "checkout-block.Cocos-(Keeling)-Islands": { + "sv": "Cocos (Keeling) Islands", + "pt": "Cocos (Keeling) Islands", + "no": "Cocos (Keeling) Islands", + "ko": "Cocos (Keeling) Islands", + "ja": "Cocos (Keeling) Islands", + "fr": "Cocos (Keeling) Islands", + "es": "Cocos (Keeling) Islands", + "en": "Cocos (Keeling) Islands", + "de": "Cocos (Keeling) Islands" + }, + "checkout-block.Colombia": { + "sv": "Colombia", + "pt": "Colombia", + "no": "Colombia", + "ko": "Colombia", + "ja": "Colombia", + "fr": "Colombia", + "es": "Colombia", + "en": "Colombia", + "de": "Colombia" + }, + "checkout-block.Comoros": { + "sv": "Comoros", + "pt": "Comoros", + "no": "Comoros", + "ko": "Comoros", + "ja": "Comoros", + "fr": "Comoros", + "es": "Comoros", + "en": "Comoros", + "de": "Comoros" + }, + "checkout-block.Congo": { + "sv": "Congo", + "pt": "Congo", + "no": "Congo", + "ko": "Congo", + "ja": "Congo", + "fr": "Congo", + "es": "Congo", + "en": "Congo", + "de": "Congo" + }, + "checkout-block.Congo,-The-Democratic-Republic-of-the": { + "sv": "Congo, The Democratic Republic of the", + "pt": "Congo, The Democratic Republic of the", + "no": "Congo, The Democratic Republic of the", + "ko": "Congo, The Democratic Republic of the", + "ja": "Congo, The Democratic Republic of the", + "fr": "Congo, The Democratic Republic of the", + "es": "Congo, The Democratic Republic of the", + "en": "Congo, The Democratic Republic of the", + "de": "Congo, The Democratic Republic of the" + }, + "checkout-block.Cook-Islands": { + "sv": "Cook Islands", + "pt": "Cook Islands", + "no": "Cook Islands", + "ko": "Cook Islands", + "ja": "Cook Islands", + "fr": "Cook Islands", + "es": "Cook Islands", + "en": "Cook Islands", + "de": "Cook Islands" + }, + "checkout-block.Costa-Rica": { + "sv": "Costa Rica", + "pt": "Costa Rica", + "no": "Costa Rica", + "ko": "Costa Rica", + "ja": "Costa Rica", + "fr": "Costa Rica", + "es": "Costa Rica", + "en": "Costa Rica", + "de": "Costa Rica" + }, + "checkout-block.Cote-D'Ivoire": { + "sv": "Cote D'Ivoire", + "pt": "Cote D'Ivoire", + "no": "Cote D'Ivoire", + "ko": "Cote D'Ivoire", + "ja": "Cote D'Ivoire", + "fr": "Cote D'Ivoire", + "es": "Cote D'Ivoire", + "en": "Cote D'Ivoire", + "de": "Cote D'Ivoire" + }, + "checkout-block.Croatia": { + "sv": "Croatia", + "pt": "Croatia", + "no": "Croatia", + "ko": "Croatia", + "ja": "Croatia", + "fr": "Croatia", + "es": "Croatia", + "en": "Croatia", + "de": "Croatia" + }, + "checkout-block.Cuba": { + "sv": "Cuba", + "pt": "Cuba", + "no": "Cuba", + "ko": "Cuba", + "ja": "Cuba", + "fr": "Cuba", + "es": "Cuba", + "en": "Cuba", + "de": "Cuba" + }, + "checkout-block.Cyprus": { + "sv": "Cyprus", + "pt": "Cyprus", + "no": "Cyprus", + "ko": "Cyprus", + "ja": "Cyprus", + "fr": "Cyprus", + "es": "Cyprus", + "en": "Cyprus", + "de": "Cyprus" + }, + "checkout-block.Czech-Republic": { + "sv": "Czech Republic", + "pt": "Czech Republic", + "no": "Czech Republic", + "ko": "Czech Republic", + "ja": "Czech Republic", + "fr": "Czech Republic", + "es": "Czech Republic", + "en": "Czech Republic", + "de": "Czech Republic" + }, + "checkout-block.Denmark": { + "sv": "Denmark", + "pt": "Denmark", + "no": "Denmark", + "ko": "Denmark", + "ja": "Denmark", + "fr": "Denmark", + "es": "Denmark", + "en": "Denmark", + "de": "Denmark" + }, + "checkout-block.Djibouti": { + "sv": "Djibouti", + "pt": "Djibouti", + "no": "Djibouti", + "ko": "Djibouti", + "ja": "Djibouti", + "fr": "Djibouti", + "es": "Djibouti", + "en": "Djibouti", + "de": "Djibouti" + }, + "checkout-block.Dominica": { + "sv": "Dominica", + "pt": "Dominica", + "no": "Dominica", + "ko": "Dominica", + "ja": "Dominica", + "fr": "Dominica", + "es": "Dominica", + "en": "Dominica", + "de": "Dominica" + }, + "checkout-block.Dominican-Republic": { + "sv": "Dominican Republic", + "pt": "Dominican Republic", + "no": "Dominican Republic", + "ko": "Dominican Republic", + "ja": "Dominican Republic", + "fr": "Dominican Republic", + "es": "Dominican Republic", + "en": "Dominican Republic", + "de": "Dominican Republic" + }, + "checkout-block.Ecuador": { + "sv": "Ecuador", + "pt": "Ecuador", + "no": "Ecuador", + "ko": "Ecuador", + "ja": "Ecuador", + "fr": "Ecuador", + "es": "Ecuador", + "en": "Ecuador", + "de": "Ecuador" + }, + "checkout-block.Egypt": { + "sv": "Egypt", + "pt": "Egypt", + "no": "Egypt", + "ko": "Egypt", + "ja": "Egypt", + "fr": "Egypt", + "es": "Egypt", + "en": "Egypt", + "de": "Egypt" + }, + "checkout-block.El-Salvador": { + "sv": "El Salvador", + "pt": "El Salvador", + "no": "El Salvador", + "ko": "El Salvador", + "ja": "El Salvador", + "fr": "El Salvador", + "es": "El Salvador", + "en": "El Salvador", + "de": "El Salvador" + }, + "checkout-block.Equatorial-Guinea": { + "sv": "Equatorial Guinea", + "pt": "Equatorial Guinea", + "no": "Equatorial Guinea", + "ko": "Equatorial Guinea", + "ja": "Equatorial Guinea", + "fr": "Equatorial Guinea", + "es": "Equatorial Guinea", + "en": "Equatorial Guinea", + "de": "Equatorial Guinea" + }, + "checkout-block.Eritrea": { + "sv": "Eritrea", + "pt": "Eritrea", + "no": "Eritrea", + "ko": "Eritrea", + "ja": "Eritrea", + "fr": "Eritrea", + "es": "Eritrea", + "en": "Eritrea", + "de": "Eritrea" + }, + "checkout-block.Estonia": { + "sv": "Estonia", + "pt": "Estonia", + "no": "Estonia", + "ko": "Estonia", + "ja": "Estonia", + "fr": "Estonia", + "es": "Estonia", + "en": "Estonia", + "de": "Estonia" + }, + "checkout-block.Ethiopia": { + "sv": "Ethiopia", + "pt": "Ethiopia", + "no": "Ethiopia", + "ko": "Ethiopia", + "ja": "Ethiopia", + "fr": "Ethiopia", + "es": "Ethiopia", + "en": "Ethiopia", + "de": "Ethiopia" + }, + "checkout-block.Falkland-Islands-(Malvinas)": { + "sv": "Falkland Islands (Malvinas)", + "pt": "Falkland Islands (Malvinas)", + "no": "Falkland Islands (Malvinas)", + "ko": "Falkland Islands (Malvinas)", + "ja": "Falkland Islands (Malvinas)", + "fr": "Falkland Islands (Malvinas)", + "es": "Falkland Islands (Malvinas)", + "en": "Falkland Islands (Malvinas)", + "de": "Falkland Islands (Malvinas)" + }, + "checkout-block.Faroe-Islands": { + "sv": "Faroe Islands", + "pt": "Faroe Islands", + "no": "Faroe Islands", + "ko": "Faroe Islands", + "ja": "Faroe Islands", + "fr": "Faroe Islands", + "es": "Faroe Islands", + "en": "Faroe Islands", + "de": "Faroe Islands" + }, + "checkout-block.Fiji": { + "sv": "Fiji", + "pt": "Fiji", + "no": "Fiji", + "ko": "Fiji", + "ja": "Fiji", + "fr": "Fiji", + "es": "Fiji", + "en": "Fiji", + "de": "Fiji" + }, + "checkout-block.Finland": { + "sv": "Finland", + "pt": "Finland", + "no": "Finland", + "ko": "Finland", + "ja": "Finland", + "fr": "Finland", + "es": "Finland", + "en": "Finland", + "de": "Finland" + }, + "checkout-block.France": { + "sv": "France", + "pt": "France", + "no": "France", + "ko": "France", + "ja": "France", + "fr": "France", + "es": "France", + "en": "France", + "de": "France" + }, + "checkout-block.French-Guiana": { + "sv": "French Guiana", + "pt": "French Guiana", + "no": "French Guiana", + "ko": "French Guiana", + "ja": "French Guiana", + "fr": "French Guiana", + "es": "French Guiana", + "en": "French Guiana", + "de": "French Guiana" + }, + "checkout-block.French-Polynesia": { + "sv": "French Polynesia", + "pt": "French Polynesia", + "no": "French Polynesia", + "ko": "French Polynesia", + "ja": "French Polynesia", + "fr": "French Polynesia", + "es": "French Polynesia", + "en": "French Polynesia", + "de": "French Polynesia" + }, + "checkout-block.French-Southern-Territories": { + "sv": "French Southern Territories", + "pt": "French Southern Territories", + "no": "French Southern Territories", + "ko": "French Southern Territories", + "ja": "French Southern Territories", + "fr": "French Southern Territories", + "es": "French Southern Territories", + "en": "French Southern Territories", + "de": "French Southern Territories" + }, + "checkout-block.Gabon": { + "sv": "Gabon", + "pt": "Gabon", + "no": "Gabon", + "ko": "Gabon", + "ja": "Gabon", + "fr": "Gabon", + "es": "Gabon", + "en": "Gabon", + "de": "Gabon" + }, + "checkout-block.Gambia": { + "sv": "Gambia", + "pt": "Gambia", + "no": "Gambia", + "ko": "Gambia", + "ja": "Gambia", + "fr": "Gambia", + "es": "Gambia", + "en": "Gambia", + "de": "Gambia" + }, + "checkout-block.Georgia": { + "sv": "Georgia", + "pt": "Georgia", + "no": "Georgia", + "ko": "Georgia", + "ja": "Georgia", + "fr": "Georgia", + "es": "Georgia", + "en": "Georgia", + "de": "Georgia" + }, + "checkout-block.Germany": { + "sv": "Germany", + "pt": "Germany", + "no": "Germany", + "ko": "Germany", + "ja": "Germany", + "fr": "Germany", + "es": "Germany", + "en": "Germany", + "de": "Germany" + }, + "checkout-block.Ghana": { + "sv": "Ghana", + "pt": "Ghana", + "no": "Ghana", + "ko": "Ghana", + "ja": "Ghana", + "fr": "Ghana", + "es": "Ghana", + "en": "Ghana", + "de": "Ghana" + }, + "checkout-block.Gibraltar": { + "sv": "Gibraltar", + "pt": "Gibraltar", + "no": "Gibraltar", + "ko": "Gibraltar", + "ja": "Gibraltar", + "fr": "Gibraltar", + "es": "Gibraltar", + "en": "Gibraltar", + "de": "Gibraltar" + }, + "checkout-block.Greece": { + "sv": "Greece", + "pt": "Greece", + "no": "Greece", + "ko": "Greece", + "ja": "Greece", + "fr": "Greece", + "es": "Greece", + "en": "Greece", + "de": "Greece" + }, + "checkout-block.Greenland": { + "sv": "Greenland", + "pt": "Greenland", + "no": "Greenland", + "ko": "Greenland", + "ja": "Greenland", + "fr": "Greenland", + "es": "Greenland", + "en": "Greenland", + "de": "Greenland" + }, + "checkout-block.Grenada": { + "sv": "Grenada", + "pt": "Grenada", + "no": "Grenada", + "ko": "Grenada", + "ja": "Grenada", + "fr": "Grenada", + "es": "Grenada", + "en": "Grenada", + "de": "Grenada" + }, + "checkout-block.Guadeloupe": { + "sv": "Guadeloupe", + "pt": "Guadeloupe", + "no": "Guadeloupe", + "ko": "Guadeloupe", + "ja": "Guadeloupe", + "fr": "Guadeloupe", + "es": "Guadeloupe", + "en": "Guadeloupe", + "de": "Guadeloupe" + }, + "checkout-block.Guam": { + "sv": "Guam", + "pt": "Guam", + "no": "Guam", + "ko": "Guam", + "ja": "Guam", + "fr": "Guam", + "es": "Guam", + "en": "Guam", + "de": "Guam" + }, + "checkout-block.Guatemala": { + "sv": "Guatemala", + "pt": "Guatemala", + "no": "Guatemala", + "ko": "Guatemala", + "ja": "Guatemala", + "fr": "Guatemala", + "es": "Guatemala", + "en": "Guatemala", + "de": "Guatemala" + }, + "checkout-block.Guernsey": { + "sv": "Guernsey", + "pt": "Guernsey", + "no": "Guernsey", + "ko": "Guernsey", + "ja": "Guernsey", + "fr": "Guernsey", + "es": "Guernsey", + "en": "Guernsey", + "de": "Guernsey" + }, + "checkout-block.Guinea": { + "sv": "Guinea", + "pt": "Guinea", + "no": "Guinea", + "ko": "Guinea", + "ja": "Guinea", + "fr": "Guinea", + "es": "Guinea", + "en": "Guinea", + "de": "Guinea" + }, + "checkout-block.Guinea-Bissau": { + "sv": "Guinea-Bissau", + "pt": "Guinea-Bissau", + "no": "Guinea-Bissau", + "ko": "Guinea-Bissau", + "ja": "Guinea-Bissau", + "fr": "Guinea-Bissau", + "es": "Guinea-Bissau", + "en": "Guinea-Bissau", + "de": "Guinea-Bissau" + }, + "checkout-block.Guyana": { + "sv": "Guyana", + "pt": "Guyana", + "no": "Guyana", + "ko": "Guyana", + "ja": "Guyana", + "fr": "Guyana", + "es": "Guyana", + "en": "Guyana", + "de": "Guyana" + }, + "checkout-block.Haiti": { + "sv": "Haiti", + "pt": "Haiti", + "no": "Haiti", + "ko": "Haiti", + "ja": "Haiti", + "fr": "Haiti", + "es": "Haiti", + "en": "Haiti", + "de": "Haiti" + }, + "checkout-block.Heard-Island-and-Mcdonald-Islands": { + "sv": "Heard Island and Mcdonald Islands", + "pt": "Heard Island and Mcdonald Islands", + "no": "Heard Island and Mcdonald Islands", + "ko": "Heard Island and Mcdonald Islands", + "ja": "Heard Island and Mcdonald Islands", + "fr": "Heard Island and Mcdonald Islands", + "es": "Heard Island and Mcdonald Islands", + "en": "Heard Island and Mcdonald Islands", + "de": "Heard Island and Mcdonald Islands" + }, + "checkout-block.Holy-See-(Vatican-City-State)": { + "sv": "Holy See (Vatican City State)", + "pt": "Holy See (Vatican City State)", + "no": "Holy See (Vatican City State)", + "ko": "Holy See (Vatican City State)", + "ja": "Holy See (Vatican City State)", + "fr": "Holy See (Vatican City State)", + "es": "Holy See (Vatican City State)", + "en": "Holy See (Vatican City State)", + "de": "Holy See (Vatican City State)" + }, + "checkout-block.Honduras": { + "sv": "Honduras", + "pt": "Honduras", + "no": "Honduras", + "ko": "Honduras", + "ja": "Honduras", + "fr": "Honduras", + "es": "Honduras", + "en": "Honduras", + "de": "Honduras" + }, + "checkout-block.Hong-Kong": { + "sv": "Hong Kong", + "pt": "Hong Kong", + "no": "Hong Kong", + "ko": "Hong Kong", + "ja": "Hong Kong", + "fr": "Hong Kong", + "es": "Hong Kong", + "en": "Hong Kong", + "de": "Hong Kong" + }, + "checkout-block.Hungary": { + "sv": "Hungary", + "pt": "Hungary", + "no": "Hungary", + "ko": "Hungary", + "ja": "Hungary", + "fr": "Hungary", + "es": "Hungary", + "en": "Hungary", + "de": "Hungary" + }, + "checkout-block.Iceland": { + "sv": "Iceland", + "pt": "Iceland", + "no": "Iceland", + "ko": "Iceland", + "ja": "Iceland", + "fr": "Iceland", + "es": "Iceland", + "en": "Iceland", + "de": "Iceland" + }, + "checkout-block.India": { + "sv": "India", + "pt": "India", + "no": "India", + "ko": "India", + "ja": "India", + "fr": "India", + "es": "India", + "en": "India", + "de": "India" + }, + "checkout-block.Indonesia": { + "sv": "Indonesia", + "pt": "Indonesia", + "no": "Indonesia", + "ko": "Indonesia", + "ja": "Indonesia", + "fr": "Indonesia", + "es": "Indonesia", + "en": "Indonesia", + "de": "Indonesia" + }, + "checkout-block.Iran,-Islamic-Republic-Of": { + "sv": "Iran, Islamic Republic Of", + "pt": "Iran, Islamic Republic Of", + "no": "Iran, Islamic Republic Of", + "ko": "Iran, Islamic Republic Of", + "ja": "Iran, Islamic Republic Of", + "fr": "Iran, Islamic Republic Of", + "es": "Iran, Islamic Republic Of", + "en": "Iran, Islamic Republic Of", + "de": "Iran, Islamic Republic Of" + }, + "checkout-block.Iraq": { + "sv": "Iraq", + "pt": "Iraq", + "no": "Iraq", + "ko": "Iraq", + "ja": "Iraq", + "fr": "Iraq", + "es": "Iraq", + "en": "Iraq", + "de": "Iraq" + }, + "checkout-block.Ireland": { + "sv": "Ireland", + "pt": "Ireland", + "no": "Ireland", + "ko": "Ireland", + "ja": "Ireland", + "fr": "Ireland", + "es": "Ireland", + "en": "Ireland", + "de": "Ireland" + }, + "checkout-block.Isle-of-Man": { + "sv": "Isle of Man", + "pt": "Isle of Man", + "no": "Isle of Man", + "ko": "Isle of Man", + "ja": "Isle of Man", + "fr": "Isle of Man", + "es": "Isle of Man", + "en": "Isle of Man", + "de": "Isle of Man" + }, + "checkout-block.Israel": { + "sv": "Israel", + "pt": "Israel", + "no": "Israel", + "ko": "Israel", + "ja": "Israel", + "fr": "Israel", + "es": "Israel", + "en": "Israel", + "de": "Israel" + }, + "checkout-block.Italy": { + "sv": "Italy", + "pt": "Italy", + "no": "Italy", + "ko": "Italy", + "ja": "Italy", + "fr": "Italy", + "es": "Italy", + "en": "Italy", + "de": "Italy" + }, + "checkout-block.Jamaica": { + "sv": "Jamaica", + "pt": "Jamaica", + "no": "Jamaica", + "ko": "Jamaica", + "ja": "Jamaica", + "fr": "Jamaica", + "es": "Jamaica", + "en": "Jamaica", + "de": "Jamaica" + }, + "checkout-block.Japan": { + "sv": "Japan", + "pt": "Japan", + "no": "Japan", + "ko": "Japan", + "ja": "Japan", + "fr": "Japan", + "es": "Japan", + "en": "Japan", + "de": "Japan" + }, + "checkout-block.Jersey": { + "sv": "Jersey", + "pt": "Jersey", + "no": "Jersey", + "ko": "Jersey", + "ja": "Jersey", + "fr": "Jersey", + "es": "Jersey", + "en": "Jersey", + "de": "Jersey" + }, + "checkout-block.Jordan": { + "sv": "Jordan", + "pt": "Jordan", + "no": "Jordan", + "ko": "Jordan", + "ja": "Jordan", + "fr": "Jordan", + "es": "Jordan", + "en": "Jordan", + "de": "Jordan" + }, + "checkout-block.Kazakhstan": { + "sv": "Kazakhstan", + "pt": "Kazakhstan", + "no": "Kazakhstan", + "ko": "Kazakhstan", + "ja": "Kazakhstan", + "fr": "Kazakhstan", + "es": "Kazakhstan", + "en": "Kazakhstan", + "de": "Kazakhstan" + }, + "checkout-block.Kenya": { + "sv": "Kenya", + "pt": "Kenya", + "no": "Kenya", + "ko": "Kenya", + "ja": "Kenya", + "fr": "Kenya", + "es": "Kenya", + "en": "Kenya", + "de": "Kenya" + }, + "checkout-block.Kiribati": { + "sv": "Kiribati", + "pt": "Kiribati", + "no": "Kiribati", + "ko": "Kiribati", + "ja": "Kiribati", + "fr": "Kiribati", + "es": "Kiribati", + "en": "Kiribati", + "de": "Kiribati" + }, + "checkout-block.Korea,-Democratic-People'S-Republic-of": { + "sv": "Korea, Democratic People'S Republic of", + "pt": "Korea, Democratic People'S Republic of", + "no": "Korea, Democratic People'S Republic of", + "ko": "Korea, Democratic People'S Republic of", + "ja": "Korea, Democratic People'S Republic of", + "fr": "Korea, Democratic People'S Republic of", + "es": "Korea, Democratic People'S Republic of", + "en": "Korea, Democratic People'S Republic of", + "de": "Korea, Democratic People'S Republic of" + }, + "checkout-block.Korea,-Republic-of": { + "sv": "Korea, Republic of", + "pt": "Korea, Republic of", + "no": "Korea, Republic of", + "ko": "Korea, Republic of", + "ja": "Korea, Republic of", + "fr": "Korea, Republic of", + "es": "Korea, Republic of", + "en": "Korea, Republic of", + "de": "Korea, Republic of" + }, + "checkout-block.Kuwait": { + "sv": "Kuwait", + "pt": "Kuwait", + "no": "Kuwait", + "ko": "Kuwait", + "ja": "Kuwait", + "fr": "Kuwait", + "es": "Kuwait", + "en": "Kuwait", + "de": "Kuwait" + }, + "checkout-block.Kyrgyzstan": { + "sv": "Kyrgyzstan", + "pt": "Kyrgyzstan", + "no": "Kyrgyzstan", + "ko": "Kyrgyzstan", + "ja": "Kyrgyzstan", + "fr": "Kyrgyzstan", + "es": "Kyrgyzstan", + "en": "Kyrgyzstan", + "de": "Kyrgyzstan" + }, + "checkout-block.Lao-People'S-Democratic-Republic": { + "sv": "Lao People'S Democratic Republic", + "pt": "Lao People'S Democratic Republic", + "no": "Lao People'S Democratic Republic", + "ko": "Lao People'S Democratic Republic", + "ja": "Lao People'S Democratic Republic", + "fr": "Lao People'S Democratic Republic", + "es": "Lao People'S Democratic Republic", + "en": "Lao People'S Democratic Republic", + "de": "Lao People'S Democratic Republic" + }, + "checkout-block.Latvia": { + "sv": "Latvia", + "pt": "Latvia", + "no": "Latvia", + "ko": "Latvia", + "ja": "Latvia", + "fr": "Latvia", + "es": "Latvia", + "en": "Latvia", + "de": "Latvia" + }, + "checkout-block.Lebanon": { + "sv": "Lebanon", + "pt": "Lebanon", + "no": "Lebanon", + "ko": "Lebanon", + "ja": "Lebanon", + "fr": "Lebanon", + "es": "Lebanon", + "en": "Lebanon", + "de": "Lebanon" + }, + "checkout-block.Lesotho": { + "sv": "Lesotho", + "pt": "Lesotho", + "no": "Lesotho", + "ko": "Lesotho", + "ja": "Lesotho", + "fr": "Lesotho", + "es": "Lesotho", + "en": "Lesotho", + "de": "Lesotho" + }, + "checkout-block.Liberia": { + "sv": "Liberia", + "pt": "Liberia", + "no": "Liberia", + "ko": "Liberia", + "ja": "Liberia", + "fr": "Liberia", + "es": "Liberia", + "en": "Liberia", + "de": "Liberia" + }, + "checkout-block.Libyan-Arab-Jamahiriya": { + "sv": "Libyan Arab Jamahiriya", + "pt": "Libyan Arab Jamahiriya", + "no": "Libyan Arab Jamahiriya", + "ko": "Libyan Arab Jamahiriya", + "ja": "Libyan Arab Jamahiriya", + "fr": "Libyan Arab Jamahiriya", + "es": "Libyan Arab Jamahiriya", + "en": "Libyan Arab Jamahiriya", + "de": "Libyan Arab Jamahiriya" + }, + "checkout-block.Liechtenstein": { + "sv": "Liechtenstein", + "pt": "Liechtenstein", + "no": "Liechtenstein", + "ko": "Liechtenstein", + "ja": "Liechtenstein", + "fr": "Liechtenstein", + "es": "Liechtenstein", + "en": "Liechtenstein", + "de": "Liechtenstein" + }, + "checkout-block.Lithuania": { + "sv": "Lithuania", + "pt": "Lithuania", + "no": "Lithuania", + "ko": "Lithuania", + "ja": "Lithuania", + "fr": "Lithuania", + "es": "Lithuania", + "en": "Lithuania", + "de": "Lithuania" + }, + "checkout-block.Luxembourg": { + "sv": "Luxembourg", + "pt": "Luxembourg", + "no": "Luxembourg", + "ko": "Luxembourg", + "ja": "Luxembourg", + "fr": "Luxembourg", + "es": "Luxembourg", + "en": "Luxembourg", + "de": "Luxembourg" + }, + "checkout-block.Macao": { + "sv": "Macao", + "pt": "Macao", + "no": "Macao", + "ko": "Macao", + "ja": "Macao", + "fr": "Macao", + "es": "Macao", + "en": "Macao", + "de": "Macao" + }, + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": { + "sv": "Macedonia, The Former Yugoslav Republic of", + "pt": "Macedonia, The Former Yugoslav Republic of", + "no": "Macedonia, The Former Yugoslav Republic of", + "ko": "Macedonia, The Former Yugoslav Republic of", + "ja": "Macedonia, The Former Yugoslav Republic of", + "fr": "Macedonia, The Former Yugoslav Republic of", + "es": "Macedonia, The Former Yugoslav Republic of", + "en": "Macedonia, The Former Yugoslav Republic of", + "de": "Macedonia, The Former Yugoslav Republic of" + }, + "checkout-block.Madagascar": { + "sv": "Madagascar", + "pt": "Madagascar", + "no": "Madagascar", + "ko": "Madagascar", + "ja": "Madagascar", + "fr": "Madagascar", + "es": "Madagascar", + "en": "Madagascar", + "de": "Madagascar" + }, + "checkout-block.Malawi": { + "sv": "Malawi", + "pt": "Malawi", + "no": "Malawi", + "ko": "Malawi", + "ja": "Malawi", + "fr": "Malawi", + "es": "Malawi", + "en": "Malawi", + "de": "Malawi" + }, + "checkout-block.Malaysia": { + "sv": "Malaysia", + "pt": "Malaysia", + "no": "Malaysia", + "ko": "Malaysia", + "ja": "Malaysia", + "fr": "Malaysia", + "es": "Malaysia", + "en": "Malaysia", + "de": "Malaysia" + }, + "checkout-block.Maldives": { + "sv": "Maldives", + "pt": "Maldives", + "no": "Maldives", + "ko": "Maldives", + "ja": "Maldives", + "fr": "Maldives", + "es": "Maldives", + "en": "Maldives", + "de": "Maldives" + }, + "checkout-block.Mali": { + "sv": "Mali", + "pt": "Mali", + "no": "Mali", + "ko": "Mali", + "ja": "Mali", + "fr": "Mali", + "es": "Mali", + "en": "Mali", + "de": "Mali" + }, + "checkout-block.Malta": { + "sv": "Malta", + "pt": "Malta", + "no": "Malta", + "ko": "Malta", + "ja": "Malta", + "fr": "Malta", + "es": "Malta", + "en": "Malta", + "de": "Malta" + }, + "checkout-block.Marshall-Islands": { + "sv": "Marshall Islands", + "pt": "Marshall Islands", + "no": "Marshall Islands", + "ko": "Marshall Islands", + "ja": "Marshall Islands", + "fr": "Marshall Islands", + "es": "Marshall Islands", + "en": "Marshall Islands", + "de": "Marshall Islands" + }, + "checkout-block.Martinique": { + "sv": "Martinique", + "pt": "Martinique", + "no": "Martinique", + "ko": "Martinique", + "ja": "Martinique", + "fr": "Martinique", + "es": "Martinique", + "en": "Martinique", + "de": "Martinique" + }, + "checkout-block.Mauritania": { + "sv": "Mauritania", + "pt": "Mauritania", + "no": "Mauritania", + "ko": "Mauritania", + "ja": "Mauritania", + "fr": "Mauritania", + "es": "Mauritania", + "en": "Mauritania", + "de": "Mauritania" + }, + "checkout-block.Mauritius": { + "sv": "Mauritius", + "pt": "Mauritius", + "no": "Mauritius", + "ko": "Mauritius", + "ja": "Mauritius", + "fr": "Mauritius", + "es": "Mauritius", + "en": "Mauritius", + "de": "Mauritius" + }, + "checkout-block.Mayotte": { + "sv": "Mayotte", + "pt": "Mayotte", + "no": "Mayotte", + "ko": "Mayotte", + "ja": "Mayotte", + "fr": "Mayotte", + "es": "Mayotte", + "en": "Mayotte", + "de": "Mayotte" + }, + "checkout-block.Mexico": { + "sv": "Mexico", + "pt": "Mexico", + "no": "Mexico", + "ko": "Mexico", + "ja": "Mexico", + "fr": "Mexico", + "es": "Mexico", + "en": "Mexico", + "de": "Mexico" + }, + "checkout-block.Micronesia,-Federated-States-of": { + "sv": "Micronesia, Federated States of", + "pt": "Micronesia, Federated States of", + "no": "Micronesia, Federated States of", + "ko": "Micronesia, Federated States of", + "ja": "Micronesia, Federated States of", + "fr": "Micronesia, Federated States of", + "es": "Micronesia, Federated States of", + "en": "Micronesia, Federated States of", + "de": "Micronesia, Federated States of" + }, + "checkout-block.Moldova,-Republic-of": { + "sv": "Moldova, Republic of", + "pt": "Moldova, Republic of", + "no": "Moldova, Republic of", + "ko": "Moldova, Republic of", + "ja": "Moldova, Republic of", + "fr": "Moldova, Republic of", + "es": "Moldova, Republic of", + "en": "Moldova, Republic of", + "de": "Moldova, Republic of" + }, + "checkout-block.Monaco": { + "sv": "Monaco", + "pt": "Monaco", + "no": "Monaco", + "ko": "Monaco", + "ja": "Monaco", + "fr": "Monaco", + "es": "Monaco", + "en": "Monaco", + "de": "Monaco" + }, + "checkout-block.Mongolia": { + "sv": "Mongolia", + "pt": "Mongolia", + "no": "Mongolia", + "ko": "Mongolia", + "ja": "Mongolia", + "fr": "Mongolia", + "es": "Mongolia", + "en": "Mongolia", + "de": "Mongolia" + }, + "checkout-block.Montserrat": { + "sv": "Montserrat", + "pt": "Montserrat", + "no": "Montserrat", + "ko": "Montserrat", + "ja": "Montserrat", + "fr": "Montserrat", + "es": "Montserrat", + "en": "Montserrat", + "de": "Montserrat" + }, + "checkout-block.Morocco": { + "sv": "Morocco", + "pt": "Morocco", + "no": "Morocco", + "ko": "Morocco", + "ja": "Morocco", + "fr": "Morocco", + "es": "Morocco", + "en": "Morocco", + "de": "Morocco" + }, + "checkout-block.Mozambique": { + "sv": "Mozambique", + "pt": "Mozambique", + "no": "Mozambique", + "ko": "Mozambique", + "ja": "Mozambique", + "fr": "Mozambique", + "es": "Mozambique", + "en": "Mozambique", + "de": "Mozambique" + }, + "checkout-block.Myanmar": { + "sv": "Myanmar", + "pt": "Myanmar", + "no": "Myanmar", + "ko": "Myanmar", + "ja": "Myanmar", + "fr": "Myanmar", + "es": "Myanmar", + "en": "Myanmar", + "de": "Myanmar" + }, + "checkout-block.Namibia": { + "sv": "Namibia", + "pt": "Namibia", + "no": "Namibia", + "ko": "Namibia", + "ja": "Namibia", + "fr": "Namibia", + "es": "Namibia", + "en": "Namibia", + "de": "Namibia" + }, + "checkout-block.Nauru": { + "sv": "Nauru", + "pt": "Nauru", + "no": "Nauru", + "ko": "Nauru", + "ja": "Nauru", + "fr": "Nauru", + "es": "Nauru", + "en": "Nauru", + "de": "Nauru" + }, + "checkout-block.Nepal": { + "sv": "Nepal", + "pt": "Nepal", + "no": "Nepal", + "ko": "Nepal", + "ja": "Nepal", + "fr": "Nepal", + "es": "Nepal", + "en": "Nepal", + "de": "Nepal" + }, + "checkout-block.Netherlands": { + "sv": "Netherlands", + "pt": "Netherlands", + "no": "Netherlands", + "ko": "Netherlands", + "ja": "Netherlands", + "fr": "Netherlands", + "es": "Netherlands", + "en": "Netherlands", + "de": "Netherlands" + }, + "checkout-block.Netherlands-Antilles": { + "sv": "Netherlands Antilles", + "pt": "Netherlands Antilles", + "no": "Netherlands Antilles", + "ko": "Netherlands Antilles", + "ja": "Netherlands Antilles", + "fr": "Netherlands Antilles", + "es": "Netherlands Antilles", + "en": "Netherlands Antilles", + "de": "Netherlands Antilles" + }, + "checkout-block.New-Caledonia": { + "sv": "New Caledonia", + "pt": "New Caledonia", + "no": "New Caledonia", + "ko": "New Caledonia", + "ja": "New Caledonia", + "fr": "New Caledonia", + "es": "New Caledonia", + "en": "New Caledonia", + "de": "New Caledonia" + }, + "checkout-block.New-Zealand": { + "sv": "New Zealand", + "pt": "New Zealand", + "no": "New Zealand", + "ko": "New Zealand", + "ja": "New Zealand", + "fr": "New Zealand", + "es": "New Zealand", + "en": "New Zealand", + "de": "New Zealand" + }, + "checkout-block.Nicaragua": { + "sv": "Nicaragua", + "pt": "Nicaragua", + "no": "Nicaragua", + "ko": "Nicaragua", + "ja": "Nicaragua", + "fr": "Nicaragua", + "es": "Nicaragua", + "en": "Nicaragua", + "de": "Nicaragua" + }, + "checkout-block.Niger": { + "sv": "Niger", + "pt": "Niger", + "no": "Niger", + "ko": "Niger", + "ja": "Niger", + "fr": "Niger", + "es": "Niger", + "en": "Niger", + "de": "Niger" + }, + "checkout-block.Nigeria": { + "sv": "Nigeria", + "pt": "Nigeria", + "no": "Nigeria", + "ko": "Nigeria", + "ja": "Nigeria", + "fr": "Nigeria", + "es": "Nigeria", + "en": "Nigeria", + "de": "Nigeria" + }, + "checkout-block.Niue": { + "sv": "Niue", + "pt": "Niue", + "no": "Niue", + "ko": "Niue", + "ja": "Niue", + "fr": "Niue", + "es": "Niue", + "en": "Niue", + "de": "Niue" + }, + "checkout-block.Norfolk-Island": { + "sv": "Norfolk Island", + "pt": "Norfolk Island", + "no": "Norfolk Island", + "ko": "Norfolk Island", + "ja": "Norfolk Island", + "fr": "Norfolk Island", + "es": "Norfolk Island", + "en": "Norfolk Island", + "de": "Norfolk Island" + }, + "checkout-block.Northern-Mariana-Islands": { + "sv": "Northern Mariana Islands", + "pt": "Northern Mariana Islands", + "no": "Northern Mariana Islands", + "ko": "Northern Mariana Islands", + "ja": "Northern Mariana Islands", + "fr": "Northern Mariana Islands", + "es": "Northern Mariana Islands", + "en": "Northern Mariana Islands", + "de": "Northern Mariana Islands" + }, + "checkout-block.Norway": { + "sv": "Norway", + "pt": "Norway", + "no": "Norway", + "ko": "Norway", + "ja": "Norway", + "fr": "Norway", + "es": "Norway", + "en": "Norway", + "de": "Norway" + }, + "checkout-block.Oman": { + "sv": "Oman", + "pt": "Oman", + "no": "Oman", + "ko": "Oman", + "ja": "Oman", + "fr": "Oman", + "es": "Oman", + "en": "Oman", + "de": "Oman" + }, + "checkout-block.Pakistan": { + "sv": "Pakistan", + "pt": "Pakistan", + "no": "Pakistan", + "ko": "Pakistan", + "ja": "Pakistan", + "fr": "Pakistan", + "es": "Pakistan", + "en": "Pakistan", + "de": "Pakistan" + }, + "checkout-block.Palau": { + "sv": "Palau", + "pt": "Palau", + "no": "Palau", + "ko": "Palau", + "ja": "Palau", + "fr": "Palau", + "es": "Palau", + "en": "Palau", + "de": "Palau" + }, + "checkout-block.Palestinian-Territory,-Occupied": { + "sv": "Palestinian Territory, Occupied", + "pt": "Palestinian Territory, Occupied", + "no": "Palestinian Territory, Occupied", + "ko": "Palestinian Territory, Occupied", + "ja": "Palestinian Territory, Occupied", + "fr": "Palestinian Territory, Occupied", + "es": "Palestinian Territory, Occupied", + "en": "Palestinian Territory, Occupied", + "de": "Palestinian Territory, Occupied" + }, + "checkout-block.Panama": { + "sv": "Panama", + "pt": "Panama", + "no": "Panama", + "ko": "Panama", + "ja": "Panama", + "fr": "Panama", + "es": "Panama", + "en": "Panama", + "de": "Panama" + }, + "checkout-block.Papua-New-Guinea": { + "sv": "Papua New Guinea", + "pt": "Papua New Guinea", + "no": "Papua New Guinea", + "ko": "Papua New Guinea", + "ja": "Papua New Guinea", + "fr": "Papua New Guinea", + "es": "Papua New Guinea", + "en": "Papua New Guinea", + "de": "Papua New Guinea" + }, + "checkout-block.Paraguay": { + "sv": "Paraguay", + "pt": "Paraguay", + "no": "Paraguay", + "ko": "Paraguay", + "ja": "Paraguay", + "fr": "Paraguay", + "es": "Paraguay", + "en": "Paraguay", + "de": "Paraguay" + }, + "checkout-block.Peru": { + "sv": "Peru", + "pt": "Peru", + "no": "Peru", + "ko": "Peru", + "ja": "Peru", + "fr": "Peru", + "es": "Peru", + "en": "Peru", + "de": "Peru" + }, + "checkout-block.Philippines": { + "sv": "Philippines", + "pt": "Philippines", + "no": "Philippines", + "ko": "Philippines", + "ja": "Philippines", + "fr": "Philippines", + "es": "Philippines", + "en": "Philippines", + "de": "Philippines" + }, + "checkout-block.Pitcairn": { + "sv": "Pitcairn", + "pt": "Pitcairn", + "no": "Pitcairn", + "ko": "Pitcairn", + "ja": "Pitcairn", + "fr": "Pitcairn", + "es": "Pitcairn", + "en": "Pitcairn", + "de": "Pitcairn" + }, + "checkout-block.Poland": { + "sv": "Poland", + "pt": "Poland", + "no": "Poland", + "ko": "Poland", + "ja": "Poland", + "fr": "Poland", + "es": "Poland", + "en": "Poland", + "de": "Poland" + }, + "checkout-block.Portugal": { + "sv": "Portugal", + "pt": "Portugal", + "no": "Portugal", + "ko": "Portugal", + "ja": "Portugal", + "fr": "Portugal", + "es": "Portugal", + "en": "Portugal", + "de": "Portugal" + }, + "checkout-block.Puerto-Rico": { + "sv": "Puerto Rico", + "pt": "Puerto Rico", + "no": "Puerto Rico", + "ko": "Puerto Rico", + "ja": "Puerto Rico", + "fr": "Puerto Rico", + "es": "Puerto Rico", + "en": "Puerto Rico", + "de": "Puerto Rico" + }, + "checkout-block.Qatar": { + "sv": "Qatar", + "pt": "Qatar", + "no": "Qatar", + "ko": "Qatar", + "ja": "Qatar", + "fr": "Qatar", + "es": "Qatar", + "en": "Qatar", + "de": "Qatar" + }, + "checkout-block.RWANDA": { + "sv": "RWANDA", + "pt": "RWANDA", + "no": "RWANDA", + "ko": "RWANDA", + "ja": "RWANDA", + "fr": "RWANDA", + "es": "RWANDA", + "en": "RWANDA", + "de": "RWANDA" + }, + "checkout-block.Reunion": { + "sv": "Reunion", + "pt": "Reunion", + "no": "Reunion", + "ko": "Reunion", + "ja": "Reunion", + "fr": "Reunion", + "es": "Reunion", + "en": "Reunion", + "de": "Reunion" + }, + "checkout-block.Romania": { + "sv": "Romania", + "pt": "Romania", + "no": "Romania", + "ko": "Romania", + "ja": "Romania", + "fr": "Romania", + "es": "Romania", + "en": "Romania", + "de": "Romania" + }, + "checkout-block.Russian-Federation": { + "sv": "Russian Federation", + "pt": "Russian Federation", + "no": "Russian Federation", + "ko": "Russian Federation", + "ja": "Russian Federation", + "fr": "Russian Federation", + "es": "Russian Federation", + "en": "Russian Federation", + "de": "Russian Federation" + }, + "checkout-block.Saint-Helena": { + "sv": "Saint Helena", + "pt": "Saint Helena", + "no": "Saint Helena", + "ko": "Saint Helena", + "ja": "Saint Helena", + "fr": "Saint Helena", + "es": "Saint Helena", + "en": "Saint Helena", + "de": "Saint Helena" + }, + "checkout-block.Saint-Kitts-and-Nevis": { + "sv": "Saint Kitts and Nevis", + "pt": "Saint Kitts and Nevis", + "no": "Saint Kitts and Nevis", + "ko": "Saint Kitts and Nevis", + "ja": "Saint Kitts and Nevis", + "fr": "Saint Kitts and Nevis", + "es": "Saint Kitts and Nevis", + "en": "Saint Kitts and Nevis", + "de": "Saint Kitts and Nevis" + }, + "checkout-block.Saint-Lucia": { + "sv": "Saint Lucia", + "pt": "Saint Lucia", + "no": "Saint Lucia", + "ko": "Saint Lucia", + "ja": "Saint Lucia", + "fr": "Saint Lucia", + "es": "Saint Lucia", + "en": "Saint Lucia", + "de": "Saint Lucia" + }, + "checkout-block.Saint-Pierre-and-Miquelon": { + "sv": "Saint Pierre and Miquelon", + "pt": "Saint Pierre and Miquelon", + "no": "Saint Pierre and Miquelon", + "ko": "Saint Pierre and Miquelon", + "ja": "Saint Pierre and Miquelon", + "fr": "Saint Pierre and Miquelon", + "es": "Saint Pierre and Miquelon", + "en": "Saint Pierre and Miquelon", + "de": "Saint Pierre and Miquelon" + }, + "checkout-block.Saint-Vincent-and-the-Grenadines": { + "sv": "Saint Vincent and the Grenadines", + "pt": "Saint Vincent and the Grenadines", + "no": "Saint Vincent and the Grenadines", + "ko": "Saint Vincent and the Grenadines", + "ja": "Saint Vincent and the Grenadines", + "fr": "Saint Vincent and the Grenadines", + "es": "Saint Vincent and the Grenadines", + "en": "Saint Vincent and the Grenadines", + "de": "Saint Vincent and the Grenadines" + }, + "checkout-block.Samoa": { + "sv": "Samoa", + "pt": "Samoa", + "no": "Samoa", + "ko": "Samoa", + "ja": "Samoa", + "fr": "Samoa", + "es": "Samoa", + "en": "Samoa", + "de": "Samoa" + }, + "checkout-block.San-Marino": { + "sv": "San Marino", + "pt": "San Marino", + "no": "San Marino", + "ko": "San Marino", + "ja": "San Marino", + "fr": "San Marino", + "es": "San Marino", + "en": "San Marino", + "de": "San Marino" + }, + "checkout-block.Sao-Tome-and-Principe": { + "sv": "Sao Tome and Principe", + "pt": "Sao Tome and Principe", + "no": "Sao Tome and Principe", + "ko": "Sao Tome and Principe", + "ja": "Sao Tome and Principe", + "fr": "Sao Tome and Principe", + "es": "Sao Tome and Principe", + "en": "Sao Tome and Principe", + "de": "Sao Tome and Principe" + }, + "checkout-block.Saudi-Arabia": { + "sv": "Saudi Arabia", + "pt": "Saudi Arabia", + "no": "Saudi Arabia", + "ko": "Saudi Arabia", + "ja": "Saudi Arabia", + "fr": "Saudi Arabia", + "es": "Saudi Arabia", + "en": "Saudi Arabia", + "de": "Saudi Arabia" + }, + "checkout-block.Select-Country": { + "sv": "Välj land", + "pt": "Selecione o país", + "no": "Velg land", + "ko": "국가 선택", + "ja": "国を選択", + "fr": "Sélectionner le pays", + "es": "Seleccionar país", + "en": "Select Country", + "de": "Land auswählen" + }, + "checkout-block.Senegal": { + "sv": "Senegal", + "pt": "Senegal", + "no": "Senegal", + "ko": "Senegal", + "ja": "Senegal", + "fr": "Senegal", + "es": "Senegal", + "en": "Senegal", + "de": "Senegal" + }, + "checkout-block.Serbia-and-Montenegro": { + "sv": "Serbia and Montenegro", + "pt": "Serbia and Montenegro", + "no": "Serbia and Montenegro", + "ko": "Serbia and Montenegro", + "ja": "Serbia and Montenegro", + "fr": "Serbia and Montenegro", + "es": "Serbia and Montenegro", + "en": "Serbia and Montenegro", + "de": "Serbia and Montenegro" + }, + "checkout-block.Seychelles": { + "sv": "Seychelles", + "pt": "Seychelles", + "no": "Seychelles", + "ko": "Seychelles", + "ja": "Seychelles", + "fr": "Seychelles", + "es": "Seychelles", + "en": "Seychelles", + "de": "Seychelles" + }, + "checkout-block.Sierra-Leone": { + "sv": "Sierra Leone", + "pt": "Sierra Leone", + "no": "Sierra Leone", + "ko": "Sierra Leone", + "ja": "Sierra Leone", + "fr": "Sierra Leone", + "es": "Sierra Leone", + "en": "Sierra Leone", + "de": "Sierra Leone" + }, + "checkout-block.Singapore": { + "sv": "Singapore", + "pt": "Singapore", + "no": "Singapore", + "ko": "Singapore", + "ja": "Singapore", + "fr": "Singapore", + "es": "Singapore", + "en": "Singapore", + "de": "Singapore" + }, + "checkout-block.Slovakia": { + "sv": "Slovakia", + "pt": "Slovakia", + "no": "Slovakia", + "ko": "Slovakia", + "ja": "Slovakia", + "fr": "Slovakia", + "es": "Slovakia", + "en": "Slovakia", + "de": "Slovakia" + }, + "checkout-block.Slovenia": { + "sv": "Slovenia", + "pt": "Slovenia", + "no": "Slovenia", + "ko": "Slovenia", + "ja": "Slovenia", + "fr": "Slovenia", + "es": "Slovenia", + "en": "Slovenia", + "de": "Slovenia" + }, + "checkout-block.Solomon-Islands": { + "sv": "Solomon Islands", + "pt": "Solomon Islands", + "no": "Solomon Islands", + "ko": "Solomon Islands", + "ja": "Solomon Islands", + "fr": "Solomon Islands", + "es": "Solomon Islands", + "en": "Solomon Islands", + "de": "Solomon Islands" + }, + "checkout-block.Somalia": { + "sv": "Somalia", + "pt": "Somalia", + "no": "Somalia", + "ko": "Somalia", + "ja": "Somalia", + "fr": "Somalia", + "es": "Somalia", + "en": "Somalia", + "de": "Somalia" + }, + "checkout-block.South-Africa": { + "sv": "South Africa", + "pt": "South Africa", + "no": "South Africa", + "ko": "South Africa", + "ja": "South Africa", + "fr": "South Africa", + "es": "South Africa", + "en": "South Africa", + "de": "South Africa" + }, + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": { + "sv": "South Georgia and the South Sandwich Islands", + "pt": "South Georgia and the South Sandwich Islands", + "no": "South Georgia and the South Sandwich Islands", + "ko": "South Georgia and the South Sandwich Islands", + "ja": "South Georgia and the South Sandwich Islands", + "fr": "South Georgia and the South Sandwich Islands", + "es": "South Georgia and the South Sandwich Islands", + "en": "South Georgia and the South Sandwich Islands", + "de": "South Georgia and the South Sandwich Islands" + }, + "checkout-block.Spain": { + "sv": "Spain", + "pt": "Spain", + "no": "Spain", + "ko": "Spain", + "ja": "Spain", + "fr": "Spain", + "es": "Spain", + "en": "Spain", + "de": "Spain" + }, + "checkout-block.Sri-Lanka": { + "sv": "Sri Lanka", + "pt": "Sri Lanka", + "no": "Sri Lanka", + "ko": "Sri Lanka", + "ja": "Sri Lanka", + "fr": "Sri Lanka", + "es": "Sri Lanka", + "en": "Sri Lanka", + "de": "Sri Lanka" + }, + "checkout-block.Sudan": { + "sv": "Sudan", + "pt": "Sudan", + "no": "Sudan", + "ko": "Sudan", + "ja": "Sudan", + "fr": "Sudan", + "es": "Sudan", + "en": "Sudan", + "de": "Sudan" + }, + "checkout-block.Suriname": { + "sv": "Suriname", + "pt": "Suriname", + "no": "Suriname", + "ko": "Suriname", + "ja": "Suriname", + "fr": "Suriname", + "es": "Suriname", + "en": "Suriname", + "de": "Suriname" + }, + "checkout-block.Svalbard-and-Jan-Mayen": { + "sv": "Svalbard and Jan Mayen", + "pt": "Svalbard and Jan Mayen", + "no": "Svalbard and Jan Mayen", + "ko": "Svalbard and Jan Mayen", + "ja": "Svalbard and Jan Mayen", + "fr": "Svalbard and Jan Mayen", + "es": "Svalbard and Jan Mayen", + "en": "Svalbard and Jan Mayen", + "de": "Svalbard and Jan Mayen" + }, + "checkout-block.Swaziland": { + "sv": "Swaziland", + "pt": "Swaziland", + "no": "Swaziland", + "ko": "Swaziland", + "ja": "Swaziland", + "fr": "Swaziland", + "es": "Swaziland", + "en": "Swaziland", + "de": "Swaziland" + }, + "checkout-block.Sweden": { + "sv": "Sweden", + "pt": "Sweden", + "no": "Sweden", + "ko": "Sweden", + "ja": "Sweden", + "fr": "Sweden", + "es": "Sweden", + "en": "Sweden", + "de": "Sweden" + }, + "checkout-block.Switzerland": { + "sv": "Switzerland", + "pt": "Switzerland", + "no": "Switzerland", + "ko": "Switzerland", + "ja": "Switzerland", + "fr": "Switzerland", + "es": "Switzerland", + "en": "Switzerland", + "de": "Switzerland" + }, + "checkout-block.Syrian-Arab-Republic": { + "sv": "Syrian Arab Republic", + "pt": "Syrian Arab Republic", + "no": "Syrian Arab Republic", + "ko": "Syrian Arab Republic", + "ja": "Syrian Arab Republic", + "fr": "Syrian Arab Republic", + "es": "Syrian Arab Republic", + "en": "Syrian Arab Republic", + "de": "Syrian Arab Republic" + }, + "checkout-block.Taiwan,-Province-of-China": { + "sv": "Taiwan, Province of China", + "pt": "Taiwan, Province of China", + "no": "Taiwan, Province of China", + "ko": "Taiwan, Province of China", + "ja": "Taiwan, Province of China", + "fr": "Taiwan, Province of China", + "es": "Taiwan, Province of China", + "en": "Taiwan, Province of China", + "de": "Taiwan, Province of China" + }, + "checkout-block.Tajikistan": { + "sv": "Tajikistan", + "pt": "Tajikistan", + "no": "Tajikistan", + "ko": "Tajikistan", + "ja": "Tajikistan", + "fr": "Tajikistan", + "es": "Tajikistan", + "en": "Tajikistan", + "de": "Tajikistan" + }, + "checkout-block.Tanzania,-United-Republic-of": { + "sv": "Tanzania, United Republic of", + "pt": "Tanzania, United Republic of", + "no": "Tanzania, United Republic of", + "ko": "Tanzania, United Republic of", + "ja": "Tanzania, United Republic of", + "fr": "Tanzania, United Republic of", + "es": "Tanzania, United Republic of", + "en": "Tanzania, United Republic of", + "de": "Tanzania, United Republic of" + }, + "checkout-block.Thailand": { + "sv": "Thailand", + "pt": "Thailand", + "no": "Thailand", + "ko": "Thailand", + "ja": "Thailand", + "fr": "Thailand", + "es": "Thailand", + "en": "Thailand", + "de": "Thailand" + }, + "checkout-block.Timor-Leste": { + "sv": "Timor-Leste", + "pt": "Timor-Leste", + "no": "Timor-Leste", + "ko": "Timor-Leste", + "ja": "Timor-Leste", + "fr": "Timor-Leste", + "es": "Timor-Leste", + "en": "Timor-Leste", + "de": "Timor-Leste" + }, + "checkout-block.Togo": { + "sv": "Togo", + "pt": "Togo", + "no": "Togo", + "ko": "Togo", + "ja": "Togo", + "fr": "Togo", + "es": "Togo", + "en": "Togo", + "de": "Togo" + }, + "checkout-block.Tokelau": { + "sv": "Tokelau", + "pt": "Tokelau", + "no": "Tokelau", + "ko": "Tokelau", + "ja": "Tokelau", + "fr": "Tokelau", + "es": "Tokelau", + "en": "Tokelau", + "de": "Tokelau" + }, + "checkout-block.Tonga": { + "sv": "Tonga", + "pt": "Tonga", + "no": "Tonga", + "ko": "Tonga", + "ja": "Tonga", + "fr": "Tonga", + "es": "Tonga", + "en": "Tonga", + "de": "Tonga" + }, + "checkout-block.Trinidad-and-Tobago": { + "sv": "Trinidad and Tobago", + "pt": "Trinidad and Tobago", + "no": "Trinidad and Tobago", + "ko": "Trinidad and Tobago", + "ja": "Trinidad and Tobago", + "fr": "Trinidad and Tobago", + "es": "Trinidad and Tobago", + "en": "Trinidad and Tobago", + "de": "Trinidad and Tobago" + }, + "checkout-block.Tunisia": { + "sv": "Tunisia", + "pt": "Tunisia", + "no": "Tunisia", + "ko": "Tunisia", + "ja": "Tunisia", + "fr": "Tunisia", + "es": "Tunisia", + "en": "Tunisia", + "de": "Tunisia" + }, + "checkout-block.Turkey": { + "sv": "Turkey", + "pt": "Turkey", + "no": "Turkey", + "ko": "Turkey", + "ja": "Turkey", + "fr": "Turkey", + "es": "Turkey", + "en": "Turkey", + "de": "Turkey" + }, + "checkout-block.Turkmenistan": { + "sv": "Turkmenistan", + "pt": "Turkmenistan", + "no": "Turkmenistan", + "ko": "Turkmenistan", + "ja": "Turkmenistan", + "fr": "Turkmenistan", + "es": "Turkmenistan", + "en": "Turkmenistan", + "de": "Turkmenistan" + }, + "checkout-block.Turks-and-Caicos-Islands": { + "sv": "Turks and Caicos Islands", + "pt": "Turks and Caicos Islands", + "no": "Turks and Caicos Islands", + "ko": "Turks and Caicos Islands", + "ja": "Turks and Caicos Islands", + "fr": "Turks and Caicos Islands", + "es": "Turks and Caicos Islands", + "en": "Turks and Caicos Islands", + "de": "Turks and Caicos Islands" + }, + "checkout-block.Tuvalu": { + "sv": "Tuvalu", + "pt": "Tuvalu", + "no": "Tuvalu", + "ko": "Tuvalu", + "ja": "Tuvalu", + "fr": "Tuvalu", + "es": "Tuvalu", + "en": "Tuvalu", + "de": "Tuvalu" + }, + "checkout-block.Uganda": { + "sv": "Uganda", + "pt": "Uganda", + "no": "Uganda", + "ko": "Uganda", + "ja": "Uganda", + "fr": "Uganda", + "es": "Uganda", + "en": "Uganda", + "de": "Uganda" + }, + "checkout-block.Ukraine": { + "sv": "Ukraine", + "pt": "Ukraine", + "no": "Ukraine", + "ko": "Ukraine", + "ja": "Ukraine", + "fr": "Ukraine", + "es": "Ukraine", + "en": "Ukraine", + "de": "Ukraine" + }, + "checkout-block.United-Arab-Emirates": { + "sv": "United Arab Emirates", + "pt": "United Arab Emirates", + "no": "United Arab Emirates", + "ko": "United Arab Emirates", + "ja": "United Arab Emirates", + "fr": "United Arab Emirates", + "es": "United Arab Emirates", + "en": "United Arab Emirates", + "de": "United Arab Emirates" + }, + "checkout-block.United-Kingdom": { + "sv": "United Kingdom", + "pt": "United Kingdom", + "no": "United Kingdom", + "ko": "United Kingdom", + "ja": "United Kingdom", + "fr": "United Kingdom", + "es": "United Kingdom", + "en": "United Kingdom", + "de": "United Kingdom" + }, + "checkout-block.United-States": { + "sv": "United States", + "pt": "United States", + "no": "United States", + "ko": "United States", + "ja": "United States", + "fr": "United States", + "es": "United States", + "en": "United States", + "de": "United States" + }, + "checkout-block.United-States-Minor-Outlying-Islands": { + "sv": "United States Minor Outlying Islands", + "pt": "United States Minor Outlying Islands", + "no": "United States Minor Outlying Islands", + "ko": "United States Minor Outlying Islands", + "ja": "United States Minor Outlying Islands", + "fr": "United States Minor Outlying Islands", + "es": "United States Minor Outlying Islands", + "en": "United States Minor Outlying Islands", + "de": "United States Minor Outlying Islands" + }, + "checkout-block.Uruguay": { + "sv": "Uruguay", + "pt": "Uruguay", + "no": "Uruguay", + "ko": "Uruguay", + "ja": "Uruguay", + "fr": "Uruguay", + "es": "Uruguay", + "en": "Uruguay", + "de": "Uruguay" + }, + "checkout-block.Uzbekistan": { + "sv": "Uzbekistan", + "pt": "Uzbekistan", + "no": "Uzbekistan", + "ko": "Uzbekistan", + "ja": "Uzbekistan", + "fr": "Uzbekistan", + "es": "Uzbekistan", + "en": "Uzbekistan", + "de": "Uzbekistan" + }, + "checkout-block.Vanuatu": { + "sv": "Vanuatu", + "pt": "Vanuatu", + "no": "Vanuatu", + "ko": "Vanuatu", + "ja": "Vanuatu", + "fr": "Vanuatu", + "es": "Vanuatu", + "en": "Vanuatu", + "de": "Vanuatu" + }, + "checkout-block.Venezuela": { + "sv": "Venezuela", + "pt": "Venezuela", + "no": "Venezuela", + "ko": "Venezuela", + "ja": "Venezuela", + "fr": "Venezuela", + "es": "Venezuela", + "en": "Venezuela", + "de": "Venezuela" + }, + "checkout-block.Viet-Nam": { + "sv": "Viet Nam", + "pt": "Viet Nam", + "no": "Viet Nam", + "ko": "Viet Nam", + "ja": "Viet Nam", + "fr": "Viet Nam", + "es": "Viet Nam", + "en": "Viet Nam", + "de": "Viet Nam" + }, + "checkout-block.Virgin-Islands,-British": { + "sv": "Virgin Islands, British", + "pt": "Virgin Islands, British", + "no": "Virgin Islands, British", + "ko": "Virgin Islands, British", + "ja": "Virgin Islands, British", + "fr": "Virgin Islands, British", + "es": "Virgin Islands, British", + "en": "Virgin Islands, British", + "de": "Virgin Islands, British" + }, + "checkout-block.Virgin-Islands,-U.S.": { + "sv": "Virgin Islands, U.S.", + "pt": "Virgin Islands, U.S.", + "no": "Virgin Islands, U.S.", + "ko": "Virgin Islands, U.S.", + "ja": "Virgin Islands, U.S.", + "fr": "Virgin Islands, U.S.", + "es": "Virgin Islands, U.S.", + "en": "Virgin Islands, U.S.", + "de": "Virgin Islands, U.S." + }, + "checkout-block.Wallis-and-Futuna": { + "sv": "Wallis and Futuna", + "pt": "Wallis and Futuna", + "no": "Wallis and Futuna", + "ko": "Wallis and Futuna", + "ja": "Wallis and Futuna", + "fr": "Wallis and Futuna", + "es": "Wallis and Futuna", + "en": "Wallis and Futuna", + "de": "Wallis and Futuna" + }, + "checkout-block.Western-Sahara": { + "sv": "Western Sahara", + "pt": "Western Sahara", + "no": "Western Sahara", + "ko": "Western Sahara", + "ja": "Western Sahara", + "fr": "Western Sahara", + "es": "Western Sahara", + "en": "Western Sahara", + "de": "Western Sahara" + }, + "checkout-block.Yemen": { + "sv": "Yemen", + "pt": "Yemen", + "no": "Yemen", + "ko": "Yemen", + "ja": "Yemen", + "fr": "Yemen", + "es": "Yemen", + "en": "Yemen", + "de": "Yemen" + }, + "checkout-block.Zambia": { + "sv": "Zambia", + "pt": "Zambia", + "no": "Zambia", + "ko": "Zambia", + "ja": "Zambia", + "fr": "Zambia", + "es": "Zambia", + "en": "Zambia", + "de": "Zambia" + }, + "checkout-block.Zimbabwe": { + "sv": "Zimbabwe", + "pt": "Zimbabwe", + "no": "Zimbabwe", + "ko": "Zimbabwe", + "ja": "Zimbabwe", + "fr": "Zimbabwe", + "es": "Zimbabwe", + "en": "Zimbabwe", + "de": "Zimbabwe" + }, + "checkout-block.back-to-offer-page": { + "sv": "Tillbaka till prenumerationsval", + "pt": "Voltar à seleção de subscrição", + "no": "Tilbake til abonnementsvalg", + "ko": "구독 선택으로 돌아가기", + "ja": "サブスクリプションの選択に戻る", + "fr": "Retour à la sélection d'abonnement", + "es": "Volver a la selección de la suscripción", + "en": "Back to subscription selection", + "de": "Zurück zur Auswahl der Abonnements" + }, + "checkout-block.contact-info": { + "sv": "Kontaktuppgifter", + "pt": "Informações de contacto", + "no": "Kontaktinformasjon", + "ko": "연락처 정보", + "ja": "連絡先情報", + "fr": "Informations de contact", + "es": "Información de contacto", + "en": "Contact Info", + "de": "Kontaktinformationen" + }, + "checkout-block.continue-to-checkout": { + "sv": "Fortsätt till kassan", + "pt": "Continuar para o checkout", + "no": "Fortsett til kassen", + "ko": "결제 계속하기", + "ja": "チェックアウトに進む", + "fr": "Continuer vers le paiement", + "es": "Continuar con el pago", + "en": "Continue to Checkout", + "de": "Weiter zur Kasse" + }, + "checkout-block.country": { + "sv": "Land eller region", + "pt": "País ou região", + "no": "Land eller område", + "ko": "국가 또는 지역", + "ja": "国または地域", + "fr": "Pays ou région", + "es": "País o región", + "en": "Country or region", + "de": "Land oder Region" + }, + "checkout-block.country-requirements": { + "sv": "Ange ditt land eller din region", + "pt": "Selecione o país ou região", + "no": "Velg land eller område", + "ko": "국가 또는 지역을 선택하십시오", + "ja": "国または地域を選択してください", + "fr": "Veuillez sélectionner un pays ou une région", + "es": "Seleccione el país o la región", + "en": "Please select country or region", + "de": "Bitte ein Land oder eine Region auswählen" + }, + "checkout-block.due-today": { + "sv": "Förfaller idag", + "pt": "Vence hoje", + "no": "Forfaller i dag", + "ko": "오늘까지", + "ja": "本日締め切り", + "fr": "Dû aujourd'hui", + "es": "Vence hoy", + "en": "Due today", + "de": "Heute fällig" + }, + "checkout-block.email": { + "sv": "E-postadress", + "pt": "Endereço de email", + "no": "E-postadresse", + "ko": "이메일 주소", + "ja": "メールアドレス", + "fr": "Adresse e-mail", + "es": "Dirección de correo electrónico", + "en": "Email address", + "de": "E-Mail-Adresse" + }, + "checkout-block.email-requirements": { + "sv": "Ange en giltig e-postadress", + "pt": "Insira um endereço de email válido", + "no": "Skriv inn en gyldig e-postadresse", + "ko": "유효한 이메일 주소를 입력하십시오", + "ja": "有効なメールアドレスを入力してください", + "fr": "Veuillez saisir une adresse e-mail valide", + "es": "Introduzca una dirección de correo electrónico", + "en": "Please enter a valid email address", + "de": "Bitte eine gültige E-Mail-Adresse eingeben" + }, + "checkout-block.empty-cart-message": { + "sv": "Välj ett av våra erbjudanden", + "pt": "Selecione entre uma das nossas ofertas", + "no": "Velg fra ett av tilbudene våre", + "ko": "오퍼 중 하나를 선택하십시오", + "ja": "オファーのいずれかを選択", + "fr": "Choisissez parmi l'une de nos offres", + "es": "Seleccione una de nuestras ofertas", + "en": "Select from one of our offers", + "de": "Aus einem unserer Angebote auswählen" + }, + "checkout-block.first-name": { + "sv": "Förnamn", + "pt": "Nome próprio", + "no": "Fornavn", + "ko": "이름", + "ja": "名", + "fr": "Prénom", + "es": "Nombre", + "en": "First name", + "de": "Vorname" + }, + "checkout-block.first-name-requirements": { + "sv": "Ange förnamn", + "pt": "Insira o nome próprio", + "no": "Skriv inn fornavn", + "ko": "이름을 입력하십시오", + "ja": "名を入力してください", + "fr": "Veuillez saisir le prénom", + "es": "Introduzca el nombre", + "en": "Please enter first name", + "de": "Bitte Vornamen eingeben" + }, + "checkout-block.headline": { + "sv": "Granska prenumerationsbeställning", + "pt": "Rever a ordem de subscrição", + "no": "Se gjennom abonnementsordre", + "ko": "구독 주문 검토", + "ja": "サブスクリプションの注文を確認", + "fr": "Vérifier la commande de l'abonnement", + "es": "Revisar pedido de suscripción", + "en": "Review Subscription Order", + "de": "Abonnementauftrag prüfen" + }, + "checkout-block.identity-email": { + "sv": "Inloggad som %{email}", + "pt": "Sessão iniciada como %{email}", + "no": "Logget inn som %{email}", + "ko": "%{email}(으)로 로그인됨", + "ja": "%{email}としてサインイン済み", + "fr": "Connecté en tant que %{email}", + "es": "Sesión iniciada con la dirección %{email}", + "en": "Signed in as %{email}", + "de": "Angemeldet als %{email}" + }, + "checkout-block.identity-sign-out": { + "sv": "Logga ut", + "pt": "Terminar sessão", + "no": "Logg ut", + "ko": "로그아웃", + "ja": "サインアウト", + "fr": "Se déconnecter", + "es": "Cerrar sesión", + "en": "Sign out", + "de": "Abmelden" + }, + "checkout-block.identity-social": { + "sv": "Ansluten", + "pt": "Ligado", + "no": "Tilknyttet", + "ko": "연결됨", + "ja": "接続済み", + "fr": "Connecté", + "es": "Conectado", + "en": "Connected", + "de": "Verbunden" + }, + "checkout-block.last-name": { + "sv": "Efternamn", + "pt": "Apelido", + "no": "Etternavn", + "ko": "성", + "ja": "姓", + "fr": "Nom de famille", + "es": "Apellido(s)", + "en": "Last name", + "de": "Nachname" + }, + "checkout-block.last-name-requirements": { + "sv": "Ange efternamn", + "pt": "Insira o apelido", + "no": "Skriv inn etternavn", + "ko": "성을 입력하십시오", + "ja": "姓を入力してください", + "fr": "Veuillez saisir le nom de famille", + "es": "Introduzca los apellidos", + "en": "Please enter last name", + "de": "Bitte Nachname eingeben" + }, + "checkout-block.order-summary": { + "sv": "Beställningsöversikt", + "pt": "Resumo da encomenda", + "no": "Ordresammendrag", + "ko": "주문 요약", + "ja": "注文の概要", + "fr": "Résumé de la commande", + "es": "Resumen del pedido", + "en": "Order Summary", + "de": "Zusammenfassung der Bestellung" + }, + "checkout-block.plus-sales-tax": { + "sv": "Plus moms", + "pt": "Mais imposto sobre vendas aplicável", + "no": "I tillegg til gjeldende salgsavgift", + "ko": "해당 판매세 별도", + "ja": "さらに消費税がかかります", + "fr": "Plus la taxe de vente applicable", + "es": "Más impuestos sobre ventas aplicable", + "en": "Plus applicable sales tax", + "de": "Zuzüglich der geltenden Umsatzsteuer" + }, + "checkout-block.Åland-Islands": { + "sv": "Åland Islands", + "pt": "Åland Islands", + "no": "Åland Islands", + "ko": "Åland Islands", + "ja": "Åland Islands", + "fr": "Åland Islands", + "es": "Åland Islands", + "en": "Åland Islands", + "de": "Åland Islands" + }, + "subscriptions-block.credit-card-information": { + "sv": "Betalningsmetod och betalningsuppgifter", + "pt": "Método de pagamento e informação", + "no": "Betalingsmetode og -informasjon", + "ko": "결제 방법 및 정보", + "ja": "支払い方法および情報", + "fr": "Mode de paiement et informations", + "es": "Información y método de pago", + "en": "Payment Method and Information", + "de": "Zahlungsmethode und Informationen" + }, + "subscriptions-block.payment-error": { + "sv": "Ett fel uppstod när din betalning skulle behandlas.", + "pt": "Ocorreu um erro ao processar o seu pagamento.", + "no": "Det oppstod en feil under behandlingen av betalingen.", + "ko": "결제를 처리하는 중 오류가 발생했습니다.", + "ja": "支払い処理中にエラーが発生しました。", + "fr": "Une erreur s'est produite lors du traitement de votre paiement.", + "es": "Hubo un error al procesar el pago.", + "en": "There was an error processing your payment.", + "de": "Bei der Bearbeitung Ihrer Zahlung ist ein Fehler aufgetreten." + }, + "subscriptions-block.payment-information": { + "sv": "Kreditkortsuppgifter", + "pt": "Informação de cartão de crédito", + "no": "Kredittkortopplysninger", + "ko": "신용카드 정보", + "ja": "クレジットカード情報", + "fr": "Informations relatives à la carte de crédit", + "es": "Información de la tarjeta de crédito", + "en": "Credit card information", + "de": "Kreditkarteninformationen" + }, + "subscriptions-block.submit-payment": { + "sv": "Köp prenumeration", + "pt": "Adquirir subscrição", + "no": "Kjøp abonnement", + "ko": "구독 구입", + "ja": "サブスクリプションを購入", + "fr": "Acheter un abonnement", + "es": "Comprar suscripción", + "en": "Purchase Subscription", + "de": "Abonnement kaufen" + }, + "checkout-block.cardholderName": { + "en": "Name on card" + }, + "checkout-block.cardNumber": { + "en": "Card number" + }, + "checkout-block.cardholderName-requirements": { + "en": "Please enter name on card" + } +} \ No newline at end of file diff --git a/blocks/subscriptions-block/jest.config.js b/blocks/subscriptions-block/jest.config.js new file mode 100644 index 0000000000..024f52871d --- /dev/null +++ b/blocks/subscriptions-block/jest.config.js @@ -0,0 +1,5 @@ +const base = require("../../jest/jest.config.base"); + +module.exports = { + ...base, +}; \ No newline at end of file diff --git a/blocks/subscriptions-block/package-lock.json b/blocks/subscriptions-block/package-lock.json new file mode 100644 index 0000000000..d378ab07bf --- /dev/null +++ b/blocks/subscriptions-block/package-lock.json @@ -0,0 +1,86 @@ +{ + "name": "@wpmedia/subscriptions-block", + "version": "5.20.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@arc-fusion/prop-types": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@arc-fusion/prop-types/-/prop-types-0.1.5.tgz", + "integrity": "sha512-12/1QGXYaGZWDw1vnTX8fltWf3BA7zc95Kn9MyXD/PhFAJBEbpvtD2R+NZ8NU+DMPYlYLP33tyI3NSddERZCAA==", + "requires": { + "prop-types": "^15.7.2" + } + }, + "@arc-publishing/sdk-identity": { + "version": "1.79.0", + "resolved": "https://registry.npmjs.org/@arc-publishing/sdk-identity/-/sdk-identity-1.79.0.tgz", + "integrity": "sha512-eblhb/AMa2uKr3/sWphlonIw5gKrz2KigUYnQDU2riWZn9Z+EECmQsbpbZbkWGDaTXrtkEX3DRqBIPJsPaEsXg==" + }, + "@arc-publishing/sdk-sales": { + "version": "1.79.0", + "resolved": "https://registry.npmjs.org/@arc-publishing/sdk-sales/-/sdk-sales-1.79.0.tgz", + "integrity": "sha512-xZRBd+uGAhp814NDFHCdddcUsrdMfusn7h6z58l9RcQd60Vrwp9eMByY4q26uCKMXX8fOtPKr3iN2gULYtCc7g==", + "requires": { + "@arc-publishing/sdk-identity": "^1.79.0", + "@arc-publishing/sdk-subs-core": "^1.79.0" + } + }, + "@arc-publishing/sdk-subs-core": { + "version": "1.79.0", + "resolved": "https://registry.npmjs.org/@arc-publishing/sdk-subs-core/-/sdk-subs-core-1.79.0.tgz", + "integrity": "sha512-MwdTIK0lL7OaHawd99Ucp2pWsCHA+OiJ+psR9dge3hZriPank3pVAgqOjjxSwFDl9k1Q9GeBMyZN3zrJAI2yAg==" + }, + "@stripe/react-stripe-js": { + "version": "1.16.5", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-1.16.5.tgz", + "integrity": "sha512-lVPW3IfwdacyS22pP+nBB6/GNFRRhT/4jfgAK6T2guQmtzPwJV1DogiGGaBNhiKtSY18+yS8KlHSu+PvZNclvQ==", + "requires": { + "prop-types": "^15.7.2" + } + }, + "@stripe/stripe-js": { + "version": "1.54.2", + "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-1.54.2.tgz", + "integrity": "sha512-R1PwtDvUfs99cAjfuQ/WpwJ3c92+DAMy9xGApjqlWQMj0FKQabUAys2swfTRNzuYAYJh7NqK2dzcYVNkKLEKUg==" + }, + "is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + } + } +} diff --git a/blocks/subscriptions-block/package.json b/blocks/subscriptions-block/package.json new file mode 100644 index 0000000000..f082c389ae --- /dev/null +++ b/blocks/subscriptions-block/package.json @@ -0,0 +1,40 @@ +{ + "name": "@wpmedia/subscriptions-block", + "version": "5.20.0", + "description": "Fusion themes subscriptions block.", + "author": "Arc XP - Themes", + "homepage": "https://github.com/WPMedia/arc-themes-blocks#readme", + "license": "CC-BY-NC-ND-4.0", + "main": "", + "files": [ + "_index.scss", + "features", + "sources", + "chains", + "components", + "utils", + "themes", + "intl.json" + ], + "publishConfig": { + "registry": "https://npm.pkg.github.com/", + "access": "public" + }, + "repository": { + "type": "git", + "url": "ssh://git@github.com/WPMedia/arc-themes-blocks.git", + "directory": "blocks/subscriptions-block" + }, + "peerDependencies": { + "@wpmedia/identity-block": "^5.20.0", + "@wpmedia/arc-themes-components": "*" + }, + "dependencies": { + "@arc-fusion/prop-types": "^0.1.5", + "@arc-publishing/sdk-sales": "^1.55.0", + "@arc-publishing/sdk-identity": "^1.55.0", + "@stripe/react-stripe-js": "^1.6.0", + "@stripe/stripe-js": "^1.22.0", + "is-url": "^1.2.4" + } +} diff --git a/blocks/subscriptions-block/themes/commerce.json b/blocks/subscriptions-block/themes/commerce.json new file mode 100644 index 0000000000..2a05df474c --- /dev/null +++ b/blocks/subscriptions-block/themes/commerce.json @@ -0,0 +1,404 @@ +{ + "checkout": { + "styles": { + "default": { + "font-family": "var(--font-family-primary)", + "margin-bottom": "var(--global-spacing-5)", + "components": { + "heading": { + "font-size": "var(--global-font-size-12)" + }, + "link": { + "color": "var(--color-primary)", + "border-bottom": "1px solid var(--color-primary)" + }, + "link-hover": { + "color": "var(--color-primary-hover)", + "border-bottom": "1px solid var(--color-primary-hover)" + } + } + } + } + }, + "checkout-cart": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-6)", + "components": { + "heading": { + "margin-bottom": "var(--global-spacing-5)", + "font-size": "var(--global-font-size-11)" + } + } + } + } + }, + "checkout-cart-items": { + "styles": { + "default": { + "border": "1px solid var(--border-color)" + } + } + }, + "checkout-cart-item": { + "styles": { + "default": { + "color": "$global.neutral-6", + "font-size": "var(--global-font-size-4)", + "margin": "0 var(--global-spacing-2)", + "padding": "var(--global-spacing-2) 0" + } + } + }, + "checkout-cart-item--name": { + "styles": { + "default": { + "font-size": "var(--global-font-size-7)", + "font-weight": "bold" + } + } + }, + "checkout-cart-item--info": { + "styles": { + "default": { + "font-size": "var(--global-font-size-2)" + } + } + }, + "checkout-contact-info": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-6)", + "components": { + "heading": { + "margin-bottom": "var(--global-spacing-5)", + "font-size": "var(--global-font-size-11)" + }, + "input": { + "margin-block-end": "var(--global-spacing-5)" + }, + "input-error-tip": { + "color": "var(--status-color-danger)" + }, + "input-input": { + "inline-size": "100%", + "width": "100%", + "padding-block-end": "var(--global-spacing-2)", + "padding-block-start": "var(--global-spacing-2)", + "padding-inline-end": "var(--global-spacing-2)", + "padding-inline-start": "var(--global-spacing-2)" + } + } + } + } + }, + "checkout-contact-info-profile": { + "styles": { + "default": { + "display": "grid", + "width": "100%", + "grid-template-columns": "repeat(2, 1fr)", + "column-gap": "var(--global-spacing-5)" + } + } + }, + "checkout-identity-row": { + "styles": { + "default": { + "width": "100%", + "display": "inline-flex", + "align-items": "center", + "line-height": "var(--global-line-height-4)", + "components": { + "image": { + "width": "var(--global-spacing-4)", + "height": "var(--global-spacing-4)", + "margin": "0 var(--global-spacing-2) 0 0" + }, + "icon": { + "fill": "#415993", + "width": "var(--global-spacing-4)", + "height": "var(--global-spacing-4)", + "margin": "0 var(--global-spacing-2) 0 0" + } + } + } + } + }, + "checkout-payment": { + "styles": { + "default": { + "margin-top": "var(--global-font-size-11)" + } + } + }, + "checkout-payment-form": { + "styles": { + "default": { + "display": "grid", + "margin-top": "var(--global-font-size-11)", + "gap": "var(--global-spacing-6)", + "components": { + "paragraph": { + "font-size": "var(--heading-level-6-font-size)", + "font-weight": "var(--heading-level-4-font-weight)" + } + } + } + } + }, + "checkout-payment-information": { + "styles": { + "default": { + "width": "100%", + "gap": "var(--global-spacing-5)", + "grid-template-columns": "1fr", + "components": { + "input-error-tip": { + "color": "var(--status-color-danger)" + }, + "input-label": { + "font-size": "var(--global-font-size-4)", + "font-weight": "var(--global-font-weight-4)", + "color": "var(--global-neutral-7)" + }, + "input-input": { + "inline-size": "100%", + "width": "100%", + "padding-block-end": "var(--global-spacing-2)", + "padding-block-start": "var(--global-spacing-2)", + "padding-inline-end": "var(--global-spacing-2)", + "padding-inline-start": "var(--global-spacing-2)" + } + } + } + } + }, + "checkout-payment-form--stripe-input-container": { + "styles": { + "default": { + "display": "grid", + "gap": "var(--global-spacing-1)" + } + } + }, + "checkout-payment-form--stripe-label": { + "styles": { + "default": { + "font-size": "var(--global-font-size-4)", + "font-weight": "var(--global-font-weight-4)", + "color": "var(--global-neutral-7)" + } + } + }, + "checkout-payment-form--stripe-element": { + "styles": { + "default": { + "padding": "var(--global-spacing-2)" + } + } + }, + "checkout-payment-form--stripe-cardDetails": { + "styles": { + "default": { + "display": "grid", + "gap": "none", + "border-radius": "var(--border-radius)", + "border": "1px solid var(--border-color)" + } + } + }, + "checkout-payment-form--stripe-countryDetails": { + "styles": { + "default": { + "display": "grid", + "gap": "none", + "border-radius": "var(--border-radius)", + "border": "1px solid var(--border-color)", + "input-input": { + "padding": "0" + } + } + } + }, + "checkout-payment-form--border-bottom": { + "styles": { + "default": { + "border-bottom": "1px solid var(--border-color)" + } + } + }, + "checkout-payment-form--stripe-row": { + "styles": { + "default": { + "display": "grid", + "width": "100%", + "grid-template-columns": "repeat(2, 1fr)" + } + } + }, + "checkout-payment-form--border-right": { + "styles": { + "default": { + "border-right": "1px solid var(--border-color)" + } + } + }, + "offer": { + "styles": { + "default": { + "display": "flex", + "flex-direction": "column", + "justify-content": "center", + "align-items": "center" + } + } + }, + "offer-headings": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-9)", + "max-width": "40%", + "display": "flex", + "flex-direction": "column", + "justify-content": "center", + "align-items": "center", + "text-align": "center" + } + } + }, + "offer-title": { + "styles": { + "default": { + "font-weight": "var(--global-font-weight-7)", + "font-size": "var(--global-font-size-15)", + "line-height": "var(--global-line-height-6)", + "margin-bottom": "var(--global-spacing-4)" + } + } + }, + "offer-subtitle": { + "styles": { + "default": { + "font-size": "var(--global-font-size-10)", + "line-height": "var(--global-line-height-4)" + } + } + }, + "offer-wrapper": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-5)", + "margin-bottom": "var(--global-spacing-6)" + } + } + }, + "offer-grid-list": { + "styles": { + "default": { + "gap": "var(--global-spacing-5)", + "grid-template-columns": "1fr", + "justify-content": "center" + } + } + }, + "offer-grid-list-1": { + "styles": { + "default": { + "grid-template-columns": "minmax(auto, 600px)" + } + } + }, + "offer-grid-list-2": { + "styles": { + "default": { + "grid-template-columns": "repeat(2, 1fr)" + } + } + }, + "offer-grid-list-3": { + "styles": { + "default": { + "grid-template-columns": "repeat(3, 1fr)" + } + } + }, + "offer-grid-list-4": { + "styles": { + "default": { + "grid-template-columns": "1fr 1fr" + } + } + }, + "offer-grid-list-5": { + "styles": { + "default": { + "grid-template-columns": "repeat(6, 1fr)" + } + } + }, + "offer-grid-list-5-children": { + "styles": { + "default": { + "grid-column": "span 2" + } + } + }, + "offer-card": { + "styles": { + "default": { + "align-items": "center", + "border": "1px solid var(--border-color)", + "border-radius": "var(--border-radius)", + "display": "flex", + "flex-direction": "column", + "padding-top": "var(--global-spacing-8)", + "padding-right": "var(--global-spacing-6)", + "padding-bottom": "var(--global-spacing-6)", + "padding-left": "var(--global-spacing-6)", + "components": { + "heading": { + "font-size": "var(--global-font-size-9)", + "text-align": "center", + "margin-bottom": "var(--global-spacing-4)", + "font-weight": "var(--global-font-weight-7)", + "line-height": "var(--global-line-height-6)" + }, + "paragraph": { + "font-size": "var(--global-font-size-7)", + "font-weight": "var(--global-font-weight-4)", + "text-align": "center", + "margin-bottom": "var(--global-spacing-4)" + }, + "button-large": { + "margin-bottom": "var(--global-spacing-4)" + } + } + } + } + }, + "offer-card-features": { + "styles": { + "default": { + "align-self": "baseline" + } + } + }, + "offer-card-features--feature-item": { + "styles": { + "default": { + "align-items": "center", + "display": "flex", + "margin-block-end": "var(--global-spacing-4)", + "components": { + "icon": { + "display": "flex", + "width": "var(--global-spacing-4)", + "height": "var(--global-spacing-4)", + "margin": "0 var(--global-spacing-2) 0 0" + } + } + } + } + } +} \ No newline at end of file diff --git a/blocks/subscriptions-block/themes/news.json b/blocks/subscriptions-block/themes/news.json new file mode 100644 index 0000000000..d0279ae3d9 --- /dev/null +++ b/blocks/subscriptions-block/themes/news.json @@ -0,0 +1,404 @@ +{ + "checkout": { + "styles": { + "default": { + "font-family": "var(--font-family-primary)", + "margin-bottom": "var(--global-spacing-5)", + "components": { + "heading": { + "font-size": "var(--global-font-size-12)" + }, + "link": { + "color": "var(--color-primary)", + "border-bottom": "1px solid var(--color-primary)" + }, + "link-hover": { + "color": "var(--color-primary-hover)", + "border-bottom": "1px solid var(--color-primary-hover)" + } + } + } + } + }, + "checkout-cart": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-6)", + "components": { + "heading": { + "margin-bottom": "var(--global-spacing-5)", + "font-size": "var(--global-font-size-11)" + } + } + } + } + }, + "checkout-cart-items": { + "styles": { + "default": { + "border": "1px solid var(--border-color)" + } + } + }, + "checkout-cart-item": { + "styles": { + "default": { + "color": "$global.neutral-6", + "font-size": "var(--global-font-size-4)", + "margin": "0 var(--global-spacing-2)", + "padding": "var(--global-spacing-2) 0" + } + } + }, + "checkout-cart-item--name": { + "styles": { + "default": { + "font-size": "var(--global-font-size-7)", + "font-weight": "bold" + } + } + }, + "checkout-cart-item--info": { + "styles": { + "default": { + "font-size": "var(--global-font-size-2)" + } + } + }, + "checkout-contact-info": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-6)", + "components": { + "heading": { + "margin-bottom": "var(--global-spacing-5)", + "font-size": "var(--global-font-size-11)" + }, + "input": { + "margin-block-end": "var(--global-spacing-5)" + }, + "input-error-tip": { + "color": "var(--status-color-danger)" + }, + "input-input": { + "inline-size": "100%", + "width": "100%", + "padding-block-end": "var(--global-spacing-2)", + "padding-block-start": "var(--global-spacing-2)", + "padding-inline-end": "var(--global-spacing-2)", + "padding-inline-start": "var(--global-spacing-2)" + } + } + } + } + }, + "checkout-contact-info-profile": { + "styles": { + "default": { + "display": "grid", + "width": "100%", + "grid-template-columns": "repeat(2, 1fr)", + "column-gap": "var(--global-spacing-5)" + } + } + }, + "checkout-identity-row": { + "styles": { + "default": { + "width": "100%", + "display": "inline-flex", + "align-items": "center", + "line-height": "var(--global-line-height-4)", + "components": { + "image": { + "width": "var(--global-spacing-4)", + "height": "var(--global-spacing-4)", + "margin": "0 var(--global-spacing-2) 0 0" + }, + "icon": { + "fill": "#415993", + "width": "var(--global-spacing-4)", + "height": "var(--global-spacing-4)", + "margin": "0 var(--global-spacing-2) 0 0" + } + } + } + } + }, + "checkout-payment": { + "styles": { + "default": { + "margin-top": "var(--global-font-size-11)" + } + } + }, + "checkout-payment-form": { + "styles": { + "default": { + "display": "grid", + "margin-top": "var(--global-font-size-11)", + "gap": "var(--global-spacing-6)", + "components": { + "paragraph": { + "font-size": "var(--heading-level-6-font-size)", + "font-weight": "var(--heading-level-4-font-weight)" + } + } + } + } + }, + "checkout-payment-information": { + "styles": { + "default": { + "width": "100%", + "gap": "var(--global-spacing-5)", + "grid-template-columns": "1fr", + "components": { + "input-error-tip": { + "color": "var(--status-color-danger)" + }, + "input-label": { + "font-size": "var(--global-font-size-4)", + "font-weight": "var(--global-font-weight-4)", + "color": "var(--global-neutral-7)" + }, + "input-input": { + "inline-size": "100%", + "width": "100%", + "padding-block-end": "var(--global-spacing-2)", + "padding-block-start": "var(--global-spacing-2)", + "padding-inline-end": "var(--global-spacing-2)", + "padding-inline-start": "var(--global-spacing-2)" + } + } + } + } + }, + "checkout-payment-form--stripe-input-container": { + "styles": { + "default": { + "display": "grid", + "gap": "var(--global-spacing-1)" + } + } + }, + "checkout-payment-form--stripe-label": { + "styles": { + "default": { + "font-size": "var(--global-font-size-4)", + "font-weight": "var(--global-font-weight-4)", + "color": "var(--global-neutral-7)" + } + } + }, + "checkout-payment-form--stripe-element": { + "styles": { + "default": { + "padding": "var(--global-spacing-2)" + } + } + }, + "checkout-payment-form--stripe-cardDetails": { + "styles": { + "default": { + "display": "grid", + "gap": "none", + "border-radius": "var(--border-radius)", + "border": "1px solid var(--border-color)" + } + } + }, + "checkout-payment-form--stripe-countryDetails": { + "styles": { + "default": { + "display": "grid", + "gap": "none", + "border-radius": "var(--border-radius)", + "border": "1px solid var(--border-color)", + "input-input": { + "padding": "0" + } + } + } + }, + "checkout-payment-form--border-bottom": { + "styles": { + "default": { + "border-bottom": "1px solid var(--border-color)" + } + } + }, + "checkout-payment-form--stripe-row": { + "styles": { + "default": { + "display": "grid", + "width": "100%", + "grid-template-columns": "repeat(2, 1fr)" + } + } + }, + "checkout-payment-form--border-right": { + "styles": { + "default": { + "border-right": "1px solid var(--border-color)" + } + } + }, + "offer": { + "styles": { + "default": { + "display": "flex", + "flex-direction": "column", + "justify-content": "center", + "align-items": "center" + } + } + }, + "offer-headings": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-9)", + "max-width": "40%", + "display": "flex", + "flex-direction": "column", + "justify-content": "center", + "align-items": "center", + "text-align": "center" + } + } + }, + "offer-title": { + "styles": { + "default": { + "font-weight": "var(--global-font-weight-7)", + "font-size": "var(--global-font-size-15)", + "line-height": "var(--global-line-height-6)", + "margin-bottom": "var(--global-spacing-4)" + } + } + }, + "offer-subtitle": { + "styles": { + "default": { + "font-size": "var(--global-font-size-10)", + "line-height": "var(--global-line-height-4)" + } + } + }, + "offer-wrapper": { + "styles": { + "default": { + "margin-top": "var(--global-spacing-5)", + "margin-bottom": "var(--global-spacing-6)" + } + } + }, + "offer-grid-list": { + "styles": { + "default": { + "gap": "var(--global-spacing-5)", + "grid-template-columns": "1fr", + "justify-content": "center" + } + } + }, + "offer-grid-list-1": { + "styles": { + "default": { + "grid-template-columns": "minmax(auto, 600px)" + } + } + }, + "offer-grid-list-2": { + "styles": { + "default": { + "grid-template-columns": "repeat(2, 1fr)" + } + } + }, + "offer-grid-list-3": { + "styles": { + "default": { + "grid-template-columns": "repeat(3, 1fr)" + } + } + }, + "offer-grid-list-4": { + "styles": { + "default": { + "grid-template-columns": "1fr 1fr" + } + } + }, + "offer-grid-list-5": { + "styles": { + "default": { + "grid-template-columns": "repeat(6, 1fr)" + } + } + }, + "offer-grid-list-5-children": { + "styles": { + "default": { + "grid-column": "span 2" + } + } + }, + "offer-card": { + "styles": { + "default": { + "align-items": "center", + "border": "1px solid var(--border-color)", + "border-radius": "var(--border-radius)", + "display": "flex", + "flex-direction": "column", + "padding-top": "var(--global-spacing-8)", + "padding-right": "var(--global-spacing-6)", + "padding-bottom": "var(--global-spacing-6)", + "padding-left": "var(--global-spacing-6)", + "components": { + "heading": { + "font-size": "var(--global-font-size-9)", + "text-align": "center", + "margin-bottom": "var(--global-spacing-4)", + "font-weight": "var(--global-font-weight-7)", + "line-height": "var(--global-line-height-6)" + }, + "paragraph": { + "font-size": "var(--global-font-size-7)", + "font-weight": "var(--global-font-weight-4)", + "text-align": "center", + "margin-bottom": "var(--global-spacing-4)" + }, + "button-large": { + "margin-bottom": "var(--global-spacing-4)" + } + } + } + } + }, + "offer-card-features": { + "styles": { + "default": { + "align-self": "baseline" + } + } + }, + "offer-card-features--feature-item": { + "styles": { + "default": { + "align-items": "center", + "display": "flex", + "margin-block-end": "var(--global-spacing-4)", + "components": { + "icon": { + "display": "flex", + "width": "var(--global-spacing-4)", + "height": "var(--global-spacing-4)", + "margin": "0 var(--global-spacing-2) 0 0" + } + } + } + } + } +} diff --git a/blocks/subscriptions-block/utils/currency.js b/blocks/subscriptions-block/utils/currency.js new file mode 100644 index 0000000000..841f4bebaa --- /dev/null +++ b/blocks/subscriptions-block/utils/currency.js @@ -0,0 +1,16 @@ +const CURRECY_MAP = { + USD: "$", + NZD: "$", + EUR: "€", + PEN: "S/.", + JPY: "¥", + CLP: "$", + COP: "$", + KRW: "₩", + MXN: "$", + BRL: "R$", +}; + +const currency = (name) => CURRECY_MAP[name] || null; + +export default currency; \ No newline at end of file diff --git a/blocks/subscriptions-block/utils/currency.test.jsx b/blocks/subscriptions-block/utils/currency.test.jsx new file mode 100644 index 0000000000..bd73f71416 --- /dev/null +++ b/blocks/subscriptions-block/utils/currency.test.jsx @@ -0,0 +1,11 @@ +import currency from "./currency"; + +describe("Currency", () => { + it("returns currency symbol based on name", () => { + expect(currency("USD")).toBe("$"); + }); + + it("returns null if currency is not supported", () => { + expect(currency("HKD")).toBe(null); + }); +}); \ No newline at end of file diff --git a/locale/de.json b/locale/de.json index a9b7fdb6c5..0cee16a8d3 100644 --- a/locale/de.json +++ b/locale/de.json @@ -209,5 +209,274 @@ "story-carousel.left-arrow-label": "Vorheriges", "story-carousel.right-arrow-label": "Nächstes", "story-carousel.slide-indicator": "Bild %{current} von %{maximum}" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "Land auswählen", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "Zurück zur Auswahl der Abonnements", + "checkout-block.contact-info": "Kontaktinformationen", + "checkout-block.continue-to-checkout": "Weiter zur Kasse", + "checkout-block.country": "Land oder Region", + "checkout-block.country-requirements": "Bitte ein Land oder eine Region auswählen", + "checkout-block.due-today": "Heute fällig", + "checkout-block.email": "E-Mail-Adresse", + "checkout-block.email-requirements": "Bitte eine gültige E-Mail-Adresse eingeben", + "checkout-block.empty-cart-message": "Aus einem unserer Angebote auswählen", + "checkout-block.first-name": "Vorname", + "checkout-block.first-name-requirements": "Bitte Vornamen eingeben", + "checkout-block.headline": "Abonnementauftrag prüfen", + "checkout-block.identity-email": "Angemeldet als %{email}", + "checkout-block.identity-sign-out": "Abmelden", + "checkout-block.identity-social": "Verbunden", + "checkout-block.last-name": "Nachname", + "checkout-block.last-name-requirements": "Bitte Nachname eingeben", + "checkout-block.order-summary": "Zusammenfassung der Bestellung", + "checkout-block.plus-sales-tax": "Zuzüglich der geltenden Umsatzsteuer", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "Zahlungsmethode und Informationen", + "subscriptions-block.payment-error": "Bei der Bearbeitung Ihrer Zahlung ist ein Fehler aufgetreten.", + "subscriptions-block.payment-information": "Kreditkarteninformationen", + "subscriptions-block.submit-payment": "Abonnement kaufen" } } diff --git a/locale/en.json b/locale/en.json index 9656e1c7c8..c090e02e9d 100644 --- a/locale/en.json +++ b/locale/en.json @@ -66,7 +66,7 @@ "global.gallery-autoplay-label-stop": "Stop automatic slide show", "global.gallery-expand-button": "Expand", "global.gallery-next-label": "Next Slide", - "global.gallery-page-count-text": "Image<\/span> %{current} of %{total}", + "global.gallery-page-count-text": "Image %{current} of %{total}", "global.gallery-pause-autoplay-button": "Pause autoplay", "global.gallery-previous-label": "Previous Slide", "global.gallery-text": "Gallery", @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "Username" @@ -209,5 +209,277 @@ "story-carousel.left-arrow-label": "Previous", "story-carousel.right-arrow-label": "Next", "story-carousel.slide-indicator": "Slide %{current} of %{maximum}" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "Select Country", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "Back to subscription selection", + "checkout-block.contact-info": "Contact Info", + "checkout-block.continue-to-checkout": "Continue to Checkout", + "checkout-block.country": "Country or region", + "checkout-block.country-requirements": "Please select country or region", + "checkout-block.due-today": "Due today", + "checkout-block.email": "Email address", + "checkout-block.email-requirements": "Please enter a valid email address", + "checkout-block.empty-cart-message": "Select from one of our offers", + "checkout-block.first-name": "First name", + "checkout-block.first-name-requirements": "Please enter first name", + "checkout-block.headline": "Review Subscription Order", + "checkout-block.identity-email": "Signed in as %{email}", + "checkout-block.identity-sign-out": "Sign out", + "checkout-block.identity-social": "Connected", + "checkout-block.last-name": "Last name", + "checkout-block.cardholderName": "Name on card", + "checkout-block.cardNumber": "Card number", + "checkout-block.cardholderName-requirements": "Please enter name on card", + "checkout-block.last-name-requirements": "Please enter last name", + "checkout-block.order-summary": "Order Summary", + "checkout-block.plus-sales-tax": "Plus applicable sales tax", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "Payment Method and Information", + "subscriptions-block.payment-error": "There was an error processing your payment.", + "subscriptions-block.payment-information": "Credit card information", + "subscriptions-block.submit-payment": "Purchase Subscription" } } diff --git a/locale/es.json b/locale/es.json index 724f62b8fc..e7c81fe169 100644 --- a/locale/es.json +++ b/locale/es.json @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "Nombre de usuario" @@ -209,5 +209,274 @@ "story-carousel.left-arrow-label": "Anterior", "story-carousel.right-arrow-label": "Siguiente", "story-carousel.slide-indicator": "Diapositiva %{current} de %{maximum}" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "Seleccionar país", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "Volver a la selección de la suscripción", + "checkout-block.contact-info": "Información de contacto", + "checkout-block.continue-to-checkout": "Continuar con el pago", + "checkout-block.country": "País o región", + "checkout-block.country-requirements": "Seleccione el país o la región", + "checkout-block.due-today": "Vence hoy", + "checkout-block.email": "Dirección de correo electrónico", + "checkout-block.email-requirements": "Introduzca una dirección de correo electrónico", + "checkout-block.empty-cart-message": "Seleccione una de nuestras ofertas", + "checkout-block.first-name": "Nombre", + "checkout-block.first-name-requirements": "Introduzca el nombre", + "checkout-block.headline": "Revisar pedido de suscripción", + "checkout-block.identity-email": "Sesión iniciada con la dirección %{email}", + "checkout-block.identity-sign-out": "Cerrar sesión", + "checkout-block.identity-social": "Conectado", + "checkout-block.last-name": "Apellido(s)", + "checkout-block.last-name-requirements": "Introduzca los apellidos", + "checkout-block.order-summary": "Resumen del pedido", + "checkout-block.plus-sales-tax": "Más impuestos sobre ventas aplicable", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "Información y método de pago", + "subscriptions-block.payment-error": "Hubo un error al procesar el pago.", + "subscriptions-block.payment-information": "Información de la tarjeta de crédito", + "subscriptions-block.submit-payment": "Comprar suscripción" } } diff --git a/locale/fr.json b/locale/fr.json index 40a69e07b6..5f7be94aaf 100644 --- a/locale/fr.json +++ b/locale/fr.json @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "Nom d’utilisateur" @@ -209,5 +209,274 @@ "story-carousel.left-arrow-label": "Précédent", "story-carousel.right-arrow-label": "Suivant", "story-carousel.slide-indicator": "Diapositive %{current} sur %{maximum}" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "Sélectionner le pays", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "Retour à la sélection d'abonnement", + "checkout-block.contact-info": "Informations de contact", + "checkout-block.continue-to-checkout": "Continuer vers le paiement", + "checkout-block.country": "Pays ou région", + "checkout-block.country-requirements": "Veuillez sélectionner un pays ou une région", + "checkout-block.due-today": "Dû aujourd'hui", + "checkout-block.email": "Adresse e-mail", + "checkout-block.email-requirements": "Veuillez saisir une adresse e-mail valide", + "checkout-block.empty-cart-message": "Choisissez parmi l'une de nos offres", + "checkout-block.first-name": "Prénom", + "checkout-block.first-name-requirements": "Veuillez saisir le prénom", + "checkout-block.headline": "Vérifier la commande de l'abonnement", + "checkout-block.identity-email": "Connecté en tant que %{email}", + "checkout-block.identity-sign-out": "Se déconnecter", + "checkout-block.identity-social": "Connecté", + "checkout-block.last-name": "Nom de famille", + "checkout-block.last-name-requirements": "Veuillez saisir le nom de famille", + "checkout-block.order-summary": "Résumé de la commande", + "checkout-block.plus-sales-tax": "Plus la taxe de vente applicable", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "Mode de paiement et informations", + "subscriptions-block.payment-error": "Une erreur s'est produite lors du traitement de votre paiement.", + "subscriptions-block.payment-information": "Informations relatives à la carte de crédit", + "subscriptions-block.submit-payment": "Acheter un abonnement" } } diff --git a/locale/ja.json b/locale/ja.json index 270bc0c0c6..e3fa0cfad4 100644 --- a/locale/ja.json +++ b/locale/ja.json @@ -31,7 +31,7 @@ "category-carousel.aria-label": "カテゴリ", "category-carousel.left-arrow-label": "前", "category-carousel.right-arrow-label": "次", - "category-carousel.slide-indicator": "スライド(%{current}\/%{maximum})" + "category-carousel.slide-indicator": "スライド(%{current}/%{maximum})" }, "default-output-block": { "default-output-block.skip-main": "メインコンテンツにスキップ" @@ -66,7 +66,7 @@ "global.gallery-autoplay-label-stop": "自動スライド ショーを停止", "global.gallery-expand-button": "展開", "global.gallery-next-label": "次のスライド", - "global.gallery-page-count-text": "%{current} \/ %{total}", + "global.gallery-page-count-text": "%{current} / %{total}", "global.gallery-pause-autoplay-button": "自動再生の一時停止", "global.gallery-previous-label": "前のスライド", "global.gallery-text": "ギャラリー", @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "ユーザー名" @@ -168,7 +168,7 @@ "product-assortment-carousel.aria-label": "製品", "product-assortment-carousel.left-arrow-label": "前", "product-assortment-carousel.right-arrow-label": "次", - "product-assortment-carousel.slide-indicator": "スライド(%{current}\/%{maximum})" + "product-assortment-carousel.slide-indicator": "スライド(%{current}/%{maximum})" }, "product-content-block": { "product-content.description": "説明", @@ -184,7 +184,7 @@ "product-gallery.go-to-slide": "スライド%{slideNumber}に移動", "product-gallery.left-arrow-label": "前", "product-gallery.right-arrow-label": "次", - "product-gallery.slide-indicator": "スライド(%{current}\/%{maximum})" + "product-gallery.slide-indicator": "スライド(%{current}/%{maximum})" }, "product-information-block": { "product-information.list-price": "定価%{price}", @@ -208,6 +208,275 @@ "story-carousel.aria-label": "記事", "story-carousel.left-arrow-label": "前", "story-carousel.right-arrow-label": "次", - "story-carousel.slide-indicator": "スライド(%{current}\/%{maximum})" + "story-carousel.slide-indicator": "スライド(%{current}/%{maximum})" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "国を選択", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "サブスクリプションの選択に戻る", + "checkout-block.contact-info": "連絡先情報", + "checkout-block.continue-to-checkout": "チェックアウトに進む", + "checkout-block.country": "国または地域", + "checkout-block.country-requirements": "国または地域を選択してください", + "checkout-block.due-today": "本日締め切り", + "checkout-block.email": "メールアドレス", + "checkout-block.email-requirements": "有効なメールアドレスを入力してください", + "checkout-block.empty-cart-message": "オファーのいずれかを選択", + "checkout-block.first-name": "名", + "checkout-block.first-name-requirements": "名を入力してください", + "checkout-block.headline": "サブスクリプションの注文を確認", + "checkout-block.identity-email": "%{email}としてサインイン済み", + "checkout-block.identity-sign-out": "サインアウト", + "checkout-block.identity-social": "接続済み", + "checkout-block.last-name": "姓", + "checkout-block.last-name-requirements": "姓を入力してください", + "checkout-block.order-summary": "注文の概要", + "checkout-block.plus-sales-tax": "さらに消費税がかかります", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "支払い方法および情報", + "subscriptions-block.payment-error": "支払い処理中にエラーが発生しました。", + "subscriptions-block.payment-information": "クレジットカード情報", + "subscriptions-block.submit-payment": "サブスクリプションを購入" } } diff --git a/locale/ko.json b/locale/ko.json index 4260affdfe..5206338ceb 100644 --- a/locale/ko.json +++ b/locale/ko.json @@ -66,7 +66,7 @@ "global.gallery-autoplay-label-stop": "자동 슬라이드 쇼 중지", "global.gallery-expand-button": "더보기", "global.gallery-next-label": "다음 슬라이드", - "global.gallery-page-count-text": "%{current}\/%개 보는 %{total}", + "global.gallery-page-count-text": "%{current}/%개 보는 %{total}", "global.gallery-pause-autoplay-button": "자동 재생 일시 중지", "global.gallery-previous-label": "이전 슬라이드", "global.gallery-text": "갤러리", @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "사용자 이름" @@ -209,5 +209,274 @@ "story-carousel.left-arrow-label": "이전", "story-carousel.right-arrow-label": "다음", "story-carousel.slide-indicator": "%{maximum} 중 %{current} 슬라이드" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "국가 선택", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "구독 선택으로 돌아가기", + "checkout-block.contact-info": "연락처 정보", + "checkout-block.continue-to-checkout": "결제 계속하기", + "checkout-block.country": "국가 또는 지역", + "checkout-block.country-requirements": "국가 또는 지역을 선택하십시오", + "checkout-block.due-today": "오늘까지", + "checkout-block.email": "이메일 주소", + "checkout-block.email-requirements": "유효한 이메일 주소를 입력하십시오", + "checkout-block.empty-cart-message": "오퍼 중 하나를 선택하십시오", + "checkout-block.first-name": "이름", + "checkout-block.first-name-requirements": "이름을 입력하십시오", + "checkout-block.headline": "구독 주문 검토", + "checkout-block.identity-email": "%{email}(으)로 로그인됨", + "checkout-block.identity-sign-out": "로그아웃", + "checkout-block.identity-social": "연결됨", + "checkout-block.last-name": "성", + "checkout-block.last-name-requirements": "성을 입력하십시오", + "checkout-block.order-summary": "주문 요약", + "checkout-block.plus-sales-tax": "해당 판매세 별도", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "결제 방법 및 정보", + "subscriptions-block.payment-error": "결제를 처리하는 중 오류가 발생했습니다.", + "subscriptions-block.payment-information": "신용카드 정보", + "subscriptions-block.submit-payment": "구독 구입" } } diff --git a/locale/no.json b/locale/no.json index 4642016b1c..8694fcd943 100644 --- a/locale/no.json +++ b/locale/no.json @@ -66,7 +66,7 @@ "global.gallery-autoplay-label-stop": "Stopp automatisk lysbildevisning", "global.gallery-expand-button": "Utvid", "global.gallery-next-label": "Neste slide", - "global.gallery-page-count-text": "Bilde<\/span> %{current} av %{total}", + "global.gallery-page-count-text": "Bilde %{current} av %{total}", "global.gallery-pause-autoplay-button": "Sett automatisk avspilling på pause", "global.gallery-previous-label": "Forrige slide", "global.gallery-text": "Bildegalleri", @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "Username" @@ -209,5 +209,274 @@ "story-carousel.left-arrow-label": "Forrige", "story-carousel.right-arrow-label": "Neste", "story-carousel.slide-indicator": "Slide %{current} av %{maximum}" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "Velg land", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "Tilbake til abonnementsvalg", + "checkout-block.contact-info": "Kontaktinformasjon", + "checkout-block.continue-to-checkout": "Fortsett til kassen", + "checkout-block.country": "Land eller område", + "checkout-block.country-requirements": "Velg land eller område", + "checkout-block.due-today": "Forfaller i dag", + "checkout-block.email": "E-postadresse", + "checkout-block.email-requirements": "Skriv inn en gyldig e-postadresse", + "checkout-block.empty-cart-message": "Velg fra ett av tilbudene våre", + "checkout-block.first-name": "Fornavn", + "checkout-block.first-name-requirements": "Skriv inn fornavn", + "checkout-block.headline": "Se gjennom abonnementsordre", + "checkout-block.identity-email": "Logget inn som %{email}", + "checkout-block.identity-sign-out": "Logg ut", + "checkout-block.identity-social": "Tilknyttet", + "checkout-block.last-name": "Etternavn", + "checkout-block.last-name-requirements": "Skriv inn etternavn", + "checkout-block.order-summary": "Ordresammendrag", + "checkout-block.plus-sales-tax": "I tillegg til gjeldende salgsavgift", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "Betalingsmetode og -informasjon", + "subscriptions-block.payment-error": "Det oppstod en feil under behandlingen av betalingen.", + "subscriptions-block.payment-information": "Kredittkortopplysninger", + "subscriptions-block.submit-payment": "Kjøp abonnement" } } diff --git a/locale/pt.json b/locale/pt.json index 847a7aadbf..e8f974c2d8 100644 --- a/locale/pt.json +++ b/locale/pt.json @@ -66,7 +66,7 @@ "global.gallery-autoplay-label-stop": "Parar apresentação automática de diapositivos", "global.gallery-expand-button": "Expandir", "global.gallery-next-label": "Próximo diapositivo", - "global.gallery-page-count-text": "Imagem<\/span> %{current} de %{total}", + "global.gallery-page-count-text": "Imagem %{current} de %{total}", "global.gallery-pause-autoplay-button": "Colocar a reprodução automática em pausa", "global.gallery-previous-label": "Diapositivo anterior", "global.gallery-text": "Galeria", @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "Username" @@ -209,5 +209,274 @@ "story-carousel.left-arrow-label": "Anterior", "story-carousel.right-arrow-label": "Seguinte", "story-carousel.slide-indicator": "Slide %{current} de %{maximum}" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "Selecione o país", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "Voltar à seleção de subscrição", + "checkout-block.contact-info": "Informações de contacto", + "checkout-block.continue-to-checkout": "Continuar para o checkout", + "checkout-block.country": "País ou região", + "checkout-block.country-requirements": "Selecione o país ou região", + "checkout-block.due-today": "Vence hoje", + "checkout-block.email": "Endereço de email", + "checkout-block.email-requirements": "Insira um endereço de email válido", + "checkout-block.empty-cart-message": "Selecione entre uma das nossas ofertas", + "checkout-block.first-name": "Nome próprio", + "checkout-block.first-name-requirements": "Insira o nome próprio", + "checkout-block.headline": "Rever a ordem de subscrição", + "checkout-block.identity-email": "Sessão iniciada como %{email}", + "checkout-block.identity-sign-out": "Terminar sessão", + "checkout-block.identity-social": "Ligado", + "checkout-block.last-name": "Apelido", + "checkout-block.last-name-requirements": "Insira o apelido", + "checkout-block.order-summary": "Resumo da encomenda", + "checkout-block.plus-sales-tax": "Mais imposto sobre vendas aplicável", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "Método de pagamento e informação", + "subscriptions-block.payment-error": "Ocorreu um erro ao processar o seu pagamento.", + "subscriptions-block.payment-information": "Informação de cartão de crédito", + "subscriptions-block.submit-payment": "Adquirir subscrição" } } diff --git a/locale/sv.json b/locale/sv.json index e1dd25a94d..d50de35670 100644 --- a/locale/sv.json +++ b/locale/sv.json @@ -152,7 +152,7 @@ "identity-block.save": "Save", "identity-block.sign-up": "Sign Up", "identity-block.sign-up-form-error": "There's been an error creating your account", - "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service<\/a> and acknowledge our Privacy Policy<\/a>.", + "identity-block.terms-privacy-text": "By creating an account, you agree to the Terms of Service and acknowledge our Privacy Policy.", "identity-block.update-email-error": "There's been an error updating your email address", "identity-block.update-password-error": "There's been an error updating your password", "identity-block.username": "Username" @@ -209,5 +209,274 @@ "story-carousel.left-arrow-label": "Föregående", "story-carousel.right-arrow-label": "Nästa", "story-carousel.slide-indicator": "Bild %{current} av %{maximum}" + }, + "subscriptions-block": { + "checkout-block.Afghanistan": "Afghanistan", + "checkout-block.Albania": "Albania", + "checkout-block.Algeria": "Algeria", + "checkout-block.American-Samoa": "American Samoa", + "checkout-block.AndorrA": "AndorrA", + "checkout-block.Angola": "Angola", + "checkout-block.Anguilla": "Anguilla", + "checkout-block.Antarctica": "Antarctica", + "checkout-block.Antigua-and-Barbuda": "Antigua and Barbuda", + "checkout-block.Argentina": "Argentina", + "checkout-block.Armenia": "Armenia", + "checkout-block.Aruba": "Aruba", + "checkout-block.Australia": "Australia", + "checkout-block.Austria": "Austria", + "checkout-block.Azerbaijan": "Azerbaijan", + "checkout-block.Bahamas": "Bahamas", + "checkout-block.Bahrain": "Bahrain", + "checkout-block.Bangladesh": "Bangladesh", + "checkout-block.Barbados": "Barbados", + "checkout-block.Belarus": "Belarus", + "checkout-block.Belgium": "Belgium", + "checkout-block.Belize": "Belize", + "checkout-block.Benin": "Benin", + "checkout-block.Bermuda": "Bermuda", + "checkout-block.Bhutan": "Bhutan", + "checkout-block.Bolivia": "Bolivia", + "checkout-block.Bosnia-and-Herzegovina": "Bosnia and Herzegovina", + "checkout-block.Botswana": "Botswana", + "checkout-block.Bouvet-Island": "Bouvet Island", + "checkout-block.Brazil": "Brazil", + "checkout-block.British-Indian-Ocean-Territory": "British Indian Ocean Territory", + "checkout-block.Brunei-Darussalam": "Brunei Darussalam", + "checkout-block.Bulgaria": "Bulgaria", + "checkout-block.Burkina-Faso": "Burkina Faso", + "checkout-block.Burundi": "Burundi", + "checkout-block.Cambodia": "Cambodia", + "checkout-block.Cameroon": "Cameroon", + "checkout-block.Canada": "Canada", + "checkout-block.Cape-Verde": "Cape Verde", + "checkout-block.Cayman-Islands": "Cayman Islands", + "checkout-block.Central-African-Republic": "Central African Republic", + "checkout-block.Chad": "Chad", + "checkout-block.Chile": "Chile", + "checkout-block.China": "China", + "checkout-block.Christmas-Island": "Christmas Island", + "checkout-block.Cocos-(Keeling)-Islands": "Cocos (Keeling) Islands", + "checkout-block.Colombia": "Colombia", + "checkout-block.Comoros": "Comoros", + "checkout-block.Congo": "Congo", + "checkout-block.Congo,-The-Democratic-Republic-of-the": "Congo, The Democratic Republic of the", + "checkout-block.Cook-Islands": "Cook Islands", + "checkout-block.Costa-Rica": "Costa Rica", + "checkout-block.Cote-D'Ivoire": "Cote D'Ivoire", + "checkout-block.Croatia": "Croatia", + "checkout-block.Cuba": "Cuba", + "checkout-block.Cyprus": "Cyprus", + "checkout-block.Czech-Republic": "Czech Republic", + "checkout-block.Denmark": "Denmark", + "checkout-block.Djibouti": "Djibouti", + "checkout-block.Dominica": "Dominica", + "checkout-block.Dominican-Republic": "Dominican Republic", + "checkout-block.Ecuador": "Ecuador", + "checkout-block.Egypt": "Egypt", + "checkout-block.El-Salvador": "El Salvador", + "checkout-block.Equatorial-Guinea": "Equatorial Guinea", + "checkout-block.Eritrea": "Eritrea", + "checkout-block.Estonia": "Estonia", + "checkout-block.Ethiopia": "Ethiopia", + "checkout-block.Falkland-Islands-(Malvinas)": "Falkland Islands (Malvinas)", + "checkout-block.Faroe-Islands": "Faroe Islands", + "checkout-block.Fiji": "Fiji", + "checkout-block.Finland": "Finland", + "checkout-block.France": "France", + "checkout-block.French-Guiana": "French Guiana", + "checkout-block.French-Polynesia": "French Polynesia", + "checkout-block.French-Southern-Territories": "French Southern Territories", + "checkout-block.Gabon": "Gabon", + "checkout-block.Gambia": "Gambia", + "checkout-block.Georgia": "Georgia", + "checkout-block.Germany": "Germany", + "checkout-block.Ghana": "Ghana", + "checkout-block.Gibraltar": "Gibraltar", + "checkout-block.Greece": "Greece", + "checkout-block.Greenland": "Greenland", + "checkout-block.Grenada": "Grenada", + "checkout-block.Guadeloupe": "Guadeloupe", + "checkout-block.Guam": "Guam", + "checkout-block.Guatemala": "Guatemala", + "checkout-block.Guernsey": "Guernsey", + "checkout-block.Guinea": "Guinea", + "checkout-block.Guinea-Bissau": "Guinea-Bissau", + "checkout-block.Guyana": "Guyana", + "checkout-block.Haiti": "Haiti", + "checkout-block.Heard-Island-and-Mcdonald-Islands": "Heard Island and Mcdonald Islands", + "checkout-block.Holy-See-(Vatican-City-State)": "Holy See (Vatican City State)", + "checkout-block.Honduras": "Honduras", + "checkout-block.Hong-Kong": "Hong Kong", + "checkout-block.Hungary": "Hungary", + "checkout-block.Iceland": "Iceland", + "checkout-block.India": "India", + "checkout-block.Indonesia": "Indonesia", + "checkout-block.Iran,-Islamic-Republic-Of": "Iran, Islamic Republic Of", + "checkout-block.Iraq": "Iraq", + "checkout-block.Ireland": "Ireland", + "checkout-block.Isle-of-Man": "Isle of Man", + "checkout-block.Israel": "Israel", + "checkout-block.Italy": "Italy", + "checkout-block.Jamaica": "Jamaica", + "checkout-block.Japan": "Japan", + "checkout-block.Jersey": "Jersey", + "checkout-block.Jordan": "Jordan", + "checkout-block.Kazakhstan": "Kazakhstan", + "checkout-block.Kenya": "Kenya", + "checkout-block.Kiribati": "Kiribati", + "checkout-block.Korea,-Democratic-People'S-Republic-of": "Korea, Democratic People'S Republic of", + "checkout-block.Korea,-Republic-of": "Korea, Republic of", + "checkout-block.Kuwait": "Kuwait", + "checkout-block.Kyrgyzstan": "Kyrgyzstan", + "checkout-block.Lao-People'S-Democratic-Republic": "Lao People'S Democratic Republic", + "checkout-block.Latvia": "Latvia", + "checkout-block.Lebanon": "Lebanon", + "checkout-block.Lesotho": "Lesotho", + "checkout-block.Liberia": "Liberia", + "checkout-block.Libyan-Arab-Jamahiriya": "Libyan Arab Jamahiriya", + "checkout-block.Liechtenstein": "Liechtenstein", + "checkout-block.Lithuania": "Lithuania", + "checkout-block.Luxembourg": "Luxembourg", + "checkout-block.Macao": "Macao", + "checkout-block.Macedonia,-The-Former-Yugoslav-Republic-of": "Macedonia, The Former Yugoslav Republic of", + "checkout-block.Madagascar": "Madagascar", + "checkout-block.Malawi": "Malawi", + "checkout-block.Malaysia": "Malaysia", + "checkout-block.Maldives": "Maldives", + "checkout-block.Mali": "Mali", + "checkout-block.Malta": "Malta", + "checkout-block.Marshall-Islands": "Marshall Islands", + "checkout-block.Martinique": "Martinique", + "checkout-block.Mauritania": "Mauritania", + "checkout-block.Mauritius": "Mauritius", + "checkout-block.Mayotte": "Mayotte", + "checkout-block.Mexico": "Mexico", + "checkout-block.Micronesia,-Federated-States-of": "Micronesia, Federated States of", + "checkout-block.Moldova,-Republic-of": "Moldova, Republic of", + "checkout-block.Monaco": "Monaco", + "checkout-block.Mongolia": "Mongolia", + "checkout-block.Montserrat": "Montserrat", + "checkout-block.Morocco": "Morocco", + "checkout-block.Mozambique": "Mozambique", + "checkout-block.Myanmar": "Myanmar", + "checkout-block.Namibia": "Namibia", + "checkout-block.Nauru": "Nauru", + "checkout-block.Nepal": "Nepal", + "checkout-block.Netherlands": "Netherlands", + "checkout-block.Netherlands-Antilles": "Netherlands Antilles", + "checkout-block.New-Caledonia": "New Caledonia", + "checkout-block.New-Zealand": "New Zealand", + "checkout-block.Nicaragua": "Nicaragua", + "checkout-block.Niger": "Niger", + "checkout-block.Nigeria": "Nigeria", + "checkout-block.Niue": "Niue", + "checkout-block.Norfolk-Island": "Norfolk Island", + "checkout-block.Northern-Mariana-Islands": "Northern Mariana Islands", + "checkout-block.Norway": "Norway", + "checkout-block.Oman": "Oman", + "checkout-block.Pakistan": "Pakistan", + "checkout-block.Palau": "Palau", + "checkout-block.Palestinian-Territory,-Occupied": "Palestinian Territory, Occupied", + "checkout-block.Panama": "Panama", + "checkout-block.Papua-New-Guinea": "Papua New Guinea", + "checkout-block.Paraguay": "Paraguay", + "checkout-block.Peru": "Peru", + "checkout-block.Philippines": "Philippines", + "checkout-block.Pitcairn": "Pitcairn", + "checkout-block.Poland": "Poland", + "checkout-block.Portugal": "Portugal", + "checkout-block.Puerto-Rico": "Puerto Rico", + "checkout-block.Qatar": "Qatar", + "checkout-block.RWANDA": "RWANDA", + "checkout-block.Reunion": "Reunion", + "checkout-block.Romania": "Romania", + "checkout-block.Russian-Federation": "Russian Federation", + "checkout-block.Saint-Helena": "Saint Helena", + "checkout-block.Saint-Kitts-and-Nevis": "Saint Kitts and Nevis", + "checkout-block.Saint-Lucia": "Saint Lucia", + "checkout-block.Saint-Pierre-and-Miquelon": "Saint Pierre and Miquelon", + "checkout-block.Saint-Vincent-and-the-Grenadines": "Saint Vincent and the Grenadines", + "checkout-block.Samoa": "Samoa", + "checkout-block.San-Marino": "San Marino", + "checkout-block.Sao-Tome-and-Principe": "Sao Tome and Principe", + "checkout-block.Saudi-Arabia": "Saudi Arabia", + "checkout-block.Select-Country": "Välj land", + "checkout-block.Senegal": "Senegal", + "checkout-block.Serbia-and-Montenegro": "Serbia and Montenegro", + "checkout-block.Seychelles": "Seychelles", + "checkout-block.Sierra-Leone": "Sierra Leone", + "checkout-block.Singapore": "Singapore", + "checkout-block.Slovakia": "Slovakia", + "checkout-block.Slovenia": "Slovenia", + "checkout-block.Solomon-Islands": "Solomon Islands", + "checkout-block.Somalia": "Somalia", + "checkout-block.South-Africa": "South Africa", + "checkout-block.South-Georgia-and-the-South-Sandwich-Islands": "South Georgia and the South Sandwich Islands", + "checkout-block.Spain": "Spain", + "checkout-block.Sri-Lanka": "Sri Lanka", + "checkout-block.Sudan": "Sudan", + "checkout-block.Suriname": "Suriname", + "checkout-block.Svalbard-and-Jan-Mayen": "Svalbard and Jan Mayen", + "checkout-block.Swaziland": "Swaziland", + "checkout-block.Sweden": "Sweden", + "checkout-block.Switzerland": "Switzerland", + "checkout-block.Syrian-Arab-Republic": "Syrian Arab Republic", + "checkout-block.Taiwan,-Province-of-China": "Taiwan, Province of China", + "checkout-block.Tajikistan": "Tajikistan", + "checkout-block.Tanzania,-United-Republic-of": "Tanzania, United Republic of", + "checkout-block.Thailand": "Thailand", + "checkout-block.Timor-Leste": "Timor-Leste", + "checkout-block.Togo": "Togo", + "checkout-block.Tokelau": "Tokelau", + "checkout-block.Tonga": "Tonga", + "checkout-block.Trinidad-and-Tobago": "Trinidad and Tobago", + "checkout-block.Tunisia": "Tunisia", + "checkout-block.Turkey": "Turkey", + "checkout-block.Turkmenistan": "Turkmenistan", + "checkout-block.Turks-and-Caicos-Islands": "Turks and Caicos Islands", + "checkout-block.Tuvalu": "Tuvalu", + "checkout-block.Uganda": "Uganda", + "checkout-block.Ukraine": "Ukraine", + "checkout-block.United-Arab-Emirates": "United Arab Emirates", + "checkout-block.United-Kingdom": "United Kingdom", + "checkout-block.United-States": "United States", + "checkout-block.United-States-Minor-Outlying-Islands": "United States Minor Outlying Islands", + "checkout-block.Uruguay": "Uruguay", + "checkout-block.Uzbekistan": "Uzbekistan", + "checkout-block.Vanuatu": "Vanuatu", + "checkout-block.Venezuela": "Venezuela", + "checkout-block.Viet-Nam": "Viet Nam", + "checkout-block.Virgin-Islands,-British": "Virgin Islands, British", + "checkout-block.Virgin-Islands,-U.S.": "Virgin Islands, U.S.", + "checkout-block.Wallis-and-Futuna": "Wallis and Futuna", + "checkout-block.Western-Sahara": "Western Sahara", + "checkout-block.Yemen": "Yemen", + "checkout-block.Zambia": "Zambia", + "checkout-block.Zimbabwe": "Zimbabwe", + "checkout-block.back-to-offer-page": "Tillbaka till prenumerationsval", + "checkout-block.contact-info": "Kontaktuppgifter", + "checkout-block.continue-to-checkout": "Fortsätt till kassan", + "checkout-block.country": "Land eller region", + "checkout-block.country-requirements": "Ange ditt land eller din region", + "checkout-block.due-today": "Förfaller idag", + "checkout-block.email": "E-postadress", + "checkout-block.email-requirements": "Ange en giltig e-postadress", + "checkout-block.empty-cart-message": "Välj ett av våra erbjudanden", + "checkout-block.first-name": "Förnamn", + "checkout-block.first-name-requirements": "Ange förnamn", + "checkout-block.headline": "Granska prenumerationsbeställning", + "checkout-block.identity-email": "Inloggad som %{email}", + "checkout-block.identity-sign-out": "Logga ut", + "checkout-block.identity-social": "Ansluten", + "checkout-block.last-name": "Efternamn", + "checkout-block.last-name-requirements": "Ange efternamn", + "checkout-block.order-summary": "Beställningsöversikt", + "checkout-block.plus-sales-tax": "Plus moms", + "checkout-block.Åland-Islands": "Åland Islands", + "subscriptions-block.credit-card-information": "Betalningsmetod och betalningsuppgifter", + "subscriptions-block.payment-error": "Ett fel uppstod när din betalning skulle behandlas.", + "subscriptions-block.payment-information": "Kreditkortsuppgifter", + "subscriptions-block.submit-payment": "Köp prenumeration" } } diff --git a/package.json b/package.json index 7ca7797cb3..07fc6df5c8 100644 --- a/package.json +++ b/package.json @@ -133,6 +133,7 @@ "@wpmedia/header-nav-chain-block": "file:blocks/header-nav-chain-block", "@wpmedia/headline-block": "file:blocks/headline-block", "@wpmedia/htmlbox-block": "file:blocks/htmlbox-block", + "@wpmedia/identity-block": "file:blocks/identity-block", "@wpmedia/large-manual-promo-block": "file:blocks/large-manual-promo-block", "@wpmedia/large-promo-block": "file:blocks/large-promo-block", "@wpmedia/lead-art-block": "file:blocks/lead-art-block", @@ -168,6 +169,7 @@ "@wpmedia/story-feed-sections-content-source-block": "file:blocks/story-feed-sections-content-source-block", "@wpmedia/story-feed-tag-content-source-block": "file:blocks/story-feed-tag-content-source-block", "@wpmedia/subheadline-block": "file:blocks/subheadline-block", + "@wpmedia/subscriptions-block": "file:blocks/subscriptions-block", "@wpmedia/tag-title-block": "file:blocks/tag-title-block", "@wpmedia/tags-content-source-block": "file:blocks/tags-content-source-block", "@wpmedia/top-table-list-block": "file:blocks/top-table-list-block",