mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 14:02:24 +01:00
Allow translating package form
This commit is contained in:
parent
ad05ba1ee8
commit
c4dd380218
@ -18,6 +18,7 @@
|
||||
from urllib.parse import quote as urlescape
|
||||
|
||||
from flask import render_template
|
||||
from flask_babel import lazy_gettext
|
||||
from flask_wtf import FlaskForm
|
||||
from flask_login import login_required
|
||||
from sqlalchemy import or_, func
|
||||
@ -225,26 +226,26 @@ def makeLabel(obj):
|
||||
|
||||
|
||||
class PackageForm(FlaskForm):
|
||||
type = SelectField("Type", [InputRequired()], choices=PackageType.choices(), coerce=PackageType.coerce, default=PackageType.MOD)
|
||||
title = StringField("Title (Human-readable)", [InputRequired(), Length(1, 100)])
|
||||
name = StringField("Name (Technical)", [InputRequired(), Length(1, 100), Regexp("^[a-z0-9_]+$", 0, "Lower case letters (a-z), digits (0-9), and underscores (_) only")])
|
||||
short_desc = StringField("Short Description (Plaintext)", [InputRequired(), Length(1,200)])
|
||||
type = SelectField(lazy_gettext("Type"), [InputRequired()], choices=PackageType.choices(), coerce=PackageType.coerce, default=PackageType.MOD)
|
||||
title = StringField(lazy_gettext("Title (Human-readable)"), [InputRequired(), Length(1, 100)])
|
||||
name = StringField(lazy_gettext("Name (Technical)"), [InputRequired(), Length(1, 100), Regexp("^[a-z0-9_]+$", 0, lazy_gettext("Lower case letters (a-z), digits (0-9), and underscores (_) only"))])
|
||||
short_desc = StringField(lazy_gettext("Short Description (Plaintext)"), [InputRequired(), Length(1,200)])
|
||||
|
||||
dev_state = SelectField("Maintenance State", [InputRequired()], choices=PackageDevState.choices(with_none=True), coerce=PackageDevState.coerce)
|
||||
dev_state = SelectField(lazy_gettext("Maintenance State"), [InputRequired()], choices=PackageDevState.choices(with_none=True), coerce=PackageDevState.coerce)
|
||||
|
||||
tags = QuerySelectMultipleField('Tags', query_factory=lambda: Tag.query.order_by(db.asc(Tag.name)), get_pk=lambda a: a.id, get_label=makeLabel)
|
||||
content_warnings = QuerySelectMultipleField('Content Warnings', query_factory=lambda: ContentWarning.query.order_by(db.asc(ContentWarning.name)), get_pk=lambda a: a.id, get_label=makeLabel)
|
||||
license = QuerySelectField("License", [DataRequired()], allow_blank=True, query_factory=lambda: License.query.order_by(db.asc(License.name)), get_pk=lambda a: a.id, get_label=lambda a: a.name)
|
||||
media_license = QuerySelectField("Media License", [DataRequired()], allow_blank=True, query_factory=lambda: License.query.order_by(db.asc(License.name)), get_pk=lambda a: a.id, get_label=lambda a: a.name)
|
||||
tags = QuerySelectMultipleField(lazy_gettext('Tags'), query_factory=lambda: Tag.query.order_by(db.asc(Tag.name)), get_pk=lambda a: a.id, get_label=makeLabel)
|
||||
content_warnings = QuerySelectMultipleField(lazy_gettext('Content Warnings'), query_factory=lambda: ContentWarning.query.order_by(db.asc(ContentWarning.name)), get_pk=lambda a: a.id, get_label=makeLabel)
|
||||
license = QuerySelectField(lazy_gettext("License"), [DataRequired()], allow_blank=True, query_factory=lambda: License.query.order_by(db.asc(License.name)), get_pk=lambda a: a.id, get_label=lambda a: a.name)
|
||||
media_license = QuerySelectField(lazy_gettext("Media License"), [DataRequired()], allow_blank=True, query_factory=lambda: License.query.order_by(db.asc(License.name)), get_pk=lambda a: a.id, get_label=lambda a: a.name)
|
||||
|
||||
desc = TextAreaField("Long Description (Markdown)", [Optional(), Length(0,10000)])
|
||||
desc = TextAreaField(lazy_gettext("Long Description (Markdown)"), [Optional(), Length(0,10000)])
|
||||
|
||||
repo = StringField("VCS Repository URL", [Optional(), URL()], filters = [lambda x: x or None])
|
||||
website = StringField("Website URL", [Optional(), URL()], filters = [lambda x: x or None])
|
||||
issueTracker = StringField("Issue Tracker URL", [Optional(), URL()], filters = [lambda x: x or None])
|
||||
forums = IntegerField("Forum Topic ID", [Optional(), NumberRange(0,999999)])
|
||||
repo = StringField(lazy_gettext("VCS Repository URL"), [Optional(), URL()], filters = [lambda x: x or None])
|
||||
website = StringField(lazy_gettext("Website URL"), [Optional(), URL()], filters = [lambda x: x or None])
|
||||
issueTracker = StringField(lazy_gettext("Issue Tracker URL"), [Optional(), URL()], filters = [lambda x: x or None])
|
||||
forums = IntegerField(lazy_gettext("Forum Topic ID"), [Optional(), NumberRange(0,999999)])
|
||||
|
||||
submit = SubmitField("Save")
|
||||
submit = SubmitField(lazy_gettext("Save"))
|
||||
|
||||
|
||||
@bp.route("/packages/new/", methods=["GET", "POST"])
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:08+0000\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:18+0000\n"
|
||||
"PO-Revision-Date: 2022-01-06 19:53+0000\n"
|
||||
"Last-Translator: Joaquín Villalba <joaco-mono@hotmail.com>\n"
|
||||
"Language: es\n"
|
||||
@ -24,6 +24,72 @@ msgstr ""
|
||||
msgid "%(delta)s ago"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:229 app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:230
|
||||
msgid "Title (Human-readable)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
msgid "Name (Technical)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:232
|
||||
msgid "Short Description (Plaintext)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:234 app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:236 app/templates/admin/tags/list.html:4
|
||||
#: app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:237
|
||||
msgid "Content Warnings"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:238 app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:239
|
||||
msgid "Media License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:241
|
||||
msgid "Long Description (Markdown)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:243
|
||||
msgid "VCS Repository URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:244
|
||||
msgid "Website URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:245
|
||||
msgid "Issue Tracker URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:246
|
||||
msgid "Forum Topic ID"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:248
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/users/profile.py:112
|
||||
msgid "Top reviewer"
|
||||
msgstr ""
|
||||
@ -149,6 +215,11 @@ msgstr ""
|
||||
msgid "Search %(type)s"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:48 app/templates/todo/tags.html:11
|
||||
#: app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:50 app/templates/todo/tags.html:15
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
@ -348,10 +419,6 @@ msgstr ""
|
||||
msgid "Licenses"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:4 app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:8
|
||||
msgid "New Tag"
|
||||
msgstr ""
|
||||
@ -687,10 +754,6 @@ msgstr ""
|
||||
msgid "Please open a thread to request a name change"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:80
|
||||
msgid ""
|
||||
"Please choose 'Work in Progress' if your package is unstable, and "
|
||||
@ -1067,22 +1130,10 @@ msgstr ""
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:386
|
||||
msgid "Technical Name"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:405
|
||||
msgid "Added"
|
||||
msgstr ""
|
||||
@ -1132,10 +1183,6 @@ msgstr ""
|
||||
msgid "Package Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:11 app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
|
||||
msgid "Missing tags only"
|
||||
msgstr ""
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:08+0000\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:18+0000\n"
|
||||
"PO-Revision-Date: 2022-01-04 21:25+0000\n"
|
||||
"Last-Translator: AFCMS <afcm.contact@gmail.com>\n"
|
||||
"Language: fr\n"
|
||||
@ -24,6 +24,78 @@ msgstr ""
|
||||
msgid "%(delta)s ago"
|
||||
msgstr "il y a %(delta)s"
|
||||
|
||||
#: app/blueprints/packages/packages.py:229 app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr "Type"
|
||||
|
||||
#: app/blueprints/packages/packages.py:230
|
||||
msgid "Title (Human-readable)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
msgid "Name (Technical)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
"Lettres minuscules (a-z), chiffres (0-9) et caractères de soulignement "
|
||||
"(_) uniquement"
|
||||
|
||||
#: app/blueprints/packages/packages.py:232
|
||||
msgid "Short Description (Plaintext)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:234 app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr "État d'entretien"
|
||||
|
||||
#: app/blueprints/packages/packages.py:236 app/templates/admin/tags/list.html:4
|
||||
#: app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr "Étiquettes"
|
||||
|
||||
#: app/blueprints/packages/packages.py:237
|
||||
msgid "Content Warnings"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:238 app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr "Licence"
|
||||
|
||||
#: app/blueprints/packages/packages.py:239
|
||||
#, fuzzy
|
||||
msgid "Media License"
|
||||
msgstr "Ajouter une Licence"
|
||||
|
||||
#: app/blueprints/packages/packages.py:241
|
||||
msgid "Long Description (Markdown)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:243
|
||||
msgid "VCS Repository URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:244
|
||||
#, fuzzy
|
||||
msgid "Website URL"
|
||||
msgstr "Site web"
|
||||
|
||||
#: app/blueprints/packages/packages.py:245
|
||||
#, fuzzy
|
||||
msgid "Issue Tracker URL"
|
||||
msgstr "Suivi des problèmes"
|
||||
|
||||
#: app/blueprints/packages/packages.py:246
|
||||
#, fuzzy
|
||||
msgid "Forum Topic ID"
|
||||
msgstr "Sujets du forum"
|
||||
|
||||
#: app/blueprints/packages/packages.py:248
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/users/profile.py:112
|
||||
msgid "Top reviewer"
|
||||
msgstr "Meilleur évaluateur"
|
||||
@ -151,6 +223,11 @@ msgstr "Fils"
|
||||
msgid "Search %(type)s"
|
||||
msgstr "Top %(type)s"
|
||||
|
||||
#: app/templates/base.html:48 app/templates/todo/tags.html:11
|
||||
#: app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr "Rechercher dans tous les paquets"
|
||||
|
||||
#: app/templates/base.html:50 app/templates/todo/tags.html:15
|
||||
msgid "Search"
|
||||
msgstr "Rechercher"
|
||||
@ -355,10 +432,6 @@ msgstr "Ajouter une Licence"
|
||||
msgid "Licenses"
|
||||
msgstr "Licences"
|
||||
|
||||
#: app/templates/admin/tags/list.html:4 app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr "Étiquettes"
|
||||
|
||||
#: app/templates/admin/tags/list.html:8
|
||||
msgid "New Tag"
|
||||
msgstr "Ajouter une étiquette"
|
||||
@ -711,12 +784,6 @@ msgstr "Paquet"
|
||||
msgid "Please open a thread to request a name change"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
"Lettres minuscules (a-z), chiffres (0-9) et caractères de soulignement "
|
||||
"(_) uniquement"
|
||||
|
||||
#: app/templates/packages/create_edit.html:80
|
||||
msgid ""
|
||||
"Please choose 'Work in Progress' if your package is unstable, and "
|
||||
@ -1112,22 +1179,10 @@ msgstr "Optionnel"
|
||||
msgid "Information"
|
||||
msgstr "Informations"
|
||||
|
||||
#: app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr "Type"
|
||||
|
||||
#: app/templates/packages/view.html:386
|
||||
msgid "Technical Name"
|
||||
msgstr "Nom technique"
|
||||
|
||||
#: app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr "Licence"
|
||||
|
||||
#: app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr "État d'entretien"
|
||||
|
||||
#: app/templates/packages/view.html:405
|
||||
msgid "Added"
|
||||
msgstr "Ajouté"
|
||||
@ -1178,10 +1233,6 @@ msgstr "Tous les paquets obsolètes"
|
||||
msgid "Package Tags"
|
||||
msgstr "Étiquettes de paquet"
|
||||
|
||||
#: app/templates/todo/tags.html:11 app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr "Rechercher dans tous les paquets"
|
||||
|
||||
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
|
||||
msgid "Missing tags only"
|
||||
msgstr "Étiquettes manquantes uniquement"
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:08+0000\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:18+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"
|
||||
@ -22,6 +22,72 @@ msgstr ""
|
||||
msgid "%(delta)s ago"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:229 app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:230
|
||||
msgid "Title (Human-readable)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
msgid "Name (Technical)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:232
|
||||
msgid "Short Description (Plaintext)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:234 app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:236 app/templates/admin/tags/list.html:4
|
||||
#: app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:237
|
||||
msgid "Content Warnings"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:238 app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:239
|
||||
msgid "Media License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:241
|
||||
msgid "Long Description (Markdown)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:243
|
||||
msgid "VCS Repository URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:244
|
||||
msgid "Website URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:245
|
||||
msgid "Issue Tracker URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:246
|
||||
msgid "Forum Topic ID"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:248
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/users/profile.py:112
|
||||
msgid "Top reviewer"
|
||||
msgstr ""
|
||||
@ -147,6 +213,11 @@ msgstr ""
|
||||
msgid "Search %(type)s"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:48 app/templates/todo/tags.html:11
|
||||
#: app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:50 app/templates/todo/tags.html:15
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
@ -346,10 +417,6 @@ msgstr ""
|
||||
msgid "Licenses"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:4 app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:8
|
||||
msgid "New Tag"
|
||||
msgstr ""
|
||||
@ -685,10 +752,6 @@ msgstr ""
|
||||
msgid "Please open a thread to request a name change"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:80
|
||||
msgid ""
|
||||
"Please choose 'Work in Progress' if your package is unstable, and "
|
||||
@ -1065,22 +1128,10 @@ msgstr ""
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:386
|
||||
msgid "Technical Name"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:405
|
||||
msgid "Added"
|
||||
msgstr ""
|
||||
@ -1130,10 +1181,6 @@ msgstr ""
|
||||
msgid "Package Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:11 app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
|
||||
msgid "Missing tags only"
|
||||
msgstr ""
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:08+0000\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:18+0000\n"
|
||||
"PO-Revision-Date: 2022-01-06 19:53+0000\n"
|
||||
"Last-Translator: rubenwardy <rw@rubenwardy.com>\n"
|
||||
"Language: ms\n"
|
||||
@ -24,6 +24,72 @@ msgstr ""
|
||||
msgid "%(delta)s ago"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:229 app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:230
|
||||
msgid "Title (Human-readable)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
msgid "Name (Technical)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:232
|
||||
msgid "Short Description (Plaintext)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:234 app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:236 app/templates/admin/tags/list.html:4
|
||||
#: app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:237
|
||||
msgid "Content Warnings"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:238 app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:239
|
||||
msgid "Media License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:241
|
||||
msgid "Long Description (Markdown)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:243
|
||||
msgid "VCS Repository URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:244
|
||||
msgid "Website URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:245
|
||||
msgid "Issue Tracker URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:246
|
||||
msgid "Forum Topic ID"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:248
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/users/profile.py:112
|
||||
msgid "Top reviewer"
|
||||
msgstr ""
|
||||
@ -149,6 +215,11 @@ msgstr ""
|
||||
msgid "Search %(type)s"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:48 app/templates/todo/tags.html:11
|
||||
#: app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:50 app/templates/todo/tags.html:15
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
@ -348,10 +419,6 @@ msgstr ""
|
||||
msgid "Licenses"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:4 app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:8
|
||||
msgid "New Tag"
|
||||
msgstr ""
|
||||
@ -687,10 +754,6 @@ msgstr ""
|
||||
msgid "Please open a thread to request a name change"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:80
|
||||
msgid ""
|
||||
"Please choose 'Work in Progress' if your package is unstable, and "
|
||||
@ -1067,22 +1130,10 @@ msgstr ""
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:386
|
||||
msgid "Technical Name"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:405
|
||||
msgid "Added"
|
||||
msgstr ""
|
||||
@ -1132,10 +1183,6 @@ msgstr ""
|
||||
msgid "Package Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:11 app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
|
||||
msgid "Missing tags only"
|
||||
msgstr ""
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:08+0000\n"
|
||||
"POT-Creation-Date: 2022-01-07 21:18+0000\n"
|
||||
"PO-Revision-Date: 2022-01-06 19:53+0000\n"
|
||||
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
|
||||
"Language: nb_NO\n"
|
||||
@ -24,6 +24,72 @@ msgstr ""
|
||||
msgid "%(delta)s ago"
|
||||
msgstr "%(delta)s siden"
|
||||
|
||||
#: app/blueprints/packages/packages.py:229 app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:230
|
||||
msgid "Title (Human-readable)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
msgid "Name (Technical)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:231
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:232
|
||||
msgid "Short Description (Plaintext)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:234 app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:236 app/templates/admin/tags/list.html:4
|
||||
#: app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:237
|
||||
msgid "Content Warnings"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:238 app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:239
|
||||
msgid "Media License"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:241
|
||||
msgid "Long Description (Markdown)"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:243
|
||||
msgid "VCS Repository URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:244
|
||||
msgid "Website URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:245
|
||||
msgid "Issue Tracker URL"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:246
|
||||
msgid "Forum Topic ID"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/packages/packages.py:248
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: app/blueprints/users/profile.py:112
|
||||
msgid "Top reviewer"
|
||||
msgstr ""
|
||||
@ -149,6 +215,11 @@ msgstr ""
|
||||
msgid "Search %(type)s"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:48 app/templates/todo/tags.html:11
|
||||
#: app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/base.html:50 app/templates/todo/tags.html:15
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
@ -348,10 +419,6 @@ msgstr ""
|
||||
msgid "Licenses"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:4 app/templates/admin/tags/list.html:10
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/admin/tags/list.html:8
|
||||
msgid "New Tag"
|
||||
msgstr ""
|
||||
@ -687,10 +754,6 @@ msgstr ""
|
||||
msgid "Please open a thread to request a name change"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:76
|
||||
msgid "Lower case letters (a-z), digits (0-9), and underscores (_) only"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/create_edit.html:80
|
||||
msgid ""
|
||||
"Please choose 'Work in Progress' if your package is unstable, and "
|
||||
@ -1067,22 +1130,10 @@ msgstr ""
|
||||
msgid "Information"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:384
|
||||
msgid "Type"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:386
|
||||
msgid "Technical Name"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:388
|
||||
msgid "License"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:399
|
||||
msgid "Maintenance State"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/packages/view.html:405
|
||||
msgid "Added"
|
||||
msgstr ""
|
||||
@ -1132,10 +1183,6 @@ msgstr ""
|
||||
msgid "Package Tags"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:11 app/templates/todo/tags.html:13
|
||||
msgid "Search all packages"
|
||||
msgstr ""
|
||||
|
||||
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
|
||||
msgid "Missing tags only"
|
||||
msgstr ""
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
pybabel extract -F babel.cfg -o translations/messages.pot .
|
||||
pybabel extract -F babel.cfg -k lazy_gettext -o translations/messages.pot .
|
||||
pybabel update -i translations/messages.pot -d translations
|
Loading…
Reference in New Issue
Block a user