Server IP : 103.119.228.120 / Your IP : 3.147.60.62 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/gettext/projects/KDE/ |
Upload File : |
#!/bin/sh # Print the team's address (to stdout) and output additional instructions # (to stderr). projectsdir="$1" progdir="$2" catalog="$3" # e.g. "pt_BR" language="$4" # e.g. "pt" url=`cat "$projectsdir/KDE/teams.url"` html=`"$progdir/urlget" "$url" "$projectsdir/KDE/teams.html"` # The HTML page says they are "presently switching from the 2-letter codes # to the 3-letter codes". So it is safest to use the English name and # translate ourselves... case "$catalog" in af) english=Afrikaans;; ar) english=Arabic;; az) english=Azerbaijani;; bg) english=Bulgarian;; bn) english=Bengali;; bo) english=Tibetan;; br) english=Breton;; bs) english=Bosnian;; ca) english=Catalan;; cs) english=Czech;; cy) english=Welsh;; da) english=Danish;; de) english=German;; el) english=Greek;; en_GB) english="British English";; eo) english=Esperanto;; es) english=Spanish;; et) english=Estonian;; eu) english=Basque;; fa) english=Farsi;; fi) english=Finnish;; fo) english=Faroese;; fr) english=French;; ga) english=Irish;; gl) english=Gallegan;; gu) english=Gujarati;; he) english=Hebrew;; hi) english=Hindi;; hr) english=Croatian;; hu) english=Hungarian;; id) english=Indonesian;; is) english=Icelandic;; it) english=Italian;; ja) english=Japanese;; km) english=Khmer;; ko) english=Korean;; ku) english=Kurdish;; lt) english=Lithuanian;; lv) english=Latvian;; mi) english=Maori;; mk) english=Macedonian;; mr) english=Marathi;; mt) english=Maltese;; nl) english=Dutch;; no) english="Norwegian (Bokm";; nn) english="Norwegian (Nynorsk)";; oc) english=Occitan;; pl) english=Polish;; pt) english=Portuguese;; pt_BR) english="Brazilian Portuguese";; ro) english=Romanian;; ru) english=Russian;; sk) english=Slovak;; sl) english=Slovenian;; sr) english=Serbian;; sv) english=Swedish;; ta) english=Tamil;; tg) english=Tajik;; th) english=Thai;; tr) english=Turkish;; uk) english=Ukrainian;; vi) english=Vietnamese;; # ??) english=Walloon;; xh) english=Xhosa;; zh_CN) english="Simplified Chinese";; zh_TW) english="Traditional Chinese";; *) english=;; esac if test -n "$english"; then (echo "Please consider joining your translation team, and visit" sed_addnl='s,</TR>,</TR>\ ,g' anchor=`echo "$html" | tr '\012' '|' | sed -e "$sed_addnl" | sed -n -e 's,^.*<TR.*<A NAME="\([^"]*\)">.*>'"$english"'[^<>]*team<.*</TR>$,\1,p'` if test -n "$anchor"; then echo " $url#$anchor" fi echo " $url" echo " http://i18n.kde.org/" ) 1>&2 address1=`echo "$html" | tr '\012' '|' | sed -n -e 's,^.*>'"$english"'[^<>]*team<\(.*\)$,\1,p' | sed -e "$sed_addnl" | sed -e 2q -e 1d | sed -n -e 's,^.*mailing list\(.*\)$,\1,p' | sed -e 's,</LI>.*,,' | sed -e 's,</A>.*,</A>,' | sed -n -e 's,^.*HREF="\([^"]*\)">[^<>]*</A>.*$,\1,p'` case "$address1" in mailto:*) address1=`echo "$address1" | sed -e 's,^mailto:,<,' -e 's,$,>,'` ;; esac address1=`echo "$address1" | sed -e 's,-request@,@,'` address2=`echo "$html" | tr '\012' '|' | sed -n -e 's,^.*>'"$english"'[^<>]*team<\(.*\)$,\1,p' | sed -e "$sed_addnl" | sed -e 2q -e 1d | sed -n -e 's,^.*web site\(.*\)$,\1,p' | sed -e 's,</LI>.*,,' | sed -e 's,</A>.*,</A>,' | sed -n -e 's,^.*HREF="\([^"]*\)">[^<>]*</A>.*$,\1,p'` if test -n "$address1" && test -n "$address2"; then address="$address1 $address2" else address="$address1$address2" fi # address can be empty or contain 1 or more space separated URLs. else (echo "A translation team for your "`if test "$catalog" = "$language"; then echo "language ($language)"; else echo "local dialect ($catalog)"; fi` echo "may not exist yet. Please visit" echo " $url" echo " http://i18n.kde.org/" echo "and decide whether you want to create a new translation team." ) 1>&2 address= fi exit 0