Skip to content

Commit

Permalink
Fix minor issues in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
yurchor authored and nijel committed Jul 24, 2020
1 parent 3a47ac4 commit 00c1a00
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions docs/admin/access.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Access control

Before Weblate 3.0, the privilege system was based on Django, but is now
specifically built for Weblate. If you are using an older version, please
the consult documentation for that version, the information here will not apply.
consult the documentation for that version, the information here will not apply.

Weblate comes with a fine grained privilege system to assign user permissions
for the whole instance, or in a limited scope.
Expand Down Expand Up @@ -157,13 +157,13 @@ Whenever a permission is checked to decide whether one is able to perform a
given action, the check is carried out according to scope, and the following
checks are performed in the order:

1. :guilabel:`Component list` are matched against component or project.
1. :guilabel:`Component list` is matched against component or project.

2. :guilabel:`Components` are matched against component or project.

3. :guilabel:`Projects` are matched against project.

As you can see, grating access to a component automatically grants user access
As you can see, granting access to a component automatically grants user access
to a containing project as well.

.. note::
Expand Down Expand Up @@ -285,7 +285,7 @@ Custom access control
---------------------

By choosing :guilabel:`Custom` as :guilabel:`Access control`, Weblate will stop
managing access for a given project, and all users and groups can be managed using the Django```
managing access for a given project, and all users and groups can be managed using the Django
admin interface. This can be used to define more complex access control, or
set up a shared access policy for all projects in a single Weblate instance. If you
want to turn this on for all projects by default, please configure the
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/addons.rst
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ Additionally, the following environment variables are available:

.. envvar:: WL_PREVIOUS_HEAD

Previous HEAD on update (available only available when running post update hook).
Previous HEAD on update (available only when running post update hook).

.. envvar:: WL_COMPONENT_SLUG

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/auth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ and provide a user to bind for the search. For example:
AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=users,dc=example,dc=com",
ldap.SCOPE_SUBTREE, "(uid=%(user)s)")
Active directory integration
Active Directory integration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/backup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Automated backup

.. versionadded:: 3.9

Weblate has built in support for creating service backups using `BorgBackup`_.
Weblate has built-in support for creating service backups using `BorgBackup`_.
Borg creates space-effective encrypted backups which can be safely stored in
the cloud. The backups can be controlled in the management interface on the
:guilabel:`Backups` tab.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/checks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Here is a list of flags currently accepted:
:ref:`check-c-sharp-format`, :ref:`check-java-format`,
:ref:`check-java-messageformat`, :ref:`check-same`.
``strict-same``
Make "Unchanged translation" avoid using built in words blacklist, see :ref:`check-same`.
Make "Unchanged translation" avoid using built-in words blacklist, see :ref:`check-same`.
``ignore-bbcode``
Skip the "BBcode markup" quality check.
``ignore-duplicate``
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/componentlists.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ URL.
.. versionchanged:: 2.13

Change dashboard settings for anonymous users from the admin interface,
altering whatdashboard is presented to unauthenticated users.
altering what dashboard is presented to unauthenticated users.

Automatic component lists
-------------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/admin/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ The following subdirectories usually exist:

.. note::

This directory has to be writable by Weblate. If if running it as uWSGI means
This directory has to be writable by Weblate. Running it as uWSGI means
the ``www-data`` user should have write access to it.

The easiest way to achieve this is to make the user the owner of the directory:
Expand Down Expand Up @@ -1478,7 +1478,7 @@ Example:
STATUS_URL
----------

The URL where your Weblate instance reports it's status.
The URL where your Weblate instance reports its status.

.. setting:: SUGGESTION_CLEANUP_DAYS

Expand Down Expand Up @@ -1582,7 +1582,7 @@ example:
.. code-block:: python
WEBLATE_ADDONS = (
# Built in addons
# Built-in addons
'weblate.addons.gettext.GenerateMoAddon',
'weblate.addons.gettext.UpdateLinguasAddon',
'weblate.addons.gettext.UpdateConfigureAddon',
Expand Down
4 changes: 2 additions & 2 deletions docs/admin/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ For testing purposes, you can use the built-in web server in Django:
.. hint::
The Django built in server serves static files only with :setting:`DEBUG`
The Django built-in server serves static files only with :setting:`DEBUG`
enabled as it is intended for development only. For production use, please
see wsgi setups in :ref:`uwsgi`, :ref:`apache`, :ref:`apache-gunicorn`, and
:ref:`static-files`.
Expand Down Expand Up @@ -1360,7 +1360,7 @@ Weblate has support for the following services:
Sentry
++++++
Weblate has built in support for `Sentry <https://sentry.io/>`_. To use
Weblate has built-in support for `Sentry <https://sentry.io/>`_. To use
it, it's enough to set :setting:`SENTRY_DSN` in the :file:`settings.py`:
.. code-block:: python
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/install/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ Changing enabled apps, checks, addons or autofixes

.. versionadded:: 3.8-5

The built in configuration of enabled checks, addons or autofixes can be
The built-in configuration of enabled checks, addons or autofixes can be
adjusted by the following variables:

.. envvar:: WEBLATE_ADD_APPS
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ Languages
.. http:put:: /api/languages/(string:language)/
Changes the lnnguage parameters.
Changes the language parameters.

:param language: Language's code
:type language: string
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Things to check prior to release:

Perform the release:

4. Create a release :command:`./scripts/create-release --tag` (see bellow for requirements)
4. Create a release :command:`./scripts/create-release --tag` (see below for requirements)

Post release manual steps:

Expand Down
4 changes: 2 additions & 2 deletions docs/formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ Laravel PHP strings

.. versionchanged:: 4.1

The Laravel PHP locazation files are supported as well with plurals:
The Laravel PHP localization files are supported as well with plurals:

.. code-block:: php
Expand Down Expand Up @@ -1385,7 +1385,7 @@ Android style
Only used in Android apps, produces language codes like
`pt-rBR`.
Java style
User by Java—mostly BCP with legacy codes for Chinese.
Used by Java—mostly BCP with legacy codes for Chinese.

.. note::

Expand Down
2 changes: 1 addition & 1 deletion docs/legal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for authentication, data-integrity and -confidentiality.
Most likely Weblate would be classified as ECCN 5D002 or 5D992 and, as
publicly available libre software, it should not be subject to EAR (see
`Encryption items NOT Subject to the EAR
<https://www.bis.doc.gov/index.php/policy-guidance/encryption/1-encryption-items-not-subject-to-the-ear>`_.
<https://www.bis.doc.gov/index.php/policy-guidance/encryption/1-encryption-items-not-subject-to-the-ear>`_).

Software components used by Weblate (listing only components related to
cryptographic function):
Expand Down
2 changes: 1 addition & 1 deletion docs/user/checks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ happens to be used.
In case specific format check is not available in Weblate, you can use
generic :ref:`check-placeholders`.

Besides checking, this will also highligh the formatting strings to easily
Besides checking, this will also highlight the formatting strings to easily
insert them into translated strings:

.. image:: /images/format-highlight.png
Expand Down
2 changes: 1 addition & 1 deletion docs/user/translating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Translation memory
Look at similar strings translated in past, see :ref:`memory`.
Glossary
Displays terms from the project glossary used in the current message.
Recent edits
Recent changes
List of people whom have changed this message recently using Weblate.
Project
Project information like instructions for translators, or information about
Expand Down
2 changes: 1 addition & 1 deletion weblate/fonts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def post(self, request, **kwargs):
except ValidationError:
messages.error(request, _("Entry by the same name already exists."))
else:
messages.error(request, _("Creation failed, please the fix errors below."))
messages.error(request, _("Creation failed, please fix the errors below."))
return self.get(request, **kwargs)


Expand Down

0 comments on commit 00c1a00

Please sign in to comment.