mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 09:38:04 +02:00
Merge branch 'theme-translation' into 'master'
Theme translation support See merge request plymouth/plymouth!30
This commit is contained in:
commit
599aef64f8
23 changed files with 543 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
|||
SUBDIRS = src themes images scripts systemd-units
|
||||
SUBDIRS = po src themes images scripts systemd-units
|
||||
|
||||
if BUILD_DOCUMENTATION
|
||||
SUBDIRS += docs
|
||||
|
|
@ -6,7 +6,7 @@ endif
|
|||
|
||||
DISTCHECK_CONFIGURE_FLAGS = --disable-tests --disable-systemd-integration
|
||||
|
||||
EXTRA_DIST = ChangeLog \
|
||||
EXTRA_DIST = build-tools/config.rpath ChangeLog \
|
||||
README
|
||||
|
||||
MAINTAINERCLEANFILES = aclocal.m4 \
|
||||
|
|
@ -15,3 +15,5 @@ MAINTAINERCLEANFILES = aclocal.m4 \
|
|||
config.sub \
|
||||
configure \
|
||||
Makefile.in
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
|
|
|||
|
|
@ -15,6 +15,13 @@ AM_INIT_AUTOMAKE([dist-xz no-dist-gzip])
|
|||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
AM_MAINTAINER_MODE([enable])
|
||||
|
||||
AM_GNU_GETTEXT_VERSION([0.19.8])
|
||||
AM_GNU_GETTEXT([external])
|
||||
AC_PATH_PROG([INTLTOOL_EXTRACT], [intltool-extract])
|
||||
if test x$INTLTOOL_EXTRACT = x; then
|
||||
AC_MSG_ERROR([intltool-extract is required to build plymouth])
|
||||
fi
|
||||
|
||||
PKG_PROG_PKG_CONFIG
|
||||
LT_INIT([dlopen disable-static pic-only])
|
||||
|
||||
|
|
@ -286,7 +293,7 @@ AS_AC_EXPAND(PLYMOUTH_LIBDIR, $libdir)
|
|||
AS_AC_EXPAND(PLYMOUTH_LIBEXECDIR, $libexecdir)
|
||||
AS_AC_EXPAND(PLYMOUTH_DATADIR, $datadir)
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
AC_CONFIG_FILES([Makefile po/Makefile.in
|
||||
src/libply/Makefile
|
||||
src/libply-splash-core/Makefile
|
||||
src/libply-splash-graphics/Makefile
|
||||
|
|
|
|||
10
po/LINGUAS
Normal file
10
po/LINGUAS
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
be
|
||||
cs
|
||||
de
|
||||
es
|
||||
fr
|
||||
hu
|
||||
nl
|
||||
pl
|
||||
uk
|
||||
zh_CN
|
||||
78
po/Makevars
Normal file
78
po/Makevars
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
# Makefile variables for PO directory in any package using GNU gettext.
|
||||
|
||||
# Usually the message domain is the same as the package name.
|
||||
DOMAIN = $(PACKAGE)
|
||||
|
||||
# These two variables depend on the location of this directory.
|
||||
subdir = po
|
||||
top_builddir = ..
|
||||
|
||||
# These options get passed to xgettext.
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
|
||||
|
||||
# This is the copyright holder that gets inserted into the header of the
|
||||
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
|
||||
# package. (Note that the msgstr strings, extracted from the package's
|
||||
# sources, belong to the copyright holder of the package.) Translators are
|
||||
# expected to transfer the copyright for their translations to this person
|
||||
# or entity, or to disclaim their copyright. The empty string stands for
|
||||
# the public domain; in this case the translators are expected to disclaim
|
||||
# their copyright.
|
||||
COPYRIGHT_HOLDER = Plymouth contributors
|
||||
|
||||
# This tells whether or not to prepend "GNU " prefix to the package
|
||||
# name that gets inserted into the header of the $(DOMAIN).pot file.
|
||||
# Possible values are "yes", "no", or empty. If it is empty, try to
|
||||
# detect it automatically by scanning the files in $(top_srcdir) for
|
||||
# "GNU packagename" string.
|
||||
PACKAGE_GNU = no
|
||||
|
||||
# This is the email address or URL to which the translators shall report
|
||||
# bugs in the untranslated strings:
|
||||
# - Strings which are not entire sentences, see the maintainer guidelines
|
||||
# in the GNU gettext documentation, section 'Preparing Strings'.
|
||||
# - Strings which use unclear terms or require additional context to be
|
||||
# understood.
|
||||
# - Strings which make invalid assumptions about notation of date, time or
|
||||
# money.
|
||||
# - Pluralisation problems.
|
||||
# - Incorrect English spelling.
|
||||
# - Incorrect formatting.
|
||||
# It can be your email address, or a mailing list address where translators
|
||||
# can write to without being subscribed, or the URL of a web page through
|
||||
# which the translators can contact you.
|
||||
MSGID_BUGS_ADDRESS =
|
||||
|
||||
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
||||
# message catalogs shall be used. It is usually empty.
|
||||
EXTRA_LOCALE_CATEGORIES =
|
||||
|
||||
# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
|
||||
# context. Possible values are "yes" and "no". Set this to yes if the
|
||||
# package uses functions taking also a message context, like pgettext(), or
|
||||
# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
|
||||
USE_MSGCTXT = no
|
||||
|
||||
# These options get passed to msgmerge.
|
||||
# Useful options are in particular:
|
||||
# --previous to keep previous msgids of translated messages,
|
||||
# --quiet to reduce the verbosity.
|
||||
MSGMERGE_OPTIONS =
|
||||
|
||||
# These options get passed to msginit.
|
||||
# If you want to disable line wrapping when writing PO files, add
|
||||
# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
|
||||
# MSGINIT_OPTIONS.
|
||||
MSGINIT_OPTIONS =
|
||||
|
||||
# This tells whether or not to regenerate a PO file when $(DOMAIN).pot
|
||||
# has changed. Possible values are "yes" and "no". Set this to no if
|
||||
# the POT file is checked in the repository and the version control
|
||||
# program ignores timestamps.
|
||||
PO_DEPENDS_ON_POT = yes
|
||||
|
||||
# This tells whether or not to forcibly update $(DOMAIN).pot and
|
||||
# regenerate PO files on "make dist". Possible values are "yes" and
|
||||
# "no". Set this to no if the POT file and PO files are maintained
|
||||
# externally.
|
||||
DIST_DEPENDS_ON_UPDATE_PO = yes
|
||||
9
po/POTFILES.in
Normal file
9
po/POTFILES.in
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# List of source files which contain translatable strings.
|
||||
|
||||
# For now we only translate the user visible strings in some splash plugins
|
||||
# (the daemon and commandline utils output is untranslated for now)
|
||||
src/plugins/splash/two-step/plugin.c
|
||||
|
||||
# Generated from the theme.in files by "intltool-extract --type=gettext/ini"
|
||||
themes/bgrt/bgrt.plymouth.in.h
|
||||
themes/spinner/spinner.plymouth.in.h
|
||||
5
po/Rules-themes
Normal file
5
po/Rules-themes
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
../themes/bgrt/bgrt.plymouth.in.h: ../themes/bgrt/bgrt.plymouth.in
|
||||
intltool-extract --type=gettext/ini $<
|
||||
|
||||
../themes/spinner/spinner.plymouth.in.h: ../themes/spinner/spinner.plymouth.in
|
||||
intltool-extract --type=gettext/ini $<
|
||||
35
po/be.po
Normal file
35
po/be.po
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Viktar Siarheichyk <veq@fedoraproject.org>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-03-01 08:51+0000\n"
|
||||
"Last-Translator: Viktar Siarheichyk <veq@fedoraproject.org>\n"
|
||||
"Language-Team: Belarusian\n"
|
||||
"Language: be\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "Зроблена %d%% "
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Інсталяцыя абнаўленняў..."
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "Не выключайце кампутар"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Сістэма абнаўляецца..."
|
||||
|
||||
35
po/cs.po
Normal file
35
po/cs.po
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Daniel Rusek <mail@asciiwolf.com>, 2019. #zanata
|
||||
# Michal Konečný <michalkonec666@gmail.com>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-02-26 06:08+0000\n"
|
||||
"Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
|
||||
"Language-Team: Czech\n"
|
||||
"Language: cs\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "%d%% dokončeno"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Instalace aktualizací..."
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "Nevypínejte počítač"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Aktualizace systému..."
|
||||
|
||||
34
po/de.po
Normal file
34
po/de.po
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Thomas Eichhorn <tomislav@posteo.de>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-03-02 08:34+0000\n"
|
||||
"Last-Translator: Thomas Eichhorn <tomislav@posteo.de>\n"
|
||||
"Language-Team: German\n"
|
||||
"Language: de\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "%d%% abgeschlossen"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Updates werden installiert..."
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "Schalten Sie den Computer nicht aus"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Systemupgrade wird durchgeführt..."
|
||||
|
||||
34
po/es.po
Normal file
34
po/es.po
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Máximo Castañeda Riloba <mcrcctm@gmail.com>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-02-26 08:21+0000\n"
|
||||
"Last-Translator: Máximo Castañeda Riloba <mcrcctm@gmail.com>\n"
|
||||
"Language-Team: Spanish\n"
|
||||
"Language: es\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "%d%% completado"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Instalando actualizaciones..."
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "No apague su equipo"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Actualizando el sistema..."
|
||||
|
||||
34
po/fr.po
Normal file
34
po/fr.po
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-02-27 09:41+0000\n"
|
||||
"Last-Translator: Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr>\n"
|
||||
"Language-Team: French\n"
|
||||
"Language: fr\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "%d%%"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Installation des mises à jour…"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "N’éteignez pas votre ordinateur"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Mise à jour du système…"
|
||||
|
||||
34
po/hu.po
Normal file
34
po/hu.po
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Meskó Balázs <meskobalazs@gmail.com>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-02-28 03:07+0000\n"
|
||||
"Last-Translator: Meskó Balázs <meskobalazs@gmail.com>\n"
|
||||
"Language-Team: Hungarian\n"
|
||||
"Language: hu\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "%d%% kész"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Frissítések telepítése…"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "Ne kapcsolja ki a számítógépet"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Rendszer frissítése…"
|
||||
|
||||
37
po/nl.po
Normal file
37
po/nl.po
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# Dutch translations for plymouth package
|
||||
# Nederlandse vertalingen voor het pakket plymouth.
|
||||
# Copyright (C) 2019 Plymouth contributors
|
||||
# This file is distributed under the same license as the plymouth package.
|
||||
# Hans de Goede <hdegoede@redhat.com>, 2019.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?"
|
||||
"product=plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"PO-Revision-Date: 2019-02-26 11:19+0100\n"
|
||||
"Last-Translator: Hans de Goede <hdegoede@redhat.com>\n"
|
||||
"Language-Team: Dutch\n"
|
||||
"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "%d%% voltooid"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Updates worden uitgevoerd..."
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "Schakel de computer niet uit"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Besturingssysteem upgrade wordt uitgevoerd..."
|
||||
35
po/pl.po
Normal file
35
po/pl.po
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Piotr Drąg <piotrdrag@gmail.com>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-02-26 04:45+0000\n"
|
||||
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
|
||||
"Language-Team: Polish\n"
|
||||
"Language: pl\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2)\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "Ukończono %d%%"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Instalowanie aktualizacji…"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "Nie należy wyłączać komputera"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Aktualizowanie systemu…"
|
||||
|
||||
36
po/plymouth.pot
Normal file
36
po/plymouth.pot
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR Plymouth contributors
|
||||
# This file is distributed under the same license as the plymouth package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?"
|
||||
"product=plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr ""
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr ""
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr ""
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr ""
|
||||
35
po/uk.po
Normal file
35
po/uk.po
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Yuri Chornoivan <yurchor@ukr.net>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-02-26 04:44+0000\n"
|
||||
"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
|
||||
"Language-Team: Ukrainian\n"
|
||||
"Language: uk\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "Виконано на %d%%"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "Встановлюємо оновлення…"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "Не вимикайте комп'ютер"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "Оновлюємо систему…"
|
||||
|
||||
34
po/zh_CN.po
Normal file
34
po/zh_CN.po
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Pany <pany@fedoraproject.org>, 2019. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: plymouth 0.9.5\n"
|
||||
"Report-Msgid-Bugs-To: https://bugs.freedesktop.org/enter_bug.cgi?product="
|
||||
"plymouth\n"
|
||||
"POT-Creation-Date: 2019-02-26 12:09+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2019-02-27 08:56+0000\n"
|
||||
"Last-Translator: Pany <pany@fedoraproject.org>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
"X-Generator: Zanata 4.6.2\n"
|
||||
"Plural-Forms: nplurals=1; plural=0\n"
|
||||
|
||||
#: src/plugins/splash/two-step/plugin.c:1809
|
||||
#, c-format
|
||||
msgid "%d%% complete"
|
||||
msgstr "当前进度 %d%%"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:1 themes/spinner/spinner.plymouth.in.h:1
|
||||
msgid "Installing Updates..."
|
||||
msgstr "正在安装更新……"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:2 themes/spinner/spinner.plymouth.in.h:2
|
||||
msgid "Do not turn off your computer"
|
||||
msgstr "请不要关机"
|
||||
|
||||
#: themes/bgrt/bgrt.plymouth.in.h:3 themes/spinner/spinner.plymouth.in.h:3
|
||||
msgid "Upgrading System..."
|
||||
msgstr "正在升级系统……"
|
||||
|
||||
|
|
@ -19,6 +19,7 @@ libply_HEADERS = \
|
|||
ply-list.h \
|
||||
ply-hashtable.h \
|
||||
ply-logger.h \
|
||||
ply-i18n.h \
|
||||
ply-key-file.h \
|
||||
ply-progress.h \
|
||||
ply-rectangle.h \
|
||||
|
|
|
|||
28
src/libply/ply-i18n.h
Normal file
28
src/libply/ply-i18n.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* ply-utils.h - i18n handling
|
||||
*
|
||||
* Copyright (C) 2019 Red Hat, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* Written By: Hans de Goede <hdgoede@redhat.com>
|
||||
*/
|
||||
#ifndef PLY_I18N_H
|
||||
#define PLY_I18N_H
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
#include <libintl.h>
|
||||
#define _(String) dgettext(PACKAGE, String)
|
||||
#else
|
||||
#define _(String) (String)
|
||||
#endif
|
||||
|
||||
#endif /* PLY_I18N_H */
|
||||
/* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */
|
||||
|
|
@ -36,6 +36,7 @@
|
|||
#include <paths.h>
|
||||
#include <assert.h>
|
||||
#include <values.h>
|
||||
#include <locale.h>
|
||||
|
||||
#include <linux/kd.h>
|
||||
#include <linux/vt.h>
|
||||
|
|
@ -652,6 +653,8 @@ on_newroot (state_t *state,
|
|||
chdir (root_dir);
|
||||
chroot (".");
|
||||
chdir ("/");
|
||||
/* Update local now that we have /usr/share/locale available */
|
||||
setlocale(LC_ALL, "");
|
||||
ply_progress_load_cache (state->progress, get_cache_file_for_mode (state->mode));
|
||||
if (state->boot_splash != NULL)
|
||||
ply_boot_splash_root_mounted (state->boot_splash);
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
#include "ply-pixel-buffer.h"
|
||||
#include "ply-pixel-display.h"
|
||||
#include "ply-utils.h"
|
||||
#include "ply-i18n.h"
|
||||
|
||||
#include "ply-animation.h"
|
||||
#include "ply-progress-animation.h"
|
||||
|
|
@ -509,7 +510,7 @@ view_load (view_t *view)
|
|||
|
||||
if (plugin->mode_settings[plugin->mode].title) {
|
||||
ply_label_set_text (view->title_label,
|
||||
plugin->mode_settings[plugin->mode].title);
|
||||
_(plugin->mode_settings[plugin->mode].title));
|
||||
title_height = ply_label_get_height (view->title_label);
|
||||
} else {
|
||||
ply_label_hide (view->title_label);
|
||||
|
|
@ -517,7 +518,7 @@ view_load (view_t *view)
|
|||
|
||||
if (plugin->mode_settings[plugin->mode].subtitle) {
|
||||
ply_label_set_text (view->subtitle_label,
|
||||
plugin->mode_settings[plugin->mode].subtitle);
|
||||
_(plugin->mode_settings[plugin->mode].subtitle));
|
||||
subtitle_height = ply_label_get_height (view->subtitle_label);
|
||||
} else {
|
||||
ply_label_hide (view->subtitle_label);
|
||||
|
|
@ -837,8 +838,8 @@ load_mode_settings (ply_boot_splash_plugin_t *plugin,
|
|||
if (settings->use_firmware_background)
|
||||
plugin->use_firmware_background = true;
|
||||
|
||||
settings->title = ply_key_file_get_value (key_file, group_name, "Title");
|
||||
settings->subtitle = ply_key_file_get_value (key_file, group_name, "SubTitle");
|
||||
settings->title = ply_key_file_get_value (key_file, group_name, "_Title");
|
||||
settings->subtitle = ply_key_file_get_value (key_file, group_name, "_SubTitle");
|
||||
}
|
||||
|
||||
static ply_boot_splash_plugin_t *
|
||||
|
|
@ -1805,7 +1806,7 @@ system_update (ply_boot_splash_plugin_t *plugin,
|
|||
ply_progress_bar_set_percent_done (view->progress_bar, (double) progress / 100.f);
|
||||
if (!ply_progress_bar_is_hidden (view->progress_bar) &&
|
||||
plugin->mode_settings[plugin->mode].progress_bar_show_percent_complete) {
|
||||
snprintf (buf, sizeof(buf), "%d%% complete", progress);
|
||||
snprintf (buf, sizeof(buf), _("%d%% complete"), progress);
|
||||
view_show_message (view, buf);
|
||||
}
|
||||
node = next_node;
|
||||
|
|
|
|||
|
|
@ -37,12 +37,12 @@ UseFirmwareBackground=true
|
|||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Installing Updates...
|
||||
SubTitle=Do not turn off your computer
|
||||
_Title=Installing Updates...
|
||||
_SubTitle=Do not turn off your computer
|
||||
|
||||
[system-upgrade]
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading System...
|
||||
SubTitle=Do not turn off your computer
|
||||
_Title=Upgrading System...
|
||||
_SubTitle=Do not turn off your computer
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ MessageBelowAnimation=true
|
|||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Installing Updates...
|
||||
SubTitle=Do not turn off your computer
|
||||
_Title=Installing Updates...
|
||||
_SubTitle=Do not turn off your computer
|
||||
|
||||
[system-upgrade]
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading System...
|
||||
SubTitle=Do not turn off your computer
|
||||
_Title=Upgrading System...
|
||||
_SubTitle=Do not turn off your computer
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue