MCPcopy Index your code

hub / github.com/WeblateOrg/weblate / functions

Functions14,162 in github.com/WeblateOrg/weblate

↓ 1,999 callersMethodfilter
(self, *args, **kwargs)
weblate/memory/models.py:238
↓ 1,539 callersMethodget
( # type: ignore[override] self, request: AuthenticatedHttpRequest, *args, **kwargs )
weblate/trans/views/changes.py:136
↓ 1,276 callersFunctiongettext
(msgid)
weblate/static/loader-bootstrap.js:510
↓ 1,206 callersMethodget
Return site-wide search results as a list.
weblate/api/views.py:3970
↓ 928 callersMethodexists
(self)
weblate/utils/classloader.py:143
↓ 914 callersMethodappend
(text: str | None)
weblate/trans/models/component.py:2124
↓ 758 callersMethodcount
Count how many nodes match the given node.
weblate/checks/fluent/inner_html.py:484
↓ 719 callersMethoddo_request
( self, name, kwargs=None, *, data=None, code=200, aut
weblate/api/tests.py:147
↓ 636 callersMethodadd
(self, unit: TranslateToolkitUnit, word: str)
weblate/formats/base.py:1166
↓ 518 callersMethodsave
Save the unit. Wrapper around save to run checks or update fulltext.
weblate/trans/models/unit.py:705
↓ 491 callersMethodcreate
Create wrapper for SSH to pass custom known hosts and key.
weblate/vcs/ssh.py:603
↓ 481 callersFunctionmake_unit
Create an unsaved unit with real model objects.
weblate/trans/tests/factories.py:129
↓ 449 callersMethodpost
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/trans/views/create.py:160
↓ 388 callersMethodcreate
()
weblate/trans/tests/test_create.py:1344
↓ 334 callersMethodall
(self)
weblate/metrics/wrapper.py:89
↓ 330 callersMethodvalues_list
(self, *_args)
weblate/api/tests.py:2652
↓ 320 callersMethodhas_perm
Permission check.
weblate/auth/models.py:869
↓ 308 callersMethoddo_test
Perform single check if we have data to test.
weblate/checks/tests/test_checks.py:52
↓ 284 callersMethodcheck_format
Check for format strings.
weblate/checks/format.py:466
↓ 255 callersMethodcreate
(self, mode: str, sitewide: bool = False)
weblate/addons/tests.py:6495
↓ 254 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/accounts/views.py:276
↓ 222 callersMethodget_unit
( self, source: str = "Hello, world!\n", language: str = "cs", translation: Tr
weblate/trans/tests/test_views.py:304
↓ 217 callersMethodcreate
Create a new user.
weblate/api/views.py:766
↓ 212 callersMethodclick
Click on element and scroll it into view.
weblate/trans/tests/test_selenium.py:750
↓ 205 callersMethodget
(self, request)
weblate/vcs/views.py:304
↓ 196 callersMethodorder_by
(self, *_args)
weblate/api/tests.py:2649
↓ 192 callersMethodupdate
( self, unit: Unit, state: StringState, target: list[str], user=None )
weblate/trans/autotranslate.py:188
↓ 187 callersFunctionget_env_str
( name: str, default: str, *, required: bool = False, fallback_name: str | None = None, )
weblate/utils/environment.py:18
↓ 186 callersMethodget_url_path
(self)
weblate/trans/models/unit.py:797
↓ 176 callersMethodadd
(repo)
weblate/trans/models/component.py:2435
↓ 173 callersMethodupdate
Change the user parameters.
weblate/api/views.py:760
↓ 172 callersMethodget_absolute_url
(self)
weblate/trans/models/unit.py:781
↓ 164 callersMethodrefresh_from_db
(self)
weblate/billing/tests.py:83
↓ 163 callersMethodexclude
(self, *args, **kwargs)
weblate/machinery/tests.py:4194
↓ 158 callersMethodassert_query
( self, string: str, expected: Q | tuple[Q, Mapping[str, Expression]], *,
weblate/utils/tests/test_search.py:41
↓ 157 callersMethodvalues
(self)
weblate/utils/classloader.py:131
↓ 154 callersMethodhas_perm
(_user, permission, _obj)
weblate/trans/tests/test_bulk_suggestions.py:397
↓ 150 callersMethodrefresh_from_db
(self, *args, **kwargs)
weblate/trans/models/component.py:1574
↓ 149 callersFunctionget_test_file
Return filename of test file.
weblate/trans/tests/utils.py:76
↓ 147 callersMethodedit_unit
Do edit single unit using web interface.
weblate/trans/tests/test_edit.py:669
↓ 145 callersMethoditems
(self)
weblate/checks/flags.py:355
↓ 142 callersMethoddelete
(self, using=None, keep_parents=False)
weblate/addons/models.py:361
↓ 137 callersMethodcreate_user
(self, username, email=None, password=None, **extra_fields)
weblate/auth/models.py:462
↓ 135 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/memory/views.py:330
↓ 133 callersMethodadd_user
(self)
weblate/trans/tests/test_acl.py:221
↓ 133 callersMethodexecute
Execute command and caches its output.
weblate/vcs/base.py:617
↓ 133 callersMethodis_valid
Check whether this is a valid repository.
weblate/vcs/base.py:447
↓ 130 callersFunctionreport_error
Report errors. This can be used for store exceptions in error reporting solutions as rollbar while handling error gracefully and giving
weblate/utils/errors.py:62
↓ 129 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/auth/views.py:247
↓ 128 callersMethodwait_for_page_load
(self, timeout: int = 30)
weblate/trans/tests/test_selenium.py:175
↓ 123 callersMethodpost
(self, request: AuthenticatedHttpRequest, **kwargs)
weblate/addons/views.py:305
↓ 122 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/machinery/views.py:303
↓ 121 callersMethodtranslate
Store new translation of a unit. Propagation is currently disabled on import.
weblate/trans/models/unit.py:2249
↓ 120 callersMethodas_view
(cls, *_args, **_kwargs)
fuzzing/bootstrap.py:32
↓ 116 callersMethoddelete
(self, user=None, using=None, keep_parents=False)
weblate/trans/models/comment.py:153
↓ 115 callersMethodformat
(self)
weblate/checks/flags.py:399
↓ 115 callersMethodmake_manager
Make user a Manager.
weblate/trans/tests/test_views.py:279
↓ 114 callersMethodclear_cache
(self)
weblate/auth/models.py:800
↓ 110 callersMethodcreate_po
(self, **kwargs)
weblate/trans/tests/utils.py:284
↓ 110 callersMethodpost
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/accounts/views.py:777
↓ 105 callersMethodget_translation
(self, language: str = "cs")
weblate/trans/tests/test_views.py:301
↓ 105 callersMethodselect_related
(self, *args, **kwargs)
weblate/machinery/tests.py:4197
↓ 104 callersMethodclear
Clear local cache.
weblate/utils/stats.py:428
↓ 104 callersMethodget_machine
(self, *, use_cache: bool = False)
weblate/machinery/tests.py:364
↓ 100 callersMethodremove
(self, flags: FlagInput)
weblate/checks/flags.py:316
↓ 97 callersMethodassert_translate
( self, lang: str, word: str, expected_len: int, *, machine: B
weblate/machinery/tests.py:391
↓ 89 callersMethodcreate
(self, **kwargs: object)
weblate/accounts/tests/test_notifications.py:56
↓ 84 callersMethodget_request
Get fake request object.
weblate/trans/tests/test_views.py:291
↓ 84 callersFunctionrender
Render template with Weblate extended context.
weblate/trans/util.py:298
↓ 83 callersMethodscreenshot
Capture named full page screenshot.
weblate/trans/tests/test_selenium.py:609
↓ 82 callersMethodsave
( self, force_insert=False, force_update=False, using=None, update_fields=None )
weblate/addons/models.py:221
↓ 81 callersMethoddistinct
(self)
weblate/api/tests.py:2666
↓ 80 callersMethodcan_install
( cls, *, # ruff: ignore[unused-class-method-argument] component: Component |
weblate/addons/tests.py:203
↓ 80 callersMethodget_object
(self)
weblate/api/views.py:2308
↓ 79 callersMethodis_valid
(self)
weblate/addons/models.py:284
↓ 79 callersMethodstore
(self, key: str, value: StatItem)
weblate/utils/stats.py:433
↓ 78 callersMethodsave
(self, *args, **kwargs)
weblate/auth/models.py:747
↓ 76 callersMethodget
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/lang/views.py:152
↓ 75 callersMethodauthenticate
(self, superuser: bool = False)
weblate/api/tests.py:141
↓ 75 callersMethodcommit_pending
Commit any pending changes.
weblate/trans/models/project.py:997
↓ 74 callersMethodget
There is no GET view here.
weblate/utils/views.py:779
↓ 74 callersMethodmatch
Try and match with the given regular expression. The match is performed at the current source position. If the expressions
weblate/checks/fluent/inner_html.py:398
↓ 73 callersMethod_create_component
Create real test component.
weblate/trans/tests/utils.py:214
↓ 73 callersMethodget_model
(self)
weblate/machinery/llm.py:294
↓ 73 callersMethodlogin
Display the login form for the given HttpRequest. Essentially a copy of django.contrib.admin.sites.AdminSite.login
weblate/wladmin/sites.py:45
↓ 71 callersMethodget_unit
Find unit matching translate-toolkit unit. This is used for import, so kind of fuzzy matching is expected.
weblate/trans/models/unit.py:421
↓ 71 callersMethodlog_info
(self, msg, *args)
weblate/trans/mixins.py:80
↓ 70 callersFunctionparse_path
( request: AuthenticatedHttpRequest | None, path: list[str] | tuple[str, ...] | None, types: tuple
weblate/utils/views.py:272
↓ 69 callersMethodsave
(self, **kwargs)
weblate/api/serializers.py:3022
↓ 69 callersMethodstart
(self, tag: str, attrs: dict[str, str])
weblate/utils/html.py:139
↓ 68 callersMethodassert_target_check_fails
( self, check: BaseCheck, source: str, target: str, fluent_type: str,
weblate/checks/tests/test_fluent_checks.py:187
↓ 68 callersMethodchange_unit
( self, target: str, source: str = "Hello, world!\n", language: str = "cs",
weblate/trans/tests/test_views.py:314
↓ 67 callersMethodgetvalue
(base, attribute)
weblate/trans/models/category.py:604
↓ 67 callersMethodsave
(self, *args, **kwargs)
weblate/memory/models.py:847
↓ 66 callersMethodfix_target
Return a target translation array with a single fix applied.
weblate/trans/autofixes/base.py:39
↓ 65 callersMethodbulk_create
Bulk creation of changes. Add processing to bulk creation.
weblate/trans/models/change.py:268
↓ 65 callersMethodget_or_create
( self, defaults: Mapping[str, Any] | None = None, # ruff: ignore[any-type] **
weblate/auth/models.py:563
↓ 65 callersFunctionupdate_alerts
(component: Component, alerts: set[str] | None = None)
weblate/trans/alerts/registry.py:52
↓ 64 callersMethod__init__
(self, unit: Unit, *args, **kwargs)
weblate/trans/forms.py:579
↓ 64 callersMethodkeys
(self)
weblate/utils/classloader.py:128
next →1–100 of 14,162, ranked by callers