File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 4444else:
4545 locale = open(f"/app/translations/{lang}")
4646"""
47-
48- with open (f"/app/translations/{ lang } " ) as l :
49- # Load JSON local file
50- jT = json .load (l )
47+ try :
48+ with open (f"/app/translations/{ lang } " ) as l :
49+ # Load JSON local file
50+ jT = json .load (l )
51+ except :
52+ jT ["advanced" ] = "More settings" ,
53+ jT ["go_to_more_settings" ] = "Go to More settings" ,
54+ jT ["go_to_notification_settings" ] = "Go to Notification settings" ,
55+ jT ["alternative_key" ] = "The alternative keyboard shortcut is: {}" ,
56+ jT ["vertical_text" ] = "Vertical text in countdown page" ,
57+ jT ["vertical_text_desc" ] = "Displays vertical text that counts down the time on the countdown page" ,
58+ jT ["save_expander_row_state" ] = "Expand Preferences dropdown row" ,
59+ jT ["save_expander_row_state_desc" ] = "When you start the Timer application, the Preferences drop-down row will automatically expand." ,
60+ jT ["show_appicon" ] = "Show application icon in notification" ,
61+ jT ["show_appname" ] = "Show application name in notification" ,
62+ jT ["notification_text" ] = "<b>Notification</b>" ,
63+ jT ["alarm_clock_dialog_text" ] = "<b>Alarm clock dialog</b>" ,
5164
5265# import main file - source code
5366import src .main
You can’t perform that action at this time.
0 commit comments