var DuplicateEntry = {
	
	init: function() {
		var actions = jQuery('div.actions');
		var save_button = actions.find('input[type="submit"]');
		
		var form = jQuery('form');
		var form_action = form.attr('action');
		
		var current_section = form_action.match(/publish\/([a-zA-Z0-9-_]+)\//)[1];
		
		var sections = '';

		// when duplicate_sections is not a blank array
		if (duplicate_sections != null) {
			sections = '<select style="width:auto;float:right;" id="duplicate-section">';
			for(var section in duplicate_sections) {
				selected = '';
				if (section == current_section) selected = ' selected="selected"';
				sections += '<option value="'+section+'"'+selected+'>'+duplicate_sections[section]+'</option>';
			}
			sections += '</select>';
		}
		
		save_button.after('<span id="duplicate-entry" style="display:block;float:right;"></span>');
		
		jQuery('#duplicate-entry')
		.append('<span style="float:right;display:block;width:40px;text-align:center;margin-right:-10px">or</span>')
		.append('<input type="submit" value="Save as New" id="duplicate-button" name="action[save]"/>')
		.append(sections);
		
		jQuery('#duplicate-button').click(function() {
			var action = form_action.replace(/edit\/[0-9]+\/(.+)?/, 'new/');
			if (duplicate_sections != null) {
				action = form_action.replace(/publish\/([a-zA-Z0-9-_]+)\/(.+)?/, 'publish/' + jQuery('#duplicate-section').val() + '/new/');
			}
			form.attr('action', action);
		});
	}
	
}

jQuery(document).ready(function() {
	DuplicateEntry.init();
});
@@ -1,12 +1,63 @@
+Symphony.Language.add(%7B%0A%09%22Save as New%22: false%0A%7D);%0A%0A
 var Duplicat
@@ -1081,16 +1081,43 @@
  value=%22
+' + Symphony.Language.get(%22
 Save as 
@@ -1120,16 +1120,22 @@
  as New%22
+) + '%22
  id=%22dup

Allow button to be translated