From 7a6f12123e25113b088b75e0730d0d2199ea6e29 Mon Sep 17 00:00:00 2001 From: Macartur Sousa Date: Thu, 14 Apr 2016 09:50:34 -0300 Subject: [PATCH] Adding elasticsearch plugin --- plugins/elasticsearch/Gemfile | 2 ++ plugins/elasticsearch/lib/elasticsearch_plugin.rb | 13 +++++++++++++ plugins/elasticsearch/po/elasticsearch.pot | 22 ++++++++++++++++++++++ 3 files changed, 37 insertions(+), 0 deletions(-) create mode 100644 plugins/elasticsearch/Gemfile create mode 100644 plugins/elasticsearch/lib/elasticsearch_plugin.rb create mode 100644 plugins/elasticsearch/po/elasticsearch.pot diff --git a/plugins/elasticsearch/Gemfile b/plugins/elasticsearch/Gemfile new file mode 100644 index 0000000..8e147aa --- /dev/null +++ b/plugins/elasticsearch/Gemfile @@ -0,0 +1,2 @@ +gem 'elasticsearch-model' +gem 'elasticsearch-rails' diff --git a/plugins/elasticsearch/lib/elasticsearch_plugin.rb b/plugins/elasticsearch/lib/elasticsearch_plugin.rb new file mode 100644 index 0000000..8864133 --- /dev/null +++ b/plugins/elasticsearch/lib/elasticsearch_plugin.rb @@ -0,0 +1,13 @@ +class ElasticsearchPlugin < Noosfero::Plugin + + def self.plugin_name + # FIXME + "ElasticsearchPlugin" + end + + def self.plugin_description + # FIXME + _("A plugin that does this and that.") + end + +end diff --git a/plugins/elasticsearch/po/elasticsearch.pot b/plugins/elasticsearch/po/elasticsearch.pot new file mode 100644 index 0000000..da73cf5 --- /dev/null +++ b/plugins/elasticsearch/po/elasticsearch.pot @@ -0,0 +1,22 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: 1.3~rc2-1-ga15645d\n" +"POT-Creation-Date: 2015-10-30 16:35-0300\n" +"PO-Revision-Date: 2015-08-06 17:21-0300\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: plugins/template/lib/template_plugin.rb:10 +msgid "A plugin that does this and that." +msgstr "" -- libgit2 0.21.2