On Feb 12, 2008, at 8:02 AM, Clytie Siddall wrote:

I have created Clippings to fill in the top and bottom parts of PO (gettext [1]) file headers. For example, the basic top header for me is:
___
# Vietnamese translation for NAME.
# Copyright © #LOCALTIME %Y Free Software Foundation, Inc.
# Clytie Siddall <[EMAIL PROTECTED]>, #LOCALTIME %Y.
#
msgid ""
msgstr ""
___

This worked fine until I inserted the date/time placeholders. (I was getting sick of changing the year on all these clippings each time another year came around. ;) )

#localtime ...# is a clippings placeholder. Everything after #localtime up to the next # is the format string.

Did you intend for the date to be inserted?

If so, you need to close off the localtime placeholder like this:

        # Copyright © #LOCALTIME %Y# Free Software Foundation, Inc.

If you intend to insert that text literally, you can escape the #localtime as \#localtime.

Jim
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to