[Kmymoney-devel] csvimport plugin test is translation dependent
aganderson at ukonline.co.uk
Fri Sep 17 02:14:22 CEST 2010
On 16/09/10 23:39, Alvaro Soliverez wrote:
> On Thu, Sep 16, 2010 at 6:47 PM, allan <aganderson at ukonline.co.uk> wrote:
>> On 16/09/10 18:45, Cristian OneÅ£ wrote:
>>> 2010/9/16 Alvaro Soliverez <asoliverez at kde.org>:
>>>> Comment out the short month test for now.
>>>> Anyway, the test is inherently translation dependent, but it is
>>>> supposed to work ok. That is, until someone screwed up when
>>>> translating to Romanian. :/
>>> I've done that but if it can't be rewritten in a translation
>>> independent manner I would prefer to remove it.
>> As I see it, a test on the validity of an alpha month has to reflect the
>> current locale, so has to involve translation. Â It would seem that the
>> test was valid, but the translation was not, if I understand correctly.
>> Â Presumably in real use, a valid short date month would be rejected, or
>> perhaps just the one I chose at random?
>> I contemplated leaving the test just commented out, for possible future
>> inclusion once the translation is fixed, but the same could happen
>> again. Â It was meant to be a test of convdate() rather than translation,
>> so I'll remove it totally.
>> Out of interest, what happens with the later test
> I agree that the test has to include translation. I'd give time to fix
> the issue in Romanian translation, but the test should go in.
> If it fails we can check why that is, and report upstream if needed.
> Leave it commented for the moment, but IMHO the test is ok and it has to stay.
I'd already taken it out, but it's back in now, commented out. Unit
More information about the KMyMoney-devel