|
From: <cod...@go...> - 2009-01-14 15:39:39
|
Author: M0...@gm...
Date: Wed Jan 14 05:52:38 2009
New Revision: 463
Added:
branches/speedy/.lang/es.mo (contents, props changed)
branches/speedy/.lang/es.po
branches/speedy/MdlStartUp.module
branches/speedy/Step0.class
branches/speedy/Step0.form
Modified:
branches/speedy/.lang/.pot
branches/speedy/.lang/FMain.pot
branches/speedy/.lang/Step1.pot
branches/speedy/.lang/Step2.pot
branches/speedy/.project
branches/speedy/ClsGlobal.class
branches/speedy/FMain.class
branches/speedy/MdlObjSizer.module
branches/speedy/Step1.class
branches/speedy/Step2.class
Log:
Added localizations step
Modified: branches/speedy/.lang/.pot
==============================================================================
--- branches/speedy/.lang/.pot (original)
+++ branches/speedy/.lang/.pot Wed Jan 14 05:52:38 2009
@@ -10,84 +10,108 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: FMain.class:199
+#: .project:1
+msgid "VectorLinux Installer"
+msgstr ""
+
+#: FMain.class:219
msgid "Back"
msgstr ""
-#: FMain.class:204
+#: FMain.class:224
msgid "Next"
msgstr ""
-#: FMain.class:209
+#: FMain.class:229
msgid "Quit"
msgstr ""
-#: Step1.class:46
+#: Step0.class:20
+msgid "Localization Settings"
+msgstr ""
+
+#: Step0.class:67
+msgid "TextLabel1"
+msgstr ""
+
+#: Step0.class:93
+msgid "Select your language"
+msgstr ""
+
+#: Step0.class:124
+msgid "Select your keyboard layout"
+msgstr ""
+
+#: Step0.class:140
+msgid "Select your keyboard model"
+msgstr ""
+
+#: Step1.class:59
msgid "Scanning for CD Media ... Please wait"
msgstr ""
-#: Step1.class:58
+#: Step1.class:71
msgid "Scanning"
msgstr ""
-#: Step1.class:65
+#: Step1.class:78
msgid "on"
msgstr ""
-#: Step1.class:68
+#: Step1.class:81
msgid "... Found"
msgstr ""
-#: Step1.class:68
+#: Step1.class:81
msgid "in"
msgstr ""
-#: Step1.class:90
+#: Step1.class:103
msgid "Scanning system for installable ISO images"
msgstr ""
-#: Step1.class:147
+#: Step1.class:160
msgid "DISTRIBUTION"
msgstr ""
-#: Step1.class:150
+#: Step1.class:163
msgid "VERSION"
msgstr ""
-#: Step1.class:192
+#: Step1.class:211
msgid "Select Installation Source"
msgstr ""
-#: Step1.class:210
+#: Step1.class:229
msgid "Select Installation source from the list below"
msgstr ""
-#: Step1.class:220
+#: Step1.class:239
msgid "ComboBox1"
msgstr ""
-#: Step1.class:231
+#: Step1.class:250
msgid "Search Again"
msgstr ""
-#: Step1.class:254
+#: Step1.class:273
msgid "Check Installation media before installing"
msgstr ""
-#: Step2.class:9
+#: Step2.class:22
msgid "Verify Installation Files"
msgstr ""
-#: Step2.class:24
+#: Step2.class:37
msgid ""
"Verifying installation files can prevent you from performing an
unsuccessful "
"install"
msgstr ""
-#: Step2.class:24
+#: Step2.class:37
msgid "Keep in mind however, that this process can take a while to
complete."
msgstr ""
-#: Step2.class:61
+#: Step2.class:74
msgid "TextLabel2"
msgstr ""
Modified: branches/speedy/.lang/FMain.pot
==============================================================================
--- branches/speedy/.lang/FMain.pot (original)
+++ branches/speedy/.lang/FMain.pot Wed Jan 14 05:52:38 2009
@@ -14,15 +14,15 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: FMain.class:199
+#: FMain.class:219
msgid "Back"
msgstr ""
-#: FMain.class:204
+#: FMain.class:224
msgid "Next"
msgstr ""
-#: FMain.class:209
+#: FMain.class:229
msgid "Quit"
msgstr ""
Modified: branches/speedy/.lang/Step1.pot
==============================================================================
--- branches/speedy/.lang/Step1.pot (original)
+++ branches/speedy/.lang/Step1.pot Wed Jan 14 05:52:38 2009
@@ -14,55 +14,55 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: Step1.class:46
+#: Step1.class:59
msgid "Scanning for CD Media ... Please wait"
msgstr ""
-#: Step1.class:58
+#: Step1.class:71
msgid "Scanning"
msgstr ""
-#: Step1.class:65
+#: Step1.class:78
msgid "on"
msgstr ""
-#: Step1.class:68
+#: Step1.class:81
msgid "... Found"
msgstr ""
-#: Step1.class:68
+#: Step1.class:81
msgid "in"
msgstr ""
-#: Step1.class:90
+#: Step1.class:103
msgid "Scanning system for installable ISO images"
msgstr ""
-#: Step1.class:147
+#: Step1.class:160
msgid "DISTRIBUTION"
msgstr ""
-#: Step1.class:150
+#: Step1.class:163
msgid "VERSION"
msgstr ""
-#: Step1.class:192
+#: Step1.class:211
msgid "Select Installation Source"
msgstr ""
-#: Step1.class:210
+#: Step1.class:229
msgid "Select Installation source from the list below"
msgstr ""
-#: Step1.class:220
+#: Step1.class:239
msgid "ComboBox1"
msgstr ""
-#: Step1.class:231
+#: Step1.class:250
msgid "Search Again"
msgstr ""
-#: Step1.class:254
+#: Step1.class:273
msgid "Check Installation media before installing"
msgstr ""
Modified: branches/speedy/.lang/Step2.pot
==============================================================================
--- branches/speedy/.lang/Step2.pot (original)
+++ branches/speedy/.lang/Step2.pot Wed Jan 14 05:52:38 2009
@@ -14,19 +14,19 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: Step2.class:9
+#: Step2.class:22
msgid "Verify Installation Files"
msgstr ""
-#: Step2.class:24
+#: Step2.class:37
msgid "Verifying installation files can prevent you from performing an
unsuccessful install"
msgstr ""
-#: Step2.class:24
+#: Step2.class:37
msgid "Keep in mind however, that this process can take a while to
complete."
msgstr ""
-#: Step2.class:61
+#: Step2.class:74
msgid "TextLabel2"
msgstr ""
Added: branches/speedy/.lang/es.mo
==============================================================================
Binary file. No diff available.
Added: branches/speedy/.lang/es.po
==============================================================================
--- (empty file)
+++ branches/speedy/.lang/es.po Wed Jan 14 05:52:38 2009
@@ -0,0 +1,116 @@
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2002-11-01 04:27+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: Step1.class:81
+msgid "... Found"
+msgstr "... Encontre"
+
+#: FMain.class:219
+msgid "Back"
+msgstr "Regreso"
+
+#: Step1.class:273
+msgid "Check Installation media before installing"
+msgstr "Verificar archivos de instalacion"
+
+#: Step1.class:239
+msgid "ComboBox1"
+msgstr "-"
+
+#: Step1.class:160
+msgid "DISTRIBUTION"
+msgstr "DISTRIBUCION"
+
+#: Step2.class:37
+msgid "Keep in mind however, that this process can take a while to
complete."
+msgstr ""
+
+#: Step0.class:20
+msgid "Localization Settings"
+msgstr "Valores locales"
+
+#: FMain.class:224
+msgid "Next"
+msgstr ""
+
+#: FMain.class:229
+msgid "Quit"
+msgstr ""
+
+#: Step1.class:71
+msgid "Scanning"
+msgstr ""
+
+#: Step1.class:59
+msgid "Scanning for CD Media ... Please wait"
+msgstr ""
+
+#: Step1.class:103
+msgid "Scanning system for installable ISO images"
+msgstr ""
+
+#: Step1.class:250
+msgid "Search Again"
+msgstr ""
+
+#: Step1.class:211
+msgid "Select Installation Source"
+msgstr "Seleccione el medio de instalacion"
+
+#: Step1.class:229
+msgid "Select Installation source from the list below"
+msgstr ""
+
+#: Step0.class:124
+msgid "Select your keyboard layout"
+msgstr ""
+
+#: Step0.class:140
+msgid "Select your keyboard model"
+msgstr ""
+
+#: Step0.class:93
+msgid "Select your language"
+msgstr ""
+
+#: Step0.class:67
+msgid "TextLabel1"
+msgstr ""
+
+#: Step2.class:74
+msgid "TextLabel2"
+msgstr ""
+
+#: Step1.class:163
+msgid "VERSION"
+msgstr ""
+
+#: .project:1
+msgid "VectorLinux Installer"
+msgstr ""
+
+#: Step2.class:22
+msgid "Verify Installation Files"
+msgstr ""
+
+#: Step2.class:37
+msgid "Verifying installation files can prevent you from performing an
unsuccessful install"
+msgstr ""
+
+#: Step1.class:81
+msgid "in"
+msgstr ""
+
+#: Step1.class:78
+msgid "on"
+msgstr ""
+
Modified: branches/speedy/.project
==============================================================================
--- branches/speedy/.project (original)
+++ branches/speedy/.project Wed Jan 14 05:52:38 2009
@@ -1,11 +1,12 @@
# Gambas Project File 2.0
# Compiled with Gambas 2.10.0
Title=VectorLinux Installer
-Startup=FMain
+Startup=MdlStartUp
Version=0.0.1
Library=gb.gtk
Library=gb.form
Library=gb.gtk.ext
+Arguments="es_ES"
TabSize=2
Translate=1
Language=en_US
Modified: branches/speedy/ClsGlobal.class
==============================================================================
--- branches/speedy/ClsGlobal.class (original)
+++ branches/speedy/ClsGlobal.class Wed Jan 14 05:52:38 2009
@@ -1,4 +1,19 @@
' Gambas class file
+' This file is part of vinstall-ng
+
+' vinstall-ng is free software: you can redistribute it and/or modify
+' it under the terms of the GNU General Public License as published by
+' the Free Software Foundation, either version 2 of the License, or
+' (at your option) any later version.
+
+' vinstall-ng is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU General Public License for more details.
+
+' You should have received a copy of the GNU General Public License
+' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>.
+
STATIC PUBLIC sDistroName AS String
-STATIC PUBLIC sDistroVer AS String
\ No newline at end of file
+STATIC PUBLIC sDistroVer AS String
Modified: branches/speedy/FMain.class
==============================================================================
--- branches/speedy/FMain.class (original)
+++ branches/speedy/FMain.class Wed Jan 14 05:52:38 2009
@@ -1,5 +1,20 @@
' Gambas class file
+' This file is part of vinstall-ng
+
+' vinstall-ng is free software: you can redistribute it and/or modify
+' it under the terms of the GNU General Public License as published by
+' the Free Software Foundation, either version 2 of the License, or
+' (at your option) any later version.
+
+' vinstall-ng is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU General Public License for more details.
+
+' You should have received a copy of the GNU General Public License
+' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>.
+
PRIVATE $aPrev AS NEW Object[]
PRIVATE $oCurrent AS Object
@@ -9,7 +24,12 @@
PUBLIC SUB Form_Open()
-$oCurrent = NEW Step1(pnlStack)
+IF Application.Args[1] THEN
+ 'System.Language = Trim(Application.Args[1])
+ $oCurrent = NEW Step1(pnlStack)
+ELSE
+$oCurrent = NEW Step0(pnlStack)
+END IF
btBack.Enabled = FALSE
ME.auto_setup_for_resolution()
END
Modified: branches/speedy/MdlObjSizer.module
==============================================================================
--- branches/speedy/MdlObjSizer.module (original)
+++ branches/speedy/MdlObjSizer.module Wed Jan 14 05:52:38 2009
@@ -1,19 +1,19 @@
' Gambas module file
-' This file is part of vasmCC
+' This file is part of vinstall-ng
-' vasmCC is free software: you can redistribute it and/or modify
+' vinstall-ng is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 2 of the License, or
' (at your option) any later version.
-' vasmCC is distributed in the hope that it will be useful,
+' vinstall-ng is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
' You should have received a copy of the GNU General Public License
-' along with vasmCC. If not, see <http://www.gnu.org/licenses/>.
+' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>.
Added: branches/speedy/MdlStartUp.module
==============================================================================
--- (empty file)
+++ branches/speedy/MdlStartUp.module Wed Jan 14 05:52:38 2009
@@ -0,0 +1,27 @@
+' Gambas module file
+
+' This file is part of vinstall-ng
+
+' vinstall-ng is free software: you can redistribute it and/or modify
+' it under the terms of the GNU General Public License as published by
+' the Free Software Foundation, either version 2 of the License, or
+' (at your option) any later version.
+
+' vinstall-ng is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU General Public License for more details.
+
+' You should have received a copy of the GNU General Public License
+' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>.
+
+PUBLIC SUB MAIN()
+
+ IF Application.Args[1] THEN
+ System.Language = Trim(Application.Args[1])
+ END IF
+
+ fmain.Show
+
+
+END
Added: branches/speedy/Step0.class
==============================================================================
--- (empty file)
+++ branches/speedy/Step0.class Wed Jan 14 05:52:38 2009
@@ -0,0 +1,30 @@
+' Gambas class file
+' This file is part of vinstall-ng
+
+' vinstall-ng is free software: you can redistribute it and/or modify
+' it under the terms of the GNU General Public License as published by
+' the Free Software Foundation, either version 2 of the License, or
+' (at your option) any later version.
+
+' vinstall-ng is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU General Public License for more details.
+
+' You should have received a copy of the GNU General Public License
+' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>.
+
+PUBLIC SUB Form_Open()
+
+ WITH ME
+ .tlbanner.Text = "<h2>" & ("Localization Settings") & "</h2>"
+ END WITH
+
+END
+
+PUBLIC FUNCTION GetNext() AS String
+
+
+ RETURN "Step1"
+
+END
Added: branches/speedy/Step0.form
==============================================================================
--- (empty file)
+++ branches/speedy/Step0.form Wed Jan 14 05:52:38 2009
@@ -0,0 +1,80 @@
+# Gambas Form File 2.0
+
+{ Form Form
+ MoveScaled(0,0,101,55)
+ Text = ("")
+ Arrangement = Arrange.Vertical
+ { HPanel1 HPanel
+ MoveScaled(2,1,43,6)
+ { tlbanner TextLabel
+ MoveScaled(1,0,32,3)
+ Expand = True
+ Text = ("TextLabel1")
+ Alignment = Align.Normal
+ }
+ { Separator1 Separator
+ MoveScaled(1,5,20,1)
+ Expand = True
+ }
+ }
+ { Panel1 Panel
+ MoveScaled(2,10,97,43)
+ Expand = True
+ Arrangement = Arrange.Horizontal
+ { Panel3 Panel
+ MoveScaled(0,0,38,37)
+ Expand = True
+ Arrangement = Arrange.Vertical
+ { HBox1 HBox
+ MoveScaled(0,0,33,4)
+ { tlLangSel TextLabel
+ MoveScaled(1,0,28,3)
+ Expand = True
+ Text = ("Select your language")
+ Alignment = Align.Normal
+ }
+ }
+ { cvLangList ColumnView
+ MoveScaled(0,6,36,30)
+ Expand = True
+ }
+ }
+ { VPanel1 VPanel
+ MoveScaled(41,2,1,38)
+ { Separator2 Separator
+ MoveScaled(2,11,1,7)
+ Expand = True
+ }
+ }
+ { Panel2 Panel
+ MoveScaled(46,1,47,43)
+ Expand = True
+ Arrangement = Arrange.Vertical
+ { HBox2 HBox
+ MoveScaled(1,1,45,4)
+ { tlKbdSel TextLabel
+ MoveScaled(1,0,33,3)
+ Expand = True
+ Text = ("Select your keyboard layout")
+ Alignment = Align.Normal
+ }
+ }
+ { cvkbdlayout ColumnView
+ MoveScaled(1,5,42,12)
+ Expand = True
+ }
+ { HBox3 HBox
+ MoveScaled(2,18,28,4)
+ { tlkbdmod TextLabel
+ MoveScaled(0,0,24,3)
+ Expand = True
+ Text = ("Select your keyboard model")
+ }
+ }
+ { cvKbdMod ColumnView
+ MoveScaled(1,22,41,12)
+ Expand = True
+ }
+ }
+ }
+}
Modified: branches/speedy/Step1.class
==============================================================================
--- branches/speedy/Step1.class (original)
+++ branches/speedy/Step1.class Wed Jan 14 05:52:38 2009
@@ -1,5 +1,18 @@
' Gambas class file
+' This file is part of vinstall-ng
+' vinstall-ng is free software: you can redistribute it and/or modify
+' it under the terms of the GNU General Public License as published by
+' the Free Software Foundation, either version 2 of the License, or
+' (at your option) any later version.
+
+' vinstall-ng is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU General Public License for more details.
+
+' You should have received a copy of the GNU General Public License
+' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>.
PUBLIC SUB _new() ' executed every time the form is instanciated.
ME.StartUp()
@@ -155,5 +168,11 @@
PUBLIC SUB Form_Resize()
+
+END
+
+PUBLIC SUB Panel1_MouseDown()
+
+
END
Modified: branches/speedy/Step2.class
==============================================================================
--- branches/speedy/Step2.class (original)
+++ branches/speedy/Step2.class Wed Jan 14 05:52:38 2009
@@ -1,5 +1,18 @@
' Gambas class file
+' This file is part of vinstall-ng
+' vinstall-ng is free software: you can redistribute it and/or modify
+' it under the terms of the GNU General Public License as published by
+' the Free Software Foundation, either version 2 of the License, or
+' (at your option) any later version.
+
+' vinstall-ng is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU General Public License for more details.
+
+' You should have received a copy of the GNU General Public License
+' along with vinstall-ng. If not, see <http://www.gnu.org/licenses/>.
PUBLIC SUB Form_Open()
|