From: Jerome Jutteau Date: Mon, 23 Feb 2015 17:57:33 +0000 (+0100) Subject: Fixes #13 fix script documentation X-Git-Tag: 1.1~164 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/38069302c9544b4fcc1eb2492138dbcbe83d7bd7?ds=inline;hp=e4f9c92ff84f6146aaf1244147082efd57e289f6 Fixes #13 fix script documentation Also fix lang typo --- diff --git a/lib/lang/fr.php b/lib/lang/fr.php index 62bc164..02142e5 100644 --- a/lib/lang/fr.php +++ b/lib/lang/fr.php @@ -154,7 +154,7 @@ $tr = array ( 'This will return "Ok" if succeded, "Error" otherwhise.' => 'Retourne "OK" en cas de succès, "Error" dans le cas contraire.', 'Get a generated scripts' => 'Récupérer un script généré', 'This will return brut text content of the code.' => 'Renvoie le code sous forme the texte brut.', - 'Initalize a asynchronous transfert' => 'Initialiser un transfert asynchrone', + 'Initalize an asynchronous transfert' => 'Initialiser un transfert asynchrone', 'The goal is to permit to transfert big file, chunk by chunk.' => 'Le but est de permettre de transférer de gros fichiers, morceaux par morceaux.', 'Chunks of data must be sent in order.' => 'Chaque morceau doit être envoyé dans l\'ordre.', 'First line is the asynchronous transfert reference and the second line the code to use in the next operation.' diff --git a/script.php b/script.php index 09c7a8c..bb44562 100644 --- a/script.php +++ b/script.php @@ -92,6 +92,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0) echo "time=[minute|hour|day|week|month|none] (" . t('Optional') . ', '. t('default: none') . ")
"; echo "password=your_password (" . t('Optional') . ")
"; echo "one_time_download=1 (" . t('Optional') . ")
"; + echo "upload_password=your_upload_password (" . t('Optional') . ")
"; echo '

'; echo '

' . t('This will return brut text content.') . ' ' . t('First line is the download reference and the second line the delete code.') . '

'; @@ -143,7 +144,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0) echo "$name: " . $web_root . "script.php?lang=$lang "; echo '

'; - echo '

' . t('Initalize a asynchronous transfert') . ':

'; + echo '

' . t('Initalize an asynchronous transfert') . ':

'; echo '

'; echo t('The goal is to permit to transfert big file, chunk by chunk.') . ' '; echo t('Chunks of data must be sent in order.'); @@ -157,6 +158,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" && count ($_GET) == 0) echo "time=[minute|hour|day|week|month|none] (" . t('Optional') . ', '. t('default: none') . ")
"; echo "password=your_password (" . t('Optional') . ")
"; echo "one_time_download=1 (" . t('Optional') . ")
"; + echo "upload_password=your_upload_password (" . t('Optional') . ")
"; echo '

'; echo '

' . t('This will return brut text content.') . ' ' . t('First line is the asynchronous transfert reference and the second line the code to use in the next operation.') . '

';