Commit 37464ec1 authored by Antenore Gatta's avatar Antenore Gatta

Added i18n support to secret plugin

parent 2304e299
......@@ -34,19 +34,17 @@
find_suggested_package(Libsecret)
if(LIBSECRET_FOUND)
set(REMMINA_PLUGIN_SECRET_SRCS
src/glibsecret_plugin.c
)
set(REMMINA_PLUGIN_SECRET_SRCS src/glibsecret_plugin.c)
add_library(remmina-plugin-secret MODULE ${REMMINA_PLUGIN_SECRET_SRCS})
set_target_properties(remmina-plugin-secret PROPERTIES PREFIX "")
set_target_properties(remmina-plugin-secret PROPERTIES NO_SONAME 1)
add_library(remmina-plugin-secret MODULE ${REMMINA_PLUGIN_SECRET_SRCS})
set_target_properties(remmina-plugin-secret PROPERTIES PREFIX "")
set_target_properties(remmina-plugin-secret PROPERTIES NO_SONAME 1)
include_directories(${GTK_INCLUDE_DIRS})
target_link_libraries(remmina-plugin-secret ${GTK_LIBRARY_DIRS})
include_directories(${GTK_INCLUDE_DIRS})
target_link_libraries(remmina-plugin-secret ${GTK_LIBRARY_DIRS})
include_directories(SYSTEM ${LIBSECRET_INCLUDE_DIRS})
target_link_libraries(remmina-plugin-secret ${LIBSECRET_LIBRARIES} ${GLIB2_LIBRARY})
include_directories(SYSTEM ${LIBSECRET_INCLUDE_DIRS})
target_link_libraries(remmina-plugin-secret ${LIBSECRET_LIBRARIES} ${GLIB2_LIBRARY})
install(TARGETS remmina-plugin-secret DESTINATION ${REMMINA_PLUGINDIR})
install(TARGETS remmina-plugin-secret DESTINATION ${REMMINA_PLUGINDIR})
endif()
......@@ -37,6 +37,8 @@
#include "glibsecret_plugin.h"
#include <gtk/gtk.h>
#include <glib.h>
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
#include <libsecret/secret.h>
#include <remmina/plugin.h>
......@@ -153,7 +155,7 @@ void remmina_plugin_glibsecret_delete_password(RemminaFile *remminafile, const g
static RemminaSecretPlugin remmina_plugin_glibsecret =
{ REMMINA_PLUGIN_TYPE_SECRET,
"glibsecret",
N_("GNOME libsecret"),
N_("Secure passwords storing in the GNOME keyring"),
NULL,
VERSION,
TRUE,
......
......@@ -36,7 +36,5 @@
#define __BACKEND_LIBSECRET_H__
#include <libsecret/secret.h>
#include <glib.h>
#endif // __BACKEND_LIBSECRET_H__
src/remmina_string_array.c
src/remmina_string_array.h
src/remmina_file_manager.c
src/remmina_main.c
src/remmina_masterthread_exec.h
src/remmina_chat_window.h
src/remmina_stats.c
src/remmina_crypt.c
src/remmina_plugin_manager.h
src/remmina_applet_menu_item.h
src/remmina_sftp_plugin.h
src/remmina_exec.c
src/remmina_ssh.c
src/remmina_external_tools.h
src/remmina_sftp_client.c
src/remmina_masterthread_exec.c
src/remmina_pref_dialog.h
src/remmina_ftp_client.c
src/remmina_file_manager.h
src/remmina_public.c
src/remmina_ssh.h
src/remmina_file.c
src/remmina_icon.h
src/remmina_protocol_widget.h
src/remmina_file_editor.h
src/remmina_applet_menu_item.c
src/remmina_protocol_widget.c
src/remmina_exec.h
src/remmina_main.c
src/remmina_chat_window.c
src/remmina.c
src/remmina_pref.h
src/remmina_string_list.h
src/remmina_ftp_client.h
src/remmina_file_manager.h
src/remmina_masterthread_exec.c
src/remmina_file.h
src/remmina_sftp_plugin.c
src/include/remmina/types.h
src/include/remmina/remmina_trace_calls.h
src/include/remmina/plugin.h
src/remmina_external_tools.h
src/remmina_string_array.h
src/remmina_mpchange.h
src/remmina_message_panel.h
src/remmina_widget_pool.h
src/remmina_about.c
src/remmina_marshals.h
src/remmina_ssh.h
src/remmina_main.h
src/remmina_external_tools.c
src/remmina_crypt.h
src/include/remmina/plugin.h
src/include/remmina/remmina_trace_calls.h
src/include/remmina/types.h
src/remmina_ext_exec.c
src/remmina_applet_menu_item.c
src/remmina_key_chooser.c
src/remmina_utils.h
src/remmina_pref_dialog.c
src/remmina_sftp_client.h
src/remmina_icon.c
src/remmina_pref_dialog.h
src/remmina_protocol_widget.c
src/remmina_stats_sender.c
src/remmina_ssh_plugin.h
src/remmina_about.h
src/remmina_protocol_widget.h
src/remmina_scrolled_viewport.c
src/remmina_sysinfo.c
src/remmina.h
src/remmina_public.c
src/remmina_crypt.c
src/remmina_widget_pool.c
src/remmina_avahi.h
src/remmina_ext_exec.h
src/remmina_log.h
src/remmina_sysinfo.c
src/remmina_pref_dialog.c
src/remmina_applet_menu_item.h
src/remmina_public.h
src/remmina_pref.h
src/remmina_connection_window.h
src/remmina_file_editor.h
src/remmina_applet_menu.h
src/remmina_connection_window.c
src/remmina_icon.h
src/remmina_message_panel.c
src/remmina_stats.h
src/remmina_applet_menu.c
src/remmina_utils.c
src/remmina_plugin_manager.h
src/remmina_key_chooser.c
src/remmina_ext_exec.h
src/remmina_message_panel.c
src/remmina_sysinfo.h
src/remmina_avahi.c
src/remmina_ftp_client.h
src/remmina_plugin_manager.c
src/remmina_string_list.c
src/remmina_pref.c
src/remmina_string_list.h
src/remmina.c
src/remmina_exec.h
src/remmina_sftp_plugin.c
src/remmina_key_chooser.h
src/remmina_file.h
src/remmina_avahi.h
src/remmina_mpchange.c
src/remmina_marshals.c
src/remmina_ssh_plugin.c
src/remmina_file_editor.c
src/remmina_sftp_client.c
src/remmina_masterthread_exec.h
src/remmina_ssh.c
src/remmina_scrolled_viewport.c
src/remmina_applet_menu.h
src/remmina_widget_pool.h
src/remmina_log.c
src/remmina_mpchange.c
src/remmina_marshals.h
src/remmina_stats.h
src/remmina_icon.c
src/remmina_stats_sender.h
src/remmina_ext_exec.c
src/remmina_string_list.c
src/remmina_file_editor.c
src/remmina_sftp_plugin.h
src/remmina_crypt.h
src/remmina_log.h
src/remmina_pref.c
src/remmina_stats_sender.c
src/remmina_applet_menu.c
src/remmina_exec.c
src/remmina_about.c
src/remmina_utils.h
src/remmina_sftp_client.h
src/remmina_stats.c
src/remmina_file.c
src/remmina_ssh_plugin.c
src/remmina_key_chooser.h
src/remmina_external_tools.c
src/remmina_plugin_manager.c
src/remmina_message_panel.h
src/remmina_scrolled_viewport.h
plugins/secret/src/glibsecret_plugin.c
src/remmina_avahi.c
src/remmina_string_array.c
src/remmina_connection_window.h
src/remmina_about.h
src/remmina.h
src/remmina_connection_window.c
src/remmina_chat_window.h
src/remmina_file_manager.c
plugins/tool_hello_world/plugin_config.h
plugins/tool_hello_world/plugin.c
plugins/nx/nx_session_manager.h
plugins/nx/nx_session_manager.c
plugins/nx/nx_session.c
plugins/nx/nx_session.h
plugins/nx/nx_plugin.h
plugins/nx/nx_plugin.c
plugins/vnc/vnc_plugin.c
plugins/common/remmina_plugin.h
plugins/xdmcp/xdmcp_plugin.c
plugins/st/st_plugin_config.h
plugins/st/st_plugin.c
plugins/exec/exec_plugin_config.h
plugins/exec/exec_plugin.c
plugins/spice/spice_plugin_file_transfer.c
plugins/spice/spice_plugin_usb.c
plugins/spice/spice_plugin.c
plugins/spice/spice_plugin.h
plugins/telepathy/telepathy_channel_handler.h
plugins/telepathy/telepathy_channel_handler.c
plugins/telepathy/telepathy_handler.c
plugins/telepathy/telepathy_handler.h
plugins/telepathy/telepathy_plugin.c
plugins/secret/src/glibsecret_plugin.h
plugins/rdp/rdp_cliprdr.h
plugins/secret/src/glibsecret_plugin.c
plugins/rdp/rdp_plugin.h
plugins/rdp/rdp_settings.c
plugins/rdp/rdp_event.c
plugins/rdp/rdp_graphics.h
plugins/rdp/rdp_cliprdr.c
plugins/rdp/rdp_channels.c
plugins/rdp/rdp_settings.h
plugins/rdp/rdp_plugin.c
plugins/rdp/rdp_cliprdr.h
plugins/rdp/rdp_channels.c
plugins/rdp/rdp_file.h
plugins/rdp/rdp_graphics.h
plugins/rdp/rdp_graphics.c
plugins/rdp/rdp_plugin.h
plugins/rdp/rdp_settings.c
plugins/rdp/rdp_event.h
plugins/rdp/rdp_file.c
plugins/rdp/rdp_graphics.c
plugins/rdp/rdp_channels.h
plugins/rdp/rdp_event.h
plugins/rdp/rdp_settings.h
plugins/rdp/rdp_event.c
plugins/spice/spice_plugin_file_transfer.c
plugins/spice/spice_plugin.h
plugins/spice/spice_plugin_usb.c
plugins/spice/spice_plugin.c
plugins/xdmcp/xdmcp_plugin.c
plugins/vnc/vnc_plugin.c
plugins/st/st_plugin.c
plugins/st/st_plugin_config.h
plugins/nx/nx_session.h
plugins/nx/nx_plugin.c
plugins/nx/nx_plugin.h
plugins/nx/nx_session_manager.c
plugins/nx/nx_session_manager.h
plugins/nx/nx_session.c
plugins/exec/exec_plugin.c
plugins/exec/exec_plugin_config.h
plugins/common/remmina_plugin.h
plugins/telepathy/telepathy_plugin.c
plugins/telepathy/telepathy_handler.c
plugins/telepathy/telepathy_handler.h
plugins/telepathy/telepathy_channel_handler.c
plugins/telepathy/telepathy_channel_handler.h
plugins/tool_hello_world/plugin.c
plugins/tool_hello_world/plugin_config.h
data/ui/remmina_mpc.glade
data/ui/remmina_about.glade
data/ui/remmina_preferences.glade
data/ui/remmina_key_chooser.glade
data/ui/remmina_mpc.glade
data/ui/remmina_snap_info_dialog.glade
data/ui/remmina_main.glade
data/ui/remmina_spinner.glade
data/ui/remmina_preferences.glade
data/ui/remmina_snap_info_dialog.glade
data/ui/remmina_string_list.glade
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
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