Add comment to devel-notes.txt documentation.
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;
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);
}
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
-------------
$(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 \