Make WordPress Core

Changeset 57588


Ignore:
Timestamp:
02/12/2024 11:07:12 AM (2 months ago)
Author:
audrasjb
Message:

Twenty Twenty-Four: Add missing translation functions to text strings.

This changeset updates some text labels in footer.php to make them translatable.

Props wildworks, sabernhardt, poena, onemaggie, luminuu, mukesh27.
Fixes #60298.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/footer.php

    r56951 r57588  
    4646                        <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'About', 'twentytwentyfour' ); ?>"} -->
    4747
    48                         <!-- wp:navigation-link {"label":"Team","url":"#"} /-->
    49                         <!-- wp:navigation-link {"label":"History","url":"#"} /-->
    50                         <!-- wp:navigation-link {"label":"Careers","url":"#"} /-->
     48                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Team', 'twentytwentyfour' ); ?>","url":"#"} /-->
     49                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'History', 'twentytwentyfour' ); ?>","url":"#"} /-->
     50                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Careers', 'twentytwentyfour' ); ?>","url":"#"} /-->
    5151
    5252                        <!-- /wp:navigation -->
     
    6969                        <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'Privacy', 'twentytwentyfour' ); ?>"} -->
    7070
    71                         <!-- wp:navigation-link {"label":"Privacy Policy","url":"#"} /-->
    72                         <!-- wp:navigation-link {"label":"Terms and Conditions","url":"#"} /-->
    73                         <!-- wp:navigation-link {"label":"Contact Us","url":"#"} /-->
     71                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Privacy Policy', 'twentytwentyfour' ); ?>","url":"#"} /-->
     72                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Terms and Conditions', 'twentytwentyfour' ); ?>","url":"#"} /-->
     73                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Contact Us', 'twentytwentyfour' ); ?>","url":"#"} /-->
    7474
    7575                        <!-- /wp:navigation -->
     
    9191                        <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small","ariaLabel":"<?php esc_attr_e( 'Social Media', 'twentytwentyfour' ); ?>"} -->
    9292
    93                         <!-- wp:navigation-link {"label":"Facebook","url":"#"} /-->
    94                         <!-- wp:navigation-link {"label":"Instagram","url":"#"} /-->
    95                         <!-- wp:navigation-link {"label":"Twitter/X","url":"#"} /-->
     93                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Facebook', 'twentytwentyfour' ); ?>","url":"#"} /-->
     94                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Instagram', 'twentytwentyfour' ); ?>","url":"#"} /-->
     95                        <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Twitter/X', 'twentytwentyfour' ); ?>","url":"#"} /-->
    9696
    9797                        <!-- /wp:navigation -->
Note: See TracChangeset for help on using the changeset viewer.