Commit f69dfc40 authored by Miquel Sabaté's avatar Miquel Sabaté
Browse files

Ported plugin to JSON.

parent 8e5d0ae0
......@@ -37,7 +37,7 @@ add_subdirectory(rails)
add_subdirectory(completion)
add_subdirectory(app_templates)
add_library(kdevrubylanguagesupport MODULE
kdevplatform_add_plugin(kdevrubylanguagesupport JSON kdevrubylanguagesupport.json SOURCES
highlighting.cpp
languagesupport.cpp
launcher.cpp
......@@ -59,8 +59,8 @@ target_link_libraries(kdevrubylanguagesupport
)
install(TARGETS kdevrubylanguagesupport DESTINATION ${PLUGIN_INSTALL_DIR})
configure_file(kdevrubysupport.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdevrubysupport.desktop)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kdevrubysupport.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES kdevrubysupport.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kdevrubysupport)
install(FILES documentation/builtins.rb DESTINATION ${DATA_INSTALL_DIR}/kdevrubysupport/documentation/)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
{
"Encoding": "UTF-8",
"GenericName": "Ruby Support",
"GenericName[ast]": "Sofitu Ruby",
"GenericName[bg]": "Поддръжка на Ruby",
"GenericName[bs]": "Podrška za jezik Ruby",
"GenericName[ca@valencia]": "Implementació de Ruby",
"GenericName[ca]": "Implementació de Ruby",
"GenericName[cs]": "Podpora Ruby",
"GenericName[de]": "Unterstützung für Ruby",
"GenericName[el]": "Υποστήριξη Ruby",
"GenericName[en_GB]": "Ruby Support",
"GenericName[es]": "Implementación de Ruby",
"GenericName[et]": "Ruby toetus",
"GenericName[fi]": "Ruby-tuki",
"GenericName[fr]": "Prise en charge de Ruby",
"GenericName[ga]": "Tacaíocht Ruby",
"GenericName[gl]": "Compatibilidade con Ruby",
"GenericName[hne]": "रूबी समर्थन",
"GenericName[hu]": "Ruby-támogatás",
"GenericName[it]": "Supporto per Ruby",
"GenericName[ja]": "Ruby サポート",
"GenericName[nds]": "Ruby-Ünnerstütten",
"GenericName[nl]": "Ondersteuning voor Ruby",
"GenericName[pa]": "ਰੂਬੀ ਸਹਿਯੋਗ",
"GenericName[pl]": "Obsługa Ruby",
"GenericName[pt]": "Suporte para Ruby",
"GenericName[pt_BR]": "Suporte à Ruby",
"GenericName[ru]": "Поддержка Ruby",
"GenericName[sk]": "Podpora Ruby",
"GenericName[sv]": "Ruby-stöd",
"GenericName[tr]": "Ruby Desteği",
"GenericName[ug]": "Ruby قوللىشى",
"GenericName[uk]": "Підтримка Ruby",
"GenericName[x-test]": "xxRuby Supportxx",
"GenericName[zh_CN]": "Ruby 支持",
"KPlugin": {
"Description": "Ruby Language Support",
"Description[ast]": "Sofitu de llinguax Ruby",
"Description[bg]": "Поддръжка на езика Ruby",
"Description[bs]": "Podrška za jezik Ruby",
"Description[ca@valencia]": "Implementació del llenguatge Ruby",
"Description[ca]": "Implementació del llenguatge Ruby",
"Description[cs]": "Podpora jazyka Ruby",
"Description[de]": "Sprachunterstützung für Ruby",
"Description[el]": "Υποστήριξη γλώσσας Ruby",
"Description[en_GB]": "Ruby Language Support",
"Description[es]": "Implementación del lenguaje Ruby",
"Description[et]": "Ruby keele toetus",
"Description[fi]": "Ruby-kielituki",
"Description[fr]": "Prise en charge du langage Ruby",
"Description[ga]": "Tacaíocht Ruby",
"Description[gl]": "Compatibilidade con Ruby",
"Description[hne]": "रूबी भाखा समर्थन",
"Description[hu]": "Ruby nyelvi támogatás",
"Description[it]": "Supporto per il linguaggio Ruby",
"Description[ja]": "Ruby 言語のサポート",
"Description[nds]": "Ünnerstütten för Ruby",
"Description[nl]": "Ondersteuning voor de taal Ruby",
"Description[pl]": "Obsługa języka Ruby",
"Description[pt]": "Suporte para a Linguagem Ruby",
"Description[pt_BR]": "Suporte à linguagem Ruby",
"Description[ru]": "Поддержка языка Ruby",
"Description[sk]": "Podpora jazyka Ruby",
"Description[sv]": "Stöd för språket Ruby",
"Description[tr]": "Ruby Dil Desteği",
"Description[uk]": "Підтримка мови Ruby",
"Description[x-test]": "xxRuby Language Supportxx",
"Description[zh_CN]": "Ruby 语言支持",
"Icon": "application-x-ruby",
"Id": "KDevRubySupport",
"Name": "Ruby Support",
"Name[ast]": "Sofitu Ruby",
"Name[bg]": "Поддръжка на Ruby",
"Name[bs]": "Podrška za jezik Ruby",
"Name[ca@valencia]": "Implementació de Ruby",
"Name[ca]": "Implementació de Ruby",
"Name[cs]": "Podpora Ruby",
"Name[de]": "Unterstützung für Ruby",
"Name[en_GB]": "Ruby Support",
"Name[es]": "Implementación de Ruby",
"Name[et]": "Ruby toetus",
"Name[fi]": "Ruby-tuki",
"Name[fr]": "Prise en charge de Ruby",
"Name[ga]": "Tacaíocht Ruby",
"Name[gl]": "Compatibilidade con Ruby",
"Name[hu]": "Ruby-támogatás",
"Name[nl]": "Ondersteuning voor Ruby",
"Name[pl]": "Obsługa Ruby",
"Name[pt]": "Suporte para Ruby",
"Name[pt_BR]": "Suporte à Ruby",
"Name[ru]": "Поддержка Ruby",
"Name[sk]": "Podpora Ruby",
"Name[sv]": "Ruby-stöd",
"Name[tr]": "Ruby Desteği",
"Name[ug]": "Ruby قوللىشى",
"Name[uk]": "Підтримка Ruby",
"Name[x-test]": "xxRuby Supportxx",
"Name[zh_CN]": "Ruby 支持",
"ServiceTypes": [
"KDevelop/Plugin"
]
},
"X-KDevelop-Args": "RUBY",
"X-KDevelop-Interfaces": "ILanguageSupport",
"X-KDevelop-Language": "Ruby",
"X-KDevelop-LoadMode": "AlwaysOn",
"X-KDevelop-Mode": "NoGUI",
"X-KDevelop-SupportedMimeTypes": "application/x-ruby"
}
[Desktop Entry]
Encoding=UTF-8
Type=Service
Exec=blubb
Comment=Ruby Language Support
Comment[ast]=Sofitu de llinguax Ruby
Comment[bg]=Поддръжка на езика Ruby
Comment[bs]=Podrška za jezik Ruby
Comment[ca]=Implementació del llenguatge Ruby
Comment[ca@valencia]=Implementació del llenguatge Ruby
Comment[cs]=Podpora jazyka Ruby
Comment[de]=Sprachunterstützung für Ruby
Comment[el]=Υποστήριξη γλώσσας Ruby
Comment[en_GB]=Ruby Language Support
Comment[es]=Implementación del lenguaje Ruby
Comment[et]=Ruby keele toetus
Comment[fi]=Ruby-kielituki
Comment[fr]=Prise en charge du langage Ruby
Comment[ga]=Tacaíocht Ruby
Comment[gl]=Compatibilidade con Ruby
Comment[hne]=रूबी भाखा समर्थन
Comment[hu]=Ruby nyelvi támogatás
Comment[it]=Supporto per il linguaggio Ruby
Comment[ja]=Ruby 言語のサポート
Comment[nds]=Ünnerstütten för Ruby
Comment[nl]=Ondersteuning voor de taal Ruby
Comment[pl]=Obsługa języka Ruby
Comment[pt]=Suporte para a Linguagem Ruby
Comment[pt_BR]=Suporte à linguagem Ruby
Comment[ru]=Поддержка языка Ruby
Comment[sk]=Podpora jazyka Ruby
Comment[sv]=Stöd för språket Ruby
Comment[tr]=Ruby Dil Desteği
Comment[uk]=Підтримка мови Ruby
Comment[x-test]=xxRuby Language Supportxx
Comment[zh_CN]=Ruby 语言支持
Name=Ruby Support
Name[ast]=Sofitu Ruby
Name[bg]=Поддръжка на Ruby
Name[bs]=Podrška za jezik Ruby
Name[ca]=Implementació de Ruby
Name[ca@valencia]=Implementació de Ruby
Name[cs]=Podpora Ruby
Name[de]=Unterstützung für Ruby
Name[en_GB]=Ruby Support
Name[es]=Implementación de Ruby
Name[et]=Ruby toetus
Name[fi]=Ruby-tuki
Name[fr]=Prise en charge de Ruby
Name[ga]=Tacaíocht Ruby
Name[gl]=Compatibilidade con Ruby
Name[hu]=Ruby-támogatás
Name[nl]=Ondersteuning voor Ruby
Name[pl]=Obsługa Ruby
Name[pt]=Suporte para Ruby
Name[pt_BR]=Suporte à Ruby
Name[ru]=Поддержка Ruby
Name[sk]=Podpora Ruby
Name[sv]=Ruby-stöd
Name[tr]=Ruby Desteği
Name[ug]=Ruby قوللىشى
Name[uk]=Підтримка Ruby
Name[x-test]=xxRuby Supportxx
Name[zh_CN]=Ruby 支持
GenericName=Ruby Support
GenericName[ast]=Sofitu Ruby
GenericName[bg]=Поддръжка на Ruby
GenericName[bs]=Podrška za jezik Ruby
GenericName[ca]=Implementació de Ruby
GenericName[ca@valencia]=Implementació de Ruby
GenericName[cs]=Podpora Ruby
GenericName[de]=Unterstützung für Ruby
GenericName[el]=Υποστήριξη Ruby
GenericName[en_GB]=Ruby Support
GenericName[es]=Implementación de Ruby
GenericName[et]=Ruby toetus
GenericName[fi]=Ruby-tuki
GenericName[fr]=Prise en charge de Ruby
GenericName[ga]=Tacaíocht Ruby
GenericName[gl]=Compatibilidade con Ruby
GenericName[hne]=रूबी समर्थन
GenericName[hu]=Ruby-támogatás
GenericName[it]=Supporto per Ruby
GenericName[ja]=Ruby サポート
GenericName[nds]=Ruby-Ünnerstütten
GenericName[nl]=Ondersteuning voor Ruby
GenericName[pa]=ਰੂਬੀ ਸਹਿਯੋਗ
GenericName[pl]=Obsługa Ruby
GenericName[pt]=Suporte para Ruby
GenericName[pt_BR]=Suporte à Ruby
GenericName[ru]=Поддержка Ruby
GenericName[sk]=Podpora Ruby
GenericName[sv]=Ruby-stöd
GenericName[tr]=Ruby Desteği
GenericName[ug]=Ruby قوللىشى
GenericName[uk]=Підтримка Ruby
GenericName[x-test]=xxRuby Supportxx
GenericName[zh_CN]=Ruby 支持
ServiceTypes=KDevelop/Plugin
Icon=application-x-ruby
X-KDE-Library=kdevrubylanguagesupport
X-KDevelop-Version=@KDEV_PLUGIN_VERSION@
X-KDevelop-Language=Ruby
X-KDevelop-Args=RUBY
X-KDevelop-Interfaces=ILanguageSupport
X-KDevelop-SupportedMimeTypes=application/x-ruby
X-KDE-PluginInfo-Name=KDevRubySupport
X-KDevelop-Mode=NoGUI
X-KDevelop-LoadMode=AlwaysOn
......@@ -40,7 +40,7 @@
#include <rails/helpers.h>
#include <rails/support.h>
K_PLUGIN_FACTORY(KDevRubySupportFactory, registerPlugin<ruby::LanguageSupport>();)
K_PLUGIN_FACTORY_WITH_JSON(KDevRubySupportFactory, "kdevrubylanguagesupport.json", registerPlugin<ruby::LanguageSupport>();)
Q_LOGGING_CATEGORY(KDEV_RUBY, "kdev.ruby")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment