1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00
> Shouldn't
>
>    throw new PSQLException("metadata unavailable");
>
> in getTypeInfo() be something like:
>
>    throw new PSQLException("postgresql.meta.unavailable");
>
> to allow translation of the error message in the
> errors*.properties files?

You're right. Attached is an updated patch that also includes a message
in error.properties. I've attempted a French message in
errors_fr.properties but beware that I haven't written French in quite a
few years. Don't know Italian, German, or Dutch so I can't do those.

Liam Stewart
This commit is contained in:
Bruce Momjian
2001-08-21 00:37:23 +00:00
parent f6387b5169
commit 44ae35cab9
4 changed files with 32 additions and 18 deletions

View File

@@ -1,5 +1,6 @@
# This is the french version of some errors. Errors not in this file
# are handled by the parent errors.properties file.
postgresql.jvm.version:Le fichier de postgresql.jar ne contient pas les classes correctes de JDBC pour ce JVM. Try que rebuilding.\nException jet<65><74>es <20><>tait {0}
postgresql.metadata.unavailable: Les m<>tadonn<6E>es ne sont pas disponibles.
postgresql.unusual:Quelque chose de peu commun s'est produit pour faire <20><>chouer le gestionnaire. Veuillez enregistrer cette exception: {0}
postgresql.unimplemented:Cette m<><6D>thode n'est pas encore appliqu<71><75>e.