Shorten Lightning Network --> Lightning

pull/1496/head
Piero Toffanin 2024-05-01 14:01:40 -04:00
rodzic e7337f3b5d
commit 2352d838cf
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
{
"name": "Lightning Network Bridge",
"name": "Lightning",
"webodmMinVersion": "0.7.1",
"description": "Sync accounts from webodm.net",
"description": "Process in the cloud with webodm.net",
"version": "0.9.0",
"author": "Piero Toffanin",
"email": "pt@masseranolabs.com",

Wyświetl plik

@ -22,7 +22,7 @@ def JsonResponse(dict):
class Plugin(PluginBase):
def main_menu(self):
return [Menu(_("Lightning Network"), self.public_url(""), "fa fa-bolt fa-fw")]
return [Menu(_("Lightning"), self.public_url(""), "fa fa-bolt fa-fw")]
def include_js_files(self):
return ['add_cost_estimate.js']
@ -36,7 +36,7 @@ class Plugin(PluginBase):
uds = UserDataStore('lightning', request.user)
return render(request, self.template_path("index.html"), {
'title': _('Lightning Network'),
'title': _('Lightning'),
'api_key': uds.get_string("api_key")
})

Wyświetl plik

@ -36,7 +36,7 @@ export default class LightningPanel extends React.Component {
return (<div className="plugin-lightning">
{ !apiKey ?
<div>
<h4><i className="fa fa-bolt"/> {_("Lightning Network")}</h4>
<h4><i className="fa fa-bolt"/> {_("Lightning")}</h4>
{_("Lightning is a service that allows you to quickly process small and large datasets using high performance servers in the cloud.")}
<Trans params={{ link: '<a href="https://webodm.net" target="_blank">webodm.net</a>', register: `<a href="https://webodm.net/register" target="_blank">${_("register")}</a>`}}>
{_("Below you can enter your %(link)s credentials to sync your account and automatically setup a new processing node. If you don't have an account, you can %(register)s for free.")}</Trans>