Index: umc/js/_udm/DetailPage.js =================================================================== --- umc/js/_udm/DetailPage.js (Revision 30337) +++ umc/js/_udm/DetailPage.js (Arbeitskopie) @@ -137,6 +137,19 @@ _multiEdit: false, + _flavorToString : { + 'users/user' : 'user', + 'groups/group' : 'group', + 'networks/network' : 'network object', + 'dns/dns' : 'dns', + 'dhcp/dhcp' : 'dhcp', + 'shares/share' : 'share', + 'shares/print' : 'printer', + 'mail/mail' : 'mail object', + 'nagios/nagios' : 'nagios', + 'policies/policy' : 'policy', + } + postMixInProperties: function() { this.inherited(arguments); @@ -595,7 +608,7 @@ // buttons var buttons = umc.render.buttons([{ name: 'submit', - label: this._('Save changes'), + label: this._( 'create %s', 'this._( this._flavorToString[ this.moduleFlavor ] ), style: 'float: right' }, { name: 'close',