Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagina com status das traduções #11

Open
andrewsmedina opened this issue Nov 1, 2010 · 0 comments
Open

Pagina com status das traduções #11

andrewsmedina opened this issue Nov 1, 2010 · 0 comments

Comments

@andrewsmedina
Copy link
Member

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.

http://code.google.com/p/djangobrasil/issues/detail?id=75&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stars%20Opened

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant