LANG="C"#Make outputs in English, like the script itself.
RCFILE="amarok-svnrc"#Settings file, will end up in '`kde-config --localprefix`/share/config/'.
RCFILE="amarok-svnrc"#Settings file, will end up in '`tde-config --localprefix`/share/config/'.
C_STEP="1"#The current step of the installation process
S_STEPS="11"#Number of steps in the installation process
TMP_FILES=""#Will be filled with URLs to temporary files
@ -166,7 +166,7 @@ done
## Check requirements
CheckBinary kdialog "" --no-dialog
CheckBinary svn "Version 1.1 or newer is needed."
CheckBinary kde-config "kde-config sometimes falls out of the \$PATH for some reason."
CheckBinary tde-config "tde-config sometimes falls out of the \$PATH for some reason."
CheckBinary kreadconfig
CheckBinary kwriteconfig
@ -192,7 +192,7 @@ fi
## Settings
if[ -s "`kde-config --localprefix`/share/config/$RCFILE" -a "$RESET_CONF" !="1"];then#If the settings exists and the user doesn't want to change them.
if[ -s "`tde-config --localprefix`/share/config/$RCFILE" -a "$RESET_CONF" !="1"];then#If the settings exists and the user doesn't want to change them.
GET_LANG="`ReadConfig get_lang`"
if[ -z "$GET_LANG"];then#Save default value if empty
@ -234,7 +234,7 @@ else
WriteConfig get_lang "$GET_LANG"
## ./configure flags
Dialog --yesno "Do you want to use any extra configuration options (in addition to '--prefix=`kde-config --prefix` --enable-debug=full')?\nNo extra options is the default, and that works fine.\n(For a list of available flags, say yes and enter 'help' (CaSe insensitive) in the box, then wait for Amarok-svn to get to the configuration step (step 8).)"
Dialog --yesno "Do you want to use any extra configuration options (in addition to '--prefix=`tde-config --prefix` --enable-debug=full')?\nNo extra options is the default, and that works fine.\n(For a list of available flags, say yes and enter 'help' (CaSe insensitive) in the box, then wait for Amarok-svn to get to the configuration step (step 8).)"
if["$?"="0"];then#If the user said yes
CONF_FLAGS_RAW="`Dialog --inputbox \"Specify extra configuration options to use\"`"
KDTITLE=" :: Configuration options" Dialog --textbox $TMP_CONF600800̠x600 should be enough. Put it in the background (&) to make the user able to watch it while typing the selected options into the input box.
Dialog --yesno "Do you want to use any extra configuration options (in addition to '--prefix=`kde-config --prefix` --enable-debug=full')?\nNo extra options is the default, and that works fine.\n(Available options are displayed in another window right now.)"
Dialog --yesno "Do you want to use any extra configuration options (in addition to '--prefix=`tde-config --prefix` --enable-debug=full')?\nNo extra options is the default, and that works fine.\n(Available options are displayed in another window right now.)"
if["$?"="0"];then#If the user said yes
CONF_FLAGS_RAW="`kdialog --title \"$KD_TITLE\" --inputbox \"Specify extra configuration options to use\"`"
CONF_FLAGS=""
@ -523,7 +523,7 @@ fi
echo
letC_STEP=C_STEP+1
echo"# $C_STEP/$S_STEPS - Configuring. (This will also take a while.)"
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>More information can be found in the README file. For further "
"assistance join us at #amarok on irc.freenode.net.</p>"
@ -1004,7 +1004,7 @@ msgstr ""
"Repare a instalación usando "
"<pre>$ cd /rota/para/amarok/código-fonte/"
"<br>$ su -c \"make uninstall\""
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>Pódese atopar máis información no ficheiro README. Para axuda "
"adicional, pode recorrer á canle #amarok en irc.freenode.net.</p>"
@ -14159,8 +14159,8 @@ msgstr "amaroK"
#~ msgid "Cannot start aRts. You must use another engine."
#~ msgstr "Non se puido iniciar aRts. Deberá usar outro motor."
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>Aconteceu un erro ao carregar libamarokarts. Tente primeiro: <pre>killall -9 artsd && amarok</pre> Se isto non funciona, daquela posibelmente amaroK instalouse co prefixo errado; reconfigure amaroK usando:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>Aconteceu un erro ao carregar libamarokarts. Tente primeiro: <pre>killall -9 artsd && amarok</pre> Se isto non funciona, daquela posibelmente amaroK instalouse co prefixo errado; reconfigure amaroK usando:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "No input plugin available; check your installation."
#~ msgstr "Non hai complementos disponíbeis; comprobe a instalación."
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>More information can be found in the README file. For further "
"assistance join us at #amarok on irc.freenode.net.</p>"
@ -987,7 +987,7 @@ msgstr ""
"바꾸십시오:"
"<pre>$ cd /path/to/amarok/source-code/"
"<br>$ su -c \"make uninstall\""
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>더 많은 정보는 README 파일을 참조하십시오. 앞으로도 문제가 있으면 irc.freenode.net의 "
"#amarok 채널에 참여하시기 바랍니다."
@ -13443,8 +13443,8 @@ msgstr ""
#~ msgid "Cannot start aRts. You must use another engine."
#~ msgstr "aRts를 시작할 수 없습니다. 다른 엔진을 사용하여야 합니다."
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>libamarokarts를 불러올 수 없습니다. 일단 시도해 보십시오:<pre>killall -9 artsd && amarok<pre>만약 이렇게 해도 정상적으로 작동하지 않는다면, amaroK가 잘못된 경로에 설치된 것입니다. amaroK를 재설정하십시오:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>libamarokarts를 불러올 수 없습니다. 일단 시도해 보십시오:<pre>killall -9 artsd && amarok<pre>만약 이렇게 해도 정상적으로 작동하지 않는다면, amaroK가 잘못된 경로에 설치된 것입니다. amaroK를 재설정하십시오:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "No input plugin available; check your installation."
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>More information can be found in the README file. For further "
"assistance join us at #amarok on irc.freenode.net.</p>"
@ -1011,7 +1011,7 @@ msgstr ""
"prefiks. Dette kan du rette ved å skrive:"
"<pre>$ cd /adresse/til/amarok-kildekoden/"
"<br>$ su -c \"make uninstall\""
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>Du finner mer informasjon i fila «README». Du kan også få "
"hjelp på IRC-kanalen #amarok på irc.freenode.net.</p>"
@ -13738,8 +13738,8 @@ msgstr "Kjør Amarok …"
#~ msgid "Cannot start aRts. You must use another engine."
#~ msgstr "Kunne ikke starte aRts. Du må bruke en annen lydmotor."
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>Det oppsto en feil ved lasting av libamarokarts. Prøv først:<pre>killall -9 artsd && amarok</pre>Hvis dette ikke hjelper, er det mulig at amaroK er installert under feil prefiks. Dette kan du rette ved å skrive:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>Det oppsto en feil ved lasting av libamarokarts. Prøv først:<pre>killall -9 artsd && amarok</pre>Hvis dette ikke hjelper, er det mulig at amaroK er installert under feil prefiks. Dette kan du rette ved å skrive:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "No input plugin available; check your installation."
#~ msgstr "Ingen programtillegg er tilgjengelige. Se til at alt er rett installert."
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>More information can be found in the README file. For further "
"assistance join us at #amarok on irc.freenode.net.</p>"
@ -14591,7 +14591,7 @@ msgstr "Ikibambara"
#~ msgstr "Ikosa Rikomeye Cyane!"
#, fuzzy
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>More information can be found in the README file. For further "
"assistance join us at #amarok on irc.freenode.net.</p>"
@ -991,7 +991,7 @@ msgstr ""
"prefiksom; sredite instalaciju koristeći:"
"<pre>$ cd /putanja/do/amarokovog/izvornog-koda/"
"<br>$ su -c \"make uninstall\""
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre> Više informacija možete naći u fajlu README. Za dalju pomoć "
"pridružite nam se na #amarok na irc.freenode.net -u.</p>"
@ -13768,8 +13768,8 @@ msgstr ""
#~ msgid "Cannot start aRts. You must use another engine."
#~ msgstr "Ne mogu da pokrenem aRts. Morate koristiti drugi motor."
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>Desila se greška pri učitavanju libamarokarts-a. Prvo probajte:<pre>killall -9 artsd && amarok</pre>Ako to ne uspe onda je amaroK verovatno instaliran sa pogrešnim prefiksom; ponovo podesite amaroK koristeći:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>Desila se greška pri učitavanju libamarokarts-a. Prvo probajte:<pre>killall -9 artsd && amarok</pre>Ako to ne uspe onda je amaroK verovatno instaliran sa pogrešnim prefiksom; ponovo podesite amaroK koristeći:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "No input plugin available; check your installation."
#~ msgstr "Nijedan ulazni priključak nije dostupan; proverite instalaciju."
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>More information can be found in the README file. For further "
"assistance join us at #amarok on irc.freenode.net.</p>"
msgstr ""
"<p>amaroK ஒலி எஞ்சின் சொருகுப்பொருள்களை கண்டுப்பிடிக்க முடியவில்லை; உங்கள் "
"amaroK நிறுவல் உடைந்திருக்கலாம். மூலத்தில் இருந்து நிறுவி இருந்தால் amaroK "
"கேடியி கீழ் நிறுவப்படவில்லை. ./configure --prefix=`kde-config --prefix` ஐ "
"கேடியி கீழ் நிறுவப்படவில்லை. ./configure --prefix=`tde-config --prefix` ஐ "
"பயன்படுத்தி README கோப்பு விவரித்துள்ளது போல் amaroKஐ திரும்ப அமைக்கவும். "
"மேலும் உதவிக்கு எங்களுடன் #amarok on irc.freenode.net என்ற முகவரியில் தொடர்பு "
"கொள்ளவும்."
@ -14028,8 +14028,8 @@ msgstr "அமார்க்கு"
#~ msgid "Fatal Error"
#~ msgstr "உயிர்நாடிப் பிழை"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>லிபாமராகார்ட்ஸ் ஏற்றும்போது போது பிழை. முதல் முயற்ச்சி:<pre>killall -9 artsd && ஆமராக்</pre>அது வேலை புரியாமல் போனால் ஆமராக் பொதுவாக தவறான முன்னொட்டுடன் நிறுவப்பட்டிருக்கலாம; தயவு செய்து அமராக்கை மறு உள்ளமைப்பு செய்யவும்:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
#~ msgstr "<p>லிபாமராகார்ட்ஸ் ஏற்றும்போது போது பிழை. முதல் முயற்ச்சி:<pre>killall -9 artsd && ஆமராக்</pre>அது வேலை புரியாமல் போனால் ஆமராக் பொதுவாக தவறான முன்னொட்டுடன் நிறுவப்பட்டிருக்கலாம; தயவு செய்து அமராக்கை மறு உள்ளமைப்பு செய்யவும்:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"
"<br>$ ./configure --prefix=`kde-config --prefix` && su -c \"make install\""
"<br>$ ./configure --prefix=`tde-config --prefix` && su -c \"make install\""
"<br>$ kbuildsycoca"
"<br>$ amarok</pre>More information can be found in the README file. For further "
"assistance join us at #amarok on irc.freenode.net.</p>"
@ -14072,8 +14072,8 @@ msgstr "amaroK"
#~ msgid "Fatal Error"
#~ msgstr "Хатогии фалокатовар"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`kde-config --prefix` && su -c \"make install\"</pre>"
#~ msgid "<p>There was an error loading libamarokarts. First try:<pre>killall -9 artsd && amarok</pre>If that does not work then amaroK was probably installed with the wrong prefix; please re-configure amaroK using:<pre>./configure --prefix=`tde-config --prefix` && su -c \"make install\"</pre>"