GitNex-Android-App/app/src/main/java/org/mian/gitnex
qwerty287 547e7c705d Use language provided by system (#914)
Pr tries to implement support for usage of system language.

Currently work in progress.

- [x] add option to use system language
- [x] use this by default
- [x] fix other usages of db value "locale"
- [X] fix usages of `Locale.getDefault()` (except [here](https://codeberg.org/gitnex/GitNex/src/branch/main/app/src/main/java/org/mian/gitnex/helpers/ssl/MemorizingTrustManager.java#L429))
- [ ] get language list programmaticaly
- [X] localize language names (related to #101)
- [X] move languages list to ~~Hashmap~~ TreeMap (it seems that HashMaps sort everything in a random order)

I carefully read the [contribution guidelines](https://codeberg.org/GitNex/GitNex/src/branch/main/CONTRIBUTING.md).
I'm following the code standards as defined [here](https://codeberg.org/gitnex/GitNex/wiki/Code-Standards).
By submitting this pull request, I permit GitNex to license my work under the [GNU General Public License v3](https://codeberg.org/GitNex/GitNex/src/branch/main/LICENSE).
<br>
Fixes #899

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/914
Reviewed-by: opyale <opyale@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2021-05-29 18:21:48 +02:00
..
actions Improve file type handling. (#841) 2021-03-21 16:56:54 +01:00
activities Use language provided by system (#914) 2021-05-29 18:21:48 +02:00
adapters Use language provided by system (#914) 2021-05-29 18:21:48 +02:00
clients Improve file type handling. (#841) 2021-03-21 16:56:54 +01:00
core Use language provided by system (#914) 2021-05-29 18:21:48 +02:00
database Implement multi-session notification polling and additional improvements/refactors/cleanups/fixes (#875) 2021-04-13 20:56:50 +02:00
fragments Use language provided by system (#914) 2021-05-29 18:21:48 +02:00
helpers Use language provided by system (#914) 2021-05-29 18:21:48 +02:00
notifications Implement multi-session notification polling and additional improvements/refactors/cleanups/fixes (#875) 2021-04-13 20:56:50 +02:00
viewmodels Moving ApiInterface, WebInterface and models to different repository. (#824) 2021-02-11 11:23:35 +01:00
views Improve file type handling. (#841) 2021-03-21 16:56:54 +01:00