aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-o_dbm/files/patch-o_dbm.rb
blob: 5184499f433284a8cc3330da8b800684fd66e7fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- o_dbm.rb.orig	Fri Dec 12 00:31:32 1997
+++ o_dbm.rb	Fri Mar 16 18:29:28 2001
@@ -13,5 +13,4 @@
 require "e2mmap"
 require "dbm"
-require "marshal"
 
 class ObjectDBM
@@ -20,7 +19,7 @@
   extend Exception2MessageMapper
 
-  def_exception :ErrOnlyUsableTopTransaction, "�ȥåץȥ�󥶥������Ǥ����¹ԤǤ��ʤ����ڥ졼�����(%s)��¹Ԥ��褦�Ȥ��ޤ���."
-  def_exception :ErrOnlyUsableInTransaction, "�ȥ�󥶥��������Ǥʤ��ȼ¹ԤǤ��ʤ����ڥ졼�����(%s)��¹Ԥ��褦�Ȥ��ޤ���."
-  def_exception :ErrMixedTransaction, "��Ū�ȥ�󥶥�������ưŪ�ȥ�󥶥������򺮺ߤ������Ѥ��褦�Ȥ��ޤ���."
+  def_exception :ErrOnlyUsableTopTransaction, "The operation (%s) can only be executed in the top level transaction."
+  def_exception :ErrOnlyUsableInTransaction, "The operation (%s) can only be executed within a transaction."
+  def_exception :ErrMixedTransaction, "Static transactions and dynamic transactions cannot be mixed together."
 
   include Enumerable
@@ -401,6 +400,6 @@
 
     extend Exception2MessageMapper
-    def_exception :ErrNoStartedTransaction, "�ȥ�󥶥�����󤬳��Ϥ���Ƥ��ޤ���."
-    def_exception :ErrClosedTransaction, "�ȥ�󥶥������Ϥ��Ǥ˽�λ���Ƥ��ޤ�."
+    def_exception :ErrNoStartedTransaction, "Transaction is not started yet."
+    def_exception :ErrClosedTransaction, "Transaction is closed already."
 
     NO_START = :ObjectDBM__TXN_NO_START