Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15

Re: [PATCH/RFC v8 0/2] Gettext support for Git

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:48:55

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
This is version 8 of the series to make Git optionally translatable
with GNU gettext.

Changes since version 7:
[...]
   * Add back support (and a new test) for the no-op N_() macro. This
     is used for marking translations for later use, e.g.:
        
        const char help[] =
        	N_("See 'git help COMMAND' for more information on a specific command.");
        
        int main(void)
        {
            puts(_(help));
Shouldn't you add also corresponding N__ subroutine to Git::I18N
module?

  # Dummy functions for string marking.
  sub N__($) {
  	return shift;
  }

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help