Spanish translations courtesy of @frank1210

Fixed a few problems with translating the menu links - they had leading spaces.
This commit is contained in:
Adarnof
2018-05-02 20:49:21 -04:00
parent 7212a7a328
commit 22bda62e59
10 changed files with 2089 additions and 56 deletions

View File

@@ -1,12 +1,12 @@
from . import urls
from django.utils.translation import ugettext_lazy as _
from allianceauth import hooks
from allianceauth.services.hooks import MenuItemHook, UrlHook
@hooks.register('menu_item_hook')
def register_menu():
return MenuItemHook('Fleet Activity Tracking', 'fa fa-users fa-lightbulb-o fa-fw', 'fatlink:view',
return MenuItemHook(_('Fleet Activity Tracking'), 'fa fa-users fa-lightbulb-o fa-fw', 'fatlink:view',
navactive=['fatlink:'])