1
0
Files
electrum/contrib
SomberNight 8b9296654e contrib/push_locale: start using crowdin v2 API (instead of v1)
-----

closes https://github.com/spesmilo/electrum/issues/6936

Note: if we used the python crowdin client (https://github.com/crowdin/crowdin-api-client-python),
we would do something like this:

```
from crowdin_api import CrowdinClient
class MyCrowdinClient(CrowdinClient):
    TOKEN = ...
client = MyCrowdinClient()
with open(locale_file_name, 'rb') as f:
    resp = client.storages.add_storage(f)
    storage_id = resp['data']['id']
client.source_files.update_file(projectId=crowdin_project_id, storageId=storage_id, fileId=crowdin_file_id)
client.translations.build_crowdin_project_translation(projectId=crowdin_project_id)
```
2021-09-14 20:17:10 +02:00
..
2021-09-13 16:20:54 +00:00
2021-07-19 17:35:40 +02:00
2020-04-12 15:34:19 +02:00
2019-07-03 16:19:26 +02:00
2021-07-19 21:27:04 +02:00