LANGS = ("it", "en")

PP_ITEM_NAME = {
    "it": "Donazione a favore di PoliEdro",
    "en": "Donation to PoliEdro"
}

_PP_ITEM_DESC = {
    "en": "With gadget reservation: {qty}x {item}",
    "it": "Con prenotazione gadget: {qty}x {item}"
}

_PP_ITEM_DESC_STRETCH_0 = {
    "en": "No gadgets requested, thanks for your support!",
    "it": "Nessun gadget richiesto, grazie del supporto!"
}

PP_ITEM_DESC = lambda lang, stretch_goal, qty: \
    _PP_ITEM_DESC_STRETCH_0[lang] if stretch_goal == 0 else \
    _PP_ITEM_DESC[lang].format(qty=qty, item=STRETCH_GOAL_NAMES[lang][stretch_goal])

STRETCH_GOAL_NAMES = {
    "it": {
        0: "(nessuno)",
        1: "Sacca, spillette, bracciale e tira lampo PoliMi Pride",
        2: "Kit completo PoliMi Pride - sacca, spillette, bracciale, tira lampo, maglietta/canotta"
    },

    "en": {
        0: "(none)",
        1: "PoliMi Pride sackpack, pins, rainbow band and puller",
        2: "PoliMi Pride Full Kit - sackpack, pins, band, puller, t-shirt/tank top"
    }
}

CONFIRMATION_EMAIL_SUBJECT = {
    "it": "Donazione per PoliEdro inviata - conferma (id: {id})",
    "en": "Donation to PoliEdro sent - confirmation (id: {id})"
}

HR_SHIRT_TYPES = {
    "it": {
        "tank-top": "Canotta",
        "t-shirt": "T-shirt"
    },
    "en": {
        "tank-top": "Tank top",
        "t-shirt": "T-shirt"
    }
}
LANGS = ("it", "en")

PP_ITEM_NAME = {
    "it": "Donazione a favore di PoliEdro",
    "en": "Donation to PoliEdro"
}

_PP_ITEM_DESC = {
    "en": "With gadget reservation: {qty}x {item}",
    "it": "Con prenotazione gadget: {qty}x {item}"
}

_PP_ITEM_DESC_STRETCH_0 = {
    "en": "No gadgets requested, thanks for your support!",
    "it": "Nessun gadget richiesto, grazie del supporto!"
}

PP_ITEM_DESC = lambda lang, stretch_goal, qty: \
    _PP_ITEM_DESC_STRETCH_0[lang] if stretch_goal == 0 else \
    _PP_ITEM_DESC[lang].format(qty=qty, item=STRETCH_GOAL_NAMES[lang][stretch_goal])

STRETCH_GOAL_NAMES = {
    "it": {
        0: "(nessuno)",
        1: "Sacca, spillette, bracciale e tira lampo PoliMi Pride",
        2: "Kit completo PoliMi Pride - sacca, spillette, bracciale, tira lampo, maglietta/canotta"
    },

    "en": {
        0: "(none)",
        1: "PoliMi Pride sackpack, pins, rainbow band and puller",
        2: "PoliMi Pride Full Kit - sackpack, pins, band, puller, t-shirt/tank top"
    }
}

CONFIRMATION_EMAIL_SUBJECT = {
    "it": "Donazione per PoliEdro inviata - conferma (id: {id})",
    "en": "Donation to PoliEdro sent - confirmation (id: {id})"
}

HR_SHIRT_TYPES = {
    "it": {
        "tank-top": "Canotta",
        "t-shirt": "T-shirt"
    },
    "en": {
        "tank-top": "Tank top",
        "t-shirt": "T-shirt"
    }
}