Commit 895e34dd authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish the label width in form, some tool tips translation and migrate flags.

parent 9b93a717
......@@ -76,7 +76,7 @@
'Book': 'Ouvrage',
'book': 'ouvrage',
'cache': 'cache',
'can be applied on any field of the table using the SQL WHERE syntax. Be aware that foreign key are not resolved (see smart_query in the web2py)': 'can be applied on any field of the table using the SQL WHERE syntax. Be aware that foreign key are not resolved (see smart_query in the web2py)',
'can be applied on any field of the table using the SQL WHERE syntax. Be aware that foreign key are not resolved (see smart_query in the web2py)': 'Peu être appliqué à tous le champs de la table publications en utilisant la syntaxe SQL WHERE. Attention, les clés étrangères ne sont pas résolues (voir le chapitre smart_query dans la documentation web2py)',
"can be applied on any field of the table using the where syntax. don't work with the foreign table (see smart_query in the web2py)": "can be applied on any field of the table using the where syntax. don't work with the foreign table (see smart_query in the web2py)",
"Can't access the MySQL database !!!": "La base de données MySQL n'est pas accesible !!!",
"Can't delete a publication marked OK.": 'Impossible de détruire une publication marquée OK.',
......@@ -346,7 +346,7 @@
'Modified On': 'Modified On',
'Modify': 'Modifier',
'Name': 'Nom',
'Name of a function located in the modules list_postprocessing. Can be a list of name separated by comma.': 'Nom de la fonction localisées dans le module list_postprocessing, ou liste de nom séparé par une virgule.',
'Name of a function located in the modules list_postprocessing. Can be a list of name separated by comma.': 'Liste de fonction du module list_postprocessing, séparé par une virgule. Les fonctions disponibles sont : clean, highlight_cppm_authors, highlight_cppm_speaker, remove_undef.',
'Name of the database table containing the publications shown in this section.': 'Nom de la table qui contient les publications qui seront présentées dans cette section.',
'Name of the list.': 'Nom de la liste.',
'Name of the section.': 'Nom de la section.',
......@@ -548,7 +548,7 @@
'status': 'status',
'Status OK': 'Status OK',
'Store': 'Entrepôt',
'String containing blabla and the database fields to be displayed. The substitution mechanism is: {tablename.fieldname} or {foreigntablename.fieldname}': 'String containing blabla and the database fields to be displayed. The substitution mechanism is: {tablename.fieldname} or {foreigntablename.fieldname}',
'String containing blabla and the database fields to be displayed. The substitution mechanism is: {tablename.fieldname} or {foreigntablename.fieldname}': 'Chaîne de caractère contenant du texte et des champs de la base de donnée. Les régles de substitution sont : {tablename.fieldname} ou {foreigntablename.fieldname}',
'String containing the author names with their institutes number.': 'Chaîne de caractère contenant le nom des auteurs avec le numéro de leurs instituts.',
'Submitted': 'Soumis',
'Submitted date is not defined': "La date de soumission n'est pas défini",
......
......@@ -12,7 +12,7 @@ from gluon.tools import Auth
#
auth = Auth(db, hmac_key=Auth.get_or_create_key())
auth.define_tables(migrate=MIGRATE)
auth.define_tables(migrate=MIGRATE_USER)
auth.settings.create_user_groups = False
auth.settings.mailer = None
auth.settings.registration_requires_approval = True
......
......@@ -25,7 +25,9 @@ fieldsModifier.configure_field('template', enableAlignments=False,
#
#-------------------------------------------------------------------------------
formModifier = dbui.FormModifier('renderers')
formModifier.configure(width=400)
formModifier.configure(fieldDefaults={'labelAlign': 'left',
'labelWidth': 110},
width=400)
#-------------------------------------------------------------------------------
#
......
......@@ -19,6 +19,9 @@ fieldsModifier.merge_fields('sort_field', 'direction', fieldLabel=T('Sort field'
# FORM CONFIGURATiON
#
#-------------------------------------------------------------------------------
formModifier = dbui.FormModifier('sections')
formModifier.configure(fieldDefaults={'labelAlign': 'left',
'labelWidth': 110})
#-------------------------------------------------------------------------------
#
......
......@@ -29,7 +29,7 @@
// create and show the window
Ext.create('Ext.window.Window', {
title: 'Edit and insert ...',
width: 450,
width: 460,
layout: 'fit',
modal: true,
items: form
......
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