Hello community,
here is the log from the commit of package nfoview for openSUSE:Factory checked in at 2018-10-01 08:17:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfoview (Old)
and /work/SRC/openSUSE:Factory/.nfoview.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nfoview"
Mon Oct 1 08:17:32 2018 rev:3 rq:638711 version:1.24
Changes:
--------
--- /work/SRC/openSUSE:Factory/nfoview/nfoview.changes 2017-11-13 14:07:19.159160896 +0100
+++ /work/SRC/openSUSE:Factory/.nfoview.new/nfoview.changes 2018-10-01 08:17:41.977957039 +0200
@@ -1,0 +2,8 @@
+Wed Sep 26 18:06:53 UTC 2018 - Bernhard Wiedemann
+
+- Update to version 1.24:
+ * Avoid error output if not using header bars
+ * Set program name
+ * Sort input file list to make build reproducible (boo#1041090)
+
+-------------------------------------------------------------------
Old:
----
nfoview-1.23.tar.gz
New:
----
nfoview-1.24.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nfoview.spec ++++++
--- /var/tmp/diff_new_pack.eEHjcP/_old 2018-10-01 08:17:42.553956670 +0200
+++ /var/tmp/diff_new_pack.eEHjcP/_new 2018-10-01 08:17:42.553956670 +0200
@@ -17,7 +17,7 @@
Name: nfoview
-Version: 1.23
+Version: 1.24
Release: 0
Summary: Simple Viewer for NFO Files
License: GPL-3.0+
++++++ nfoview-1.23.tar.gz -> nfoview-1.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/INSTALL.md new/nfoview-1.24/INSTALL.md
--- old/nfoview-1.23/INSTALL.md 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/INSTALL.md 1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-Installation
-============
-
-To install, run command
-
- python3 setup.py install [--prefix=...]
-
-In addition to Python, you'll need gettext.
-
-Uninstallation
-==============
-
-To uninstall, remove files and directories
-
- .../bin/nfoview
- .../lib/python3.*/dist-packages/nfoview*
- .../lib/python3.*/site-packages/nfoview*
- .../share/applications/nfoview.desktop
- .../share/icons/hicolor/*/apps/nfoview.*
- .../share/locale/*/LC_MESSAGES/nfoview.mo
- .../share/man/man1/nfoview.1
- .../share/metainfo/nfoview.appdata.xml
- .../share/nfoview/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/NEWS.md new/nfoview-1.24/NEWS.md
--- old/nfoview-1.23/NEWS.md 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/NEWS.md 2018-04-22 18:21:57.000000000 +0200
@@ -1,3 +1,9 @@
+2018-04-22: NFO Viewer 1.24
+===========================
+
+* Fix possibly missing icon in GNOME shell on Wayland
+* Update translations
+
2017-11-06: NFO Viewer 1.23
===========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/README.md new/nfoview-1.24/README.md
--- old/nfoview-1.23/README.md 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/README.md 2018-04-22 18:21:57.000000000 +0200
@@ -2,41 +2,39 @@
==========
[![Build Status](https://travis-ci.org/otsaloma/nfoview.svg)](https://travis-ci.org/otsaloma/nfoview)
+[![Packages](https://repology.org/badge/tiny-repos/nfoview.svg)](https://repology.org/metapackage/nfoview)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/otsaloma/nfoview)
[![Donate](https://img.shields.io/badge/donate-paypal.me-blue.svg)](https://www.paypal.me/otsaloma)
-[![Downloads](https://img.shields.io/github/downloads/otsaloma/nfoview/total.svg)](https://github.com/otsaloma/nfoview/releases)
-[![Downloads](https://img.shields.io/github/downloads/otsaloma/nfoview/latest/total.svg)](https://github.com/otsaloma/nfoview/releases/latest)
NFO Viewer is a simple viewer for NFO files, which are "ASCII" art in
the CP437 codepage. The advantages of using NFO Viewer instead of a text
editor are preset font and encoding settings, automatic window size and
clickable hyperlinks.
-NFO Viewer is free software released under the GNU General Public
-License (GPL), see the file [`COPYING`](COPYING) for details.
+## Installing
-Dependencies
-============
+### Linux
-NFO Viewer requires [Python][1] 3.2 or greater, [PyGObject][2] 3.0.0 or
-greater and [GTK+][3] 3.12 or greater. [Terminus font][4] is recommended
-and used by default.
-
-[1]: http://www.python.org/
-[2]: http://wiki.gnome.org/Projects/PyGObject
-[3]: http://www.gtk.org/
-[4]: http://terminus-font.sourceforge.net/
-
-Terminus font is used by default because it renders drawing characters
-taller than text characters. You can use any other fixed width font that
-has support for the necessary CP437 drawing characters (e.g. DejaVu Sans
-Mono), but with them you need to decrease the line-spacing (to a
-negative value that depends on the font and font size) in order to
-remove blank space between adjacent lines of drawing characters.
-
-Running
-=======
-
-To try NFO Viewer from the source directory without installation, use
-command `bin/nfoview`. For installing NFO Viewer, see the file
-[`INSTALL.md`](INSTALL.md).
+NFO Viewer is packaged for most of the popular [distros][packages], so
+easiest is to install via your distro's package management. If you need
+a newer version than packaged, read on.
+
+NFO Viewer requires Python ≥ 3.2, PyGObject ≥ 3.0.0 and GTK+ ≥ 3.12.
+Additionally, during installation you need gettext. On Debian/Ubuntu you
+can install these with the following command.
+
+ sudo apt install python3 python3-gi gir1.2-gtk-3.0 gettext
+
+Then, to install NFO Viewer, run command
+
+ sudo python3 setup.py install --prefix=/usr/local
+
+[packages]: https://repology.org/metapackage/nfoview
+
+### Windows
+
+See the [releases page][releases] for installers. Note that Windows
+packaging will sometimes be a bit behind and might sometimes skip a
+version, so you might need to look further than the latest release.
+
+[releases]: https://github.com/otsaloma/nfoview/releases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/RELEASING.md new/nfoview-1.24/RELEASING.md
--- old/nfoview-1.23/RELEASING.md 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/RELEASING.md 2018-04-22 18:21:57.000000000 +0200
@@ -7,11 +7,13 @@
msgmerge -UN po/fi.po po/nfoview.pot
emacs po/fi.po
tx push -s
-tx push -tf -l fi
+tx push -tf --no-interactive -l fi
tx pull -a --minimum-perc=75
+sed -i "s/charset=CHARSET/charset=UTF-8/" po/*.po
tools/check-translations
tools/check-translations | grep %
-git commit -a -m "Update translations"
+git add po/*.po po/*.pot; git status
+git commit -m "Update translations"
# Check, test, do final edits and release.
python3 -Wd bin/nfoview
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/nfoview/__init__.py new/nfoview-1.24/nfoview/__init__.py
--- old/nfoview-1.23/nfoview/__init__.py 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/nfoview/__init__.py 2018-04-22 18:21:57.000000000 +0200
@@ -17,7 +17,7 @@
"""Viewer for NFO files."""
-__version__ = "1.23"
+__version__ = "1.24"
import sys
import warnings
@@ -31,28 +31,59 @@
gi.require_version("Gdk", "3.0")
gi.require_version("Gtk", "3.0")
-from nfoview.paths import *
+from gi.repository import GLib
+
+from nfoview.paths import CONFIG_HOME_DIR
+from nfoview.paths import DATA_DIR
+from nfoview.paths import LOCALE_DIR
from nfoview import util
from nfoview import i18n
-from nfoview.errors import *
-from nfoview.config import *
+from nfoview.errors import AffirmationError
+from nfoview.config import ConfigurationStore
conf = ConfigurationStore(read=True)
from nfoview import schemes
-from nfoview.builder import *
-from nfoview.about import *
-from nfoview.open import *
-from nfoview.preferences import *
-from nfoview.export import *
-from nfoview.view import *
-from nfoview.action import *
+from nfoview.builder import BuilderDialog
+from nfoview.about import AboutDialog
+from nfoview.open import OpenDialog
+from nfoview.preferences import PreferencesDialog
+from nfoview.export import ExportImageDialog
+from nfoview.view import TextView
+from nfoview.action import Action
+from nfoview.action import ToggleAction
from nfoview import actions
-from nfoview.window import *
-from nfoview.application import *
-from nfoview.unittest import *
+from nfoview.window import Window
+from nfoview.application import Application
+from nfoview.unittest import TestCase
+
+assert AboutDialog
+assert Action
+assert actions
+assert AffirmationError
+assert Application
+assert BuilderDialog
+assert CONFIG_HOME_DIR
+assert ConfigurationStore
+assert DATA_DIR
+assert ExportImageDialog
+assert i18n
+assert LOCALE_DIR
+assert OpenDialog
+assert PreferencesDialog
+assert schemes
+assert TestCase
+assert TextView
+assert ToggleAction
+assert util
+assert Window
def main(paths):
"""Initialize application."""
global app
+ # Needed to see application icon on Wayland, while we don't yet
+ # use the reverse domain application ID with Gtk.Application.
+ # https://wiki.gnome.org/Projects/GnomeShell/ApplicationBased
+ # https://github.com/otsaloma/gaupol/issues/62
+ GLib.set_prgname("nfoview")
i18n.bind()
app = Application(paths)
raise SystemExit(app.run())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/nfoview/about.py new/nfoview-1.24/nfoview/about.py
--- old/nfoview-1.23/nfoview/about.py 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/nfoview/about.py 2018-04-22 18:21:57.000000000 +0200
@@ -37,7 +37,7 @@
self.set_transient_for(parent)
self.set_authors(("Osmo Salomaa ",))
self.set_comments(_("Viewer for NFO files"))
- self.set_copyright("Copyright © 2005–2017 Osmo Salomaa")
+ self.set_copyright("Copyright © 2005–2018 Osmo Salomaa")
self.set_license_type(Gtk.License.GPL_3_0)
self.set_logo_icon_name("nfoview")
# TRANSLATORS: The application name "NFO Viewer" has been intentionally
@@ -64,5 +64,7 @@
button.set_uri("https://www.paypal.me/otsaloma")
button.show()
box.pack_start(button, expand=False, fill=False, padding=0)
- switcher = self.get_header_bar().get_children()[0]
- switcher.get_children()[0].grab_focus()
+ header = self.get_header_bar()
+ if header is not None:
+ switcher = header.get_children()[0]
+ switcher.get_children()[0].grab_focus()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/nfoview/schemes.py new/nfoview-1.24/nfoview/schemes.py
--- old/nfoview-1.23/nfoview/schemes.py 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/nfoview/schemes.py 2018-04-22 18:21:57.000000000 +0200
@@ -84,8 +84,8 @@
"""Color scheme with system default colors."""
- # http://git.gnome.org/browse/gtk+/tree/gtk/theme/Adwaita/_colors-public.scss
- # http://git.gnome.org/browse/gtk+/tree/gtk/theme/Adwaita/gtk-contained.css
+ # https://gitlab.gnome.org/GNOME/gtk/blob/master/gtk/theme/Adwaita/_colors-pub...
+ # https://gitlab.gnome.org/GNOME/gtk/blob/master/gtk/theme/Adwaita/gtk-contain...
name = "default"
label = _("System theme")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/nfoview/unittest.py new/nfoview-1.24/nfoview/unittest.py
--- old/nfoview-1.23/nfoview/unittest.py 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/nfoview/unittest.py 2018-04-22 18:21:57.000000000 +0200
@@ -34,9 +34,8 @@
function(*args, **kwargs)
except exception:
return
- raise AssertionError("{} failed to raise {}"
- .format(repr(function),
- repr(exception)))
+ raise AssertionError("{} failed to raise {}".format(
+ repr(function), repr(exception)))
def new_nfo_file(self):
"""Return path to a new temporary NFO file."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/br.po new/nfoview-1.24/po/br.po
--- old/nfoview-1.23/po/br.po 1970-01-01 01:00:00.000000000 +0100
+++ new/nfoview-1.24/po/br.po 2018-04-22 18:21:57.000000000 +0200
@@ -0,0 +1,207 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Translators:
+# Irriep Nala Novram , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: nfoview\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2017-12-15 16:09+0000\n"
+"Last-Translator: Irriep Nala Novram \n"
+"Language-Team: Breton (http://www.transifex.com/otsaloma/nfoview/language/br/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: br\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#: nfoview/about.py:36
+msgid "About NFO Viewer"
+msgstr "Diwar-benn NFO Gweler"
+
+#: nfoview/about.py:39
+msgid "Viewer for NFO files"
+msgstr "Gweler evit ar restroù NFO"
+
+#. TRANSLATORS: The application name "NFO Viewer" has been intentionally
+#. marked as translatable. If you manage to translate the name in a
+#. fluent manner, without changing the meaning, you may use that
+#. translation at your discretion.
+#: nfoview/about.py:47 nfoview/window.py:93 data/nfoview.desktop.in:3
+msgid "NFO Viewer"
+msgstr "NFO Viewer"
+
+#. TRANSLATORS: This is a special message that shouldn't be translated
+#. literally. It is used in the about dialog to give credits to the
+#. translators. Thus, you should translate it to your name and email
+#. address. You can also include other translators who have contributed
+#. to this translation; in that case, please write them on separate
+#. lines seperated by newlines (\n).
+#: nfoview/about.py:54
+msgid "translator-credits"
+msgstr "Kreditoù an droerien"
+
+#: nfoview/about.py:57
+msgid "NFO Viewer Website"
+msgstr "Lec'hienn internet NFO Viewer"
+
+#: nfoview/about.py:63
+msgid "Donate"
+msgstr "Reiñ arc'hant"
+
+#: nfoview/export.py:34
+msgid "Export Image"
+msgstr "Ezporzhiañ ar skeudenn"
+
+#: nfoview/export.py:37 nfoview/open.py:37
+msgid "_Cancel"
+msgstr "_Nullañ"
+
+#: nfoview/export.py:38
+msgid "_Save"
+msgstr "_Enrollañ"
+
+#: nfoview/open.py:34
+msgid "Open"
+msgstr "Digeriñ"
+
+#: nfoview/open.py:38
+msgid "_Open"
+msgstr "_Digeriñ"
+
+#: nfoview/open.py:42
+msgid "All files"
+msgstr "An holl restroù"
+
+#: nfoview/open.py:46
+msgid "NFO files (*.nfo)"
+msgstr "Restroù NFO (*.nfo)"
+
+#: nfoview/schemes.py:52
+msgid "Black on white"
+msgstr "Du pe wenn"
+
+#: nfoview/schemes.py:64
+msgid "Custom"
+msgstr "Personelaat"
+
+#: nfoview/schemes.py:76
+msgid "Dark grey on light grey"
+msgstr "Gris teñval pe gris sklaer"
+
+#: nfoview/schemes.py:91
+msgid "System theme"
+msgstr "Tem ar sistem"
+
+#: nfoview/schemes.py:103
+msgid "Grey on black"
+msgstr "Gris war du"
+
+#: nfoview/schemes.py:115
+msgid "Light grey on dark grey"
+msgstr "Gris sklaer war gris teñval"
+
+#: nfoview/schemes.py:127
+msgid "White on black"
+msgstr "Gwenn war du"
+
+#: data/menu.ui:6
+msgid "_Open…"
+msgstr "_Digeriñ..."
+
+#: data/menu.ui:10
+msgid "_Export Image…"
+msgstr "_Ezporzhiañ ar skeudenn..."
+
+#: data/menu.ui:16
+msgid "C_opy"
+msgstr "E_ilañ"
+
+#: data/menu.ui:20
+msgid "_Select All"
+msgstr "_Diuziñ an holl"
+
+#: data/menu.ui:24
+msgid "_Wrap Lines"
+msgstr " _Bevenniñ hirder al linennoù"
+
+#: data/menu.ui:30
+msgid "_Preferences"
+msgstr "_Arventennoù"
+
+#: data/menu.ui:34
+msgid "_About"
+msgstr "_Diwar-benn"
+
+#: data/menu.ui:40
+msgid "_Close"
+msgstr "_Serriñ"
+
+#: data/menu.ui:44
+msgid "_Quit"
+msgstr "_Kuitaat"
+
+#: data/preferences-dialog.ui:51
+msgid "Text"
+msgstr "Testenn"
+
+#: data/preferences-dialog.ui:75
+msgid "_Font:"
+msgstr "_Font:"
+
+#: data/preferences-dialog.ui:89
+msgid "Li_ne-spacing:"
+msgstr "Etrelinenn:"
+
+#: data/preferences-dialog.ui:153
+msgid "Colors"
+msgstr "Livioù"
+
+#: data/preferences-dialog.ui:176
+msgid "_Schemes:"
+msgstr "_Chemaioù:"
+
+#: data/preferences-dialog.ui:190
+msgid "Fo_reground:"
+msgstr "_Rak-leur:"
+
+#: data/preferences-dialog.ui:204
+msgid "Bac_kground:"
+msgstr "Dre_k-leur:"
+
+#: data/preferences-dialog.ui:218
+msgid "_Link:"
+msgstr "_Liamm:"
+
+#: data/preferences-dialog.ui:232
+msgid "_Visited link:"
+msgstr "Liamm _gweladennet:"
+
+#: data/preferences-dialog.ui:332
+msgid "Preferences"
+msgstr "Arventennoù"
+
+#: data/nfoview.appdata.xml.in:9
+msgid ""
+"NFO Viewer is a simple viewer for NFO files, which are \"ASCII\" art in the "
+"CP437 codepage. The advantages of using NFO Viewer instead of a text editor "
+"are preset font and encoding settings, automatic window size and clickable "
+"hyperlinks."
+msgstr "NFO Viewer a zo ur welerezh eeun evit ar restroù NFO hag a zo an arz « ASCII » graet en ur ober gant ar bajenn god 437. Spletustoù NFO Viewer e-lerc'h un embanner testennoù a zo an enkodiñ arventennoù hag ar polisoù skrivañ raktermenet, an em-ventañ prinistri hag al liammoù klikus."
+
+#: data/nfoview.appdata.xml.in:17
+msgid "Main window"
+msgstr "Prenestr pennañ"
+
+#: data/nfoview.desktop.in:4
+msgid "View NFO files"
+msgstr "Gwelet ar restroù NFO"
+
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or
+#. localize the semicolons! The list MUST also end with a semicolon!
+#: data/nfoview.desktop.in:6
+msgid "information;"
+msgstr "titouroù;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/cs.po new/nfoview-1.24/po/cs.po
--- old/nfoview-1.23/po/cs.po 1970-01-01 01:00:00.000000000 +0100
+++ new/nfoview-1.24/po/cs.po 2018-04-22 18:21:57.000000000 +0200
@@ -0,0 +1,207 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Translators:
+# Roman Horník , 2018
+msgid ""
+msgstr ""
+"Project-Id-Version: nfoview\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2018-01-06 23:24+0000\n"
+"Last-Translator: Roman Horník \n"
+"Language-Team: Czech (http://www.transifex.com/otsaloma/nfoview/language/cs/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: cs\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#: nfoview/about.py:36
+msgid "About NFO Viewer"
+msgstr "O Prohlížeči NFO"
+
+#: nfoview/about.py:39
+msgid "Viewer for NFO files"
+msgstr "Prohlížeč NFO souborů"
+
+#. TRANSLATORS: The application name "NFO Viewer" has been intentionally
+#. marked as translatable. If you manage to translate the name in a
+#. fluent manner, without changing the meaning, you may use that
+#. translation at your discretion.
+#: nfoview/about.py:47 nfoview/window.py:93 data/nfoview.desktop.in:3
+msgid "NFO Viewer"
+msgstr "Prohlížeč NFO"
+
+#. TRANSLATORS: This is a special message that shouldn't be translated
+#. literally. It is used in the about dialog to give credits to the
+#. translators. Thus, you should translate it to your name and email
+#. address. You can also include other translators who have contributed
+#. to this translation; in that case, please write them on separate
+#. lines seperated by newlines (\n).
+#: nfoview/about.py:54
+msgid "translator-credits"
+msgstr "překladatelé"
+
+#: nfoview/about.py:57
+msgid "NFO Viewer Website"
+msgstr "Webové stránky Prohlížeče NFO"
+
+#: nfoview/about.py:63
+msgid "Donate"
+msgstr "Darujte"
+
+#: nfoview/export.py:34
+msgid "Export Image"
+msgstr "Exportovat obrázek"
+
+#: nfoview/export.py:37 nfoview/open.py:37
+msgid "_Cancel"
+msgstr "_Zrušit"
+
+#: nfoview/export.py:38
+msgid "_Save"
+msgstr "_Uložit"
+
+#: nfoview/open.py:34
+msgid "Open"
+msgstr "Otevřít"
+
+#: nfoview/open.py:38
+msgid "_Open"
+msgstr "_Otevřít"
+
+#: nfoview/open.py:42
+msgid "All files"
+msgstr "Všechny soubory"
+
+#: nfoview/open.py:46
+msgid "NFO files (*.nfo)"
+msgstr "Soubory NFO (*.nfo)"
+
+#: nfoview/schemes.py:52
+msgid "Black on white"
+msgstr "Černá na bílém"
+
+#: nfoview/schemes.py:64
+msgid "Custom"
+msgstr "Vlastní"
+
+#: nfoview/schemes.py:76
+msgid "Dark grey on light grey"
+msgstr "Tmavě šedá na světle šedé"
+
+#: nfoview/schemes.py:91
+msgid "System theme"
+msgstr "Systémový motiv"
+
+#: nfoview/schemes.py:103
+msgid "Grey on black"
+msgstr "Šedá na černém"
+
+#: nfoview/schemes.py:115
+msgid "Light grey on dark grey"
+msgstr "Světle šedá na tmavě šedém"
+
+#: nfoview/schemes.py:127
+msgid "White on black"
+msgstr "Bílá na černém"
+
+#: data/menu.ui:6
+msgid "_Open…"
+msgstr "_Otevřít…"
+
+#: data/menu.ui:10
+msgid "_Export Image…"
+msgstr "_Exportovat obrázek…"
+
+#: data/menu.ui:16
+msgid "C_opy"
+msgstr "_Kopírovat"
+
+#: data/menu.ui:20
+msgid "_Select All"
+msgstr "_Vybrat vše"
+
+#: data/menu.ui:24
+msgid "_Wrap Lines"
+msgstr "Za_lamování řádků"
+
+#: data/menu.ui:30
+msgid "_Preferences"
+msgstr "_Volby"
+
+#: data/menu.ui:34
+msgid "_About"
+msgstr "_O programu"
+
+#: data/menu.ui:40
+msgid "_Close"
+msgstr "_Zavřít"
+
+#: data/menu.ui:44
+msgid "_Quit"
+msgstr "_Ukončit"
+
+#: data/preferences-dialog.ui:51
+msgid "Text"
+msgstr "Text"
+
+#: data/preferences-dialog.ui:75
+msgid "_Font:"
+msgstr "Řez _písma:"
+
+#: data/preferences-dialog.ui:89
+msgid "Li_ne-spacing:"
+msgstr "O_dřádkování:"
+
+#: data/preferences-dialog.ui:153
+msgid "Colors"
+msgstr "Barvy"
+
+#: data/preferences-dialog.ui:176
+msgid "_Schemes:"
+msgstr "_Schémata:"
+
+#: data/preferences-dialog.ui:190
+msgid "Fo_reground:"
+msgstr "_Popředí:"
+
+#: data/preferences-dialog.ui:204
+msgid "Bac_kground:"
+msgstr "Po_zadí:"
+
+#: data/preferences-dialog.ui:218
+msgid "_Link:"
+msgstr "O_dkaz:"
+
+#: data/preferences-dialog.ui:232
+msgid "_Visited link:"
+msgstr "_Navštívený odkaz:"
+
+#: data/preferences-dialog.ui:332
+msgid "Preferences"
+msgstr "Volby"
+
+#: data/nfoview.appdata.xml.in:9
+msgid ""
+"NFO Viewer is a simple viewer for NFO files, which are \"ASCII\" art in the "
+"CP437 codepage. The advantages of using NFO Viewer instead of a text editor "
+"are preset font and encoding settings, automatic window size and clickable "
+"hyperlinks."
+msgstr "Prohlížeč NFO je jednoduchý prohlížeč NFO souborů, které jsou \"ASCII\" uměním v kódování CP437. Výhodami použití Prohlížeče NFO namísto textového editoru jsou přítomnost nastavení řezu písma a kódování, automatická změna velikosti okna a klikatelné odkazy."
+
+#: data/nfoview.appdata.xml.in:17
+msgid "Main window"
+msgstr "Hlavní okno"
+
+#: data/nfoview.desktop.in:4
+msgid "View NFO files"
+msgstr "Zobrazit NFO soubory"
+
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or
+#. localize the semicolons! The list MUST also end with a semicolon!
+#: data/nfoview.desktop.in:6
+msgid "information;"
+msgstr "informace:"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/es_ES.po new/nfoview-1.24/po/es_ES.po
--- old/nfoview-1.23/po/es_ES.po 1970-01-01 01:00:00.000000000 +0100
+++ new/nfoview-1.24/po/es_ES.po 2018-04-22 18:21:57.000000000 +0200
@@ -0,0 +1,207 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Translators:
+# Xoan Sampaiño , 2018
+msgid ""
+msgstr ""
+"Project-Id-Version: nfoview\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2018-01-21 16:05+0000\n"
+"Last-Translator: Xoan Sampaiño \n"
+"Language-Team: Spanish (Spain) (http://www.transifex.com/otsaloma/nfoview/language/es_ES/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: es_ES\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: nfoview/about.py:36
+msgid "About NFO Viewer"
+msgstr "Acerca de NFO Viewer"
+
+#: nfoview/about.py:39
+msgid "Viewer for NFO files"
+msgstr "Visor de archivos NFO"
+
+#. TRANSLATORS: The application name "NFO Viewer" has been intentionally
+#. marked as translatable. If you manage to translate the name in a
+#. fluent manner, without changing the meaning, you may use that
+#. translation at your discretion.
+#: nfoview/about.py:47 nfoview/window.py:93 data/nfoview.desktop.in:3
+msgid "NFO Viewer"
+msgstr "NFO Viewer"
+
+#. TRANSLATORS: This is a special message that shouldn't be translated
+#. literally. It is used in the about dialog to give credits to the
+#. translators. Thus, you should translate it to your name and email
+#. address. You can also include other translators who have contributed
+#. to this translation; in that case, please write them on separate
+#. lines seperated by newlines (\n).
+#: nfoview/about.py:54
+msgid "translator-credits"
+msgstr "Xoán Sampaíño "
+
+#: nfoview/about.py:57
+msgid "NFO Viewer Website"
+msgstr "Sitio web"
+
+#: nfoview/about.py:63
+msgid "Donate"
+msgstr "Donar"
+
+#: nfoview/export.py:34
+msgid "Export Image"
+msgstr "Exportar imagen"
+
+#: nfoview/export.py:37 nfoview/open.py:37
+msgid "_Cancel"
+msgstr "_Cancelar"
+
+#: nfoview/export.py:38
+msgid "_Save"
+msgstr "_Guardar"
+
+#: nfoview/open.py:34
+msgid "Open"
+msgstr "Abrir"
+
+#: nfoview/open.py:38
+msgid "_Open"
+msgstr "_Abrir"
+
+#: nfoview/open.py:42
+msgid "All files"
+msgstr "Todos los archivos"
+
+#: nfoview/open.py:46
+msgid "NFO files (*.nfo)"
+msgstr "Archivos NFO (*.nfo)"
+
+#: nfoview/schemes.py:52
+msgid "Black on white"
+msgstr "Negro sobre blanco"
+
+#: nfoview/schemes.py:64
+msgid "Custom"
+msgstr "Personalizado"
+
+#: nfoview/schemes.py:76
+msgid "Dark grey on light grey"
+msgstr "Gris oscuro sobre gris claro"
+
+#: nfoview/schemes.py:91
+msgid "System theme"
+msgstr "Colores del sistema"
+
+#: nfoview/schemes.py:103
+msgid "Grey on black"
+msgstr "Gris sobre negro"
+
+#: nfoview/schemes.py:115
+msgid "Light grey on dark grey"
+msgstr "Gris claro sobre gris oscuro"
+
+#: nfoview/schemes.py:127
+msgid "White on black"
+msgstr "Blanco sobre negro"
+
+#: data/menu.ui:6
+msgid "_Open…"
+msgstr "_Abrir…"
+
+#: data/menu.ui:10
+msgid "_Export Image…"
+msgstr "_Exportar imagen…"
+
+#: data/menu.ui:16
+msgid "C_opy"
+msgstr "C_opiar"
+
+#: data/menu.ui:20
+msgid "_Select All"
+msgstr "_Seleccionar todo"
+
+#: data/menu.ui:24
+msgid "_Wrap Lines"
+msgstr "A_justar líneas"
+
+#: data/menu.ui:30
+msgid "_Preferences"
+msgstr "_Preferencias"
+
+#: data/menu.ui:34
+msgid "_About"
+msgstr "A_cerca de"
+
+#: data/menu.ui:40
+msgid "_Close"
+msgstr "_Cerrar"
+
+#: data/menu.ui:44
+msgid "_Quit"
+msgstr "_Salir"
+
+#: data/preferences-dialog.ui:51
+msgid "Text"
+msgstr "Texto"
+
+#: data/preferences-dialog.ui:75
+msgid "_Font:"
+msgstr "_Tipo de letra:"
+
+#: data/preferences-dialog.ui:89
+msgid "Li_ne-spacing:"
+msgstr "Inter_lineado"
+
+#: data/preferences-dialog.ui:153
+msgid "Colors"
+msgstr "Colores"
+
+#: data/preferences-dialog.ui:176
+msgid "_Schemes:"
+msgstr "_Esquema"
+
+#: data/preferences-dialog.ui:190
+msgid "Fo_reground:"
+msgstr "_Primer plano:"
+
+#: data/preferences-dialog.ui:204
+msgid "Bac_kground:"
+msgstr "_Segundo plano:"
+
+#: data/preferences-dialog.ui:218
+msgid "_Link:"
+msgstr "_Enlace"
+
+#: data/preferences-dialog.ui:232
+msgid "_Visited link:"
+msgstr "Enlace _visitado:"
+
+#: data/preferences-dialog.ui:332
+msgid "Preferences"
+msgstr "Preferencias"
+
+#: data/nfoview.appdata.xml.in:9
+msgid ""
+"NFO Viewer is a simple viewer for NFO files, which are \"ASCII\" art in the "
+"CP437 codepage. The advantages of using NFO Viewer instead of a text editor "
+"are preset font and encoding settings, automatic window size and clickable "
+"hyperlinks."
+msgstr "NFO Viewer es un visor sencillo de archivos NFO, que son arte «ASCII» en la página de códigos CP437. Las ventajas de utilizar NFO Viewer en lugar de un editor de texto son la configuración predeterminada de fuente y codificación, el tamaño de ventana automático y los hipervínculos seleccionables."
+
+#: data/nfoview.appdata.xml.in:17
+msgid "Main window"
+msgstr "Ventana principal"
+
+#: data/nfoview.desktop.in:4
+msgid "View NFO files"
+msgstr "Ver archivos NFO"
+
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or
+#. localize the semicolons! The list MUST also end with a semicolon!
+#: data/nfoview.desktop.in:6
+msgid "information;"
+msgstr "información;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/fi.po new/nfoview-1.24/po/fi.po
--- old/nfoview-1.23/po/fi.po 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/po/fi.po 2018-04-22 18:21:57.000000000 +0200
@@ -1,21 +1,22 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
-#
+#
# Translators:
# Osmo Salomaa , 2015-2016
msgid ""
msgstr ""
"Project-Id-Version: nfoview\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-11-06 23:29+0200\n"
-"PO-Revision-Date: 2017-11-06 21:31+0000\n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2018-04-22 19:15+0300\n"
"Last-Translator: Osmo Salomaa \n"
-"Language-Team: Finnish (http://www.transifex.com/otsaloma/nfoview/language/fi/)\n"
+"Language-Team: Finnish (http://www.transifex.com/otsaloma/nfoview/language/"
+"fi/)\n"
+"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: fi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: nfoview/about.py:36
@@ -190,7 +191,12 @@
"CP437 codepage. The advantages of using NFO Viewer instead of a text editor "
"are preset font and encoding settings, automatic window size and clickable "
"hyperlinks."
-msgstr "NFO-katselin on yksinkertainen katselin NFO-tiedostoille, jotka ovat \"ASCII\"-taidetta CP437-merkistökoodauksella. NFO-katselimen käytön edut tekstieditoriin nähden ovat esiasetetut kirjasin- ja merkistökoodausasetukset, automaattinen ikkunan koko ja napsautettavat hyperlinkit."
+msgstr ""
+"NFO-katselin on yksinkertainen katselin NFO-tiedostoille, jotka ovat \"ASCII"
+"\"-taidetta CP437-merkistökoodauksella. NFO-katselimen käytön edut "
+"tekstieditoriin nähden ovat esiasetetut kirjasin- ja "
+"merkistökoodausasetukset, automaattinen ikkunan koko ja napsautettavat "
+"hyperlinkit."
#: data/nfoview.appdata.xml.in:17
msgid "Main window"
@@ -200,6 +206,7 @@
msgid "View NFO files"
msgstr "Katsele NFO-tiedostoja"
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
#: data/nfoview.desktop.in:6
msgid "information;"
msgstr "tietoja;informaatio;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/nfoview.pot new/nfoview-1.24/po/nfoview.pot
--- old/nfoview-1.23/po/nfoview.pot 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/po/nfoview.pot 2018-04-22 18:21:57.000000000 +0200
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-11-06 23:29+0200\n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -199,6 +199,7 @@
msgid "View NFO files"
msgstr ""
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
#: data/nfoview.desktop.in:6
msgid "information;"
msgstr ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/pl.po new/nfoview-1.24/po/pl.po
--- old/nfoview-1.23/po/pl.po 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/po/pl.po 2018-04-22 18:21:57.000000000 +0200
@@ -3,14 +3,14 @@
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
-# Piotr Drąg , 2009,2014-2016
+# Piotr Drąg , 2009,2014-2016,2018
msgid ""
msgstr ""
"Project-Id-Version: nfoview\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-11-06 23:29+0200\n"
-"PO-Revision-Date: 2017-11-06 21:30+0000\n"
-"Last-Translator: Osmo Salomaa \n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2018-02-16 15:18+0000\n"
+"Last-Translator: Piotr Drąg \n"
"Language-Team: Polish (http://www.transifex.com/otsaloma/nfoview/language/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -42,7 +42,7 @@
#. lines seperated by newlines (\n).
#: nfoview/about.py:54
msgid "translator-credits"
-msgstr "Piotr Drąg , 2009, 2014-2016"
+msgstr "Piotr Drąg , 2009, 2014-2016, 2018"
#: nfoview/about.py:57
msgid "NFO Viewer Website"
@@ -50,7 +50,7 @@
#: nfoview/about.py:63
msgid "Donate"
-msgstr ""
+msgstr "Wsparcie finansowe"
#: nfoview/export.py:34
msgid "Export Image"
@@ -200,6 +200,8 @@
msgid "View NFO files"
msgstr "Wyświetlanie plików NFO"
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or
+#. localize the semicolons! The list MUST also end with a semicolon!
#: data/nfoview.desktop.in:6
msgid "information;"
msgstr "informacje;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/pt_PT.po new/nfoview-1.24/po/pt_PT.po
--- old/nfoview-1.23/po/pt_PT.po 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/po/pt_PT.po 2018-04-22 18:21:57.000000000 +0200
@@ -3,14 +3,14 @@
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
-# Pedro Albuquerque , 2015-2016
+# Pedro Albuquerque , 2015-2017
msgid ""
msgstr ""
"Project-Id-Version: nfoview\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-11-06 23:29+0200\n"
-"PO-Revision-Date: 2017-11-06 21:30+0000\n"
-"Last-Translator: Osmo Salomaa \n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2017-11-07 06:18+0000\n"
+"Last-Translator: Pedro Albuquerque \n"
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/otsaloma/nfoview/language/pt_PT/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -50,7 +50,7 @@
#: nfoview/about.py:63
msgid "Donate"
-msgstr ""
+msgstr "Doar"
#: nfoview/export.py:34
msgid "Export Image"
@@ -200,6 +200,8 @@
msgid "View NFO files"
msgstr "Ver ficheiro NFO"
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or
+#. localize the semicolons! The list MUST also end with a semicolon!
#: data/nfoview.desktop.in:6
msgid "information;"
msgstr "informação;nfo;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/sv.po new/nfoview-1.24/po/sv.po
--- old/nfoview-1.23/po/sv.po 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/po/sv.po 2018-04-22 18:21:57.000000000 +0200
@@ -8,9 +8,9 @@
msgstr ""
"Project-Id-Version: nfoview\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-11-06 23:29+0200\n"
-"PO-Revision-Date: 2017-11-06 21:30+0000\n"
-"Last-Translator: Osmo Salomaa \n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2017-11-07 04:28+0000\n"
+"Last-Translator: Åke Engelbrektson\n"
"Language-Team: Swedish (http://www.transifex.com/otsaloma/nfoview/language/sv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -50,7 +50,7 @@
#: nfoview/about.py:63
msgid "Donate"
-msgstr ""
+msgstr "Donera"
#: nfoview/export.py:34
msgid "Export Image"
@@ -200,6 +200,8 @@
msgid "View NFO files"
msgstr "Visa NFO-filer"
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or
+#. localize the semicolons! The list MUST also end with a semicolon!
#: data/nfoview.desktop.in:6
msgid "information;"
msgstr "information;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/po/tr.po new/nfoview-1.24/po/tr.po
--- old/nfoview-1.23/po/tr.po 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/po/tr.po 2018-04-22 18:21:57.000000000 +0200
@@ -4,14 +4,14 @@
#
# Translators:
# mauron, 2015
-# mauron, 2015-2016
+# mauron, 2015-2017
msgid ""
msgstr ""
"Project-Id-Version: nfoview\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-11-06 23:29+0200\n"
-"PO-Revision-Date: 2017-11-06 21:30+0000\n"
-"Last-Translator: Osmo Salomaa \n"
+"POT-Creation-Date: 2018-04-22 19:15+0300\n"
+"PO-Revision-Date: 2017-11-07 17:27+0000\n"
+"Last-Translator: mauron\n"
"Language-Team: Turkish (http://www.transifex.com/otsaloma/nfoview/language/tr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -51,7 +51,7 @@
#: nfoview/about.py:63
msgid "Donate"
-msgstr ""
+msgstr "Bağış yap"
#: nfoview/export.py:34
msgid "Export Image"
@@ -201,6 +201,8 @@
msgid "View NFO files"
msgstr "NFO dosyalarını görüntüle"
+#. TRANSLATORS: Search terms to find this application. Do NOT translate or
+#. localize the semicolons! The list MUST also end with a semicolon!
#: data/nfoview.desktop.in:6
msgid "information;"
msgstr "belge;göster;"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/setup.py new/nfoview-1.24/setup.py
--- old/nfoview-1.23/setup.py 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/setup.py 2018-04-22 18:21:57.000000000 +0200
@@ -17,22 +17,19 @@
appdata and desktop files are translated. This requires gettext.
"""
-import distutils.command.clean
-import distutils.command.install
-import distutils.command.install_data
-import distutils.command.install_lib
+import distutils
import glob
import os
import re
import shutil
-freezing = "NFOVIEW_FREEZING" in os.environ
+from distutils import log
+from distutils.command.clean import clean
+from distutils.command.install import install
+from distutils.command.install_data import install_data
+from distutils.command.install_lib import install_lib
-clean = distutils.command.clean.clean
-install = distutils.command.install.install
-install_data = distutils.command.install_data.install_data
-install_lib = distutils.command.install_lib.install_lib
-log = distutils.log
+freezing = "NFOVIEW_FREEZING" in os.environ
def get_version():
@@ -113,8 +110,8 @@
def __generate_linguas(self):
"""Generate LINGUAS file needed by msgfmt."""
- linguas = glob.glob("po/*.po")
- linguas = [x.split("/")[1] for x in linguas]
+ linguas = sorted(glob.glob("po/*.po"))
+ linguas = [x.split(os.sep)[1] for x in linguas]
linguas = [x.split(".")[0] for x in linguas]
with open("po/LINGUAS", "w") as f:
f.write("\n".join(linguas) + "\n")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/tools/check-translations new/nfoview-1.24/tools/check-translations
--- old/nfoview-1.23/tools/check-translations 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/tools/check-translations 2018-04-22 18:21:57.000000000 +0200
@@ -13,24 +13,28 @@
po = polib.pofile(name)
print("{}: {}% translated".format(name, po.percent_translated()))
for entry in po.translated_entries():
- # Check that Python string formatting fields exists as-is
- # in the translation (order can vary, but not the field).
- for field in re.findall(r"\{.*?\}", entry.msgid, flags=FLAGS):
- if not field in entry.msgstr:
- print_error("Python string formatting mismatch", entry)
- raise SystemExit("FATAL ERROR")
- # Check that the translation of a label includes
- # a keyboard accelerator defined by an underscore.
- if "_" in entry.msgid:
- if not "_" in entry.msgstr:
- print_error("Missing accelerator", entry)
- # Check that the translation of a label includes
- # a terminating colon.
- if entry.msgid.endswith(":"):
- if not entry.msgstr.endswith(":"):
- print_error("Missing terminating colon", entry)
- # Check that the translation of a menu item includes
- # an ellipsis defined by the Unicode character.
- if "…" in entry.msgid:
- if not "…" in entry.msgstr:
- print_error("Missing ellipsis", entry)
+ translations = (
+ list(entry.msgstr_plural.values())
+ if entry.msgid_plural else [entry.msgstr])
+ for translation in translations:
+ # Check that Python string formatting fields exists as-is
+ # in the translation (order can vary, but not the field).
+ for field in re.findall(r"\{.*?\}", entry.msgid, flags=FLAGS):
+ if not field in translation:
+ print_error("Python string formatting mismatch", entry)
+ raise SystemExit("FATAL ERROR")
+ # Check that the translation of a label includes
+ # a keyboard accelerator defined by an underscore.
+ if "_" in entry.msgid:
+ if not "_" in translation:
+ print_error("Missing accelerator", entry)
+ # Check that the translation of a label includes
+ # a terminating colon.
+ if entry.msgid.endswith(":"):
+ if not translation.endswith(":"):
+ print_error("Missing terminating colon", entry)
+ # Check that the translation of a menu item includes
+ # an ellipsis defined by the Unicode character.
+ if "…" in entry.msgid:
+ if not "…" in translation:
+ print_error("Missing ellipsis", entry)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/tools/release new/nfoview-1.24/tools/release
--- old/nfoview-1.23/tools/release 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/tools/release 2018-04-22 18:21:57.000000000 +0200
@@ -10,5 +10,8 @@
git tag -s -m "RELEASE $VERSION" $VERSION
git push
git push --tags
-# Add release notes and possible downloads.
-xdg-open https://github.com/otsaloma/nfoview/tags
+echo ""
+echo "Add release notes and possible downloads:"
+echo "https://github.com/otsaloma/nfoview/tags"
+echo ""
+egrep -B 999 -m2 "==+" NEWS.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/tools/update-translations new/nfoview-1.24/tools/update-translations
--- old/nfoview-1.23/tools/update-translations 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/tools/update-translations 2018-04-22 18:21:57.000000000 +0200
@@ -33,4 +33,5 @@
--keyword=Name \
--keyword=Comment \
--keyword=Keywords \
+ --add-comments=TRANSLATORS: \
data/nfoview.desktop.in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/win32/RELEASING.md new/nfoview-1.24/win32/RELEASING.md
--- old/nfoview-1.23/win32/RELEASING.md 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/win32/RELEASING.md 2018-04-22 18:21:57.000000000 +0200
@@ -10,8 +10,7 @@
pip3 install pypiwin32
```
-* Install PyGObject all-in-one for Windows (pygi-aio)
- - GTK+ and GIR
+* Install PyGObject all-in-one for Windows (pygi-aio: GTK+ and GIR)
* Install Inno Setup
* Test, build, test build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/win32/nfoview.iss new/nfoview-1.24/win32/nfoview.iss
--- old/nfoview-1.23/win32/nfoview.iss 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/win32/nfoview.iss 2018-04-22 18:21:57.000000000 +0200
@@ -3,14 +3,14 @@
[Setup]
AppId=io.otsaloma.nfoview
AppName=NFO Viewer
-AppVerName=NFO Viewer 1.23
+AppVerName=NFO Viewer 1.24
AppPublisher=Osmo Salomaa
AppPublisherURL=https://otsaloma.io/nfoview/
DefaultDirName={pf}\NFO Viewer
DefaultGroupName=NFO Viewer
AllowNoIcons=yes
OutputDir=".."
-OutputBaseFilename=nfoview-1.23-win32
+OutputBaseFilename=nfoview-1.24-win32
Compression=lzma
SolidCompression=yes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nfoview-1.23/winsetup.py new/nfoview-1.24/winsetup.py
--- old/nfoview-1.23/winsetup.py 2017-11-06 22:35:22.000000000 +0100
+++ new/nfoview-1.24/winsetup.py 2018-04-22 18:21:57.000000000 +0200
@@ -8,7 +8,7 @@
import site
os.environ["NFOVIEW_FREEZING"] = "1"
-from setup import *
+from setup import setup_kwargs
import cx_Freeze
includes = ["cairo", "nfoview", "gi"]
@@ -37,7 +37,7 @@
))
def patch_build():
- # XXX: Enable header bars on builtin GTK+ dialogs?
+ # Enable header bars on builtin GTK+ dialogs.
path = glob.glob("build/exe.*/etc/gtk-3.0/settings.ini")[0]
print("patching {}".format(path))
with open(path, "a", encoding="us_ascii") as f: