Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

developer_manual: Fix some typos (found by codespell) #17

Merged
merged 1 commit into from
Jun 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion developer_manual/android_library/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ download of files, delete rename files and folders, etc.
This library may be added to a project and seamlessly integrates any
application with Nextcloud.

The tool needed is any IDE for Android prefered IDE at the moment is Android Studio.
The tool needed is any IDE for Android preferred IDE at the moment is Android Studio.

.. toctree::
:maxdepth: 2
Expand Down
2 changes: 1 addition & 1 deletion developer_manual/app/backgroundjobs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The class for the above example would live in :file:`cron/sometask.php`. Try to

}

Dont forget to configure the cron service on the server by executing::
Don't forget to configure the cron service on the server by executing::

sudo crontab -u http -e

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/app/container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ How does it affect the request lifecycle
* If a **routes.php** file returns an array, but there is no **appname/lib/AppInfo/Application.php**, create a new \\OCP\\AppFramework\\App instance with the app id and register the routes on it

* A request is matched for the route, e.g. with the name **page#index**
* The appropriate container is being queried for the entry PageController (to keep backwards compability)
* The appropriate container is being queried for the entry PageController (to keep backwards compatibility)
* If the entry does not exist, the container is queried for OCA\\AppName\\Controller\\PageController and if no entry exists, the container tries to create the class by using reflection on its constructor parameters

How does this affect controllers
Expand Down
2 changes: 1 addition & 1 deletion developer_manual/app/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Custom attribute to database column mapping

By default each attribute will be mapped to a database column by a certain convention, e.g. **phoneNumber**
will be mapped to the column **phone_number** and vice versa. Sometimes it is needed though to map attributes to
different columns because of backwards compability. To define a custom
different columns because of backwards compatibility. To define a custom
mapping, simply override the **columnToProperty** and **propertyToColumn** methods of the entity in question:

.. code-block:: php
Expand Down
2 changes: 1 addition & 1 deletion developer_manual/app/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ This route calls the controller **OCA\\OwnNotes\\PageController->index()** metho

}

Since the route which returns the intial HTML has been taken care of, the controller which handles the AJAX requests for the notes needs to be set up. Create the following file: **ownnotes/lib/Controller/NoteController.php** with the following content:
Since the route which returns the initial HTML has been taken care of, the controller which handles the AJAX requests for the notes needs to be set up. Create the following file: **ownnotes/lib/Controller/NoteController.php** with the following content:

.. code-block:: php

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/core/ocs-share-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Update a given share. Only one value can be updated per request.
* PUT Arguments: publicUpload - (boolean) enable (true) /disable (false) public
upload for public shares.
* PUT Arguments: expireDate - (string) set a expire date for public link
shares. This argument expects a well formated date string, e.g. 'YYYY-MM-DD'
shares. This argument expects a well formatted date string, e.g. 'YYYY-MM-DD'

.. note:: Only one of the update parameters can be specified at once.

Expand Down
4 changes: 2 additions & 2 deletions developer_manual/ios_library/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ Download a file

Download an existing file on the cloud server. The info needed is the server
URL, path of the file on the server and localPath, path where the file will be
stored on the device and a boolean to indicate if is neccesary to use LIFO queue or FIFO.
stored on the device and a boolean to indicate if is necessary to use LIFO queue or FIFO.

Code example
~~~~~~~~~~~~
Expand Down Expand Up @@ -784,7 +784,7 @@ Check if file of folder is shared

Check if a specific file or folder is shared in your cloud server.

Teh info need is Path, your server URL and the Id of the item that you want.
The info need is Path, your server URL and the Id of the item that you want.


Before check an item, you have to read the shared items on the selected
Expand Down