summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/module-headings.php')
-rw-r--r--plugins/jetpack/modules/module-headings.php56
1 files changed, 28 insertions, 28 deletions
diff --git a/plugins/jetpack/modules/module-headings.php b/plugins/jetpack/modules/module-headings.php
index 6dc2e8ae..1c94f0e5 100644
--- a/plugins/jetpack/modules/module-headings.php
+++ b/plugins/jetpack/modules/module-headings.php
@@ -1,16 +1,16 @@
-<?php
-// Do not edit this file. It's generated by jetpack/tools/build-module-headings-translations.php
-
-/**
- * For a given module, return an array with translated name, description and recommended description.
- *
- * @param string $key Module file name without .php
- *
- * @return array
- */
-function jetpack_get_module_i18n( $key ) {
- static $modules;
- if ( ! isset( $modules ) ) {
+<?php
+// Do not edit this file. It's generated by jetpack/tools/build-module-headings-translations.php
+
+/**
+ * For a given module, return an array with translated name, description and recommended description.
+ *
+ * @param string $key Module file name without .php
+ *
+ * @return array
+ */
+function jetpack_get_module_i18n( $key ) {
+ static $modules;
+ if ( ! isset( $modules ) ) {
$modules = array(
'after-the-deadline' => array(
'name' => _x( 'Spelling and Grammar', 'Module Name', 'jetpack' ),
@@ -136,7 +136,7 @@ function jetpack_get_module_i18n( $key ) {
'sharedaddy' => array(
'name' => _x( 'Sharing', 'Module Name', 'jetpack' ),
'description' => _x( 'Visitors can share your content.', 'Module Description', 'jetpack' ),
- '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' ),
+ 'recommended description' => _x( 'Places Twitter, Facebook and Google+ buttons at the bottom of each post, making it easy for visitors to share your content.', 'Jumpstart Description', 'jetpack' ),
),
'shortcodes' => array(
@@ -205,19 +205,19 @@ function jetpack_get_module_i18n( $key ) {
'name' => _x( 'Extra Sidebar Widgets', 'Module Name', 'jetpack' ),
'description' => _x( 'Add images, Twitter streams, your site’s RSS links, and more to your sidebar.', 'Module Description', 'jetpack' ),
),
- );
+ );
}
- return $modules[ $key ];
-}
-/**
- * For a given module tag, return its translated version.
- *
- * @param string $key Module tag as is in each module heading.
- *
- * @return string
+ return $modules[ $key ];
+}
+/**
+ * For a given module tag, return its translated version.
+ *
+ * @param string $key Module tag as is in each module heading.
+ *
+ * @return string
*/
-function jetpack_get_module_i18n_tag( $key ) {
- static $module_tags;
+function jetpack_get_module_i18n_tag( $key ) {
+ static $module_tags;
if ( ! isset( $module_tags ) ) {
$module_tags = array(
// Modules with `Other` tag:
@@ -302,7 +302,7 @@ function jetpack_get_module_i18n_tag( $key ) {
// Modules with `Site Stats` tag:
// - modules/stats.php
'Site Stats' =>_x( 'Site Stats', 'Module Tag', 'jetpack' ),
- );
+ );
}
- return $module_tags[ $key ];
-} \ No newline at end of file
+ return $module_tags[ $key ];
+}