Closed (fixed)
Project:
Views Bulk Operations (VBO)
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Mar 2009 at 19:29 UTC
Updated:
23 Mar 2009 at 16:20 UTC
When I translate the string "Delete node", the selection menu for selecting an operation is broken. See attached screenshot. Onde I delete the translated string, the error is corrected.
thanks
Leo
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 2.png | 108.3 KB | mcfly-1 | |
| Picture 1.png | 10.97 KB | mcfly-1 |
Comments
Comment #1
infojunkieCan you please explain how you perform the translation? I'd like to reproduce this on my side. Thanks.
Comment #2
mcfly-1 commentedI just go to the translate area, search for the string, and update it.
Leo
Comment #3
infojunkieI wasn't able to find the string "Delete node" in my translation area! I must be doing something wrong...
But I still committed a fix to this problem, so please wait for the next dev refresh (12 hours from now) and let me know if you are now able to translate those labels without losing the actions.
If the problem still persists, can you confirm that going to the view settings and re-selecting the actions you want solves the problem temporarily?
Comment #4
mcfly-1 commentedInstalled most recent dev. Just by selecting the actions I wanted in the dropdown menu "partially" fixed the issue. The actions are shown correctly, but I can't find the string "Delete node" in the translation area.
thanks
Leo
Comment #5
infojunkieAfter fiddling with the translation module, clearing the cache and working on other, unrelated issues, I went back to try the latest dev version of VBO with translation. Choosing the French language as the default and then searching for "Delete node" in the "Translate interface" section revealed the string. I added a French translation and went back to VBO: the action was still there with the French string.
Because I am not really experienced with the Drupal translation module, I don't think I can troubleshoot these inconsistent occurrences much further. I'd be grateful if anyone who's more familiar with translation can lend a hand.
Comment #6
benkewell commentedi'm using 6.x-1.5 with a similar issue, the selection menu for operation is broken after translating the text "Delete node"
and what i found is that the operation "Delete node" is not selected after the translation in the view's operation config page
so i select it again and save the view, all things works again
so i suspect that the issue may be related to how the selected operations are identified
maybe the description of an operation is used to identify an operation
so when it is translated, the description become not the same as before when it was selected
thus the module can't find the operation for the stored selection, returning a broken select form
Comment #7
infojunkie@BenKewell: Yes that was the problem with releases up to 6.x-1.5 and this is fixed in the subsequent dev releases.