Skip to content

Commit 79ed2b8

Browse files
committed
Fix warning when term_id is null and fix typos in translations
1 parent 1a9e65e commit 79ed2b8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.DS_Store

6 KB
Binary file not shown.

classes/client/taxonomy.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static function merge( array $data, array $sync_fields ) {
8080
$data['slug'] = $data['slug'] . '___' . $data['pll']['language']; // Prevent exist term
8181
}
8282

83-
if ( false !== $term_exists_result ) {
83+
if ( false !== $term_exists_result && isset( $term_exists_result['term_id'] ) ) {
8484
$new_term_id = wp_update_term(
8585
$term_exists_result['term_id'],
8686
$data['taxonomy'],
4 Bytes
Binary file not shown.

languages/bea-content-sync-fusion-fr_FR.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ msgstr ""
44
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/bea-content-sync-"
55
"fusion\n"
66
"POT-Creation-Date: 2020-10-27 21:50+0100\n"
7-
"PO-Revision-Date: 2022-03-30 12:38+0200\n"
7+
"PO-Revision-Date: 2023-03-28 11:11+0200\n"
88
"Last-Translator: beapi <[email protected]>\n"
99
"Language-Team: French (France)\n"
1010
"Language: fr_FR\n"
@@ -13,7 +13,7 @@ msgstr ""
1313
"Content-Transfer-Encoding: 8bit\n"
1414
"Plural-Forms: nplurals=2; plural=n > 1;\n"
1515
"X-Poedit-SourceCharset: UTF-8\n"
16-
"X-Generator: Poedit 2.2.4\n"
16+
"X-Generator: Poedit 3.1.1\n"
1717
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
1818
"__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
1919
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
@@ -334,7 +334,7 @@ msgstr "Il reste encore %d élément(s) à synchroniser."
334334

335335
#: views/admin/blog-widget-status.php:10
336336
msgid "Force sync 30 first items"
337-
msgstr "Forcer la synchroniser les 30 premiers éléments"
337+
msgstr "Forcer la synchronisation des 30 premiers éléments"
338338

339339
#: views/admin/client-metabox.php:2
340340
msgid ""
@@ -669,7 +669,7 @@ msgstr "Mode spécial"
669669

670670
#: views/admin/server-page-settings.php:134
671671
msgid "Remove all content edition restrictions"
672-
msgstr "Retirer toues les restrictions sur le contenu"
672+
msgstr "Retirer toutes les restrictions sur le contenu"
673673

674674
#: views/admin/server-term-metabox-manual.php:5
675675
msgid ""

0 commit comments

Comments
 (0)