[Squirrel-sql-commits] sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactori
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
From: Rob M. <man...@us...> - 2006-11-16 10:06:45
|
Update of /cvsroot/squirrel-sql/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv24199/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands Modified Files: I18NStrings.properties AddPrimaryKeyCommand.java Log Message: Fix unsupported operation message. Index: AddPrimaryKeyCommand.java =================================================================== RCS file: /cvsroot/squirrel-sql/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/AddPrimaryKeyCommand.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AddPrimaryKeyCommand.java 9 Nov 2006 11:21:09 -0000 1.2 --- AddPrimaryKeyCommand.java 16 Nov 2006 10:06:41 -0000 1.3 *************** *** 100,107 **** result = dialect.getAddPrimaryKeySQL(pkName, columns); } catch (UnsupportedOperationException e2) { ! //i18n[RemoveColumnCommand.unsupportedOperationMsg=The {0} dialect ! //doesn's support dropping columns] String msg = ! s_stringMgr.getString("RemoveColumnCommand.unsupportedOperationMsg", dialect.getDisplayName()); --- 100,107 ---- result = dialect.getAddPrimaryKeySQL(pkName, columns); } catch (UnsupportedOperationException e2) { ! //i18n[AddPrimaryKeyCommand.unsupportedOperationMsg=The {0} ! //dialect doesn't support adding primary keys to tables] String msg = ! s_stringMgr.getString("AddPrimaryKeyCommand.unsupportedOperationMsg", dialect.getDisplayName()); Index: I18NStrings.properties =================================================================== RCS file: /cvsroot/squirrel-sql/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/I18NStrings.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** I18NStrings.properties 9 Nov 2006 11:21:09 -0000 1.5 --- I18NStrings.properties 16 Nov 2006 10:06:41 -0000 1.6 *************** *** 4,7 **** --- 4,8 ---- AddPrimaryKeyCommand.sqlDialogTitle=Add Primary Key SQL + AddPrimaryKeyCommand.unsupportedOperationMsg=The {0} dialect doesn't support adding primary keys to tables ModifyColumnCommand.sqlDialogTitle=Modify column SQL |