On Sun, 2017-09-03 at 22:23 +0200, Aleksander Morgado wrote: > Instead of mixing both intltool and gettext, which not always work > correctly together, this patch obsoletes intltool and uses only > gettext, which includes support for translating XML files with ITS > rules. > > See migration steps for GNOME projects here: > https://wiki.gnome.org/MigratingFromIntltoolToGettext
LGTM; I was a bit concerned about the gettext version bump, but 0.19.8 was released in early June 2016 so I think that's OK. Seems like most recent distros have updated to it. Though I don't think Ubunbu 16.04 has it? Do we require 0.19.8 or will 0.19.7 be OK (which Ubuntu Xenial 16.04 does have...)? Dan > The gettext ITS rules for polkit policy files are imported from the > upstream polkit repository. We don't use the polkit-installed rule > files yet because there is no tagged release that contains those > files > yet, so we cannot build-depend on any specific polkit version. > https://bugs.freedesktop.org/show_bug.cgi?id=96940 > --- > > Hey, > > This v4 version includes the following updates: > > * Changes the order of generation of the policy file (first > translations are included, then user policy is applied). The > policy.in file that includes translations will be included in dist > (so that users building don't need the msgfmt program), and removed > on maintainer-clean. > * We import the polkit ITS rules from the polkit git repository, and > we store them in data/its. We set GETTEXTDATADIR accordingly in the > msgfmt call. > * Removed the explicit check for the msgfmt program in configure.ac. > * Some more intltool related files removed from .gitignore. > > --- > .gitignore | 5 +- > Makefile.am | 16 +---- > autogen.sh | 3 +- > configure.ac | 5 +- > data/Makefile.am | 28 ++++++--- > data/its/polkit.its | 8 +++ > data/its/polkit.loc | 6 ++ > data/org.freedesktop.ModemManager1.policy.in.in | 32 +++++----- > po/Makevars | 78 > +++++++++++++++++++++++++ > po/POTFILES.in | 1 - > po/POTFILES.skip | 2 - > po/de.po | 48 +++++++++------ > po/uk.po | 48 +++++++++------ > 13 files changed, 194 insertions(+), 86 deletions(-) > create mode 100644 data/its/polkit.its > create mode 100644 data/its/polkit.loc > create mode 100644 po/Makevars > > diff --git a/.gitignore b/.gitignore > index 685ff84f..e0d8a7d6 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -22,7 +22,6 @@ Makefile.in > /depcomp > /install-sh > /ltmain.sh > -/intltool-* > /missing > /stamp-h1 > /gtk-doc.make > @@ -84,7 +83,6 @@ Makefile.in > /po/Makefile.in.in > /po/POTFILES > /po/stamp-it > -/po/.intltool-merge-cache > /po/ModemManager.pot > /po/Makevars.template > /po/Rules-quot > @@ -94,6 +92,8 @@ Makefile.in > /po/insert-header.sin > /po/quot.sed > /po/remove-potcdate.sin > +/po/remove-potcdate.sed > +/po/stamp-po > /po/*.gmo > > /docs/reference/api/version.xml > @@ -122,7 +122,6 @@ Makefile.in > /docs/reference/libmm-glib/xml > > /m4/gtk-doc.m4 > -/m4/intltool.m4 > /m4/libtool.m4 > /m4/lt*.m4 > /m4/codeset.m4 > diff --git a/Makefile.am b/Makefile.am > index e0c14b02..a85e4154 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -2,6 +2,7 @@ > SUBDIRS = \ > . \ > build-aux \ > + po \ > data \ > include \ > libqcdm \ > @@ -13,7 +14,6 @@ SUBDIRS = \ > vapi \ > introspection \ > uml290 \ > - po \ > test \ > examples \ > docs \ > @@ -25,21 +25,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \ > --enable-gtk-doc=yes \ > $(NULL) > > -INTLTOOL_FILES = \ > - intltool-extract.in \ > - intltool-merge.in \ > - intltool-update.in \ > - $(NULL) > - > -DISTCLEANFILES = \ > - intltool-extract \ > - intltool-merge \ > - intltool-update \ > - po/.intltool-merge-cache \ > - $(NULL) > - > EXTRA_DIST = \ > - $(INTLTOOL_FILES) \ > autogen.sh \ > gtester.make \ > COPYING.LIB \ > diff --git a/autogen.sh b/autogen.sh > index 230a7218..a3ff2db0 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -15,8 +15,7 @@ PKG_NAME=ModemManager > > (cd $srcdir; > gtkdocize || exit 1 > - autopoint --force > - AUTOPOINT='intltoolize --automake --copy' autoreconf --force -- > install --verbose > + autoreconf --force --install --verbose > ) > > if test -z "$NOCONFIGURE"; then > diff --git a/configure.ac b/configure.ac > index fa46b4f5..f432e81d 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -82,10 +82,8 @@ dnl----------------------------------------------- > ------------------------------ > dnl i18n > dnl > > -IT_PROG_INTLTOOL([0.40.0]) > - > AM_GNU_GETTEXT([external]) > -AM_GNU_GETTEXT_VERSION([0.19.3]) > +AM_GNU_GETTEXT_VERSION([0.19.8]) > > GETTEXT_PACKAGE=ModemManager > AC_SUBST(GETTEXT_PACKAGE) > @@ -389,7 +387,6 @@ Makefile > data/Makefile > data/ModemManager.pc > data/mm-glib.pc > -data/org.freedesktop.ModemManager1.policy.in > data/tests/Makefile > data/tests/org.freedesktop.ModemManager1.service > include/Makefile > diff --git a/data/Makefile.am b/data/Makefile.am > index 168895d9..ee05bdf6 100644 > --- a/data/Makefile.am > +++ b/data/Makefile.am > @@ -59,15 +59,22 @@ diagrams = \ > ModemManager-interface-initialization-sequence.png \ > ModemManager-interface-initialization-sequence- > subclassed.png > > - > # Polkit > -polkit_policy_in_in_files = > org.freedesktop.ModemManager1.policy.in.in > + > +# build file with translations, which we will include in dist > +org.freedesktop.ModemManager1.policy.in: > org.freedesktop.ModemManager1.policy.in.in > + $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir)/data $(MSGFMT) -- > xml -d $(top_srcdir)/po/ -o $@ --template $< > + > if WITH_POLKIT > + > +# build with requested user policy > +org.freedesktop.ModemManager1.policy: > org.freedesktop.ModemManager1.policy.in > + $(AM_V_GEN) sed -e > s,@MM_DEFAULT_USER_POLICY\@,$(MM_DEFAULT_USER_POLICY), $< > [email protected] && > mv [email protected] $@ > + > polkit_policydir = $(datadir)/polkit-1/actions > -polkit_policy_DATA = > $(polkit_policy_in_in_files:.policy.in.in=.policy) > -@INTLTOOL_POLICY_RULE@ > -endif > +polkit_policy_DATA = org.freedesktop.ModemManager1.policy > > +endif > > # Set up pkg-config .pc files for exported libraries > pkgconfigdir = $(libdir)/pkgconfig > @@ -75,23 +82,26 @@ pkgconfig_DATA = \ > ModemManager.pc \ > mm-glib.pc > > +MAINTAINERCLEANFILES = \ > + org.freedesktop.ModemManager1.policy.in > > DISTCLEANFILES = \ > + org.freedesktop.ModemManager1.policy \ > $(dbusactivation_DATA) \ > - $(dbusservice_DATA) \ > - $(polkit_policy_DATA) > + $(dbusservice_DATA) > > if HAVE_SYSTEMD > DISTCLEANFILES += $(systemdsystemunit_DATA) > endif > > - > EXTRA_DIST = \ > + its \ > + org.freedesktop.ModemManager1.policy.in.in \ > + org.freedesktop.ModemManager1.policy.in \ > $(systemdsystemunit_in_files) \ > $(dbusactivation_in_files) \ > $(dbusservice_file_polkit) \ > $(dbusservice_file_nopolkit) \ > $(icon_DATA) \ > - $(polkit_policy_in_in_files) \ > $(logos) \ > $(diagrams) > diff --git a/data/its/polkit.its b/data/its/polkit.its > new file mode 100644 > index 00000000..1c37e6be > --- /dev/null > +++ b/data/its/polkit.its > @@ -0,0 +1,8 @@ > +<?xml version="1.0"?> > +<its:rules xmlns:its="http://www.w3.org/2005/11/its" > + version="2.0"> > + <its:translateRule selector="//*" translate="no"/> > + <its:translateRule selector="//action/description | > + //action/message" > + translate="yes"/> > +</its:rules> > diff --git a/data/its/polkit.loc b/data/its/polkit.loc > new file mode 100644 > index 00000000..c7427ec6 > --- /dev/null > +++ b/data/its/polkit.loc > @@ -0,0 +1,6 @@ > +<?xml version="1.0"?> > +<locatingRules> > + <locatingRule name="polkit policy" pattern="*.policy"> > + <documentRule localName="policyconfig" target="polkit.its"/> > + </locatingRule> > +</locatingRules> > diff --git a/data/org.freedesktop.ModemManager1.policy.in.in > b/data/org.freedesktop.ModemManager1.policy.in.in > index bb60192b..7edb20c7 100644 > --- a/data/org.freedesktop.ModemManager1.policy.in.in > +++ b/data/org.freedesktop.ModemManager1.policy.in.in > @@ -10,8 +10,8 @@ > <icon_name>ModemManager</icon_name> > > <action id="org.freedesktop.ModemManager1.Control"> > - <_description>Control the Modem Manager daemon</_description> > - <_message>System policy prevents controlling the Modem > Manager.</_message> > + <description>Control the Modem Manager daemon</description> > + <message>System policy prevents controlling the Modem > Manager.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>auth_admin</allow_active> > @@ -19,8 +19,8 @@ > </action> > > <action id="org.freedesktop.ModemManager1.Device.Control"> > - <_description>Unlock and control a mobile broadband > device</_description> > - <_message>System policy prevents unlocking or controlling the > mobile broadband device.</_message> > + <description>Unlock and control a mobile broadband > device</description> > + <message>System policy prevents unlocking or controlling the > mobile broadband device.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active> > @@ -28,8 +28,8 @@ > </action> > > <action id="org.freedesktop.ModemManager1.Contacts"> > - <_description>Add, modify, and delete mobile broadband > contacts</_description> > - <_message>System policy prevents adding, modifying, or deleting > this device's contacts.</_message> > + <description>Add, modify, and delete mobile broadband > contacts</description> > + <message>System policy prevents adding, modifying, or deleting > this device's contacts.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active> > @@ -37,8 +37,8 @@ > </action> > > <action id="org.freedesktop.ModemManager1.Messaging"> > - <_description>Send, save, modify, and delete text > messages</_description> > - <_message>System policy prevents sending or manipulating this > device's text messages.</_message> > + <description>Send, save, modify, and delete text > messages</description> > + <message>System policy prevents sending or manipulating this > device's text messages.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active> > @@ -46,8 +46,8 @@ > </action> > > <action id="org.freedesktop.ModemManager1.Voice"> > - <_description>Accept incoming voice calls or start outgoing > voice calls.</_description> > - <_message>System policy prevents voice calls.</_message> > + <description>Accept incoming voice calls or start outgoing voice > calls.</description> > + <message>System policy prevents voice calls.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active> > @@ -55,8 +55,8 @@ > </action> > > <action id="org.freedesktop.ModemManager1.Location"> > - <_description>Enable and view geographic location and > positioning information</_description> > - <_message>System policy prevents enabling or viewing geographic > location information.</_message> > + <description>Enable and view geographic location and positioning > information</description> > + <message>System policy prevents enabling or viewing geographic > location information.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>@MM_DEFAULT_USER_POLICY@</allow_active> > @@ -64,8 +64,8 @@ > </action> > > <action id="org.freedesktop.ModemManager1.USSD"> > - <_description>Query and utilize network information and > services</_description> > - <_message>System policy prevents querying or utilizing network > information and services.</_message> > + <description>Query and utilize network information and > services</description> > + <message>System policy prevents querying or utilizing network > information and services.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>yes</allow_active> > @@ -73,8 +73,8 @@ > </action> > > <action id="org.freedesktop.ModemManager1.Firmware"> > - <_description>Query and manage firmware on a mobile broadband > device</_description> > - <_message>System policy prevents querying or managing this > device's firmware.</_message> > + <description>Query and manage firmware on a mobile broadband > device</description> > + <message>System policy prevents querying or managing this > device's firmware.</message> > <defaults> > <allow_inactive>no</allow_inactive> > <allow_active>auth_admin</allow_active> > diff --git a/po/Makevars b/po/Makevars > new file mode 100644 > index 00000000..9fb2d36f > --- /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 = --from-code=UTF-8 --keyword=_ --keyword=N_ -- > keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 > + > +# 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 = The ModemManager developers. > + > +# 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 = [email protected] > + > +# 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 = --quiet > + > +# 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 = no > diff --git a/po/POTFILES.in b/po/POTFILES.in > index 330da0fa..e1be0d06 100644 > --- a/po/POTFILES.in > +++ b/po/POTFILES.in > @@ -1,4 +1,3 @@ > -[encoding: UTF-8] > # List of source files containing translatable strings. > # Please keep this file sorted alphabetically. > data/org.freedesktop.ModemManager1.policy.in.in > diff --git a/po/POTFILES.skip b/po/POTFILES.skip > index dd87d5d8..8675cb27 100644 > --- a/po/POTFILES.skip > +++ b/po/POTFILES.skip > @@ -1,4 +1,2 @@ > data/org.freedesktop.ModemManager1.policy.in > data/tests/org.freedesktop.ModemManager1.service.in > -# https://bugs.launchpad.net/intltool/+bug/1117944 > -sub/data/org.freedesktop.ModemManager1.policy.in > diff --git a/po/de.po b/po/de.po > index d11e4fe5..7fc9dc4e 100644 > --- a/po/de.po > +++ b/po/de.po > @@ -7,8 +7,8 @@ > msgid "" > msgstr "" > "Project-Id-Version: ModemManager\n" > -"Report-Msgid-Bugs-To: \n" > -"POT-Creation-Date: 2014-01-06 21:12+0100\n" > +"Report-Msgid-Bugs-To: [email protected]\n" > +"POT-Creation-Date: 2017-08-29 09:24+0200\n" > "PO-Revision-Date: 2014-01-06 21:23+0100\n" > "Last-Translator: Mario Blättermann <[email protected]>\n > " > "Language-Team: German <[email protected]>\n" > @@ -18,65 +18,75 @@ msgstr "" > "Content-Transfer-Encoding: 8bit\n" > "X-Generator: Poedit 1.5.4\n" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:1 > +#: data/org.freedesktop.ModemManager1.policy.in.in:13 > msgid "Control the Modem Manager daemon" > msgstr "Den Modem-Manager-Daemon steuern" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:2 > +#: data/org.freedesktop.ModemManager1.policy.in.in:14 > msgid "System policy prevents controlling the Modem Manager." > msgstr "Die Systemrichtlinien verhindern die Steuerung von > ModemManager." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:3 > +#: data/org.freedesktop.ModemManager1.policy.in.in:22 > msgid "Unlock and control a mobile broadband device" > msgstr "Ein mobiles Breitbandgerät entsperren und steuern" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:4 > +#: data/org.freedesktop.ModemManager1.policy.in.in:23 > msgid "" > "System policy prevents unlocking or controlling the mobile > broadband device." > msgstr "" > "Die Systemrichtlinien verhindern das Entsperren oder Steuern des > mobilen " > "Breitbandgerätes." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:5 > +#: data/org.freedesktop.ModemManager1.policy.in.in:31 > msgid "Add, modify, and delete mobile broadband contacts" > msgstr "Kontakte für mobiles Breitband hinzufügen, ändern und > löschen" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:6 > +#: data/org.freedesktop.ModemManager1.policy.in.in:32 > msgid "" > "System policy prevents adding, modifying, or deleting this device's > contacts." > msgstr "" > "Die Systemrichtlinien verhindern das Hinzufügen, Ändern oder > Löschen der " > "Kontakte dieses Gerätes." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:7 > +#: data/org.freedesktop.ModemManager1.policy.in.in:40 > msgid "Send, save, modify, and delete text messages" > msgstr "Textnachrichten senden, speichern, bearbeiten und löschen" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:8 > +#: data/org.freedesktop.ModemManager1.policy.in.in:41 > +#, fuzzy > msgid "" > -"System policy prevents sending or maniuplating this device's text > messages." > +"System policy prevents sending or manipulating this device's text > messages." > msgstr "" > "Die Systemrichtlinien verhindern das Senden oder Bearbeiten der " > "Textnachrichten dieses Gerätes." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:9 > +#: data/org.freedesktop.ModemManager1.policy.in.in:49 > +msgid "Accept incoming voice calls or start outgoing voice calls." > +msgstr "" > + > +#: data/org.freedesktop.ModemManager1.policy.in.in:50 > +#, fuzzy > +msgid "System policy prevents voice calls." > +msgstr "Die Systemrichtlinien verhindern die Steuerung von > ModemManager." > + > +#: data/org.freedesktop.ModemManager1.policy.in.in:58 > msgid "Enable and view geographic location and positioning > information" > msgstr "" > "Informationen zum geografischen Standort und Positionierung > aktivieren und " > "anzeigen" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:10 > +#: data/org.freedesktop.ModemManager1.policy.in.in:59 > msgid "" > "System policy prevents enabling or viewing geographic location > information." > msgstr "" > "Die Systemrichtlinien verhindern das Aktivieren oder Ändern der " > "Informationen zum geografischen Standort." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:11 > +#: data/org.freedesktop.ModemManager1.policy.in.in:67 > msgid "Query and utilize network information and services" > msgstr "Netzwerkinformationen und -dienste abfragen und nutzen" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:12 > +#: data/org.freedesktop.ModemManager1.policy.in.in:68 > msgid "" > "System policy prevents querying or utilizing network information > and " > "services." > @@ -84,12 +94,16 @@ msgstr "" > "Die Systemrichtlinien verhindern die Abfrage der > Netzwerkinformationen und -" > "dienste." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:13 > +#: data/org.freedesktop.ModemManager1.policy.in.in:76 > msgid "Query and manage firmware on a mobile broadband device" > msgstr "Firmware auf mobilen Breitbandgeräten abfragen und > verwalten" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:14 > +#: data/org.freedesktop.ModemManager1.policy.in.in:77 > msgid "System policy prevents querying or managing this device's > firmware." > msgstr "" > "Die Systemrichtlinien verhindern die Abfrage oder Verwaltung der > Firmware " > "dieses Gerätes." > + > +#: src/mm-sleep-monitor.c:114 > +msgid "ModemManager needs to reset devices" > +msgstr "" > diff --git a/po/uk.po b/po/uk.po > index b4c8c5d8..5b1f8d59 100644 > --- a/po/uk.po > +++ b/po/uk.po > @@ -6,8 +6,8 @@ > msgid "" > msgstr "" > "Project-Id-Version: Modem Manager\n" > -"Report-Msgid-Bugs-To: \n" > -"POT-Creation-Date: 2013-10-19 18:13+0300\n" > +"Report-Msgid-Bugs-To: [email protected]\n" > +"POT-Creation-Date: 2017-08-29 09:24+0200\n" > "PO-Revision-Date: 2013-10-19 18:17+0300\n" > "Last-Translator: Yuri Chornoivan <[email protected]>\n" > "Language-Team: Ukrainian <[email protected]>\n" > @@ -19,65 +19,75 @@ msgstr "" > "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" > "X-Generator: Lokalize 1.5\n" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:1 > +#: data/org.freedesktop.ModemManager1.policy.in.in:13 > msgid "Control the Modem Manager daemon" > msgstr "Керування фоновою службою Modem Manager" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:2 > +#: data/org.freedesktop.ModemManager1.policy.in.in:14 > msgid "System policy prevents controlling the Modem Manager." > msgstr "Правила системи перешкоджають керування Modem Manager." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:3 > +#: data/org.freedesktop.ModemManager1.policy.in.in:22 > msgid "Unlock and control a mobile broadband device" > msgstr "Розблокувати пристрій мобільної широкосмугової мережі і > керувати ним" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:4 > +#: data/org.freedesktop.ModemManager1.policy.in.in:23 > msgid "" > "System policy prevents unlocking or controlling the mobile > broadband device." > msgstr "" > "Правила системи забороняють розблокування і керування пристроями " > "широкосмугових мобільних мереж." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:5 > +#: data/org.freedesktop.ModemManager1.policy.in.in:31 > msgid "Add, modify, and delete mobile broadband contacts" > msgstr "" > "Додати, внести зміни і вилучити контакти пристрою мобільних > широкосмугових " > "мереж" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:6 > +#: data/org.freedesktop.ModemManager1.policy.in.in:32 > msgid "" > "System policy prevents adding, modifying, or deleting this device's > contacts." > msgstr "" > "Правила системи перешкоджають додаванню, внесенню змін та вилученню > записів " > "контактів на цьому пристрої." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:7 > +#: data/org.freedesktop.ModemManager1.policy.in.in:40 > msgid "Send, save, modify, and delete text messages" > msgstr "Надіслати, зберегти, внести зміни або вилучити текстові > повідомлення" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:8 > +#: data/org.freedesktop.ModemManager1.policy.in.in:41 > +#, fuzzy > msgid "" > -"System policy prevents sending or maniuplating this device's text > messages." > +"System policy prevents sending or manipulating this device's text > messages." > msgstr "" > "Правила системи забороняють надсилання або керування текстовими " > "повідомленнями цього пристрою." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:9 > +#: data/org.freedesktop.ModemManager1.policy.in.in:49 > +msgid "Accept incoming voice calls or start outgoing voice calls." > +msgstr "" > + > +#: data/org.freedesktop.ModemManager1.policy.in.in:50 > +#, fuzzy > +msgid "System policy prevents voice calls." > +msgstr "Правила системи перешкоджають керування Modem Manager." > + > +#: data/org.freedesktop.ModemManager1.policy.in.in:58 > msgid "Enable and view geographic location and positioning > information" > msgstr "" > "Увімкнути або переглянути дані щодо географічного розташування і > позиціювання" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:10 > +#: data/org.freedesktop.ModemManager1.policy.in.in:59 > msgid "" > "System policy prevents enabling or viewing geographic location > information." > msgstr "" > "Правила системи забороняють вмикання або перегляд даних щодо > розташування." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:11 > +#: data/org.freedesktop.ModemManager1.policy.in.in:67 > msgid "Query and utilize network information and services" > msgstr "Надіслати запит і використати дані щодо мережі і служби" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:12 > +#: data/org.freedesktop.ModemManager1.policy.in.in:68 > msgid "" > "System policy prevents querying or utilizing network information > and " > "services." > @@ -85,14 +95,18 @@ msgstr "" > "Правила системи забороняють надсилання запитів і використання даних > щодо " > "мережі і служб." > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:13 > +#: data/org.freedesktop.ModemManager1.policy.in.in:76 > msgid "Query and manage firmware on a mobile broadband device" > msgstr "" > "Опитування та керування мікропрограмою на пристрої мобільної > широкосмугової " > "мережі" > > -#: ../data/org.freedesktop.ModemManager1.policy.in.in.h:14 > +#: data/org.freedesktop.ModemManager1.policy.in.in:77 > msgid "System policy prevents querying or managing this device's > firmware." > msgstr "" > "Правила системи перешкоджають опитуванню або керування > мікропрограмою цього " > "пристрою." > + > +#: src/mm-sleep-monitor.c:114 > +msgid "ModemManager needs to reset devices" > +msgstr "" > -- > 2.13.1 _______________________________________________ ModemManager-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
