new locales
This commit is contained in:
parent
d66e98c176
commit
76ef4a35d7
|
@ -4,8 +4,8 @@ class AnnouncementLinkWidgetsController < ApplicationController
|
||||||
data = {
|
data = {
|
||||||
"tags" => [],
|
"tags" => [],
|
||||||
"extras" => {
|
"extras" => {
|
||||||
"heading-announcements" => "Announcements",
|
"heading-announcements" => t("announcement_link_widget.bulletins"),
|
||||||
"heading-links" => "Links"
|
"heading-links" => t("announcement_link_widget.related_links")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
f = File.join(Rails.root, "public" , "announcement_link_widget_#{I18n.locale.to_s}.json")
|
f = File.join(Rails.root, "public" , "announcement_link_widget_#{I18n.locale.to_s}.json")
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
en:
|
||||||
|
announcement_link_widget:
|
||||||
|
bulletins: Bulletins
|
||||||
|
related_links: Related Links
|
|
@ -0,0 +1,4 @@
|
||||||
|
zh_tw:
|
||||||
|
announcement_link_widget:
|
||||||
|
bulletins: 公告訊息
|
||||||
|
related_links: 相關連結
|
Loading…
Reference in New Issue