feat: add some initial translations for Romanian and Polish
Closes: #73
This commit is contained in:
parent
bf5e7c383a
commit
5e5f422b67
58 changed files with 5863 additions and 0 deletions
76
docs/locale/en/LC_MESSAGES/admin/api/config.po
Normal file
76
docs/locale/en/LC_MESSAGES/admin/api/config.po
Normal file
|
@ -0,0 +1,76 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2021-202r SR2 Communications Limited
|
||||
# This file is distributed under the same license as the Bypass Censorship
|
||||
# Portal package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Bypass Censorship Portal \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-05 15:12+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../admin/api/config.rst:3
|
||||
msgid "Configuration File"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:5
|
||||
msgid ""
|
||||
"The application uses a YAML configuration file to specify various "
|
||||
"settings. The configuration file should follow the YAML syntax and "
|
||||
"provide values for the following fields:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:7
|
||||
msgid ""
|
||||
"`DEFAULT_REDIRECTOR_DOMAIN`: The default domain name to use for "
|
||||
"generating short links when no pool-specific redirector domain is "
|
||||
"provided. If not specified, it defaults to an empty string."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:8
|
||||
msgid ""
|
||||
"`MIRROR_COUNTRIES`: A list of country codes for which clients should be "
|
||||
"redirected to a mirror server. If a client's IP address matches one of "
|
||||
"the specified countries, they will be redirected. If not specified, "
|
||||
"clients will always be redirected to a mirror server."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:9
|
||||
msgid ""
|
||||
"`PUBLIC_KEY`: The public API key used for generating short links for "
|
||||
"anonymous users. If not specified, it defaults to an empty string."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:10
|
||||
msgid ""
|
||||
"`UPDATE_KEY`: The API key required for updating the application data via "
|
||||
"the `/updt` endpoint. This key must be provided in the `Authorization` "
|
||||
"header as a bearer token."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:11
|
||||
msgid ""
|
||||
"`GEOIP_DATABASE` (optional): The file path to the GeoIP database used for"
|
||||
" country lookup. If not specified, it defaults to "
|
||||
"`/usr/share/GeoIP/GeoIP2-Country.mmdb`."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:14
|
||||
msgid "Example Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/config.rst:16
|
||||
msgid "An example configuration file may look like this:"
|
||||
msgstr ""
|
||||
|
135
docs/locale/en/LC_MESSAGES/admin/api/index.po
Normal file
135
docs/locale/en/LC_MESSAGES/admin/api/index.po
Normal file
|
@ -0,0 +1,135 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2021-202r SR2 Communications Limited
|
||||
# This file is distributed under the same license as the Bypass Censorship
|
||||
# Portal package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Bypass Censorship Portal \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-05 15:12+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../admin/api/index.rst:38
|
||||
msgid "Contents:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:3
|
||||
msgid "Short Link Redirector"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:5
|
||||
msgid ""
|
||||
"Welcome to the documentation for the *Bypass Censorship's Short Link "
|
||||
"Redirector* application. This documentation provides detailed information"
|
||||
" about the features, components, and usage of the application. The Short "
|
||||
"Link Redirector is a web application that allows users to generate short "
|
||||
"links and direct mirror links for URLs."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:8
|
||||
msgid "Features"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:10
|
||||
msgid "The Short Link Redirector application offers the following features:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:12
|
||||
msgid ""
|
||||
"Short Link Generation: Users can generate short links for URLs, making "
|
||||
"them easier to share and remember."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:13
|
||||
msgid ""
|
||||
"Direct Mirror Links: Users can generate and discover direct mirror links "
|
||||
"that are currently live."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:14
|
||||
msgid ""
|
||||
"Country-based Redirect: The application can redirect users to mirror "
|
||||
"servers based on their country, improving user experience."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:15
|
||||
msgid ""
|
||||
"API Key Authentication: Users can authenticate their requests using API "
|
||||
"keys, enabling access to mirrors in private resource pools."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:16
|
||||
msgid ""
|
||||
"GeoIP Integration: The application optionally leverages GeoIP data to "
|
||||
"perform country lookups for IP addresses."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:19
|
||||
msgid "Components"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:21
|
||||
msgid ""
|
||||
"The Short Link Redirector application consists of the following main "
|
||||
"components:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:23
|
||||
msgid ""
|
||||
"Flask Web Server: The web server that hosts the application and handles "
|
||||
"incoming HTTP requests."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:24
|
||||
msgid ""
|
||||
"SQLAlchemy: The ORM (Object-Relational Mapping) library used for "
|
||||
"interacting with the database."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:25
|
||||
msgid ""
|
||||
"GeoIP Database: The MaxMind GeoIP database that provides country "
|
||||
"information for IP addresses."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:26
|
||||
msgid "Hashids: The library used for encoding and decoding the short link hashes."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:29
|
||||
msgid "Documentation Structure"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:31
|
||||
msgid "This documentation is structured into the following sections:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:33
|
||||
msgid ""
|
||||
":doc:`Installation <install>`: Provides instructions for installing and "
|
||||
"setting up the Short Link Redirector application."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:34
|
||||
msgid ""
|
||||
":doc:`Configuration <config>`: Explains the configuration options and how"
|
||||
" to customize the application's behavior."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/index.rst:36
|
||||
msgid ""
|
||||
"We recommend reading through the documentation sequentially to gain a "
|
||||
"comprehensive understanding of the application and its features."
|
||||
msgstr ""
|
||||
|
114
docs/locale/en/LC_MESSAGES/admin/api/install.po
Normal file
114
docs/locale/en/LC_MESSAGES/admin/api/install.po
Normal file
|
@ -0,0 +1,114 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2021-202r SR2 Communications Limited
|
||||
# This file is distributed under the same license as the Bypass Censorship
|
||||
# Portal package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Bypass Censorship Portal \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-05 15:12+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../admin/api/install.rst:3
|
||||
msgid "Installation"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:5
|
||||
msgid ""
|
||||
"The application is intended to be deployed in AWS using the `bc-"
|
||||
"redirector <https://registry.terraform.io/modules/sr2c/bc-"
|
||||
"redirector/aws/latest>`_ Terraform module. This deployment is not managed"
|
||||
" through the portal itself but may be managed alongside the IaC that "
|
||||
"manages the deployment of the portal itself."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:12
|
||||
msgid "Deployment"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:14
|
||||
msgid ""
|
||||
"The Terraform module takes care of setting up multiple entry-points to "
|
||||
"the redirector allowing for per-pool redirector domains, and also "
|
||||
"generating the necessary configuration file for the redirector. Once "
|
||||
"deployed, the redirector will not require further manual configuration, "
|
||||
"although the deployed EC2 instance will be accessible via AWS Systems "
|
||||
"Manager Session Manager if required for debugging."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:19
|
||||
msgid "The following Terraform configuration shows an example using the module:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:47
|
||||
msgid ""
|
||||
"The `public_key` must match the API key of the public pool configured "
|
||||
"within the portal. The `update_key` may must match the \"filename\" "
|
||||
"configured for the distribution list below."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:50
|
||||
msgid ""
|
||||
"The MaxMind account used will need to have at least a subscription for "
|
||||
"the GeoIP2 Country database. A subscription for GeoIP2 City will include "
|
||||
"the GeoIP2 Country database."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:55
|
||||
msgid "Data Updates"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:57
|
||||
msgid ""
|
||||
"Once deployed, the redirector must learn about the available mirror "
|
||||
"resources. This requires configuring a :doc:`distribution list "
|
||||
"<../../user/lists>` inside the portal."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:60
|
||||
msgid "**Resource Pool**: any (ignored)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:61
|
||||
msgid "**Provider**: HTTP POST"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:62
|
||||
msgid "**Distribution Method**: Redirector Data"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:63
|
||||
msgid "**Encoding**: JSON (Plain)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:64
|
||||
msgid "**Description**: <*description of the redirector instance*>"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:65
|
||||
msgid "**Container**: \\https://<*redirector domain*>/updt"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:66
|
||||
msgid "**Git Branch/Region**: na"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:67
|
||||
msgid "**Role ARN**: <*blank*>"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/api/install.rst:68
|
||||
msgid "**Filename**: <*update key*>"
|
||||
msgstr ""
|
||||
|
40
docs/locale/en/LC_MESSAGES/admin/conf.po
Normal file
40
docs/locale/en/LC_MESSAGES/admin/conf.po
Normal file
|
@ -0,0 +1,40 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2021-202r SR2 Communications Limited
|
||||
# This file is distributed under the same license as the Bypass Censorship
|
||||
# Portal package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Bypass Censorship Portal \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-05 15:12+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../admin/conf.rst:2
|
||||
msgid "Configuration File"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/conf.rst:4
|
||||
msgid ""
|
||||
"A file named ``config.yaml`` must exist. For specifics about the provider"
|
||||
" configurations, see :doc:`External Services <external>`."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/conf.rst:8
|
||||
msgid "Base Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/conf.rst:11
|
||||
msgid "Template"
|
||||
msgstr ""
|
||||
|
143
docs/locale/en/LC_MESSAGES/admin/eotk.po
Normal file
143
docs/locale/en/LC_MESSAGES/admin/eotk.po
Normal file
|
@ -0,0 +1,143 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2021-202r SR2 Communications Limited
|
||||
# This file is distributed under the same license as the Bypass Censorship
|
||||
# Portal package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Bypass Censorship Portal \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-05 15:12+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../admin/eotk.rst:2
|
||||
msgid "Enterprise Onion Toolkit"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:4
|
||||
msgid ""
|
||||
"When EOTK instances are deployed for a group, the following main AWS "
|
||||
"resources are created:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:6
|
||||
msgid "An EC2 instance in us-east-2"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:7
|
||||
msgid "An EC2 instance in eu-central-1"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:8
|
||||
msgid "A S3 bucket to hold nginx access logs"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:10
|
||||
msgid ""
|
||||
"The EC2 instances are running Ubuntu 20.04 LTS and are configured with "
|
||||
"`ssm-agent <https://docs.aws.amazon.com/systems-manager/latest/userguide"
|
||||
"/ssm-agent.html>`_ and `unattended-upgrades "
|
||||
"<https://wiki.debian.org/UnattendedUpgrades>`_."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:13
|
||||
msgid ""
|
||||
"EOTK is automatically cloned at instance creation time from Alec Muffet's"
|
||||
" `GitHub repository <https://github.com/alecmuffett/eotk>`_ to "
|
||||
"``/home/ubuntu/eotk``. The script to automatically build and install all "
|
||||
"dependencies is also executed at the instance creation time."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:17
|
||||
msgid ""
|
||||
"For full details on the instance configuration, refer to the `cloud-init "
|
||||
"user data <https://github.com/sr2c/terraform-aws-"
|
||||
"eotk/blob/main/templates/user_data.yaml>`_."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:21
|
||||
msgid "Logging in to an instance"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:24
|
||||
msgid "Via the console"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:26
|
||||
msgid ""
|
||||
"Using the AWS console, visit the `Session Manager <https://us-"
|
||||
"east-2.console.aws.amazon.com/systems-manager/session-"
|
||||
"manager/sessions?region=us-east-2>`_ in the Systems Manager service. If "
|
||||
"using SSO, login before attempting to open the link."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:33
|
||||
msgid "Click \"Start Session\" to start a new session."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:38
|
||||
msgid ""
|
||||
"Select the instance from the list, and click \"Start Session\" again. "
|
||||
"Remember that the second instance will be found in the eu-central-1 "
|
||||
"region."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:44
|
||||
msgid ""
|
||||
"Use the following commands to get into the EOTK directory as the correct "
|
||||
"user::"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:50
|
||||
msgid "Via the command line"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:52
|
||||
msgid "Begin by discovering the instance ID::"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:56
|
||||
msgid "Start an SSM session::"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:60
|
||||
msgid "To login with SSH via SSM, add the following to your ``~/.ssh/config``:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:64
|
||||
msgid ""
|
||||
"No user SSH public keys are provisioned to the instance. You will need to"
|
||||
" add the public key you plan to use to the correct user's authorized_keys"
|
||||
" file using a plain SSM session before attempting to use SSH."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:72
|
||||
msgid ""
|
||||
"You can then login with SSH, but be sure to include environment variables"
|
||||
" for your AWS region::"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:76
|
||||
msgid "This will also work for scp, rsync, etc."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:79
|
||||
msgid "Configuring EOTK"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/eotk.rst:81
|
||||
msgid ""
|
||||
"Refer to the `EOTK documentation "
|
||||
"<https://github.com/alecmuffett/eotk/tree/master/docs.d>`_."
|
||||
msgstr ""
|
||||
|
246
docs/locale/en/LC_MESSAGES/admin/external.po
Normal file
246
docs/locale/en/LC_MESSAGES/admin/external.po
Normal file
|
@ -0,0 +1,246 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2021-202r SR2 Communications Limited
|
||||
# This file is distributed under the same license as the Bypass Censorship
|
||||
# Portal package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Bypass Censorship Portal \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-05 15:12+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../admin/external.rst:2
|
||||
msgid "External Services"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:5
|
||||
msgid "Overview"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:7
|
||||
msgid ""
|
||||
"In order to deploy the circumvention resources, the following providers "
|
||||
"can be used:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:10
|
||||
msgid "Resource"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:10 ../../admin/external.rst:25
|
||||
msgid "AWS"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:10
|
||||
msgid "Azure"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:10
|
||||
msgid "Fastly"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:10
|
||||
msgid "Hetzner"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:10
|
||||
msgid "GandiCloud VPS"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:10 ../../admin/external.rst:129
|
||||
msgid "OVH"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:12
|
||||
msgid "Web Proxy"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:12 ../../admin/external.rst:14
|
||||
msgid "✅"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:12 ../../admin/external.rst:14
|
||||
msgid "❌"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:14
|
||||
msgid "Tor Bridge"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:17
|
||||
msgid "Circumvention resource lists can be distributed via:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:19
|
||||
msgid "AWS S3"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:20 ../../admin/external.rst:64
|
||||
msgid "GitHub"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:21 ../../admin/external.rst:96
|
||||
msgid "GitLab"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:22
|
||||
msgid "HTTP POST"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:27
|
||||
msgid ""
|
||||
"Configuring AWS will require an `IAM account "
|
||||
"<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html>`_"
|
||||
" with programmatic access. As the portal may deploy resources using many "
|
||||
"AWS services it is currently It is recommended that a dedicated account "
|
||||
"is used for the deployement of portal managed resources. The dedicated "
|
||||
"account may be part of an existing AWS organisation."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:42
|
||||
msgid "Route 53"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:44
|
||||
msgid ""
|
||||
"Some resources that can be deployed via the portal, e.g. mirrors, rely on"
|
||||
" DNS names to map internal connections. These DNS names are only used "
|
||||
"within AWS and are never accessed directly by end users. A registered "
|
||||
"domain must be used for this purpose."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:48
|
||||
msgid ""
|
||||
"Once a domain name has been registered, `create a hosted zone "
|
||||
"<https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingHostedZone.html>`_"
|
||||
" within Route 53. Ensure that the domain registrar is updated to point to"
|
||||
" the Route 53 nameservers. Optionally, enable DNSSEC to improve the "
|
||||
"security of the hosted zone. Add the domain name, including the "
|
||||
"terminating period, to the configuration for the portal:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:61
|
||||
msgid ""
|
||||
"Do not create any other records on this domain manually as these may "
|
||||
"conflict with names created by the portal."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:66
|
||||
msgid ""
|
||||
"To configure GitHub, you will need a \"personal access token\". It is not"
|
||||
" possible to restrict a token to specific repositories, so it is best to "
|
||||
"create a `machine user <https://docs.github.com/en/developers/overview"
|
||||
"/managing-deploy-keys#machine-users>`_ and then invite that user to only "
|
||||
"the repositories that should be accessed to limit the impact of a token "
|
||||
"disclosure."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:73
|
||||
msgid ""
|
||||
"To create a token, visit the `New personal access token "
|
||||
"<https://github.com/settings/tokens/new>`_ page of the GitHub settings. "
|
||||
"Add a note so that you will be reminded of the purpose of this token when"
|
||||
" you go to look at it later. The expiry can be set according to your "
|
||||
"threat model. GitHub will `send an email warning "
|
||||
"<https://github.blog/changelog/2021-07-26-expiration-options-for-"
|
||||
"personal-access-tokens/>`_ before the token expires allowing you to "
|
||||
"generate a new token and update your configuration."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:81
|
||||
msgid ""
|
||||
"Your access token will need the \"repo\" OAuth scope. If you are only "
|
||||
"using public repos, you could limit the token to use the \"public_repo\" "
|
||||
"scope."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:84 ../../admin/external.rst:117
|
||||
msgid "Once you've generated your token, you can add it to your ``config.yaml``:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:92 ../../admin/external.rst:125
|
||||
msgid ""
|
||||
"The organisation, repository, filename and formats are all configured via"
|
||||
" the portal interface under :doc:`mirror lists <../user/lists>`."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:98
|
||||
msgid ""
|
||||
"To configure GitLab, you will need an access token. GitLab has a variety "
|
||||
"of scoped access tokens, including `personal "
|
||||
"<https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html>`_, "
|
||||
"`group "
|
||||
"<https://docs.gitlab.com/ee/user/group/settings/group_access_tokens.html>`_"
|
||||
" and `project "
|
||||
"<https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html>`_"
|
||||
" access tokens. Create the type of token that is suitable according to "
|
||||
"your threat model."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:107
|
||||
msgid ""
|
||||
"Add a name so that you will be reminded of the purpose of this token when"
|
||||
" you go to look at it later. The expiry can be set according to your "
|
||||
"threat model. GitLab will send an email warning to token owners 7 days "
|
||||
"before expiry allowing you to generate a new token and update your "
|
||||
"configuration."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:113
|
||||
msgid ""
|
||||
"Your access token will need the \"api\" scope. Unforunately the "
|
||||
"\"write_repository\" scope only works for Git-over-HTTPS, but the portal "
|
||||
"uses the API to update mirror lists in GitLab."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:131
|
||||
msgid ""
|
||||
"OVH requires two different sets of credentials. The first is for the "
|
||||
"OpenStack Horizon API, and the second for the OVH API."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:134
|
||||
msgid ""
|
||||
"OVH provides documentation on creating the OpenStack Horizon user `here "
|
||||
"<https://docs.ovh.com/gb/en/public-cloud/creation-and-deletion-of-"
|
||||
"openstack-user/#creating-an-openstack-user>`_. As the portal will manage "
|
||||
"all resources within your OVH project, it is fine to allow for the user "
|
||||
"to have \"Administrator\" access."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:139
|
||||
msgid ""
|
||||
"Once you have the username and password, you can complete the first "
|
||||
"fields of the configuration:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:149
|
||||
msgid ""
|
||||
"You can find the tenant ID in the top-left corner of the OVH cloud "
|
||||
"dashboard, or in the `OpenStack RC file <https://docs.ovh.com/gb/en"
|
||||
"/public-cloud/set-openstack-environment-variables/>`_ available for "
|
||||
"download in the Horizon interface."
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/external.rst:157
|
||||
msgid ""
|
||||
"Finally, you'll need to create credentials for the OVH API. Go to the "
|
||||
"`key creation page <https://eu.api.ovh.com/createToken/>`_ and add an "
|
||||
"application name and description to remind you later what the token is "
|
||||
"for. Set a validity (expiry) according to your threat model. This token "
|
||||
"is only used for read-only access, so it is sufficient to allow only GET "
|
||||
"requests. Place an asterisk (*) in the text box to the right of GET so "
|
||||
"that API paths are allowed."
|
||||
msgstr ""
|
||||
|
53
docs/locale/en/LC_MESSAGES/admin/install.po
Normal file
53
docs/locale/en/LC_MESSAGES/admin/install.po
Normal file
|
@ -0,0 +1,53 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2021-202r SR2 Communications Limited
|
||||
# This file is distributed under the same license as the Bypass Censorship
|
||||
# Portal package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Bypass Censorship Portal \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-05 15:12+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../admin/install.rst:2
|
||||
msgid "Installation"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/install.rst:4
|
||||
msgid ""
|
||||
"The current installation method is to use a Python virtual envrionment. "
|
||||
"Many of the dependencies needed by the portal can be installed from PyPI,"
|
||||
" although some dependencies will need to be satisfied in other ways:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/install.rst:8
|
||||
msgid "A cron daemon - probably available in your system package manager"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/install.rst:9
|
||||
msgid "Terraform binary - static binaries available from Hashicorp"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/install.rst:10
|
||||
msgid "PostgreSQL server - probably available in your system package manager"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/install.rst:12
|
||||
msgid "Create and activate a virtual environment with:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../admin/install.rst:20
|
||||
msgid "You will need to install an entry into the portal user's crontab::"
|
||||
msgstr ""
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue