Add a title to the 'new' button in drive
parent
b9c64a526a
commit
0607c3bbf3
|
@ -145,6 +145,7 @@ define(function () {
|
|||
out.fm_filesDataName = "Tous les fichiers";
|
||||
out.fm_templateName = "Modèles";
|
||||
out.fm_newButton = "Nouveau";
|
||||
out.fm_newButtonTitle = "Créer un nouveau pad ou un dossier";
|
||||
out.fm_newFolder = "Nouveau dossier";
|
||||
out.fm_newFile = "Nouveau pad";
|
||||
out.fm_folder = "Dossier";
|
||||
|
|
|
@ -147,6 +147,7 @@ define(function () {
|
|||
out.fm_filesDataName = "All files";
|
||||
out.fm_templateName = "Templates";
|
||||
out.fm_newButton = "New";
|
||||
out.fm_newButtonTitle = "Create a new pad or folder";
|
||||
out.fm_newFolder = "New folder";
|
||||
out.fm_newFile = "New pad";
|
||||
out.fm_folder = "Folder";
|
||||
|
|
|
@ -1072,6 +1072,7 @@ define([
|
|||
|
||||
// Custom style:
|
||||
$block.find('button').addClass('btn').addClass('btn-primary').addClass('new');
|
||||
$block.find('button').attr('title', Messages.fm_newButtonTitle);
|
||||
|
||||
// Handlers
|
||||
if (isInRoot) {
|
||||
|
|
Loading…
Reference in New Issue