Changeset 13179
- Timestamp:
- 01/09/12 16:10:45 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/featurecodeadmin/functions.inc.php
r13121 r13179 112 112 $modulename = $result['modulename']; 113 113 114 $description = modgettext::_($result['featuredescription'], $modulename);114 $description = _($result['featuredescription'], $modulename); 115 115 // Just in case the translation was not found in either the module or amp, we will try to see 116 116 // if they put it in the featurecode module i18n modules/branches/2.10/featurecodeadmin/page.featurecodeadmin.php
r13091 r13179 92 92 foreach($featurecodes as $item) { 93 93 94 $moduledesc = isset($item['moduledescription']) ? modgettext::_($item['moduledescription'], $item['modulename']) : null;94 $moduledesc = isset($item['moduledescription']) ? _($item['moduledescription'], $item['modulename']) : null; 95 95 // just in case the translator put the translation in featurcodes module: 96 96 if (($moduledesc !== null) && ($moduledesc == $item['moduledescription'])) { … … 98 98 } 99 99 100 $featuredesc = modgettext::_($item['featuredescription'], $item['modulename']);100 $featuredesc = _($item['featuredescription'], $item['modulename']); 101 101 // just in case the translator put the translation in featurcodes module: 102 102 if ($featuredesc == $item['featuredescription']) {
