I did a translation for the advanced help of my module and have a topic ID named about and usage. E.g. views has such a topic ID, too.

When I provide a translation of my help folder with the file my_module/translations/help/de/my_module.help.ini that contains

[about]
title = "Translated title about of my module"
[usage]
title = "Translated title usage of my module"

the same title is used for the other modules, too (so e.g. view's about topic has the wrong title "Translated title about of my module").

Now it becomes confusing:
As I added a translation file to my submodule (my_module/modules/my_submodule/translations/help/de/my_submodule.help.ini) just containing

[usage]
title = "Translated title usage of my submodule"

not only the usage of my submodule had the correct translation but also the about topic of views got back its original (untranslated) title.

As I removed the translation file of my submodule (my_submodule/translations/help/de/my_submodule.help.ini) again the views about topic got reverted to the wrong "Translated title about of my module" defined in my_module/translations/help/de/my_module.help.ini

CommentFileSizeAuthor
#1 reset-translation.patch1011 bytesmerlinofchaos
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

FileSize
1011 bytes

This one is tough for me to test as I have no good translation environment. Can you test this patch for me?

Roi Danton’s picture

Status: Active » Fixed

I've tested it vice versa: Applying this patch -> problem fixed. Removing patch -> problem again. Applying this patch again -> problem fixed.

So your patch fixes this and should be committed. EDIT: Rev 1.41 works well. ;)

merlinofchaos’s picture

Status: Fixed » Reviewed & tested by the community

The proper status is RTBC -- fixed is what it's set to after committed.

Roi Danton’s picture

Looking at the revision comparison of ah module it seemed to me that you've already committed this along with the line break-token fix.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Oh! HAH. I didn't mean to commit it, I forgot to unpatch it! Oh well it's tested now so it all worked out in the end.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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