qgispluginci.translation_clients.baseclient module

class qgispluginci.translation_clients.baseclient.BaseClient(config: TranslationConfig, update_string_fcn, create_project: bool = True)

Bases: object

create_language(language_code: str)
create_project()
create_resource()
delete_project()
get_project()
get_resource()
get_translation(language_code: str, path_to_output_file: str) str
list_languages()
list_resources()
login()
project_exists()
update_source_translation()
class qgispluginci.translation_clients.baseclient.TranslationConfig(api_token, organization_name, project_slug, resource_file_path, resource_slug, private, project_name, i18n_type, repository_url, source_language_code)

Bases: NamedTuple

api_token: str

Alias for field number 0

i18n_type: str

Alias for field number 7

organization_name: str

Alias for field number 1

private: bool

Alias for field number 5

project_name: str

Alias for field number 6

project_slug: str

Alias for field number 2

repository_url: str

Alias for field number 8

resource_file_path: str

Alias for field number 3

resource_slug: str

Alias for field number 4

source_language_code: str

Alias for field number 9