Commit 1c9ae232 authored by Mario Blättermann's avatar Mario Blättermann Committed by Administrator
Browse files

Update German translation

parent 2a68eae8
Pipeline #210272 passed with stage
in 15 minutes
......@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: grilo-plugins master\n"
"POT-Creation-Date: 2019-02-12 01:59+0000\n"
"POT-Creation-Date: 2020-05-30 10:28+0000\n"
"PO-Revision-Date: 2019-03-24 11:06+0100\n"
"Last-Translator: Christian Kirbach <christian.kirbach@gmail.com>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
......@@ -155,8 +155,8 @@ msgstr "Gravatar"
#. (itstool) path: sect1/para
#: C/grilo-plugins.xml:90
msgid ""
"This is a Grilo plugin for Gravatar Its plugin ID is <literal>\"grl-gravatar"
"\"</literal>."
"This is a Grilo plugin for Gravatar. Its plugin ID is <literal>\"grl-gravatar"
"\"</literal>"
msgstr ""
"Dies ist eine Grilo-Erweiterung für Gravatar. Die Erweiterungskennung ist "
"<literal>\"grl-gravatar\"</literal>"
......@@ -320,160 +320,6 @@ msgstr ""
#. (itstool) path: sect1/programlisting
#: C/grilo-plugins.xml:133
#, no-wrap
#| msgid ""
#| "\n"
#| "/*\n"
#| " * Copyright (C) 2012 Canonical Ltd.\n"
#| " *\n"
#| " * Author: Jens Georg &lt;jensg@openismus.com&gt;\n"
#| " *\n"
#| " * This library is free software; you can redistribute it and/or\n"
#| " * modify it under the terms of the GNU Lesser General Public License\n"
#| " * as published by the Free Software Foundation; version 2.1 of\n"
#| " * the License, or (at your option) any later version.\n"
#| " *\n"
#| " * This library is distributed in the hope that it will be useful, but\n"
#| " * WITHOUT ANY WARRANTY; without even the implied warranty of\n"
#| " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n"
#| " * Lesser General Public License for more details.\n"
#| " *\n"
#| " * You should have received a copy of the GNU Lesser General Public\n"
#| " * License along with this library; if not, write to the Free Software\n"
#| " * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n"
#| " * 02110-1301 USA\n"
#| " *\n"
#| " */\n"
#| "\n"
#| "#include &lt;grilo.h&gt;\n"
#| "#include &lt;stdio.h&gt;\n"
#| "\n"
#| "/**\n"
#| " * This TMDB key is just for testing.\n"
#| " * For real-world use, please request your own key from\n"
#| " * http://api.themoviedb.org\n"
#| " */\n"
#| "#define TMDB_KEY \"719b9b296835b04cd919c4bf5220828a\"\n"
#| "\n"
#| "#define TMDB_PLUGIN_ID \"grl-tmdb\"\n"
#| "\n"
#| "GMainLoop *loop = NULL;\n"
#| "GrlKeyID director_key = 0;\n"
#| "\n"
#| "static void\n"
#| "resolve_cb (GrlSource *src, guint operation_id, GrlMedia *media, gpointer user_data, const GError *error)\n"
#| "{\n"
#| " g_assert_no_error (error);\n"
#| " g_assert (media);\n"
#| "\n"
#| " const gchar *title = grl_media_get_title (media);\n"
#| " const gchar *studio = grl_media_get_studio (media);\n"
#| " printf (\"Media: Title='%s', Studio='%s'\\n\",\n"
#| " title, studio);\n"
#| "\n"
#| " if (director_key != 0) {\n"
#| " const gchar *director =\n"
#| " grl_data_get_string (GRL_DATA (media), director_key);\n"
#| " printf (\" Director=%s\\n\", director);\n"
#| " }\n"
#| "\n"
#| " g_main_loop_quit (loop);\n"
#| "}\n"
#| "\n"
#| "int main (int argc, char *argv[])\n"
#| "{\n"
#| " grl_init (&amp;argc, &amp;argv);\n"
#| "\n"
#| " /*\n"
#| " * Set the TMDB API key:\n"
#| " * You must use your own TMDB API key in your own application.\n"
#| " */\n"
#| " GrlRegistry *reg = grl_registry_get_default ();\n"
#| " GrlConfig *config = grl_config_new (TMDB_PLUGIN_ID, NULL);\n"
#| " grl_config_set_api_key (config, TMDB_KEY);\n"
#| " grl_registry_add_config (reg, config, NULL);\n"
#| " grl_registry_load_all_plugins (reg, FALSE, NULL);\n"
#| "\n"
#| " /*\n"
#| " * Get the plugin:\n"
#| " */\n"
#| " GError *error = NULL;\n"
#| " gboolean plugin_activated =\n"
#| " grl_registry_activate_plugin_by_id (reg, TMDB_PLUGIN_ID, &amp;error);\n"
#| " g_assert (plugin_activated);\n"
#| " g_assert_no_error (error);\n"
#| "\n"
#| " /*\n"
#| " * Get the Grilo source:\n"
#| " */\n"
#| " GrlSource *src =\n"
#| " grl_registry_lookup_source (reg, TMDB_PLUGIN_ID);\n"
#| "\n"
#| " /*\n"
#| " * Check that it has the expected capability:\n"
#| " */\n"
#| " g_assert (grl_source_supported_operations (src) &amp; GRL_OP_RESOLVE);\n"
#| " GrlCaps *caps = grl_source_get_caps (src, GRL_OP_RESOLVE);\n"
#| " g_assert (caps);\n"
#| "\n"
#| " GrlOperationOptions *options = grl_operation_options_new (caps);\n"
#| "\n"
#| " /*\n"
#| " * A media item that we will give to the TMDB plugin,\n"
#| " * to discover its details.\n"
#| " */\n"
#| " GrlMedia *media = grl_media_video_new ();\n"
#| " grl_media_set_title (media, \"Sherlock Holmes\");\n"
#| "\n"
#| " /*\n"
#| " * Discover what keys are provided by the source:\n"
#| " */\n"
#| " const GList *keys = grl_source_supported_keys (src);\n"
#| " const GList* l = NULL;\n"
#| " for (l = keys; l != NULL; l = l-&gt;next) {\n"
#| " GrlKeyID id = GPOINTER_TO_INT (l-&gt;data);\n"
#| " g_assert (id);\n"
#| "\n"
#| " const gchar *name = grl_metadata_key_get_name (id);\n"
#| " printf (\"Supported key: %s\\n\", name);\n"
#| "\n"
#| " /*\n"
#| " * Remember this for later use:\n"
#| " * You may instead use grl_registry_lookup_metadata_key_name().\n"
#| " */\n"
#| " if (g_strcmp0 (name, \"tmdb-director\") == 0) {\n"
#| " director_key = id;\n"
#| " }\n"
#| " }\n"
#| "\n"
#| " /*\n"
#| " * Ask the TMDB plugin for the media item's details,\n"
#| " * from the TMDB online service:\n"
#| " */\n"
#| " grl_source_resolve (src, media,\n"
#| " keys, options,\n"
#| " resolve_cb, NULL);\n"
#| "\n"
#| " /*\n"
#| " * Start the main loop so our callback can be called:\n"
#| " */\n"
#| " loop = g_main_loop_new (NULL, FALSE);\n"
#| " g_main_loop_run (loop);\n"
#| "\n"
#| " /*\n"
#| " * Release objects:\n"
#| " */\n"
#| " g_object_unref (media);\n"
#| " g_object_unref (config);\n"
#| " g_object_unref (options);\n"
#| "\n"
#| " /*\n"
#| " * Deinitialize Grilo:\n"
#| " */\n"
#| " grl_deinit ();\n"
#| "}\n"
#| "\n"
#| "\n"
#| "\n"
msgid ""
"\n"
"/*\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment