Skip to content

Commit d36ce40

Browse files
authored
Merge pull request #840 from pfandLover/main
Fixed spelling mistakes for "package" typos
2 parents 475be45 + 6544278 commit d36ce40

File tree

19 files changed

+48
-47
lines changed

19 files changed

+48
-47
lines changed

md/en/1_5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This is the first major update in 2021. CQtDeployer 1.5 contains many useful imp
6666

6767
## Detailed analysis of the most interesting changes.
6868

69-
### Debian pacakges
69+
### Debian packages
7070
This feature is very conveniently if you want to create server application.
7171
For example i need to create simple server for my simple game.
7272
And my steps:
@@ -83,7 +83,7 @@ By Default CQtDeployer create an independet debian packages.
8383

8484

8585
### Zip arrhives
86-
This feature allow compress your distribution pacakges to zip arrhive.
86+
This feature allow compress your distribution packages to zip archive.
8787

8888
Example:
8989
```bash

md/en/DEB.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ Or you can describe packages in [configuration file](DeployConfigFile.md)
4848

4949
## Custom Template for DEB
5050

51-
You can create a own Template fo the debian pacakges.
51+
You can create an own Template for the debian packages.
5252

53-
### The debian pacakge structure:
53+
### The debian packages structure:
5454

5555

5656
```bash
5757
└── Debian templates
58-
├── debPacakge1
58+
├── debPackage1
5959
│ └── DEBIAN
6060
│ ├── control
6161
│ ├── postinst
6262
│ └── prerm
63-
└── debPacakge2
63+
└── debPackage2
6464
└── DEBIAN
6565
├── control
6666
├── postinst
@@ -74,11 +74,11 @@ For include your templates into your destribution you need to add path of the De
7474
{
7575
"targetPackage": [
7676
[
77-
"debPacakge1",
77+
"debPackage1",
7878
"tar1"
7979
],
8080
[
81-
"debPacakge2",
81+
"debPackage2",
8282
"tar2"
8383
],
8484
],

md/en/Options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ cqtdeployer -option1 value1 -option2 list, of, values ​​flag1 flag2 flag3
166166
|-----------------------------|-----------------------------------------------------------|
167167
| -debOut [package;nameOfOutputDebFile,nameOfOutputDebFile]| Sets name of the output debian file. This option can be work with multiple packages |
168168

169-
### Zip pacakge options
169+
### Zip package options
170170

171171
| Option | Description |
172172
|-----------------------------|-----------------------------------------------------------|

md/en/Packing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ General information on packaging your distributions in packages.
1212
Packages with this type creates automaticly.
1313
By default the distribution have a one main package. You can configure it using [Controll of packages options](Options.md).
1414

15-
#### Example (Set new name for pacakge)
15+
#### Example (Set new name for package)
1616

1717
```
1818
ctdeployer ... -name "MyPackage"

md/en/QIF.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ cqtdeployer getDefaultTemplate qif
134134
135135
CQtDeployer will skip create a packages directory for the template because this commmnad do not contains any deploying data.
136136
If you want to prepare template with packages configurations then you should add deployed data to your command or your config.json file using bin or extraData options.
137-
If you create multi pacakges distribution then you need to configure your packages in your deploying commnad.
137+
If you create multi packages distribution then you need to configure your packages in your deploying command.
138138
139139
140140
#### Example:
141141
142-
Extracting template with pacakges:
142+
Extracting template with packages:
143143
144144
```bash
145145
cqtdeployer getDefaultTemplate qif -bin myExecutable

md/ru/DEB.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ cqtdeployer создает вуи пакет для каждого пакета.
5454

5555
```bash
5656
└── Debian templates
57-
├── debPacakge1
57+
├── debPackage1
5858
│ └── DEBIAN
5959
│ ├── control
6060
│ ├── postinst
6161
│ └── prerm
62-
└── debPacakge2
62+
└── debPackage2
6363
└── DEBIAN
6464
├── control
6565
├── postinst
@@ -73,11 +73,11 @@ cqtdeployer создает вуи пакет для каждого пакета.
7373
{
7474
"targetPackage": [
7575
[
76-
"debPacakge1",
76+
"debPackage1",
7777
"tar1"
7878
],
7979
[
80-
"debPacakge2",
80+
"debPackage2",
8181
"tar2"
8282
],
8383
],

md/ru/Options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ cqtdeployer -option1 value1 -option2 list,of,values flag1 flag2 flag3
161161
|-----------------------------|-----------------------------------------------------------|
162162
| -debOut [package;nameOfOutputDebFile,nameOfOutputDebFile]| Устанавливает имя выходного файла debian. Эта опция может работать с несколькими пакетами |
163163

164-
### Zip pacakge options:
164+
### Zip package options:
165165

166166
| Option | Descriptiion |
167167
|-----------------------------|-----------------------------------------------------------|

md/ru/Packing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
Пакеты с этим типом создаются автоматически.
1313
По умолчанию в дистрибутиве есть один основной пакет. Вы можете настроить его, используя [Параметры управления пакетами](Options.md).
1414

15-
#### Пример (Установить новое имя для pacakge)
15+
#### Пример (Установить новое имя для package)
1616

1717
```
1818
ctdeployer ... -name "MyPackage"

src/Deploy/src/Distributions/deb.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ bool Deb::deployTemplate(PackageControl &pkg) {
2222

2323
QString defaultPackageTempalte = ":/Templates/DEB/Distributions/Templates/deb";
2424
auto customTemplate = QuasarAppUtils::Params::getArg("deb", "");
25-
QHash<QString, QString> pakcagesTemplates;
25+
QHash<QString, QString> packagesTemplates;
2626

2727
if (!customTemplate.isEmpty()) {
28-
QuasarAppUtils::Params::log("Using custom template for debian pacakge: " + customTemplate,
28+
QuasarAppUtils::Params::log("Using custom template for debian package: " + customTemplate,
2929
QuasarAppUtils::Info);
3030

3131
auto availablePacakages = QDir(customTemplate).entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot | QDir::Hidden);
3232

3333
for (const auto& pkg: availablePacakages) {
34-
pakcagesTemplates.insert(pkg.fileName(), pkg.absoluteFilePath());
34+
packagesTemplates.insert(pkg.fileName(), pkg.absoluteFilePath());
3535
}
3636
}
3737

@@ -51,7 +51,8 @@ bool Deb::deployTemplate(PackageControl &pkg) {
5151
{"default", info.Name}
5252
};
5353

54-
if (!unpackDir(pakcagesTemplates.value(info.Name, defaultPackageTempalte),
54+
if (!unpackDir(
55+
packagesTemplates.value(info.Name, defaultPackageTempalte),
5556
local, info, {""}, replace)) {
5657
return false;
5758
}

src/Deploy/src/Distributions/deb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct DebInOut {
1212
};
1313

1414
/**
15-
* @brief The deb class contains methods for create a debian pacakge.
15+
* @brief The deb class contains methods for create a debian package.
1616
*/
1717
class DEPLOYSHARED_EXPORT Deb: public iDistribution
1818
{

0 commit comments

Comments
 (0)