mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
- #10085
- Added notice about iso.txt to the coding guidelines git-svn-id: file:///svn/phpbb/trunk@7394 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c4cae36c91
commit
bb2dfe7f36
2 changed files with 3 additions and 2 deletions
|
@ -1892,6 +1892,8 @@ div
|
|||
<li><code>Language's local name</code></li>
|
||||
<li><code>Authors information</code></li>
|
||||
</ol>
|
||||
|
||||
<p><code>iso.txt</code> is automatically generated by the language pack submission system on phpBB.com. You don't have to create this file yourself if you plan on releasing your language pack on phpBB.com, but do keep in mind that phpBB itself does require this file to be present.</p>
|
||||
|
||||
<p>Because language tags themselves are meant to be machine read, they can be rather obtuse to humans and why descriptive strings as provided by <code>iso.txt</code> are needed. Whilst <code>en-US</code> could be fairly easily deduced to be "English as used in the United States", <code>de-CH</code> is more difficult less one happens to know that <code>de</code> is from "<span lang="de">Deutsch</span>", German for "German" and <code>CH</code> is the abbreviation of the official Latin name for Switzerland, "<span lang="la">Confoederatio Helvetica</span>".</p>
|
||||
|
||||
|
|
|
@ -87,8 +87,7 @@ if ($post_id)
|
|||
$topic_id = (int) $row['topic_id'];
|
||||
$forum_id = (int) ($row['forum_id']) ? $row['forum_id'] : $forum_id;
|
||||
}
|
||||
|
||||
if ($topic_id && !$forum_id)
|
||||
else if ($topic_id)
|
||||
{
|
||||
$sql = 'SELECT forum_id
|
||||
FROM ' . TOPICS_TABLE . "
|
||||
|
|
Loading…
Add table
Reference in a new issue