# HG changeset patch # User Sebastien Jodogne # Date 1590165635 -7200 # Node ID d86bddb509724cec072211febe76e322450a8510 # Parent 7f8b30416d50dedf9529a3f8ca9dad36b8e4e797 fix spelling errors according to debian diff -r 7f8b30416d50 -r d86bddb50972 Core/HttpServer/IHttpHandler.h --- a/Core/HttpServer/IHttpHandler.h Fri May 22 18:03:08 2020 +0200 +++ b/Core/HttpServer/IHttpHandler.h Fri May 22 18:40:35 2020 +0200 @@ -71,7 +71,7 @@ } /** - * This function allows to deal with chunked transfers (new in + * This function allows one to deal with chunked transfers (new in * Orthanc 1.5.7). It is only called if "method" is POST or PUT. **/ virtual bool CreateChunkedRequestReader(std::unique_ptr& target, diff -r 7f8b30416d50 -r d86bddb50972 Core/Toolbox.cpp --- a/Core/Toolbox.cpp Fri May 22 18:03:08 2020 +0200 +++ b/Core/Toolbox.cpp Fri May 22 18:40:35 2020 +0200 @@ -1998,7 +1998,7 @@ it removes the character set information from the byte stream. However, in the case where the encoding is unique, then suppressing - the escape sequences allows to provide us with a clean string after + the escape sequences allows one to provide us with a clean string after conversion to utf-8 with boost. **/ void Toolbox::RemoveIso2022EscapeSequences(std::string& dest, const std::string& src) diff -r 7f8b30416d50 -r d86bddb50972 NEWS --- a/NEWS Fri May 22 18:03:08 2020 +0200 +++ b/NEWS Fri May 22 18:40:35 2020 +0200 @@ -246,7 +246,7 @@ ---------------- * If performing a Query/Retrieve operation, the default value for the - tags is set to an empty string instead of '*', which allows to match + tags is set to an empty string instead of '*', which allows one to match even if the tag is not present. This allows malformed DICOM files to be matched, even though they lack required tags such as "PatientSex" @@ -482,7 +482,7 @@ General ------- -* "OrthancPeers" configuration option now allows to specify HTTP headers +* "OrthancPeers" configuration option now allows one to specify HTTP headers * New main DICOM tag: "ImageOrientationPatient" at the instance level * New configuration options: - "HttpVerbose" to debug outgoing HTTP connections diff -r 7f8b30416d50 -r d86bddb50972 OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload-fp.js --- a/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload-fp.js Fri May 22 18:03:08 2020 +0200 +++ b/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload-fp.js Fri May 22 18:40:35 2020 +0200 @@ -184,7 +184,7 @@ }, // Processes the files given as files property of the data parameter, - // returns a Promise object that allows to bind a done handler, which + // returns a Promise object that allows one to bind a done handler, which // will be invoked after processing all files (inplace) is done: process: function (data) { var that = this, diff -r 7f8b30416d50 -r d86bddb50972 OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload-ui.js --- a/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload-ui.js Fri May 22 18:03:08 2020 +0200 +++ b/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload-ui.js Fri May 22 18:40:35 2020 +0200 @@ -295,7 +295,7 @@ } }, - // Link handler, that allows to download files + // Link handler, that allows one to download files // by drag & drop of the links to the desktop: _enableDragToDesktop: function () { var link = $(this), diff -r 7f8b30416d50 -r d86bddb50972 OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload.js --- a/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload.js Fri May 22 18:03:08 2020 +0200 +++ b/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload.js Fri May 22 18:40:35 2020 +0200 @@ -126,14 +126,14 @@ // The add callback is invoked as soon as files are added to the fileupload // widget (via file input selection, drag & drop, paste or add API call). // If the singleFileUploads option is enabled, this callback will be - // called once for each file in the selection for XHR file uplaods, else + // called once for each file in the selection for XHR file uploads, else // once for each file selection. // The upload starts when the submit method is invoked on the data parameter. // The data object contains a files property holding the added files - // and allows to override plugin options as well as define ajax settings. + // and allows one to override plugin options as well as define ajax settings. // Listeners for this callback can also be bound the following way: // .bind('fileuploadadd', func); - // data.submit() returns a Promise object and allows to attach additional + // data.submit() returns a Promise object and allows one to attach additional // handlers using jQuery's Deferred callbacks: // data.submit().done(func).fail(func).always(func); add: function (e, data) { @@ -755,7 +755,7 @@ _replaceFileInput: function (input) { var inputClone = input.clone(true); $('
').append(inputClone)[0].reset(); - // Detaching allows to insert the fileInput on another form + // Detaching allows one to insert the fileInput on another form // without loosing the file input value: input.after(inputClone).detach(); // Avoid memory leaks with the detached file input: diff -r 7f8b30416d50 -r d86bddb50972 OrthancExplorer/libs/slimbox2.js --- a/OrthancExplorer/libs/slimbox2.js Fri May 22 18:03:08 2020 +0200 +++ b/OrthancExplorer/libs/slimbox2.js Fri May 22 18:40:35 2020 +0200 @@ -53,7 +53,7 @@ // Open Slimbox with the specified parameters $.slimbox = function(_images, startImage, _options) { options = $.extend({ - loop: false, // Allows to navigate between first and last images + loop: false, // Allows one to navigate between first and last images overlayOpacity: 0.8, // 1 is opaque, 0 is completely transparent (change the color in the CSS file) overlayFadeDuration: 400, // Duration of the overlay fade-in and fade-out animations (in milliseconds) resizeDuration: 400, // Duration of each of the box resize animations (in milliseconds) @@ -241,4 +241,4 @@ return false; } -})(jQuery); \ No newline at end of file +})(jQuery); diff -r 7f8b30416d50 -r d86bddb50972 OrthancServer/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/OrthancRestApi/OrthancRestResources.cpp Fri May 22 18:03:08 2020 +0200 +++ b/OrthancServer/OrthancRestApi/OrthancRestResources.cpp Fri May 22 18:40:35 2020 +0200 @@ -338,7 +338,7 @@ } else { - // This path allows to avoid the JSON decoding if no + // This path allows one to avoid the JSON decoding if no // simplification is asked, and if no "ignore-length" argument // is present std::string full; diff -r 7f8b30416d50 -r d86bddb50972 Resources/CMake/DcmtkConfiguration.cmake --- a/Resources/CMake/DcmtkConfiguration.cmake Fri May 22 18:03:08 2020 +0200 +++ b/Resources/CMake/DcmtkConfiguration.cmake Fri May 22 18:40:35 2020 +0200 @@ -168,7 +168,7 @@ link_libraries(dcmdata dcmnet dcmjpeg oflog ofstd) else() - # The following line allows to manually add libraries at the + # The following line allows one to manually add libraries at the # command-line, which is necessary for Ubuntu/Debian packages set(tmp "${DCMTK_LIBRARIES}") include(FindDCMTK) diff -r 7f8b30416d50 -r d86bddb50972 Resources/CMake/OrthancFrameworkConfiguration.cmake --- a/Resources/CMake/OrthancFrameworkConfiguration.cmake Fri May 22 18:03:08 2020 +0200 +++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake Fri May 22 18:40:35 2020 +0200 @@ -426,7 +426,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/UuidConfiguration.cmake) # We put Boost as the last dependency, as it is the heaviest to -# configure, which allows to quickly spot problems when configuring +# configure, which allows one to quickly spot problems when configuring # static builds in other dependencies include(${CMAKE_CURRENT_LIST_DIR}/BoostConfiguration.cmake) diff -r 7f8b30416d50 -r d86bddb50972 Resources/Configuration.json --- a/Resources/Configuration.json Fri May 22 18:03:08 2020 +0200 +++ b/Resources/Configuration.json Fri May 22 18:40:35 2020 +0200 @@ -274,7 +274,7 @@ /** * This is another, more advanced format to define Orthanc - * peers. It notably allows to specify HTTP headers, a HTTPS + * peers. It notably allows one to specify HTTP headers, a HTTPS * client certificate in the PEM format (as in the "--cert" option * of curl), or to enable PKCS#11 authentication for smart cards. **/