module-headings.php 15 KB

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