Skip to content

Commit

Permalink
2.1.1.5: locale fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Oct 8, 2011
1 parent 2145139 commit 7c8ecbe
Show file tree
Hide file tree
Showing 34 changed files with 537 additions and 480 deletions.
18 changes: 11 additions & 7 deletions INSTALL.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@
import gettext

try:
T = gettext.translation('pkgbuilder', 'locale') # for installer
def _(message):
"""gettext"""
out = T.lgettext(message)
return out.decode()

T = gettext.translation('pkgbuilder', 'locale', fallback='en')
_ = T.gettext
PATH = ''

print(_("""Hello!
Expand Down Expand Up @@ -84,7 +81,14 @@ def _(message):
""").format(PATH))

except KeyboardInterrupt:
print(_("""It looks like you want to quit. Okay then, goodbye.
if PATH == '':
print(_("""It looks like you want to quit. Okay then, goodbye.
No work has been started yet.
If that's what you want to do, go for it. If it isn't, run this
script again."""))
else:
print(_("""It looks like you want to quit. Okay then, goodbye.
All the files this script was working on are placed in
{0}
(the number is random).
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ docs/html/_static/underscore.js
docs/html/messagecodes/index.html
docs/html/pkgbuilder/index.html
docs/html/search/index.html
locale/en/LC_MESSAGES/pkgbuilder.mo
locale/pl/LC_MESSAGES/pkgbuilder.mo
scripts/pkgbuilder
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ include README.rst
include TODO.rst
recursive-include docs *
recursive-include scripts *
recursive-include locale *
recursive-include locale *.mo
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Kwpolska <[email protected]>
pkgname=pkgbuilder
pkgver=2.1.1.4
pkgver=2.1.1.5
pkgrel=1
pkgdesc="A basic Python AUR helper/library."
arch=('any')
Expand All @@ -9,7 +9,7 @@ license=('BSD')
depends=('python' 'pyalpm' 'python-pyparsing')
options=(!emptydirs)
source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('ec736fd27ef32409bff87c4e3689e400')
md5sums=('d0ccee2ec58f1573933dcdf22f46cb62')

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
Expand Down
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@ task :update, :ver do |t, args|
Rake::Task[:docs].invoke(version)

Rake::Task[:pypi].invoke(version)

Rake::Task[:aur].invoke(version)

puts "Done. Please upload the docs tarball to PyPI."
end
Binary file added dist/pkgbuilder-2.1.1.5.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ README for PKGBUILDer
=====================
:Info: This is the README file for PKGBUILDer.
:Author: Kwpolska <[email protected]>
:Date: 2011-10-07
:Version: 2.1.1.4
:Date: 2011-10-08
:Version: 2.1.1.5

PKGBUILDer. A Python AUR helper/library.
=========================================
Expand Down
Binary file modified docs/_build/doctrees/README.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/messagecodes.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/pkgbuilder.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# The short X.Y version.
version = '2.1'
# The full version, including alpha/beta/rc tags.
release = '2.1.1.4'
release = '2.1.1.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
Binary file modified docs/docs-pkgbuilder.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: c9c79e042c09e334f7c8639f0394c227
config: 62c2cc1fe768304fe7e6cd23a596b6be
tags: fbb0d17656682115ca4d033fb2f83ba1
16 changes: 8 additions & 8 deletions docs/html/README/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>README for PKGBUILDer &mdash; PKGBUILDer v2.1.1.4 documentation</title>
<title>README for PKGBUILDer &mdash; PKGBUILDer v2.1.1.5 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2.1.1.4',
VERSION: '2.1.1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '',
HAS_SOURCE: true
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="PKGBUILDer v2.1.1.4 documentation" href="../" />
<link rel="top" title="PKGBUILDer v2.1.1.5 documentation" href="../" />
<link rel="next" title="Appendix B. PKGBUILDer message numbers list" href="../messagecodes/" />
<link rel="prev" title="PKGBUILDer" href="../pkgbuilder/" />
</head>
Expand All @@ -36,7 +36,7 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../pkgbuilder/" title="PKGBUILDer"
accesskey="P">previous</a> |</li>
<li><a href="../">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="../">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -55,9 +55,9 @@ <h1>README for PKGBUILDer<a class="headerlink" href="#readme-for-pkgbuilder" tit
</tr>
<tr class="field"><th class="field-name">Author:</th><td class="field-body">Kwpolska &lt;<a class="reference external" href="mailto:kwpolska&#37;&#52;&#48;kwpolska&#46;tk">kwpolska<span>&#64;</span>kwpolska<span>&#46;</span>tk</a>&gt;</td>
</tr>
<tr class="field"><th class="field-name">Date:</th><td class="field-body">2011-10-07</td>
<tr class="field"><th class="field-name">Date:</th><td class="field-body">2011-10-08</td>
</tr>
<tr class="field"><th class="field-name">Version:</th><td class="field-body">2.1.1.4</td>
<tr class="field"><th class="field-name">Version:</th><td class="field-body">2.1.1.5</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -167,12 +167,12 @@ <h3>Navigation</h3>
<li class="right" >
<a href="../pkgbuilder/" title="PKGBUILDer"
>previous</a> |</li>
<li><a href="../">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="../">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Kwpolska.
Last updated on 2011-10-07T19:10:44Z.
Last updated on 2011-10-08T10:10:47Z.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/html/_sources/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ README for PKGBUILDer
=====================
:Info: This is the README file for PKGBUILDer.
:Author: Kwpolska <[email protected]>
:Date: 2011-10-07
:Version: 2.1.1.4
:Date: 2011-10-08
:Version: 2.1.1.5

PKGBUILDer. A Python AUR helper/library.
=========================================
Expand Down
2 changes: 1 addition & 1 deletion docs/html/_sources/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

PKGBUILDer 2.1.1.4 documentation
PKGBUILDer 2.1.1.5 documentation
================================

Contents:
Expand Down
4 changes: 2 additions & 2 deletions docs/html/_sources/messagecodes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Appendix B. PKGBUILDer message numbers list
===========================================
:Info: This is an appendix to the PKGBUILDer documentation.
:Author: Kwpolska <[email protected]>
:Date: 2011-10-07
:Version: 2.1.1.4
:Date: 2011-10-08
:Version: 2.1.1.5

In order to help debugging, messages are numbered.
Each message number has four digits: the first one is the
Expand Down
4 changes: 2 additions & 2 deletions docs/html/_sources/pkgbuilder.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ a Python AUR helper/library

:Author: Kwpolska <[email protected]>
:Copyright: This document has been placed in the public domain.
:Date: 2011-10-07
:Version: 2.1.1.4
:Date: 2011-10-08
:Version: 2.1.1.5
:Manual section: 8
:Manual group: PKGBUILDer manual

Expand Down
16 changes: 8 additions & 8 deletions docs/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>PKGBUILDer 2.1.1.4 documentation &mdash; PKGBUILDer v2.1.1.4 documentation</title>
<title>PKGBUILDer 2.1.1.5 documentation &mdash; PKGBUILDer v2.1.1.5 documentation</title>
<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '2.1.1.4',
VERSION: '2.1.1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '',
HAS_SOURCE: true
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="PKGBUILDer v2.1.1.4 documentation" href="#" />
<link rel="top" title="PKGBUILDer v2.1.1.5 documentation" href="#" />
<link rel="next" title="PKGBUILDer" href="pkgbuilder/" />
</head>
<body>
Expand All @@ -32,7 +32,7 @@ <h3>Navigation</h3>
<li class="right" style="margin-right: 10px">
<a href="pkgbuilder/" title="PKGBUILDer"
accesskey="N">next</a></li>
<li><a href="#">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="#">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -41,8 +41,8 @@ <h3>Navigation</h3>
<div class="bodywrapper">
<div class="body">

<div class="section" id="pkgbuilder-2-1-1-4-documentation">
<h1>PKGBUILDer 2.1.1.4 documentation<a class="headerlink" href="#pkgbuilder-2-1-1-4-documentation" title="Permalink to this headline"></a></h1>
<div class="section" id="pkgbuilder-2-1-1-5-documentation">
<h1>PKGBUILDer 2.1.1.5 documentation<a class="headerlink" href="#pkgbuilder-2-1-1-5-documentation" title="Permalink to this headline"></a></h1>
<p>Contents:</p>
<div class="toctree-wrapper compound">
<ul>
Expand Down Expand Up @@ -97,12 +97,12 @@ <h3>Navigation</h3>
<li class="right" style="margin-right: 10px">
<a href="pkgbuilder/" title="PKGBUILDer"
>next</a></li>
<li><a href="#">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="#">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Kwpolska.
Last updated on 2011-10-07T19:10:44Z.
Last updated on 2011-10-08T10:10:47Z.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</div>
</body>
Expand Down
16 changes: 8 additions & 8 deletions docs/html/messagecodes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Appendix B. PKGBUILDer message numbers list &mdash; PKGBUILDer v2.1.1.4 documentation</title>
<title>Appendix B. PKGBUILDer message numbers list &mdash; PKGBUILDer v2.1.1.5 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2.1.1.4',
VERSION: '2.1.1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '',
HAS_SOURCE: true
Expand All @@ -22,7 +22,7 @@
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="PKGBUILDer v2.1.1.4 documentation" href="../" />
<link rel="top" title="PKGBUILDer v2.1.1.5 documentation" href="../" />
<link rel="prev" title="README for PKGBUILDer" href="../README/" />
</head>
<body>
Expand All @@ -32,7 +32,7 @@ <h3>Navigation</h3>
<li class="right" style="margin-right: 10px">
<a href="../README/" title="README for PKGBUILDer"
accesskey="P">previous</a></li>
<li><a href="../">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="../">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -51,9 +51,9 @@ <h1>Appendix B. PKGBUILDer message numbers list<a class="headerlink" href="#appe
</tr>
<tr class="field"><th class="field-name">Author:</th><td class="field-body">Kwpolska &lt;<a class="reference external" href="mailto:kwpolska&#37;&#52;&#48;kwpolska&#46;tk">kwpolska<span>&#64;</span>kwpolska<span>&#46;</span>tk</a>&gt;</td>
</tr>
<tr class="field"><th class="field-name">Date:</th><td class="field-body">2011-10-07</td>
<tr class="field"><th class="field-name">Date:</th><td class="field-body">2011-10-08</td>
</tr>
<tr class="field"><th class="field-name">Version:</th><td class="field-body">2.1.1.4</td>
<tr class="field"><th class="field-name">Version:</th><td class="field-body">2.1.1.5</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -342,12 +342,12 @@ <h3>Navigation</h3>
<li class="right" style="margin-right: 10px">
<a href="../README/" title="README for PKGBUILDer"
>previous</a></li>
<li><a href="../">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="../">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Kwpolska.
Last updated on 2011-10-07T19:10:44Z.
Last updated on 2011-10-08T10:10:47Z.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</div>
</body>
Expand Down
24 changes: 12 additions & 12 deletions docs/html/pkgbuilder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>PKGBUILDer &mdash; PKGBUILDer v2.1.1.4 documentation</title>
<title>PKGBUILDer &mdash; PKGBUILDer v2.1.1.5 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2.1.1.4',
VERSION: '2.1.1.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '',
HAS_SOURCE: true
Expand All @@ -22,9 +22,9 @@
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="PKGBUILDer v2.1.1.4 documentation" href="../" />
<link rel="top" title="PKGBUILDer v2.1.1.5 documentation" href="../" />
<link rel="next" title="README for PKGBUILDer" href="../README/" />
<link rel="prev" title="PKGBUILDer 2.1.1.4 documentation" href="../" />
<link rel="prev" title="PKGBUILDer 2.1.1.5 documentation" href="../" />
</head>
<body>
<div class="related">
Expand All @@ -34,9 +34,9 @@ <h3>Navigation</h3>
<a href="../README/" title="README for PKGBUILDer"
accesskey="N">next</a></li>
<li class="right" >
<a href="../" title="PKGBUILDer 2.1.1.4 documentation"
<a href="../" title="PKGBUILDer 2.1.1.5 documentation"
accesskey="P">previous</a> |</li>
<li><a href="../">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="../">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>

Expand All @@ -57,9 +57,9 @@ <h2>a Python AUR helper/library<a class="headerlink" href="#a-python-aur-helper-
</tr>
<tr class="field"><th class="field-name">Copyright:</th><td class="field-body">This document has been placed in the public domain.</td>
</tr>
<tr class="field"><th class="field-name">Date:</th><td class="field-body">2011-10-07</td>
<tr class="field"><th class="field-name">Date:</th><td class="field-body">2011-10-08</td>
</tr>
<tr class="field"><th class="field-name">Version:</th><td class="field-body">2.1.1.4</td>
<tr class="field"><th class="field-name">Version:</th><td class="field-body">2.1.1.5</td>
</tr>
<tr class="field"><th class="field-name">Manual section:</th><td class="field-body">8</td>
</tr>
Expand Down Expand Up @@ -178,7 +178,7 @@ <h3><a href="../">Table Of Contents</a></h3>

<h4>Previous topic</h4>
<p class="topless"><a href="../"
title="previous chapter">PKGBUILDer 2.1.1.4 documentation</a></p>
title="previous chapter">PKGBUILDer 2.1.1.5 documentation</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="../README/"
title="next chapter">README for PKGBUILDer</a></p>
Expand Down Expand Up @@ -206,14 +206,14 @@ <h3>Navigation</h3>
<a href="../README/" title="README for PKGBUILDer"
>next</a></li>
<li class="right" >
<a href="../" title="PKGBUILDer 2.1.1.4 documentation"
<a href="../" title="PKGBUILDer 2.1.1.5 documentation"
>previous</a> |</li>
<li><a href="../">PKGBUILDer v2.1.1.4 documentation</a> &raquo;</li>
<li><a href="../">PKGBUILDer v2.1.1.5 documentation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Kwpolska.
Last updated on 2011-10-07T19:10:44Z.
Last updated on 2011-10-08T10:10:47Z.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
</div>
</body>
Expand Down
Loading

0 comments on commit 7c8ecbe

Please sign in to comment.