From 3685254432f16916b529db843de2f969278fe254 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 15 Jun 2016 21:13:19 +0200 Subject: [PATCH] developer_manual: Fix some typos (found by codespell) Signed-off-by: Stefan Weil --- developer_manual/android_library/index.rst | 2 +- developer_manual/app/backgroundjobs.rst | 2 +- developer_manual/app/container.rst | 2 +- developer_manual/app/database.rst | 2 +- developer_manual/app/tutorial.rst | 2 +- developer_manual/core/ocs-share-api.rst | 2 +- developer_manual/ios_library/examples.rst | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/developer_manual/android_library/index.rst b/developer_manual/android_library/index.rst index 6bd00372096..19bf622c99a 100644 --- a/developer_manual/android_library/index.rst +++ b/developer_manual/android_library/index.rst @@ -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 diff --git a/developer_manual/app/backgroundjobs.rst b/developer_manual/app/backgroundjobs.rst index 2aa9bdf8a77..15c2f7ab90c 100644 --- a/developer_manual/app/backgroundjobs.rst +++ b/developer_manual/app/backgroundjobs.rst @@ -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 diff --git a/developer_manual/app/container.rst b/developer_manual/app/container.rst index c4afeda089f..93bcb8568c0 100644 --- a/developer_manual/app/container.rst +++ b/developer_manual/app/container.rst @@ -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 diff --git a/developer_manual/app/database.rst b/developer_manual/app/database.rst index 6f9f9cdaed7..5be71c522b9 100644 --- a/developer_manual/app/database.rst +++ b/developer_manual/app/database.rst @@ -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 diff --git a/developer_manual/app/tutorial.rst b/developer_manual/app/tutorial.rst index 36d5e185424..760cff9bf9f 100644 --- a/developer_manual/app/tutorial.rst +++ b/developer_manual/app/tutorial.rst @@ -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 diff --git a/developer_manual/core/ocs-share-api.rst b/developer_manual/core/ocs-share-api.rst index d5dd7631f19..337aa89dfe4 100644 --- a/developer_manual/core/ocs-share-api.rst +++ b/developer_manual/core/ocs-share-api.rst @@ -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. diff --git a/developer_manual/ios_library/examples.rst b/developer_manual/ios_library/examples.rst index 34db91ffce5..8a9a6e4aebb 100644 --- a/developer_manual/ios_library/examples.rst +++ b/developer_manual/ios_library/examples.rst @@ -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 ~~~~~~~~~~~~ @@ -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