Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damnwidget/glosarium
Glosarium is an application used by the Spanish transalation group of the GNU project
https://github.com/damnwidget/glosarium
Last synced: about 2 months ago
JSON representation
Glosarium is an application used by the Spanish transalation group of the GNU project
- Host: GitHub
- URL: https://github.com/damnwidget/glosarium
- Owner: DamnWidget
- License: gpl-3.0
- Created: 2013-01-19T21:02:56.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-01T00:48:59.000Z (almost 12 years ago)
- Last Synced: 2024-11-18T19:09:03.038Z (about 2 months ago)
- Language: Python
- Size: 176 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
glosarium
=========This is a cross-platform application used by the Spanish Transalation Team of
the GNU Project. It was written by Oscar Campos
and released under the GNU General Public License, version 3 or later.This document applies to the use of glosarium on all distributions of the
GNU Operating System.Dependencies
------------* Python >= 2.6
* httplib2 >= 0.6
* coreutils >= 8.5
* setuptools >= 0.6 (just for be able to run python setup.py install)**NOTE**: In debian and derivates (Ubuntu, Mint, Trisquel, etc) setuptools is named as `python-setuptools`
Instalation
-----------Install with pip:
$ sudo pip install glosarium
You can also donwload or clone the repository and install like any other Python package with:
$ sudo python setup.py install
Usage
-----Make sure you are connected to the internet (glosarium checks
http://www.gnu.org/server/standards/translations/es/recursos.html#glosario
for coincidences.)In the command line, type:
$ glosarium path-to-your-po-file/name_of_article.es.po log_file
`log_file` is the file where the results will be saved. If you don't
specify it, the results will be printed on the default output, and not saved in the file system.Options
--------h, --help show this help message and exit
-v, --version show program's version number and exit
-l, --lines also print lines when a term is found
-r, --resume print a resume when doneExamples
--------The following prints a list of terms found and the number of the line where
they occur in the PO file:$ glosarium Desktop/tests/why-copyleft.es.po
Term Copyleft found in line 1
Term Free software found in line 2
Term Copyleft found in line 8
Term Copyleft found in line 20
Term Free software found in line 20
Term Free Software Foundation (FSF) found in line 20
Term GNU Project found in line 20
Term Copyleft found in line 21
Term Copyleft found in line 24
Term Copyleft found in line 25
Term Copyleft found in line 32
Term Copyleft license found in line 32
Term Free software found in line 32
Term Free software license found in line 32
Term GNU Project found in line 32
Term Non-copyleft license found in line 32
Term Copyleft found in line 33
Term Free software found in line 40
Term Free software license found in line 40
Term Copyleft found in line 44
Term Copyleft license found in line 44
Term Free software found in line 44
Term Non-copyleft license found in line 44
Term Copyleft found in line 45
Term Webmaster found in line 57
Term Webmaster found in line 58
Term See found in line 62
Term Free software found in line 66
Term Free software found in line 67The following prints same as above, plus statistics (resume):
$ glosarium -r Desktop/tests/why-copyleft.es.po
+-----------------------------------------------------------------------------+
| Term | Appears in lines |
+-----------------------------------------------------------------------------+
| Free Software Foundation (FSF)| [20] |
| Free software | [2, 20, 32, 40, 44, 66, 67] |
| Copyleft | [1, 8, 20, 21, 24, 25, 32, 33, 44, 45] |
| GNU Project | [20, 32] |
| See | [62] |
| Non-copyleft license | [32, 44] |
| Free software license | [32, 40] |
| Copyleft license | [32, 44] |
| Webmaster | [57, 58] |
+-----------------------------------------------------------------------------+
| Total 9 terms |
+-----------------------------------------------------------------------------+The following prints the context where the term occurs:
$ glosarium -l Desktop/tests/why-copyleft.es.po
Term Copyleft found in line 32
|__
msgid "In the GNU Project we usually recommend people use
copyleft licenses like GNU GPL, rather
than permissive non-copyleft free software licenses. We don't argue harshly
against the non-copyleft licenses—in fact, we occasionally recommend
them in special circumstances—but the advocates of those licenses show a
pattern of arguing harshly against the
GPL."Common Troubleshooting
----------------------* Q: When I use the `glosarium` command I get `command not found` error. What can I do?
* R: Install the coreutils from the GNU projectLicense:
--------
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 3 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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.