Skip to content

Commit b24e5f1

Browse files
Landing page fixes and misc patches
1 parent 7f106bc commit b24e5f1

17 files changed

Lines changed: 515 additions & 467 deletions

File tree

i18n/ee/LC_MESSAGES/django.mo

384 Bytes
Binary file not shown.

i18n/ee/LC_MESSAGES/django.po

Lines changed: 124 additions & 113 deletions
Large diffs are not rendered by default.

i18n/es/LC_MESSAGES/django.mo

416 Bytes
Binary file not shown.

i18n/es/LC_MESSAGES/django.po

Lines changed: 124 additions & 113 deletions
Large diffs are not rendered by default.

i18n/fi/LC_MESSAGES/django.mo

408 Bytes
Binary file not shown.

i18n/fi/LC_MESSAGES/django.po

Lines changed: 124 additions & 113 deletions
Large diffs are not rendered by default.

i18n/ru/LC_MESSAGES/django.mo

560 Bytes
Binary file not shown.

i18n/ru/LC_MESSAGES/django.po

Lines changed: 124 additions & 113 deletions
Large diffs are not rendered by default.

tculink/carwings_proto/applications/dj.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def handle_dj(xml_data, files):
5252
f.write(file_content)
5353
return None
5454

55-
activate(carwings_lang_to_code(xml_data['base_info'].get('navigation_settings', {}).get('language', "uke")))
55+
activate(carwings_lang_to_code(xml_data['base_info'].get('navigation_settings', {}).get('language', '')))
5656

5757
logger.info("CWS lang: ")
5858
logger.info(get_language())

tculink/carwings_proto/autodj/custom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def handle_custom_channel(xml_data, _, channel_id, car: Car):
3434
response_chdata = NOT_AVAIL_AUTODJ_ITEM
3535

3636
send_payload = {
37-
'lang': carwings_lang_to_code(xml_data['base_info'].get('navigation_settings', {}).get('language', "uke")),
37+
'lang': carwings_lang_to_code(xml_data['base_info'].get('navigation_settings', {}).get('language', '')),
3838
'tz': xml_data['base_info'].get('navigation_settings', {}).get('time_zone', "+0.00"),
3939
'distance_unit': xml_data['base_info'].get('navigation_settings', {}).get('distance_display', "km"),
4040
'temp_unit': xml_data['base_info'].get('navigation_settings', {}).get('temperature_display', "C"),

0 commit comments

Comments
 (0)