@@ -255,22 +255,39 @@ class _StatusFilterKey(DisplayStringEnum):
255255
256256 @property
257257 def _displayStringLabels (self ) -> Dict ["_StatusFilterKey" , str ]:
258- return {k : v .replace ('&' , '' ) for (k , v ) in self ._displayStringLabelsWithAccelerators .items ()}
258+ return {
259+ # Translators: The label of a tab to display installed add-ons in the add-on store.
260+ # Ensure the translation matches the label for the add-on list which includes an accelerator key.
261+ self .INSTALLED : pgettext ("addonStore" , "Installed add-ons" ),
262+ # Translators: The label of a tab to display updatable add-ons in the add-on store.
263+ # Ensure the translation matches the label for the add-on list which includes an accelerator key.
264+ self .UPDATE : pgettext ("addonStore" , "Updatable add-ons" ),
265+ # Translators: The label of a tab to display available add-ons in the add-on store.
266+ # Ensure the translation matches the label for the add-on list which includes an accelerator key.
267+ self .AVAILABLE : pgettext ("addonStore" , "Available add-ons" ),
268+ # Translators: The label of a tab to display incompatible add-ons in the add-on store.
269+ # Ensure the translation matches the label for the add-on list which includes an accelerator key.
270+ self .INCOMPATIBLE : pgettext ("addonStore" , "Installed incompatible add-ons" ),
271+ }
259272
260273 @property
261274 def _displayStringLabelsWithAccelerators (self ) -> Dict ["_StatusFilterKey" , str ]:
262275 return {
263- # Translators: The label of a tab to display installed add-ons in the add-on store and the label of the
264- # add-ons list in the corresponding panel (preferably use the same accelerator key for the four labels)
276+ # Translators: The label of the add-ons list in the corresponding panel.
277+ # Preferably use the same accelerator key for the four labels.
278+ # Ensure the translation matches the label for the add-on tab which has the accelerator key removed.
265279 self .INSTALLED : pgettext ("addonStore" , "Installed &add-ons" ),
266- # Translators: The label of a tab to display updatable add-ons in the add-on store and the label of the
267- # add-ons list in the corresponding panel (preferably use the same accelerator key for the four labels)
280+ # Translators: The label of the add-ons list in the corresponding panel.
281+ # Preferably use the same accelerator key for the four labels.
282+ # Ensure the translation matches the label for the add-on tab which has the accelerator key removed.
268283 self .UPDATE : pgettext ("addonStore" , "Updatable &add-ons" ),
269- # Translators: The label of a tab to display available add-ons in the add-on store and the label of the
270- # add-ons list in the corresponding panel (preferably use the same accelerator key for the four labels)
284+ # Translators: The label of the add-ons list in the corresponding panel.
285+ # Preferably use the same accelerator key for the four labels.
286+ # Ensure the translation matches the label for the add-on tab which has the accelerator key removed.
271287 self .AVAILABLE : pgettext ("addonStore" , "Available &add-ons" ),
272- # Translators: The label of a tab to display incompatible add-ons in the add-on store and the label of the
273- # add-ons list in the corresponding panel (preferably use the same accelerator key for the four labels)
288+ # Translators: The label of the add-ons list in the corresponding panel.
289+ # Preferably use the same accelerator key for the four labels.
290+ # Ensure the translation matches the label for the add-on tab which has the accelerator key removed.
274291 self .INCOMPATIBLE : pgettext ("addonStore" , "Installed incompatible &add-ons" ),
275292 }
276293
0 commit comments