From 0dc7b4153946bad1fc5090d71128d4c8971d49d9 Mon Sep 17 00:00:00 2001 From: g4b0 Date: Fri, 12 Apr 2013 09:30:57 +0200 Subject: [PATCH] BUG: added VIEW_LANGS permission in Translatable::providePermissions() --- code/model/Translatable.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/model/Translatable.php b/code/model/Translatable.php index 33e9603..39cc4c1 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -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; }