From 038de4e037193935565a8835409b39e696ec0eaf Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 20 Aug 2018 11:26:20 +0800 Subject: [PATCH] FIX: Incorrect title on new user narrative cert. --- plugins/discourse-narrative-bot/config/locales/server.en.yml | 1 + .../lib/discourse_narrative_bot/certificate_generator.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/discourse-narrative-bot/config/locales/server.en.yml b/plugins/discourse-narrative-bot/config/locales/server.en.yml index 05a5c72b2f2..221c81d7e83 100644 --- a/plugins/discourse-narrative-bot/config/locales/server.en.yml +++ b/plugins/discourse-narrative-bot/config/locales/server.en.yml @@ -145,6 +145,7 @@ en: new_user_narrative: reset_trigger: "new user" + title: "New user narrative completetion certificate" cert_title: "In recognition of successful completion of the new user tutorial" hello: diff --git a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/certificate_generator.rb b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/certificate_generator.rb index 2fad2f84776..656505dcff7 100644 --- a/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/certificate_generator.rb +++ b/plugins/discourse-narrative-bot/lib/discourse_narrative_bot/certificate_generator.rb @@ -72,7 +72,7 @@ module DiscourseNarrativeBot - test_cert + #{I18n.t('discourse_narrative_bot.new_user_narrative.title')}