From dfebc52cf83f96ecab08f36a2e87e0a2201bd2fd Mon Sep 17 00:00:00 2001 From: hangum Date: Sat, 17 Feb 2018 10:30:38 +0900 Subject: [PATCH] =?utf8?q?=EC=98=81=EC=96=B4=20=EB=AC=B8=EC=9E=A5=EC=9D=B4?= =?utf8?q?=20=EA=B8=B8=EC=96=B4=20=ED=99=94=EB=A9=B4=EC=9D=B4=20=EA=B9=A8?= =?utf8?q?=EC=A7=80=EB=8A=94=20=EA=B2=83=EC=9D=84,=20=EB=91=90=EC=A4=84?= =?utf8?q?=EB=A1=9C=20=EB=A7=8C=EB=93=A4=EC=96=B4=EC=84=9C=20=EA=B9=A8?= =?utf8?q?=EC=A7=80=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?utf8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../bin/com/hangum/tadpole/preference/messages.properties | 8 ++++---- .../bin/com/hangum/tadpole/preference/messages_ko.properties | 4 ++-- .../src/com/hangum/tadpole/preference/Messages.java | 3 ++- .../src/com/hangum/tadpole/preference/messages.properties | 8 ++++---- .../src/com/hangum/tadpole/preference/messages_ko.properties | 4 ++-- .../src/com/hangum/tadpole/preference/ui/DBPreferencePage.java | 8 +++++++- .../com/hangum/tadpole/preference/ui/GeneralPreferencePage.java | 2 +- .../tadpole/rdb/core/editors/main/parameter/ParameterDialog.java | 2 +- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages.properties b/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages.properties index 5c1839a16..4ebcb461d 100644 --- a/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages.properties +++ b/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages.properties @@ -52,6 +52,8 @@ CreateAPIKey = Create API Key CreatePlanTable = Create Plan Table +DatabaseSetting = Make database settings. + EditorPreferen_AddComma = Include Comma EditorPreferencePage_0 = Font Size @@ -88,8 +90,6 @@ GeneralPreferencePage_lblPort_text = Port GeneralPreferencePage_lblSmtpServer_text = SMTP Server -GeneralPreferencePage_text_text = , - GetAdminPreference_5 = SMTP Server has not been configured yet. InfoCreateANewAPIKey = Do you want to create a new API key? \nThe current one cannot be used anymore. @@ -98,11 +98,11 @@ Language = Language LoginDialog_lblLanguage_text = Language -MaxNumOfRowsBySelect = Maximum Number of Rows Returned by a SELECT Statement +MaxNumOfRowsBySelect = Maximum Number \nof Rows Returned\n by a SELECT Statement MaximumNumberOfCharacters = Maximum Number of Characters to Be Displayed -MaximumNumberOfCharactersPerColumn = Maximum Number Of Characters Per Column +MaximumNumberOfCharactersPerColumn = Maximum Number\n Of Characters Per Column MaximumNumberOfCharactersPerLine = Maximum Number Of Characters Per Line diff --git a/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages_ko.properties b/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages_ko.properties index d809b1b12..c485d1f49 100644 --- a/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages_ko.properties +++ b/com.hangum.tadpole.preference/bin/com/hangum/tadpole/preference/messages_ko.properties @@ -56,6 +56,8 @@ CreateAPIKey = API\uD0A4 \uC0DD\uC131 # RDBPreferencePage_5 = An error has occurred while modifying the data. CreatePlanTable = \uD50C\uB79C\uD14C\uC774\uBE14 \uC0DD\uC131 +DatabaseSetting = Database \uC124\uC815\uC744 \uD569\uB2C8\uB2E4. + EditorPreferen_AddComma = \uCF64\uB9C8 \uD3EC\uD568 EditorPreferencePage_0 = \uD3F0\uD2B8 \uD06C\uAE30 @@ -92,8 +94,6 @@ GeneralPreferencePage_lblPort_text = \uD3EC\uD2B8 GeneralPreferencePage_lblSmtpServer_text = SMTP \uC11C\uBC84 -GeneralPreferencePage_text_text = , - InfoCreateANewAPIKey = \uC0C8\uB85C\uC6B4 API \uD0A4\uB97C \uB9CC\uB4DC\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? \n\uAE30\uC874 API\uD0A4\uB294 \uB354\uC774\uC0C1 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. Language = \uC5B8\uC5B4 diff --git a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/Messages.java b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/Messages.java index bf3aae850..f655b3604 100644 --- a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/Messages.java +++ b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/Messages.java @@ -93,7 +93,6 @@ public class Messages { public String Table; public String CreatePlanTable; public String GeneralPreferencePage_lblExportDilimit_text; - public String GeneralPreferencePage_text_text; public String GeneralPreferencePage_lblHomePage_text; public String GeneralPreferencePage_btnCheckButton_text; @@ -201,6 +200,8 @@ public class Messages { public String PleaseCreateOraclePlanTable; + public String DatabaseSetting; + public static Messages get() { return RWT.NLS.getISO8859_1Encoded(BUNDLE_NAME, Messages.class); } diff --git a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages.properties b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages.properties index 5c1839a16..4ebcb461d 100644 --- a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages.properties +++ b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages.properties @@ -52,6 +52,8 @@ CreateAPIKey = Create API Key CreatePlanTable = Create Plan Table +DatabaseSetting = Make database settings. + EditorPreferen_AddComma = Include Comma EditorPreferencePage_0 = Font Size @@ -88,8 +90,6 @@ GeneralPreferencePage_lblPort_text = Port GeneralPreferencePage_lblSmtpServer_text = SMTP Server -GeneralPreferencePage_text_text = , - GetAdminPreference_5 = SMTP Server has not been configured yet. InfoCreateANewAPIKey = Do you want to create a new API key? \nThe current one cannot be used anymore. @@ -98,11 +98,11 @@ Language = Language LoginDialog_lblLanguage_text = Language -MaxNumOfRowsBySelect = Maximum Number of Rows Returned by a SELECT Statement +MaxNumOfRowsBySelect = Maximum Number \nof Rows Returned\n by a SELECT Statement MaximumNumberOfCharacters = Maximum Number of Characters to Be Displayed -MaximumNumberOfCharactersPerColumn = Maximum Number Of Characters Per Column +MaximumNumberOfCharactersPerColumn = Maximum Number\n Of Characters Per Column MaximumNumberOfCharactersPerLine = Maximum Number Of Characters Per Line diff --git a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages_ko.properties b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages_ko.properties index d809b1b12..c485d1f49 100644 --- a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages_ko.properties +++ b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/messages_ko.properties @@ -56,6 +56,8 @@ CreateAPIKey = API\uD0A4 \uC0DD\uC131 # RDBPreferencePage_5 = An error has occurred while modifying the data. CreatePlanTable = \uD50C\uB79C\uD14C\uC774\uBE14 \uC0DD\uC131 +DatabaseSetting = Database \uC124\uC815\uC744 \uD569\uB2C8\uB2E4. + EditorPreferen_AddComma = \uCF64\uB9C8 \uD3EC\uD568 EditorPreferencePage_0 = \uD3F0\uD2B8 \uD06C\uAE30 @@ -92,8 +94,6 @@ GeneralPreferencePage_lblPort_text = \uD3EC\uD2B8 GeneralPreferencePage_lblSmtpServer_text = SMTP \uC11C\uBC84 -GeneralPreferencePage_text_text = , - InfoCreateANewAPIKey = \uC0C8\uB85C\uC6B4 API \uD0A4\uB97C \uB9CC\uB4DC\uC2DC\uACA0\uC2B5\uB2C8\uAE4C? \n\uAE30\uC874 API\uD0A4\uB294 \uB354\uC774\uC0C1 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. Language = \uC5B8\uC5B4 diff --git a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/DBPreferencePage.java b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/DBPreferencePage.java index ffd0506b0..ad56072af 100644 --- a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/DBPreferencePage.java +++ b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/DBPreferencePage.java @@ -15,9 +15,12 @@ import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.IWorkbenchPreferencePage; +import com.hangum.tadpole.preference.Messages; + /** * DB preference page * @@ -48,7 +51,10 @@ public class DBPreferencePage extends TadpoleDefaulPreferencePage implements IWo @Override protected Control createContents(Composite parent) { Composite container = new Composite(parent, SWT.NULL); - container.setLayout(new GridLayout(2, false)); + container.setLayout(new GridLayout(12, false)); + + Label lblNewLabel = new Label(container, SWT.NONE); + lblNewLabel.setText(Messages.get().DatabaseSetting); return container; } diff --git a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/GeneralPreferencePage.java b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/GeneralPreferencePage.java index 944be9fdf..320dff4f8 100644 --- a/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/GeneralPreferencePage.java +++ b/com.hangum.tadpole.preference/src/com/hangum/tadpole/preference/ui/GeneralPreferencePage.java @@ -111,7 +111,7 @@ public class GeneralPreferencePage extends TadpoleDefaulPreferencePage implement lblExportDilimit.setText(Messages.get().GeneralPreferencePage_lblExportDilimit_text); textExportDelimit = new Text(container, SWT.BORDER); - textExportDelimit.setText(Messages.get().GeneralPreferencePage_text_text); + textExportDelimit.setText(","); textExportDelimit.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 1, 1)); Label lblHomePage = new Label(container, SWT.NONE); diff --git a/com.hangum.tadpole.rdb.core/src/com/hangum/tadpole/rdb/core/editors/main/parameter/ParameterDialog.java b/com.hangum.tadpole.rdb.core/src/com/hangum/tadpole/rdb/core/editors/main/parameter/ParameterDialog.java index 83e13d539..6838eba87 100644 --- a/com.hangum.tadpole.rdb.core/src/com/hangum/tadpole/rdb/core/editors/main/parameter/ParameterDialog.java +++ b/com.hangum.tadpole.rdb.core/src/com/hangum/tadpole/rdb/core/editors/main/parameter/ParameterDialog.java @@ -260,7 +260,7 @@ public class ParameterDialog extends Dialog { @Override protected Point getInitialSize() { // 영문에 맞추어 사이즈를 키웠다. - return new Point(580, 400); + return new Point(600, 400); } /** -- 2.11.4.GIT