Mercurial > libervia-backend
comparison src/memory/params.py @ 1227:4da2e4d58bd0
memory (params): add parameters "Show offline contacts" and "Show empty groups"
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 06 Oct 2014 11:20:43 +0200 |
parents | 72f25d671368 |
children | ff58a49a7022 |
comparison
equal
deleted
inserted
replaced
1226:72f25d671368 | 1227:4da2e4d58bd0 |
---|---|
43 </general> | 43 </general> |
44 <individual> | 44 <individual> |
45 <category name="General" label="%(category_general)s"> | 45 <category name="General" label="%(category_general)s"> |
46 <param name="Password" value="" type="password" /> | 46 <param name="Password" value="" type="password" /> |
47 <param name="%(history_param)s" label="%(history_label)s" value="20" constraint="0;100" type="int" security="0" /> | 47 <param name="%(history_param)s" label="%(history_label)s" value="20" constraint="0;100" type="int" security="0" /> |
48 <param name="%(show_offline_contacts)s" label="%(show_offline_contacts_label)s" value="false" type="bool" security="0" /> | |
49 <param name="%(show_empty_groups)s" label="%(show_empty_groups_label)s" value="false" type="bool" security="0" /> | |
48 </category> | 50 </category> |
49 <category name="Connection" label="%(category_connection)s"> | 51 <category name="Connection" label="%(category_connection)s"> |
50 <param name="JabberID" value="name@example.org/SàT" type="string" /> | 52 <param name="JabberID" value="name@example.org/SàT" type="string" /> |
51 <param name="Password" value="" type="password" /> | 53 <param name="Password" value="" type="password" /> |
52 <param name="Priority" value="50" type="int" constraint="-128;127"/> | 54 <param name="Priority" value="50" type="int" constraint="-128;127"/> |
64 """ % { | 66 """ % { |
65 'category_general': D_("General"), | 67 'category_general': D_("General"), |
66 'category_connection': D_("Connection"), | 68 'category_connection': D_("Connection"), |
67 'history_param': C.HISTORY_LIMIT, | 69 'history_param': C.HISTORY_LIMIT, |
68 'history_label': D_('Chat history limit'), | 70 'history_label': D_('Chat history limit'), |
71 'show_offline_contacts': C.SHOW_OFFLINE_CONTACTS, | |
72 'show_offline_contacts_label': D_('Show offline contacts'), | |
73 'show_empty_groups': C.SHOW_EMPTY_GROUPS, | |
74 'show_empty_groups_label': D_('Show empty groups'), | |
69 'force_server_param': C.FORCE_SERVER_PARAM, | 75 'force_server_param': C.FORCE_SERVER_PARAM, |
70 'force_port_param': C.FORCE_PORT_PARAM, | 76 'force_port_param': C.FORCE_PORT_PARAM, |
71 'new_account_label': D_("Register new account"), | 77 'new_account_label': D_("Register new account"), |
72 'autoconnect_label': D_('Connect on frontend startup'), | 78 'autoconnect_label': D_('Connect on frontend startup'), |
73 'autodisconnect_label': D_('Disconnect on frontend closure'), | 79 'autodisconnect_label': D_('Disconnect on frontend closure'), |