Skip to content

Commit 8e817cc

Browse files
authored
Merge branch 'master' into BK-2085
2 parents f459145 + 993eec2 commit 8e817cc

104 files changed

Lines changed: 8117 additions & 1575 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AUTHORS.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ Jujhar Singh (Punjabi)
4747
Katerina Michailidi, George Battes (Greek)
4848
Kjetil Nordengen, Paul Graabein (Norwegian)
4949
Luba Sirina, Marina Klinova, Andrey Podshivalov, Oleg Pshenichniy, Ivan Satsiuk (Russian)
50+
Marius (Romanian)
51+
Meysam Shaygan, Dr. Somaye Joolaee (Farsi)
5052
Raoul Breugelmans, Hiroyuki Anraku (Japanese)
5153
Rivo Zängov (Estonian)
5254
Seongho Jang (Korean)
55+
Tahseen Zayouna, Dr. Somaye Joolaee (Arabic)
5356
Tomi Toivio (Finnish)
5457
Zsolt Magyar, Csaba Madarász (Hungarian)

docs/deployment/createbooktype.rst

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
Createbooktype
33
==============
44

5-
Createbooktype is Booktype's command-line utility for creating :doc:`Booktype projects </deployment/structure>` on the disk with auto generated configuration files.
5+
Createbooktype is a command-line utility for creating :doc:`Booktype projects </deployment/structure>` with automatically generated configuration files.
66

77
Usage
88
=====
99

1010
.. code-block:: bash
1111
12-
createbooktype [--database <type>|--profile <type>|--check-versions] <project location>
12+
createbooktype [--database <type>|--check-versions] <project location>
1313
14-
<project location> can be full path to project location or name of the project.
14+
<project location> can be the full path to the project location or the name of the project.
1515

1616
Example:
1717

@@ -25,7 +25,7 @@ argument project name
2525

2626
.. note::
2727

28-
User must have write permissions to create or write to the project location. If project location already exists it will just create the needed files.
28+
The user must have write permissions to create or write to the project location. If the project location already exists it will just create the needed files.
2929

3030
Options
3131
=======
@@ -54,12 +54,6 @@ Show messages.
5454
5555
Configure *Project* to use specific database backend. Options are: "postgres", "postgresql", "sqlite".
5656

57-
.. code-block:: bash
58-
59-
--profile <type>
60-
61-
Configure *Project* to use profile <type>. Options are: "dev", "prod".
62-
6357
.. code-block:: bash
6458
6559
--check-versions
@@ -76,15 +70,15 @@ Specifies the default VIRTUAL_ENV
7670
Examples of usage
7771
=================
7872

79-
This will create project called **bk2** in current directory. It will use PostgreSQL database as a backend and automatically be set i$
73+
This will create a project called **bk2** in the current directory. It will use the PostgreSQL database as a backend by default.
8074

8175
.. code-block:: bash
8276
8377
$ ./scripts/createbooktype bk2
8478
8579
86-
This will create project called **mybk** in /var/www/ directory. It will use Sqlite3 as a backend and will be set in development prof$
80+
This will create a project called **mybk** in the /var/www/ directory using Sqlite3 as a backend.
8781

8882
.. code-block:: bash
8983
90-
$ ./scripts/createbooktype --database sqlite3 --profile dev /var/www/mybk/
84+
$ ./scripts/createbooktype --database sqlite3 /var/www/mybk/

lib/booki/editor/fixtures/languages.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,21 @@
189189
"abbrevation": "et",
190190
"name": "Eesti keel"
191191
}
192+
},
193+
{
194+
"pk": 25,
195+
"model": "editor.language",
196+
"fields": {
197+
"abbrevation": "fa",
198+
"name": "فارسی"
199+
}
200+
},
201+
{
202+
"pk": 26,
203+
"model": "editor.language",
204+
"fields": {
205+
"abbrevation": "ro",
206+
"name": "Română"
207+
}
192208
}
193209
]
85 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)