Commit 40108e9e authored by Antonio's avatar Antonio 🇪🇺

1.4.0 rc

parent 7f853a65
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -78,6 +78,7 @@ class StructuredContent_Shortcodes {
add_shortcode( 'sc_fs_job', [ $this, 'job' ] );
add_shortcode( 'sc_fs_event', [ $this, 'event' ] );
add_shortcode( 'sc_fs_person', [ $this, 'person' ] );
add_shortcode( 'sc_fs_course', [ $this, 'course' ] );
}
......@@ -290,25 +291,25 @@ class StructuredContent_Shortcodes {
if ( $merged_atts['elements'] === '' ) {
$single_atts = shortcode_atts(
[
'html' => 'true',
'title' => '',
'description' => $content,
'start_date' => '',
'end_date' => '',
'event_location' => '',
'street_address' => '',
'address_locality' => '',
'address_region' => '',
'postal_code' => '',
'address_country' => '',
'currency_code' => '',
'price' => '',
'image_id' => '',
'performer' => '',
'performer_name' => '',
'offer_availability' => '',
'offer_url' => '',
'offer_valid_from' => '',
'html' => 'true',
'title' => '',
'description' => $content,
'start_date' => '',
'end_date' => '',
'event_location' => '',
'street_address' => '',
'address_locality' => '',
'address_region' => '',
'postal_code' => '',
'address_country' => '',
'currency_code' => '',
'price' => '',
'image_id' => '',
'performer' => '',
'performer_name' => '',
'offer_availability' => '',
'offer_url' => '',
'offer_valid_from' => '',
], $atts
);
$single_atts['visible'] = $single_atts['html'] === 'true' ? true : false;
......@@ -435,6 +436,21 @@ class StructuredContent_Shortcodes {
'elements' => '',
), $atts );
if ( $merged_atts['elements'] === '' ) {
$single_atts = shortcode_atts(
[
'html' => 'true',
'title' => '',
'description' => $content,
'provider_name' => '',
'provider_same_as' => '',
], $atts
);
$single_atts['visible'] = $single_atts['html'] === 'true' ? true : false;
unset( $single_atts['html'] );
$merged_atts['elements'] = [ $single_atts ];
}
$merged_atts['headline_open_tag'] = '<' . $merged_atts["title_tag"] . '>';
$merged_atts['headline_close_tag'] = '</' . $merged_atts["title_tag"] . '>';
......
{"translation-revision-date":"2019-10-16 14:09+0200","generator":"WP-CLI\/2.2.0","source":"dist\/blocks.build.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de_DE","plural-forms":"nplurals=2; plural=(n != 1);"},"Provider Information":["Anbieterinformationen"],"Provider Name":["Anbietername"],"Same as (Website \/ Social Media)":["Same as (URL d. Website\/Social Media)"],"Event Meta":["Zusatzinfo"],"Name":["Name"],"Start Date":["Veranstaltungsbeginn"],"End Date":["Veranstaltungsende"],"Street":["Stra\u00dfe"],"Postal Code":["Postleitzahl"],"Locality":["Ort"],"Country ISO Code":["Land (ISO Code)"],"Region ISO Code":["Region (ISO Code)"],"Currency ISO Code":["W\u00e4hrung (ISO Code)"],"Price":["Preis"],"Company":["Firma"],"Logo":["Logo"],"Job Location":["Arbeitsort"],"Salary":["Gehalt"],"Unit":["Einheit"],"Hourly":["St\u00fcndlich"],"Daily":["T\u00e4glich"],"Weekly":["W\u00f6chentlich"],"Monthly":["Monatlich"],"Yearly":["J\u00e4hrlich"],"Value":["Wert"],"Job Meta":["Job-Details"],"Employment Type":["Besch\u00e4ftigungsart"],"Full Time":["Vollzeit"],"Part Time":["Teilzeit"],"Contractor":["Auftragnehmer"],"Temporary":["Befristet"],"Intern":["Praktikant"],"Volunteer":["Volont\u00e4r"],"Per Diem":["Tageweise"],"Other":["Andere"],"Valid Through":["G\u00fcltig bis"],"Personal":["Personenangaben"],"Job Title":["Berufsangaben"],"Image":["Bild hinzuf\u00fcgen"],"Contact":["Kontakt"],"E-Mail":["E-Mail"],"URL":["URL"],"Telephone":["Telefon"],"Address":["Adresse"],"Colleague":["Mitarbeiter"],"FAQ":["FAQ"],"faq question":["FAQ Frage"],"faq answer":["FAQ Antwort"],"structured-content":["structured content"],"Enter Your Question here...":["Frage hier eingeben ..."],"Remove Image":["Bild entfernen"],"Add Image":["Bild hinzuf\u00fcgen"],"Enter your answer here...":["Antwort hier eingeben."],"Question tag":["Fragen-Tag"],"CSS class":["CSS Klasse"],"additional css classes ...":["Zus\u00e4tzliche CSS-Klasse."],"Add One":["Hinzuf\u00fcgen"],"Job":["Job"],"job search":["Jobsuche"],"job offer":["Stellenangebot"],"Title tag":["Titel tag"],"Enter Your job title here...":["Hier Stellenbezeichnung eingeben."],"Enter your job description here...":["Hier Stellenbeschreibung eingeben."],"https:\/\/your-website.com":["https:\/\/website.de"],"Any Street 3A":["Beispielstrasse 3A"],"Any Postal Code":["12345"],"Any City":["Musterstadt"],"US":["DE"],"CA":["ST"],"USD":["EUR"],"Event":["Veranstaltung"],"event":["Veranstaltung"],"Enter Your Event Title...":["Hier Veranstaltungsbezeichnung eingeben."],"Enter your Event Description here...":["Hier Veranstaltungsbeschreibung eingeben."],"Event Location Name":["Name des Veranstaltungsortes"],"Event Location":["Veranstaltungsort"],"Person":["Person"],"person search":["Jobsuche"],"person offer":["Stellenangebot"],"http:\/\/www.xyz.edu\/students\/alicejones.html":["http:\/\/uni.de\/mitarbeiter\/otto-normal.html"],"Person Name":["Max Mustermann"],"Professor":["Professor"],"[email protected]":["[email protected]"],"http:\/\/www.janedoe.com":["http:\/\/www.website.de"],"(425) 123-4567":["(030) 12345-67"],"Course":["Kurse"],"course":["Kurs"],"Enter Your Course Name here...":["Hier Kursname eingeben."],"Enter your description here...":["Hier Kursbeschreibung eingeben."]}}}
\ No newline at end of file
This diff is collapsed.
# Copyright (C) 2019 Gordon Böhme, Antonio Leutsch
# This file is distributed under the same license as the Structured Content plugin.
msgid ""
msgstr ""
"Project-Id-Version: Structured Content 1.2.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/structured-content\n"
"Last-Translator: FULL NAME <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-07-15T08:20:20+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.2.0\n"
"X-Domain: structured-content\n"
#. Plugin Name of the plugin
#: includes/class-structuredcontent-register-tinymce.php:98
msgid "Structured Content"
msgstr ""
#. Plugin URI of the plugin
msgid "https://gitlab.com/webwirtschaft/structured-content"
msgstr ""
#. Description of the plugin
msgid "Pimp your content with some feature boxes, which labels the output with micro formats http://schema.org/"
msgstr ""
#. Author of the plugin
msgid "Gordon Böhme, Antonio Leutsch"
msgstr ""
#. Author URI of the plugin
msgid "https://gorbo.de/structured-content/"
msgstr ""
#: includes/class-structuredcontent-block-settings.php:88
msgid "Enable or disable blocks"
msgstr ""
#: class-structuredcontent.php:70
#: class-structuredcontent.php:82
msgid "Cheating huh?"
msgstr ""
#: src/shortcodes/event.php:29
#: dist/blocks.build.js:1
msgid "Event Meta"
msgstr ""
#: src/shortcodes/event.php:35
#: src/shortcodes/person.php:27
#: src/shortcodes/job.php:37
#: dist/blocks.build.js:1
msgid "Name"
msgstr ""
#: src/shortcodes/event.php:43
#: dist/blocks.build.js:1
msgid "Start Date"
msgstr ""
#: src/shortcodes/event.php:51
#: dist/blocks.build.js:1
msgid "End Date"
msgstr ""
#: src/shortcodes/event.php:63
msgid "EVENT Location"
msgstr ""
#: src/shortcodes/event.php:67
#: src/shortcodes/person.php:100
#: src/shortcodes/job.php:79
#: dist/blocks.build.js:1
msgid "Street"
msgstr ""
#: src/shortcodes/event.php:76
#: src/shortcodes/person.php:109
#: src/shortcodes/job.php:88
#: dist/blocks.build.js:1
msgid "Postal Code"
msgstr ""
#: src/shortcodes/event.php:84
#: src/shortcodes/person.php:117
#: src/shortcodes/job.php:96
#: dist/blocks.build.js:1
msgid "Locality"
msgstr ""
#: src/shortcodes/event.php:94
#: src/shortcodes/person.php:127
#: src/shortcodes/job.php:106
#: dist/blocks.build.js:1
msgid "Country ISO Code"
msgstr ""
#: src/shortcodes/event.php:102
#: src/shortcodes/person.php:135
#: src/shortcodes/job.php:114
#: dist/blocks.build.js:1
msgid "Region ISO Code"
msgstr ""
#: src/shortcodes/person.php:21
#: dist/blocks.build.js:1
msgid "Personal"
msgstr ""
#: src/shortcodes/person.php:35
#: dist/blocks.build.js:1
msgid "Job Title"
msgstr ""
#: src/shortcodes/person.php:46
#: dist/blocks.build.js:1
msgid "Image"
msgstr ""
#: src/shortcodes/person.php:65
#: dist/blocks.build.js:1
msgid "Contact"
msgstr ""
#: src/shortcodes/person.php:69
#: dist/blocks.build.js:1
msgid "E-Mail"
msgstr ""
#: src/shortcodes/person.php:77
#: src/shortcodes/person.php:149
#: dist/blocks.build.js:1
msgid "URL"
msgstr ""
#: src/shortcodes/person.php:85
#: dist/blocks.build.js:1
msgid "Telephone"
msgstr ""
#: src/shortcodes/person.php:96
#: dist/blocks.build.js:1
msgid "Address"
msgstr ""
#: src/shortcodes/person.php:145
#: dist/blocks.build.js:1
msgid "Colleague"
msgstr ""
#: src/shortcodes/job.php:31
#: dist/blocks.build.js:1
msgid "Company"
msgstr ""
#: src/shortcodes/job.php:45
#: dist/blocks.build.js:1
msgid "Same as (Website / Social Media)"
msgstr ""
#: src/shortcodes/job.php:56
#: dist/blocks.build.js:1
msgid "Logo"
msgstr ""
#: src/shortcodes/job.php:75
#: dist/blocks.build.js:1
msgid "Job Location"
msgstr ""
#: src/shortcodes/job.php:127
#: dist/blocks.build.js:1
msgid "Salary"
msgstr ""
#: src/shortcodes/job.php:131
#: dist/blocks.build.js:1
msgid "Unit"
msgstr ""
#: src/shortcodes/job.php:137
#: dist/blocks.build.js:1
msgid "Hourly"
msgstr ""
#: src/shortcodes/job.php:140
#: dist/blocks.build.js:1
msgid "Daily"
msgstr ""
#: src/shortcodes/job.php:143
#: dist/blocks.build.js:1
msgid "Weekly"
msgstr ""
#: src/shortcodes/job.php:146
#: dist/blocks.build.js:1
msgid "Monthly"
msgstr ""
#: src/shortcodes/job.php:149
#: dist/blocks.build.js:1
msgid "Yearly"
msgstr ""
#: src/shortcodes/job.php:158
#: dist/blocks.build.js:1
msgid "Currency ISO Code"
msgstr ""
#: src/shortcodes/job.php:166
#: dist/blocks.build.js:1
msgid "Value"
msgstr ""
#: src/shortcodes/job.php:177
#: dist/blocks.build.js:1
msgid "Job Meta"
msgstr ""
#: src/shortcodes/job.php:181
#: dist/blocks.build.js:1
msgid "Employment Type"
msgstr ""
#: src/shortcodes/job.php:187
#: dist/blocks.build.js:1
msgid "Full Time"
msgstr ""
#: src/shortcodes/job.php:190
#: dist/blocks.build.js:1
msgid "Part Time"
msgstr ""
#: src/shortcodes/job.php:193
#: dist/blocks.build.js:1
msgid "Contractor"
msgstr ""
#: src/shortcodes/job.php:196
#: dist/blocks.build.js:1
msgid "Temporary"
msgstr ""
#: src/shortcodes/job.php:199
#: dist/blocks.build.js:1
msgid "Intern"
msgstr ""
#: src/shortcodes/job.php:202
#: dist/blocks.build.js:1
msgid "Volunteer"
msgstr ""
#: src/shortcodes/job.php:205
#: dist/blocks.build.js:1
msgid "Per Diem"
msgstr ""
#: src/shortcodes/job.php:208
#: dist/blocks.build.js:1
msgid "Other"
msgstr ""
#: src/shortcodes/job.php:216
#: dist/blocks.build.js:1
msgid "Valid Through"
msgstr ""
#: dist/blocks.build.js:1
msgid "FAQ"
msgstr ""
#: dist/blocks.build.js:1
msgid "faq question"
msgstr ""
#: dist/blocks.build.js:1
msgid "faq answer"
msgstr ""
#: dist/blocks.build.js:1
msgid "structured-content"
msgstr ""
#: dist/blocks.build.js:1
msgid "Image Settings"
msgstr ""
#: dist/blocks.build.js:1
msgid "Add Image"
msgstr ""
#: dist/blocks.build.js:1
msgid "Remove Image"
msgstr ""
#: dist/blocks.build.js:1
msgid "Question tag"
msgstr ""
#: dist/blocks.build.js:1
msgid "Image description"
msgstr ""
#: dist/blocks.build.js:1
msgid "Enter an image description here ..."
msgstr ""
#: dist/blocks.build.js:1
msgid "CSS class"
msgstr ""
#: dist/blocks.build.js:1
msgid "additional css classes ..."
msgstr ""
#: dist/blocks.build.js:1
msgid "Render HTML"
msgstr ""
#: dist/blocks.build.js:1
msgid "Enter Your Question here..."
msgstr ""
#: dist/blocks.build.js:1
msgid "Enter your answer here..."
msgstr ""
#: dist/blocks.build.js:1
msgid "Job"
msgstr ""
#: dist/blocks.build.js:1
msgid "job search"
msgstr ""
#: dist/blocks.build.js:1
msgid "job offer"
msgstr ""
#: dist/blocks.build.js:1
msgid "Title tag"
msgstr ""
#: dist/blocks.build.js:1
msgid "Enter Your job title here..."
msgstr ""
#: dist/blocks.build.js:1
msgid "Enter your job description here..."
msgstr ""
#: dist/blocks.build.js:1
msgid "https://your-website.com"
msgstr ""
#: dist/blocks.build.js:1
msgid "Any Street 3A"
msgstr ""
#: dist/blocks.build.js:1
msgid "Any Postal Code"
msgstr ""
#: dist/blocks.build.js:1
msgid "Any City"
msgstr ""
#: dist/blocks.build.js:1
msgid "US"
msgstr ""
#: dist/blocks.build.js:1
msgid "CA"
msgstr ""
#: dist/blocks.build.js:1
msgid "USD"
msgstr ""
#: dist/blocks.build.js:1
msgid "Event"
msgstr ""
#: dist/blocks.build.js:1
msgid "event"
msgstr ""
#: dist/blocks.build.js:1
msgid "Enter Your Event Title..."
msgstr ""
#: dist/blocks.build.js:1
msgid "Enter your Event Description here..."
msgstr ""
#: dist/blocks.build.js:1
msgid "Event Location Name"
msgstr ""
#: dist/blocks.build.js:1
msgid "Event Location"
msgstr ""
#: dist/blocks.build.js:1
msgid "Person"
msgstr ""
#: dist/blocks.build.js:1
msgid "person search"
msgstr ""
#: dist/blocks.build.js:1
msgid "person offer"
msgstr ""
#: dist/blocks.build.js:1
msgid "http://www.xyz.edu/students/alicejones.html"
msgstr ""
#: dist/blocks.build.js:1
msgid "Person Name"
msgstr ""
#: dist/blocks.build.js:1
msgid "Professor"
msgstr ""
#: dist/blocks.build.js:1
msgid "[email protected]"
msgstr ""
#: dist/blocks.build.js:1
msgid "http://www.janedoe.com"
msgstr ""
#: dist/blocks.build.js:1
msgid "(425) 123-4567"
msgstr ""
#: dist/blocks.build.js:1
msgid "Add One"
msgstr ""
......@@ -2,14 +2,14 @@
# This file is distributed under the same license as the Structured Content plugin.
msgid ""
msgstr ""
"Project-Id-Version: Structured Content 1.2.0\n"
"Project-Id-Version: Structured Content 1.4.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/structured-content\n"
"Last-Translator: FULL NAME <[email protected]>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2019-07-15T08:20:20+00:00\n"
"POT-Creation-Date: 2019-11-09T10:26:56+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.2.0\n"
"X-Domain: structured-content\n"
......@@ -39,234 +39,281 @@ msgstr ""
msgid "Enable or disable blocks"
msgstr ""
#: class-structuredcontent.php:70
#: class-structuredcontent.php:82
msgid "Cheating huh?"
#: class-structuredcontent.php:79
#: class-structuredcontent.php:91
msgid "Ahh not so funny Dude?"
msgstr ""
#: src/shortcodes/event.php:29
#: shortcodes/event.php:40
#: dist/blocks.build.js:1
msgid "Event Meta"
msgstr ""
#: src/shortcodes/event.php:35
#: src/shortcodes/person.php:27
#: src/shortcodes/job.php:37
#: shortcodes/event.php:46
#: shortcodes/event.php:137
#: shortcodes/person.php:27
#: shortcodes/job.php:35
#: dist/blocks.build.js:1
msgid "Name"
msgstr ""
#: src/shortcodes/event.php:43
#: shortcodes/event.php:54
#: dist/blocks.build.js:1
msgid "Start Date"
msgstr ""
#: src/shortcodes/event.php:51
#: shortcodes/event.php:62
#: dist/blocks.build.js:1
msgid "End Date"
msgstr ""
#: src/shortcodes/event.php:63
#: shortcodes/event.php:73
msgid "EVENT Location"
msgstr ""
#: src/shortcodes/event.php:67
#: src/shortcodes/person.php:100
#: src/shortcodes/job.php:79
#: shortcodes/event.php:77
#: shortcodes/person.php:100
#: shortcodes/job.php:77
#: dist/blocks.build.js:1
msgid "Street"
msgstr ""
#: src/shortcodes/event.php:76
#: src/shortcodes/person.php:109
#: src/shortcodes/job.php:88
#: shortcodes/event.php:86
#: shortcodes/person.php:109
#: shortcodes/job.php:86
#: dist/blocks.build.js:1
msgid "Postal Code"
msgstr ""
#: src/shortcodes/event.php:84
#: src/shortcodes/person.php:117
#: src/shortcodes/job.php:96
#: shortcodes/event.php:94
#: shortcodes/person.php:117
#: shortcodes/job.php:94
#: dist/blocks.build.js:1
msgid "Locality"
msgstr ""
#: src/shortcodes/event.php:94
#: src/shortcodes/person.php:127
#: src/shortcodes/job.php:106
#: shortcodes/event.php:104
#: shortcodes/person.php:127
#: shortcodes/job.php:104
#: dist/blocks.build.js:1
msgid "Country ISO Code"
msgstr ""
#: src/shortcodes/event.php:102
#: src/shortcodes/person.php:135
#: src/shortcodes/job.php:114
#: shortcodes/event.php:112
#: shortcodes/person.php:135
#: shortcodes/job.php:112
#: dist/blocks.build.js:1
msgid "Region ISO Code"
msgstr ""
#: src/shortcodes/person.php:21
#: shortcodes/event.php:125
msgid "PERFORMER"
msgstr ""
#: shortcodes/event.php:129
#: dist/blocks.build.js:1
msgid "Type"
msgstr ""
#: shortcodes/event.php:148
#: dist/blocks.build.js:1
msgid "Offer"
msgstr ""
#: shortcodes/event.php:153
#: dist/blocks.build.js:1
msgid "Availability"
msgstr ""
#: shortcodes/event.php:161
#: dist/blocks.build.js:1
msgid "Ticket Website"
msgstr ""
#: shortcodes/event.php:172
#: shortcodes/job.php:155
#: dist/blocks.build.js:1
msgid "Currency ISO Code"
msgstr ""
#: shortcodes/event.php:180
#: dist/blocks.build.js:1
msgid "Price"
msgstr ""
#: shortcodes/event.php:189
#: dist/blocks.build.js:1
msgid "Valid From"
msgstr ""
#: shortcodes/person.php:21
#: dist/blocks.build.js:1
msgid "Personal"
msgstr ""
#: src/shortcodes/person.php:35
#: shortcodes/person.php:35
#: dist/blocks.build.js:1
msgid "Job Title"
msgstr ""
#: src/shortcodes/person.php:46
#: shortcodes/person.php:46
#: dist/blocks.build.js:1
msgid "Image"
msgstr ""
#: src/shortcodes/person.php:65
#: shortcodes/person.php:65
#: dist/blocks.build.js:1
msgid "Contact"
msgstr ""
#: src/shortcodes/person.php:69
#: shortcodes/person.php:69
#: dist/blocks.build.js:1
msgid "E-Mail"
msgstr ""
#: src/shortcodes/person.php:77
#: src/shortcodes/person.php:149
#: shortcodes/person.php:77
#: shortcodes/person.php:149
#: dist/blocks.build.js:1
msgid "URL"
msgstr ""
#: src/shortcodes/person.php:85
#: shortcodes/person.php:85
#: dist/blocks.build.js:1
msgid "Telephone"
msgstr ""
#: src/shortcodes/person.php:96
#: shortcodes/person.php:96
#: dist/blocks.build.js:1
msgid "Address"
msgstr ""
#: src/shortcodes/person.php:145
#: shortcodes/person.php:145
#: dist/blocks.build.js:1
msgid "Colleague"
msgstr ""
#: src/shortcodes/job.php:31
#: shortcodes/course.php:27
#: dist/blocks.build.js:1
msgid "Company"
msgid "Provider Information"
msgstr ""