Project:Backlinks
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

I love to see which nodes point back to my nodes (even if Drupal would need more important stuff like link management, especially deadlink prevention etc.); however, I love the "backlinks" module.

To integrate the module in my non-English Drupal sites, I tried to translate some parts of it, which I couldn't accomplish.

E.g., the text on the "What links here" seems neither to be translatable (to something like "Backlinks" oder "Rückverweise") nor editable in any way: The "locate" core module doesn't find the string "What links here" at all, and in the "Override" tab, I can't find a string to replace; additionally, sometimes saving the "Override" tab fails with the message "Node: Distinct must have a value!"; in fact, "Node: Distinct" has a value - the default setting "distinct" (simply doubleclicking in the "distinct" field without changing anything seems to allow to save the view).

Is there any way to translate the view, especially the text on the tab, or the other elements of the "backlinks" view without deleting and recreating themn?

Thanks & regards,
-asb

Comments

#1

Look for the menu fieldgroup on the admin/build/views/edit page; in this fieldgroup you can set the Menu Title.

Because it's configurable thru the UI, I hadn't thought to enclose the description and menu title in the t() function, but I can do so for the next release.

#2

Hi mfb,

thank you for the quick answer!

> Look for the menu fieldgroup on the admin/build/views/edit page; in this fieldgroup you can set the Menu Title.

Sorry, I'm either blind or too stupid for this; how can I edit anything on admin/build/views/edit? I have tabs "List", "Add", "Import", "Theme wizard", and "Tools"; all available views are listed on this page; links are provided to their URLs, and I can edit, export, clone or delete them; default views additionally can be enabled or disabled, but there is no element labled "fieldgroup" in admin/build/views/edit.

If I click on "edit", I get to admin/build/views/backlinks/edit, where I can translate "Node: Title" and "Node: Updated Time" in the "Fields" section, but nothing else.

Thanks & greetings, -asb

#3

When editing the backlinks view, you should see a section for all the Page settings (URL, View Type, Title, etc.) and within this section, a subsection for all the Menu settings (Provide Menu, Tab Weight, Menu Title, etc). Here you need to edit the Menu Title.

And, in the Arguments section, you can edit the Title for Backlinks: Node ID (by default it is %1 backlinks, where %1 is the node title).

#4

When editing the backlinks view, you should see a section for all the Page settings (URL, View Type, Title, etc.) and within this section, a subsection for all the Menu settings (Provide Menu, Tab Weight, Menu Title, etc). Here you need to edit the Menu Title.

And, in the Arguments section, you can edit the Title for Backlinks: Node ID (by default it is %1 backlinks, where %1 is the node title).

#5

Status:active» closed (fixed)

Yes, I've located it, and it worked!

Thanks again & status closed

-asb

#6

Yes, I've located it, and it worked - nice!

Thanks again & status closed

-asb