Skip to content

Commit

Permalink
fix grammar in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Apr 12, 2021
1 parent 1effcc3 commit 5c28591
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,22 +238,22 @@ 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:

```js
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
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,16 +263,16 @@ <h3>Writing tags</h3>
<p>If you apply malformed values or ask to write to tags that aren&#39;t
supported, the returned <code>Promise</code> will be rejected.</p>
<p>Only string and numeric primitive are supported as values to the object.</p>
<p>Write a comment to the given file so it shows up in the Windows Explorer
<p>To write a comment to the given file so it shows up in the Windows Explorer
Properties panel:</p>
<pre><code class="language-js"><span style="color: #001080">exiftool</span><span style="color: #000000">.</span><span style="color: #795E26">write</span><span style="color: #000000">(</span><span style="color: #A31515">&quot;path/to/file.jpg&quot;</span><span style="color: #000000">, { </span><span style="color: #001080">XPComment:</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;this is a test comment&quot;</span><span style="color: #000000"> })</span>
</code></pre>
<p>Change the DateTimeOriginal, CreateDate and ModifyDate tags (using the
<p>To change the DateTimeOriginal, CreateDate and ModifyDate tags (using the
<a href="https://sno.phy.queensu.ca/~phil/exiftool/TagNames/Shortcuts.html">AllDates</a>
shortcut) to 4:56pm UTC on February 6, 2016:</p>
<pre><code class="language-js"><span style="color: #001080">exiftool</span><span style="color: #000000">.</span><span style="color: #795E26">write</span><span style="color: #000000">(</span><span style="color: #A31515">&quot;path/to/file.jpg&quot;</span><span style="color: #000000">, { </span><span style="color: #001080">AllDates:</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;2016-02-06T16:56:00&quot;</span><span style="color: #000000"> })</span>
</code></pre>
<p>Write to a specific metadata group&#39;s tag, prefix the tag name with the group.
<p>To write to a specific metadata group&#39;s tag, just prefix the tag name with the group.
(TypeScript users: you&#39;ll need to cast to make this compile).</p>
<pre><code class="language-js"><span style="color: #001080">exiftool</span><span style="color: #000000">.</span><span style="color: #795E26">write</span><span style="color: #000000">(</span><span style="color: #A31515">&quot;path/to/file.jpg&quot;</span><span style="color: #000000">, {</span>
<span style="color: #000000"> </span><span style="color: #A31515">&quot;IPTC:CopyrightNotice&quot;</span><span style="color: #001080">:</span><span style="color: #000000"> </span><span style="color: #A31515">&quot;© 2021 PhotoStructure, Inc.&quot;</span><span style="color: #000000">,</span>
Expand Down

0 comments on commit 5c28591

Please sign in to comment.