ucam-department-of-psychiatry / camcops

Cambridge Cognitive and Psychiatric Test Kit (CamCOPS)
Other
12 stars 8 forks source link

Enable network log on failure / Update Danish / Tool to check missing client translations #344

Closed martinburchell closed 3 months ago

martinburchell commented 3 months ago

Fixes #336 . In single user mode, if there is a network failure there is now an option to retry with the error log displayed.

I've also updated the Danish. mostly by comparison with existing translations and with Google Translate. Please check!

In addition there's a new option to the build_client_translations.py script to report any missing translations and accompanying GitHub nag.

martinburchell commented 3 months ago

@RudolfCardinal wrote this on the original ticket:

Looks great. Two trivial things:

  • bool try_again_with_log could be const bool ...
  • Task titles in translations use for format "Original [translation]" for the avoidance of doubt and the preservation of acronyms; therefore Compulsive Exercise Test should translate to Compulsive Exercise Test [kompulsiv træningstest]

and you've fixed some of my Danish too; thank you! I think that's it; otherwise good to go.