Hello;
I have discovered one label that does not translate in the same way as the other labels and messages. The "Add new" label in dialogs like "Add new child levels" in the "Add archival description" form.
This dialog is built with jquery, I have developed one simple solution to translate this dialog, including the next lines in js/multiRow.js
var labelArrayLangs = new Array();
labelArrayLangs['en'] = 'Add new';
labelArrayLangs['gl'] = 'Engadir novo';
labelArrayLangs['es'] = 'Agregar nuevo';
var labelAddNew = labelArrayLangs[document.getElementsByTagName('html')[0].lang];
And I have modified the line :
$('<tfoot><tr><td colspan=' + ($(this).find('tbody tr:first td').length + 1) + '><a href="#" onclick="Qubit.multiRow.addNewRow(this); return false;">Add new</a></td></tr></tfoot>').appendTo(this);
by
$('<tfoot><tr><td colspan=' + ($(this).find('tbody tr:first td').length + 1) + '><a href="#" onclick="Qubit.multiRow.addNewRow(this); return false;">'+labelAddNew+'</a></td></tr></tfoot>').appendTo(this);
But now, I wonder if this is the best way to do it for a future maintenance.
What do you think?
Best regards
Edgar Rodríguez