{% load humanize i18n icons permissions translations %} {% perm 'vcs.commit' object as user_can_commit_translation %} {% perm 'vcs.update' object as user_can_update_translation %} {% perm 'vcs.push' object as user_can_push_translation %} {% perm 'vcs.reset' object as user_can_reset_translation %} {% perm 'component.lock' object as user_can_lock_component %} {% include "js/git-repository-restrictions.html" %}
{% translate "This will commit any pending changes present in Weblate and not in the repository." %}
{{ push_label }}
{% if not can_push %}{% translate "Pushing is disabled because no repository push URL is configured." %}
{% endif %}{% translate "This will update the Weblate repository with the upstream changes." %}
{% translate "Locking prevents translators from doing changes." %}
{% translate "Resets Weblate’s repository to match upstream and discards any pending changes in Weblate." %} {% translate "Use when you want the upstream to be the authority for translations." %} {% translate "Only the configured branch is reset. Other local branches are kept; use Cleanup to remove them." %}
{% translate "Resets Weblate’s repository to match upstream and reapplies pending translations onto the reset repository state." %} {% translate "Use when you want Weblate to be the authority for translations." %} {% translate "Only the configured branch is reset. Other local branches are kept; use Cleanup to remove them." %} {% translate "Missing language files must already exist upstream or Weblate must be able to create them for the component." %}
{% translate "Cleanup removes all files which are not tracked by the version control from the repository." %} {% translate "For Git repositories, it also deletes all local branches other than the configured branch, including any commits that have not been pushed." %} {% translate "If switching to a branch with rewritten upstream history fails, switch to a working branch, run Cleanup, then switch back to recreate the affected branch from upstream." %}
{% translate "Forces writing all strings to the translation files." %} {% translate "Use this when repository files became out of sync with Weblate for some reason." %}
{% translate "Loads translations from the files into Weblate." %} {% translate "Use when Weblate missed some of the strings after updating the repository." %} {% translate "This might discard edits that cannot be committed because of the configured commit policy." %}
{% translate "Removes repeated strings with the same identifier from the translation file." %} {% translate "Use when the translation file contains duplicate strings that are not present in Weblate." %}
{% translate "Removes strings that are no longer present in the base file." %} {% translate "The cleanup translation files add-on can perform this automatically." %}
{% translate "Removes obsolete strings from PO files." %} {% translate "Use when obsolete entries should be pruned without enabling automatic removal on save." %}
| {% translate "Repository details" %} |
{{ component.repository_status }}
|
|---|