Plural Error – Language or Buddypress template – child theme? (Or both?)
-
Hi there, I’m using this plugin and in the BP profile tab of the user there’s no plural displaying (in Chrome) in the sentence below when there’s been nothing left yet, although if I add another ‘s’ then it works.
My question is how do I override this in a child template? I can see the file in buddypress/members/single directory, and also the PO language file, I’ve tried a few variations to get them to work in a child theme but no luck at all, for example:
my-child-theme/plugins/includes/templates/buddypress/members/single/compliments.php
my-child-theme/includes/templates/buddypress/members/single/compliments.php
my-child-theme/plugins/includes/templates/buddypress/members/single/compliments.phpI can’t get it working, can you let me know where I should be putting it?
Or will you amend this error in an update?
Many Thanks
KOriginal:
<p><?php echo sprintf( __( 'Aw, you have no %1$s yet. To get some try sending %1$s to others.', 'bp-compliments' ), BP_COMP_SINGULAR_NAME ); ?></p>
Amended:
<p><?php echo sprintf( __( 'Aw, you have no %1$ss yet. To get some try sending a %1$s to others.', 'bp-compliments' ), BP_COMP_SINGULAR_NAME ); ?></p>
- The topic ‘Plural Error – Language or Buddypress template – child theme? (Or both?)’ is closed to new replies.