To show the enable/disable links in administer views area for all languages i patched modules/contrib/views/views_ui.module like this:
Index: modules/contrib/views/views_ui.module
===================================================================
--- modules/contrib/views/views_ui.module (Revision 239)
+++ modules/contrib/views/views_ui.module (Arbeitskopie)
@@ -268,10 +268,10 @@
}
$links = array(l(t('add'), "admin/views/add/$view->name"));
- if ($status == 'Enabled') {
+ if ($status == t('Enabled')) {
$links[] = l(t('disable'), "admin/views/disable/$view->name");
}
- else if ($status == 'Disabled') {
+ else if ($status == t('Disabled')) {
$links[] = l(t('enable'), "admin/views/enable/$view->name");
}
Comments
Comment #1
anarcat commentedsounds fine here, although copy-pasting the patch doesn't work here. but in principle, it's good and it works, i just tested it on the CVS.
Comment #2
ricmadeira commentedI tested the patch with Views CVS and it works!
I am updating the priority to critical because people like me, who by default use an interface in another language, are not even aware of these functions otherwise.
Comment #3
merlinofchaos commentedChecked in a fix for this. Thanks!
Comment #4
(not verified) commented