Skip to content

Commit

Permalink
Fix some spelling errors in comments and messages
Browse files Browse the repository at this point in the history
fixes #8633

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
  • Loading branch information
sbraz authored and gunnarbeutner committed Mar 8, 2015
1 parent d414d7e commit 083c1a9
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion library/Icinga/Application/Modules/Manager.php
Expand Up @@ -252,7 +252,7 @@ public function enableModule($name)
}

/**
* Disable the given module and remove it's enabled state
* Disable the given module and remove its enabled state
*
* @param string $name The name of the module to disable
*
Expand Down
2 changes: 1 addition & 1 deletion library/Icinga/Chart/Axis.php
Expand Up @@ -16,7 +16,7 @@
/**
* Axis class for the GridChart class.
*
* Implements drawing functions for the axis and it's labels but delegates tick and label calculations
* Implements drawing functions for the axis and its labels but delegates tick and label calculations
* to the AxisUnit implementations
*
* @see GridChart
Expand Down
2 changes: 1 addition & 1 deletion library/Icinga/Web/Controller/BasePreferenceController.php
Expand Up @@ -27,7 +27,7 @@ public static function createProvidedTabs()
}

/**
* Initialize the controller and collect all tabs for it from the application and it's modules
* Initialize the controller and collect all tabs for it from the application and its modules
*
* @see ActionController::init()
*/
Expand Down
2 changes: 1 addition & 1 deletion library/Icinga/Web/Widget/AbstractWidget.php
Expand Up @@ -26,7 +26,7 @@ abstract class AbstractWidget
{
/**
* If you are going to access the current view with the view() function,
* it's instance is stored here for performance reasons.
* its instance is stored here for performance reasons.
*
* @var Zend_View_Abstract
*/
Expand Down
4 changes: 2 additions & 2 deletions library/Icinga/Web/Widget/Dashboard.php
Expand Up @@ -18,7 +18,7 @@
*
* The terminology is as follows:
* - Dashlet: A single view showing a specific url
* - Pane: Aggregates one or more dashlets on one page, displays it's title as a tab
* - Pane: Aggregates one or more dashlets on one page, displays its title as a tab
* - Dashboard: Shows all panes
*
*/
Expand Down Expand Up @@ -347,7 +347,7 @@ public function render()
}

/**
* Activates the default pane of this dashboard and returns it's name
* Activates the default pane of this dashboard and returns its name
*
* @return mixed
*/
Expand Down
6 changes: 3 additions & 3 deletions library/Icinga/Web/Widget/Tabs.php
Expand Up @@ -207,7 +207,7 @@ public function get($name)
* with tab properties or an instance of an existing Tab
*
* @param string $name The new tab name
* @param array|Tab $tab The tab itself of it's properties
* @param array|Tab $tab The tab itself of its properties
*
* @return self
*
Expand All @@ -232,7 +232,7 @@ public function add($name, $tab)
* of an existing Tab
*
* @param string $name The new tab name
* @param array|Tab $tab The tab itself of it's properties
* @param array|Tab $tab The tab itself of its properties
*
* @return self
*/
Expand Down Expand Up @@ -279,7 +279,7 @@ public function addAsDropdown($name, $tab)
}

/**
* Render the dropdown area with it's tabs and return the resulting HTML
* Render the dropdown area with its tabs and return the resulting HTML
*
* @return mixed|string
*/
Expand Down
2 changes: 1 addition & 1 deletion modules/doc/module.info
@@ -1,4 +1,4 @@
Module: doc
Version: 2.0.0
Description: Documentation module
Extracts, shows and exports documentation for Icinga Web 2 and it's modules.
Extracts, shows and exports documentation for Icinga Web 2 and its modules.
2 changes: 1 addition & 1 deletion modules/test/module.info
Expand Up @@ -2,4 +2,4 @@ Module: test
Version: 2.0.0~alpha4
Description: Translation module
This module allows developers to run (unit) tests against Icinga Web 2 and
any of it's modules. Usually you do not need to enable this.
any of its modules. Usually you do not need to enable this.
Expand Up @@ -15,7 +15,7 @@
* Domains are the global one 'icinga' and all available and enabled modules
* identified by their name.
*
* Once a PO-file is compiled it's content is used by Icinga Web 2 to display
* Once a PO-file is compiled its content is used by Icinga Web 2 to display
* messages in the configured language.
*/
class CompileCommand extends TranslationCommand
Expand Down
4 changes: 2 additions & 2 deletions modules/translation/doc/translation.md
Expand Up @@ -109,7 +109,7 @@ When you are done, just save your new settings.

To work with Icinga Web 2 .po files, you can open for e.g. the german icinga.po file which is located under
`application/locale/de_DE/LC_MESSAGES/icinga.po`, as shown below, you will get then a full list of all available
translation strings for the core application. Each module names it's translation files `%module_name%.po`. For a
translation strings for the core application. Each module names its translation files `%module_name%.po`. For a
module called __yourmodule__ the .po translation file will be named `yourmodule.po`.


Expand Down Expand Up @@ -196,4 +196,4 @@ The last step is to compile the __yourmodule.po__ to the __yourmodule.mo__:
icingacli translation compile module development ll_CC

At this moment, everywhere in the module where the `Dummy` should be translated, it would returns the translated
string `Attrappe`.
string `Attrappe`.
2 changes: 1 addition & 1 deletion modules/translation/module.info
Expand Up @@ -2,6 +2,6 @@ Module: translation
Version: 2.0.0~alpha4
Description: Translation module
This module allows developers and translators to translate Icinga Web 2 and
it's modules for multiple languages. You do not need this module to run an
its modules for multiple languages. You do not need this module to run an
internationalized web frontend. This is only for people who want to contribute
translations or translate just their own moduls.
6 changes: 3 additions & 3 deletions packages/debian/control
Expand Up @@ -24,7 +24,7 @@ Package: icingaweb-module-doc
Architecture: any
Depends: icingaweb-common
Description: Icingaweb documentation module
This module renders documentation for Icingaweb and it's modules
This module renders documentation for Icingaweb and its modules

Package: icingaweb-module-monitoring
Architecture: any
Expand All @@ -42,7 +42,7 @@ Package: icingaweb-module-test
Architecture: any
Depends: icingacli
Description: Icingaweb test module
Use this module to run unit tests against Icingaweb or any of it's modules
Use this module to run unit tests against Icingaweb or any of its modules

Package: icingaweb-module-translation
Architecture: any
Expand All @@ -54,7 +54,7 @@ Package: icingacli
Architecture: any
Depends: icingaweb-common, php5-cli (>= 5.3.2)
Description: Icinga CLI tool
The Icinga CLI allows one to access it's Icinga monitoring
The Icinga CLI allows one to access its Icinga monitoring
system from a terminal.
.
The CLI is based on the Icinga PHP libraries
Expand Down
2 changes: 1 addition & 1 deletion test/php/library/Icinga/File/Ini/IniWriterTest.php
Expand Up @@ -726,7 +726,7 @@ public function testWhetherCommentsOnSectionPropertyLinesArePreserved()
}

/**
* Write a INI-configuration string to a temporary file and return it's path
* Write a INI-configuration string to a temporary file and return its path
*
* @param string $config The config string to write
*
Expand Down

0 comments on commit 083c1a9

Please sign in to comment.