Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Commit f6176c3

Browse files
authored
Merge pull request #1260 from sinapis-amicus/master
correct spelling errors & typos
2 parents 8accb90 + 3575eea commit f6176c3

File tree

21 files changed

+30
-30
lines changed

21 files changed

+30
-30
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Guidelines:
1212
* Report your __browser type and version__, any __JavaScript errors in the console__ and any other details like __server operating system__, __php version__, __SQL Server type and version__ etc.
1313
* Check your logs, especially your __Web Server Log__ as well as __app/logs/partkeepr.log__
1414
* Only attach the parts of the logs which are __relevant__ to the problem.
15-
* Make sure the problem is __reproducable__. If it only happened one time, you have to find out on how to reproduce it.
16-
* Explain, in simple words, __when__ the issue occured. For example: Don't write "I can't create a part". Rather write: "I clicked on Add Part, entered a Part Name, then I clicked the save button, then nothing happens. There were no JavaScript errors in the console, and no HTTP Request was sent."
15+
* Make sure the problem is __reproducible__. If it only happened one time, you have to find out on how to reproduce it.
16+
* Explain, in simple words, __when__ the issue occurred. For example: Don't write "I can't create a part". Rather write: "I clicked on Add Part, entered a Part Name, then I clicked the save button, then nothing happens. There were no JavaScript errors in the console, and no HTTP Request was sent."
1717
* Try to limit your bug report to only __essential__ steps on how to reproduce the issue.
1818
* In short, help the volunteers maintaining the project to spend as little effort as possible on the issue, so that we can have more time adding features and fixing bugs more easily.
1919

app/PartKeeprRequirements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function_exists('imagecreate'),
2424
$this->addRequirement(
2525
function_exists('imagettftext'),
2626
sprintf('GD library has no FreeType support'),
27-
sprintf('Install the FreeType extension and make sure GD extention can use it')
27+
sprintf('Install the FreeType extension and make sure GD extension can use it')
2828
);
2929

3030
$this->addRequirement(

app/config/parameters.php.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ $container->setParameter('fr3d_ldap.driver.username', null);
9696
// The password to use for LDAP queries
9797
$container->setParameter('fr3d_ldap.driver.password', null);
9898

99-
// true to require a DN for binding attemts, false otherwise
99+
// true to require a DN for binding attempts, false otherwise
100100
$container->setParameter('fr3d_ldap.driver.bindRequiresDn', false);
101101

102102
// The base DN to query for users

docker/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This image is not ready to run but serves as a basis for the other images relate
1919

2020
The docker-compose file registers multiple container services. The main PartKeepr application is called `app`. The database is a basic configuration with `mariadb:10.1` for compatibility. Third, there is a service called `initdb`. Its purpose is to restore the database and `data` folder to a pristine state. This one should normally not be used unless one wants to reset the database.
2121

22-
**Note:** There needs to be a useful default inserted into the initdb. At the moment it only clears out the database to be valid but containing no parts at all. Exactly the situtation you have after a fresh installation. Some test data might be useful here.
22+
**Note:** There needs to be a useful default inserted into the initdb. At the moment it only clears out the database to be valid but containing no parts at all. Exactly the situation you have after a fresh installation. Some test data might be useful here.
2323

2424
## The main development image
2525

@@ -54,13 +54,13 @@ This guide assumes, you have just freshly checked out the PartKeer repository fr
5454
- Call `docker-compose pull` to fetch all images from the docker hub. Alternatively you could [build the images manually](#building-the-images-manually).
5555
- Now you need to fire up the database and let it initialize. This is done by callng `docker-compose up -d db`. You can peek into the process by `docker-compose logs -f db`. Wait for a message that the server is ready for connections and listening on port 3306. Using `<Ctrl><c>`, you can exit from the logs.
5656
- Build the `initdb` image by calling `docker-compose build initdb`. This will take a few moments as it builds a docker image.
57-
By default the line `RESET_DATABASE: 'yes'` in the file `docker-compose.yml` is commented. This is to avoid accidentially removing your data. Uncomment the line. Then:
57+
By default the line `RESET_DATABASE: 'yes'` in the file `docker-compose.yml` is commented. This is to avoid accidentally removing your data. Uncomment the line. Then:
5858
- Initialize the data by calling `docker-compose up initdb`.
5959
- Recomment the line in the `docker-compose.yml` file you just uncommented.
6060
- Now, you can fire up the main container by calling `docker-compose up -d app`.
6161
- The container will initialize some dependencies. This might take some time as well. Again using `docker-compose logs -f app` you can peek into the process and with `<Ctrl><c>` you can return to the console.
6262
There might be some error messages regarding missing tables.
63-
- The partkeepr instance is avaliable at http://127.0.0.1:8082/.
63+
- The partkeepr instance is available at http://127.0.0.1:8082/.
6464
- Note: If you don't set `PARTKEEPR_FORCE_UPDATE` to `yes` in the `docker-compose` file on your first run you will get a white screen as you need to start the [setup](http://127.0.0.1:8082/setup/) once. Just accept the defaults but do not create a new set of users (keep the existing ones) and select HTTP Basic authentication.
6565
- You may or may or not want to set up a cron job as described. The check is disabled by default.
6666
- Alternatively, you can run the cron command manually with `php app/console partkeepr:cron:run` after logging in to the container with `docker exec -it partkeepr_dev_app_1 bash`.

docker/development/app/user-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cd /var/www/pk
44

55
# Check if parameters are present
66
if [ ! -f app/config/parameters.php ]; then
7-
echo 'No configuration was found yet. A defult configuration was generated.' >&2
7+
echo 'No configuration was found yet. A default configuration was generated.' >&2
88
echo 'Please visit the setup page if you encounter issues.' >&2
99

1010
# Remove any db related config from the dist file

src/PartKeepr/AuthBundle/Services/UserService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function getProviderTypeByClass($providerClass)
9696
}
9797

9898
/**
99-
* Syncronizes the data of the given user with the FOSRestBundle.
99+
* Synchronizes the data of the given user with the FOSRestBundle.
100100
*
101101
*
102102
* @param $user

src/PartKeepr/CoreBundle/Services/SystemService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function getSystemInformation()
113113
/**
114114
* Returns the database schema status.
115115
*
116-
* This method is usuall called once the user logs in, and alerts him if the schema is not up-to-date.
116+
* This method is usually called once the user logs in, and alerts him if the schema is not up-to-date.
117117
*
118118
* Returns either status incomplete if the schema is not up-to-date, or complete if everything is OK.
119119
*/

src/PartKeepr/FrontendBundle/Resources/public/js/Components/ModelTreeMaker/ModelTreeMaker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Ext.define("PartKeepr.ModelTreeMaker.ModelTreeMaker", {
3838
* @param {Ext.data.NodeInterface} node The current node
3939
* @param {Ext.data.Model} model The model
4040
* @param {String} prefix The prefix. Omit if first called
41-
* @param {Function} callback The calback, optional
41+
* @param {Function} callback The callback, optional
4242
*/
4343
make: function (node, model, prefix, callback)
4444
{

src/PartKeepr/FrontendBundle/Resources/public/js/Components/StorageLocation/StorageLocationMultiAddWindow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Ext.define("PartKeepr.StorageLocationMultiCreateWindow", {
8282
this.addButton.enable();
8383

8484
if (response.data.length > 0) {
85-
Ext.Msg.alert(i18n("Errors occured"), implode("<br>", response.data));
85+
Ext.Msg.alert(i18n("Errors occurred"), implode("<br>", response.data));
8686
} else {
8787
this.close();
8888
}

src/PartKeepr/FrontendBundle/Resources/public/js/Components/Widgets/EntityQueryPanel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ Ext.define("PartKeepr.Widgets.EntityQueryPanel", {
254254

255255
},
256256
/**
257-
* Syncronizes the internal columns storage with the grid. The reason it is done that way is because we can't
258-
* operate on the return value of getColumns() directly, as these are instanciated objects which get removed
257+
* Synchronizes the internal columns storage with the grid. The reason it is done that way is because we can't
258+
* operate on the return value of getColumns() directly, as these are instantiated objects which get removed
259259
* during a reconfigure operation.
260260
*/
261261
syncColumns: function ()

0 commit comments

Comments
 (0)