Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support i18n #1

Open
hex539 opened this issue Jan 8, 2017 · 0 comments
Open

Support i18n #1

hex539 opened this issue Jan 8, 2017 · 0 comments

Comments

@hex539
Copy link
Owner

hex539 commented Jan 8, 2017

The default language out-of-the-box if locale isn't set should be some kind of universal emoji-based theme using "πŸ•", "🎈", "βœ”", and "✘".

hex539 added a commit that referenced this issue Jan 21, 2018
By auto-detecting based on a set of common patterns from typical
installations of domjudge at various times. For the moment, any api
matching the following pattern should be picked up:

  https?://contest.example.com/(domjudge/)?(api/(v3/)?)?

For example running the console tool with...
  run scoreboards/console --url https://domjudge.bath.ac.uk resolver

...now works whereas before the API version and exact url (ending in
domjudge/api or domjudge/api/v3 for clics or domjudge3 respectively)
would have been needed too. The official format is preferred if there's
a choice, and detected by seeing if the API returns anything for
/groups, or /categories, or both.

Ugly details are returned in a ContestConfig.Source protobuf which will
be saved to disk in future and used for resuming a scoreboard later,
but at the moment all the data is unceremoniously pulled out straight
away and not checked again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant