From 921328b1ef1c1ec60350a57c73b76297ea3e8455 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 26 Feb 2019 10:23:06 +0100 Subject: [PATCH 1/3] Prefix Title and Subtitle theme config keywords with an underscore Prefix Title and Subtitle theme config keywords with an underscore ('_') so that "intltool-extract --type=gettext/ini" can be used to make the title and subtitle translatable. Signed-off-by: Hans de Goede --- src/plugins/splash/two-step/plugin.c | 4 ++-- themes/bgrt/bgrt.plymouth.in | 8 ++++---- themes/spinner/spinner.plymouth.in | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/plugins/splash/two-step/plugin.c b/src/plugins/splash/two-step/plugin.c index 4c570917..098f2629 100644 --- a/src/plugins/splash/two-step/plugin.c +++ b/src/plugins/splash/two-step/plugin.c @@ -837,8 +837,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 * diff --git a/themes/bgrt/bgrt.plymouth.in b/themes/bgrt/bgrt.plymouth.in index b7c14d2d..d6ad9e1f 100644 --- a/themes/bgrt/bgrt.plymouth.in +++ b/themes/bgrt/bgrt.plymouth.in @@ -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 diff --git a/themes/spinner/spinner.plymouth.in b/themes/spinner/spinner.plymouth.in index 5e8c1c19..187b6359 100644 --- a/themes/spinner/spinner.plymouth.in +++ b/themes/spinner/spinner.plymouth.in @@ -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 From b0ea667525dcbe9bce9d57aa1ae9b59c9a75441f Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Tue, 26 Feb 2019 11:03:36 +0100 Subject: [PATCH 2/3] Add support for translating the user visible strings in some themes This commit adds initial translation support, for now translation support is limited to the user visible strings in some splash plugins and themes, the daemon and commandline utils output are left untranslated for now. Signed-off-by: Hans de Goede --- Makefile.am | 6 ++- configure.ac | 9 +++- po/LINGUAS | 1 + po/Makevars | 78 ++++++++++++++++++++++++++++ po/POTFILES.in | 9 ++++ po/Rules-themes | 5 ++ po/nl.po | 37 +++++++++++++ src/libply/Makefile.am | 1 + src/libply/ply-i18n.h | 28 ++++++++++ src/main.c | 3 ++ src/plugins/splash/two-step/plugin.c | 7 +-- 11 files changed, 178 insertions(+), 6 deletions(-) create mode 100644 po/LINGUAS create mode 100644 po/Makevars create mode 100644 po/POTFILES.in create mode 100644 po/Rules-themes create mode 100644 po/nl.po create mode 100644 src/libply/ply-i18n.h diff --git a/Makefile.am b/Makefile.am index cb6eedbd..2d38de13 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index 78550d08..97710274 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 00000000..bec81d2b --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +nl diff --git a/po/Makevars b/po/Makevars new file mode 100644 index 00000000..40e01c85 --- /dev/null +++ b/po/Makevars @@ -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 diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 00000000..bbce0ef7 --- /dev/null +++ b/po/POTFILES.in @@ -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 diff --git a/po/Rules-themes b/po/Rules-themes new file mode 100644 index 00000000..8c7cbc9b --- /dev/null +++ b/po/Rules-themes @@ -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 $< diff --git a/po/nl.po b/po/nl.po new file mode 100644 index 00000000..f730bce3 --- /dev/null +++ b/po/nl.po @@ -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 , 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 \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..." diff --git a/src/libply/Makefile.am b/src/libply/Makefile.am index de158081..8f0abd9c 100644 --- a/src/libply/Makefile.am +++ b/src/libply/Makefile.am @@ -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 \ diff --git a/src/libply/ply-i18n.h b/src/libply/ply-i18n.h new file mode 100644 index 00000000..94a4035e --- /dev/null +++ b/src/libply/ply-i18n.h @@ -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 + */ +#ifndef PLY_I18N_H +#define PLY_I18N_H + +#ifdef ENABLE_NLS +#include +#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: */ diff --git a/src/main.c b/src/main.c index 90e8a5eb..b06d29cb 100644 --- a/src/main.c +++ b/src/main.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include @@ -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); diff --git a/src/plugins/splash/two-step/plugin.c b/src/plugins/splash/two-step/plugin.c index 098f2629..e8b91ec9 100644 --- a/src/plugins/splash/two-step/plugin.c +++ b/src/plugins/splash/two-step/plugin.c @@ -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); @@ -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; From 39bd6bd70477b36b8693774372408be21194f2ce Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 4 Mar 2019 10:42:29 +0100 Subject: [PATCH 3/3] Sync translations with zanata Sync the translations with the translations from zanata: https://fedora.zanata.org/iteration/view/plymouth/master Signed-off-by: Hans de Goede --- po/LINGUAS | 9 +++++++++ po/be.po | 35 +++++++++++++++++++++++++++++++++++ po/cs.po | 35 +++++++++++++++++++++++++++++++++++ po/de.po | 34 ++++++++++++++++++++++++++++++++++ po/es.po | 34 ++++++++++++++++++++++++++++++++++ po/fr.po | 34 ++++++++++++++++++++++++++++++++++ po/hu.po | 34 ++++++++++++++++++++++++++++++++++ po/pl.po | 35 +++++++++++++++++++++++++++++++++++ po/plymouth.pot | 36 ++++++++++++++++++++++++++++++++++++ po/uk.po | 35 +++++++++++++++++++++++++++++++++++ po/zh_CN.po | 34 ++++++++++++++++++++++++++++++++++ 11 files changed, 355 insertions(+) create mode 100644 po/be.po create mode 100644 po/cs.po create mode 100644 po/de.po create mode 100644 po/es.po create mode 100644 po/fr.po create mode 100644 po/hu.po create mode 100644 po/pl.po create mode 100644 po/plymouth.pot create mode 100644 po/uk.po create mode 100644 po/zh_CN.po diff --git a/po/LINGUAS b/po/LINGUAS index bec81d2b..c7af8be1 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1 +1,10 @@ +be +cs +de +es +fr +hu nl +pl +uk +zh_CN diff --git a/po/be.po b/po/be.po new file mode 100644 index 00000000..4cb3ecd5 --- /dev/null +++ b/po/be.po @@ -0,0 +1,35 @@ +# Viktar Siarheichyk , 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 \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 "Сістэма абнаўляецца..." + diff --git a/po/cs.po b/po/cs.po new file mode 100644 index 00000000..d9b27812 --- /dev/null +++ b/po/cs.po @@ -0,0 +1,35 @@ +# Daniel Rusek , 2019. #zanata +# Michal Konečný , 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 \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..." + diff --git a/po/de.po b/po/de.po new file mode 100644 index 00000000..ab653e29 --- /dev/null +++ b/po/de.po @@ -0,0 +1,34 @@ +# Thomas Eichhorn , 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 \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..." + diff --git a/po/es.po b/po/es.po new file mode 100644 index 00000000..7beb40ec --- /dev/null +++ b/po/es.po @@ -0,0 +1,34 @@ +# Máximo Castañeda Riloba , 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 \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..." + diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 00000000..2b7f9641 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,34 @@ +# Jean-Baptiste Holcroft , 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 \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…" + diff --git a/po/hu.po b/po/hu.po new file mode 100644 index 00000000..76e2e944 --- /dev/null +++ b/po/hu.po @@ -0,0 +1,34 @@ +# Meskó Balázs , 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 \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…" + diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 00000000..a3e471c9 --- /dev/null +++ b/po/pl.po @@ -0,0 +1,35 @@ +# Piotr Drąg , 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 \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…" + diff --git a/po/plymouth.pot b/po/plymouth.pot new file mode 100644 index 00000000..e4c61392 --- /dev/null +++ b/po/plymouth.pot @@ -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 , 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 \n" +"Language-Team: LANGUAGE \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 "" diff --git a/po/uk.po b/po/uk.po new file mode 100644 index 00000000..71cc7de4 --- /dev/null +++ b/po/uk.po @@ -0,0 +1,35 @@ +# Yuri Chornoivan , 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 \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 "Оновлюємо систему…" + diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100644 index 00000000..9ea60906 --- /dev/null +++ b/po/zh_CN.po @@ -0,0 +1,34 @@ +# Pany , 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 \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 "正在升级系统……" +