From 86e0c7bae795c12847a3b2bb45cefe0a6175f267 Mon Sep 17 00:00:00 2001 From: spen Date: Wed, 23 Apr 2014 11:32:17 +0800 Subject: [PATCH] fix announcement show --- built_in_extensions.rb | 2 +- config/locales/ntu.en.yml | 4 ++++ config/locales/ntu.zh_tw.yml | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 config/locales/ntu.en.yml create mode 100644 config/locales/ntu.zh_tw.yml diff --git a/built_in_extensions.rb b/built_in_extensions.rb index 2e13080..b82241b 100644 --- a/built_in_extensions.rb +++ b/built_in_extensions.rb @@ -1,6 +1,6 @@ #built-in-modules gem 'archive', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-archive.git' -gem 'announcement', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-announcement.git' +gem 'announcement', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-announcement.git', :branch => 'ntu_osa' gem 'gallery', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-gallery.git' gem 'member', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-member.git' gem 'member_staff', '0.0.1', :git => 'http://gitlab.tp.rulingcom.com/root/orbit-memberstaff.git' diff --git a/config/locales/ntu.en.yml b/config/locales/ntu.en.yml new file mode 100644 index 0000000..24c7fef --- /dev/null +++ b/config/locales/ntu.en.yml @@ -0,0 +1,4 @@ +en: + + ntu: + rss_origin: Back to NTU Announcements diff --git a/config/locales/ntu.zh_tw.yml b/config/locales/ntu.zh_tw.yml new file mode 100644 index 0000000..46ee607 --- /dev/null +++ b/config/locales/ntu.zh_tw.yml @@ -0,0 +1,4 @@ +zh_tw: + + ntu: + rss_origin: 回臺大校園公佈欄