From 31658cda203acfcc56533d35672f9902c915c8e6 Mon Sep 17 00:00:00 2001 From: Rodrigo Iloro Date: Wed, 3 Apr 2019 00:07:43 -0300 Subject: [PATCH] Restores module headings file since it's generated by a script. --- modules/module-headings.php | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/modules/module-headings.php b/modules/module-headings.php index 2cefd77dfd067..245f79eb51a83 100644 --- a/modules/module-headings.php +++ b/modules/module-headings.php @@ -12,6 +12,11 @@ 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' ), + 'description' => _x( 'Check your spelling, style, and grammar', 'Module Description', 'jetpack' ), + ), + 'carousel' => array( 'name' => _x( 'Carousel', 'Module Name', 'jetpack' ), 'description' => _x( 'Display images and galleries in a gorgeous, full-screen browsing experience', 'Module Description', 'jetpack' ), @@ -257,6 +262,18 @@ function jetpack_get_module_i18n_tag( $key ) { // - modules/notes.php 'Other' =>_x( 'Other', 'Module Tag', 'jetpack' ), + // Modules with `Writing` tag: + // - modules/after-the-deadline.php + // - modules/copy-post.php + // - modules/custom-content-types.php + // - modules/enhanced-distribution.php + // - modules/json-api.php + // - modules/latex.php + // - modules/markdown.php + // - modules/post-by-email.php + // - modules/shortcodes.php + 'Writing' =>_x( 'Writing', 'Module Tag', 'jetpack' ), + // Modules with `Photos and Videos` tag: // - modules/carousel.php // - modules/photon-cdn.php @@ -280,17 +297,6 @@ function jetpack_get_module_i18n_tag( $key ) { // - modules/widgets.php 'Social' =>_x( 'Social', 'Module Tag', 'jetpack' ), - // Modules with `Writing` tag: - // - modules/copy-post.php - // - modules/custom-content-types.php - // - modules/enhanced-distribution.php - // - modules/json-api.php - // - modules/latex.php - // - modules/markdown.php - // - modules/post-by-email.php - // - modules/shortcodes.php - 'Writing' =>_x( 'Writing', 'Module Tag', 'jetpack' ), - // Modules with `Appearance` tag: // - modules/custom-css.php // - modules/gravatar-hovercards.php