i18n: fix trailing '::' on translated messages

Reported by FUJIWARA Katsunori <foozy@lares.dti.ne.jp>.

--HG--
branch : stable
merge default into stable for 2.9 code freeze

--HG--
branch : stable
merge with i18n

--HG--
branch : stable
Added tag 2.9-rc for changeset 8862469e16f9

--HG--
branch : stable
Added signature for changeset 8862469e16f9

--HG--
branch : stable
makefile: add $ to environment variables in help message

--HG--
branch : stable
templater: selecting a style with no templates does not crash (issue4140)

Running `hg log --style compact` (or any other style) raised a traceback when
no template directory was there. Now there is a message:

Abort: style 'compact' not found
(available styles: no templates found, try `hg debuginstall` for more info)


There is no test because this would require to rename the template directory.
But this would influence other tests running in parallel. And when the test
would be aborted the wrong named directory would remain, especially a problem
when running with -l.

--HG--
branch : stable
hgext: fix one typo in rebase

--HG--
branch : stable
extra : amend_source : 2690c995fcf379b22673d452f762fa53b43fdb1c
phase: properly compute ancestors of --rev on push (issue3786)

Now that discovery is working on unfiltered changeset, I had a good occasion to
look at that bug again. This let me realise that a trivial node vs rev
comparision was the cause of this two years old bugs…

Happy second birthday phases!

--HG--
branch : stable
wix: pull in new templates

--HG--
branch : stable
parsers: fix 'unsigned expression is always true' warning (issue4142)

On Mac OS gcc-llvm throws an -Wtautological-compare warning because flen
is defined as an unsigned integer, therefore flen < 0 is always true.

--HG--
branch : stable
subrepo: do not try to get hidden revisions

If a subrepo revision is hidden (because it was amended, for example) it does
not make sense to try to "get" it from the remote subrepository.

Note that in order to avoid making the change look bigger than it is, this adds
an unnecessary else clause. This will be removed on a follow up patch.

--HG--
branch : stable
subrepo: remove unnecessary else clause in hgsubrepo._get

This revision has no behaviour change. It simply removes an unnecessary else
that follows an if / return block. The change looks big because a big chunk of
code has been unindented one level.

--HG--
branch : stable
subrepo: make it possible to update to hidden subrepo revisions

When a subrepo revision was hidden it was considered missing and mercurial was
unable to update to the corresponding parent revision. Instead warn the user of
the problem and let it choose what to do (the default is to udpate anyway).

--HG--
branch : stable
i18n-de: remove locations

Strip the locations by running msgcat [1] as the wiki [2] tells to do. Do
this in a separate patch for getting a smaller one when updating from hg.pot.

[1] msgcat --no-location -o de.po de.po
[2] mercurial.selenic.com/wiki/TranslatingMercurial#Updating_a_Translation

--HG--
branch : stable
extra : rebase_source : f5f26701fe5d937fe081d121b2fbb3e9a1e68f4d
i18n-de: updated po file with 427d672c0e4e

Do this in a separate patch for easier reviewing of the translation patch.

--HG--
branch : stable
extra : rebase_source : f7718e13459fd32ac8f919f84a610bf985f3ec5a
i18n-pt_BR: synchronized with 268a5ab5c27b

--HG--
branch : stable
i18n: do not translate rst syntax .. note::

.. note:: is rst syntax which must not be translated. Fix this in the
translations.

This is not the first time this happens, so there should be a note for the
translator. A later patch will change the generation of the po files to
write this automatically.
A test in i18n/check-translation.py could help as well.

--HG--
branch : stable
i18n: fix some non matching quotation marks in translations

A test for this is in preparation.

--HG--
branch : stable
i18n: fix non-matching 1st line indentations

When generating documentation, indentation must match for getting the same
view for translated messages. Often an output is generated anyway, but it
can look different. When a syntactically wrong indentation change is done,
runrst will fail (this is detected by test-gendoc.t).

Fix the simple places. When translation knowledge is necessary, the entry is
marked as fuzzy (and therefore skipped when generating translations). A
translator can fix it later.

--HG--
branch : stable