i18n the image labels and title for the asset manager, manage screen.

Also, display the username instead of the userId.
This commit is contained in:
Colin Kuskie 2009-02-06 19:32:05 +00:00
parent 911e30c43c
commit 6be6c0bb11
3 changed files with 20 additions and 6 deletions

View file

@ -287,7 +287,7 @@ sub www_ajaxGetManagerPage {
revisionDate => $asset->get( "revisionDate" ),
childCount => $asset->getChildCount,
assetSize => $asset->get( 'assetSize' ),
lockedBy => $asset->get( 'isLockedBy' ),
lockedBy => ($asset->get( 'isLockedBy' ) ? $asset->lockedBy->username : ''),
actions => $asset->canEdit && $asset->canEditIfLocked,
);

View file

@ -1178,6 +1178,18 @@ Couldn't open %-s because %-s <br />
context => q{Error message in exportAsHtml for an illegal parameter.},
},
'unlocked' => {
message => q{unlocked},
lastUpdated => 0,
context => q{Asset Manager label, when an asset is unlocked.},
},
'locked by' => {
message => q{locked by},
lastUpdated => 0,
context => q{Asset Manager label, as in "locked by admin"},
},
};
1;