Export to GitHub

djangobrasil - issue #75

Pagina com status das traduções


Posted on Jul 11, 2009 by Happy Dog

Criar pagina com status das traduções, essa pagina pode aproveitar as informações contidas nos cabeçalhos dos arquivos do svn:

..

.. META INFORMATION OF TRANSLATION

..

.. $TranslationStatus: Done, waiting for revision. $

.. $OriginalRevision: 10838 $

.. $TranslationAuthors: Walter Cruz $

..

.. INFO OF THIS FILE (DO NOT EDIT! UPDATED BY SUBVERSION)

..

.. $HeadURL: https://django-l10n-portuguese.googlecode.com/svn/branches/docs-1.0.X/howto/deployment/modwsgi.txt $

.. $LastChangedRevision: 307 $

.. $LastChangedBy: robsonmwoc $

.. $LastChangedDate: 2009-06-30 22:38:41 -0300 (Tue, 30 Jun 2009) $

..

A idéia e pegar as informação acima e colocar no banco de dados, essas informações devem ser atualizadas automaticamente a cada commit do repositório, fiz codigo que retorna a seguinte saida:

Meta information for: /home/waa/dev/django-l10n-portuguese/branches/docs-1.0.X/howto/deployment/modwsgi.txt ('TranslationStatus', 'Done, waiting for revision. ') ('OriginalRevision', '10838 ') ('TranslationAuthors', 'Walter Cruz ') ('HeadURL: https', '/django-l10n-portuguese.googlecode.com/svn/branches/docs-1.0.X/howto/deployment/modwsgi.txt ') ('LastChangedRevision', '307 ') ('LastChangedBy', 'robsonmwoc ') ('LastChangedDate: 2009-06-30 22:38', '1 -0300 (Tue, 30 Jun 2009) ')

A RE usada deve ser melhorada para as tags LastChangedDate e HeadURL ajuda e' bem vinda! espero colocar um patch aqui na segunda.

Comment #1

Posted on Jul 11, 2009 by Happy Dog

Adicionado path para testes ainda não finalizado.

Attachments

Comment #2

Posted on Jul 22, 2009 by Helpful Giraffe

(No comment was entered for this change.)

Comment #3

Posted on Sep 21, 2009 by Helpful Giraffe

(No comment was entered for this change.)

Status: Accepted

Labels:
Priority-Medium Component-Docs Type-Patch