Hi Mihkel,

Sure if you need this, we need this.

> I'll gladly provide the relevant patches as best as I can, but
> thought I'd ask if the project maybe has some established rules for
> such string-splitting, is there anything I should look out for?

No, let's go with that. But this won't get integrated now as we are
preparing the 2.6.1 release. You can start a PR now though.

What are the strings that you need to add context to?

> 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.

Thanks,
 
-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to