commit translate-shell for openSUSE:Factory

2020-08-29 Thread root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2020-08-29 20:37:28

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new.3399 (New)


Package is "translate-shell"

Sat Aug 29 20:37:28 2020 rev:15 rq:829823 version:0.9.6.12

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2019-09-19 15:52:06.627277828 +0200
+++ 
/work/SRC/openSUSE:Factory/.translate-shell.new.3399/translate-shell.changes
2020-08-29 20:37:41.673347807 +0200
@@ -1,0 +2,8 @@
+Wed Aug 26 19:15:07 UTC 2020 - Dirk Mueller 
+
+- update to 0.9.6.12
+  * Bing Microsoft Translator: fixed (#340)
+  * Added a Docker image (#336)
+  * Fixed other minor issues (#345, #339) 
+
+---

Old:

  translate-shell-0.9.6.11.tar.gz

New:

  translate-shell-0.9.6.12.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.423Czs/_old  2020-08-29 20:37:44.421348966 +0200
+++ /var/tmp/diff_new_pack.423Czs/_new  2020-08-29 20:37:44.425348968 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package translate-shell
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.6.11
+Version:0.9.6.12
 Release:0
 Summary:Command line translator using various online services as 
backends
 License:Unlicense

++ translate-shell-0.9.6.11.tar.gz -> translate-shell-0.9.6.12.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.11/.github/workflows/ci.yml 
new/translate-shell-0.9.6.12/.github/workflows/ci.yml
--- old/translate-shell-0.9.6.11/.github/workflows/ci.yml   1970-01-01 
01:00:00.0 +0100
+++ new/translate-shell-0.9.6.12/.github/workflows/ci.yml   2020-05-11 
17:02:40.0 +0200
@@ -0,0 +1,22 @@
+name: CI
+
+on:
+  push:
+branches:
+- develop
+- stable
+
+jobs:
+  build:
+
+runs-on: ubuntu-latest
+
+steps:
+- uses: actions/checkout@v1
+- name: Install dependencies
+  run: |
+sudo apt-get update
+sudo apt-get -y install gawk curl rlwrap emacs
+- name: Sanity check
+  run: |
+make test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.11/.gitmodules 
new/translate-shell-0.9.6.12/.gitmodules
--- old/translate-shell-0.9.6.11/.gitmodules1970-01-01 01:00:00.0 
+0100
+++ new/translate-shell-0.9.6.12/.gitmodules2020-05-11 17:02:40.0 
+0200
@@ -0,0 +1,3 @@
+[submodule "translate-shell.wiki"]
+   path = wiki
+   url = https://github.com/soimort/translate-shell.wiki.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.11/Dockerfile 
new/translate-shell-0.9.6.12/Dockerfile
--- old/translate-shell-0.9.6.11/Dockerfile 1970-01-01 01:00:00.0 
+0100
+++ new/translate-shell-0.9.6.12/Dockerfile 2020-05-11 17:02:40.0 
+0200
@@ -0,0 +1,11 @@
+FROM alpine:latest
+MAINTAINER soimort
+
+RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing"; >> 
/etc/apk/repositories 
+
+RUN apk add bash gawk curl mplayer fribidi less hunspell wget \
+&& wget git.io/trans \
+&& chmod +x ./trans \ 
+&& mv ./trans /usr/local/bin/
+ENTRYPOINT ["trans"]
+CMD ["--help"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.11/README.md 
new/translate-shell-0.9.6.12/README.md
--- old/translate-shell-0.9.6.11/README.md  2019-07-25 16:20:17.0 
+0200
+++ new/translate-shell-0.9.6.12/README.md  2020-05-11 17:02:40.0 
+0200
@@ -2,6 +2,7 @@
 
 
[![Icon](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/icon.png)](https://www.soimort.org/translate-shell)
 
[![CircleCI](https://circleci.com/gh/soimort/translate-shell.svg?style=svg)](https://circleci.com/gh/soimort/translate-shell)
+[![Actions](https://github.com/soimort/translate-shell/workflows/CI/badge.svg)](https://github.com/soimort/translate-shell/actions)
 
[![Version](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/badge-release.png)](https://github.com/soimort/translate-shell/releases)
 
[![Download](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/badge-

commit translate-shell for openSUSE:Factory

2019-09-19 Thread root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2019-09-19 15:52:04

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new.7948 (New)


Package is "translate-shell"

Thu Sep 19 15:52:04 2019 rev:14 rq:731692 version:0.9.6.11

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2018-08-22 14:20:49.638419074 +0200
+++ 
/work/SRC/openSUSE:Factory/.translate-shell.new.7948/translate-shell.changes
2019-09-19 15:52:06.627277828 +0200
@@ -1,0 +2,27 @@
+Wed Sep 18 02:53:02 UTC 2019 - Yifan Jiang 
+
+- Update to version 0.9.6.11
+  * Google Translate: enforced UTF-8 URL-encoding for non-ASCII
+characters, fixed garbled result
+  * Bing Microsoft Translator: updated to API v3, fixed support
+(excl. TTS)
+  * GNU awk 5.0.0 compatibility
+- includes version 0.9.6.10
+  * GNU awk 5.0.0 compatibility
+  * Show gender-specific translations (Google Translate only)
+  * Support multiple source languages Support the use of language
+aliases for TTS
+  * Fix for virtual emulators that have own BiDi support, e.g.,
+konsole
+  * New option: -bidi (enforce bidirectional conversion)
+  * New options: -4, -6 (choose manually IPv4 or IPv6 connection)
+  * New option: -no-browser (do not open the web browser)
+  * New option: -join-sentence (treat all arguments as one single
+sentence)
+  * Multiple fixes
+- includes version 0.9.6.9
+  * Removed DeepL engine support
+  * Close command pipelines after printing to pager
+  * Set minimum screen width
+
+---

Old:

  translate-shell-0.9.6.8.tar.gz

New:

  translate-shell-0.9.6.11.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.bSW6o7/_old  2019-09-19 15:52:07.167277717 +0200
+++ /var/tmp/diff_new_pack.bSW6o7/_new  2019-09-19 15:52:07.167277717 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package translate-shell
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   translate-shell
-Version:0.9.6.8
+Version:0.9.6.11
 Release:0
 Summary:Command line translator using various online services as 
backends
 License:Unlicense

++ translate-shell-0.9.6.8.tar.gz -> translate-shell-0.9.6.11.tar.gz ++
 2546 lines of diff (skipped)




commit translate-shell for openSUSE:Factory

2018-08-22 Thread root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2018-08-22 14:20:11

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Wed Aug 22 14:20:11 2018 rev:13 rq:630735 version:0.9.6.8

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2018-05-01 23:34:26.408935177 +0200
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2018-08-22 14:20:49.638419074 +0200
@@ -1,0 +2,8 @@
+Tue Aug 21 09:12:54 UTC 2018 - idon...@suse.com
+
+- Update to version 0.9.6.8
+  * Fixed engine support: DeepL, Bing TTS
+  * New languages (Yandex only): Emoji
+  * Close command pipelines everywhere
+
+---

Old:

  translate-shell-0.9.6.7.tar.gz

New:

  translate-shell-0.9.6.8.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.8JMHGV/_old  2018-08-22 14:20:50.022419984 +0200
+++ /var/tmp/diff_new_pack.8JMHGV/_new  2018-08-22 14:20:50.026419993 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.6.7
+Version:0.9.6.8
 Release:0
 Summary:Command line translator using various online services as 
backends
 License:Unlicense

++ translate-shell-0.9.6.7.tar.gz -> translate-shell-0.9.6.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.7/.circleci/config.yml 
new/translate-shell-0.9.6.8/.circleci/config.yml
--- old/translate-shell-0.9.6.7/.circleci/config.yml1970-01-01 
01:00:00.0 +0100
+++ new/translate-shell-0.9.6.8/.circleci/config.yml2018-08-11 
14:26:02.0 +0200
@@ -0,0 +1,20 @@
+version: 2
+jobs:
+  build:
+environment:
+  LC_ALL: C.UTF-8
+  LANG: C.UTF-8
+docker:
+  - image: debian:stretch
+steps:
+  - checkout
+  - run:
+  name: Install Dependencies
+  command: |
+apt-get update
+apt-get -y install locales make
+apt-get -y install util-linux bsdmainutils gawk curl rlwrap emacs
+  - run:
+  name: Sanity Check
+  command: |
+make test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.7/.travis.yml 
new/translate-shell-0.9.6.8/.travis.yml
--- old/translate-shell-0.9.6.7/.travis.yml 2018-03-17 18:15:05.0 
+0100
+++ new/translate-shell-0.9.6.8/.travis.yml 2018-08-11 14:26:02.0 
+0200
@@ -1,11 +1,17 @@
 os:
   - linux
+  - osx
 
 before_install: |
-  sudo add-apt-repository ppa:schot/gawk -y
-  sudo apt-get update -q
-  sudo apt-get install gawk
-  sudo apt-get install rlwrap
-  sudo apt-get install emacs
+  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository 
ppa:schot/gawk -y; fi
+  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -q; fi
+  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install gawk; fi
+  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install rlwrap; fi
+  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install emacs; fi
+  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gawk; fi
+  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install rlwrap; fi
+  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install emacs; fi
+  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bash; fi
 
 script: make check
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.7/Makefile 
new/translate-shell-0.9.6.8/Makefile
--- old/translate-shell-0.9.6.7/Makefile2018-03-17 18:15:05.0 
+0100
+++ new/translate-shell-0.9.6.8/Makefile2018-08-11 14:26:02.0 
+0200
@@ -29,8 +29,8 @@
$(BUILDDIR)/$(COMMAND) -V
[ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b 忍者`" = 'Ninja' ] &&\
[ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b -e bing 忍者`" = 'Ninja' ] &&\
-   [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b -e yandex 忍者`" = 'Ninja' ] &&\
-   [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b -e deepl Ninja`" = 'Ninja' ]
+   [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b -e yandex Ninja`" = 'Ninja' ] 
&&\
+   [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b -e deepl -s en -t de hello`" 
= 'Hallo' ]
 
 install: build
@mkdir -p $(DESTDIR)$(PREFIX)/bin &&\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.6.7/README.md 
new/trans

commit translate-shell for openSUSE:Factory

2018-05-01 Thread root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2018-05-01 23:34:24

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Tue May  1 23:34:24 2018 rev:12 rq:602657 version:0.9.6.7

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2018-04-30 22:59:36.307002048 +0200
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2018-05-01 23:34:26.408935177 +0200
@@ -1,0 +2,5 @@
+Mon Apr 30 21:34:47 UTC 2018 - jeng...@inai.de
+
+- Update description.
+
+---



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.IaZ45X/_old  2018-05-01 23:34:27.200906373 +0200
+++ /var/tmp/diff_new_pack.IaZ45X/_new  2018-05-01 23:34:27.200906373 +0200
@@ -40,8 +40,8 @@
 %description
 Translate Shell is a command-line translator powered by
 Google Translate, Bing Translator, Yandex.Translate and DeepL
-traslator. It gives you access to online translation services
-in your terminal.
+traslator. It gives access to online translation services
+from a terminal.
 
 %prep
 %setup -q




commit translate-shell for openSUSE:Factory

2018-04-30 Thread root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2018-04-30 22:58:30

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Mon Apr 30 22:58:30 2018 rev:11 rq:602535 version:0.9.6.7

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2017-05-10 20:53:55.278028739 +0200
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2018-04-30 22:59:36.307002048 +0200
@@ -1,0 +2,23 @@
+Sun Apr 29 01:03:55 UTC 2018 - avin...@opensuse.org
+
+- Update to version 0.9.6.7:
+  * Bing translator
+  * 3 new languages for Yandex (Hill Mari, Eastern Mari, Papiamento)
+  * Show transliteration for Bing and Yandex
+  * print only language code when specifying -brief -identity
+- includes 0.9.6.6:
+  * DeepL translator
+  * 3 new options (-dump, -download-audio/-download-audio-as, -no-warn)
+- includes 0.9.6.5:
+  * HTTP proxy support
+  * display all alternative translations
+  * rlwrap invocation regression fixed
+- includes 0.9.6.4:
+  * fix locale detection
+  * fix extra spaces between sentences when using google
+- cleanup with spec-cleaner
+- update summary and description to reflect new services
+- remove check for now (curl test failing)
+- fix E: env-script-interpreter
+
+---

Old:

  translate-shell-0.9.6.3.tar.gz

New:

  translate-shell-0.9.6.7.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.9XscZK/_old  2018-04-30 22:59:37.070974170 +0200
+++ /var/tmp/diff_new_pack.9XscZK/_new  2018-04-30 22:59:37.070974170 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package translate-shell
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:   translate-shell
-Version:0.9.6.3
+Version:0.9.6.7
 Release:0
-Summary:Google Translate to serve as a command-line tool
+Summary:Command line translator using various online services as 
backends
 License:Unlicense
 Group:  Productivity/Networking/Web/Frontends
-Url:https://www.soimort.org/translate-shell
+URL:https://www.soimort.org/translate-shell
 Source: 
https://github.com/soimort/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  emacs-nox
 BuildRequires:  gawk >= 4.0
@@ -39,8 +39,9 @@
 
 %description
 Translate Shell is a command-line translator powered by
-Google Translate. It gives you easy access to Google Translate in
-your terminal.
+Google Translate, Bing Translator, Yandex.Translate and DeepL
+traslator. It gives you access to online translation services
+in your terminal.
 
 %prep
 %setup -q
@@ -49,16 +50,14 @@
 make %{?_smp_mflags} V=1
 
 %install
-%make_install \
-  PREFIX=%{buildroot}%{_prefix}
-
-%check
-LC_ALL=en_US.UTF-8 make test %{?_smp_mflags} V=1
+%make_install PREFIX=%{_prefix}
+chmod -x %{buildroot}%{_mandir}/man1/trans.1
+sed -i 's,/usr/bin/env bash,/bin/bash,' %{buildroot}%{_bindir}/trans
 
 %files
-%defattr(-,root,root)
-%doc CONTRIBUTING.md LICENSE README.md WAIVER
+%license LICENSE
+%doc CONTRIBUTING.md README.md WAIVER
 %{_bindir}/trans
-%{_mandir}/man?/trans.?%{?ext_man}
+%{_mandir}/man1/trans.1%{?ext_man}
 
 %changelog

++ translate-shell-0.9.6.3.tar.gz -> translate-shell-0.9.6.7.tar.gz ++
 2295 lines of diff (skipped)




commit translate-shell for openSUSE:Factory

2017-05-10 Thread root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2017-05-10 20:53:54

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Wed May 10 20:53:54 2017 rev:10 rq:494237 version:0.9.6.3

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2016-05-30 09:58:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2017-05-10 20:53:55.278028739 +0200
@@ -1,0 +2,6 @@
+Tue May  9 16:45:47 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 0.9.6.3:
+  * No changelog available.
+
+---

Old:

  translate-shell-0.9.4.tar.gz

New:

  translate-shell-0.9.6.3.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.BAJRnR/_old  2017-05-10 20:53:56.557848139 +0200
+++ /var/tmp/diff_new_pack.BAJRnR/_new  2017-05-10 20:53:56.557848139 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package translate-shell
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.4
+Version:0.9.6.3
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense
@@ -46,14 +46,14 @@
 %setup -q
 
 %build
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 %make_install \
   PREFIX=%{buildroot}%{_prefix}
 
 %check
-LC_ALL=en_US.UTF-8 make test %{?_smp_mflags}
+LC_ALL=en_US.UTF-8 make test %{?_smp_mflags} V=1
 
 %files
 %defattr(-,root,root)

++ translate-shell-0.9.4.tar.gz -> translate-shell-0.9.6.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.4/README.md 
new/translate-shell-0.9.6.3/README.md
--- old/translate-shell-0.9.4/README.md 2016-05-18 05:26:56.0 +0200
+++ new/translate-shell-0.9.6.3/README.md   2017-05-01 14:18:51.0 
+0200
@@ -69,7 +69,7 @@
 
 ### Recommended Dependencies
 
-These dependecies are optional, but strongly recommended for full 
functionality:
+These dependencies are optional, but strongly recommended for full 
functionality:
 
 * **[curl](http://curl.haxx.se/)** with **OpenSSL** support
 * **[GNU FriBidi](http://fribidi.org/)**: _an implementation of the Unicode 
Bidirectional Algorithm (bidi)_
@@ -379,6 +379,8 @@
 Do not use any other theme than default.
 -no-ansi
 Do not use ANSI escape codes.
+-no-autocorrect
+Do not autocorrect. (if defaulted by the translation engine)
 -no-bidi
 Do not convert bidirectional texts.
 
@@ -447,43 +449,45 @@
 
 | Language | Code | Language | Code | Language | Code |
 | :--: | :--: | :--: | :--: | :--: | :--: |
-| **[Afrikaans](http://en.wikipedia.org/wiki/Afrikaans_language)**  
**Afrikaans** | **`af`** | 
**[Hindi](http://en.wikipedia.org/wiki/Hindi_language)**  **हिन्दी** | 
**`hi`** | **[Polish](http://en.wikipedia.org/wiki/Polish_language)**  
**Polski** | **`pl`** | 
-| **[Albanian](http://en.wikipedia.org/wiki/Albanian_language)**  
**Shqip** | **`sq`** | **[Hmong](http://en.wikipedia.org/wiki/Hmong_language)** 
 **Hmoob** | **`hmn`** | 
**[Portuguese](http://en.wikipedia.org/wiki/Portuguese_language)**  
**Português** | **`pt`** | 
-| **[Amharic](http://en.wikipedia.org/wiki/Amharic_language)**  **አማርኛ** 
| **`am`** | **[Hmong Daw](http://en.wikipedia.org/wiki/Hmong_Daw)**  
**Hmoob Daw** | **`mww`** | 
**[Punjabi](http://en.wikipedia.org/wiki/Punjabi_language)**  **ਪੰਜਾਬੀ** | 
**`pa`** | 
-| **[Arabic](http://en.wikipedia.org/wiki/Arabic_language)**  **العربية** 
| **`ar`** | **[Hungarian](http://en.wikipedia.org/wiki/Hungarian_language)** 
 **Magyar** | **`hu`** | **[Querétaro 
Otomi](http://en.wikipedia.org/wiki/Querétaro_Otomi)**  **Hñąñho** | 
**`otq`** | 
-| **[Armenian](http://en.wikipedia.org/wiki/Armenian_language)**  
**Հայերեն** | **`hy`** | 
**[Icelandic](http://en.wikipedia.org/wiki/Icelandic_language)**  
**Íslenska** | **`is`** | 
**[Romanian](http://en.wikipedia.org/wiki/Romanian_language)**  **Română** 
| **`ro`** | 
-| **[Azerbaijani](http://en.wikipedia.org/wiki/Azerbaijani_language)**  
**Azərbaycanca** | **`az`** | 
**[Igbo](http://en.wikipedia.org/wiki/Igbo_language)**  **Igbo** | 
**`ig`** | **[Russian](http://en.wikipedia.org/wiki/Russian_language)**  
**Русский** | **`ru`** | 

commit translate-shell for openSUSE:Factory

2016-05-30 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2016-05-30 09:58:17

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2016-03-16 10:36:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2016-05-30 09:58:20.0 +0200
@@ -1,0 +2,6 @@
+Sat May 28 15:43:12 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to version 0.9.4:
+  * No changelog available.
+
+---

Old:

  translate-shell-0.9.3.2.tar.gz

New:

  translate-shell-0.9.4.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.4k7Lal/_old  2016-05-30 09:58:21.0 +0200
+++ /var/tmp/diff_new_pack.4k7Lal/_new  2016-05-30 09:58:21.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.3.2
+Version:0.9.4
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense

++ translate-shell-0.9.3.2.tar.gz -> translate-shell-0.9.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.3.2/Makefile 
new/translate-shell-0.9.4/Makefile
--- old/translate-shell-0.9.3.2/Makefile2016-03-11 21:05:18.0 
+0100
+++ new/translate-shell-0.9.4/Makefile  2016-05-18 05:26:56.0 +0200
@@ -30,8 +30,9 @@
[ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b 忍者`" = 'Ninja' ] &&\
[ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b 'hello world'`" = 'hello 
world' ]
 
-install:
-   @install -D $(BUILDDIR)/$(COMMAND) $(PREFIX)/bin/$(COMMAND) &&\
+install: build
+   @mkdir -p $(PREFIX)/bin &&\
+   install $(BUILDDIR)/$(COMMAND) $(PREFIX)/bin/$(COMMAND) &&\
mkdir -p $(PREFIX)/share/man/man1 &&\
cp $(MANDIR)/$(COMMAND).1 $(PREFIX)/share/man/man1/$(COMMAND).1 &&\
echo "[OK] $(NAME) installed."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.3.2/README.md 
new/translate-shell-0.9.4/README.md
--- old/translate-shell-0.9.3.2/README.md   2016-03-11 21:05:18.0 
+0100
+++ new/translate-shell-0.9.4/README.md 2016-05-18 05:26:56.0 +0200
@@ -1,12 +1,12 @@
 # Translate Shell
 
-[![Icon](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/icon.png)](http://www.soimort.org/translate-shell)
+[![Icon](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/icon.png)](https://www.soimort.org/translate-shell)
 [![Build 
Status](https://travis-ci.org/soimort/translate-shell.png)](https://travis-ci.org/soimort/translate-shell)
 
[![Version](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/badge-release.png)](https://github.com/soimort/translate-shell/releases)
-[![Download](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/badge-download.png)](http://www.soimort.org/translate-shell/trans)
+[![Download](https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/images/badge-download.png)](https://www.soimort.org/translate-shell/trans)
 
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/soimort/translate-shell?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
 
-**[Translate Shell](http://www.soimort.org/translate-shell)** (formerly 
_Google Translate CLI_) is a command-line translator powered by **[Google 
Translate](https://translate.google.com/)** (default), **[Bing 
Translator](https://www.bing.com/translator)**, and 
**[Yandex.Translate](https://translate.yandex.com/)**. It gives you easy access 
to one of these translation engines your terminal:
+**[Translate Shell](https://www.soimort.org/translate-shell)** (formerly 
_Google Translate CLI_) is a command-line translator powered by **[Google 
Translate](https://translate.google.com/)** (default), **[Bing 
Translator](https://www.bing.com/translator)**, 
**[Yandex.Translate](https://translate.yandex.com/)** and 
**[Apertium](https://www.apertium.org/)**. It gives you easy access to one of 
these translation engines your terminal:
 
 ```
 $ trans 'Saluton, Mondo!'
@@ -104,29 +104,21 @@
 $ wget git.io/trans
 $ chmod +x ./trans
 
-There is a [GPG signature](http://www.soimort.org/translate-shell/trans.sig).
+There is a [GPG signature](https://www.soimort.org/translate-shell/trans.sig).
 
 ### Option #2. From A Package Manager
 
- Using [Antigen](http://ant

commit translate-shell for openSUSE:Factory

2016-03-16 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2016-03-16 10:36:08

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2016-03-05 13:07:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2016-03-16 10:36:23.0 +0100
@@ -1,0 +2,7 @@
+Mon Mar 14 08:54:34 UTC 2016 - idon...@suse.com
+
+- Update to 0.9.3.2
+  * No changelog upstream
+- Run tests with a UTF-8 locale.
+
+---

Old:

  translate-shell-0.9.3.1.tar.gz

New:

  translate-shell-0.9.3.2.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.bJ83uC/_old  2016-03-16 10:36:24.0 +0100
+++ /var/tmp/diff_new_pack.bJ83uC/_new  2016-03-16 10:36:24.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.3.1
+Version:0.9.3.2
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense
@@ -53,7 +53,7 @@
   PREFIX=%{buildroot}%{_prefix}
 
 %check
-make test %{?_smp_mflags}
+LC_ALL=en_US.UTF-8 make test %{?_smp_mflags}
 
 %files
 %defattr(-,root,root)

++ translate-shell-0.9.3.1.tar.gz -> translate-shell-0.9.3.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.3.1/README.md 
new/translate-shell-0.9.3.2/README.md
--- old/translate-shell-0.9.3.1/README.md   2016-02-27 04:05:24.0 
+0100
+++ new/translate-shell-0.9.3.2/README.md   2016-03-11 21:05:18.0 
+0100
@@ -108,19 +108,19 @@
 
 ### Option #2. From A Package Manager
 
- Using [Antigen](https://github.com/zsh-users/antigen)
+ Using [Antigen](http://antigen.sharats.me/)
 
 Add the following line to your `.zshrc`:
 
 antigen bundle soimort/translate-shell
 
- Using [Homebrew](https://github.com/Homebrew/homebrew)
+ Using [Homebrew](http://brew.sh/)
 
-$ brew install https://www.soimort.org/translate-shell/translate-shell.rb
+$ brew install translate-shell
 
 On Linux with [Linuxbrew](https://github.com/Homebrew/linuxbrew), you may 
ignore its dependencies (e.g. gawk) if you already have them in your system:
 
-$ brew install --ignore-dependencies 
https://www.soimort.org/translate-shell/translate-shell.rb
+$ brew install --ignore-dependencies translate-shell
 
  Using your favorite package manager
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.3.1/build.awk 
new/translate-shell-0.9.3.2/build.awk
--- old/translate-shell-0.9.3.1/build.awk   2016-02-27 04:05:24.0 
+0100
+++ new/translate-shell-0.9.3.2/build.awk   2016-03-11 21:05:18.0 
+0100
@@ -251,11 +251,12 @@
 
 d("Updating gh-pages/translate-shell.rb ...")
 # Update gh-pages/translate-shell.rb
-("sha1sum " PagesPath "translate-shell.tar.gz") | getline temp
+system("git archive --format=tar.gz --prefix=translate-shell-"Version"/ 
v"Version" >"PagesPath"/v"Version".tar.gz")
+("sha256sum " PagesPath"/v"Version".tar.gz") | getline temp
 split(temp, group)
-sha1 = group[1]
+sha256 = group[1]
 text = readFrom(HomebrewFormula ".temp")
-gsub(/\$sha1\$/, sha1, text)
+gsub(/\$sha256\$/, sha256, text)
 gsub(/\$Version\$/, Version, text)
 writeTo(text, HomebrewFormula)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.3.1/include/Commons.awk 
new/translate-shell-0.9.3.2/include/Commons.awk
--- old/translate-shell-0.9.3.1/include/Commons.awk 2016-02-27 
04:05:24.0 +0100
+++ new/translate-shell-0.9.3.2/include/Commons.awk 2016-03-11 
21:05:18.0 +0100
@@ -109,6 +109,16 @@
 return temp
 }
 
+# Reverse a string.
+function reverse(string,
+ 
+ i, temp) {
+temp = NULLSTR
+for (i = length(string); i > 0; i--)
+temp = temp substr(string, i, 1);
+return temp
+}
+
 # Join an array into one string;
 # Return the string.
 function join(array, separator, sortedIn, preserveNull,
@@ -420,6 +430,7 @@
 # Initialize `UrlEncoding`.
 # See: 
 function initUrlEncoding() {
+UrlEncoding["\t"] = "%09"
 UrlEncoding["\n"] = "%0A"
 UrlEncoding[" "]  = "%20"
 UrlEncoding["!"]  = "%21"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude

commit translate-shell for openSUSE:Factory

2016-03-05 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2016-03-05 13:07:25

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2016-02-17 12:25:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2016-03-05 13:07:27.0 +0100
@@ -1,0 +2,5 @@
+Fri Mar  4 07:46:25 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to 0.9.3.1.
+
+---

Old:

  translate-shell-0.9.3.tar.gz

New:

  translate-shell-0.9.3.1.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.gAIeN4/_old  2016-03-05 13:07:27.0 +0100
+++ /var/tmp/diff_new_pack.gAIeN4/_new  2016-03-05 13:07:27.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.3
+Version:0.9.3.1
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense

++ translate-shell-0.9.3.tar.gz -> translate-shell-0.9.3.1.tar.gz ++
 2633 lines of diff (skipped)




commit translate-shell for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2016-02-17 10:24:46

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2015-12-29 13:00:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2016-02-17 12:25:38.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb 11 16:26:54 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to 0.9.3.
+
+---

Old:

  translate-shell-0.9.2.1.tar.gz

New:

  translate-shell-0.9.3.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.74nFiK/_old  2016-02-17 12:25:39.0 +0100
+++ /var/tmp/diff_new_pack.74nFiK/_new  2016-02-17 12:25:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package translate-shell
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.2.1
+Version:0.9.3
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense
@@ -57,7 +57,7 @@
 
 %files
 %defattr(-,root,root)
-%doc CONTRIBUTING.md DISCLAIMER LICENSE README.md WAIVER
+%doc CONTRIBUTING.md LICENSE README.md WAIVER
 %{_bindir}/trans
 %{_mandir}/man?/trans.?%{?ext_man}
 

++ translate-shell-0.9.2.1.tar.gz -> translate-shell-0.9.3.tar.gz ++
 2980 lines of diff (skipped)




commit translate-shell for openSUSE:Factory

2015-12-29 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2015-12-29 13:00:21

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2015-11-24 22:34:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2015-12-29 13:00:25.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec 29 05:32:40 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.9.2.1.
+
+---

Old:

  translate-shell-0.9.1.tar.gz

New:

  translate-shell-0.9.2.1.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.j3fJWA/_old  2015-12-29 13:00:26.0 +0100
+++ /var/tmp/diff_new_pack.j3fJWA/_new  2015-12-29 13:00:26.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.1
+Version:0.9.2.1
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense

++ translate-shell-0.9.1.tar.gz -> translate-shell-0.9.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.1/Makefile 
new/translate-shell-0.9.2.1/Makefile
--- old/translate-shell-0.9.1/Makefile  2015-11-08 09:38:14.0 +0100
+++ new/translate-shell-0.9.2.1/Makefile2015-12-18 13:17:01.0 
+0100
@@ -27,7 +27,8 @@
 
 check: test
$(BUILDDIR)/$(COMMAND) -V
-   [ "`$(BUILDDIR)/$(COMMAND) -b 忍者`" = 'Ninja' ]
+   [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b 忍者`" = 'Ninja' ] &&\
+   [ "`$(BUILDDIR)/$(COMMAND) -no-init -D -b 'hello world'`" = 'hello 
world' ]
 
 install:
@install -D $(BUILDDIR)/$(COMMAND) $(PREFIX)/bin/$(COMMAND) &&\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.1/README.md 
new/translate-shell-0.9.2.1/README.md
--- old/translate-shell-0.9.1/README.md 2015-11-08 09:38:14.0 +0100
+++ new/translate-shell-0.9.2.1/README.md   2015-12-18 13:17:01.0 
+0100
@@ -232,12 +232,22 @@
 
 **Note:** Not every language supported by Google Translate has provided 
dictionary data. See **[wiki: 
Languages](https://github.com/soimort/translate-shell/wiki/Languages)** to find 
out which language(s) has dictionary support.
 
+### Language Identification
+
+Use the `-identify` (`-id`) option to identify the language of the text:
+
+$ trans -id 言葉
+
 ### Text-to-Speech
 
 Use the `-play` (`-p`) option to listen to the translation:
 
 $ trans -b -p :ja "Saluton, Mondo"
 
+Use the `-speak` (`-sp`) option to listen to the original text:
+
+$ trans -sp "你好,世界"
+
 ### Terminal Paging
 
 Sometimes the content of translation can be too much for display in one 
screen. Use the `-view` (`-v`) option to view the translation in a terminal 
pager such as `less` or `more`:
@@ -334,6 +344,8 @@
 Brief mode.
 -d, -dictionary
 Dictionary mode.
+-identify
+Language identification.
 -show-original Y/n
 Show original text or not.
 -show-original-phonetics Y/n
@@ -366,6 +378,8 @@
 Audio options:
 -p, -play
 Listen to the translation.
+-speak
+Listen to the original text.
 -player PROGRAM
 Specify the audio player to use, and listen to the translation.
 -no-play
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.1/README.template.md 
new/translate-shell-0.9.2.1/README.template.md
--- old/translate-shell-0.9.1/README.template.md2015-11-08 
09:38:14.0 +0100
+++ new/translate-shell-0.9.2.1/README.template.md  2015-12-18 
13:17:01.0 +0100
@@ -232,12 +232,22 @@
 
 **Note:** Not every language supported by Google Translate has provided 
dictionary data. See **[wiki: 
Languages](https://github.com/soimort/translate-shell/wiki/Languages)** to find 
out which language(s) has dictionary support.
 
+### Language Identification
+
+Use the `-identify` (`-id`) option to identify the language of the text:
+
+$ trans -id 言葉
+
 ### Text-to-Speech
 
 Use the `-play` (`-p`) option to listen to the translation:
 
 $ trans -b -p :ja "Saluton, Mondo"
 
+Use the `-speak` (`-sp`) option to listen to the original text:
+
+$ trans -sp "你好,世界"
+
 ### Terminal Paging
 
 Sometimes the content of translation can be too much for display in one 
screen. Use the `-view` (`-v`) option to view the translation in a terminal 
pager such as `less` or `mo

commit translate-shell for openSUSE:Factory

2015-11-24 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2015-11-24 22:33:52

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2015-10-14 16:44:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2015-11-24 22:34:21.0 +0100
@@ -1,0 +2,9 @@
+Mon Nov 23 20:34:07 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.9.1:
+  * Fix play() with placeholder parameter "&tk".
+  * Add -speak and -identify options.
+  * Allow names and endonyms as language aliases.
+  * -i will nowt fail if input file was not found.
+
+---

Old:

  translate-shell-0.9.0.9.tar.gz

New:

  translate-shell-0.9.1.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.aQp2dl/_old  2015-11-24 22:34:22.0 +0100
+++ /var/tmp/diff_new_pack.aQp2dl/_new  2015-11-24 22:34:22.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.0.9
+Version:0.9.1
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense
@@ -49,7 +49,6 @@
 make %{?_smp_mflags}
 
 %install
-mkdir -p %{buildroot}%{_bindir}
 %make_install \
   PREFIX=%{buildroot}%{_prefix}
 
@@ -60,6 +59,6 @@
 %defattr(-,root,root)
 %doc CONTRIBUTING.md DISCLAIMER LICENSE README.md WAIVER
 %{_bindir}/trans
-%{_mandir}/man1/trans.1%{?ext_man}
+%{_mandir}/man?/trans.?%{?ext_man}
 
 %changelog

++ translate-shell-0.9.0.9.tar.gz -> translate-shell-0.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.9/Makefile 
new/translate-shell-0.9.1/Makefile
--- old/translate-shell-0.9.0.9/Makefile2015-10-05 13:43:45.0 
+0200
+++ new/translate-shell-0.9.1/Makefile  2015-11-08 09:38:14.0 +0100
@@ -30,7 +30,7 @@
[ "`$(BUILDDIR)/$(COMMAND) -b 忍者`" = 'Ninja' ]
 
 install:
-   @install $(BUILDDIR)/$(COMMAND) $(PREFIX)/bin/$(COMMAND) &&\
+   @install -D $(BUILDDIR)/$(COMMAND) $(PREFIX)/bin/$(COMMAND) &&\
mkdir -p $(PREFIX)/share/man/man1 &&\
cp $(MANDIR)/$(COMMAND).1 $(PREFIX)/share/man/man1/$(COMMAND).1 &&\
echo "[OK] $(NAME) installed."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.9/include/Help.awk 
new/translate-shell-0.9.1/include/Help.awk
--- old/translate-shell-0.9.0.9/include/Help.awk2015-10-05 
13:43:45.0 +0200
+++ new/translate-shell-0.9.1/include/Help.awk  2015-11-08 09:38:14.0 
+0100
@@ -67,6 +67,8 @@
 ins(2, "Brief mode.") RS\
 ins(1, ansi("bold", "-d") ", " ansi("bold", "-dictionary")) RS  \
 ins(2, "Dictionary mode.") RS   \
+ins(1, ansi("bold", "-identify")) RS\
+ins(2, "Language identification.") RS   \
 ins(1, ansi("bold", "-show-original ") ansi("underline", "Y/n")) RS \
 ins(2, "Show original text or not.") RS \
 ins(1, ansi("bold", "-show-original-phonetics ") ansi("underline", 
"Y/n")) RS \
@@ -99,6 +101,8 @@
 RS "Audio options:" RS  \
 ins(1, ansi("bold", "-p, -play")) RS\
 ins(2, "Listen to the translation.") RS \
+ins(1, ansi("bold", "-speak")) RS   \
+ins(2, "Listen to the original text.") RS   \
 ins(1, ansi("bold", "-player ") ansi("underline", "PROGRAM")) RS \
 ins(2, "Specify the audio player to use, and listen to the 
translation.") RS \
 ins(1, ansi("bold", "-no-play")) RS \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.9/include/Languages.awk 
new/translate-shell-0.9.1/include/Languages.awk
--- old/translate-shell-0.9.0.9/include/Languages.awk   2015-10-05 
13:43:45.0 +0200
+++ new/translate-shell-0.9.1/include/Languages.awk 2015-11-08 
09:38:14.0 +0100
@@ -1699,6 +1699,10 @@
 
 # ISO 639-3 codes as aliases
 LocaleAlias[Locale[i]["iso"]] = i
+
+# Names and endonyms as aliases
+LocaleAlias[tolower(Locale[i]["name"])] = i
+LocaleAlias[tolower(Local

commit translate-shell for openSUSE:Factory

2015-10-14 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2015-10-14 16:44:53

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2015-09-17 09:20:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2015-10-14 16:44:53.0 +0200
@@ -1,0 +2,6 @@
+Sat Oct 10 13:26:03 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.9.0.9:
+  * Add a placeholder for the access token in parameters.
+
+---

Old:

  translate-shell-0.9.0.8.tar.gz

New:

  translate-shell-0.9.0.9.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.OC6DXI/_old  2015-10-14 16:44:54.0 +0200
+++ /var/tmp/diff_new_pack.OC6DXI/_new  2015-10-14 16:44:54.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   translate-shell
-Version:0.9.0.8
+Version:0.9.0.9
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense

++ translate-shell-0.9.0.8.tar.gz -> translate-shell-0.9.0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.8/include/Translate.awk 
new/translate-shell-0.9.0.9/include/Translate.awk
--- old/translate-shell-0.9.0.8/include/Translate.awk   2015-09-01 
12:39:04.0 +0200
+++ new/translate-shell-0.9.0.9/include/Translate.awk   2015-10-05 
13:43:45.0 +0200
@@ -65,7 +65,7 @@
 url = HttpPathPrefix "/translate_a/single?client=t" \
 "&ie=UTF-8&oe=UTF-8"\
 "&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at"  \
-"&q=" preprocess(text) "&sl=" sl "&tl=" tl "&hl=" hl
+"&q=" preprocess(text) "&sl=" sl "&tl=" tl "&hl=" hl "&tk"
 header = "GET " url " HTTP/1.1\n"   \
 "Host: " HttpHost "\n"  \
 "Connection: close\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.8/man/trans.1 
new/translate-shell-0.9.0.9/man/trans.1
--- old/translate-shell-0.9.0.8/man/trans.1 2015-09-01 12:39:04.0 
+0200
+++ new/translate-shell-0.9.0.9/man/trans.1 2015-10-05 13:43:45.0 
+0200
@@ -1,4 +1,4 @@
-.TH "TRANS" "1" "2015\-09\-01" "0.9.0.8" ""
+.TH "TRANS" "1" "2015\-10\-05" "0.9.0.9" ""
 .SH NAME
 .PP
 trans \- Google Translate served as a command\-line tool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.8/man/trans.1.md 
new/translate-shell-0.9.0.9/man/trans.1.md
--- old/translate-shell-0.9.0.8/man/trans.1.md  2015-09-01 12:39:04.0 
+0200
+++ new/translate-shell-0.9.0.9/man/trans.1.md  2015-10-05 13:43:45.0 
+0200
@@ -1,6 +1,6 @@
-% TRANS(1) 0.9.0.8
+% TRANS(1) 0.9.0.9
 % Mort Yao 
-% 2015-09-01
+% 2015-10-05
 
 # NAME
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.8/metainfo.awk 
new/translate-shell-0.9.0.9/metainfo.awk
--- old/translate-shell-0.9.0.8/metainfo.awk2015-09-01 12:39:04.0 
+0200
+++ new/translate-shell-0.9.0.9/metainfo.awk2015-10-05 13:43:45.0 
+0200
@@ -1,8 +1,8 @@
 BEGIN {
 Name= "Translate Shell"
 Description = "Google Translate to serve as a command-line tool"
-Version = "0.9.0.8"
-ReleaseDate = "2015-09-01"
+Version = "0.9.0.9"
+ReleaseDate = "2015-10-05"
 Command = "trans"
 EntryPoint  = "translate.awk"
 }




commit translate-shell for openSUSE:Factory

2015-09-17 Thread h_root
Hello community,

here is the log from the commit of package translate-shell for openSUSE:Factory 
checked in at 2015-09-17 09:20:20

Comparing /work/SRC/openSUSE:Factory/translate-shell (Old)
 and  /work/SRC/openSUSE:Factory/.translate-shell.new (New)


Package is "translate-shell"

Changes:

--- /work/SRC/openSUSE:Factory/translate-shell/translate-shell.changes  
2015-08-03 17:21:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.translate-shell.new/translate-shell.changes 
2015-09-17 09:20:22.0 +0200
@@ -1,0 +2,9 @@
+Sun Sep 13 10:21:57 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 0.9.0.8:
+  * Create man directory during make install.
+  * Fix play().
+  * Set default user agent.
+- Remove translate-shell-add-useragent.patch: fixed upstream.
+
+---

Old:

  translate-shell-0.9.0.7.tar.gz
  translate-shell-add-useragent.patch

New:

  translate-shell-0.9.0.8.tar.gz



Other differences:
--
++ translate-shell.spec ++
--- /var/tmp/diff_new_pack.09R08K/_old  2015-09-17 09:20:23.0 +0200
+++ /var/tmp/diff_new_pack.09R08K/_new  2015-09-17 09:20:23.0 +0200
@@ -17,15 +17,13 @@
 
 
 Name:   translate-shell
-Version:0.9.0.7
+Version:0.9.0.8
 Release:0
 Summary:Google Translate to serve as a command-line tool
 License:Unlicense
 Group:  Productivity/Networking/Web/Frontends
 Url:https://www.soimort.org/translate-shell
 Source: 
https://github.com/soimort/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM translate-shell-add-useragent.patch sor.ale...@meowr.ru 
-- Make it work by using User Agent by default
-Patch0: %{name}-add-useragent.patch
 BuildRequires:  emacs-nox
 BuildRequires:  gawk >= 4.0
 BuildRequires:  rlwrap
@@ -46,18 +44,17 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 make %{?_smp_mflags}
 
 %install
-mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1}/
+mkdir -p %{buildroot}%{_bindir}
 %make_install \
   PREFIX=%{buildroot}%{_prefix}
 
 %check
-make test
+make test %{?_smp_mflags}
 
 %files
 %defattr(-,root,root)

++ translate-shell-0.9.0.7.tar.gz -> translate-shell-0.9.0.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.7/Makefile 
new/translate-shell-0.9.0.8/Makefile
--- old/translate-shell-0.9.0.7/Makefile2015-06-08 09:08:47.0 
+0200
+++ new/translate-shell-0.9.0.8/Makefile2015-09-01 12:39:04.0 
+0200
@@ -31,6 +31,7 @@
 
 install:
@install $(BUILDDIR)/$(COMMAND) $(PREFIX)/bin/$(COMMAND) &&\
+   mkdir -p $(PREFIX)/share/man/man1 &&\
cp $(MANDIR)/$(COMMAND).1 $(PREFIX)/share/man/man1/$(COMMAND).1 &&\
echo "[OK] $(NAME) installed."
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.7/include/Main.awk 
new/translate-shell-0.9.0.8/include/Main.awk
--- old/translate-shell-0.9.0.7/include/Main.awk2015-06-08 
09:08:47.0 +0200
+++ new/translate-shell-0.9.0.8/include/Main.awk2015-09-01 
12:39:04.0 +0200
@@ -44,7 +44,7 @@
 
 # Networking
 Option["proxy"] = ENVIRON["HTTP_PROXY"] ? ENVIRON["HTTP_PROXY"] : 
ENVIRON["http_proxy"]
-Option["user-agent"] = ENVIRON["USER_AGENT"]
+Option["user-agent"] = ENVIRON["USER_AGENT"] ? ENVIRON["USER_AGENT"] : 
"Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0"
 
 # Interactive shell
 Option["no-rlwrap"] = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.7/include/Translate.awk 
new/translate-shell-0.9.0.8/include/Translate.awk
--- old/translate-shell-0.9.0.7/include/Translate.awk   2015-06-08 
09:08:47.0 +0200
+++ new/translate-shell-0.9.0.8/include/Translate.awk   2015-09-01 
12:39:04.0 +0200
@@ -92,7 +92,7 @@
 
 # Play using Google Text-to-Speech engine.
 function play(text, tl,url) {
-url = HttpProtocol HttpHost "/translate_tts?ie=UTF-8"   \
+url = HttpProtocol HttpHost "/translate_tts?ie=UTF-8&client=t" \
 "&tl=" tl "&q=" preprocess(text)
 
 # Don't use getline from pipe here - the same pipe will be run only once 
for each AWK script!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/translate-shell-0.9.0.7/man/trans.1 
new/translate-shell-0.9.0.8/man/trans.1
--- old/translate-shell-0.9.0.7/man/trans.1 2015-06-08 09:08:47.0 
+0200
+++ new/translate-shell-0.9.0.8/man/trans.1 2015-09-01 12:39:04.0 
+0200
@@ -1,4 +1,4 @@
-.TH "TRANS" "1" "2015\-06\