more missing titles in toolbar

pull/1/head
Pierre Bondoerffer 7 years ago
parent 2cc6c636db
commit 6ca6755d02
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236

@ -118,6 +118,10 @@ define(function () {
out.shareButton = 'Share'; out.shareButton = 'Share';
out.shareSuccess = 'Copied link to clipboard'; out.shareSuccess = 'Copied link to clipboard';
out.userListButton = "User list";
out.userAccountButton = "Your account";
out.newButton = 'New'; out.newButton = 'New';
out.newButtonTitle = 'Create a new pad'; out.newButtonTitle = 'Create a new pad';
out.uploadButton = 'Upload files'; out.uploadButton = 'Upload files';

@ -308,7 +308,7 @@ define([
toolbar.userlistContent = $content; toolbar.userlistContent = $content;
var $container = $('<span>', {id: 'userButtons'}); var $container = $('<span>', {id: 'userButtons', title: Messages.userListButton});
var $button = $('<button>').appendTo($container); var $button = $('<button>').appendTo($container);
$('<span>',{'class': 'buttonTitle'}).appendTo($button); $('<span>',{'class': 'buttonTitle'}).appendTo($button);
@ -446,6 +446,7 @@ define([
//$shareBlock.find('button').attr('id', 'shareButton'); //$shareBlock.find('button').attr('id', 'shareButton');
$shareBlock.find('.dropdown-bar-content').addClass(SHARE_CLS).addClass(EDITSHARE_CLS).addClass(VIEWSHARE_CLS); $shareBlock.find('.dropdown-bar-content').addClass(SHARE_CLS).addClass(EDITSHARE_CLS).addClass(VIEWSHARE_CLS);
$shareBlock.addClass('shareButton'); $shareBlock.addClass('shareButton');
$shareBlock.attr('title', Messages.shareButton);
if (hashes.editHash) { if (hashes.editHash) {
$shareBlock.find('a.editShare').click(function () { $shareBlock.find('a.editShare').click(function () {
@ -760,6 +761,7 @@ define([
var createUserAdmin = function (toolbar, config) { var createUserAdmin = function (toolbar, config) {
var $userAdmin = toolbar.$userAdmin.find('.'+USERADMIN_CLS).show(); var $userAdmin = toolbar.$userAdmin.find('.'+USERADMIN_CLS).show();
$userAdmin.attr('title', Messages.userAccountButton);
var userMenuCfg = { var userMenuCfg = {
$initBlock: $userAdmin $initBlock: $userAdmin
}; };

Loading…
Cancel
Save