\n"
"Language-Team: \n"
@@ -9,63 +9,13 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 2.4.3\n"
+"X-Generator: Poedit 3.5\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-KeywordsList: __;_e;_x:1,2c;_n:1,2;esc_attr__\n"
"X-Poedit-SearchPath-0: ../../.\n"
-"X-Poedit-SearchPath-1: ../../../../mu-plugins\n"
-#: ../../../../mu-plugins/wpu_acf_flexible.php:138
-msgid "No"
-msgstr "No"
-
-#: ../../../../mu-plugins/wpu_acf_flexible.php:138
-msgid "Yes"
-msgstr "Sì"
-
-#: ../../../../mu-plugins/wpu_relatedproductcategories.php:102
-msgid "Search for a product…"
-msgstr ""
-
-#: ../../../../mu-plugins/wpu_ux_tweaks.php:310
-msgid "Thumbnail"
-msgstr "Miniatura"
-
-#: ../../../../mu-plugins/wpu_woo_account_endpoints.php:92
-#, php-format
-msgid "Default content for %s"
-msgstr ""
-
-#: ../../../../mu-plugins/wpu_woo_ask_invoice.php:40
-msgid "Ask Invoice"
-msgstr ""
-
-#: ../../../../mu-plugins/wpu_woo_ask_invoice.php:41
-msgid "You already asked for an invoice"
-msgstr ""
-
-#: ../../../../mu-plugins/wpu_woo_ask_invoice.php:42
-msgid "Invoice has been asked"
-msgstr ""
-
-#: ../../../../mu-plugins/wpu_woo_ask_invoice.php:43
-#, php-format
-msgid "Order #%s - Invoice"
-msgstr ""
-
-#: ../../../../mu-plugins/wpu_woo_ask_invoice.php:44
-#, php-format
-msgid "Please send the invoice for the order #%s"
-msgstr ""
-
-msgid "Copy link"
-msgstr "Copia link"
-
-msgid "Share link"
-msgstr "Condividi il link"
-
-#: ../.././404.php:7 ../.././inc/theme/breadcrumbs.php:101
+#: ../.././404.php:7 ../.././inc/theme/breadcrumbs.php:136
msgid "404 Error"
msgstr "Errore 404"
@@ -73,21 +23,25 @@ msgstr "Errore 404"
msgid "Sorry, but this page doesn’t exists."
msgstr "Spiacenti, ma questa pagina non esiste."
-#: ../.././functions.php:26
-msgid "Main menu"
-msgstr "menu principale"
+#: ../.././404.php:9
+msgid "Back to the homepage"
+msgstr "Torna alla pagina di accesso"
#: ../.././functions.php:38
+msgid "Main menu"
+msgstr "Menu principale"
+
+#: ../.././functions.php:50
msgid "Default Sidebar"
msgstr "Sidebar Predefinita"
-#: ../.././functions.php:40
+#: ../.././functions.php:52
msgid "Default theme sidebar"
msgstr "Sidebar tema predefinito"
-#: ../.././header.php:8
-msgid "Skip to main content"
-msgstr "Vai al contenuto principale"
+#: ../.././inc/assets/scripts.php:37
+msgid "Copied !"
+msgstr "Copiato !"
#: ../.././inc/plugins/wpu-options.php:13
msgid "Contacts"
@@ -97,19 +51,19 @@ msgstr "Contatti"
msgid "Social networks"
msgstr "Reti sociali"
-#: ../.././inc/plugins/wpu-options.php:19
+#: ../.././inc/plugins/wpu-options.php:20
msgid "Pages IDs"
msgstr "Pagine IDs"
-#: ../.././inc/plugins/wpu-options.php:33
+#: ../.././inc/plugins/wpu-options.php:34
msgid "Email address"
msgstr "Indirizzo e-mail"
-#: ../.././inc/theme/breadcrumbs.php:16
+#: ../.././inc/theme/breadcrumbs.php:25
msgid "Home"
msgstr "Pagina iniziale"
-#: ../.././inc/theme/breadcrumbs.php:108
+#: ../.././inc/theme/breadcrumbs.php:144
#, php-format
msgid "Search results for \"%s\""
msgstr "Risultati della ricerca per \"%s\""
@@ -134,32 +88,85 @@ msgstr "Allineamento del titolo"
msgid "Title size"
msgstr "Dimensione del titolo"
-#: ../.././inc/theme/default-items.php:228
+#: ../.././inc/theme/default-items.php:115
+msgid "Skip to main content"
+msgstr "Vai al contenuto principale"
+
+#: ../.././inc/theme/default-items.php:280
msgid "Next page"
msgstr "Pagina successiva"
-#: ../.././inc/theme/utilities.php:39
-msgid "Sorry, no search results for this query."
-msgstr "Spiacenti, nessun risultato trovato."
+#: ../.././inc/theme/pages.php:221
+msgid "Privacy Policy"
+msgstr "Privacy Policy"
-#: ../.././inc/theme/utilities.php:68
+#: ../.././inc/theme/templates.php:10
+msgid "Gallery"
+msgstr "Galleria"
+
+#: ../.././inc/theme/templates.php:24
+msgid "Order by"
+msgstr "Ordina per"
+
+#: ../.././inc/theme/templates.php:34
+msgid "Order"
+msgstr "Ordina"
+
+#: ../.././inc/theme/templates.php:43
+msgid "Background"
+msgstr "Sfondo"
+
+#: ../.././inc/theme/utilities/comments.php:23
msgid "no comments"
msgstr "nessun comment"
-#: ../.././inc/theme/utilities.php:71
+#: ../.././inc/theme/utilities/comments.php:26
msgid "1 comment"
msgstr "1 commento"
-#: ../.././inc/theme/utilities.php:74
+#: ../.././inc/theme/utilities/comments.php:29
#, php-format
msgid "%s comments"
msgstr "%s commenti"
-#: ../.././inc/theme/utilities.php:77
+#: ../.././inc/theme/utilities/comments.php:32
msgid "Comments are closed"
msgstr "I commenti sono chiusi"
-#: ../.././inc/theme/utilities.php:432
+#: ../.././inc/theme/utilities/content-helpers.php:162
+#: ../.././inc/theme/utilities/content-helpers.php:168
+#: ../.././inc/theme/utilities/content-helpers.php:174
+#: ../.././inc/theme/utilities/content-helpers.php:176
+#: ../.././inc/theme/utilities/content-helpers.php:177
+msgid "d F Y"
+msgstr "d F Y"
+
+#: ../.././inc/theme/utilities/content-helpers.php:167
+msgid "d"
+msgstr "d"
+
+#: ../.././inc/theme/utilities/content-helpers.php:173
+msgid "d F"
+msgstr "d F"
+
+#: ../.././inc/theme/utilities/content-helpers.php:181
+#, php-format
+msgid "From %s to %s"
+msgstr "Dal %s al %s"
+
+#: ../.././inc/theme/utilities/posts.php:18
+msgid "Sorry, no search results for this query."
+msgstr "Spiacenti, nessun risultato trovato."
+
+#: ../.././inc/theme/utilities/share.php:101
+msgid "Copy link"
+msgstr "Copia link"
+
+#: ../.././inc/theme/utilities/share.php:110
+msgid "Share link"
+msgstr "Condividi il link"
+
+#: ../.././inc/theme/utilities/social.php:43
#, php-format
msgid "%s: Follow %s (open in new window)"
msgstr "%s : Seguire %s (apre in una nuova finestra)"
@@ -168,11 +175,11 @@ msgstr "%s : Seguire %s (apre in una nuova finestra)"
msgid "Read more"
msgstr "Leggi di più"
-#: ../.././loop.php:7 ../.././tpl/loops/header-loop-small.php:8
+#: ../.././loop.php:7
msgid "F j, Y"
msgstr "j F Y"
-#: ../.././loop.php:9 ../.././tpl/loops/header-loop-small.php:4
+#: ../.././loop.php:9 ../.././tpl/loops/header-loop-small.php:8
msgid "By"
msgstr "Di"
@@ -184,17 +191,13 @@ msgstr "Tags :"
msgid "Size:"
msgstr "Peso :"
-#: ../.././page-templates/page-sitemap.php:13
-msgid "Home page"
-msgstr "Pagina iniziale"
-
-#: ../.././page-templates/page-sitemap.php:74
-msgid "Pages"
-msgstr "Pagine"
+#: ../.././page-templates/page-forgottenpassword.php:14
+msgid "Check your email for the confirmation link."
+msgstr "Controlla la tua email per il link di conferma."
-#: ../.././page-templates/page-sitemap.php:79
-msgid "Posts"
-msgstr "Articoli"
+#: ../.././page-templates/page-forgottenpassword.php:29
+msgid "Username or Email Address"
+msgstr "Nome Utente o indirizzo Email"
#: ../.././search.php:5
msgid "no search results"
@@ -219,42 +222,50 @@ msgstr "%s per “%s”"
msgid "A %s site using %s"
msgstr "Un sito %s utilizzando %s"
-#: ../.././tpl/header/searchform.php:7
+#: ../.././tpl/header/searchform.php:8
msgid "Search for:"
msgstr "Ricerca :"
-#: ../.././tpl/header/searchform.php:8
+#: ../.././tpl/header/searchform.php:9
msgid "Enter your keywords..."
msgstr "Inserire le parole chiave..."
-#: ../.././tpl/header/searchform.php:8
+#: ../.././tpl/header/searchform.php:9
msgid "Search by keywords"
msgstr "Ricerca per parole chiave"
-#: ../.././tpl/header/searchform.php:9
+#: ../.././tpl/header/searchform.php:10
#, php-format
msgid "Search on %s"
msgstr "Ricerca in %s"
-#: ../.././tpl/header/searchform.php:9
+#: ../.././tpl/header/searchform.php:10
msgid "Search"
msgstr "Ricerca"
-#: ../.././tpl/loops/share.php:5
+#: ../.././tpl/header/user-toolbar.php:4
+msgid "Logout"
+msgstr "Esci"
+
+#: ../.././tpl/header/user-toolbar.php:7
+msgid "Log in"
+msgstr "Accedi"
+
+#: ../.././tpl/loops/share.php:2
msgid "Share this post"
msgstr "Condividi questo post"
-#: ../.././tpl/paginate.php:23
+#: ../.././tpl/paginate.php:26
msgid "« Previous"
msgstr "« Precedente"
-#: ../.././tpl/paginate.php:26
+#: ../.././tpl/paginate.php:29
msgid "Next »"
msgstr "Prossimo »"
#: ../.././tpl/widgets/widget_post_categories.php:24
msgid "Number of posts:"
-msgstr "Numero di articolo"
+msgstr "Numero di aticoli:"
#: ../.././tpl/widgets/widget_post_categories.php:27
msgid "Category:"
@@ -280,8 +291,20 @@ msgstr "Target:"
msgid "Select an Image"
msgstr "Seleziona un'Immagine"
-msgid "Back to the homepage"
-msgstr "Torna alla pagina di accesso"
+#~ msgid "No"
+#~ msgstr "No"
-msgid "Copied !"
-msgstr "Copiato !"
+#~ msgid "Yes"
+#~ msgstr "Sì"
+
+#~ msgid "Thumbnail"
+#~ msgstr "Miniatura"
+
+#~ msgid "Home page"
+#~ msgstr "Pagina iniziale"
+
+#~ msgid "Pages"
+#~ msgstr "Pagine"
+
+#~ msgid "Posts"
+#~ msgstr "Articoli"
diff --git a/inc/theme/utilities/content-helpers.php b/inc/theme/utilities/content-helpers.php
index dcd1083..5d0d24a 100644
--- a/inc/theme/utilities/content-helpers.php
+++ b/inc/theme/utilities/content-helpers.php
@@ -134,6 +134,56 @@ function wputh_get_time_tag($date_format = '', $post_id = false) {
return '';
}
+/* ----------------------------------------------------------
+ Display a time period
+---------------------------------------------------------- */
+
+/**
+ * Display a time period
+ * @param string $start_date
+ * @param string $end_date
+ * @return string
+ */
+
+function wputh_get_time_period_string($start_date, $end_date) {
+
+ if (!$start_date) {
+ return '';
+ }
+
+ $from = strtotime($start_date);
+ $to = strtotime($end_date);
+
+ $from_str = '';
+ $to_str = '';
+
+ /* Same day */
+ if ($start_date == $end_date || !$end_date) {
+ return '' . date_i18n(__('d F Y', 'wputh'), $from) . '
';
+ }
+
+ /* Same month year */
+ else if (date('Ym', $from) == date('Ym', $to)) {
+ $from_str = date_i18n(__('d', 'wputh'), $from);
+ $to_str = date_i18n(__('d F Y', 'wputh'), $to);
+ }
+
+ /* Same year */
+ else if (date('Y', $from) == date('Y', $to)) {
+ $from_str = date_i18n(__('d F', 'wputh'), $from);
+ $to_str = date_i18n(__('d F Y', 'wputh'), $to);
+ } else {
+ $from_str = date_i18n(__('d F Y', 'wputh'), $from);
+ $to_str = date_i18n(__('d F Y', 'wputh'), $to);
+ }
+
+ return '' . sprintf(
+ __('From %s to %s', 'wputh'),
+ $from_str,
+ $to_str
+ ) . '
';
+}
+
/* ----------------------------------------------------------
Tools
---------------------------------------------------------- */
diff --git a/package.json b/package.json
index 1d22fbc..7ba9a76 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "wputheme",
- "version": "3.17.2",
+ "version": "3.18.0",
"description": "WPUTheme",
"devDependencies": {
"gulp": "^4.0.2",
diff --git a/style.css b/style.css
index c2740f2..e8c3994 100644
--- a/style.css
+++ b/style.css
@@ -3,7 +3,7 @@ Theme Name: WP Utilities Base Theme
Theme URI: https://github.com/WordPressUtilities/WPUTheme
Update URI: https://github.com/WordPressUtilities/WPUTheme
Description: A Framework WordPress Theme
-Version: 3.17.2
+Version: 3.18.0
Author: Darklg
Author URI: https://darklg.me/
License: GPLv2 or later