summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-04 01:16:40 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-04 01:16:40 -0500
commitbc5e36817696aa575221cc2ffcc0eef80299042a (patch)
tree91ff80a9b6e549edc7bf372db7c2a317236faa15
parent2afd001208ebe2044f83aceaeb47b99a8f71254a (diff)
downloadkonversation-bc5e3681.tar.gz
konversation-bc5e3681.zip
Fix references to user profile directory.
-rw-r--r--doc/da/index.docbook2
-rw-r--r--doc/et/index.docbook2
-rw-r--r--doc/it/index.docbook2
-rw-r--r--doc/konversation/index.docbook2
-rw-r--r--doc/pt/index.docbook2
-rw-r--r--doc/ru/index.docbook2
-rw-r--r--doc/sv/index.docbook2
-rw-r--r--konversation/scripts/README2
-rw-r--r--konversation/src/scriptlauncher.cpp2
9 files changed, 9 insertions, 9 deletions
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.</para>
<para
->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 <userinput
+>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 <userinput
><replaceable
>chmod a+x mit_script</replaceable
></userinput
diff --git a/doc/et/index.docbook b/doc/et/index.docbook
index cf32b5b..5408dd4 100644
--- a/doc/et/index.docbook
+++ b/doc/et/index.docbook
@@ -4812,7 +4812,7 @@ $@ | while read line; do dcop $PORT Konversation say $SERVER "$TARGET" "$@: $lin
>. Skriptide kirjutamisega aitab kindlasti paremini tutvuda näiteskriptide põhjalik uurimine.</para>
<para
->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 <userinput
+>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 <userinput
><replaceable
>chmod a+x minuskript</replaceable
></userinput
diff --git a/doc/it/index.docbook b/doc/it/index.docbook
index 1c48be2..84256c5 100644
--- a/doc/it/index.docbook
+++ b/doc/it/index.docbook
@@ -4766,7 +4766,7 @@ $@ | while read line; do dcop $PORT Konversation say $SERVER "$TARGET" "$@: $lin
>. Guarda i file script esistenti per ulteriori esempi di come scrivere script.</para>
<para
->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 <userinput
+>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 <userinput
><replaceable
>chmod a+x mioscript</replaceable
></userinput
diff --git a/doc/konversation/index.docbook b/doc/konversation/index.docbook
index 2d5c7d4..22ffd01 100644
--- a/doc/konversation/index.docbook
+++ b/doc/konversation/index.docbook
@@ -2782,7 +2782,7 @@ in the tab without sending it to other users, use <computeroutput>info</computer
instead. Look at the existing script files for more examples of writing scripts.</para>
<para>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 <userinput><replaceable>chmod a+x myscript</replaceable></userinput>.</para>
</sect1>
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>
<para
->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 <userinput
+>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 <userinput
><replaceable
>chmod a+x programa</replaceable
></userinput
diff --git a/doc/ru/index.docbook b/doc/ru/index.docbook
index 3181439..1b9442b 100644
--- a/doc/ru/index.docbook
+++ b/doc/ru/index.docbook
@@ -4792,7 +4792,7 @@ $@ | while read line; do dcop $PORT Konversation say $SERVER "$TARGET" "$@: $lin
>. Взглянув на существующие файлы сценариев, вы получите более полное представление о них.</para>
<para
->Чтобы получить возможность запустить собственный сценарий, вы должны скопировать его в $TDEDIR/share/apps/konversation/scripts или в $HOME/.kde/share/apps/konversation/scripts. Необходимо также дать ему права на исполнение, например таким образом: <userinput
+>Чтобы получить возможность запустить собственный сценарий, вы должны скопировать его в $TDEDIR/share/apps/konversation/scripts или в $HOME/.trinity/share/apps/konversation/scripts. Необходимо также дать ему права на исполнение, например таким образом: <userinput
><replaceable
>chmod a+x имя_файла</replaceable
></userinput
diff --git a/doc/sv/index.docbook b/doc/sv/index.docbook
index f4ff340..33c8f9e 100644
--- a/doc/sv/index.docbook
+++ b/doc/sv/index.docbook
@@ -4798,7 +4798,7 @@ $@ | while read line; do dcop $PORT Konversation say $SERVER "$TARGET" "$@: $lin
> istället. Titta i befintliga skriptfiler för mer exempel på att skriva skript.</para>
<para
->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 <userinput
+>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 <userinput
><replaceable
>chmod a+x mitt_skript</replaceable
></userinput
diff --git a/konversation/scripts/README b/konversation/scripts/README
index 9b1e962..d06d9f9 100644
--- a/konversation/scripts/README
+++ b/konversation/scripts/README
@@ -1,6 +1,6 @@
Here are some scripts that can help you in everyday life with konvi.
-They are usually put in ~/.kde/share/apps/konversation/scripts/ and executed by
+They are usually put in ~/.trinity/share/apps/konversation/scripts/ and executed by
typing /exec <scriptname> 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 &parame
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