Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue#22 and provide zh-TW translation #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions config/locales/zh-TW.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Author: tomy shen
# Based on file: en.yml
zh-TW:
my_issues_due: "我的議題(到期)"
my_issues_today : "我的議題(今日)"
my_issues_next : "我的議題(進行中)"
issues_due: "到期議題"
issues_today : "今日議題"
issues_next : "進行中的議題"
my_issues_opened_closed_today : "我已開啟和結束的議題(今日)"
my_issues_summary : "我的議題(總結)"
my_issues_by_priority : "我的議題(按優先權)"
my_issues_by_status : "我的議題(按狀態)"
my_issues_by_tracker : "我的議題(按追蹤標簽)"
field_indicator_left_top: "指標(左上區塊)"
field_indicator_left_bottom: "指標(左下區塊)"
field_indicator_right: "指標(右區塊)"
indicator_report_issues_summary: "總結"
indicator_report_issues_opened_closed_today: "進行中/已結束(今日)"
indicator_report_issues_opened_closed: "進行中/已結束"
indicator_report_issues_opened_closed_10days: "進行中/已結束(10天)"
indicator_report_issues_opened_closed_10weeks: "進行中/已結束(10週)"
indicator_report_issues_by_priority: "按優先權"
indicator_report_issues_by_priority_all: "按優先權(全部)"
indicator_report_issues_by_status: "按狀態"
indicator_report_issues_by_status_all: "按狀態(全部)"
indicator_report_issues_by_tracker: "按追蹤標簽"
indicator_report_issues_by_tracker_all: "按追蹤標簽(全部)"
indicator_report_spent_time_10days: "耗用工時(10天)"
indicator_report_spent_time_10weeks: "耗用工時(10週)"
4 changes: 2 additions & 2 deletions db/migrate/20191221_indicator_custom_fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ def self.up
def self.down
ProjectCustomField.find_by_name('indicator_left_top').delete unless ProjectCustomField.find_by_name('indicator_left_top').nil?
ProjectCustomField.find_by_name('indicator_left_bottom').delete unless ProjectCustomField.find_by_name('indicator_left_bottom').nil?
ProjectCustomField.find_by_name('indicator_left_right').delete unless ProjectCustomField.find_by_name('indicator_right').nil?
ProjectCustomField.find_by_name('indicator_right').delete unless ProjectCustomField.find_by_name('indicator_right').nil?
end
end
end