diff --git a/inc/Helpers/Formatting/Share.php b/inc/Helpers/Formatting/Share.php index 7f9717a7..ca9dadfe 100644 --- a/inc/Helpers/Formatting/Share.php +++ b/inc/Helpers/Formatting/Share.php @@ -92,6 +92,17 @@ function get_share_link( string $name, string $link_to_share, array $share_attri 'url' => $link_to_share, ], ], + 'bluesky' => [ + 'attributes' => [ + 'title' => __( 'Share on Bluesky', 'beapi-frontend-framework' ), + 'href' => 'https://bsky.app/intent/compose', + 'class' => 'share__link', + ], + 'icon' => 'social/bluesky', + 'params' => [ + 'text' => $link_to_share, + ], + ], 'email' => [ 'attributes' => [ 'title' => __( 'Share on Email', 'beapi-frontend-framework' ), diff --git a/languages/beapi-frontend-framework.pot b/languages/beapi-frontend-framework.pot index 3d7260aa..6e0c74ab 100644 --- a/languages/beapi-frontend-framework.pot +++ b/languages/beapi-frontend-framework.pot @@ -1,4 +1,4 @@ -# Copyright (C) 2024 BeAPI +# Copyright (C) 2025 BeAPI # This file is distributed under the . msgid "" msgstr "" @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-06-28T07:38:00+00:00\n" +"POT-Creation-Date: 2025-02-18T15:06:50+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.10.0\n" "X-Domain: beapi-frontend-framework\n" @@ -108,6 +108,10 @@ msgid "Share on Instagram" msgstr "" #: inc/Helpers/Formatting/Share.php:97 +msgid "Share on Bluesky" +msgstr "" + +#: inc/Helpers/Formatting/Share.php:108 msgid "Share on Email" msgstr "" diff --git a/languages/fr_FR.mo b/languages/fr_FR.mo index 75c52aa5..fbeaed9e 100644 Binary files a/languages/fr_FR.mo and b/languages/fr_FR.mo differ diff --git a/languages/fr_FR.po b/languages/fr_FR.po index 149e4ca6..3f1c3c50 100644 --- a/languages/fr_FR.po +++ b/languages/fr_FR.po @@ -5,8 +5,8 @@ msgstr "" "Project-Id-Version: Be API Frontend Framework 1.0.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/beapi-frontend-" "framework\n" -"POT-Creation-Date: 2024-06-28T07:38:00+00:00\n" -"PO-Revision-Date: 2024-06-28 09:39+0200\n" +"POT-Creation-Date: 2025-02-18T15:06:50+00:00\n" +"PO-Revision-Date: 2025-02-18 16:08+0100\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -"X-Generator: Poedit 3.2.2\n" +"X-Generator: Poedit 3.1.1\n" "X-Domain: beapi-frontend-framework\n" #. Theme Name of the theme @@ -111,6 +111,10 @@ msgid "Share on Instagram" msgstr "Partager sur Instagram" #: inc/Helpers/Formatting/Share.php:97 +msgid "Share on Bluesky" +msgstr "Partager sur Bluesky" + +#: inc/Helpers/Formatting/Share.php:108 msgid "Share on Email" msgstr "Partager par email" @@ -175,24 +179,24 @@ msgstr "Général" msgid "" "Could not register file \"%s\" as a block pattern (\"Slug\" field missing)" msgstr "" -"Impossible de déclarer la composition de blocs à partir du fichier " -"\"%s\" (Le champ \"Slug\" est manquant)" +"Impossible de déclarer la composition de blocs à partir du fichier \"%s" +"\" (Le champ \"Slug\" est manquant)" #. translators: %1s: file name; %2s: slug value found. #: inc/Services/Editor_Patterns.php:138 msgid "" "Could not register file \"%1$s\" as a block pattern (invalid slug \"%2$s\")" msgstr "" -"Impossible de déclarer la composition de blocs à partir du fichier " -"\"%1$s\" (Le slug \"%2$s\" n'est pas valide)" +"Impossible de déclarer la composition de blocs à partir du fichier \"%1$s" +"\" (Le slug \"%2$s\" n'est pas valide)" #. translators: %1s: file name; %2s: slug value found. #: inc/Services/Editor_Patterns.php:155 msgid "" "Could not register file \"%s\" as a block pattern (\"Title\" field missing)" msgstr "" -"Impossible de déclarer la composition de blocs à partir du fichier " -"\"%s\" (Le champ \"Title\" est manquant)" +"Impossible de déclarer la composition de blocs à partir du fichier \"%s" +"\" (Le champ \"Title\" est manquant)" #: inc/Services/Menu.php:37 msgid "Main menu" diff --git a/src/img/icons/social/bluesky.svg b/src/img/icons/social/bluesky.svg new file mode 100644 index 00000000..26dabffc --- /dev/null +++ b/src/img/icons/social/bluesky.svg @@ -0,0 +1 @@ +