diff options
author | George Goldberg <george@gberg.me> | 2017-08-25 15:38:13 +0100 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-08-25 10:38:13 -0400 |
commit | 50fc6e1e9e8d286fd6a406cef75e48a28f9427ad (patch) | |
tree | 0689de640729194b9a123ec8bfef36cbecd8cefd /i18n/en.json | |
parent | 99acf6106833a2186c0f7e07985feac5d9c25de1 (diff) | |
download | chat-50fc6e1e9e8d286fd6a406cef75e48a28f9427ad.tar.gz chat-50fc6e1e9e8d286fd6a406cef75e48a28f9427ad.tar.bz2 chat-50fc6e1e9e8d286fd6a406cef75e48a28f9427ad.zip |
PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)
* Prepare file upload infrastructure for Data Retention.
This commit prepares the file upload infrastructure for the data
retention feature that is under construction. Changes are:
* Move file management code to utils to allow access to it from jobs.
* From now on, store all file uploads in a top level folder which is the
date of the day on which they were uploaded.
This commit is based on Harrison Healey's branch, but updated to work
with the latest master.
* Use NewAppError
Diffstat (limited to 'i18n/en.json')
-rw-r--r-- | i18n/en.json | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/i18n/en.json b/i18n/en.json index 900a6865f..338eba46e 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1234,32 +1234,40 @@ "translation": "Unable to move file locally." }, { - "id": "api.file.open_file_write_stream.configured.app_error", + "id": "api.file.read_file.configured.app_error", "translation": "File storage not configured properly. Please configure for either S3 or local server file storage." }, { - "id": "api.file.open_file_write_stream.creating_dir.app_error", - "translation": "Encountered an error creating the directory for the new file" + "id": "api.file.read_file.get.app_error", + "translation": "Unable to get file from S3" }, { - "id": "api.file.open_file_write_stream.local_server.app_error", - "translation": "Encountered an error writing to local server storage" + "id": "api.file.read_file.reading_local.app_error", + "translation": "Encountered an error reading from local server storage" }, { - "id": "api.file.open_file_write_stream.s3.app_error", - "translation": "S3 is not supported." + "id": "utils.file.remove_file.local.app_error", + "translation": "Encountered an error removing file from local server file storage." }, { - "id": "api.file.read_file.configured.app_error", + "id": "utils.file.remove_file.s3.app_error", + "translation": "Encountered an error removing file from S3." + }, + { + "id": "utils.file.remove_file.configured.app_error", "translation": "File storage not configured properly. Please configure for either S3 or local server file storage." }, { - "id": "api.file.read_file.get.app_error", - "translation": "Unable to get file from S3" + "id": "utils.file.remove_directory.local.app_error", + "translation": "Encountered an error removing directory from local server file storage." }, { - "id": "api.file.read_file.reading_local.app_error", - "translation": "Encountered an error reading from local server storage" + "id": "utils.file.remove_directory.s3.app_error", + "translation": "Encountered an error removing directory from S3." + }, + { + "id": "utils.file.remove_directory.configured.app_error", + "translation": "File storage not configured properly. Please configure for either S3 or local server file storage." }, { "id": "api.file.upload_file.bad_parse.app_error", @@ -5576,6 +5584,10 @@ "translation": "We couldn't save or update the file info" }, { + "id": "store.sql_file_info.permanent_delete.app_error", + "translation": "We couldn't permanently delete the file info" + }, + { "id": "store.sql_job.delete.app_error", "translation": "We couldn't delete the job" }, |