[izpack-devel] Translation of ColumnHeaders in InstallGroupPanel
Markus Schlegel
schlm3 at gmail.com
Thu Mar 1 16:35:23 CET 2007
Will this be applied to the trunk automatically?
Markus
2007/3/1, Vladimir Ralev <vralev at redhat.com>:
>
> I applied it to the 3.10.1 branch. Thanks.
>
> Markus Schlegel wrote:
> > Hi
> > I've patched the InstallGroupPanel so that I can translate the Headers
> > of the TableColumns in the langpacks.
> > Thanks for applying this patch.
> >
> > Regards
> > Markus Schlegel
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > Index: C:/deron/3rdParty/IzPack_3.10/bin/langpacks/installer/eng.xml
> > ===================================================================
> > --- C:/deron/3rdParty/IzPack_3.10/bin/langpacks/installer/eng.xml
> (revision 1758)
> > +++ C:/deron/3rdParty/IzPack_3.10/bin/langpacks/installer/eng.xml
> (working copy)
> > @@ -215,4 +215,9 @@
> > <str id="nextmedia.cancelbtn" txt="Cancel" />
> > <str id="nextmedia.choosertitle" txt="Choose install media" />
> > <str id="nextmedia.filedesc" rdid="install packs (.pak*)" />
> > +
> > + <str id="InstallationGroupPanel.colNameSelected" txt="Selected" />
> > + <str id="InstallationGroupPanel.colNameInstallType"
> txt="InstallType" />
> > + <str id="InstallationGroupPanel.colNameSize" txt="Size" />
> > +
> > </langpack>
> > Index: C:/deron/3rdParty/IzPack_3.10/bin/langpacks/installer/deu.xml
> > ===================================================================
> > --- C:/deron/3rdParty/IzPack_3.10/bin/langpacks/installer/deu.xml
> (revision 1758)
> > +++ C:/deron/3rdParty/IzPack_3.10/bin/langpacks/installer/deu.xml
> (working copy)
> > @@ -214,5 +214,10 @@
> > <str id="nextmedia.cancelbtn" txt="Installation abbrechen" />
> > <str id="nextmedia.choosertitle" txt="Installationsmedium
> auswählen" />
> > <str id="nextmedia.filedesc" txt="Installationspakete (.pak*)" />
> > +
> > + <str id="InstallationGroupPanel.colNameSelected" txt="Selektiert"
> />
> > + <str id="InstallationGroupPanel.colNameInstallType"
> txt="Installationstyp" />
> > + <str id="InstallationGroupPanel.colNameSize" txt="Grösse" />
> > +
> > </langpack>
> >
> >
> > ------------------------------------------------------------------------
> >
> > Index:
> C:/deron/3rdParty/IzPack_3.10/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java
> > ===================================================================
> > ---
> C:/deron/3rdParty/IzPack_3.10/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java
> (revision 1758)
> > +++
> C:/deron/3rdParty/IzPack_3.10/src/lib/com/izforge/izpack/panels/InstallationGroupPanel.java
> (working copy)
> > @@ -406,7 +406,10 @@
> >
> > protected TableModel getModel(HashMap groupData)
> > {
> > - String[] columns = { "Selected", "InstallType", "Size"};
> > + String c1 = parent.langpack.getString("
> InstallationGroupPanel.colNameSelected");
> > + String c2 = parent.langpack.getString("
> InstallationGroupPanel.colNameInstallType");
> > + String c3 = parent.langpack.getString("
> InstallationGroupPanel.colNameSize");
> > + String[] columns = {c1, c2, c3};
> > DefaultTableModel model = new DefaultTableModel (columns, 0)
> > {
> > public boolean isCellEditable (int row, int column)
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > izpack-devel mailing list
> > izpack-devel at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/izpack-devel
> >
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-devel/attachments/20070301/b1e2d8a6/attachment.html
More information about the izpack-devel
mailing list