aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTeddy Wing2017-08-20 20:04:24 +0200
committerTeddy Wing2017-08-20 20:04:24 +0200
commite1462aecda91b990fe9d2e4531f6986234b84fb4 (patch)
tree7707102130b13ad482b815f91994ff023443c5ac /test
parent5792fb1fc1439994a4877761820d8d034b66110d (diff)
downloadsorbot-e1462aecda91b990fe9d2e4531f6986234b84fb4.tar.bz2
CliOptions: Parse the `language` option into a `Locale`
Instead of parsing `--language` as a string, parse it as a real `Locale` type. This means the parsing is taken care of for us at the CLI option handling stage instead of later on. We can thus use the language value more quickly and easily, passing it to the `translate` function, which takes a `Locale`.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions