Skip to content

Commit

Permalink
Set labels for page builders
Browse files Browse the repository at this point in the history
  • Loading branch information
dgwatkins committed Mar 11, 2024
1 parent 9f90097 commit d36c947
Show file tree
Hide file tree
Showing 6 changed files with 238 additions and 265 deletions.
34 changes: 17 additions & 17 deletions Divi/wpml-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,23 +103,23 @@
</attributes>
</shortcode>
<shortcode>
<tag>et_pb_cta</tag>
<attributes>
<attribute>title</attribute>
<attribute>admin_label</attribute>
<attribute>button_text</attribute>
<attribute>title_phone</attribute>
<attribute encoding="allow_html_tags">title__hover</attribute>
<attribute encoding="allow_html_tags">content__hover</attribute>
<attribute>title_tablet</attribute>
<attribute>button_text_tablet</attribute>
<attribute>button_text_phone</attribute>
<attribute encoding="allow_html_tags">content_tablet</attribute>
<attribute encoding="allow_html_tags">content_phone</attribute>
<attribute type="link">button_url</attribute>
<attribute type="link">link_option_url</attribute>
<attribute type="media-url">background_image</attribute>
<attribute type="media-url">background_image__hover</attribute>
<tag label="Call To Action: Content">et_pb_cta</tag>
<attributes>
<attribute label="Call To Action: Title">title</attribute>
<attribute label="Call To Action: Title (phone)">title_phone</attribute>
<attribute label="Call To Action: Title (tablet)">title_tablet</attribute>
<attribute label="Call To Action: Title (hover)" encoding="allow_html_tags">title__hover</attribute>
<attribute label="Call To Action: Admin Label">admin_label</attribute>
<attribute label="Call To Action: Content (phone)" encoding="allow_html_tags">content_phone</attribute>
<attribute label="Call To Action: Content (tablet)" encoding="allow_html_tags">content_tablet</attribute>
<attribute label="Call To Action: Content (hover)" encoding="allow_html_tags">content__hover</attribute>
<attribute label="Call To Action: Button Text">button_text</attribute>
<attribute label="Call To Action: Button Text (phone)">button_text_phone</attribute>
<attribute label="Call To Action: Button Text (tablet)">button_text_tablet</attribute>
<attribute label="Call To Action: Button URL" type="link">button_url</attribute>
<attribute label="Call To Action: Option URL" type="link">link_option_url</attribute>
<attribute label="Call To Action: Background Image" type="media-url">background_image</attribute>
<attribute label="Call To Action: Background Image (hover)" type="media-url">background_image__hover</attribute>
</attributes>
</shortcode>
<shortcode>
Expand Down
54 changes: 27 additions & 27 deletions beaver-builder/wpml-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,50 @@
<beaver-builder-widgets>
<widget name="button-group">
<fields>
<field type="Button group label" editor_type="LINE">button_group_label</field>
<field type="Button group: Title" editor_type="LINE">button_group_label</field>
</fields>
<fields-in-item items_of="items">
<field type="Button label" editor_type="LINE">text</field>
<field type="Button link" editor_type="LINK">link</field>
<field type="Lightbox HTML" editor_type="AREA">lightbox_content_html</field>
<field type="Button group: Label" editor_type="LINE">text</field>
<field type="Button group: Link" editor_type="LINK">link</field>
<field type="Button group: Lightbox HTML" editor_type="AREA">lightbox_content_html</field>
</fields-in-item>
</widget>
<widget name="icon-group">
<fields-in-item items_of="icons">
<field type="Icon Link" editor_type="LINK">link</field>
<field type="Icon Text" editor_type="LINE">text</field>
<field type="Screen Reader Text" editor_type="LINE">sr_text</field>
<field type="Icon group: Link" editor_type="LINK">link</field>
<field type="Icon group: Text" editor_type="LINE">text</field>
<field type="Icon group: Screen Reader Text" editor_type="LINE">sr_text</field>
</fields-in-item>
</widget>
<widget name="list">
<fields-in-item items_of="list_items">
<field type="List heading" editor_type="LINE">heading</field>
<field type="List content" editor_type="VISUAL">content</field>
<field type="List: Heading" editor_type="LINE">heading</field>
<field type="List: Content" editor_type="VISUAL">content</field>
</fields-in-item>
</widget>
<widget name="login-form">
<fields>
<field type="Login name field" editor_type="LINE">name_field_text</field>
<field type="Login password field" editor_type="LINE">password_field_text</field>
<field type="Login button label" editor_type="LINE">btn_text</field>
<field type="Login button URL" editor_type="LINK">success_url</field>
<field type="Logout button label" editor_type="LINE">lo_btn_text</field>
<field type="Logout button URL" editor_type="LINK">lo_success_url</field>
<field type="Login form: name field" editor_type="LINE">name_field_text</field>
<field type="Login form: password field" editor_type="LINE">password_field_text</field>
<field type="Login form: button label" editor_type="LINE">btn_text</field>
<field type="Login form: button URL" editor_type="LINK">success_url</field>
<field type="Login form: Logout button label" editor_type="LINE">lo_btn_text</field>
<field type="Login form: Logout button URL" editor_type="LINK">lo_success_url</field>
</fields>
</widget>
<widget name="pricing-table">
<fields>
<field type="Billing Option 1" editor_type="LINE">billing_option_1</field>
<field type="Billing Option 2" editor_type="LINE">billing_option_2</field>
<field type="Pricing Table: Billing Option 1" editor_type="LINE">billing_option_1</field>
<field type="Pricing Table: Billing Option 2" editor_type="LINE">billing_option_2</field>
</fields>
<fields-in-item items_of="pricing_columns">
<field type="Title" editor_type="LINE">title</field>
<field type="Ribbon Text" editor_type="LINE">ribbon_text</field>
<field type="Button Text" editor_type="LINE">button_text</field>
<field type="Button URL" editor_type="LINK">button_url</field>
<field type="Price" editor_type="LINE">price</field>
<field type="Duration" editor_type="LINE">duration</field>
<field type="Price (Option 2)" editor_type="LINE">price_option_2</field>
<field type="Pricing Table: Title" editor_type="LINE">title</field>
<field type="Pricing Table: Ribbon Text" editor_type="LINE">ribbon_text</field>
<field type="Pricing Table: Button Text" editor_type="LINE">button_text</field>
<field type="Pricing Table: Button URL" editor_type="LINK">button_url</field>
<field type="Pricing Table: Price" editor_type="LINE">price</field>
<field type="Pricing Table: Duration" editor_type="LINE">duration</field>
<field type="Pricing Table: Price (Option 2)" editor_type="LINE">price_option_2</field>
</fields-in-item>
</widget>
<widget name="subscribe-form">
Expand All @@ -66,9 +66,9 @@
</widget>
<widget name="search">
<fields>
<field type="Search placeholder" editor_type="LINE">placeholder</field>
<field type="Search button label" editor_type="LINE">btn_text</field>
<field type="Search no results message" editor_type="LINE">no_results_message</field>
<field type="Search: placeholder" editor_type="LINE">placeholder</field>
<field type="Search: button label" editor_type="LINE">btn_text</field>
<field type="Search: no results message" editor_type="LINE">no_results_message</field>
</fields>
</widget>
</beaver-builder-widgets>
Expand Down
Loading

0 comments on commit d36c947

Please sign in to comment.