Skip to content

Commit

Permalink
Restores module headings file since it's generated by a script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Iloro committed Apr 3, 2019
1 parent 8c8e441 commit 31658cd
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions modules/module-headings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ),
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 31658cd

Please sign in to comment.