Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Small fixes, prepare for 0.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Kalnitsky committed Jan 8, 2014
1 parent d3fe765 commit c7e909d
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 28 deletions.
13 changes: 13 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
THE CHANGELOG
=============

Here you can see the full list of changes between each em release.


Version 0.1
```````````

Released on January 1, 2014.

- First public release.

1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include CHANGES
include LICENSE
include README

Expand Down
8 changes: 4 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

~ What is em?

The em program is a terminal tool that prints FILE(s), or standard
input to standard output and highlights the expressions that are
matched the PATTERN.
em program is a terminal tool that prints FILE(s), or standard input
to standard output and highlights the expressions that are matched
the PATTERN.

The expression will be highlighted iff stdout refers to the terminal
and that terminal is ANSI-compatible.
Expand Down Expand Up @@ -39,4 +39,4 @@

$ tail -f /path/to/log | em "ERROR|CRITICAL" RED

See the documentations or manpage for more details.
See the documentations for details: http://em.readthedocs.org/
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
# built documents.
#
# The short X.Y version.
version = '0.1-dev'
version = '0.1'
# The full version, including alpha/beta/rc tags.
release = '0.1-dev'
release = '0.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
13 changes: 6 additions & 7 deletions em/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
em
~~
The em program is a terminal tool that prints FILE(s), or standard input
to standard output and highlights the expressions that are matched the
PATTERN.
em program is a terminal tool that prints FILE(s), or standard input
to standard output and highlights the expressions that are matched
the PATTERN.
The expression will be highlighted iff stdout refers to the terminal
and that terminal is ANSI-compatible.
The expression will be highlighted iff the terminal is ANSI-compatible.
:copyright: (c) 2014, Igor Kalnitsky
:license: BSD, see LICENSE for details
Expand All @@ -23,7 +22,7 @@
import argparse


__version__ = '0.1-dev'
__version__ = '0.1'


#: FileNotFoundError has been introduced in Python 3.3, and replaced
Expand Down Expand Up @@ -91,7 +90,7 @@ def get_arguments():
"""
parser = argparse.ArgumentParser(
description=_(
'The %(prog)s program is a terminal tool that prints FILE(s), '
'%(prog)s program is a terminal tool that prints FILE(s), '
'or standard input to standard output and highlights the '
'expressions that are matched the PATTERN.'),
epilog=_(
Expand Down
6 changes: 3 additions & 3 deletions em/locale/em.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-01-08 00:50+0200\n"
"POT-Creation-Date: 2014-01-09 01:22+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -20,8 +20,8 @@ msgstr ""
#: ../__init__.py:93
#, python-format
msgid ""
"The %(prog)s program is a terminal tool that prints FILE(s), or standard "
"input to standard output and highlights the expressions that are matched the "
"%(prog)s program is a terminal tool that prints FILE(s), or standard input "
"to standard output and highlights the expressions that are matched the "
"PATTERN."
msgstr ""

Expand Down
Binary file modified em/locale/ru/LC_MESSAGES/em.mo
Binary file not shown.
14 changes: 7 additions & 7 deletions em/locale/ru/LC_MESSAGES/em.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ msgid ""
msgstr ""
"Project-Id-Version: em\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-01-08 00:50+0200\n"
"POT-Creation-Date: 2014-01-09 01:22+0200\n"
"PO-Revision-Date: 2014-01-08 01:15+0300\n"
"Last-Translator: Igor Kalnitsky <[email protected]>\n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
"Language: ru\n"

#: ../__init__.py:93
#, python-format
msgid ""
"The %(prog)s program is a terminal tool that prints FILE(s), or standard "
"input to standard output and highlights the expressions that are matched the "
"%(prog)s program is a terminal tool that prints FILE(s), or standard input "
"to standard output and highlights the expressions that are matched the "
"PATTERN."
msgstr ""
"%(prog)s — это программа для терминала, которая печатает файл(ы), или "
"стандартный поток ввода в стандартный поток вывода, выделяя выражения, "
"которые соответствует некоторому входному шаблону."
"стандартный поток ввода на стандартный поток вывода, а также подсвечивает "
"выражения, которые удовлетворяют некоторому входному шаблону."

#: ../__init__.py:97
msgid ""
Expand All @@ -41,7 +41,7 @@ msgstr "шаблон для поиска"

#: ../__init__.py:107
msgid "a color to highlight matched expressions"
msgstr "цвет, которым выделять совпадения"
msgstr "цвет/стиль выделения"

#: ../__init__.py:110
msgid "search for pattern in these file(s)"
Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
em
==
The em program is a terminal tool that prints FILE(s), or standard
input to standard output and highlights the expressions that are
matched the PATTERN.
em program is a terminal tool that prints FILE(s), or standard input
to standard output and highlights the expressions that are matched
the PATTERN.
The expression will be highlighted iff stdout refers to the terminal
and that terminal is ANSI-compatible.
The expression will be highlighted iff the terminal is ANSI-compatible.
em is cool
Expand Down

0 comments on commit c7e909d

Please sign in to comment.