Skip to content

Commit

Permalink
Add Perplexity AI attribution and trademark labels. Update version to…
Browse files Browse the repository at this point in the history
… 0.4.8
  • Loading branch information
imigueldiaz committed Apr 8, 2024
1 parent 5776ea8 commit 9711145
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 5 deletions.
8 changes: 8 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@
"aboutLabel": {
"message": "About",
"description": "Label for the about button."
},
"perplexityAttributionLabel": {
"message": "This extension uses ",
"description": "Label for the Perplexity AI attribution."
},
"perplexityTrademarkLabel": {
"message": "Perplexity AI is a trademark of Perplexity AI, Inc.",
"description": "Label for the Perplexity AI trademark."
}

}
8 changes: 8 additions & 0 deletions _locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,13 @@
"aboutLabel": {
"message": "Acerca de",
"description": "Etiqueta para la pestaña 'Acerca de'."
},
"perplexityAttributionLabel": {
"message": "Esta extensión usa ",
"description": "Etiqueta de atribución para Perplexity AI."
},
"perplexityTrademarkLabel": {
"message": "Perplexity AI es una marca registrada de Perplexity Inc.",
"description": "Etiqueta de marca registrada para Perplexity AI."
}
}
8 changes: 8 additions & 0 deletions _locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,13 @@
"aboutLabel": {
"message": "À propos",
"description": "Libellé pour l'onglet À propos."
},
"perplexityAttributionLabel": {
"message": "Cette extension utilise ",
"description": "Libellé pour l'attribution de Perplexity AI."
},
"perplexityTrademarkLabel": {
"message": "Perplexity AI est une marque déposée de Perplexity Inc.",
"description": "Libellé pour la marque Perplexity AI."
}
}
4 changes: 2 additions & 2 deletions lib/purify.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "__MSG_extensionName__",
"version": "0.4.7",
"version": "0.4.8",
"description": "__MSG_extensionDescription__",
"default_locale": "en",
"homepage_url": "https://github.com/imigueldiaz/firefox-quick-abstract",
Expand Down
4 changes: 2 additions & 2 deletions popup/extension.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
<h3><a href="https://github.com/imigueldiaz/firefox-quick-abstract" target="_blank" rel="noopener noreferrer"><span id="extensionName"></span></a></h3>
<p><a href="" id="versionLink" target="_blank" rel="noopener noreferrer">Version <span id="version"></span></a></p>
<a href="LICENSE" target="_blank" rel="noopener noreferrer">MIT License</a>
<p>This extension uses the <a href="https://docs.perplexity.ai/" target="_blank" rel="noopener noreferrer">Perplexity.ai API</a>.</p>
<p>Perplexity is a trademark of Perplexity, Inc.</p>
<p><span id="perplexityAttribution"></span><a href="https://docs.perplexity.ai/" target="_blank" rel="noopener noreferrer">Perplexity.ai API</a>.</p>
<p id="perplexityTrademark"></p>
</div>

</div>
Expand Down
2 changes: 2 additions & 0 deletions popup/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ document.addEventListener("DOMContentLoaded", function() {
document.getElementById('version').textContent = version;
document.getElementById('versionLink').href = `https://github.com/imigueldiaz/firefox-quick-abstract/releases/tag/v${version}`;
document.getElementById('extensionName').innerText = browser.i18n.getMessage('extensionName');
document.getElementById('perplexityAttribution').innerText = browser.i18n.getMessage('perplexityAttributionLabel');
document.getElementById('perplexityTrademark').innerText = browser.i18n.getMessage('perplexityTrademarkLabel');

document.title = browser.i18n.getMessage('extensionName');

Expand Down

0 comments on commit 9711145

Please sign in to comment.