diff --git a/includes/theme-settings.inc b/includes/theme-settings.inc index e48c8be8c31105b0373bc5075088b755ea7dd0f7..bd274bfe3966590bf357e5e3071072b5d749971d 100755 --- a/includes/theme-settings.inc +++ b/includes/theme-settings.inc @@ -1011,14 +1011,7 @@ function bootstrap_italia_form_system_theme_settings_alter(array &$form, FormSta $form['pwv'] = [ '#type' => 'details', '#title' => t('PA Website Validator'), - '#description' => t( - '<p>Settings for <a href="@mSites" title="Read the docs" target="_blank">Municipality sites</a> or <a href="@sSites" title="Read the docs" target="_blank">School sites</a>, or leave unset for generic sites.</p> - <p>The theme automatically sets some data-attributes without you having to override templates. In the table below a summary of the automatically set data-attributes. You have to do everything else.</p>', - [ - '@mSites' => 'https://docs.italia.it/italia/designers-italia/app-valutazione-modelli-docs/it/versione-attuale/requisiti-e-modalita-verifica-comuni.html', - '@sSites' => 'https://docs.italia.it/italia/designers-italia/app-valutazione-modelli-docs/it/versione-attuale/requisiti-e-modalita-verifica-scuole.html', - ] - ), + '#description' => t('The theme automatically sets some data-attributes without you having to override templates. In the table below a summary of the automatically set data-attributes. You have to do everything else.'), '#open' => FALSE, '#group' => 'bootstrap', '#weight' => 20, @@ -1026,7 +1019,13 @@ function bootstrap_italia_form_system_theme_settings_alter(array &$form, FormSta $form['pwv']['pa_website_validator_type'] = [ '#type' => 'select', '#title' => t('Site type'), - '#description' => t(''), + '#description' => t( + '<p>Settings for <a href="@mSites" title="Read the docs" target="_blank">Municipality sites</a> or <a href="@sSites" title="Read the docs" target="_blank">School sites</a>, or leave unset for generic sites.</p>', + [ + '@mSites' => 'https://docs.italia.it/italia/designers-italia/app-valutazione-modelli-docs/it/versione-attuale/requisiti-e-modalita-verifica-comuni.html', + '@sSites' => 'https://docs.italia.it/italia/designers-italia/app-valutazione-modelli-docs/it/versione-attuale/requisiti-e-modalita-verifica-scuole.html', + ] + ), '#default_value' => theme_get_setting('pa_website_validator_type'), '#options' => [ '' => t('Unset'), @@ -1038,7 +1037,6 @@ function bootstrap_italia_form_system_theme_settings_alter(array &$form, FormSta $form['pwv']['municipality'] = [ '#type' => 'details', '#title' => t('Municipality'), - '#description' => t(''), '#open' => FALSE, '#group' => 'pwv', ]; @@ -1128,7 +1126,6 @@ function bootstrap_italia_form_system_theme_settings_alter(array &$form, FormSta $form['pwv']['school'] = [ '#type' => 'details', '#title' => t('School'), - '#description' => t(''), '#open' => FALSE, '#group' => 'pwv', ]; diff --git a/src/Helper/Helper.php b/src/Helper/Helper.php index b81c3c56ff44527cdf15eede24c282f005c77d3a..8dbc69a5f0831bc384bbbb76be664630a6132262 100644 --- a/src/Helper/Helper.php +++ b/src/Helper/Helper.php @@ -42,14 +42,24 @@ public static function getSocialItems(): array { return [ 'Behance', 'Facebook', + 'Figma', 'Flickr', 'Github', 'Instagram', 'Linkedin', 'Medium', + 'Pinterest', + 'Quora', + 'Reddit', 'RSS', - 'Twitter', + 'Slack', + 'Snapchat', + 'Stackexchange', + 'Stackoverflow', 'Telegram', + 'Tiktok', + 'Twitter', + 'Vimeo', 'WhatsApp', 'YouTube', ]; diff --git a/translations/bootstrap_italia-2.1.0.it.po b/translations/bootstrap_italia-2.1.2.it.po similarity index 99% rename from translations/bootstrap_italia-2.1.0.it.po rename to translations/bootstrap_italia-2.1.2.it.po index e39920ab8d485bf69db23cb585befa6adfb03d4f..d4da6eea319db476b6cacd2e21efc33e5144e382 100644 --- a/translations/bootstrap_italia-2.1.0.it.po +++ b/translations/bootstrap_italia-2.1.2.it.po @@ -342,7 +342,7 @@ msgid "" msgstr "" "Project-Id-Version: Bootstrap Italia (2.1)\n" "POT-Creation-Date: 2023-01-29 15:25+0100\n" -"PO-Revision-Date: 2023-02-06 18:59+0100\n" +"PO-Revision-Date: 2023-02-16 09:02+0100\n" "Last-Translator: \n" "Language-Team: Italian\n" "Language: it\n"