Changeset 45932 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r45926 r45932 2730 2730 $response = array( 2731 2731 'setting_validities' => $setting_validities, 2732 /* translators: %s: number of invalid settings*/2732 /* translators: %s: Number of invalid settings. */ 2733 2733 'message' => sprintf( _n( 'Unable to save due to %s invalid setting.', 'Unable to save due to %s invalid settings.', $invalid_setting_count ), number_format_i18n( $invalid_setting_count ) ), 2734 2734 ); … … 3822 3822 if ( in_array( $id, $this->components, true ) ) { 3823 3823 $message = sprintf( 3824 /* translators: 1: panel id, 2: link to 'customize_loaded_components' filter reference*/3824 /* translators: 1: Panel ID, 2: Link to 'customize_loaded_components' filter reference. */ 3825 3825 __( 'Removing %1$s manually will cause PHP warnings. Use the %2$s filter instead.' ), 3826 3826 $id, … … 4468 4468 public function get_document_title_template() { 4469 4469 if ( $this->is_theme_active() ) { 4470 /* translators: %s: document title from the preview*/4470 /* translators: %s: Document title from the preview. */ 4471 4471 $document_title_tmpl = __( 'Customize: %s' ); 4472 4472 } else { 4473 /* translators: %s: document title from the preview*/4473 /* translators: %s: Document title from the preview. */ 4474 4474 $document_title_tmpl = __( 'Live Preview: %s' ); 4475 4475 } … … 4810 4810 'l10n' => array( 4811 4811 'confirmDeleteTheme' => __( 'Are you sure you want to delete this theme?' ), 4812 /* translators: %d: number of theme search results, which cannot currently consider singular vs. plural forms*/4812 /* translators: %d: Number of theme search results, which cannot currently consider singular vs. plural forms. */ 4813 4813 'themeSearchResults' => __( '%d themes found' ), 4814 /* translators: %d: number of themes being displayed, which cannot currently consider singular vs. plural forms*/4814 /* translators: %d: Number of themes being displayed, which cannot currently consider singular vs. plural forms. */ 4815 4815 'announceThemeCount' => __( 'Displaying %d themes' ), 4816 /* translators: %s: theme name*/4816 /* translators: %s: Theme name. */ 4817 4817 'announceThemeDetails' => __( 'Showing details for theme: %s' ), 4818 4818 ), … … 5070 5070 'description' => sprintf( 5071 5071 '<p>' . __( 'Site Icons are what you see in browser tabs, bookmark bars, and within the WordPress mobile apps. Upload one here!' ) . '</p>' . 5072 /* translators: %s: site icon size in pixels*/5072 /* translators: %s: Site icon size in pixels. */ 5073 5073 '<p>' . __( 'Site Icons should be square and at least %s pixels.' ) . '</p>', 5074 5074 '<strong>512 × 512</strong>' … … 5205 5205 if ( $width && $height ) { 5206 5206 $control_description = sprintf( 5207 /* translators: 1: .mp4, 2: header size in pixels*/5207 /* translators: 1: .mp4, 2: Header size in pixels. */ 5208 5208 __( 'Upload your video in %1$s format and minimize its file size for best results. Your theme recommends dimensions of %2$s pixels.' ), 5209 5209 '<code>.mp4</code>', … … 5212 5212 } elseif ( $width ) { 5213 5213 $control_description = sprintf( 5214 /* translators: 1: .mp4, 2: header width in pixels*/5214 /* translators: 1: .mp4, 2: Header width in pixels. */ 5215 5215 __( 'Upload your video in %1$s format and minimize its file size for best results. Your theme recommends a width of %2$s pixels.' ), 5216 5216 '<code>.mp4</code>', … … 5219 5219 } else { 5220 5220 $control_description = sprintf( 5221 /* translators: 1: .mp4, 2: header height in pixels*/5221 /* translators: 1: .mp4, 2: Header height in pixels. */ 5222 5222 __( 'Upload your video in %1$s format and minimize its file size for best results. Your theme recommends a height of %2$s pixels.' ), 5223 5223 '<code>.mp4</code>', … … 5569 5569 esc_url( __( 'https://codex.wordpress.org/CSS' ) ), 5570 5570 __( 'Learn more about CSS' ), 5571 /* translators: accessibility text*/5571 /* translators: Accessibility text. */ 5572 5572 __( '(opens in a new tab)' ) 5573 5573 ); … … 5584 5584 $section_description .= '<p>'; 5585 5585 $section_description .= sprintf( 5586 /* translators: 1: link to user profile, 2: additional link attributes, 3: accessibility text*/5586 /* translators: 1: Link to user profile, 2: Additional link attributes, 3: Accessibility text. */ 5587 5587 __( 'The edit field automatically highlights code syntax. You can disable this in your <a href="%1$s" %2$s>user profile%3$s</a> to work in plain text mode.' ), 5588 5588 esc_url( get_edit_profile_url() ), … … 5590 5590 sprintf( 5591 5591 '<span class="screen-reader-text"> %s</span>', 5592 /* translators: accessibility text*/5592 /* translators: Accessibility text. */ 5593 5593 __( '(opens in a new tab)' ) 5594 5594 )
Note: See TracChangeset
for help on using the changeset viewer.