File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,11 @@ def test_chinese_locales_do_not_passthrough_english(self):
109109 self .ENGLISH_VALUES ,
110110 f"{ locale } .{ key } still ships English" ,
111111 )
112+ self .assertNotEqual (
113+ _TRANSLATIONS [locale ]["scroll.smart_shift" ],
114+ "SmartShift" ,
115+ f"{ locale } .scroll.smart_shift still ships English" ,
116+ )
112117
113118
114119if __name__ == "__main__" :
Original file line number Diff line number Diff line change 333333 "scroll.wheel_mode_desc" : "\u5728 \u89e6 \u89c9 \u68d8 \u8f6e \u6eda \u52a8 \u548c \u987a \u6ed1 \u98de \u8f6e \u6eda \u52a8 \u4e4b \u95f4 \u5207 \u6362 \u3002 " ,
334334 "scroll.ratchet" : "\u68d8 \u8f6e " ,
335335 "scroll.freespin" : "\u98de \u8f6e " ,
336- "scroll.smart_shift" : "SmartShift " ,
336+ "scroll.smart_shift" : "智能切换 " ,
337337 "scroll.smart_shift_desc" : "\u6eda \u8f6e \u6eda \u52a8 \u8f83 \u5feb \u65f6 \uff0c \u81ea \u52a8 \u4ece \u9010 \u884c \u6eda \u52a8 \u5207 \u6362 \u5230 \u9ad8 \u901f \u98de \u8f6e \u6a21 \u5f0f \u3002 " ,
338338 "scroll.sensitivity_value" : "\u7075 \u654f \u5ea6 " ,
339339 "scroll.scroll_mode_section" : "\u6eda \u8f6e \u6a21 \u5f0f " ,
543543 "scroll.wheel_mode_desc" : "\u5728 \u89f8 \u89ba \u68d8 \u8f2a \u6372 \u52d5 \u548c \u9806 \u6ed1 \u98db \u8f2a \u6372 \u52d5 \u4e4b \u9593 \u5207 \u63db \u3002 " ,
544544 "scroll.ratchet" : "\u68d8 \u8f2a " ,
545545 "scroll.freespin" : "\u98db \u8f2a " ,
546- "scroll.smart_shift" : "SmartShift " ,
546+ "scroll.smart_shift" : "智慧切換 " ,
547547 "scroll.smart_shift_desc" : "\u6372 \u8ef8 \u6eda \u52d5 \u8f03 \u5feb \u6642 \uff0c \u81ea \u52d5 \u5f9e \u9010 \u884c \u6372 \u52d5 \u5207 \u63db \u5230 \u9ad8 \u901f \u98db \u8f2a \u6a21 \u5f0f \u3002 " ,
548548 "scroll.sensitivity_value" : "\u9748 \u654f \u5ea6 " ,
549549 "scroll.scroll_mode_section" : "\u6eda \u8f2a \u6a21 \u5f0f " ,
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ ApplicationWindow {
2626 : (Qt .platform .os === " windows"
2727 ? " Consolas"
2828 : " monospace" )
29+ property var s: lm .strings
2930 property int currentPage: 0
3031 property Item hoveredNavItem: null
3132 property string hoveredNavText: " "
You can’t perform that action at this time.
0 commit comments