Use Fluent instead of DTD for "Use Dark Mode for Content" string

This commit is contained in:
Dan Stillman 2024-01-21 03:31:24 -05:00
parent 11fc1ebd8e
commit 61cca0fc69
3 changed files with 4 additions and 2 deletions

View file

@ -519,7 +519,7 @@
id="view-menuitem-use-dark-mode-for-content"
class="menu-type-reader"
type="checkbox"
label="&zotero.pdfReader.useDarkModeForContent;"
data-l10n-id="reader-use-dark-mode-for-content"
oncommand="Zotero.Prefs.set('reader.useDarkModeForContent', !Zotero.Prefs.get('reader.useDarkModeForContent'))"
/>
<menuseparator class="menu-type-reader"/>

View file

@ -332,4 +332,3 @@
<!ENTITY zotero.pdfReader.transferFromPDF "Import Annotations…">
<!ENTITY zotero.pdfReader.rotatePageLeft "Rotate Page Left">
<!ENTITY zotero.pdfReader.rotatePageRight "Rotate Page Right">
<!ENTITY zotero.pdfReader.useDarkModeForContent "Use Dark Mode for Content">

View file

@ -76,6 +76,9 @@ item-button-view-online =
itembox-button-options =
.tooltiptext = Open Context Menu
reader-use-dark-mode-for-content =
.label = Use Dark Mode for Content
import-window =
.title = Import