File tree Expand file tree Collapse file tree
frontend/src/modules/assetManagement Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ define(function(require) {
5151 }
5252
5353 function loadNewAssetView ( ) {
54- Origin . trigger ( 'location:title:update' , { title : 'New Asset' } ) ;
54+ Origin . trigger ( 'location:title:update' , { title : Origin . l10n . t ( 'app.newasset' ) } ) ;
5555 Origin . sidebar . addView ( new AssetManagementNewAssetSidebarView ( ) . $el ) ;
5656 Origin . contentPane . setView ( AssetManagementNewAssetView , { model : new AssetModel } ) ;
5757 }
@@ -60,7 +60,7 @@ define(function(require) {
6060 // Fetch existing asset model
6161 ( new AssetModel ( { _id : location } ) ) . fetch ( {
6262 success : function ( model ) {
63- Origin . trigger ( 'location:title:update' , { title : 'Edit Asset' } ) ;
63+ Origin . trigger ( 'location:title:update' , { title : Origin . l10n . t ( 'app.editasset' ) } ) ;
6464 Origin . sidebar . addView ( new AssetManagementNewAssetSidebarView ( ) . $el ) ;
6565 Origin . contentPane . setView ( AssetManagementNewAssetView , { model : model } ) ;
6666 }
You can’t perform that action at this time.
0 commit comments