source: dassmodus/trunk/dassmodus/nosferatu/nosferatu/prettynames.py@ 982

Last change on this file since 982 was 982, checked in by pstorz, on Mar 29, 2012 at 1:56:48 PM

added lzo

File size: 21.1 KB
RevLine 
[953]1# -*- coding: utf-8 -*-
2# $Id: prettynames.py 12290 2011-02-10 14:02:38Z pstorz $
3import sys
4PrettyNames = {
5 '3des' : '3DES' ,
6 'abortjobonerror' : 'Abort Job On Error',
7 'accurate' : 'Accurate',
8 'aclsupport' : 'ACL Support',
9 'actiononpurge' : 'Action On Purge',
10 'addprefix' : 'Addprefix',
11 'address' : 'Address',
12 'addr' : 'Addr',
13 'addsuffix' : 'Addsuffix',
14 'admin' : 'Admin',
15 'alertcommand' : 'Alert Command',
16 'allowcompression' : 'Allow Compression',
17 'allowduplicatejobs' : 'Allow Duplicate Jobs',
18 'allowhigherduplicates' : 'Allow Higher Duplicates',
19 'allowmixedpriority' : 'Allow Mixed Priority',
20 'alwaysopen' : 'Always Open',
21 'always' : 'Always',
22 'append' : 'Append' ,
23 'archivedevice' : 'ArchiveDevice',
24 'autochanger' : 'AutoChanger',
25 'automaticmount' : 'Automatic Mount',
26 'autoprune' : 'Auto Prune',
27 'autoselect' : 'Auto Select',
28 'backup' : 'Backup',
29 'backwardspacefile' : 'Backward Space File',
30 'backwardspacerecord' : 'Backward Space Record',
31 'base' : 'Base',
32 'basejob' : 'Base Job',
33 'blockchecksum' : 'BlockChecksum',
34 'blockpositioning' : 'Blockpositioning',
35 'blowfish' : 'Blowfish' ,
36 'bootstrap' : 'Bootstrap',
37 'bsfateom' : 'BSF At EOM',
38 'cancellowerlevelduplicates' : 'Cancel Lower Level Duplicates',
39 'cancelqueuedduplicates' : 'Cancel Queued Duplicates',
40 'cancelrunningduplicates' : 'Cancel Running Duplicates',
41 'catalogacl' : 'Catalog ACL',
42 'catalog' : 'Catalog',
43 'catalogfiles' : 'Catalog Files',
44 'changercommand' : 'Changer Command',
45 'changerdevice' : 'Changer Device',
46 'checkfilechanges' : 'Check File Changes',
47 'checklabels' : 'Check Labels',
48 'cleaningprefix' : 'Cleaning Prefix',
49 'clientacl' : 'Client ACL',
50 'client' : 'Client',
51 'clientconnectwait' : 'Client Connect Wait',
52 'clientrunafterjob' : 'Client Run After Job',
53 'clientrunbeforejob' : 'Client Run Before Job',
54 'closeonpoll' : 'Close On Poll',
55 'commandacl' : 'Command ACL',
56 'command' : 'Command',
57 'compression' : 'Compression',
58 'console' : 'Console',
59 'copy' : 'Copy',
60 'copypool' : 'Copy Pool',
61 'counter' : 'Counter',
62 'data' : 'Data',
63 'dbaddress' : 'DB Address',
64 'dbdriver' : 'DB Driver',
65 'dbname' : 'DB Name',
66 'dbpassword' : 'DB Password',
67 'dbport' : 'DB Port',
68 'dbsocket' : 'DB Socket',
69 'dbuser' : 'DB User',
70 'description' : 'Description',
71 'device' : 'Device',
72 'devicetype' : 'Device Type',
73 'differential' : 'Differential',
74 'differentialpool' : 'Differential Pool',
75 'differentialbackuppool' : 'Differential Backup Pool',
76 'differentialmaxruntime' : 'Differential Max Run Time',
77 'differentialmaxwaittime' : 'Differential Max Wait Time',
78 'diraddress' : 'Dir Address',
79 'diraddresses' : 'Dir Addresses',
80 'director' : 'Director',
81 'dirport' : 'Dirport',
82 'dirsourceaddress' : 'Dir Source Address',
83 'disktocatalog': 'Disk To Catalog',
84 'driveindex' : 'Drive Index',
85 'drivetype' : 'Drive Type',
86 'enabled' : 'Enabled',
87 'enablevss' : 'Enable Vss',
88 'enhancedwild' : 'Enhanced Wild',
89 'encryption' : 'Encryption' ,
90 'exclude' : 'Exclude',
91 'excludedircontaining' : 'Exclude Dir Containing',
92 'failjobonerror' : 'Fail Job Onerror',
93 'fastforwardspacefile' : 'Fast Forward Spacefile',
94 'fdaddresses' : 'FD Addresses',
95 'fdaddress' : 'FD Address',
96 'fdconnecttimeout' : 'FD Connect Timeout',
97 'fdpassword' : 'FD Password',
98 'fdport' : 'FD Port',
99 'fdsourceaddress' : 'FD Source Address',
100 'filedaemon' : 'Filedaemon' ,
101 'file' : 'File' ,
102 'fileretention' : 'File Retention',
103 'filesetacl' : 'Fileset ACL',
104 'fileset' : 'Fileset',
105 'forwardspacefile' : 'Forward Space File',
106 'forwardspacerecord' : 'Forward Space Record',
107 'freespacecommand' : 'Free Space Command',
108 'fstype' : 'FS Type',
109 'full' : 'Full',
110 'fullbackuppool' : 'Full Backup Pool',
111 'fullmaxruntime' : 'Full Max Run Time',
112 'fullmaxwaittime' : 'Full Max Wait Time',
113 'fullpool' : 'Full Pool',
114 'gzip' : 'gzip',
115 'gzip1' : 'gzip1',
116 'gzip2' : 'gzip2',
117 'gzip3' : 'gzip3',
118 'gzip4' : 'gzip4',
119 'gzip5' : 'gzip5',
120 'gzip6' : 'gzip6',
121 'gzip7' : 'gzip7',
122 'gzip8' : 'gzip8',
123 'gzip9' : 'gzip9',
124 'hardlinks' : 'Hard Links',
125 'hardwareendoffile' : 'Hardware End Of File',
126 'hardwareendofmedium' : 'Hardware End Of Medium',
127 'heartbeatinterval' : 'Heartbeat Interval',
128 'hfsplussupport' : 'HFS Plus Support',
129 'historyfile' : 'Historyfile',
130 'honornodumpflag' : 'Honor Nodump Flag',
131 'ifnewer': 'If Newer',
132 'ifolder': 'If Older',
133 'ignorecase' : 'Ignore Case',
134 'ignorefilesetchanges' : 'Ignore Fileset Changes',
135 'include' : 'Include',
136 'incremental' : 'Incremental',
137 'incrementalpool' : 'Incremental Pool',
138 'incrementalbackuppool' : 'Incremental Backup Pool',
139 'incrementalmaxruntime' : 'Incremental Maxrun Time',
140 'incrementalmaxwaittime' : 'Incremental Max Wait Time',
141 'initcatalog':'Init Catalog',
142 'ip' : 'IP' ,
143 'ipv4' : 'IPv4',
144 'ipv6' : 'IPv6',
145 'jobacl' : 'Job ACL',
146 'jobdefs' : 'JobDefs',
147 'job' : 'Job',
148 'jobretention' : 'Job Retention',
149 'jobtoverify' : 'Job To Verify',
150 'keepatime' : 'Keep atime',
151 'labelformat' : 'Label Format',
152 'labelmedia' : 'Label Media',
153 'labeltype' : 'Label Type',
154 'level' : 'Level',
[982]155 'lzo' : 'LZO',
[953]156 'mailcommand' : 'Mail Command',
157 'mail' : 'Mail' ,
158 'mailonerror' : 'Mail On Error' ,
159 'mailonsuccess' : 'Mail On Success',
160 'maxdiffinterval' : 'Max Diff Interval',
161 'maxfullinterval' : 'Max Full Interval',
162 'maximumblocksize' : 'Maximum Block Size',
163 'maximumchangerwait' : 'Maximum Changer Wait',
164 'maximumconcurrentjobs' : 'Maximum Concurrent Jobs',
165 'maximumconsoleconnections' : 'Maximum Console Connections',
166 'maximumfilesize' : 'Maximum File Size',
167 'maximumjobspoolsize' : 'Maximum Job Spool Size',
168 'maximum' : 'Maximum',
169 'maximumnetworkbuffersize' : 'Maximum Network Buffer Size',
170 'maximumopenvolumes' : 'Maximum Open Volumes',
171 'maximumopenwait' : 'Maximum Open Wait',
172 'maximumpartsize' : 'Maximum Part Size',
173 'maximumrewindwait' : 'Maximum Rewind Wait',
174 'maximumspoolsize' : 'Maximum Spool Size',
175 'maximumvolumebytes' : 'Maximum Volume Bytes',
176 'maximumvolumefiles' : 'Maximum Volume Files',
177 'maximumvolumejobs' : 'Maximum Volume Jobs',
178 'maximumvolumesize' : 'Maximum Volume Size',
179 'maximumvolumes' : 'Maximum Volumes',
180 'maxrunschedtime' : 'Max Run Sched Time',
181 'maxruntime' : 'Max Run Time',
182 'maxstartdelay' : 'Max Start Delay',
183 'maxwaittime' : 'Max Wait Time',
184 'md5' : 'md5' ,
185 'mediatype' : 'Media Type',
186 'messages' : 'Messages',
187 'migrate' : 'Migrate',
188 'migrationhighbytes' : 'Migration High Bytes',
189 'migrationlowbytes' : 'Migration Low Bytes',
190 'migrationtime' : 'Migration Time',
191 'minimumblocksize' : 'Minimum Block Size',
192 'minimum' : 'Minimum',
193 'monitor' : 'Monitor',
194 'mountcommand' : 'Mount Command',
195 'mountpoint' : 'Mount Point',
196 'mtimeonly' : 'mtime only',
197 'multipleconnections' : 'Multiple Connections',
198 'name' : 'Name',
199 'never':'never',
200 'nextpool' : 'Nextpool',
201 'no': 'No',
202 'noatime' : 'no atime',
203 'oldestvolume': 'Oldest Volume',
204 'offlineonunmount' : 'Offline On Unmount',
205 'onefs' : 'one FS',
206 'operatorcommand' : 'Operator Command' ,
207 'operator' : 'Operator' ,
208 'options' : 'Options' ,
209 'password' : 'Password',
210 'piddirectory' : 'Pid Directory',
211 'pkiencryption' : 'Pki Encryption',
212 'pkikeypair' : 'Pki Keypair',
213 'pkimasterkey' : 'Pki Masterkey',
214 'pkisignatures' : 'Pki Signatures',
215 'pkisigner' : 'Pki Signer',
216 'plugindirectory' : 'Plugin Directory',
217 'pluginoptionsacl' : 'Plugin Options ACL',
218 'pluginoptions' : 'Plugin Options',
219 'plugin' : 'Plugin',
220 'poolacl' : 'Pool ACL',
221 'pool' : 'Pool',
222 'pooloccupancy':'Pool Occupancy',
223 'pooltime':'Pool Time',
224 'pooltype' : 'Pool Type',
225 'pooluncopiedjobs':'Pool Uncopied Jobs',
226 'portable' : 'Portable',
227 'port' : 'Port',
228 'prefermountedvolumes' : 'Prefer Mounted Volumes',
229 'prefixlinks' : 'Prefix Links',
230 'priority' : 'Priority',
231 'prunefiles' : 'Prune Files',
232 'prunejobs' : 'Prune Jobs',
233 'prunevolumes' : 'Prune Volumes',
234 'purgeoldestvolume' : 'Purge Oldest Volume',
235 'queryfile' : 'Query File',
236 'randomaccess' : 'Random Access',
237 'rcfile' : 'Rcfile',
238 'readfifo' : 'Read Fifo',
239 'recurse' : 'Recurse',
240 'recyclecurrentvolume' : 'Recycle Current Volume',
241 'recycleoldestvolume' : 'Recycle Oldest Volume',
242 'recyclepool' : 'Recycle Pool',
243 'recycle' : 'Recycle',
244 'regexdir' : 'Regex Dir',
245 'regexfile' : 'Regex File',
246 'regex' : 'Regex',
247 'regexwhere' : 'Regex Where',
248 'removablemedia' : 'Removable Media',
249 'replace' : 'Replace',
250 'requiresmount' : 'Requires Mount',
251 'rerunfailedlevels' : 'Rerunfailed Levels',
252 'restore': 'Restore',
253 'rescheduleinterval' : 'Reschedule Interval',
254 'rescheduleonerror' : 'Reschedule On Error',
255 'rescheduletimes' : 'Reschedule Times',
256 'runacl' : 'Run ACL',
257 'runafterfailedjob' : 'Run After Failed Job',
258 'runafterjob' : 'Run After Job',
259 'runbeforejob' : 'Run Before Job',
260 'run' : 'Run',
261 'runscript' : 'RunScript',
262 'runsonclient' : 'Runs On Client',
263 'runsonfailure' : 'Runs On Failure',
264 'runsonsuccess' : 'Runs On Success',
265 'runswhen' : 'Runs When',
266 'saved' : 'saved' ,
267 'scheduleacl' : 'Schedule ACL',
268 'schedule' : 'Schedule',
269 'scratchpool' : 'Scratch Pool',
270 'scriptsdirectory' : 'Scripts Directory',
271 'sdaddresses' : 'SD Addresses',
272 'sdaddress' : 'SD Address',
273 'sdconnecttimeout' : 'SD Connect Timeout',
274 'sddport' : 'SD port',
275 'sdpassword' : 'SD Password',
276 'sdport' : 'SD Port',
277 'selectionpattern' : 'Selection Pattern',
278 'selectiontype' : 'Selection Type',
279 'sha1' : 'sha1' ,
280 'sha256' : 'sha256' ,
281 'sha512' : 'sha512' ,
282 'since' :'Since',
283 'signature' : 'Signature',
284 'skipped' : 'skipped',
285 'smallestvolume': 'Smallest Volume',
286 'sparse' : 'Sparse',
287 'spoolattributes' : 'Spool Attributes',
288 'spooldata' : 'Spool Data',
289 'spooldirectory' : 'Spool Directory',
290 'spoolsize' : 'Spool Size',
291 'sqlquery':'SQL Query',
292 'statisticsretention' : 'Statistics Retention',
293 'started' : 'started' ,
294 'stderr' : 'stderr',
295 'stdout' : 'stdout',
296 'storageacl' : 'Storage ACL',
297 'storage' : 'Storage',
298 'strippath' : 'Strip Path',
299 'stripprefix' : 'Strip Prefix',
300 'subsysdirectory' : 'Subsys Directory',
301 'syslog' : 'Syslog',
302 'target' : 'Target',
303 'tlsallowedcn' : 'TLS Allowed CN',
304 'tlsauthenticate' : 'TLS Authenticate',
305 'tlscacertificatedir' : 'TLS CA Certificate Dir',
306 'tlscacertificatefile' : 'TLS CA Certificate File',
307 'tlscertificate' : 'TLS Certificate',
308 'tlsdhfile' : 'TLS DH File',
309 'tlsenable' : 'TLS Enable',
310 'tlskey' : 'TLS Key',
311 'tlsrequire' : 'TLS Require',
312 'tlsverifypeer' : 'TLS Verify Peer',
313 'twoeof' : 'Two EOF',
314 'type' : 'Type',
315 'unmountcommand' : 'Unmount Command',
316 'usecatalog' : 'Use Catalog',
317 'usemtiocget' : 'Use Mtiocget',
318 'user' : 'User',
319 'usevolumeonce' : 'Use Volume Once',
320 'verid' : 'VerID',
321 'verifyjob' : 'Verify Job',
322 'verify' : 'Verify',
323 'virtualfull': 'Virtual Full',
324 'volume':'Volume',
325 'volumecapacity' : 'Volume Capacity',
326 'volumepollinterval' : 'Volume Poll Interval',
327 'volumeretention' : 'Volume Retention',
328 'volumetocatalog' : 'Volume To Catalog' ,
329 'volumeuseduration' : 'Volume Useduration',
330 'whereacl' : 'Where ACL',
331 'where' : 'Where',
332 'wilddir' : 'wilddir',
333 'wildfile' : 'wildfile',
334 'wild' : 'wild',
335 'workingdirectory' : 'Working Directory',
336 'wrapcounter' : 'Wrap Counter',
337 'writebootstrap' : 'Write Bootstrap',
338 'writepartafterjob' : 'Write Part After Job',
339 'writepartcommand' : 'Write Partcommand',
340 'writeverifylist' : 'Write Verify List',
341 'xattrsupport' : 'xattrsupport',
342 'yes': 'Yes',
343
344 }
345
346# Format internal name to pretty name
347def prettyName(name):
348 if not PrettyNames.has_key(name):
349 print >> sys.stderr, 'warning: no key %s' % (name)
350 return PrettyNames.get(name, name)
351#
Note: See TracBrowser for help on using the repository browser.