@@ -4,6 +4,8 | |||||
4 |
|
4 | |||
5 | "zh-TW": |
|
5 | "zh-TW": | |
6 | direction: ltr |
|
6 | direction: ltr | |
|
7 | jquery: | |||
|
8 | locale: "zh-TW" | |||
7 | date: |
|
9 | date: | |
8 | formats: |
|
10 | formats: | |
9 | # Use the strftime parameters for formats. |
|
11 | # Use the strftime parameters for formats. |
@@ -85,6 +85,16 class LayoutTest < ActionController::IntegrationTest | |||||
85 | get '/issues' |
|
85 | get '/issues' | |
86 | assert_not_include "/javascripts/i18n/jquery.ui.datepicker", response.body |
|
86 | assert_not_include "/javascripts/i18n/jquery.ui.datepicker", response.body | |
87 | end |
|
87 | end | |
|
88 | ||||
|
89 | with_settings :default_language => 'zh' do | |||
|
90 | get '/issues' | |||
|
91 | assert_include "/javascripts/i18n/jquery.ui.datepicker-zh-CN.js", response.body | |||
|
92 | end | |||
|
93 | ||||
|
94 | with_settings :default_language => 'zh-TW' do | |||
|
95 | get '/issues' | |||
|
96 | assert_include "/javascripts/i18n/jquery.ui.datepicker-zh-TW.js", response.body | |||
|
97 | end | |||
88 | end |
|
98 | end | |
89 |
|
99 | |||
90 | def test_search_field_outside_project_should_link_to_global_search |
|
100 | def test_search_field_outside_project_should_link_to_global_search |
General Comments 0
You need to be logged in to leave comments.
Login now