Move -app-name variable to brand.ftl

So a custom build doesn't have to modify each .ftl file

`app-name` is redundant with the Firefox strings, but it's what we used
previously and is easier to remember.
This commit is contained in:
Dan Stillman 2023-05-07 04:53:29 -04:00
parent 84f74e5db0
commit 87c71f74a0
6 changed files with 6 additions and 3 deletions

View file

@ -3,4 +3,5 @@
-brand-full-name = Zotero
-brand-product-name = Zotero
-vendor-short-name = Zotero
trademarkInfo = Zotero is a trademark of the Corporation for Digital Scholarship.
-app-name = Zotero
trademarkInfo = Zotero is a trademark of the Corporation for Digital Scholarship.

View file

@ -42,6 +42,7 @@ class XULElementBase extends XULElement {
this.append(content);
}
MozXULElement.insertFTLIfNeeded("branding/brand.ftl");
MozXULElement.insertFTLIfNeeded("zotero.ftl");
if (document.l10n && this.shadowRoot) {
document.l10n.connectRoot(this.shadowRoot);

View file

@ -10,6 +10,7 @@
onload="Zotero_Import_Wizard.init()"
>
<linkset>
<html:link rel="localization" href="branding/brand.ftl" />
<html:link rel="localization" href="zotero.ftl" />
</linkset>

View file

@ -33,6 +33,7 @@
onload="Zotero_Publications_Dialog.init()"
>
<linkset>
<html:link rel="localization" href="branding/brand.ftl" />
<html:link rel="localization" href="zotero.ftl" />
</linkset>

View file

@ -10,6 +10,7 @@
onload="Zotero_RTFScan.init()"
>
<linkset>
<html:link rel="localization" href="branding/brand.ftl" />
<html:link rel="localization" href="zotero.ftl" />
</linkset>

View file

@ -1,5 +1,3 @@
-app-name = Zotero
import-wizard =
.title = "Import"