Merge pull request #106 from g4b0/VIEW_LANGS_permission

BUG: added VIEW_LANGS permission in Translatable::providePermissions()
This commit is contained in:
Ingo Schommer 2013-04-14 14:12:52 -07:00
commit bc7c0436c0

View File

@ -1483,6 +1483,11 @@ class Translatable extends DataExtension implements PermissionProvider {
'Translate into all available languages'
);
$permissions['VIEW_LANGS'] = _t(
'Translatable.TRANSLATEVIEWLANGS',
'View language dropdown'
);
return $permissions;
}