Skip to content

Commit

Permalink
Add Jetpack textdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestephanis committed Jan 23, 2014
1 parent 470fb21 commit 7b63b6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions modules/custom-post-types/nova.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,9 +634,9 @@ function show_menu_titles_in_menu_item_list( $post ) {
?></h3>
</td>
<td>
<a class="nova-move-menu-up" title="<?php esc_attr_e( 'Move menu section up' ); ?>" href="<?php echo esc_url( $up_url ); ?>"><?php esc_html_e( 'UP' ); ?></a>
<a class="nova-move-menu-up" title="<?php esc_attr_e( 'Move menu section up', 'jetpack' ); ?>" href="<?php echo esc_url( $up_url ); ?>"><?php esc_html_e( 'UP', 'jetpack' ); ?></a>
<br />
<a class="nova-move-menu-down" title="<?php esc_attr_e( 'Move menu section down' ); ?>" href="<?php echo esc_url( $down_url ); ?>"><?php esc_html_e( 'DOWN' ); ?></a>
<a class="nova-move-menu-down" title="<?php esc_attr_e( 'Move menu section down', 'jetpack' ); ?>" href="<?php echo esc_url( $down_url ); ?>"><?php esc_html_e( 'DOWN', 'jetpack' ); ?></a>
</td>
</tr>
<?php
Expand Down Expand Up @@ -1019,4 +1019,4 @@ function menu_item_loop_class( $class ) {
}
}

add_action( 'init', array( 'Nova_Restaurant', 'init' ) );
add_action( 'init', array( 'Nova_Restaurant', 'init' ) );
14 changes: 7 additions & 7 deletions modules/markdown/easy-markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ public function maybe_remove_kses() {
* @return null
*/
public function register_setting() {
add_settings_field( self::POST_OPTION, __( 'Markdown' ), array( $this, 'post_field' ), 'writing' );
add_settings_field( self::POST_OPTION, __( 'Markdown', 'jetpack' ), array( $this, 'post_field' ), 'writing' );
register_setting( 'writing', self::POST_OPTION, array( $this, 'sanitize_setting') );
add_settings_field( self::COMMENT_OPTION, __( 'Markdown' ), array( $this, 'comment_field' ), 'discussion' );
add_settings_field( self::COMMENT_OPTION, __( 'Markdown', 'jetpack' ), array( $this, 'comment_field' ), 'discussion' );
register_setting( 'discussion', self::COMMENT_OPTION, array( $this, 'sanitize_setting') );
}

Expand All @@ -234,8 +234,8 @@ public function post_field() {
self::POST_OPTION,
self::POST_OPTION,
checked( $this->is_posting_enabled(), true, false ),
esc_html__( 'Use Markdown for posts and pages.' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.' ) )
esc_html__( 'Use Markdown for posts and pages.', 'jetpack' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack' ) )
);
}

Expand All @@ -249,8 +249,8 @@ public function comment_field() {
self::COMMENT_OPTION,
self::COMMENT_OPTION,
checked( $this->is_commenting_enabled(), true, false ),
esc_html__( 'Use Markdown for comments.' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.' ) )
esc_html__( 'Use Markdown for comments.', 'jetpack' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack' ) )
);
}

Expand Down Expand Up @@ -504,7 +504,7 @@ public function transform( $text, $args = array() ) {
* @return array Modified array to include post_content_filtered
*/
public function _wp_post_revision_fields( $fields ) {
$fields['post_content_filtered'] = __( 'Markdown content' );
$fields['post_content_filtered'] = __( 'Markdown content', 'jetpack' );
return $fields;
}

Expand Down

0 comments on commit 7b63b6b

Please sign in to comment.