https://bugs.mageia.org/show_bug.cgi?id=3907

Michael Scherer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Michael Scherer <[email protected]> 2012-02-24 22:46:10 CET ---
Ok, so after taking a look, and using the following script :

#!/usr/bin/python
import os, sys
path = '/usr/share/transifex'
if path not in sys.path:
    sys.path.append(path)
path = '/usr/share'
if path not in sys.path:
    sys.path.append(path)
path = '/usr/local/lib/'
if path not in sys.path:
    sys.path.append(path)

os.environ['DJANGO_SETTINGS_MODULE'] = 'transifex.settings'
from django.db.models import get_model

Template = get_model('resources', 'Template')
Resource = get_model('resources', 'Resource')

r = Resource.objects.get(name='1_drakx-net.pot')
t = Template.objects.get(resource=r)
print t.content

I found that the database is incorrect. Ie, it should show this :


#: ../lib/network/vpn/vpnc.pm:61
#, c-format
msgid "NAT Mode"
msgstr "7bec4f55f1b699bf1dc52352c1e3d5ff_tr"

and for multi line, it does show this : 

#: ../lib/network/shorewall.pm:164
#, c-format
msgid ""
"Your firewall configuration has been manually edited and contains\n"
"rules that may conflict with the configuration that has just been set up.\n"
"What do you want to do?"
msgstr ""
"Your firewall configuration has been manually edited and contains\n"
"rules that may conflict with the configuration that has just been set up.\n"
"What do you want to do?"

So there is indeed a issue in the db.

-- 
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to