Updating block name translation
This commit is contained in:
parent
c40eb5d044
commit
63ac1dd382
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'abacad7c685ec920b653');
|
||||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '036ee79fd5df1d4d3d84');
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ function Edit({
|
|||
return c_value;
|
||||
}
|
||||
const currentLang = getAdminLanguageFromCookie("wp-wpml_current_language");
|
||||
const localBlockName = currentLang === "fr" ? "Vocabulaire" : "Vocabulairen";
|
||||
const localBlockName = currentLang === "fr" ? "Vocabulaire" : "Woordenschat";
|
||||
(0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
|
||||
if (currentPost.content && currentBlocks) {
|
||||
const newTooltipWords = buildTooltipWords();
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -149,7 +149,7 @@ export default function Edit({ attributes, setAttributes }) {
|
|||
return c_value;
|
||||
}
|
||||
const currentLang = getAdminLanguageFromCookie("wp-wpml_current_language");
|
||||
const localBlockName = currentLang === "fr" ? "Vocabulaire" : "Vocabulairen";
|
||||
const localBlockName = currentLang === "fr" ? "Vocabulaire" : "Woordenschat";
|
||||
useEffect(() => {
|
||||
if (currentPost.content && currentBlocks) {
|
||||
const newTooltipWords = buildTooltipWords();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user