diff --git a/.gitignore b/.gitignore index 9affdf400..62e285d08 100755 --- a/.gitignore +++ b/.gitignore @@ -53,6 +53,10 @@ coverage.xml # Translations *.mo +*.po +*.pot +*.ftl +!network-api/locale/messages.ftl # Django stuff: *.log diff --git a/README.md b/README.md index f0a250603..32117e65f 100755 --- a/README.md +++ b/README.md @@ -93,6 +93,22 @@ The `DEBUG` flag does all sorts of magical things, to the point where testing wi - Rather than HTTP error pages, Django will generate stack traces pages that expose pretty much all environment variables except any that match certain substrings such as `KEY`, `PASS`, etc. for obvious security reasons. - ...there are probably more gotchas just for `DEBUG` so if you find any please add them to this list. +## Translations + +Translations of UI strings (from the Django and React apps) are stored in [the fomo-l10n repository](https://github.com/mozilla-l10n/fomo-l10n). Translations are happening in Pontoon, in multiple projects: [Foundation website](https://pontoon.mozilla.org/projects/mozilla-foundation/), [\*Privacy Not Included](https://pontoon.mozilla.org/projects/privacy-not-included/) and [Mozilla Festival](https://pontoon.mozilla.org/projects/mozilla-festival/). + +The latest source strings are regularly exposed to Pontoon by a Localization PM using the following process: + +### Initial setup: +- Clone the `fomo-l10n` repository locally. +- Set the `LOCAL_PATH_TO_L10N_REPO` variable in your `.env` file. Use the absolute path to your copy of the `fomo-l10n` repository and include the trailing slash. E.g. `LOCAL_PATH_TO_L10N_REPO=/Users/username/Documents/GitHub/fomo-l10n/` + +### Exposing latest source strings: +- Make sure your local repositories of `fomo-l10n` and `foundation.mozilla.org` are matching the latest revision from master. +- Run `inv docker-makemessages` from your `foundation.mozilla.org` repository. +- Files should have been updated in your `fomo-l10n` repository. You can now create a pull-request. + + ## Contributing We love contributors, but the team maintaining this project is small and not structured to significantly support new and inexperienced contributors. If there's an unassigned issue that catches your eye, feel free to open a PR for it, but keep in mind our support will be limited. We usually don't have the capacity to walk you through the process of spinning up the project, opening a PR or describing what the solution to the issue could be. diff --git a/bin/post_compile b/bin/post_compile index e2c44be68..eff035553 100644 --- a/bin/post_compile +++ b/bin/post_compile @@ -1,40 +1,11 @@ #!/usr/bin/env bash -GETTEXT_SHA256="2f991a49b3fb616a032490c907cb700966c5fd998d2aa12b86d547a93746ed66" -GETTEXT_TARBALL="https://assets.mofoprod.net/gettext/gettext-0.20.1.tar.xz" +set -euox pipefail -echo "-----> Downloading and installing gettext tools" +cd ${BUILD_DIR} -cd $BUILD_DIR +# Get the po files from S3 +curl -o translations.tar https://foundation-site-translations.s3.amazonaws.com/translations.tar -# Ensure the file was not cached -rm -f gettext.tar.xz - -# Fetch our precompiled gettext package -curl -s -L -o gettext.tar.xz $GETTEXT_TARBALL - -# Verify the contents of the package -if [ "$GETTEXT_SHA256" != "$(sha256sum gettext.tar.xz | cut -d ' ' -f 1)" ]; then - echo "Checksum doesn't match. gettext tools will not be installed." - exit 1 -fi - -# Extract the gettext tools -tar -xf gettext.tar.xz > /dev/null - -# clean up -rm gettext.tar.xz - -# Update PATH and LD_LIBRARY_PATH so that gettext binaries are available and can run. -PATH=$BUILD_DIR/gettext/bin:$PATH -LD_LIBRARY_PATH=$BUILD_DIR/gettext/lib:$LD_LIBRARY_PATH - -# Copy the latest Portuguese (Brazil) file translated from Pontoon into the folder consumed by Django -ptSource=$BUILD_DIR/network-api/locale/pt_BR/LC_MESSAGES/django.po -[[ -e $ptSource ]] && cp $ptSource $BUILD_DIR/network-api/locale/pt/LC_MESSAGES/django.po - -# Change to the locale directory so that we only process our .po files -cd ./network-api/locale/ - -# Compile localized strings -python $BUILD_DIR/network-api/manage.py compilemessages +# Untar the archive +tar -C network-api -xvf translations.tar diff --git a/env.default b/env.default index dd0786fc9..351c573f7 100644 --- a/env.default +++ b/env.default @@ -60,6 +60,10 @@ CSP_FRAME_SRC=https://airtable.com https://platform.twitter.com PETITION_TEST_CAMPAIGN_ID= +# Localization + +LOCAL_PATH_TO_L10N_REPO= + # REVIEW APPS SLACK BOT GITHUB_TOKEN= diff --git a/network-api/locale/de/LC_MESSAGES/django.po b/network-api/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index 021e903bd..000000000 --- a/network-api/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,249 +0,0 @@ -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-13 16:25+0000\n" -"PO-Revision-Date: 2019-11-16 11:17+0000\n" -"Last-Translator: Michael Köhler \n" -"Language-Team: \n" -"Language: de\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: Pontoon\n" - -#: network-api/networkapi/templates/404.html:4 -msgid "Page Not Found" -msgstr "Seite nicht gefunden" - -#: network-api/networkapi/templates/fragments/language_switcher.html:6 -msgid "Language" -msgstr "Sprache" - -#: network-api/networkapi/templates/pages/base.html:9 network-api/networkapi/templates/partials/primary_nav.html:46 -msgid "Mozilla Foundation" -msgstr "Mozilla Foundation" - -#: network-api/networkapi/templates/partials/404.html:7 -msgid "Uh oh!" -msgstr "Hoppla!" - -#: network-api/networkapi/templates/partials/404.html:9 -msgid "Sorry, the page does not exist" -msgstr "Entschuldigung, die Seite existiert nicht" - -#: network-api/networkapi/templates/partials/404.html:10 -#, python-format -msgid "Contact us or ..." -msgstr "Kontaktieren Sie uns oder …" - -#: network-api/networkapi/templates/partials/404.html:11 -msgid "Go to home page" -msgstr "Zur Startseite gehen" - -#: network-api/networkapi/templates/partials/footer.html:11 -msgid "We all love the Web. Join Mozilla in defending it." -msgstr "Wir alle lieben das Web. Verteidigen Sie es. Gemeinsam mit Mozilla." - -#: network-api/networkapi/templates/partials/footer.html:12 -msgid "Let’s protect the world’s largest resource for future generations." -msgstr "Schützen wir die weltweit größte Ressource für zukünftige Generationen." - -#: network-api/networkapi/templates/partials/footer.html:14 -msgid "Donate now" -msgstr "Jetzt spenden" - -#: network-api/networkapi/templates/partials/footer.html:38 -msgid "More about us" -msgstr "Mehr über uns" - -#: network-api/networkapi/templates/partials/footer.html:41 -msgid "Twitter" -msgstr "Twitter" - -#: network-api/networkapi/templates/partials/footer.html:42 -msgid "Instagram" -msgstr "Instagram" - -#: network-api/networkapi/templates/partials/footer.html:43 -msgid "GitHub" -msgstr "GitHub" - -#: network-api/networkapi/templates/partials/footer.html:50 network-api/networkapi/templates/partials/primary_nav.html:67 -msgid "Donate" -msgstr "Spenden" - -#: network-api/networkapi/templates/partials/footer.html:51 -msgid "Legal" -msgstr "Rechtliches" - -#: network-api/networkapi/templates/partials/footer.html:52 -msgid "License" -msgstr "Lizenz" - -#: network-api/networkapi/templates/partials/footer.html:53 -msgid "Participation Guidelines" -msgstr "Richtlinien zum Mitmachen" - -#: network-api/networkapi/templates/partials/footer.html:54 -msgid "Privacy" -msgstr "Datenschutz" - -#: network-api/networkapi/templates/partials/footer.html:55 -msgid "Cookies" -msgstr "Cookies" - -#: network-api/networkapi/templates/partials/footer.html:72 -#, python-format -msgid "" -"Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at %(foundation_website)s" -msgstr "" -"Mozilla ist eine weltweite, gemeinnützige Organisation, die sich dafür einsetzt, dass Sie Ihr Online-Erlebnis bestimmen und die Zukunft des Internets im Sinne aller gestaltet wird. Besuchen Sie uns " -"auf %(foundation_website)s" - -#: network-api/networkapi/templates/partials/primary_nav.html:17 -msgid "Home" -msgstr "Startseite" - -#: network-api/networkapi/templates/partials/primary_nav.html:19 network-api/networkapi/templates/partials/primary_nav.html:68 -msgid "Newsletter" -msgstr "Newsletter" - -#: network-api/networkapi/templates/partials/primary_nav.html:88 -msgid "No thanks" -msgstr "Nein, danke" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/bannered_campaign_page.html:56 network-api/networkapi/wagtailpages/templates/wagtailpages/campaign_page.html:66 -msgctxt "Sticky button in mobile view on campaign pages" -msgid "TAKE ACTION" -msgstr "JETZT HANDELN" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blocks/recent_blog_entries.html:14 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:72 -msgid "More from our blog" -msgstr "Mehr aus unserem Blog" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:27 network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:44 -#, python-format -msgid "%(title)s by @mozilla" -msgstr "%(title)s von @mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:34 -#, python-format -msgid "By %(author)s" -msgstr "Von %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/blog_card.html:37 -#, python-format -msgid "By %(author)s on %(date)s" -msgstr "Von %(author)s am %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:8 -msgid "Latest news" -msgstr "Neueste Nachrichten" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:31 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:58 -#, python-format -msgid "by %(author)s" -msgstr "von %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:33 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:60 -#, python-format -msgid "on %(date)s" -msgstr "am %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ih_cta.html:6 -#, python-format -msgid "This is part of a broader movement for a healthy internet. See more." -msgstr "Dies ist Teil einer umfassenderen Bewegung für ein gesundes Internet. Weitere Informationen." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/related_posts.html:8 -msgid "Related content" -msgstr "Verwandte Inhalte" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:36 -msgid "Happening now" -msgstr "Gerade aktuell" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:72 -msgid "Trending projects" -msgstr "Projekte im Trend" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:75 network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:86 -msgid "Add your project" -msgstr "Eigenes Projekt hinzufügen" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:85 -msgid "More from our network" -msgstr "Mehr aus unserem Netzwerk" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:95 -msgid "We want to give users the knowledge and the power to make informed decisions by themselves to prevent abusive practices." -msgstr "Wir möchten den Nutzern das Wissen geben und ermöglichen, selbst fundierte Entscheidungen zu treffen, um missbräuchliche Praktiken zu verhindern." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:96 -msgid "Rishab Nithyanand, Mozilla Fellow" -msgstr "Rishab Nithyanand, Mozilla Fellow" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:32 -#, python-format -msgid "%(total_entries)s result" -msgid_plural "%(total_entries)s results" -msgstr[0] "%(total_entries)s Ergebnis" -msgstr[1] "%(total_entries)s Ergebnisse" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:37 -msgctxt "Following “xx results” and followed by searched terms. Full string example: “12 results for Advocacy”" -msgid "for" -msgstr "für" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:48 -msgid "clear filters" -msgstr "Filter löschen" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:66 -#| msgid "Load more stories" -msgid "Load more results" -msgstr "Weitere Ergebnisse laden" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/load-more-regrets.html:4 -msgid "Load more stories" -msgstr "Mehr Storys laden" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:36 network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:37 -msgid "Join Mozilla" -msgstr "Bei Mozilla mitmachen" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:43 -msgid "Scroll" -msgstr "Scrollen" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:47 -msgid "28 reasons why YouTube must change: startling stories of YouTube’s recommendations leading people down bizarre and dangerous paths" -msgstr "28 Gründe, warum YouTube sich ändern muss: erschreckende Berichte von YouTube-Empfehlungen und wie Leute dadurch auf Abwege geraten" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:30 network-api/networkapi/wagtailpages/utils.py:58 -msgid "Overview" -msgstr "Übersicht" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:32 -msgid "Advocacy" -msgstr "Interessenvertretung" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:33 -msgid "Internet Health Report" -msgstr "Statusbericht zur Internetgesundheit" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:34 -msgid "Fellowships" -msgstr "Stipendien" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:35 -msgid "Awards" -msgstr "Auszeichnungen" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:36 -msgid "MozFest" -msgstr "MozFest" diff --git a/network-api/locale/es/LC_MESSAGES/django.po b/network-api/locale/es/LC_MESSAGES/django.po deleted file mode 100644 index 836bea932..000000000 --- a/network-api/locale/es/LC_MESSAGES/django.po +++ /dev/null @@ -1,249 +0,0 @@ -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-13 16:25+0000\n" -"PO-Revision-Date: 2020-01-03 14:31+0000\n" -"Last-Translator: Théo Chevalier \n" -"Language-Team: \n" -"Language: es\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: Pontoon\n" - -#: network-api/networkapi/templates/404.html:4 -msgid "Page Not Found" -msgstr "Página no encontrada" - -#: network-api/networkapi/templates/fragments/language_switcher.html:6 -msgid "Language" -msgstr "Idioma" - -#: network-api/networkapi/templates/pages/base.html:9 network-api/networkapi/templates/partials/primary_nav.html:46 -msgid "Mozilla Foundation" -msgstr "Fundación Mozilla" - -#: network-api/networkapi/templates/partials/404.html:7 -msgid "Uh oh!" -msgstr "¡Vaya!" - -#: network-api/networkapi/templates/partials/404.html:9 -msgid "Sorry, the page does not exist" -msgstr "La página no existe" - -#: network-api/networkapi/templates/partials/404.html:10 -#, python-format -msgid "Contact us or ..." -msgstr "Contáctanos o..." - -#: network-api/networkapi/templates/partials/404.html:11 -msgid "Go to home page" -msgstr "Ve a la página de inicio" - -#: network-api/networkapi/templates/partials/footer.html:11 -msgid "We all love the Web. Join Mozilla in defending it." -msgstr "A todos nos encanta la Web. Únete a Mozilla para defenderla." - -#: network-api/networkapi/templates/partials/footer.html:12 -msgid "Let’s protect the world’s largest resource for future generations." -msgstr "Protejamos el mayor recurso del mundo para las generaciones futuras." - -#: network-api/networkapi/templates/partials/footer.html:14 -msgid "Donate now" -msgstr "Donar ahora" - -#: network-api/networkapi/templates/partials/footer.html:38 -msgid "More about us" -msgstr "Conoce más sobre nosotros" - -#: network-api/networkapi/templates/partials/footer.html:41 -msgid "Twitter" -msgstr "Twitter" - -#: network-api/networkapi/templates/partials/footer.html:42 -msgid "Instagram" -msgstr "Instagram" - -#: network-api/networkapi/templates/partials/footer.html:43 -msgid "GitHub" -msgstr "GitHub" - -#: network-api/networkapi/templates/partials/footer.html:50 network-api/networkapi/templates/partials/primary_nav.html:67 -msgid "Donate" -msgstr "Donar" - -#: network-api/networkapi/templates/partials/footer.html:51 -msgid "Legal" -msgstr "Legal" - -#: network-api/networkapi/templates/partials/footer.html:52 -msgid "License" -msgstr "Licencia" - -#: network-api/networkapi/templates/partials/footer.html:53 -msgid "Participation Guidelines" -msgstr "Pautas para la participación" - -#: network-api/networkapi/templates/partials/footer.html:54 -msgid "Privacy" -msgstr "Privacidad" - -#: network-api/networkapi/templates/partials/footer.html:55 -msgid "Cookies" -msgstr "Cookies" - -#: network-api/networkapi/templates/partials/footer.html:72 -#, python-format -msgid "" -"Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at %(foundation_website)s" -msgstr "" -"Mozilla es una organización sin fines de lucro que se dedica a ponerte a ti en control de tu experiencia en línea y a conformar el futuro de Internet para beneficio del público. Visítanos en %(foundation_website)s" - -#: network-api/networkapi/templates/partials/primary_nav.html:17 -msgid "Home" -msgstr "Página principal" - -#: network-api/networkapi/templates/partials/primary_nav.html:19 network-api/networkapi/templates/partials/primary_nav.html:68 -msgid "Newsletter" -msgstr "Boletín" - -#: network-api/networkapi/templates/partials/primary_nav.html:88 -msgid "No thanks" -msgstr "No, gracias" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/bannered_campaign_page.html:56 network-api/networkapi/wagtailpages/templates/wagtailpages/campaign_page.html:66 -msgctxt "Sticky button in mobile view on campaign pages" -msgid "TAKE ACTION" -msgstr "ACTUAR AHORA" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blocks/recent_blog_entries.html:14 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:72 -msgid "More from our blog" -msgstr "Más de nuestro blog" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:27 network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:44 -#, python-format -msgid "%(title)s by @mozilla" -msgstr "%(title)s por @mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:34 -#, python-format -msgid "By %(author)s" -msgstr "Por %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/blog_card.html:37 -#, python-format -msgid "By %(author)s on %(date)s" -msgstr "Por %(author)s el %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:8 -msgid "Latest news" -msgstr "Noticias más recientes" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:31 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:58 -#, python-format -msgid "by %(author)s" -msgstr "por %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:33 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:60 -#, python-format -msgid "on %(date)s" -msgstr "el %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ih_cta.html:6 -#, python-format -msgid "This is part of a broader movement for a healthy internet. See more." -msgstr "Lo anterior forma parte de un movimiento más amplio por un Internet saludable. Ver más." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/related_posts.html:8 -msgid "Related content" -msgstr "Contenido relacionado" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:36 -msgid "Happening now" -msgstr "Sucesos de actualidad" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:72 -msgid "Trending projects" -msgstr "Proyectos populares" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:75 network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:86 -msgid "Add your project" -msgstr "Agrega tu proyecto" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:85 -msgid "More from our network" -msgstr "Más desde nuestra red" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:95 -msgid "We want to give users the knowledge and the power to make informed decisions by themselves to prevent abusive practices." -msgstr "Queremos dar a los usuarios el conocimiento y el poder para tomar decisiones informadas por sí mismos que impidan las prácticas abusivas." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:96 -msgid "Rishab Nithyanand, Mozilla Fellow" -msgstr "Rishab Nithyanand, Fellow de Mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:32 -#, python-format -msgid "%(total_entries)s result" -msgid_plural "%(total_entries)s results" -msgstr[0] "%(total_entries)s resultado" -msgstr[1] "%(total_entries)s resultados" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:37 -msgctxt "Following “xx results” and followed by searched terms. Full string example: “12 results for Advocacy”" -msgid "for" -msgstr "para" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:48 -msgid "clear filters" -msgstr "borrar filtros" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:66 -#| msgid "Load more stories" -msgid "Load more results" -msgstr "Cargar más resultados" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/load-more-regrets.html:4 -msgid "Load more stories" -msgstr "Subir más historias" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:36 network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:37 -msgid "Join Mozilla" -msgstr "Únete a Mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:43 -msgid "Scroll" -msgstr "Desplazamiento" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:47 -msgid "28 reasons why YouTube must change: startling stories of YouTube’s recommendations leading people down bizarre and dangerous paths" -msgstr "28 razones por las que YouTube debe cambiar: historias desconcertantes acerca de recomendaciones de YouTube que llevaron a las personas por rumbos extraños y peligrosos" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:30 network-api/networkapi/wagtailpages/utils.py:58 -msgid "Overview" -msgstr "Información general" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:32 -msgid "Advocacy" -msgstr "Activismo" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:33 -msgid "Internet Health Report" -msgstr "Informe de salud de Internet" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:34 -msgid "Fellowships" -msgstr "Becas" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:35 -msgid "Awards" -msgstr "Premios" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:36 -msgid "MozFest" -msgstr "MozFest" diff --git a/network-api/locale/fr/LC_MESSAGES/django.po b/network-api/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index f74e5c838..000000000 --- a/network-api/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,249 +0,0 @@ -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-13 16:25+0000\n" -"PO-Revision-Date: 2019-12-09 17:28+0000\n" -"Last-Translator: Théo Chevalier \n" -"Language-Team: \n" -"Language: fr\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: Pontoon\n" - -#: network-api/networkapi/templates/404.html:4 -msgid "Page Not Found" -msgstr "Page introuvable" - -#: network-api/networkapi/templates/fragments/language_switcher.html:6 -msgid "Language" -msgstr "Langue" - -#: network-api/networkapi/templates/pages/base.html:9 network-api/networkapi/templates/partials/primary_nav.html:46 -msgid "Mozilla Foundation" -msgstr "Fondation Mozilla" - -#: network-api/networkapi/templates/partials/404.html:7 -msgid "Uh oh!" -msgstr "Oups…" - -#: network-api/networkapi/templates/partials/404.html:9 -msgid "Sorry, the page does not exist" -msgstr "Désolé, cette page n’existe pas" - -#: network-api/networkapi/templates/partials/404.html:10 -#, python-format -msgid "Contact us or ..." -msgstr "Contactez-nous ou vous pouvez…" - -#: network-api/networkapi/templates/partials/404.html:11 -msgid "Go to home page" -msgstr "Revenir à la page d’accueil" - -#: network-api/networkapi/templates/partials/footer.html:11 -msgid "We all love the Web. Join Mozilla in defending it." -msgstr "Nous aimons tous le Web. Rejoignez Mozilla pour le défendre." - -#: network-api/networkapi/templates/partials/footer.html:12 -msgid "Let’s protect the world’s largest resource for future generations." -msgstr "Protégeons la principale ressource mondiale pour les générations futures." - -#: network-api/networkapi/templates/partials/footer.html:14 -msgid "Donate now" -msgstr "Faire un don" - -#: network-api/networkapi/templates/partials/footer.html:38 -msgid "More about us" -msgstr "Pour en savoir plus à notre sujet" - -#: network-api/networkapi/templates/partials/footer.html:41 -msgid "Twitter" -msgstr "Twitter" - -#: network-api/networkapi/templates/partials/footer.html:42 -msgid "Instagram" -msgstr "Instagram" - -#: network-api/networkapi/templates/partials/footer.html:43 -msgid "GitHub" -msgstr "GitHub" - -#: network-api/networkapi/templates/partials/footer.html:50 network-api/networkapi/templates/partials/primary_nav.html:67 -msgid "Donate" -msgstr "Faire un don" - -#: network-api/networkapi/templates/partials/footer.html:51 -msgid "Legal" -msgstr "Mentions légales" - -#: network-api/networkapi/templates/partials/footer.html:52 -msgid "License" -msgstr "Licence" - -#: network-api/networkapi/templates/partials/footer.html:53 -msgid "Participation Guidelines" -msgstr "Directives relatives à la participation" - -#: network-api/networkapi/templates/partials/footer.html:54 -msgid "Privacy" -msgstr "Confidentialité" - -#: network-api/networkapi/templates/partials/footer.html:55 -msgid "Cookies" -msgstr "Cookies" - -#: network-api/networkapi/templates/partials/footer.html:72 -#, python-format -msgid "" -"Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at %(foundation_website)s" -msgstr "" -"Mozilla est une organisation internationale à but non lucratif, déterminée à vous faire reprendre le contrôle de votre vie numérique en ligne et à définir l’avenir du Web dans l’intérêt de tous. " -"Plus d’informations sur %(foundation_website)s" - -#: network-api/networkapi/templates/partials/primary_nav.html:17 -msgid "Home" -msgstr "Accueil" - -#: network-api/networkapi/templates/partials/primary_nav.html:19 network-api/networkapi/templates/partials/primary_nav.html:68 -msgid "Newsletter" -msgstr "Lettre d’information" - -#: network-api/networkapi/templates/partials/primary_nav.html:88 -msgid "No thanks" -msgstr "Non merci" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/bannered_campaign_page.html:56 network-api/networkapi/wagtailpages/templates/wagtailpages/campaign_page.html:66 -msgctxt "Sticky button in mobile view on campaign pages" -msgid "TAKE ACTION" -msgstr "J’AGIS" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blocks/recent_blog_entries.html:14 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:72 -msgid "More from our blog" -msgstr "Plus d’articles de notre blog" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:27 network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:44 -#, python-format -msgid "%(title)s by @mozilla" -msgstr "%(title)s par @mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:34 -#, python-format -msgid "By %(author)s" -msgstr "Par %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/blog_card.html:37 -#, python-format -msgid "By %(author)s on %(date)s" -msgstr "Par %(author)s le %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:8 -msgid "Latest news" -msgstr "Dernières actualités" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:31 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:58 -#, python-format -msgid "by %(author)s" -msgstr "par %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:33 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:60 -#, python-format -msgid "on %(date)s" -msgstr "le %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ih_cta.html:6 -#, python-format -msgid "This is part of a broader movement for a healthy internet. See more." -msgstr "Tout cela fait partie d’un mouvement plus large pour un Internet plus sain. En savoir plus." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/related_posts.html:8 -msgid "Related content" -msgstr "Articles connexes" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:36 -msgid "Happening now" -msgstr "En ce moment" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:72 -msgid "Trending projects" -msgstr "Projets en tendance" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:75 network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:86 -msgid "Add your project" -msgstr "Ajouter votre projet" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:85 -msgid "More from our network" -msgstr "Plus de projets de notre réseau" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:95 -msgid "We want to give users the knowledge and the power to make informed decisions by themselves to prevent abusive practices." -msgstr "Nous voulons fournir aux utilisateurs des connaissances pour leur permettre de prendre eux-mêmes des décisions éclairées afin de lutter contre les pratiques abusives." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:96 -msgid "Rishab Nithyanand, Mozilla Fellow" -msgstr "Rishab Nithyanand, titulaire d’une bourse Mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:32 -#, python-format -msgid "%(total_entries)s result" -msgid_plural "%(total_entries)s results" -msgstr[0] "%(total_entries)s résultat" -msgstr[1] "%(total_entries)s résultats" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:37 -msgctxt "Following “xx results” and followed by searched terms. Full string example: “12 results for Advocacy”" -msgid "for" -msgstr "pour" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:48 -msgid "clear filters" -msgstr "supprimer les filtres" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:66 -msgid "Load more results" -msgstr "Afficher plus de résultats" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/load-more-regrets.html:4 -msgid "Load more stories" -msgstr "Afficher plus de témoignages" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:36 network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:37 -msgid "Join Mozilla" -msgstr "Rejoindre Mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:43 -msgid "Scroll" -msgstr "Faire défiler" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:47 -msgid "28 reasons why YouTube must change: startling stories of YouTube’s recommendations leading people down bizarre and dangerous paths" -msgstr "" -"28 raisons pour lesquelles YouTube doit changer : des témoignages édifiants qui racontent comment les recommandations YouTube ont pu mener les internautes sur des voies étranges et dangereuses" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:30 network-api/networkapi/wagtailpages/utils.py:58 -msgid "Overview" -msgstr "Vue d’ensemble" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:32 -msgid "Advocacy" -msgstr "Militantisme" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:33 -msgid "Internet Health Report" -msgstr "Bulletin de santé d’Internet" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:34 -msgid "Fellowships" -msgstr "Programme de bourses" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:35 -msgid "Awards" -msgstr "Awards" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:36 -msgid "MozFest" -msgstr "MozFest" diff --git a/network-api/locale/pl/LC_MESSAGES/django.po b/network-api/locale/pl/LC_MESSAGES/django.po deleted file mode 100644 index 6e89c5a26..000000000 --- a/network-api/locale/pl/LC_MESSAGES/django.po +++ /dev/null @@ -1,250 +0,0 @@ -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-13 16:25+0000\n" -"PO-Revision-Date: 2019-12-24 18:59+0000\n" -"Last-Translator: Piotr Drąg \n" -"Language-Team: LANGUAGE \n" -"Language: pl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -"X-Generator: Pontoon\n" - -#: network-api/networkapi/templates/404.html:4 -msgid "Page Not Found" -msgstr "Nie odnaleziono strony" - -#: network-api/networkapi/templates/fragments/language_switcher.html:6 -msgid "Language" -msgstr "Język" - -#: network-api/networkapi/templates/pages/base.html:9 network-api/networkapi/templates/partials/primary_nav.html:46 -msgid "Mozilla Foundation" -msgstr "Fundacja Mozilli" - -#: network-api/networkapi/templates/partials/404.html:7 -msgid "Uh oh!" -msgstr "O nie!" - -#: network-api/networkapi/templates/partials/404.html:9 -msgid "Sorry, the page does not exist" -msgstr "Przepraszamy, strona nie istnieje" - -#: network-api/networkapi/templates/partials/404.html:10 -#, python-format -msgid "Contact us or ..." -msgstr "Skontaktuj się z nami lub…" - -#: network-api/networkapi/templates/partials/404.html:11 -msgid "Go to home page" -msgstr "Przejdź na stronę główną" - -#: network-api/networkapi/templates/partials/footer.html:11 -msgid "We all love the Web. Join Mozilla in defending it." -msgstr "Wszyscy kochamy Internet. Dołącz do Mozilli, aby go obronić." - -#: network-api/networkapi/templates/partials/footer.html:12 -msgid "Let’s protect the world’s largest resource for future generations." -msgstr "Ochrońmy największy zasób świata dla przyszłych pokoleń." - -#: network-api/networkapi/templates/partials/footer.html:14 -msgid "Donate now" -msgstr "Przekaż datek" - -#: network-api/networkapi/templates/partials/footer.html:38 -msgid "More about us" -msgstr "Więcej o nas" - -#: network-api/networkapi/templates/partials/footer.html:41 -msgid "Twitter" -msgstr "Twitter" - -#: network-api/networkapi/templates/partials/footer.html:42 -msgid "Instagram" -msgstr "Instagram" - -#: network-api/networkapi/templates/partials/footer.html:43 -msgid "GitHub" -msgstr "GitHub" - -#: network-api/networkapi/templates/partials/footer.html:50 network-api/networkapi/templates/partials/primary_nav.html:67 -msgid "Donate" -msgstr "Przekaż datek" - -#: network-api/networkapi/templates/partials/footer.html:51 -msgid "Legal" -msgstr "Kwestie prawne" - -#: network-api/networkapi/templates/partials/footer.html:52 -msgid "License" -msgstr "Licencja" - -#: network-api/networkapi/templates/partials/footer.html:53 -msgid "Participation Guidelines" -msgstr "Wytyczne uczestnictwa" - -#: network-api/networkapi/templates/partials/footer.html:54 -msgid "Privacy" -msgstr "Prywatność" - -#: network-api/networkapi/templates/partials/footer.html:55 -msgid "Cookies" -msgstr "Ciasteczka" - -#: network-api/networkapi/templates/partials/footer.html:72 -#, python-format -msgid "" -"Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at %(foundation_website)s" -msgstr "" -"Mozilla to ogólnoświatowa organizacja non-profit, której celem jest oddanie użytkownikom kontroli nad Internetem i kształtowanie jego przyszłości dla wspólnego dobra. Odwiedź nas na %(foundation_website)s" - -#: network-api/networkapi/templates/partials/primary_nav.html:17 -msgid "Home" -msgstr "Strona domowa" - -#: network-api/networkapi/templates/partials/primary_nav.html:19 network-api/networkapi/templates/partials/primary_nav.html:68 -msgid "Newsletter" -msgstr "Biuletyn" - -#: network-api/networkapi/templates/partials/primary_nav.html:88 -msgid "No thanks" -msgstr "Nie, dziękuję" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/bannered_campaign_page.html:56 network-api/networkapi/wagtailpages/templates/wagtailpages/campaign_page.html:66 -msgctxt "Sticky button in mobile view on campaign pages" -msgid "TAKE ACTION" -msgstr "PODEJMIJ DZIAŁANIE" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blocks/recent_blog_entries.html:14 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:72 -msgid "More from our blog" -msgstr "Więcej z naszego bloga" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:27 network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:44 -#, python-format -msgid "%(title)s by @mozilla" -msgstr "%(title)s autorstwa @mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:34 -#, python-format -msgid "By %(author)s" -msgstr "Autorzy: %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/blog_card.html:37 -#, python-format -msgid "By %(author)s on %(date)s" -msgstr "Autorzy: %(author)s — %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:8 -msgid "Latest news" -msgstr "Najnowsze aktualności" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:31 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:58 -#, python-format -msgid "by %(author)s" -msgstr "Autorzy: %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:33 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:60 -#, python-format -msgid "on %(date)s" -msgstr "— %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ih_cta.html:6 -#, python-format -msgid "This is part of a broader movement for a healthy internet. See more." -msgstr "To część szerszego ruchu na rzecz zdrowego Internetu. Więcej informacji." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/related_posts.html:8 -msgid "Related content" -msgstr "Podobne" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:36 -msgid "Happening now" -msgstr "Dzieje się teraz" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:72 -msgid "Trending projects" -msgstr "Popularne projekty" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:75 network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:86 -msgid "Add your project" -msgstr "Dodaj swój projekt" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:85 -msgid "More from our network" -msgstr "Więcej z naszej sieci" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:95 -msgid "We want to give users the knowledge and the power to make informed decisions by themselves to prevent abusive practices." -msgstr "Chcemy dać użytkownikom wiedzę i możliwości samodzielnego podejmowania świadomych decyzji, aby zapobiegać nadużyciom." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:96 -msgid "Rishab Nithyanand, Mozilla Fellow" -msgstr "Rishab Nithyanand, stypendysta Mozilli" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:32 -#, python-format -msgid "%(total_entries)s result" -msgid_plural "%(total_entries)s results" -msgstr[0] "%(total_entries)s wynik" -msgstr[1] "%(total_entries)s wyniki" -msgstr[2] "%(total_entries)s wyników" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:37 -msgctxt "Following “xx results” and followed by searched terms. Full string example: “12 results for Advocacy”" -msgid "for" -msgstr "dla zapytania:" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:48 -msgid "clear filters" -msgstr "wyczyść filtry" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:66 -msgid "Load more results" -msgstr "Więcej wyników" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/load-more-regrets.html:4 -msgid "Load more stories" -msgstr "Więcej artykułów" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:36 network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:37 -msgid "Join Mozilla" -msgstr "Dołącz do Mozilli" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:43 -msgid "Scroll" -msgstr "Przewiń" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:47 -msgid "28 reasons why YouTube must change: startling stories of YouTube’s recommendations leading people down bizarre and dangerous paths" -msgstr "28 powodów, dla których YouTube musi się zmienić: alarmujące historie o systemie rekomendacji YouTube’a prowadzącym ludzi na dziwne i niebezpieczne ścieżki" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:30 network-api/networkapi/wagtailpages/utils.py:58 -msgid "Overview" -msgstr "Przegląd" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:32 -msgid "Advocacy" -msgstr "Mobilizacja i promocja" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:33 -msgid "Internet Health Report" -msgstr "Raport o zdrowiu Internetu" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:34 -msgid "Fellowships" -msgstr "Stypendia" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:35 -msgid "Awards" -msgstr "Nagrody" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:36 -msgid "MozFest" -msgstr "MozFest" diff --git a/network-api/locale/pt/LC_MESSAGES/django.po b/network-api/locale/pt/LC_MESSAGES/django.po deleted file mode 100644 index 78ef1a7b2..000000000 --- a/network-api/locale/pt/LC_MESSAGES/django.po +++ /dev/null @@ -1,259 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-13 16:09+0000\n" -"PO-Revision-Date: 2019-11-13 16:11+0000\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" -"Last-Translator: \n" -"Language-Team: \n" -"X-Generator: Poedit 2.2.4\n" - -#: network-api/networkapi/templates/404.html:4 -msgid "Page Not Found" -msgstr "" - -#: network-api/networkapi/templates/fragments/language_switcher.html:6 -msgid "Language" -msgstr "" - -#: network-api/networkapi/templates/pages/base.html:9 -#: network-api/networkapi/templates/partials/primary_nav.html:46 -msgid "Mozilla Foundation" -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:7 -msgid "Uh oh!" -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:9 -msgid "Sorry, the page does not exist" -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:10 -#, python-format -msgid "Contact us or ..." -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:11 -msgid "Go to home page" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:11 -msgid "We all love the Web. Join Mozilla in defending it." -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:12 -msgid "Let’s protect the world’s largest resource for future generations." -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:14 -msgid "Donate now" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:38 -msgid "More about us" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:41 -msgid "Twitter" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:42 -msgid "Instagram" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:43 -msgid "GitHub" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:50 -#: network-api/networkapi/templates/partials/primary_nav.html:67 -msgid "Donate" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:51 -msgid "Legal" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:52 -msgid "License" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:53 -msgid "Participation Guidelines" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:54 -msgid "Privacy" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:55 -msgid "Cookies" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:72 -#, python-format -msgid "Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at %(foundation_website)s" -msgstr "" - -#: network-api/networkapi/templates/partials/primary_nav.html:17 -msgid "Home" -msgstr "" - -#: network-api/networkapi/templates/partials/primary_nav.html:19 -#: network-api/networkapi/templates/partials/primary_nav.html:68 -msgid "Newsletter" -msgstr "" - -#: network-api/networkapi/templates/partials/primary_nav.html:88 -msgid "No thanks" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/bannered_campaign_page.html:56 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/campaign_page.html:66 -msgctxt "Sticky button in mobile view on campaign pages" -msgid "TAKE ACTION" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blocks/recent_blog_entries.html:14 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:72 -msgid "More from our blog" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:27 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:44 -#, python-format -msgid "%(title)s by @mozilla" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:34 -#, python-format -msgid "By %(author)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/blog_card.html:37 -#, python-format -msgid "By %(author)s on %(date)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:8 -msgid "Latest news" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:31 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:58 -#, python-format -msgid "by %(author)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:33 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:60 -#, python-format -msgid "on %(date)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ih_cta.html:6 -#, python-format -msgid "This is part of a broader movement for a healthy internet. See more." -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/related_posts.html:8 -msgid "Related content" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:36 -msgid "Happening now" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:72 -msgid "Trending projects" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:75 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:86 -msgid "Add your project" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:85 -msgid "More from our network" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:95 -msgid "We want to give users the knowledge and the power to make informed decisions by themselves to prevent abusive practices." -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:96 -msgid "Rishab Nithyanand, Mozilla Fellow" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:32 -#, python-format -msgid "%(total_entries)s result" -msgid_plural "%(total_entries)s results" -msgstr[0] "" -msgstr[1] "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:37 -msgctxt "Following “xx results” and followed by searched terms. Full string example: “12 results for Advocacy”" -msgid "for" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:48 -msgid "clear filters" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:66 -msgid "Load more results" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/load-more-regrets.html:4 -msgid "Load more stories" -msgstr "Carregar mais histórias" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:36 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:37 -msgid "Join Mozilla" -msgstr "Junte-se à Mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:43 -msgid "Scroll" -msgstr "Rolar" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:47 -msgid "28 reasons why YouTube must change: startling stories of YouTube’s recommendations leading people down bizarre and dangerous paths" -msgstr "28 razões pelas quais o YouTube precisa mudar: histórias surpreendentes das recomendações do YouTube levando pessoas a trilharem caminhos bizarros e perigosos" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:30 -#: network-api/networkapi/wagtailpages/utils.py:58 -msgid "Overview" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:32 -msgid "Advocacy" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:33 -msgid "Internet Health Report" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:34 -msgid "Fellowships" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:35 -msgid "Awards" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:36 -msgid "MozFest" -msgstr "" diff --git a/network-api/locale/pt_BR/LC_MESSAGES/django.po b/network-api/locale/pt_BR/LC_MESSAGES/django.po deleted file mode 100644 index ca89ef688..000000000 --- a/network-api/locale/pt_BR/LC_MESSAGES/django.po +++ /dev/null @@ -1,252 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-13 16:09+0000\n" -"PO-Revision-Date: 2019-11-15 23:44+0000\n" -"Last-Translator: Marcelo Ghelman \n" -"Language-Team: \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: Pontoon\n" - -#: network-api/networkapi/templates/404.html:4 -msgid "Page Not Found" -msgstr "Página não encontrada" - -#: network-api/networkapi/templates/fragments/language_switcher.html:6 -msgid "Language" -msgstr "Idioma" - -#: network-api/networkapi/templates/pages/base.html:9 network-api/networkapi/templates/partials/primary_nav.html:46 -msgid "Mozilla Foundation" -msgstr "Fundação Mozilla" - -#: network-api/networkapi/templates/partials/404.html:7 -msgid "Uh oh!" -msgstr "Opa!" - -#: network-api/networkapi/templates/partials/404.html:9 -msgid "Sorry, the page does not exist" -msgstr "Desculpe, a página não existe" - -#: network-api/networkapi/templates/partials/404.html:10 -#, python-format -msgid "Contact us or ..." -msgstr "Entre em contato conosco ou ..." - -#: network-api/networkapi/templates/partials/404.html:11 -msgid "Go to home page" -msgstr "Ir para a página inicial" - -#: network-api/networkapi/templates/partials/footer.html:11 -msgid "We all love the Web. Join Mozilla in defending it." -msgstr "Todos nós amamos a web. Junte-se à Mozilla para defendê-la." - -#: network-api/networkapi/templates/partials/footer.html:12 -msgid "Let’s protect the world’s largest resource for future generations." -msgstr "Vamos proteger o maior recurso do mundo para as gerações futuras." - -#: network-api/networkapi/templates/partials/footer.html:14 -msgid "Donate now" -msgstr "Faça uma doação" - -#: network-api/networkapi/templates/partials/footer.html:38 -msgid "More about us" -msgstr "Saiba mais sobre nós" - -#: network-api/networkapi/templates/partials/footer.html:41 -msgid "Twitter" -msgstr "Twitter" - -#: network-api/networkapi/templates/partials/footer.html:42 -msgid "Instagram" -msgstr "Instagram" - -#: network-api/networkapi/templates/partials/footer.html:43 -msgid "GitHub" -msgstr "GitHub" - -#: network-api/networkapi/templates/partials/footer.html:50 network-api/networkapi/templates/partials/primary_nav.html:67 -msgid "Donate" -msgstr "Doar" - -#: network-api/networkapi/templates/partials/footer.html:51 -msgid "Legal" -msgstr "Jurídico" - -#: network-api/networkapi/templates/partials/footer.html:52 -msgid "License" -msgstr "Licença" - -#: network-api/networkapi/templates/partials/footer.html:53 -msgid "Participation Guidelines" -msgstr "Diretrizes de participação" - -#: network-api/networkapi/templates/partials/footer.html:54 -msgid "Privacy" -msgstr "Privacidade" - -#: network-api/networkapi/templates/partials/footer.html:55 -msgid "Cookies" -msgstr "Cookies" - -#: network-api/networkapi/templates/partials/footer.html:72 -#, python-format -msgid "" -"Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at %(foundation_website)s" -msgstr "" -"A Mozilla é uma organização global sem fins lucrativos, dedicada a colocar você no controle da sua experiência online e moldar o futuro da web para o bem público. Visite-nos em %(foundation_website)s" - -#: network-api/networkapi/templates/partials/primary_nav.html:17 -msgid "Home" -msgstr "Início" - -#: network-api/networkapi/templates/partials/primary_nav.html:19 network-api/networkapi/templates/partials/primary_nav.html:68 -msgid "Newsletter" -msgstr "Boletim informativo" - -#: network-api/networkapi/templates/partials/primary_nav.html:88 -msgid "No thanks" -msgstr "Não, obrigado" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/bannered_campaign_page.html:56 network-api/networkapi/wagtailpages/templates/wagtailpages/campaign_page.html:66 -msgctxt "Sticky button in mobile view on campaign pages" -msgid "TAKE ACTION" -msgstr "TOME UMA ATITUDE" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blocks/recent_blog_entries.html:14 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:72 -msgid "More from our blog" -msgstr "Mais do nosso blog" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:27 network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:44 -#, python-format -msgid "%(title)s by @mozilla" -msgstr "%(title)s por @mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:34 -#, python-format -msgid "By %(author)s" -msgstr "Por %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/blog_card.html:37 -#, python-format -msgid "By %(author)s on %(date)s" -msgstr "Por %(author)s em %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:8 -msgid "Latest news" -msgstr "Últimas notícias" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:31 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:58 -#, python-format -msgid "by %(author)s" -msgstr "por %(author)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:33 network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:60 -#, python-format -msgid "on %(date)s" -msgstr "em %(date)s" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ih_cta.html:6 -#, python-format -msgid "This is part of a broader movement for a healthy internet. See more." -msgstr "Isso faz parte de um movimento mais amplo por uma internet saudável. Veja mais." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/related_posts.html:8 -msgid "Related content" -msgstr "Conteúdo relacionado" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:36 -msgid "Happening now" -msgstr "Acontecendo agora" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:72 -msgid "Trending projects" -msgstr "Projetos em alta" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:75 network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:86 -msgid "Add your project" -msgstr "Adicione seu projeto" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:85 -msgid "More from our network" -msgstr "Mais da nossa rede" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:95 -msgid "We want to give users the knowledge and the power to make informed decisions by themselves to prevent abusive practices." -msgstr "Queremos dar aos usuários o conhecimento e o poder de tomar decisões informadas por si mesmos para evitar práticas abusivas." - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:96 -msgid "Rishab Nithyanand, Mozilla Fellow" -msgstr "Rishab Nithyanand, colega da Mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:32 -#, python-format -msgid "%(total_entries)s result" -msgid_plural "%(total_entries)s results" -msgstr[0] "%(total_entries)s resultado" -msgstr[1] "%(total_entries)s resultados" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:37 -msgctxt "Following “xx results” and followed by searched terms. Full string example: “12 results for Advocacy”" -msgid "for" -msgstr "para" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:48 -msgid "clear filters" -msgstr "limpar filtros" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:66 -msgid "Load more results" -msgstr "Carregar mais resultados" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/load-more-regrets.html:4 -msgid "Load more stories" -msgstr "Carregar mais histórias" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:36 network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:37 -msgid "Join Mozilla" -msgstr "Junte-se à Mozilla" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:43 -msgid "Scroll" -msgstr "Rolar" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:47 -msgid "28 reasons why YouTube must change: startling stories of YouTube’s recommendations leading people down bizarre and dangerous paths" -msgstr "28 razões pelas quais o YouTube precisa mudar: histórias surpreendentes das recomendações do YouTube levando pessoas a trilharem caminhos bizarros e perigosos" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:30 network-api/networkapi/wagtailpages/utils.py:58 -msgid "Overview" -msgstr "Visão geral" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:32 -msgid "Advocacy" -msgstr "Ativismo" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:33 -msgid "Internet Health Report" -msgstr "Relatório de Integridade da Internet" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:34 -msgid "Fellowships" -msgstr "Bolsas de estudo" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:35 -msgid "Awards" -msgstr "Prêmios" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:36 -msgid "MozFest" -msgstr "MozFest" diff --git a/network-api/locale/templates/LC_MESSAGES/django.pot b/network-api/locale/templates/LC_MESSAGES/django.pot deleted file mode 100644 index 111ccef0c..000000000 --- a/network-api/locale/templates/LC_MESSAGES/django.pot +++ /dev/null @@ -1,259 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-11-13 16:25+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" - -#: network-api/networkapi/templates/404.html:4 -msgid "Page Not Found" -msgstr "" - -#: network-api/networkapi/templates/fragments/language_switcher.html:6 -msgid "Language" -msgstr "" - -#: network-api/networkapi/templates/pages/base.html:9 -#: network-api/networkapi/templates/partials/primary_nav.html:46 -msgid "Mozilla Foundation" -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:7 -msgid "Uh oh!" -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:9 -msgid "Sorry, the page does not exist" -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:10 -#, python-format -msgid "Contact us or ..." -msgstr "" - -#: network-api/networkapi/templates/partials/404.html:11 -msgid "Go to home page" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:11 -msgid "We all love the Web. Join Mozilla in defending it." -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:12 -msgid "Let’s protect the world’s largest resource for future generations." -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:14 -msgid "Donate now" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:38 -msgid "More about us" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:41 -msgid "Twitter" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:42 -msgid "Instagram" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:43 -msgid "GitHub" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:50 -#: network-api/networkapi/templates/partials/primary_nav.html:67 -msgid "Donate" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:51 -msgid "Legal" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:52 -msgid "License" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:53 -msgid "Participation Guidelines" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:54 -msgid "Privacy" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:55 -msgid "Cookies" -msgstr "" - -#: network-api/networkapi/templates/partials/footer.html:72 -#, python-format -msgid "Mozilla is a global non-profit dedicated to putting you in control of your online experience and shaping the future of the web for the public good. Visit us at %(foundation_website)s" -msgstr "" - -#: network-api/networkapi/templates/partials/primary_nav.html:17 -msgid "Home" -msgstr "" - -#: network-api/networkapi/templates/partials/primary_nav.html:19 -#: network-api/networkapi/templates/partials/primary_nav.html:68 -msgid "Newsletter" -msgstr "" - -#: network-api/networkapi/templates/partials/primary_nav.html:88 -msgid "No thanks" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/bannered_campaign_page.html:56 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/campaign_page.html:66 -msgctxt "Sticky button in mobile view on campaign pages" -msgid "TAKE ACTION" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blocks/recent_blog_entries.html:14 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:72 -msgid "More from our blog" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:27 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:44 -#, python-format -msgid "%(title)s by @mozilla" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/blog_page.html:34 -#, python-format -msgid "By %(author)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/blog_card.html:37 -#, python-format -msgid "By %(author)s on %(date)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:8 -msgid "Latest news" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:31 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:58 -#, python-format -msgid "by %(author)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:33 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/featured_blogs.html:60 -#, python-format -msgid "on %(date)s" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/ih_cta.html:6 -#, python-format -msgid "This is part of a broader movement for a healthy internet. See more." -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/related_posts.html:8 -msgid "Related content" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:36 -msgid "Happening now" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:72 -msgid "Trending projects" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:75 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:86 -msgid "Add your project" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:85 -msgid "More from our network" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:95 -msgid "We want to give users the knowledge and the power to make informed decisions by themselves to prevent abusive practices." -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/homepage.html:96 -msgid "Rishab Nithyanand, Mozilla Fellow" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:32 -#, python-format -msgid "%(total_entries)s result" -msgid_plural "%(total_entries)s results" -msgstr[0] "" -msgstr[1] "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:37 -msgctxt "Following “xx results” and followed by searched terms. Full string example: “12 results for Advocacy”" -msgid "for" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:48 -msgid "clear filters" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/index_page.html:66 -msgid "Load more results" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/load-more-regrets.html:4 -msgid "Load more stories" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:36 -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:37 -msgid "Join Mozilla" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:43 -msgid "Scroll" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/pages/youtube_regrets_page.html:47 -msgid "28 reasons why YouTube must change: startling stories of YouTube’s recommendations leading people down bizarre and dangerous paths" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:30 -#: network-api/networkapi/wagtailpages/utils.py:58 -msgid "Overview" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:32 -msgid "Advocacy" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:33 -msgid "Internet Health Report" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:34 -msgid "Fellowships" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:35 -msgid "Awards" -msgstr "" - -#: network-api/networkapi/wagtailpages/templates/wagtailpages/static/initiatives_page.html:36 -msgid "MozFest" -msgstr "" diff --git a/tasks.py b/tasks.py index a4b9ef38e..f57f8d383 100644 --- a/tasks.py +++ b/tasks.py @@ -96,14 +96,14 @@ def l10n_update(ctx): @task def makemessages(ctx): """Extract all template messages in .po files for localization""" + ctx.run("./translation-management.sh import") manage(ctx, locale_abstraction_instructions) - os.replace("network-api/locale/django.pot", "network-api/locale/templates/LC_MESSAGES/django.pot") + ctx.run("./translation-management.sh export") @task def compilemessages(ctx): """Compile the latest translations""" - copy("network-api/locale/pt_BR/LC_MESSAGES/django.po", "network-api/locale/pt/LC_MESSAGES/django.po") with ctx.cd(LOCALE_DIR): manage(ctx, "compilemessages") @@ -244,14 +244,14 @@ def docker_l10n_update(ctx): @task def docker_makemessages(ctx): """Extract all template messages in .po files for localization""" + ctx.run("./translation-management.sh import") docker_manage(ctx, locale_abstraction_instructions) - os.replace("network-api/locale/django.pot", "network-api/locale/templates/LC_MESSAGES/django.pot") + ctx.run("./translation-management.sh export") @task def docker_compilemessages(ctx): """Compile the latest translations""" - copy("network-api/locale/pt_BR/LC_MESSAGES/django.po", "network-api/locale/pt/LC_MESSAGES/django.po") with ctx.cd(LOCALE_DIR): docker_manage(ctx, "compilemessages") @@ -319,7 +319,7 @@ def docker_new_env(ctx): docker_migrate(ctx) print("* Creating fake data.") docker_manage(ctx, "load_fake_data") - print("* Compiling localse strings.") + print("* Compiling locale strings.") docker_compilemessages(ctx) print("* Updating block information.") docker_l10n_block_inventory(ctx) diff --git a/translation-management.sh b/translation-management.sh new file mode 100755 index 000000000..2a805dc18 --- /dev/null +++ b/translation-management.sh @@ -0,0 +1,52 @@ +#!/usr/bin/env bash + +set -euo pipefail + +# Pretty printing functions +NORMAL=$(tput sgr0) +GREEN=$(tput setaf 2; tput bold) +YELLOW=$(tput setaf 3) +RED=$(tput setaf 1) + +function echored() { + echo -e "$RED$*$NORMAL" +} + +function echogreen() { + echo -e "$GREEN$*$NORMAL" +} + +function echoyellow() { + echo -e "$YELLOW$*$NORMAL" +} + +if [ $# -lt 1 ] +then + echored "ERROR: not enough arguments supplied." + echo "Usage: translation-management.sh *action*" + echo " - action: import, export" + exit 1 +fi + +command="$1" + +# Read path to local string repository from .env file +L10N_REPO=$(grep LOCAL_PATH_TO_L10N_REPO .env | cut -d '=' -f2) + +case $command in + "import") + echogreen "Importing latest translation files from fomo-l10n repository" + cp -r "${L10N_REPO}foundation/translations/locale/" "network-api/locale/" + cp -r "${L10N_REPO}foundation/translations/networkapi/buyersguide/locale/" "network-api/networkapi/buyersguide/locale/" + cp -r "${L10N_REPO}foundation/translations/networkapi/buyersguide/templates/about/locale/" "network-api/networkapi/buyersguide/templates/about/locale/" + cp -r "${L10N_REPO}foundation/translations/networkapi/mozfest/locale/" "network-api/networkapi/mozfest/locale/" +esac + +case $command in + "export") + echogreen "Exporting generated translation files to fomo-l10n repository" + cp -r "network-api/locale/" "${L10N_REPO}foundation/translations/locale/" + cp -r "network-api/networkapi/buyersguide/locale/" "${L10N_REPO}foundation/translations/networkapi/buyersguide/locale/" + cp -r "network-api/networkapi/buyersguide/templates/about/locale/" "${L10N_REPO}foundation/translations/networkapi/buyersguide/templates/about/locale/" + cp -r "network-api/networkapi/mozfest/locale/" "${L10N_REPO}foundation/translations/networkapi/mozfest/locale/" +esac