'delete the marker permanently?': gettext('delete the marker permanently?'),
'marker added to the selected playlist': gettext('marker added to the selected playlist'),
'item added to the selected playlist': gettext('item added to the selected playlist'),
- 'collection added to the selected playlist': gettext('collection added to the selected playlist')
+ 'collection added to the selected playlist': gettext('collection added to the selected playlist'),
+ 'there is at least one unsaved marker': gettext('there is at least one unsaved marker'),
+ 'If you exit the page you will loose your changes' : gettext('If you exit the page you will loose your changes')
};
function gettrans(str){
});
consolelog(markerUnsaved);
if(markerUnsaved>0){
- return 'There ' + (markerUnsaved==1 ? 'is ' : 'are ') + markerUnsaved+ ' unsaved marker'+
- (markerUnsaved==1 ? '' : 's') + '. If you exit the page you will loose your changes';
+ return gettrans('there is at least one unsaved marker') +' ('+ markerUnsaved+ '). '+
+ gettrans('If you exit the page you will loose your changes');
}
};