How I can translate followed sentences:
'[author] [operation]d the [node-type] [node-link]'
'[author-all] [operation]d the [node-type] [node-link]'

I found then in:

function nodeactivity_activity_info() { 
...
      'author' => array(
        '#name' => t('Author'),
        '#description' => t('The person who created the node.'),
        '#default' => '[author] [operation]d the [node-type] [node-link]',
      ),
      // This is what corresponds to ACTIVITY_ALL
      'all' => array(
        '#name' => t('All'),
        '#description' => t('The general public.'),
        '#default' => '[author-all] [operation]d the [node-type] [node-link]',
      ),

Comments

kenorb’s picture

In nodeactivity.module file.

kenorb’s picture

Component: Code » Activity Contrib
Priority: Critical » Normal

Ok, I found the place where I can change this text (at /admin/settings/activity/nodeactivity)

But there is a one problem.
I've got 30 content types, each of them has create, update and delete, all text are the same.
Do I need edit 90 inputboxes? Or there is some global settings to change that?

And there is second problem, when I want to tick them all, page is always scrolling down. There shouldn't be scroll for only ticking the box, only when you e.g. click the name of the content.

sirkitree’s picture

This is clearly a limitation of the current UI (the amount of boxes on one page with lots of content types). But how can we improve this?

With the re-write in version 2, we're also looking at this, so any solid ideas are welcome.

Currently there are no globals, and I'm sure exactly how we would implement them. Maybe one field to rule them all? If it's filled out the others are ignored? But then what if you just want ONE of them different and want to change all the others? Javascript?

I agree that scrolling is a bit annoying...

sirkitree’s picture

StatusFileSize
new3.16 KB

Here's a patch that throws t()'s around the rest of the defaults

sirkitree’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.