Mercurial > hg
annotate tests/test-i18n.t @ 18267:5bb610f87d1d
clfilter: enforce hidden changeset globally
The dispatch code now enables filtering of "hidden" changesets globally. The
filter is installed before command and extension invocation. The `--hidden`
switch is now global and disables this filtering for any command.
Code in log dedicated to changeset exclusion is removed as this global filtering
has the same effect.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 08 Jan 2013 20:37:37 +0100 |
parents | 73d20de5f30b |
children | 84939b728749 |
rev | line source |
---|---|
13442
bb107a31820e
test-i18n: make test conditional on msgfmt availability
Martin Geisler <mg@lazybytes.net>
parents:
13414
diff
changeset
|
1 Translations are optional: |
bb107a31820e
test-i18n: make test conditional on msgfmt availability
Martin Geisler <mg@lazybytes.net>
parents:
13414
diff
changeset
|
2 |
bb107a31820e
test-i18n: make test conditional on msgfmt availability
Martin Geisler <mg@lazybytes.net>
parents:
13414
diff
changeset
|
3 $ "$TESTDIR/hghave" gettext || exit 80 |
bb107a31820e
test-i18n: make test conditional on msgfmt availability
Martin Geisler <mg@lazybytes.net>
parents:
13414
diff
changeset
|
4 |
17015
73d20de5f30b
tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents:
16981
diff
changeset
|
5 #if no-outer-repo |
73d20de5f30b
tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents:
16981
diff
changeset
|
6 |
13414 | 7 Test that translations are compiled and installed correctly. |
8 | |
9 Default encoding in tests is "ascii" and the translation is encoded | |
10 using the "replace" error handler: | |
11 | |
12 $ LANGUAGE=pt_BR hg tip | |
14920
56848e2bb0c5
test-i18n, i18n-pt_BR: updated test message changed in 41c3a71c318d
Wagner Bruna <wbruna@softwareexpress.com.br>
parents:
14914
diff
changeset
|
13 abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado)! |
13414 | 14 [255] |
15 | |
16 Using a more accomodating encoding: | |
17 | |
18 $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip | |
14920
56848e2bb0c5
test-i18n, i18n-pt_BR: updated test message changed in 41c3a71c318d
Wagner Bruna <wbruna@softwareexpress.com.br>
parents:
14914
diff
changeset
|
19 abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado)! (esc) |
13414 | 20 [255] |
21 | |
22 Different encoding: | |
23 | |
24 $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip | |
14920
56848e2bb0c5
test-i18n, i18n-pt_BR: updated test message changed in 41c3a71c318d
Wagner Bruna <wbruna@softwareexpress.com.br>
parents:
14914
diff
changeset
|
25 abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado)! (esc) |
13414 | 26 [255] |
16895
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
27 |
17015
73d20de5f30b
tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents:
16981
diff
changeset
|
28 #endif |
73d20de5f30b
tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents:
16981
diff
changeset
|
29 |
16895
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
30 Test keyword search in translated help text: |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
31 |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
32 $ HGENCODING=UTF-8 LANGUAGE=de hg help -k blättern |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
33 Topics: |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
34 |
16981
2264e3e39cba
tests: fix test-i18n.t after translation update
Mads Kiilerich <mads@kiilerich.com>
parents:
16895
diff
changeset
|
35 extensions Benutzung erweiterter Funktionen |
16895
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
36 |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
37 Erweiterungen: |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
38 |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
39 pager Verwendet einen externen Pager zum Bl\xc3\xa4ttern in der Ausgabe von Befehlen (esc) |
430714e2a876
help: test keyword search in translated text.
Olav Reinert <seroton10@gmail.com>
parents:
14920
diff
changeset
|
40 |