Follow-up Comment #12, bugs #1986 (project savane):
"Anyway, your function should obtain this information the way gettext() does.
Otherwise, we're just opening the door to complication (we would then need to
pay attention where the files are, stuff would end up broken if someone moves
the files to another legimitate location)."
No problem, I can change that function to use the default location.
"Upstream ngettext() is PHP 4.2.0. Too soon to use it everywhere - several
distro stable version ships anterior versions. But it would be unwise to
create something way complicated, that requires changes in the code, apart
from the addition of a function, just for, say, one year."
Please don't get a wrong impression. It *is* just adding a custom ngettext()
function, no other changes in the code are needed. Moreover, the syntax is
completely identical to ngettext in PHP 4.2, so if that version is finally
widely available, there's no need to change any code except to delete the
custom ngettext function.
"This is not a bug. Savane is designed to work on unix-like system like
GNU/Linux. There's no legitimate reason to have savane mo files in a directory
which is not in the system path for the mo files; Savane cannot be installed
on a user account anyway."
Sorry if I was unclear in my previous post, please s/user/admin/g in the text.
I don't expect savane to work from somewhere under /home. However, I don't
understand your point here:
"It would be pointless to add one more configuration option while were not
forced to."
I don't need another option during the configuration; on the contrary. My
understanding is that it would maybe even possible to *remove* that
configuration question and just use the default .mo location
(/usr/share/locale/).
"The question at the configure step is here for the sole purpose of catching
the real system path for mo files. Not to encourage people to make a mess of
their system files hierarchy."
I'm afraid I don't understand what you mean here. Why is it necessary to know
the real system path when savane (at least the PHP part) does not honor it
later on?
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?func=detailitem&item_id=1986>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev