From cc224ac80d12d32176108d281b2c87cd5fec2840 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 28 Dec 2015 00:53:45 +0100 Subject: [PATCH] Improved wording. --- app/assets/javascripts/app/controllers/layout_ref.coffee | 2 +- app/assets/javascripts/app/views/channel/chat.jst.eco | 2 +- db/seeds.rb | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/app/controllers/layout_ref.coffee b/app/assets/javascripts/app/controllers/layout_ref.coffee index 4afe730f1..4722a32a6 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.coffee +++ b/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 diff --git a/app/assets/javascripts/app/views/channel/chat.jst.eco b/app/assets/javascripts/app/views/channel/chat.jst.eco index 4c4658a4e..348b6e39d 100644 --- a/app/assets/javascripts/app/views/channel/chat.jst.eco +++ b/app/assets/javascripts/app/views/channel/chat.jst.eco @@ -64,7 +64,7 @@
-
<%- @T('Today') %> 14:45
+
<%- @T('today') %> 14:45
<%- @T('Hello! I need help with your product.') %>
diff --git a/db/seeds.rb b/db/seeds.rb index 7806788f0..56340cc45 100644 --- a/db/seeds.rb +++ b/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', }, }, ],