Skip to content

Commit ce8585c

Browse files
committed
Implement rephrasing feedback
1 parent c8fe6ba commit ce8585c

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

development/language/guidelines.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If your language pack is denied and then resubmitted, it is placed at the end of
1414

1515
2) Submissions have to be complete. Partial translations are not allowed and will be automatically denied. E-mails, text files and theme-images must also be fully translated.
1616

17-
3) Language packs can contain five additional files (one mandatory and four optionals) that are not present in the British English language pack: ``LICENSE`` (mandatory), ``README.md`` (optional) and ``CHANGELOG.md`` (optional). You are free to write whatever you want in the ``README.md`` file and you can list the entire version history in the ``CHANGELOG.md`` file. The ``LICENSE`` file is automatically added during the upload process so you do not have to manually add the file. Its purpose is to inform the user what license is used. Language packs inherit phpBB's license of `GNU General Public License 2.0`_ and no additional or alternative licenses are allowed. All of these additional files must be placed in the ``language/{iso}/`` directory, next to the ``iso.txt`` file. Any other additional file(s) will be detected and your submission will be denied.
17+
3) Language packs can contain three additional files (one mandatory and four optionals) that are not present in the British English language pack: ``LICENSE`` (mandatory), ``README.md`` (optional) and ``CHANGELOG.md`` (optional). You are free to write whatever you want in the ``README.md`` file and you can list the entire version history in the ``CHANGELOG.md`` file. The ``LICENSE`` file is automatically added during the upload process so you do not have to manually add the file. Its purpose is to inform the user what license is used. Language packs inherit phpBB's license of `GNU General Public License 2.0`_ and no additional or alternative licenses are allowed. All of these additional files must be placed in the ``language/{iso}/`` directory, next to the ``iso.txt`` file. Any other additional file(s) will be detected and your submission will be denied.
1818

1919
4) Submissions must have the following files and structure:
2020

development/language/validation.rst

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,18 @@ The ``composer.json`` from the default language `British English` looks like thi
123123
124124
Main block
125125
^^^^^^^^^^
126-
The main part of this ``composer.json`` has six different types of information:
126+
The main block of a language's ``composer.json`` file requires these six fields of information:
127127

128-
* ``"name":`` need to start with ``phpbb/phpbb-language-`` and followed by the language iso code e.g. ``phpbb/phpbb-language-de``
129-
* ``"description":`` should contain a short description for your translation e.g. ``phpBB Forum Software language package Dutch (Casual Honorifics)``
130-
* ``"type":`` must be: ``"phpbb-language",``. Just leave it as it is!
131-
* ``"version":`` should be the version number of the language package. This can be different then the phpBB-version it is made for.
132-
* ``"homepage":`` if you want, you can put an url to your website. If not, left it empty.
133-
* ``"license":`` must be: ``"GPL-2.0",``. Just leave it as it is!
128+
* ``"name":`` Must start with ``phpbb/phpbb-language-`` and be followed by the language iso code e.g.: ``phpbb/phpbb-language-de``
129+
* ``"description":`` Must contain a short description for your translation e.g.: ``phpBB Forum Software language package Dutch (Casual Honorifics)``
130+
* ``"type":`` Must be: ``"phpbb-language",``. Do not change this!
131+
* ``"version":`` Should be the version number of the language package. This can be different than the phpBB-version it is made for.
132+
* ``"homepage":`` You may include a URL to your website, or leave this field empty using empty quotes ``""``
133+
* ``"license":`` Must be: ``"GPL-2.0",``. Do not change this!
134134

135135
Authors
136136
^^^^^^^
137-
Allows you to mention the organisation or people who did and maintain the translation. You can just add repeating blocks like this to add more than one person:
137+
Use this section to credit the authors and maintainers of this translation. You can add repeating blocks like this for each additional author.
138138

139139
.. code-block:: json
140140
@@ -146,31 +146,30 @@ Allows you to mention the organisation or people who did and maintain the transl
146146
147147
Support
148148
^^^^^^^
149-
Give room to link to your websites or chat channels, you want to direct users to, to report bugs, typographical errors or get support.
149+
Use this section to provide links to your websites, email, chat channels, etc. where you provide support for this translation.
150150

151151
Extra
152152
^^^^^
153-
The extra block contains necessary information so that your language package works correctly within a phpBB installation.
154-
Please don't leave out any of those lines out and fill them out carefully.
155-
156-
* ``"language-iso":`` This needs to be your ISO code. In British English it is ``en``. This needs to be same as the directory name e.g. ``language/en/``.
157-
* ``"english-name":`` The english name of your language package e.g. ``"German (Casual Honorifics)"``. Former first line of ``language/{iso}/iso.txt``.
158-
* ``"local-name":`` The local name of your language package e.g. ``"Deutsch (Du)"``. Former second line of ``language/{iso}/iso.txt``.
159-
* ``"phpbb-version":`` This need to represent an existing phpBB release version e.g. ``4.0.1``. Individual naming is not allowed here!
160-
* ``"direction":`` Put in ``"ltr""`` for "left-to-right" languages (e.g. Italian, Dutch, German) and ``"rtl"`` for right-to-left language (e.g. Arabic).
161-
* ``"user-lang":`` Input the user language code e.g. "de". Formerly defined in the ``language/{iso}/common.php`` (e.g. ``'USER_LANG' => 'de',``).
162-
* ``"plural-rule":`` Input the plural rule number of your language. Formerly defined in the ``language/{iso}/common.php`` (e.g. ``'PLURAL_RULE' => 1,``). Check the `plurals`_ section for more details.
163-
* ``"recaptcha-lang":`` Input the ReCaptcha-Language-Code here. Formerly defined in the ``language/{iso}/captcha_recaptcha.php`` (e.g. ``'RECAPTCHA_LANG' => 'de',``). Check `Google ReCaptcha`_ for further information which code to use.
153+
The Extra block contains information required for the translation to function correctly within a phpBB installation.
154+
Please do not omit any of these lines, and fill them out carefully.
155+
156+
* ``"language-iso":`` This must be your ISO code. In British English it is ``en``. This is also the same as the directory name e.g. ``language/en/``.
157+
* ``"english-name":`` The English name of your language package e.g.: ``"German (Casual Honorifics)"``. (Formerly, this was the first line of ``language/{iso}/iso.txt``.)
158+
* ``"local-name":`` The local name of your language package e.g.: ``"Deutsch (Du)"``. (Formerly, this was the second line of ``language/{iso}/iso.txt``.)
159+
* ``"phpbb-version":`` This must represent an existing phpBB release version e.g.: ``4.0.1``. Individual naming is not allowed here!
160+
* ``"direction":`` Use ``"ltr""`` for "left-to-right" languages (e.g.: Italian, Dutch, German) and ``"rtl"`` for right-to-left language (e.g.: Arabic).
161+
* ``"user-lang":`` Input the user language code, e.g.: "de". (Formerly defined in the ``language/{iso}/common.php`` e.g.: ``'USER_LANG' => 'de',``.)
162+
* ``"plural-rule":`` Input the plural rule number of your language. (Formerly defined in the ``language/{iso}/common.php`` e.g.: ``'PLURAL_RULE' => 1,``.) Check the `plurals`_ section for more details.
163+
* ``"recaptcha-lang":`` Input the ReCaptcha-Language-Code here. (Formerly defined in the ``language/{iso}/captcha_recaptcha.php`` e.g.: ``'RECAPTCHA_LANG' => 'de',``.) Check `Google ReCaptcha`_ for further information which code to use.
164164

165165
.. note::
166166

167-
The composer.json needs be always validate JSON. You can validate it with ``composer.phar``, see: `composer.json validation`_.
167+
The ``composer.json`` must be valid JSON code. You can validate it using ``composer.phar``, see: `composer.json validation`_.
168168

169169
\*/index.htm
170170
------------
171171

172-
The ``index.htm`` files in all folders must either be completely empty, or
173-
contains the default html body:
172+
The ``index.htm`` files in all folders must be either completely empty or contain the default html body:
174173

175174
.. code-block:: html
176175

0 commit comments

Comments
 (0)