Fix references to user profile directory.

pull/1/head
Darrell Anderson 12 years ago
parent 2afd001208
commit bc5e368176

@ -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

@ -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

@ -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

@ -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>

@ -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

@ -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

@ -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

@ -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.

@ -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

Loading…
Cancel
Save