www: 68f7b366: Updating some descriptions and consolida...

caseyho at pidgin.im caseyho at pidgin.im
Sat Dec 27 00:00:54 EST 2008


-----------------------------------------------------------------
Revision: 68f7b366922c2a114ce5d6983131bb796a7385a4
Ancestor: b1cadda28ca638799ff58603b9783ab1a17f2827
Author: caseyho at pidgin.im
Date: 2008-12-27T04:56:43
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/68f7b366922c2a114ce5d6983131bb796a7385a4

Added files:
        inc/langdetect.inc
Modified files:
        htdocs/about/index.php htdocs/download/index.php
        htdocs/download/windows/index.php htdocs/index.php
        htdocs/news/security/index.php htdocs/support/index.php

ChangeLog: 

Updating some descriptions and consolidating text on some pages.  Added list of supported languages to about page

-------------- next part --------------
============================================================
--- inc/langdetect.inc	6e7fb5e26ba3734b64ebe09d6448e887e1518c67
+++ inc/langdetect.inc	6e7fb5e26ba3734b64ebe09d6448e887e1518c67
@@ -0,0 +1,78 @@
+<?
+
+// Language detection code
+
+$languages["af"]="Afrikaans";
+$languages["ar"]="Arabic";
+$languages["be"]="Belarusian Latin";
+$languages["bg"]="Bulgarian";
+$languages["bn"]="Bengali";
+$languages["bs"]="Bosnian";
+$languages["ca"]="Catalan";
+$languages["cs"]="Czech";
+$languages["da"]="Danish";
+$languages["de"]="German";
+$languages["dz"]="Dzongkha";
+$languages["el"]="Greek";
+$languages["en"]="English";
+$languages["en_US"]="American English";
+$languages["en_AU"]="Australian English";
+$languages["en_CA"]="Canadian English";
+$languages["en_GB"]="British English";
+$languages["eo"]="Esperanto";
+$languages["es"]="Spanish";
+$languages["et"]="Estonian";
+$languages["eu"]="Euskera(Basque)";
+$languages["fa"]="Persian";
+$languages["fi"]="Finnish";
+$languages["fr"]="French";
+$languages["ga"]="Irish";
+$languages["gl"]="Galician";
+$languages["gu"]="Gujarati";
+$languages["he"]="Hebrew";
+$languages["hi"]="Hindi";
+$languages["hu"]="Hungarian";
+$languages["id"]="Indonesian";
+$languages["it"]="Italian";
+$languages["ja"]="Japanese";
+$languages["ka"]="Georgian";
+$languages["kn"]="Kannada";
+$languages["ko"]="Korean";
+$languages["ku"]="Kurdish";
+$languages["lo"]="Lao";
+$languages["lt"]="Lithuanian";
+$languages["mk"]="Macedonian";
+$languages["mn"]="Mongolian";
+$languages["nb"]="Bokmal Norwegian";
+$languages["ne"]="Nepali";
+$languages["nl"]="Dutch, Flemish";
+$languages["nn"]="Norwegian Nynorsk";
+$languages["oc"]="Occitan";
+$languages["pa"]="Punjabi";
+$languages["pl"]="Polish";
+$languages["pt"]="Portuguese";
+$languages["pt_BR"]="Portuguese-Brazil";
+$languages["ps"]="Pashto";
+$languages["ro"]="Romanian";
+$languages["ru"]="Russian";
+$languages["sk"]="Slovak";
+$languages["sl"]="Slovenian";
+$languages["sq"]="Albanian";
+$languages["sr"]="Serbian";
+$languages["si"]="Sinhala";
+$languages["sv"]="Swedish";
+$languages["ta"]="Tamil";
+$languages["te"]="Telugu";
+$languages["th"]="Thai";
+$languages["tr"]="Turkish";
+$languages["ur"]="Urdu";
+$languages["vi"]="Vietnamese";
+$languages["zh"]="Chinese";
+$languages["zh_CN"]="Simplified Chinese";
+$languages["zh_HK"]="Hong Kong Chinese";
+$languages["zh_TW"]="Traditional Chinese";
+
+$language_code = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
+$language = $languages[$language_code];
+?>
+
============================================================
--- htdocs/about/index.php	e224f7fde1f858b2d4ae11856d691bc8374606d8
+++ htdocs/about/index.php	6c65aeca15f0e0d0aa60517c7f2bc7ec018e6767
@@ -1,8 +1,8 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "About Pidgin, the universal IM client";
+  $page['title'] =   "About Pidgin, the universal chat client";
   $page['section'] = "About";
-  $page['description'] = "General information about the Pidgin IM client.";
+  $page['description'] = "General information about the Pidgin chat client.";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
@@ -18,7 +18,7 @@
 <div class="box_full">
 <div id="main">
 
-<h1>About Pidgin IM</h1>
+<h1>About Pidgin Chat</h1>
 
 <div style="float:right;">
 <?
@@ -30,78 +30,47 @@ include($_SERVER['DOCUMENT_ROOT'] . "/..
 </div>
 </div>
 
-<p>Pidgin is an IM program which lets you log in to multiple accounts on multiple IM networks
-simultaneously. This means that you can be chatting with friends on AIM,
-talking to a friend on Yahoo Messenger, and sitting in an IRC channel all at
+<p>Pidgin is an chat program which lets you log in to accounts on multiple chat networks
+simultaneously. This means that you can be chatting with friends on MSN,
+talking to a friend on Google Talk, and sitting in an Yahoo channel all at
 the same time.</p>
 
-<p>Pidgin runs on Windows, Linux, and other UNIX operating systems. Looking for Pidgin for OS X? Try <a
-href="http://www.adiumx.com/">Adium</a>!</p>
+<p>Pidgin runs on Windows, Linux, and other UNIX operating systems. 
+Looking for Pidgin for OS X? Try <a href="http://www.adiumx.com/">Adium</a>!</p>
 
-<p>Pidgin is compatible with the following IM networks: 
+<p>Pidgin is compatible with the following chat networks: 
 AIM, ICQ, Google Talk, Jabber/XMPP, MSN
 Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ,
 Lotus Sametime, SILC, SIMPLE, MySpaceIM, and Zephyr.</p>
 
-<p>Pidgin supports many features of the various IM networks, such as file
-transfer, away messages, and typing notification. It also goes beyond that
-and provides many unique features. A few popular features are Buddy Pounces,
-which give the ability to notify you, send a message, play a sound, or run a
-program when a specific buddy goes away, signs online, or returns from idle;
-and plugins, consisting of text replacement, a buddy ticker, extended message
-notification, iconify on away, spell checking, tabbed conversations, and more.
-</p>
+<p>Pidgin supports almost all features of the various chat networks, such as file
+transfer, away messages, and typing notifications.  Numerous plugins also extend Pidgin's functionality above and beyond the standard features.</p>
 
-<p>Pidgin integrates well with GNOME 2 and KDE 3.1's system tray, as well as
-Windows' own system tray. This allows you to work with Pidgin without
-requiring the buddy list window to be open at all times.</p>
+<p>Pidgin integrates with the system tray on Windows, GNOME2, and KDE 3.1.</p>
 
-<p>Pidgin is under constant development, and releases are usually frequent.
-The latest news regarding Pidgin can be found on the <a href="http://planet.pidgin.im/">news</a>
-page.</p>
+<p>Pidgin is under constant development, and releases are usually frequent.</p>
 
-<h1>What is Finch?</h1>
+Pidgin is free!  And there are no ads.  All our code is open source and licensed under the GPL.
 
-<p>Finch is the text-based version of Pidgin. It supports the same IM
-networks, but you can run it in a console window. You can use it on Linux,
-BSD, and other Unixes.</p>
+<h2>Supported Languages</h2>
 
-<h1>What is libpurple?</h1>
+<?php include($_SERVER['DOCUMENT_ROOT'] . "/../inc/langdetect.inc"); ?>
 
-<p>libpurple is the programming library that powers Pidgin and Finch. It's
-responsible for connecting to all the IM networks, and for managing your
-accounts and preferences. It's written in C and makes heavy use of <a
-href="http://www.gtk.org/">Glib</a>.</p>
+<?php if (strlen($language) > 0) { ?>
+  Pidgin supports <strong><? echo $language ?></strong>!<br/>
+<?php } ?>
 
-<h1>Is all of this free?</h1>
+<ul class="condensed">
+<?php
 
-<p>We believe in freedom of communication.  To support our aspirations of
-"IM Freedom," we release Pidgin, Finch, and libpurple as free software
-under the <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General
-Public License</a> (GPL).  We believe that giving others the freedom to modify,
-share, and augment our code contributes to the goal of bringing freedom of
-communication to the Internet.  The GPL allows us to ensure that any
-modifications to our code remain free, so that everyone may enjoy their
-benefits.</p>
+foreach (array_keys($languages) as $lang){
 
-<h1>How can I help?</h1>
+echo '<li>'.$languages[$lang].'</li>';
 
-<p>We always welcome feedback and contributions.  You don't need to be a
-developer to help out, but if you are, you can help us by fixing bugs in our
-code or building new functionality into it.  Our
-<a href="http://developer.pidgin.im/">development site</a> includes numerous
-resources for getting started with libpurple, Pidgin, and Finch development.</p>
+}
 
-<p>If you are a regular user, we encourage you to let us know about any
-problems you encounter and to provide us with suggestions for improvement.
-You can do so via our 
-<a href="http://developer.pidgin.im">support system</a>,
-<a href="irc://irc.freenode.net/pidgin">IRC channel</a>,
-<a href="xmpp:devel at conference.pidgin.im/?join">XMPP conference</a>,
-<a href="/cgi-bin/mailman/listinfo/support">support mailing list</a>, or
-<a href="/cgi-bin/mailman/listinfo/devel">development mailing list</a>.  We
-also encourage users to help one another solve problems and discover new
-features using any of these media.</p>
+?>
+</ul>
 
 </div>
 </div>
============================================================
--- htdocs/download/index.php	65e1b42ee0d4f30caff26db7881656034b42a413
+++ htdocs/download/index.php	ee22a9e270c0898764974e3a5ea4705272fa2495
@@ -1,8 +1,8 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "Download Pidgin, the universal IM client";
+  $page['title'] =   "Download Pidgin, the universal chat client";
   $page['section'] = "Download";
-  $page['description'] = "Download the free Pidgin IM client.  Pidgin runs on Windows and Linux/UNIX.";
+  $page['description'] = "Download the free Pidgin chat client.  Pidgin runs on Windows and Linux/UNIX.";
   $page['subsect'] = "";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
@@ -18,7 +18,7 @@
 
 <h1>Download Pidgin</h1>
 
-<p>Download the free Pidgin IM client.  Pidgin runs on Windows and Linux/UNIX.</p>
+<p>Download the free Pidgin chat client.  Pidgin runs on Windows and Linux/UNIX.</p>
 
 <noscript>
 <ul>
============================================================
--- htdocs/download/windows/index.php	4175d09efe112c89ba59b6d92d0d64e4c7210c84
+++ htdocs/download/windows/index.php	83901667acf1c03c0e7e990a9ec17e00f0e2b78f
@@ -1,8 +1,9 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "Windows | Download";
+  $page['title'] =   "Download Pidgin for Windows";
   $page['section'] = "Download";
   $page['subsect'] = "Windows";
+  $page['description'] = "Download the free Pidgin universal chat client for Windows";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
@@ -27,11 +28,10 @@ Download Pidgin<br />
 <span class="number"><? echo $pidgin_version; ?> for Windows</span>
 </a></p>
 
-<p>This download is for the full installer for Windows, including GTK+. This is probably what you want.</p>
+</div>
 
-<p>If you already have GTK+ installed (for example, if you're running GIMP or another application using GTK+), we provide a smaller <a href="http://downloads.sourceforge.net/pidgin/pidgin-<? echo $pidgin_version; ?>-no-gtk.exe">installer without GTK+</a>. However, please be aware that we often ship updated copies of GTK+ and continuing to use an older version may cause problems with Pidgin. If you have problems, please re-install using the full installer and upgrade GTK+ before contacting us.</p>
+<p>If your GTK+ is already downloaded and up to date, we have a smaller <a href="http://downloads.sourceforge.net/pidgin/pidgin-<? echo $pidgin_version; ?>-no-gtk.exe">installer without GTK+</a>. </p>
 
-</div>
 
 </div>
 </div>
============================================================
--- htdocs/index.php	224c60c993a52e3e2ee20a749041260b49d632ff
+++ htdocs/index.php	16752a7149939ef9aedd5809adb2e3a567a6159d
@@ -1,8 +1,8 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "Pidgin, the universal IM client";
+  $page['title'] =   "Pidgin, the universal chat client";
   $page['section'] = "Home"; // Set to "home2" to enable website test
-  $page['description'] = "Pidgin is an easy to use and free IM client used by millions. Connect to AIM, Yahoo, MSN and other IM networks all at once.";
+  $page['description'] = "A free chat client used by millions. Connect easily to MSN, Google Talk, Yahoo, AIM and other chat networks all at once.";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
============================================================
--- htdocs/news/security/index.php	3fd71b3f495df860a09fdb2d900b281f13ae2066
+++ htdocs/news/security/index.php	ea2451c0d91dd37dd12c5bb1de20d7e8dde1575f
@@ -1,8 +1,9 @@
 <?
   // Update these to match the current page.
-  $page['title'] =   "Security Advisories";
+  $page['title'] =   "Pidgin Security Advisories";
   $page['section'] = "News";
   $page['subsect'] = "Security Advisories";
+  $page['description'] = "Security advisories for libpurple-based chat clients."
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
============================================================
--- htdocs/support/index.php	ca93e6886bdade7f5ad08a38a67a7b8ef788b398
+++ htdocs/support/index.php	29f849f2dd0b5cbeba1cf6276c464e0520f5494e
@@ -2,7 +2,7 @@
   // Update these to match the current page.
   $page['title'] =   "Pidgin help and support";
   $page['section'] = "Help"; // Set to "home2" to enable website test
-  $page['description'] = "Starting point for getting help and reporting problems with pidgin";
+  $page['description'] = "Starting point for getting help with the Pidgin chat client.";
 
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/header.inc");
   include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");


More information about the Commits mailing list