Skip to content
Browse files

Remove packages/ dir and use default lib/python instead.

  • Loading branch information...
1 parent f3469bc commit 7d0a68b084dee3df09b5321305bda28c90917b2e @fwenzel fwenzel committed Jan 25, 2011
Showing with 5,519 additions and 0 deletions.
  1. +27 −0 bin/build_tmdb
  2. +27 −0 bin/csv2po
  3. +27 −0 bin/csv2tbx
  4. +29 −0 bin/html2po
  5. +27 −0 bin/ical2po
  6. +27 −0 bin/ini2po
  7. +71 −0 bin/junitmsgfmt
  8. +27 −0 bin/moz2po
  9. +9 −0 bin/nosetests
  10. +9 −0 bin/nosetests-2.6
  11. +35 −0 bin/odf2xliff
  12. +28 −0 bin/oo2po
  13. +27 −0 bin/oo2xliff
  14. +29 −0 bin/php2po
  15. +27 −0 bin/po2csv
  16. +29 −0 bin/po2html
  17. +27 −0 bin/po2ical
  18. +27 −0 bin/po2ini
  19. +28 −0 bin/po2moz
  20. +31 −0 bin/po2oo
  21. +29 −0 bin/po2php
  22. +27 −0 bin/po2prop
  23. +28 −0 bin/po2rc
  24. +27 −0 bin/po2sub
  25. +27 −0 bin/po2symb
  26. +26 −0 bin/po2tiki
  27. +29 −0 bin/po2tmx
  28. +29 −0 bin/po2ts
  29. +29 −0 bin/po2txt
  30. +27 −0 bin/po2web2py
  31. +28 −0 bin/po2wordfast
  32. +29 −0 bin/po2xliff
  33. +27 −0 bin/poclean
  34. 0 {packages/translate-toolkit/tools → bin}/pocommentclean
  35. 0 {packages/translate-toolkit/tools → bin}/pocompendium
  36. +27 −0 bin/pocompile
  37. +27 −0 bin/poconflicts
  38. +27 −0 bin/pocount
  39. +27 −0 bin/podebug
  40. +27 −0 bin/pofilter
  41. +27 −0 bin/pogrep
  42. +27 −0 bin/pomerge
  43. 0 {packages/translate-toolkit/tools → bin}/pomigrate2
  44. 0 {packages/translate-toolkit/tools → bin}/popuretext
  45. 0 {packages/translate-toolkit/tools → bin}/poreencode
  46. +27 −0 bin/porestructure
  47. +27 −0 bin/posegment
  48. 0 {packages/translate-toolkit/tools → bin}/posplit
  49. +28 −0 bin/poswap
  50. +27 −0 bin/pot2po
  51. +28 −0 bin/poterminology
  52. +29 −0 bin/pretranslate
  53. +27 −0 bin/prop2po
  54. +9 −0 bin/pybabel
  55. +27 −0 bin/rc2po
  56. +27 −0 bin/sub2po
  57. +27 −0 bin/symb2po
  58. +27 −0 bin/tiki2po
  59. +28 −0 bin/tmserver
  60. +29 −0 bin/ts2po
  61. +29 −0 bin/txt2po
  62. +26 −0 bin/web2py2po
  63. +37 −0 bin/xliff2odf
  64. +31 −0 bin/xliff2oo
  65. +29 −0 bin/xliff2po
  66. 0 {packages/Babel/pip-egg-info/Babel.egg-info → lib/python/Babel-0.9.5-py2.6.egg-info}/PKG-INFO
  67. 0 {packages/Babel/Babel.egg-info → lib/python/Babel-0.9.5-py2.6.egg-info}/SOURCES.txt
  68. 0 ...egg-info/translate_toolkit.egg-info → lib/python/Babel-0.9.5-py2.6.egg-info}/dependency_links.txt
  69. 0 ...kages/Babel/pip-egg-info/Babel.egg-info → lib/python/Babel-0.9.5-py2.6.egg-info}/entry_points.txt
  70. +493 −0 lib/python/Babel-0.9.5-py2.6.egg-info/installed-files.txt
  71. 0 {packages/nose/pip-egg-info/nose.egg-info → lib/python/Babel-0.9.5-py2.6.egg-info}/not-zip-safe
  72. 0 {packages/Babel/pip-egg-info/Babel.egg-info → lib/python/Babel-0.9.5-py2.6.egg-info}/top_level.txt
  73. +19 −0 lib/python/GitPython-0.3.1-py2.6.egg-info/PKG-INFO
  74. +116 −0 lib/python/GitPython-0.3.1-py2.6.egg-info/SOURCES.txt
  75. 0 ...nose/pip-egg-info/nose.egg-info → lib/python/GitPython-0.3.1-py2.6.egg-info}/dependency_links.txt
  76. +163 −0 lib/python/GitPython-0.3.1-py2.6.egg-info/installed-files.txt
  77. 0 {packages/nose/nose.egg-info → lib/python/GitPython-0.3.1-py2.6.egg-info}/not-zip-safe
  78. +1 −0 lib/python/GitPython-0.3.1-py2.6.egg-info/requires.txt
  79. 0 ...Python/pip-egg-info/GitPython.egg-info → lib/python/GitPython-0.3.1-py2.6.egg-info}/top_level.txt
  80. +10 −0 lib/python/async-0.6.1-py2.6.egg-info/PKG-INFO
  81. +28 −0 lib/python/async-0.6.1-py2.6.egg-info/SOURCES.txt
  82. 0 {packages/nose/nose.egg-info → lib/python/async-0.6.1-py2.6.egg-info}/dependency_links.txt
  83. +51 −0 lib/python/async-0.6.1-py2.6.egg-info/installed-files.txt
  84. 0 {packages/jinja2/pip-egg-info/Jinja2.egg-info → lib/python/async-0.6.1-py2.6.egg-info}/not-zip-safe
  85. +1 −0 lib/python/async-0.6.1-py2.6.egg-info/top_level.txt
  86. +1 −0 lib/python/async/AUTHORS
  87. +38 −0 lib/python/async/README
  88. +42 −0 lib/python/async/__init__.py
  89. +381 −0 lib/python/async/channel.py
  90. +126 −0 lib/python/async/graph.py
  91. 0 {packages/jinja2/jinja2/testsuite/res → lib/python/async/mod}/__init__.py
  92. BIN lib/python/async/mod/zlib.so
  93. +508 −0 lib/python/async/pool.py
  94. +84 −0 lib/python/async/setup.py
  95. +242 −0 lib/python/async/task.py
  96. 0 {packages/jinja2/custom_fixers → lib/python/async/test}/__init__.py
  97. +6 −0 lib/python/async/test/lib.py
  98. 0 {packages/Babel/babel/messages/tests/data/project → lib/python/async/test/mod}/__init__.py
  99. +70 −0 lib/python/async/test/mod/test_zlib.py
  100. +202 −0 lib/python/async/test/task.py
  101. +98 −0 lib/python/async/test/test_channel.py
  102. +44 −0 lib/python/async/test/test_example.py
  103. +80 −0 lib/python/async/test/test_graph.py
  104. +51 −0 lib/python/async/test/test_performance.py
  105. +482 −0 lib/python/async/test/test_pool.py
  106. +15 −0 lib/python/async/test/test_task.py
  107. +44 −0 lib/python/async/test/test_thread.py
  108. +206 −0 lib/python/async/thread.py
  109. +279 −0 lib/python/async/util.py
  110. 0 {packages/Babel → lib/python}/babel/__init__.py
  111. 0 {packages/Babel → lib/python}/babel/core.py
  112. 0 {packages/Babel → lib/python}/babel/dates.py
  113. 0 {packages/Babel → lib/python}/babel/global.dat
  114. 0 {packages/Babel → lib/python}/babel/localedata.py
  115. 0 {packages/Babel → lib/python}/babel/localedata/aa.dat
  116. 0 {packages/Babel → lib/python}/babel/localedata/aa_DJ.dat
  117. 0 {packages/Babel → lib/python}/babel/localedata/aa_ER.dat
  118. 0 {packages/Babel → lib/python}/babel/localedata/aa_ER_SAAHO.dat
  119. 0 {packages/Babel → lib/python}/babel/localedata/aa_ET.dat
  120. 0 {packages/Babel → lib/python}/babel/localedata/af.dat
  121. 0 {packages/Babel → lib/python}/babel/localedata/af_NA.dat
  122. 0 {packages/Babel → lib/python}/babel/localedata/af_ZA.dat
  123. 0 {packages/Babel → lib/python}/babel/localedata/ak.dat
  124. 0 {packages/Babel → lib/python}/babel/localedata/ak_GH.dat
  125. 0 {packages/Babel → lib/python}/babel/localedata/am.dat
  126. 0 {packages/Babel → lib/python}/babel/localedata/am_ET.dat
  127. 0 {packages/Babel → lib/python}/babel/localedata/ar.dat
  128. 0 {packages/Babel → lib/python}/babel/localedata/ar_AE.dat
  129. 0 {packages/Babel → lib/python}/babel/localedata/ar_BH.dat
  130. 0 {packages/Babel → lib/python}/babel/localedata/ar_DZ.dat
  131. 0 {packages/Babel → lib/python}/babel/localedata/ar_EG.dat
  132. 0 {packages/Babel → lib/python}/babel/localedata/ar_IQ.dat
  133. 0 {packages/Babel → lib/python}/babel/localedata/ar_JO.dat
  134. 0 {packages/Babel → lib/python}/babel/localedata/ar_KW.dat
  135. 0 {packages/Babel → lib/python}/babel/localedata/ar_LB.dat
  136. 0 {packages/Babel → lib/python}/babel/localedata/ar_LY.dat
  137. 0 {packages/Babel → lib/python}/babel/localedata/ar_MA.dat
  138. 0 {packages/Babel → lib/python}/babel/localedata/ar_OM.dat
  139. 0 {packages/Babel → lib/python}/babel/localedata/ar_QA.dat
  140. 0 {packages/Babel → lib/python}/babel/localedata/ar_SA.dat
  141. 0 {packages/Babel → lib/python}/babel/localedata/ar_SD.dat
  142. 0 {packages/Babel → lib/python}/babel/localedata/ar_SY.dat
  143. 0 {packages/Babel → lib/python}/babel/localedata/ar_TN.dat
  144. 0 {packages/Babel → lib/python}/babel/localedata/ar_YE.dat
  145. 0 {packages/Babel → lib/python}/babel/localedata/as.dat
  146. 0 {packages/Babel → lib/python}/babel/localedata/as_IN.dat
  147. 0 {packages/Babel → lib/python}/babel/localedata/az.dat
  148. 0 {packages/Babel → lib/python}/babel/localedata/az_AZ.dat
  149. 0 {packages/Babel → lib/python}/babel/localedata/az_Cyrl.dat
  150. 0 {packages/Babel → lib/python}/babel/localedata/az_Cyrl_AZ.dat
  151. 0 {packages/Babel → lib/python}/babel/localedata/az_Latn.dat
  152. 0 {packages/Babel → lib/python}/babel/localedata/az_Latn_AZ.dat
  153. 0 {packages/Babel → lib/python}/babel/localedata/be.dat
  154. 0 {packages/Babel → lib/python}/babel/localedata/be_BY.dat
  155. 0 {packages/Babel → lib/python}/babel/localedata/bg.dat
  156. 0 {packages/Babel → lib/python}/babel/localedata/bg_BG.dat
  157. 0 {packages/Babel → lib/python}/babel/localedata/bn.dat
  158. 0 {packages/Babel → lib/python}/babel/localedata/bn_BD.dat
  159. 0 {packages/Babel → lib/python}/babel/localedata/bn_IN.dat
  160. 0 {packages/Babel → lib/python}/babel/localedata/bs.dat
  161. 0 {packages/Babel → lib/python}/babel/localedata/bs_BA.dat
  162. 0 {packages/Babel → lib/python}/babel/localedata/byn.dat
  163. 0 {packages/Babel → lib/python}/babel/localedata/byn_ER.dat
  164. 0 {packages/Babel → lib/python}/babel/localedata/ca.dat
  165. 0 {packages/Babel → lib/python}/babel/localedata/ca_ES.dat
  166. 0 {packages/Babel → lib/python}/babel/localedata/cch.dat
  167. 0 {packages/Babel → lib/python}/babel/localedata/cch_NG.dat
  168. 0 {packages/Babel → lib/python}/babel/localedata/cop.dat
  169. 0 {packages/Babel → lib/python}/babel/localedata/cs.dat
  170. 0 {packages/Babel → lib/python}/babel/localedata/cs_CZ.dat
  171. 0 {packages/Babel → lib/python}/babel/localedata/cy.dat
  172. 0 {packages/Babel → lib/python}/babel/localedata/cy_GB.dat
  173. 0 {packages/Babel → lib/python}/babel/localedata/da.dat
  174. 0 {packages/Babel → lib/python}/babel/localedata/da_DK.dat
  175. 0 {packages/Babel → lib/python}/babel/localedata/de.dat
  176. 0 {packages/Babel → lib/python}/babel/localedata/de_AT.dat
  177. 0 {packages/Babel → lib/python}/babel/localedata/de_BE.dat
  178. 0 {packages/Babel → lib/python}/babel/localedata/de_CH.dat
  179. 0 {packages/Babel → lib/python}/babel/localedata/de_DE.dat
  180. 0 {packages/Babel → lib/python}/babel/localedata/de_LI.dat
  181. 0 {packages/Babel → lib/python}/babel/localedata/de_LU.dat
  182. 0 {packages/Babel → lib/python}/babel/localedata/dv.dat
  183. 0 {packages/Babel → lib/python}/babel/localedata/dv_MV.dat
  184. 0 {packages/Babel → lib/python}/babel/localedata/dz.dat
  185. 0 {packages/Babel → lib/python}/babel/localedata/dz_BT.dat
  186. 0 {packages/Babel → lib/python}/babel/localedata/ee.dat
  187. 0 {packages/Babel → lib/python}/babel/localedata/ee_GH.dat
  188. 0 {packages/Babel → lib/python}/babel/localedata/ee_TG.dat
  189. 0 {packages/Babel → lib/python}/babel/localedata/el.dat
  190. 0 {packages/Babel → lib/python}/babel/localedata/el_CY.dat
  191. 0 {packages/Babel → lib/python}/babel/localedata/el_GR.dat
  192. 0 {packages/Babel → lib/python}/babel/localedata/el_POLYTON.dat
  193. 0 {packages/Babel → lib/python}/babel/localedata/en.dat
  194. 0 {packages/Babel → lib/python}/babel/localedata/en_AS.dat
  195. 0 {packages/Babel → lib/python}/babel/localedata/en_AU.dat
  196. 0 {packages/Babel → lib/python}/babel/localedata/en_BE.dat
  197. 0 {packages/Babel → lib/python}/babel/localedata/en_BW.dat
  198. 0 {packages/Babel → lib/python}/babel/localedata/en_BZ.dat
  199. 0 {packages/Babel → lib/python}/babel/localedata/en_CA.dat
  200. 0 {packages/Babel → lib/python}/babel/localedata/en_Dsrt.dat
  201. 0 {packages/Babel → lib/python}/babel/localedata/en_Dsrt_US.dat
  202. 0 {packages/Babel → lib/python}/babel/localedata/en_GB.dat
  203. 0 {packages/Babel → lib/python}/babel/localedata/en_GU.dat
  204. 0 {packages/Babel → lib/python}/babel/localedata/en_HK.dat
  205. 0 {packages/Babel → lib/python}/babel/localedata/en_IE.dat
  206. 0 {packages/Babel → lib/python}/babel/localedata/en_IN.dat
  207. 0 {packages/Babel → lib/python}/babel/localedata/en_JM.dat
  208. 0 {packages/Babel → lib/python}/babel/localedata/en_MH.dat
  209. 0 {packages/Babel → lib/python}/babel/localedata/en_MP.dat
  210. 0 {packages/Babel → lib/python}/babel/localedata/en_MT.dat
  211. 0 {packages/Babel → lib/python}/babel/localedata/en_NA.dat
  212. 0 {packages/Babel → lib/python}/babel/localedata/en_NZ.dat
  213. 0 {packages/Babel → lib/python}/babel/localedata/en_PH.dat
  214. 0 {packages/Babel → lib/python}/babel/localedata/en_PK.dat
  215. 0 {packages/Babel → lib/python}/babel/localedata/en_SG.dat
  216. 0 {packages/Babel → lib/python}/babel/localedata/en_Shaw.dat
  217. 0 {packages/Babel → lib/python}/babel/localedata/en_TT.dat
  218. 0 {packages/Babel → lib/python}/babel/localedata/en_UM.dat
  219. 0 {packages/Babel → lib/python}/babel/localedata/en_US.dat
  220. 0 {packages/Babel → lib/python}/babel/localedata/en_US_POSIX.dat
  221. 0 {packages/Babel → lib/python}/babel/localedata/en_VI.dat
  222. 0 {packages/Babel → lib/python}/babel/localedata/en_ZA.dat
  223. 0 {packages/Babel → lib/python}/babel/localedata/en_ZW.dat
  224. 0 {packages/Babel → lib/python}/babel/localedata/eo.dat
  225. 0 {packages/Babel → lib/python}/babel/localedata/es.dat
  226. 0 {packages/Babel → lib/python}/babel/localedata/es_AR.dat
  227. 0 {packages/Babel → lib/python}/babel/localedata/es_BO.dat
  228. 0 {packages/Babel → lib/python}/babel/localedata/es_CL.dat
  229. 0 {packages/Babel → lib/python}/babel/localedata/es_CO.dat
  230. 0 {packages/Babel → lib/python}/babel/localedata/es_CR.dat
  231. 0 {packages/Babel → lib/python}/babel/localedata/es_DO.dat
  232. 0 {packages/Babel → lib/python}/babel/localedata/es_EC.dat
  233. 0 {packages/Babel → lib/python}/babel/localedata/es_ES.dat
  234. 0 {packages/Babel → lib/python}/babel/localedata/es_GT.dat
  235. 0 {packages/Babel → lib/python}/babel/localedata/es_HN.dat
  236. 0 {packages/Babel → lib/python}/babel/localedata/es_MX.dat
  237. 0 {packages/Babel → lib/python}/babel/localedata/es_NI.dat
  238. 0 {packages/Babel → lib/python}/babel/localedata/es_PA.dat
  239. 0 {packages/Babel → lib/python}/babel/localedata/es_PE.dat
  240. 0 {packages/Babel → lib/python}/babel/localedata/es_PR.dat
  241. 0 {packages/Babel → lib/python}/babel/localedata/es_PY.dat
  242. 0 {packages/Babel → lib/python}/babel/localedata/es_SV.dat
  243. 0 {packages/Babel → lib/python}/babel/localedata/es_US.dat
  244. 0 {packages/Babel → lib/python}/babel/localedata/es_UY.dat
  245. 0 {packages/Babel → lib/python}/babel/localedata/es_VE.dat
  246. 0 {packages/Babel → lib/python}/babel/localedata/et.dat
  247. 0 {packages/Babel → lib/python}/babel/localedata/et_EE.dat
  248. 0 {packages/Babel → lib/python}/babel/localedata/eu.dat
  249. 0 {packages/Babel → lib/python}/babel/localedata/eu_ES.dat
  250. 0 {packages/Babel → lib/python}/babel/localedata/fa.dat
  251. 0 {packages/Babel → lib/python}/babel/localedata/fa_AF.dat
  252. 0 {packages/Babel → lib/python}/babel/localedata/fa_IR.dat
  253. 0 {packages/Babel → lib/python}/babel/localedata/fi.dat
  254. 0 {packages/Babel → lib/python}/babel/localedata/fi_FI.dat
  255. 0 {packages/Babel → lib/python}/babel/localedata/fil.dat
  256. 0 {packages/Babel → lib/python}/babel/localedata/fil_PH.dat
  257. 0 {packages/Babel → lib/python}/babel/localedata/fo.dat
  258. 0 {packages/Babel → lib/python}/babel/localedata/fo_FO.dat
  259. 0 {packages/Babel → lib/python}/babel/localedata/fr.dat
  260. 0 {packages/Babel → lib/python}/babel/localedata/fr_BE.dat
  261. 0 {packages/Babel → lib/python}/babel/localedata/fr_CA.dat
  262. 0 {packages/Babel → lib/python}/babel/localedata/fr_CH.dat
  263. 0 {packages/Babel → lib/python}/babel/localedata/fr_FR.dat
  264. 0 {packages/Babel → lib/python}/babel/localedata/fr_LU.dat
  265. 0 {packages/Babel → lib/python}/babel/localedata/fr_MC.dat
  266. 0 {packages/Babel → lib/python}/babel/localedata/fr_SN.dat
  267. 0 {packages/Babel → lib/python}/babel/localedata/fur.dat
  268. 0 {packages/Babel → lib/python}/babel/localedata/fur_IT.dat
  269. 0 {packages/Babel → lib/python}/babel/localedata/ga.dat
  270. 0 {packages/Babel → lib/python}/babel/localedata/ga_IE.dat
  271. 0 {packages/Babel → lib/python}/babel/localedata/gaa.dat
  272. 0 {packages/Babel → lib/python}/babel/localedata/gaa_GH.dat
  273. 0 {packages/Babel → lib/python}/babel/localedata/gez.dat
  274. 0 {packages/Babel → lib/python}/babel/localedata/gez_ER.dat
  275. 0 {packages/Babel → lib/python}/babel/localedata/gez_ET.dat
  276. 0 {packages/Babel → lib/python}/babel/localedata/gl.dat
  277. 0 {packages/Babel → lib/python}/babel/localedata/gl_ES.dat
  278. 0 {packages/Babel → lib/python}/babel/localedata/gu.dat
  279. 0 {packages/Babel → lib/python}/babel/localedata/gu_IN.dat
  280. 0 {packages/Babel → lib/python}/babel/localedata/gv.dat
  281. 0 {packages/Babel → lib/python}/babel/localedata/gv_GB.dat
  282. 0 {packages/Babel → lib/python}/babel/localedata/ha.dat
  283. 0 {packages/Babel → lib/python}/babel/localedata/ha_Arab.dat
  284. 0 {packages/Babel → lib/python}/babel/localedata/ha_Arab_NG.dat
  285. 0 {packages/Babel → lib/python}/babel/localedata/ha_Arab_SD.dat
  286. 0 {packages/Babel → lib/python}/babel/localedata/ha_GH.dat
  287. 0 {packages/Babel → lib/python}/babel/localedata/ha_Latn.dat
  288. 0 {packages/Babel → lib/python}/babel/localedata/ha_Latn_GH.dat
  289. 0 {packages/Babel → lib/python}/babel/localedata/ha_Latn_NE.dat
  290. 0 {packages/Babel → lib/python}/babel/localedata/ha_Latn_NG.dat
  291. 0 {packages/Babel → lib/python}/babel/localedata/ha_NE.dat
  292. 0 {packages/Babel → lib/python}/babel/localedata/ha_NG.dat
  293. 0 {packages/Babel → lib/python}/babel/localedata/ha_SD.dat
  294. 0 {packages/Babel → lib/python}/babel/localedata/haw.dat
  295. 0 {packages/Babel → lib/python}/babel/localedata/haw_US.dat
  296. 0 {packages/Babel → lib/python}/babel/localedata/he.dat
  297. 0 {packages/Babel → lib/python}/babel/localedata/he_IL.dat
  298. 0 {packages/Babel → lib/python}/babel/localedata/hi.dat
  299. 0 {packages/Babel → lib/python}/babel/localedata/hi_IN.dat
  300. 0 {packages/Babel → lib/python}/babel/localedata/hr.dat
Sorry, we could not display the entire diff because too many files (5,924) changed.
View
27 bin/build_tmdb
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# -*- coding: utf-8 -*-
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+"""Import units from translations files into tmdb."""
+
+from translate.tools import build_tmdb
+
+if __name__ == '__main__':
+ build_tmdb.main()
+
View
27 bin/csv2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2003, 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a comma-separated values (.csv) file to a gettext .po localization file"""
+
+from translate.convert import csv2po
+
+if __name__ == '__main__':
+ csv2po.main()
+
View
27 bin/csv2tbx
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2006 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a comma-separated values (.csv) file to a .tbx glossary file"""
+
+from translate.convert import csv2tbx
+
+if __name__ == '__main__':
+ csv2tbx.main()
+
View
29 bin/html2po
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""extracts localizable strings from HTML files to gettext .po files
+You can merge translated strings back using po2html"""
+
+from translate.convert import html2po
+
+if __name__ == '__main__':
+ html2po.main()
+
View
27 bin/ical2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert an iCal file to a gettext .po localization file"""
+
+from translate.convert import ical2po
+
+if __name__ == '__main__':
+ ical2po.main()
+
View
27 bin/ini2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002, 2003 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a .ini file to a gettext .po localization file"""
+
+from translate.convert import ini2po
+
+if __name__ == '__main__':
+ ini2po.main()
+
View
71 bin/junitmsgfmt
@@ -0,0 +1,71 @@
+#!/bin/bash
+#
+# Copyright 2010 Zuza Software Foundation
+#
+# This file is part of The Translate Toolkit.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+files=$*
+
+# local variables
+message=""
+body=""
+failures=0
+successes=0
+
+function failure {
+ pofile=$1
+ body=$(echo $body; echo "<testcase classname=\"$pofile\" name=\"msgfmt\" time=\"\">\n"; echo "<failure message=\"msgfmt failure\">$message</failure>\n</testcase>\n")
+ message=""
+ failures=$(($failures + 1))
+}
+
+function success {
+ pofile=$1
+ body=$(echo $body; echo "<testcase classname=\"$pofile\" name=\"msgfmt\" time=\"\"></testcase>\n")
+ message=""
+ successes=$(($successes + 1))
+}
+
+function run_msgfmt {
+ pofile=$1
+ exit_status=$(msgfmt -cv -o /dev/null $pofile 2>/dev/null > /dev/null; echo $?)
+ message=$(msgfmt -cv -o /dev/null $pofile 2>/dev/stdout | while read i; do echo "$i\n" ; done)
+ return $exit_status
+}
+
+function print_header {
+ echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
+ echo "<testsuite name=\"\" errors=\"0\" failures=\"$failures\" skips=\"0\" tests=\"$((failures + successes))\" time=\"\" >"
+}
+
+function print_body {
+ cat -
+ echo -e $body
+}
+
+function print_footer {
+ cat -
+ echo "</testsuite>"
+}
+
+for pofile in $files
+do
+ run_msgfmt $pofile && success $pofile || failure $pofile
+done
+
+print_header |
+print_body |
+print_footer
View
27 bin/moz2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""Converts Mozilla .dtd and .properties files to Gettext .po files"""
+
+from translate.convert import moz2po
+
+if __name__ == '__main__':
+ moz2po.main()
+
View
9 bin/nosetests
@@ -0,0 +1,9 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# EASY-INSTALL-ENTRY-SCRIPT: 'nose==1.0.0','console_scripts','nosetests'
+__requires__ = 'nose==1.0.0'
+import sys
+from pkg_resources import load_entry_point
+
+sys.exit(
+ load_entry_point('nose==1.0.0', 'console_scripts', 'nosetests')()
+)
View
9 bin/nosetests-2.6
@@ -0,0 +1,9 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# EASY-INSTALL-ENTRY-SCRIPT: 'nose==1.0.0','console_scripts','nosetests-2.6'
+__requires__ = 'nose==1.0.0'
+import sys
+from pkg_resources import load_entry_point
+
+sys.exit(
+ load_entry_point('nose==1.0.0', 'console_scripts', 'nosetests-2.6')()
+)
View
35 bin/odf2xliff
@@ -0,0 +1,35 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Extracts localizable strings from OpenDocument files to XLIFF files
+
+Files supported include:
+- .odt (Wordprocessor documents)
+- .ods (Spreadsheets)
+- .odp (Presentations)
+- .sxw (old OpenOffice.org 1.0 Wordprocessor documents)
+"""
+
+from translate.convert import odf2xliff
+
+if __name__ == '__main__':
+ odf2xliff.main()
+
View
28 bin/oo2po
@@ -0,0 +1,28 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002-2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts OpenOffice.org exported .oo files to Gettext .po files"""
+
+from translate.convert import oo2po
+
+if __name__ == '__main__':
+ oo2po.main()
+
View
27 bin/oo2xliff
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002-2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts OpenOffice.org exported .oo files to xliff files"""
+
+from translate.convert import oo2xliff
+
+if __name__ == '__main__':
+ oo2xliff.main()
View
29 bin/php2po
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""extracts localizable strings from PHP files to gettext .po files
+You can merge translated strings back using po2php"""
+
+from translate.convert import php2po
+
+if __name__ == '__main__':
+ php2po.main()
+
View
27 bin/po2csv
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2003, 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a gettext .po localization file to a comma-separated values (.csv) file"""
+
+from translate.convert import po2csv
+
+if __name__ == '__main__':
+ po2csv.main()
+
View
29 bin/po2html
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""translates html files using gettext .po localization
+You can generate the po files using html2po"""
+
+from translate.convert import po2html
+
+if __name__ == '__main__':
+ po2html.main()
+
View
27 bin/po2ical
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a gettext .po localization file to an iCal file"""
+
+from translate.convert import po2ical
+
+if __name__ == '__main__':
+ po2ical.main()
+
View
27 bin/po2ini
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2007 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a gettext .po localization file to a .ini file"""
+
+from translate.convert import po2ini
+
+if __name__ == '__main__':
+ po2ini.main()
+
View
28 bin/po2moz
@@ -0,0 +1,28 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""script that converts a set of .po files to a set of .dtd and .properties files
+either done using a template or just using the .po file"""
+
+from translate.convert import po2moz
+
+if __name__ == '__main__':
+ po2moz.main()
+
View
31 bin/po2oo
@@ -0,0 +1,31 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002-2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""script that converts a .po file with translations based on a .pot file
+generated from a OpenOffice localization .oo back to the .oo (but translated)
+Uses the original .oo to do the conversion as this makes sure we don't
+leave out any unincluded stuff..."""
+
+from translate.convert import po2oo
+
+if __name__ == '__main__':
+ po2oo.main()
+
View
29 bin/po2php
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""translates php files using gettext .po localization
+You can generate the po files using php2po"""
+
+from translate.convert import po2php
+
+if __name__ == '__main__':
+ po2php.main()
+
View
27 bin/po2prop
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002, 2003 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a gettext .po localization file to a .properties file"""
+
+from translate.convert import po2prop
+
+if __name__ == '__main__':
+ po2prop.main()
+
View
28 bin/po2rc
@@ -0,0 +1,28 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002, 2003, 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a Gettext PO localization file to a Windows
+Resource (.rc) file"""
+
+from translate.convert import po2rc
+
+if __name__ == '__main__':
+ po2rc.main()
+
View
27 bin/po2sub
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a gettext .po localization file to a supported subtitle file"""
+
+from translate.convert import po2sub
+
+if __name__ == '__main__':
+ po2sub.main()
+
View
27 bin/po2symb
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# -*- coding: utf-8 -*-
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of the Translate Toolkit.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+"""Convert a gettext .po localization file to a Symbian localisation file"""
+
+from translate.convert import po2symb
+
+if __name__ == '__main__':
+ po2symb.main()
+
View
26 bin/po2tiki
@@ -0,0 +1,26 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Mozilla Corporation, Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a gettext .po localization file to a TikiWiki style language.php file"""
+
+from translate.convert import po2tiki
+
+if __name__ == '__main__':
+ po2tiki.main()
View
29 bin/po2tmx
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2005 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts Gettext .po files to Qt .ts localization files
+You can convert from .ts to .po using po2ts"""
+
+from translate.convert import po2tmx
+
+if __name__ == '__main__':
+ po2tmx.main()
+
View
29 bin/po2ts
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts Gettext .po files to Qt .ts localization files
+You can convert from .ts to .po using po2ts"""
+
+from translate.convert import po2ts
+
+if __name__ == '__main__':
+ po2ts.main()
+
View
29 bin/po2txt
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""script to translate a set of plain text message files using gettext .po localization
+You can generate the po files using txt2po"""
+
+from translate.convert import po2txt
+
+if __name__ == '__main__':
+ po2txt.main()
+
View
27 bin/po2web2py
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# -*- coding: utf-8 -*-
+#
+# Copyright 2009 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+"""convert GNU/gettext PO files to web2py translation dictionaries (.py)"""
+
+from translate.convert import po2web2py
+
+if __name__ == '__main__':
+ po2web2py.main()
+
View
28 bin/po2wordfast
@@ -0,0 +1,28 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2007 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts Gettext .po files to Wordfast Translation Memory files"""
+
+from translate.convert import po2wordfast
+
+if __name__ == '__main__':
+ po2wordfast.main()
+
View
29 bin/po2xliff
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2005 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts Gettext .po files to .xliff localization files
+You can convert from .xliff to .po using po2xliff"""
+
+from translate.convert import po2xliff
+
+if __name__ == '__main__':
+ po2xliff.main()
+
View
27 bin/poclean
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2003, 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""produces a clean file from an unclean file (Trados/Wordfast)"""
+
+from translate.tools import poclean
+
+if __name__ == '__main__':
+ poclean.main()
+
View
0 ...es/translate-toolkit/tools/pocommentclean → bin/pocommentclean 100644 → 100755
File renamed without changes.
View
0 ...ages/translate-toolkit/tools/pocompendium → bin/pocompendium 100644 → 100755
File renamed without changes.
View
27 bin/pocompile
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2005 Zuza Software Foundation
+#
+# This file is part of the translate-toolkit
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a gettext .po localization file to a comma-separated values (.csv) file"""
+
+from translate.tools import pocompile
+
+if __name__ == '__main__':
+ pocompile.main()
+
View
27 bin/poconflicts
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2005 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""conflict finder for gettext .po localization files"""
+
+from translate.tools import poconflicts
+
+if __name__ == '__main__':
+ poconflicts.main()
+
View
27 bin/pocount
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of the translate-toolkit
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""takes a .po translation file and produces word counts and other statistics"""
+
+from translate.tools import pocount
+
+if __name__ == '__main__':
+ pocount.main()
+
View
27 bin/podebug
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to insert debug messages into po file translations"""
+
+from translate.tools import podebug
+
+if __name__ == '__main__':
+ podebug.main()
+
View
27 bin/pofilter
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to run all check filters on gettext .po localization file(s)"""
+
+from translate.filters import pofilter
+
+if __name__ == '__main__':
+ pofilter.main()
+
View
27 bin/pogrep
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2003, 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""grep for localization files in various formats, eg. po and xliff"""
+
+from translate.tools import pogrep
+
+if __name__ == '__main__':
+ pogrep.main()
+
View
27 bin/pomerge
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""script that merges .po files and overrides translations"""
+
+from translate.tools import pomerge
+
+if __name__ == '__main__':
+ pomerge.main()
+
View
0 packages/translate-toolkit/tools/pomigrate2 → bin/pomigrate2 100644 → 100755
File renamed without changes.
View
0 packages/translate-toolkit/tools/popuretext → bin/popuretext 100644 → 100755
File renamed without changes.
View
0 packages/translate-toolkit/tools/poreencode → bin/poreencode 100644 → 100755
File renamed without changes.
View
27 bin/porestructure
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2005 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""tool to restructure po files according to poconflicts directives"""
+
+from translate.tools import porestructure
+
+if __name__ == '__main__':
+ porestructure.main()
+
View
27 bin/posegment
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2007 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""Segment PO files at the sentence level"""
+
+from translate.tools import posegment
+
+if __name__ == '__main__':
+ posegment.main()
+
View
0 packages/translate-toolkit/tools/posplit → bin/posplit 100644 → 100755
File renamed without changes.
View
28 bin/poswap
@@ -0,0 +1,28 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2007 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""Builds a new translation file with the target of the input language as
+source language."""
+
+from translate.tools import poswap
+
+if __name__ == '__main__':
+ poswap.main()
+
View
27 bin/pot2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""convert a gettext .pot template to a .po translation file, merging in existing translations if present"""
+
+from translate.convert import pot2po
+
+if __name__ == '__main__':
+ pot2po.main()
+
View
28 bin/poterminology
@@ -0,0 +1,28 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of the translate-toolkit
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""reads a set of .po or .pot files to produce a pootle-terminology.pot"""
+
+from translate.tools import poterminology
+
+if __name__ == '__main__':
+ poterminology.main()
+
+
View
29 bin/pretranslate
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# -*- coding: utf-8 -*-
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+"""fill localization files with suggested translations based on
+translation memory and existing translations
+"""
+
+from translate.tools import pretranslate
+
+if __name__ == '__main__':
+ pretranslate.main()
+
View
27 bin/prop2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002, 2003 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a .properties file to a gettext .po localization file"""
+
+from translate.convert import prop2po
+
+if __name__ == '__main__':
+ prop2po.main()
+
View
9 bin/pybabel
@@ -0,0 +1,9 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# EASY-INSTALL-ENTRY-SCRIPT: 'Babel==0.9.5','console_scripts','pybabel'
+__requires__ = 'Babel==0.9.5'
+import sys
+from pkg_resources import load_entry_point
+
+sys.exit(
+ load_entry_point('Babel==0.9.5', 'console_scripts', 'pybabel')()
+)
View
27 bin/rc2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002, 2003, 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a .rc file to a gettext .po localization file"""
+
+from translate.convert import rc2po
+
+if __name__ == '__main__':
+ rc2po.main()
+
View
27 bin/sub2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a supported subtitle file to a Gettext PO localization file"""
+
+from translate.convert import sub2po
+
+if __name__ == '__main__':
+ sub2po.main()
+
View
27 bin/symb2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# -*- coding: utf-8 -*-
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of the Translate Toolkit.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+"""Convert a Symbian translation file to a gettext .po localization file."""
+
+from translate.convert import symb2po
+
+if __name__ == '__main__':
+ symb2po.main()
+
View
27 bin/tiki2po
@@ -0,0 +1,27 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2008 Mozilla Corporation, Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""simple script to convert a TikiWiki style language.php file to a gettext .po localization file"""
+
+from translate.convert import tiki2po
+
+if __name__ == '__main__':
+ tiki2po.main()
+
View
28 bin/tmserver
@@ -0,0 +1,28 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# -*- coding: utf-8 -*-
+#
+# Copyright 2008 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+"""A translation memory server using tmdb for storage, communicates
+with clients using JSON over HTTP."""
+
+from translate.services import tmserver
+
+if __name__ == '__main__':
+ tmserver.main()
+
View
29 bin/ts2po
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts Qt .ts localization files to Gettext .po files
+You can convert back to .ts using po2ts"""
+
+from translate.convert import ts2po
+
+if __name__ == '__main__':
+ ts2po.main()
+
View
29 bin/txt2po
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts plain text files to Gettext .po files
+You can convert back to .txt using po2txt"""
+
+from translate.convert import txt2po
+
+if __name__ == '__main__':
+ txt2po.main()
+
View
26 bin/web2py2po
@@ -0,0 +1,26 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+# -*- coding: utf-8 -*-
+#
+# Copyright 2009 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+"""convert web2py translation dictionaries (.py) to GNU/gettext PO files"""
+
+from translate.convert import web2py2po
+
+if __name__ == '__main__':
+ web2py2po.main()
View
37 bin/xliff2odf
@@ -0,0 +1,37 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Takes an ODF template file and an XLIFF file containing translations of
+strings in the ODF template. It creates a new ODF file using the translations
+of the XLIFF file.
+
+Files supported include:
+- .odt (Wordprocessor documents)
+- .ods (Spreadsheets)
+- .odp (Presentations)
+- .sxw (old OpenOffice.org 1.0 Wordprocessor documents)
+"""
+
+from translate.convert import xliff2odf
+
+if __name__ == '__main__':
+ xliff2odf.main()
+
View
31 bin/xliff2oo
@@ -0,0 +1,31 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2002-2004 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""script that converts a .po file with translations based on a .pot file
+generated from a OpenOffice localization .oo back to the .oo (but translated)
+Uses the original .oo to do the conversion as this makes sure we don't
+leave out any unincluded stuff..."""
+
+from translate.convert import xliff2oo
+
+if __name__ == '__main__':
+ xliff2oo.main()
+
View
29 bin/xliff2po
@@ -0,0 +1,29 @@
+#!/Users/fred/.virtualenvs/playdoh/bin/python2.6
+#
+# Copyright 2005 Zuza Software Foundation
+#
+# This file is part of translate.
+#
+# translate is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# translate is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with translate; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+"""Converts .xliff localization files to Gettext .po files
+You can convert back to .xliff using po2xliff"""
+
+from translate.convert import xliff2po
+
+if __name__ == '__main__':
+ xliff2po.main()
+
View
0 ...abel/pip-egg-info/Babel.egg-info/PKG-INFO → ...ython/Babel-0.9.5-py2.6.egg-info/PKG-INFO
File renamed without changes.