Permalink
Browse files

• use TM_FULLNAME instead of TM_USERNAME in all templates and remove …

…the setup of TM_USERNAME from the template script/helper

git-svn-id: http://svn.textmate.org/trunk/Bundles/Gettext.tmbundle@8306 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent 860c10b commit a63413ea248d91c9664eccb101bc04c63ddd04f3 @sorbits sorbits committed Oct 19, 2007
Showing with 1 addition and 2 deletions.
  1. +0 −1 Templates/PO File.tmTemplate/info.plist
  2. +1 −1 Templates/PO File.tmTemplate/template.po
@@ -6,7 +6,6 @@
<string>if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date "+%Y-%m-%d %R%z"` \
- TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
&lt; template.po &gt; "$TM_NEW_FILE"
fi</string>
@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: ${TM_DATE}\n"
"PO-Revision-Date: ${TM_DATE}\n"
-"Last-Translator: ${TM_USERNAME} <EMAIL@ADDRESS>\n"
+"Last-Translator: ${TM_FULLNAME} <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"

0 comments on commit a63413e

Please sign in to comment.