commit appstream-glib for openSUSE:Factory
Hello community, here is the log from the commit of package appstream-glib for openSUSE:Factory checked in at 2016-05-05 12:10:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/appstream-glib (Old) and /work/SRC/openSUSE:Factory/.appstream-glib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "appstream-glib" Changes: -------- --- /work/SRC/openSUSE:Factory/appstream-glib/appstream-glib.changes 2016-04-11 09:13:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.appstream-glib.new/appstream-glib.changes 2016-05-05 12:10:29.000000000 +0200 @@ -1,0 +2,21 @@ +Tue Apr 26 09:05:41 UTC 2016 - zaitor@opensuse.org + +- Update to version 0.5.14: + + Ignore desktop files with X-AppStream-Ignore. + + Add search-pkgname to appstream-glib. + + Add AS_APP_QUIRK_NEEDS_REBOOT. + + Fall back to searching in as_store_get_app_by_pkgname(). + + Add AS_APP_QUIRK_NOT_REVIEWABLE. + + Search /usr/share/metainfo for local files. + + trivial: Fix critical warning when validing broken AppStream + files. + + Add the Audio+Video categories from AppStream XML too. + + Add as_screenshot_get_image_for_locale(). + +------------------------------------------------------------------- +Thu Apr 14 16:17:34 UTC 2016 - dimstar@opensuse.org + +- Require the main-package by the -devel package: the AS-utils are + expected to be available to a developer. + +------------------------------------------------------------------- Old: ---- appstream-glib-0.5.13.tar.xz New: ---- appstream-glib-0.5.14.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ appstream-glib.spec ++++++ --- /var/tmp/diff_new_pack.X9krwR/_old 2016-05-05 12:10:30.000000000 +0200 +++ /var/tmp/diff_new_pack.X9krwR/_new 2016-05-05 12:10:30.000000000 +0200 @@ -20,7 +20,7 @@ %define _build_from_vcs 1 Name: appstream-glib -Version: 0.5.13 +Version: 0.5.14 Release: 0 Summary: AppStream Abstraction Library License: LGPL-2.1+ @@ -128,6 +128,7 @@ %package devel Summary: AppStream Abstraction Library -- Development files Group: Development/Languages/C and C++ +Requires: %{name} = %{version} Requires: libappstream-builder8 = %{version} Requires: libappstream-glib8 = %{version} Requires: typelib-1_0-AppStreamBuilder-1_0 = %{version} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.X9krwR/_old 2016-05-05 12:10:30.000000000 +0200 +++ /var/tmp/diff_new_pack.X9krwR/_new 2016-05-05 12:10:30.000000000 +0200 @@ -2,9 +2,9 @@ <service name="tar_scm" mode="disabled"> <param name="url">https://github.com/hughsie/appstream-glib.git</param> <param name="scm">git</param> - <param name="versionformat">0.5.13</param> + <param name="versionformat">0.5.14</param> <param name="changesgenerate">enable</param> - <param name="revision">refs/tags/appstream_glib_0_5_13</param> + <param name="revision">refs/tags/appstream_glib_0_5_14</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.X9krwR/_old 2016-05-05 12:10:30.000000000 +0200 +++ /var/tmp/diff_new_pack.X9krwR/_new 2016-05-05 12:10:30.000000000 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/hughsie/appstream-glib.git</param> - <param name="changesrevision">e6ee905cd28dcd421c52e2902410023fd08c139d</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">469bd3d1a1109df0569b6d6aac3fb79bf7a5cbd6</param></service></servicedata> \ No newline at end of file ++++++ appstream-glib-0.5.13.tar.xz -> appstream-glib-0.5.14.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/NEWS new/appstream-glib-0.5.14/NEWS --- old/appstream-glib-0.5.13/NEWS 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/NEWS 2016-04-26 11:05:40.000000000 +0200 @@ -1,3 +1,19 @@ +Version 0.5.14 +~~~~~~~~~~~~~~ +Released: 2016-04-20 + +New Features: + - Add AS_APP_QUIRK_NEEDS_REBOOT (Richard Hughes) + - Add AS_APP_QUIRK_NOT_REVIEWABLE (Richard Hughes) + - Add as_screenshot_get_image_for_locale() (Richard Hughes) + - Add search-pkgname to appstream-cmd (Richard Hughes) + +Bugfixes: + - Add the Audio+Video categories from AppStream XML too (Richard Hughes) + - Fall back to searching in as_store_get_app_by_pkgname() (Richard Hughes) + - Ignore desktop files with X-AppStream-Ignore (Richard Hughes) + - Search /usr/share/metainfo for local files (Richard Hughes) + Version 0.5.13 ~~~~~~~~~~~~~~ Released: 2016-04-01 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/RELEASE new/appstream-glib-0.5.14/RELEASE --- old/appstream-glib-0.5.13/RELEASE 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/RELEASE 2016-04-26 11:05:41.000000000 +0200 @@ -2,10 +2,10 @@ 1. Write NEWS entries for appstream_glib in the same format as usual. -git shortlog appstream_glib_0_5_12.. | grep -i -v trivial | grep -v Merge > NEWS.new +git shortlog appstream_glib_0_5_13.. | grep -i -v trivial | grep -v Merge > NEWS.new -------------------------------------------------------------------------------- -Version 0.5.13 +Version 0.5.14 ~~~~~~~~~~~~~~ Released: 2016-xx-xx @@ -29,8 +29,8 @@ 4. Commit changes in git: -git commit -a -m "Release version 0.5.13" -git tag -s -f -m "Release 0.5.13" appstream_glib_0_5_13 +git commit -a -m "Release version 0.5.14" +git tag -s -f -m "Release 0.5.14" appstream_glib_0_5_14 <gpg password> git push --tags git push diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/client/as-util.c new/appstream-glib-0.5.14/client/as-util.c --- old/appstream-glib-0.5.13/client/as-util.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/client/as-util.c 2016-04-26 11:05:40.000000000 +0200 @@ -1310,6 +1310,49 @@ } /** + * as_util_search_pkgname: + **/ +static gboolean +as_util_search_pkgname (AsUtilPrivate *priv, gchar **values, GError **error) +{ + AsApp *app; + guint i; + g_autoptr(AsStore) store = NULL; + + /* check args */ + if (g_strv_length (values) < 1) { + g_set_error_literal (error, + AS_ERROR, + AS_ERROR_INVALID_ARGUMENTS, + "Not enough arguments, " + "expected search terms"); + return FALSE; + } + + /* load system database */ + store = as_store_new (); + if (!as_store_load (store, + AS_STORE_LOAD_FLAG_IGNORE_INVALID | + AS_STORE_LOAD_FLAG_APP_INFO_SYSTEM | + AS_STORE_LOAD_FLAG_APP_INFO_USER | + AS_STORE_LOAD_FLAG_APPDATA | + AS_STORE_LOAD_FLAG_XDG_APP_USER | + AS_STORE_LOAD_FLAG_XDG_APP_SYSTEM | + AS_STORE_LOAD_FLAG_DESKTOP, + NULL, error)) + return FALSE; + + /* find by source */ + for (i = 0; values[i] != NULL; i++) { + app = as_store_get_app_by_pkgname (store, values[i]); + if (app == NULL) + continue; + g_print ("%s\n", as_app_get_id (app)); + } + return TRUE; +} + +/** * as_util_search_token_sort_cb: **/ static gint @@ -4048,6 +4091,12 @@ _("Search for AppStream applications"), as_util_search); as_util_add (priv->cmd_array, + "search-pkgname", + NULL, + /* TRANSLATORS: command description */ + _("Search for AppStream applications by package name"), + as_util_search_pkgname); + as_util_add (priv->cmd_array, "show-search-tokens", NULL, /* TRANSLATORS: command description */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/configure.ac new/appstream-glib-0.5.14/configure.ac --- old/appstream-glib-0.5.13/configure.ac 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/configure.ac 2016-04-26 11:05:41.000000000 +0200 @@ -2,7 +2,7 @@ m4_define([as_major_version], [0]) m4_define([as_minor_version], [5]) -m4_define([as_micro_version], [13]) +m4_define([as_micro_version], [14]) m4_define([as_version], [as_major_version.as_minor_version.as_micro_version]) @@ -51,7 +51,7 @@ # fixed, change: # REVISION += 1 LT_CURRENT=8 -LT_REVISION=6 +LT_REVISION=7 LT_AGE=0 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-app-desktop.c new/appstream-glib-0.5.14/libappstream-glib/as-app-desktop.c --- old/appstream-glib-0.5.13/libappstream-glib/as-app-desktop.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-app-desktop.c 2016-04-26 11:05:41.000000000 +0200 @@ -351,6 +351,16 @@ NULL); if (tmp != NULL && tmp[0] != '\0') as_app_set_name (app, locale, tmp); + + /* for Ubuntu */ + } else if (g_strcmp0 (key, "X-AppStream-Ignore") == 0) { + gboolean ret; + ret = g_key_file_get_boolean (kf, + G_KEY_FILE_DESKTOP_GROUP, + key, + NULL); + if (ret) + as_app_add_veto (app, "X-AppStream-Ignore"); } return TRUE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-app.c new/appstream-glib-0.5.14/libappstream-glib/as-app.c --- old/appstream-glib-0.5.13/libappstream-glib/as-app.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-app.c 2016-04-26 11:05:41.000000000 +0200 @@ -2198,7 +2198,6 @@ if (g_strcmp0 (category, "AudioVideo") == 0) { as_app_add_category (app, "Audio"); as_app_add_category (app, "Video"); - return; } g_ptr_array_add (priv->categories, g_strdup (category)); @@ -3778,10 +3777,10 @@ for (c = n->children; c != NULL; c = c->next) { if (as_node_get_tag (c) != AS_TAG_CATEGORY) continue; - taken = as_node_take_data (c); - if (taken == NULL) + tmp = as_node_get_data (c); + if (tmp == NULL) continue; - g_ptr_array_add (priv->categories, taken); + as_app_add_category (app, tmp); } break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-app.h new/appstream-glib-0.5.14/libappstream-glib/as-app.h --- old/appstream-glib-0.5.13/libappstream-glib/as-app.h 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-app.h 2016-04-26 11:05:41.000000000 +0200 @@ -217,6 +217,8 @@ * @AS_APP_QUIRK_COMPULSORY: Cannot be removed * @AS_APP_QUIRK_HAS_SOURCE: Has a source to allow staying up-to-date * @AS_APP_QUIRK_MATCH_ANY_PREFIX: Matches applications with any prefix + * @AS_APP_QUIRK_NEEDS_REBOOT: A reboot is required after the action + * @AS_APP_QUIRK_NOT_REVIEWABLE: The app is not reviewable * * The component attributes. **/ @@ -226,6 +228,8 @@ AS_APP_QUIRK_COMPULSORY = 1 << 1, /* Since: 0.5.10 */ AS_APP_QUIRK_HAS_SOURCE = 1 << 2, /* Since: 0.5.10 */ AS_APP_QUIRK_MATCH_ANY_PREFIX = 1 << 3, /* Since: 0.5.12 */ + AS_APP_QUIRK_NEEDS_REBOOT = 1 << 4, /* Since: 0.5.14 */ + AS_APP_QUIRK_NOT_REVIEWABLE = 1 << 5, /* Since: 0.5.14 */ /*< private >*/ AS_APP_QUIRK_LAST } AsAppQuirk; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-image.c new/appstream-glib-0.5.14/libappstream-glib/as-image.c --- old/appstream-glib-0.5.13/libappstream-glib/as-image.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-image.c 2016-04-26 11:05:41.000000000 +0200 @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * - * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> + * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * @@ -42,6 +42,7 @@ typedef struct { AsImageKind kind; + gchar *locale; gchar *url; gchar *md5; gchar *basename; @@ -68,6 +69,7 @@ g_free (priv->url); g_free (priv->md5); g_free (priv->basename); + g_free (priv->locale); G_OBJECT_CLASS (as_image_parent_class)->finalize (object); } @@ -166,6 +168,23 @@ } /** + * as_image_get_locale: + * @image: a #AsImage instance. + * + * Gets the locale of the image. + * + * Returns: locale, or %NULL + * + * Since: 0.5.14 + **/ +const gchar * +as_image_get_locale (AsImage *image) +{ + AsImagePrivate *priv = GET_PRIVATE (image); + return priv->locale; +} + +/** * as_image_get_md5: * @image: a #AsImage instance. * @@ -285,6 +304,23 @@ } /** + * as_image_set_locale: + * @image: a #AsImage instance. + * @locale: the new image locale, e.g. "en_GB" or %NULL. + * + * Sets the image locale. + * + * Since: 0.5.14 + **/ +void +as_image_set_locale (AsImage *image, const gchar *locale) +{ + AsImagePrivate *priv = GET_PRIVATE (image); + g_free (priv->locale); + priv->locale = g_strdup (locale); +} + +/** * as_image_set_width: * @image: a #AsImage instance. * @width: the width in pixels. @@ -395,6 +431,8 @@ "type", as_image_kind_to_string (priv->kind), NULL); } + if (priv->locale != NULL) + as_node_add_attribute (n, "xml:lang", priv->locale); return n; } @@ -436,6 +474,11 @@ g_free (priv->url); priv->url = taken; } + taken = as_node_take_attribute (node, "xml:lang"); + if (taken != NULL) { + g_free (priv->locale); + priv->locale = taken; + } return TRUE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-image.h new/appstream-glib-0.5.14/libappstream-glib/as-image.h --- old/appstream-glib-0.5.13/libappstream-glib/as-image.h 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-image.h 2016-04-26 11:05:41.000000000 +0200 @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * - * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> + * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * @@ -142,6 +142,7 @@ const gchar *as_image_get_url (AsImage *image); const gchar *as_image_get_md5 (AsImage *image); const gchar *as_image_get_basename (AsImage *image); +const gchar *as_image_get_locale (AsImage *image); guint as_image_get_width (AsImage *image); guint as_image_get_height (AsImage *image); AsImageKind as_image_get_kind (AsImage *image); @@ -152,6 +153,8 @@ const gchar *url); void as_image_set_basename (AsImage *image, const gchar *basename); +void as_image_set_locale (AsImage *image, + const gchar *locale); void as_image_set_width (AsImage *image, guint width); void as_image_set_height (AsImage *image, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-screenshot.c new/appstream-glib-0.5.14/libappstream-glib/as-screenshot.c --- old/appstream-glib-0.5.13/libappstream-glib/as-screenshot.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-screenshot.c 2016-04-26 11:05:41.000000000 +0200 @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * - * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> + * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * @@ -168,7 +168,7 @@ * as_screenshot_get_images: * @screenshot: a #AsScreenshot instance. * - * Gets the image sizes included in the screenshot. + * Gets the images included in the screenshot of all sizes and locales. * * Returns: (element-type AsImage) (transfer none): an array * @@ -182,21 +182,58 @@ } /** - * as_screenshot_get_image: + * as_screenshot_get_images_for_locale: + * @screenshot: a #AsScreenshot instance. + * + * Returns all images of all sizes that are compatible with a specific locale. + * + * Returns: (element-type AsImage) (transfer container): an array + * + * Since: 0.5.14 + **/ +GPtrArray * +as_screenshot_get_images_for_locale (AsScreenshot *screenshot, + const gchar *locale) +{ + AsImage *im; + AsScreenshotPrivate *priv = GET_PRIVATE (screenshot); + GPtrArray *array; + guint i; + + /* user wants a specific locale */ + array = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref); + for (i = 0; i < priv->images->len; i++) { + im = g_ptr_array_index (priv->images, i); + if (!as_utils_locale_is_compatible (as_image_get_locale (im), + locale)) + continue; + g_ptr_array_add (array, g_object_ref (im)); + } + return array; +} + +/** + * as_screenshot_get_image_for_locale: * @screenshot: a #AsScreenshot instance. + * @locale: locale, or %NULL * @width: target width * @height: target height * - * Gets the AsImage closest to the target size. The #AsImage may not actually - * be the requested size, and the application may have to pad / rescale the - * image to make it fit. + * Gets the AsImage closest to the target size with the specified locale. + * The #AsImage may not actually be the requested size, and the application may + * have to pad / rescale the image to make it fit. + * + * FIXME: This function assumes the images are ordered in preference order, e.g. + * "en_GB -> en -> NULL" * * Returns: (transfer none): an #AsImage, or %NULL * - * Since: 0.2.2 + * Since: 0.5.14 **/ AsImage * -as_screenshot_get_image (AsScreenshot *screenshot, guint width, guint height) +as_screenshot_get_image_for_locale (AsScreenshot *screenshot, + const gchar *locale, + guint width, guint height) { AsImage *im; AsImage *im_best = NULL; @@ -209,6 +246,8 @@ for (i = 0; i < priv->images->len; i++) { im = g_ptr_array_index (priv->images, i); + if (!as_utils_locale_is_compatible (as_image_get_locale (im), locale)) + continue; tmp = ABS ((gint64) (width * height) - (gint64) (as_image_get_width (im) * as_image_get_height (im))); if (tmp < best_size) { @@ -220,6 +259,29 @@ } /** + * as_screenshot_get_image: + * @screenshot: a #AsScreenshot instance. + * @width: target width + * @height: target height + * + * Gets the AsImage closest to the target size. The #AsImage may not actually + * be the requested size, and the application may have to pad / rescale the + * image to make it fit. + * + * Returns: (transfer none): an #AsImage, or %NULL + * + * Since: 0.2.2 + **/ +AsImage * +as_screenshot_get_image (AsScreenshot *screenshot, guint width, guint height) +{ + return as_screenshot_get_image_for_locale (screenshot, + NULL, /* locale */ + width, + height); +} + +/** * as_screenshot_get_source: * @screenshot: a #AsScreenshot instance. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-screenshot.h new/appstream-glib-0.5.14/libappstream-glib/as-screenshot.h --- old/appstream-glib-0.5.13/libappstream-glib/as-screenshot.h 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-screenshot.h 2016-04-26 11:05:41.000000000 +0200 @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * - * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> + * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * @@ -77,9 +77,15 @@ const gchar *as_screenshot_get_caption (AsScreenshot *screenshot, const gchar *locale); GPtrArray *as_screenshot_get_images (AsScreenshot *screenshot); +GPtrArray *as_screenshot_get_images_for_locale (AsScreenshot *screenshot, + const gchar *locale); AsImage *as_screenshot_get_image (AsScreenshot *screenshot, guint width, guint height); +AsImage *as_screenshot_get_image_for_locale (AsScreenshot *screenshot, + const gchar *locale, + guint width, + guint height); AsImage *as_screenshot_get_source (AsScreenshot *screenshot); /* setters */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-self-test.c new/appstream-glib-0.5.14/libappstream-glib/as-self-test.c --- old/appstream-glib-0.5.13/libappstream-glib/as-self-test.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-self-test.c 2016-04-26 11:05:41.000000000 +0200 @@ -1114,7 +1114,7 @@ AsNode *root; GString *xml; const gchar *src = - "<image type=\"thumbnail\" height=\"12\" width=\"34\">" + "<image xml:lang=\"en_GB\" type=\"thumbnail\" height=\"12\" width=\"34\">" "http://www.hughsie.com/a.jpg</image>"; gboolean ret; g_autofree AsNodeContext *ctx = NULL; @@ -1140,6 +1140,7 @@ g_assert_cmpint (as_image_get_kind (image), ==, AS_IMAGE_KIND_THUMBNAIL); g_assert_cmpint (as_image_get_height (image), ==, 12); g_assert_cmpint (as_image_get_width (image), ==, 34); + g_assert_cmpstr (as_image_get_locale (image), ==, "en_GB"); g_assert_cmpstr (as_image_get_url (image), ==, "http://www.hughsie.com/a.jpg"); /* back to node */ @@ -4706,6 +4707,30 @@ } static void +as_test_utils_locale_compat_func (void) +{ + /* empty */ + g_assert (as_utils_locale_is_compatible (NULL, NULL)); + + /* same */ + g_assert (as_utils_locale_is_compatible ("en_GB", "en_GB")); + + /* forward and reverse compatible */ + g_assert (as_utils_locale_is_compatible ("en_GB", "en")); + g_assert (as_utils_locale_is_compatible ("en", "en_GB")); + + /* different language and locale */ + g_assert (!as_utils_locale_is_compatible ("en_GB", "fr_FR")); + + /* politics */ + g_assert (!as_utils_locale_is_compatible ("zh_CN", "zh_TW")); + + /* never going to match system locale or language */ + g_assert (!as_utils_locale_is_compatible ("xx_XX", NULL)); + g_assert (!as_utils_locale_is_compatible (NULL, "xx_XX")); +} + +static void as_test_markup_import_html (void) { const gchar *input; @@ -4778,6 +4803,7 @@ g_log_set_fatal_mask (NULL, G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL); /* tests go here */ + g_test_add_func ("/AppStream/utils{locale-compat}", as_test_utils_locale_compat_func); g_test_add_func ("/AppStream/utils{string-replace}", as_test_utils_string_replace_func); g_test_add_func ("/AppStream/tag", as_test_tag_func); g_test_add_func ("/AppStream/provide", as_test_provide_func); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-store.c new/appstream-glib-0.5.14/libappstream-glib/as-store.c --- old/appstream-glib-0.5.13/libappstream-glib/as-store.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-store.c 2016-04-26 11:05:41.000000000 +0200 @@ -667,6 +667,24 @@ } /** + * as_app_has_pkgname: + **/ +static gboolean +as_app_has_pkgname (AsApp *app, const gchar *pkgname) +{ + guint i; + GPtrArray *pkgnames; + + pkgnames = as_app_get_pkgnames (app); + for (i = 0; i < pkgnames->len; i++) { + const gchar *tmp = g_ptr_array_index (pkgnames, i); + if (g_strcmp0 (tmp, pkgname) == 0) + return TRUE; + } + return FALSE; +} + +/** * as_store_get_app_by_pkgname: * @store: a #AsStore instance. * @pkgname: the package name. @@ -680,9 +698,27 @@ AsApp * as_store_get_app_by_pkgname (AsStore *store, const gchar *pkgname) { + AsApp *app; AsStorePrivate *priv = GET_PRIVATE (store); + guint i; + g_return_val_if_fail (AS_IS_STORE (store), NULL); - return g_hash_table_lookup (priv->hash_pkgname, pkgname); + + /* in most cases, we can use the cache */ + app = g_hash_table_lookup (priv->hash_pkgname, pkgname); + if (app != NULL) + return app; + + /* fall back in case the user adds to app to the store, *then* + * uses as_app_add_pkgname() on the app */ + for (i = 0; i < priv->array->len; i++) { + app = g_ptr_array_index (priv->array, i); + if (as_app_has_pkgname (app, pkgname)) + return app; + } + + /* not found */ + return NULL; } /** @@ -2518,6 +2554,13 @@ dest, cancellable, error)) return FALSE; } + if ((flags & AS_STORE_LOAD_FLAG_APPDATA) > 0) { + g_autofree gchar *dest = NULL; + dest = g_build_filename (data_dirs[i], "metainfo", NULL); + if (!as_store_search_installed (store, flags, "system", + dest, cancellable, error)) + return FALSE; + } if ((flags & AS_STORE_LOAD_FLAG_DESKTOP) > 0) { g_autofree gchar *dest = NULL; dest = g_build_filename (data_dirs[i], "applications", NULL); @@ -2732,8 +2775,12 @@ static gchar * as_store_get_unique_name_app_key (AsApp *app) { + const gchar *name; g_autofree gchar *name_lower = NULL; - name_lower = g_utf8_strdown (as_app_get_name (app, NULL), -1); + name = as_app_get_name (app, NULL); + if (name == NULL) + return NULL; + name_lower = g_utf8_strdown (name, -1); return g_strdup_printf ("<%s:%s>", as_app_kind_to_string (as_app_get_kind (app)), name_lower); @@ -2955,22 +3002,23 @@ /* check uniqueness */ app_key = as_store_get_unique_name_app_key (app); - app_tmp = g_hash_table_lookup (hash_names, app_key); - if (app_tmp != NULL) { - as_store_validate_add (probs, - AS_PROBLEM_KIND_DUPLICATE_DATA, - "%s[%s] as the same name as %s[%s]: %s", - as_app_get_id (app), - as_app_get_pkgname_default (app), - as_app_get_id (app_tmp), - as_app_get_pkgname_default (app_tmp), - app_key); - } else { - g_hash_table_insert (hash_names, - g_strdup (app_key), - g_object_ref (app)); + if (app_key != NULL) { + app_tmp = g_hash_table_lookup (hash_names, app_key); + if (app_tmp != NULL) { + as_store_validate_add (probs, + AS_PROBLEM_KIND_DUPLICATE_DATA, + "%s[%s] as the same name as %s[%s]: %s", + as_app_get_id (app), + as_app_get_pkgname_default (app), + as_app_get_id (app_tmp), + as_app_get_pkgname_default (app_tmp), + app_key); + } else { + g_hash_table_insert (hash_names, + g_strdup (app_key), + g_object_ref (app)); + } } - } return probs; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-utils-private.h new/appstream-glib-0.5.14/libappstream-glib/as-utils-private.h --- old/appstream-glib-0.5.13/libappstream-glib/as-utils-private.h 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-utils-private.h 2016-04-26 11:05:41.000000000 +0200 @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * - * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> + * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * @@ -42,6 +42,8 @@ gint iterations); const gchar *as_ptr_array_find_string (GPtrArray *array, const gchar *value); +gboolean as_utils_locale_is_compatible (const gchar *locale1, + const gchar *locale2); G_END_DECLS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/libappstream-glib/as-utils.c new/appstream-glib-0.5.14/libappstream-glib/as-utils.c --- old/appstream-glib-0.5.13/libappstream-glib/as-utils.c 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/libappstream-glib/as-utils.c 2016-04-26 11:05:41.000000000 +0200 @@ -1,6 +1,6 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * - * Copyright (C) 2014 Richard Hughes <richard@hughsie.com> + * Copyright (C) 2014-2016 Richard Hughes <richard@hughsie.com> * Copyright (C) 2011 Paolo Bacchilega <paobac@src.gnome.org> * * Licensed under the GNU Lesser General Public License Version 2.1 @@ -96,6 +96,74 @@ } /** + * as_utils_locale_to_language: + **/ +static gchar * +as_utils_locale_to_language (const gchar *locale) +{ + gchar *tmp; + gchar *country_code; + + /* invalid */ + if (locale == NULL) + return NULL; + + /* return the part before the _ (not always 2 chars!) */ + country_code = g_strdup (locale); + tmp = g_strstr_len (country_code, -1, "_"); + if (tmp != NULL) + *tmp = '\0'; + return country_code; +} + +/** + * as_utils_locale_is_compatible: + * @locale1: a locale string, or %NULL + * @locale2: a locale string, or %NULL + * + * Calculates if one locale is compatible with another. + * When doing the calculation the locale and language code is taken into + * account if possible. + * + * Returns: %TRUE if the locale is compatible. + * + * Since: 0.5.14 + **/ +gboolean +as_utils_locale_is_compatible (const gchar *locale1, const gchar *locale2) +{ + g_autofree gchar *lang1 = as_utils_locale_to_language (locale1); + g_autofree gchar *lang2 = as_utils_locale_to_language (locale2); + + /* we've specified "don't care" and locale unspecified */ + if (locale1 == NULL && locale2 == NULL) + return TRUE; + + /* forward */ + if (locale1 == NULL && locale2 != NULL) { + const gchar *const *locales = g_get_language_names (); + return g_strv_contains (locales, locale2) || + g_strv_contains (locales, lang2); + } + + /* backwards */ + if (locale1 != NULL && locale2 == NULL) { + const gchar *const *locales = g_get_language_names (); + return g_strv_contains (locales, locale1) || + g_strv_contains (locales, lang1); + } + + /* both specified */ + if (g_strcmp0 (locale1, locale2) == 0) + return TRUE; + if (g_strcmp0 (locale1, lang2) == 0) + return TRUE; + if (g_strcmp0 (lang1, locale2) == 0) + return TRUE; + return FALSE; +} + +/** * as_utils_is_stock_icon_name: * @name: an icon name * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/ca.po new/appstream-glib-0.5.14/po/ca.po --- old/appstream-glib-0.5.13/po/ca.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/ca.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,9 +8,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-30 01:33+0000\n" -"Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Catalan (http://www.transifex.com/freedesktop/appstream-glib/language/ca/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -274,6 +274,10 @@ msgstr "Cerca aplicacions de l'AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Mostra els marcadors de cerca de l'aplicació" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/cs.po new/appstream-glib-0.5.14/po/cs.po --- old/appstream-glib-0.5.13/po/cs.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/cs.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,9 +9,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-30 16:08+0000\n" -"Last-Translator: Marek Černocký <marek@manet.cz>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Czech (http://www.transifex.com/freedesktop/appstream-glib/language/cs/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -275,6 +275,10 @@ msgstr "Vyhledat v AppStream aplikace" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Zobrazit slova indexovaná pro hledání aplikací" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/da.po new/appstream-glib-0.5.14/po/da.po --- old/appstream-glib-0.5.13/po/da.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/da.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Danish (http://www.transifex.com/freedesktop/appstream-glib/language/da/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/de.po new/appstream-glib-0.5.14/po/de.po --- old/appstream-glib-0.5.13/po/de.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/de.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,9 +8,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-30 16:59+0000\n" -"Last-Translator: Ettore Atalan <atalanttore@googlemail.com>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: German (http://www.transifex.com/freedesktop/appstream-glib/language/de/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -274,6 +274,10 @@ msgstr "Nach AppStream-Anwendungen suchen" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Anwendungssuchinformation anzeigen" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/en_GB.po new/appstream-glib-0.5.14/po/en_GB.po --- old/appstream-glib-0.5.13/po/en_GB.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/en_GB.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,8 +9,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: English (United Kingdom) (http://www.transifex.com/freedesktop/appstream-glib/language/en_GB/)\n" "MIME-Version: 1.0\n" @@ -275,6 +275,10 @@ msgstr "Search for AppStream applications" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Display application search tokens" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/es.po new/appstream-glib-0.5.14/po/es.po --- old/appstream-glib-0.5.13/po/es.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/es.po 2016-04-26 11:05:41.000000000 +0200 @@ -3,13 +3,13 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Adolfo Jayme Barrientos, 2014 +# Adolfo Jayme Barrientos, 2014 msgid "" msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Spanish (http://www.transifex.com/freedesktop/appstream-glib/language/es/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/fi.po new/appstream-glib-0.5.14/po/fi.po --- old/appstream-glib-0.5.13/po/fi.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/fi.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Finnish (http://www.transifex.com/freedesktop/appstream-glib/language/fi/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/fr.po new/appstream-glib-0.5.14/po/fr.po --- old/appstream-glib-0.5.13/po/fr.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/fr.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: French (http://www.transifex.com/freedesktop/appstream-glib/language/fr/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/gl.po new/appstream-glib-0.5.14/po/gl.po --- old/appstream-glib-0.5.13/po/gl.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/gl.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Galician (http://www.transifex.com/freedesktop/appstream-glib/language/gl/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "Buscar aplicativos AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Mostrar tokens de busca de aplicativo" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/hu.po new/appstream-glib-0.5.14/po/hu.po --- old/appstream-glib-0.5.13/po/hu.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/hu.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,9 +9,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-04-01 07:13+0000\n" -"Last-Translator: kelemeng <kelemeng@ubuntu.com>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Hungarian (http://www.transifex.com/freedesktop/appstream-glib/language/hu/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -275,6 +275,10 @@ msgstr "AppStream alkalmazások keresése" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Alkalmazáskeresési jelsorok megjelenítése" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/it.po new/appstream-glib-0.5.14/po/it.po --- old/appstream-glib-0.5.13/po/it.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/it.po 2016-04-26 11:05:41.000000000 +0200 @@ -7,8 +7,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Italian (http://www.transifex.com/freedesktop/appstream-glib/language/it/)\n" "MIME-Version: 1.0\n" @@ -273,6 +273,10 @@ msgstr "Cerca applicazioni AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Visualizza i token di ricerca applicazione" @@ -362,7 +366,7 @@ #. TRANSLATORS: command description msgid "Merge several files to an AppStream file" -msgstr "" +msgstr "Unisce più file in un unico file AppStream" #. TRANSLATORS: command description msgid "Import a file to AppStream markup" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/ko.po new/appstream-glib-0.5.14/po/ko.po --- old/appstream-glib-0.5.13/po/ko.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/ko.po 2016-04-26 11:05:41.000000000 +0200 @@ -10,8 +10,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Korean (http://www.transifex.com/freedesktop/appstream-glib/language/ko/)\n" "MIME-Version: 1.0\n" @@ -276,6 +276,10 @@ msgstr " AppStream 프로그램 검색" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "프로그램 검색 토큰 표시" @@ -365,11 +369,11 @@ #. TRANSLATORS: command description msgid "Merge several files to an AppStream file" -msgstr "" +msgstr "여러 파일을 AppStream 파일에 병합" #. TRANSLATORS: command description msgid "Import a file to AppStream markup" -msgstr "" +msgstr "AppStream 마크업으로 파일 가져오기" #. TRANSLATORS: program name msgid "AppStream Utility" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/oc.po new/appstream-glib-0.5.14/po/oc.po --- old/appstream-glib-0.5.13/po/oc.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/oc.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,8 +9,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Occitan (post 1500) (http://www.transifex.com/freedesktop/appstream-glib/language/oc/)\n" "MIME-Version: 1.0\n" @@ -275,6 +275,10 @@ msgstr "" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/pl.po new/appstream-glib-0.5.14/po/pl.po --- old/appstream-glib-0.5.13/po/pl.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/pl.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,9 +8,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-29 15:39+0000\n" -"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Polish (http://www.transifex.com/freedesktop/appstream-glib/language/pl/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -274,6 +274,10 @@ msgstr "Wyszukuje programy AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Wyświetla tokeny wyszukiwania programów" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/pt.po new/appstream-glib-0.5.14/po/pt.po --- old/appstream-glib-0.5.13/po/pt.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/pt.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Portuguese (http://www.transifex.com/freedesktop/appstream-glib/language/pt/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "Procurar aplicações AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Mostrar símbolos de procura de aplicações" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/pt_BR.po new/appstream-glib-0.5.14/po/pt_BR.po --- old/appstream-glib-0.5.13/po/pt_BR.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/pt_BR.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/freedesktop/appstream-glib/language/pt_BR/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "Pesquisa por aplicativos do AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Exibe tokens de pesquisa por aplicativos" @@ -363,7 +367,7 @@ #. TRANSLATORS: command description msgid "Merge several files to an AppStream file" -msgstr "" +msgstr "Mesclar diversos arquivos em um arquivo AppStream" #. TRANSLATORS: command description msgid "Import a file to AppStream markup" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/ru.po new/appstream-glib-0.5.14/po/ru.po --- old/appstream-glib-0.5.13/po/ru.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/ru.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,9 +9,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-30 19:28+0000\n" -"Last-Translator: Serge Vylekzhanin <vylekzhanin@mail.ru>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Russian (http://www.transifex.com/freedesktop/appstream-glib/language/ru/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -275,6 +275,10 @@ msgstr "Поиск приложений AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Показать токены поиска приложений" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/sk.po new/appstream-glib-0.5.14/po/sk.po --- old/appstream-glib-0.5.13/po/sk.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/sk.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,9 +9,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-30 13:56+0000\n" -"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Slovak (http://www.transifex.com/freedesktop/appstream-glib/language/sk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -275,6 +275,10 @@ msgstr "Vyhľadá aplikácie AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Zobrazí tokeny vyhľadávania aplikácií" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/sl.po new/appstream-glib-0.5.14/po/sl.po --- old/appstream-glib-0.5.13/po/sl.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/sl.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Slovenian (http://www.transifex.com/freedesktop/appstream-glib/language/sl/)\n" "MIME-Version: 1.0\n" @@ -274,6 +274,10 @@ msgstr "" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/sr.po new/appstream-glib-0.5.14/po/sr.po --- old/appstream-glib-0.5.13/po/sr.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/sr.po 2016-04-26 11:05:41.000000000 +0200 @@ -10,8 +10,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Serbian (http://www.transifex.com/freedesktop/appstream-glib/language/sr/)\n" "MIME-Version: 1.0\n" @@ -276,6 +276,10 @@ msgstr "Потражи програме Програмског тока" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Прикажи жетоне претраге програма" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/sr@latin.po new/appstream-glib-0.5.14/po/sr@latin.po --- old/appstream-glib-0.5.13/po/sr@latin.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/sr@latin.po 2016-04-26 11:05:41.000000000 +0200 @@ -10,8 +10,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Serbian (Latin) (http://www.transifex.com/freedesktop/appstream-glib/language/sr@latin/)\n" "MIME-Version: 1.0\n" @@ -276,6 +276,10 @@ msgstr "Potraži programe Programskog toka" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Prikaži žetone pretrage programa" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/sv.po new/appstream-glib-0.5.14/po/sv.po --- old/appstream-glib-0.5.13/po/sv.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/sv.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,8 +9,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Swedish (http://www.transifex.com/freedesktop/appstream-glib/language/sv/)\n" "MIME-Version: 1.0\n" @@ -275,6 +275,10 @@ msgstr "Sök efter AppStream-program" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Visa sökelement för program" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/tr.po new/appstream-glib-0.5.14/po/tr.po --- old/appstream-glib-0.5.13/po/tr.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/tr.po 2016-04-26 11:05:41.000000000 +0200 @@ -3,14 +3,14 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Muhammet Kara <muhammetk@gmail.com>, 2015 +# Muhammet Kara <muhammetk@gmail.com>, 2015-2016 # Necdet Yücel <necdetyucel@gmail.com>, 2014 msgid "" msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Turkish (http://www.transifex.com/freedesktop/appstream-glib/language/tr/)\n" "MIME-Version: 1.0\n" @@ -171,7 +171,7 @@ #. TRANSLATORS: this is when the destination file #. * cannot be saved for some reason msgid "Error saving AppStream file" -msgstr "" +msgstr "AppStream dosyasını kaydederken hata" #. TRANSLATORS: this is a command alias #, c-format @@ -188,7 +188,7 @@ #. TRANSLATORS: information message msgid "Old API version" -msgstr "" +msgstr "Eski API sürümü" #. TRANSLATORS: information message msgid "New API version" @@ -210,15 +210,15 @@ #. * e.g. 'appdata' #, c-format msgid "File format '%s' cannot be upgraded" -msgstr "" +msgstr "'%s' dosya biçimi yükseltilemiyor" #. TRANSLATORS: not a recognised file type msgid "Format not recognised" -msgstr "" +msgstr "Biçim tanınmadı" #. TRANSLATORS: probably wrong XML msgid "No desktop applications found" -msgstr "" +msgstr "Hiçbir masaüstü uygulaması bulunamadı" #. TRANSLATORS: the file is valid msgid "OK" @@ -236,11 +236,11 @@ #. TRANSLATORS: application was removed msgid "Removed" -msgstr "" +msgstr "Kaldırıldı" #. TRANSLATORS: application was added msgid "Added" -msgstr "" +msgstr "Eklendi" #. TRANSLATORS: this is the --nonet argument msgid "Do not use network access" @@ -275,6 +275,10 @@ msgstr "" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/uk.po new/appstream-glib-0.5.14/po/uk.po --- old/appstream-glib-0.5.13/po/uk.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/uk.po 2016-04-26 11:05:41.000000000 +0200 @@ -8,9 +8,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-29 16:45+0000\n" -"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Ukrainian (http://www.transifex.com/freedesktop/appstream-glib/language/uk/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -274,6 +274,10 @@ msgstr "Шукати програми AppStream" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "Виводити ключі пошуку програм" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/zh_CN.po new/appstream-glib-0.5.14/po/zh_CN.po --- old/appstream-glib-0.5.13/po/zh_CN.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/zh_CN.po 2016-04-26 11:05:41.000000000 +0200 @@ -11,8 +11,8 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-03-29 14:02+0100\n" -"PO-Revision-Date: 2016-03-29 13:02+0000\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" "Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Chinese (China) (http://www.transifex.com/freedesktop/appstream-glib/language/zh_CN/)\n" "MIME-Version: 1.0\n" @@ -277,6 +277,10 @@ msgstr "搜索 AppStream 应用程序" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "显示应用程序搜索令牌" @@ -366,11 +370,11 @@ #. TRANSLATORS: command description msgid "Merge several files to an AppStream file" -msgstr "" +msgstr "合并多个文件到一 AppStream 文件上" #. TRANSLATORS: command description msgid "Import a file to AppStream markup" -msgstr "" +msgstr "导入文件到 AppStream 标记" #. TRANSLATORS: program name msgid "AppStream Utility" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/appstream-glib-0.5.13/po/zh_TW.po new/appstream-glib-0.5.14/po/zh_TW.po --- old/appstream-glib-0.5.13/po/zh_TW.po 2016-04-02 14:34:22.000000000 +0200 +++ new/appstream-glib-0.5.14/po/zh_TW.po 2016-04-26 11:05:41.000000000 +0200 @@ -9,9 +9,9 @@ msgstr "" "Project-Id-Version: appstream-glib\n" "Report-Msgid-Bugs-To: richard@hughsie.com\n" -"POT-Creation-Date: 2016-04-01 15:23+0100\n" -"PO-Revision-Date: 2016-03-29 14:16+0000\n" -"Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n" +"POT-Creation-Date: 2016-04-20 08:59+0100\n" +"PO-Revision-Date: 2016-04-20 07:59+0000\n" +"Last-Translator: Richard Hughes <richard@hughsie.com>\n" "Language-Team: Chinese (Taiwan) (http://www.transifex.com/freedesktop/appstream-glib/language/zh_TW/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -275,6 +275,10 @@ msgstr "搜尋 AppStream 應用程式" #. TRANSLATORS: command description +msgid "Search for AppStream applications by package name" +msgstr "" + +#. TRANSLATORS: command description msgid "Display application search tokens" msgstr "顯示應用程式搜尋代符"
participants (1)
-
root@hilbert.suse.de