Skip to content
Browse files

do not want to support elgg_echo('entity') - too developer focused - …

…users should not know what an entity is
  • Loading branch information...
1 parent 16ceec3 commit d21956b54a71fe4fb722a37dcbfac900cd8883c4 @cash cash committed Mar 19, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −2 languages/en.php
  2. +2 −1 views/default/export/entity.php
View
3 languages/en.php
@@ -802,7 +802,7 @@
'total' => 'Total',
'ok' => 'OK',
- 'any' => 'Any',
+ 'any' => 'Any',
'error' => 'Error',
'other' => 'Other',
@@ -1138,7 +1138,6 @@
'entity:default:strapline' => 'Created %s by %s',
'entity:default:missingsupport:popup' => 'This entity cannot be displayed correctly. This may be because it requires support provided by a plugin that is no longer installed.',
- 'entity' => 'Entity',
'entity:delete:success' => 'Entity %s has been deleted',
'entity:delete:fail' => 'Entity %s could not be deleted',
View
3 views/default/export/entity.php
@@ -23,7 +23,8 @@
$exportable_values = $entity->getExportableValues();
?>
<div>
-<h2><?php echo elgg_echo('entity'); ?></h2>
+<?php // do not change localization string since this is deprecated view ?>
+<h2><?php echo elgg_echo('Entity'); ?></h2>
<?php
foreach ($entity as $k => $v) {
if ((in_array($k, $exportable_values)) || (elgg_is_admin_logged_in())) {

0 comments on commit d21956b

Please sign in to comment.
Something went wrong with that request. Please try again.