Skip to content
Permalink
Browse files

Spelling: Fix spelling of “occurrence”

  • Loading branch information
sanssecours committed Dec 16, 2019
1 parent 680d92b commit 22554a4873c7c064ebe3575759a2021d86666305
@@ -286,7 +286,7 @@ Other improvements:
- Install `elektra-qt-editor` binary so both the desktop files TryExec works
and people not starting the gui trough `kdb qt-gui` have a speaking name
in their process list.
- Replace occurences of `Elektra Editor` with `Elektra Qt Editor` so that
- Replace occurrences of `Elektra Editor` with `Elektra Qt Editor` so that
we use the same name in all places apart from the tools binary.
- Introduce Appearance Settings Window: Appearance Settings Window
contains both color settings as well as a switch to disable or enable
@@ -109,7 +109,7 @@ First there is some boilerplate, including the copyright header, include stateme
* Tag name for 'myfloatarray/#'
*
* Required arguments:
* - kdb_long_long_t index1: Replaces occurence no. 1 of # in the keyname.
* - kdb_long_long_t index1: Replaces occurrence no. 1 of # in the keyname.
*/
#define ELEKTRA_TAG_MYFLOATARRAY Myfloatarray
```
@@ -1146,7 +1146,7 @@ description = "Specify if you have a switchable backlight and if yes, can select
with extra options BacklightOnCmd and BacklightOffCmd, which would be treated
as catch up (last resort) for other types of displays which have similar features.
#
You can provide multiple occurences of this option to use more than one method."
You can provide multiple occurrences of this option to use more than one method."

[hd44780/backlightcmdon]
type = string
@@ -76,7 +76,7 @@ static inline std::string getArgDescription (const kdb::Key & key, kdb_long_long
auto indexStr = std::to_string (index);
auto metaName = "gen/arg/description/#" + std::string (indexStr.length () - 1, '_') + indexStr;
return key.hasMeta (metaName) ? key.getMeta<std::string> (metaName) :
"Replaces occurence no. " + indexStr + " of " + kind + " in the keyname.";
"Replaces occurrence no. " + indexStr + " of " + kind + " in the keyname.";
}

static void getKeyArgs (const kdb::Key & key, const size_t parentKeyParts, kainjow::mustache::list & args, std::string & fmtString)
@@ -102,7 +102,7 @@ extern "C" {
*
* Required arguments:
*
* - kdb_long_long_t index1: Replaces occurence no. 1 of # in the keyname.
* - kdb_long_long_t index1: Replaces occurrence no. 1 of # in the keyname.
*
*
*///
@@ -199,7 +199,7 @@ static inline void ELEKTRA_SET (ELEKTRA_TAG_MYDOUBLE) (Elektra * elektra,
* Get the value of key 'myfloatarray/#' (tag #ELEKTRA_TAG_MYFLOATARRAY).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param index1 Replaces occurence no. 1 of # in the keyname.
* @param index1 Replaces occurrence no. 1 of # in the keyname.
*
* @return the value of 'myfloatarray/#'.
@@ -220,7 +220,7 @@ static inline kdb_float_t ELEKTRA_GET (ELEKTRA_TAG_MYFLOATARRAY) (Elektra * elek
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param value The value of 'myfloatarray/#'.
* @param index1 Replaces occurence no. 1 of # in the keyname.
* @param index1 Replaces occurrence no. 1 of # in the keyname.
* @param error Pass a reference to an ElektraError pointer.
* Will only be set in case of an error.
*///
@@ -102,7 +102,7 @@ extern "C" {
*
* Required arguments:
*
* - kdb_long_long_t index1: Replaces occurence no. 1 of # in the keyname.
* - kdb_long_long_t index1: Replaces occurrence no. 1 of # in the keyname.
*
*
*///
@@ -199,7 +199,7 @@ static inline void ELEKTRA_SET (ELEKTRA_TAG_MYDOUBLE) (Elektra * elektra,
* Get the value of key 'myfloatarray/#' (tag #ELEKTRA_TAG_MYFLOATARRAY).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param index1 Replaces occurence no. 1 of # in the keyname.
* @param index1 Replaces occurrence no. 1 of # in the keyname.
*
* @return the value of 'myfloatarray/#'.
@@ -220,7 +220,7 @@ static inline kdb_float_t ELEKTRA_GET (ELEKTRA_TAG_MYFLOATARRAY) (Elektra * elek
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param value The value of 'myfloatarray/#'.
* @param index1 Replaces occurence no. 1 of # in the keyname.
* @param index1 Replaces occurrence no. 1 of # in the keyname.
* @param error Pass a reference to an ElektraError pointer.
* Will only be set in case of an error.
*///
@@ -98,7 +98,7 @@ extern "C" {
*
* Required arguments:
*
* - kdb_long_long_t index1: Replaces occurence no. 1 of # in the keyname.
* - kdb_long_long_t index1: Replaces occurrence no. 1 of # in the keyname.
*
*
*///
@@ -180,7 +180,7 @@ static inline kdb_double_t ELEKTRA_GET (ELEKTRA_TAG_MYDOUBLE) (Elektra * elektra
* Get the value of key 'myfloatarray/#' (tag #ELEKTRA_TAG_MYFLOATARRAY).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param index1 Replaces occurence no. 1 of # in the keyname.
* @param index1 Replaces occurrence no. 1 of # in the keyname.
*
* @return the value of 'myfloatarray/#'.
@@ -102,7 +102,7 @@ extern "C" {
*
* Required arguments:
*
* - kdb_long_long_t index1: Replaces occurence no. 1 of # in the keyname.
* - kdb_long_long_t index1: Replaces occurrence no. 1 of # in the keyname.
*
*
*///
@@ -199,7 +199,7 @@ static inline void ELEKTRA_SET (ELEKTRA_TAG_MYDOUBLE) (Elektra * elektra,
* Get the value of key 'myfloatarray/#' (tag #ELEKTRA_TAG_MYFLOATARRAY).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param index1 Replaces occurence no. 1 of # in the keyname.
* @param index1 Replaces occurrence no. 1 of # in the keyname.
*
* @return the value of 'myfloatarray/#'.
@@ -220,7 +220,7 @@ static inline kdb_float_t ELEKTRA_GET (ELEKTRA_TAG_MYFLOATARRAY) (Elektra * elek
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param value The value of 'myfloatarray/#'.
* @param index1 Replaces occurence no. 1 of # in the keyname.
* @param index1 Replaces occurrence no. 1 of # in the keyname.
* @param error Pass a reference to an ElektraError pointer.
* Will only be set in case of an error.
*///
@@ -188,7 +188,7 @@ ELEKTRA_GET_ARRAY_ELEMENT_SIGNATURE (Person *, StructPerson);
*
* Required arguments:
*
* - kdb_long_long_t index1: Replaces occurence no. 1 of # in the keyname.
* - kdb_long_long_t index1: Replaces occurrence no. 1 of # in the keyname.
*
*
*///
@@ -199,7 +199,7 @@ ELEKTRA_GET_ARRAY_ELEMENT_SIGNATURE (Person *, StructPerson);
*
* Required arguments:
*
* - const char * name1: Replaces occurence no. 1 of _ in the keyname.
* - const char * name1: Replaces occurrence no. 1 of _ in the keyname.
*
*
*///
@@ -210,7 +210,7 @@ ELEKTRA_GET_ARRAY_ELEMENT_SIGNATURE (Person *, StructPerson);
*
* Required arguments:
*
* - const char * name1: Replaces occurence no. 1 of _ in the keyname.
* - const char * name1: Replaces occurrence no. 1 of _ in the keyname.
*
*
*///
@@ -221,9 +221,9 @@ ELEKTRA_GET_ARRAY_ELEMENT_SIGNATURE (Person *, StructPerson);
*
* Required arguments:
*
* - const char * name1: Replaces occurence no. 1 of _ in the keyname.
* - const char * name1: Replaces occurrence no. 1 of _ in the keyname.
*
* - kdb_long_long_t index1: Replaces occurence no. 1 of # in the keyname.
* - kdb_long_long_t index1: Replaces occurrence no. 1 of # in the keyname.
*
*
*///
@@ -234,7 +234,7 @@ ELEKTRA_GET_ARRAY_ELEMENT_SIGNATURE (Person *, StructPerson);
*
* Required arguments:
*
* - const char * name1: Replaces occurence no. 1 of _ in the keyname.
* - const char * name1: Replaces occurrence no. 1 of _ in the keyname.
*
*
*///
@@ -245,7 +245,7 @@ ELEKTRA_GET_ARRAY_ELEMENT_SIGNATURE (Person *, StructPerson);
*
* Required arguments:
*
* - const char * name1: Replaces occurence no. 1 of _ in the keyname.
* - const char * name1: Replaces occurrence no. 1 of _ in the keyname.
*
*
*///
@@ -559,7 +559,7 @@ static inline kdb_long_long_t ELEKTRA_SIZE (ELEKTRA_TAG_PEOPLE) (Elektra * elekt
* Get the value of key 'person/_' (tag #ELEKTRA_TAG_PERSON).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
*
* @return the value of 'person/_', free with ELEKTRA_STRUCT_FREE (StructPerson).
* Pointers contained in the struct may become invalid, if the internal state of @p elektra
@@ -587,7 +587,7 @@ static inline Person * ELEKTRA_GET (ELEKTRA_TAG_PERSON) (Elektra * elektra ,
* Get the value of key 'person/_/age' (tag #ELEKTRA_TAG_PERSON_AGE).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
*
* @return the value of 'person/_/age'.
@@ -608,7 +608,7 @@ static inline kdb_short_t ELEKTRA_GET (ELEKTRA_TAG_PERSON_AGE) (Elektra * elektr
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param value The value of 'person/_/age'.
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
* @param error Pass a reference to an ElektraError pointer.
* Will only be set in case of an error.
*///
@@ -667,7 +667,7 @@ static inline Person * ELEKTRA_GET (ELEKTRA_TAG_PERSON_CHILDREN) (Elektra * elek
* Get the size of the array 'person/_/children/#' (tag #ELEKTRA_TAG_PERSON_CHILDREN).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
*///
static inline kdb_long_long_t ELEKTRA_SIZE (ELEKTRA_TAG_PERSON_CHILDREN) (Elektra * elektra ,
const char * name1 )
@@ -685,7 +685,7 @@ static inline kdb_long_long_t ELEKTRA_SIZE (ELEKTRA_TAG_PERSON_CHILDREN) (Elektr
* Get the value of key 'person/_/height' (tag #ELEKTRA_TAG_PERSON_HEIGHT).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
*
* @return the value of 'person/_/height'.
@@ -706,7 +706,7 @@ static inline kdb_float_t ELEKTRA_GET (ELEKTRA_TAG_PERSON_HEIGHT) (Elektra * ele
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param value The value of 'person/_/height'.
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
* @param error Pass a reference to an ElektraError pointer.
* Will only be set in case of an error.
*///
@@ -728,7 +728,7 @@ static inline void ELEKTRA_SET (ELEKTRA_TAG_PERSON_HEIGHT) (Elektra * elektra,
* Get the value of key 'person/_/name' (tag #ELEKTRA_TAG_PERSON_NAME).
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
*
* @return the value of 'person/_/name'.
* The returned pointer may become invalid, if the internal state of @p elektra
@@ -750,7 +750,7 @@ static inline const char * ELEKTRA_GET (ELEKTRA_TAG_PERSON_NAME) (Elektra * elek
*
* @param elektra Instance of Elektra. Create with loadConfiguration().
* @param value The value of 'person/_/name'.
* @param name1 Replaces occurence no. 1 of _ in the keyname.
* @param name1 Replaces occurrence no. 1 of _ in the keyname.
* @param error Pass a reference to an ElektraError pointer.
* Will only be set in case of an error.
*///

0 comments on commit 22554a4

Please sign in to comment.
You can’t perform that action at this time.