diff --git a/README.md b/README.md index 2fc7466..ce63884 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# [![Formality](https://formality.dev/download/logo-github.svg)](https://formality.dev) ![license](https://img.shields.io/github/license/michelegiorgi/formality?color=%231B4DDB&style=flat-square) ![license](https://img.shields.io/github/v/release/michelegiorgi/formality?color=%231B4DDB&style=flat-square) +[![Formality](https://formality.dev/download/logo-github-2.svg)](https://formality.dev) +# Formality ![license](https://img.shields.io/github/license/michelegiorgi/formality?color=%230A01B3&style=flat-square) ![license](https://img.shields.io/github/v/release/michelegiorgi/formality?color=%230A01B3&style=flat-square) **[New plugin website](https://formality.dev)**  |  [Wordpress.org page](https://wordpress.org/plugins/formality)  |  [Donate link](https://www.paypal.me/michelegiorgi/) Designless, multistep, conversational, secure, all-in-one WordPress forms plugin. @@ -10,7 +11,7 @@ If you are not a developer, please download the latest release of the Formality ## Requirements -* [WordPress](https://wordpress.org/) >= 5.6 +* [WordPress](https://wordpress.org/) >= 5.7 ## Plugin setup diff --git a/admin/class-formality-admin.php b/admin/class-formality-admin.php index 25e9160..a9cb9e6 100755 --- a/admin/class-formality-admin.php +++ b/admin/class-formality-admin.php @@ -95,68 +95,103 @@ public function link_website( $links, $file ) { return $links; } - public function welcome_notice() { + public function admin_header() { global $pagenow, $typenow; - if ('edit.php' === $pagenow && strpos($typenow, 'formality_') !== false) { + if(strpos($typenow, 'formality_') !== false) { global $wp_post_types; $labels = $wp_post_types[$typenow]->labels; ?>
-

name; ?>

- - - formality, $this->version ); ?> - add_new; ?> - - -
- -
-

-

-
-
-

- generate_sample_link_url(); ?> - -

generate a couple of sample forms to practice with', 'formality'), $samplelink); ?>

-

import your forms with the WordPress import tool', 'formality'), admin_url('admin.php?import=wordpress')); ?>

- - - - -
-
-

-
    -
  • -
  • -
  • -
  • -
-
-
-

-

making a donation, or rate this plugin with a 5 stars review on the WordPress plugin directory. You can also subscribe to our newsletter (max once a month).', 'formality'), 'https://www.paypal.me/michelegiorgi/" target="_blank', 'https://wordpress.org/support/plugin/formality/reviews/?filter=5#new-post" target="_blank'); ?>

-
- - -
-
-
+

+ + */ + echo sprintf(__('Results for %s', 'formality'), $object->name); + } else { + echo $labels->name; + } + } else { + echo $labels->singular_name . ' ' . get_the_ID(); + } + ?> +

+ response )) { + $updates = array_keys($update_plugins->response); + foreach ($updates as $update) { if($update == 'formality/formality.php') { $updated = false; }} + } + echo '' . $this->version . ''; + ?> + formality, $this->version ); + $results->export_panel(str_replace("form_","",$object->slug)); + } + } else if ($pagenow == 'edit.php' && $typenow == 'formality_form') { + $templates = get_option('formality_templates', 0); + $plugin_tools = new Formality_Tools( $this->formality, $this->version ); + $total = $GLOBALS['wp_query']->found_posts; ?> + add_new; ?> + + +
+ +
+

+

+
+
+

+ generate_sample_link_url(); ?> + + + +

generate a couple of sample forms to practice with', 'formality'), $samplelink); ?>

+

import your forms with the WordPress import tool', 'formality'), admin_url('admin.php?import=wordpress')); ?>

+ + + + +
+
+

+
    +
  • +
  • +
  • +
  • +
+
+
+

+

making a donation, or rate this plugin with a 5 stars review on the WordPress plugin directory. You can also subscribe to our newsletter (max once a month).', 'formality'), 'https://www.paypal.me/michelegiorgi/" target="_blank', 'https://wordpress.org/support/plugin/formality/reviews/?filter=5#new-post" target="_blank'); ?>

+
+ + +
+
+
+
-
+ -

'.$notice[1].'

'; delete_option('formality_notice'); diff --git a/admin/class-formality-editor.php b/admin/class-formality-editor.php index d59a368..da8df6d 100755 --- a/admin/class-formality-editor.php +++ b/admin/class-formality-editor.php @@ -263,9 +263,8 @@ public function prevent_classic_editor($can_edit, $post) { return $can_edit; } - public function remove_editor_styles() { - global $current_screen; - if('formality_form' == $current_screen->post_type) { + public function remove_3rdparty_styles($screen) { + if(property_exists($screen, 'post_type') && 'formality_form' == $screen->post_type) { remove_editor_styles(); } } diff --git a/admin/class-formality-notifications.php b/admin/class-formality-notifications.php index 40b42cc..f745f5f 100755 --- a/admin/class-formality-notifications.php +++ b/admin/class-formality-notifications.php @@ -46,8 +46,8 @@ public function email_content_type(){ } public function email_content($content="", $data){ - $file_name = 'notification-formality.php'; - $file_path = locate_template($file_name) ? locate_template($file_name) : plugin_dir_path(__DIR__) . "public/templates/notification.php"; + $file_name = 'formality-notification.php'; + $file_path = locate_template($file_name) ? locate_template($file_name) : plugin_dir_path(__DIR__) . "public/templates/" . $file_name; $result_link = get_admin_url() . 'post.php?post=' .$data['result_id']. '&action=edit'; $results_link = get_admin_url() . 'post.php?post=' .$data['form_id']. '&action=edit'; $title = $data['form_title']; diff --git a/admin/class-formality-results.php b/admin/class-formality-results.php index c418ad3..5c4d85e 100755 --- a/admin/class-formality-results.php +++ b/admin/class-formality-results.php @@ -20,6 +20,11 @@ public function __construct( $formality, $version ) { $this->version = $version; } + /** + * Change post status on first view + * + * @since 1.0 + */ public function auto_publish() { global $pagenow; $postid = isset($_GET['post']) ? absint($_GET['post']) : 0; @@ -33,6 +38,11 @@ public function auto_publish() { } } + /** + * Render unread result counter after Formality menu label + * + * @since 1.0 + */ public function unread_bubble($menu) { $count = 0; $status = "unread"; @@ -46,6 +56,11 @@ public function unread_bubble($menu) { return $menu; } + /** + * Define "unread" post status + * + * @since 1.0 + */ public function unread_status(){ register_post_status( 'unread', array( 'label' => __( 'Unread', 'formality' ), @@ -57,10 +72,20 @@ public function unread_status(){ )); } + /** + * Define result view meta box + * + * @since 1.0 + */ public function metaboxes() { add_meta_box('result_data', 'Result data', array( $this, 'result_data' ), 'formality_result', 'normal', 'high'); } + /** + * Render result data + * + * @since 1.0 + */ public function result_data($result_id = 0, $echo = true) { $header = ' @@ -121,6 +146,11 @@ public function result_data($result_id = 0, $echo = true) { } } + /** + * Render result field + * + * @since 1.0 + */ public function field($result_id, $block, $index) { if(!isset($block["attrs"]['exclude'])) { $fieldname = "field_" . $block["attrs"]["uid"]; @@ -149,22 +179,40 @@ public function field($result_id, $block, $index) { } } + /** + * Define id column on results archive page + * + * @since 1.0 + */ public function column_id($defaults){ $new = array(); foreach($defaults as $key => $title) { - if ($key=='title') + if ($key=='title') { $new['formality_uid'] = __('ID', 'formality'); - $new[$key] = $title; + $new[$key] = __('First filled field', 'formality'); + } else { + $new[$key] = $title; + } } return $new; } + /** + * Render result id on results archive page + * + * @since 1.0 + */ public function column_id_value($column_name, $id){ if($column_name === 'formality_uid'){ echo '' . $id . ''; } } + /** + * Mark as read/unread function + * + * @since 1.0 + */ public function mark_as() { if (! ( isset( $_GET['result']) || ( isset($_REQUEST['action']) && 'mark_as_formality_result' == $_REQUEST['action'] ) ) ) { wp_die(__("No result to mark as read has been supplied!", "formality")); @@ -191,20 +239,26 @@ public function mark_as() { } } + /** + * Render "mark as read/unread" links on results archive page + * + * @since 1.0 + */ public function mark_as_link($actions, $post) { if (current_user_can('edit_posts') && $post->post_type=='formality_result') { $status = $post->post_status; - if($status == "unread") { - $link_label = __("Mark as read", "formality"); - } else { - $link_label = __("Mark as unread", "formality"); - } + $link_label = $status == "unread" ? __("Mark as read", "formality") : __("Mark as unread", "formality"); $link = wp_nonce_url('admin.php?action=mark_as_formality_result&result=' . $post->ID, basename(__FILE__), 'mark_as_nonce' ); $actions['mark_as'] = ''.$link_label.''; } return $actions; } + /** + * Mark all as read function + * + * @since 1.0 + */ public function mark_all_as_read() { if (! (isset($_REQUEST['action']) && 'mark_all_formality_result' == $_REQUEST['action']) ) { wp_die(__("No result to mark as read has been supplied!", "formality")); @@ -230,6 +284,11 @@ public function mark_all_as_read() { } } + /** + * Render "mark all as read" link on results archive pages + * + * @since 1.0 + */ public function mark_all_as_read_link($post_type, $which) { if($post_type == 'formality_result') { $num_posts = wp_count_posts( "formality_result", 'readable' ); @@ -241,4 +300,300 @@ public function mark_all_as_read_link($post_type, $which) { } } + /** + * Export results function + * + * @since 1.4 + */ + public function export() { + $response = array(); + + if(!(isset( $_GET['form_id']) && isset($_REQUEST['action']) && 'export_formality_result' == $_REQUEST['action'])) { + $response['error'] = __("No results to export!", "formality"); + } + + if(!isset( $_GET['export_nonce'] ) || !wp_verify_nonce( $_GET['export_nonce'], basename( __FILE__ ))) { + $response['error'] = __("Wrong nonce", "formality"); + }; + + $form_id = isset($_GET['form_id']) ? absint($_GET['form_id']) : 0; + if(!$form_id) { + $response['error'] = __("No results to export!", "formality"); + } + + if(!current_user_can('edit_posts')) { + $response['error'] = __("You don't have permission to export these results", "formality"); + } + + header('Content-type: application/json'); + + if(!isset($response['error'])) { + + //create upload folders if needed + $upload = new Formality_Upload($this->formality, $this->version); + $upload_dir = $upload->get_upload_dir('exports'); + if(!file_exists($upload_dir['htaccess'])) { $upload->create_upload_dir(); } + if(!is_dir($upload_dir['path'])) { wp_mkdir_p($upload_dir['path']); } + $temp_path = path_join($upload_dir['path'], 'progress.csv'); + + //exit if is a progress request + if(isset($_GET['progress']) && $_GET['progress'] && file_exists($temp_path)) { + $output = fopen($temp_path, 'r'); + $progress = -1; + while($content = fgetcsv($output)){ $progress++; } + fclose($output); + $response['progress'] = $progress; + echo json_encode($response); + exit; + } else if(isset($_GET['cleanup']) && $_GET['cleanup']) { + $files = array_diff(scandir($upload_dir['path']), array('.', '..')); + foreach($files as $file) { wp_delete_file(path_join($upload_dir['path'], $file)); } + $response['cleanup'] = 1; + echo json_encode($response); + exit; + }; + + //build columns + $columns = array(); + $form_title = ''; + if(isset($_GET['field_id']) && $_GET['field_id']) { $columns[] = array( 'id' => 'field_id', 'type' => false, 'name' => 'ID' ); } + if(isset($_GET['field_date']) && $_GET['field_date']) { $columns[] = array( 'id' => 'field_date', 'type' => false, 'name' => 'Date' ); } + if(isset($_GET['field_author']) && $_GET['field_author']) { $columns[] = array( 'id' => 'field_author', 'type' => false, 'name' => 'Author' ); } + $form_query = new WP_Query(array( 'post_type' => 'formality_form', 'p' => $form_id, 'posts_per_page' => 1 )); + while ( $form_query->have_posts() ) : $form_query->the_post(); + if(has_blocks()) { + $blocks = parse_blocks(get_the_content()); + $form_title = get_the_title(); + foreach ( $blocks as $block ) { + if($block['blockName']) { + $type = str_replace("formality/","",$block['blockName']); + if($type !== 'step' && $type !== 'message' && $type !== 'media') { + $field = "field_" . $block["attrs"]["uid"]; + if(isset($_GET[$field]) && $_GET[$field]) { + $columns[] = array( + 'id' => $field, + 'type' => $type, + 'name' => isset($block["attrs"]["name"]) ? $block["attrs"]["name"] : __("Field name", "formality") + ); + } + } + } + } + } + endwhile; + wp_reset_query(); + wp_reset_postdata(); + + //build rows + if(count($columns) < 2) { $response['error'] = __("No results to export!", "formality"); } + $limit = isset($_GET['export_limit']) && $_GET['export_limit'] ? intval($_GET['export_limit']) : -1; + $skip = isset($_GET['export_skip']) && $_GET['export_skip'] ? intval($_GET['export_skip']) : 0; + $order = isset($_GET['export_order']) && $_GET['export_order'] == 'asc' ? 'ASC' : 'DESC'; + $status = isset($_GET['export_status']) && in_array($_GET['export_status'], array('any', 'publish', 'unread'), true) ? $_GET['export_status'] : 'any'; + $month = isset($_GET['export_month']) && $_GET['export_month'] ? intval($_GET['export_month']) : false; + $resume = isset($_GET['resume']) && $_GET['resume'] ? true : false; + $csv_filename = 'formality_' . sanitize_title($form_title) . '_' . date('Ymd_Hi') . '.csv'; + + if($resume && file_exists($temp_path)) { + //count temp export file rows + $output = fopen($temp_path, 'r'); + $progress = -1; + while(!feof($output)){ + $line = fgets($output); + $progress++; + } + $skip = $skip - $progress; + fclose($output); + //open temp file + $output = fopen($temp_path, 'a'); + } else { + //delete old export files + $files = array_diff(scandir($upload_dir['path']), array('.', '..')); + foreach($files as $file) { wp_delete_file(path_join($upload_dir['path'], $file)); } + //create new export file with header row + $output = fopen($temp_path, 'w'); + fputs($output, $bom =( chr(0xEF) . chr(0xBB) . chr(0xBF) )); + $row = array(); + foreach($columns as $column) { $row[] = $column['name']; } + fputcsv($output, $row); + } + + $result_query = new WP_Query(array( + 'post_type' => 'formality_result', + 'posts_per_page' => $limit, + 'offset' => $skip, + 'order' => $order, + 'post_status' => $status, + 'm' => $month, + 'tax_query' => array( + array( + 'taxonomy' => 'formality_tax', + 'field' => 'slug', + 'terms' => 'form_' . $form_id, + ), + ), + )); + while ( $result_query->have_posts() ) : $result_query->the_post(); + $row = array(); + $result_id = get_the_ID(); + $fields = get_post_meta( $result_id ); + foreach($columns as $column) { + $field = $column['id'] ?? false; + $value = isset($fields[$field]) ? maybe_unserialize($fields[$field][0]) : ''; + if(is_array($value)) { $value = implode(', ', $value); } + if($field == 'field_id') { + $row[] = $result_id; + } else if($field == 'field_date') { + $row[] = get_the_date(); + } else if($field == 'field_author') { + $row[] = get_the_author() ? get_the_author() : __('Guest', 'formality'); + } else { + $row[] = $value; + } + } + fputcsv($output, $row); + endwhile; + wp_reset_query(); + wp_reset_postdata(); + fclose($output); + } + + $final_name = wp_unique_filename($upload_dir['path'], $csv_filename); + rename($temp_path, path_join($upload_dir['path'], $final_name)); + if(!isset($response['error'])) { + $response['url'] = path_join($upload_dir['url'], $final_name); + $response['file'] = $csv_filename; + } + echo json_encode($response); + exit; + } + + /** + * Render export panel on results archive page + * + * @since 1.4 + */ + public function export_panel($form_id){ + $total = $GLOBALS['wp_query']->found_posts; ?> + + + + + + + + diff --git a/assets/scripts/admin.js b/assets/scripts/admin.js index 04b02f7..1c737bd 100644 --- a/assets/scripts/admin.js +++ b/assets/scripts/admin.js @@ -2,5 +2,9 @@ import 'jquery'; import init from './admin/init' +import exports from './admin/export' -jQuery(document).ready(() => init()); \ No newline at end of file +jQuery(document).ready(() => { + init() + exports() +}); diff --git a/assets/scripts/admin/export.js b/assets/scripts/admin/export.js new file mode 100644 index 0000000..eb06b9a --- /dev/null +++ b/assets/scripts/admin/export.js @@ -0,0 +1,157 @@ +const { __ } = wp.i18n + + +export default function() { + + let exportToggle = document.querySelector('.formality-export-toggle') + let exportPanel = document.querySelector('.export-panel') + let exportForm + let exportLink + let exportMessage + let exportProgressbar + let exportCheck + let exportTimer + let exportCleanup + let exportTime = 0; + let exportTotal = 0; + + if(typeof(exportPanel) != 'undefined' && exportPanel != null){ + + exportForm = exportPanel.querySelector('form') + exportLink = exportForm.querySelector('.export-result > a') + exportMessage = exportForm.querySelector('.export-result > p') + exportProgressbar = exportForm.querySelector('.progress > .bar') + exportCleanup = exportForm.querySelector('.export-cleanup > a') + + exportToggle.addEventListener('click', function(e){ + e.preventDefault(); + exportPanel.classList.toggle('hidden'); + }) + + exportForm.addEventListener('submit', function(e){ + e.preventDefault(); + exportSubmit() + }) + + exportForm.addEventListener("input", function () { + exportStats() + }); + + exportCleanup.addEventListener('click', function(e){ + e.preventDefault(); + const cleanupurl = exportCleanup.getAttribute('href') + fetch(cleanupurl, { method: 'get' }) + .then((response) => { + exportLink.setAttribute('href', '') + exportLink.setAttribute('download', '') + exportLink.innerText = ''; + }) + }) + } + + function exportStats(count=true, progress=0) { + if(count) { + const limit = parseInt(document.querySelector('input[name="export_limit"]').value) + const offset = parseInt(document.querySelector('input[name="export_skip"]').value) + const month = parseInt(document.querySelector('select[name="export_month"]').selectedOptions[0].getAttribute('data-results')) + exportTotal = Math.max(Math.min(limit, month - offset), 0); + } + let time = progress ? parseInt((exportTime * exportTotal) / progress) - exportTime : Math.max(1, parseInt(exportTotal / 10)) + document.querySelector('.export-total-live').innerText = exportTotal; + document.querySelector('.export-count-progress').innerText = progress; + document.querySelector('.export-time-remaining').innerText = time; + } + + function exportResume(url, error) { + if(exportTime > 10) { + if(!url.searchParams.get('resume')) { + url.searchParams.append('resume', 1) + } + exportRequest(url) + } else { + exportError(error) + } + } + + function exportProgress(url) { + let progressurl = new URL(url); + progressurl.searchParams.append('progress', 1) + fetch(progressurl, { method: 'get' }) + .then((response) => { if (response.ok) { return response.json(); } else { throw ''; } }) + .then(data => { + if('progress' in data) { + const progress = parseInt(data.progress); + const percent = Math.min(parseInt(progress * 100 / exportTotal), 100) + exportProgressbar.style.width = percent + '%'; + exportStats(false, progress) + } + }) + .catch((error) => {}); + exportCheck = setTimeout(function() { exportProgress(url) }, 5000) + } + + function exportSubmit() { + if(!exportForm.classList.contains('loading')) { + exportLink.innerText = ''; + exportProgressbar.style.width = '0%'; + exportForm.classList.add('loading'); + exportStats() + let url = new URL(exportForm.getAttribute('action')); + for (const pair of new FormData(exportForm)) { url.searchParams.append(pair[0], pair[1]); } + exportCheck = setTimeout(function() { exportProgress(url) }, 5000) + exportTimer = setInterval(function(){ exportTime++ }, 1000) + exportRequest(url) + } + } + + function exportRequest(url) { + fetch(url, { method: 'get' }) + .then((response) => { + if (response.ok) { + return response.json(); + } else { + throw ''; + } + }) + .then(data => { + if('url' in data) { + exportSuccess(data) + } else { + exportError('error' in data ? data.error : '') + } + }) + .catch((error) => { + exportResume(url, error) + }); + } + + function exportSuccess(data) { + exportProgressbar.style.width = '100%'; + document.querySelector('.export-count-progress').innerText = exportTotal; + clearTimeout(exportCheck) + clearInterval(exportTimer) + exportTime = 0; + setTimeout(function(){ + exportForm.classList.remove('loading'); + const filename = document.querySelector('input[name="export_filename"]').value + exportLink.setAttribute('href', data.url) + exportLink.setAttribute('download', filename ? filename + '.csv' : data.file) + exportLink.innerText = __('Download now', 'formality'); + let click = document.createEvent('MouseEvents') + click.initEvent('click' ,true ,true) + exportLink.dispatchEvent(click) + }, 800) + } + + function exportError(message) { + message = message || __('Something went wrong', 'formality'); + exportProgressbar.style.width = '0%'; + exportTime = 0; + clearTimeout(exportCheck) + clearInterval(exportTimer) + setTimeout(function(){ + exportForm.classList.remove('loading'); + exportMessage.innerText = message + }, 800) + } +} diff --git a/assets/scripts/admin/init.js b/assets/scripts/admin/init.js index 61e1993..72b14ea 100644 --- a/assets/scripts/admin/init.js +++ b/assets/scripts/admin/init.js @@ -12,8 +12,8 @@ export default function() { $('.formality-welcome-toggle').removeClass('loading') }) }) - - //newsletter + + //newsletter $(".formality-newsletter").submit(function(e) { e.preventDefault() const $form = $(this) @@ -43,7 +43,7 @@ export default function() { $resultElement.html(error); }, success: function(data){ - $form.removeClass("loading"); + $form.removeClass("loading"); var message = data.msg || error; $resultElement.text(message); }, @@ -51,4 +51,4 @@ export default function() { } } }) -} \ No newline at end of file +} diff --git a/assets/styles/admin.scss b/assets/styles/admin.scss index 433dd21..f5b6a81 100755 --- a/assets/styles/admin.scss +++ b/assets/styles/admin.scss @@ -1,7 +1,7 @@ //Formality admin stylesheet -@import "admin/welcome"; -@import "admin/list"; +@import "admin/header"; +@import "admin/results"; @import "admin/icons"; @import "admin/menu"; @import "admin/sidebar"; diff --git a/assets/styles/admin/welcome.scss b/assets/styles/admin/header.scss similarity index 50% rename from assets/styles/admin/welcome.scss rename to assets/styles/admin/header.scss index c9b3540..21881ff 100644 --- a/assets/styles/admin/welcome.scss +++ b/assets/styles/admin/header.scss @@ -1,30 +1,44 @@ .wrap--formality { + position: relative; + margin-bottom: 16px; > h1:first-child { - padding-top: 10px; padding-bottom: 0; - a { - font-size: 1.15em; + @media(max-width: 782px) { + margin-bottom: 0.75em; + } + i:first-child { display: inline-block; - vertical-align: middle; - margin: 0 0.4em 0 0; - border-right: 1px solid #ccd0d4; - padding-right: 0.4em; - pointer-events: none; - text-decoration: none; + position: relative; + margin-right: 0.4em; + height: 10px; + width: 42px; + &:before { + position: absolute; + border-radius: 3px; + left: 0; + top: -18px; + content: ""; + background: #0A01B3; + width: 42px; + height: 39px; + display: block; + background-image: url(../images/logo.svg); + background-position: center; + background-repeat: no-repeat; + background-size: 100% auto; + } } } .welcome-panel { - margin-top: 14px; - padding-bottom: 10px; + margin-top: 18px; + margin-bottom: 0; + padding-bottom: 20px; .button.button-hero { margin-top: 5px; margin-bottom: 15px; + p { margin-bottom: 5px; } - + p + p { - - } } .badge { font-size: 0.6em; @@ -38,11 +52,12 @@ padding: 0 0.25em; font-weight: bold; color: #0073aa; + line-height: 1.5; &:before { content: "new"; } } - form { + form.formality-newsletter { input[type=checkbox] { height: 0.8rem; width: 0.8rem; @@ -64,12 +79,45 @@ } } } + a.formality-welcome-toggle { + color: inherit; + } } - a.formality-welcome-toggle { + .formality-header-version { margin-top: -4px; float: right; margin-right: 8px; text-decoration: none; + font-weight: bold; + @media(max-width: 782px) { + display: none; + } + &:before { + content: "v"; + } + &:after { + content: ""; + display: inline-block; + width: 0.6em; + height: 0.6em; + vertical-align: baseline; + margin-left: 0.3rem; + border-radius: 0.3em; + background: #fec343; + } + &.updated { + &:after { + background: #25e489; + } + } + } + a.formality-welcome-toggle { + margin-top: -4px; + float: right; + margin-right: 12px; + @media(max-width: 782px) { + display: none; + } i { vertical-align: middle; } @@ -99,4 +147,18 @@ margin-bottom: 8px; } } -} \ No newline at end of file +} + +body.post-type-formality_form, +body.post-type-formality_result { + #screen-meta-links { + position: relative; + z-index: 1; + @media(max-width: 782px) { + margin-bottom: 0; + } + } + #screen-meta { + position: relative; + } +} diff --git a/assets/styles/admin/list.scss b/assets/styles/admin/results.scss similarity index 51% rename from assets/styles/admin/list.scss rename to assets/styles/admin/results.scss index 5e89efe..9b169c2 100644 --- a/assets/styles/admin/list.scss +++ b/assets/styles/admin/results.scss @@ -69,6 +69,9 @@ } &.type-formality_result { td.formality_uid { + &:before { + display: none !important; + } span { display: inline-block; text-transform: uppercase; @@ -79,6 +82,9 @@ //color: white; border-radius: 2px; vertical-align: middle; + &:before { + content: none; + } } } &.status-unread { @@ -111,4 +117,147 @@ content: "Guest"; } } -} \ No newline at end of file +} + +#result_data { + background: none; + border: none; + > .inside { + padding: 0; + margin: 0; + > strong { + font-size: 18px; + margin-bottom: 10px; + display: block; + color: #2c3338; + } + } + .postbox-header { + display: none; + } + .wp-list-table { + thead { + th { + font-weight: bold; + } + } + } +} + +.export-panel { + padding-bottom: 22px !important; + h3 { + margin: 0; + @media(max-width: 870px) { + margin-top: 2em; + } + + p { + margin-top: 0; + } + } + .welcome-panel-column:first-child { + h3 { + @media(max-width: 870px) { + margin-top: 0; + } + } + } + label { + min-width: 56px; + display: inline-block; + } + .metabox-prefs label { + line-height: 2; + min-width: 0; + } + fieldset { + margin-bottom: 4px; + } + input[type="text"], + input[type="number"], + select { + width: 150px; + } + .button-hero { + margin-top: 22px !important; + display: inline-block; + vertical-align: middle; + + span { + display: inline-block; + vertical-align: middle; + } + } + small { + margin: 15px 0; + line-height: 1.5; + display: block; + } + .export-progress { + display: none; + padding-top: 3px; + .progress { + height: 8px; + float: none; + margin: 0 0 20px; + } + .bar { + margin-top: 0; + transition: width 0.5s ease-in-out; + } + } + .export-result { + a:empty { + display: none; + + small { + display: none; + } + } + p:empty { + display: none; + } + } + .export-stats { + display: inline-block; + vertical-align: middle; + small { + display: none; + margin: 0; + } + .export-count-progress { + display: none; + &:after { + content: "/" + } + } + } + form { + &.loading { + cursor: progress !important; + * { + cursor: progress !important; + } + button, + input, + select { + pointer-events: none; + } + .export-progress { + display: block; + } + .export-result { + display: none; + } + .export-stats { + small { + display: block; + } + .export-count-progress { + display: inline; + } + } + .button-hero { + pointer-events: none; + } + } + } +} diff --git a/formality.php b/formality.php index 708dd3e..ceeec21 100755 --- a/formality.php +++ b/formality.php @@ -12,7 +12,7 @@ * Plugin Name: Formality * Plugin URI: https://formality.dev * Description: Forms made simple (and cute). Designless, multistep, conversational, secure, all-in-one WordPress forms plugin. - * Version: 1.3.6 + * Version: 1.4 * Author: Michele Giorgi * Author URI: https://giorgi.io * License: GPLv3 @@ -51,7 +51,7 @@ /** * Currently plugin version. */ -define( 'FORMALITY_VERSION', '1.3.6' ); +define( 'FORMALITY_VERSION', '1.4' ); define( 'FORMALITY_PATH', plugin_dir_path( __FILE__ )); /** diff --git a/includes/class-formality-setup.php b/includes/class-formality-setup.php index 2152b18..ba175d2 100755 --- a/includes/class-formality-setup.php +++ b/includes/class-formality-setup.php @@ -118,7 +118,7 @@ public function post_types() { 'label' => __( 'Form' ), 'hierarchical' => true, 'capabilities' => array( - 'assign_terms' => 'manage_options', + 'assign_terms' => 'god', 'edit_terms' => 'god', 'manage_terms' => 'god', ), diff --git a/includes/class-formality.php b/includes/class-formality.php index 28db240..1beb3a5 100755 --- a/includes/class-formality.php +++ b/includes/class-formality.php @@ -57,7 +57,7 @@ class Formality { */ public function __construct() { - $this->version = defined( 'FORMALITY_VERSION' ) ? FORMALITY_VERSION : '1.3.6'; + $this->version = defined( 'FORMALITY_VERSION' ) ? FORMALITY_VERSION : '1.4'; $this->formality = 'formality'; $this->fse = class_exists('WP_Block_Editor_Context'); @@ -128,7 +128,7 @@ private function define_admin_hooks() { $this->loader->add_action( 'admin_menu', $plugin_admin, 'formality_menu' ); $this->loader->add_filter( 'manage_formality_form_posts_columns', $plugin_admin, 'form_columns', 99 ); $this->loader->add_action( 'manage_formality_form_posts_custom_column', $plugin_admin, 'form_columns_data', 10, 2 ); - $this->loader->add_action( 'admin_notices', $plugin_admin, 'welcome_notice'); + $this->loader->add_action( 'admin_notices', $plugin_admin, 'admin_header'); $this->loader->add_filter( 'plugin_row_meta', $plugin_admin, 'link_website', 10, 2 ); $plugin_tools = new Formality_Tools( $this->get_formality(), $this->get_version() ); @@ -148,8 +148,9 @@ private function define_admin_hooks() { $this->loader->add_action( 'manage_formality_result_posts_custom_column', $plugin_results, 'column_id_value', 10, 2 ); $this->loader->add_action( 'admin_action_mark_as_formality_result', $plugin_results, 'mark_as'); $this->loader->add_filter( 'post_row_actions', $plugin_results, 'mark_as_link', 10, 2 ); - $this->loader->add_action( 'admin_action_mark_all_formality_result', $plugin_results, 'mark_all_as_read'); + $this->loader->add_action( 'admin_action_mark_all_formality_result', $plugin_results, 'mark_all_as_read' ); $this->loader->add_action( 'restrict_manage_posts', $plugin_results, 'mark_all_as_read_link', 10, 2 ); + $this->loader->add_action( 'admin_action_export_formality_result', $plugin_results, 'export' ); $plugin_editor = new Formality_Editor( $this->get_formality(), $this->get_version() ); $this->loader->add_action( 'enqueue_block_editor_assets', $plugin_editor, 'enqueue_scripts' ); @@ -160,7 +161,7 @@ private function define_admin_hooks() { $this->loader->add_filter( 'use_block_editor_for_post_type', $plugin_editor, 'prevent_classic_editor', PHP_INT_MAX, 2 ); $this->loader->add_filter( 'gutenberg_can_edit_post_type', $plugin_editor, 'prevent_classic_editor', PHP_INT_MAX, 2 ); $this->loader->add_action( 'rest_api_init', $plugin_editor, 'templates_endpoint' ); - //$this->loader->add_action( 'admin_init', $plugin_editor, 'remove_editor_styles' ); + $this->loader->add_action( 'current_screen', $plugin_editor, 'remove_3rdparty_styles' ); } @@ -176,7 +177,7 @@ private function define_public_hooks() { $plugin_public = new Formality_Public( $this->get_formality(), $this->get_version() ); $this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_assets' ); $this->loader->add_filter( 'the_content', $plugin_public, 'print_form', PHP_INT_MAX ); - $this->loader->add_filter( 'template_include', $plugin_public, 'page_template', 99 ); + $this->loader->add_filter( 'template_include', $plugin_public, 'page_template', PHP_INT_MAX ); $this->loader->add_filter( 'body_class', $plugin_public, 'body_classes', 99 ); $this->loader->add_action( 'wp_print_styles', $plugin_public, 'remove_styles', 99 ); $this->loader->add_action( 'init', $plugin_public, 'shortcode' ); diff --git a/languages/formality-it_IT-3c4b2d232f97e5d4401ae142f2499760.json b/languages/formality-it_IT-3c4b2d232f97e5d4401ae142f2499760.json index 87316e6..32dc2f8 100644 --- a/languages/formality-it_IT-3c4b2d232f97e5d4401ae142f2499760.json +++ b/languages/formality-it_IT-3c4b2d232f97e5d4401ae142f2499760.json @@ -1 +1 @@ -{"translation-revision-date":"2021-04-02 15:05+0000","generator":"Loco https:\/\/localise.biz\/","source":"dist\/scripts\/formality-editor.js","domain":"formality","locale_data":{"formality":{"":{"domain":"formality","lang":"it_IT","plural-forms":"nplurals=2; plural=n != 1;"},"- Field -":["- Campo -"],"Add a button link to your form. Your form will be opened in an onscreen sidebar.":["Aggiungi un link al tuo form. Il form verr\u00e0 aperto in una sidebar laterale."],"Add an information message":["Aggiungi un messaggio informativo"],"Add option":["Aggiungi opzione"],"Add rule":["Aggiungi regola"],"Advanced":["Avanzate"],"Align this value to your theme's fontsize":["Allinea questo valore alla dimensione font del tuo tema"],"Allow only single selection":["Permetti la selezione di una sola opzione"],"Allowed types":["Tipi file validi"],"Appearance":["Aspetto"],"Ask your users for a rating. Score from one to ten.":["Chiedi un voto ai tuoi utenti. Valori da 1 a 10."],"Assign different values and labels for each option":["Assegna valori e etichette differenti per ogni opzione"],"Background image":["Immagine di sfondo"],"Background layout":["Layout sfondo"],"Background overlay":["Livello coprente sfondo"],"Backgrounds, Input suggestions, etc.":["Sfondi, Suggerimenti campi, ecc..."],"Based on font-size setting:":["Basato sulla dimensione font selezionata"],"Boxed":["Boxed"],"Boxed border input field":["Campi input con bordo continuo"],"But you can also embed it, into your post or pages with Formality block or with this specific shortcode:":["Ma puoi comunque incorporarlo nei tuoi contenuti con il blocco Formality o con questo shortcode specifico;"],"Button":["Pulsante"],"Button label":["Etichetta pulsante"],"Buttons":["Pulsanti"],"Call to action":["Call to action"],"Change background image\/color on input focus":["Cambia l'immagine\/colore di sfondo quando il campo viene selezionato"],"Checkbox":["Checkbox"],"Checkbox grid with all available options that users can select.":["Griglia con tutte le opzioni che l'utente pu\u00f2 selezionare."],"Checkbox input, good for true\/false answer or acceptance field.":["Checkbox, ottimo per risposte vero\/falso o campi di accettazione."],"Choose file or drag here":["Seleziona o trascina il file qui"],"Click to confirm":["Clicca per confermare"],"Conditional logic":["Condizioni logiche"],"Conversational":["Conversational"],"Create the first one.":["Crea il primo."],"Credits\/copy text":["Testo copy\/crediti"],"Currently you can't use this block, because you have no published Formality form.":["Al momento non puoi utilizzare questo blocco, perch\u00e8 non hai form Formality pubblicati."],"Custom message\/information for your users.":["Messaggio informativo per i tuoi utenti."],"Description":["Descrizione"],"Disable button":["Disabilita pulsante"],"Disable SSL verification for unsplash.com domain until the download process finishes.":["Disabilita la verifica SSL per il dominio unsplash.com fino al termine del download."],"Display inline options.":["Mostra opzioni in linea."],"Distribute options in %s columns.":["Distribuisci opzioni su %s colonne."],"Download templates photos":["Scarica le foto dei templates"],"Dropdown list with all available options that users can select.":["Men\u00f9 a tendina con tutte le opzioni che l'utente pu\u00f2 selezionare."],"Dynamic background":["Sfondi dinamici"],"E-mail":["E-mail"],"E-mail address":["Indirizzo email"],"Edit or update background image":["Aggiorna l'immagine di sfondo"],"Edit or update logo":["Modifica o aggiorna logo"],"Edit or update media file":["Modifica o aggiorna file media"],"Edit or update the image":["Modifica o aggiorna l'immagine"],"Edit this form":["Modifica questo form"],"Embed":["Embed"],"Embed & Share":["Incorpora & Condividi"],"Embed Formality forms in your posts or pages.":["Includi un form Formality nei tuoi post o pagine."],"Embedded version":["Versione embedded"],"Enable Formality credits":["Attiva i crediti di Formality"],"Enable\/disable file formats":["Abilita\/disabilita formati file"],"Enter your text here!":["Inserisci testo qui!"],"Error":["Errore"],"Error color":["Colore errori"],"Error message":["Messaggio di errore"],"Field":["Campo"],"Field ID\/Name":["ID\/nome campo"],"Field name":["Nome campo"],"Field options":["Opzioni campo"],"Font size":["Dimensione font"],"Form":["Form"],"Form footer":["Form footer"],"Form type":["Tipo form"],"Formality automatically saves all the results in the WordPress database, but if you want you can also activate e-mail notifications, by entering your address.":["Formality salva automaticamente tutti i risultati sul database di WordPress, ma se vuoi puoi attivare anche le notifiche, inserendo il tuo indirizzo email."],"Formality form":["Form Formality"],"Full screen background":["Sfondo a schermo pieno"],"Full width":["Piena (100%)"],"Group your fields into multiple sections, with custom heading.":["Raggruppa i tuoi campi in sezioni con una intestazione custom."],"Half width":["Met\u00e0 (50%)"],"Hearts":["Cuori"],"Hero image, how-to video or any type of visual content for your users.":["Immagine hero, video how-to o qualsiasi altro media per i tuoi utenti."],"Hide form title":["Nascondi titolo form"],"Icons":["Icone"],"Include this form in your post content.":["Inserisci questo form nel post."],"Initial value":["Valore iniziale"],"Input style":["Stile campi"],"Interval":["Intervallo"],"Invert form colors for this button":["Inverti i colori del form per questo pulsante"],"It seems your template library is incomplete. To fix this issue, you can retry the download process.":["Sembra che la tua libreria template sia incompleta. Per sistemare questo problema puoi provare a ripetere il download."],"Label":["Etichetta"],"Label \/ Question":["Etichetta \/ domanda"],"Label and border color of the wrong inputs.":["Colore di etichette e bordi dei campi sbagliati."],"Let your users upload files to your form":["Permetti ai tuoi utenti di caricare file"],"License":["Licenza"],"Line":["Line"],"Loading your form...":["Caricamento form..."],"Loading your forms...":["Caricamento form..."],"Logo":["Logo"],"Logo height multiplier":["Moltiplicatore altezza logo"],"Made with Formality":["Made with Formality"],"Manually set \"%s\" as url link (href) in your text content":["Imposta \"%s\" come indirizzo (href) dei tuoi link"],"Manually set this hashtag as url link (href) in your text content":["Imposta manualmente questo hashtag come indirizzo (href) dei tuoi link"],"Max length":["Lunghezza massima"],"Max upload file size":["Peso file massimo"],"Max value":["Valore massimo"],"Media":["Media"],"Media file":["File media"],"Media options":["Opzioni media"],"Message":["Messaggio"],"Min value":["Valore minimo"],"Multi-line area, good for texts or long answers.":["Area di testo multi-linea, ottima per lunghe risposte."],"Multiple choice":["Scelta multipla"],"None":["Nessuno"],"Notifications":["Notifiche"],"Number":["Numero"],"Number field, accept integer or float number value":["Campo numerico, accetta solo numeri interi"],"Options":["Opzioni"],"Options grid":["Griglia opzioni"],"Photo by %s on Unsplash":["Foto di %s su Unsplash"],"Place this block before the first field you want to group. This step section will be closed automatically before the next step block (or at the end of the form).":["Posiziona questo blocco prima del primo campo da raggruppare. Questa sezione verr\u00e0 chiusa automaticamente prima del prossimo campo step (o alla fine del form)."],"Placeholder":["Testo segnaposto"],"Please select a form to embed, from the right sidebar":["Seleziona un form da includere, dalla sidebar laterale"],"Please select an image or video, from the right sidebar.":["Seleziona una immagine o un video dalla sidebar laterale."],"Primary color":["Colore primario"],"Radio\/checkbox (default)":["Radio\/checkbox (default)"],"Rating":["Voto"],"Remove background":["Rimuovi sfondo"],"Remove background image":["Rimuovi immagine di sfondo"],"Remove button and open this form with a simple text link":["Rimuovi pulsante e apri questo form con un semplice link testuale"],"Remove color":["Rimuovi colore"],"Remove custom logo":["Rimuovi logo custom"],"Remove image":["Rimuovi immagine"],"Remove media":["Rimuovi media"],"Rhombus":["Rombi"],"Rows":["Righe"],"Secondary color":["Colore secondario"],"Select":["Men\u00f9 a tendina"],"Select a form to embed":["Seleziona un form da includere"],"Select an image or video":["Seleziona una immagine o un video"],"Select one of our templates made with a selection of the best Unsplash photos.":["Seleziona uno dei nostri templates, realizzati con una selezione delle migliori foto Unsplash."],"Select or upload background image":["Seleziona o carica l'immagine di sfondo"],"Select or upload media":["Seleziona o carica media"],"Select your choice":["Seleziona la tua scelta"],"Send":["Invia"],"Send button label":["Etichetta pulsante invio"],"Set a background image":["Seleziona immagine di sfondo"],"Set background overlay opacity (%)":["Imposta opacit\u00e0 del livello coprente (%)"],"Settings":["Impostazioni"],"Show this field only if:":["Mostra questo campo solo se:"],"Side background":["Sfondo su un lato"],"Single line border input field":["Campi input con linea"],"Size limit":["Limite peso file"],"Something went wrong and we couldn't save your data. Please retry later or contact us by e-mail or phone.":["Qualcosa \u00e8 andato storto e i tuoi dati non sono stati salvati. Riprova pi\u00f9 tardi o contattaci via e-mail o telefono."],"Something went wrong during the download process. You can retry or check your server logs for more informations about the error.":["Qualcosa \u00e8 andato storto durante il processo di download. Puoi riprovare il download o controllare l'errore nel log del tuo server."],"SSL verification failed during the download process. These errors most commonly happen on localhost development environments, and\/or on servers that do not fully support SSL. If possible, ask your web host to fix this issue ASAP. In the meantime, if you want to complete the download process now, you can temporary disable SSL verification.":["Durante il processo di download la verifica SSL \u00e8 fallita. Questi errori sono comuni su ambienti di sviluppo locali, e\/o su server che non supportano completamente SSL. Se possibile, chiedi al tuo web host di sistemare il problema al pi\u00f9 presto. Nel frattempo, se vuoi completare il download ora, puoi temporaneamente disabilitare la verifica SSL."],"Standalone version":["Versione standalone"],"Standard":["Standard"],"Standard text field, good for short answers and 1 line information.":["Campo standard, ottimo per risposte rapide di una riga di testo."],"Stars":["Stelle"],"Step":["Step"],"Step name":["Nome step"],"Step title":["Titolo step"],"Submit status":["Esito invio"],"Support us (and the photographer of the chosen template) with a single text line at the end of this form.":["Supporta Formality (e il fotografo del template selezionato) con una singola linea di testo alla fine del tuo form."],"Switch":["Interruttore"],"Switch (default)":["Interruttore (default)"],"Templates":["Templates"],"Terms and conditions":["Termini e condizioni"],"Text":["Testo"],"Text field that accepts only valid email address.":["Campo di testo che accetta solo indirizzi email validi."],"Textarea":["Area di testo"],"Texts, Labels, Borders, etc.":["Testi, Etichette, Bordi, ecc..."],"Thank you":["Grazie"],"Thank you message":["Messaggio di ringraziamento"],"This is a required field":["Questo \u00e8 un campo obbligatorio"],"This is an independent form, that are not tied to your posts or pages, and you can visit at this web address:":["Ogni form \u00e8 indipendente dalle tue pagine o post, e pu\u00f2 essere raggiunto al seguente indirizzo:"],"To start using them, you first have to download these photos from Unsplash servers.":["Per iniziare ad utilizzarli, devi prima scaricare queste immagini dai server di Unsplash."],"Type your answer here":["Scrivi la tua risposta qui"],"Upload":["Upload"],"Upload logo image":["Carica immagine logo"],"Value":["Valore"],"We have prepared %s templates made with a selection of the best Unsplash photos.":["Abbiamo preparato %s templates, realizzati con una selezione delle migliori foto Unsplash."],"Width":["Larghezza"],"You can also set an initial variable value by using field ID as a query var.":["Puoi applicare un valore iniziale utilizzando l'ID campo come query var. "],"Your data has been successfully submitted. You are very important to us, all information received will always remain confidential. We will contact you as soon as possible.":["I tuoi dati sono stati salvati con successo. Sei molto importante per noi, tutte le informazioni ricevute rimarranno confidenziali, e verrai ricontattato al pi\u00f9 presto. "]}}} \ No newline at end of file +{"translation-revision-date":"2021-09-05 08:01+0000","generator":"Loco https:\/\/localise.biz\/","source":"dist\/scripts\/formality-editor.js","domain":"formality","locale_data":{"formality":{"":{"domain":"formality","lang":"it_IT","plural-forms":"nplurals=2; plural=n != 1;"},"- Field -":["- Campo -"],"Add a button link to your form. Your form will be opened in an onscreen sidebar.":["Aggiungi un link al tuo form. Il form verr\u00e0 aperto in una sidebar laterale."],"Add an information message":["Aggiungi un messaggio informativo"],"Add option":["Aggiungi opzione"],"Add rule":["Aggiungi regola"],"Advanced":["Avanzate"],"Align this value to your theme's fontsize":["Allinea questo valore alla dimensione font del tuo tema"],"Allow only single selection":["Permetti la selezione di una sola opzione"],"Allowed types":["Tipi file validi"],"Appearance":["Aspetto"],"Ask your users for a rating. Score from one to ten.":["Chiedi un voto ai tuoi utenti. Valori da 1 a 10."],"Assign different values and labels for each option":["Assegna valori e etichette differenti per ogni opzione"],"Background image":["Immagine di sfondo"],"Background layout":["Layout sfondo"],"Background overlay":["Livello coprente sfondo"],"Backgrounds, Input suggestions, etc.":["Sfondi, Suggerimenti campi, ecc..."],"Based on font-size setting:":["Basato sulla dimensione font selezionata"],"Boxed":["Boxed"],"Boxed border input field":["Campi input con bordo continuo"],"But you can also embed it, into your post or pages with Formality block or with this specific shortcode:":["Ma puoi comunque incorporarlo nei tuoi contenuti con il blocco Formality o con questo shortcode specifico;"],"Button":["Pulsante"],"Button label":["Etichetta pulsante"],"Buttons":["Pulsanti"],"Call to action":["Call to action"],"Change background image\/color on input focus":["Cambia l'immagine\/colore di sfondo quando il campo viene selezionato"],"Checkbox":["Checkbox"],"Checkbox grid with all available options that users can select.":["Griglia con tutte le opzioni che l'utente pu\u00f2 selezionare."],"Checkbox input, good for true\/false answer or acceptance field.":["Checkbox, ottimo per risposte vero\/falso o campi di accettazione."],"Choose file or drag here":["Seleziona o trascina il file qui"],"Click to confirm":["Clicca per confermare"],"Conditional logic":["Condizioni logiche"],"Conversational":["Conversational"],"Create the first one.":["Crea il primo."],"Credits\/copy text":["Testo copy\/crediti"],"Currently you can't use this block, because you have no published Formality form.":["Al momento non puoi utilizzare questo blocco, perch\u00e8 non hai form Formality pubblicati."],"Custom message\/information for your users.":["Messaggio informativo per i tuoi utenti."],"Description":["Descrizione"],"Disable button":["Disabilita pulsante"],"Disable SSL verification for unsplash.com domain until the download process finishes.":["Disabilita la verifica SSL per il dominio unsplash.com fino al termine del download."],"Display inline options.":["Mostra opzioni in linea."],"Distribute options in %s columns.":["Distribuisci opzioni su %s colonne."],"Download templates photos":["Scarica le foto dei templates"],"Dropdown list with all available options that users can select.":["Men\u00f9 a tendina con tutte le opzioni che l'utente pu\u00f2 selezionare."],"Dynamic background":["Sfondi dinamici"],"E-mail":["E-mail"],"E-mail address":["Indirizzo email"],"Edit or update background image":["Aggiorna l'immagine di sfondo"],"Edit or update logo":["Modifica o aggiorna logo"],"Edit or update media file":["Modifica o aggiorna file media"],"Edit or update the image":["Modifica o aggiorna l'immagine"],"Edit this form":["Modifica questo form"],"Embed":["Embed"],"Embed & Share":["Incorpora & Condividi"],"Embed Formality forms in your posts or pages.":["Includi un form Formality nei tuoi post o pagine."],"Embedded version":["Versione embedded"],"Enable Formality credits":["Attiva i crediti di Formality"],"Enable\/disable file formats":["Abilita\/disabilita formati file"],"Enter your text here!":["Inserisci testo qui!"],"Error":["Errore"],"Error color":["Colore errori"],"Error message":["Messaggio di errore"],"Field":["Campo"],"Field ID\/Name":["ID\/nome campo"],"Field name":["Nome campo"],"Field options":["Opzioni campo"],"Font size":["Dimensione font"],"Form":["Form"],"Form footer":["Form footer"],"Form type":["Tipo form"],"Formality automatically saves all the results in the WordPress database, but if you want you can also activate e-mail notifications, by entering your address.":["Formality salva automaticamente tutti i risultati sul database di WordPress, ma se vuoi puoi attivare anche le notifiche, inserendo il tuo indirizzo email."],"Formality form":["Form Formality"],"Full screen background":["Sfondo a schermo pieno"],"Full width":["Piena (100%)"],"Group your fields into multiple sections, with custom heading.":["Raggruppa i tuoi campi in sezioni con una intestazione custom."],"Half width":["Met\u00e0 (50%)"],"Hearts":["Cuori"],"Hero image, how-to video or any type of visual content for your users.":["Immagine hero, video how-to o qualsiasi altro media per i tuoi utenti."],"Hide form title":["Nascondi titolo form"],"Icons":["Icone"],"Include this form in your post content.":["Inserisci questo form nel post."],"Initial value":["Valore iniziale"],"Input style":["Stile campi"],"Interval":["Intervallo"],"Invert form colors for this button":["Inverti i colori del form per questo pulsante"],"It seems your template library is incomplete. To fix this issue, you can retry the download process.":["Sembra che la tua libreria template sia incompleta. Per sistemare questo problema puoi provare a ripetere il download."],"Label":["Etichetta"],"Label \/ Question":["Etichetta \/ domanda"],"Label and border color of the wrong inputs.":["Colore di etichette e bordi dei campi sbagliati."],"Let your users upload files to your form":["Permetti ai tuoi utenti di caricare file"],"License":["Licenza"],"Line":["Line"],"Loading your form...":["Caricamento form..."],"Loading your forms...":["Caricamento form..."],"Logo":["Logo"],"Logo height multiplier":["Moltiplicatore altezza logo"],"Made with Formality":["Made with Formality"],"Manually set \"%s\" as url link (href) in your text content":["Imposta \"%s\" come indirizzo (href) dei tuoi link"],"Manually set this hashtag as url link (href) in your text content":["Imposta manualmente questo hashtag come indirizzo (href) dei tuoi link"],"Max length":["Lunghezza massima"],"Max upload file size":["Peso file massimo"],"Max value":["Valore massimo"],"Media":["Media"],"Media file":["File media"],"Media options":["Opzioni media"],"Message":["Messaggio"],"Min value":["Valore minimo"],"Multi-line area, good for texts or long answers.":["Area di testo multi-linea, ottima per lunghe risposte."],"Multiple choice":["Scelta multipla"],"None":["Nessuno"],"Notifications":["Notifiche"],"Number":["Numero"],"Number field, accept integer or float number value":["Campo numerico, accetta solo numeri interi"],"Options":["Opzioni"],"Options grid":["Griglia opzioni"],"Photo by %s on Unsplash":["Foto di %s su Unsplash"],"Place this block before the first field you want to group. This step section will be closed automatically before the next step block (or at the end of the form).":["Posiziona questo blocco prima del primo campo da raggruppare. Questa sezione verr\u00e0 chiusa automaticamente prima del prossimo campo step (o alla fine del form)."],"Placeholder":["Testo segnaposto"],"Please select a form to embed, from the right sidebar":["Seleziona un form da includere, dalla sidebar laterale"],"Please select an image or video, from the right sidebar.":["Seleziona una immagine o un video dalla sidebar laterale."],"Primary color":["Colore primario"],"Radio\/checkbox (default)":["Radio\/checkbox (default)"],"Rating":["Voto"],"Remove background":["Rimuovi sfondo"],"Remove background image":["Rimuovi immagine di sfondo"],"Remove button and open this form with a simple text link":["Rimuovi pulsante e apri questo form con un semplice link testuale"],"Remove color":["Rimuovi colore"],"Remove custom logo":["Rimuovi logo custom"],"Remove image":["Rimuovi immagine"],"Remove media":["Rimuovi media"],"Rhombus":["Rombi"],"Rows":["Righe"],"Secondary color":["Colore secondario"],"Select":["Men\u00f9 a tendina"],"Select a form to embed":["Seleziona un form da includere"],"Select an image or video":["Seleziona una immagine o un video"],"Select one of our templates made with a selection of the best Unsplash photos.":["Seleziona uno dei nostri templates, realizzati con una selezione delle migliori foto Unsplash."],"Select or upload background image":["Seleziona o carica l'immagine di sfondo"],"Select or upload media":["Seleziona o carica media"],"Select your choice":["Seleziona la tua scelta"],"Send":["Invia"],"Send button label":["Etichetta pulsante invio"],"Set a background image":["Seleziona immagine di sfondo"],"Set background overlay opacity (%)":["Imposta opacit\u00e0 del livello coprente (%)"],"Settings":["Impostazioni"],"Show this field only if:":["Mostra questo campo solo se:"],"Side background":["Sfondo su un lato"],"Single line border input field":["Campi input con linea"],"Size limit":["Limite peso file"],"Something went wrong and we couldn't save your data. Please retry later or contact us by e-mail or phone.":["Qualcosa \u00e8 andato storto e i tuoi dati non sono stati salvati. Riprova pi\u00f9 tardi o contattaci via e-mail o telefono."],"Something went wrong during the download process. You can retry or check your server logs for more informations about the error.":["Qualcosa \u00e8 andato storto durante il processo di download. Puoi riprovare il download o controllare l'errore nel log del tuo server."],"SSL verification failed during the download process. These errors most commonly happen on localhost development environments, and\/or on servers that do not fully support SSL. If possible, ask your web host to fix this issue ASAP. In the meantime, if you want to complete the download process now, you can temporary disable SSL verification.":["Durante il processo di download la verifica SSL \u00e8 fallita. Questi errori sono comuni su ambienti di sviluppo locali, e\/o su server che non supportano completamente SSL. Se possibile, chiedi al tuo web host di sistemare il problema al pi\u00f9 presto. Nel frattempo, se vuoi completare il download ora, puoi temporaneamente disabilitare la verifica SSL."],"Standalone version":["Versione standalone"],"Standard":["Standard"],"Standard text field, good for short answers and 1 line information.":["Campo standard, ottimo per risposte rapide di una riga di testo."],"Stars":["Stelle"],"Step":["Step"],"Step name":["Nome step"],"Step title":["Titolo step"],"Submit status":["Esito invio"],"Support us (and the photographer of the chosen template) with a single text line at the end of this form.":["Supporta Formality (e il fotografo del template selezionato) con una singola linea di testo alla fine del tuo form."],"Switch":["Interruttore"],"Switch (default)":["Interruttore (default)"],"Templates":["Templates"],"Terms and conditions":["Termini e condizioni"],"Text":["Testo"],"Text field that accepts only valid email address.":["Campo di testo che accetta solo indirizzi email validi."],"Textarea":["Area di testo"],"Texts, Labels, Borders, etc.":["Testi, Etichette, Bordi, ecc..."],"Thank you":["Grazie"],"Thank you message":["Messaggio di ringraziamento"],"This is a required field":["Questo \u00e8 un campo obbligatorio"],"This is an independent form, that are not tied to your posts or pages, and you can visit at this web address:":["Ogni form \u00e8 indipendente dalle tue pagine o post, e pu\u00f2 essere raggiunto al seguente indirizzo:"],"To start using them, you first have to download these photos from Unsplash servers.":["Per iniziare ad utilizzarli, devi prima scaricare queste immagini dai server di Unsplash."],"Type your answer here":["Scrivi la tua risposta qui"],"Upload":["Upload"],"Upload logo image":["Carica immagine logo"],"Value":["Valore"],"We have prepared %s templates made with a selection of the best Unsplash photos.":["Abbiamo preparato %s templates, realizzati con una selezione delle migliori foto Unsplash."],"Width":["Larghezza"],"You can also set an initial variable value by using field ID as a query var.":["Puoi applicare un valore iniziale utilizzando l'ID campo come query var. "],"Your data has been successfully submitted. You are very important to us, all information received will always remain confidential. We will contact you as soon as possible.":["I tuoi dati sono stati salvati con successo. Sei molto importante per noi, tutte le informazioni ricevute rimarranno confidenziali, e verrai ricontattato al pi\u00f9 presto. "]}}} \ No newline at end of file diff --git a/languages/formality-it_IT-49bf50bb4358b4d339cf99cb13a07d80.json b/languages/formality-it_IT-49bf50bb4358b4d339cf99cb13a07d80.json index 91af12e..8bbb97a 100644 --- a/languages/formality-it_IT-49bf50bb4358b4d339cf99cb13a07d80.json +++ b/languages/formality-it_IT-49bf50bb4358b4d339cf99cb13a07d80.json @@ -1 +1 @@ -{"translation-revision-date":"2021-04-02 15:05+0000","generator":"Loco https:\/\/localise.biz\/","source":"dist\/scripts\/formality-admin.js","domain":"formality","locale_data":{"formality":{"":{"domain":"formality","lang":"it_IT","plural-forms":"nplurals=2; plural=n != 1;"},"Please insert a valid email address":["Inserisci un indirizzo email valido"],"Something went wrong. Please retry later.":["Qualcosa \u00e8 andato storto. Riprova pi\u00f9 tardi."],"To continue you have to accept our privacy policy":["Per continuare devi accettare la nostra privacy policy"]}}} \ No newline at end of file +{"translation-revision-date":"2021-09-05 08:01+0000","generator":"Loco https:\/\/localise.biz\/","source":"dist\/scripts\/formality-admin.js","domain":"formality","locale_data":{"formality":{"":{"domain":"formality","lang":"it_IT","plural-forms":"nplurals=2; plural=n != 1;"},"Download now":["Scarica ora"],"Please insert a valid email address":["Inserisci un indirizzo email valido"],"Something went wrong":["Qualcosa \u00e8 andato storto"],"Something went wrong. Please retry later.":["Qualcosa \u00e8 andato storto. Riprova pi\u00f9 tardi."],"To continue you have to accept our privacy policy":["Per continuare devi accettare la nostra privacy policy"]}}} \ No newline at end of file diff --git a/languages/formality-it_IT-e3bf5dcd89db453858f995b164624024.json b/languages/formality-it_IT-e3bf5dcd89db453858f995b164624024.json index c8dd412..0a5001a 100644 --- a/languages/formality-it_IT-e3bf5dcd89db453858f995b164624024.json +++ b/languages/formality-it_IT-e3bf5dcd89db453858f995b164624024.json @@ -1 +1 @@ -{"translation-revision-date":"2021-04-02 15:05+0000","generator":"Loco https:\/\/localise.biz\/","source":"dist\/scripts\/formality-public.js","domain":"formality","locale_data":{"formality":{"":{"domain":"formality","lang":"it_IT","plural-forms":"nplurals=2; plural=n != 1;"},"Checking file":["Controllo file"],"File extension is not allowed":["L'estensione del file non \u00e8 permessa"],"Please wait":["Attendi qualche secondo "],"Press backspace to reset this field and return to previous field":["Premi backspace per resettare il campo e tornare al campo precedente"],"Press enter or tab to proceed to next field":["Premi invio o tab per procedere al campo successivo"],"Press enter to confirm your option and proceed to next field":["Premi invio per confermare l'opzione e procedere al campo successivo "],"Press left or right arrows to choose your option":["Usa le frecce sinistra e destra per fare la tua scelta"],"Press space to confirm your option":["Premi spazio per confermare la tua opzione"],"Press space to select your file":["Premi spazio per selezionare il tuo file"],"Press tab to proceed to next field":["Premi tab per procedere al campo successivo"],"Press up and down arrows to increment or decrement your value":["Usa le frecce s\u00f9 e gi\u00f9 per aumentare o diminuire il numero"],"Press up or down arrows to choose your option":["Usa le frecce s\u00f9 e gi\u00f9 per fare la tua scelta"],"Show less hints":["Mostra meno suggerimenti"],"Show more hints":["Mostra pi\u00f9 suggerimenti"],"This value is required":["Questo campo \u00e8 obbligatorio"],"This value is too long. It should have %s characters or fewer":["Questo valore \u00e8 troppo lungo. Dovrebbe avere non pi\u00f9 di %s caratteri"],"This value is too short. It should have %s characters or more":["Questo valore \u00e8 troppo corto. Dovrebbe avere almeno %s caratteri"],"This value length is invalid. It should be between %s and %s characters long":["La tua risposta dovrebbe avere una lunghezza compresa tra %s e %s caratteri"],"This value seems to be invalid":["Questo campo non \u00e8 valido"],"This value should be a valid email":["Questo campo deve contenere una email valida"],"This value should be a valid integer":["Questo campo deve contenere un numero intero"],"This value should be a valid number":["Questo campo deve contenere un numero valido"],"This value should be a valid url":["Questo campo deve contenere un url valido"],"This value should be alphanumeric":["Questo campo deve contenere solo lettere"],"This value should be between %s and %s":["Questo valore dovrebbe essere compreso tra %s e %s"],"This value should be digits":["Questo campo deve contenere solo numeri"],"This value should be greater than or equal to %s":["Questo valore dovrebbe essere maggiore o uguale di %s"],"This value should be lower than or equal to %s":["Questo valore dovrebbe essere minore o uguale di %s"],"You must select between %s and %s choices":["Dovresti scegliere tra le scelte %s e %s"],"Your file exceeds the size limit":["Il tuo file \u00e8 troppo pesante"]}}} \ No newline at end of file +{"translation-revision-date":"2021-09-05 08:01+0000","generator":"Loco https:\/\/localise.biz\/","source":"dist\/scripts\/formality-public.js","domain":"formality","locale_data":{"formality":{"":{"domain":"formality","lang":"it_IT","plural-forms":"nplurals=2; plural=n != 1;"},"Checking file":["Controllo file"],"File extension is not allowed":["L'estensione del file non \u00e8 permessa"],"Please wait":["Attendi qualche secondo "],"Press backspace to reset this field and return to previous field":["Premi backspace per resettare il campo e tornare al campo precedente"],"Press enter or tab to proceed to next field":["Premi invio o tab per procedere al campo successivo"],"Press enter to confirm your option and proceed to next field":["Premi invio per confermare l'opzione e procedere al campo successivo "],"Press left or right arrows to choose your option":["Usa le frecce sinistra e destra per fare la tua scelta"],"Press space to confirm your option":["Premi spazio per confermare la tua opzione"],"Press space to select your file":["Premi spazio per selezionare il tuo file"],"Press tab to proceed to next field":["Premi tab per procedere al campo successivo"],"Press up and down arrows to increment or decrement your value":["Usa le frecce s\u00f9 e gi\u00f9 per aumentare o diminuire il numero"],"Press up or down arrows to choose your option":["Usa le frecce s\u00f9 e gi\u00f9 per fare la tua scelta"],"Show less hints":["Mostra meno suggerimenti"],"Show more hints":["Mostra pi\u00f9 suggerimenti"],"This value is required":["Questo campo \u00e8 obbligatorio"],"This value is too long. It should have %s characters or fewer":["Questo valore \u00e8 troppo lungo. Dovrebbe avere non pi\u00f9 di %s caratteri"],"This value is too short. It should have %s characters or more":["Questo valore \u00e8 troppo corto. Dovrebbe avere almeno %s caratteri"],"This value length is invalid. It should be between %s and %s characters long":["La tua risposta dovrebbe avere una lunghezza compresa tra %s e %s caratteri"],"This value seems to be invalid":["Questo campo non \u00e8 valido"],"This value should be a valid email":["Questo campo deve contenere una email valida"],"This value should be a valid integer":["Questo campo deve contenere un numero intero"],"This value should be a valid number":["Questo campo deve contenere un numero valido"],"This value should be a valid url":["Questo campo deve contenere un url valido"],"This value should be alphanumeric":["Questo campo deve contenere solo lettere"],"This value should be between %s and %s":["Questo valore dovrebbe essere compreso tra %s e %s"],"This value should be digits":["Questo campo deve contenere solo numeri"],"This value should be greater than or equal to %s":["Questo valore dovrebbe essere maggiore o uguale di %s"],"This value should be lower than or equal to %s":["Questo valore dovrebbe essere minore o uguale di %s"],"You must select between %s and %s choices":["Dovresti scegliere tra le scelte %s e %s"],"Your file exceeds the size limit":["Il tuo file \u00e8 troppo pesante"]}}} \ No newline at end of file diff --git a/languages/formality-it_IT.mo b/languages/formality-it_IT.mo index 90f91d6..a8f4878 100644 Binary files a/languages/formality-it_IT.mo and b/languages/formality-it_IT.mo differ diff --git a/languages/formality-it_IT.po b/languages/formality-it_IT.po index 7317173..d256f73 100644 --- a/languages/formality-it_IT.po +++ b/languages/formality-it_IT.po @@ -8,30 +8,39 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2020-08-29T13:29:43+00:00\n" -"PO-Revision-Date: 2021-04-02 15:05+0000\n" +"PO-Revision-Date: 2021-09-05 08:01+0000\n" "Language: it_IT\n" "X-Generator: Loco https://localise.biz/\n" "X-Domain: formality\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Loco-Version: 2.4.3; wp-5.6-alpha-48905" -#: dist/scripts/formality-editor.js:3422 +#: dist/scripts/formality-editor.js:3405 msgid "- Field -" msgstr "- Campo -" +#: admin/class-formality-results.php:572 +msgid ".csv" +msgstr ".csv" + +#. translators: %s: remaining seconds +#: admin/class-formality-results.php:579 +msgid "About %s seconds remaining" +msgstr "Circa %s secondi rimanenti" + #. translators: %s: privacy policy link -#: admin/class-formality-admin.php:142 +#: admin/class-formality-admin.php:184 msgid "Accept our privacy policy." msgstr "Accetta la nostra privacy policy." -#: dist/scripts/formality-editor.js:2407 +#: dist/scripts/formality-editor.js:2464 msgid "" "Add a button link to your form. Your form will be opened in an onscreen " "sidebar." msgstr "" "Aggiungi un link al tuo form. Il form verrà aperto in una sidebar laterale." -#: dist/scripts/formality-editor.js:3545 +#: dist/scripts/formality-editor.js:3528 msgid "Add an information message" msgstr "Aggiungi un messaggio informativo" @@ -39,25 +48,29 @@ msgstr "Aggiungi un messaggio informativo" msgid "Add New Form" msgstr "Aggiungi nuovo form" +#: admin/class-formality-admin.php:153 +msgid "Add new form" +msgstr "Aggiungi nuovo form" + #: includes/class-formality-setup.php:58 msgctxt "add new on admin bar" msgid "Form" msgstr "Form" -#: includes/class-formality-setup.php:86 +#: includes/class-formality-setup.php:87 msgctxt "add new on admin bar" msgid "Result" msgstr "Risultato" -#: includes/class-formality-setup.php:88 +#: includes/class-formality-setup.php:89 msgid "Add New Result" msgstr "Aggiungi nuovo risultato" -#: dist/scripts/formality-editor.js:677 dist/scripts/formality-editor.js:1312 +#: dist/scripts/formality-editor.js:707 dist/scripts/formality-editor.js:1351 msgid "Add option" msgstr "Aggiungi opzione" -#: dist/scripts/formality-editor.js:3625 +#: dist/scripts/formality-editor.js:3610 msgid "Add rule" msgstr "Aggiungi regola" @@ -66,16 +79,16 @@ msgctxt "admin menu" msgid "Forms" msgstr "Form" -#: includes/class-formality-setup.php:85 +#: includes/class-formality-setup.php:86 msgctxt "admin menu" msgid "Results" msgstr "Risultati" -#: dist/scripts/formality-editor.js:2958 dist/scripts/formality-editor.js:3609 +#: dist/scripts/formality-editor.js:2947 dist/scripts/formality-editor.js:3594 msgid "Advanced" msgstr "Avanzate" -#: dist/scripts/formality-editor.js:2947 +#: dist/scripts/formality-editor.js:2936 msgid "Align this value to your theme's fontsize" msgstr "Allinea questo valore alla dimensione font del tuo tema" @@ -92,57 +105,69 @@ msgstr "" "Tutte le immagini utilizzate nei templates verranno scaricate in background " "in pochi secondi." -#: dist/scripts/formality-editor.js:711 +#: dist/scripts/formality-editor.js:741 msgid "Allow only single selection" msgstr "Permetti la selezione di una sola opzione" -#: public/class-formality-fields.php:378 dist/scripts/formality-editor.js:2089 -#: dist/scripts/formality-editor.js:2129 +#: public/class-formality-fields.php:379 dist/scripts/formality-editor.js:2143 +#: dist/scripts/formality-editor.js:2183 msgid "Allowed types" msgstr "Tipi file validi" -#: dist/scripts/formality-editor.js:717 dist/scripts/formality-editor.js:1595 -#: dist/scripts/formality-editor.js:3218 +#: admin/class-formality-results.php:534 admin/class-formality-results.php:557 +msgid "Any" +msgstr "Qualsiasi" + +#: dist/scripts/formality-editor.js:747 dist/scripts/formality-editor.js:1640 +#: dist/scripts/formality-editor.js:3207 msgid "Appearance" msgstr "Aspetto" -#: dist/scripts/formality-editor.js:996 +#: admin/class-formality-results.php:567 +msgid "Ascending" +msgstr "Ascendente" + +#: dist/scripts/formality-editor.js:1032 msgid "Ask your users for a rating. Score from one to ten." msgstr "Chiedi un voto ai tuoi utenti. Valori da 1 a 10." -#: dist/scripts/formality-editor.js:705 dist/scripts/formality-editor.js:1340 +#: dist/scripts/formality-editor.js:735 dist/scripts/formality-editor.js:1379 msgid "Assign different values and labels for each option" msgstr "Assegna valori e etichette differenti per ogni opzione" -#: dist/scripts/formality-editor.js:2997 +#: admin/class-formality-results.php:489 +msgid "Author" +msgstr "Autore" + +#: dist/scripts/formality-editor.js:2986 msgid "Background image" msgstr "Immagine di sfondo" -#: dist/scripts/formality-editor.js:3034 +#: dist/scripts/formality-editor.js:3023 msgid "Background layout" msgstr "Layout sfondo" -#: dist/scripts/formality-editor.js:3023 +#: dist/scripts/formality-editor.js:3012 msgid "Background overlay" msgstr "Livello coprente sfondo" -#: dist/scripts/formality-editor.js:2917 +#: dist/scripts/formality-editor.js:2906 msgid "Backgrounds, Input suggestions, etc." msgstr "Sfondi, Suggerimenti campi, ecc..." -#: dist/scripts/formality-editor.js:2988 +#: dist/scripts/formality-editor.js:2977 msgid "Based on font-size setting:" msgstr "Basato sulla dimensione font selezionata" -#: dist/scripts/formality-editor.js:3057 +#: dist/scripts/formality-editor.js:3046 msgid "Boxed" msgstr "Boxed" -#: dist/scripts/formality-editor.js:3050 +#: dist/scripts/formality-editor.js:3039 msgid "Boxed border input field" msgstr "Campi input con bordo continuo" -#: dist/scripts/formality-editor.js:3120 +#: dist/scripts/formality-editor.js:3109 msgid "" "But you can also embed it, into your post or pages with Formality block or " "with this specific shortcode:" @@ -150,73 +175,77 @@ msgstr "" "Ma puoi comunque incorporarlo nei tuoi contenuti con il blocco Formality o " "con questo shortcode specifico;" -#: dist/scripts/formality-editor.js:2426 +#: dist/scripts/formality-editor.js:2483 msgid "Button" msgstr "Pulsante" -#: dist/scripts/formality-editor.js:2363 +#: dist/scripts/formality-editor.js:2420 msgid "Button label" msgstr "Etichetta pulsante" -#: dist/scripts/formality-editor.js:723 +#: dist/scripts/formality-editor.js:753 msgid "Buttons" msgstr "Pulsanti" #: admin/class-formality-editor.php:36 public/class-formality-public.php:94 -#: dist/scripts/formality-editor.js:2219 dist/scripts/formality-editor.js:2364 +#: dist/scripts/formality-editor.js:2276 dist/scripts/formality-editor.js:2421 msgid "Call to action" msgstr "Call to action" -#: dist/scripts/formality-editor.js:3703 +#: dist/scripts/formality-editor.js:3688 msgid "Change background image/color on input focus" msgstr "Cambia l'immagine/colore di sfondo quando il campo viene selezionato" -#: dist/scripts/formality-editor.js:1601 +#: dist/scripts/formality-editor.js:1646 msgid "Checkbox" msgstr "Checkbox" -#: dist/scripts/formality-editor.js:561 +#: dist/scripts/formality-editor.js:591 msgid "Checkbox grid with all available options that users can select." msgstr "Griglia con tutte le opzioni che l'utente può selezionare." -#: dist/scripts/formality-editor.js:1506 +#: dist/scripts/formality-editor.js:1551 msgid "Checkbox input, good for true/false answer or acceptance field." msgstr "Checkbox, ottimo per risposte vero/falso o campi di accettazione." -#: dist/scripts/formality-public.js:1762 +#: dist/scripts/formality-public.js:1754 msgid "Checking file" msgstr "Controllo file" -#: public/class-formality-fields.php:88 dist/scripts/formality-editor.js:2129 -#: dist/scripts/formality-editor.js:2131 +#: public/class-formality-fields.php:88 dist/scripts/formality-editor.js:2183 +#: dist/scripts/formality-editor.js:2185 msgid "Choose file or drag here" msgstr "Seleziona o trascina il file qui" -#: public/class-formality-fields.php:86 dist/scripts/formality-editor.js:1624 +#: public/class-formality-fields.php:86 dist/scripts/formality-editor.js:1669 msgid "Click to confirm" msgstr "Clicca per confermare" -#: dist/scripts/formality-editor.js:3622 +#: admin/class-formality-results.php:484 +msgid "Columns" +msgstr "Colonne" + +#: dist/scripts/formality-editor.js:3607 msgid "Conditional logic" msgstr "Condizioni logiche" -#: admin/class-formality-admin.php:66 dist/scripts/formality-editor.js:2885 +#: admin/class-formality-admin.php:66 dist/scripts/formality-editor.js:2874 msgid "Conversational" msgstr "Conversational" -#: dist/scripts/formality-editor.js:2302 +#: dist/scripts/formality-editor.js:2359 msgid "Create the first one." msgstr "Crea il primo." -#: admin/class-formality-admin.php:112 +#: admin/class-formality-admin.php:153 msgid "Create your first form" msgstr "Crea il tuo primo form" -#: dist/scripts/formality-editor.js:3150 +#: dist/scripts/formality-editor.js:3139 msgid "Credits/copy text" msgstr "Testo copy/crediti" -#: dist/scripts/formality-editor.js:2298 +#: dist/scripts/formality-editor.js:2355 msgid "" "Currently you can't use this block, because you have no published Formality " "form." @@ -224,19 +253,27 @@ msgstr "" "Al momento non puoi utilizzare questo blocco, perchè non hai form Formality " "pubblicati." -#: dist/scripts/formality-editor.js:456 +#: dist/scripts/formality-editor.js:483 msgid "Custom message/information for your users." msgstr "Messaggio informativo per i tuoi utenti." -#: dist/scripts/formality-editor.js:1458 +#: admin/class-formality-results.php:488 +msgid "Date" +msgstr "Data" + +#: admin/class-formality-results.php:568 +msgid "Descending" +msgstr "Discendente" + +#: dist/scripts/formality-editor.js:1500 msgid "Description" msgstr "Descrizione" -#: dist/scripts/formality-editor.js:2336 +#: dist/scripts/formality-editor.js:2393 msgid "Disable button" msgstr "Disabilita pulsante" -#: dist/scripts/formality-editor.js:4552 +#: dist/scripts/formality-editor.js:4613 msgid "" "Disable SSL verification for unsplash.com domain until the download process " "finishes." @@ -245,20 +282,28 @@ msgstr "" "download." #. translators: option grid columns -#: dist/scripts/formality-editor.js:735 +#: dist/scripts/formality-editor.js:765 msgid "Display inline options." msgstr "Mostra opzioni in linea." #. translators: option grid columns -#: dist/scripts/formality-editor.js:735 +#: dist/scripts/formality-editor.js:765 msgid "Distribute options in %s columns." msgstr "Distribuisci opzioni su %s colonne." -#: dist/scripts/formality-editor.js:4545 +#: admin/class-formality-results.php:171 +msgid "Download" +msgstr "Scarica" + +#: dist/scripts/formality-admin.js:289 +msgid "Download now" +msgstr "Scarica ora" + +#: dist/scripts/formality-editor.js:4606 msgid "Download templates photos" msgstr "Scarica le foto dei templates" -#: dist/scripts/formality-editor.js:1215 +#: dist/scripts/formality-editor.js:1254 msgid "Dropdown list with all available options that users can select." msgstr "Menù a tendina con tutte le opzioni che l'utente può selezionare." @@ -270,15 +315,15 @@ msgstr "Duplica" msgid "Duplicate this form" msgstr "Duplica questo form" -#: dist/scripts/formality-editor.js:3702 +#: dist/scripts/formality-editor.js:3687 msgid "Dynamic background" msgstr "Sfondi dinamici" -#: dist/scripts/formality-editor.js:176 +#: dist/scripts/formality-editor.js:197 msgid "E-mail" msgstr "E-mail" -#: dist/scripts/formality-editor.js:3168 +#: dist/scripts/formality-editor.js:3157 msgid "E-mail address" msgstr "Indirizzo email" @@ -286,108 +331,137 @@ msgstr "Indirizzo email" msgid "Edit Form" msgstr "Modifica form" -#: dist/scripts/formality-editor.js:3715 +#: dist/scripts/formality-editor.js:3700 msgid "Edit or update background image" msgstr "Aggiorna l'immagine di sfondo" -#: dist/scripts/formality-editor.js:2974 +#: dist/scripts/formality-editor.js:2963 msgid "Edit or update logo" msgstr "Modifica o aggiorna logo" -#: dist/scripts/formality-editor.js:391 +#: dist/scripts/formality-editor.js:415 msgid "Edit or update media file" msgstr "Modifica o aggiorna file media" -#: dist/scripts/formality-editor.js:3010 +#: dist/scripts/formality-editor.js:2999 msgid "Edit or update the image" msgstr "Modifica o aggiorna l'immagine" -#: includes/class-formality-setup.php:90 +#: includes/class-formality-setup.php:91 msgid "Edit Result" msgstr "Modifica risultato" -#: dist/scripts/formality-editor.js:2287 dist/scripts/formality-editor.js:2313 +#: dist/scripts/formality-editor.js:2344 dist/scripts/formality-editor.js:2370 msgid "Edit this form" msgstr "Modifica questo form" -#: dist/scripts/formality-editor.js:2418 +#: dist/scripts/formality-editor.js:2475 msgid "Embed" msgstr "Embed" -#: dist/scripts/formality-editor.js:3096 +#: dist/scripts/formality-editor.js:3085 msgid "Embed & Share" msgstr "Incorpora & Condividi" -#: dist/scripts/formality-editor.js:2186 +#: dist/scripts/formality-editor.js:2243 msgid "Embed Formality forms in your posts or pages." msgstr "Includi un form Formality nei tuoi post o pagine." -#: dist/scripts/formality-editor.js:3120 +#: dist/scripts/formality-editor.js:3109 msgid "Embedded version" msgstr "Versione embedded" -#: dist/scripts/formality-editor.js:3157 +#: dist/scripts/formality-editor.js:3146 msgid "Enable Formality credits" msgstr "Attiva i crediti di Formality" -#: dist/scripts/formality-editor.js:2090 +#: dist/scripts/formality-editor.js:2144 msgid "Enable/disable file formats" msgstr "Abilita/disabilita formati file" -#: dist/scripts/formality-editor.js:510 +#: dist/scripts/formality-editor.js:537 msgid "Enter your text here!" msgstr "Inserisci testo qui!" -#: public/class-formality-form.php:65 dist/scripts/formality-editor.js:3193 +#: public/class-formality-form.php:65 dist/scripts/formality-editor.js:3182 msgid "Error" msgstr "Errore" -#: dist/scripts/formality-editor.js:3065 +#: dist/scripts/formality-editor.js:3054 msgid "Error color" msgstr "Colore errori" -#: dist/scripts/formality-editor.js:3192 +#: dist/scripts/formality-editor.js:3181 msgid "Error message" msgstr "Messaggio di errore" -#: admin/class-formality-admin.php:107 +#: admin/class-formality-admin.php:147 msgid "Everything is ready to start building your forms:" msgstr "Tutto è pronto per iniziare a costruire i tuoi form:" -#: dist/scripts/formality-editor.js:3434 +#: admin/class-formality-results.php:478 admin/class-formality-results.php:564 +msgid "Export" +msgstr "Esporta" + +#: admin/class-formality-results.php:574 +msgid "Export now" +msgstr "Esporta ora" + +#: admin/class-formality-results.php:584 +msgid "" +"Exporting may take a while. Please don't close your browser or refresh the " +"page until the process is complete." +msgstr "" +"L'esportazione potrebbe richiedere del tempo. Non chiudere il tuo browser o " +"ricaricare la pagina fino a che il processo non è completo. " + +#: dist/scripts/formality-editor.js:3417 msgid "Field" msgstr "Campo" -#: dist/scripts/formality-editor.js:3615 +#: dist/scripts/formality-editor.js:3600 msgid "Field ID/Name" msgstr "ID/nome campo" -#: admin/class-formality-results.php:145 public/class-formality-fields.php:30 -#: dist/scripts/formality-editor.js:3537 dist/scripts/formality-editor.js:3564 +#: admin/class-formality-results.php:177 admin/class-formality-results.php:376 +#: admin/class-formality-results.php:505 public/class-formality-fields.php:30 +#: dist/scripts/formality-editor.js:3520 dist/scripts/formality-editor.js:3548 msgid "Field name" msgstr "Nome campo" -#: dist/scripts/formality-editor.js:259 dist/scripts/formality-editor.js:673 -#: dist/scripts/formality-editor.js:910 dist/scripts/formality-editor.js:1109 -#: dist/scripts/formality-editor.js:1308 dist/scripts/formality-editor.js:1449 -#: dist/scripts/formality-editor.js:1593 dist/scripts/formality-editor.js:1746 -#: dist/scripts/formality-editor.js:1895 dist/scripts/formality-editor.js:2075 +#: dist/scripts/formality-editor.js:280 dist/scripts/formality-editor.js:703 +#: dist/scripts/formality-editor.js:943 dist/scripts/formality-editor.js:1145 +#: dist/scripts/formality-editor.js:1347 dist/scripts/formality-editor.js:1491 +#: dist/scripts/formality-editor.js:1638 dist/scripts/formality-editor.js:1794 +#: dist/scripts/formality-editor.js:1946 dist/scripts/formality-editor.js:2129 msgid "Field options" msgstr "Opzioni campo" -#: dist/scripts/formality-public.js:1753 +#: admin/class-formality-results.php:571 +msgid "File" +msgstr "File" + +#: dist/scripts/formality-public.js:1745 msgid "File extension is not allowed" msgstr "L'estensione del file non è permessa" -#: dist/scripts/formality-editor.js:2946 +#: admin/class-formality-results.php:521 +msgid "Filters" +msgstr "Filtri" + +#: admin/class-formality-results.php:192 +msgid "First filled field" +msgstr "Primo campo compilato" + +#: dist/scripts/formality-editor.js:2935 msgid "Font size" msgstr "Dimensione font" -#: admin/class-formality-notifications.php:54 +#: public/templates/notification.php:39 msgid "for" msgstr "per" -#: dist/scripts/formality-editor.js:2399 +#: dist/scripts/formality-editor.js:2456 msgid "Form" msgstr "Form" @@ -400,11 +474,11 @@ msgstr "Aggiungi nuovo" msgid "Form duplication failed." msgstr "Duplicazione form fallita." -#: dist/scripts/formality-editor.js:3140 +#: dist/scripts/formality-editor.js:3129 msgid "Form footer" msgstr "Form footer" -#: admin/class-formality-admin.php:47 dist/scripts/formality-editor.js:2871 +#: admin/class-formality-admin.php:47 dist/scripts/formality-editor.js:2860 msgid "Form type" msgstr "Tipo form" @@ -412,7 +486,7 @@ msgstr "Tipo form" msgid "Formality" msgstr "Formality" -#: dist/scripts/formality-editor.js:3166 +#: dist/scripts/formality-editor.js:3155 msgid "" "Formality automatically saves all the results in the WordPress database, but " "if you want you can also activate e-mail notifications, by entering your " @@ -422,7 +496,7 @@ msgstr "" "ma se vuoi puoi attivare anche le notifiche, inserendo il tuo indirizzo " "email." -#: dist/scripts/formality-editor.js:2184 +#: dist/scripts/formality-editor.js:2241 msgid "Formality form" msgstr "Form Formality" @@ -443,43 +517,47 @@ msgstr "" "Forms made simple (and cute). Designless, multistep, conversational, secure, " "all-in-one WordPress forms plugin." -#: dist/scripts/formality-editor.js:3035 +#: dist/scripts/formality-editor.js:3024 msgid "Full screen background" msgstr "Sfondo a schermo pieno" -#: dist/scripts/formality-editor.js:3535 +#: dist/scripts/formality-editor.js:3518 msgid "Full width" msgstr "Piena (100%)" -#: admin/class-formality-admin.php:119 +#: admin/class-formality-admin.php:161 msgid "Generate sample forms and download background images" msgstr "Genera i form di esempio e scarica le immagini di sfondo" -#: admin/class-formality-admin.php:110 +#: admin/class-formality-admin.php:150 msgid "Get Started" msgstr "Inizia" -#: dist/scripts/formality-editor.js:1403 +#: dist/scripts/formality-editor.js:1445 msgid "Group your fields into multiple sections, with custom heading." msgstr "Raggruppa i tuoi campi in sezioni con una intestazione custom." -#: dist/scripts/formality-editor.js:3529 +#: admin/class-formality-results.php:449 +msgid "Guest" +msgstr "Ospite" + +#: dist/scripts/formality-editor.js:3512 msgid "Half width" msgstr "Metà (50%)" -#: dist/scripts/formality-editor.js:1119 +#: dist/scripts/formality-editor.js:1155 msgid "Hearts" msgstr "Cuori" -#: dist/scripts/formality-editor.js:321 +#: dist/scripts/formality-editor.js:345 msgid "Hero image, how-to video or any type of visual content for your users." msgstr "Immagine hero, video how-to o qualsiasi altro media per i tuoi utenti." -#: dist/scripts/formality-editor.js:2327 +#: dist/scripts/formality-editor.js:2384 msgid "Hide form title" msgstr "Nascondi titolo form" -#: admin/class-formality-admin.php:102 admin/class-formality-admin.php:104 +#: admin/class-formality-admin.php:142 admin/class-formality-admin.php:144 msgid "Hide panel" msgstr "Nascondi pannello" @@ -491,56 +569,61 @@ msgstr "https://formality.dev" msgid "https://giorgi.io" msgstr "https://giorgi.io" -#: dist/scripts/formality-editor.js:1113 +#: dist/scripts/formality-editor.js:1149 msgid "Icons" msgstr "Icone" -#: admin/class-formality-results.php:154 +#: admin/class-formality-results.php:191 admin/class-formality-results.php:487 msgid "ID" msgstr "ID" #. translators: %s: donate link + 5 stars review link -#: admin/class-formality-admin.php:138 +#: admin/class-formality-admin.php:180 +#| msgid "" +#| "If you enjoy using Formality, please consider making a " +#| "donation, or rate this plugin with a 5 stars " +#| "review on Wordpress directory. You can also subscribe to our " +#| "newsletter (max once a month)." msgid "" "If you enjoy using Formality, please consider making a " "donation, or rate this plugin with a 5 stars review " -"on Wordpress directory. You can also subscribe to our newsletter (max once a " -"month)." +"on the WordPress plugin directory. You can also subscribe to our newsletter " +"(max once a month)." msgstr "" "Se ti piace Formality, puoi considerare di fare una " "donazione, o valutare questo plugin con una recensione " "a 5 stelle sulla directory Wordpress. Puoi anche iscriverti alla nostra " "newsletter (massimo una mail/mese)." -#: admin/class-formality-notifications.php:53 +#: public/templates/notification.php:36 msgid "in your admin dashboard" msgstr "nella dashboard" -#: dist/scripts/formality-editor.js:2407 +#: dist/scripts/formality-editor.js:2464 msgid "Include this form in your post content." msgstr "Inserisci questo form nel post." -#: dist/scripts/formality-editor.js:3470 dist/scripts/formality-editor.js:3479 +#: dist/scripts/formality-editor.js:3453 dist/scripts/formality-editor.js:3462 msgid "Initial value" msgstr "Valore iniziale" -#: admin/class-formality-editor.php:85 +#: admin/class-formality-editor.php:88 msgid "Input fields" msgstr "Campi input" -#: dist/scripts/formality-editor.js:3049 +#: dist/scripts/formality-editor.js:3038 msgid "Input style" msgstr "Stile campi" -#: dist/scripts/formality-editor.js:929 +#: dist/scripts/formality-editor.js:962 msgid "Interval" msgstr "Intervallo" -#: dist/scripts/formality-editor.js:2372 +#: dist/scripts/formality-editor.js:2429 msgid "Invert form colors for this button" msgstr "Inverti i colori del form per questo pulsante" -#: dist/scripts/formality-editor.js:4550 +#: dist/scripts/formality-editor.js:4611 msgid "" "It seems your template library is incomplete. To fix this issue, you can " "retry the download process." @@ -548,108 +631,116 @@ msgstr "" "Sembra che la tua libreria template sia incompleta. Per sistemare questo " "problema puoi provare a ripetere il download." -#: dist/scripts/formality-editor.js:696 dist/scripts/formality-editor.js:1331 +#: dist/scripts/formality-editor.js:726 dist/scripts/formality-editor.js:1370 msgid "Label" msgstr "Etichetta" -#: dist/scripts/formality-editor.js:3536 +#: dist/scripts/formality-editor.js:3519 msgid "Label / Question" msgstr "Etichetta / domanda" -#: dist/scripts/formality-editor.js:3068 +#: dist/scripts/formality-editor.js:3057 msgid "Label and border color of the wrong inputs." msgstr "Colore di etichette e bordi dei campi sbagliati." -#: admin/class-formality-editor.php:91 +#: admin/class-formality-editor.php:94 msgid "Layout elements" msgstr "Elementi layout" -#: admin/class-formality-admin.php:133 +#: admin/class-formality-admin.php:175 msgid "Learn more about Formality" msgstr "Scopri di più su Formality" -#: dist/scripts/formality-editor.js:1986 +#: dist/scripts/formality-editor.js:2040 msgid "Let your users upload files to your form" msgstr "Permetti ai tuoi utenti di caricare file" -#: admin/class-formality-admin.php:122 dist/scripts/formality-editor.js:4631 +#: admin/class-formality-admin.php:164 dist/scripts/formality-editor.js:4692 msgid "License" msgstr "Licenza" -#: dist/scripts/formality-editor.js:3063 +#: admin/class-formality-results.php:523 +msgid "Limit" +msgstr "Limite" + +#: dist/scripts/formality-editor.js:3052 msgid "Line" msgstr "Line" -#: dist/scripts/formality-editor.js:2385 +#: dist/scripts/formality-editor.js:2442 msgid "Loading your form..." msgstr "Caricamento form..." -#: dist/scripts/formality-editor.js:2272 +#: dist/scripts/formality-editor.js:2329 msgid "Loading your forms..." msgstr "Caricamento form..." -#: dist/scripts/formality-editor.js:2961 +#: dist/scripts/formality-editor.js:2950 msgid "Logo" msgstr "Logo" -#: dist/scripts/formality-editor.js:2987 +#: dist/scripts/formality-editor.js:2976 msgid "Logo height multiplier" msgstr "Moltiplicatore altezza logo" -#: public/class-formality-form.php:99 dist/scripts/formality-editor.js:4329 +#: public/templates/notification.php:41 +msgid "Made with" +msgstr "Fatto con" + +#: public/class-formality-form.php:99 dist/scripts/formality-editor.js:4390 msgid "Made with Formality" msgstr "Made with Formality" -#: admin/class-formality-admin.php:130 +#: admin/class-formality-admin.php:172 msgid "Manage your forms" msgstr "Amministra i tuoi form" #. translators: link hashtag -#: dist/scripts/formality-editor.js:2393 +#: dist/scripts/formality-editor.js:2450 msgid "Manually set \"%s\" as url link (href) in your text content" msgstr "Imposta \"%s\" come indirizzo (href) dei tuoi link" -#: dist/scripts/formality-editor.js:2344 +#: dist/scripts/formality-editor.js:2401 msgid "Manually set this hashtag as url link (href) in your text content" msgstr "Imposta manualmente questo hashtag come indirizzo (href) dei tuoi link" -#: admin/class-formality-results.php:236 +#: admin/class-formality-results.php:297 msgid "Mark all as read" msgstr "Segnala tutti come letti" -#: admin/class-formality-results.php:196 +#: admin/class-formality-results.php:250 msgid "Mark as read" msgstr "Segnala come letto" -#: admin/class-formality-results.php:198 +#: admin/class-formality-results.php:250 msgid "Mark as unread" msgstr "Segnala come non letto" -#: dist/scripts/formality-editor.js:1909 +#: dist/scripts/formality-editor.js:1960 msgid "Max length" msgstr "Lunghezza massima" -#: dist/scripts/formality-editor.js:2086 +#: dist/scripts/formality-editor.js:2140 msgid "Max upload file size" msgstr "Peso file massimo" -#: dist/scripts/formality-editor.js:922 dist/scripts/formality-editor.js:1130 +#: dist/scripts/formality-editor.js:955 dist/scripts/formality-editor.js:1166 msgid "Max value" msgstr "Valore massimo" -#: dist/scripts/formality-editor.js:320 +#: dist/scripts/formality-editor.js:344 msgid "Media" msgstr "Media" -#: dist/scripts/formality-editor.js:378 +#: dist/scripts/formality-editor.js:402 msgid "Media file" msgstr "File media" -#: dist/scripts/formality-editor.js:375 +#: dist/scripts/formality-editor.js:399 msgid "Media options" msgstr "Opzioni media" -#: dist/scripts/formality-editor.js:455 dist/scripts/formality-editor.js:3543 +#: dist/scripts/formality-editor.js:482 dist/scripts/formality-editor.js:3526 msgid "Message" msgstr "Messaggio" @@ -657,15 +748,19 @@ msgstr "Messaggio" msgid "Michele Giorgi" msgstr "Michele Giorgi" -#: dist/scripts/formality-editor.js:915 +#: dist/scripts/formality-editor.js:948 msgid "Min value" msgstr "Valore minimo" -#: dist/scripts/formality-editor.js:1807 +#: admin/class-formality-results.php:531 +msgid "Month" +msgstr "Mese" + +#: dist/scripts/formality-editor.js:1858 msgid "Multi-line area, good for texts or long answers." msgstr "Area di testo multi-linea, ottima per lunghe risposte." -#: dist/scripts/formality-editor.js:560 +#: dist/scripts/formality-editor.js:590 msgid "Multiple choice" msgstr "Scelta multipla" @@ -673,12 +768,12 @@ msgstr "Scelta multipla" msgid "New Form" msgstr "Nuovo form" -#: includes/class-formality-setup.php:89 +#: includes/class-formality-setup.php:90 msgid "New Result" msgstr "Nuovo risultato" #: admin/class-formality-notifications.php:27 -#: admin/class-formality-notifications.php:56 +#: public/templates/notification.php:30 msgid "New result for" msgstr "Nuovo risultato per" @@ -698,7 +793,7 @@ msgstr "Nessun form trovato nel cestino." msgid "No forms found." msgstr "Nessun form trovato." -#: admin/class-formality-results.php:168 admin/class-formality-results.php:208 +#: admin/class-formality-results.php:218 admin/class-formality-results.php:264 msgid "No result to mark as read has been supplied!" msgstr "Devi prima selezionare un risultato da modificare!" @@ -706,15 +801,20 @@ msgstr "Devi prima selezionare un risultato da modificare!" msgid "No results" msgstr "Nessun risultato" -#: includes/class-formality-setup.php:96 +#: includes/class-formality-setup.php:97 msgid "No results found in Trash." msgstr "Nessun risultato trovato nel cestino." -#: includes/class-formality-setup.php:95 +#: includes/class-formality-setup.php:96 msgid "No results found." msgstr "Nessun risultato trovato." -#: admin/class-formality-results.php:227 +#: admin/class-formality-results.php:312 admin/class-formality-results.php:321 +#: admin/class-formality-results.php:388 +msgid "No results to export!" +msgstr "Nessun risultato da esportare!" + +#: admin/class-formality-results.php:283 msgid "No results to mark as read" msgstr "Nessun risultato da segnalare come letto" @@ -722,8 +822,8 @@ msgstr "Nessun risultato da segnalare come letto" msgid "No sample to import has been supplied!" msgstr "Non è stato fornito alcun form di esempio valido!" -#: public/class-formality-fields.php:378 dist/scripts/formality-editor.js:3460 -#: dist/scripts/formality-editor.js:3481 +#: public/class-formality-fields.php:379 dist/scripts/formality-editor.js:3443 +#: dist/scripts/formality-editor.js:3464 msgid "None" msgstr "Nessuno" @@ -731,42 +831,47 @@ msgstr "Nessuno" msgid "Not so fast..." msgstr "Non così veloce..." -#: dist/scripts/formality-editor.js:3164 +#: dist/scripts/formality-editor.js:3153 msgid "Notifications" msgstr "Notifiche" -#: dist/scripts/formality-editor.js:812 +#: dist/scripts/formality-editor.js:845 msgid "Number" msgstr "Numero" -#: dist/scripts/formality-editor.js:813 +#: dist/scripts/formality-editor.js:846 msgid "Number field, accept integer or float number value" msgstr "Campo numerico, accetta solo numeri interi" -#: dist/scripts/formality-editor.js:676 dist/scripts/formality-editor.js:1311 -#: dist/scripts/formality-editor.js:2395 +#: dist/scripts/formality-editor.js:706 dist/scripts/formality-editor.js:1350 +#: dist/scripts/formality-editor.js:2452 msgid "Options" msgstr "Opzioni" -#: dist/scripts/formality-editor.js:732 +#: dist/scripts/formality-editor.js:762 msgid "Options grid" msgstr "Griglia opzioni" #. translators: %s: generate sample forms link -#: admin/class-formality-admin.php:113 +#: admin/class-formality-admin.php:155 msgid "" "or generate a couple of sample forms to practice with" msgstr "" "o genera un paio di form di esempio per fare pratica" #. translators: %s: import form link -#: admin/class-formality-admin.php:114 -msgid "or import your forms with Wordpress import tool" +#: admin/class-formality-admin.php:156 +#| msgid "or import your forms with Wordpress import tool" +msgid "or import your forms with the WordPress import tool" msgstr "" "o importa i tuoi form con lo strumento di importazione di " "Wordpress" -#: admin/class-formality-admin.php:118 +#: admin/class-formality-results.php:566 +msgid "Order" +msgstr "Ordine" + +#: admin/class-formality-admin.php:160 msgid "" "Our sample forms are made with a selection of the best Unsplash photos. To " "start using them, you first have to download these photos from Unsplash " @@ -782,16 +887,16 @@ msgstr "" msgid "Parent Forms:" msgstr "Form padre:" -#: includes/class-formality-setup.php:94 +#: includes/class-formality-setup.php:95 msgid "Parent Results:" msgstr "Risultati:" #. translators: photo author -#: public/class-formality-form.php:100 dist/scripts/formality-editor.js:4331 +#: public/class-formality-form.php:100 dist/scripts/formality-editor.js:4392 msgid "Photo by %s on Unsplash" msgstr "Foto di %s su Unsplash" -#: dist/scripts/formality-editor.js:1450 +#: dist/scripts/formality-editor.js:1492 msgid "" "Place this block before the first field you want to group. This step section " "will be closed automatically before the next step block (or at the end of " @@ -801,7 +906,7 @@ msgstr "" "verrà chiusa automaticamente prima del prossimo campo step (o alla fine del " "form)." -#: dist/scripts/formality-editor.js:3543 +#: dist/scripts/formality-editor.js:3526 msgid "Placeholder" msgstr "Testo segnaposto" @@ -810,19 +915,19 @@ msgstr "Testo segnaposto" msgid "Please update your core and retry the activation." msgstr "Aggiorna il core e riprova l'attivazione." -#: dist/scripts/formality-admin.js:146 +#: dist/scripts/formality-admin.js:347 msgid "Please insert a valid email address" msgstr "Inserisci un indirizzo email valido" -#: dist/scripts/formality-editor.js:2385 +#: dist/scripts/formality-editor.js:2442 msgid "Please select a form to embed, from the right sidebar" msgstr "Seleziona un form da includere, dalla sidebar laterale" -#: dist/scripts/formality-editor.js:418 +#: dist/scripts/formality-editor.js:442 msgid "Please select an image or video, from the right sidebar." msgstr "Seleziona una immagine o un video dalla sidebar laterale." -#: dist/scripts/formality-public.js:1762 +#: dist/scripts/formality-public.js:1754 msgid "Please wait" msgstr "Attendi qualche secondo " @@ -831,7 +936,7 @@ msgctxt "post type general name" msgid "Forms" msgstr "Form" -#: includes/class-formality-setup.php:83 +#: includes/class-formality-setup.php:84 msgctxt "post type general name" msgid "Results" msgstr "Risultati" @@ -841,44 +946,44 @@ msgctxt "post type singular name" msgid "Form" msgstr "Form" -#: includes/class-formality-setup.php:84 +#: includes/class-formality-setup.php:85 msgctxt "post type singular name" msgid "Result" msgstr "Risultato" -#: dist/scripts/formality-public.js:582 +#: dist/scripts/formality-public.js:575 msgid "Press backspace to reset this field and return to previous field" msgstr "Premi backspace per resettare il campo e tornare al campo precedente" -#: dist/scripts/formality-public.js:574 +#: dist/scripts/formality-public.js:567 msgid "Press enter or tab to proceed to next field" msgstr "Premi invio o tab per procedere al campo successivo" -#: dist/scripts/formality-public.js:598 +#: dist/scripts/formality-public.js:591 msgid "Press enter to confirm your option and proceed to next field" msgstr "Premi invio per confermare l'opzione e procedere al campo successivo " -#: dist/scripts/formality-public.js:590 +#: dist/scripts/formality-public.js:583 msgid "Press left or right arrows to choose your option" msgstr "Usa le frecce sinistra e destra per fare la tua scelta" -#: dist/scripts/formality-public.js:602 +#: dist/scripts/formality-public.js:595 msgid "Press space to confirm your option" msgstr "Premi spazio per confermare la tua opzione" -#: dist/scripts/formality-public.js:606 +#: dist/scripts/formality-public.js:599 msgid "Press space to select your file" msgstr "Premi spazio per selezionare il tuo file" -#: dist/scripts/formality-public.js:578 +#: dist/scripts/formality-public.js:571 msgid "Press tab to proceed to next field" msgstr "Premi tab per procedere al campo successivo" -#: dist/scripts/formality-public.js:594 +#: dist/scripts/formality-public.js:587 msgid "Press up and down arrows to increment or decrement your value" msgstr "Usa le frecce sù e giù per aumentare o diminuire il numero" -#: dist/scripts/formality-public.js:586 +#: dist/scripts/formality-public.js:579 msgid "Press up or down arrows to choose your option" msgstr "Usa le frecce sù e giù per fare la tua scelta" @@ -886,81 +991,91 @@ msgstr "Usa le frecce sù e giù per fare la tua scelta" msgid "Previous" msgstr "Indietro" -#: dist/scripts/formality-editor.js:2888 +#: dist/scripts/formality-editor.js:2877 msgid "Primary color" msgstr "Colore primario" -#: admin/class-formality-admin.php:128 +#: admin/class-formality-admin.php:170 msgid "Quick links" msgstr "Link veloci" -#: dist/scripts/formality-editor.js:720 +#: dist/scripts/formality-editor.js:750 msgid "Radio/checkbox (default)" msgstr "Radio/checkbox (default)" -#: dist/scripts/formality-editor.js:995 +#: dist/scripts/formality-editor.js:1031 msgid "Rating" msgstr "Voto" -#: dist/scripts/formality-editor.js:2319 +#: admin/class-formality-results.php:558 +msgid "Read" +msgstr "Letto" + +#: dist/scripts/formality-editor.js:2376 msgid "Remove background" msgstr "Rimuovi sfondo" -#: dist/scripts/formality-editor.js:3020 +#: dist/scripts/formality-editor.js:3009 msgid "Remove background image" msgstr "Rimuovi immagine di sfondo" -#: dist/scripts/formality-editor.js:2343 +#: dist/scripts/formality-editor.js:2400 msgid "Remove button and open this form with a simple text link" msgstr "Rimuovi pulsante e apri questo form con un semplice link testuale" -#: dist/scripts/formality-editor.js:3731 +#: dist/scripts/formality-editor.js:3716 msgid "Remove color" msgstr "Rimuovi colore" -#: dist/scripts/formality-editor.js:2984 +#: dist/scripts/formality-editor.js:2973 msgid "Remove custom logo" msgstr "Rimuovi logo custom" -#: dist/scripts/formality-editor.js:3725 +#: dist/scripts/formality-editor.js:3710 msgid "Remove image" msgstr "Rimuovi immagine" -#: dist/scripts/formality-editor.js:404 +#: dist/scripts/formality-editor.js:428 msgid "Remove media" msgstr "Rimuovi media" -#: admin/class-formality-admin.php:132 +#: admin/class-formality-admin.php:174 msgid "Request support or report a bug" msgstr "Richiedi supporto o segnala un bug" -#: includes/class-formality-setup.php:87 +#: includes/class-formality-setup.php:88 msgctxt "result" msgid "Add New" msgstr "Aggiungi nuovo" -#: admin/class-formality-results.php:188 +#: admin/class-formality-results.php:238 msgid "Result change failed, could not find original result: " msgstr "Modifica fallita, il risultato non esiste:" -#: admin/class-formality-admin.php:48 includes/class-formality-setup.php:92 +#: admin/class-formality-admin.php:48 includes/class-formality-setup.php:93 msgid "Results" msgstr "Risultati" -#: admin/class-formality-admin.php:59 +#: admin/class-formality-admin.php:59 admin/class-formality-results.php:524 +#: admin/class-formality-results.php:528 admin/class-formality-results.php:578 msgid "results" msgstr "risultati" +#. translators: %s: Results for +#: admin/class-formality-admin.php:112 +msgid "Results for %s" +msgstr "Risultati di %s" + #. translators: %s: WordPress update link #: includes/class-formality-activator.php:27 msgid "Return to your dashboard" msgstr "Ritorna alla dashboard" -#: dist/scripts/formality-editor.js:1122 +#: dist/scripts/formality-editor.js:1158 msgid "Rhombus" msgstr "Rombi" -#: dist/scripts/formality-editor.js:1902 +#: dist/scripts/formality-editor.js:1953 msgid "Rows" msgstr "Righe" @@ -977,27 +1092,27 @@ msgstr "Importazione form di esempio fallita." msgid "Search Forms" msgstr "Cerca form" -#: includes/class-formality-setup.php:93 +#: includes/class-formality-setup.php:94 msgid "Search Results" msgstr "Cerca risultati" -#: dist/scripts/formality-editor.js:2916 +#: dist/scripts/formality-editor.js:2905 msgid "Secondary color" msgstr "Colore secondario" -#: dist/scripts/formality-editor.js:1214 +#: dist/scripts/formality-editor.js:1253 msgid "Select" msgstr "Menù a tendina" -#: dist/scripts/formality-editor.js:2256 +#: dist/scripts/formality-editor.js:2313 msgid "Select a form to embed" msgstr "Seleziona un form da includere" -#: dist/scripts/formality-editor.js:379 +#: dist/scripts/formality-editor.js:403 msgid "Select an image or video" msgstr "Seleziona una immagine o un video" -#: dist/scripts/formality-editor.js:4546 +#: dist/scripts/formality-editor.js:4607 msgid "" "Select one of our templates made with a selection of the best Unsplash " "photos." @@ -1005,71 +1120,83 @@ msgstr "" "Seleziona uno dei nostri templates, realizzati con una selezione delle " "migliori foto Unsplash." -#: dist/scripts/formality-editor.js:3719 +#: dist/scripts/formality-editor.js:3704 msgid "Select or upload background image" msgstr "Seleziona o carica l'immagine di sfondo" -#: dist/scripts/formality-editor.js:398 +#: dist/scripts/formality-editor.js:422 msgid "Select or upload media" msgstr "Seleziona o carica media" -#: public/class-formality-fields.php:80 dist/scripts/formality-editor.js:755 -#: dist/scripts/formality-editor.js:1357 dist/scripts/formality-editor.js:1362 -#: dist/scripts/formality-editor.js:1364 +#: admin/class-formality-results.php:485 +msgid "Select the data to export as columns in the csv file export." +msgstr "Seleziona i dati da esportare come colonne nel file csv esportato." + +#: public/class-formality-fields.php:80 dist/scripts/formality-editor.js:785 +#: dist/scripts/formality-editor.js:1396 dist/scripts/formality-editor.js:1401 +#: dist/scripts/formality-editor.js:1403 msgid "Select your choice" msgstr "Seleziona la tua scelta" -#: public/class-formality-form.php:52 dist/scripts/formality-editor.js:3144 -#: dist/scripts/formality-editor.js:4351 +#: public/class-formality-form.php:52 dist/scripts/formality-editor.js:3133 +#: dist/scripts/formality-editor.js:4412 msgid "Send" msgstr "Invia" -#: dist/scripts/formality-editor.js:3143 +#: dist/scripts/formality-editor.js:3132 msgid "Send button label" msgstr "Etichetta pulsante invio" -#: dist/scripts/formality-editor.js:3014 +#: dist/scripts/formality-editor.js:3003 msgid "Set a background image" msgstr "Seleziona immagine di sfondo" -#: dist/scripts/formality-editor.js:3024 +#: dist/scripts/formality-editor.js:3013 msgid "Set background overlay opacity (%)" msgstr "Imposta opacità del livello coprente (%)" -#: dist/scripts/formality-editor.js:3222 +#: dist/scripts/formality-editor.js:3211 msgid "Settings" msgstr "Impostazioni" -#: dist/scripts/formality-public.js:546 +#: dist/scripts/formality-public.js:539 msgid "Show less hints" msgstr "Mostra meno suggerimenti" -#: dist/scripts/formality-public.js:546 +#: dist/scripts/formality-public.js:539 msgid "Show more hints" msgstr "Mostra più suggerimenti" -#: admin/class-formality-admin.php:102 +#: admin/class-formality-admin.php:142 msgid "Show panel" msgstr "Mostra pannello" -#: dist/scripts/formality-editor.js:3624 +#: dist/scripts/formality-editor.js:3609 msgid "Show this field only if:" msgstr "Mostra questo campo solo se:" -#: dist/scripts/formality-editor.js:3035 +#: dist/scripts/formality-editor.js:3024 msgid "Side background" msgstr "Sfondo su un lato" -#: dist/scripts/formality-editor.js:3050 +#: dist/scripts/formality-editor.js:3039 msgid "Single line border input field" msgstr "Campi input con linea" -#: public/class-formality-fields.php:377 dist/scripts/formality-editor.js:2085 -#: dist/scripts/formality-editor.js:2129 +#: public/class-formality-fields.php:378 dist/scripts/formality-editor.js:2139 +#: dist/scripts/formality-editor.js:2183 msgid "Size limit" msgstr "Limite peso file" -#: public/class-formality-form.php:66 dist/scripts/formality-editor.js:3199 +#: admin/class-formality-results.php:527 +msgid "Skip" +msgstr "Salta" + +#: dist/scripts/formality-admin.js:297 +msgid "Something went wrong" +msgstr "Qualcosa è andato storto" + +#: public/class-formality-form.php:66 dist/scripts/formality-editor.js:3188 msgid "" "Something went wrong and we couldn't save your data. Please retry later or " "contact us by e-mail or phone." @@ -1077,7 +1204,7 @@ msgstr "" "Qualcosa è andato storto e i tuoi dati non sono stati salvati. Riprova più " "tardi o contattaci via e-mail o telefono." -#: dist/scripts/formality-editor.js:4275 +#: dist/scripts/formality-editor.js:4336 msgid "" "Something went wrong during the download process. You can retry or check " "your server logs for more informations about the error." @@ -1085,11 +1212,11 @@ msgstr "" "Qualcosa è andato storto durante il processo di download. Puoi riprovare il " "download o controllare l'errore nel log del tuo server." -#: dist/scripts/formality-admin.js:143 +#: dist/scripts/formality-admin.js:344 msgid "Something went wrong. Please retry later." msgstr "Qualcosa è andato storto. Riprova più tardi." -#: dist/scripts/formality-editor.js:4277 +#: dist/scripts/formality-editor.js:4338 msgid "" "SSL verification failed during the download process. These errors most " "commonly happen on localhost development environments, and/or on servers " @@ -1103,48 +1230,52 @@ msgstr "" "problema al più presto. Nel frattempo, se vuoi completare il download ora, " "puoi temporaneamente disabilitare la verifica SSL." -#: dist/scripts/formality-editor.js:3098 +#: dist/scripts/formality-editor.js:3087 msgid "Standalone version" msgstr "Versione standalone" -#: admin/class-formality-admin.php:68 dist/scripts/formality-editor.js:2879 +#: admin/class-formality-admin.php:68 dist/scripts/formality-editor.js:2868 msgid "Standard" msgstr "Standard" -#: dist/scripts/formality-editor.js:1664 +#: dist/scripts/formality-editor.js:1712 msgid "Standard text field, good for short answers and 1 line information." msgstr "Campo standard, ottimo per risposte rapide di una riga di testo." -#: dist/scripts/formality-editor.js:1116 +#: dist/scripts/formality-editor.js:1152 msgid "Stars" msgstr "Stelle" -#: admin/class-formality-results.php:101 admin/class-formality-results.php:106 -#: dist/scripts/formality-editor.js:1402 +#: admin/class-formality-results.php:555 +msgid "Status" +msgstr "Stato" + +#: admin/class-formality-results.php:126 admin/class-formality-results.php:131 +#: dist/scripts/formality-editor.js:1444 msgid "Step" msgstr "Step" -#: dist/scripts/formality-editor.js:1452 dist/scripts/formality-editor.js:1465 +#: dist/scripts/formality-editor.js:1494 dist/scripts/formality-editor.js:1507 msgid "Step name" msgstr "Nome step" -#: dist/scripts/formality-editor.js:1451 +#: dist/scripts/formality-editor.js:1493 msgid "Step title" msgstr "Titolo step" -#: dist/scripts/formality-editor.js:3174 +#: dist/scripts/formality-editor.js:3163 msgid "Submit status" msgstr "Esito invio" -#: admin/class-formality-admin.php:141 +#: admin/class-formality-admin.php:183 msgid "Subscribe" msgstr "Iscriviti" -#: admin/class-formality-admin.php:137 +#: admin/class-formality-admin.php:179 msgid "Support us" msgstr "Supporta Formality" -#: dist/scripts/formality-editor.js:3162 +#: dist/scripts/formality-editor.js:3151 msgid "" "Support us (and the photographer of the chosen template) with a single text " "line at the end of this form." @@ -1152,43 +1283,43 @@ msgstr "" "Supporta Formality (e il fotografo del template selezionato) con una singola " "linea di testo alla fine del tuo form." -#: dist/scripts/formality-editor.js:1505 +#: dist/scripts/formality-editor.js:1550 msgid "Switch" msgstr "Interruttore" -#: dist/scripts/formality-editor.js:1598 +#: dist/scripts/formality-editor.js:1643 msgid "Switch (default)" msgstr "Interruttore (default)" -#: dist/scripts/formality-editor.js:4611 +#: dist/scripts/formality-editor.js:4672 msgid "Templates" msgstr "Templates" -#: admin/class-formality-admin.php:121 dist/scripts/formality-editor.js:4627 +#: admin/class-formality-admin.php:163 dist/scripts/formality-editor.js:4688 msgid "Terms and conditions" msgstr "Termini e condizioni" -#: dist/scripts/formality-editor.js:1663 +#: dist/scripts/formality-editor.js:1711 msgid "Text" msgstr "Testo" -#: dist/scripts/formality-editor.js:177 +#: dist/scripts/formality-editor.js:198 msgid "Text field that accepts only valid email address." msgstr "Campo di testo che accetta solo indirizzi email validi." -#: dist/scripts/formality-editor.js:1806 +#: dist/scripts/formality-editor.js:1857 msgid "Textarea" msgstr "Area di testo" -#: dist/scripts/formality-editor.js:2889 +#: dist/scripts/formality-editor.js:2878 msgid "Texts, Labels, Borders, etc." msgstr "Testi, Etichette, Bordi, ecc..." -#: public/class-formality-form.php:63 dist/scripts/formality-editor.js:3179 +#: public/class-formality-form.php:63 dist/scripts/formality-editor.js:3168 msgid "Thank you" msgstr "Grazie" -#: dist/scripts/formality-editor.js:3178 +#: dist/scripts/formality-editor.js:3167 msgid "Thank you message" msgstr "Messaggio di ringraziamento" @@ -1196,11 +1327,21 @@ msgstr "Messaggio di ringraziamento" msgid "There is no data to save" msgstr "Nessun dato da salvare" -#: dist/scripts/formality-editor.js:3514 +#. translators: %s: delete export file link +#: admin/class-formality-results.php:589 +msgid "" +"This file will be automatically deleted from your server at the next export " +"attempt. Click here to delete this file immediately." +msgstr "" +"Questo file verrà eliminato automaticamente dal tuo server alla prossima " +"esportazione. Clicca qui per eliminare il file " +"immediatamente." + +#: dist/scripts/formality-editor.js:3497 msgid "This is a required field" msgstr "Questo è un campo obbligatorio" -#: dist/scripts/formality-editor.js:3098 +#: dist/scripts/formality-editor.js:3087 msgid "" "This is an independent form, that are not tied to your posts or pages, and " "you can visit at this web address:" @@ -1208,75 +1349,75 @@ msgstr "" "Ogni form è indipendente dalle tue pagine o post, e può essere raggiunto al " "seguente indirizzo:" -#: dist/scripts/formality-public.js:1332 +#: dist/scripts/formality-public.js:1324 msgid "This value is required" msgstr "Questo campo è obbligatorio" #. translators: validation -#: dist/scripts/formality-public.js:1348 +#: dist/scripts/formality-public.js:1340 msgid "This value is too long. It should have %s characters or fewer" msgstr "Questo valore è troppo lungo. Dovrebbe avere non più di %s caratteri" #. translators: validation -#: dist/scripts/formality-public.js:1345 +#: dist/scripts/formality-public.js:1337 msgid "This value is too short. It should have %s characters or more" msgstr "Questo valore è troppo corto. Dovrebbe avere almeno %s caratteri" #. translators: validation -#: dist/scripts/formality-public.js:1351 +#: dist/scripts/formality-public.js:1343 msgid "" "This value length is invalid. It should be between %s and %s characters long" msgstr "" "La tua risposta dovrebbe avere una lunghezza compresa tra %s e %s caratteri" -#: dist/scripts/formality-public.js:1323 dist/scripts/formality-public.js:1333 +#: dist/scripts/formality-public.js:1315 dist/scripts/formality-public.js:1325 msgid "This value seems to be invalid" msgstr "Questo campo non è valido" -#: dist/scripts/formality-public.js:1325 +#: dist/scripts/formality-public.js:1317 msgid "This value should be a valid email" msgstr "Questo campo deve contenere una email valida" -#: dist/scripts/formality-public.js:1328 +#: dist/scripts/formality-public.js:1320 msgid "This value should be a valid integer" msgstr "Questo campo deve contenere un numero intero" -#: dist/scripts/formality-public.js:1327 +#: dist/scripts/formality-public.js:1319 msgid "This value should be a valid number" msgstr "Questo campo deve contenere un numero valido" -#: dist/scripts/formality-public.js:1326 +#: dist/scripts/formality-public.js:1318 msgid "This value should be a valid url" msgstr "Questo campo deve contenere un url valido" -#: dist/scripts/formality-public.js:1330 +#: dist/scripts/formality-public.js:1322 msgid "This value should be alphanumeric" msgstr "Questo campo deve contenere solo lettere" #. translators: validation -#: dist/scripts/formality-public.js:1342 +#: dist/scripts/formality-public.js:1334 msgid "This value should be between %s and %s" msgstr "Questo valore dovrebbe essere compreso tra %s e %s" -#: dist/scripts/formality-public.js:1329 +#: dist/scripts/formality-public.js:1321 msgid "This value should be digits" msgstr "Questo campo deve contenere solo numeri" #. translators: validation -#: dist/scripts/formality-public.js:1336 +#: dist/scripts/formality-public.js:1328 msgid "This value should be greater than or equal to %s" msgstr "Questo valore dovrebbe essere maggiore o uguale di %s" #. translators: validation -#: dist/scripts/formality-public.js:1339 +#: dist/scripts/formality-public.js:1331 msgid "This value should be lower than or equal to %s" msgstr "Questo valore dovrebbe essere minore o uguale di %s" -#: dist/scripts/formality-admin.js:148 +#: dist/scripts/formality-admin.js:349 msgid "To continue you have to accept our privacy policy" msgstr "Per continuare devi accettare la nostra privacy policy" -#: dist/scripts/formality-editor.js:4549 +#: dist/scripts/formality-editor.js:4610 msgid "" "To start using them, you first have to download these photos from Unsplash " "servers." @@ -1284,38 +1425,38 @@ msgstr "" "Per iniziare ad utilizzarli, devi prima scaricare queste immagini dai server " "di Unsplash." -#: public/class-formality-fields.php:90 dist/scripts/formality-editor.js:273 -#: dist/scripts/formality-editor.js:276 dist/scripts/formality-editor.js:947 -#: dist/scripts/formality-editor.js:950 dist/scripts/formality-editor.js:1761 -#: dist/scripts/formality-editor.js:1764 dist/scripts/formality-editor.js:1925 -#: dist/scripts/formality-editor.js:1930 dist/scripts/formality-editor.js:3544 +#: public/class-formality-fields.php:90 dist/scripts/formality-editor.js:294 +#: dist/scripts/formality-editor.js:297 dist/scripts/formality-editor.js:980 +#: dist/scripts/formality-editor.js:983 dist/scripts/formality-editor.js:1809 +#: dist/scripts/formality-editor.js:1812 dist/scripts/formality-editor.js:1976 +#: dist/scripts/formality-editor.js:1981 dist/scripts/formality-editor.js:3527 msgid "Type your answer here" msgstr "Scrivi la tua risposta qui" -#: admin/class-formality-results.php:51 +#: admin/class-formality-results.php:66 admin/class-formality-results.php:559 msgid "Unread" msgstr "Non letti" #. translators: %s: unread count -#: admin/class-formality-results.php:56 +#: admin/class-formality-results.php:71 msgid "Unread (%s)" msgid_plural "Unread (%s)" msgstr[0] "Non letti (%s)" msgstr[1] "Non letti (%s)" -#: dist/scripts/formality-editor.js:1985 +#: dist/scripts/formality-editor.js:2039 msgid "Upload" msgstr "Upload" -#: dist/scripts/formality-editor.js:2978 +#: dist/scripts/formality-editor.js:2967 msgid "Upload logo image" msgstr "Carica immagine logo" -#: dist/scripts/formality-editor.js:687 dist/scripts/formality-editor.js:1322 +#: dist/scripts/formality-editor.js:717 dist/scripts/formality-editor.js:1361 msgid "Value" msgstr "Valore" -#: admin/class-formality-notifications.php:54 +#: public/templates/notification.php:38 msgid "View all results" msgstr "Vedi tutti i risultati" @@ -1323,20 +1464,24 @@ msgstr "Vedi tutti i risultati" msgid "View Form" msgstr "Visualizza form" -#: admin/class-formality-admin.php:131 +#: admin/class-formality-admin.php:173 msgid "View or export your results" msgstr "Visualizza o esporta i risultati" -#: includes/class-formality-setup.php:91 +#: includes/class-formality-setup.php:92 msgid "View Result" msgstr "Visualizza risultato" -#: admin/class-formality-notifications.php:53 +#: public/templates/notification.php:35 msgid "View this result" msgstr "Apri il risultato" +#: admin/class-formality-admin.php:91 +msgid "Visit new plugin site" +msgstr "Visita il nuovo sito web" + #. translators: templates total -#: dist/scripts/formality-editor.js:4548 +#: dist/scripts/formality-editor.js:4609 msgid "" "We have prepared %s templates made with a selection of the best Unsplash " "photos." @@ -1344,34 +1489,42 @@ msgstr "" "Abbiamo preparato %s templates, realizzati con una selezione delle migliori " "foto Unsplash." -#: admin/class-formality-admin.php:106 +#: admin/class-formality-admin.php:146 msgid "Welcome to Formality!" msgstr "Benvenuto su Formality!" -#: dist/scripts/formality-editor.js:3520 +#: dist/scripts/formality-editor.js:3503 msgid "Width" msgstr "Larghezza" -#: dist/scripts/formality-editor.js:3620 +#: admin/class-formality-results.php:316 +msgid "Wrong nonce" +msgstr "Nonce errato" + +#: dist/scripts/formality-editor.js:3605 msgid "" "You can also set an initial variable value by using field ID as a query var." msgstr "" "Puoi applicare un valore iniziale utilizzando l'ID campo come query var. " -#: admin/class-formality-results.php:224 +#: admin/class-formality-results.php:280 msgid "You don't have permission to edit these results" msgstr "Non hai il permesso di modificare questi risultati" -#: admin/class-formality-results.php:185 +#: admin/class-formality-results.php:235 msgid "You don't have permission to edit this result" msgstr "Non hai il permesso di modificare questo risultato" +#: admin/class-formality-results.php:325 +msgid "You don't have permission to export these results" +msgstr "Non hai i permessi necessari per esportare questi risultati" + #. translators: validation -#: dist/scripts/formality-public.js:1354 +#: dist/scripts/formality-public.js:1346 msgid "You must select between %s and %s choices" msgstr "Dovresti scegliere tra le scelte %s e %s" -#: public/class-formality-form.php:64 dist/scripts/formality-editor.js:3185 +#: public/class-formality-form.php:64 dist/scripts/formality-editor.js:3174 msgid "" "Your data has been successfully submitted. You are very important to us, all " "information received will always remain confidential. We will contact you as " @@ -1381,11 +1534,11 @@ msgstr "" "tutte le informazioni ricevute rimarranno confidenziali, e verrai " "ricontattato al più presto. " -#: admin/class-formality-admin.php:140 +#: admin/class-formality-admin.php:182 msgid "Your email address" msgstr "Il tuo indirizzo email" -#: dist/scripts/formality-public.js:1757 +#: dist/scripts/formality-public.js:1749 msgid "Your file exceeds the size limit" msgstr "Il tuo file è troppo pesante" diff --git a/languages/formality.pot b/languages/formality.pot index 7a5f698..464c8a0 100644 --- a/languages/formality.pot +++ b/languages/formality.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the Formality plugin. msgid "" msgstr "" -"Project-Id-Version: Formality 1.3.0\n" +"Project-Id-Version: Formality 1.4\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formality\n" "Last-Translator: Formality \n" "Language-Team: Formality >\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2021-04-02T15:05:08+00:00\n" +"POT-Creation-Date: 2021-09-04T17:14:11+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.4.0\n" "X-Domain: formality\n" @@ -35,16 +35,19 @@ msgid "https://giorgi.io" msgstr "" #: admin/class-formality-admin.php:47 -#: dist/scripts/formality-editor.js:2871 +#: dist/scripts/formality-editor.js:2860 msgid "Form type" msgstr "" #: admin/class-formality-admin.php:48 -#: includes/class-formality-setup.php:92 +#: includes/class-formality-setup.php:93 msgid "Results" msgstr "" #: admin/class-formality-admin.php:59 +#: admin/class-formality-results.php:524 +#: admin/class-formality-results.php:528 +#: admin/class-formality-results.php:578 msgid "results" msgstr "" @@ -53,207 +56,322 @@ msgid "No results" msgstr "" #: admin/class-formality-admin.php:66 -#: dist/scripts/formality-editor.js:2885 +#: dist/scripts/formality-editor.js:2874 msgid "Conversational" msgstr "" #: admin/class-formality-admin.php:68 -#: dist/scripts/formality-editor.js:2879 +#: dist/scripts/formality-editor.js:2868 msgid "Standard" msgstr "" -#: admin/class-formality-admin.php:102 -#: admin/class-formality-admin.php:104 +#: admin/class-formality-admin.php:91 +msgid "Visit new plugin site" +msgstr "" + +#. translators: %s: Results for +#: admin/class-formality-admin.php:112 +msgid "Results for %s" +msgstr "" + +#: admin/class-formality-admin.php:142 +#: admin/class-formality-admin.php:144 msgid "Hide panel" msgstr "" -#: admin/class-formality-admin.php:102 +#: admin/class-formality-admin.php:142 msgid "Show panel" msgstr "" -#: admin/class-formality-admin.php:106 +#: admin/class-formality-admin.php:146 msgid "Welcome to Formality!" msgstr "" -#: admin/class-formality-admin.php:107 +#: admin/class-formality-admin.php:147 msgid "Everything is ready to start building your forms:" msgstr "" -#: admin/class-formality-admin.php:110 +#: admin/class-formality-admin.php:150 msgid "Get Started" msgstr "" -#: admin/class-formality-admin.php:112 +#: admin/class-formality-admin.php:153 +msgid "Add new form" +msgstr "" + +#: admin/class-formality-admin.php:153 msgid "Create your first form" msgstr "" #. translators: %s: generate sample forms link -#: admin/class-formality-admin.php:113 +#: admin/class-formality-admin.php:155 msgid "or generate a couple of sample forms to practice with" msgstr "" #. translators: %s: import form link -#: admin/class-formality-admin.php:114 -msgid "or import your forms with Wordpress import tool" +#: admin/class-formality-admin.php:156 +msgid "or import your forms with the WordPress import tool" msgstr "" -#: admin/class-formality-admin.php:118 +#: admin/class-formality-admin.php:160 msgid "Our sample forms are made with a selection of the best Unsplash photos. To start using them, you first have to download these photos from Unsplash servers. Click the button below to start the sample forms generation, and the images download process in the background." msgstr "" -#: admin/class-formality-admin.php:119 +#: admin/class-formality-admin.php:161 msgid "Generate sample forms and download background images" msgstr "" -#: admin/class-formality-admin.php:121 -#: dist/scripts/formality-editor.js:4627 +#: admin/class-formality-admin.php:163 +#: dist/scripts/formality-editor.js:4688 msgid "Terms and conditions" msgstr "" -#: admin/class-formality-admin.php:122 -#: dist/scripts/formality-editor.js:4631 +#: admin/class-formality-admin.php:164 +#: dist/scripts/formality-editor.js:4692 msgid "License" msgstr "" -#: admin/class-formality-admin.php:128 +#: admin/class-formality-admin.php:170 msgid "Quick links" msgstr "" -#: admin/class-formality-admin.php:130 +#: admin/class-formality-admin.php:172 msgid "Manage your forms" msgstr "" -#: admin/class-formality-admin.php:131 +#: admin/class-formality-admin.php:173 msgid "View or export your results" msgstr "" -#: admin/class-formality-admin.php:132 +#: admin/class-formality-admin.php:174 msgid "Request support or report a bug" msgstr "" -#: admin/class-formality-admin.php:133 +#: admin/class-formality-admin.php:175 msgid "Learn more about Formality" msgstr "" -#: admin/class-formality-admin.php:137 +#: admin/class-formality-admin.php:179 msgid "Support us" msgstr "" #. translators: %s: donate link + 5 stars review link -#: admin/class-formality-admin.php:138 -msgid "If you enjoy using Formality, please consider making a donation, or rate this plugin with a 5 stars review on Wordpress directory. You can also subscribe to our newsletter (max once a month)." +#: admin/class-formality-admin.php:180 +msgid "If you enjoy using Formality, please consider making a donation, or rate this plugin with a 5 stars review on the WordPress plugin directory. You can also subscribe to our newsletter (max once a month)." msgstr "" -#: admin/class-formality-admin.php:140 +#: admin/class-formality-admin.php:182 msgid "Your email address" msgstr "" -#: admin/class-formality-admin.php:141 +#: admin/class-formality-admin.php:183 msgid "Subscribe" msgstr "" #. translators: %s: privacy policy link -#: admin/class-formality-admin.php:142 +#: admin/class-formality-admin.php:184 msgid "Accept our privacy policy." msgstr "" #: admin/class-formality-editor.php:36 #: public/class-formality-public.php:94 -#: dist/scripts/formality-editor.js:2219 -#: dist/scripts/formality-editor.js:2364 +#: dist/scripts/formality-editor.js:2276 +#: dist/scripts/formality-editor.js:2421 msgid "Call to action" msgstr "" -#: admin/class-formality-editor.php:85 +#: admin/class-formality-editor.php:88 msgid "Input fields" msgstr "" -#: admin/class-formality-editor.php:91 +#: admin/class-formality-editor.php:94 msgid "Layout elements" msgstr "" #: admin/class-formality-notifications.php:27 -#: admin/class-formality-notifications.php:56 +#: public/templates/notification.php:30 msgid "New result for" msgstr "" -#: admin/class-formality-notifications.php:53 -msgid "View this result" -msgstr "" - -#: admin/class-formality-notifications.php:53 -msgid "in your admin dashboard" -msgstr "" - -#: admin/class-formality-notifications.php:54 -msgid "View all results" -msgstr "" - -#: admin/class-formality-notifications.php:54 -msgid "for" -msgstr "" - -#: admin/class-formality-results.php:51 +#: admin/class-formality-results.php:66 +#: admin/class-formality-results.php:559 msgid "Unread" msgstr "" #. translators: %s: unread count -#: admin/class-formality-results.php:56 +#: admin/class-formality-results.php:71 msgid "Unread (%s)" msgid_plural "Unread (%s)" msgstr[0] "" msgstr[1] "" -#: admin/class-formality-results.php:101 -#: admin/class-formality-results.php:106 -#: dist/scripts/formality-editor.js:1402 +#: admin/class-formality-results.php:126 +#: admin/class-formality-results.php:131 +#: dist/scripts/formality-editor.js:1444 msgid "Step" msgstr "" -#: admin/class-formality-results.php:145 +#: admin/class-formality-results.php:171 +msgid "Download" +msgstr "" + +#: admin/class-formality-results.php:177 +#: admin/class-formality-results.php:376 +#: admin/class-formality-results.php:505 #: public/class-formality-fields.php:30 -#: dist/scripts/formality-editor.js:3537 -#: dist/scripts/formality-editor.js:3564 +#: dist/scripts/formality-editor.js:3520 +#: dist/scripts/formality-editor.js:3548 msgid "Field name" msgstr "" -#: admin/class-formality-results.php:154 +#: admin/class-formality-results.php:191 +#: admin/class-formality-results.php:487 msgid "ID" msgstr "" -#: admin/class-formality-results.php:168 -#: admin/class-formality-results.php:208 +#: admin/class-formality-results.php:192 +msgid "First filled field" +msgstr "" + +#: admin/class-formality-results.php:218 +#: admin/class-formality-results.php:264 msgid "No result to mark as read has been supplied!" msgstr "" -#: admin/class-formality-results.php:185 +#: admin/class-formality-results.php:235 msgid "You don't have permission to edit this result" msgstr "" -#: admin/class-formality-results.php:188 +#: admin/class-formality-results.php:238 msgid "Result change failed, could not find original result: " msgstr "" -#: admin/class-formality-results.php:196 +#: admin/class-formality-results.php:250 msgid "Mark as read" msgstr "" -#: admin/class-formality-results.php:198 +#: admin/class-formality-results.php:250 msgid "Mark as unread" msgstr "" -#: admin/class-formality-results.php:224 +#: admin/class-formality-results.php:280 msgid "You don't have permission to edit these results" msgstr "" -#: admin/class-formality-results.php:227 +#: admin/class-formality-results.php:283 msgid "No results to mark as read" msgstr "" -#: admin/class-formality-results.php:236 +#: admin/class-formality-results.php:297 msgid "Mark all as read" msgstr "" +#: admin/class-formality-results.php:312 +#: admin/class-formality-results.php:321 +#: admin/class-formality-results.php:388 +msgid "No results to export!" +msgstr "" + +#: admin/class-formality-results.php:316 +msgid "Wrong nonce" +msgstr "" + +#: admin/class-formality-results.php:325 +msgid "You don't have permission to export these results" +msgstr "" + +#: admin/class-formality-results.php:449 +msgid "Guest" +msgstr "" + +#: admin/class-formality-results.php:478 +#: admin/class-formality-results.php:564 +msgid "Export" +msgstr "" + +#: admin/class-formality-results.php:484 +msgid "Columns" +msgstr "" + +#: admin/class-formality-results.php:485 +msgid "Select the data to export as columns in the csv file export." +msgstr "" + +#: admin/class-formality-results.php:488 +msgid "Date" +msgstr "" + +#: admin/class-formality-results.php:489 +msgid "Author" +msgstr "" + +#: admin/class-formality-results.php:521 +msgid "Filters" +msgstr "" + +#: admin/class-formality-results.php:523 +msgid "Limit" +msgstr "" + +#: admin/class-formality-results.php:527 +msgid "Skip" +msgstr "" + +#: admin/class-formality-results.php:531 +msgid "Month" +msgstr "" + +#: admin/class-formality-results.php:534 +#: admin/class-formality-results.php:557 +msgid "Any" +msgstr "" + +#: admin/class-formality-results.php:555 +msgid "Status" +msgstr "" + +#: admin/class-formality-results.php:558 +msgid "Read" +msgstr "" + +#: admin/class-formality-results.php:566 +msgid "Order" +msgstr "" + +#: admin/class-formality-results.php:567 +msgid "Ascending" +msgstr "" + +#: admin/class-formality-results.php:568 +msgid "Descending" +msgstr "" + +#: admin/class-formality-results.php:571 +msgid "File" +msgstr "" + +#: admin/class-formality-results.php:572 +msgid ".csv" +msgstr "" + +#: admin/class-formality-results.php:574 +msgid "Export now" +msgstr "" + +#. translators: %s: remaining seconds +#: admin/class-formality-results.php:579 +msgid "About %s seconds remaining" +msgstr "" + +#: admin/class-formality-results.php:584 +msgid "Exporting may take a while. Please don't close your browser or refresh the page until the process is complete." +msgstr "" + +#. translators: %s: delete export file link +#: admin/class-formality-results.php:589 +msgid "This file will be automatically deleted from your server at the next export attempt. Click here to delete this file immediately." +msgstr "" + #: admin/class-formality-tools.php:36 msgid "No form to duplicate has been supplied!" msgstr "" @@ -376,110 +494,110 @@ msgstr "" msgid "No forms found in Trash." msgstr "" -#: includes/class-formality-setup.php:83 +#: includes/class-formality-setup.php:84 msgctxt "post type general name" msgid "Results" msgstr "" -#: includes/class-formality-setup.php:84 +#: includes/class-formality-setup.php:85 msgctxt "post type singular name" msgid "Result" msgstr "" -#: includes/class-formality-setup.php:85 +#: includes/class-formality-setup.php:86 msgctxt "admin menu" msgid "Results" msgstr "" -#: includes/class-formality-setup.php:86 +#: includes/class-formality-setup.php:87 msgctxt "add new on admin bar" msgid "Result" msgstr "" -#: includes/class-formality-setup.php:87 +#: includes/class-formality-setup.php:88 msgctxt "result" msgid "Add New" msgstr "" -#: includes/class-formality-setup.php:88 +#: includes/class-formality-setup.php:89 msgid "Add New Result" msgstr "" -#: includes/class-formality-setup.php:89 +#: includes/class-formality-setup.php:90 msgid "New Result" msgstr "" -#: includes/class-formality-setup.php:90 +#: includes/class-formality-setup.php:91 msgid "Edit Result" msgstr "" -#: includes/class-formality-setup.php:91 +#: includes/class-formality-setup.php:92 msgid "View Result" msgstr "" -#: includes/class-formality-setup.php:93 +#: includes/class-formality-setup.php:94 msgid "Search Results" msgstr "" -#: includes/class-formality-setup.php:94 +#: includes/class-formality-setup.php:95 msgid "Parent Results:" msgstr "" -#: includes/class-formality-setup.php:95 +#: includes/class-formality-setup.php:96 msgid "No results found." msgstr "" -#: includes/class-formality-setup.php:96 +#: includes/class-formality-setup.php:97 msgid "No results found in Trash." msgstr "" #: public/class-formality-fields.php:80 -#: dist/scripts/formality-editor.js:755 -#: dist/scripts/formality-editor.js:1357 -#: dist/scripts/formality-editor.js:1362 -#: dist/scripts/formality-editor.js:1364 +#: dist/scripts/formality-editor.js:785 +#: dist/scripts/formality-editor.js:1396 +#: dist/scripts/formality-editor.js:1401 +#: dist/scripts/formality-editor.js:1403 msgid "Select your choice" msgstr "" #: public/class-formality-fields.php:86 -#: dist/scripts/formality-editor.js:1624 +#: dist/scripts/formality-editor.js:1669 msgid "Click to confirm" msgstr "" #: public/class-formality-fields.php:88 -#: dist/scripts/formality-editor.js:2129 -#: dist/scripts/formality-editor.js:2131 +#: dist/scripts/formality-editor.js:2183 +#: dist/scripts/formality-editor.js:2185 msgid "Choose file or drag here" msgstr "" #: public/class-formality-fields.php:90 -#: dist/scripts/formality-editor.js:273 -#: dist/scripts/formality-editor.js:276 -#: dist/scripts/formality-editor.js:947 -#: dist/scripts/formality-editor.js:950 -#: dist/scripts/formality-editor.js:1761 -#: dist/scripts/formality-editor.js:1764 -#: dist/scripts/formality-editor.js:1925 -#: dist/scripts/formality-editor.js:1930 -#: dist/scripts/formality-editor.js:3544 +#: dist/scripts/formality-editor.js:294 +#: dist/scripts/formality-editor.js:297 +#: dist/scripts/formality-editor.js:980 +#: dist/scripts/formality-editor.js:983 +#: dist/scripts/formality-editor.js:1809 +#: dist/scripts/formality-editor.js:1812 +#: dist/scripts/formality-editor.js:1976 +#: dist/scripts/formality-editor.js:1981 +#: dist/scripts/formality-editor.js:3527 msgid "Type your answer here" msgstr "" -#: public/class-formality-fields.php:377 -#: dist/scripts/formality-editor.js:2085 -#: dist/scripts/formality-editor.js:2129 +#: public/class-formality-fields.php:378 +#: dist/scripts/formality-editor.js:2139 +#: dist/scripts/formality-editor.js:2183 msgid "Size limit" msgstr "" -#: public/class-formality-fields.php:378 -#: dist/scripts/formality-editor.js:2089 -#: dist/scripts/formality-editor.js:2129 +#: public/class-formality-fields.php:379 +#: dist/scripts/formality-editor.js:2143 +#: dist/scripts/formality-editor.js:2183 msgid "Allowed types" msgstr "" -#: public/class-formality-fields.php:378 -#: dist/scripts/formality-editor.js:3460 -#: dist/scripts/formality-editor.js:3481 +#: public/class-formality-fields.php:379 +#: dist/scripts/formality-editor.js:3443 +#: dist/scripts/formality-editor.js:3464 msgid "None" msgstr "" @@ -492,39 +610,39 @@ msgid "Next" msgstr "" #: public/class-formality-form.php:52 -#: dist/scripts/formality-editor.js:3144 -#: dist/scripts/formality-editor.js:4351 +#: dist/scripts/formality-editor.js:3133 +#: dist/scripts/formality-editor.js:4412 msgid "Send" msgstr "" #: public/class-formality-form.php:63 -#: dist/scripts/formality-editor.js:3179 +#: dist/scripts/formality-editor.js:3168 msgid "Thank you" msgstr "" #: public/class-formality-form.php:64 -#: dist/scripts/formality-editor.js:3185 +#: dist/scripts/formality-editor.js:3174 msgid "Your data has been successfully submitted. You are very important to us, all information received will always remain confidential. We will contact you as soon as possible." msgstr "" #: public/class-formality-form.php:65 -#: dist/scripts/formality-editor.js:3193 +#: dist/scripts/formality-editor.js:3182 msgid "Error" msgstr "" #: public/class-formality-form.php:66 -#: dist/scripts/formality-editor.js:3199 +#: dist/scripts/formality-editor.js:3188 msgid "Something went wrong and we couldn't save your data. Please retry later or contact us by e-mail or phone." msgstr "" #: public/class-formality-form.php:99 -#: dist/scripts/formality-editor.js:4329 +#: dist/scripts/formality-editor.js:4390 msgid "Made with Formality" msgstr "" #. translators: photo author #: public/class-formality-form.php:100 -#: dist/scripts/formality-editor.js:4331 +#: dist/scripts/formality-editor.js:4392 msgid "Photo by %s on Unsplash" msgstr "" @@ -532,805 +650,833 @@ msgstr "" msgid "There is no data to save" msgstr "" -#: dist/scripts/formality-admin.js:143 +#: public/templates/notification.php:35 +msgid "View this result" +msgstr "" + +#: public/templates/notification.php:36 +msgid "in your admin dashboard" +msgstr "" + +#: public/templates/notification.php:38 +msgid "View all results" +msgstr "" + +#: public/templates/notification.php:39 +msgid "for" +msgstr "" + +#: public/templates/notification.php:41 +msgid "Made with" +msgstr "" + +#: dist/scripts/formality-admin.js:289 +msgid "Download now" +msgstr "" + +#: dist/scripts/formality-admin.js:297 +msgid "Something went wrong" +msgstr "" + +#: dist/scripts/formality-admin.js:344 msgid "Something went wrong. Please retry later." msgstr "" -#: dist/scripts/formality-admin.js:146 +#: dist/scripts/formality-admin.js:347 msgid "Please insert a valid email address" msgstr "" -#: dist/scripts/formality-admin.js:148 +#: dist/scripts/formality-admin.js:349 msgid "To continue you have to accept our privacy policy" msgstr "" -#: dist/scripts/formality-editor.js:176 +#: dist/scripts/formality-editor.js:197 msgid "E-mail" msgstr "" -#: dist/scripts/formality-editor.js:177 +#: dist/scripts/formality-editor.js:198 msgid "Text field that accepts only valid email address." msgstr "" -#: dist/scripts/formality-editor.js:259 -#: dist/scripts/formality-editor.js:673 -#: dist/scripts/formality-editor.js:910 -#: dist/scripts/formality-editor.js:1109 -#: dist/scripts/formality-editor.js:1308 -#: dist/scripts/formality-editor.js:1449 -#: dist/scripts/formality-editor.js:1593 -#: dist/scripts/formality-editor.js:1746 -#: dist/scripts/formality-editor.js:1895 -#: dist/scripts/formality-editor.js:2075 +#: dist/scripts/formality-editor.js:280 +#: dist/scripts/formality-editor.js:703 +#: dist/scripts/formality-editor.js:943 +#: dist/scripts/formality-editor.js:1145 +#: dist/scripts/formality-editor.js:1347 +#: dist/scripts/formality-editor.js:1491 +#: dist/scripts/formality-editor.js:1638 +#: dist/scripts/formality-editor.js:1794 +#: dist/scripts/formality-editor.js:1946 +#: dist/scripts/formality-editor.js:2129 msgid "Field options" msgstr "" -#: dist/scripts/formality-editor.js:320 +#: dist/scripts/formality-editor.js:344 msgid "Media" msgstr "" -#: dist/scripts/formality-editor.js:321 +#: dist/scripts/formality-editor.js:345 msgid "Hero image, how-to video or any type of visual content for your users." msgstr "" -#: dist/scripts/formality-editor.js:375 +#: dist/scripts/formality-editor.js:399 msgid "Media options" msgstr "" -#: dist/scripts/formality-editor.js:378 +#: dist/scripts/formality-editor.js:402 msgid "Media file" msgstr "" -#: dist/scripts/formality-editor.js:379 +#: dist/scripts/formality-editor.js:403 msgid "Select an image or video" msgstr "" -#: dist/scripts/formality-editor.js:391 +#: dist/scripts/formality-editor.js:415 msgid "Edit or update media file" msgstr "" -#: dist/scripts/formality-editor.js:398 +#: dist/scripts/formality-editor.js:422 msgid "Select or upload media" msgstr "" -#: dist/scripts/formality-editor.js:404 +#: dist/scripts/formality-editor.js:428 msgid "Remove media" msgstr "" -#: dist/scripts/formality-editor.js:418 +#: dist/scripts/formality-editor.js:442 msgid "Please select an image or video, from the right sidebar." msgstr "" -#: dist/scripts/formality-editor.js:455 -#: dist/scripts/formality-editor.js:3543 +#: dist/scripts/formality-editor.js:482 +#: dist/scripts/formality-editor.js:3526 msgid "Message" msgstr "" -#: dist/scripts/formality-editor.js:456 +#: dist/scripts/formality-editor.js:483 msgid "Custom message/information for your users." msgstr "" -#: dist/scripts/formality-editor.js:510 +#: dist/scripts/formality-editor.js:537 msgid "Enter your text here!" msgstr "" -#: dist/scripts/formality-editor.js:560 +#: dist/scripts/formality-editor.js:590 msgid "Multiple choice" msgstr "" -#: dist/scripts/formality-editor.js:561 +#: dist/scripts/formality-editor.js:591 msgid "Checkbox grid with all available options that users can select." msgstr "" -#: dist/scripts/formality-editor.js:676 -#: dist/scripts/formality-editor.js:1311 -#: dist/scripts/formality-editor.js:2395 +#: dist/scripts/formality-editor.js:706 +#: dist/scripts/formality-editor.js:1350 +#: dist/scripts/formality-editor.js:2452 msgid "Options" msgstr "" -#: dist/scripts/formality-editor.js:677 -#: dist/scripts/formality-editor.js:1312 +#: dist/scripts/formality-editor.js:707 +#: dist/scripts/formality-editor.js:1351 msgid "Add option" msgstr "" -#: dist/scripts/formality-editor.js:687 -#: dist/scripts/formality-editor.js:1322 +#: dist/scripts/formality-editor.js:717 +#: dist/scripts/formality-editor.js:1361 msgid "Value" msgstr "" -#: dist/scripts/formality-editor.js:696 -#: dist/scripts/formality-editor.js:1331 +#: dist/scripts/formality-editor.js:726 +#: dist/scripts/formality-editor.js:1370 msgid "Label" msgstr "" -#: dist/scripts/formality-editor.js:705 -#: dist/scripts/formality-editor.js:1340 +#: dist/scripts/formality-editor.js:735 +#: dist/scripts/formality-editor.js:1379 msgid "Assign different values and labels for each option" msgstr "" -#: dist/scripts/formality-editor.js:711 +#: dist/scripts/formality-editor.js:741 msgid "Allow only single selection" msgstr "" -#: dist/scripts/formality-editor.js:717 -#: dist/scripts/formality-editor.js:1595 -#: dist/scripts/formality-editor.js:3218 +#: dist/scripts/formality-editor.js:747 +#: dist/scripts/formality-editor.js:1640 +#: dist/scripts/formality-editor.js:3207 msgid "Appearance" msgstr "" -#: dist/scripts/formality-editor.js:720 +#: dist/scripts/formality-editor.js:750 msgid "Radio/checkbox (default)" msgstr "" -#: dist/scripts/formality-editor.js:723 +#: dist/scripts/formality-editor.js:753 msgid "Buttons" msgstr "" -#: dist/scripts/formality-editor.js:732 +#: dist/scripts/formality-editor.js:762 msgid "Options grid" msgstr "" #. translators: option grid columns -#: dist/scripts/formality-editor.js:735 +#: dist/scripts/formality-editor.js:765 msgid "Distribute options in %s columns." msgstr "" #. translators: option grid columns -#: dist/scripts/formality-editor.js:735 +#: dist/scripts/formality-editor.js:765 msgid "Display inline options." msgstr "" -#: dist/scripts/formality-editor.js:812 +#: dist/scripts/formality-editor.js:845 msgid "Number" msgstr "" -#: dist/scripts/formality-editor.js:813 +#: dist/scripts/formality-editor.js:846 msgid "Number field, accept integer or float number value" msgstr "" -#: dist/scripts/formality-editor.js:915 +#: dist/scripts/formality-editor.js:948 msgid "Min value" msgstr "" -#: dist/scripts/formality-editor.js:922 -#: dist/scripts/formality-editor.js:1130 +#: dist/scripts/formality-editor.js:955 +#: dist/scripts/formality-editor.js:1166 msgid "Max value" msgstr "" -#: dist/scripts/formality-editor.js:929 +#: dist/scripts/formality-editor.js:962 msgid "Interval" msgstr "" -#: dist/scripts/formality-editor.js:995 +#: dist/scripts/formality-editor.js:1031 msgid "Rating" msgstr "" -#: dist/scripts/formality-editor.js:996 +#: dist/scripts/formality-editor.js:1032 msgid "Ask your users for a rating. Score from one to ten." msgstr "" -#: dist/scripts/formality-editor.js:1113 +#: dist/scripts/formality-editor.js:1149 msgid "Icons" msgstr "" -#: dist/scripts/formality-editor.js:1116 +#: dist/scripts/formality-editor.js:1152 msgid "Stars" msgstr "" -#: dist/scripts/formality-editor.js:1119 +#: dist/scripts/formality-editor.js:1155 msgid "Hearts" msgstr "" -#: dist/scripts/formality-editor.js:1122 +#: dist/scripts/formality-editor.js:1158 msgid "Rhombus" msgstr "" -#: dist/scripts/formality-editor.js:1214 +#: dist/scripts/formality-editor.js:1253 msgid "Select" msgstr "" -#: dist/scripts/formality-editor.js:1215 +#: dist/scripts/formality-editor.js:1254 msgid "Dropdown list with all available options that users can select." msgstr "" -#: dist/scripts/formality-editor.js:1403 +#: dist/scripts/formality-editor.js:1445 msgid "Group your fields into multiple sections, with custom heading." msgstr "" -#: dist/scripts/formality-editor.js:1450 +#: dist/scripts/formality-editor.js:1492 msgid "Place this block before the first field you want to group. This step section will be closed automatically before the next step block (or at the end of the form)." msgstr "" -#: dist/scripts/formality-editor.js:1451 +#: dist/scripts/formality-editor.js:1493 msgid "Step title" msgstr "" -#: dist/scripts/formality-editor.js:1452 -#: dist/scripts/formality-editor.js:1465 +#: dist/scripts/formality-editor.js:1494 +#: dist/scripts/formality-editor.js:1507 msgid "Step name" msgstr "" -#: dist/scripts/formality-editor.js:1458 +#: dist/scripts/formality-editor.js:1500 msgid "Description" msgstr "" -#: dist/scripts/formality-editor.js:1505 +#: dist/scripts/formality-editor.js:1550 msgid "Switch" msgstr "" -#: dist/scripts/formality-editor.js:1506 +#: dist/scripts/formality-editor.js:1551 msgid "Checkbox input, good for true/false answer or acceptance field." msgstr "" -#: dist/scripts/formality-editor.js:1598 +#: dist/scripts/formality-editor.js:1643 msgid "Switch (default)" msgstr "" -#: dist/scripts/formality-editor.js:1601 +#: dist/scripts/formality-editor.js:1646 msgid "Checkbox" msgstr "" -#: dist/scripts/formality-editor.js:1663 +#: dist/scripts/formality-editor.js:1711 msgid "Text" msgstr "" -#: dist/scripts/formality-editor.js:1664 +#: dist/scripts/formality-editor.js:1712 msgid "Standard text field, good for short answers and 1 line information." msgstr "" -#: dist/scripts/formality-editor.js:1806 +#: dist/scripts/formality-editor.js:1857 msgid "Textarea" msgstr "" -#: dist/scripts/formality-editor.js:1807 +#: dist/scripts/formality-editor.js:1858 msgid "Multi-line area, good for texts or long answers." msgstr "" -#: dist/scripts/formality-editor.js:1902 +#: dist/scripts/formality-editor.js:1953 msgid "Rows" msgstr "" -#: dist/scripts/formality-editor.js:1909 +#: dist/scripts/formality-editor.js:1960 msgid "Max length" msgstr "" -#: dist/scripts/formality-editor.js:1985 +#: dist/scripts/formality-editor.js:2039 msgid "Upload" msgstr "" -#: dist/scripts/formality-editor.js:1986 +#: dist/scripts/formality-editor.js:2040 msgid "Let your users upload files to your form" msgstr "" -#: dist/scripts/formality-editor.js:2086 +#: dist/scripts/formality-editor.js:2140 msgid "Max upload file size" msgstr "" -#: dist/scripts/formality-editor.js:2090 +#: dist/scripts/formality-editor.js:2144 msgid "Enable/disable file formats" msgstr "" -#: dist/scripts/formality-editor.js:2184 +#: dist/scripts/formality-editor.js:2241 msgid "Formality form" msgstr "" -#: dist/scripts/formality-editor.js:2186 +#: dist/scripts/formality-editor.js:2243 msgid "Embed Formality forms in your posts or pages." msgstr "" -#: dist/scripts/formality-editor.js:2256 +#: dist/scripts/formality-editor.js:2313 msgid "Select a form to embed" msgstr "" -#: dist/scripts/formality-editor.js:2272 +#: dist/scripts/formality-editor.js:2329 msgid "Loading your forms..." msgstr "" -#: dist/scripts/formality-editor.js:2287 -#: dist/scripts/formality-editor.js:2313 +#: dist/scripts/formality-editor.js:2344 +#: dist/scripts/formality-editor.js:2370 msgid "Edit this form" msgstr "" -#: dist/scripts/formality-editor.js:2298 +#: dist/scripts/formality-editor.js:2355 msgid "Currently you can't use this block, because you have no published Formality form." msgstr "" -#: dist/scripts/formality-editor.js:2302 +#: dist/scripts/formality-editor.js:2359 msgid "Create the first one." msgstr "" -#: dist/scripts/formality-editor.js:2319 +#: dist/scripts/formality-editor.js:2376 msgid "Remove background" msgstr "" -#: dist/scripts/formality-editor.js:2327 +#: dist/scripts/formality-editor.js:2384 msgid "Hide form title" msgstr "" -#: dist/scripts/formality-editor.js:2336 +#: dist/scripts/formality-editor.js:2393 msgid "Disable button" msgstr "" -#: dist/scripts/formality-editor.js:2343 +#: dist/scripts/formality-editor.js:2400 msgid "Remove button and open this form with a simple text link" msgstr "" -#: dist/scripts/formality-editor.js:2344 +#: dist/scripts/formality-editor.js:2401 msgid "Manually set this hashtag as url link (href) in your text content" msgstr "" -#: dist/scripts/formality-editor.js:2363 +#: dist/scripts/formality-editor.js:2420 msgid "Button label" msgstr "" -#: dist/scripts/formality-editor.js:2372 +#: dist/scripts/formality-editor.js:2429 msgid "Invert form colors for this button" msgstr "" -#: dist/scripts/formality-editor.js:2385 +#: dist/scripts/formality-editor.js:2442 msgid "Loading your form..." msgstr "" -#: dist/scripts/formality-editor.js:2385 +#: dist/scripts/formality-editor.js:2442 msgid "Please select a form to embed, from the right sidebar" msgstr "" #. translators: link hashtag -#: dist/scripts/formality-editor.js:2393 +#: dist/scripts/formality-editor.js:2450 msgid "Manually set \"%s\" as url link (href) in your text content" msgstr "" -#: dist/scripts/formality-editor.js:2399 +#: dist/scripts/formality-editor.js:2456 msgid "Form" msgstr "" -#: dist/scripts/formality-editor.js:2407 +#: dist/scripts/formality-editor.js:2464 msgid "Add a button link to your form. Your form will be opened in an onscreen sidebar." msgstr "" -#: dist/scripts/formality-editor.js:2407 +#: dist/scripts/formality-editor.js:2464 msgid "Include this form in your post content." msgstr "" -#: dist/scripts/formality-editor.js:2418 +#: dist/scripts/formality-editor.js:2475 msgid "Embed" msgstr "" -#: dist/scripts/formality-editor.js:2426 +#: dist/scripts/formality-editor.js:2483 msgid "Button" msgstr "" -#: dist/scripts/formality-editor.js:2888 +#: dist/scripts/formality-editor.js:2877 msgid "Primary color" msgstr "" -#: dist/scripts/formality-editor.js:2889 +#: dist/scripts/formality-editor.js:2878 msgid "Texts, Labels, Borders, etc." msgstr "" -#: dist/scripts/formality-editor.js:2916 +#: dist/scripts/formality-editor.js:2905 msgid "Secondary color" msgstr "" -#: dist/scripts/formality-editor.js:2917 +#: dist/scripts/formality-editor.js:2906 msgid "Backgrounds, Input suggestions, etc." msgstr "" -#: dist/scripts/formality-editor.js:2946 +#: dist/scripts/formality-editor.js:2935 msgid "Font size" msgstr "" -#: dist/scripts/formality-editor.js:2947 +#: dist/scripts/formality-editor.js:2936 msgid "Align this value to your theme's fontsize" msgstr "" -#: dist/scripts/formality-editor.js:2958 -#: dist/scripts/formality-editor.js:3609 +#: dist/scripts/formality-editor.js:2947 +#: dist/scripts/formality-editor.js:3594 msgid "Advanced" msgstr "" -#: dist/scripts/formality-editor.js:2961 +#: dist/scripts/formality-editor.js:2950 msgid "Logo" msgstr "" -#: dist/scripts/formality-editor.js:2974 +#: dist/scripts/formality-editor.js:2963 msgid "Edit or update logo" msgstr "" -#: dist/scripts/formality-editor.js:2978 +#: dist/scripts/formality-editor.js:2967 msgid "Upload logo image" msgstr "" -#: dist/scripts/formality-editor.js:2984 +#: dist/scripts/formality-editor.js:2973 msgid "Remove custom logo" msgstr "" -#: dist/scripts/formality-editor.js:2987 +#: dist/scripts/formality-editor.js:2976 msgid "Logo height multiplier" msgstr "" -#: dist/scripts/formality-editor.js:2988 +#: dist/scripts/formality-editor.js:2977 msgid "Based on font-size setting:" msgstr "" -#: dist/scripts/formality-editor.js:2997 +#: dist/scripts/formality-editor.js:2986 msgid "Background image" msgstr "" -#: dist/scripts/formality-editor.js:3010 +#: dist/scripts/formality-editor.js:2999 msgid "Edit or update the image" msgstr "" -#: dist/scripts/formality-editor.js:3014 +#: dist/scripts/formality-editor.js:3003 msgid "Set a background image" msgstr "" -#: dist/scripts/formality-editor.js:3020 +#: dist/scripts/formality-editor.js:3009 msgid "Remove background image" msgstr "" -#: dist/scripts/formality-editor.js:3023 +#: dist/scripts/formality-editor.js:3012 msgid "Background overlay" msgstr "" -#: dist/scripts/formality-editor.js:3024 +#: dist/scripts/formality-editor.js:3013 msgid "Set background overlay opacity (%)" msgstr "" -#: dist/scripts/formality-editor.js:3034 +#: dist/scripts/formality-editor.js:3023 msgid "Background layout" msgstr "" -#: dist/scripts/formality-editor.js:3035 +#: dist/scripts/formality-editor.js:3024 msgid "Full screen background" msgstr "" -#: dist/scripts/formality-editor.js:3035 +#: dist/scripts/formality-editor.js:3024 msgid "Side background" msgstr "" -#: dist/scripts/formality-editor.js:3049 +#: dist/scripts/formality-editor.js:3038 msgid "Input style" msgstr "" -#: dist/scripts/formality-editor.js:3050 +#: dist/scripts/formality-editor.js:3039 msgid "Boxed border input field" msgstr "" -#: dist/scripts/formality-editor.js:3050 +#: dist/scripts/formality-editor.js:3039 msgid "Single line border input field" msgstr "" -#: dist/scripts/formality-editor.js:3057 +#: dist/scripts/formality-editor.js:3046 msgid "Boxed" msgstr "" -#: dist/scripts/formality-editor.js:3063 +#: dist/scripts/formality-editor.js:3052 msgid "Line" msgstr "" -#: dist/scripts/formality-editor.js:3065 +#: dist/scripts/formality-editor.js:3054 msgid "Error color" msgstr "" -#: dist/scripts/formality-editor.js:3068 +#: dist/scripts/formality-editor.js:3057 msgid "Label and border color of the wrong inputs." msgstr "" -#: dist/scripts/formality-editor.js:3096 +#: dist/scripts/formality-editor.js:3085 msgid "Embed & Share" msgstr "" -#: dist/scripts/formality-editor.js:3098 +#: dist/scripts/formality-editor.js:3087 msgid "Standalone version" msgstr "" -#: dist/scripts/formality-editor.js:3098 +#: dist/scripts/formality-editor.js:3087 msgid "This is an independent form, that are not tied to your posts or pages, and you can visit at this web address:" msgstr "" -#: dist/scripts/formality-editor.js:3120 +#: dist/scripts/formality-editor.js:3109 msgid "Embedded version" msgstr "" -#: dist/scripts/formality-editor.js:3120 +#: dist/scripts/formality-editor.js:3109 msgid "But you can also embed it, into your post or pages with Formality block or with this specific shortcode:" msgstr "" -#: dist/scripts/formality-editor.js:3140 +#: dist/scripts/formality-editor.js:3129 msgid "Form footer" msgstr "" -#: dist/scripts/formality-editor.js:3143 +#: dist/scripts/formality-editor.js:3132 msgid "Send button label" msgstr "" -#: dist/scripts/formality-editor.js:3150 +#: dist/scripts/formality-editor.js:3139 msgid "Credits/copy text" msgstr "" -#: dist/scripts/formality-editor.js:3157 +#: dist/scripts/formality-editor.js:3146 msgid "Enable Formality credits" msgstr "" -#: dist/scripts/formality-editor.js:3162 +#: dist/scripts/formality-editor.js:3151 msgid "Support us (and the photographer of the chosen template) with a single text line at the end of this form." msgstr "" -#: dist/scripts/formality-editor.js:3164 +#: dist/scripts/formality-editor.js:3153 msgid "Notifications" msgstr "" -#: dist/scripts/formality-editor.js:3166 +#: dist/scripts/formality-editor.js:3155 msgid "Formality automatically saves all the results in the WordPress database, but if you want you can also activate e-mail notifications, by entering your address." msgstr "" -#: dist/scripts/formality-editor.js:3168 +#: dist/scripts/formality-editor.js:3157 msgid "E-mail address" msgstr "" -#: dist/scripts/formality-editor.js:3174 +#: dist/scripts/formality-editor.js:3163 msgid "Submit status" msgstr "" -#: dist/scripts/formality-editor.js:3178 +#: dist/scripts/formality-editor.js:3167 msgid "Thank you message" msgstr "" -#: dist/scripts/formality-editor.js:3192 +#: dist/scripts/formality-editor.js:3181 msgid "Error message" msgstr "" -#: dist/scripts/formality-editor.js:3222 +#: dist/scripts/formality-editor.js:3211 msgid "Settings" msgstr "" -#: dist/scripts/formality-editor.js:3422 +#: dist/scripts/formality-editor.js:3405 msgid "- Field -" msgstr "" -#: dist/scripts/formality-editor.js:3434 +#: dist/scripts/formality-editor.js:3417 msgid "Field" msgstr "" -#: dist/scripts/formality-editor.js:3470 -#: dist/scripts/formality-editor.js:3479 +#: dist/scripts/formality-editor.js:3453 +#: dist/scripts/formality-editor.js:3462 msgid "Initial value" msgstr "" -#: dist/scripts/formality-editor.js:3514 +#: dist/scripts/formality-editor.js:3497 msgid "This is a required field" msgstr "" -#: dist/scripts/formality-editor.js:3520 +#: dist/scripts/formality-editor.js:3503 msgid "Width" msgstr "" -#: dist/scripts/formality-editor.js:3529 +#: dist/scripts/formality-editor.js:3512 msgid "Half width" msgstr "" -#: dist/scripts/formality-editor.js:3535 +#: dist/scripts/formality-editor.js:3518 msgid "Full width" msgstr "" -#: dist/scripts/formality-editor.js:3536 +#: dist/scripts/formality-editor.js:3519 msgid "Label / Question" msgstr "" -#: dist/scripts/formality-editor.js:3543 +#: dist/scripts/formality-editor.js:3526 msgid "Placeholder" msgstr "" -#: dist/scripts/formality-editor.js:3545 +#: dist/scripts/formality-editor.js:3528 msgid "Add an information message" msgstr "" -#: dist/scripts/formality-editor.js:3615 +#: dist/scripts/formality-editor.js:3600 msgid "Field ID/Name" msgstr "" -#: dist/scripts/formality-editor.js:3620 +#: dist/scripts/formality-editor.js:3605 msgid "You can also set an initial variable value by using field ID as a query var." msgstr "" -#: dist/scripts/formality-editor.js:3622 +#: dist/scripts/formality-editor.js:3607 msgid "Conditional logic" msgstr "" -#: dist/scripts/formality-editor.js:3624 +#: dist/scripts/formality-editor.js:3609 msgid "Show this field only if:" msgstr "" -#: dist/scripts/formality-editor.js:3625 +#: dist/scripts/formality-editor.js:3610 msgid "Add rule" msgstr "" -#: dist/scripts/formality-editor.js:3702 +#: dist/scripts/formality-editor.js:3687 msgid "Dynamic background" msgstr "" -#: dist/scripts/formality-editor.js:3703 +#: dist/scripts/formality-editor.js:3688 msgid "Change background image/color on input focus" msgstr "" -#: dist/scripts/formality-editor.js:3715 +#: dist/scripts/formality-editor.js:3700 msgid "Edit or update background image" msgstr "" -#: dist/scripts/formality-editor.js:3719 +#: dist/scripts/formality-editor.js:3704 msgid "Select or upload background image" msgstr "" -#: dist/scripts/formality-editor.js:3725 +#: dist/scripts/formality-editor.js:3710 msgid "Remove image" msgstr "" -#: dist/scripts/formality-editor.js:3731 +#: dist/scripts/formality-editor.js:3716 msgid "Remove color" msgstr "" -#: dist/scripts/formality-editor.js:4275 +#: dist/scripts/formality-editor.js:4336 msgid "Something went wrong during the download process. You can retry or check your server logs for more informations about the error." msgstr "" -#: dist/scripts/formality-editor.js:4277 +#: dist/scripts/formality-editor.js:4338 msgid "SSL verification failed during the download process. These errors most commonly happen on localhost development environments, and/or on servers that do not fully support SSL. If possible, ask your web host to fix this issue ASAP. In the meantime, if you want to complete the download process now, you can temporary disable SSL verification." msgstr "" -#: dist/scripts/formality-editor.js:4545 +#: dist/scripts/formality-editor.js:4606 msgid "Download templates photos" msgstr "" -#: dist/scripts/formality-editor.js:4546 +#: dist/scripts/formality-editor.js:4607 msgid "Select one of our templates made with a selection of the best Unsplash photos." msgstr "" #. translators: templates total -#: dist/scripts/formality-editor.js:4548 +#: dist/scripts/formality-editor.js:4609 msgid "We have prepared %s templates made with a selection of the best Unsplash photos." msgstr "" -#: dist/scripts/formality-editor.js:4549 +#: dist/scripts/formality-editor.js:4610 msgid "To start using them, you first have to download these photos from Unsplash servers." msgstr "" -#: dist/scripts/formality-editor.js:4550 +#: dist/scripts/formality-editor.js:4611 msgid "It seems your template library is incomplete. To fix this issue, you can retry the download process." msgstr "" -#: dist/scripts/formality-editor.js:4552 +#: dist/scripts/formality-editor.js:4613 msgid "Disable SSL verification for unsplash.com domain until the download process finishes." msgstr "" -#: dist/scripts/formality-editor.js:4611 +#: dist/scripts/formality-editor.js:4672 msgid "Templates" msgstr "" -#: dist/scripts/formality-public.js:546 +#: dist/scripts/formality-public.js:539 msgid "Show more hints" msgstr "" -#: dist/scripts/formality-public.js:546 +#: dist/scripts/formality-public.js:539 msgid "Show less hints" msgstr "" -#: dist/scripts/formality-public.js:574 +#: dist/scripts/formality-public.js:567 msgid "Press enter or tab to proceed to next field" msgstr "" -#: dist/scripts/formality-public.js:578 +#: dist/scripts/formality-public.js:571 msgid "Press tab to proceed to next field" msgstr "" -#: dist/scripts/formality-public.js:582 +#: dist/scripts/formality-public.js:575 msgid "Press backspace to reset this field and return to previous field" msgstr "" -#: dist/scripts/formality-public.js:586 +#: dist/scripts/formality-public.js:579 msgid "Press up or down arrows to choose your option" msgstr "" -#: dist/scripts/formality-public.js:590 +#: dist/scripts/formality-public.js:583 msgid "Press left or right arrows to choose your option" msgstr "" -#: dist/scripts/formality-public.js:594 +#: dist/scripts/formality-public.js:587 msgid "Press up and down arrows to increment or decrement your value" msgstr "" -#: dist/scripts/formality-public.js:598 +#: dist/scripts/formality-public.js:591 msgid "Press enter to confirm your option and proceed to next field" msgstr "" -#: dist/scripts/formality-public.js:602 +#: dist/scripts/formality-public.js:595 msgid "Press space to confirm your option" msgstr "" -#: dist/scripts/formality-public.js:606 +#: dist/scripts/formality-public.js:599 msgid "Press space to select your file" msgstr "" -#: dist/scripts/formality-public.js:1323 -#: dist/scripts/formality-public.js:1333 +#: dist/scripts/formality-public.js:1315 +#: dist/scripts/formality-public.js:1325 msgid "This value seems to be invalid" msgstr "" -#: dist/scripts/formality-public.js:1325 +#: dist/scripts/formality-public.js:1317 msgid "This value should be a valid email" msgstr "" -#: dist/scripts/formality-public.js:1326 +#: dist/scripts/formality-public.js:1318 msgid "This value should be a valid url" msgstr "" -#: dist/scripts/formality-public.js:1327 +#: dist/scripts/formality-public.js:1319 msgid "This value should be a valid number" msgstr "" -#: dist/scripts/formality-public.js:1328 +#: dist/scripts/formality-public.js:1320 msgid "This value should be a valid integer" msgstr "" -#: dist/scripts/formality-public.js:1329 +#: dist/scripts/formality-public.js:1321 msgid "This value should be digits" msgstr "" -#: dist/scripts/formality-public.js:1330 +#: dist/scripts/formality-public.js:1322 msgid "This value should be alphanumeric" msgstr "" -#: dist/scripts/formality-public.js:1332 +#: dist/scripts/formality-public.js:1324 msgid "This value is required" msgstr "" #. translators: validation -#: dist/scripts/formality-public.js:1336 +#: dist/scripts/formality-public.js:1328 msgid "This value should be greater than or equal to %s" msgstr "" #. translators: validation -#: dist/scripts/formality-public.js:1339 +#: dist/scripts/formality-public.js:1331 msgid "This value should be lower than or equal to %s" msgstr "" #. translators: validation -#: dist/scripts/formality-public.js:1342 +#: dist/scripts/formality-public.js:1334 msgid "This value should be between %s and %s" msgstr "" #. translators: validation -#: dist/scripts/formality-public.js:1345 +#: dist/scripts/formality-public.js:1337 msgid "This value is too short. It should have %s characters or more" msgstr "" #. translators: validation -#: dist/scripts/formality-public.js:1348 +#: dist/scripts/formality-public.js:1340 msgid "This value is too long. It should have %s characters or fewer" msgstr "" #. translators: validation -#: dist/scripts/formality-public.js:1351 +#: dist/scripts/formality-public.js:1343 msgid "This value length is invalid. It should be between %s and %s characters long" msgstr "" #. translators: validation -#: dist/scripts/formality-public.js:1354 +#: dist/scripts/formality-public.js:1346 msgid "You must select between %s and %s choices" msgstr "" -#: dist/scripts/formality-public.js:1753 +#: dist/scripts/formality-public.js:1745 msgid "File extension is not allowed" msgstr "" -#: dist/scripts/formality-public.js:1757 +#: dist/scripts/formality-public.js:1749 msgid "Your file exceeds the size limit" msgstr "" -#: dist/scripts/formality-public.js:1762 +#: dist/scripts/formality-public.js:1754 msgid "Checking file" msgstr "" -#: dist/scripts/formality-public.js:1762 +#: dist/scripts/formality-public.js:1754 msgid "Please wait" msgstr "" diff --git a/package.json b/package.json index 4c6a598..c50a536 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Formality", - "version": "1.3.6", + "version": "1.4.0", "author": "Michele Giorgi ", "homepage": "https://giorgi.io", "private": true, diff --git a/public/class-formality-public.php b/public/class-formality-public.php index 23410f4..153d2c8 100755 --- a/public/class-formality-public.php +++ b/public/class-formality-public.php @@ -115,12 +115,8 @@ public function shortcode() { */ public function page_template( $template ) { if(is_singular('formality_form')) { - $file_name = 'single-formality-form.php'; - if ( locate_template( $file_name ) ) { - $template = locate_template( $file_name ); - } else { - $template = dirname( __FILE__ ) . '/templates/single.php'; - } + $file_name = 'formality-form.php'; + $template = locate_template( $file_name ) ? locate_template( $file_name ) : dirname( __FILE__ ) . '/templates/' . $file_name; $template = apply_filters('formality_form_template', $template); } return $template; diff --git a/public/class-formality-upload.php b/public/class-formality-upload.php index ec4a480..a02bf90 100755 --- a/public/class-formality-upload.php +++ b/public/class-formality-upload.php @@ -42,9 +42,11 @@ public function get_upload_dir($temp = false, $key = false) { $dir = array(); $subbase = 'formality/storage'; $upload = wp_upload_dir(); - $dir['sub'] = $temp ? path_join($subbase, 'temp') : $subbase; + $dir['sub'] = $temp ? path_join($subbase, $temp === true ? 'temp' : $temp) : $subbase; $dir['path'] = path_join($upload['basedir'], $dir['sub']); $dir['url'] = path_join($upload['baseurl'], $dir['sub']); + $dir['htaccess'] = path_join($upload['baseurl'], '.htaccess'); + $dir['downloader'] = path_join($upload['baseurl'], 'download.php'); return !$key ? $dir : $dir[$key]; } diff --git a/public/templates/single.php b/public/templates/formality-form.php similarity index 87% rename from public/templates/single.php rename to public/templates/formality-form.php index 7867c62..ed43abb 100644 --- a/public/templates/single.php +++ b/public/templates/formality-form.php @@ -1,7 +1,7 @@ ¹ You can override default form and notification templates (source code on public/templates/ directory), by putting formality-form.php and formality-notification.php files inside your active theme's directory. + = 1.3.6 = Release Date: Aug 8th, 2021 diff --git a/webpack.mix.js b/webpack.mix.js index 3274c1c..f5a90bd 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -16,11 +16,12 @@ mix .js('assets/scripts/public.js', 'scripts/formality-public.js') .js('assets/scripts/editor.js', 'scripts/formality-editor.js') .js('assets/scripts/admin.js', 'scripts/formality-admin.js') - .banner({ banner: 'Formality v1.3.6' }); + .banner({ banner: 'Formality v1.4' }); mix .copyWatched('assets/images/admin/**', 'dist/images/admin') .copyWatched('assets/images/templates.json', 'dist/images') + .copyWatched('assets/images/logo.svg', 'dist/images') .copyWatched([ 'assets/fonts/*.otf', 'assets/fonts/*.ttf',