Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: Arantor on August 23rd, 2013, 09:17 PM
-
If you try to search in the language editor, plugins whose language files aren't in their top level folder (where plugin-info.xml is) throw errors as well as not being added to the results list.
-
This should be fixed as of rev 2231.
-
Are you positive..? I don't remember anyone working on this..?
If yes, please move to Archived fixes. ;)
-
whoops I hit up the wrong topic :(
-
So, what was the right one...?
As for this bug, can you fix it on your side? You know I'm not well acquainted with the plugin codebase yet, so... It'd be helpful, kthx.
-
I'm not well acquainted with the plugin codebase yet
Are you going to learn it, or rely on others to maintain it? I need to know what is expected of me.
/Sources/ManageLanguages.php Mon Sep 2 17:15:09 2013
@@ -447,7 +447,7 @@
foreach ($objects as $name => $object)
if (is_dir($name))
{
- $local_path = str_replace($plugin_path, '', $name) . '|';
+ $local_path = str_replace($plugin_path, '', $name) . '/';
$lang_dirs[$plugin_id][$local_path] = $name;
}
-
Okay, applied your fix to the file. (And made it all into one line... No need to use a temp variable for that, is there...?)
Thanks!
I'll learn the system if nobody steps up to maintain it and it turns out that I absolutely need to fix things. Otherwise, frankly, I have too much on my plate right now to start looking into learning things that Pete left hanging. I believe he fixed 99% of what he needed to fix everywhere, so I think I can safely leave these things aside until needed. Right now... Nope.
What I'm expecting of you? I'm expecting nothing of you. If I were expecting something of you, that might influence you to work on things, and then get upset with me for some reason. I only want you to do what you're willing to do for Wedge. So, basically, if you want to take over whatever Pete was working on and that you know better than I do, by all means, please do it. If you're not willing to, then it's just fine as well. I'm certainly not going to put the pressure on anyone; it is up to me, and me alone, to carry the Weight of Wedge until it gets released.
-
This should be fixed as of rev 2236.