Commit c708e237 authored by Kevin J. McCarthy's avatar Kevin J. McCarthy

Flag translator comments using L10N.

Add comment to devel-notes.txt documentation.
parent 471bb577
......@@ -256,7 +256,7 @@ void mutt_create_alias (ENVELOPE *cur, ADDRESS *iadr)
mutt_check_alias_name (tmp, buf, sizeof (buf));
retry_name:
/* add a new alias */
/* L10N: prompt to add a new alias */
if (mutt_get_field (_("Alias as: "), buf, sizeof (buf), 0) != 0 || !buf[0])
return;
......
......@@ -903,7 +903,7 @@ int mutt_index_menu (void)
else
{
char buf[STRING];
/* i18n: ask for a limit to apply */
/* L10N: ask for a limit to apply */
snprintf (buf, sizeof(buf), _("Limit: %s"),Context->pattern);
mutt_message ("%s", buf);
}
......
......@@ -196,6 +196,10 @@ Style Guide
from the times when this was an iso-8859-1 source code tree,
please feel free to fix them.
- prefix translator comments with L10N:
/* L10N: this is a translator comment */
puts(_("String to translate));
Documentation
-------------
......
......@@ -91,11 +91,11 @@ $(top_builddir)/keymap_alldefs.h:
$(PACKAGE).pot: $(POTFILES) $(BUILT_POTFILES) $(srcdir)/POTFILES.in
rm -f $(PACKAGE).pot $(PACKAGE).po
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \
--add-comments=L10N --keyword=_ --keyword=N_ \
--files-from=$(srcdir)/POTFILES.in \
&& \
$(XGETTEXT) --default-domain=$(PACKAGE) \
--add-comments --keyword=_ --keyword=N_ \
--add-comments=L10N --keyword=_ --keyword=N_ \
--join $(BUILT_POTFILES) \
&& test ! -f $(PACKAGE).po \
|| ( rm -f $(PACKAGE).pot \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment