[wp-meta] [Making WordPress.org] #6922: Translate: missing translators comments from Gutenberg

Making WordPress.org noreply at wordpress.org
Thu Apr 6 12:57:09 UTC 2023


#6922: Translate: missing translators comments from Gutenberg
--------------------------------------+--------------------
 Reporter:  afercia                   |      Owner:  (none)
     Type:  defect (bug)              |     Status:  new
 Priority:  normal                    |  Milestone:
Component:  Translate Site & Plugins  |   Keywords:
--------------------------------------+--------------------
 Looks like some translator comments from the Gutenberg codebase aren't
 picked up They don't show up in the translate user interface.

 The only reason I can think of is because od the curly braces `{}` but
 that's just a guess.

 A few examples:

 Good example:
 The comment of the string `return __( 'Publishing…' );`
 [https://github.com/WordPress/gutenberg/blob/ee6d6df9d12157ec2396cf94e4044a1a37d0912f/packages/editor/src/components
 /post-publish-button/label.js#L23-L24 here] does show up.
 See the string on translate
 [https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bterm%5D=Publishing%E2%80%A6&filters%5Bterm_scope%5D=scope_any&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
 here].

 Bad example:
 The comment of the strings `const label = isPending ? __( 'Save as
 pending' ) : __( 'Save draft' )`
 [https://github.com/WordPress/gutenberg/blob/ee6d6df9d12157ec2396cf94e4044a1a37d0912f/packages/editor/src/components
 /post-saved-state/index.js#L113-L114 here] do not show up.
 See the strings on translate
 [https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bterm%5D=Save+as+pending&filters%5Bterm_scope%5D=scope_any&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
 here] and
 [https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bterm%5D=Save+draft&filters%5Bcase_sensitive%5D=yes&filters%5Bterm_scope%5D=scope_any&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
 here].

 Bad example:
 The comment of the string `label={ __( 'Details' ) }`
 [https://github.com/WordPress/gutenberg/blob/14f1ea8cf51f76c9bb670aa56b70ba3d96c64cea/packages/editor/src/components
 /table-of-contents/index.js#L39-L40 here] does not show up (actually, it
 shows another comment from `wp-includes/media-template.php`).
 See the string on translate
 [https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bterm%5D=Details&filters%5Bcase_sensitive%5D=yes&filters%5Bterm_scope%5D=scope_any&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
 here].

 Bad example:
 The comment of the string `label={ __( 'Undo' ) }`
 [https://github.com/WordPress/gutenberg/blob/ee6d6df9d12157ec2396cf94e4044a1a37d0912f/packages/editor/src/components
 /editor-history/undo.js#L27-L28 here] does not show up (actually, it shows
 another comment from `wp-admin/edit-comments.php` because of strings
 concatenation; that's an issue but it's unrelated to the missing comment).
 See the string on translate
 [https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bterm%5D=Undo&filters%5Bcase_sensitive%5D=yes&filters%5Bterm_scope%5D=scope_originals&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filters%5Buser_login%5D=&filter=Apply+Filters&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
 here].

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6922>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list