fixing translations problems
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e7d85e3a0a
commit
29022cb1fa
|
|
@ -36,8 +36,8 @@ if (class_exists('GF_Field')) {
|
||||||
$choices[] = [
|
$choices[] = [
|
||||||
'title' => get_the_title($current_lang_id),
|
'title' => get_the_title($current_lang_id),
|
||||||
'text' => get_the_title($current_lang_id),
|
'text' => get_the_title($current_lang_id),
|
||||||
'ID_fr' => $post['ID_nl'],
|
'ID_fr' => $post['ID_fr'],
|
||||||
'ID_nl' => $post['ID_fr'],
|
'ID_nl' => $post['ID_nl'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
$this->choices = $choices;
|
$this->choices = $choices;
|
||||||
|
|
@ -100,7 +100,6 @@ if (class_exists('GF_Field')) {
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
|
|
||||||
foreach ($this->choices as $document) {
|
foreach ($this->choices as $document) {
|
||||||
|
|
||||||
// $isEmpty = empty($value[$counter]) && empty($value[$counter + 1]);
|
// $isEmpty = empty($value[$counter]) && empty($value[$counter + 1]);
|
||||||
|
|
||||||
// if ($isEmpty) {
|
// if ($isEmpty) {
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
$documentPost = get_post($current_lang_id);
|
$documentPost = get_post($current_lang_id);
|
||||||
|
|
||||||
$metadata = wp_get_attachment_metadata($current_lang_id);
|
$metadata = wp_get_attachment_metadata($current_lang_id);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class=" gchoice brochure-order-field">
|
<div class=" gchoice brochure-order-field">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user