From 8999b491d17e53015efb2de22d89e3928af7f7e9 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sat, 25 Apr 2015 11:53:52 +0200 Subject: [PATCH 01/16] media/courgette: cleaner design of links page Signed-off-by: Jerome Jutteau --- index.php | 19 ++++++++----------- media/courgette/style.css.php | 15 ++++++++++++++- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index e06086f..86220f7 100644 --- a/index.php +++ b/index.php @@ -95,36 +95,33 @@ if (jirafeau_has_upload_password ($cfg)) ?>

-
- +

-

:

-

:

-
+

:

-
- -

- : -

-

+
+ +
+

:

+

+
diff --git a/media/courgette/style.css.php b/media/courgette/style.css.php index 1c0c18a..3bb25a9 100644 --- a/media/courgette/style.css.php +++ b/media/courgette/style.css.php @@ -224,7 +224,20 @@ input[type="submit"]:focus { padding-left: 3em; } -#upload_finished a, +#upload_finished > p:nth-child(1) { + color: #0D9CB2; + font-weight: bold; +} + +#upload_finished div p:nth-child(1) { + font-weight: bold; +} + +#upload_finished a { + text-decoration: none; + color: #795548; +} + #uploading a { font-weight: bold; text-decoration: none; -- 2.34.1 From 777eeaa386e65193660e936fd5d7b12d05561c21 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sat, 25 Apr 2015 12:44:23 +0200 Subject: [PATCH 02/16] add mailto link with image next to download page link closes #31 Signed-off-by: Jerome Jutteau --- index.php | 5 ++++- lib/{functions_v5.js => functions_v6.js} | 5 +++++ lib/template/header.php | 2 +- media/courgette/email.png | Bin 0 -> 596 bytes media/courgette/style.css.php | 6 ++++++ media/industrial/email.png | Bin 0 -> 596 bytes media/industrial/style.css.php | 7 +++++++ media/jyraphe/email.png | Bin 0 -> 596 bytes media/jyraphe/style.css.php | 6 ++++++ media/modern/email.png | Bin 0 -> 596 bytes media/modern/style.css.php | 6 ++++++ 11 files changed, 35 insertions(+), 2 deletions(-) rename lib/{functions_v5.js => functions_v6.js} (98%) create mode 100644 media/courgette/email.png create mode 100644 media/industrial/email.png create mode 100644 media/jyraphe/email.png create mode 100644 media/modern/email.png diff --git a/index.php b/index.php index 86220f7..8cb0b86 100644 --- a/index.php +++ b/index.php @@ -97,7 +97,10 @@ if (jirafeau_has_upload_password ($cfg))

-

+

+ + +

diff --git a/lib/functions_v5.js b/lib/functions_v6.js similarity index 98% rename from lib/functions_v5.js rename to lib/functions_v6.js index 031e7f4..263d8fa 100644 --- a/lib/functions_v5.js +++ b/lib/functions_v6.js @@ -38,6 +38,11 @@ function show_link (url, reference, delete_code, crypt_key, date) document.getElementById('upload_link').href = download_link_href; } + // Email link + var filename = document.getElementById('file_select').files[0].name; + var b = "Download%20%22" + filename + "%22 :%0D" + download_link_href + "%0D"; + document.getElementById('upload_link_email').href = "mailto:?body=" + b + "&subject=" + filename; + // Delete link var delete_link = url + 'f.php?h=' + reference + '&d=' + delete_code; var delete_link_href = url + 'f.php?h=' + reference + '&d=' + delete_code; diff --git a/lib/template/header.php b/lib/template/header.php index 2aab081..92937e2 100644 --- a/lib/template/header.php +++ b/lib/template/header.php @@ -35,6 +35,6 @@ else - +

diff --git a/media/courgette/email.png b/media/courgette/email.png new file mode 100644 index 0000000000000000000000000000000000000000..234a2290643cbda288a7b55a0967735fe3ffe5ac GIT binary patch literal 596 zcmV-a0;~OrP)WFU8GbZ8()Nlj2>E@cM*00Fp3L_t(I%bn9ZYt%s$ z#^Gnzgv4tbixDgY6SPPdn-R4zLIQ$?R(3Llg;>~FSXf9?8P@+&!s-Y zK)bo`&!v9CY0Rb=Mmvvsfg0O^SGbrZpI!T%e!Xij+p&a+TcYQvuz?OY zKjd64btc8I*v1-8;wi>+sSCaKugB_W67R>u6vF|mwNebL_}M@|ZXDDmY#oO&gLdcf iF1+aKmH&Y5#_AtRt+V~iZnE3}0000WFU8GbZ8()Nlj2>E@cM*00Fp3L_t(I%bn9ZYt%s$ z#^Gnzgv4tbixDgY6SPPdn-R4zLIQ$?R(3Llg;>~FSXf9?8P@+&!s-Y zK)bo`&!v9CY0Rb=Mmvvsfg0O^SGbrZpI!T%e!Xij+p&a+TcYQvuz?OY zKjd64btc8I*v1-8;wi>+sSCaKugB_W67R>u6vF|mwNebL_}M@|ZXDDmY#oO&gLdcf iF1+aKmH&Y5#_AtRt+V~iZnE3}0000WFU8GbZ8()Nlj2>E@cM*00Fp3L_t(I%bn9ZYt%s$ z#^Gnzgv4tbixDgY6SPPdn-R4zLIQ$?R(3Llg;>~FSXf9?8P@+&!s-Y zK)bo`&!v9CY0Rb=Mmvvsfg0O^SGbrZpI!T%e!Xij+p&a+TcYQvuz?OY zKjd64btc8I*v1-8;wi>+sSCaKugB_W67R>u6vF|mwNebL_}M@|ZXDDmY#oO&gLdcf iF1+aKmH&Y5#_AtRt+V~iZnE3}0000WFU8GbZ8()Nlj2>E@cM*00Fp3L_t(I%bn9ZYt%s$ z#^Gnzgv4tbixDgY6SPPdn-R4zLIQ$?R(3Llg;>~FSXf9?8P@+&!s-Y zK)bo`&!v9CY0Rb=Mmvvsfg0O^SGbrZpI!T%e!Xij+p&a+TcYQvuz?OY zKjd64btc8I*v1-8;wi>+sSCaKugB_W67R>u6vF|mwNebL_}M@|ZXDDmY#oO&gLdcf iF1+aKmH&Y5#_AtRt+V~iZnE3}0000 Date: Sun, 26 Apr 2015 12:03:33 +0200 Subject: [PATCH 03/16] Revert "lib/locales: we can remove template file as locales are managed by weblate" This reverts commit 57971c94012d697a9d37160bb2c0321313a3fdf3. --- lib/locales/template.json | 141 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 lib/locales/template.json diff --git a/lib/locales/template.json b/lib/locales/template.json new file mode 100644 index 0000000..5a90d57 --- /dev/null +++ b/lib/locales/template.json @@ -0,0 +1,141 @@ +{ + "Jirafeau, your web file repository": "", + "Select a file": "", + "Send": "", + "Uploading ...": "", + "One time download": "", + "Password": "", + "Time limit": "", + "Maximum file size": "Taille maximale", + "powered by Open-Source project Jirafeau": "", + "Jirafeau Project": "", + "One minute": "", + "One hour": "", + "One day": "", + "One week": "", + "One month": "", + "One year": "", + "None": "", + "Upload password": "", + "File is too big": "", + "File size is limited to": "", + "The file directory is not writable": "", + "The link directory is not writable": "", + "The async directory is not writable!": "", + "Installer script still present": "", + "Please make sure to delete the installer script \"install.php\" before continuing.": "", + "An error occurred.": "", + "File uploaded !": "", + "Download page": "", + "This file is valid until the following date": "", + "View link": "", + "Direct download link": "", + "Delete link": "", + "Download": "", + "Preview": "", + "Sorry, the requested file is not found": "", + "File not available.": "", + "File has been deleted.": "", + "The time limit of this file has expired.": "", + "Password protection": "", + "Give the password of this file": "", + "Access denied": "", + "You are about to download": "", + "By using our services, you accept our": "", + "Term Of Service": "", + "Warning, this file will self-destruct after being read": "", + "Internal error during file creation.": "", + + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", + "The following directory could not be created": "", + "You should create this directory manually.": "", + "The following directory is not writable": "", + "You should give the write permission to the web server on this directory.": "", + "Here is a solution": "", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", + "Installation of Jirafeau": "", + "step": "", + "out of": "", + "Administration password": "", + "Finalisation": "", + "Jirafeau is setting the website according to the configuration you provided.": "", + "Previous step": "", + "Retry this step": "", + "Jirafeau is now fully operational": "", + "Information": "", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", + "Base address": "", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", + "Data directory": "", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", + "Choose the default language": "", + "Next step": "", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", + "Administration password": "", + + "Sorry, the admin interface is not enabled.": "", + "Sorry, you are not authenticated on admin interface.": "", + "Login": "", + "Wrong password.": "", + "Admin interface": "", + "Clean expired files": "", + "Clean old unfinished transfers": "", + "Clean": "", + "Search files by name": "", + "Search": "", + "List all files": "", + "List": "", + "Actions": "", + "Search files by file hash": "", + "Search a specific link": "", + "Number of cleaned files": "", + "Logout": "", + "You are now loggued out": "", + "Link deleted": "", + "Filename": "", + "file": "", + "link": "", + "Type": "", + "Size": "", + "Expire": "", + "Onetime": "", + "Upload date": "", + "Origin": "", + "Action": "", + "Del link": "", + "Del file and links": "", + "Deleted links": "", + + "Welcome to Jirafeau's query interface": "", + "This interface permits to script your uploads and downloads.": "", + "The instructions above show how to query this interface.": "", + "Get server capacity": "", + "Maximal allowed size of an uploaded file": "", + "First line returns size (in MB).": "", + "Get Jirafeau's version": "", + "Send a GET query to": "", + "Send a POST query to": "", + "Upload a file": "", + "Get a file": "", + "Required": "", + "Optional": "", + "Parameters": "", + "This will return brut text content.": "", + "First line is the download reference and the second line the delete code.": "", + "First line is the server capacity (in Bytes).": "", + "Example": "", + "If a password has been set, send a POST request with it.": "", + "Delete a file": "", + "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "", + "Get a generated script": "", + "This will return brut text content of the code.": "", + "Initalize an asynchronous transfer": "", + "The goal is to permit to transfer big file, chunk by chunk.": "", + "Chunks of data must be sent in order.": "", + "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "", + "Push data during asynchronous transfer": "", + "Returns the next code to use.": "", + "Finalize asynchronous transfer": "", + "This will return \"Ok\" or \"Error\" string.": "" +} -- 2.34.1 From 202a0190cd995bdc8c13eafc9d6b12eac5dcc515 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Jutteau?= Date: Sun, 26 Apr 2015 12:01:19 +0200 Subject: [PATCH 04/16] Translated using Weblate (Czech) Currently translated at 100% (0 of 0 strings) Created new translation. --- lib/locales/cs.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 lib/locales/cs.json diff --git a/lib/locales/cs.json b/lib/locales/cs.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/lib/locales/cs.json @@ -0,0 +1 @@ +{} -- 2.34.1 From 158de9a5e0c0b973dc963e6542dc0d06317abf86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Jutteau?= Date: Sun, 26 Apr 2015 12:01:27 +0200 Subject: [PATCH 05/16] Translated using Weblate (Italian) Currently translated at 100% (0 of 0 strings) Created new translation. --- lib/locales/it.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 lib/locales/it.json diff --git a/lib/locales/it.json b/lib/locales/it.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/lib/locales/it.json @@ -0,0 +1 @@ +{} -- 2.34.1 From 6c475b4ff725d463a721c0727d4886f3ae278ca1 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sun, 26 Apr 2015 12:07:26 +0200 Subject: [PATCH 06/16] lib/locales: fill with template Signed-off-by: Jerome Jutteau --- lib/locales/cs.json | 142 +++++++++++++++++++++++++++++++++++++++++++- lib/locales/it.json | 142 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 282 insertions(+), 2 deletions(-) diff --git a/lib/locales/cs.json b/lib/locales/cs.json index 0967ef4..5a90d57 100644 --- a/lib/locales/cs.json +++ b/lib/locales/cs.json @@ -1 +1,141 @@ -{} +{ + "Jirafeau, your web file repository": "", + "Select a file": "", + "Send": "", + "Uploading ...": "", + "One time download": "", + "Password": "", + "Time limit": "", + "Maximum file size": "Taille maximale", + "powered by Open-Source project Jirafeau": "", + "Jirafeau Project": "", + "One minute": "", + "One hour": "", + "One day": "", + "One week": "", + "One month": "", + "One year": "", + "None": "", + "Upload password": "", + "File is too big": "", + "File size is limited to": "", + "The file directory is not writable": "", + "The link directory is not writable": "", + "The async directory is not writable!": "", + "Installer script still present": "", + "Please make sure to delete the installer script \"install.php\" before continuing.": "", + "An error occurred.": "", + "File uploaded !": "", + "Download page": "", + "This file is valid until the following date": "", + "View link": "", + "Direct download link": "", + "Delete link": "", + "Download": "", + "Preview": "", + "Sorry, the requested file is not found": "", + "File not available.": "", + "File has been deleted.": "", + "The time limit of this file has expired.": "", + "Password protection": "", + "Give the password of this file": "", + "Access denied": "", + "You are about to download": "", + "By using our services, you accept our": "", + "Term Of Service": "", + "Warning, this file will self-destruct after being read": "", + "Internal error during file creation.": "", + + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", + "The following directory could not be created": "", + "You should create this directory manually.": "", + "The following directory is not writable": "", + "You should give the write permission to the web server on this directory.": "", + "Here is a solution": "", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", + "Installation of Jirafeau": "", + "step": "", + "out of": "", + "Administration password": "", + "Finalisation": "", + "Jirafeau is setting the website according to the configuration you provided.": "", + "Previous step": "", + "Retry this step": "", + "Jirafeau is now fully operational": "", + "Information": "", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", + "Base address": "", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", + "Data directory": "", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", + "Choose the default language": "", + "Next step": "", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", + "Administration password": "", + + "Sorry, the admin interface is not enabled.": "", + "Sorry, you are not authenticated on admin interface.": "", + "Login": "", + "Wrong password.": "", + "Admin interface": "", + "Clean expired files": "", + "Clean old unfinished transfers": "", + "Clean": "", + "Search files by name": "", + "Search": "", + "List all files": "", + "List": "", + "Actions": "", + "Search files by file hash": "", + "Search a specific link": "", + "Number of cleaned files": "", + "Logout": "", + "You are now loggued out": "", + "Link deleted": "", + "Filename": "", + "file": "", + "link": "", + "Type": "", + "Size": "", + "Expire": "", + "Onetime": "", + "Upload date": "", + "Origin": "", + "Action": "", + "Del link": "", + "Del file and links": "", + "Deleted links": "", + + "Welcome to Jirafeau's query interface": "", + "This interface permits to script your uploads and downloads.": "", + "The instructions above show how to query this interface.": "", + "Get server capacity": "", + "Maximal allowed size of an uploaded file": "", + "First line returns size (in MB).": "", + "Get Jirafeau's version": "", + "Send a GET query to": "", + "Send a POST query to": "", + "Upload a file": "", + "Get a file": "", + "Required": "", + "Optional": "", + "Parameters": "", + "This will return brut text content.": "", + "First line is the download reference and the second line the delete code.": "", + "First line is the server capacity (in Bytes).": "", + "Example": "", + "If a password has been set, send a POST request with it.": "", + "Delete a file": "", + "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "", + "Get a generated script": "", + "This will return brut text content of the code.": "", + "Initalize an asynchronous transfer": "", + "The goal is to permit to transfer big file, chunk by chunk.": "", + "Chunks of data must be sent in order.": "", + "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "", + "Push data during asynchronous transfer": "", + "Returns the next code to use.": "", + "Finalize asynchronous transfer": "", + "This will return \"Ok\" or \"Error\" string.": "" +} diff --git a/lib/locales/it.json b/lib/locales/it.json index 0967ef4..5a90d57 100644 --- a/lib/locales/it.json +++ b/lib/locales/it.json @@ -1 +1,141 @@ -{} +{ + "Jirafeau, your web file repository": "", + "Select a file": "", + "Send": "", + "Uploading ...": "", + "One time download": "", + "Password": "", + "Time limit": "", + "Maximum file size": "Taille maximale", + "powered by Open-Source project Jirafeau": "", + "Jirafeau Project": "", + "One minute": "", + "One hour": "", + "One day": "", + "One week": "", + "One month": "", + "One year": "", + "None": "", + "Upload password": "", + "File is too big": "", + "File size is limited to": "", + "The file directory is not writable": "", + "The link directory is not writable": "", + "The async directory is not writable!": "", + "Installer script still present": "", + "Please make sure to delete the installer script \"install.php\" before continuing.": "", + "An error occurred.": "", + "File uploaded !": "", + "Download page": "", + "This file is valid until the following date": "", + "View link": "", + "Direct download link": "", + "Delete link": "", + "Download": "", + "Preview": "", + "Sorry, the requested file is not found": "", + "File not available.": "", + "File has been deleted.": "", + "The time limit of this file has expired.": "", + "Password protection": "", + "Give the password of this file": "", + "Access denied": "", + "You are about to download": "", + "By using our services, you accept our": "", + "Term Of Service": "", + "Warning, this file will self-destruct after being read": "", + "Internal error during file creation.": "", + + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", + "The following directory could not be created": "", + "You should create this directory manually.": "", + "The following directory is not writable": "", + "You should give the write permission to the web server on this directory.": "", + "Here is a solution": "", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", + "Installation of Jirafeau": "", + "step": "", + "out of": "", + "Administration password": "", + "Finalisation": "", + "Jirafeau is setting the website according to the configuration you provided.": "", + "Previous step": "", + "Retry this step": "", + "Jirafeau is now fully operational": "", + "Information": "", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", + "Base address": "", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", + "Data directory": "", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", + "Choose the default language": "", + "Next step": "", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", + "Administration password": "", + + "Sorry, the admin interface is not enabled.": "", + "Sorry, you are not authenticated on admin interface.": "", + "Login": "", + "Wrong password.": "", + "Admin interface": "", + "Clean expired files": "", + "Clean old unfinished transfers": "", + "Clean": "", + "Search files by name": "", + "Search": "", + "List all files": "", + "List": "", + "Actions": "", + "Search files by file hash": "", + "Search a specific link": "", + "Number of cleaned files": "", + "Logout": "", + "You are now loggued out": "", + "Link deleted": "", + "Filename": "", + "file": "", + "link": "", + "Type": "", + "Size": "", + "Expire": "", + "Onetime": "", + "Upload date": "", + "Origin": "", + "Action": "", + "Del link": "", + "Del file and links": "", + "Deleted links": "", + + "Welcome to Jirafeau's query interface": "", + "This interface permits to script your uploads and downloads.": "", + "The instructions above show how to query this interface.": "", + "Get server capacity": "", + "Maximal allowed size of an uploaded file": "", + "First line returns size (in MB).": "", + "Get Jirafeau's version": "", + "Send a GET query to": "", + "Send a POST query to": "", + "Upload a file": "", + "Get a file": "", + "Required": "", + "Optional": "", + "Parameters": "", + "This will return brut text content.": "", + "First line is the download reference and the second line the delete code.": "", + "First line is the server capacity (in Bytes).": "", + "Example": "", + "If a password has been set, send a POST request with it.": "", + "Delete a file": "", + "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "", + "Get a generated script": "", + "This will return brut text content of the code.": "", + "Initalize an asynchronous transfer": "", + "The goal is to permit to transfer big file, chunk by chunk.": "", + "Chunks of data must be sent in order.": "", + "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "", + "Push data during asynchronous transfer": "", + "Returns the next code to use.": "", + "Finalize asynchronous transfer": "", + "This will return \"Ok\" or \"Error\" string.": "" +} -- 2.34.1 From 26e9e38e96dd008948e4172888fb5a8fc8f439fb Mon Sep 17 00:00:00 2001 From: asashi Date: Sun, 26 Apr 2015 14:22:10 +0200 Subject: [PATCH 07/16] Translated using Weblate (Italian) Currently translated at 100.0% (135 of 135 strings) --- lib/locales/it.json | 276 ++++++++++++++++++++++---------------------- 1 file changed, 136 insertions(+), 140 deletions(-) diff --git a/lib/locales/it.json b/lib/locales/it.json index 5a90d57..b028ebd 100644 --- a/lib/locales/it.json +++ b/lib/locales/it.json @@ -1,141 +1,137 @@ { - "Jirafeau, your web file repository": "", - "Select a file": "", - "Send": "", - "Uploading ...": "", - "One time download": "", - "Password": "", - "Time limit": "", - "Maximum file size": "Taille maximale", - "powered by Open-Source project Jirafeau": "", - "Jirafeau Project": "", - "One minute": "", - "One hour": "", - "One day": "", - "One week": "", - "One month": "", - "One year": "", - "None": "", - "Upload password": "", - "File is too big": "", - "File size is limited to": "", - "The file directory is not writable": "", - "The link directory is not writable": "", - "The async directory is not writable!": "", - "Installer script still present": "", - "Please make sure to delete the installer script \"install.php\" before continuing.": "", - "An error occurred.": "", - "File uploaded !": "", - "Download page": "", - "This file is valid until the following date": "", - "View link": "", - "Direct download link": "", - "Delete link": "", - "Download": "", - "Preview": "", - "Sorry, the requested file is not found": "", - "File not available.": "", - "File has been deleted.": "", - "The time limit of this file has expired.": "", - "Password protection": "", - "Give the password of this file": "", - "Access denied": "", - "You are about to download": "", - "By using our services, you accept our": "", - "Term Of Service": "", - "Warning, this file will self-destruct after being read": "", - "Internal error during file creation.": "", - - "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", - "The following directory could not be created": "", - "You should create this directory manually.": "", - "The following directory is not writable": "", - "You should give the write permission to the web server on this directory.": "", - "Here is a solution": "", - "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", - "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", - "Installation of Jirafeau": "", - "step": "", - "out of": "", - "Administration password": "", - "Finalisation": "", - "Jirafeau is setting the website according to the configuration you provided.": "", - "Previous step": "", - "Retry this step": "", - "Jirafeau is now fully operational": "", - "Information": "", - "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", - "Base address": "", - "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", - "Data directory": "", - "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", - "Choose the default language": "", - "Next step": "", - "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", - "Administration password": "", - - "Sorry, the admin interface is not enabled.": "", - "Sorry, you are not authenticated on admin interface.": "", - "Login": "", - "Wrong password.": "", - "Admin interface": "", - "Clean expired files": "", - "Clean old unfinished transfers": "", - "Clean": "", - "Search files by name": "", - "Search": "", - "List all files": "", - "List": "", - "Actions": "", - "Search files by file hash": "", - "Search a specific link": "", - "Number of cleaned files": "", - "Logout": "", - "You are now loggued out": "", - "Link deleted": "", - "Filename": "", - "file": "", - "link": "", - "Type": "", - "Size": "", - "Expire": "", - "Onetime": "", - "Upload date": "", - "Origin": "", - "Action": "", - "Del link": "", - "Del file and links": "", - "Deleted links": "", - - "Welcome to Jirafeau's query interface": "", - "This interface permits to script your uploads and downloads.": "", - "The instructions above show how to query this interface.": "", - "Get server capacity": "", - "Maximal allowed size of an uploaded file": "", - "First line returns size (in MB).": "", - "Get Jirafeau's version": "", - "Send a GET query to": "", - "Send a POST query to": "", - "Upload a file": "", - "Get a file": "", - "Required": "", - "Optional": "", - "Parameters": "", - "This will return brut text content.": "", - "First line is the download reference and the second line the delete code.": "", - "First line is the server capacity (in Bytes).": "", - "Example": "", - "If a password has been set, send a POST request with it.": "", - "Delete a file": "", - "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "", - "Get a generated script": "", - "This will return brut text content of the code.": "", - "Initalize an asynchronous transfer": "", - "The goal is to permit to transfer big file, chunk by chunk.": "", - "Chunks of data must be sent in order.": "", - "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "", - "Push data during asynchronous transfer": "", - "Returns the next code to use.": "", - "Finalize asynchronous transfer": "", - "This will return \"Ok\" or \"Error\" string.": "" -} + "Access denied": "Accesso negato", + "Action": "Azione", + "Actions": "Azioni", + "Admin interface": "Interfaccia di amministrazione", + "Administration password": "Password di amministrazione", + "An error occurred.": "C'è stato un errore.", + "Base address": "Indirizzo base", + "By using our services, you accept our": "Utilizzando i nostri servizi, accettate i nostri", + "Choose the default language": "Scegliere la lingua predefinita", + "Chunks of data must be sent in order.": "I blocchi di dati devono essere inviati in ordine.", + "Clean": "Ripulire", + "Clean expired files": "Ripulisci i file scaduti", + "Clean old unfinished transfers": "Ripulisci i vecchi trasferimenti non conclusi", + "Data directory": "Directory data", + "Del file and links": "Canc file e links", + "Del link": "Canc link", + "Delete a file": "Cancella un file", + "Delete link": "Cancella link", + "Deleted links": "Links cancellati", + "Direct download link": "Link per il download diretto", + "Download": "Download", + "Download page": "Pagina di download", + "Example": "Esempio", + "Expire": "Scadere", + "File has been deleted.": "Il file è stato cancellato.", + "File is too big": "Il file è troppo grande", + "File not available.": "Il file non è disponibile.", + "File size is limited to": "La dimensione dei file è limitata a", + "File uploaded !": "File caricato !", + "Filename": "Nome file", + "Finalisation": "Finalizzazione", + "Finalize asynchronous transfer": "Finalizzare il trasferimento asincrono", + "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "La prima linea è il riferimento per il trasferimento asincrono e la seconda linea il codice da utilizzare nell'operazione successiva.", + "First line is the download reference and the second line the delete code.": "La prima linea è il riferimenti per il download e la seconda è il codice per la cancellazione.", + "First line is the server capacity (in Bytes).": "La prima linea è la capacità del server (in Bytes).", + "First line returns size (in MB).": "La prima linea restituisce la dimensione (in MB).", + "Get Jirafeau's version": "Visualizza la versione di Jirafeau", + "Get a file": "Scarica un file", + "Get a generated script": "Visualizza uno script generato", + "Get server capacity": "Visualizza la capacità del server", + "Give the password of this file": "Fornire la password per questo file", + "Here is a solution": "Ecco una soluzione", + "If a password has been set, send a POST request with it.": "Se è stata impostata una password, invia una richiesta POST con la stessa.", + "Information": "Informazioni", + "Initalize an asynchronous transfer": "Inizializza un trasferimento asincrono", + "Installation of Jirafeau": "Installazione di Jirafeau", + "Installer script still present": "Script di installazione ancora presente", + "Internal error during file creation.": "Errore interno durante la creazione del file.", + "Jirafeau Project": "Progetto Jirafeau", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "Jirafeau ha una interfaccia di amministrazione (via admin.php). E' possibile impostare una password per accedere all'interfaccia o lasciarla vuota per disabilitare l'interfaccia stessa.", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "Jirafeau è internazionalizzato. Scegliere una lingua specifica o scelta Automatica (la lingua è fornita dal browser dell'utente).", + "Jirafeau is now fully operational": "Ora Jirafeau è completamente operativo", + "Jirafeau is setting the website according to the configuration you provided.": "Jirafeau sta configurando il sito web secondo la configurazione che avete fornito.", + "Jirafeau, your web file repository": "Jirafeau, il tuo archivio web di file", + "Link deleted": "Link cancellato", + "List": "Lista", + "List all files": "Elenca tutti i files", + "Login": "Login", + "Logout": "Esci", + "Maximal allowed size of an uploaded file": "Dimensione massima consentita per un file caricato", + "Maximum file size": "Dimensione massima del file", + "Next step": "Passo successivo", + "None": "Nessuno", + "Number of cleaned files": "Numero di file ripuliti", + "One day": "Un giorno", + "One hour": "Un ora", + "One minute": "Un minuto", + "One month": "Un mese", + "One time download": "Download singolo", + "One week": "Una settimana", + "One year": "Un anno", + "Onetime": "Una volta", + "Optional": "Opzionale", + "Origin": "Origine", + "Parameters": "Parametri", + "Password": "Password", + "Password protection": "Protezione con password", + "Please make sure to delete the installer script \"install.php\" before continuing.": "Per favore verificare di aver cancellato lo script di installazione \"install.php\" prima di continuare.", + "Preview": "Anteprima", + "Previous step": "Passo precedente", + "Push data during asynchronous transfer": "Push data durante il trasferimento asincrono", + "Required": "Richiesto", + "Retry this step": "Riprovare questo passaggio", + "Returns the next code to use.": "Restituisce il prossimo codice da usare.", + "Search": "Cerca", + "Search a specific link": "Cerca un link specifico", + "Search files by file hash": "Cerca file per hash", + "Search files by name": "Cerca files per nome", + "Select a file": "Seleziona un file", + "Send": "Inviato", + "Send a GET query to": "Invia una query GET a", + "Send a POST query to": "Invia una query POST a", + "Size": "Dimensione", + "Sorry, the admin interface is not enabled.": "Spiacente, l'interfaccia di amministrazione non è abilitata.", + "Sorry, the requested file is not found": "Spiacente, il file richiesto non è stato trovato", + "Sorry, you are not authenticated on admin interface.": "Spiacente, non sei autenticato per l'interfaccia di amministrazione.", + "Term Of Service": "Termini del Servizio", + "The async directory is not writable!": "la directory async è non scrivibile!", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "L'indirizzo base di Jirafeau è la prima parte della URL, fino (e incluso) la barra finale. Per esempio:\n\"http://www.example.com/\". Non dimenticare la barra finale!", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "La directory data è dove i vostri file e le informazioni su di essi sono archiviate. Dovrebbe risiedere al di fuori del sito web, o quantomeno si dovrebbe restringere l'accesso a questa directory. Non dimenticare lo slash finale!", + "The file directory is not writable": "La directory dei file non è scrivibile", + "The following directory could not be created": "Non è stato possibile creare la seguente directory", + "The following directory is not writable": "La seguente directory non è scrivibile", + "The goal is to permit to transfer big file, chunk by chunk.": "Lo scopo è di permettere il trasferimento di grandi file, pezzo per pezzo.", + "The instructions above show how to query this interface.": "Le istruzioni sopra mostrano come interrogare questa interfaccia.", + "The link directory is not writable": "La directory dei link non è scrivibile", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "Non è stato possibile creare il file di configurazione locale. Creare un file lib/config.local.php e dare al server web i permessi in scrittura al file stesso (soluzione preferita), oppure dare i permessi in scrittura al server web all'intera directory lib.", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "Il server web non può scrivere la configurazione locale. Dare al web server i permessi di scrittura per il file 'lib/config.local.php.", + "The time limit of this file has expired.": "Il tempo limite di questo file è scaduto.", + "This file is valid until the following date": "Questo file è valido fino alla seguente data", + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "Questo file è stato generato dal processo di installazione. E' possibile editarlo. Per capire le possibili voci di configurazione vedere config.original.php.", + "This interface permits to script your uploads and downloads.": "Questa interfaccia permette di programmare i caricamenti e gli scaricamenti.", + "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "Questo restituirà \"Ok\" se riuscito, \"Error\" altrimenti.", + "This will return \"Ok\" or \"Error\" string.": "Questo restituisce la stringa \"Ok\" o \"Error\".", + "This will return brut text content of the code.": "Questo restituirà il testo grezzo del codice.", + "This will return brut text content.": "Questo restituisce il contenuto grezzo del testo.", + "Time limit": "Limite di tempo", + "Type": "Tipo", + "Upload a file": "Carica un file", + "Upload date": "Data di caricamento", + "Upload password": "Password per caricare file", + "Uploading ...": "Sto caricando ...", + "View link": "Visualizza link", + "Warning, this file will self-destruct after being read": "Attenzione, questo file si auto distruggerà dopo essere stato letto", + "Welcome to Jirafeau's query interface": "Benvenuti nell'interfaccia per le query di Jirafeau", + "Wrong password.": "Password errata.", + "You are about to download": "Stai per scaricare", + "You are now loggued out": "Hai eseguito il logout", + "You should create this directory manually.": "E' necessario creare manualmente questa directory.", + "You should give the write permission to the web server on this directory.": "E' necessario dare al server web i permessi in scrittura per questa directory.", + "file": "file", + "link": "link", + "out of": "fuori da", + "powered by Open-Source project Jirafeau": "powered dal progetto Open-Source Jirafeau", + "step": "passo" +} \ No newline at end of file -- 2.34.1 From 78876db885c993785ff5f9d87bc3345810f4794c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jind=C5=99ich=20Sk=C3=A1cel?= Date: Sun, 26 Apr 2015 12:38:16 +0200 Subject: [PATCH 08/16] Translated using Weblate (Czech) Currently translated at 31.8% (43 of 135 strings) --- lib/locales/cs.json | 276 ++++++++++++++++++++++---------------------- 1 file changed, 136 insertions(+), 140 deletions(-) diff --git a/lib/locales/cs.json b/lib/locales/cs.json index 5a90d57..5e487d3 100644 --- a/lib/locales/cs.json +++ b/lib/locales/cs.json @@ -1,141 +1,137 @@ { - "Jirafeau, your web file repository": "", - "Select a file": "", - "Send": "", - "Uploading ...": "", - "One time download": "", - "Password": "", - "Time limit": "", - "Maximum file size": "Taille maximale", - "powered by Open-Source project Jirafeau": "", - "Jirafeau Project": "", - "One minute": "", - "One hour": "", - "One day": "", - "One week": "", - "One month": "", - "One year": "", - "None": "", - "Upload password": "", - "File is too big": "", - "File size is limited to": "", - "The file directory is not writable": "", - "The link directory is not writable": "", - "The async directory is not writable!": "", - "Installer script still present": "", - "Please make sure to delete the installer script \"install.php\" before continuing.": "", - "An error occurred.": "", - "File uploaded !": "", - "Download page": "", - "This file is valid until the following date": "", - "View link": "", - "Direct download link": "", - "Delete link": "", - "Download": "", - "Preview": "", - "Sorry, the requested file is not found": "", - "File not available.": "", - "File has been deleted.": "", - "The time limit of this file has expired.": "", - "Password protection": "", - "Give the password of this file": "", - "Access denied": "", - "You are about to download": "", - "By using our services, you accept our": "", - "Term Of Service": "", - "Warning, this file will self-destruct after being read": "", - "Internal error during file creation.": "", - - "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", - "The following directory could not be created": "", - "You should create this directory manually.": "", - "The following directory is not writable": "", - "You should give the write permission to the web server on this directory.": "", - "Here is a solution": "", - "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", - "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", - "Installation of Jirafeau": "", - "step": "", - "out of": "", - "Administration password": "", - "Finalisation": "", - "Jirafeau is setting the website according to the configuration you provided.": "", - "Previous step": "", - "Retry this step": "", - "Jirafeau is now fully operational": "", - "Information": "", - "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", - "Base address": "", - "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", - "Data directory": "", - "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", - "Choose the default language": "", - "Next step": "", - "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", - "Administration password": "", - - "Sorry, the admin interface is not enabled.": "", - "Sorry, you are not authenticated on admin interface.": "", - "Login": "", - "Wrong password.": "", - "Admin interface": "", - "Clean expired files": "", - "Clean old unfinished transfers": "", - "Clean": "", - "Search files by name": "", - "Search": "", - "List all files": "", - "List": "", - "Actions": "", - "Search files by file hash": "", - "Search a specific link": "", - "Number of cleaned files": "", - "Logout": "", - "You are now loggued out": "", - "Link deleted": "", - "Filename": "", - "file": "", - "link": "", - "Type": "", - "Size": "", - "Expire": "", - "Onetime": "", - "Upload date": "", - "Origin": "", - "Action": "", - "Del link": "", - "Del file and links": "", - "Deleted links": "", - - "Welcome to Jirafeau's query interface": "", - "This interface permits to script your uploads and downloads.": "", - "The instructions above show how to query this interface.": "", - "Get server capacity": "", - "Maximal allowed size of an uploaded file": "", - "First line returns size (in MB).": "", - "Get Jirafeau's version": "", - "Send a GET query to": "", - "Send a POST query to": "", - "Upload a file": "", - "Get a file": "", - "Required": "", - "Optional": "", - "Parameters": "", - "This will return brut text content.": "", - "First line is the download reference and the second line the delete code.": "", - "First line is the server capacity (in Bytes).": "", - "Example": "", - "If a password has been set, send a POST request with it.": "", - "Delete a file": "", - "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "", - "Get a generated script": "", - "This will return brut text content of the code.": "", - "Initalize an asynchronous transfer": "", - "The goal is to permit to transfer big file, chunk by chunk.": "", - "Chunks of data must be sent in order.": "", - "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "", - "Push data during asynchronous transfer": "", - "Returns the next code to use.": "", - "Finalize asynchronous transfer": "", - "This will return \"Ok\" or \"Error\" string.": "" -} + "Access denied": "Přístup zamítnut", + "Action": "", + "Actions": "Akce", + "Admin interface": "Administrační rozhraní", + "Administration password": "Heslo do administrace", + "An error occurred.": "", + "Base address": "", + "By using our services, you accept our": "", + "Choose the default language": "Zvolte výchozí jazyk", + "Chunks of data must be sent in order.": "", + "Clean": "", + "Clean expired files": "Vyčistit soubory, které vypršely", + "Clean old unfinished transfers": "Vyčistit nedokončené přenosy", + "Data directory": "", + "Del file and links": "", + "Del link": "", + "Delete a file": "Smazat soubor", + "Delete link": "Odkaz na smazání", + "Deleted links": "", + "Direct download link": "Přímý odkaz na stažení", + "Download": "Stáhnout", + "Download page": "", + "Example": "Příklad", + "Expire": "", + "File has been deleted.": "", + "File is too big": "Soubor je moc velký", + "File not available.": "Soubor není dostupný.", + "File size is limited to": "", + "File uploaded !": "", + "Filename": "Název souboru", + "Finalisation": "", + "Finalize asynchronous transfer": "", + "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "", + "First line is the download reference and the second line the delete code.": "", + "First line is the server capacity (in Bytes).": "", + "First line returns size (in MB).": "", + "Get Jirafeau's version": "", + "Get a file": "", + "Get a generated script": "", + "Get server capacity": "", + "Give the password of this file": "", + "Here is a solution": "", + "If a password has been set, send a POST request with it.": "", + "Information": "", + "Initalize an asynchronous transfer": "", + "Installation of Jirafeau": "", + "Installer script still present": "", + "Internal error during file creation.": "", + "Jirafeau Project": "Jirafeau projekt", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", + "Jirafeau is now fully operational": "", + "Jirafeau is setting the website according to the configuration you provided.": "", + "Jirafeau, your web file repository": "", + "Link deleted": "", + "List": "", + "List all files": "Zobrazit všechny soubory", + "Login": "Přihlášení", + "Logout": "", + "Maximal allowed size of an uploaded file": "Maximální povolená velikost pro nahrání souboru", + "Maximum file size": "Taille maximale", + "Next step": "", + "None": "", + "Number of cleaned files": "Počet vyčištěných souborů", + "One day": "", + "One hour": "", + "One minute": "Minutu", + "One month": "Měsíc", + "One time download": "", + "One week": "Týden", + "One year": "Rok", + "Onetime": "", + "Optional": "Volitelné", + "Origin": "Původ", + "Parameters": "Parametry", + "Password": "", + "Password protection": "", + "Please make sure to delete the installer script \"install.php\" before continuing.": "Prosím ujistěte se, že jste odstranili soubor \"install.php\" předtím než budete pokračovat.", + "Preview": "", + "Previous step": "Přechozí krok", + "Push data during asynchronous transfer": "", + "Required": "", + "Retry this step": "", + "Returns the next code to use.": "", + "Search": "", + "Search a specific link": "", + "Search files by file hash": "Hledat soubory podle hashe", + "Search files by name": "Hledat podle názvu", + "Select a file": "Vybrat soubor", + "Send": "", + "Send a GET query to": "", + "Send a POST query to": "", + "Size": "", + "Sorry, the admin interface is not enabled.": "Omlouváme se, administrační rozhraní není povoleno.", + "Sorry, the requested file is not found": "", + "Sorry, you are not authenticated on admin interface.": "", + "Term Of Service": "Podmínky použití", + "The async directory is not writable!": "", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", + "The file directory is not writable": "", + "The following directory could not be created": "Tento adresář nemůže být vytvořen", + "The following directory is not writable": "", + "The goal is to permit to transfer big file, chunk by chunk.": "", + "The instructions above show how to query this interface.": "", + "The link directory is not writable": "", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", + "The time limit of this file has expired.": "", + "This file is valid until the following date": "", + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "Tento soubor byl vygenerovaný během instalačního procesu. Můžete jej editovat. Pro konfigurační možnosti se můžete podívat do souboru config.original.php.", + "This interface permits to script your uploads and downloads.": "", + "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "", + "This will return \"Ok\" or \"Error\" string.": "", + "This will return brut text content of the code.": "", + "This will return brut text content.": "", + "Time limit": "", + "Type": "", + "Upload a file": "Nahrát soubor", + "Upload date": "", + "Upload password": "", + "Uploading ...": "", + "View link": "Zobrazit odkaz", + "Warning, this file will self-destruct after being read": "Pozor, soubor bude smazán jakmile bude přečten", + "Welcome to Jirafeau's query interface": "", + "Wrong password.": "Špatné heslo.", + "You are about to download": "", + "You are now loggued out": "", + "You should create this directory manually.": "Vytvořte tento adresář manuálně.", + "You should give the write permission to the web server on this directory.": "", + "file": "", + "link": "", + "out of": "", + "powered by Open-Source project Jirafeau": "", + "step": "krok" +} \ No newline at end of file -- 2.34.1 From 1a2b81b97eba7e8b56de6cd42203d8e4f4d70879 Mon Sep 17 00:00:00 2001 From: asashi Date: Sun, 26 Apr 2015 15:12:52 +0200 Subject: [PATCH 09/16] Translated using Weblate (Italian) Currently translated at 100.0% (135 of 135 strings) --- lib/locales/it.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/locales/it.json b/lib/locales/it.json index b028ebd..1018759 100644 --- a/lib/locales/it.json +++ b/lib/locales/it.json @@ -9,20 +9,20 @@ "By using our services, you accept our": "Utilizzando i nostri servizi, accettate i nostri", "Choose the default language": "Scegliere la lingua predefinita", "Chunks of data must be sent in order.": "I blocchi di dati devono essere inviati in ordine.", - "Clean": "Ripulire", - "Clean expired files": "Ripulisci i file scaduti", - "Clean old unfinished transfers": "Ripulisci i vecchi trasferimenti non conclusi", + "Clean": "Ripulisci", + "Clean expired files": "Rimuovi i file scaduti", + "Clean old unfinished transfers": "Rimuovi i vecchi trasferimenti non conclusi", "Data directory": "Directory data", "Del file and links": "Canc file e links", "Del link": "Canc link", "Delete a file": "Cancella un file", - "Delete link": "Cancella link", + "Delete link": "Link di cancellazione", "Deleted links": "Links cancellati", "Direct download link": "Link per il download diretto", - "Download": "Download", + "Download": "Scarica", "Download page": "Pagina di download", "Example": "Esempio", - "Expire": "Scadere", + "Expire": "Scadenza", "File has been deleted.": "Il file è stato cancellato.", "File is too big": "Il file è troppo grande", "File not available.": "Il file non è disponibile.", @@ -55,8 +55,8 @@ "Jirafeau, your web file repository": "Jirafeau, il tuo archivio web di file", "Link deleted": "Link cancellato", "List": "Lista", - "List all files": "Elenca tutti i files", - "Login": "Login", + "List all files": "Elenca tutti i file", + "Login": "Entra", "Logout": "Esci", "Maximal allowed size of an uploaded file": "Dimensione massima consentita per un file caricato", "Maximum file size": "Dimensione massima del file", @@ -67,10 +67,10 @@ "One hour": "Un ora", "One minute": "Un minuto", "One month": "Un mese", - "One time download": "Download singolo", + "One time download": "Download unico", "One week": "Una settimana", "One year": "Un anno", - "Onetime": "Una volta", + "Onetime": "Download unico", "Optional": "Opzionale", "Origin": "Origine", "Parameters": "Parametri", @@ -79,7 +79,7 @@ "Please make sure to delete the installer script \"install.php\" before continuing.": "Per favore verificare di aver cancellato lo script di installazione \"install.php\" prima di continuare.", "Preview": "Anteprima", "Previous step": "Passo precedente", - "Push data during asynchronous transfer": "Push data durante il trasferimento asincrono", + "Push data during asynchronous transfer": "Invia i dati durante un trasferimento asincrono", "Required": "Richiesto", "Retry this step": "Riprovare questo passaggio", "Returns the next code to use.": "Restituisce il prossimo codice da usare.", @@ -88,7 +88,7 @@ "Search files by file hash": "Cerca file per hash", "Search files by name": "Cerca files per nome", "Select a file": "Seleziona un file", - "Send": "Inviato", + "Send": "Carica", "Send a GET query to": "Invia una query GET a", "Send a POST query to": "Invia una query POST a", "Size": "Dimensione", -- 2.34.1 From dc8ebc68840e45aa4ace76f678823d18598599ce Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Sun, 26 Apr 2015 15:29:32 +0200 Subject: [PATCH 10/16] enable Italian language Signed-off-by: Jerome Jutteau --- lib/lang.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lang.php b/lib/lang.php index 7938736..cfd7607 100644 --- a/lib/lang.php +++ b/lib/lang.php @@ -21,7 +21,8 @@ $languages_list = array ('auto' => 'Automatic', 'de' => 'Deutsch', 'en' => 'English', - 'fr' => 'Français'); + 'fr' => 'Français', + 'it' => 'Italian'); /* Translation */ function t ($text) -- 2.34.1 From 00e2225710c4750789290f62dd3747fd22c75a40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Jutteau?= Date: Mon, 27 Apr 2015 13:22:04 +0200 Subject: [PATCH 11/16] Translated using Weblate (Finnish) Currently translated at 100% (0 of 0 strings) Created new translation. --- lib/locales/fi.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 lib/locales/fi.json diff --git a/lib/locales/fi.json b/lib/locales/fi.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/lib/locales/fi.json @@ -0,0 +1 @@ +{} -- 2.34.1 From 9b4818cbfbebf0ff22ae31a3f0368a9a4ad3070d Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 27 Apr 2015 13:24:39 +0200 Subject: [PATCH 12/16] lib/locales: fill Finnish language with template --- lib/locales/fi.json | 142 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 141 insertions(+), 1 deletion(-) diff --git a/lib/locales/fi.json b/lib/locales/fi.json index 0967ef4..5a90d57 100644 --- a/lib/locales/fi.json +++ b/lib/locales/fi.json @@ -1 +1,141 @@ -{} +{ + "Jirafeau, your web file repository": "", + "Select a file": "", + "Send": "", + "Uploading ...": "", + "One time download": "", + "Password": "", + "Time limit": "", + "Maximum file size": "Taille maximale", + "powered by Open-Source project Jirafeau": "", + "Jirafeau Project": "", + "One minute": "", + "One hour": "", + "One day": "", + "One week": "", + "One month": "", + "One year": "", + "None": "", + "Upload password": "", + "File is too big": "", + "File size is limited to": "", + "The file directory is not writable": "", + "The link directory is not writable": "", + "The async directory is not writable!": "", + "Installer script still present": "", + "Please make sure to delete the installer script \"install.php\" before continuing.": "", + "An error occurred.": "", + "File uploaded !": "", + "Download page": "", + "This file is valid until the following date": "", + "View link": "", + "Direct download link": "", + "Delete link": "", + "Download": "", + "Preview": "", + "Sorry, the requested file is not found": "", + "File not available.": "", + "File has been deleted.": "", + "The time limit of this file has expired.": "", + "Password protection": "", + "Give the password of this file": "", + "Access denied": "", + "You are about to download": "", + "By using our services, you accept our": "", + "Term Of Service": "", + "Warning, this file will self-destruct after being read": "", + "Internal error during file creation.": "", + + "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "", + "The following directory could not be created": "", + "You should create this directory manually.": "", + "The following directory is not writable": "", + "You should give the write permission to the web server on this directory.": "", + "Here is a solution": "", + "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", + "Installation of Jirafeau": "", + "step": "", + "out of": "", + "Administration password": "", + "Finalisation": "", + "Jirafeau is setting the website according to the configuration you provided.": "", + "Previous step": "", + "Retry this step": "", + "Jirafeau is now fully operational": "", + "Information": "", + "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", + "Base address": "", + "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", + "Data directory": "", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", + "Choose the default language": "", + "Next step": "", + "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", + "Administration password": "", + + "Sorry, the admin interface is not enabled.": "", + "Sorry, you are not authenticated on admin interface.": "", + "Login": "", + "Wrong password.": "", + "Admin interface": "", + "Clean expired files": "", + "Clean old unfinished transfers": "", + "Clean": "", + "Search files by name": "", + "Search": "", + "List all files": "", + "List": "", + "Actions": "", + "Search files by file hash": "", + "Search a specific link": "", + "Number of cleaned files": "", + "Logout": "", + "You are now loggued out": "", + "Link deleted": "", + "Filename": "", + "file": "", + "link": "", + "Type": "", + "Size": "", + "Expire": "", + "Onetime": "", + "Upload date": "", + "Origin": "", + "Action": "", + "Del link": "", + "Del file and links": "", + "Deleted links": "", + + "Welcome to Jirafeau's query interface": "", + "This interface permits to script your uploads and downloads.": "", + "The instructions above show how to query this interface.": "", + "Get server capacity": "", + "Maximal allowed size of an uploaded file": "", + "First line returns size (in MB).": "", + "Get Jirafeau's version": "", + "Send a GET query to": "", + "Send a POST query to": "", + "Upload a file": "", + "Get a file": "", + "Required": "", + "Optional": "", + "Parameters": "", + "This will return brut text content.": "", + "First line is the download reference and the second line the delete code.": "", + "First line is the server capacity (in Bytes).": "", + "Example": "", + "If a password has been set, send a POST request with it.": "", + "Delete a file": "", + "This will return \"Ok\" if succeeded, \"Error\" otherwhise.": "", + "Get a generated script": "", + "This will return brut text content of the code.": "", + "Initalize an asynchronous transfer": "", + "The goal is to permit to transfer big file, chunk by chunk.": "", + "Chunks of data must be sent in order.": "", + "First line is the asynchronous transfer reference and the second line the code to use in the next operation.": "", + "Push data during asynchronous transfer": "", + "Returns the next code to use.": "", + "Finalize asynchronous transfer": "", + "This will return \"Ok\" or \"Error\" string.": "" +} -- 2.34.1 From b6fd6265770c82539cfb26d053e0345fe32060e0 Mon Sep 17 00:00:00 2001 From: asashi Date: Sun, 26 Apr 2015 16:47:07 +0200 Subject: [PATCH 13/16] Translated using Weblate (Italian) Currently translated at 100.0% (135 of 135 strings) --- lib/locales/it.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locales/it.json b/lib/locales/it.json index 1018759..c0ec82c 100644 --- a/lib/locales/it.json +++ b/lib/locales/it.json @@ -132,6 +132,6 @@ "file": "file", "link": "link", "out of": "fuori da", - "powered by Open-Source project Jirafeau": "powered dal progetto Open-Source Jirafeau", + "powered by Open-Source project Jirafeau": "utilizza il progetto Open Source Jirafeau", "step": "passo" } \ No newline at end of file -- 2.34.1 From 6667b979aa92be3489dae7c9e6fa5da9cae39116 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 27 Apr 2015 19:14:09 +0200 Subject: [PATCH 14/16] added date in email link and cleaner url encode Signed-off-by: Jerome Jutteau --- lib/{functions_v6.js => functions_v7.js} | 7 +++++-- lib/template/header.php | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) rename lib/{functions_v6.js => functions_v7.js} (98%) diff --git a/lib/functions_v6.js b/lib/functions_v7.js similarity index 98% rename from lib/functions_v6.js rename to lib/functions_v7.js index 263d8fa..023c8e2 100644 --- a/lib/functions_v6.js +++ b/lib/functions_v7.js @@ -40,8 +40,11 @@ function show_link (url, reference, delete_code, crypt_key, date) // Email link var filename = document.getElementById('file_select').files[0].name; - var b = "Download%20%22" + filename + "%22 :%0D" + download_link_href + "%0D"; - document.getElementById('upload_link_email').href = "mailto:?body=" + b + "&subject=" + filename; + var b = encodeURIComponent("Download file \"" + filename + "\":") + "%0D"; + b += encodeURIComponent(download_link_href) + "%0D"; + if (date) + b += "%0D" + encodeURIComponent("This file will be available until " + date) + "%0D"; + document.getElementById('upload_link_email').href = "mailto:?body=" + b + "&subject=" + encodeURIComponent(filename); // Delete link var delete_link = url + 'f.php?h=' + reference + '&d=' + delete_code; diff --git a/lib/template/header.php b/lib/template/header.php index 92937e2..7e4b96d 100644 --- a/lib/template/header.php +++ b/lib/template/header.php @@ -35,6 +35,6 @@ else - +

-- 2.34.1 From 364d1c4437c45eda91dd0b8c5e92a098578f8b39 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 27 Apr 2015 20:07:29 +0200 Subject: [PATCH 15/16] add optional IP authentication for uploaders closes #34 Signed-off-by: Jerome Jutteau --- index.php | 8 ++++++++ lib/config.original.php | 7 +++++++ lib/functions.php | 24 ++++++++++++++++++++++++ script.php | 12 ++++++++++++ 4 files changed, 51 insertions(+) diff --git a/index.php b/index.php index 8cb0b86..4802e33 100644 --- a/index.php +++ b/index.php @@ -34,6 +34,14 @@ if (has_error ()) exit; } +/* Check if user is allowed to upload. */ +if (!jirafeau_challenge_upload_ip ($cfg, $_SERVER['REMOTE_ADDR'])) +{ + echo '

' . t('Access denied') . '

'; + require (JIRAFEAU_ROOT.'lib/template/footer.php'); + exit; +} + /* Ask password if upload password is set. */ if (jirafeau_has_upload_password ($cfg)) { diff --git a/lib/config.original.php b/lib/config.original.php index c0a1ed3..755b762 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -50,6 +50,13 @@ $cfg['link_name_length'] = 8; * ... and so on */ $cfg['upload_password'] = array(); +/* List of IP allowed to upload a file. + * If list is empty, then there is no upload restriction based on IP + * Elements of the list can be a single IP (e.g. "123.45.67.89") or + * an IP range (e.g. "123.45.0.0/16"). + * Note that CIDR notation is available for IPv4 only for the moment. + */ +$cfg['upload_ip'] = array(); /* An empty admin password will disable the classic admin password * authentication. */ diff --git a/lib/functions.php b/lib/functions.php index c2cad46..27e4fc3 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -1084,3 +1084,27 @@ function jirafeau_challenge_upload_password ($cfg, $password) return false; } +/** + * Test if visitor's IP is authorized to upload. + * @param $ip IP to be challenged + * @return true if IP is authorized, false otherwise. + */ +function jirafeau_challenge_upload_ip ($cfg, $ip) +{ + if (count ($cfg['upload_ip']) == 0) + return true; + forEach ($cfg['upload_ip'] as $i) + { + if ($i == $ip) + return true; + // CIDR test for IPv4 only. + if (strpos ($i, '/') !== false) + { + list ($subnet, $mask) = explode('/', $i); + if ((ip2long ($ip) & ~((1 << (32 - $mask)) - 1) ) == ip2long ($subnet)) + return true; + } + } + return false; +} + diff --git a/script.php b/script.php index 99c5ec0..93599c9 100644 --- a/script.php +++ b/script.php @@ -218,6 +218,12 @@ if (has_error ()) if (isset ($_FILES['file']) && is_writable (VAR_FILES) && is_writable (VAR_LINKS)) { + if (!jirafeau_challenge_upload_ip ($cfg, $_SERVER['REMOTE_ADDR'])) + { + echo "Error"; + exit; + } + if (jirafeau_has_upload_password ($cfg) && (!isset ($_POST['upload_password']) || !jirafeau_challenge_upload_password ($cfg, $_POST['upload_password']))) @@ -505,6 +511,12 @@ fi /* Initialize an asynchronous upload. */ elseif (isset ($_GET['init_async'])) { + if (!jirafeau_challenge_upload_ip ($cfg, $_SERVER['REMOTE_ADDR'])) + { + echo "Error"; + exit; + } + if (jirafeau_has_upload_password ($cfg) && (!isset ($_POST['upload_password']) || !jirafeau_challenge_upload_password ($cfg, $_POST['upload_password']))) -- 2.34.1 From e1dc0660b12ed977a9e830f7669d1ac8177494ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jind=C5=99ich=20Sk=C3=A1cel?= Date: Mon, 27 Apr 2015 15:48:53 +0200 Subject: [PATCH 16/16] Translated using Weblate (Czech) Currently translated at 40.0% (54 of 135 strings) --- lib/locales/cs.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/locales/cs.json b/lib/locales/cs.json index 5e487d3..222f73e 100644 --- a/lib/locales/cs.json +++ b/lib/locales/cs.json @@ -22,7 +22,7 @@ "Download": "Stáhnout", "Download page": "", "Example": "Příklad", - "Expire": "", + "Expire": "Vyprší", "File has been deleted.": "", "File is too big": "Soubor je moc velký", "File not available.": "Soubor není dostupný.", @@ -39,17 +39,17 @@ "Get a file": "", "Get a generated script": "", "Get server capacity": "", - "Give the password of this file": "", + "Give the password of this file": "Zadejte heslo k souboru", "Here is a solution": "", "If a password has been set, send a POST request with it.": "", "Information": "", "Initalize an asynchronous transfer": "", "Installation of Jirafeau": "", - "Installer script still present": "", + "Installer script still present": "Instalační skript je stále přítomen", "Internal error during file creation.": "", "Jirafeau Project": "Jirafeau projekt", "Jirafeau has an administration interface (through admin.php). You can set a password to access the interface or leave it empty to disable the interface.": "", - "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "", + "Jirafeau is internationalised. Choose a specific langage or choose Automatic (langage is provided by user's browser).": "Jirafeau je světový. Vyberte si jazyk nebo bude zvolen automaticky (podle uživatelského prohlížeče).", "Jirafeau is now fully operational": "", "Jirafeau is setting the website according to the configuration you provided.": "", "Jirafeau, your web file repository": "", @@ -67,10 +67,10 @@ "One hour": "", "One minute": "Minutu", "One month": "Měsíc", - "One time download": "", + "One time download": "Jednorázové stáhnutí", "One week": "Týden", "One year": "Rok", - "Onetime": "", + "Onetime": "Jednorázové", "Optional": "Volitelné", "Origin": "Původ", "Parameters": "Parametry", @@ -84,11 +84,11 @@ "Retry this step": "", "Returns the next code to use.": "", "Search": "", - "Search a specific link": "", + "Search a specific link": "Hledat odkaz", "Search files by file hash": "Hledat soubory podle hashe", "Search files by name": "Hledat podle názvu", "Select a file": "Vybrat soubor", - "Send": "", + "Send": "Odeslat", "Send a GET query to": "", "Send a POST query to": "", "Size": "", @@ -96,7 +96,7 @@ "Sorry, the requested file is not found": "", "Sorry, you are not authenticated on admin interface.": "", "Term Of Service": "Podmínky použití", - "The async directory is not writable!": "", + "The async directory is not writable!": "Do adresáře async se nedá zapisovat!", "The base address of Jirafeau is the first part of the URL, until (and including) the last slash. For example: \"http://www.example.com/\". Do not forget the trailing slash!": "", "The data directory is where your files and information about your files will be stored. You should put it outside your web site, or at least restrict the access to this directory. Do not forget the trailing slash!": "", "The file directory is not writable": "", @@ -106,8 +106,8 @@ "The instructions above show how to query this interface.": "", "The link directory is not writable": "", "The local configuration file could not be created. Create a lib/config.local.php file and give the write permission to the web server (preferred solution), or give the write permission to the web server on the lib directory.": "", - "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "", - "The time limit of this file has expired.": "", + "The local configuration is not writable by the web server. Give the write permission to the web server on the 'lib/config.local.php file.": "Konfigurace nemůže být změněna webovým serverem. Nastavte práva pro zápis webovému serveru pro soubor 'lib/config.local.php'.", + "The time limit of this file has expired.": "Časový limit souboru již vypršel.", "This file is valid until the following date": "", "This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items.": "Tento soubor byl vygenerovaný během instalačního procesu. Můžete jej editovat. Pro konfigurační možnosti se můžete podívat do souboru config.original.php.", "This interface permits to script your uploads and downloads.": "", -- 2.34.1