[Vtigercrm-commits] [vtiger-commits] r6892 - in /vtigercrm/trunk/modules/Rss: Rss.php language/en_us.lang.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Jun 5 07:49:33 EDT 2006


Author: saraj
Date: Mon Jun  5 05:49:24 2006
New Revision: 6892

Log:
i18n updated for RSS Module - ahmed

Modified:
    vtigercrm/trunk/modules/Rss/Rss.php
    vtigercrm/trunk/modules/Rss/language/en_us.lang.php

Modified: vtigercrm/trunk/modules/Rss/Rss.php
==============================================================================
--- vtigercrm/trunk/modules/Rss/Rss.php (original)
+++ vtigercrm/trunk/modules/Rss/Rss.php Mon Jun  5 05:49:24 2006
@@ -259,7 +259,7 @@
 	function getStarredRssHTML()
 	{
 		global $adb;
-		global $image_path;
+		global $image_path,$mod_strings;
 
 		$sSQL = "select * from rss where starred=1";
 		$result = $adb->query($sSQL);
@@ -275,7 +275,7 @@
 				if(count($this->rss_object) > 10)
 				{
 					$shtml .= "<tr><td colspan='3' align=\"right\">
-						<a target=\"_BLANK\" href=\"$this->rss_link\">More...</a>
+						<a target=\"_BLANK\" href=\"$this->rss_link\">".$mod_strings['LBL_MORE']."</a>
 						</td></tr>";
 				}
 			}
@@ -292,8 +292,8 @@
 		}
 		$starredhtml  = "<table class='rssTable' cellspacing='0' cellpadding='0'>
 						<tr>
-       	                <th width='75%'>Subject</th>
-           	            <th width='25%'>Sender</th>
+       	                <th width='75%'>".$mod_strings['LBL_SUBJECT']."</th>
+           	            <th width='25%'>".$mod_strings['LBL_SENDER']."</th>
                    	    </tr>".$starredhtml."</table>";
 
 		return $starredhtml;
@@ -306,7 +306,7 @@
 	function getSelectedRssHTML($rssid)
 	{
 		global $adb;
-		global $image_path;
+		global $image_path, $mod_strings;
 
 		$sSQL = "select * from rss where rssid=".$rssid;
 		$result = $adb->query($sSQL);
@@ -322,7 +322,7 @@
 				if(count($this->rss_object) > 10)
 				{
 					$shtml .= "<tr><td colspan='3' align=\"right\">
-							<a target=\"_BLANK\" href=\"$this->rss_link\">More...</a>
+							<a target=\"_BLANK\" href=\"$this->rss_link\">".$mod_strings['LBL_MORE']."</a>
 							</td></tr>";
 				}
 			}
@@ -339,8 +339,8 @@
 		}
 		$starredhtml  = "<table class='rssTable' cellspacing='0' cellpadding='0'>
 						<tr>
-       	                <th width='75%'>Subject</th>
-           	            <th width='25%'>Sender</th>
+       	                <th width='75%'>".$mod_strings['LBL_SUBJECT']."</th>
+           	            <th width='25%'>".$mod_strings['LBL_SENDER']."</th>
                    	    </tr>".$starredhtml."</table>";
 
 		return $starredhtml;

Modified: vtigercrm/trunk/modules/Rss/language/en_us.lang.php
==============================================================================
--- vtigercrm/trunk/modules/Rss/language/en_us.lang.php (original)
+++ vtigercrm/trunk/modules/Rss/language/en_us.lang.php Mon Jun  5 05:49:24 2006
@@ -32,6 +32,9 @@
 'LBL_POP_CRM_RSS'=>'Popular CRM Related Feeds',
 'LBL_ALL_RSS_FEEDS'=>'All RSS Feeds',
 
+'LBL_MORE'=>'More...',
+'LBL_SUBJECT'=>'Suject',
+'LBL_SENDER'=>'Sender',
 'LBL_CATEGORY'=>'Category :',
 'LBL_FEED'=>'Feed :',
 'LBL_ADD_RSS_FEED'=>'Add Rss Feed',





More information about the vtigercrm-commits mailing list