diff options
author | Boris Shingarov <bshingar> | 2002-05-09 20:50:36 +0000 |
---|---|---|
committer | Boris Shingarov <bshingar> | 2002-05-09 20:50:36 +0000 |
commit | b20dbb4cca7c6052d2b0e45a8c8d1928d34cd9b5 (patch) | |
tree | 0ed6e556dd80983f4922928a1c213e05c9dd7e7e /bundles/org.eclipse.swt/Eclipse SWT/gtk/org | |
parent | 1e7ed8e3ddd0a2592e2543f28e01136e88d2a5f5 (diff) | |
download | eclipse.platform.swt-b20dbb4cca7c6052d2b0e45a8c8d1928d34cd9b5.tar.gz eclipse.platform.swt-b20dbb4cca7c6052d2b0e45a8c8d1928d34cd9b5.tar.xz eclipse.platform.swt-b20dbb4cca7c6052d2b0e45a8c8d1928d34cd9b5.zip |
Externalize strings for non-stock buttons
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MessageBox.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MessageBox.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MessageBox.java index c7753fe36f..4074134680 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MessageBox.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MessageBox.java @@ -156,9 +156,9 @@ private void createButtons() { if ((style & SWT.YES) != 0) OS.gtk_dialog_add_button(handle, "gtk-yes", SWT.YES); if ((style & SWT.NO) != 0) OS.gtk_dialog_add_button(handle, "gtk-no", SWT.NO); - if ((style & SWT.ABORT) != 0) OS.gtk_dialog_add_button(handle, "Abort", SWT.ABORT); - if ((style & SWT.RETRY) != 0) OS.gtk_dialog_add_button(handle, "Retry", SWT.RETRY); - if ((style & SWT.IGNORE) != 0) OS.gtk_dialog_add_button(handle, "Ignore", SWT.IGNORE); + if ((style & SWT.ABORT) != 0) OS.gtk_dialog_add_button(handle, SWT.getMessage("SWT_Abort"), SWT.ABORT); + if ((style & SWT.RETRY) != 0) OS.gtk_dialog_add_button(handle, SWT.getMessage("SWT_Retry"), SWT.RETRY); + if ((style & SWT.IGNORE) != 0) OS.gtk_dialog_add_button(handle, SWT.getMessage("SWT_Ignore"), SWT.IGNORE); } private static int checkStyle (int style) { int mask = (SWT.YES | SWT.NO | SWT.OK | SWT.CANCEL | SWT.ABORT | SWT.RETRY | SWT.IGNORE); |