Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified languages/modularity-sv_SE.mo
Binary file not shown.
8 changes: 6 additions & 2 deletions languages/modularity-sv_SE.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ msgstr ""
"Project-Id-Version: Modularity\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-24 13:51+0100\n"
"PO-Revision-Date: 2025-03-24 13:52+0100\n"
"PO-Revision-Date: 2025-04-15 20:18+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: sv_SE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.2\n"
"X-Generator: Poedit 3.5\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-WPHeader: modularity.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
Expand Down Expand Up @@ -26286,6 +26286,10 @@ msgstr ""
msgid "Kristoffer Svanmark, Sebastian Thulin"
msgstr ""

#: source/php/Module/ColoredCards/ColoredCards.php:178
msgid "Read more about"
msgstr "Läs mer om"

#~ msgid "Nothing to display…"
#~ msgstr "Inget att visa…"

Expand Down
1 change: 1 addition & 0 deletions modularity.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
$acfExportManager->setExportFolder(MODULARITY_PATH . 'source/php/AcfFields/');
$acfExportManager->autoExport(array(
'mod-booking' => 'group_56a89f42b432b',
'mod-colored-cards' => 'group_67efeb5e4b211',
'mod-contact-info' => 'group_56a0a3928c017',
'mod-contact-contacts' => 'group_5757b93da8d5c',
'mod-contacts' => 'group_5805e5dc0a3be',
Expand Down
305 changes: 305 additions & 0 deletions source/php/AcfFields/json/mod-colored-cards.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@
[{
"key": "group_67efeb5e4b211",
"title": "Cards",
"fields": [
{
"key": "field_67f00aac8f0c4",
"label": "Max cards per column",
"name": "cards_per_column",
"aria-label": "",
"type": "number",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": 3,
"min": 2,
"max": 4,
"placeholder": "",
"step": "",
"prepend": "",
"append": ""
},
{
"key": "field_67f00ad48f0c5",
"label": "Wrap cards in background color",
"name": "wrap_cards_color_container",
"aria-label": "",
"type": "true_false",
"instructions": "Will only work properly if module is centered on page",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"message": "Yes",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_67f00af58f0c6",
"label": "Background color",
"name": "container_background_color",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_67f00ad48f0c5",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"choices": [],
"default_value": "none",
"return_format": "value",
"multiple": 0,
"allow_custom": 0,
"search_placeholder": "",
"allow_null": 0,
"ui": 1,
"ajax": 0,
"placeholder": ""
},
{
"key": "field_67f27a0f3028f",
"label": "Custom background color",
"name": "container_background_color_custom",
"aria-label": "",
"type": "color_picker",
"instructions": "Beware WCAG rules regarding contrasts",
"required": 0,
"conditional_logic": [
[
{
"field": "field_67f00af58f0c6",
"operator": "==",
"value": "custom-color"
}
]
],
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string"
},
{
"key": "field_67efeb5e223df",
"label": "Cards",
"name": "cards",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "100",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "block",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Add card",
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_67efec4d6d2ab",
"label": "Heading",
"name": "heading",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"maxlength": "",
"placeholder": "",
"prepend": "",
"append": "",
"parent_repeater": "field_67efeb5e223df"
},
{
"key": "field_67efec596d2ac",
"label": "Content",
"name": "content",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0,
"parent_repeater": "field_67efeb5e223df"
},
{
"key": "field_67efec6d6d2ad",
"label": "Image",
"name": "image",
"aria-label": "",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "",
"return_format": "id",
"acfe_thumbnail": 0,
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "",
"preview_size": "medium",
"library": "all",
"parent_repeater": "field_67efeb5e223df"
},
{
"key": "field_67efece36d2af",
"label": "Link",
"name": "link",
"aria-label": "",
"type": "link",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"return_format": "array",
"parent_repeater": "field_67efeb5e223df"
},
{
"key": "field_67f289dc6aa72",
"label": "Background color",
"name": "background_color",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": [],
"default_value": "none",
"return_format": "value",
"multiple": 0,
"allow_custom": 0,
"search_placeholder": "",
"allow_null": 0,
"ui": 1,
"ajax": 0,
"placeholder": "",
"parent_repeater": "field_67efeb5e223df"
},
{
"key": "field_67f28b0cfbfbc",
"label": "Custom background color",
"name": "background_color_custom",
"aria-label": "",
"type": "color_picker",
"instructions": "Beware WCAG rules for contrasts and readability",
"required": 0,
"conditional_logic": [
[
{
"field": "field_67f289dc6aa72",
"operator": "==",
"value": "custom-color"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"enable_opacity": 0,
"return_format": "string",
"parent_repeater": "field_67efeb5e223df"
}
]
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "mod-coloredcards"
}
],
[
{
"param": "block",
"operator": "==",
"value": "acf\/coloredcards"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "left",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_display_title": "",
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_meta": "",
"acfe_note": ""
}]

Loading