developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#848 closed enhancement (fixed)

createform and createdaocrud should create locales files

Reported by: bastnic Owned by: bastnic
Priority: low Milestone: Jelix 1.2 beta
Component: jelix-scripts Version: 1.1
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Actually, jelix-scripts createdao and createdaocrud generate dao and forms files with column name used for labels. We should create locales files and use them as locales for labels.

Attachments (2)

script_createform.diff (2.6 KB) - added by bastnic 11 years ago.
ticket_848.diff (7.4 KB) - added by Patrick_D 11 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by laurentj

  • Component changed from jelix to jelix-scripts
  • Priority changed from normal to low
  • Severity changed from normal to minor
  • Type changed from bug to enhancement

it could have an option to the command to indicate we want external locales files.

comment:2 Changed 11 years ago by bastnic

  • Owner set to bastnic
  • Status changed from new to assigned

Changed 11 years ago by bastnic

comment:3 Changed 11 years ago by bastnic

Compris dans ce patch :

  • la résolution du ticket #896
  • le 3/4 de la résolution de ce ticket

Manque :

  • la gestion de plusieurs langages, il faudrait créer des fichiers de locales pour chaque langage prédéfini dans la config
  • rendre la création des fichiers de locales optionnelle
  • l'ajout au manifest du fichier locales.tpl
  • les copyright, credits etc

Si quelqu'un peut valider le principe et nettoyer le patch je lui offre un toblerone qu'il peut venir chercher quand il veut à mon bureau :D.

comment:4 Changed 11 years ago by Patrick_D

  • review set to review?
  • Summary changed from createdao and createdaocrud should create locales files to createform and createdaocrud should create locales files

Compris dans ce patch la résolution de ce ticket.

Il manque toujours la gestion de "tout" les langages. Seul le français et l'anglais sont pris en compte.

Quelqu'un peut jeter un oeil la dessus?

PS : je suis un nouvel arrivant bossant avec bastien (si ça intéresse quelqu'un ;) )

Changed 11 years ago by Patrick_D

comment:5 Changed 11 years ago by laurentj

  • Milestone set to Jelix 1.2
  • review changed from review? to review+

ça me parait pas mal :-) Juste pour le trunk..

comment:6 Changed 11 years ago by bastnic

  • Resolution set to fixed
  • Status changed from assigned to closed

commit done, thanks Patrick Dos-Santos for his first patch on Jelix :D.

comment:7 Changed 11 years ago by laurentj

r1444

Note: See TracTickets for help on using tickets.