Parcourir la source

Add placeholder for 'Insert a smiley'

thierrytiti il y a 10 ans
Parent
commit
7a359562ad
3 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 1 0
      converse.js
  2. 1 0
      docs/CHANGES.rst
  3. 1 1
      src/templates/toolbar.html

+ 1 - 0
converse.js

@@ -1567,6 +1567,7 @@
                                 allow_otr: converse.allow_otr && !this.is_chatroom,
                                 label_clear: __('Clear all messages'),
                                 label_end_encrypted_conversation: __('End encrypted conversation'),
+                                label_insert_smiley: __('Insert a smiley'),
                                 label_hide_participants: __('Hide the list of participants'),
                                 label_refresh_encrypted_conversation: __('Refresh encrypted conversation'),
                                 label_start_call: __('Start a call'),

+ 1 - 0
docs/CHANGES.rst

@@ -8,6 +8,7 @@ Changelog
 * Bugfix. Manual login doesn't work when only websocket_url is set and not bosh_service_url. [jcbrand]
 * Bugfix. clearSessions during unload event would throw an error when not logged in. [gbonvehi]
 * #389 Allow login panel placeholders and roster item 'Name' translations. [gbonvehi]
+* Add placeholder for "Insert a smiley" translation [thierrytiti]
 
 0.9.3 (2015-05-01)
 ------------------

+ 1 - 1
src/templates/toolbar.html

@@ -1,5 +1,5 @@
 {[ if (show_emoticons)  { ]}
-    <li class="toggle-smiley icon-happy" title="Insert a smilery">
+    <li class="toggle-smiley icon-happy" title="{{label_insert_smiley}}">
         <ul>
             <li><a class="icon-smiley" href="#" data-emoticon=":)"></a></li>
             <li><a class="icon-wink" href="#" data-emoticon=";)"></a></li>