From 2352d838cfaabc70e2dbb8d6e05ff42781729782 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 1 May 2024 14:01:40 -0400 Subject: [PATCH] Shorten Lightning Network --> Lightning --- coreplugins/lightning/manifest.json | 4 ++-- coreplugins/lightning/plugin.py | 4 ++-- coreplugins/lightning/public/app.jsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/coreplugins/lightning/manifest.json b/coreplugins/lightning/manifest.json index b86e4513..46320050 100644 --- a/coreplugins/lightning/manifest.json +++ b/coreplugins/lightning/manifest.json @@ -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", diff --git a/coreplugins/lightning/plugin.py b/coreplugins/lightning/plugin.py index 9cd68e0a..4a7597c2 100644 --- a/coreplugins/lightning/plugin.py +++ b/coreplugins/lightning/plugin.py @@ -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") }) diff --git a/coreplugins/lightning/public/app.jsx b/coreplugins/lightning/public/app.jsx index 1f602426..718b47f1 100644 --- a/coreplugins/lightning/public/app.jsx +++ b/coreplugins/lightning/public/app.jsx @@ -36,7 +36,7 @@ export default class LightningPanel extends React.Component { return (
{ !apiKey ?
-

{_("Lightning Network")}

+

{_("Lightning")}

{_("Lightning is a service that allows you to quickly process small and large datasets using high performance servers in the cloud.")} webodm.net', register: `${_("register")}`}}> {_("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.")}