[grilo-plugins] Update Brazilian Portuguese translation



commit b925e4afee9d3cfb53ec527d156ce7fddf813880
Author: Rafael Fontenelle <rafaelff gnome org>
Date:   Mon Sep 9 23:38:25 2019 +0000

    Update Brazilian Portuguese translation

 help/pt_BR/pt_BR.po | 255 ++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 218 insertions(+), 37 deletions(-)
---
diff --git a/help/pt_BR/pt_BR.po b/help/pt_BR/pt_BR.po
index de022340..62ab9068 100644
--- a/help/pt_BR/pt_BR.po
+++ b/help/pt_BR/pt_BR.po
@@ -1,25 +1,26 @@
 # Brazilian Portuguese translation for grilo-plugins.
-# Copyright (C) 2018 grilo-plugins's COPYRIGHT HOLDER
+# Copyright (C) 2019 grilo-plugins's COPYRIGHT HOLDER
 # This file is distributed under the same license as the grilo-plugins package.
-# Rafael Fontenelle <rafaelff gnome org>, 2018.
+# Rafael Fontenelle <rafaelff gnome org>, 2018-2019.
+#
 msgid ""
 msgstr ""
 "Project-Id-Version: grilo-plugins master\n"
-"POT-Creation-Date: 2018-08-06 07:15+0000\n"
-"PO-Revision-Date: 2018-08-06 23:51-0200\n"
+"POT-Creation-Date: 2019-02-12 01:59+0000\n"
+"PO-Revision-Date: 2019-09-09 20:28-0300\n"
 "Last-Translator: Rafael Fontenelle <rafaelff gnome org>\n"
 "Language-Team: Brazilian Portuguese <gnome-pt_br-list gnome org>\n"
 "Language: pt_BR\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Virtaal 1.0.0-beta1\n"
+"Plural-Forms: nplurals=2; plural=(n > 1)\n"
+"X-Generator: Gtranslator 3.32.0\n"
 
 #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
 msgctxt "_"
 msgid "translator-credits"
-msgstr "Rafael Fontenelle <rafaelff gnome org>"
+msgstr "Rafael Fontenelle <rafaelff gnome org>, 2018-2019"
 
 #. (itstool) path: bookinfo/title
 #. (itstool) path: chapter/title
@@ -312,6 +313,160 @@ 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"
@@ -354,11 +509,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"
@@ -373,14 +530,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"
@@ -388,8 +556,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"
@@ -397,35 +565,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"
@@ -508,11 +676,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"
@@ -527,14 +697,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"
 "   * Defina a chave de API do TMDB:\n"
 "   * Você deve usar a sua chave de API do TMDB em seu próprio aplicativo.\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"
@@ -542,8 +723,8 @@ msgstr ""
 "  /*\n"
 "   * Obtenha o plug-in:\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"
@@ -551,40 +732,40 @@ msgstr ""
 "  /*\n"
 "   * Obtenha a fonte do 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"
 "   * Verifique se ele tenha a capacidade esperada:\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"
 "   * Um item de mídia que você vai dar ao plug-in TMDB,\n"
 "   * para descobrir seus detalhes.\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"
 "   * Descobre que chaves são fornecidas pela fonte:\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"
-"     * Lembre disso para uso posterior:\n"
-"     * Você também poderia usar grl_registry_lookup_metadata_key_name().\n"
+"     * Lembre-se disso para usar depois:\n"
+"     * Você pode usar grl_registry_lookup_metadata_key_name().\n"
 "     */\n"
 "    if (g_strcmp0 (name, \"tmdb-director\") == 0) {\n"
 "      director_key = id;\n"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]