Repository navigation
Expand file tree
/
Copy pathui_utils.py
More file actions
67 lines (62 loc) · 2.28 KB
/
Copy pathui_utils.py
File metadata and controls
67 lines (62 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
"""Plugin UI constants
"""
# Copyright (C) 2026 Bob Swift (rdswift)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, see <https://www.gnu.org/licenses/>.
from picard.plugin3.api import t_
NO_DESCRIPTION = t_('ui.text.no_description', 'No description available.')
CATEGORY_TOOLTIPS = {
'coverart': t_(
'ui.tooltip.categories.coverart',
(
'The plugin provides cover art related processing, such as adding a new cover art '
'source or cover art filters.'
),
),
'formats': t_(
'ui.tooltip.categories.formats',
(
'The plugin provides additional or modified functionality regarding supported file '
'formats, including support for a new file format.'
),
),
'metadata': t_(
'ui.tooltip.categories.metadata',
(
'The plugin modifies the metadata for an album or track, and is typically executed '
'when the information is retrieved from MusicBrainz when an album is loaded.'
),
),
'other': t_(
'ui.tooltip.categories.other',
(
'The plugin provides functionality not covered by the other specific categories, or in addition '
'to that provided by other categories.'
),
),
'scripting': t_(
'ui.tooltip.categories.scripting',
(
'The plugin provides scripting functionality, such as new script functions or new tags/variables '
'(perhaps added via a metadata processor).'
),
),
'ui': t_(
'ui.tooltip.categories.ui',
(
'The plugin provides user interface modifications, such as new main or context menu actions, or '
'other display modifications.'
),
),
}