fixed translation from angular

This commit is contained in:
Adolfo Gómez García 2020-02-28 09:34:05 +01:00
parent 15cfa45f69
commit 69085f28da
3 changed files with 16 additions and 3 deletions

View File

@ -30,6 +30,7 @@
"""
@author: Adolfo Gómez, dkmaster at dkmon dot com
"""
from django.utils.translation import ugettext_noop as _
from uds.core import services
@ -38,9 +39,9 @@ class PhysicalMachinesProvider(services.ServiceProvider):
# No extra data needed
# What services do we offer?
typeName = 'Static IP Machines Provider'
typeName = _('Static IP Machines Provider')
typeType = 'PhysicalMachinesServiceProvider'
typeDescription = 'Provides connection to machines by IP'
typeDescription = _('Provides connection to machines by IP')
iconFile = 'provider.png'
from .service_multi import IPMachinesService

View File

@ -277,8 +277,11 @@ gettext("Add");
gettext("Cancel");
gettext("Ok");
gettext("Permissions for");
gettext("Users");
gettext("Groups");
gettext("New permission...");
gettext("Ok");
gettext("New user permission for");
gettext("New group permission for");
gettext("Cancel");
gettext("Ok");
@ -320,6 +323,8 @@ gettext("Reports");
gettext("Configuration");
gettext("Actor tokens");
gettext("Flush Cache");
gettext("New image for");
gettext("Edit for");
gettext("Image name");
gettext("Image (click to change)");
gettext("For optimal results, use "squared" images.");
@ -421,6 +426,9 @@ gettext("Authenticator");
gettext("User");
gettext("Cancel");
gettext("Ok");
gettext("New access rule for");
gettext("Edit access rule for");
gettext("Default fallback access for");
gettext("Priority");
gettext("Calendar");
gettext("Action");
@ -441,6 +449,8 @@ gettext("Access calendars");
gettext("Logs");
gettext("Account usage");
gettext("Rules");
gettext("Edit rule");
gettext("New rule");
gettext("Name");
gettext("Comments");
gettext("Event");
@ -461,6 +471,8 @@ gettext("Assigned services");
gettext("Groups");
gettext("Access calendars");
gettext("Logs");
gettext("New member pool");
gettext("Edit member pool");
gettext("Priority");
gettext("Service pool");
gettext("Enabled?");

View File

@ -92,6 +92,6 @@
</svg>
</div>
</uds-root>
<script src="/uds/res/admin/runtime.js?stamp=1582636281" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1582636281" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1582636281" defer></script><script src="/uds/res/admin/main.js?stamp=1582636281" defer></script></body>
<script src="/uds/res/admin/runtime.js?stamp=1582878562" defer></script><script src="/uds/res/admin/polyfills-es5.js?stamp=1582878562" nomodule defer></script><script src="/uds/res/admin/polyfills.js?stamp=1582878562" defer></script><script src="/uds/res/admin/main.js?stamp=1582878562" defer></script></body>
</html>