Skip to content

Commit

Permalink
Do not fail if the Office document is write protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswendt1 committed Aug 3, 2020
1 parent 97cd4db commit 322bbed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ private static List<string> GetAllDocumentsToProcess(string documentPath, string
else
{
File.Copy(documentPath, outputDocumentName);
File.SetAttributes(outputDocumentName, FileAttributes.Normal);
allFiles.Add(outputDocumentName);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Word documents : texte masqué</target>
</trans-unit>
<trans-unit id="AzureRegion_text" translate="yes" xml:space="preserve">
<source>Azure Region:</source>
<target state="new">Azure Region:</target>
<target state="needs-review-translation" state-qualifier="tm-suggestion">Région Azure</target>
</trans-unit>
<trans-unit id="Tooltip_AzureRegion" translate="yes" xml:space="preserve">
<source>Which Azure region is your Azure resource in?</source>
Expand Down

0 comments on commit 322bbed

Please sign in to comment.