Commit caf13715 authored by Chris Oelmueller's avatar Chris Oelmueller

Fix some more typos

parent cf219281
......@@ -238,7 +238,7 @@ Pre commit processing of translations
-------------------------------------
In many cases you might want to automatically do some changes to translation
before it is commited to the repository. The pre commit script is exactly the
before it is committed to the repository. The pre commit script is exactly the
place to achieve this.
Before using any scripts, you need to list them in
......@@ -421,7 +421,7 @@ Machine translation setup
-------------------------
Weblate has builtin support for several machine translation services and it's
up to adminitrator to enable them. The services have different terms of use, so
up to administrator to enable them. The services have different terms of use, so
please check whether you are allowed to use them before enabling in Weblate.
The individual services are enabled using :setting:`MACHINE_TRANSLATION_SERVICES`.
......
......@@ -106,7 +106,7 @@ pushgit <project|project/subproject>
.. django-admin:: pushgit
Pushes commited changes to upstream Git repository. With ``--force-commit``
Pushes committed changes to upstream Git repository. With ``--force-commit``
it also commits any pending changes.
You can either define which project or subproject to update (eg.
......@@ -157,7 +157,7 @@ setuplang
Setups list of languages (it has own list and all defined in
translate-toolkit).
The option ``--no-update`` disables update of existing languages (only add
The option ``--no-update`` disables update of existing languages (only adds
new ones).
updatechecks <project|project/subproject>
......
......@@ -321,7 +321,7 @@ class Project(models.Model, PercentMixin, URLMixin):
def git_needs_commit(self):
'''
Checks whether there are some not commited changes.
Checks whether there are some not committed changes.
'''
for resource in self.subproject_set.all():
if resource.git_needs_commit():
......
......@@ -889,7 +889,7 @@ class SubProject(models.Model, PercentMixin, URLMixin):
def git_needs_commit(self):
'''
Checks whether there are some not commited changes.
Checks whether there are some not committed changes.
'''
status = self.git_repo.git.status('--porcelain')
if status == '':
......
......@@ -711,7 +711,7 @@ class Translation(models.Model, URLMixin):
def __configure_git(self, gitrepo, section, key, expected):
'''
Adjysts git config to ensure that section.key is set to expected.
Adjusts git config to ensure that section.key is set to expected.
'''
cnf = gitrepo.config_writer()
try:
......@@ -792,7 +792,7 @@ class Translation(models.Model, URLMixin):
def git_needs_commit(self):
'''
Checks whether there are some not commited changes.
Checks whether there are some not committed changes.
'''
status = self.git_repo.git.status('--porcelain', '--', self.filename)
if status == '':
......
......@@ -96,10 +96,10 @@ class GitNoChangeTranslationTest(GitNoChangeProjectTest):
class GitChangeProjectTest(GitNoChangeProjectTest):
'''
Testing of project git manipulations with not commited change in repo.
Testing of project git manipulations with not committed change in repo.
'''
STATUS_CHECK = 'There are some not commited changes!'
STATUS_CHECK = 'There are some not committed changes!'
def setUp(self):
super(GitChangeProjectTest, self).setUp()
......@@ -108,40 +108,40 @@ class GitChangeProjectTest(GitNoChangeProjectTest):
class GitChangeSubProjectTest(GitChangeProjectTest):
'''
Testing of subproject git manipulations with not commited change in repo.
Testing of subproject git manipulations with not committed change in repo.
'''
TEST_TYPE = 'subproject'
class GitChangeTranslationTest(GitChangeProjectTest):
'''
Testing of translation git manipulations with not commited change in repo.
Testing of translation git manipulations with not committed change in repo.
'''
TEST_TYPE = 'translation'
class GitCommitedChangeProjectTest(GitNoChangeProjectTest):
class GitCommittedChangeProjectTest(GitNoChangeProjectTest):
'''
Testing of project git manipulations with commited change in repo.
Testing of project git manipulations with committed change in repo.
'''
STATUS_CHECK = 'There are some new commits in local Git repository!'
def setUp(self):
super(GitCommitedChangeProjectTest, self).setUp()
super(GitCommittedChangeProjectTest, self).setUp()
self.change_unit(u'Ahoj světe!\n')
self.project.commit_pending(self.get_request('/'))
class GitCommitedChangeSubProjectTest(GitCommitedChangeProjectTest):
class GitCommittedChangeSubProjectTest(GitCommittedChangeProjectTest):
'''
Testing of subproject git manipulations with commited change in repo.
Testing of subproject git manipulations with committed change in repo.
'''
TEST_TYPE = 'subproject'
class GitCommitedChangeTranslationTest(GitCommitedChangeProjectTest):
class GitCommittedChangeTranslationTest(GitCommittedChangeProjectTest):
'''
Testing of translation git manipulations with commited change in repo.
Testing of translation git manipulations with committed change in repo.
'''
TEST_TYPE = 'translation'
......@@ -21,7 +21,7 @@
</ul>
{% if needs_commit %}
<p>{% trans "There are some not commited changes!" %}</p>
<p>{% trans "There are some not committed changes!" %}</p>
{% endif %}
{% if object.git_needs_merge %}
<p>{% trans "Remote Git repository needs to be merged!" %}</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment