Open unho opened 9 years ago
The following issues have been detected for a vfolder with a location like /{LANG}/
(cross-project vfolder):
In [24]: s
Out[24]: <Store: /ru/website2_evernote/modules/homepage/promos/sign-up.php.po>
In [25]: s.parent_vfolder_treeitems
Out[25]: [<VirtualFolderTreeItem: /ru/website2_evernote/dropbox_campaign/modules/homepage/promos/>]
In [26]: s.all_pootle_paths()
Out[26]:
[u'/ru/website2_evernote/modules/homepage/promos/sign-up.php.po',
u'/ru/website2_evernote/modules/homepage/promos/',
u'/ru/website2_evernote/modules/homepage/',
u'/ru/website2_evernote/modules/',
u'/ru/website2_evernote/',
u'/projects/website2_evernote/',
u'/ru/website2_evernote/dropbox_campaign/modules/homepage/promos/',
u'/ru/website2_evernote/dropbox_campaign/modules/homepage/',
u'/ru/website2_evernote/dropbox_campaign/modules/',
u'/ru/website2_evernote/dropbox_campaign/',
u'/ru/website2_evernote/',
u'/projects/website2_evernote/']
In [27]: s.parent_vfolder_treeitems[0].parent.parent.parent
Out[27]: <VirtualFolderTreeItem: /ru/website2_evernote/dropbox_campaign/>
In [28]: s.parent_vfolder_treeitems[0].parent.parent.parent.parent
Out[28]: <VirtualFolderTreeItem: /ru//dropbox_campaign>
Virtual folders stats table must be listed on a specific language overview.