Skip to content
Permalink
Browse files

fix: Error messages cannot be formatted (#1492)

* fix: Error messages cannot be formatted

fixes #1491
  • Loading branch information...
davecramer committed May 30, 2019
1 parent 27b8fca commit 12ef697a3d34b616716ea9c2c8cb4c9447e2c4c3
@@ -188,8 +188,8 @@
t[363] = "Времето за осъществяване на връзката изтече (таймаут).";
t[364] = "Expected command status BEGIN, got {0}.";
t[365] = "Очаквана команда BEGIN, получена {0}.";
t[366] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[367] = "Невъзможна комбинация: втората фаза на commit задължително трябва да бъде издадена при свободна връзка. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[366] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[367] = "Невъзможна комбинация: втората фаза на commit задължително трябва да бъде издадена при свободна връзка. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[372] = "This copy stream is closed.";
t[373] = "Потока за копиране на данните е затворен.";
t[376] = "Can''t infer the SQL type to use for an instance of {0}. Use setObject() with an explicit Types value to specify the type to use.";
@@ -312,8 +312,8 @@
t[761] = "不正な server-first-message: {0}";
t[762] = "No value specified for parameter {0}.";
t[763] = "パラメータ {0} に値が設定されてません。";
t[764] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[765] = "実装されていません: 第二フェーズの COMMIT は、待機接続で使わなくてはなりません。xid={0}, currentXid={1}, state={2], transactionState={3}";
t[764] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[765] = "実装されていません: 第二フェーズの COMMIT は、待機接続で使わなくてはなりません。xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[766] = "Fastpath call {0} - No result was returned and we expected an integer.";
t[767] = "Fastpath 呼び出し {0} - integer を想定していましたが、結果は返却されませんでした。";
t[774] = "Unable to create StAXResult for SQLXML";
@@ -186,8 +186,8 @@
t[443] = "Zero bytes não podem ocorrer em parâmetros de cadeia de caracteres.";
t[444] = "A result was returned when none was expected.";
t[445] = "Um resultado foi retornado quando nenhum era esperado.";
t[446] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[447] = "Não está implementado: efetivação da segunda fase deve ser executada utilizado uma conexão ociosa. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[446] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[447] = "Não está implementado: efetivação da segunda fase deve ser executada utilizado uma conexão ociosa. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[450] = "ResultSet is not updateable. The query that generated this result set must select only one table, and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details.";
t[451] = "ResultSet não é atualizável. A consulta que gerou esse conjunto de resultados deve selecionar somente uma tabela, e deve selecionar todas as chaves primárias daquela tabela. Veja a especificação na API do JDBC 2.1, seção 5.6 para obter mais detalhes.";
t[454] = "Bind message length {0} too long. This can be caused by very large or incorrect length specifications on InputStream parameters.";
@@ -74,8 +74,8 @@
t[147] = "Неожиданный статус команды COPY: {0}";
t[148] = "Connection has been closed.";
t[149] = "Это соединение уже было закрыто";
t[150] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[151] = "Духфазная фиксация работает только, если соединение неактивно (state=idle и транзакцция отсутствует). commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[150] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[151] = "Духфазная фиксация работает только, если соединение неактивно (state=idle и транзакцция отсутствует). commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[160] = "The SSLSocketFactory class provided {0} could not be instantiated.";
t[161] = "Невозможно создать SSLSocketFactory с помощью указанного класса {0}";
t[164] = "The SocketFactory class provided {0} could not be instantiated.";
@@ -186,8 +186,8 @@
t[443] = "Nula bajtovji se ne smeju pojavljivati u string parametrima.";
t[444] = "A result was returned when none was expected.";
t[445] = "Rezultat vraćen ali nikakav rezultat nije očekivan.";
t[446] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[447] = "Nije implementirano: Dvofazni commit mora biti izdat uz korištenje besposlene konekcije. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[446] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[447] = "Nije implementirano: Dvofazni commit mora biti izdat uz korištenje besposlene konekcije. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[450] = "ResultSet is not updateable. The query that generated this result set must select only one table, and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details.";
t[451] = "ResultSet nije moguće ažurirati. Upit koji je generisao ovaj razultat mora selektoati jedino tabelu,i mora selektovati sve primrne ključeve iz te tabele. Pogledajte API specifikaciju za JDBC 2.1, sekciju 5.6 za više detalja.";
t[454] = "Bind message length {0} too long. This can be caused by very large or incorrect length specifications on InputStream parameters.";
@@ -188,8 +188,8 @@
t[443] = "String parametrelerinde sıfır bayt olamaz.";
t[444] = "A result was returned when none was expected.";
t[445] = "Hiçbir sonuç kebklenimezken sonuç getirildi.";
t[446] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[447] = "Desteklenmiyor: 2nd phase commit, atıl bir bağlantıdan başlatılmalıdır. commit xid={0}, currentXid={1}, state={2], transactionState={3}";
t[446] = "Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[447] = "Desteklenmiyor: 2nd phase commit, atıl bir bağlantıdan başlatılmalıdır. commit xid={0}, currentXid={1}, state={2}, transactionState={3}";
t[450] = "ResultSet is not updateable. The query that generated this result set must select only one table, and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details.";
t[451] = "ResultSet değiştirilemez. Bu sonucu üreten sorgu tek bir tablodan sorgulamalı ve tablonun tüm primary key alanları belirtmelidir. Daha fazla bilgi için bk. JDBC 2.1 API Specification, section 5.6.";
t[454] = "Bind message length {0} too long. This can be caused by very large or incorrect length specifications on InputStream parameters.";
@@ -573,7 +573,7 @@ private void commitPrepared(Xid xid) throws XAException {
if (state != State.IDLE
|| conn.getTransactionState() != TransactionState.IDLE) {
throw new PGXAException(
GT.tr("Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2], transactionState={3}", xid, currentXid, state, conn.getTransactionState()),
GT.tr("Not implemented: 2nd phase commit must be issued using an idle connection. commit xid={0}, currentXid={1}, state={2}, transactionState={3}", xid, currentXid, state, conn.getTransactionState()),
XAException.XAER_RMERR);
}

0 comments on commit 12ef697

Please sign in to comment.
You can’t perform that action at this time.