Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 4 years ago

#8191 closed defect (bug) (worksforme)

Localization text not matching with po file source text

Reported by: kaiono's profile kaiono Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.0.0
Component: Core Keywords:
Cc:

Description

I was using BuddyPress and realized the text was not localized in the file below.

buddypress/bb-templates/bp-nouveau/buddypress/members/single/profile/change-avagar.php

starts from line 20

<?php
			/* Translators: %s is used to output the link to the Gravatar site */
			printf( esc_html__( 'Your profile photo will be used on your profile and throughout the site. If there is a %s associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ),
				/* Translators: Url to the Gravatar site, you can use the one for your country eg: https://fr.gravatar.com for French translation */
				'<a href="' . esc_url( __( 'https://gravatar.com', 'buddypress' ) ) . '">Gravatar</a>'
			); ?>

Source text was like below.
I think the a tag part should be %s.

Your profile photo will be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.

Change History (1)

#1 @imath
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hi @kaiono

Thanks for your report, the text is localized. Using the fr_FR translation I get it in french with the french version of the Gravatar site.

Note: See TracTickets for help on using tickets.