[Vtigercrm-commits] [vtiger-commits] r10267 - in /vtigercrm/branches/5.0.3/modules/Rss: Popup.php language/en_us.lang.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Feb 28 02:21:44 EST 2007
Author: saraj
Date: Wed Feb 28 00:21:34 2007
New Revision: 10267
Log:
i18n for RSS. Fixes #3047
Modified:
vtigercrm/branches/5.0.3/modules/Rss/Popup.php
vtigercrm/branches/5.0.3/modules/Rss/language/en_us.lang.php
Modified: vtigercrm/branches/5.0.3/modules/Rss/Popup.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Rss/Popup.php (original)
+++ vtigercrm/branches/5.0.3/modules/Rss/Popup.php Wed Feb 28 00:21:34 2007
@@ -14,6 +14,7 @@
require_once('include/utils/utils.php');
require_once('modules/Rss/Rss.php');
+global $mod_strings;
$log = LoggerManager::getLogger('rss_save');
if(isset($_REQUEST["record"]))
@@ -35,14 +36,14 @@
$result = $oRss->saveRSSUrl($newRssUrl,$setstarred);
if($result == false)
{
- echo "Unable to save the RSS Feed URL" ;
+ echo $mod_strings['UNABLE_TO_SAVE'] ;
}else
{
echo $result;
}
}else
{
- echo "Not a valid RSS Feed URL" ;
+ echo $mod_strings['NOT_A_VALID'];
}
}
Modified: vtigercrm/branches/5.0.3/modules/Rss/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Rss/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/modules/Rss/language/en_us.lang.php Wed Feb 28 00:21:34 2007
@@ -46,5 +46,7 @@
'LBL_ERROR_MSG'=>'No RSS Feeds are selected or Your Proxy Settings is not Proper',
'LBL_REGRET_MSG'=>'Sorry: It\'s not possible to reach RSS URL',
+'UNABLE_TO_SAVE'=>'Unable to save the RSS Feed URL',
+'NOT_A_VALID'=>'Not a valid RSS Feed URL',
);
?>
More information about the vtigercrm-commits
mailing list