Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a63413ea248d91c9664eccb101bc04c63ddd04f3 1 parent 860c10b
@sorbits sorbits authored
View
1  Templates/PO File.tmTemplate/info.plist
@@ -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>
View
2  Templates/PO File.tmTemplate/template.po
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.