change to template lv-adj

change to template lv-adj

Hi! I undid your changes to {{lv-adj}}, since they caused a problem with indeclinable adjectives like rozā or aizkuņģa: these were being presented as if they had a definite form, when in fact they don't. This is probably because of some little glitch in the conditional structure after you introduced all those spaces in the template. Personally, I prefer templates without spaces (strangely enough, I find them much easier to read without all the extra spaces and '<--'s and '-->'s), but I have nothing against you introducing them in templates if you want to -- just make sure you let me know when you make a change like that to a Latvian template, so that I can check that nothing has changed in the output (I will know places to look that you probably won't think of); if something has changed, I can let you know and you can fix it without me undoing your changes. No big deal, just a little thing. --Pereru (talk) 05:16, 21 June 2014 (UTC)

Pereru (talk)05:16, 21 June 2014

Could you tell me what needs to be changed then? I find your original code completely unreadable so I have no idea what is wrong.

CodeCat11:50, 21 June 2014

I also find your version unreadable, so it's difficult for me to find out exactly what was wrong with it; besides, I'm not exactly swimming in free time these days, as you may have noticed. If you're interested, you can try to do the detective work yourself -- just run a page like rozā or starpzvaigžņu, which describe indeclinable adjectives, through one of the versions you created (which incorrectly labels them as having a definite form), and compare it to my version (which doesn't). If you're not that much into it, then just leave the template as it is. As they say, don't fix what ain't broke.

Pereru (talk)06:02, 22 June 2014

That's why I fixed it in the first place! Can you describe under what conditions there is no declined form?

CodeCat10:29, 22 June 2014

You fixed it because it wasn't broken? I don't understand your answer.

Usually, borrowed words (like rozā), or 'genitival adjectives' (really old genitive forms) like starpzvaigžņu. I indicate these with a hyphen as the first argument in {{lv-adj}} (the first #ifeq statement handles that). Is this what you wanted to know?

Pereru (talk)15:58, 18 July 2014