mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 19:55:48 +01:00
Move LSP service from misc to system (#3626)
This is needed to clean-up UI. The categories should be used for add-ons while core services should use `system`. Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
parent
8e81bebd3a
commit
9e088f8c62
@ -48,12 +48,12 @@ import com.google.inject.Injector;
|
||||
*/
|
||||
@Component(immediate = true, service = ModelServer.class, configurationPid = ModelServer.CONFIGURATION_PID, //
|
||||
property = Constants.SERVICE_PID + "=org.openhab.lsp")
|
||||
@ConfigurableService(category = "misc", label = "Language Server (LSP)", description_uri = ModelServer.CONFIG_URI)
|
||||
@ConfigurableService(category = "system", label = "Language Server (LSP)", description_uri = ModelServer.CONFIG_URI)
|
||||
@NonNullByDefault
|
||||
public class ModelServer {
|
||||
|
||||
public static final String CONFIGURATION_PID = "org.openhab.lsp";
|
||||
protected static final String CONFIG_URI = "misc:lsp";
|
||||
protected static final String CONFIG_URI = "system:lsp";
|
||||
|
||||
private static final String KEY_PORT = "port";
|
||||
private static final int DEFAULT_PORT = 5007;
|
||||
|
@ -5,7 +5,7 @@
|
||||
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0
|
||||
https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
|
||||
<config-description uri="misc:lsp">
|
||||
<config-description uri="system:lsp">
|
||||
<parameter name="port" type="integer" min="1" max="65535">
|
||||
<label>Port</label>
|
||||
<description>The port the language server listens to.</description>
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = The port the language server listens to.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = The port the language server listens to.
|
||||
|
||||
service.misc.lsp.label = Language Server (LSP)
|
||||
service.system.lsp.label = Language Server (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = Port, který jazykový server používá.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = Port, který jazykový server používá.
|
||||
|
||||
service.misc.lsp.label = Jazykový server (LSP)
|
||||
service.system.lsp.label = Jazykový server (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = Porten som sprogserveren lytter til.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = Porten som sprogserveren lytter til.
|
||||
|
||||
service.misc.lsp.label = Sprogserver (LSP)
|
||||
service.system.lsp.label = Sprogserver (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = Der Port, auf den der Sprachserver lauscht.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = Der Port, auf den der Sprachserver lauscht.
|
||||
|
||||
service.misc.lsp.label = Sprachserver (LSP)
|
||||
service.system.lsp.label = Sprachserver (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Θύρα
|
||||
misc.config.lsp.port.description = Η θύρα που ακούει ο διακομιστής γλώσσας.
|
||||
system.config.lsp.port.label = Θύρα
|
||||
system.config.lsp.port.description = Η θύρα που ακούει ο διακομιστής γλώσσας.
|
||||
|
||||
service.misc.lsp.label = Διακομιστής Γλώσσας (LSP)
|
||||
service.system.lsp.label = Διακομιστής Γλώσσας (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Portti
|
||||
misc.config.lsp.port.description = Portti, jota kieli palvelin kuuntelee.
|
||||
system.config.lsp.port.label = Portti
|
||||
system.config.lsp.port.description = Portti, jota kieli palvelin kuuntelee.
|
||||
|
||||
service.misc.lsp.label = Kielipalvelin (LSP)
|
||||
service.system.lsp.label = Kielipalvelin (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = Le port d'écoute du serveur de langage.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = Le port d'écoute du serveur de langage.
|
||||
|
||||
service.misc.lsp.label = Serveur de langage (LSP)
|
||||
service.system.lsp.label = Serveur de langage (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = יציאה
|
||||
misc.config.lsp.port.description = הפורט ששרת השפה יאזין אליו.
|
||||
system.config.lsp.port.label = יציאה
|
||||
system.config.lsp.port.description = הפורט ששרת השפה יאזין אליו.
|
||||
|
||||
service.misc.lsp.label = שרת השפה (LSP)
|
||||
service.system.lsp.label = שרת השפה (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = A nyelvi kiszolgáló portja.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = A nyelvi kiszolgáló portja.
|
||||
|
||||
service.misc.lsp.label = Nyelvi kiszolgáló (LSP)
|
||||
service.system.lsp.label = Nyelvi kiszolgáló (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Porta
|
||||
misc.config.lsp.port.description = La porta usata dal server della traduzione.
|
||||
system.config.lsp.port.label = Porta
|
||||
system.config.lsp.port.description = La porta usata dal server della traduzione.
|
||||
|
||||
service.misc.lsp.label = Server Traduzione (LSP)
|
||||
service.system.lsp.label = Server Traduzione (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Poort
|
||||
misc.config.lsp.port.description = De poort waarnaar de taalserver luistert.
|
||||
system.config.lsp.port.label = Poort
|
||||
system.config.lsp.port.description = De poort waarnaar de taalserver luistert.
|
||||
|
||||
service.misc.lsp.label = Taalserver (LSP)
|
||||
service.system.lsp.label = Taalserver (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = Porten språkserveren lytter til.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = Porten språkserveren lytter til.
|
||||
|
||||
service.misc.lsp.label = Språkserver (LSP)
|
||||
service.system.lsp.label = Språkserver (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = Port na którym nasłuchuje serwer języka.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = Port na którym nasłuchuje serwer języka.
|
||||
|
||||
service.misc.lsp.label = Serwer języka (LSP)
|
||||
service.system.lsp.label = Serwer języka (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Porta
|
||||
misc.config.lsp.port.description = A porta que o servidor de idioma escuta.
|
||||
system.config.lsp.port.label = Porta
|
||||
system.config.lsp.port.description = A porta que o servidor de idioma escuta.
|
||||
|
||||
service.misc.lsp.label = Servidor de Idioma (LSP)
|
||||
service.system.lsp.label = Servidor de Idioma (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Порт
|
||||
misc.config.lsp.port.description = Порт языкового сервера.
|
||||
system.config.lsp.port.label = Порт
|
||||
system.config.lsp.port.description = Порт языкового сервера.
|
||||
|
||||
service.misc.lsp.label = Языковой сервер (LSP)
|
||||
service.system.lsp.label = Языковой сервер (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Vrata
|
||||
misc.config.lsp.port.description = Vrata, ki jim prisluškuje jezikovni strežnik.
|
||||
system.config.lsp.port.label = Vrata
|
||||
system.config.lsp.port.description = Vrata, ki jim prisluškuje jezikovni strežnik.
|
||||
|
||||
service.misc.lsp.label = jezikovni strežnik (LSP)
|
||||
service.system.lsp.label = jezikovni strežnik (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Port
|
||||
misc.config.lsp.port.description = Porten som språkservern lyssnar på.
|
||||
system.config.lsp.port.label = Port
|
||||
system.config.lsp.port.description = Porten som språkservern lyssnar på.
|
||||
|
||||
service.misc.lsp.label = Språkserver (LSP)
|
||||
service.system.lsp.label = Språkserver (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = Порт
|
||||
misc.config.lsp.port.description = Порт, до якого слухає мова.
|
||||
system.config.lsp.port.label = Порт
|
||||
system.config.lsp.port.description = Порт, до якого слухає мова.
|
||||
|
||||
service.misc.lsp.label = Мовний сервер (LSP)
|
||||
service.system.lsp.label = Мовний сервер (LSP)
|
||||
|
@ -1,4 +1,4 @@
|
||||
misc.config.lsp.port.label = 端口
|
||||
misc.config.lsp.port.description = 语言服务器监听的端口。
|
||||
system.config.lsp.port.label = 端口
|
||||
system.config.lsp.port.description = 语言服务器监听的端口。
|
||||
|
||||
service.misc.lsp.label = 语言服务器 (LSP)
|
||||
service.system.lsp.label = 语言服务器 (LSP)
|
||||
|
Loading…
Reference in New Issue
Block a user