Hi Kyle, I wrote this before in the german language part but didn't get any answer. So I ask here:
Meanwhile I found a solution to adapt in cb_activity the jquery timeago for using with prefix. But I am not sure, is my solution ok or not.
I am looking for an override solution, because I don't want to change the code after an update. Do you have a solution?
My solution is:
in components/com_comprofiler/plugin/user/plug_cbactivity/templates/default
I opened jquery.php and added
. "prefixAgo: '" . addslashes( CBTxt::T( 'vor' ) ) . "',"
. "prefixFromNow: '" . addslashes( CBTxt::T( 'in' ) ) . "',"
then I changed the following
. "suffixAgo: '" . addslashes( CBTxt::T( '' ) ) . "',"
. "suffixFromNow: '" . addslashes( CBTxt::T( '' ) ) . "',"
-> the words for suffixAgo are now empty
Then I saved.
It's now good german.
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.