01: /*
02: * $RCSfile: TuiWelcomeStep.java,v $
03: * @modification $Date: 2005/03/30 19:43:01 $
04: * @version $Id: TuiWelcomeStep.java,v 1.8 2005/03/30 19:43:01 deniger Exp $
05: *
06: */
07:
08: package com.memoire.vainstall.tui;
09:
10: import com.memoire.vainstall.*;
11:
12: /**
13: * Japanese language file for text ui
14: *
15: * @author hfalk
16: * @version $Id: TuiWelcomeStep.java,v 1.8 2005/03/30 19:43:01 deniger Exp $
17: *
18: */
19: public class TuiWelcomeStep extends TuiDefaultStep implements
20: VAWelcomeStep {
21: public TuiWelcomeStep() {
22: Object[] params = new Object[] {
23: VAGlobals.NAME + " " + VAGlobals.VERSION, null };
24:
25: TuiWizard.clear();
26: TuiWizard.title();
27: TuiWizard.println(VAGlobals.i18n("TuiWelcomeStep_Welcome"));
28: TuiWizard.separator();
29: TuiWizard.println("");
30: TuiWizard.println(VAGlobals.i18n("TuiWelcomeStep_WelcomeTo",
31: params));
32: TuiWizard.println("");
33:
34: if (VAGlobals.APP_VERSION != null)
35: params[0] = VAGlobals.APP_NAME + " "
36: + VAGlobals.APP_VERSION;
37: else
38: params[0] = VAGlobals.APP_NAME + " (no version)";
39: switch (VAGlobals.OPERATION) {
40: case VAGlobals.INSTALL:
41: params[1] = VAGlobals.i18n("TuiWelcomeStep_DuringInstall",
42: params);
43: break;
44: case VAGlobals.UPDATE:
45: params[1] = VAGlobals.i18n("TuiWelcomeStep_DuringUpdate",
46: params);
47: break;
48: case VAGlobals.UNINSTALL:
49: params[1] = VAGlobals.i18n(
50: "TuiWelcomeStep_DuringUninstall", params);
51: break;
52: default:
53: params[1] = VAGlobals.i18n("UI_Unknown");
54: break;
55: }
56:
57: params[0] = VAGlobals.NAME;
58: TuiWizard.println(VAGlobals
59: .i18n("TuiWelcomeStep_Guide", params));
60:
61: for (int i = 10; i <= 22; i++)
62: TuiWizard.println("");
63: TuiWizard.info();
64: TuiWizard.println(VAGlobals.i18n("TuiWelcomeStep_Continue"));
65: }
66: }
|