MCPcopy Create free account

hub / github.com/WeblateOrg/weblate / functions

Functions14,162 in github.com/WeblateOrg/weblate

↓ 64 callersMethodverify_component
( self, component: Component, translations: int, lang: str | None = None,
weblate/trans/tests/test_component.py:141
↓ 62 callersMethodfirst
()
weblate/machinery/tests.py:4201
↓ 62 callersMethodsave
( self, force_insert=False, force_update=False, using=None, update_fie
weblate/billing/models.py:347
↓ 60 callersMethodannotate
(self, queryset, prefix: str)
weblate/checks/views.py:70
↓ 60 callersMethodcreate
Create a change object. Wrapper to avoid using anonymous user as change owner.
weblate/trans/models/change.py:388
↓ 60 callersMethodget
Get the matched text for the given regular expression. The text is fetched from the current source position, without changing
weblate/checks/fluent/inner_html.py:413
↓ 60 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/screenshots/views.py:433
↓ 59 callersMethodassert_html_error
( self, value: str, fluent_type: str, description: str, )
weblate/checks/tests/test_fluent_checks.py:1731
↓ 59 callersFunctionget_env_bool
Get boolean value from environment.
weblate/utils/environment.py:173
↓ 58 callersMethodcreate_project
Create test project.
weblate/trans/tests/utils.py:192
↓ 58 callersMethodopen
()
weblate/static/js/date-range-picker.js:266
↓ 57 callersMethodget_credentials
(self)
weblate/vcs/git.py:1614
↓ 57 callersMethodget_source_plurals
Return source plurals in array.
weblate/trans/models/unit.py:1496
↓ 57 callersFunctionpgettext
(context, msgid)
weblate/static/loader-bootstrap.js:516
↓ 56 callersMethodget_target_plurals
Return target plurals in array.
weblate/trans/models/unit.py:1536
↓ 55 callersMethodget_filename
Return validated absolute filename.
weblate/trans/models/translation.py:481
↓ 55 callersFunctionget_site_url
Return root url of current site with domain.
weblate/utils/site.py:16
↓ 55 callersMethodread
(self, _size: int = -1)
weblate/gitexport/tests.py:217
↓ 54 callersMethodadd_alert
(self, alert: str, noupdate: bool = False, **details)
weblate/trans/models/component.py:4081
↓ 54 callersMethoditems
(self)
weblate/trans/forms.py:1002
↓ 54 callersFunctionprefetch_stats
Fetch stats from cache for a queryset.
weblate/utils/stats.py:129
↓ 54 callersMethodshow
(self, revision: str)
weblate/vcs/base.py:1080
↓ 54 callersMethodtest_push
(self, branch: str = "")
weblate/vcs/tests/test_vcs.py:1436
↓ 52 callersMethodget_url_path
(self)
weblate/lang/models.py:1059
↓ 51 callersMethodcreate_po_new_base
(self, **kwargs)
weblate/trans/tests/utils.py:311
↓ 51 callersMethoddelete
Mock google.cloud.storage.Blob.delete.
weblate/machinery/tests.py:1576
↓ 51 callersFunctionformat_translation
Nicely formats translation text possibly handling plurals or diff.
weblate/trans/templatetags/translations.py:613
↓ 50 callersMethodcheck_target
(self, sources, targets, unit)
weblate/checks/tests/test_models.py:44
↓ 50 callersMethodformat_class
(self)
weblate/formats/tests/test_formats.py:580
↓ 48 callersMethoddo_upload
(self, **kwargs)
weblate/screenshots/tests.py:50
↓ 48 callersFunctionget_string
Return correctly formatted string from ttkit unit data.
weblate/trans/util.py:123
↓ 47 callersMethodget_value
(self, key: str)
weblate/checks/flags.py:341
↓ 47 callersMethodpost
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/wladmin/views.py:838
↓ 46 callersMethodorder
(self)
weblate/trans/models/unit.py:461
↓ 46 callersMethodprefetch
(self)
weblate/trans/models/unit.py:127
↓ 45 callersMethodrequest
Perform JSON request.
weblate/machinery/base.py:314
↓ 44 callersMethodadd_project
(self)
weblate/billing/tests.py:86
↓ 44 callersFunctionweblate_check
Return Django check instance.
weblate/utils/checks.py:103
↓ 43 callersMethodcreate_memory
( self, *, source: str, target: str, user: User | None = None,
weblate/api/tests.py:8034
↓ 43 callersMethoddo_search
Perform search test.
weblate/trans/tests/test_search.py:46
↓ 42 callersFunctioncreate_test_user
()
weblate/trans/tests/utils.py:81
↓ 42 callersMethodget_absolute_url
(self)
weblate/workspaces/models.py:288
↓ 41 callersMethodadd_new_language
Create new language file.
weblate/trans/models/component.py:5882
↓ 41 callersMethodadd_periodic_task
(self, name: str, task: str)
weblate/addons/tests.py:6652
↓ 40 callersMethodadd_owner
(self, user: User, request=None)
weblate/workspaces/models.py:370
↓ 40 callersMethodget_absolute_url
(self)
weblate/auth/models.py:788
↓ 40 callersMethodget_config
Read entry from configuration.
weblate/vcs/git.py:562
↓ 40 callersMethodget_unit
(self, flags: str, source_language: str = "en")
weblate/checks/tests/test_source_checks.py:59
↓ 40 callersFunctionrender_markdown
(text: str)
weblate/utils/markdown.py:140
↓ 40 callersFunctionshow_form_errors
Show all form errors as a message.
weblate/utils/views.py:765
↓ 39 callersMethodfind_unit
Find unit by context and source. Returns tuple (ttkit_unit, created) indicating whether returned unit is new one.
weblate/formats/base.py:563
↓ 39 callersFunctionformat_html_code
Wrap each keyword argument in a <code> tag.
weblate/checks/fluent/utils.py:43
↓ 39 callersMethodget_effective_setting
Return setting value after applying workspace inheritance.
weblate/trans/models/project.py:776
↓ 39 callersMethodget_users
(self, frequency)
weblate/accounts/tests/test_notifications.py:793
↓ 39 callersFunctionparse_query
( text: str, parser: SearchParser = "unit", **context )
weblate/utils/search.py:1243
↓ 38 callersMethodget_add_form
Return configuration form for adding new add-on.
weblate/addons/base.py:181
↓ 38 callersMethodget_component_state
(self, component: Component)
weblate/addons/base.py:407
↓ 38 callersMethodget_mock
( self, source: str | list[str] | None = None, flags: str | None = None )
weblate/checks/tests/test_icu_checks.py:26
↓ 38 callersFunctionpgettext_noop
(context, message)
weblate/utils/translation.py:6
↓ 37 callersMethodcreate_link_existing
( self, name: str = "Test2", slug: str = "test2", **kwargs )
weblate/trans/tests/utils.py:497
↓ 37 callersFunctionformat_html_join_comma
( format_string: str, args_generator: Iterable[Iterable[Any]] )
weblate/utils/html.py:430
↓ 37 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/checks/views.py:290
↓ 37 callersMethodinvalidate_cache
(self)
weblate/trans/models/component.py:4550
↓ 36 callersMethodcheck_source
Check source strings.
weblate/checks/base.py:204
↓ 36 callersMethodcreate
( # type: ignore[override] self, user: User, request: HttpRequest | None, activity: str, **params
weblate/accounts/models.py:497
↓ 36 callersMethodfilter_access
(self, user: User)
weblate/checks/models.py:68
↓ 36 callersMethodrequest
( self, method: str, credentials: GitCredentials, url: str, *,
weblate/vcs/git.py:1980
↓ 36 callersMethodsave
(self)
weblate/formats/base.py:1036
↓ 36 callersFunctionsplit_plural
(text: str)
weblate/trans/util.py:115
↓ 35 callersMethodformat
(self)
weblate/trans/templatetags/translations.py:511
↓ 35 callersFunctionhighlight_string
Return highlights for a string.
weblate/checks/utils.py:166
↓ 35 callersMethodparse
(self)
weblate/trans/templatetags/translations.py:164
↓ 35 callersMethodresolve
(self, user: User)
weblate/trans/models/comment.py:141
↓ 35 callersMethodsave
(self, **kwargs: object)
weblate/accounts/tests/test_notifications.py:60
↓ 35 callersMethodset_target
Set translation unit target.
weblate/formats/txt.py:191
↓ 35 callersFunctionvalidate_repo_url
(url: str)
weblate/utils/validators.py:900
↓ 34 callersFunctioncheck_rate_limit
Check authentication rate limit.
weblate/utils/ratelimit.py:56
↓ 34 callersMethodcreate_category
Create test category.
weblate/trans/tests/utils.py:202
↓ 34 callersMethodfilter_access
(qs: ComponentQuerySet)
weblate/trans/models/project.py:1164
↓ 34 callersMethodrun
(self)
setup.py:45
↓ 34 callersMethodselect_for_update
(self)
weblate/trans/models/unit.py:483
↓ 34 callersMethodtranslate
Return list of machine translations.
weblate/machinery/base.py:703
↓ 33 callersFunctiondelegate
(roots, eventName, selector, handler, options)
weblate/static/editor/base.js:8
↓ 33 callersMethoddownload_multiple_translations
( self, source_language, target_language, sour
weblate/machinery/tests.py:602
↓ 33 callersMethodformat_local_path
Format path for local access to the repository.
weblate/trans/tests/utils.py:208
↓ 33 callersMethodvalidate_notifications
( self, count, subject: str | None = None, subjects: list[str] | None = None )
weblate/accounts/tests/test_notifications.py:215
↓ 32 callersMethodadd_unit
(self, key, force_source: bool = False)
weblate/trans/tests/test_edit.py:281
↓ 32 callersMethodis_valid
(self)
weblate/accounts/forms.py:625
↓ 32 callersMethodmock_queryset
(*, db: str = "default")
weblate/api/tests.py:8014
↓ 32 callersFunctionstart_span
Start tracing span in all configured tracing backends.
weblate/utils/tracing.py:146
↓ 32 callersMethodupdate_component_file_params
( self, component: Component | None = None, **new_file_param_kwargs: Unpack[FileFormat
weblate/trans/tests/test_file_format_params.py:45
↓ 31 callersMethodassert_redirects_offset
Assert that offset in response matches expected one.
weblate/trans/tests/test_views.py:327
↓ 31 callersMethodhas_template
Return true if component is using template for translation.
weblate/trans/models/component.py:5648
↓ 31 callersFunctionhash_to_checksum
Convert id_hash (signed 64-bit int) to unsigned hex.
weblate/utils/hash.py:54
↓ 31 callersMethodpost_update
Event handler after repository is updated from upstream. :param str previous_head: HEAD of the repository prior to update, can
weblate/addons/base.py:498
↓ 31 callersMethodpush
Push given branch to remote repository.
weblate/vcs/base.py:748
↓ 30 callersFunctiondata_dir
Return path to data dir for given component.
weblate/utils/data.py:15
↓ 30 callersMethoddelete_alert
(self, alert: str)
weblate/trans/models/component.py:4055
↓ 30 callersFunctionoptional_form
(form, perm_user, perm, perm_obj, **kwargs)
weblate/utils/views.py:136
↓ 30 callersMethodorder
(self)
weblate/auth/models.py:518
← previousnext →101–200 of 14,162, ranked by callers