Skip to content

Commit a6fc4c2

Browse files
committed
Updates terminology
Adds changes as discussed!
1 parent 90b3d81 commit a6fc4c2

File tree

5 files changed

+28
-28
lines changed

5 files changed

+28
-28
lines changed

src/popup.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class RecPopup extends LitElement
381381
if (!this.canRecord) {
382382
if (this.pageUrl && this.pageUrl.startsWith(this.extRoot)) {
383383
return html`
384-
<p class="is-size-7">This page is part of the extension. You can view existing archives from here.
384+
<p class="is-size-7">This page is part of the extension. You can view existing web captures from here.
385385
To start a new archiving session, click the
386386
<wr-icon .src="${wrRec}"></wr-icon> Start Archiving button and enter a new URL.
387387
</p>
@@ -418,7 +418,7 @@ class RecPopup extends LitElement
418418
<a @click="${() => this.collDrop = "create"}" class="dropdown-item">
419419
<span class="icon is-small">
420420
<wr-icon .src="${fasPlus}"></wr-icon>
421-
</span>Create New Archive...
421+
</span>New Web Capture
422422
</a>
423423
<hr class="dropdown-divider">` : ""}
424424
${this.collections.map((coll) => html`
@@ -455,9 +455,9 @@ class RecPopup extends LitElement
455455
<div class="view-row is-marginless" style="background-color: #ddddff">
456456
<form @submit="${this.onNewColl}">
457457
<div class="flex-form">
458-
<label for="new-name" class="is-size-7 is-italic">Create New Archive:</label>
458+
<label for="new-name" class="is-size-7 is-italic">Create New Web Capture:</label>
459459
<div class="control">
460-
<input class="input is-small" id="new-name" type="text" required placeholder="Enter Archive Name">
460+
<input class="input is-small" id="new-name" type="text" required placeholder="Enter Web Capture Name">
461461
</div>
462462
<button class="button is-small is-outlined" type="submit">
463463
<wr-icon .src=${fasCheck}></wr-icon>
@@ -500,15 +500,15 @@ class RecPopup extends LitElement
500500
<wr-icon .src=${wrRec}></wr-icon>` : html`
501501
<wr-icon .src=${fasBox}></wr-icon>`}
502502
</span>
503-
<span>${!this.recording ? "Start Session" : "Stop Session"}</span>
503+
<span>${!this.recording ? "Start Archiving" : "Stop Archiving"}</span>
504504
</button>
505505
` : ""}
506506
</div>
507507
${this.renderCollCreate()}
508508
<div class="view-row is-marginless">
509509
<div>
510510
${this.canRecord ? html`
511-
<p><a target="_blank" href="${this.getCollPage()}" class="is-size-6">Browse Archive</a></p>` : ""}
511+
<p><a target="_blank" href="${this.getCollPage()}" class="is-size-6">Browse Web Capture</a></p>` : ""}
512512
</div>
513513
${this.renderStartOpt()}
514514
</div>

src/ui/app.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -292,17 +292,17 @@ class ArchiveWebApp extends ReplayWebApp
292292
<div class="message is-small">
293293
<div class="message-body">
294294
<div class="buttons">
295-
<button class="button is-small no-pad-mobile" title="Create New" @click="${() => this.showNew = "show"}">
295+
<button class="button is-small no-pad-mobile" title="New Web Capture" @click="${() => this.showNew = "show"}">
296296
<span class="icon">
297297
<fa-icon .svg=${fasPlus}></fa-icon>
298298
</span>
299-
<span class="is-hidden-mobile">Create New</span>
299+
<span class="is-hidden-mobile">New Web Capture</span>
300300
</button>
301-
<button class="button is-small no-pad-mobile" title="Import Archive" @click="${() => this.showImport = true}">
301+
<button class="button is-small no-pad-mobile" title="Import File" @click="${() => this.showImport = true}">
302302
<span class="icon">
303303
<fa-icon .svg=${fasUpload}></fa-icon>
304304
</span>
305-
<span class="is-hidden-mobile">Import Archive</span>
305+
<span class="is-hidden-mobile">Import File</span>
306306
</button>
307307
<button class="button is-small no-pad-mobile" title="Start Archiving" ?disabled="${!this.colls}" @click="${this.onShowStart}">
308308
<span class="icon">
@@ -311,7 +311,7 @@ class ArchiveWebApp extends ReplayWebApp
311311
<span class="is-hidden-mobile">Start Archiving</span>
312312
</button>
313313
<div class="rightbar">
314-
<div class="infomsg is-hidden-mobile">The ArchiveWeb.page ${IS_APP ? "App" : "Extension"} allows you to create web archives directly in your browser!</div>
314+
<div class="infomsg is-hidden-mobile">The ArchiveWeb.page ${IS_APP ? "App" : "Extension"} allows you to archive webpages directly in your browser!</div>
315315
<button class="button is-small" @click="${() => this.showSettings = true}">
316316
<fa-icon .svg=${fasCog}></fa-icon>
317317
</button>
@@ -323,7 +323,7 @@ class ArchiveWebApp extends ReplayWebApp
323323
324324
<wr-rec-coll-index
325325
dateName="Date Created"
326-
headerName="Current Web Archives"
326+
headerName="Current Web Captures"
327327
.ipfsOpts=${this.ipfsOpts}
328328
@show-start=${this.onShowStart}
329329
@show-import=${this.onShowImport}
@@ -422,14 +422,14 @@ class ArchiveWebApp extends ReplayWebApp
422422

423423
renderNewCollModal() {
424424
return html`
425-
<wr-modal @modal-closed="${() => this.showNew = null}" title="Create New Archive">
425+
<wr-modal @modal-closed="${() => this.showNew = null}" title="New Web Capture">
426426
<form @submit="${this.onNewColl}" class="create-new">
427427
<div class="field has-addons">
428428
<p class="control is-expanded">
429-
<input type="text" id="new-title" name="new-title" class="input" required placeholder="Enter the title for the new archive">
429+
<input type="text" id="new-title" name="new-title" class="input" required placeholder="Give this web capture a name">
430430
</p>
431431
<div class="control">
432-
<button type="submit" class="button is-hidden-mobile is-primary ${this.showNew === "loading" ? "is-loading " : ""}" ?disabled="${this.showNew === "loading"}">Create New</button>
432+
<button type="submit" class="button is-hidden-mobile is-primary ${this.showNew === "loading" ? "is-loading " : ""}" ?disabled="${this.showNew === "loading"}">Create</button>
433433
</div>
434434
</div>
435435
</form>
@@ -438,7 +438,7 @@ class ArchiveWebApp extends ReplayWebApp
438438

439439
renderImportModal() {
440440
return html`
441-
<wr-modal style="--modal-width: 740px" @modal-closed="${() => this.showImport = false}" title="Import an Existing Archive">
441+
<wr-modal style="--modal-width: 740px" @modal-closed="${() => this.showImport = false}" title="Import Files">
442442
<wr-chooser
443443
style="flex: auto"
444444
.newFullImport="${true}"
@@ -449,7 +449,7 @@ class ArchiveWebApp extends ReplayWebApp
449449
<div class="control">
450450
<label class="checkbox">
451451
<input type="checkbox" name="add-existing" .checked="${this.isImportExisting}" @change="${(e) => this.isImportExisting = e.currentTarget.checked}">
452-
Add to an existing archive collection${this.isImportExisting ? ":" : ""}
452+
Add to an existing web capture${this.isImportExisting ? ":" : ""}
453453
</label>
454454
</div>
455455
${this.isImportExisting ? this.renderCollList() : ""}
@@ -559,10 +559,10 @@ class ArchiveWebApp extends ReplayWebApp
559559
</div>
560560
561561
${IS_APP ? html`
562-
<p>ArchiveWeb.page App is a standalone app for Mac, Windows and Linux that allows users to create web archives as they browse</p>
562+
<p>ArchiveWeb.page App is a standalone app for Mac, Windows and Linux that allows users to archive webpages as they browse</p>
563563
564564
` : html`
565-
<p>ArchiveWeb.page allows users to create web archives directly in your browser!</p>`}
565+
<p>ArchiveWeb.page allows users to archive webpages directly in your browser!</p>`}
566566
</div>
567567
568568
<p>See the <a href="https://archiveweb.page/guide" target="_blank">ArchiveWeb.page Guide</a> for more info on how to use this tool.</p>
@@ -574,13 +574,13 @@ class ArchiveWebApp extends ReplayWebApp
574574
<p>ArchiveWeb.page is part of the <a href="https://webrecorder.net/" target="_blank">Webrecorder Project</a>.</p>
575575
576576
<h3>Privacy Policy</h3>
577-
<p class="is-size-7">ArchiveWeb.page allows users to archive what they browse, this archive data is stored directly in the browser.
578-
Users can downloaded this data as files to their harddrive. Users can also delete any and all archived data at any time.
577+
<p class="is-size-7">ArchiveWeb.page allows users to archive what they browse, this captured data is stored directly in the browser.
578+
Users can downloaded this data as files to their hard drive. Users can also delete any and all archived data at any time.
579579
ArchiveWeb.page does not collect any usage or tracking data.</p>
580580
581581
<p class="is-size-7">ArchiveWeb.page includes an experimental sharing option for each archive collection. Users can choose to share select archives on a peer-to-peer network (IPFS) via a unique id.
582582
Once shared on this network, the data may become accessible to others.
583-
All archives are private and not shared by default, unless explicitly opted-in by the user. (A warning is displayed when sharing via IPFS.)</p>
583+
All web captures are private and not shared by default, unless explicitly opted-in by the user. (A warning is displayed when sharing via IPFS.)</p>
584584
585585
<h4>Disclaimer of Warranties</h4>
586586
<p class="is-size-7">The application is provided "as is" without any guarantees.</p>

src/ui/coll-index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ class WrRecCollIndex extends CollIndex
131131
}
132132

133133
renderEmpty() {
134-
return html`No Archives. Click "Create New" above to create a new archive and being saving pages!`;
134+
return html`No web captures. Click "Create Web Capture" above to begin archiving pages!`;
135135
}
136136
}
137137

138-
customElements.define("wr-rec-coll-index", WrRecCollIndex);
138+
customElements.define("wr-rec-coll-index", WrRecCollIndex);

src/ui/coll-info.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class WrRecCollInfo extends CollInfo
127127
return html`
128128
<div class="columns">
129129
<div class="column is-2">
130-
<p class="minihead">Title</p>
130+
<p class="minihead">Name</p>
131131
<span class="subtitle has-text-weight-bold">
132132
${detailed ? html`
133133
${coll.title}
@@ -149,7 +149,7 @@ class WrRecCollInfo extends CollInfo
149149
<fa-icon aria-hidden="true" .svg="${fasDownload}"></fa-icon>
150150
</span>
151151
</a>
152-
<button @click="${this.onShowImport}" class="button is-small" title="Import Archive">
152+
<button @click="${this.onShowImport}" class="button is-small" title="Import File">
153153
<span class="icon">
154154
<fa-icon aria-hidden="true" .svg="${fasUpload}"></fa-icon>
155155
</span>

src/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export async function ensureDefaultColl(collLoader)
88
let colls = await collLoader.listAll();
99

1010
if (!colls.length) {
11-
const metadata = {"title": "My Web Archive"};
11+
const metadata = {"title": "My Web Capture"};
1212
const result = await collLoader.initNewColl(metadata);
1313

1414
await setLocalOption("defaultCollId", result.name);
@@ -56,4 +56,4 @@ export async function listAllMsg(collLoader, {defaultCollId = null} = {}) {
5656
}));
5757

5858
return msg;
59-
}
59+
}

0 commit comments

Comments
 (0)