Yes, it’s definitely useful to have context-specific strings
when situations like this arise. I have added “date_from” and “date_to”
strings to account for this situation. I have left the existing “From” and “To”
in place for emails. It might be better to rename them to message_from and
message_to, but for now I decided to implement the least-disruptive fix (in
case anybody is relying on those strings in other contexts based on their
Markus, please take a look at the latest code and let me know if
I did anything wrong! In any case, thanks for catching the problem.
From: Greg Pendlebury
Sent: Sunday, March 27, 2011 4:59 AM
To: Markus Fischer
Subject: Re: [VuFind-General] Ambivalent translation key "to"
I know it bloats the language
files, but I would suggest going even further. Back when the advanced search
screen was being overhauled I started putting in strings that showed the screen
they came from, or at least context of usage. It adds more control for minor
tweaks to individual screens by non-tech staff.
In this context I guess the indexes would be something like: 'date_to',
'date_slider_to', 'email_to' etc.
On 27 March 2011 18:05, Markus Fischer <firstname.lastname@example.org> wrote:
I stumbeld over a translation issue due to an ambivalent key
in Vufind 1.1:
To = "To" has been translated up to now in German with: To = An
This key is now used in pubdate_slider as "from" "to". Here
tranlsation should be "Von" "Bis" instead of
Because the pubdate_slider is very strongly exposed, and the wrong
translation ("An") is very weird, I changed the key to
committed it to the trunk.
I know see that the same key is also used in the context of sending
emails/sms. So the german translation is different and should be "An"
To resolve the issue, I think we should use separate keys. E.g.:
To = An
Till = Bis
Sorry for the mess.
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
VuFind-General mailing list