diff --git a/doc/da/index.docbook b/doc/da/index.docbook
index f40f2d8..b17382b 100644
--- a/doc/da/index.docbook
+++ b/doc/da/index.docbook
@@ -4772,7 +4772,7 @@ $@ | while read line; do dcop $PORT Konversation say $SERVER "$TARGET" "$@: $lin
> i stedet. Kig i eksisterende scriptfiler for flere eksempler på at skrive scripter.
For at kunne køre et script som du har skrevet, skal du installere det ved at kopiere det til $TDEDIR/share/apps/konversation/scripts eller til $HOME/.kde/share/apps/konversation/scripts. Du skal også give filen kørerettigheder, for eksempel med For at kunne køre et script som du har skrevet, skal du installere det ved at kopiere det til $TDEDIR/share/apps/konversation/scripts eller til $HOME/.trinity/share/apps/konversation/scripts. Du skal også give filen kørerettigheder, for eksempel med chmod a+x mit_script. Skriptide kirjutamisega aitab kindlasti paremini tutvuda näiteskriptide põhjalik uurimine.
Kui soovid enda loodud skripti käivitada, tuleb see sul paigadalda, kopeerides skripti kataloogi $TDEDIR/share/apps/konversation/scripts või $HOME/.kde/share/apps/konversation/scripts. Failile tuleb anda ka käivitamisõigused, näiteks käsuga Kui soovid enda loodud skripti käivitada, tuleb see sul paigadalda, kopeerides skripti kataloogi $TDEDIR/share/apps/konversation/scripts või $HOME/.trinity/share/apps/konversation/scripts. Failile tuleb anda ka käivitamisõigused, näiteks käsuga chmod a+x minuskript. Guarda i file script esistenti per ulteriori esempi di come scrivere script.
Per poter eseguire uno script che hai scritto tu, devi installarlo copiandolo in $TDEDIR/share/apps/konversation/scripts o in $HOME/.kde/share/apps/konversation/scripts. Devi anche dare al file privilegi di esecuzione, per esempio Per poter eseguire uno script che hai scritto tu, devi installarlo copiandolo in $TDEDIR/share/apps/konversation/scripts o in $HOME/.trinity/share/apps/konversation/scripts. Devi anche dare al file privilegi di esecuzione, per esempio chmod a+x mioscriptinfo
To be able to run a script you have written, you must install it by copying
-it to $TDEDIR/share/apps/konversation/scripts or to $HOME/.kde/share/apps/konversation/scripts. You must also give the file execute
+it to $TDEDIR/share/apps/konversation/scripts or to $HOME/.trinity/share/apps/konversation/scripts. You must also give the file execute
privilege, for example chmod a+x myscript.
diff --git a/doc/pt/index.docbook b/doc/pt/index.docbook
index c10123c..68a814a 100644
--- a/doc/pt/index.docbook
+++ b/doc/pt/index.docbook
@@ -4794,7 +4794,7 @@ $@ | while read linha; do dcop $PORT Konversation say $SERVIDOR "$DESTINO" "$@:
> em alternativa. Veja os programa existentes para aprender mais exemplos de programação.
Para ser capaz de executar um programa que tenha criado, precisa de o instalar, copiando-o para tal para $TDEDIR/share/apps/konversation/scripts ou para $HOME/.kde/share/apps/konversation/scripts. Precisa também de ceder permissões de execução ao ficheiro, por exemplo com um Para ser capaz de executar um programa que tenha criado, precisa de o instalar, copiando-o para tal para $TDEDIR/share/apps/konversation/scripts ou para $HOME/.trinity/share/apps/konversation/scripts. Precisa também de ceder permissões de execução ao ficheiro, por exemplo com um chmod a+x programa. Взглянув на существующие файлы сценариев, вы получите более полное представление о них.
Чтобы получить возможность запустить собственный сценарий, вы должны скопировать его в $TDEDIR/share/apps/konversation/scripts или в $HOME/.kde/share/apps/konversation/scripts. Необходимо также дать ему права на исполнение, например таким образом: Чтобы получить возможность запустить собственный сценарий, вы должны скопировать его в $TDEDIR/share/apps/konversation/scripts или в $HOME/.trinity/share/apps/konversation/scripts. Необходимо также дать ему права на исполнение, например таким образом: chmod a+x имя_файла istället. Titta i befintliga skriptfiler för mer exempel på att skriva skript.
För att kunna köra ett skript som du har skrivit, måste du installera det genom att kopiera det till $TDEDIR/share/apps/konversation/scripts eller till $HOME/.kde/share/apps/konversation/scripts. Du måste också ge filen körrättigheter, till exempel med För att kunna köra ett skript som du har skrivit, måste du installera det genom att kopiera det till $TDEDIR/share/apps/konversation/scripts eller till $HOME/.trinity/share/apps/konversation/scripts. Du måste också ge filen körrättigheter, till exempel med chmod a+x mitt_skript in konversation.
Since scripts are executed by system, they should have 'executable' flag on.
diff --git a/konversation/src/scriptlauncher.cpp b/konversation/src/scriptlauncher.cpp
index 2f8b255..3c24056 100644
--- a/konversation/src/scriptlauncher.cpp
+++ b/konversation/src/scriptlauncher.cpp
@@ -45,7 +45,7 @@ void ScriptLauncher::launchScript(const TQString& target, const TQString ¶me
TQStringList parameterList=TQStringList::split(' ',parameter);
// find script path (could be installed for all users in $TDEDIR/share/apps/ or
- // for one user alone in $HOME/.kde/share/apps/
+ // for one user alone in $HOME/.trinity/share/apps/
TQString scriptPath(kstddir.findResource("data","konversation/scripts/"+parameterList[0]));
process << scriptPath // script path and name