by Xeotroid » Sat Jul 06, 2019 2:19 pm
Yeah, I know. The only "automated" (in massive quotes) solution I've seen was on Facebook where they probably took a database of common names and had the correct declension for each of those. Player customisation in-game would be a dumb, overcomplicated idea too. Imagine Finnish with its 15 cases.
Although one of the names in the obituaries should always be declensed ("%k killed %o" would change %o's name, "%o was killed by %k" would change %k's name), it probably isn't a big deal to leave them unchanged. It will be perfectly understandable, just clumsy, but in multiplayer that's fine. Another solution would be to preface all names that would need to be changed with the word for "player," because then it's declensed by that word, not by the actual name. That's fine for some UIs but it would make the obituary long and clumsy. Leaving out the killer's name seems very sub-optimal, you only get a half of information with that obituary, then.
%g replacement seems easy, a macro identical to Polish's ao_pl would be used to append to the verb (saw) instead of adding a pronoun.