← All changes
|
includes/abilities/settings/class-settings-key-map.php
+8
-1
2.10.0
→
2.14.0
View file →
| @@ -90,8 +90,15 @@ | ||
| 90 | 90 | // without stripping their tokens. |
| 91 | 91 | 'title_template' => self::string( __( 'Named title layout, e.g. "default", "reverse", "category".', 'thinkrank' ) ), |
| 92 | 92 | 'title_separator' => self::string( __( 'Separator between title parts, e.g. "pipe", "dash".', 'thinkrank' ) ), |
| 93 | 93 | 'homepage_title' => self::template( __( 'the homepage', 'thinkrank' ), '' ), |
| 94 | + 'homepage_description' => self::string( | |
| 95 | + sprintf( | |
| 96 | + /* translators: %s: the list of available variable tags. */ | |
| 97 | + __( 'Meta description for the homepage when it lists the latest posts. Available tags: %s. A static front page uses its own page description instead.', 'thinkrank' ), | |
| 98 | + '%site_title%, %site_name%, %site_description%, %tagline%, %sep%' | |
| 99 | + ) | |
| 100 | + ), | |
| 94 | 101 | 'category_title' => self::template( __( 'category archives', 'thinkrank' ), '%category_title%, %category%' ), |
| 95 | 102 | 'tag_title' => self::template( __( 'tag archives', 'thinkrank' ), '%tag_title%' ), |
| 96 | 103 | 'author_title' => self::template( __( 'author archives', 'thinkrank' ), '%author_name%' ), |
| 97 | 104 | 'search_title' => self::template( __( 'search results pages', 'thinkrank' ), '%search_term%' ), |
| @@ -443,9 +450,9 @@ | ||
| 443 | 450 | $properties[ $agent['slug'] ] = [ |
| 444 | 451 | 'type' => 'string', |
| 445 | 452 | 'enum' => [ 'allow', 'block' ], |
| 446 | 453 | /* translators: 1: crawler user-agent token, e.g. GPTBot. 2: what that crawler is for. */ |
| 447 | - 'description' => sprintf( __( '%1$s — %2$s', 'thinkrank' ), $agent['token'], $agent['purpose'] ), | |
| 454 | + 'description' => sprintf( __( '%1$s: %2$s', 'thinkrank' ), $agent['token'], $agent['purpose'] ), | |
| 448 | 455 | ]; |
| 449 | 456 | } |
| 450 | 457 | |
| 451 | 458 | return [ |