Skip to Content Skip to Menu

Connection types language constants not being translated in Privacy plugin

  • 900010000
  • 900010000
  • OFFLINE
  • Posts: 28
  • Thanks: 2
  • Karma: 0
9 years 6 months ago #263413 by 900010000
Hi,

The connection types language constants are not being translated in the Privacy plugin. When I try to allow users to choose which connection types to share information with (using privacy), only the last connection type is translated properly. The first three only show the language constant. Please help.

Warmly,
Joseph

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #263449 by krileon
Please ensure you're using latest release CB Privacy 4.0.3. All the connection types strings appear to be passed through CBTxt. If you're on latest release already please try the below quickfix as maybe it's due to a leading/trailing space.

IN: components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.php
ON: Line 767
FROM:
Code:
$options[] = moscomprofilerHTML::makeOption( trim( htmlspecialchars( $type ) ), CBTxt::T( $type ) );
TO:
Code:
$options[] = moscomprofilerHTML::makeOption( trim( htmlspecialchars( $type ) ), CBTxt::T( trim( $type ) ) );


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • 900010000
  • 900010000
  • OFFLINE
  • Posts: 28
  • Thanks: 2
  • Karma: 0
9 years 6 months ago #263473 by 900010000
Great, you did it! Yes, I am using the latest version of Privacy. With your fix, all the language strings are now translated. Thanks!
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #263541 by krileon
Ok, it's a stray space doing it then. Will fix for next release of CB Privacy.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum