| 1 |
<?php |
| 2 |
// Do not edit this file. It's generated by jetpack/tools/build-module-headings-translations.php |
| 3 |
|
| 4 |
/** |
| 5 |
* For a given module, return an array with translated name, description and recommended description. |
| 6 |
* |
| 7 |
* @param string $key Module file name without .php |
| 8 |
* |
| 9 |
* @return array |
| 10 |
*/ |
| 11 |
function jetpack_get_module_i18n( $key ) { |
| 12 |
static $modules; |
| 13 |
if ( ! isset( $modules ) ) { |
| 14 |
$modules = array( |
| 15 |
'after-the-deadline' => array( |
| 16 |
'name' => _x( 'Spelling and Grammar', 'Module Name', 'jetpack' ), |
| 17 |
'description' => _x( 'Check your spelling, style, and grammar', 'Module Description', 'jetpack' ), |
| 18 |
), |
| 19 |
|
| 20 |
'carousel' => array( |
| 21 |
'name' => _x( 'Carousel', 'Module Name', 'jetpack' ), |
| 22 |
'description' => _x( 'Display images and galleries in a gorgeous, full-screen browsing experience', 'Module Description', 'jetpack' ), |
| 23 |
'recommended description' => _x( 'Brings your photos and images to life as full-size, easily navigable galleries.', 'Jumpstart Description', 'jetpack' ), |
| 24 |
), |
| 25 |
|
| 26 |
'comment-likes' => array( |
| 27 |
'name' => _x( 'Comment Likes', 'Module Name', 'jetpack' ), |
| 28 |
'description' => _x( 'Increase visitor engagement by adding a Like button to comments.', 'Module Description', 'jetpack' ), |
| 29 |
), |
| 30 |
|
| 31 |
'comments' => array( |
| 32 |
'name' => _x( 'Comments', 'Module Name', 'jetpack' ), |
| 33 |
'description' => _x( 'Let readers use WordPress.com, Twitter, Facebook, or Google+ accounts to comment', 'Module Description', 'jetpack' ), |
| 34 |
), |
| 35 |
|
| 36 |
'contact-form' => array( |
| 37 |
'name' => _x( 'Contact Form', 'Module Name', 'jetpack' ), |
| 38 |
'description' => _x( 'Insert a customizable contact form anywhere on your site.', 'Module Description', 'jetpack' ), |
| 39 |
'recommended description' => _x( 'Adds a button to your post and page editors, allowing you to build simple forms to help visitors stay in touch.', 'Jumpstart Description', 'jetpack' ), |
| 40 |
), |
| 41 |
|
| 42 |
'custom-content-types' => array( |
| 43 |
'name' => _x( 'Custom content types', 'Module Name', 'jetpack' ), |
| 44 |
'description' => _x( 'Display different types of content on your site with custom content types.', 'Module Description', 'jetpack' ), |
| 45 |
), |
| 46 |
|
| 47 |
'custom-css' => array( |
| 48 |
'name' => _x( 'Custom CSS', 'Module Name', 'jetpack' ), |
| 49 |
'description' => _x( 'Tweak your site’s CSS without modifying your theme.', 'Module Description', 'jetpack' ), |
| 50 |
), |
| 51 |
|
| 52 |
'enhanced-distribution' => array( |
| 53 |
'name' => _x( 'Enhanced Distribution', 'Module Name', 'jetpack' ), |
| 54 |
'description' => _x( 'Increase reach and traffic.', 'Module Description', 'jetpack' ), |
| 55 |
), |
| 56 |
|
| 57 |
'google-analytics' => array( |
| 58 |
'name' => _x( 'Google Analytics', 'Module Name', 'jetpack' ), |
| 59 |
'description' => _x( 'Set up Google Analytics without touching a line of code.', 'Module Description', 'jetpack' ), |
| 60 |
), |
| 61 |
|
| 62 |
'gravatar-hovercards' => array( |
| 63 |
'name' => _x( 'Gravatar Hovercards', 'Module Name', 'jetpack' ), |
| 64 |
'description' => _x( 'Enable pop-up business cards over commenters’ Gravatars.', 'Module Description', 'jetpack' ), |
| 65 |
'recommended description' => _x( 'Let commenters link their profiles to their Gravatar accounts, making it easy for your visitors to learn more about your community.', 'Jumpstart Description', 'jetpack' ), |
| 66 |
), |
| 67 |
|
| 68 |
'infinite-scroll' => array( |
| 69 |
'name' => _x( 'Infinite Scroll', 'Module Name', 'jetpack' ), |
| 70 |
'description' => _x( 'Automatically load new content when a visitor scrolls', 'Module Description', 'jetpack' ), |
| 71 |
), |
| 72 |
|
| 73 |
'json-api' => array( |
| 74 |
'name' => _x( 'JSON API', 'Module Name', 'jetpack' ), |
| 75 |
'description' => _x( 'Allow applications to securely access your content.', 'Module Description', 'jetpack' ), |
| 76 |
), |
| 77 |
|
| 78 |
'latex' => array( |
| 79 |
'name' => _x( 'Beautiful Math', 'Module Name', 'jetpack' ), |
| 80 |
'description' => _x( 'Use LaTeX markup for complex equations and other geekery.', 'Module Description', 'jetpack' ), |
| 81 |
), |
| 82 |
|
| 83 |
'lazy-images' => array( |
| 84 |
'name' => _x( 'Lazy Images', 'Module Name', 'jetpack' ), |
| 85 |
'description' => _x( 'Lazy load images', 'Module Description', 'jetpack' ), |
| 86 |
'recommended description' => _x( 'Lazy-loading images improve your site\'s speed and create a smoother viewing experience. Images will load as visitors scroll down the screen, instead of all at once.', 'Jumpstart Description', 'jetpack' ), |
| 87 |
), |
| 88 |
|
| 89 |
'likes' => array( |
| 90 |
'name' => _x( 'Likes', 'Module Name', 'jetpack' ), |
| 91 |
'description' => _x( 'Give visitors an easy way to show they appreciate your content.', 'Module Description', 'jetpack' ), |
| 92 |
), |
| 93 |
|
| 94 |
'manage' => array( |
| 95 |
'name' => _x( 'Manage', 'Module Name', 'jetpack' ), |
| 96 |
'description' => _x( 'Manage all of your sites from a centralized dashboard.', 'Module Description', 'jetpack' ), |
| 97 |
'recommended description' => _x( 'Helps you remotely manage plugins, turn on automated updates, and more from <a href="https://wordpress.com/plugins/" target="_blank">wordpress.com</a>.', 'Jumpstart Description', 'jetpack' ), |
| 98 |
), |
| 99 |
|
| 100 |
'markdown' => array( |
| 101 |
'name' => _x( 'Markdown', 'Module Name', 'jetpack' ), |
| 102 |
'description' => _x( 'Write posts or pages in plain-text Markdown syntax', 'Module Description', 'jetpack' ), |
| 103 |
), |
| 104 |
|
| 105 |
'masterbar' => array( |
| 106 |
'name' => _x( 'WordPress.com Toolbar', 'Module Name', 'jetpack' ), |
| 107 |
'description' => _x( 'Replaces the admin bar with a useful toolbar to quickly manage your site via WordPress.com.', 'Module Description', 'jetpack' ), |
| 108 |
), |
| 109 |
|
| 110 |
'minileven' => array( |
| 111 |
'name' => _x( 'Mobile Theme', 'Module Name', 'jetpack' ), |
| 112 |
'description' => _x( 'Enable the Jetpack Mobile theme', 'Module Description', 'jetpack' ), |
| 113 |
), |
| 114 |
|
| 115 |
'monitor' => array( |
| 116 |
'name' => _x( 'Monitor', 'Module Name', 'jetpack' ), |
| 117 |
'description' => _x( 'Receive immediate notifications if your site goes down, 24/7.', 'Module Description', 'jetpack' ), |
| 118 |
'recommended description' => _x( 'Receive immediate notifications if your site goes down, 24/7.', 'Jumpstart Description', 'jetpack' ), |
| 119 |
), |
| 120 |
|
| 121 |
'notes' => array( |
| 122 |
'name' => _x( 'Notifications', 'Module Name', 'jetpack' ), |
| 123 |
'description' => _x( 'Receive instant notifications of site comments and likes.', 'Module Description', 'jetpack' ), |
| 124 |
), |
| 125 |
|
| 126 |
'photon-cdn' => array( |
| 127 |
'name' => _x( 'Asset CDN', 'Module Name', 'jetpack' ), |
| 128 |
'description' => _x( 'Serve static assets from our servers', 'Module Description', 'jetpack' ), |
| 129 |
), |
| 130 |
|
| 131 |
'photon' => array( |
| 132 |
'name' => _x( 'Photon', 'Module Name', 'jetpack' ), |
| 133 |
'description' => _x( 'Serve images from our servers', 'Module Description', 'jetpack' ), |
| 134 |
'recommended description' => _x( 'Mirrors and serves your images from our free and fast image CDN, improving your site’s performance with no additional load on your servers.', 'Jumpstart Description', 'jetpack' ), |
| 135 |
), |
| 136 |
|
| 137 |
'post-by-email' => array( |
| 138 |
'name' => _x( 'Post by email', 'Module Name', 'jetpack' ), |
| 139 |
'description' => _x( 'Publish posts by sending an email', 'Module Description', 'jetpack' ), |
| 140 |
), |
| 141 |
|
| 142 |
'protect' => array( |
| 143 |
'name' => _x( 'Protect', 'Module Name', 'jetpack' ), |
| 144 |
'description' => _x( 'Block suspicious-looking sign in activity', 'Module Description', 'jetpack' ), |
| 145 |
), |
| 146 |
|
| 147 |
'publicize' => array( |
| 148 |
'name' => _x( 'Publicize', 'Module Name', 'jetpack' ), |
| 149 |
'description' => _x( 'Automated social marketing.', 'Module Description', 'jetpack' ), |
| 150 |
), |
| 151 |
|
| 152 |
'pwa' => array( |
| 153 |
'name' => _x( 'Progressive Web Apps', 'Module Name', 'jetpack' ), |
| 154 |
'description' => _x( 'Speed up and improve the reliability of your site using the latest in web technology.', 'Module Description', 'jetpack' ), |
| 155 |
), |
| 156 |
|
| 157 |
'related-posts' => array( |
| 158 |
'name' => _x( 'Related posts', 'Module Name', 'jetpack' ), |
| 159 |
'description' => _x( 'Increase page views by showing related content to your visitors.', 'Module Description', 'jetpack' ), |
| 160 |
'recommended description' => _x( 'Keep visitors engaged on your blog by highlighting relevant and new content at the bottom of each published post.', 'Jumpstart Description', 'jetpack' ), |
| 161 |
), |
| 162 |
|
| 163 |
'search' => array( |
| 164 |
'name' => _x( 'Search', 'Module Name', 'jetpack' ), |
| 165 |
'description' => _x( 'Enhanced search, powered by Elasticsearch', 'Module Description', 'jetpack' ), |
| 166 |
), |
| 167 |
|
| 168 |
'seo-tools' => array( |
| 169 |
'name' => _x( 'SEO Tools', 'Module Name', 'jetpack' ), |
| 170 |
'description' => _x( 'Better results on search engines and social media.', 'Module Description', 'jetpack' ), |
| 171 |
), |
| 172 |
|
| 173 |
'sharedaddy' => array( |
| 174 |
'name' => _x( 'Sharing', 'Module Name', 'jetpack' ), |
| 175 |
'description' => _x( 'Allow visitors to share your content.', 'Module Description', 'jetpack' ), |
| 176 |
'recommended description' => _x( 'Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.', 'Jumpstart Description', 'jetpack' ), |
| 177 |
), |
| 178 |
|
| 179 |
'shortcodes' => array( |
| 180 |
'name' => _x( 'Shortcode Embeds', 'Module Name', 'jetpack' ), |
| 181 |
'description' => _x( 'Embed media from popular sites without any coding.', 'Module Description', 'jetpack' ), |
| 182 |
), |
| 183 |
|
| 184 |
'shortlinks' => array( |
| 185 |
'name' => _x( 'WP.me Shortlinks', 'Module Name', 'jetpack' ), |
| 186 |
'description' => _x( 'Create short and simple links for all posts and pages.', 'Module Description', 'jetpack' ), |
| 187 |
), |
| 188 |
|
| 189 |
'sitemaps' => array( |
| 190 |
'name' => _x( 'Sitemaps', 'Module Name', 'jetpack' ), |
| 191 |
'description' => _x( 'Make it easy for search engines to find your site.', 'Module Description', 'jetpack' ), |
| 192 |
), |
| 193 |
|
| 194 |
'sso' => array( |
| 195 |
'name' => _x( 'Secure Sign On', 'Module Name', 'jetpack' ), |
| 196 |
'description' => _x( 'Allow users to log into this site using WordPress.com accounts', 'Module Description', 'jetpack' ), |
| 197 |
'recommended description' => _x( 'Lets you log in to all your Jetpack-enabled sites with one click using your WordPress.com account.', 'Jumpstart Description', 'jetpack' ), |
| 198 |
), |
| 199 |
|
| 200 |
'stats' => array( |
| 201 |
'name' => _x( 'Site Stats', 'Module Name', 'jetpack' ), |
| 202 |
'description' => _x( 'Collect valuable traffic stats and insights.', 'Module Description', 'jetpack' ), |
| 203 |
), |
| 204 |
|
| 205 |
'subscriptions' => array( |
| 206 |
'name' => _x( 'Subscriptions', 'Module Name', 'jetpack' ), |
| 207 |
'description' => _x( 'Allow users to subscribe to your posts and comments and receive notifications via email', 'Module Description', 'jetpack' ), |
| 208 |
'recommended description' => _x( 'Give visitors two easy subscription options — while commenting, or via a separate email subscription widget you can display.', 'Jumpstart Description', 'jetpack' ), |
| 209 |
), |
| 210 |
|
| 211 |
'tiled-gallery' => array( |
| 212 |
'name' => _x( 'Tiled Galleries', 'Module Name', 'jetpack' ), |
| 213 |
'description' => _x( 'Display image galleries in a variety of elegant arrangements.', 'Module Description', 'jetpack' ), |
| 214 |
'recommended description' => _x( 'Display image galleries in a variety of elegant arrangements.', 'Jumpstart Description', 'jetpack' ), |
| 215 |
), |
| 216 |
|
| 217 |
'vaultpress' => array( |
| 218 |
'name' => _x( 'Data Backups', 'Module Name', 'jetpack' ), |
| 219 |
'description' => _x( 'Off-site backups, security scans, and automatic fixes.', 'Module Description', 'jetpack' ), |
| 220 |
), |
| 221 |
|
| 222 |
'verification-tools' => array( |
| 223 |
'name' => _x( 'Site verification', 'Module Name', 'jetpack' ), |
| 224 |
'description' => _x( 'Establish your site\'s authenticity with external services.', 'Module Description', 'jetpack' ), |
| 225 |
), |
| 226 |
|
| 227 |
'videopress' => array( |
| 228 |
'name' => _x( 'VideoPress', 'Module Name', 'jetpack' ), |
| 229 |
'description' => _x( 'Fast, ad-free video hosting', 'Module Description', 'jetpack' ), |
| 230 |
), |
| 231 |
|
| 232 |
'widget-visibility' => array( |
| 233 |
'name' => _x( 'Widget Visibility', 'Module Name', 'jetpack' ), |
| 234 |
'description' => _x( 'Control where widgets appear on your site.', 'Module Description', 'jetpack' ), |
| 235 |
), |
| 236 |
|
| 237 |
'widgets' => array( |
| 238 |
'name' => _x( 'Extra Sidebar Widgets', 'Module Name', 'jetpack' ), |
| 239 |
'description' => _x( 'Add images, Twitter streams, and more to your sidebar.', 'Module Description', 'jetpack' ), |
| 240 |
), |
| 241 |
|
| 242 |
'wordads' => array( |
| 243 |
'name' => _x( 'Ads', 'Module Name', 'jetpack' ), |
| 244 |
'description' => _x( 'Earn income by allowing Jetpack to display high quality ads.', 'Module Description', 'jetpack' ), |
| 245 |
), |
| 246 |
); |
| 247 |
} |
| 248 |
return $modules[ $key ]; |
| 249 |
} |
| 250 |
/** |
| 251 |
* For a given module tag, return its translated version. |
| 252 |
* |
| 253 |
* @param string $key Module tag as is in each module heading. |
| 254 |
* |
| 255 |
* @return string |
| 256 |
*/ |
| 257 |
function jetpack_get_module_i18n_tag( $key ) { |
| 258 |
static $module_tags; |
| 259 |
if ( ! isset( $module_tags ) ) { |
| 260 |
$module_tags = array( |
| 261 |
// Modules with `Other` tag: |
| 262 |
// - modules/contact-form.php |
| 263 |
// - modules/notes.php |
| 264 |
'Other' =>_x( 'Other', 'Module Tag', 'jetpack' ), |
| 265 |
|
| 266 |
// Modules with `Writing` tag: |
| 267 |
// - modules/after-the-deadline.php |
| 268 |
// - modules/custom-content-types.php |
| 269 |
// - modules/enhanced-distribution.php |
| 270 |
// - modules/json-api.php |
| 271 |
// - modules/latex.php |
| 272 |
// - modules/markdown.php |
| 273 |
// - modules/post-by-email.php |
| 274 |
// - modules/shortcodes.php |
| 275 |
'Writing' =>_x( 'Writing', 'Module Tag', 'jetpack' ), |
| 276 |
|
| 277 |
// Modules with `Photos and Videos` tag: |
| 278 |
// - modules/carousel.php |
| 279 |
// - modules/photon-cdn.php |
| 280 |
// - modules/photon.php |
| 281 |
// - modules/shortcodes.php |
| 282 |
// - modules/tiled-gallery.php |
| 283 |
// - modules/videopress.php |
| 284 |
'Photos and Videos' =>_x( 'Photos and Videos', 'Module Tag', 'jetpack' ), |
| 285 |
|
| 286 |
// Modules with `Social` tag: |
| 287 |
// - modules/comment-likes.php |
| 288 |
// - modules/comments.php |
| 289 |
// - modules/gravatar-hovercards.php |
| 290 |
// - modules/likes.php |
| 291 |
// - modules/publicize.php |
| 292 |
// - modules/seo-tools.php |
| 293 |
// - modules/sharedaddy.php |
| 294 |
// - modules/shortcodes.php |
| 295 |
// - modules/shortlinks.php |
| 296 |
// - modules/subscriptions.php |
| 297 |
// - modules/widgets.php |
| 298 |
'Social' =>_x( 'Social', 'Module Tag', 'jetpack' ), |
| 299 |
|
| 300 |
// Modules with `Appearance` tag: |
| 301 |
// - modules/custom-css.php |
| 302 |
// - modules/gravatar-hovercards.php |
| 303 |
// - modules/infinite-scroll.php |
| 304 |
// - modules/lazy-images.php |
| 305 |
// - modules/minileven.php |
| 306 |
// - modules/photon-cdn.php |
| 307 |
// - modules/photon.php |
| 308 |
// - modules/seo-tools.php |
| 309 |
// - modules/shortcodes.php |
| 310 |
// - modules/widget-visibility.php |
| 311 |
// - modules/widgets.php |
| 312 |
// - modules/wordads.php |
| 313 |
'Appearance' =>_x( 'Appearance', 'Module Tag', 'jetpack' ), |
| 314 |
|
| 315 |
// Modules with `Developers` tag: |
| 316 |
// - modules/json-api.php |
| 317 |
// - modules/pwa.php |
| 318 |
// - modules/sso.php |
| 319 |
'Developers' =>_x( 'Developers', 'Module Tag', 'jetpack' ), |
| 320 |
|
| 321 |
// Modules with `Recommended` tag: |
| 322 |
// - modules/lazy-images.php |
| 323 |
// - modules/manage.php |
| 324 |
// - modules/minileven.php |
| 325 |
// - modules/monitor.php |
| 326 |
// - modules/photon-cdn.php |
| 327 |
// - modules/photon.php |
| 328 |
// - modules/protect.php |
| 329 |
// - modules/publicize.php |
| 330 |
// - modules/related-posts.php |
| 331 |
// - modules/sharedaddy.php |
| 332 |
// - modules/sitemaps.php |
| 333 |
// - modules/stats.php |
| 334 |
'Recommended' =>_x( 'Recommended', 'Module Tag', 'jetpack' ), |
| 335 |
|
| 336 |
// Modules with `Centralized Management` tag: |
| 337 |
// - modules/manage.php |
| 338 |
'Centralized Management' =>_x( 'Centralized Management', 'Module Tag', 'jetpack' ), |
| 339 |
|
| 340 |
// Modules with `General` tag: |
| 341 |
// - modules/masterbar.php |
| 342 |
'General' =>_x( 'General', 'Module Tag', 'jetpack' ), |
| 343 |
|
| 344 |
// Modules with `Mobile` tag: |
| 345 |
// - modules/minileven.php |
| 346 |
'Mobile' =>_x( 'Mobile', 'Module Tag', 'jetpack' ), |
| 347 |
|
| 348 |
// Modules with `Traffic` tag: |
| 349 |
// - modules/sitemaps.php |
| 350 |
// - modules/wordads.php |
| 351 |
'Traffic' =>_x( 'Traffic', 'Module Tag', 'jetpack' ), |
| 352 |
|
| 353 |
// Modules with `Site Stats` tag: |
| 354 |
// - modules/stats.php |
| 355 |
'Site Stats' =>_x( 'Site Stats', 'Module Tag', 'jetpack' ), |
| 356 |
); |
| 357 |
} |
| 358 |
return $module_tags[ $key ]; |
| 359 |
} |
| 360 |
|