Fix missing labels on -/+ buttons in style manager after #4006
This commit is contained in:
parent
e86458f11b
commit
be2ae2c1d7
2 changed files with 14 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue