From 94c0e73ca68dd1d02e639ffd62cc6c764b40e070 Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Sat, 16 Mar 2013 12:39:20 +0100 Subject: [PATCH] extract string from commits widget --- app/assets/javascripts/admin/templates/commits.js.handlebars | 2 +- config/locales/client.en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/templates/commits.js.handlebars b/app/assets/javascripts/admin/templates/commits.js.handlebars index da4bcc8e2df..60b6d98a7ea 100644 --- a/app/assets/javascripts/admin/templates/commits.js.handlebars +++ b/app/assets/javascripts/admin/templates/commits.js.handlebars @@ -10,7 +10,7 @@
{{ commit.message }}
- by {{ commit.author.name }} - {{ timeAgo }} + {{i18n admin.commits.by}} {{ commit.author.name }} - {{ timeAgo }}
{{/each}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 3065cb9d3d0..17cfb8db2a0 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -703,6 +703,7 @@ en: commits: latest_changes: "Latest changes" + by: "by" flags: title: "Flags"