Localisation updates from http://translatewiki.net.
Fix #14343: Undefined property: BugnoteData::$bugnote_text_id 

The implementation is the one proposed by dregad
Prevent admin locking themselves out when resetting own password

Prior to this, when an admin attempted to reset their own password from
manage_user_edit_page.php (with $g_send_reset_password = ON), they were
no longer able to login because the sent confirmation hash was not valid
anymore since the last_visit timestamp used to generate it is updated by
every successful loading of the page (footer).

This commit prevents such behavior by hiding the "Reset Password" button
for the current user in the manage user page. One's own password should
be changed in account_page.php (My Account).

Fixes #14260
Make test for HTTPS protocol compliant with PHP documentation

Prior to this, the protocol was considered to be HTTPS when
isset($_SERVER['HTTPS']) is true, while PHP doc[1] states that HTTPS is
"Set to a non-empty value if the script was queried through the HTTPS
protocol" so the test should be !empty($_SERVER['HTTPS']) instead.

This was causing issues with nginx 1.x with php5fastcgi as
$_SERVER['HTTPS'] is set but empty, thus MantisBT redirects all http
requests to https.

The protocol check has been moved to a new function in http_api.php
which is then called wherever it is needed.

Note that there are several occurences of isset($_SERVER['HTTPS']) in
the nusoap library; these have not been modified.

Fixes #14333

[1] http://php.net/manual/en/reserved.variables.server.php
Bump version to 1.2.11
Remove 'ERROR_DUPLICATE_FILE' entry from Croatian language which was causing a warning.  Found by test-langsas part of release process for 1.2.11.
Updated doc/RELEASE for 1.2.11.
Changed version to 1.2.12-dev
Fixes #13445: Add mc_login() for login and to return user data.
Localisation updates from http://translatewiki.net.
Fix verify.php bumping failed count instead of login count

This prevented admins to unlock a user's account by resetting their
password when $g_max_failed_login_count = 1.

See commit d306af51746bdb781d3a721d7af718eae34ffe5d

Fixes #14387
SOAP API: verify that creating issues with enum fields set by name works
#13900: Improve documentation for mc_project_get_issues and similar 
MantisGraph: incorrect issues count in graph by severity

When $g_bug_closed_status_threshold is not the "final" entry in
status_enum_string list, function enum_bug_group() in graph_api.php
computed the number of closed issues incorrectly due to use of '='
operator instead of '>=' in the query's where clause.

Also corrects some trailing whitespace.

Fixes #14356
Fix #13415: cloning issue with attachments doesn't work 
Localisation updates from http://translatewiki.net.
Fix Lack of detailed error message during schema creation

During MantisBT installation, when a schema upgrade step includes
several SQL statements (as generated by ADOdb), a detailed error message
was only reported the problem occurs while executing the last statement.

Calling ExecuteSQLArray() with the 2nd param = false forces the function
to return the error message on first failure instead of continuing with
the next statement.

Fixes #14399