Opened 12 months ago
Last modified 12 months ago
#59498 new defect (bug)
I18N issue in site editor
Reported by: | jdy68 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.3.1 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Hi,
In the site editor, when a template or a template part, or even a style...is modified, the following message is displayed: "Last modified a few seconds ago".
This string corresponds to: https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=135&filters%5Btranslation_id%5D=131480
and as it's a variable we can't translate it.
In french, for example, the message is "Dernière modification il y a a few seconds".
In spanish, the message is "Última modificación hace a few seconds"
We have a break in I18N here, due to this variable.
Thanks for the modification.
Attachments (1)
Change History (2)
#1
@
12 months ago
- Component changed from I18N to Editor
- Keywords changes-requested removed
This is coming from the SidebarNavigationScreenDetailsFooter
component in the edit-site
package.
From what I can see, the way this is intended is not as a single "Last modified xyz ago" string, but as a label / title. Like "Last modified: a few seconds ago".
The label is translated here: https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=16087589&filters%5Btranslation_id%5D=106841329
The second part is indeed not translated, see https://i.imgur.com/NMaWyez.png
I think this is supposed to be fixed in WP 6.4 though via r56496, so this ticket seems to be a duplicate of #59219
Screenshot of the message not completly translating