Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WeblateOrg/weblate
/ functions
Functions
14,162 in github.com/WeblateOrg/weblate
⨍
Functions
14,162
◇
Types & classes
2,784
↳
Endpoints
244
↓ 64 callers
Method
verify_component
( self, component: Component, translations: int, lang: str | None = None,
weblate/trans/tests/test_component.py:141
↓ 62 callers
Method
first
()
weblate/machinery/tests.py:4201
↓ 62 callers
Method
save
( self, force_insert=False, force_update=False, using=None, update_fie
weblate/billing/models.py:347
↓ 60 callers
Method
annotate
(self, queryset, prefix: str)
weblate/checks/views.py:70
↓ 60 callers
Method
create
Create a change object. Wrapper to avoid using anonymous user as change owner.
weblate/trans/models/change.py:388
↓ 60 callers
Method
get
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 callers
Method
get
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/screenshots/views.py:433
↓ 59 callers
Method
assert_html_error
( self, value: str, fluent_type: str, description: str, )
weblate/checks/tests/test_fluent_checks.py:1731
↓ 59 callers
Function
get_env_bool
Get boolean value from environment.
weblate/utils/environment.py:173
↓ 58 callers
Method
create_project
Create test project.
weblate/trans/tests/utils.py:192
↓ 58 callers
Method
open
()
weblate/static/js/date-range-picker.js:266
↓ 57 callers
Method
get_credentials
(self)
weblate/vcs/git.py:1614
↓ 57 callers
Method
get_source_plurals
Return source plurals in array.
weblate/trans/models/unit.py:1496
↓ 57 callers
Function
pgettext
(context, msgid)
weblate/static/loader-bootstrap.js:516
↓ 56 callers
Method
get_target_plurals
Return target plurals in array.
weblate/trans/models/unit.py:1536
↓ 55 callers
Method
get_filename
Return validated absolute filename.
weblate/trans/models/translation.py:481
↓ 55 callers
Function
get_site_url
Return root url of current site with domain.
weblate/utils/site.py:16
↓ 55 callers
Method
read
(self, _size: int = -1)
weblate/gitexport/tests.py:217
↓ 54 callers
Method
add_alert
(self, alert: str, noupdate: bool = False, **details)
weblate/trans/models/component.py:4081
↓ 54 callers
Method
items
(self)
weblate/trans/forms.py:1002
↓ 54 callers
Function
prefetch_stats
Fetch stats from cache for a queryset.
weblate/utils/stats.py:129
↓ 54 callers
Method
show
(self, revision: str)
weblate/vcs/base.py:1080
↓ 54 callers
Method
test_push
(self, branch: str = "")
weblate/vcs/tests/test_vcs.py:1436
↓ 52 callers
Method
get_url_path
(self)
weblate/lang/models.py:1059
↓ 51 callers
Method
create_po_new_base
(self, **kwargs)
weblate/trans/tests/utils.py:311
↓ 51 callers
Method
delete
Mock google.cloud.storage.Blob.delete.
weblate/machinery/tests.py:1576
↓ 51 callers
Function
format_translation
Nicely formats translation text possibly handling plurals or diff.
weblate/trans/templatetags/translations.py:613
↓ 50 callers
Method
check_target
(self, sources, targets, unit)
weblate/checks/tests/test_models.py:44
↓ 50 callers
Method
format_class
(self)
weblate/formats/tests/test_formats.py:580
↓ 48 callers
Method
do_upload
(self, **kwargs)
weblate/screenshots/tests.py:50
↓ 48 callers
Function
get_string
Return correctly formatted string from ttkit unit data.
weblate/trans/util.py:123
↓ 47 callers
Method
get_value
(self, key: str)
weblate/checks/flags.py:341
↓ 47 callers
Method
post
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/wladmin/views.py:838
↓ 46 callers
Method
order
(self)
weblate/trans/models/unit.py:461
↓ 46 callers
Method
prefetch
(self)
weblate/trans/models/unit.py:127
↓ 45 callers
Method
request
Perform JSON request.
weblate/machinery/base.py:314
↓ 44 callers
Method
add_project
(self)
weblate/billing/tests.py:86
↓ 44 callers
Function
weblate_check
Return Django check instance.
weblate/utils/checks.py:103
↓ 43 callers
Method
create_memory
( self, *, source: str, target: str, user: User | None = None,
weblate/api/tests.py:8034
↓ 43 callers
Method
do_search
Perform search test.
weblate/trans/tests/test_search.py:46
↓ 42 callers
Function
create_test_user
()
weblate/trans/tests/utils.py:81
↓ 42 callers
Method
get_absolute_url
(self)
weblate/workspaces/models.py:288
↓ 41 callers
Method
add_new_language
Create new language file.
weblate/trans/models/component.py:5882
↓ 41 callers
Method
add_periodic_task
(self, name: str, task: str)
weblate/addons/tests.py:6652
↓ 40 callers
Method
add_owner
(self, user: User, request=None)
weblate/workspaces/models.py:370
↓ 40 callers
Method
get_absolute_url
(self)
weblate/auth/models.py:788
↓ 40 callers
Method
get_config
Read entry from configuration.
weblate/vcs/git.py:562
↓ 40 callers
Method
get_unit
(self, flags: str, source_language: str = "en")
weblate/checks/tests/test_source_checks.py:59
↓ 40 callers
Function
render_markdown
(text: str)
weblate/utils/markdown.py:140
↓ 40 callers
Function
show_form_errors
Show all form errors as a message.
weblate/utils/views.py:765
↓ 39 callers
Method
find_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 callers
Function
format_html_code
Wrap each keyword argument in a <code> tag.
weblate/checks/fluent/utils.py:43
↓ 39 callers
Method
get_effective_setting
Return setting value after applying workspace inheritance.
weblate/trans/models/project.py:776
↓ 39 callers
Method
get_users
(self, frequency)
weblate/accounts/tests/test_notifications.py:793
↓ 39 callers
Function
parse_query
( text: str, parser: SearchParser = "unit", **context )
weblate/utils/search.py:1243
↓ 38 callers
Method
get_add_form
Return configuration form for adding new add-on.
weblate/addons/base.py:181
↓ 38 callers
Method
get_component_state
(self, component: Component)
weblate/addons/base.py:407
↓ 38 callers
Method
get_mock
( self, source: str | list[str] | None = None, flags: str | None = None )
weblate/checks/tests/test_icu_checks.py:26
↓ 38 callers
Function
pgettext_noop
(context, message)
weblate/utils/translation.py:6
↓ 37 callers
Method
create_link_existing
( self, name: str = "Test2", slug: str = "test2", **kwargs )
weblate/trans/tests/utils.py:497
↓ 37 callers
Function
format_html_join_comma
( format_string: str, args_generator: Iterable[Iterable[Any]] )
weblate/utils/html.py:430
↓ 37 callers
Method
get
(self, request: AuthenticatedHttpRequest, *args, **kwargs)
weblate/checks/views.py:290
↓ 37 callers
Method
invalidate_cache
(self)
weblate/trans/models/component.py:4550
↓ 36 callers
Method
check_source
Check source strings.
weblate/checks/base.py:204
↓ 36 callers
Method
create
( # type: ignore[override] self, user: User, request: HttpRequest | None, activity: str, **params
weblate/accounts/models.py:497
↓ 36 callers
Method
filter_access
(self, user: User)
weblate/checks/models.py:68
↓ 36 callers
Method
request
( self, method: str, credentials: GitCredentials, url: str, *,
weblate/vcs/git.py:1980
↓ 36 callers
Method
save
(self)
weblate/formats/base.py:1036
↓ 36 callers
Function
split_plural
(text: str)
weblate/trans/util.py:115
↓ 35 callers
Method
format
(self)
weblate/trans/templatetags/translations.py:511
↓ 35 callers
Function
highlight_string
Return highlights for a string.
weblate/checks/utils.py:166
↓ 35 callers
Method
parse
(self)
weblate/trans/templatetags/translations.py:164
↓ 35 callers
Method
resolve
(self, user: User)
weblate/trans/models/comment.py:141
↓ 35 callers
Method
save
(self, **kwargs: object)
weblate/accounts/tests/test_notifications.py:60
↓ 35 callers
Method
set_target
Set translation unit target.
weblate/formats/txt.py:191
↓ 35 callers
Function
validate_repo_url
(url: str)
weblate/utils/validators.py:900
↓ 34 callers
Function
check_rate_limit
Check authentication rate limit.
weblate/utils/ratelimit.py:56
↓ 34 callers
Method
create_category
Create test category.
weblate/trans/tests/utils.py:202
↓ 34 callers
Method
filter_access
(qs: ComponentQuerySet)
weblate/trans/models/project.py:1164
↓ 34 callers
Method
run
(self)
setup.py:45
↓ 34 callers
Method
select_for_update
(self)
weblate/trans/models/unit.py:483
↓ 34 callers
Method
translate
Return list of machine translations.
weblate/machinery/base.py:703
↓ 33 callers
Function
delegate
(roots, eventName, selector, handler, options)
weblate/static/editor/base.js:8
↓ 33 callers
Method
download_multiple_translations
( self, source_language, target_language, sour
weblate/machinery/tests.py:602
↓ 33 callers
Method
format_local_path
Format path for local access to the repository.
weblate/trans/tests/utils.py:208
↓ 33 callers
Method
validate_notifications
( self, count, subject: str | None = None, subjects: list[str] | None = None )
weblate/accounts/tests/test_notifications.py:215
↓ 32 callers
Method
add_unit
(self, key, force_source: bool = False)
weblate/trans/tests/test_edit.py:281
↓ 32 callers
Method
is_valid
(self)
weblate/accounts/forms.py:625
↓ 32 callers
Method
mock_queryset
(*, db: str = "default")
weblate/api/tests.py:8014
↓ 32 callers
Function
start_span
Start tracing span in all configured tracing backends.
weblate/utils/tracing.py:146
↓ 32 callers
Method
update_component_file_params
( self, component: Component | None = None, **new_file_param_kwargs: Unpack[FileFormat
weblate/trans/tests/test_file_format_params.py:45
↓ 31 callers
Method
assert_redirects_offset
Assert that offset in response matches expected one.
weblate/trans/tests/test_views.py:327
↓ 31 callers
Method
has_template
Return true if component is using template for translation.
weblate/trans/models/component.py:5648
↓ 31 callers
Function
hash_to_checksum
Convert id_hash (signed 64-bit int) to unsigned hex.
weblate/utils/hash.py:54
↓ 31 callers
Method
post_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 callers
Method
push
Push given branch to remote repository.
weblate/vcs/base.py:748
↓ 30 callers
Function
data_dir
Return path to data dir for given component.
weblate/utils/data.py:15
↓ 30 callers
Method
delete_alert
(self, alert: str)
weblate/trans/models/component.py:4055
↓ 30 callers
Function
optional_form
(form, perm_user, perm, perm_obj, **kwargs)
weblate/utils/views.py:136
↓ 30 callers
Method
order
(self)
weblate/auth/models.py:518
← previous
next →
101–200 of 14,162, ranked by callers