##// END OF EJS Templates
help: test keyword search in translated text....
Olav Reinert -
r16895:430714e2 default
parent child Browse files
Show More
@@ -1,24 +1,36 b''
1 1 Translations are optional:
2 2
3 3 $ "$TESTDIR/hghave" gettext || exit 80
4 4
5 5 Test that translations are compiled and installed correctly.
6 6
7 7 Default encoding in tests is "ascii" and the translation is encoded
8 8 using the "replace" error handler:
9 9
10 10 $ LANGUAGE=pt_BR hg tip
11 11 abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado)!
12 12 [255]
13 13
14 14 Using a more accomodating encoding:
15 15
16 16 $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip
17 17 abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado)! (esc)
18 18 [255]
19 19
20 20 Different encoding:
21 21
22 22 $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip
23 23 abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado)! (esc)
24 24 [255]
25
26 Test keyword search in translated help text:
27
28 $ HGENCODING=UTF-8 LANGUAGE=de hg help -k blättern
29 Topics:
30
31 extensions Using Additional Features
32
33 Erweiterungen:
34
35 pager Verwendet einen externen Pager zum Bl\xc3\xa4ttern in der Ausgabe von Befehlen (esc)
36
General Comments 0
You need to be logged in to leave comments. Login now