MCPcopy Create free account

hub / github.com/WeblateOrg/weblate / functions

Functions14,162 in github.com/WeblateOrg/weblate

↓ 30 callersMethodsearch
High level wrapper for searching.
weblate/auth/models.py:521
↓ 29 callersMethodcheck_single
( self, source: str, target: str, unit: TransUnitModel, )
weblate/checks/fluent/parts.py:143
↓ 29 callersMethodcreate_acl
(self)
weblate/api/tests.py:133
↓ 29 callersFunctionget_env_list
Get list from environment.
weblate/utils/environment.py:89
↓ 28 callersMethodadd_unit
Add new unit to underlying store.
weblate/formats/ttkit.py:2618
↓ 28 callersMethodassert_source_highlights
( self, check: BaseCheck, source: str, fluent_type: str, highlights: l
weblate/checks/tests/test_fluent_checks.py:202
↓ 28 callersMethodclean
(self)
weblate/trans/models/project.py:760
↓ 28 callersMethodget_repo_link_url
(self)
weblate/trans/models/component.py:3462
↓ 28 callersMethodhas_unit
(self)
weblate/formats/multi.py:119
↓ 28 callersMethodpost
(self, request: AuthenticatedHttpRequest, **kwargs)
weblate/screenshots/views.py:387
↓ 28 callersFunctionredirect_param
Redirect to a URL with parameters.
weblate/trans/util.py:255
↓ 27 callersFunction_repo_entry
Build a cached repository entry matching the GitHub API shape.
weblate/vcs/tests/test_github_views.py:38
↓ 27 callersFunctioncheck_permission
Check whether user has an object-specific permission.
weblate/auth/permissions.py:204
↓ 27 callersMethodclean_revision_cache
(self)
weblate/vcs/base.py:662
↓ 27 callersMethodcreate_component
Create test component.
weblate/trans/tests/utils.py:280
↓ 27 callersMethoddefer_huge
(self)
weblate/trans/models/project.py:146
↓ 27 callersFunctionget_default_lang
Return object ID for English language.
weblate/lang/models.py:145
↓ 27 callersMethodis_base
Detect whether language is in given list, ignores variants.
weblate/lang/models.py:1125
↓ 27 callersFunctionlist_to_tuples
Convert a list of strings into a list of single-element tuples.
weblate/utils/html.py:438
↓ 27 callersMethodlog_error
(self, msg, *args)
weblate/trans/mixins.py:88
↓ 27 callersMethodonly
(self, *fields: str)
weblate/trans/models/project.py:135
↓ 27 callersMethodparse_file
(self, filename: str | IO[bytes], template: str | None = None)
weblate/formats/tests/test_formats.py:602
↓ 27 callersMethodprefetch
(self)
weblate/lang/models.py:631
↓ 26 callersMethodassert_checks
( self, source: str, target: str, fluent_type: str, check_state: dict[
weblate/checks/tests/test_fluent_checks.py:113
↓ 26 callersFunctiondata_path
Return path to data dir for given component.
weblate/utils/data.py:23
↓ 26 callersMethodget_description
(self, check_obj: CheckModel)
weblate/checks/fluent/parts.py:178
↓ 26 callersFunctionget_env_int
Get integer value from environment.
weblate/utils/environment.py:153
↓ 26 callersMethodsend
( self, address: str, subject: str, body: str, headers: dict[str, str] )
weblate/accounts/notifications.py:278
↓ 25 callersMethodcdn_path
(self, filename: str)
weblate/addons/cdn.py:80
↓ 25 callersMethodexecute_update
( self, component: Component, previous_head: str, changed_files: list[str] )
weblate/addons/gettext.py:1595
↓ 25 callersMethodfilter
(self, *args, **kwargs)
weblate/machinery/tests.py:4191
↓ 25 callersMethodget_api_url
(self, *_parts: str)
weblate/machinery/alibaba.py:85
↓ 25 callersFunctionget_doc_url
Return URL to documentation.
weblate/utils/docs.py:35
↓ 25 callersMethodget_filename
(self, name)
weblate/formats/txt.py:124
↓ 25 callersFunctionget_optional_path
Return path for filename expected to be present in tests.
weblate/trans/tests/utils.py:70
↓ 25 callersFunctionjoin_plural
(plurals: Iterable[str])
weblate/trans/util.py:119
↓ 25 callersMethodlog_debug
(self, message: str, *args)
weblate/addons/models.py:408
↓ 24 callersMethodcan_access_project
Check access to given project.
weblate/auth/models.py:898
↓ 24 callersMethoddo_import
Perform file import.
weblate/trans/tests/test_files.py:120
↓ 24 callersMethoddo_login
(self, *, create: Literal[False], superuser: bool = False)
weblate/trans/tests/test_selenium.py:796
↓ 24 callersMethoddo_register
(self, data=None)
weblate/accounts/tests/test_registration.py:198
↓ 24 callersFunctionescape
(text: StrOrPromise)
weblate/checks/management/commands/list_checks.py:33
↓ 24 callersMethodget_absolute_url
(self)
weblate/accounts/models.py:1008
↓ 24 callersFunctionhighlight_spans
(highlights: list[Highlight])
weblate/checks/tests/test_utils.py:25
↓ 24 callersMethodmock_response
(self, content: str = '["Ahoj světe"]')
weblate/machinery/tests.py:3492
↓ 24 callersFunctionremove_tree
(path: str | Path, ignore_errors: bool = False)
weblate/utils/files.py:77
↓ 24 callersMethodvalidate
(self)
weblate/trans/backups.py:892
↓ 23 callersMethodadd_unit
( self, translation, context: str, source: str, target: str, i
weblate/checks/tests/test_consistency_checks.py:160
↓ 23 callersMethodassert_query_sql
( self, string: str, *, sql_contains: tuple[str, ...] = (), sql_not_co
weblate/utils/tests/test_search.py:62
↓ 23 callersMethodassert_text_contains
Assert the element matching css_selector contains text.
weblate/trans/tests/test_selenium.py:338
↓ 23 callersFunctioncalculate_hash
Calculate checksum identifying translation.
weblate/utils/hash.py:38
↓ 23 callersMethodcheck_unit
( self, nplurals=3, template=None, source_info=None, file_format="xlif
weblate/formats/tests/test_exporters.py:84
↓ 23 callersMethoddetailed_count
Count total, skipped and eligible units pending and eligible for commit for the given object.
weblate/trans/models/pending.py:316
↓ 23 callersMethodload
(self)
weblate/utils/stats.py:373
↓ 22 callersFunction_consume_name
(fdp: FuzzedDataProvider, default: str, max_length: int = 24)
fuzzing/targets.py:206
↓ 22 callersFunctionaddAlert
(message, kind = "danger", delay = 3000)
weblate/static/loader-bootstrap.js:63
↓ 22 callersMethodadd_term
(self, source, target, context="")
weblate/glossary/tests.py:171
↓ 22 callersMethodcleanup_text
(self, text, unit)
weblate/machinery/googlev3.py:145
↓ 22 callersMethoddo_check
( self, sources: list[str], targets: list[str], translation, flags: str = "" )
weblate/checks/tests/test_format_checks.py:1418
↓ 22 callersFunctionget_form_data
(data: dict[str, str | int | None])
weblate/utils/views.py:751
↓ 22 callersMethodgrant_perm_to_user
( self, perm: str, group_name: str = "Permission group", project: Project | No
weblate/api/tests.py:184
↓ 22 callersFunctioninterpolate
(fmt, obj, named)
weblate/static/loader-bootstrap.js:522
↓ 22 callersMethodlogout
(self, request, extra_context=None)
weblate/wladmin/sites.py:37
↓ 22 callersMethodmake_discovery_result
( *, name: str = "", filemask: str = "", template: str = "", file_form
weblate/trans/tests/test_discovery.py:536
↓ 22 callersFunctionnospace_set
(source)
weblate/lang/data.py:271
↓ 22 callersMethodpost
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/machinery/views.py:283
↓ 22 callersMethodprojects_with_perm
(self, perm: str, explicit: bool = False)
weblate/auth/models.py:1208
↓ 22 callersMethodsave
(self, *args, **kwargs)
weblate/workspaces/models.py:234
↓ 21 callersMethodadd_team
( self, request: AuthenticatedHttpRequest | None, team: Group, *, user
weblate/auth/models.py:1269
↓ 21 callersMethodassert_registration_mailbox
(self, match: str | None = None)
weblate/trans/tests/test_views.py:157
↓ 21 callersMethodconfigure_remote
Configure remote repository.
weblate/vcs/base.py:973
↓ 21 callersMethoddo_update
Update all Git repos.
weblate/trans/models/project.py:1007
↓ 21 callersFunctionel
(tag, attrs, children)
weblate/static/js/date-range-picker.js:145
↓ 21 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/configuration/views.py:79
↓ 21 callersMethodget_details_display
(self)
weblate/trans/models/change.py:982
↓ 21 callersFunctionget_glossary_terms
Return list of term pairs for an unit.
weblate/glossary/models.py:119
↓ 21 callersMethodpost
(self, request: AuthenticatedHttpRequest, **kwargs)
weblate/auth/views.py:174
↓ 21 callersMethodprepare_missing_translation_file
( self, translation: Translation, *, target: str | None = None, commit
weblate/trans/tests/test_component.py:2108
↓ 21 callersMethodthreshold_to_similarity
Convert machinery threshold into PostgreSQL similarity threshold. Machinery threshold typical values: - 80 machinery and au
weblate/memory/models.py:253
↓ 21 callersFunctionvalidate_full_name
Validate that repository full name is suitable for endswith matching. This is to avoid using too short expression with possibly too broad ma
weblate/trans/hooks/fallback.py:47
↓ 21 callersMethodvalidate_new_context
( self, context: str, pending_contexts: Iterable[str] | None = None, )
weblate/formats/base.py:1020
↓ 21 callersFunctionvalidate_project_web
(value: str, *, project_slug: str | None = None)
weblate/utils/validators.py:462
↓ 20 callersMethodassert_backend
Check that backend has correct data.
weblate/trans/tests/test_views.py:378
↓ 20 callersMethodbackup_project
Backup whole project.
weblate/trans/backups.py:580
↓ 20 callersMethodclose
(self)
weblate/utils/html.py:145
↓ 20 callersMethodcreate_translations_immediate
Load translations from VCS synchronously. Should not be called directly, except from Celery tasks.
weblate/trans/models/component.py:4193
↓ 20 callersMethoddelete_cache
Delete general caches and DeepL-specific glossary support cache.
weblate/machinery/deepl.py:112
↓ 20 callersMethodexecute
(self, args: list[str], *, remote_op: str)
weblate/api/tests.py:2620
↓ 20 callersFunctionget_anonymous
Return an anonymous user.
weblate/auth/models.py:594
↓ 20 callersMethodget_new_base_filename
Create absolute filename for base file for new translations.
weblate/trans/models/component.py:5274
↓ 20 callersMethodperform_auto
( self, expected=1, expected_count=None, path_params=None, success=True, **kwargs )
weblate/trans/tests/test_autotranslate.py:114
↓ 20 callersMethodremove
Remove translation from the Database and VCS.
weblate/trans/models/translation.py:2260
↓ 20 callersFunctionrender_template
Render string template with Weblate context.
weblate/utils/render.py:42
↓ 20 callersMethodrun_checks
Update checks for this unit.
weblate/trans/models/unit.py:2045
↓ 20 callersMethodsave
(self, *args, **kwargs)
weblate/vcs/github.py:799
↓ 20 callersMethodvalidate_branch_name
(cls, branch: str)
weblate/vcs/git.py:213
↓ 19 callersMethod__init__
(self, *args, **kwargs)
weblate/accounts/forms.py:439
↓ 19 callersMethod_popen
Execute the command using popen.
weblate/vcs/base.py:502
↓ 19 callersMethod_run_check
(self, target: str, source="", lang="cs")
weblate/checks/tests/test_duplicate_checks.py:15
↓ 19 callersFunctionadjust_session_expiry
Adjust session expiry based on scope. - Set longer expiry for authenticated users. - Set short lived session for SAML authentication flo
weblate/accounts/utils.py:283
← previousnext →201–300 of 14,162, ranked by callers