Synced
This commit is contained in:
parent
4cdb48f354
commit
948938ae37
8 changed files with 14 additions and 37 deletions
|
|
@ -15,7 +15,7 @@ However, this is not a complete list of our names, logos, and brand features, al
|
||||||
|
|
||||||
If you want to report misuse of an LibreTranslate trademark, please contact us via https://uav4geo.com/contact
|
If you want to report misuse of an LibreTranslate trademark, please contact us via https://uav4geo.com/contact
|
||||||
|
|
||||||
## When do I need specific permission to use an LibreTranslate trademark?
|
## When do I need specific permission to use a LibreTranslate trademark?
|
||||||
|
|
||||||
Noting that LibreTranslate software combined with, or integrated into, any other software program, including but not limited to automation software for offering LibreTranslate as a cloud service or orchestration software for offering LibreTranslate in containers is considered "modified" LibreTranslate software, you may do the following without receiving specific permission from LibreTranslate (or its affiliates):
|
Noting that LibreTranslate software combined with, or integrated into, any other software program, including but not limited to automation software for offering LibreTranslate as a cloud service or orchestration software for offering LibreTranslate in containers is considered "modified" LibreTranslate software, you may do the following without receiving specific permission from LibreTranslate (or its affiliates):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -219,7 +219,6 @@ Los argumentos que se pasan al proceso o se configuran mediante variables de ent
|
||||||
| --req-limit-storage | URI de almacenamiento para limitar el almacenamiento de datos de solicitudes. Ver [Flask Limiter](https://flask-limiter.readthedocs.io/en/stable/configuration.html) | `memoria://` | LT_REQ_LIMIT_STORAGE |
|
| --req-limit-storage | URI de almacenamiento para limitar el almacenamiento de datos de solicitudes. Ver [Flask Limiter](https://flask-limiter.readthedocs.io/en/stable/configuration.html) | `memoria://` | LT_REQ_LIMIT_STORAGE |
|
||||||
| --req-time-cost | Considera el coste de tiempo (en segundos) para limitar las solicitudes. Si una solicitud tarda 10 segundos y este valor se establece en 5, el coste de la solicitud es 2 o el coste real de la solicitud (el que sea mayor). | `Sin costo de tiempo` | LT_REQ_TIME_COST |
|
| --req-time-cost | Considera el coste de tiempo (en segundos) para limitar las solicitudes. Si una solicitud tarda 10 segundos y este valor se establece en 5, el coste de la solicitud es 2 o el coste real de la solicitud (el que sea mayor). | `Sin costo de tiempo` | LT_REQ_TIME_COST |
|
||||||
| --batch-limit | Establecer el número máximo de textos a traducir en una solicitud por lotes | `Sin Limite` | LT_BATCH_LIMIT |
|
| --batch-limit | Establecer el número máximo de textos a traducir en una solicitud por lotes | `Sin Limite` | LT_BATCH_LIMIT |
|
||||||
| --ga-id | Habilite Google Analytics en la página del cliente API proporcionando una identificación | `Vacío (sin seguimiento)` | LT_GA_ID |
|
|
||||||
| --frontend-language-source | Establecer el idioma predeterminado del frontend - fuente | `auto` | LT_FRONTEND_LANGUAGE_SOURCE |
|
| --frontend-language-source | Establecer el idioma predeterminado del frontend - fuente | `auto` | LT_FRONTEND_LANGUAGE_SOURCE |
|
||||||
| --frontend-language-target | Establecer el idioma predeterminado del frontend - objetivo | `locale` (coincide con la configuración regional del sitio) | LT_FRONTEND_LANGUAGE_TARGET |
|
| --frontend-language-target | Establecer el idioma predeterminado del frontend - objetivo | `locale` (coincide con la configuración regional del sitio) | LT_FRONTEND_LANGUAGE_TARGET |
|
||||||
| --frontend-timeout | Establecer el tiempo de espera de traducción del frontend | `500` | LT_FRONTEND_TIMEOUT |
|
| --frontend-timeout | Establecer el tiempo de espera de traducción del frontend | `500` | LT_FRONTEND_TIMEOUT |
|
||||||
|
|
|
||||||
|
|
@ -435,7 +435,6 @@ def create_app(args):
|
||||||
|
|
||||||
resp = make_response(render_template(
|
resp = make_response(render_template(
|
||||||
"index.html",
|
"index.html",
|
||||||
gaId=args.ga_id,
|
|
||||||
frontendTimeout=args.frontend_timeout,
|
frontendTimeout=args.frontend_timeout,
|
||||||
api_keys=args.api_keys,
|
api_keys=args.api_keys,
|
||||||
get_api_key_link=args.get_api_key_link,
|
get_api_key_link=args.get_api_key_link,
|
||||||
|
|
|
||||||
|
|
@ -91,11 +91,6 @@ _default_options_objects = [
|
||||||
'default_value': -1,
|
'default_value': -1,
|
||||||
'value_type': 'int'
|
'value_type': 'int'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'name': 'GA_ID',
|
|
||||||
'default_value': None,
|
|
||||||
'value_type': 'str'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'name': 'DEBUG',
|
'name': 'DEBUG',
|
||||||
'default_value': False,
|
'default_value': False,
|
||||||
|
|
|
||||||
|
|
@ -9,14 +9,16 @@ msgstr ""
|
||||||
"Project-Id-Version: LibreTranslate 1.7.1\n"
|
"Project-Id-Version: LibreTranslate 1.7.1\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2025-04-18 14:43-0400\n"
|
"POT-Creation-Date: 2025-04-18 14:43-0400\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: 2025-09-08 16:01+0000\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"Last-Translator: Roel v <roel11112@live.nl>\n"
|
||||||
"Language-Team: none\n"
|
"Language-Team: Gothic <https://hosted.weblate.org/projects/libretranslate/"
|
||||||
|
"app/got/>\n"
|
||||||
"Language: got\n"
|
"Language: got\n"
|
||||||
"MIME-Version: 1.0\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"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
|
"X-Generator: Weblate 5.14-dev\n"
|
||||||
"Generated-By: Babel 2.12.1\n"
|
"Generated-By: Babel 2.12.1\n"
|
||||||
|
|
||||||
#: libretranslate/app.py:93
|
#: libretranslate/app.py:93
|
||||||
|
|
@ -99,7 +101,7 @@ msgstr ""
|
||||||
#: libretranslate/app.py:787
|
#: libretranslate/app.py:787
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Cannot translate text: %(text)s"
|
msgid "Cannot translate text: %(text)s"
|
||||||
msgstr ""
|
msgstr "𐌽𐌹 𐌼𐌰𐌲 𐌱𐍉𐌺𐍉𐍃 𐍃𐌺𐌴𐌹𐍂𐌾𐌰𐌽: %(text)s"
|
||||||
|
|
||||||
#: libretranslate/app.py:874 libretranslate/app.py:943
|
#: libretranslate/app.py:874 libretranslate/app.py:943
|
||||||
msgid "Files translation are disabled on this server."
|
msgid "Files translation are disabled on this server."
|
||||||
|
|
|
||||||
|
|
@ -9,15 +9,16 @@ msgstr ""
|
||||||
"Project-Id-Version: LibreTranslate 1.3.9\n"
|
"Project-Id-Version: LibreTranslate 1.3.9\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2025-04-18 14:43-0400\n"
|
"POT-Creation-Date: 2025-04-18 14:43-0400\n"
|
||||||
"PO-Revision-Date: 2025-03-01 18:02+0000\n"
|
"PO-Revision-Date: 2025-09-22 21:01+0000\n"
|
||||||
"Last-Translator: Piero Toffanin <pt@masseranolabs.com>\n"
|
"Last-Translator: euroimmorale <weblate.playtime682@passmail.net>\n"
|
||||||
|
"Language-Team: Italian <https://hosted.weblate.org/projects/libretranslate/"
|
||||||
|
"app/it/>\n"
|
||||||
"Language: it\n"
|
"Language: it\n"
|
||||||
"Language-Team: Italian "
|
|
||||||
"<https://hosted.weblate.org/projects/libretranslate/app/it/>\n"
|
|
||||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
||||||
"MIME-Version: 1.0\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"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||||
|
"X-Generator: Weblate 5.14-dev\n"
|
||||||
"Generated-By: Babel 2.12.1\n"
|
"Generated-By: Babel 2.12.1\n"
|
||||||
|
|
||||||
#: libretranslate/app.py:93
|
#: libretranslate/app.py:93
|
||||||
|
|
@ -260,7 +261,7 @@ msgstr "Portoghese"
|
||||||
|
|
||||||
#: libretranslate/locales/.langs.py:34
|
#: libretranslate/locales/.langs.py:34
|
||||||
msgid "Portuguese (Brazil)"
|
msgid "Portuguese (Brazil)"
|
||||||
msgstr ""
|
msgstr "Portoghese (Brasile)"
|
||||||
|
|
||||||
#: libretranslate/locales/.langs.py:35
|
#: libretranslate/locales/.langs.py:35
|
||||||
msgid "Romanian"
|
msgid "Romanian"
|
||||||
|
|
@ -773,4 +774,3 @@ msgstr "Contributori di %(libretranslate)s"
|
||||||
|
|
||||||
#~ msgid "Galician"
|
#~ msgid "Galician"
|
||||||
#~ msgstr "Galiziano"
|
#~ msgstr "Galiziano"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -79,13 +79,6 @@ def get_args():
|
||||||
metavar="<number of texts>",
|
metavar="<number of texts>",
|
||||||
help="Set maximum number of texts to translate in a batch request (%(default)s)",
|
help="Set maximum number of texts to translate in a batch request (%(default)s)",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
|
||||||
"--ga-id",
|
|
||||||
type=str,
|
|
||||||
default=DEFARGS['GA_ID'],
|
|
||||||
metavar="<GA ID>",
|
|
||||||
help="Enable Google Analytics on the API client page by providing an ID (%(default)s)",
|
|
||||||
)
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--debug", default=DEFARGS['DEBUG'], action="store_true", help="Enable debug environment"
|
"--debug", default=DEFARGS['DEBUG'], action="store_true", help="Enable debug environment"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -35,17 +35,6 @@
|
||||||
<script src="{{ url_for('static', filename='js/vue@2.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/vue@2.js') }}"></script>
|
||||||
|
|
||||||
|
|
||||||
{% if gaId %}
|
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ gaId }}"></script>
|
|
||||||
<script>
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
function gtag(){dataLayer.push(arguments);}
|
|
||||||
gtag('js', new Date());
|
|
||||||
gtag('config', '{{ gaId }}');
|
|
||||||
</script>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<!-- Compiled and minified CSS -->
|
<!-- Compiled and minified CSS -->
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/materialize.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/materialize.min.css') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/material-icons.css') }}" />
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/material-icons.css') }}" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue