Browse Source

Improved wording.

Martin Edenhofer 9 years ago
parent
commit
cc224ac80d

+ 1 - 1
app/assets/javascripts/app/controllers/layout_ref.coffee

@@ -2045,7 +2045,7 @@ class ChatWindowRef extends Spine.Controller
     timestamp = Date.now()
 
     if !@lastTimestamp or timestamp - @lastTimestamp > @showTimeEveryXMinutes * 60000
-      label = 'Today'
+      label = 'today'
       time = new Date().toTimeString().substr(0,5)
       if @lastAddedType is 'timestamp'
         # update last time

+ 1 - 1
app/assets/javascripts/app/views/channel/chat.jst.eco

@@ -64,7 +64,7 @@
             </div>
           </div>
           <div class="zammad-chat-body">
-            <div class="zammad-chat-timestamp"><strong><%- @T('Today') %></strong> 14:45</div>
+            <div class="zammad-chat-timestamp"><strong><%- @T('today') %></strong> 14:45</div>
             <div class="zammad-chat-message zammad-chat-message--customer">
               <span class="zammad-chat-message-body js-backgroundColor"><%- @T('Hello! I need help with your product.') %></span>
             </div>

+ 3 - 3
db/seeds.rb

@@ -796,9 +796,9 @@ Setting.create_if_not_exists(
         name: 'ticket_hook_position',
         tag: 'select',
         options: {
-          'left'  => 'Left',
-          'right' => 'Right',
-          'none'  => 'None',
+          'left'  => 'left',
+          'right' => 'right',
+          'none'  => 'none',
         },
       },
     ],