In plog-manage.php at Line 153, you'll find that "Delete Checked" is the hook for the deletion function: if ($_REQUEST["action"]== "Delete Checked")
So, if you want to change the values of the buttons, then you also have to change the "hooks" to match. (They're basically procedural event handlers; "if" this button was pressed, "then" perform this action.) With luck, there may be an internationalization/labeling system in the next Beta. Until then, I think you'll have to find the hooks and change them by hand.
Or, you could create a new PHP file to include_once above the admin PHP script, that converted from your language back into to the standard hooks. e.g. if ($_REQUEST("action") == ""Apagar selecionados") { $_REQUEST("action") = "Delete Checked"; }
This way they would appear in your language but Plogger would understand the originals. This would have to be done BEFORE Plogger tried to read the values, though, so would go at the top of one of the admin scripts.
Sorry, I know it's a rudimentary solution, but I don't think this has yet been integrated into Plogger itself.
Regards, Derek
PS. Are there tags to include <pre> text like <code> on this forum software? I've never used this before, and I keep posting CSS/PHP/XHTML. I've found you can't use XHTML, so something else would be welcome.
Oh, and Derek is right about Plogger using those input values as hooks to determine certain actions. When you change them to something else, you will have to change that conditional in plog-manage.php to get it to be recognized.
Our internationalization system will take care of this problem (Beta 3)
great! i already found some missing little things during my translation. . like ..
Allow_comments check isnt working. . and i cant find the value to translate it some more values i cant find like Captation and Filename. . this on photos inside albuns Manage. . and some collections manage like Description and Name errrrr O_o lol . .so weird. . and some more buttons missing values : well ill wait for a next version . . . btw my big big problem is the special characters : i cant add Ã? and Ã? to some values because it doesnt recognise it .. maybe some way to fix that in next version .. for suporting portuguese language :| thanks all
Do you actually see the markup, or the XHTML elements (as in the unordered list and links above)? Because it's converting all of the HTML entities for me, which means if I marked something up as <code> or <pre>, nothing would actually change (I couldn't use indents, etc), you would just see plain text.
No, I see the markup, too. But what I meant was whether I was able to use a <pre> or <code> tag to format code differently from the rest of my post, or whether the there was some similar BB-based markup.
At least that's solved. Thanks again Mike.
Regards, Derek
Edit: And a tip for Ruizit, if you use HTML entities in your values, you'll need to use them in the hooks as well. Going from one to another won't work, because PHP doesn't see them (rightly) as the same thing.