mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
chat: Adds placeholder to input. Translate stick button
This commit is contained in:
parent
59a6f2e9b8
commit
401db8fce3
6 changed files with 12 additions and 3 deletions
|
@ -116,6 +116,8 @@
|
|||
"pad.chat": "Chat",
|
||||
"pad.chat.title": "Open the chat for this pad.",
|
||||
"pad.chat.loadmessages": "Load more messages",
|
||||
"pad.chat.stick.title": "Stick chat to screen",
|
||||
"pad.chat.writeMessage.placeholder": "Write your message here",
|
||||
|
||||
"timeslider.pageTitle": "{{appTitle}} Timeslider",
|
||||
"timeslider.toolbar.returnbutton": "Return to pad",
|
||||
|
|
|
@ -99,6 +99,8 @@
|
|||
"pad.chat": "Chat",
|
||||
"pad.chat.title": "Abrir el chat para este pad.",
|
||||
"pad.chat.loadmessages": "Cargar más mensajes",
|
||||
"pad.chat.stick.title": "Ampliar",
|
||||
"pad.chat.writeMessage.placeholder": "Enviar un mensaje",
|
||||
"timeslider.pageTitle": "{{appTitle}} Línea de tiempo",
|
||||
"timeslider.toolbar.returnbutton": "Volver al pad",
|
||||
"timeslider.toolbar.authors": "Autores:",
|
||||
|
|
|
@ -109,6 +109,8 @@
|
|||
"pad.chat": "Clavardage",
|
||||
"pad.chat.title": "Ouvrir le clavardoir de ce pad.",
|
||||
"pad.chat.loadmessages": "Charger davantage de messages",
|
||||
"pad.chat.stick.title": "Agrandir le chat",
|
||||
"pad.chat.writeMessage.placeholder": "Entrez votre message ici",
|
||||
"timeslider.pageTitle": "Historique dynamique de {{appTitle}}",
|
||||
"timeslider.toolbar.returnbutton": "Retourner au pad",
|
||||
"timeslider.toolbar.authors": "Auteurs :",
|
||||
|
|
|
@ -83,6 +83,8 @@
|
|||
"pad.chat": "Used as button text and as title of Chat window.\n{{Identical|Chat}}",
|
||||
"pad.chat.title": "Used as tooltip for the Chat button",
|
||||
"pad.chat.loadmessages": "chat messages",
|
||||
"pad.chat.stick.title": "Tooltip for the stick chat button",
|
||||
"pad.chat.writeMessage.placeholder": "Placeholder for the chat input",
|
||||
"timeslider.pageTitle": "{{doc-important|Please leave <code><nowiki>{{appTitle}}</nowiki></code> parameter untouched. It will be replaced by app title.}}\nInserted into HTML title tag.",
|
||||
"timeslider.toolbar.returnbutton": "Used as link title",
|
||||
"timeslider.toolbar.authors": "A list of Authors follows after the colon.\n{{Identical|Author}}",
|
||||
|
|
|
@ -854,7 +854,8 @@ window.html10n = (function(window, document, undefined) {
|
|||
, "value": 1
|
||||
, "placeholder": 1
|
||||
}
|
||||
if (index > 0 && str.id.substr(index + 1) in attrList) { // an attribute has been specified
|
||||
if (index > 0 && str.id.substr(index + 1) in attrList) {
|
||||
// an attribute has been specified (example: "my_translation_key.placeholder")
|
||||
prop = str.id.substr(index + 1)
|
||||
} else { // no attribute: assuming text content by default
|
||||
prop = document.body.textContent ? 'textContent' : 'innerText'
|
||||
|
|
|
@ -334,7 +334,7 @@
|
|||
<div id="chatbox">
|
||||
<div id="titlebar"><span id ="titlelabel" data-l10n-id="pad.chat"></span>
|
||||
<a id="titlecross" onClick="chat.hide();return false;">- </a>
|
||||
<a id="titlesticky" onClick="chat.stickToScreen(true);$('#options-stickychat').prop('checked', true);return false;" title="Stick chat to screen">█ </a>
|
||||
<a id="titlesticky" onClick="chat.stickToScreen(true);$('#options-stickychat').prop('checked', true);return false;" data-l10n-id="pad.chat.stick.title">█ </a>
|
||||
</div>
|
||||
<div id="chattext" class="authorColors" aria-live="polite" aria-relevant="additions removals text" role="log" aria-atomic="false">
|
||||
<div alt="loading.." id="chatloadmessagesball" class="chatloadmessages loadingAnimation" align="top"></div>
|
||||
|
@ -342,7 +342,7 @@
|
|||
</div>
|
||||
<div id="chatinputbox">
|
||||
<form>
|
||||
<input id="chatinput" type="text" maxlength="999">
|
||||
<input id="chatinput" type="text" maxlength="999" data-l10n-id="pad.chat.writeMessage.placeholder">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue