Welcome, Guest
Please Login or Register.    Lost Password?

translate activity stream?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: translate activity stream?
#744
translate activity stream? 2 Years, 2 Months ago Karma: 0
Quick question: where are the variables for the acitivity stream output located so I could translate and modify it according to my preferences?
mrmadeo
(Free Member)

Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Mr Madeo's World
Last Edit: 2009/11/10 10:37 By mrmadeo.
The administrator has disabled public write access.
 
#751
Re:translate activity stream? 2 Years, 2 Months ago Karma: 8
sorry, we should have put them in language file...
It's now in the todo list...

in the mean time,

please edit frontend/components/com_jvideodirect/classes/thirdparties.php

start from line 110 and 153

e.g.
$c='videos.delete';$t=JText::_('{actor} deleted a video')

translate the text highlighted in red.
ethan
jVideoDirect staff
Posts: 422
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#793
Re:translate activity stream? 2 Years, 2 Months ago Karma: 0
thank you very much. I did not know where to find it.I have translated it and attach it for you to use.
Last question: I can't find the "added a video" code (which case is that?)

Code:

case '13':$c='videos.delete';$t=JText::_('{actor} hat ein Video entfernt');$f=1;break;
case '15':$c='videos.favorite';$t=JText::_('{actor} hat das Video '.$videoa.' als Favorit hinzugefügt');$p=$videop;$f=1;break;
case '16':$c='videos.ratings';$t=JText::_('{actor} hat ein Video bewertet '.$videoa);$p=$videop;$f=1;break;
case '21':$c='channel.creat';$t=JText::_('{actor} hat einen Kanal erstellt '.$channela);$p=$channelp;$f=1;break;
case '22':$c='channel.subscribe';$t=JText::_('{actor} hat einen Knal abonniert '.$channela);$p=$channelp;$f=1;break;
case '23':$c='channel.unsubscribe';$t=JText::_('{actor} hat einen Kanal verlassen '.$channela);$p=$channelp;$f=1;break;
case '24':$c='channel.kickout';$t=JText::_('{actor} wurde aus dem Kanal geworfen'.$channela);$p=$channelp;$f=1;break;
case '25':$c='channel.addvideo';$t=JText::_('{actor} fügte {multiple}{count} Videos zum Kanal hinzu '.$channela.'{/multiple}');$p=$channelp;$f=1;break;
case '31':$c='group.creat';$t=JText::_('{actor} hat eine Gruppe erstellt '.$groupa);$p=$groupp;$f=1;break;
case '32':$c='group.join';$t=JText::_('{actor} ist einer Gruppe beigetreten '.$groupa);$p=$groupp;$f=1;break;
case '33':$c='group.leave';$t=JText::_('{actor} hat eine Gruppe verlassen '.$groupa);$p=$groupp;$f=1;break;
case '34':$c='group.kickout';$t=JText::_('{actor} wurde aus der Gruppe geworfen'.$groupa);$p=$groupp;$f=1;break;
case '35':$c='group.assignvideo';$t=JText::_('{actor} fügte {multiple}{count} Videos zur Gruppe hinzu'.$groupa.'{/multiple}');$p=$groupp;$f=1;break;
case '45':$c='playlist.addvideo';$t=JText::_('{actor} fügte das Video '.$videoa.' zur Playlist');$p=$videop;$f=1;break;
case '46':$c='playlist.removevideo';$t=JText::_('{actor} entfernte das Video '.$videoa.' aus der Playlist');$p=$videop;$f=1;break;
case '713':$c='channel.unfeature';$t=JText::_('{actor}s Kanal '.$channela.' ist keine Empfehlung mehr!');$p=$channelp;$f=1;break;
case '714':$c='channel.feature';$t=JText::_('{actor} hat einen empfohlenen Kanal '.$channela);$p=$channelp;$f=1;break;
case '723':$c='group.unfeature';$t=JText::_('{actor}s Gruppe '.$groupa.' ist keine Empfehlung mehr!');$p=$groupp;$f=1;break;
case '724':$c='group.feature';$t=JText::_('{actor} hat eine empfohlene Gruppe '.$groupa);$p=$groupp;$f=1;break;
case '733':$c='video.unfeature';$t=JText::_('{actor}’s video '.$videoa.' ist keine Empfehlung mehr!');$p=$videop;$f=1;break;
case '734':$c='video.feature';$t=JText::_('{actor} hat ein empfohlenes Video '.$videoa);$p=$videop;$f=1;break;

mrmadeo
(Free Member)

Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Mr Madeo's World
The administrator has disabled public write access.
 
#889
Re:translate activity stream? 2 Years, 2 Months ago Karma: 0
any news on that? where to trslate "added a video" ?
mrmadeo
(Free Member)

Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Mr Madeo's World
The administrator has disabled public write access.
 
#1021
Re:translate activity stream? 2 Years, 2 Months ago Karma: 0
Sorry but is it such a difficult question to ask the developers?
mrmadeo
(Free Member)

Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Mr Madeo's World
Last Edit: 2009/11/17 04:57 By mrmadeo.
The administrator has disabled public write access.
 
#1022
Re:translate activity stream? 2 Years, 2 Months ago Karma: 8
I am so sorry, we must have missed your question ...

you need to edit fetchIt.php at frontend/components/com_jvideodirect/tools/transformer/
line 390
ethan
jVideoDirect staff
Posts: 422
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/11/17 05:20 By ethan.
The administrator has disabled public write access.
 
#1024
Re:translate activity stream? 2 Years, 2 Months ago Karma: 0
great I'm a pain in the neck

Code:

$videoa = '{actor} hat das Video <a href="/index.php?option=com_jvideodirect&amp;v='.$jsas->vid.'">'.$jsas->title.' </a>hinzugef&uuml;gt';
mrmadeo
(Free Member)

Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Mr Madeo's World
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: cassie, tanny, ethan