Permalink
Browse files

Get po-file generation working.

Done for French and German; removed most of the strings to translate for testing puproses. Also updated the pot file generation to put int most of the proper default headers and values.
  • Loading branch information...
1 parent 29f2a21 commit 9214ba8eb67499f888a2543a3ae62a31f57df92e @theory committed Sep 1, 2012
Showing with 25 additions and 1,630 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 po/App-Sqitch.pot
  3. +3 −0 po/Makefile
  4. +3 −0 po/PACKAGE
  5. +8 −814 po/de.po
  6. +8 −814 po/fr.po
View
@@ -13,3 +13,4 @@
/_rpmbuild
/target
.build/
+*.mo
View
@@ -5,9 +5,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Sqitch 0.93\n"
"Report-Msgid-Bugs-To: david@justatheory.com\n"
-"POT-Creation-Date: 2012-08-31 16:34-0700\n"
+"POT-Creation-Date: 2012-08-31 17:15-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
View
@@ -46,12 +46,15 @@ $(TD).pot: $(POTFILES)
--add-comments=TRANSLATORS: \
--copyright-holder="$(COPYRIGHT_HOLDER)" \
--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
+ --package-name="$(PACKAGE_NAME)" \
+ --package-version="$(PACKAGE_VERSION)" \
--keyword --keyword='$$__' --keyword=__ --keyword=__x \
--keyword=__n:1,2 --keyword=__nx:1,2 --keyword=__xn:1,2 \
--keyword=__p:1c,2 --keyword=__np:1c,2,3 \
--keyword=__npx:1c,2,3 --keyword=N__ --keyword=N__n:1,2 \
--keyword=N__p:1c,2 --keyword=N__np:1c,2,3 --keyword=%__ \
--language=perl `find $(libdir) -name '*.pm'` && \
+ perl -i -pe 's{CHARSET}{UTF-8}' $(TD).pox && \
rm -f $@ && mv $(TD).pox $@
install: $(MO_FILES)
View
@@ -14,3 +14,6 @@ TEXTDOMAIN = App-Sqitch
# Where to send msgid bugs?
MSGID_BUGS_ADDRESS = david@justatheory.com
+
+PACKAGE_NAME = Sqitch
+PACKAGE_VERSION = 0.93
Oops, something went wrong.

0 comments on commit 9214ba8

Please sign in to comment.