ソースを参照

Merge branch 'thierrytiti-Placeholder-for-translation'

JC Brand 10 年 前
コミット
2d30689a86
3 ファイル変更3 行追加1 行削除
  1. 1 0
      converse.js
  2. 1 0
      docs/CHANGES.rst
  3. 1 1
      src/templates/toolbar.html

+ 1 - 0
converse.js

@@ -1562,6 +1562,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 smiley">
+    <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>