- Posts: 91
A few sentences in English yet
- Fabio Ballor
- Topic Author
- Offline
- Premium Member
-
Less
More
15 years 2 weeks ago #1
by Fabio Ballor
A few sentences in English yet was created by Fabio Ballor
Hi Antonio,
I could not find where the variable added the sentences
"XXX enroled into the course YYYY"
and
"New course available XXX in category YYY"
I would translate it into Italian.
I did not figure in the file it-IT
Can you help?
Thanks
I could not find where the variable added the sentences
"XXX enroled into the course YYYY"
and
"New course available XXX in category YYY"
I would translate it into Italian.
I did not figure in the file it-IT
Can you help?
Thanks
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
15 years 2 weeks ago #2
by Chris
Replied by Chris on topic Re: A few sentences in English yet
Are you referring to the place where this is written to the Jomsocial activity stream?
com_joomdle\controllers\ws.xmlrpc.php
--> Line 210: $message= JText::_('{actor} enroled into the course').' ';
com_joomdle\controllers\ws.xmlrpc.php
--> Line 159: $message = JText::_('New course available').' ';
com_joomdle\controllers\ws.xmlrpc.php
--> Line 210: $message= JText::_('{actor} enroled into the course').' ';
com_joomdle\controllers\ws.xmlrpc.php
--> Line 159: $message = JText::_('New course available').' ';
Please Log in or Create an account to join the conversation.
- Fabio Ballor
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 91
15 years 2 weeks ago #3
by Fabio Ballor
Replied by Fabio Ballor on topic Re: A few sentences in English yet
sorry, there was a misunderstanding,
I was referring to joomdle 0.51
There isn't a controllers folder
Where can I look for those strings?
thanks
I was referring to joomdle 0.51
There isn't a controllers folder
Where can I look for those strings?
thanks
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
15 years 2 weeks ago #4
by Chris
Replied by Chris on topic Re: A few sentences in English yet
Both of these can be found in the file
plg_joomdle\joomdle.php
Line 495:$message = JText::_('{actor} enroled into the course').' ';
Line 446:$message = JText::_('New course available').' ';
plg_joomdle\joomdle.php
Line 495:$message = JText::_('{actor} enroled into the course').' ';
Line 446:$message = JText::_('New course available').' ';
Please Log in or Create an account to join the conversation.
- Fabio Ballor
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 91
15 years 1 week ago #5
by Fabio Ballor
Replied by Fabio Ballor on topic Re: A few sentences in English yet
Thanks
To be precise, the file is located here: /plugins/xmlrpc/joomdle.php
Instead, I cann't find where is inserted the following sentence: "Group for course XXX"
Joomdle used when creating a new group in Jomsocial.
bye
To be precise, the file is located here: /plugins/xmlrpc/joomdle.php
Instead, I cann't find where is inserted the following sentence: "Group for course XXX"
Joomdle used when creating a new group in Jomsocial.
bye
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
15 years 1 week ago #6
by Chris
Replied by Chris on topic Re: A few sentences in English yet
Hi this is a message to post to Jomsocial which is managed through the moodle block ...
So in moodle
moodle\auth_joomdle\joomdle\auth.php
Line 2792: auth_plugin_joomdle::call_method ('addJSGroup', $course->fullname, 'Group for course '.$course->fullname, (int) $course->id, "x");
Line 2826: auth_plugin_joomdle::call_method ('updateJSGroup', $course->fullname, 'Group for course '.$course->fullname, (int) $course->id, "x");
So in moodle
moodle\auth_joomdle\joomdle\auth.php
Line 2792: auth_plugin_joomdle::call_method ('addJSGroup', $course->fullname, 'Group for course '.$course->fullname, (int) $course->id, "x");
Line 2826: auth_plugin_joomdle::call_method ('updateJSGroup', $course->fullname, 'Group for course '.$course->fullname, (int) $course->id, "x");
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
15 years 5 days ago #7
by Antonio Durán
Replied by Antonio Durán on topic Re: A few sentences in English yet
Hi.
I see we have this wrong, as we are not using language strings for these, but instead we use literal english
Will try to fix it for next release.
Thanks for the tip!
I see we have this wrong, as we are not using language strings for these, but instead we use literal english
Will try to fix it for next release.
Thanks for the tip!
Please Log in or Create an account to join the conversation.