Commit 451255dc authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

Topic is now named Folder

parent 48319df33038
......@@ -46,7 +46,7 @@ LINK_ICON = DATADIR/icon_link.gif
PERSON_ICON = DATADIR/icon_person.gif
STATE_ICON = DATADIR/icon_state.gif
TASK_ICON = DATADIR/icon_task.gif
TOPIC_ICON = DATADIR/icon_topic.gif
FOLDER_ICON = DATADIR/icon_folder.gif
DEVICE_ICON = DATADIR/icon_device.gif
......
'''map entities, relations and attributes real names to their
displayed name
* normal / plural forms for entities
* normal / reverse for relations
This file has been partially generated on 2006-03-29 15:17:30.
'''
__revision__ = '$Id: mapping.py,v 1.6 2006-03-29 14:17:26 syt Exp $'
# <entity name> : (<singular form>, <plural form>)
ENTITIES_MAP = {
'Basket' : (_('basket'), _('baskets')),
'Bookmark' : (_('bookmark'), _('bookmarks')),
'Boolean' : (_('boolean'), _('booleans')),
'Bytes' : (_('bytes'), _('bytes')),
'Comment' : (_('comment'), _('comments')),
'Date' : (_('date'), _('dates')),
'Datetime' : (_('date time'), _('date times')),
'Device' : (_('device'), _('devices')),
'Econstraint' : (_('constraint'), _('constraints')),
'Econstrainttype': (_('constraint type'), _('constraint types')),
'Eetype' : (_('entity type'), _('entity types')),
'Efrdef' : (_('attribute relation'), _('attribute relations')),
'Egroup' : (_('group'), _('groups')),
'Enfrdef' : (_('relation'), _('relations')),
'Ertype' : (_('relation type'), _('relation types')),
'Euser' : (_('user'), _('users')),
'Ewidget' : (_('widget'), _('widgets')),
'File' : (_('file'), _('files')),
'Float' : (_('float'), _('floats')),
'Int' : (_('int'), _('ints')),
'Part' : (_('part'), _('parts')),
'Password' : (_('password'), _('passwords')),
'State' : (_('state'), _('states')),
'String' : (_('string'), _('strings')),
'Time' : (_('time'), _('time')),
'Topic' : (_('topic'), _('topics')),
'Zone' : (_('zone'), _('zones')),
}
# <attribute name> : <display attribute name>
ATTRIBUTES_MAP = {
'cardinality' : _('cardinality'),
'creation_date' : _('creation date'),
'data' : _('data'),
'defaultval' : _('defaultval'),
'description' : _('description'),
'eid' : _('eid'),
'email' : _('email'),
'encoding' : _('encoding'),
'final' : _('final'),
'firstname' : _('first name'),
'fulltextindexed' : _('fulltext indexed'),
'has_text' : _('has text'),
'indexed' : _('indexed'),
'internationalizable' : _('internationalizable'),
'login' : _('login'),
'meta' : _('meta'),
'mime_type' : _('mime type'),
'modification_date' : _('modification date'),
'name' : _('name'),
'ordernum' : _('ordernum'),
'password' : _('password'),
'path' : _('path'),
'serial' : _('serial'),
'surname' : _('surname'),
'symetric' : _('symetric'),
'text' : _('text'),
'title' : _('title'),
'type' : _('type'),
'value' : _('value'),
}
# <relation name> : (<normal form>, <reverse form>)
RELATIONS_MAP = {
'add_permission' : (_('can be added by'),
_('can add')),
'bookmarked_by' : (_('bookmarked by'),
_('bookmarks')),
'comments' : (_('about'),
_('commented by')),
'concerned_by' : (_('is concerned by'),
_('concerns')),
'constrained_by' : (_('constrained by'),
_('constraint of')),
'cstrtype' : (_('type'),
_('used by')),
'delete_permission' : (_('can be deleted by'),
_('can delete')),
'filed_under' : (_('filed under'),
_('in this category')),
'from_entity' : (_('from entity'),
_('subject relation')),
'in_basket' : (_('is in basket'),
_('in this basket')),
'in_group' : (_('in groups'),
_('users')),
'in_state' : (_('state'),
_('in this state')),
'initial_state' : (_('initial state'),
_('initial state of')),
'made_of' : (_('made of'),
_('is a part of')),
'next_state' : (_('next state'),
_('previous state')),
'owned_by' : (_('owned by'),
_('owns')),
'read_permission' : (_('can be readen by'),
_('can read')),
'relation_type' : (_('relation type'),
_('used by')),
'situated_in' : (_('situated in'),
_('contains')),
'state_of' : (_('state of'),
_('has states')),
'to_entity' : (_('to entity'),
_('object relation')),
'update_permission' : (_('can be updated by'),
_('can update')),
'widget' : (_('widget'),
_('used by')),
}
......@@ -3,4 +3,4 @@ Bookmark
Basket
File
Zone
Topic
Folder
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment