Skip to content
Commits on Source (3)
#, 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.org>\n"
"Project-Id-Version: gambas-wiki 3.12.90\n"
"PO-Revision-Date: 2019-02-09 16:01 UTC\n"
"Last-Translator: benoit <benoit@benoit-kubuntu>\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 "Gambas Wiki Web Application"
msgstr ""
msgstr "-"
#: CClassInfo.class:348
#: CClassInfo.class:379
msgid "This class reimplements"
msgstr "Diese Klasse reimplementiert"
#: CClassInfo.class:350
#: CClassInfo.class:381
msgid "This class inherits"
msgstr "Diese Klasse beerbt"
#: CClassInfo.class:357
#: CClassInfo.class:388
msgid "in &1"
msgstr ""
msgstr "in &1"
#: CClassInfo.class:365
#: CClassInfo.class:396
msgid "This class is virtual."
msgstr ""
msgstr "Diese Klasse ist virtuell."
#: CClassInfo.class:367
#: CClassInfo.class:398
msgid "This class can be used like an object by creating a hidden instance on demand."
msgstr "Diese Klasse kann als Objekt benutzt werden, indem man bei Bedarf eine versteckte Instanz erstellt."
#: CClassInfo.class:372
#: CClassInfo.class:406
msgid "This class is &1."
msgstr "Diese Klasse ist &1."
#: CClassInfo.class:372
#: CClassInfo.class:406
msgid "creatable"
msgstr "erstellbar"
#: CClassInfo.class:375
#: CClassInfo.class:414
msgid "This class is static."
msgstr "Diese Klasse ist statisch."
#: CClassInfo.class:377
#: CClassInfo.class:416
msgid "This class is not creatable."
msgstr "Diese Klasse kann nicht erzeugt werden."
#: CClassInfo.class:385
#: CClassInfo.class:423
msgid "This class can be used as a &1."
msgstr "Diese Klasse kann als &1 benutzt werden."
#: CClassInfo.class:423
msgid "function"
msgstr "Funktion"
#: CClassInfo.class:423
msgid "static function"
msgstr "statische funktion"
#: CClassInfo.class:430
msgid "This class acts like a &1 / &2 static array."
msgstr ""
msgstr "Diese Klasse wirkt wie ein &1/&2 statisches Array."
#: CClassInfo.class:385
#: CClassInfo.class:430
msgid "read"
msgstr "lesen"
#: CClassInfo.class:385
#: CClassInfo.class:430
msgid "write"
msgstr "schreiben"
#: CClassInfo.class:387
#: CClassInfo.class:432
msgid "This class acts like a &1 static array."
msgstr ""
msgstr "Diese Klasse wirkt wie ein &1 statisches Array."
#: CClassInfo.class:387
#: CClassInfo.class:432
msgid "read-only"
msgstr "nur lesbar"
#: CClassInfo.class:391
#: CClassInfo.class:436
msgid "This class acts like a &1 / &2 array."
msgstr "Diese Klasse verhält sich wie ein &1 / &2-Array."
#: CClassInfo.class:393
#: CClassInfo.class:438
msgid "This class acts like a &1 array."
msgstr "Diese Klasse verhält sich wie ein &1-Array."
#: CClassInfo.class:399
#: CClassInfo.class:444
msgid "This class is &1 with the &2 keyword."
msgstr "Mit dem &2-Schlüsselwort ist diese Klasse &1."
#: CClassInfo.class:399
#: CClassInfo.class:444
msgid "enumerable"
msgstr "zählbar"
#: CClassInfo.class:399
#: CClassInfo.class:444
msgid "statically enumerable"
msgstr ""
msgstr "statisch aufzähmend"
#: CClassInfo.class:403
msgid "This class can be used as a &1."
msgstr "Diese Klasse kann als &1 benutzt werden."
#: CClassInfo.class:403
msgid "function"
msgstr "Funktion"
#: CClassInfo.class:403
msgid "static function"
msgstr ""
#: CClassInfo.class:411
#: CClassInfo.class:453
msgid "Static properties"
msgstr ""
msgstr "Statische Eigenschaften"
#: CClassInfo.class:412
#: CClassInfo.class:454
msgid "Static methods"
msgstr ""
msgstr "Statische Methoden"
#: CClassInfo.class:414
#: CClassInfo.class:456
msgid "Constants"
msgstr "Konstanten"
#: CClassInfo.class:438
#: CClassInfo.class:480
msgid "Properties"
msgstr "Eigenschaften"
#: CClassInfo.class:439
#: CClassInfo.class:481
msgid "Methods"
msgstr "Methoden"
#: CClassInfo.class:440
#: CClassInfo.class:482
msgid "Events"
msgstr "Ereignisse"
#: CComponent.class:757
msgid "Classes"
msgstr "Klassen"
#: CComponent.class:58
msgid "Graphical form management"
msgstr "Grafische Formleitung"
#: CComponent.class:59
msgid "Event loop management"
msgstr "Eventschleifenmanagement"
#: CComponent.class:60
msgid "Image loading and saving"
msgstr "Bildladen und Speichern"
#: CComponent.class:61
msgid "OpenGL display"
msgstr "OpenGL-Display"
#: CComponent.class:62
msgid "Complex numbers"
msgstr "Komplexe Zahlen"
#: CComponent.class:63
msgid "XML management"
msgstr "XML-Management"
#: CComponent.class:855
msgid "Class"
msgstr "Klasse"
#: CComponent.class:857 OldWiki.module:119
msgid "Description"
msgstr "Beschreibung"
#: CComponent.class:893
msgid "This component is not stable yet."
msgstr "Diese Komponente ist noch nicht stabil."
#: Main.module:484
#: CComponent.class:895
msgid "This component is deprecated."
msgstr "Diese Komponente ist veraltet."
#: CComponent.class:904
msgid "Author"
msgstr "Autor"
#: CComponent.class:906
msgid "Authors"
msgstr "Autoren"
#: CComponent.class:916
msgid "Implements"
msgstr "Implementiert"
#: CComponent.class:936
msgid "Requires"
msgstr "Erfordert"
#: CComponent.class:964
msgid "Excludes"
msgstr "Schließt"
#: Main.module:912
msgid "There are &1 classes and &2 symbols in all Gambas components."
msgstr "Es gibt &1 Klassen und &2 Symbole in allen Gambas-Komponenten."
#: OldWiki.module:105
#: Main.module:1151
msgid "You must be logged in to view the last changes."
msgstr "Sie müssen eingeloggt sein, um die letzten Änderungen zu sehen."
#: Main.module:1524
msgid "Run"
msgstr "Ausführen"
#: Main.module:1525
msgid "Play"
msgstr "Spielen"
#: Main.module:1526
msgid "Loading"
msgstr "Laden"
#: OldWiki.module:106
msgid "Errors"
msgstr "Fehler"
#: OldWiki.module:107
#: OldWiki.module:108
msgid "Examples"
msgstr ""
msgstr "Beispiele"
#: OldWiki.module:109
#: OldWiki.module:110
msgid "See also"
msgstr "Siehe auch"
#: OldWiki.module:116
#: OldWiki.module:117
msgid "Message"
msgstr "Nachricht"
#: OldWiki.module:118
msgid "Description"
msgstr "Beschreibung"
#: Wiki.class:180
msgid "Warning! This is a preview. Click on the <b>&1</b> button to go back to the edit page."
msgstr "Warnung! Eine Vorschau. Klicken Sie auf die <b>&1</b> Taste, um zur Bearbeitungsseite zurückzukehren."
#: Wiki.webpage:8
#: Wiki.class:213
msgid "This page does not exist in that language."
msgstr "Diese Seite existiert nicht in dieser Sprache."
#: Wiki.class:228
msgid "This page does not exist."
msgstr "Diese Seite existiert nicht."
#: Wiki.class:284
msgid "No change."
msgstr "Keine Veränderung."
#: Wiki.class:298
msgid "The english page is more recent."
msgstr "Die englische Seite ist jünger."
#: Wiki.webpage:14
msgid "Gambas Documentation"
msgstr "Gambas-Dokumentation"
#: Wiki.webpage:39
#: Wiki.webpage:34
msgid "OK"
msgstr "Okay"
#: Wiki.webpage:90
msgid "Preview"
msgstr "Vorschau"
#: Wiki.webpage:91
msgid "Save"
msgstr "Speichern"
#: Wiki.webpage:40
#: Wiki.webpage:92
msgid "Cancel"
msgstr "Abbrechen"
#: Wiki.webpage:45
#: Wiki.webpage:104
msgid "<"
msgstr "-"
#: Wiki.webpage:109
msgid ">"
msgstr "-"
#: Wiki.webpage:113
msgid "Exit"
msgstr "Ausfahrt"
#: Wiki.webpage:115
msgid "Edit"
msgstr "Bearbeiten"
#: Wiki.webpage:46
#: Wiki.webpage:116
msgid "Delete"
msgstr "Löschen"
#: Wiki.webpage:47
#: Wiki.webpage:117
msgid "Undo"
msgstr "Rückgängig"
#: Wiki.webpage:49
#: Wiki.webpage:119
msgid "Historic"
msgstr "Historischen"
#: Wiki.webpage:123
msgid "Create"
msgstr "Anlegen"
#: Wiki.webpage:57
#: Wiki.webpage:126
msgid "Enter a word to search through the wiki..."
msgstr "Geben Sie ein Wort ein, um durch das Wiki zu suchen ..."
#: Wiki.webpage:132
msgid "Logout"
msgstr ""
msgstr "Logout"
#: Wiki.webpage:59
#: Wiki.webpage:134
msgid "Login"
msgstr ""
msgstr "Einloggen"
#: Wiki.webpage:61
#: Wiki.webpage:151
msgid "Password"
msgstr "Passwort"
#: Wiki.webpage:82
#: Wiki.webpage:183
msgid "Select the image file to upload..."
msgstr ""
msgstr "Wählen Sie die Bilddatei zum Hochladen ..."
#: Wiki.class:49
msgid "This page does not exist."
msgstr ""
#: Wiki.class:50
msgid "Click on the <b>Create</b> button to create it!"
msgstr ""
#: WikiMarkdown.class:119
#: WikiMarkdown.class:163
msgid "Since"
msgstr ""
msgstr "Seit"
#: WikiMarkdown.class:126
#: WikiMarkdown.class:173
msgid "This component does not exist."
msgstr ""
msgstr "Diese Komponente existiert nicht."
#: WikiMarkdown.class:136
#: WikiMarkdown.class:198
msgid "This class does not exist."
msgstr ""
msgstr "Diese Klasse gibt es nicht."
#: WikiMarkdown.class:149
#: WikiMarkdown.class:211
msgid "This symbol does not exist."
msgstr ""
msgstr "Dieses Symbol existiert nicht."
#: WikiMarkdown.class:261
msgid "No match found."
msgstr "Kein Match gefunden."
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: gambas-wiki 3.10.90\n"
"POT-Creation-Date: 2019-01-26 19:13 UTC\n"
"PO-Revision-Date: 2017-10-03 17:49 UTC\n"
"Project-Id-Version: gambas-wiki 3.12.90\n"
"POT-Creation-Date: 2019-02-09 16:00 UTC\n"
"PO-Revision-Date: 2019-02-09 15:59 UTC\n"
"Last-Translator: benoit <benoit@benoit-kubuntu>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
......@@ -12,7 +12,7 @@ msgstr ""
#: .project:1
msgid "Gambas Wiki Web Application"
msgstr ""
msgstr "-"
#: CClassInfo.class:379
msgid "This class reimplements"
......@@ -186,14 +186,26 @@ msgstr "Nécessite"
msgid "Excludes"
msgstr "Exclut"
#: Main.module:908
#: Main.module:912
msgid "There are &1 classes and &2 symbols in all Gambas components."
msgstr "Il y a &1 classes et &2 symboles dans l'ensemble des composants de Gambas."
#: Main.module:1147
#: Main.module:1151
msgid "You must be logged in to view the last changes."
msgstr "Vous devez être connecté pour voir la liste des derniers changements."
#: Main.module:1524
msgid "Run"
msgstr "Exécuter"
#: Main.module:1525
msgid "Play"
msgstr "Tester..."
#: Main.module:1526
msgid "Loading"
msgstr "Chargement"
#: OldWiki.module:106
msgid "Errors"
msgstr "Erreurs"
......@@ -234,71 +246,71 @@ msgstr "Le page anglaise est plus récente."
msgid "Gambas Documentation"
msgstr "Documentation de Gambas"
#: Wiki.webpage:33
#: Wiki.webpage:34
msgid "OK"
msgstr "OK"
#: Wiki.webpage:89
#: Wiki.webpage:90
msgid "Preview"
msgstr "Aperçu"
#: Wiki.webpage:90
#: Wiki.webpage:91
msgid "Save"
msgstr "Enregistrer"
#: Wiki.webpage:91
#: Wiki.webpage:92
msgid "Cancel"
msgstr "Annuler"
#: Wiki.webpage:103
#: Wiki.webpage:104
msgid "<"
msgstr "-"
#: Wiki.webpage:108
#: Wiki.webpage:109
msgid ">"
msgstr "-"
#: Wiki.webpage:112
#: Wiki.webpage:113
msgid "Exit"
msgstr "Sortir"
#: Wiki.webpage:114
#: Wiki.webpage:115
msgid "Edit"
msgstr "Modifier"
#: Wiki.webpage:115
#: Wiki.webpage:116
msgid "Delete"
msgstr "Supprimer"
#: Wiki.webpage:116
#: Wiki.webpage:117
msgid "Undo"
msgstr "Revenir à la version précédente"
#: Wiki.webpage:118
#: Wiki.webpage:119
msgid "Historic"
msgstr "Historique"
#: Wiki.webpage:122
#: Wiki.webpage:123
msgid "Create"
msgstr "Créer"
#: Wiki.webpage:125
#: Wiki.webpage:126
msgid "Enter a word to search through the wiki..."
msgstr ""
msgstr "Saisissez un mot à rechercher dans le wiki..."
#: Wiki.webpage:131
#: Wiki.webpage:132
msgid "Logout"
msgstr "Se déconnecter"
#: Wiki.webpage:133
#: Wiki.webpage:134
msgid "Login"
msgstr "Utilisateur"
#: Wiki.webpage:150
#: Wiki.webpage:151
msgid "Password"
msgstr "Mot de passe"
#: Wiki.webpage:182
#: Wiki.webpage:183
msgid "Select the image file to upload..."
msgstr "Sélectionnez l'image à importer..."
......
// Gambas Wiki - Javascript to Run Examples in Playground
// Written by: Matthew Collins - Feb 2019
// Modified by: Benoît Minisini - Feb 2019
// Add this into the wiki: <script type="text/javascript" src="http://gambas.one/playground/wiki.js"></script>
// Run this when Document Loaded
document.addEventListener("DOMContentLoaded", function() {
var i;
var REMOTE_URI = 'http://46.101.40.55/run.php';
// Hide all results
/*var all = document.querySelectorAll('DIV.result');
for (i = 0; i < all.length; i++) {
all[i].style.display = 'none';
}*/
// Get and loop all "code gambas" elements
var gcs = document.getElementsByClassName("code gambas");
var next;
for (i = 0; i < gcs.length; i++) {
next = gcs[i].parentElement.nextElementSibling;
if (!next || !next.firstElementChild || next.firstElementChild.className != 'result')
continue;
// Add Outer Div with look of Result Box
var divOuter = document.createElement("div");
divOuter.className = "playground";
//divOuter.style = "border:solid 1px #D8D8D8; border-top:none; background-color:#F8F8F8";
gcs[i].parentElement.insertBefore(divOuter, gcs[i].nextSibling);
// Add From
var formPlay = document.createElement("form");
formPlay.action = "http://gambas.one/playground/ultra.php";
formPlay.method = "POST";
formPlay.target = '_blank';
divOuter.appendChild(formPlay);
// Add Pre and Code Elements same a Result Box
var preResult = document.createElement("pre");
//preResult.style = "padding:0.5em 1em; margin:0";
var codeResult = document.createElement("code");
//codeResult.innerText = "...";
preResult.appendChild(codeResult);
formPlay.appendChild(preResult);
// Add Run Button
var buttonRun = document.createElement("button");
buttonRun.type = "button";
buttonRun.innerText = (("Run"));
formPlay.appendChild(buttonRun);
// Add Run Click Event
buttonRun.addEventListener('click', function() {
var xhr = new XMLHttpRequest();
this[1].parentElement.style.display = 'block';
//this[1].innerText = (("Loading..."));
this[1].innerHTML = '<div class="waiting"></div>';
xhr.onreadystatechange = function() {
if(xhr.readyState !== XMLHttpRequest.DONE) return;
this.innerHTML = '';
if(xhr.status === 200) {
this.innerText = xhr.responseText;
} else {
this.innerText = 'Error: ' + xhr.status + ' : \n\n' + xhr.responseText;
}
}.bind(this[1]);
xhr.open('POST', REMOTE_URI, true);
xhr.send(this[0]);
}.bind([gcs[i].innerText,codeResult]));
// Add Input Box
var inputCode = document.createElement("textarea");
inputCode.style = "display:none;";
inputCode.name = "Code";
inputCode.value = gcs[i].innerText;
formPlay.appendChild(inputCode);
// Add Play Button
var buttonPlay = document.createElement("button");
//buttonPlay.style="margin-left: 3px;";
buttonPlay.innerText = (("Play"));
formPlay.appendChild(buttonPlay);
}
});
......@@ -754,4 +754,32 @@ IMG.screenshot {
#login-buttons > INPUT {
margin: 0 0.5em;
}
\ No newline at end of file
}
DIV.playground {
border: solid 1px #D8D8D8;
border-top: none;
background-color: #F8F8F8;
}
DIV.playground PRE {
display: none;
padding: 0.5em 1em 0 1em;
margin: 0;
}
DIV.playground BUTTON {
background-color: #A0A0A0;
color: white;
font-size: 80%;
height: 1.6em;
border: none;
cursor: pointer;
margin: 0.5em 0 0.5em 0.5em;
}
DIV.waiting {
background: url('<%/%>/waiting.gif');
width: 16px;
height: 11px;
}
......@@ -478,6 +478,10 @@ Public Sub Main()
Print Replace(File.Load(".public/style.css"), "<%/%>", Application.Root);
Response.End
Return
Else If File.Name(Path) = "playground.js" Then
SetLanguage(Request["l"])
SendPlayground
Return
Else If Path And If Exist(".public" &/ Path) Then
AddCacheHeaders
Response.SendFile(".public" &/ Path)
......@@ -1511,3 +1515,20 @@ Public Sub GetImageHTML(sPath As String) As String
Endif
End
Private Sub SendPlayground()
Dim sData As String
sData = File.Load(".public/playground.js")
sData = Replace(sData, "((\"Run\"))", Quote(("Run")))
sData = Replace(sData, "((\"Play\"))", Quote(("Play")))
sData = Replace(sData, "((\"Loading...\"))", Quote(("Loading") & "..."))
Response.ContentType = "text/javascript"
AddCacheHeaders
Response.Begin
Print sData;
Response.End
End
\ No newline at end of file
......@@ -13,8 +13,9 @@
<%Endif%>
<link rel="icon" href="<%/%>/logo.png" type="image/png">
<title><%=("Gambas Documentation")%> - <%_PrintTitle%></title>
<script type="text/javascript" src="<%/%>/playground.js?l=<%=Request["l"]%>"></script>
<%If Request["ht"]%>
<script src="<%/%>/hilitor.js"></script>
<script type="text/javascript" src="<%/%>/hilitor.js"></script>
<%Endif%>
</head>
......
[Component]
Key=gb.web.form
Version=3.12.0
Version=3.12.90
State=1
Authors=Benoît Minisini
Requires=gb.web,gb.util.web,gb.util
......
# Gambas Project File 3.0
Startup=Webform6
UseHttpServer=1
Version=3.12.0
Version=3.12.90
VersionFile=1
Component=gb.util
Component=gb.util.web
......
......@@ -12,3 +12,9 @@ Public Sub WebComboBox1_Click()
Message(WebComboBox1.Text)
End
Public Sub WebButton2_Click()
Message(Html("TextBox: " & WebTextBox1.Text) & "<p>" & Html("TextArea: " & WebTextArea1.Text))
End
......@@ -16,10 +16,15 @@
#MoveScaled(1,11,72,16)
}
{ WebHBox1 WebHBox
#MoveScaled(1,28,72,5)
#MoveScaled(1,28,72,7)
Spacing = True
{ WebButton1 WebButton
#MoveScaled(1,1,16,3)
#MoveScaled(1,1,16,5)
Text = ("Copy")
}
{ WebButton2 WebButton
#MoveScaled(18,1,16,5)
Text = ("Text")
}
}
}
......@@ -61,6 +61,7 @@ Public Sub _BeforeRender()
Print "<textarea"; Me._GetClassId(); " autocomplete=\"off\"";
If Object.CanRaise(Me, "Change") Then Print " oninput=\"gw.textarea.onchange("; JS(Me.Name); ");\"";
Print Me._GetUpdateJS("onblur", "text", "this.value");
If Not Me.Enabled Then Print " disabled";
If $bReadOnly Then Print " readonly";
If $sPlaceHolder Then Print " placeholder=\""; Html($sPlaceHolder); "\"";
......