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 ""
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue