[PATCH] test-i18n, i18n-pt_BR: update test message
Wagner Bruna
wagner.bruna+mercurial at gmail.com
Fri Jun 17 15:44:40 UTC 2011
# HG changeset patch
# User Wagner Bruna <wbruna at softwareexpress.com.br>
# Date 1308324192 10800
# Node ID ba53d31dd921104ac276f1d4a563fe5ffcb6b3be
# Parent ba3c36cea66e7a9cc0bb274b7f7b73ad65212df7
test-i18n, i18n-pt_BR: update test message
This changes both a test and a translation, so I'm sending
a patch; please let me know if I should push this directly
to i18n instead.
diff --git a/i18n/pt_BR.po b/i18n/pt_BR.po
--- a/i18n/pt_BR.po
+++ b/i18n/pt_BR.po
@@ -4817,8 +4817,8 @@ msgstr "não se pode importar sobre um p
msgid "only a local queue repository may be initialized"
msgstr "apenas um repositório de fila local pode ser inicializado"
-msgid "there is no Mercurial repository here (.hg not found)"
-msgstr "não há um repositório do Mercurial aqui (.hg não encontrado)"
+msgid "no repository found in %r (.hg not found)"
+msgstr "não foi encontrado um repositório em %r (.hg não encontrado)"
msgid "no queue repository"
msgstr "repositório da fila não existente"
diff --git a/tests/test-i18n.t b/tests/test-i18n.t
--- a/tests/test-i18n.t
+++ b/tests/test-i18n.t
@@ -8,17 +8,17 @@ Default encoding in tests is "ascii" and
using the "replace" error handler:
$ LANGUAGE=pt_BR hg tip
- abortado: no repository found in '$TESTTMP' (.hg not found)!
+ abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado)!
[255]
Using a more accomodating encoding:
$ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip
- abortado: no repository found in '$TESTTMP' (.hg not found)!
+ abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado)! (esc)
[255]
Different encoding:
$ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip
- abortado: no repository found in '$TESTTMP' (.hg not found)!
+ abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado)! (esc)
[255]
More information about the Mercurial-devel
mailing list