Fix broken elements in the new toolbar
This commit is contained in:
@@ -22,9 +22,11 @@ define(['/customize/languageSelector.js',
|
||||
messages = $.extend(true, {}, Default, map[language]);
|
||||
}
|
||||
|
||||
// messages_languages return the available translations and their name in an object :
|
||||
// { "en": "English", "fr": "French", ... }
|
||||
messages._languages = {
|
||||
'en': Default._languageName
|
||||
}
|
||||
};
|
||||
for (var l in map) {
|
||||
messages._languages[l] = map[l]._languageName || l;
|
||||
}
|
||||
|
||||
@@ -152,11 +152,14 @@
|
||||
a.cryptpad-logo {
|
||||
cursor: pointer;
|
||||
height: 3em;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: @border-radius;
|
||||
padding: 0px 5px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
&:hover {
|
||||
span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
img {
|
||||
vertical-align: middle;
|
||||
height: 3em;
|
||||
|
||||
@@ -154,12 +154,13 @@
|
||||
.cryptpad-toolbar-top .cryptpad-link a.cryptpad-logo {
|
||||
cursor: pointer;
|
||||
height: 3em;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 1px;
|
||||
padding: 0px 5px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
.cryptpad-toolbar-top .cryptpad-link a.cryptpad-logo:hover span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.cryptpad-toolbar-top .cryptpad-link a.cryptpad-logo img {
|
||||
vertical-align: middle;
|
||||
height: 3em;
|
||||
|
||||
@@ -53,6 +53,7 @@ define(function () {
|
||||
out.renameButtonTitle = 'Changer le titre utilisé par ce document dans la page d\'accueil de Cryptpad';
|
||||
out.renamePrompt = 'Quel titre souhaitez-vous utiliser pour ce document ?';
|
||||
out.renameConflict = 'Un autre document existe déjà avec le même titre';
|
||||
out.clickToEdit = 'Cliquer pour modifier';
|
||||
|
||||
out.forgetButton = 'OUBLIER';
|
||||
out.forgetButtonTitle = 'Enlever ce document de la liste en page d\'accueil';
|
||||
|
||||
@@ -53,6 +53,7 @@ define(function () {
|
||||
out.renameButtonTitle = 'Change the title under which this document is listed on your home page';
|
||||
out.renamePrompt = 'How would you like to title this pad?';
|
||||
out.renameConflict = 'Another pad already has that title';
|
||||
out.clickToEdit = "Click to edit";
|
||||
|
||||
out.forgetButton = 'FORGET';
|
||||
out.forgetButtonTitle = 'Remove this document from your home page listings';
|
||||
@@ -81,8 +82,8 @@ define(function () {
|
||||
out.readonlyUrl = 'Read only document';
|
||||
out.copyReadOnly = "Copy URL to clipboard";
|
||||
out.openReadOnly = "Open in a new tab";
|
||||
out.editing = "editing";
|
||||
out.viewing = "viewing";
|
||||
out.editing = "editor(s)";
|
||||
out.viewing = "viewer(s)";
|
||||
out.editShare = "Share";
|
||||
out.editShareTitle = "Copy the edit URL to clipboard";
|
||||
out.viewShare = "Share view URL";
|
||||
|
||||
Reference in New Issue
Block a user