From 13e7f5ae5ff6ae679e52243cf67ea44ebb377d8c Mon Sep 17 00:00:00 2001 From: Thomas Seng Hin Mak Date: Sun, 12 Jun 2016 19:27:34 +0000 Subject: [PATCH] update. --- source/cards/60-i18n.md | 3 +++ source/cards/62-crm-project-requirement.md | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/cards/60-i18n.md b/source/cards/60-i18n.md index 944eacd..2177004 100644 --- a/source/cards/60-i18n.md +++ b/source/cards/60-i18n.md @@ -31,7 +31,10 @@ en: And the view becomes: +~~~
  • <%= link_to translate('nav.home'), root_path %>
  • +~~~ + By grouping the locales, it ensures we do not create conflicts with the same keys. And typing the `translate()` method every time can be annoying. That’s why rails comes with an alias `t()`: diff --git a/source/cards/62-crm-project-requirement.md b/source/cards/62-crm-project-requirement.md index e8bc75c..ddc70f0 100644 --- a/source/cards/62-crm-project-requirement.md +++ b/source/cards/62-crm-project-requirement.md @@ -4,4 +4,6 @@ title: CRM Project Requirement date: 2016-06-12 --- -![](/images/62-crm.jpg) \ No newline at end of file +![](/images/62-crm.jpg) + +Project deadline: **10th July, 2016**. \ No newline at end of file