rapila / cms-base

The rapila cms’ internals. Please file all issues here if they’re not directly related to a plugin or the sample site.
http://www.rapi.la
3 stars 1 forks source link

Dependencies for string overwriting don't seem to work #206

Open juergmessmer opened 9 years ago

juergmessmer commented 9 years ago

If I make a placeholder string in a widget, that can be overwritten by another plugin or for a special site, I expect that a string (key) added to a plugin2 - which depends on plugin1 - is displayed instead of the original one. But that doesn't seem to work - even if I use the same path / dir structure in both plugins.

Plugin1 placeholder.string-key: ""

Plugin2 info.yml dependencies: plugins/plugin1: "*" placeholder.string-key: "My overwrite string"

sabberworm commented 8 years ago

My tests show the following:

plugins/«p»/modules/«t»/«m»/lang/«l».ini can be overridden by site/modules/«t»/«m»/lang/«l».ini but not by site/lang/«l».ini. I don’t know if that is supposed to be correct…

juergmessmer commented 6 years ago

I havn't had any problems with this anymore. I guess we close it for now?