Skip to content

Commit

Permalink
Configure project to use Transifex as the translation management plat…
Browse files Browse the repository at this point in the history
…form:

- Documentation from ReadTheDocs is here: https://docs.readthedocs.io/en/stable/guides/manage-translations.html;
- Documentation from Transifex is here: https://docs.transifex.com/client/config#section-configuring-multiple-local-files;
- Basic process is to build the translations using the tx client, rather than using sphinx-intl;
- This commit inserts a small change to es/overview.po in Transifex, pulls it into this repo, then pushes it to RTD for build.
  • Loading branch information
tlongers committed Mar 16, 2020
1 parent d014355 commit ddd9cc0
Show file tree
Hide file tree
Showing 20 changed files with 3,433 additions and 3,474 deletions.
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# GITIGNORE: Research Handbook
#
# tl / 2020-03-16

# OSX

## General
Expand All @@ -20,10 +24,11 @@ Icon
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# gpg
## gpg

secring.*

## Other OSX stuff

.AppleDB
.AppleDesktop
Expand All @@ -35,7 +40,7 @@ Temporary Items

## Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
!*.svg
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
Expand All @@ -52,3 +57,9 @@ Sessionx.vim
tags
## Persistent undo
[._]*.un~

# Transifex
## Transifex config
.tx/*
## Transifex management script
to-tx.sh
393 changes: 191 additions & 202 deletions source/locale/es/LC_MESSAGES/data_integrity.po

Large diffs are not rendered by default.

80 changes: 39 additions & 41 deletions source/locale/es/LC_MESSAGES/datamodel.po
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2019, Security Force Monitor
# This file is distributed under the same license as the SFM Research
# Handbook package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
# This file is distributed under the same license as the SFM Research Handbook package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SFM Research Handbook \n"
"Project-Id-Version: SFM Research Handbook\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-11 16:29+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2020-03-16 12:32+0000\n"
"Language-Team: Spanish (https://www.transifex.com/sfm/teams/108084/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.8.0\n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../../source/datamodel.rst:2 be6eef43574240e7b36b8cd13257bddd
msgid "What data does the Monitor collect?"
Expand All @@ -28,41 +27,40 @@ msgstr ""

#: ../../source/datamodel.rst:7 e9242973fff846948b21d6efa6e3d11d
msgid ""
"Security Force Monitor researches and creates data about three things (or"
" \"entities\") related to security forces around the world:"
"Security Force Monitor researches and creates data about three things (or "
"\"entities\") related to security forces around the world:"
msgstr ""

#: ../../source/datamodel.rst:9 92ae6ed36e124276a9eacffbc109d9b1
msgid ""
":ref:`Units` are official state or state-sanctioned organizations "
"responsible for the internal or external security for a country, "
"including the police, army, navy, air force and other security forces. "
"Units refer to any any part of the hierarchy of a security force, ranging"
" from a defense ministry with national jurisdiction, to a police unit "
"based in a small town. Units can also be groupings of units such as "
"\"operations\", \"joint task forces\" or peacekeeping missions. The "
"Monitor collects data about a unit's name, aliases, bases and other "
"physical infrastructure, geographical areas of operation and "
"relationships with other units over time."
"responsible for the internal or external security for a country, including "
"the police, army, navy, air force and other security forces. Units refer to "
"any any part of the hierarchy of a security force, ranging from a defense "
"ministry with national jurisdiction, to a police unit based in a small town."
" Units can also be groupings of units such as \"operations\", \"joint task "
"forces\" or peacekeeping missions. The Monitor collects data about a unit's "
"name, aliases, bases and other physical infrastructure, geographical areas "
"of operation and relationships with other units over time."
msgstr ""

#: ../../source/datamodel.rst:10 1c1ed7e3e1a544828173e8f20a3e437a
msgid ""
":ref:`Persons` are natural persons who are affiliated with, or hold "
"positions of command over a specific unit at a particular point in time. "
"The Monitor creates a dossier for each person, which includes their name,"
" aliases, rank, title, role and the different units which they are "
"affiliated with. In addition, we use a format called :ref:`Persons Extra`"
" to capture data about a person's online and social media accounts, and "
"media describing how a person looks and sounds"
"positions of command over a specific unit at a particular point in time. The"
" Monitor creates a dossier for each person, which includes their name, "
"aliases, rank, title, role and the different units which they are affiliated"
" with. In addition, we use a format called :ref:`Persons Extra` to capture "
"data about a person's online and social media accounts, and media describing"
" how a person looks and sounds"
msgstr ""

#: ../../source/datamodel.rst:11 81ac7d86ce9442119315f676edd5137f
msgid ""
":ref:`Incidents` are publicly-documented allegations of human rights "
"violations committed by security forces. These include extrajudicial "
"killings, rape, torture and other forms of violence. The Monitor does not"
" make allegations itself, but rather complies allegations made by "
"killings, rape, torture and other forms of violence. The Monitor does not "
"make allegations itself, but rather complies allegations made by "
"governmental bodies, human rights organizations and other civil society "
"actors. For each incident, the Monitor includes a description from the "
"source, date(s), specific location(s), its perpetrators and the types of "
Expand All @@ -74,15 +72,15 @@ msgid ""
"Every piece of data collected by the Monitor is individually sourced and "
"each data point about :ref:`Persons` and :ref:`Units` is assigned a "
"confidence score. The Research Handbook sections on :ref:`Sources` and "
":ref:`Data integrity measures` provide more guidance about these aspects "
"of the data creation process."
":ref:`Data integrity measures` provide more guidance about these aspects of "
"the data creation process."
msgstr ""

#: ../../source/datamodel.rst:15 bc55eeeddcb0498b80552290727cbd3c
msgid ""
"Detailed guidance about the fields used by the Monitor to record data "
"about :ref:`Units`, :ref:`Persons` and :ref:`Incidents` is provided in "
"the sections that follow."
"Detailed guidance about the fields used by the Monitor to record data about "
":ref:`Units`, :ref:`Persons` and :ref:`Incidents` is provided in the "
"sections that follow."
msgstr ""

#: ../../source/datamodel.rst:18 91195f326b7140ce838216122f62103a
Expand All @@ -92,11 +90,11 @@ msgstr ""
#: ../../source/datamodel.rst:20 aae6bcb9fe6142a1a79a97906946f40f
msgid ""
"Security Force Monitor uses databases, spreadsheets and other tools to "
"capture and analyse the data described in this Research Handbook. Though "
"the spreadsheet can get quite large and unwieldy, it remains an extremely"
" powerful and effective way to capture and store data. To assist you with"
" your research, here are the formats we use as a Google Sheet, and in "
"Excel and OpenDocument formats:"
"capture and analyse the data described in this Research Handbook. Though the"
" spreadsheet can get quite large and unwieldy, it remains an extremely "
"powerful and effective way to capture and store data. To assist you with "
"your research, here are the formats we use as a Google Sheet, and in Excel "
"and OpenDocument formats:"
msgstr ""

#: ../../source/datamodel.rst:22 53959c0a97d748de9fd9eddfe13862b7
Expand All @@ -114,6 +112,6 @@ msgstr ""
#: ../../source/datamodel.rst:24 15f00eff78df4dbaad93ef6adfcb84e6
msgid ""
"Sample data entry sheets `as a Google Sheet "
"<https://docs.google.com/spreadsheets/d/1-ae43_6JfXHZyC0-rYkOvnbB2RZgzyEy2VgJqAD_-KA/>`_."
"<https://docs.google.com/spreadsheets/d/1-ae43_6JfXHZyC0"
"-rYkOvnbB2RZgzyEy2VgJqAD_-KA/>`_."
msgstr ""

96 changes: 46 additions & 50 deletions source/locale/es/LC_MESSAGES/eventrec.po
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2019, Security Force Monitor
# This file is distributed under the same license as the SFM Research
# Handbook package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
# This file is distributed under the same license as the SFM Research Handbook package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: SFM Research Handbook \n"
"Project-Id-Version: SFM Research Handbook\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-26 12:40+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2020-03-16 12:32+0000\n"
"Language-Team: Spanish (https://www.transifex.com/sfm/teams/108084/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.8.0\n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

# b60f37736e69443f8d463bd65bced7dc
#: ../../source/eventrec.rst:2
Expand All @@ -26,16 +25,15 @@ msgstr ""
# f6a1671084834636ac650655d9cb648a
#: ../../source/eventrec.rst:4
msgid ""
"This page contains an overview of the data that visitors to "
"WhoWasInCommand will find in an incident record."
"This page contains an overview of the data that visitors to WhoWasInCommand "
"will find in an incident record."
msgstr ""

# fc62e135a21047b1b6cce141b1476982
#: ../../source/eventrec.rst:6
msgid ""
"This includes the different sections of the incident record, the data "
"fields that are used to create it and links to more information about "
"each field."
"This includes the different sections of the incident record, the data fields"
" that are used to create it and links to more information about each field."
msgstr ""

# bbc44b0301a4478d91de95d680fc54d3
Expand All @@ -46,11 +44,11 @@ msgstr ""
# 609747fc3d2d4824b51e55dd76ed5afa
#: ../../source/eventrec.rst:14
msgid ""
"This section contains key information about the incident. It also "
"contains links to download and print actions for the displayed record. "
"Hover over any value in the title area to display a little coloured "
"circle; clicking on this will display the sources and confidence rating "
"for we have assigned to each value."
"This section contains key information about the incident. It also contains "
"links to download and print actions for the displayed record. Hover over any"
" value in the title area to display a little coloured circle; clicking on "
"this will display the sources and confidence rating for we have assigned to "
"each value."
msgstr ""

# 87451fc732974906bcb2c166e9a77d3d
Expand Down Expand Up @@ -94,10 +92,9 @@ msgstr ""
msgid ""
"The content sidebar is a navigation aid. It provides quick links to "
"different sections of the record. The items inside the content sidebar "
"indicate what sort of data is available about this incident. For example "
"if \"Perpetrator organizations\" is not listed in the content sidebar, "
"then there is no data available about alleged perpetrators of the "
"incident."
"indicate what sort of data is available about this incident. For example if "
"\"Perpetrator organizations\" is not listed in the content sidebar, then "
"there is no data available about alleged perpetrators of the incident."
msgstr ""

# 47afc8764cc644979f6859df3a22db89
Expand All @@ -109,12 +106,12 @@ msgstr ""
#: ../../source/eventrec.rst:39
msgid ""
"This section contains an interactive map and some text that describe the "
"location where sources indicate that an incident occured. Click on the "
"pins placed in the map to display the name of a location. Grab the map to"
" drag/pan it around. Swipe or use the ``+`` and ``-`` controls on the map"
" to zoom in or zoom out. Hover over the text description of the location "
"and a little coloured circle will appear. Click on this to view the "
"sources and confidence rating we have assigned to that value."
"location where sources indicate that an incident occured. Click on the pins "
"placed in the map to display the name of a location. Grab the map to "
"drag/pan it around. Swipe or use the ``+`` and ``-`` controls on the map to "
"zoom in or zoom out. Hover over the text description of the location and a "
"little coloured circle will appear. Click on this to view the sources and "
"confidence rating we have assigned to that value."
msgstr ""

# 1667115072c648d38cfd8c7966ed1ced
Expand Down Expand Up @@ -166,11 +163,11 @@ msgstr ""
#: ../../source/eventrec.rst:58
msgid ""
"This section contains a direct quotation from the civil society, "
"governmental or other source that describes the incident. As with all "
"tables in person, unit and incident records on WhoWasInCommand, hovering "
"over or tapping any value in the table will cause a little coloured "
"circle to appear. Clicking or tapping again on this will show the sources"
" and confidence ratings we have assigned to that value."
"governmental or other source that describes the incident. As with all tables"
" in person, unit and incident records on WhoWasInCommand, hovering over or "
"tapping any value in the table will cause a little coloured circle to "
"appear. Clicking or tapping again on this will show the sources and "
"confidence ratings we have assigned to that value."
msgstr ""

# b7612aa83bc04107977efbf241bfd3f1
Expand All @@ -197,12 +194,11 @@ msgstr ""
#: ../../source/eventrec.rst:72
msgid ""
"This section contains a table listing the organization(s) that sources "
"allege committed the human rights violation(s) described in the incident."
" As with all tables in person, unit and incident records on "
"WhoWasInCommand, hovering over or tapping any value in the table will "
"cause a little coloured circle to appear. Clicking or tapping again on "
"this will show the sources and confidence ratings we have assigned to "
"that value."
"allege committed the human rights violation(s) described in the incident. As"
" with all tables in person, unit and incident records on WhoWasInCommand, "
"hovering over or tapping any value in the table will cause a little coloured"
" circle to appear. Clicking or tapping again on this will show the sources "
"and confidence ratings we have assigned to that value."
msgstr ""

# 33eaffba0f3847388ffa660071a67068
Expand All @@ -212,7 +208,8 @@ msgstr ""

# a1c3379d0a1043e098d9c7cf6ca0085a
#: ../../source/eventrec.rst:76
msgid "The following fields are used in the perpetrator organizations section:"
msgid ""
"The following fields are used in the perpetrator organizations section:"
msgstr ""

# 63b09312eda7446cb8b28a4e8a99f44d
Expand Down Expand Up @@ -243,12 +240,11 @@ msgstr ""
# 7657799bd59d41efb9550e71ee1b7f02
#: ../../source/eventrec.rst:89
msgid ""
"The data displayed in any record on WhoWasInCommand is always the most up"
" to date version. The changelog section shows when the data included in "
"this record were first added and subsequently updated. This data is "
"generated by the software that powers WhoWasInCommand whenever a new data"
" import is run. Clicking on the name of the field will open a box showing"
" all the changes that were made to a datapoint, including the time the "
"change was made and the source used to evidence the change."
"The data displayed in any record on WhoWasInCommand is always the most up to"
" date version. The changelog section shows when the data included in this "
"record were first added and subsequently updated. This data is generated by "
"the software that powers WhoWasInCommand whenever a new data import is run. "
"Clicking on the name of the field will open a box showing all the changes "
"that were made to a datapoint, including the time the change was made and "
"the source used to evidence the change."
msgstr ""

0 comments on commit ddd9cc0

Please sign in to comment.