Просмотр исходного кода

Kigen: Fix text domain in the footers (#7192)

* Kigen: Fix text domain in the footers

* Version bump

---------

Co-authored-by: Vicente Canales <vicente.canales@automattic.com>
Takashi Irie 2 лет назад
Родитель
Сommit
05b60efd74
4 измененных файлов с 12 добавлено и 15 удалено
  1. 4 7
      kigen/patterns/footer-2.php
  2. 4 7
      kigen/patterns/footer.php
  3. 3 0
      kigen/readme.txt
  4. 1 1
      kigen/style.css

+ 4 - 7
kigen/patterns/footer-2.php

@@ -8,14 +8,11 @@
 ?>
 
 <!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}},"fontSize":"x-small"} -->
-<p class="has-x-small-font-size" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
-<?php
-	$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'lineup' ) ) . '" rel="nofollow">WordPress</a>';
+<p class="has-x-small-font-size" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><?php
+	$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'kigen' ) ) . '" rel="nofollow">WordPress</a>';
 	echo sprintf(
 		/* Translators: WordPress link. */
-		esc_html__( 'Designed with %1$s', 'lineup' ),
+		esc_html__( 'Designed with %1$s', 'kigen' ),
 		$wordpress_link
-	);
-	?>
-	</p>
+	);?></p>
 <!-- /wp:paragraph -->

+ 4 - 7
kigen/patterns/footer.php

@@ -14,16 +14,13 @@
 		<!-- wp:navigation {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"fontSize":"x-small"} /-->
 
 		<!-- wp:paragraph {"align":"right","className":"has-x-small-font-size","fontSize":"x-small"} -->
-		<p class="has-text-align-right has-x-small-font-size">
-		<?php
-			$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'lineup' ) ) . '" rel="nofollow">WordPress</a>';
+		<p class="has-text-align-right has-x-small-font-size"><?php
+			$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'kigen' ) ) . '" rel="nofollow">WordPress</a>';
 			echo sprintf(
 				/* Translators: WordPress link. */
-				esc_html__( 'Designed with %1$s', 'lineup' ),
+				esc_html__( 'Designed with %1$s', 'kigen' ),
 				$wordpress_link
-			);
-			?>
-			</p>
+			);?></p>
 		<!-- /wp:paragraph -->
 	</div>
 	<!-- /wp:group -->

+ 3 - 0
kigen/readme.txt

@@ -12,6 +12,9 @@ Kigen is a simple portfolio theme
 
 == Changelog ==
 
+= 1.0.1 =
+* Kigen: Fix text domain in the footers
+
 = 1.0 =
 * Initial release
 

+ 1 - 1
kigen/style.css

@@ -7,7 +7,7 @@ Description: Kigen is a simple portfolio theme
 Requires at least: 5.8
 Tested up to: 6.1.1
 Requires PHP: 5.7
-Version: 1.0.0
+Version: 1.0.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Template: