Commit 0191ac0c authored by Piotr Drąg's avatar Piotr Drąg 😐

Update Polish translation

parent 8ac04c6e
Pipeline #58495 passed with stage
in 3 minutes and 33 seconds
# Polish translation for grilo-plugins help.
# Copyright © 2018 the grilo-plugins authors.
# Copyright © 2018-2019 the grilo-plugins authors.
# This file is distributed under the same license as the grilo-plugins help.
# Piotr Drąg <piotrdrag@gmail.com>, 2018.
# Aviary.pl <community-poland@mozilla.org>, 2018.
# Piotr Drąg <piotrdrag@gmail.com>, 2018-2019.
# Aviary.pl <community-poland@mozilla.org>, 2018-2019.
#
msgid ""
msgstr ""
"Project-Id-Version: grilo-plugins-help\n"
"POT-Creation-Date: 2018-08-12 17:41+0000\n"
"PO-Revision-Date: 2018-08-14 23:55+0200\n"
"POT-Creation-Date: 2019-02-12 01:59+0000\n"
"PO-Revision-Date: 2019-02-12 12:47+0100\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <community-poland@mozilla.org>\n"
"Language: pl\n"
......@@ -22,8 +22,8 @@ msgstr ""
msgctxt "_"
msgid "translator-credits"
msgstr ""
"Piotr Drąg <piotrdrag@gmail.com>, 2018\n"
"Aviary.pl <community-poland@mozilla.org>, 2018"
"Piotr Drąg <piotrdrag@gmail.com>, 2018-2019\n"
"Aviary.pl <community-poland@mozilla.org>, 2018-2019"
#. (itstool) path: bookinfo/title
#. (itstool) path: chapter/title
......@@ -360,11 +360,13 @@ msgid ""
"static void\n"
"resolve_cb (GrlSource *src, guint operation_id, GrlMedia *media, gpointer user_data, const GError *error)\n"
"{\n"
" const char *title, *studio;\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"
" title = grl_media_get_title (media);\n"
" studio = grl_media_get_studio (media);\n"
" printf (\"Media: Title='%s', Studio='%s'\\n\",\n"
" title, studio);\n"
"\n"
......@@ -379,14 +381,25 @@ msgid ""
"\n"
"int main (int argc, char *argv[])\n"
"{\n"
" GrlRegistry *reg;\n"
" GrlConfig *config;\n"
" GError *error = NULL;\n"
" GrlSource *src;\n"
" gboolean plugin_activated;\n"
" GrlCaps *caps;\n"
" GrlOperationOptions *options;\n"
" GrlMedia *media;\n"
" const GList *keys;\n"
" const GList* l;\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"
" reg = grl_registry_get_default ();\n"
" 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"
......@@ -394,8 +407,8 @@ msgid ""
" /*\n"
" * Get the plugin:\n"
" */\n"
" GError *error = NULL;\n"
" gboolean plugin_activated =\n"
" error = NULL;\n"
" 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"
......@@ -403,35 +416,35 @@ msgid ""
" /*\n"
" * Get the Grilo source:\n"
" */\n"
" GrlSource *src =\n"
" grl_registry_lookup_source (reg, TMDB_PLUGIN_ID);\n"
" src = 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"
" caps = grl_source_get_caps (src, GRL_OP_RESOLVE);\n"
" g_assert (caps);\n"
"\n"
" GrlOperationOptions *options = grl_operation_options_new (caps);\n"
" 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"
" 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"
" keys = grl_source_supported_keys (src);\n"
" for (l = keys; l != NULL; l = l-&gt;next) {\n"
" const gchar *name;\n"
" GrlKeyID id = GPOINTER_TO_INT (l-&gt;data);\n"
"\n"
" g_assert (id);\n"
"\n"
" const gchar *name = grl_metadata_key_get_name (id);\n"
" name = grl_metadata_key_get_name (id);\n"
" printf (\"Supported key: %s\\n\", name);\n"
"\n"
" /*\n"
......@@ -514,11 +527,13 @@ msgstr ""
"static void\n"
"resolve_cb (GrlSource *src, guint operation_id, GrlMedia *media, gpointer user_data, const GError *error)\n"
"{\n"
" const char *title, *studio;\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"
" title = grl_media_get_title (media);\n"
" studio = grl_media_get_studio (media);\n"
" printf (\"Media: Title='%s', Studio='%s'\\n\",\n"
" title, studio);\n"
"\n"
......@@ -533,14 +548,25 @@ msgstr ""
"\n"
"int main (int argc, char *argv[])\n"
"{\n"
" GrlRegistry *reg;\n"
" GrlConfig *config;\n"
" GError *error = NULL;\n"
" GrlSource *src;\n"
" gboolean plugin_activated;\n"
" GrlCaps *caps;\n"
" GrlOperationOptions *options;\n"
" GrlMedia *media;\n"
" const GList *keys;\n"
" const GList* l;\n"
"\n"
" grl_init (&amp;argc, &amp;argv);\n"
"\n"
" /*\n"
" * Ustaw klucz API serwisu TMDb:\n"
" * We własnym programie należy użyć własnego klucza API serwisu TMDb.\n"
" */\n"
" GrlRegistry *reg = grl_registry_get_default ();\n"
" GrlConfig *config = grl_config_new (TMDB_PLUGIN_ID, NULL);\n"
" reg = grl_registry_get_default ();\n"
" 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"
......@@ -548,8 +574,8 @@ msgstr ""
" /*\n"
" * Uzyskaj wtyczkę:\n"
" */\n"
" GError *error = NULL;\n"
" gboolean plugin_activated =\n"
" error = NULL;\n"
" 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"
......@@ -557,35 +583,35 @@ msgstr ""
" /*\n"
" * Uzyskaj źródło Grilo:\n"
" */\n"
" GrlSource *src =\n"
" grl_registry_lookup_source (reg, TMDB_PLUGIN_ID);\n"
" src = grl_registry_lookup_source (reg, TMDB_PLUGIN_ID);\n"
"\n"
" /*\n"
" * Sprawdź, czy ma oczekiwane możliwości:\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"
" caps = grl_source_get_caps (src, GRL_OP_RESOLVE);\n"
" g_assert (caps);\n"
"\n"
" GrlOperationOptions *options = grl_operation_options_new (caps);\n"
" options = grl_operation_options_new (caps);\n"
"\n"
" /*\n"
" * Element multimedialny przekazywany do wtyczki TMDb,\n"
" * aby wykryć o nim informacje.\n"
" */\n"
" GrlMedia *media = grl_media_video_new ();\n"
" media = grl_media_video_new ();\n"
" grl_media_set_title (media, \"Sherlock Holmes\");\n"
"\n"
" /*\n"
" * Wykryj klucze dostarczane przez źródło:\n"
" */\n"
" const GList *keys = grl_source_supported_keys (src);\n"
" const GList* l = NULL;\n"
" keys = grl_source_supported_keys (src);\n"
" for (l = keys; l != NULL; l = l-&gt;next) {\n"
" const gchar *name;\n"
" GrlKeyID id = GPOINTER_TO_INT (l-&gt;data);\n"
"\n"
" g_assert (id);\n"
"\n"
" const gchar *name = grl_metadata_key_get_name (id);\n"
" name = grl_metadata_key_get_name (id);\n"
" printf (\"Supported key: %s\\n\", name);\n"
"\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