@@ -702,6 +702,7 | |||||
702 | one: 1 個問題 |
|
702 | one: 1 個問題 | |
703 | other: "%{count} 個問題" |
|
703 | other: "%{count} 個問題" | |
704 | label_total: 總計 |
|
704 | label_total: 總計 | |
|
705 | label_total_time: 工時總計 | |||
705 | label_permissions: 權限 |
|
706 | label_permissions: 權限 | |
706 | label_current_status: 目前狀態 |
|
707 | label_current_status: 目前狀態 | |
707 | label_new_statuses_allowed: 可變更至以下狀態 |
|
708 | label_new_statuses_allowed: 可變更至以下狀態 | |
@@ -1167,4 +1168,3 | |||||
1167 | description_date_from: 輸入起始日期 |
|
1168 | description_date_from: 輸入起始日期 | |
1168 | description_date_to: 輸入結束日期 |
|
1169 | description_date_to: 輸入結束日期 | |
1169 | text_repository_identifier_info: '僅允許使用小寫英文字母 (a-z), 阿拉伯數字, 虛線與底線。<br />一旦儲存之後, 代碼便無法再次被更改。' |
|
1170 | text_repository_identifier_info: '僅允許使用小寫英文字母 (a-z), 阿拉伯數字, 虛線與底線。<br />一旦儲存之後, 代碼便無法再次被更改。' | |
1170 | label_total_time: 總計 |
|
@@ -256,8 +256,8 class TimeEntryReportsControllerTest < ActionController::TestCase | |||||
256 | assert_equal 'text/csv; header=present', @response.content_type |
|
256 | assert_equal 'text/csv; header=present', @response.content_type | |
257 | lines = @response.body.chomp.split("\n") |
|
257 | lines = @response.body.chomp.split("\n") | |
258 | # Headers |
|
258 | # Headers | |
259 | s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xc1`\xadp" |
|
259 | s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xa4u\xae\xc9\xc1`\xadp" | |
260 | s2 = "\xc1`\xadp" |
|
260 | s2 = "\xa4u\xae\xc9\xc1`\xadp" | |
261 | if s1.respond_to?(:force_encoding) |
|
261 | if s1.respond_to?(:force_encoding) | |
262 | s1.force_encoding('Big5') |
|
262 | s1.force_encoding('Big5') | |
263 | s2.force_encoding('Big5') |
|
263 | s2.force_encoding('Big5') | |
@@ -307,7 +307,7 class TimeEntryReportsControllerTest < ActionController::TestCase | |||||
307 | assert_equal 'text/csv; header=present', @response.content_type |
|
307 | assert_equal 'text/csv; header=present', @response.content_type | |
308 | lines = @response.body.chomp.split("\n") |
|
308 | lines = @response.body.chomp.split("\n") | |
309 | # Headers |
|
309 | # Headers | |
310 | s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xc1`\xadp" |
|
310 | s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xa4u\xae\xc9\xc1`\xadp" | |
311 | if s1.respond_to?(:force_encoding) |
|
311 | if s1.respond_to?(:force_encoding) | |
312 | s1.force_encoding('Big5') |
|
312 | s1.force_encoding('Big5') | |
313 | end |
|
313 | end |
General Comments 0
You need to be logged in to leave comments.
Login now