Hi Pascal, Thanks for the swift reply!
> But this won't get integrated now as we are > preparing the 2.6.1 release. You can start a PR now though. Yes, already figured as much :) I'm aiming for 2.8, which should leave me some time to also let a few people test-drive and review the translation. > What are the strings that you need to add context to? Mostly one-or-two-word strings that need different case endings in different places, e.g. "filename" as a label in metadata view vs. as sort condition. A few are verb/noun lookalikes like "group" or "copy". And then there's words like "compression" or "orientation" or "exposure" that have several (closely related) meanings in English, but not a single, catch-all translation into Estonian. Some of these could be avoided with some inventiveness (with the price that the result will look a bit funny), but others can't. These were just a few typical examples - I hope to send the patches for review later this month, then you'd see them all :) > > Also, while I get the idea of _("string") and C_("context", > > "string") and likewise with N_ and NC_, I can't figure out how to add > > context to strings in the preferences dialog, as the relevant > > file (build/src/preferences_gen.h) gets generated first during the > > build. > > Sure it gets generated, but the code snippets are in > tools/generate_prefs.xsl. That's where you need to add the context. I should've been more specific on this one: the string I'd mostly need to split is the 'default' OpenCL scheduling profile from the 'default' button to reset all shortcuts, but I can't find where this OpenCL profile gets pulled in from - could you maybe send me looking in the right direction once more? It doesn't seem to be in tools/generate_prefs.xsl directly? Sorry if this is a noob-question - I have experience with translating, but not much with poking around in source code :( Thanks again for your reply, Mihkel ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org