X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=org.argeo.cms.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2Fdialogs%2FCmsWizardDialog.java;fp=org.argeo.cms.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2Fdialogs%2FCmsWizardDialog.java;h=29633cfb8366ef16030b9c97c74e204eb51517f3;hb=c79f5f2275dbbeb7407befc0188344ac16a87a80;hp=80fe3c85fc7b48c78be69a3b0532cf2493e5fdb8;hpb=b73edb765859b2193c67380c33fbc6c694468fe4;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms.ui/src/org/argeo/cms/ui/dialogs/CmsWizardDialog.java b/org.argeo.cms.ui/src/org/argeo/cms/ui/dialogs/CmsWizardDialog.java index 80fe3c85f..29633cfb8 100644 --- a/org.argeo.cms.ui/src/org/argeo/cms/ui/dialogs/CmsWizardDialog.java +++ b/org.argeo.cms.ui/src/org/argeo/cms/ui/dialogs/CmsWizardDialog.java @@ -3,6 +3,7 @@ package org.argeo.cms.ui.dialogs; import java.lang.reflect.InvocationTargetException; import org.argeo.cms.CmsException; +import org.argeo.cms.CmsMsg; import org.argeo.cms.util.CmsUtils; import org.argeo.eclipse.ui.EclipseUiUtils; import org.argeo.eclipse.ui.Selected; @@ -58,7 +59,7 @@ public class CmsWizardDialog extends LightweightDialog implements IWizardContain titleBar.setLayoutData(new GridData(SWT.BEGINNING, SWT.FILL, true, false)); updateTitleBar(); Button cancelButton = new Button(messageArea, SWT.FLAT); - cancelButton.setText("Cancel"); + cancelButton.setText(CmsMsg.cancel.lead()); cancelButton.setLayoutData(new GridData(SWT.END, SWT.TOP, false, false, 1, 3)); cancelButton.addSelectionListener((Selected) (e) -> closeShell(CANCEL)); message = new Label(messageArea, SWT.WRAP); @@ -84,17 +85,17 @@ public class CmsWizardDialog extends LightweightDialog implements IWizardContain if (!singlePage) { back = new Button(buttons, SWT.PUSH); - back.setText("Back"); + back.setText(CmsMsg.wizardBack.lead()); back.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false)); back.addSelectionListener((Selected) (e) -> backPressed()); next = new Button(buttons, SWT.PUSH); - next.setText("Next"); + next.setText(CmsMsg.wizardNext.lead()); next.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false)); next.addSelectionListener((Selected) (e) -> nextPressed()); } finish = new Button(buttons, SWT.PUSH); - finish.setText("Finish"); + finish.setText(CmsMsg.wizardFinish.lead()); finish.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false)); finish.addSelectionListener((Selected) (e) -> finishPressed());