From 4218805297778c0b0c68dd3e618a3979ad1faff9 Mon Sep 17 00:00:00 2001 From: Christof Thalhofer Date: Sat, 24 Sep 2016 12:47:10 +0200 Subject: [PATCH] Translation german --- .lang/de.mo | Bin 0 -> 1987 bytes .lang/de.po | 99 +++++++++++++++++++++++++++++++++ .project | 3 +- .settings | 6 +- .src/TestRunner/FmRunner.class | 8 +-- .src/TestRunner/UnitTest.class | 25 +++++---- 6 files changed, 121 insertions(+), 20 deletions(-) create mode 100644 .lang/de.mo create mode 100644 .lang/de.po diff --git a/.lang/de.mo b/.lang/de.mo new file mode 100644 index 0000000000000000000000000000000000000000..d6a0ab3856bfe7475c34f53e2a6fd29b66b2c697 GIT binary patch literal 1987 zcmb`HJ!~9B6vqc*NOFM?%twTT#7pNO?b=R46fY*i9A_)!oLG*XBHi5HyS*WMv&YP= z!4?$~9R&>{4IM~Gh>8x;pp-~dR1|a+P#|hVk^kEd+oG`xMw;4&zFeh0<>-_864f{NYQhUY-3Zx)ogE`U#g5h(i-@Fj2^d=|_= z$#WN!dOiZh{sH(j_!Wpy>br*DgA(t@h8R}$$X=-j$6MJ;4zgdG+?Dv0COMo#m)I|& zOOrgMNqusb(&TQWNp5oP2&ZsFRl^mbprabm7W+UwJ0v>F7T=HIu=2ObzRbfhJRa@v z7+D=QQ7g2jCj;#%Ehf{#vJEsU9F^9DfKrXkNTXUAM?+_J*wWM$nbVUAzQwd!xcfY; zY>f3&<1iVyVnUkUD@|Z3@?pCpq3-SVZFr`+aR}37ejY(3QtXS;rHsHC$Cksz%HKpA zoA1&)vLmK$=^V1d!hnM&A9Ucj)9IU(t!G->=+oWHY9-I>E9z>`{?N3r0q)p&)!iQ^ zs^=VvHMSWgYE_%ObX+Yp<3!yms5102YF1?&$d_r#-jB*Wj$=xqIkn+1r{$hcuTv-} z%?r<}zF)64OIu~l84}Fh%2aviP~~HWt9!$A!l)WAqY^s%V~&i z45Pa!#}qc9|Jcywcqv|5=xp4MHhIU0P4u=7oY19(#jDZ6QgrDGEiNQiUZd@;Zl|wt zw+Lo^u0!DxO2^LlP>g7~9lePZv^AwiF4wWaW~I*HZ^)hX8|%G;OcvvXjvO#O}t^IaaP1 zk8og(Kb9O-509#q(9KptOrwWCIFg6kil}TvlyPu|2aH{~$y!J3N|Dl<2;hEz_J(+W zq9wyF&`x2A5oJPqh9|j6$E0%{Fs(v_{64loSH(nvRa\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: .project:1 +msgid "gb.deg.unittest" +msgstr "-" + +#: .project:2 +msgid "A Gambas component for unittesting and test-driven programming. Forked and inspired from a quite old program: COMUnit (http://comunit.sourceforge.net) and mainly JUnit. Currently beta state.\n\nLicense GPL V3" +msgstr "Eine Gambas Komponente für Unittesting und testgetriebene Programmierung. Geforkt und inspiriert von einem ziemlich alten Framework: ComUnit und JUnit.\n\n Lizenz GPL V3" + +#: FmRunner.class:89 +msgid "All Test Containers" +msgstr "Alle Testcontainer" + +#: FmRunner.class:108 +msgid "All Test Cases" +msgstr "Alle Tests" + +#: FmRunner.class:148 +msgid "Results" +msgstr "Ergebnis" + +#: FmRunner.class:166 +msgid "Trace" +msgstr "Ablauf" + +#: FmRunner.form:28 +msgid "Containers:" +msgstr "Container:" + +#: FmRunner.form:39 +msgid "Tests:" +msgstr "Tests:" + +#: FmRunner.form:63 +msgid "Run Tests (Ctrl-r)" +msgstr "Starte Tests (Ctrl-r)" + +#: FmRunner.form:72 +msgid "Press to close" +msgstr "Beenden mit " + +#: UnitTest.class:53 +msgid "--------------------------------- Test Result ----------------------------------" +msgstr "-------------------------------- Testergebnis ----------------------------------" + +#: UnitTest.class:54 +msgid "Tests done" +msgstr "Tests beendet" + +#: UnitTest.class:56 +msgid "--------------------------------------------------------------------------------" +msgstr "-" + +#: UnitTest.class:59 +msgid "Error in:" +msgstr "-" + +#: UnitTest.class:60 +msgid "Error:" +msgstr "-" + +#: UnitTest.class:63 +msgid "No Errors" +msgstr "Keine Errors" + +#: UnitTest.class:68 +msgid "Failure in:" +msgstr "Fehlschlag in:" + +#: UnitTest.class:69 +msgid "Failure:" +msgstr "Fehlschlag:" + +#: UnitTest.class:72 +msgid "No Failures" +msgstr "Keine Fehlschläge" + +#: UnitTest.class:74 +msgid "--------------------------------- Test End -----------------------------------" +msgstr "--------------------------------- Ende Test -----------------------------------" + +#: UnitTest.class:76 +msgid "Success!" +msgstr "Erfolgreich!" + +#: UnitTest.class:78 +msgid "Not successful... :-(" +msgstr "Nicht erfolgreich ... :-(" + diff --git a/.project b/.project index 4e61726d0..25653c2e6 100644 --- a/.project +++ b/.project @@ -11,7 +11,8 @@ Component=gb.settings Description="A Gambas component for unittesting and test-driven programming. Forked and inspired from a quite old program: COMUnit (http://comunit.sourceforge.net) and mainly JUnit. Currently beta state.\n\nLicense GPL V3" Authors="Christof Thalhofer" TabSize=4 -Language=de +Translate=1 +Language=en_US Type=Component ControlPublic=1 ModulePublic=1 diff --git a/.settings b/.settings index af35d99f7..15166a9ee 100644 --- a/.settings +++ b/.settings @@ -313,13 +313,13 @@ Path="gb.deg.unit.gambas" [OpenFile] File[1]=".src/TestRunner/FmRunner.form" File[2]=".src/TestRunner/FmTrace.form" -File[3]=".src/TestRunner/FmRunner.class:18.261" +File[3]=".src/TestRunner/FmRunner.class:18.233" File[4]=".src/TestRunner/FmTrace.class:40.64" -Active=5 +Active=7 Count=17 File[5]=".src/TesteStartRunner.module:13.8" File[6]=".src/TestMyself/_TestErrorsAndFailures.class:6.7" -File[7]=".src/TestRunner/UnitTest.class:72.116" +File[7]=".src/TestRunner/UnitTest.class:0.47" File[8]=".src/TestSuite/TestSuite.class:8.44" File[9]=".src/TestSuite/ITestCase.class:0.0" File[10]=".src/TestSuite/TestCase.class:17.54" diff --git a/.src/TestRunner/FmRunner.class b/.src/TestRunner/FmRunner.class index d889d803b..2aa0ee10e 100644 --- a/.src/TestRunner/FmRunner.class +++ b/.src/TestRunner/FmRunner.class @@ -86,7 +86,7 @@ Sub FillCboContainers() Dim ContainerNames As New String[] ' ------------------------------------------------- CboContainers With ContainerNames - .Add("All Test Containers") + .Add(("All Test Containers")) .Insert(UnitTest.GetAllTestContainerNames($DoSelftest)) End With @@ -105,7 +105,7 @@ Sub FillCboTests(Optional TestContainerName As String) Dim C As ATestContainer Dim i As Integer - TestNames.Add("All Test Cases") + TestNames.Add(("All Test Cases")) If Not TestContainerName Then 'all Tests @@ -145,7 +145,7 @@ Sub FillTabs() .Count = 1 .Arrangement = Arrange.Fill .Index = 0 - .Text = "Results" + .Text = ("Results") .Show() End With @@ -163,7 +163,7 @@ Sub FillTabs() .Count = 2 .Arrangement = Arrange.Fill .Index = 1 - .Text = "Trace" + .Text = ("Trace") End With $FmTrace.Reparent(TabPanel1) diff --git a/.src/TestRunner/UnitTest.class b/.src/TestRunner/UnitTest.class index 8c407b0dc..c42da1100 100644 --- a/.src/TestRunner/UnitTest.class +++ b/.src/TestRunner/UnitTest.class @@ -50,31 +50,32 @@ Public Sub _PrintResult(Res As TestResult) Errs = Res.Errors Fails = Res.Failures - Print "----------------------- Test Results ----------------------- " - Print " " & res.CountRunnedTests & " Tests done" - Print "------------------------------------------------------------ " + Print ("--------------------------------- Test Result ----------------------------------") + Print " " & res.CountRunnedTests & " " & ("Tests done") + '80 Zeichen + Print ("--------------------------------------------------------------------------------") If Errs.Count > 0 Then For Each Err In Errs.Items - Print " Error in:";; Err.Source - Print " Error:";; Err.Description + Print " " & ("Error in:");; Err.Source + Print " " & ("Error:");; Err.Description Next Else - Print " No Errors" + Print " " & ("No Errors") Endif Print "\n" If Fails.Count > 0 Then For Each Fail In Fails.Items - Print " Failure in:";; Fail.Source - Print " Failure:";; Fail.Description + Print " " & ("Failure in:");; Fail.Source + Print " " & ("Failure:");; Fail.Description Next Else - Print " No Failures" + Print " " & ("No Failures") Endif - Print "------------------------- Test End -------------------------" + Print ("--------------------------------- Test End -----------------------------------") If res.WasSuccessful = True Then - Print " Success!" + Print " " & ("Success!") Else - Print " Not successful" + Print " " & ("Not successful... :-(") Endif End