From 5c2859121c70097f9dff60e1845057aae70fe2ad Mon Sep 17 00:00:00 2001 From: Matthew McEachen Date: Sun, 11 Apr 2021 17:59:19 -0700 Subject: [PATCH] fix grammar in readme --- README.md | 6 +++--- docs/assets/css/main.css | 2 +- docs/index.html | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 03f7d445..35666a11 100644 --- a/README.md +++ b/README.md @@ -238,14 +238,14 @@ supported, the returned `Promise` will be rejected. Only string and numeric primitive are supported as values to the object. -Write a comment to the given file so it shows up in the Windows Explorer +To write a comment to the given file so it shows up in the Windows Explorer Properties panel: ```js exiftool.write("path/to/file.jpg", { XPComment: "this is a test comment" }) ``` -Change the DateTimeOriginal, CreateDate and ModifyDate tags (using the +To change the DateTimeOriginal, CreateDate and ModifyDate tags (using the [AllDates](https://sno.phy.queensu.ca/~phil/exiftool/TagNames/Shortcuts.html) shortcut) to 4:56pm UTC on February 6, 2016: @@ -253,7 +253,7 @@ shortcut) to 4:56pm UTC on February 6, 2016: exiftool.write("path/to/file.jpg", { AllDates: "2016-02-06T16:56:00" }) ``` -Write to a specific metadata group's tag, prefix the tag name with the group. +To write to a specific metadata group's tag, just prefix the tag name with the group. (TypeScript users: you'll need to cast to make this compile). ```js diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 496f646c..46571c27 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -10,7 +10,7 @@ --color-panel-divider: #eee; --color-comment-tag: #707070; --color-comment-tag-text: #fff; - --color-code-background: rgba(#000, 0.04); + --color-code-background: rgba(0, 0, 0, 0.04); --color-ts: #9600ff; --color-ts-interface: #647f1b; --color-ts-enum: #937210; diff --git a/docs/index.html b/docs/index.html index 6b8527b0..a9438774 100644 --- a/docs/index.html +++ b/docs/index.html @@ -263,16 +263,16 @@

Writing tags

If you apply malformed values or ask to write to tags that aren't supported, the returned Promise will be rejected.

Only string and numeric primitive are supported as values to the object.

-

Write a comment to the given file so it shows up in the Windows Explorer +

To write a comment to the given file so it shows up in the Windows Explorer Properties panel:

exiftool.write("path/to/file.jpg", { XPComment: "this is a test comment" })
 
-

Change the DateTimeOriginal, CreateDate and ModifyDate tags (using the +

To change the DateTimeOriginal, CreateDate and ModifyDate tags (using the AllDates shortcut) to 4:56pm UTC on February 6, 2016:

exiftool.write("path/to/file.jpg", { AllDates: "2016-02-06T16:56:00" })
 
-

Write to a specific metadata group's tag, prefix the tag name with the group. +

To write to a specific metadata group's tag, just prefix the tag name with the group. (TypeScript users: you'll need to cast to make this compile).

exiftool.write("path/to/file.jpg", {
   "IPTC:CopyrightNotice": "© 2021 PhotoStructure, Inc.",