Fix missing labels on -/+ buttons in style manager after #4006

This commit is contained in:
Dan Stillman 2024-06-07 00:28:48 -04:00
parent e86458f11b
commit be2ae2c1d7
2 changed files with 14 additions and 4 deletions

View file

@ -37,9 +37,12 @@
<label is="zotero-text-link"
value="&zotero.preferences.export.getAdditionalStyles;" flex="1"
onclick="Zotero_Preferences.Cite.openStylesPage(); event.preventDefault()"/>
<button disabled="true" id="styleManager-delete" data-l10n-id="preferences-minus-btn"
oncommand="Zotero_Preferences.Cite.deleteStyle()"/>
<button data-l10n-id="preferences-plus-btn" oncommand="Zotero_Preferences.Cite.addStyle()"/>
<button id="styleManager-delete"
data-l10n-id="preferences-styleManager-delete-button" data-l10n-args='{"label":"-"}'
oncommand="Zotero_Preferences.Cite.deleteStyle()"
disabled="true"/>
<button data-l10n-id="preferences-styleManager-add-button" data-l10n-args='{"label":"+"}'
oncommand="Zotero_Preferences.Cite.addStyle()"/>
</hbox>
</groupbox>

View file

@ -48,4 +48,11 @@ preferences-quickCopy-minus =
.aria-label = { general-remove }
.label = { $label }
preferences-locate-resolver = Resolver
preferences-locate-base-url = Base URL
preferences-locate-base-url = Base URL
preferences-styleManager-delete-button =
.tooltiptext = Delete the selected style
.label = { $label }
preferences-styleManager-add-button =
.tooltiptext = Add a style from a file
.label = { $label }