Skip to content

Commit

Permalink
Advanced Forms: Making radio options and submit button translatable
Browse files Browse the repository at this point in the history
- Form - radio options do not show the translation, and the styling of the form is not being copied
- Making submit button translatable

Initially reported here:
https://wpml.org/forums/topic/kadence-form-adv-block-not-translateable-2/
  • Loading branch information
andrescifuentesr authored Jan 2, 2025
1 parent b23df1d commit 9eecb43
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions wpml-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@
<key name="errorMessage" />
<key name="requiredMessage" />
<key name="helpText" />
<key name="options">
<key name="*">
<key name="label" />
</key>
</key>
</gutenberg-block>
<gutenberg-block type="kadence/advanced-form-select" translate="1">
<key name="label" />
Expand All @@ -169,6 +174,7 @@
</gutenberg-block>
<gutenberg-block type="kadence/advanced-form-submit" translate="1">
<key name="label" />
<key name="text" />
</gutenberg-block>
<gutenberg-block type="kadence/advanced-form-telephone" translate="1">
<key name="label" />
Expand Down Expand Up @@ -295,5 +301,15 @@
<custom-field action="translate">_kad_form_maxwidthunit</custom-field>
<custom-field action="translate">_kad_form_maxwidth</custom-field>
<custom-field action="translate">_kad_form_importid</custom-field>
<custom-field action="copy">_kad_form_tabletFieldBorderStyle</custom-field>
<custom-field action="copy">_kad_form_mobileFieldBorderStyle</custom-field>
<custom-field action="copy">_kad_form_inputFont</custom-field>
<custom-field action="copy">_kad_form_style</custom-field>
<custom-field action="copy">_kad_form_fieldBorderRadius</custom-field>
<custom-field action="copy">_kad_form_tabletFieldBorderRadius</custom-field>
<custom-field action="copy">_kad_form_mobileFieldBorderRadius</custom-field>
<custom-field action="copy">_kad_form_fieldBorderRadiusUnit</custom-field>
<custom-field action="copy">_kad_form_labelFont</custom-field>
<custom-field action="copy">_kad_form_radioLabelFont</custom-field>
</custom-fields>
</wpml-config>

0 comments on commit 9eecb43

Please sign in to comment.