Remove flask-menu, make navbar translatable

This commit is contained in:
rubenwardy 2022-01-07 21:08:56 +00:00
parent b40bc8c20d
commit a175162186
12 changed files with 423 additions and 333 deletions

View File

@ -17,7 +17,6 @@
from flask import *
from flask_gravatar import Gravatar
import flask_menu as menu
from flask_mail import Mail
from flask_github import GitHub
from flask_wtf.csrf import CSRFProtect
@ -43,7 +42,6 @@ app.config.from_pyfile(os.environ["FLASK_CONFIG"])
r = redis.Redis.from_url(app.config["REDIS_URL"])
menu.Menu(app=app)
github = GitHub(app)
csrf = CSRFProtect(app)
mail = Mail(app)
@ -88,7 +86,6 @@ create_blueprints(app)
def send_upload(path):
return send_from_directory(app.config["UPLOAD_DIR"], path)
@menu.register_menu(app, ".help", "Help", order=19, endpoint_arguments_constructor=lambda: { "path": "help" })
@app.route("/<path:path>/")
def flatpage(path):
page = pages.get_or_404(path)

View File

@ -3,13 +3,11 @@ from flask import Blueprint, render_template, redirect
bp = Blueprint("homepage", __name__)
from app.models import *
import flask_menu as menu
from sqlalchemy.orm import joinedload
from sqlalchemy.sql.expression import func
@bp.route("/")
@menu.register_menu(bp, ".", "Home")
def home():
def join(query):
return query.options(

View File

@ -17,7 +17,6 @@
from urllib.parse import quote as urlescape
import flask_menu as menu
from flask import render_template
from flask_wtf import FlaskForm
from flask_login import login_required
@ -38,10 +37,6 @@ from app.models.packages import PackageProvides
from app.tasks.webhooktasks import post_discord_webhook
@menu.register_menu(bp, ".mods", "Mods", order=11, endpoint_arguments_constructor=lambda: { 'type': 'mod' })
@menu.register_menu(bp, ".games", "Games", order=12, endpoint_arguments_constructor=lambda: { 'type': 'game' })
@menu.register_menu(bp, ".txp", "Texture Packs", order=13, endpoint_arguments_constructor=lambda: { 'type': 'txp' })
@menu.register_menu(bp, ".random", "Random", order=14, endpoint_arguments_constructor=lambda: { 'random': '1', 'lucky': '1' })
@bp.route("/packages/")
def list_all():
qb = QueryBuilder(request.args)

View File

@ -20,7 +20,6 @@ from app.tasks.webhooktasks import post_discord_webhook
bp = Blueprint("threads", __name__)
from flask_login import current_user, login_required
from app import menu
from app.models import *
from app.utils import addNotification, isYes, addAuditLog, get_system_user
from flask_wtf import FlaskForm
@ -29,7 +28,6 @@ from wtforms.validators import *
from app.utils import get_int_or_abort
@menu.register_menu(bp, ".threads", "Threads", order=20)
@bp.route("/threads/")
def list_all():
query = Thread.query

View File

@ -23,34 +23,31 @@
<div class="collapse navbar-collapse" id="navbarColor01">
<ul class="navbar-nav mr-auto">
{% for item in current_menu.children recursive %}
{% if item.visible %}
<li class="nav-item {% if item.children %} dropdown{% endif %}">
<a class="nav-link" href="{{ item.url }}"
{% if item.children %}
class="dropdown-toggle"
data-toggle="dropdown"
role="button"
aria-expanded="false"
{% endif %}>
{{ item.text }}
{% if item.children %}
<span class="caret"></span>
{% endif %}
</a>
{% if item.children %}
<ul class="dropdown-menu" role="menu">
{{ loop(item.children) }}
</ul>
{% endif %}
</li>
{% endif %}
{% endfor %}
<li class="nav-item">
<a class="nav-link" href="{{ url_for('packages.list_all', type='mod') }}">{{ _("Mods") }}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('packages.list_all', type='game') }}">{{ _("Games") }}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('packages.list_all', type='txp') }}">{{ _("Texture Packs") }}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('packages.list_all', random=1, lucky=1) }}">{{ _("Random") }}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('flatpage', path='help') }}">{{ _("Help") }}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('threads.list_all') }}">{{ _("Threads") }}</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0" method="GET" action="/packages/">
{% if type %}<input type="hidden" name="type" value="{{ type }}" />{% endif %}
<input class="form-control mr-sm-2" name="q" type="text" placeholder="Search {{ title | lower or 'all packages' }}" value="{{ query or ''}}">
<input class="btn btn-secondary my-2 my-sm-0 mr-sm-2" type="submit" value="Search" />
<input class="form-control" name="q" type="text"
placeholder="{{ _('Search %(type)s', type=title | lower or 'all packages') }}"
value="{{ query or ''}}">
<input class="btn btn-secondary my-2 my-sm-0 mr-sm-2" type="submit" value="{{ _('Search') }}" />
<!-- <input class="btn btn-secondary my-2 my-sm-0"
data-toggle="tooltip" data-placement="bottom"
title="Go to the first found result for this query."

View File

@ -24,7 +24,6 @@ Flask-FlatPages==0.7.2
Flask-Gravatar==0.5.0
Flask-Login==0.5.0
Flask-Mail==0.9.1
Flask-Menu==0.7.2
Flask-Migrate==2.6.0
Flask-SQLAlchemy==2.4.4
Flask-WTF==0.14.3

View File

@ -2,7 +2,6 @@ Flask
Flask-FlatPages
Flask-Gravatar
Flask-Login
Flask-Menu
Flask-Migrate
Flask-SQLAlchemy
Flask-Babel

View File

@ -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 20:58+0000\n"
"POT-Creation-Date: 2022-01-07 21:08+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"
@ -120,91 +120,120 @@ msgid ""
"been deleted, or you may not have access to it."
msgstr ""
#: app/templates/base.html:65
msgid "Work Queue"
#: app/templates/base.html:27
msgid "Mods"
msgstr ""
#: app/templates/base.html:78 app/templates/base.html:130
msgid "To do list"
#: app/templates/base.html:30
msgid "Games"
msgstr ""
#: app/templates/base.html:87
msgid "Notifications"
#: app/templates/base.html:33
msgid "Texture Packs"
msgstr ""
#: app/templates/base.html:108
msgid "Add Package"
#: app/templates/base.html:36
msgid "Random"
msgstr ""
#: app/templates/base.html:125
msgid "Profile"
msgstr ""
#: app/templates/base.html:139
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:143
msgid "Admin"
msgstr ""
#: app/templates/base.html:146
msgid "License Editor"
msgstr ""
#: app/templates/base.html:151
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:154
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:156
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:161 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:164
msgid "Sign out"
msgstr ""
#: app/templates/base.html:168
msgid "Sign in"
msgstr ""
#: app/templates/base.html:242
#: app/templates/base.html:39 app/templates/base.html:239
msgid "Help"
msgstr ""
#: app/templates/base.html:243
#: app/templates/base.html:42 app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/base.html:48
#, python-format
msgid "Search %(type)s"
msgstr ""
#: app/templates/base.html:50 app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/base.html:62
msgid "Work Queue"
msgstr ""
#: app/templates/base.html:75 app/templates/base.html:127
msgid "To do list"
msgstr ""
#: app/templates/base.html:84
msgid "Notifications"
msgstr ""
#: app/templates/base.html:105
msgid "Add Package"
msgstr ""
#: app/templates/base.html:122
msgid "Profile"
msgstr ""
#: app/templates/base.html:136
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:140
msgid "Admin"
msgstr ""
#: app/templates/base.html:143
msgid "License Editor"
msgstr ""
#: app/templates/base.html:148
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:151
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:153
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:158 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:161
msgid "Sign out"
msgstr ""
#: app/templates/base.html:165
msgid "Sign in"
msgstr ""
#: app/templates/base.html:240
msgid "Policy and Guidance"
msgstr ""
#: app/templates/base.html:244
#: app/templates/base.html:241
msgid "API"
msgstr ""
#: app/templates/base.html:245 app/templates/users/register.html:43
#: app/templates/base.html:242 app/templates/users/register.html:43
msgid "Privacy Policy"
msgstr ""
#: app/templates/base.html:246
#: app/templates/base.html:243
msgid "Report / DMCA"
msgstr ""
#: app/templates/base.html:247
#: app/templates/base.html:244
msgid "Stats / Monitoring"
msgstr ""
#: app/templates/base.html:248
#: app/templates/base.html:245
msgid "User List"
msgstr ""
#: app/templates/base.html:249
#: app/templates/base.html:246
msgid "Source Code"
msgstr ""
@ -967,10 +996,6 @@ msgstr ""
msgid "Downloads"
msgstr ""
#: app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/packages/view.html:138 app/templates/users/profile.html:73
msgid "Website"
msgstr ""
@ -1111,10 +1136,6 @@ msgstr ""
msgid "Search all packages"
msgstr ""
#: app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
msgid "Missing tags only"
msgstr ""

View File

@ -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 20:58+0000\n"
"POT-Creation-Date: 2022-01-07 21:08+0000\n"
"PO-Revision-Date: 2022-01-04 21:25+0000\n"
"Last-Translator: AFCMS <afcm.contact@gmail.com>\n"
"Language: fr\n"
@ -120,93 +120,124 @@ msgid ""
"been deleted, or you may not have access to it."
msgstr ""
#: app/templates/base.html:65
#: app/templates/base.html:27
msgid "Mods"
msgstr ""
#: app/templates/base.html:30
#, fuzzy
msgid "Games"
msgstr "Nom"
#: app/templates/base.html:33
#, fuzzy
msgid "Texture Packs"
msgstr "Top des Packs de textures"
#: app/templates/base.html:36
msgid "Random"
msgstr ""
#: app/templates/base.html:39 app/templates/base.html:239
msgid "Help"
msgstr "Aide"
#: app/templates/base.html:42 app/templates/packages/view.html:123
msgid "Threads"
msgstr "Fils"
#: app/templates/base.html:48
#, fuzzy, python-format
msgid "Search %(type)s"
msgstr "Top %(type)s"
#: app/templates/base.html:50 app/templates/todo/tags.html:15
msgid "Search"
msgstr "Rechercher"
#: app/templates/base.html:62
msgid "Work Queue"
msgstr "File d'attente"
#: app/templates/base.html:78 app/templates/base.html:130
#: app/templates/base.html:75 app/templates/base.html:127
msgid "To do list"
msgstr "À faire"
#: app/templates/base.html:87
#: app/templates/base.html:84
msgid "Notifications"
msgstr "Notifications"
#: app/templates/base.html:108
#: app/templates/base.html:105
msgid "Add Package"
msgstr "Créer un paquet"
#: app/templates/base.html:125
#: app/templates/base.html:122
#, fuzzy
msgid "Profile"
msgstr "Modifier le profil"
#: app/templates/base.html:139
#: app/templates/base.html:136
msgid "Audit Log"
msgstr "Journal d'audit"
#: app/templates/base.html:143
#: app/templates/base.html:140
msgid "Admin"
msgstr "Admin"
#: app/templates/base.html:146
#: app/templates/base.html:143
#, fuzzy
msgid "License Editor"
msgstr "Éditeur de licences"
#: app/templates/base.html:151
#: app/templates/base.html:148
msgid "Restore Package"
msgstr "Restaurer le paquet"
#: app/templates/base.html:154
#: app/templates/base.html:151
msgid "Tag Editor"
msgstr "Éditeur d'étiquettes"
#: app/templates/base.html:156
#: app/templates/base.html:153
msgid "Create Tag"
msgstr "Créer une étiquette"
#: app/templates/base.html:161 app/templates/packages/release_new.html:12
#: app/templates/base.html:158 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr "Paramètres"
#: app/templates/base.html:164
#: app/templates/base.html:161
msgid "Sign out"
msgstr "Se déconnecter"
#: app/templates/base.html:168
#: app/templates/base.html:165
msgid "Sign in"
msgstr "Se connecter"
#: app/templates/base.html:242
msgid "Help"
msgstr "Aide"
#: app/templates/base.html:243
#: app/templates/base.html:240
msgid "Policy and Guidance"
msgstr "Règles et Recommandations"
#: app/templates/base.html:244
#: app/templates/base.html:241
msgid "API"
msgstr "API"
#: app/templates/base.html:245 app/templates/users/register.html:43
#: app/templates/base.html:242 app/templates/users/register.html:43
msgid "Privacy Policy"
msgstr "Politique de confidentialité"
#: app/templates/base.html:246
#: app/templates/base.html:243
msgid "Report / DMCA"
msgstr "Signaler / DMCA"
#: app/templates/base.html:247
#: app/templates/base.html:244
msgid "Stats / Monitoring"
msgstr "Statistiques / Monitoring"
#: app/templates/base.html:248
#: app/templates/base.html:245
msgid "User List"
msgstr "Liste des utilisateurs"
#: app/templates/base.html:249
#: app/templates/base.html:246
msgid "Source Code"
msgstr "Code source"
@ -1010,10 +1041,6 @@ msgstr "Auteur"
msgid "Downloads"
msgstr "Téléchargements"
#: app/templates/packages/view.html:123
msgid "Threads"
msgstr "Fils"
#: app/templates/packages/view.html:138 app/templates/users/profile.html:73
msgid "Website"
msgstr "Site web"
@ -1155,10 +1182,6 @@ msgstr "Étiquettes de paquet"
msgid "Search all packages"
msgstr "Rechercher dans tous les paquets"
#: app/templates/todo/tags.html:15
msgid "Search"
msgstr "Rechercher"
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
msgid "Missing tags only"
msgstr "Étiquettes manquantes uniquement"

View File

@ -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 20:58+0000\n"
"POT-Creation-Date: 2022-01-07 21:08+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"
@ -118,91 +118,120 @@ msgid ""
"been deleted, or you may not have access to it."
msgstr ""
#: app/templates/base.html:65
msgid "Work Queue"
#: app/templates/base.html:27
msgid "Mods"
msgstr ""
#: app/templates/base.html:78 app/templates/base.html:130
msgid "To do list"
#: app/templates/base.html:30
msgid "Games"
msgstr ""
#: app/templates/base.html:87
msgid "Notifications"
#: app/templates/base.html:33
msgid "Texture Packs"
msgstr ""
#: app/templates/base.html:108
msgid "Add Package"
#: app/templates/base.html:36
msgid "Random"
msgstr ""
#: app/templates/base.html:125
msgid "Profile"
msgstr ""
#: app/templates/base.html:139
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:143
msgid "Admin"
msgstr ""
#: app/templates/base.html:146
msgid "License Editor"
msgstr ""
#: app/templates/base.html:151
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:154
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:156
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:161 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:164
msgid "Sign out"
msgstr ""
#: app/templates/base.html:168
msgid "Sign in"
msgstr ""
#: app/templates/base.html:242
#: app/templates/base.html:39 app/templates/base.html:239
msgid "Help"
msgstr ""
#: app/templates/base.html:243
#: app/templates/base.html:42 app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/base.html:48
#, python-format
msgid "Search %(type)s"
msgstr ""
#: app/templates/base.html:50 app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/base.html:62
msgid "Work Queue"
msgstr ""
#: app/templates/base.html:75 app/templates/base.html:127
msgid "To do list"
msgstr ""
#: app/templates/base.html:84
msgid "Notifications"
msgstr ""
#: app/templates/base.html:105
msgid "Add Package"
msgstr ""
#: app/templates/base.html:122
msgid "Profile"
msgstr ""
#: app/templates/base.html:136
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:140
msgid "Admin"
msgstr ""
#: app/templates/base.html:143
msgid "License Editor"
msgstr ""
#: app/templates/base.html:148
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:151
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:153
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:158 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:161
msgid "Sign out"
msgstr ""
#: app/templates/base.html:165
msgid "Sign in"
msgstr ""
#: app/templates/base.html:240
msgid "Policy and Guidance"
msgstr ""
#: app/templates/base.html:244
#: app/templates/base.html:241
msgid "API"
msgstr ""
#: app/templates/base.html:245 app/templates/users/register.html:43
#: app/templates/base.html:242 app/templates/users/register.html:43
msgid "Privacy Policy"
msgstr ""
#: app/templates/base.html:246
#: app/templates/base.html:243
msgid "Report / DMCA"
msgstr ""
#: app/templates/base.html:247
#: app/templates/base.html:244
msgid "Stats / Monitoring"
msgstr ""
#: app/templates/base.html:248
#: app/templates/base.html:245
msgid "User List"
msgstr ""
#: app/templates/base.html:249
#: app/templates/base.html:246
msgid "Source Code"
msgstr ""
@ -965,10 +994,6 @@ msgstr ""
msgid "Downloads"
msgstr ""
#: app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/packages/view.html:138 app/templates/users/profile.html:73
msgid "Website"
msgstr ""
@ -1109,10 +1134,6 @@ msgstr ""
msgid "Search all packages"
msgstr ""
#: app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
msgid "Missing tags only"
msgstr ""

View File

@ -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 20:58+0000\n"
"POT-Creation-Date: 2022-01-07 21:08+0000\n"
"PO-Revision-Date: 2022-01-06 19:53+0000\n"
"Last-Translator: rubenwardy <rw@rubenwardy.com>\n"
"Language: ms\n"
@ -120,91 +120,120 @@ msgid ""
"been deleted, or you may not have access to it."
msgstr ""
#: app/templates/base.html:65
msgid "Work Queue"
#: app/templates/base.html:27
msgid "Mods"
msgstr ""
#: app/templates/base.html:78 app/templates/base.html:130
msgid "To do list"
#: app/templates/base.html:30
msgid "Games"
msgstr ""
#: app/templates/base.html:87
msgid "Notifications"
#: app/templates/base.html:33
msgid "Texture Packs"
msgstr ""
#: app/templates/base.html:108
msgid "Add Package"
#: app/templates/base.html:36
msgid "Random"
msgstr ""
#: app/templates/base.html:125
msgid "Profile"
msgstr ""
#: app/templates/base.html:139
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:143
msgid "Admin"
msgstr ""
#: app/templates/base.html:146
msgid "License Editor"
msgstr ""
#: app/templates/base.html:151
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:154
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:156
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:161 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:164
msgid "Sign out"
msgstr ""
#: app/templates/base.html:168
msgid "Sign in"
msgstr ""
#: app/templates/base.html:242
#: app/templates/base.html:39 app/templates/base.html:239
msgid "Help"
msgstr ""
#: app/templates/base.html:243
#: app/templates/base.html:42 app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/base.html:48
#, python-format
msgid "Search %(type)s"
msgstr ""
#: app/templates/base.html:50 app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/base.html:62
msgid "Work Queue"
msgstr ""
#: app/templates/base.html:75 app/templates/base.html:127
msgid "To do list"
msgstr ""
#: app/templates/base.html:84
msgid "Notifications"
msgstr ""
#: app/templates/base.html:105
msgid "Add Package"
msgstr ""
#: app/templates/base.html:122
msgid "Profile"
msgstr ""
#: app/templates/base.html:136
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:140
msgid "Admin"
msgstr ""
#: app/templates/base.html:143
msgid "License Editor"
msgstr ""
#: app/templates/base.html:148
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:151
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:153
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:158 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:161
msgid "Sign out"
msgstr ""
#: app/templates/base.html:165
msgid "Sign in"
msgstr ""
#: app/templates/base.html:240
msgid "Policy and Guidance"
msgstr ""
#: app/templates/base.html:244
#: app/templates/base.html:241
msgid "API"
msgstr ""
#: app/templates/base.html:245 app/templates/users/register.html:43
#: app/templates/base.html:242 app/templates/users/register.html:43
msgid "Privacy Policy"
msgstr ""
#: app/templates/base.html:246
#: app/templates/base.html:243
msgid "Report / DMCA"
msgstr ""
#: app/templates/base.html:247
#: app/templates/base.html:244
msgid "Stats / Monitoring"
msgstr ""
#: app/templates/base.html:248
#: app/templates/base.html:245
msgid "User List"
msgstr ""
#: app/templates/base.html:249
#: app/templates/base.html:246
msgid "Source Code"
msgstr ""
@ -967,10 +996,6 @@ msgstr ""
msgid "Downloads"
msgstr ""
#: app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/packages/view.html:138 app/templates/users/profile.html:73
msgid "Website"
msgstr ""
@ -1111,10 +1136,6 @@ msgstr ""
msgid "Search all packages"
msgstr ""
#: app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
msgid "Missing tags only"
msgstr ""

View File

@ -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 20:58+0000\n"
"POT-Creation-Date: 2022-01-07 21:08+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"
@ -120,91 +120,120 @@ msgid ""
"been deleted, or you may not have access to it."
msgstr ""
#: app/templates/base.html:65
msgid "Work Queue"
#: app/templates/base.html:27
msgid "Mods"
msgstr ""
#: app/templates/base.html:78 app/templates/base.html:130
msgid "To do list"
#: app/templates/base.html:30
msgid "Games"
msgstr ""
#: app/templates/base.html:87
msgid "Notifications"
#: app/templates/base.html:33
msgid "Texture Packs"
msgstr ""
#: app/templates/base.html:108
msgid "Add Package"
#: app/templates/base.html:36
msgid "Random"
msgstr ""
#: app/templates/base.html:125
msgid "Profile"
msgstr ""
#: app/templates/base.html:139
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:143
msgid "Admin"
msgstr ""
#: app/templates/base.html:146
msgid "License Editor"
msgstr ""
#: app/templates/base.html:151
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:154
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:156
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:161 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:164
msgid "Sign out"
msgstr ""
#: app/templates/base.html:168
msgid "Sign in"
msgstr "Logg inn"
#: app/templates/base.html:242
#: app/templates/base.html:39 app/templates/base.html:239
msgid "Help"
msgstr "Hjelp"
#: app/templates/base.html:243
#: app/templates/base.html:42 app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/base.html:48
#, python-format
msgid "Search %(type)s"
msgstr ""
#: app/templates/base.html:50 app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/base.html:62
msgid "Work Queue"
msgstr ""
#: app/templates/base.html:75 app/templates/base.html:127
msgid "To do list"
msgstr ""
#: app/templates/base.html:84
msgid "Notifications"
msgstr ""
#: app/templates/base.html:105
msgid "Add Package"
msgstr ""
#: app/templates/base.html:122
msgid "Profile"
msgstr ""
#: app/templates/base.html:136
msgid "Audit Log"
msgstr ""
#: app/templates/base.html:140
msgid "Admin"
msgstr ""
#: app/templates/base.html:143
msgid "License Editor"
msgstr ""
#: app/templates/base.html:148
msgid "Restore Package"
msgstr ""
#: app/templates/base.html:151
msgid "Tag Editor"
msgstr ""
#: app/templates/base.html:153
msgid "Create Tag"
msgstr ""
#: app/templates/base.html:158 app/templates/packages/release_new.html:12
msgid "Settings"
msgstr ""
#: app/templates/base.html:161
msgid "Sign out"
msgstr ""
#: app/templates/base.html:165
msgid "Sign in"
msgstr "Logg inn"
#: app/templates/base.html:240
msgid "Policy and Guidance"
msgstr ""
#: app/templates/base.html:244
#: app/templates/base.html:241
msgid "API"
msgstr "API"
#: app/templates/base.html:245 app/templates/users/register.html:43
#: app/templates/base.html:242 app/templates/users/register.html:43
msgid "Privacy Policy"
msgstr "Personvernspraksis"
#: app/templates/base.html:246
#: app/templates/base.html:243
msgid "Report / DMCA"
msgstr ""
#: app/templates/base.html:247
#: app/templates/base.html:244
msgid "Stats / Monitoring"
msgstr ""
#: app/templates/base.html:248
#: app/templates/base.html:245
msgid "User List"
msgstr "Brukerliste"
#: app/templates/base.html:249
#: app/templates/base.html:246
msgid "Source Code"
msgstr "Kildekode"
@ -967,10 +996,6 @@ msgstr ""
msgid "Downloads"
msgstr ""
#: app/templates/packages/view.html:123
msgid "Threads"
msgstr ""
#: app/templates/packages/view.html:138 app/templates/users/profile.html:73
msgid "Website"
msgstr ""
@ -1111,10 +1136,6 @@ msgstr ""
msgid "Search all packages"
msgstr ""
#: app/templates/todo/tags.html:15
msgid "Search"
msgstr ""
#: app/templates/todo/tags.html:23 app/templates/todo/tags.html:27
msgid "Missing tags only"
msgstr ""