Skip to content

Commit

Permalink
2024 Theme: Update translations
Browse files Browse the repository at this point in the history
Removes translations for placeholder strings and adds translations for others.
  • Loading branch information
adamwoodnz committed Jun 4, 2024
1 parent 1cee272 commit 5750e0f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 33 deletions.
48 changes: 24 additions & 24 deletions wp-content/themes/pub/wporg-learn-2024/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,58 +155,58 @@ function get_learning_pathway_level_content( $learning_pathway ) {
$content = array(
'developer' => array(
'beginner' => array(
'title' => __( '[TBD Beginner developer title]', 'wporg-learn' ),
'description' => __( '[TBD Beginner developer description]', 'wporg-learn' ),
'title' => '[TBD Beginner developer title]',
'description' => '[TBD Beginner developer description]',
),
'intermediate' => array(
'title' => __( '[TBD Intermediate developer title]', 'wporg-learn' ),
'description' => __( '[TBD Intermediate developer description]', 'wporg-learn' ),
'title' => '[TBD Intermediate developer title]',
'description' => '[TBD Intermediate developer description]',
),
'advanced' => array(
'title' => __( '[TBD Advanced developer title]', 'wporg-learn' ),
'description' => __( '[TBD Advanced developer description]', 'wporg-learn' ),
'title' => '[TBD Advanced developer title]',
'description' => '[TBD Advanced developer description]',
),
),
'designer' => array(
'beginner' => array(
'title' => __( 'Begin exploring WordPress', 'wporg-learn' ),
'description' => __( 'Discover the design potential of WordPress.', 'wporg-learn' ),
'title' => 'Begin exploring WordPress',
'description' => 'Discover the design potential of WordPress.',
),
'intermediate' => array(
'title' => __( 'Customize your site', 'wporg-learn' ),
'description' => __( 'Personalize and own all the details of your WordPress site.', 'wporg-learn' ),
'title' => 'Customize your site',
'description' => 'Personalize and own all the details of your WordPress site.',
),
'advanced' => array(
'title' => __( 'Elevate your site to stunning levels', 'wporg-learn' ),
'description' => __( 'For advanced users that are familiar with code.', 'wporg-learn' ),
'title' => 'Elevate your site to stunning levels',
'description' => 'For advanced users that are familiar with code.',
),
),
'user' => array(
'beginner' => array(
'title' => __( '[TBD Beginner user title]', 'wporg-learn' ),
'description' => __( '[TBD Beginner user description]', 'wporg-learn' ),
'title' => '[TBD Beginner user title]',
'description' => '[TBD Beginner user description]',
),
'intermediate' => array(
'title' => __( '[TBD Intermediate user title]', 'wporg-learn' ),
'description' => __( '[TBD Intermediate user description]', 'wporg-learn' ),
'title' => '[TBD Intermediate user title]',
'description' => '[TBD Intermediate user description]',
),
'advanced' => array(
'title' => __( '[TBD Advanced user title]', 'wporg-learn' ),
'description' => __( '[TBD Advanced user description]', 'wporg-learn' ),
'title' => '[TBD Advanced user title]',
'description' => '[TBD Advanced user description]',
),
),
'contributor' => array(
'beginner' => array(
'title' => __( '[TBD Beginner contributor title]', 'wporg-learn' ),
'description' => __( '[TBD Beginner contributor description]', 'wporg-learn' ),
'title' => '[TBD Beginner contributor title]',
'description' => '[TBD Beginner contributor description]',
),
'intermediate' => array(
'title' => __( '[TBD Intermediate contributor title]', 'wporg-learn' ),
'description' => __( '[TBD Intermediate contributor description]', 'wporg-learn' ),
'title' => '[TBD Intermediate contributor title]',
'description' => '[TBD Intermediate contributor description]',
),
'advanced' => array(
'title' => __( '[TBD Advanced contributor title]', 'wporg-learn' ),
'description' => __( '[TBD Advanced contributor description]', 'wporg-learn' ),
'title' => '[TBD Advanced contributor title]',
'description' => '[TBD Advanced contributor description]',
),
),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--50)">

<!-- wp:paragraph -->
<p>Introduction TBC.</p>
<p>[TBD Introduction]</p>
<!-- /wp:paragraph -->

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--50)">

<!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"margin":{"top":"0"}}},"fontSize":"huge","fontFamily":"eb-garamond"} -->
<h2 class="wp-block-heading has-eb-garamond-font-family has-huge-font-size" style="margin-top:0;font-style:normal;font-weight:400">TBD heading</h2>
<h2 class="wp-block-heading has-eb-garamond-font-family has-huge-font-size" style="margin-top:0;font-style:normal;font-weight:400">[TBD heading]</h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"fontSize":"large"} -->
Expand All @@ -39,15 +39,15 @@
<div class="wp-block-column wporg-learn-footer-signup" style="border-left-color:var(--wp--preset--color--white-opacity-15);border-left-width:1px;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--edge-space)">

<!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"margin":{"top":"0"}}},"fontSize":"huge","fontFamily":"eb-garamond"} -->
<h2 class="wp-block-heading has-eb-garamond-font-family has-huge-font-size" style="margin-top:0;font-style:normal;font-weight:400">TBD heading</h2>
<h2 class="wp-block-heading has-eb-garamond-font-family has-huge-font-size" style="margin-top:0;font-style:normal;font-weight:400">[TBD heading]</h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"><?php esc_html_e( 'Sign up for the free Learn WordPress newsletter and get a monthly dose of what\'s new in the world of WordPress courses, lessons, and online workshops.', 'wporg-learn' ); ?></p>
<p class="has-small-font-size">[TBD Sign up for the free Learn WordPress newsletter and get a monthly dose of what's new in the world of WordPress courses, lessons, and online workshops.]</p>
<!-- /wp:paragraph -->

<!-- wp:jetpack/subscriptions {"className":"is-style-compact"} /-->

</div>
<!-- /wp:column -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40)">

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
<p class="has-charcoal-4-color has-text-color has-link-color"><?php esc_html_e( 'Courses take you through a series of lessons.', 'wporg-learn' ); ?></p>
<p class="has-charcoal-4-color has-text-color has-link-color">Courses take you through a series of lessons.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"textColor":"charcoal-4"} -->
Expand Down Expand Up @@ -165,18 +165,18 @@
<!-- wp:wporg-learn/upcoming-online-workshops {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|50"}}}} /-->

<!-- wp:paragraph {"fontSize":"huge","fontFamily":"eb-garamond"} -->
<p class="has-eb-garamond-font-family has-huge-font-size">[TBD. Paragraph about inviting users to join the Training team to contribute with content creation]</p>
<p class="has-eb-garamond-font-family has-huge-font-size">[TBD Paragraph about inviting users to join the Training team to contribute with content creation]</p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-buttons" style="margin-bottom:var(--wp--preset--spacing--50)">

<!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="/contribute">Contribute</a></div>
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="/contribute"><?php esc_html_e( 'Contribute', 'wporg-learn' ); ?></a></div>
<!-- /wp:button -->

<!-- wp:button {"className":"is-style-outline"} -->
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="https://make.wordpress.org/training/handbook/"><?php esc_html_e( 'See the Training team\'s handbook', 'wporg-learn' ); ?></a></div>
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" href="https://make.wordpress.org/training/handbook/"><?php esc_html_e( "See the Training team's handbook", 'wporg-learn' ); ?></a></div>
<!-- /wp:button -->

</div>
Expand Down

0 comments on commit 5750e0f

Please sign in to comment.