diff --git a/.gedit.metadata b/.gedit.metadata index 1ea1c46..6c02c87 100644 --- a/.gedit.metadata +++ b/.gedit.metadata @@ -1 +1 @@ -ba483e435ceae91c31f759413298d3ebe1350b0e SOURCES/gedit-3.14.3.tar.xz +2c2de5b4e20af09b1be3b86f00b3ec1a6c847e53 SOURCES/gedit-3.22.0.tar.xz diff --git a/.gitignore b/.gitignore index 694a7db..3739123 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gedit-3.14.3.tar.xz +SOURCES/gedit-3.22.0.tar.xz diff --git a/SOURCES/0001-gedit-document-fix-close-after-save-functionality.patch b/SOURCES/0001-gedit-document-fix-close-after-save-functionality.patch deleted file mode 100644 index 1506c72..0000000 --- a/SOURCES/0001-gedit-document-fix-close-after-save-functionality.patch +++ /dev/null @@ -1,107 +0,0 @@ -From b0e10edb322665f5a357d9264bfbc4d759b265ea Mon Sep 17 00:00:00 2001 -From: Ray Strode -Date: Fri, 15 Apr 2016 13:08:54 -0400 -Subject: [PATCH] gedit-document: fix close after save functionality - -Right now if a document is modified when a user tries -to close the buffer, we pop up a dialog asking if they -would like to save before closing. If the user says -yes, we proceed to save the document but then fail to -close it. - -This is because we try to close the tab before marking -the now saved document as unmodified. The close operation -then fails. - -This commit changes the code to set the document unmodified, -earlier, in time for the close tab operation to succeed. ---- - gedit/gedit-document.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c -index cc59ea1..92c0393 100644 ---- a/gedit/gedit-document.c -+++ b/gedit/gedit-document.c -@@ -1187,76 +1187,76 @@ saved_query_info_cb (GFile *location, - if (info != NULL) - { - if (g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE)) - { - content_type = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE); - } - - if (g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_TIME_MODIFIED)) - { - g_file_info_get_modification_time (info, &doc->priv->mtime); - doc->priv->mtime_set = TRUE; - } - } - - gedit_document_set_content_type (doc, content_type); - - if (info != NULL) - { - /* content_type (owned by info) is no longer needed. */ - g_object_unref (info); - } - - g_get_current_time (&doc->priv->time_of_last_save_or_load); - - doc->priv->externally_modified = FALSE; - doc->priv->deleted = FALSE; - doc->priv->create = FALSE; - - set_readonly (doc, FALSE); - -- gtk_text_buffer_set_modified (GTK_TEXT_BUFFER (doc), FALSE); -- - save_encoding_metadata (doc); - - /* Async operation finished. */ - g_object_unref (doc); - } - - static void - gedit_document_saved_real (GeditDocument *doc) - { - GFile *location = gtk_source_file_get_location (doc->priv->file); - - /* Keep the doc alive during the async operation. */ - g_object_ref (doc); - -+ gtk_text_buffer_set_modified (GTK_TEXT_BUFFER (doc), FALSE); -+ - g_file_query_info_async (location, - G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE "," - G_FILE_ATTRIBUTE_TIME_MODIFIED, - G_FILE_QUERY_INFO_NONE, - G_PRIORITY_DEFAULT, - NULL, - (GAsyncReadyCallback) saved_query_info_cb, - doc); - } - - gboolean - gedit_document_is_untouched (GeditDocument *doc) - { - GFile *location; - - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), TRUE); - - location = gtk_source_file_get_location (doc->priv->file); - - return location == NULL && !gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (doc)); - } - - gboolean - gedit_document_is_untitled (GeditDocument *doc) - { - g_return_val_if_fail (GEDIT_IS_DOCUMENT (doc), TRUE); - - return gtk_source_file_get_location (doc->priv->file) == NULL; - } - --- -2.8.1 - diff --git a/SOURCES/0001-po-es-use-single-quote-instead-of-chevrons.patch b/SOURCES/0001-po-es-use-single-quote-instead-of-chevrons.patch deleted file mode 100644 index e8aed02..0000000 --- a/SOURCES/0001-po-es-use-single-quote-instead-of-chevrons.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -up gedit-3.14.3/po/es.po.es-po-quotes gedit-3.14.3/po/es.po ---- gedit-3.14.3/po/es.po.es-po-quotes 2015-02-04 06:32:46.000000000 -0500 -+++ gedit-3.14.3/po/es.po 2016-04-06 15:31:23.979277863 -0400 -@@ -105,7 +105,7 @@ msgstr "" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:3 - msgid "'Monospace 12'" --msgstr "«Monospace 12»" -+msgstr "'Monospace 12'" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:4 - msgid "Editor Font" -@@ -456,7 +456,7 @@ msgstr "" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:64 - msgid "'Monospace 9'" --msgstr "«Monospace 9»" -+msgstr "'Monospace 9'" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:65 - msgid "Body Font for Printing" -@@ -471,7 +471,7 @@ msgstr "" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:67 - msgid "'Sans 11'" --msgstr "«Sans 11»" -+msgstr "'Sans 11'" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:68 - msgid "Header Font for Printing" -@@ -488,7 +488,7 @@ msgstr "" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:70 - msgid "'Sans 8'" --msgstr "«Sans 8»" -+msgstr "'Sans 8'" - - #: ../data/org.gnome.gedit.gschema.xml.in.h:71 - msgid "Line Number Font for Printing" diff --git a/SOURCES/0005-Fix-desktop-actions.patch b/SOURCES/0005-Fix-desktop-actions.patch deleted file mode 100644 index dd2a66f..0000000 --- a/SOURCES/0005-Fix-desktop-actions.patch +++ /dev/null @@ -1,455 +0,0 @@ -From 8fa00d0a56f073e0ac44a7de33203d893af4a841 Mon Sep 17 00:00:00 2001 -From: Ignacio Casal Quinteiro -Date: Thu, 19 Mar 2015 15:46:48 +0100 -Subject: [PATCH 05/26] Fix desktop actions - -https://bugzilla.gnome.org/show_bug.cgi?id=744184 ---- - data/org.gnome.gedit.desktop.in.in | 6 +- - gedit/gedit-app.c | 394 +++++++++++++++++++------------------ - 2 files changed, 210 insertions(+), 190 deletions(-) - ---- a/data/org.gnome.gedit.desktop.in.in -+++ b/data/org.gnome.gedit.desktop.in.in -@@ -16,14 +16,14 @@ X-GNOME-Bugzilla-Product=gedit - X-GNOME-Bugzilla-Component=general - X-GNOME-Bugzilla-Version=@VERSION@ - X-GNOME-Bugzilla-ExtraInfoScript=@FULL_LIBEXECDIR@/gedit/gedit-bugreport.sh --Actions=Window;Document; -+Actions=new-window;new-document; - _Keywords=Text;Editor; - DBusActivatable=true - --[Desktop Action Window] -+[Desktop Action new-window] - _Name=Open a New Window - Exec=gedit --new-window - --[Desktop Action Document] -+[Desktop Action new-document] - _Name=Open a New Document - Exec=gedit --new-document ---- a/gedit/gedit-app.c -+++ b/gedit/gedit-app.c -@@ -290,6 +290,193 @@ gedit_app_set_window_title_impl (GeditAp - gtk_window_set_title (GTK_WINDOW (window), title); - } - -+static gboolean -+is_in_viewport (GtkWindow *window, -+ GdkScreen *screen, -+ gint workspace, -+ gint viewport_x, -+ gint viewport_y) -+{ -+ GdkScreen *s; -+ GdkDisplay *display; -+ GdkWindow *gdkwindow; -+ const gchar *cur_name; -+ const gchar *name; -+ gint cur_n; -+ gint n; -+ gint ws; -+ gint sc_width, sc_height; -+ gint x, y, width, height; -+ gint vp_x, vp_y; -+ -+ /* Check for screen and display match */ -+ display = gdk_screen_get_display (screen); -+ cur_name = gdk_display_get_name (display); -+ cur_n = gdk_screen_get_number (screen); -+ -+ s = gtk_window_get_screen (window); -+ display = gdk_screen_get_display (s); -+ name = gdk_display_get_name (display); -+ n = gdk_screen_get_number (s); -+ -+ if (strcmp (cur_name, name) != 0 || cur_n != n) -+ { -+ return FALSE; -+ } -+ -+ /* Check for workspace match */ -+ ws = gedit_utils_get_window_workspace (window); -+ if (ws != workspace && ws != GEDIT_ALL_WORKSPACES) -+ { -+ return FALSE; -+ } -+ -+ /* Check for viewport match */ -+ gdkwindow = gtk_widget_get_window (GTK_WIDGET (window)); -+ gdk_window_get_position (gdkwindow, &x, &y); -+ width = gdk_window_get_width (gdkwindow); -+ height = gdk_window_get_height (gdkwindow); -+ gedit_utils_get_current_viewport (screen, &vp_x, &vp_y); -+ x += vp_x; -+ y += vp_y; -+ -+ sc_width = gdk_screen_get_width (screen); -+ sc_height = gdk_screen_get_height (screen); -+ -+ return x + width * .25 >= viewport_x && -+ x + width * .75 <= viewport_x + sc_width && -+ y >= viewport_y && -+ y + height <= viewport_y + sc_height; -+} -+ -+static GeditWindow * -+get_active_window (GtkApplication *app) -+{ -+ GdkScreen *screen; -+ guint workspace; -+ gint viewport_x, viewport_y; -+ GList *windows, *l; -+ -+ screen = gdk_screen_get_default (); -+ -+ workspace = gedit_utils_get_current_workspace (screen); -+ gedit_utils_get_current_viewport (screen, &viewport_x, &viewport_y); -+ -+ /* Gtk documentation says the window list is always in MRU order */ -+ windows = gtk_application_get_windows (app); -+ for (l = windows; l != NULL; l = l->next) -+ { -+ GtkWindow *window = l->data; -+ -+ if (GEDIT_IS_WINDOW (window) && is_in_viewport (window, screen, workspace, viewport_x, viewport_y)) -+ { -+ return GEDIT_WINDOW (window); -+ } -+ } -+ -+ return NULL; -+} -+ -+static void -+set_command_line_wait (GeditApp *app, -+ GeditTab *tab) -+{ -+ g_object_set_data_full (G_OBJECT (tab), -+ "GeditTabCommandLineWait", -+ g_object_ref (app->priv->command_line), -+ (GDestroyNotify)g_object_unref); -+} -+ -+static void -+open_files (GApplication *application, -+ gboolean new_window, -+ gboolean new_document, -+ gchar *geometry, -+ gint line_position, -+ gint column_position, -+ const GtkSourceEncoding *encoding, -+ GInputStream *stdin_stream, -+ GSList *file_list, -+ GApplicationCommandLine *command_line) -+{ -+ GeditWindow *window = NULL; -+ GeditTab *tab; -+ gboolean doc_created = FALSE; -+ -+ if (!new_window) -+ { -+ window = get_active_window (GTK_APPLICATION (application)); -+ } -+ -+ if (window == NULL) -+ { -+ gedit_debug_message (DEBUG_APP, "Create main window"); -+ window = gedit_app_create_window (GEDIT_APP (application), NULL); -+ -+ gedit_debug_message (DEBUG_APP, "Show window"); -+ gtk_widget_show (GTK_WIDGET (window)); -+ } -+ -+ if (geometry) -+ { -+ gtk_window_parse_geometry (GTK_WINDOW (window), geometry); -+ } -+ -+ if (stdin_stream) -+ { -+ gedit_debug_message (DEBUG_APP, "Load stdin"); -+ -+ tab = gedit_window_create_tab_from_stream (window, -+ stdin_stream, -+ encoding, -+ line_position, -+ column_position, -+ TRUE); -+ doc_created = tab != NULL; -+ -+ if (doc_created && command_line) -+ { -+ set_command_line_wait (GEDIT_APP (application), -+ tab); -+ } -+ g_input_stream_close (stdin_stream, NULL, NULL); -+ } -+ -+ if (file_list != NULL) -+ { -+ GSList *loaded; -+ -+ gedit_debug_message (DEBUG_APP, "Load files"); -+ loaded = _gedit_cmd_load_files_from_prompt (window, -+ file_list, -+ encoding, -+ line_position, -+ column_position); -+ -+ doc_created = doc_created || loaded != NULL; -+ -+ if (command_line) -+ { -+ g_slist_foreach (loaded, (GFunc)set_command_line_wait, NULL); -+ } -+ g_slist_free (loaded); -+ } -+ -+ if (!doc_created || new_document) -+ { -+ gedit_debug_message (DEBUG_APP, "Create tab"); -+ tab = gedit_window_create_tab (window, TRUE); -+ -+ if (command_line) -+ { -+ set_command_line_wait (GEDIT_APP (application), -+ tab); -+ } -+ } -+ -+ gtk_window_present (GTK_WINDOW (window)); -+} -+ - static void - new_window_activated (GSimpleAction *action, - GVariant *parameter, -@@ -311,6 +498,25 @@ new_window_activated (GSimpleAction *act - } - - static void -+new_document_activated (GSimpleAction *action, -+ GVariant *parameter, -+ gpointer user_data) -+{ -+ GApplication *application = G_APPLICATION (user_data); -+ -+ open_files (application, -+ FALSE, -+ TRUE, -+ NULL, -+ 0, -+ 0, -+ NULL, -+ NULL, -+ NULL, -+ NULL); -+} -+ -+static void - preferences_activated (GSimpleAction *action, - GVariant *parameter, - gpointer user_data) -@@ -362,6 +568,7 @@ quit_activated (GSimpleAction *action, - - static GActionEntry app_entries[] = { - { "new-window", new_window_activated, NULL, NULL, NULL }, -+ { "new-document", new_document_activated, NULL, NULL, NULL }, - { "preferences", preferences_activated, NULL, NULL, NULL }, - { "help", help_activated, NULL, NULL, NULL }, - { "about", about_activated, NULL, NULL, NULL }, -@@ -639,193 +846,6 @@ gedit_app_startup (GApplication *applica - app); - } - --static gboolean --is_in_viewport (GtkWindow *window, -- GdkScreen *screen, -- gint workspace, -- gint viewport_x, -- gint viewport_y) --{ -- GdkScreen *s; -- GdkDisplay *display; -- GdkWindow *gdkwindow; -- const gchar *cur_name; -- const gchar *name; -- gint cur_n; -- gint n; -- gint ws; -- gint sc_width, sc_height; -- gint x, y, width, height; -- gint vp_x, vp_y; -- -- /* Check for screen and display match */ -- display = gdk_screen_get_display (screen); -- cur_name = gdk_display_get_name (display); -- cur_n = gdk_screen_get_number (screen); -- -- s = gtk_window_get_screen (window); -- display = gdk_screen_get_display (s); -- name = gdk_display_get_name (display); -- n = gdk_screen_get_number (s); -- -- if (strcmp (cur_name, name) != 0 || cur_n != n) -- { -- return FALSE; -- } -- -- /* Check for workspace match */ -- ws = gedit_utils_get_window_workspace (window); -- if (ws != workspace && ws != GEDIT_ALL_WORKSPACES) -- { -- return FALSE; -- } -- -- /* Check for viewport match */ -- gdkwindow = gtk_widget_get_window (GTK_WIDGET (window)); -- gdk_window_get_position (gdkwindow, &x, &y); -- width = gdk_window_get_width (gdkwindow); -- height = gdk_window_get_height (gdkwindow); -- gedit_utils_get_current_viewport (screen, &vp_x, &vp_y); -- x += vp_x; -- y += vp_y; -- -- sc_width = gdk_screen_get_width (screen); -- sc_height = gdk_screen_get_height (screen); -- -- return x + width * .25 >= viewport_x && -- x + width * .75 <= viewport_x + sc_width && -- y >= viewport_y && -- y + height <= viewport_y + sc_height; --} -- --static GeditWindow * --get_active_window (GtkApplication *app) --{ -- GdkScreen *screen; -- guint workspace; -- gint viewport_x, viewport_y; -- GList *windows, *l; -- -- screen = gdk_screen_get_default (); -- -- workspace = gedit_utils_get_current_workspace (screen); -- gedit_utils_get_current_viewport (screen, &viewport_x, &viewport_y); -- -- /* Gtk documentation says the window list is always in MRU order */ -- windows = gtk_application_get_windows (app); -- for (l = windows; l != NULL; l = l->next) -- { -- GtkWindow *window = l->data; -- -- if (GEDIT_IS_WINDOW (window) && is_in_viewport (window, screen, workspace, viewport_x, viewport_y)) -- { -- return GEDIT_WINDOW (window); -- } -- } -- -- return NULL; --} -- --static void --set_command_line_wait (GeditApp *app, -- GeditTab *tab) --{ -- g_object_set_data_full (G_OBJECT (tab), -- "GeditTabCommandLineWait", -- g_object_ref (app->priv->command_line), -- (GDestroyNotify)g_object_unref); --} -- --static void --open_files (GApplication *application, -- gboolean new_window, -- gboolean new_document, -- gchar *geometry, -- gint line_position, -- gint column_position, -- const GtkSourceEncoding *encoding, -- GInputStream *stdin_stream, -- GSList *file_list, -- GApplicationCommandLine *command_line) --{ -- GeditWindow *window = NULL; -- GeditTab *tab; -- gboolean doc_created = FALSE; -- -- if (!new_window) -- { -- window = get_active_window (GTK_APPLICATION (application)); -- } -- -- if (window == NULL) -- { -- gedit_debug_message (DEBUG_APP, "Create main window"); -- window = gedit_app_create_window (GEDIT_APP (application), NULL); -- -- gedit_debug_message (DEBUG_APP, "Show window"); -- gtk_widget_show (GTK_WIDGET (window)); -- } -- -- if (geometry) -- { -- gtk_window_parse_geometry (GTK_WINDOW (window), geometry); -- } -- -- if (stdin_stream) -- { -- gedit_debug_message (DEBUG_APP, "Load stdin"); -- -- tab = gedit_window_create_tab_from_stream (window, -- stdin_stream, -- encoding, -- line_position, -- column_position, -- TRUE); -- doc_created = tab != NULL; -- -- if (doc_created && command_line) -- { -- set_command_line_wait (GEDIT_APP (application), -- tab); -- } -- g_input_stream_close (stdin_stream, NULL, NULL); -- } -- -- if (file_list != NULL) -- { -- GSList *loaded; -- -- gedit_debug_message (DEBUG_APP, "Load files"); -- loaded = _gedit_cmd_load_files_from_prompt (window, -- file_list, -- encoding, -- line_position, -- column_position); -- -- doc_created = doc_created || loaded != NULL; -- -- if (command_line) -- { -- g_slist_foreach (loaded, (GFunc)set_command_line_wait, NULL); -- } -- g_slist_free (loaded); -- } -- -- if (!doc_created || new_document) -- { -- gedit_debug_message (DEBUG_APP, "Create tab"); -- tab = gedit_window_create_tab (window, TRUE); -- -- if (command_line) -- { -- set_command_line_wait (GEDIT_APP (application), -- tab); -- } -- } -- -- gtk_window_present (GTK_WINDOW (window)); --} -- - static void - gedit_app_activate (GApplication *application) - { diff --git a/SOURCES/0008-spell-don-t-include-gedit-metadata-manager.h-private.patch b/SOURCES/0008-spell-don-t-include-gedit-metadata-manager.h-private.patch deleted file mode 100644 index cef03c0..0000000 --- a/SOURCES/0008-spell-don-t-include-gedit-metadata-manager.h-private.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 47766883e6366cce5684a36eb9975a91db8b157c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= -Date: Sun, 7 Jun 2015 13:42:26 +0200 -Subject: [PATCH 08/26] spell: don't #include gedit-metadata-manager.h (private - header) - -The gedit_metadata_manager_* functions are anyway not used in the spell -plugin. ---- - plugins/spell/gedit-spell-plugin.c | 1 - - 1 file changed, 1 deletion(-) - ---- a/plugins/spell/gedit-spell-plugin.c -+++ b/plugins/spell/gedit-spell-plugin.c -@@ -42,7 +42,6 @@ - #include "gedit-automatic-spell-checker.h" - - #ifdef G_OS_WIN32 --#include - #define GEDIT_METADATA_ATTRIBUTE_SPELL_LANGUAGE "spell-language" - #define GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED "spell-enabled" - #else diff --git a/SOURCES/0009-spell-fix-bug-with-document-metadata.patch b/SOURCES/0009-spell-fix-bug-with-document-metadata.patch deleted file mode 100644 index d632490..0000000 --- a/SOURCES/0009-spell-fix-bug-with-document-metadata.patch +++ /dev/null @@ -1,114 +0,0 @@ -From 099aa09ff5eabf24005fcf94ca6a71a1a7138228 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= -Date: Sun, 7 Jun 2015 14:51:43 +0200 -Subject: [PATCH 09/26] spell: fix bug with document metadata - -See the comment in the code. - -With one document, the bug was easy to reproduce: -1. open document in gedit -2. activate the auto spell -> metadata set to 1 -3. close gedit -4. $ gedit -> spell checking disabled, but should be enabled - -https://bugzilla.gnome.org/show_bug.cgi?id=741853 ---- - plugins/spell/gedit-spell-plugin.c | 56 +++++++++++++++++++++++++++++++------- - 1 file changed, 46 insertions(+), 10 deletions(-) - ---- a/plugins/spell/gedit-spell-plugin.c -+++ b/plugins/spell/gedit-spell-plugin.c -@@ -89,15 +89,16 @@ G_DEFINE_DYNAMIC_TYPE_EXTENDED (GeditSpe - gedit_window_activatable_iface_init) - G_ADD_PRIVATE_DYNAMIC (GeditSpellPlugin)) - --static void spell_cb (GSimpleAction *action, GVariant *parameter, gpointer data); --static void set_language_cb (GSimpleAction *action, GVariant *parameter, gpointer data); --static void auto_spell_cb (GSimpleAction *action, GVariant *state, gpointer data); -+static void spell_cb (GSimpleAction *action, GVariant *parameter, gpointer data); -+static void set_language_cb (GSimpleAction *action, GVariant *parameter, gpointer data); -+static void auto_spell_activate_cb (GSimpleAction *action, GVariant *parameter, gpointer data); -+static void auto_spell_change_state_cb (GSimpleAction *action, GVariant *state, gpointer data); - - static GActionEntry action_entries[] = - { - { "check-spell", spell_cb }, - { "config-spell", set_language_cb }, -- { "auto-spell", NULL, NULL, "false", auto_spell_cb } -+ { "auto-spell", auto_spell_activate_cb, NULL, "false", auto_spell_change_state_cb } - }; - - static GQuark spell_checker_id = 0; -@@ -874,20 +875,27 @@ set_auto_spell (GeditWindow *window, - } - - static void --auto_spell_cb (GSimpleAction *action, -- GVariant *state, -- gpointer data) -+auto_spell_activate_cb (GSimpleAction *action, -+ GVariant *parameter, -+ gpointer data) - { - GeditSpellPlugin *plugin = GEDIT_SPELL_PLUGIN (data); - GeditSpellPluginPrivate *priv = plugin->priv; -- GeditView *view; -+ GVariant *state; - gboolean active; -+ GeditView *view; - - gedit_debug (DEBUG_PLUGINS); - -+ state = g_action_get_state (G_ACTION (action)); -+ g_return_if_fail (state != NULL); -+ - active = g_variant_get_boolean (state); -+ g_variant_unref (state); - -- gedit_debug_message (DEBUG_PLUGINS, active ? "Auto Spell activated" : "Auto Spell deactivated"); -+ /* We must toggle ourself the value. */ -+ active = !active; -+ g_action_change_state (G_ACTION (action), g_variant_new_boolean (active)); - - view = gedit_window_get_active_view (priv->window); - if (view != NULL) -@@ -896,10 +904,38 @@ auto_spell_cb (GSimpleAction *action, - - doc = GEDIT_DOCUMENT (gtk_text_view_get_buffer (GTK_TEXT_VIEW (view))); - -+ /* Set metadata in the "activate" handler, not in "change-state" -+ * because "change-state" is called every time the state -+ * changes, not specifically when the user has changed the state -+ * herself. For example "change-state" is called to initialize -+ * the sate to the default value specified in the GActionEntry. -+ */ - gedit_document_set_metadata (doc, - GEDIT_METADATA_ATTRIBUTE_SPELL_ENABLED, -- active ? "1" : NULL, NULL); -+ active ? "1" : NULL, -+ NULL); -+ } -+} -+ -+static void -+auto_spell_change_state_cb (GSimpleAction *action, -+ GVariant *state, -+ gpointer data) -+{ -+ GeditSpellPlugin *plugin = GEDIT_SPELL_PLUGIN (data); -+ GeditSpellPluginPrivate *priv = plugin->priv; -+ GeditView *view; -+ gboolean active; -+ -+ gedit_debug (DEBUG_PLUGINS); -+ -+ active = g_variant_get_boolean (state); - -+ gedit_debug_message (DEBUG_PLUGINS, active ? "Auto Spell activated" : "Auto Spell deactivated"); -+ -+ view = gedit_window_get_active_view (priv->window); -+ if (view != NULL) -+ { - set_auto_spell (priv->window, view, active); - g_simple_action_set_state (action, g_variant_new_boolean (active)); - } diff --git a/SOURCES/0010-Unset-correctly-GVFS-file-attributes.patch b/SOURCES/0010-Unset-correctly-GVFS-file-attributes.patch deleted file mode 100644 index bcdf0e3..0000000 --- a/SOURCES/0010-Unset-correctly-GVFS-file-attributes.patch +++ /dev/null @@ -1,44 +0,0 @@ -From c1f59ef858a2b6b14f4c05f49cb8d5b4a1642451 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= -Date: Sun, 7 Jun 2015 18:23:14 +0200 -Subject: [PATCH 10/26] Unset correctly GVFS file attributes - -remove_attribute() removes the attribute from the FileInfo, so when -calling g_file_set_attributes_from_info(), the attribute value is kept -as-is, it was not unset. - -To unset the file attribute, we must set the attribute to an invalid -type (it seems there is no nicer way to do it). - -https://bugzilla.gnome.org/show_bug.cgi?id=741853 ---- - gedit/gedit-document.c | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c -index ab4fab6..cc59ea1 100644 ---- a/gedit/gedit-document.c -+++ b/gedit/gedit-document.c -@@ -1662,11 +1662,17 @@ gedit_document_set_metadata (GeditDocument *doc, - else - { - /* Unset the key */ -- g_file_info_remove_attribute (info, key); -+ g_file_info_set_attribute (info, -+ key, -+ G_FILE_ATTRIBUTE_TYPE_INVALID, -+ NULL); - - if (doc->priv->metadata_info != NULL) - { -- g_file_info_remove_attribute (doc->priv->metadata_info, key); -+ g_file_info_set_attribute (doc->priv->metadata_info, -+ key, -+ G_FILE_ATTRIBUTE_TYPE_INVALID, -+ NULL); - } - } - } --- -1.8.3.1 - diff --git a/SOURCES/0011-Printing-fix-margins.patch b/SOURCES/0011-Printing-fix-margins.patch deleted file mode 100644 index f74bbdf..0000000 --- a/SOURCES/0011-Printing-fix-margins.patch +++ /dev/null @@ -1,112 +0,0 @@ -From 83edea9c0319d6e5f9c65338ddbc31c24ae736c9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= -Date: Sat, 6 Jun 2015 20:36:36 +0200 -Subject: [PATCH 11/26] Printing: fix margins - -GTK+'s default margins are too small. It was not possible to use a hole -punch, and with some printers the text was truncated on the right. - -Add gsettings to configure margins, with better defaults (25mm on each -side). The unit chosen is the millimeter, because it's the international -standard. - -https://bugzilla.gnome.org/show_bug.cgi?id=572741 ---- - data/org.gnome.gedit.gschema.xml.in | 20 ++++++++++++++++++++ - gedit/gedit-print-job.c | 19 ++++++++++++++++--- - gedit/gedit-settings.h | 4 ++++ - 3 files changed, 40 insertions(+), 3 deletions(-) - -diff --git a/data/org.gnome.gedit.gschema.xml.in b/data/org.gnome.gedit.gschema.xml.in -index a01b3ec..c34e4db 100644 ---- a/data/org.gnome.gedit.gschema.xml.in -+++ b/data/org.gnome.gedit.gschema.xml.in -@@ -222,6 +222,26 @@ - Line Number Font for Printing - Specifies the font to use for line numbers when printing. This will only take effect if the "Print Line Numbers" option is non-zero. - -+ -+ 25 -+ Margin Left -+ The left margin, in millimeters. -+ -+ -+ 25 -+ Margin Top -+ The top margin, in millimeters. -+ -+ -+ 25 -+ Margin Right -+ The right margin, in millimeters. -+ -+ -+ 25 -+ Margin Bottom -+ The bottom margin, in millimeters. -+ - - - -diff --git a/gedit/gedit-print-job.c b/gedit/gedit-print-job.c -index a19ef65..34816da 100644 ---- a/gedit/gedit-print-job.c -+++ b/gedit/gedit-print-job.c -@@ -507,6 +507,7 @@ create_compositor (GeditPrintJob *job) - GtkWrapMode wrap_mode; - guint print_line_numbers; - gboolean print_header; -+ gdouble margin; - - /* Create and initialize print compositor */ - print_font_body = g_settings_get_string (job->priv->print_settings, -@@ -540,9 +541,17 @@ create_compositor (GeditPrintJob *job) - "header-font-name", print_font_header, - NULL)); - -- g_free (print_font_body); -- g_free (print_font_header); -- g_free (print_font_numbers); -+ margin = g_settings_get_double (job->priv->print_settings, GEDIT_SETTINGS_PRINT_MARGIN_LEFT); -+ gtk_source_print_compositor_set_left_margin (job->priv->compositor, margin, GTK_UNIT_MM); -+ -+ margin = g_settings_get_double (job->priv->print_settings, GEDIT_SETTINGS_PRINT_MARGIN_TOP); -+ gtk_source_print_compositor_set_top_margin (job->priv->compositor, margin, GTK_UNIT_MM); -+ -+ margin = g_settings_get_double (job->priv->print_settings, GEDIT_SETTINGS_PRINT_MARGIN_RIGHT); -+ gtk_source_print_compositor_set_right_margin (job->priv->compositor, margin, GTK_UNIT_MM); -+ -+ margin = g_settings_get_double (job->priv->print_settings, GEDIT_SETTINGS_PRINT_MARGIN_BOTTOM); -+ gtk_source_print_compositor_set_bottom_margin (job->priv->compositor, margin, GTK_UNIT_MM); - - if (print_header) - { -@@ -568,6 +577,10 @@ create_compositor (GeditPrintJob *job) - g_free (name_to_display); - g_free (left); - } -+ -+ g_free (print_font_body); -+ g_free (print_font_header); -+ g_free (print_font_numbers); - } - - static void -diff --git a/gedit/gedit-settings.h b/gedit/gedit-settings.h -index 39ee82e..85cdc94 100644 ---- a/gedit/gedit-settings.h -+++ b/gedit/gedit-settings.h -@@ -108,6 +108,10 @@ void gedit_settings_set_list (GSettings *settings, - #define GEDIT_SETTINGS_PRINT_FONT_NUMBERS_PANGO "print-font-numbers-pango" - #define GEDIT_SETTINGS_ENCODING_AUTO_DETECTED "auto-detected" - #define GEDIT_SETTINGS_ENCODING_SHOWN_IN_MENU "shown-in-menu" -+#define GEDIT_SETTINGS_PRINT_MARGIN_LEFT "margin-left" -+#define GEDIT_SETTINGS_PRINT_MARGIN_TOP "margin-top" -+#define GEDIT_SETTINGS_PRINT_MARGIN_RIGHT "margin-right" -+#define GEDIT_SETTINGS_PRINT_MARGIN_BOTTOM "margin-bottom" - #define GEDIT_SETTINGS_ACTIVE_PLUGINS "active-plugins" - #define GEDIT_SETTINGS_ENSURE_TRAILING_NEWLINE "ensure-trailing-newline" - --- -1.8.3.1 - diff --git a/SOURCES/0012-Printing-set-default-margin-top-to-15mm.patch b/SOURCES/0012-Printing-set-default-margin-top-to-15mm.patch deleted file mode 100644 index 2972960..0000000 --- a/SOURCES/0012-Printing-set-default-margin-top-to-15mm.patch +++ /dev/null @@ -1,26 +0,0 @@ -From a08e7846a2693747aee2aeba9e44e79fed4bcfcf Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= -Date: Thu, 11 Jun 2015 16:40:38 +0200 -Subject: [PATCH 12/26] Printing: set default margin-top to 15mm - -25mm is too much for the top margin. ---- - data/org.gnome.gedit.gschema.xml.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/data/org.gnome.gedit.gschema.xml.in b/data/org.gnome.gedit.gschema.xml.in -index c34e4db..a1fa8a3 100644 ---- a/data/org.gnome.gedit.gschema.xml.in -+++ b/data/org.gnome.gedit.gschema.xml.in -@@ -228,7 +228,7 @@ - The left margin, in millimeters. - - -- 25 -+ 15 - Margin Top - The top margin, in millimeters. - --- -1.8.3.1 - diff --git a/SOURCES/0019-build-fix-generation-of-desktop-files-for-external-t.patch b/SOURCES/0019-build-fix-generation-of-desktop-files-for-external-t.patch deleted file mode 100644 index e8c576e..0000000 --- a/SOURCES/0019-build-fix-generation-of-desktop-files-for-external-t.patch +++ /dev/null @@ -1,30 +0,0 @@ -From cff568ca9ac94a0564f0751090fde3cde41a3f11 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= -Date: Sun, 12 Jul 2015 11:16:04 +0200 -Subject: [PATCH 19/26] build: fix generation of desktop files for external - tools - -The .desktop files were not generated since there were two rules for the -same targets. So the last rule was executed, which is the mkdir command. - -To be sure that the mkdir command is executed before any target is -built, we can use $(shell ...). See: -http://stackoverflow.com/questions/2122602/force-makefile-to-execute-script-before-building-targets ---- - plugins/externaltools/data/Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am -index e3a4707..23098be 100644 ---- a/plugins/externaltools/data/Makefile.am -+++ b/plugins/externaltools/data/Makefile.am -@@ -59,5 +59,4 @@ CLEANFILES += \ - # generating the .desktop files. - # If the following bug is fixed, this hack can normally be removed: - # https://bugs.launchpad.net/intltool/+bug/605826 --$(externaltools_all_desktop_files): -- $(AM_V_GEN) $(MKDIR_P) $(top_builddir)/plugins/externaltools/data/ -+$(shell $(MKDIR_P) $(top_builddir)/plugins/externaltools/data/) --- -1.8.3.1 - diff --git a/SOURCES/0024-Add-a-snippet-generating-RPM-SPEC-changelog-line.patch b/SOURCES/0024-Add-a-snippet-generating-RPM-SPEC-changelog-line.patch deleted file mode 100644 index 31dfa72..0000000 --- a/SOURCES/0024-Add-a-snippet-generating-RPM-SPEC-changelog-line.patch +++ /dev/null @@ -1,55 +0,0 @@ -From d1a0ec893fc609795c6553553dc274105bd0d389 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= -Date: Mon, 17 Aug 2015 14:04:08 +0200 -Subject: [PATCH 24/26] Add a snippet generating RPM SPEC %changelog line. - -https://bugzilla.gnome.org/show_bug.cgi?id=732813 ---- - plugins/snippets/Makefile.am | 1 + - plugins/snippets/data/rpmspec.xml | 22 ++++++++++++++++++++++ - 2 files changed, 23 insertions(+) - create mode 100644 plugins/snippets/data/rpmspec.xml - -diff --git a/plugins/snippets/Makefile.am b/plugins/snippets/Makefile.am -index f4f5d0c..20c8ccc 100644 ---- a/plugins/snippets/Makefile.am -+++ b/plugins/snippets/Makefile.am -@@ -44,6 +44,7 @@ dist_plugins_snippets_snippets_DATA = \ - plugins/snippets/data/perl.xml \ - plugins/snippets/data/php.xml \ - plugins/snippets/data/python.xml \ -+ plugins/snippets/data/rpmspec.xml \ - plugins/snippets/data/ruby.xml \ - plugins/snippets/data/sh.xml \ - plugins/snippets/data/snippets.xml \ -diff --git a/plugins/snippets/data/rpmspec.xml b/plugins/snippets/data/rpmspec.xml -new file mode 100644 -index 0000000..eb3396d ---- /dev/null -+++ b/plugins/snippets/data/rpmspec.xml -@@ -0,0 +1,22 @@ -+ -+ -+ -+ -+ -+]]> -+ ch -+ changelog entry -+ -+ --- -1.8.3.1 - diff --git a/SOURCES/0025-Add-a-shortcut-for-the-open-button-for-german.patch b/SOURCES/0025-Add-a-shortcut-for-the-open-button-for-german.patch deleted file mode 100644 index 5601499..0000000 --- a/SOURCES/0025-Add-a-shortcut-for-the-open-button-for-german.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru gedit-3.14.3.orig/po/de.po gedit-3.14.3/po/de.po ---- gedit-3.14.3/po/de.po 2015-02-04 12:32:46.000000000 +0100 -+++ gedit-3.14.3/po/de.po 2016-04-15 09:05:33.002363506 +0200 -@@ -820,7 +820,7 @@ - #: ../plugins/quickopen/quickopen/popup.py:38 - #: ../plugins/snippets/snippets/manager.py:782 - msgid "_Open" --msgstr "Öffnen" -+msgstr "Ö_ffnen" - - # CHECK - #: ../gedit/gedit-commands-file.c:577 diff --git a/SOURCES/gedit-disable-python3.patch b/SOURCES/gedit-disable-python3.patch index 177b581..d6b3943 100644 --- a/SOURCES/gedit-disable-python3.patch +++ b/SOURCES/gedit-disable-python3.patch @@ -1,57 +1,30 @@ -From 2315024697904bc00c01caa42e042983491f98f1 Mon Sep 17 00:00:00 2001 +From 7feb8e11020bd14e85339c64e5e547e02755ce74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 15 May 2015 11:00:19 -0400 Subject: [PATCH] Switch from python3 to python2 --- - configure.ac | 2 +- - gedit/gedit-plugins-engine.c | 2 +- - plugins/externaltools/data/send-to-fpaste.tool.in | 2 +- - plugins/externaltools/externaltools.plugin.desktop.in | 2 +- - plugins/externaltools/tools/capture.py | 8 ++++++- - plugins/externaltools/tools/library.py | 27 ++++++++++++++++------ - plugins/pythonconsole/pythonconsole.plugin.desktop.in | 2 +- - plugins/quickopen/quickopen.plugin.desktop.in | 2 +- - plugins/quickopen/quickopen/__init__.py | 5 ++-- - plugins/snippets/snippets.plugin.desktop.in | 2 +- - plugins/snippets/snippets/helper.py | 5 +++- - plugins/snippets/snippets/library.py | 3 ++- - plugins/snippets/snippets/shareddata.py | 3 ++- - plugins/snippets/snippets/signals.py | 2 +- + configure.ac | 2 +- + gedit/gedit-plugins-engine.c | 2 +- + plugins/externaltools/data/send-to-fpaste.tool.in | 2 +- + .../externaltools/externaltools.plugin.desktop.in | 2 +- + plugins/externaltools/tools/capture.py | 8 ++++++- + plugins/externaltools/tools/library.py | 27 ++++++++++++++++------ + .../pythonconsole/pythonconsole.plugin.desktop.in | 2 +- + plugins/quickopen/quickopen.plugin.desktop.in | 2 +- + plugins/quickopen/quickopen/__init__.py | 5 ++-- + plugins/snippets/snippets.plugin.desktop.in | 2 +- + plugins/snippets/snippets/helper.py | 5 +++- + plugins/snippets/snippets/library.py | 3 ++- + plugins/snippets/snippets/shareddata.py | 3 ++- + plugins/snippets/snippets/signals.py | 2 +- 14 files changed, 46 insertions(+), 21 deletions(-) diff --git a/configure.ac b/configure.ac -index cf3d734..3acee28 100644 +index 4f19eb4..0a00552 100644 --- a/configure.ac +++ b/configure.ac -@@ -276,61 +276,61 @@ if test "x$enable_enchant" = "xyes" ; then - have_iso_codes=no - fi - AC_MSG_RESULT([$result]) - fi - - if test "x$have_iso_codes" = "xyes"; then - AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX],["`$PKG_CONFIG --variable=prefix iso-codes`"],[ISO codes prefix]) - AC_DEFINE([HAVE_ISO_CODES],[1],[Define if you have the iso-codes package]) - else - AC_MSG_ERROR([iso-codes is required to build the spell plugin. Use --disable-spell to build without spell plugin.]) - fi - else - enable_enchant=no - AC_MSG_ERROR([Enchant library not found or too old. Use --disable-spell to build without spell plugin.]) - fi - fi - - AM_CONDITIONAL(ENABLE_ENCHANT, test x"$enable_enchant" = "xyes") - - AC_ARG_ENABLE([python], - AS_HELP_STRING([--enable-python[=@<:@no/auto/yes@:>@]],[Build with python support]), - [enable_python=$enableval], - [enable_python="auto"]) - - if test "x$enable_python" = "xauto"; then - PKG_CHECK_EXISTS([pygobject-3.0 >= $PYGOBJECT_REQUIRED], - [enable_python=yes],[enable_python=no]) +@@ -267,7 +267,7 @@ if test "x$enable_python" = "xauto"; then fi if test "x$enable_python" = "xyes"; then @@ -60,180 +33,45 @@ index cf3d734..3acee28 100644 PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED]) pyoverridesdir="\$(pyexecdir)/gi/overrides" - AC_SUBST(pyoverridesdir) - fi - - AM_CONDITIONAL(ENABLE_PYTHON, test x"$enable_python" = "xyes") - - dnl ================================================================ - dnl Start of pkg-config checks - dnl ================================================================ - - # Dependencies - - PKG_CHECK_MODULES(GEDIT, [ - libxml-2.0 >= $LIBXML_REQUIRED - glib-2.0 >= $GLIB_REQUIRED - gio-2.0 >= $GLIB_REQUIRED - gmodule-2.0 - gtk+-3.0 >= $GTK_REQUIRED - gtksourceview-3.0 >= $GTKSOURCEVIEW_REQUIRED - libpeas-1.0 >= $LIBPEAS_REQUIRED - libpeas-gtk-1.0 >= $LIBPEAS_REQUIRED - gsettings-desktop-schemas - ]) - - if test "$os_osx" = "no" && - test "$os_win32" = "no"; then - PKG_CHECK_MODULES(X11, [ - x11 diff --git a/gedit/gedit-plugins-engine.c b/gedit/gedit-plugins-engine.c -index 725cb3b..678809b 100644 +index d3e9dbb..9ac98cd 100644 --- a/gedit/gedit-plugins-engine.c +++ b/gedit/gedit-plugins-engine.c -@@ -28,61 +28,61 @@ - #include - - #include - #include - - #include "gedit-debug.h" - #include "gedit-app.h" - #include "gedit-dirs.h" - #include "gedit-settings.h" - #include "gedit-utils.h" - - struct _GeditPluginsEnginePrivate - { - GSettings *plugin_settings; - }; - - G_DEFINE_TYPE_WITH_PRIVATE (GeditPluginsEngine, gedit_plugins_engine, PEAS_TYPE_ENGINE) - - GeditPluginsEngine *default_engine = NULL; - - static void - gedit_plugins_engine_init (GeditPluginsEngine *engine) - { - gchar *typelib_dir; - GError *error = NULL; +@@ -51,7 +51,7 @@ gedit_plugins_engine_init (GeditPluginsEngine *engine) gedit_debug (DEBUG_PLUGINS); - engine->priv = gedit_plugins_engine_get_instance_private (engine); - - peas_engine_enable_loader (PEAS_ENGINE (engine), "python3"); + peas_engine_enable_loader (PEAS_ENGINE (engine), "python"); - engine->priv->plugin_settings = g_settings_new ("org.gnome.gedit.plugins"); + engine->plugin_settings = g_settings_new ("org.gnome.gedit.plugins"); - /* Require gedit's typelib. */ - typelib_dir = g_build_filename (gedit_dirs_get_gedit_lib_dir (), - "girepository-1.0", - NULL); - - if (!g_irepository_require_private (g_irepository_get_default (), - typelib_dir, "Gedit", "3.0", 0, &error)) - { - g_warning ("Could not load Gedit repository: %s", error->message); - g_error_free (error); - error = NULL; - } - - g_free (typelib_dir); - - /* This should be moved to libpeas */ - if (!g_irepository_require (g_irepository_get_default (), - "Peas", "1.0", 0, &error)) - { - g_warning ("Could not load Peas repository: %s", error->message); - g_error_free (error); - error = NULL; - } - - if (!g_irepository_require (g_irepository_get_default (), - "PeasGtk", "1.0", 0, &error)) - { diff --git a/plugins/externaltools/data/send-to-fpaste.tool.in b/plugins/externaltools/data/send-to-fpaste.tool.in -index d255007..95c2d37 100755 +index fb1fdf7..5eb8d8e 100755 --- a/plugins/externaltools/data/send-to-fpaste.tool.in +++ b/plugins/externaltools/data/send-to-fpaste.tool.in -@@ -1,27 +1,27 @@ +@@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import os, urllib, json, sys, urllib.request from gi.repository import Gtk, Gdk - - lang = os.getenv('GEDIT_CURRRENT_DOCUMENT_LANGUAGE') - if lang is None: - lang = "text" - - current_document_path = os.getenv('GEDIT_CURRENT_DOCUMENT_PATH') - selected_text = os.getenv('GEDIT_SELECTED_TEXT') - - if selected_text is None: - selected_text = sys.stdin.read() - - url_params = urllib.parse.urlencode({'paste_data': selected_text, 'paste_lang': lang, 'mode':'json', 'api_submit':'true'}) - openfpaste = urllib.request.urlopen("http://fpaste.org", bytes(url_params, 'utf-8')).read().decode("utf-8") - final_data = json.loads(openfpaste) - - paste_url = "http://fpaste.org/" + final_data['result']['id'] - - print(paste_url + " has been copied to clipboard.") - - disp = Gdk.Display.get_default() - clipper = Gtk.Clipboard.get_for_display(disp, Gdk.SELECTION_CLIPBOARD) - clipper.set_text(paste_url, len(paste_url)) - clipper.store() diff --git a/plugins/externaltools/externaltools.plugin.desktop.in b/plugins/externaltools/externaltools.plugin.desktop.in index cc7a4da..c56e4e3 100644 --- a/plugins/externaltools/externaltools.plugin.desktop.in +++ b/plugins/externaltools/externaltools.plugin.desktop.in -@@ -1,9 +1,9 @@ +@@ -1,5 +1,5 @@ [Plugin] -Loader=python3 +Loader=python Module=externaltools IAge=3 _Name=External Tools - _Description=Execute external commands and shell scripts. - Authors=Steve Frécinaux - Copyright=Copyright © 2005 Steve Frécinaux - Website=http://www.gedit.org diff --git a/plugins/externaltools/tools/capture.py b/plugins/externaltools/tools/capture.py -index 05fcf81..4a77e7a 100644 +index e2e35b4..d5cf9a6 100644 --- a/plugins/externaltools/tools/capture.py +++ b/plugins/externaltools/tools/capture.py -@@ -34,61 +34,67 @@ class Capture(GObject.Object): - CAPTURE_NEEDS_SHELL = 0x04 - - WRITE_BUFFER_SIZE = 0x4000 - - __gsignals__ = { - 'stdout-line': (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, (GObject.TYPE_STRING,)), - 'stderr-line': (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, (GObject.TYPE_STRING,)), - 'begin-execute': (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, tuple()), - 'end-execute': (GObject.SIGNAL_RUN_LAST, GObject.TYPE_NONE, (GObject.TYPE_INT,)) - } - - def __init__(self, command, cwd=None, env={}): - GObject.GObject.__init__(self) - self.pipe = None - self.env = env - self.cwd = cwd - self.flags = self.CAPTURE_BOTH | self.CAPTURE_NEEDS_SHELL - self.command = command - self.input_text = None - - def set_env(self, **values): - self.env.update(**values) - - def set_command(self, command): - self.command = command - - def set_flags(self, flags): +@@ -61,7 +61,13 @@ class Capture(GObject.Object): self.flags = flags def set_input(self, text): @@ -248,53 +86,11 @@ index 05fcf81..4a77e7a 100644 def set_cwd(self, cwd): self.cwd = cwd - - def execute(self): - if self.command is None: - return - - # Initialize pipe - popen_args = { - 'cwd': self.cwd, - 'shell': self.flags & self.CAPTURE_NEEDS_SHELL, - 'env': self.env - } - - if self.input_text is not None: - popen_args['stdin'] = subprocess.PIPE - if self.flags & self.CAPTURE_STDOUT: - popen_args['stdout'] = subprocess.PIPE - if self.flags & self.CAPTURE_STDERR: - popen_args['stderr'] = subprocess.PIPE - - self.tried_killing = False - self.in_channel = None - self.out_channel = None - self.err_channel = None - self.in_channel_id = 0 - self.out_channel_id = 0 - self.err_channel_id = 0 - diff --git a/plugins/externaltools/tools/library.py b/plugins/externaltools/tools/library.py index adfd943..761337c 100644 --- a/plugins/externaltools/tools/library.py +++ b/plugins/externaltools/tools/library.py -@@ -1,48 +1,49 @@ - # -*- coding: utf-8 -*- - # Gedit External Tools plugin - # Copyright (C) 2006 Steve Frécinaux - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 2 of the License, or - # (at your option) any later version. - # - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # - # You should have received a copy of the GNU General Public License +@@ -16,6 +16,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA @@ -302,61 +98,7 @@ index adfd943..761337c 100644 import os import re import locale - import platform - from gi.repository import GLib - - - class Singleton(object): - _instance = None - - def __new__(cls, *args, **kwargs): - if not cls._instance: - cls._instance = super(Singleton, cls).__new__(cls, *args, **kwargs) - cls._instance.__init_once__() - - return cls._instance - - - class ToolLibrary(Singleton): - def __init_once__(self): - self.locations = [] - - def set_locations(self, datadir): - self.locations = [] - - if platform.platform() != 'Windows': - for d in self.get_xdg_data_dirs(): - self.locations.append(os.path.join(d, 'gedit', 'plugins', 'externaltools', 'tools')) - - self.locations.append(datadir) -@@ -219,61 +220,61 @@ class Tool(object): - self.changed = False - self._properties = dict() - self._transform = { - 'Languages': [self._to_list, self._from_list] - } - self._load() - - def _to_list(self, value): - if value.strip() == '': - return [] - else: - return [x.strip() for x in value.split(',')] - - def _from_list(self, value): - return ','.join(value) - - def _parse_value(self, key, value): - if key in self._transform: - return self._transform[key][0](value) - else: - return value - - def _load(self): - if self.filename is None: - return - - filename = self.library.get_full_path(self.get_path()) +@@ -246,7 +247,7 @@ class Tool(object): if filename is None: return @@ -365,61 +107,7 @@ index adfd943..761337c 100644 in_block = False lang = locale.getlocale(locale.LC_MESSAGES)[0] - for line in fp: - if not in_block: - in_block = line.startswith('# [Gedit Tool]') - continue - if line.startswith('##') or line.startswith('# #'): - continue - if not line.startswith('# '): - break - - try: - (key, value) = [i.strip() for i in line[2:].split('=', 1)] - m = self.RE_KEY.match(key) - if m.group(3) is None: - self._properties[m.group(1)] = self._parse_value(m.group(1), value) - elif lang is not None and lang.startswith(m.group(3)): - self._properties[m.group(1)] = self._parse_value(m.group(1), value) - except ValueError: - break - fp.close() - self.changed = False - - def _set_property_if_changed(self, key, value): - if value != self._properties.get(key): - self._properties[key] = value - - self.changed = True - -@@ -368,141 +369,153 @@ class Tool(object): - def get_save_files(self): - save_files = self._properties.get('Save-files') - if save_files: - return save_files - return 'nothing' - - def set_save_files(self, value): - self._set_property_if_changed('Save-files', value) - - save_files = property(get_save_files, set_save_files) - - def get_languages(self): - languages = self._properties.get('Languages') - if languages: - return languages - return [] - - def set_languages(self, value): - self._set_property_if_changed('Languages', value) - - languages = property(get_languages, set_languages) - - def has_hash_bang(self): - if self.filename is None: - return True - - filename = self.library.get_full_path(self.get_path()) +@@ -395,7 +396,7 @@ class Tool(object): if filename is None: return True @@ -428,15 +116,7 @@ index adfd943..761337c 100644 for line in fp: if line.strip() == '': continue - return line.startswith('#!') - - # There is no property for this one because this function is quite - # expensive to perform - def get_script(self): - if self.filename is None: - return ["#!/bin/sh\n"] - - filename = self.library.get_full_path(self.get_path()) +@@ -411,7 +412,7 @@ class Tool(object): if filename is None: return ["#!/bin/sh\n"] @@ -445,33 +125,7 @@ index adfd943..761337c 100644 lines = list() # before entering the data block - for line in fp: - if line.startswith('# [Gedit Tool]'): - break - lines.append(line) - # in the block: - for line in fp: - if line.startswith('##'): - continue - if not (line.startswith('# ') and '=' in line): - # after the block: strip one emtpy line (if present) - if line.strip() != '': - lines.append(line) - break - # after the block - for line in fp: - lines.append(line) - fp.close() - return lines - - def _dump_properties(self): - lines = ['# [Gedit Tool]'] - for item in self._properties.items(): - if item[0] in self._transform: - lines.append('# %s=%s' % (item[0], self._transform[item[0]][1](item[1]))) - elif item[1] is not None: - lines.append('# %s=%s' % item) - return '\n'.join(lines) + '\n' +@@ -445,7 +446,7 @@ class Tool(object): def save_with_script(self, script): filename = self.library.get_full_path(self.filename, 'w') @@ -480,24 +134,7 @@ index adfd943..761337c 100644 # Make sure to first print header (shebang, modeline), then # properties, and then actual content - header = [] - content = [] - inheader = True - - # Parse - for line in script: - line = line.rstrip("\n") - if not inheader: - content.append(line) - elif line.startswith('#!'): - # Shebang (should be always present) - header.append(line) - elif line.strip().startswith('#') and ('-*-' in line or 'ex:' in line or 'vi:' in line or 'vim:' in line): - header.append(line) - else: - content.append(line) - inheader = False - +@@ -470,12 +471,24 @@ class Tool(object): # Write out header for line in header: fp.write(line + "\n") @@ -525,147 +162,41 @@ index adfd943..761337c 100644 fp.close() os.chmod(filename, 0o750) - self.changed = False - - def save(self): - if self.changed: - self.save_with_script(self.get_script()) - - def autoset_filename(self): - if self.filename is not None: - return - dirname = self.parent.path - if dirname != '': - dirname += os.path.sep - - basename = self.name.lower().replace(' ', '-').replace('/', '-') - - if self.library.get_full_path(dirname + basename): - i = 2 - while self.library.get_full_path(dirname + "%s-%d" % (basename, i)): - i += 1 - basename = "%s-%d" % (basename, i) - self.filename = basename - - if __name__ == '__main__': - library = ToolLibrary() - library.set_locations(os.path.expanduser("~/.config/gedit/tools")) - - def print_tool(t, indent): diff --git a/plugins/pythonconsole/pythonconsole.plugin.desktop.in b/plugins/pythonconsole/pythonconsole.plugin.desktop.in index 21283e8..4309667 100644 --- a/plugins/pythonconsole/pythonconsole.plugin.desktop.in +++ b/plugins/pythonconsole/pythonconsole.plugin.desktop.in -@@ -1,10 +1,10 @@ +@@ -1,5 +1,5 @@ [Plugin] -Loader=python3 +Loader=python Module=pythonconsole IAge=3 _Name=Python Console - _Description=Interactive Python console standing in the bottom panel - Icon=gnome-mime-text-x-python - Authors=Steve Frécinaux - Copyright=Copyright © 2006 Steve Frécinaux - Website=http://www.gedit.org diff --git a/plugins/quickopen/quickopen.plugin.desktop.in b/plugins/quickopen/quickopen.plugin.desktop.in index 68b6faa..17edecc 100644 --- a/plugins/quickopen/quickopen.plugin.desktop.in +++ b/plugins/quickopen/quickopen.plugin.desktop.in -@@ -1,10 +1,10 @@ +@@ -1,5 +1,5 @@ [Plugin] -Loader=python3 +Loader=python Module=quickopen IAge=3 _Name=Quick Open - _Description=Quickly open files - Icon=gtk-open - Authors=Jesse van den Kieboom - Copyright=Copyright © 2009 Jesse van den Kieboom - Website=http://www.gedit.org diff --git a/plugins/quickopen/quickopen/__init__.py b/plugins/quickopen/quickopen/__init__.py -index b8b54b0..f5e179f 100644 +index 7d63126..4f612da 100644 --- a/plugins/quickopen/quickopen/__init__.py +++ b/plugins/quickopen/quickopen/__init__.py -@@ -1,48 +1,49 @@ - # -*- coding: utf-8 -*- - - # Copyright (C) 2009 - Jesse van den Kieboom - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 2 of the License, or - # (at your option) any later version. - # - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # +@@ -15,6 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . - from .popup import Popup +import io import os - from gi.repository import GObject, Gio, GLib, Gtk, Gedit - from .virtualdirs import RecentDocumentsDirectory - from .virtualdirs import CurrentDocumentsDirectory - - class QuickOpenAppActivatable(GObject.Object, Gedit.AppActivatable): - app = GObject.property(type=Gedit.App) - - def __init__(self): - GObject.Object.__init__(self) - - def do_activate(self): - self.app.add_accelerator("O", "win.quickopen", None) - - self.menu_ext = self.extend_menu("file-section") - item = Gio.MenuItem.new(_("Quick Open..."), "win.quickopen") - self.menu_ext.prepend_menu_item(item) - - def do_deactivate(self): - self.app.remove_accelerator("win.quickopen", None) - - - class QuickOpenPlugin(GObject.Object, Gedit.WindowActivatable): - __gtype_name__ = "QuickOpenPlugin" - - window = GObject.property(type=Gedit.Window) - - def __init__(self): - GObject.Object.__init__(self) -@@ -94,88 +95,88 @@ class QuickOpenPlugin(GObject.Object, Gedit.WindowActivatable): - - # Local bookmarks - for path in self._local_bookmarks(): - paths.append(path) - - # Desktop directory - desktopdir = self._desktop_dir() - - if desktopdir: - paths.append(Gio.file_new_for_path(desktopdir)) - - # Home directory - paths.append(Gio.file_new_for_path(os.path.expanduser('~'))) - - self._popup = Popup(self.window, paths, self.on_activated) - self.window.get_group().add_window(self._popup) - - self._popup.set_default_size(*self.get_popup_size()) - self._popup.set_transient_for(self.window) - self._popup.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) - self._popup.connect('destroy', self.on_popup_destroy) - - def _local_bookmarks(self): - filename = os.path.expanduser('~/.config/gtk-3.0/bookmarks') - - if not os.path.isfile(filename): - return [] + import gi +@@ -126,7 +127,7 @@ class QuickOpenPlugin(GObject.Object, Gedit.WindowActivatable): paths = [] @@ -674,26 +205,7 @@ index b8b54b0..f5e179f 100644 uri = line.strip().split(" ")[0] f = Gio.file_new_for_uri(uri) - if f.is_native(): - try: - info = f.query_info(Gio.FILE_ATTRIBUTE_STANDARD_TYPE, - Gio.FileQueryInfoFlags.NONE, - None) - - if info and info.get_file_type() == Gio.FileType.DIRECTORY: - paths.append(f) - except: - pass - - return paths - - def _desktop_dir(self): - config = os.getenv('XDG_CONFIG_HOME') - - if not config: - config = os.path.expanduser('~/.config') - - config = os.path.join(config, 'user-dirs.dirs') +@@ -153,7 +154,7 @@ class QuickOpenPlugin(GObject.Object, Gedit.WindowActivatable): desktopdir = None if os.path.isfile(config): @@ -702,80 +214,22 @@ index b8b54b0..f5e179f 100644 line = line.strip() if line.startswith('XDG_DESKTOP_DIR'): - parts = line.split('=', 1) - desktopdir = parts[1].strip('"').strip("'") - desktopdir = os.path.expandvars(desktopdir) - break - - if not desktopdir: - desktopdir = os.path.expanduser('~/Desktop') - - return desktopdir - - # Callbacks - def on_quick_open_activate(self, action, parameter, user_data=None): - if not self._popup: - self._create_popup() - - self._popup.show() - - def on_popup_destroy(self, popup, user_data=None): - self.set_popup_size(popup.get_final_size()) - - self._popup = None - - def on_activated(self, gfile, user_data=None): - Gedit.commands_load_location(self.window, gfile, None, -1, -1) - return True - - # ex:ts=4:et: diff --git a/plugins/snippets/snippets.plugin.desktop.in b/plugins/snippets/snippets.plugin.desktop.in index 8551b6b..f41a626 100644 --- a/plugins/snippets/snippets.plugin.desktop.in +++ b/plugins/snippets/snippets.plugin.desktop.in -@@ -1,9 +1,9 @@ +@@ -1,5 +1,5 @@ [Plugin] -Loader=python3 +Loader=python Module=snippets IAge=3 _Name=Snippets - _Description=Insert often-used pieces of text in a fast way - Authors=Jesse van den Kieboom - Copyright=Copyright © 2005 Jesse van den Kieboom - Website=http://www.gedit.org diff --git a/plugins/snippets/snippets/helper.py b/plugins/snippets/snippets/helper.py index 2fa3b3f..ee3f3b7 100644 --- a/plugins/snippets/snippets/helper.py +++ b/plugins/snippets/snippets/helper.py -@@ -97,62 +97,65 @@ def write_xml(node, f, cdata_nodes=()): - - # Encoding - f.write("\n") - - _write_node(node, f, cdata_nodes) - - def _write_indent(file, text, indent): - file.write(' ' * indent + text) - - def _write_node(node, file, cdata_nodes=(), indent=0): - # write XML to file - tag = node.tag - - if node is et.Comment: - _write_indent(file, "\n" % saxutils.escape(node.text), indent) - elif node is et.ProcessingInstruction: - _write_indent(file, "\n" % saxutils.escape(node.text), indent) - else: - items = node.items() - - if items or node.text or len(node): - _write_indent(file, "<" + tag, indent) - - if items: - items.sort() # lexical order - for k, v in items: - file.write(" %s=%s" % (k, saxutils.quoteattr(v))) +@@ -124,8 +124,11 @@ def _write_node(node, file, cdata_nodes=(), indent=0): if node.text or len(node): file.write(">") if node.text and node.text.strip() != "": @@ -788,52 +242,11 @@ index 2fa3b3f..ee3f3b7 100644 else: file.write(saxutils.escape(node.text)) else: - file.write("\n") - - for n in node: - _write_node(n, file, cdata_nodes, indent + 1) - - if not len(node): - file.write("\n") - else: - _write_indent(file, "\n", \ - indent) - else: - file.write(" />\n") - - if node.tail and node.tail.strip() != "": - file.write(saxutils.escape(node.tail)) - - def _cdata(text): - return '', ']]]]>') + ']]>' - - def is_tab_trigger(w): - if len(w) == 1 and not (w.isalnum() or w.isspace()): - return True - - if not is_first_tab_trigger_character(w[0]): - return False - - for c in w: diff --git a/plugins/snippets/snippets/library.py b/plugins/snippets/snippets/library.py index 455ac91..1b454f3 100644 --- a/plugins/snippets/snippets/library.py +++ b/plugins/snippets/snippets/library.py -@@ -1,47 +1,48 @@ - # Gedit snippets plugin - # Copyright (C) 2005-2006 Jesse van den Kieboom - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 2 of the License, or - # (at your option) any later version. - # - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # - # You should have received a copy of the GNU General Public License +@@ -15,6 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA @@ -841,61 +254,7 @@ index 455ac91..1b454f3 100644 import os import weakref import sys - import re - - from gi.repository import Gdk, Gtk - - import xml.etree.ElementTree as et - from . import helper - - class NamespacedId: - def __init__(self, namespace, id): - if not id: - self.id = None - else: - if namespace: - self.id = namespace + '-' - else: - self.id = 'global-' - - self.id += id - - class SnippetData: - PROPS = {'tag': '', 'text': '', 'description': 'New snippet', - 'accelerator': '', 'drop-targets': ''} - - def __init__(self, node, library): - self.priv_id = node.attrib.get('id') - - self.set_library(library) -@@ -426,61 +427,61 @@ class SnippetsSystemFile: - - return True - - def _process_element(self, element): - if element.tag == 'snippet': - self._add_snippet(element) - self.insnippet = False - - return True - - def ensure(self): - if not self.ok or self.loaded: - return - - self.load() - - def parse_xml(self, readsize=16384): - if not self.path: - return - - elements = [] - - builder = SnippetsTreeBuilder( \ - lambda node: elements.append((node, True)), \ - lambda node: elements.append((node, False))) - - parser = et.XMLParser(target=builder) +@@ -453,7 +454,7 @@ class SnippetsSystemFile: self.insnippet = False try: @@ -904,60 +263,11 @@ index 455ac91..1b454f3 100644 except IOError: self.ok = False return - - while True: - try: - data = f.read(readsize) - except IOError: - self.ok = False - break - - if not data: - break - - try: - parser.feed(data) - except Exception: - self.ok = False - break - - for element in elements: - yield element - - del elements[:] - - f.close() - - def load(self): - if not self.ok: - return diff --git a/plugins/snippets/snippets/shareddata.py b/plugins/snippets/snippets/shareddata.py index be6fd14..64ffcc4 100644 --- a/plugins/snippets/snippets/shareddata.py +++ b/plugins/snippets/snippets/shareddata.py -@@ -1,56 +1,57 @@ - # Gedit snippets plugin - # Copyright (C) 2011 Jesse van den Kieboom - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 2 of the License, or - # (at your option) any later version. - # - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # - # You should have received a copy of the GNU General Public License - # along with this program; if not, write to the Free Software - # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - from .singleton import Singleton - import os - - from gi.repository import Gtk - +@@ -23,7 +23,8 @@ from gi.repository import Gtk # To register the GeditSnippetsManager type from .manager import Manager @@ -967,54 +277,11 @@ index be6fd14..64ffcc4 100644 def __init__(self): self.dlg = None self.dlg_default_size = None - self.controller_registry = {} - self.windows = {} - - def register_controller(self, view, controller): - self.controller_registry[view] = controller - - def unregister_controller(self, view, controller): - if self.controller_registry[view] == controller: - del self.controller_registry[view] - - def register_window(self, window): - self.windows[window.window] = window - - def unregister_window(self, window): - if window.window in self.windows: - del self.windows[window.window] - - def update_state(self, window): - if window in self.windows: - self.windows[window].do_update_state() - - def get_active_controller(self, window): - view = window.get_active_view() - - if not view or not view in self.controller_registry: - return None - diff --git a/plugins/snippets/snippets/signals.py b/plugins/snippets/snippets/signals.py index 647b616..9aaa95a 100644 --- a/plugins/snippets/snippets/signals.py +++ b/plugins/snippets/snippets/signals.py -@@ -1,50 +1,50 @@ - # -*- coding: utf-8 -*- - # - # signals.py - # - # Copyright (C) 2009 - Jesse van den Kieboom - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation; either version 2 of the License, or - # (at your option) any later version. - # - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # +@@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . @@ -1023,33 +290,6 @@ index 647b616..9aaa95a 100644 def __init__(self): self._signals = {} - def _connect(self, obj, name, handler, connector): - ret = self._signals.setdefault(obj, {}) - - hid = connector(name, handler) - ret.setdefault(name, []).append(hid) - - return hid - - def connect_signal(self, obj, name, handler): - return self._connect(obj, name, handler, obj.connect) - - def connect_signal_after(self, obj, name, handler): - return self._connect(obj, name, handler, obj.connect_after) - - def disconnect_signals(self, obj): - if obj not in self._signals: - return False - - for name in self._signals[obj]: - for hid in self._signals[obj][name]: - obj.disconnect(hid) - - del self._signals[obj] - return True - - def block_signal(self, obj, name): - if obj not in self._signals: -- -2.7.4 +1.8.3.1 diff --git a/SOURCES/ja.po b/SOURCES/ja.po new file mode 100644 index 0000000..cf2c465 --- /dev/null +++ b/SOURCES/ja.po @@ -0,0 +1,3530 @@ +# gedit ja.po. +# Copyright (C) 1999,2000,2002-2013 Free Software Foundation, Inc. +# Akira Higuchi , 1999 +# Yuusuke Tahara +# Yukihiro Nakai +# Akira TAGOH , 2002. +# KAMAGASAKO Masatoshi , 2003. +# Takeshi AIHANA , 2003-2009. +# Satoru SATOH , 2006. +# Hideki Yamane (Debian-JP) , 2009. +# Takayuki KUSANO , 2010-2012. +# Hajime Taira , 2011. +# Jiro Matsuzawa , 2011, 2013, 2014, 2015, 2016. +# kmoriguc , 2017. #zanata +# ljanda , 2017. #zanata +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-16 17:03+0200\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2017-05-22 12:31+0000\n" +"Last-Translator: kmoriguc \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Zanata 4.1.1\n" + +#: ../data/org.gnome.gedit.appdata.xml.in.h:1 +#: ../data/org.gnome.gedit.desktop.in.in.h:2 +msgid "Edit text files" +msgstr "テキスト形式のファイルを編集します" + +#: ../data/org.gnome.gedit.appdata.xml.in.h:2 +msgid "" +"gedit is the official text editor of the GNOME desktop environment. While " +"aiming at simplicity and ease of use, gedit is a powerful general purpose " +"text editor." +msgstr "" +"gedit は GNOME " +"デスクトップ環境の公式テキストエディターです。シンプルさと使いやすさ重視しながらも、強力な編集機能を合わせ持つ汎用テキストエディターです。" + +#: ../data/org.gnome.gedit.appdata.xml.in.h:3 +msgid "" +"Whether you are writing the next bestseller, programming an innovative " +"application, or simply taking some quick notes, gedit will be a reliable " +"tool to accomplish your task." +msgstr "" +"次のベストセラーを書くときも、革新的なアプリケーションをプログラミングするときも、あるいはちょっとしたメモを取るときでも、仕事をしっかりこなすにあたって " +"gedit は頼れる相棒となるでしょう。" + +#: ../data/org.gnome.gedit.appdata.xml.in.h:4 +msgid "" +"Its flexible plugin system allows you to tailor the application to your " +"needs and adapt it to your workflow." +msgstr "gedit は柔軟なプラグインシステムを備えており、あなたのニーズや作業内容に合わせてカスタマイズすることができます。" + +#: ../data/org.gnome.gedit.desktop.in.in.h:1 ../gedit/gedit-print-job.c:730 +msgid "Text Editor" +msgstr "テキストエディター" + +#: ../data/org.gnome.gedit.desktop.in.in.h:3 +msgid "gedit Text Editor" +msgstr "gedit テキストエディター" + +#: ../data/org.gnome.gedit.desktop.in.in.h:4 +msgid "Text;Editor;Plaintext;Write;" +msgstr "Text;Editor;Plaintext;Write;" + +#: ../data/org.gnome.gedit.desktop.in.in.h:5 +msgid "New Window" +msgstr "新しいウィンドウ" + +#: ../data/org.gnome.gedit.desktop.in.in.h:6 +msgid "New Document" +msgstr "新しいドキュメント" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:1 +msgid "Use Default Font" +msgstr "デフォルトのフォントを使う" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:2 +msgid "" +"Whether to use the system's default fixed width font for editing text " +"instead of a font specific to gedit. If this option is turned off, then the " +"font named in the \"Editor Font\" option will be used instead of the system " +"font." +msgstr "" +"gedit " +"で指定したフォントの代わりにシステムのデフォルトフォントを編集で使用するかどうかを指定します。このオプションを無効にした場合は、システムフォントではなく " +"\"エディターのフォント\" オプションで指定したフォントが使用されます。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:3 +msgid "'Monospace 12'" +msgstr "'Monospace 12'" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:4 +msgid "Editor Font" +msgstr "エディターのフォント" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:5 +msgid "" +"A custom font that will be used for the editing area. This will only take " +"effect if the \"Use Default Font\" option is turned off." +msgstr "" +"編集領域で使用するカスタムフォントを指定します。これは \"デフォルトのフォントを使う\" オプションを無効にしている場合にのみ効果があります。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:6 +msgid "Style Scheme" +msgstr "スタイルのスキーム" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:7 +msgid "The ID of a GtkSourceView Style Scheme used to color the text." +msgstr "文字列に色を付ける際に使用する GtkSourceView のスタイルを表すスキームの ID です。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:8 +msgid "Create Backup Copies" +msgstr "パックアップコピーを作成する" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:9 +msgid "Whether gedit should create backup copies for the files it saves." +msgstr "ファイルを保存する時にバックアップコピーを作成するかどうか指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:10 +msgid "Autosave" +msgstr "自動保存" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:11 +msgid "" +"Whether gedit should automatically save modified files after a time interval." +" You can set the time interval with the \"Autosave Interval\" option." +msgstr "指定時間後に変更されたファイルを gedit が自動的に保存するかどうかを指定します。\"自動保存の間隔\" オプションで時間を設定できます。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:12 +msgid "Autosave Interval" +msgstr "自動保存の間隔" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:13 +msgid "" +"Number of minutes after which gedit will automatically save modified files. " +"This will only take effect if the \"Autosave\" option is turned on." +msgstr "" +"変更したファイルを gedit が自動的に保存するまでの時間(分単位)です。これは \"自動保存\" オプションが有効の場合のみ効果があります。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:14 +msgid "Maximum Number of Undo Actions" +msgstr "\"元に戻す\" の最大回数" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:15 +msgid "" +"Maximum number of actions that gedit will be able to undo or redo. Use \"-" +"1\" for unlimited number of actions." +msgstr "gedit で \"元に戻す\" または \"やり直す\" ことができる動作の回数を最大値で指定します (無制限にする場合は \"-1\")。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:16 +msgid "Line Wrapping Mode" +msgstr "行折り返しモード" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:17 +msgid "" +"Specifies how to wrap long lines in the editing area. Use \"none\" for no " +"wrapping, \"word\" for wrapping at word boundaries, and \"char\" for " +"wrapping at individual character boundaries. Note that the values are case-" +"sensitive, so make sure they appear exactly as mentioned here." +msgstr "" +"編集領域内の長い行をどのように折り返すかを指定します。折り返さない場合は \"none\"、単語の境界で折り返す場合は " +"\"word\"、そして文字の境界で折り返す場合は \"char\" " +"を指定します。値は大文字小文字を区別することに注意してください。そしてここで記述したとおりに表示されるか確認してください。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:18 +msgid "Last split mode choice for line wrapping mode" +msgstr "行折り返しモードの直前の設定値" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:19 +msgid "" +"Specifies the last split mode used with line wrapping mode, so that when " +"wrapping mode is off we still remember the split mode choice. Use \"word\" " +"for wrapping at word boundaries, and \"char\" for wrapping at individual " +"character boundaries." +msgstr "" +"行折り返しモードに設定した直前の分割モードを指定します。折り返しモードが OFF " +"になった場合でも分割モードを記憶しておくために使用します。単語の境界で折り返す場合は \"word\"、そして文字の境界で折り返す場合は " +"\"char\" を指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:20 +msgid "Tab Size" +msgstr "タブのサイズ" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:21 +msgid "" +"Specifies the number of spaces that should be displayed instead of Tab " +"characters." +msgstr "タブ文字の代わりに表示されるスペースの数を指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:22 +msgid "Insert spaces" +msgstr "空白の挿入" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:23 +msgid "Whether gedit should insert spaces instead of tabs." +msgstr "タブ文字の代わりに空白文字を使うかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:24 +msgid "Automatic indent" +msgstr "自動インデント" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:25 +msgid "Whether gedit should enable automatic indentation." +msgstr "自動的にインデントするかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:26 +msgid "Display Line Numbers" +msgstr "行番号の表示" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:27 +msgid "Whether gedit should display line numbers in the editing area." +msgstr "編集領域に行番号を表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:28 +msgid "Highlight Current Line" +msgstr "現在の行の強調表示" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:29 +msgid "Whether gedit should highlight the current line." +msgstr "カーソル行を強調表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:30 +msgid "Highlight Matching Brackets" +msgstr "対応するカッコの強調表示" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:31 +msgid "Whether gedit should highlight matching brackets." +msgstr "gedit で対応するカッコを強調表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:32 +msgid "Display Right Margin" +msgstr "右マージンを表示" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:33 +msgid "Whether gedit should display the right margin in the editing area." +msgstr "編集領域に右マージンを表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:34 +msgid "Right Margin Position" +msgstr "右マージンの位置" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:35 +msgid "Specifies the position of the right margin." +msgstr "右マージンの位置を指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:36 +msgid "Display Overview Map" +msgstr "全体像を表示する" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:37 +msgid "Whether gedit should display the overview map for the document." +msgstr "ドキュメントの全体像を表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:38 +msgid "Document background pattern type" +msgstr "ドキュメントの背景パターン種別" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:39 +msgid "Whether the document will get a background pattern painted." +msgstr "ドキュメントの背景に描画するパターンを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:40 +msgid "Smart Home End" +msgstr "スマート [Home]/[End]" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:41 +msgid "" +"Specifies how the cursor moves when the HOME and END keys are pressed. Use " +"\"disabled\" to always move at the start/end of the line, \"after\" to move " +"to the start/end of the line the first time the keys are pressed and to the " +"start/end of the text ignoring whitespaces the second time the keys are " +"pressed, \"before\" to move to the start/end of the text before moving to " +"the start/end of the line and \"always\" to always move to the start/end of " +"the text instead of the start/end of the line." +msgstr "" +"[Home]/[End] キーを押下した時のカーソルの動きを指定します。\"disabled\" を指定すると常に行の先頭/" +"末尾にカーソルを移動し、\"after\" を指定するとキーを初めて押下した時は行の先頭/" +"末尾に移動し二回目に押下したらホワイトスペースを除く文字列の先頭/終端にカーソルを移動し、\"before\" を指定すると行の先頭/" +"末尾に移動する前に一旦文字列の先頭/終端にカーソルを移動し、\"always\" を指定すると行の先頭/末尾ではなく常に文字列の先頭/" +"終端にカーソルを移動します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:42 +msgid "Restore Previous Cursor Position" +msgstr "以前あったカーソル位置に戻す" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:43 +msgid "" +"Whether gedit should restore the previous cursor position when a file is " +"loaded." +msgstr "ファイルを読み込んだ時に記憶していたカーソル位置に戻すかどうか指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:44 +msgid "Enable Syntax Highlighting" +msgstr "構文の強調表示を有効にする" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:45 +msgid "Whether gedit should enable syntax highlighting." +msgstr "構文の強調表示を有効にするかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:46 +msgid "Enable Search Highlighting" +msgstr "検索時の強調表示を有効にする" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:47 +msgid "" +"Whether gedit should highlight all the occurrences of the searched text." +msgstr "検索する時に一致した文字列をすべて強調表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:48 +msgid "Ensure Trailing Newline" +msgstr "最後は必ず改行" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:49 +msgid "" +"Whether gedit will ensure that documents always end with a trailing newline." +msgstr "ドキュメントの最後は必ず改行になるようにするかどうか。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:50 +msgid "Toolbar is Visible" +msgstr "ツールバーの表示可否" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:51 +msgid "Whether the toolbar should be visible in editing windows." +msgstr "編集ウィンドウの中にツールバーを表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:52 +msgid "Notebook Show Tabs Mode" +msgstr "ノートブックをタブモードで表示" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:53 +msgid "" +"Specifies when to show the notebook tabs. Use \"never\" to never show the " +"tabs, \"always\" to always show the tabs, and \"auto\" to show the tabs only " +"when there is more than one tab. Note that the values are case-sensitive, so " +"make sure they appear exactly as mentioned here." +msgstr "" +"タブ形式表示を制御するために指定します。タブを一切表示しない場合は \"never\"、常に表示する場合は \"always\"、2 " +"つ以上タブが必要になるときのみ表示する場合は \"auto\" " +"を使います。値は大文字小文字を区別することに注意してください。そしてここで記述したとおりに表示されるか確認してください。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:54 +msgid "Status Bar is Visible" +msgstr "ステータスバーの表示" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:55 +msgid "" +"Whether the status bar at the bottom of editing windows should be visible." +msgstr "編集ウィンドウの下側にステータスバーを表示するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:56 +msgid "Side panel is Visible" +msgstr "サイドパネルを表示します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:57 +msgid "" +"Whether the side panel at the left of editing windows should be visible." +msgstr "編集ウィンドウの左側にサイドパネルを表示するかどうかです。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:58 +msgid "Maximum Recent Files" +msgstr "\"最近使ったファイル\" に表示する最大数" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:59 +msgid "" +"Specifies the maximum number of recently opened files that will be displayed " +"in the \"Recent Files\" submenu." +msgstr "\"最近使ったファイル\" のサブメニューに表示するエントリの最大数を指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:60 +msgid "Print Syntax Highlighting" +msgstr "強調表示の印刷" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:61 +msgid "" +"Whether gedit should print syntax highlighting when printing documents." +msgstr "ドキュメントを印刷する際に構文の強調表示も印刷するかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:62 +msgid "Print Header" +msgstr "ヘッダーの印刷" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:63 +msgid "" +"Whether gedit should include a document header when printing documents." +msgstr "ドキュメントを印刷する際にヘッダーを含めるかどうかを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:64 +msgid "Printing Line Wrapping Mode" +msgstr "印刷時の行の折り返しモード" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:65 +msgid "" +"Specifies how to wrap long lines for printing. Use \"none\" for no wrapping, " +"\"word\" for wrapping at word boundaries, and \"char\" for wrapping at " +"individual character boundaries. Note that the values are case-sensitive, so " +"make sure they appear exactly as mentioned here." +msgstr "" +"印刷する際に長い行をどのように折り返すかを指定します。折り返さない場合は \"none\"、単語の境界で折り返す場合は " +"\"word\"、そして文字の境界で折り返す場合は \"char\" " +"を使います。値は大文字小文字を区別することに注意してください。そしてここで記述したとおりに印刷されるか確認してください。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:66 +msgid "Print Line Numbers" +msgstr "行番号の印刷" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:67 +msgid "" +"If this value is 0, then no line numbers will be inserted when printing a " +"document. Otherwise, gedit will print line numbers every such number of " +"lines." +msgstr "この値が 0 の場合はドキュメントを印刷する時に行番号を挿入しません。それ以外の場合は gedit は行番号を印刷します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:68 +msgid "'Monospace 9'" +msgstr "'Monospace 9'" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:69 +msgid "Body Font for Printing" +msgstr "印刷時の本文に使われるフォント" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:70 +msgid "" +"Specifies the font to use for a document's body when printing documents." +msgstr "ドキュメントを印刷する際の本文に使用するフォントを指定します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:71 +msgid "'Sans 11'" +msgstr "'Sans 11'" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:72 +msgid "Header Font for Printing" +msgstr "印刷時のヘッダーに使用するフォント" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:73 +msgid "" +"Specifies the font to use for page headers when printing a document. This " +"will only take effect if the \"Print Header\" option is turned on." +msgstr "" +"ドキュメントを印刷する際のページヘッダーに使用するフォントを指定します。これは \"ヘッダーの印刷\" オプションが有効の場合のみ効果があります。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:74 +msgid "'Sans 8'" +msgstr "'Sans 8'" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:75 +msgid "Line Number Font for Printing" +msgstr "印刷時の行番号に使用するフォント" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:76 +msgid "" +"Specifies the font to use for line numbers when printing. This will only " +"take effect if the \"Print Line Numbers\" option is non-zero." +msgstr "印刷する際の行番号に使用するフォントを指定します。これは \"行番号の印刷\" オプションが 0 以外の場合のみ効果があります。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:77 +msgid "Margin Left" +msgstr "左マージン" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:78 +msgid "The left margin, in millimeters." +msgstr "左マージン (ミリメートル単位)" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:79 +msgid "Margin Top" +msgstr "上マージン" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:80 +msgid "The top margin, in millimeters." +msgstr "上マージン (ミリメートル単位)" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:81 +msgid "Margin Right" +msgstr "右マージン" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:82 +msgid "The right margin, in millimeters." +msgstr "右マージン (ミリメートル単位)" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:83 +msgid "Margin Bottom" +msgstr "下マージン" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:84 +msgid "The bottom margin, in millimeters." +msgstr "下マージン (ミリメートル単位)" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:85 +msgid "Candidate Encodings" +msgstr "文字エンコーディング" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:86 +msgid "" +"List of candidate encodings shown in the Character Encoding menu in the open/" +"save file chooser. \"CURRENT\" represents the current locale encoding. Only " +"recognized encodings are used. The default value is the empty list, in which " +"case gedit will choose good defaults depending on the country and language." +msgstr "" +"開く/保存のファイル選択ダイアログの文字エンコーディングメニューに表示されるエンコーディング候補のリストです。\"CURRENT\" " +"は、現在使用しているロケールを表します。認識可能なエンコーディングのみ有効です。デフォルト値は空のリストです。この場合、gedit " +"は、国や地域、言語に応じた最適なエンコーディング一覧を選択します。" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:87 +msgid "Active plugins" +msgstr "利用可能なプラグイン" + +#: ../data/org.gnome.gedit.gschema.xml.in.h:88 +msgid "" +"List of active plugins. It contains the \"Location\" of the active plugins. " +"See the .gedit-plugin file for obtaining the \"Location\" of a given plugin." +msgstr "" +"利用可能なプラグインの一覧です。プラグインの \"場所\" が含まれます。指定したプラグインの \"場所\" を得るには .gedit-plugin " +"ファイルを参照してください。" + +#: ../gedit/gedit-app.c:110 +msgid "Show the application's version" +msgstr "バージョンを表示する" + +#: ../gedit/gedit-app.c:116 +msgid "Display list of possible values for the encoding option" +msgstr "利用可能なエンコーディングオプションの値一覧を表示する" + +#: ../gedit/gedit-app.c:123 +msgid "" +"Set the character encoding to be used to open the files listed on the " +"command line" +msgstr "オープンするファイルで使用する文字エンコーディングをセットする" + +#: ../gedit/gedit-app.c:124 +msgid "ENCODING" +msgstr "ENCODING" + +#: ../gedit/gedit-app.c:130 +msgid "Create a new top-level window in an existing instance of gedit" +msgstr "既に実行中の gedit で新しいトップレベルウィンドウを作成する" + +#: ../gedit/gedit-app.c:137 +msgid "Create a new document in an existing instance of gedit" +msgstr "既に実行中の gedit に新しいドキュメントを作成する" + +#: ../gedit/gedit-app.c:144 +msgid "Open files and block process until files are closed" +msgstr "ファイルを開き、ファイルが閉じられるまでブロックする処理を行う" + +#: ../gedit/gedit-app.c:151 +msgid "Run gedit in standalone mode" +msgstr "geditをスタンドアローンモードで動かす" + +#: ../gedit/gedit-app.c:158 +msgid "[FILE...] [+LINE[:COLUMN]]" +msgstr "[FILE...] [+LINE[:COLUMN]]" + +#: ../gedit/gedit-app.c:273 +msgid "There was an error displaying the help." +msgstr "ヘルプを表示する際にエラーが発生しました。" + +#: ../gedit/gedit-app.c:967 +#, c-format +msgid "%s: invalid encoding." +msgstr "%s: 指定したエンコーディングは無効です。" + +#: ../gedit/gedit-close-confirmation-dialog.c:277 +msgid "Close _without Saving" +msgstr "保存せずに閉じる(_W)" + +#: ../gedit/gedit-close-confirmation-dialog.c:278 +#: ../gedit/gedit-commands-file.c:462 ../gedit/gedit-commands-file.c:567 +#: ../gedit/gedit-commands-file.c:643 ../gedit/gedit-commands-file.c:854 +#: ../gedit/gedit-commands-file.c:1568 ../gedit/gedit-encodings-dialog.c:194 +#: ../gedit/gedit-io-error-info-bar.c:130 +#: ../gedit/gedit-io-error-info-bar.c:511 +#: ../gedit/gedit-preferences-dialog.c:825 +#: ../gedit/gedit-progress-info-bar.c:49 +#: ../gedit/resources/ui/gedit-encodings-dialog.ui.h:2 +#: ../gedit/resources/ui/gedit-highlight-mode-dialog.ui.h:2 +#: ../plugins/filebrowser/gedit-file-browser-utils.c:170 +#: ../plugins/quickopen/quickopen/popup.py:38 +#: ../plugins/snippets/snippets/manager.py:781 +#: ../plugins/snippets/snippets/manager.py:866 +#: ../plugins/snippets/snippets/manager.py:904 +#: ../plugins/sort/resources/ui/gedit-sort-plugin.ui.h:6 +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:8 +msgid "_Cancel" +msgstr "キャンセル(_C)" + +#: ../gedit/gedit-close-confirmation-dialog.c:306 +#: ../gedit/resources/gtk/menus.ui.h:10 +#: ../gedit/resources/gtk/menus-traditional.ui.h:4 +msgid "_Save As…" +msgstr "名前を付けて保存(_S)…" + +#: ../gedit/gedit-close-confirmation-dialog.c:306 +#: ../gedit/gedit-commands-file.c:855 +#: ../gedit/resources/gtk/menus-common.ui.h:18 +#: ../gedit/resources/ui/gedit-window.ui.h:7 +#: ../plugins/snippets/snippets/manager.py:867 +#: ../plugins/snippets/snippets/manager.py:905 +msgid "_Save" +msgstr "保存(_S)" + +#: ../gedit/gedit-close-confirmation-dialog.c:324 +#, c-format +msgid "" +"If you don't save, changes from the last %ld second will be permanently lost." +"" +msgid_plural "" +"If you don't save, changes from the last %ld seconds will be permanently " +"lost." +msgstr[0] "保存しないと、%ld秒前からの変更内容が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:333 +msgid "" +"If you don't save, changes from the last minute will be permanently lost." +msgstr "保存しないと、1分前からの変更内容が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:339 +#, c-format +msgid "" +"If you don't save, changes from the last minute and %ld second will be " +"permanently lost." +msgid_plural "" +"If you don't save, changes from the last minute and %ld seconds will be " +"permanently lost." +msgstr[0] "保存しないと、1分 %ld秒前からの変更内容が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:349 +#, c-format +msgid "" +"If you don't save, changes from the last %ld minute will be permanently lost." +"" +msgid_plural "" +"If you don't save, changes from the last %ld minutes will be permanently " +"lost." +msgstr[0] "保存しないと、%ld分前からの変更内容が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:364 +msgid "" +"If you don't save, changes from the last hour will be permanently lost." +msgstr "保存しないと、1時間前からの変更内容が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:370 +#, c-format +msgid "" +"If you don't save, changes from the last hour and %d minute will be " +"permanently lost." +msgid_plural "" +"If you don't save, changes from the last hour and %d minutes will be " +"permanently lost." +msgstr[0] "保存しないと、1時間 %d分前からの変更内容が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:385 +#, c-format +msgid "" +"If you don't save, changes from the last %d hour will be permanently lost." +msgid_plural "" +"If you don't save, changes from the last %d hours will be permanently lost." +msgstr[0] "保存しないと、%d時間前からの変更内容が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:414 +#, c-format +msgid "Changes to document “%s” will be permanently lost." +msgstr "ドキュメント“%s”への変更が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:419 +#, c-format +msgid "Save changes to document “%s” before closing?" +msgstr "ドキュメント“%s”で変更した内容を閉じる前に保存しますか?" + +#: ../gedit/gedit-close-confirmation-dialog.c:434 +#: ../gedit/gedit-close-confirmation-dialog.c:558 +msgid "Saving has been disabled by the system administrator." +msgstr "システム管理者によってファイルの保存が利用できなくなっています。" + +#: ../gedit/gedit-close-confirmation-dialog.c:500 +#, c-format +msgid "Changes to %d document will be permanently lost." +msgid_plural "Changes to %d documents will be permanently lost." +msgstr[0] "%d個のドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-close-confirmation-dialog.c:508 +#, c-format +msgid "" +"There is %d document with unsaved changes. Save changes before closing?" +msgid_plural "" +"There are %d documents with unsaved changes. Save changes before closing?" +msgstr[0] "まだ保存していないドキュメントが %d個あります。閉じる前にそれらを保存しますか?" + +#: ../gedit/gedit-close-confirmation-dialog.c:534 +msgid "Docum_ents with unsaved changes:" +msgstr "まだ保存していない変更点を含むドキュメント(_E):" + +#: ../gedit/gedit-close-confirmation-dialog.c:538 +msgid "S_elect the documents you want to save:" +msgstr "保存するドキュメントを選択してください(_E):" + +#: ../gedit/gedit-close-confirmation-dialog.c:562 +msgid "If you don't save, all your changes will be permanently lost." +msgstr "保存しないと変更した内容が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:261 +#, c-format +msgid "Loading file '%s'…" +msgstr "ファイル '%s' を読み込んでいます…" + +#: ../gedit/gedit-commands-file.c:270 +#, c-format +msgid "Loading %d file…" +msgid_plural "Loading %d files…" +msgstr[0] "%d 個のファイルを読み込んでいます…" + +#. Translators: "Open" is the title of the file chooser window. +#: ../gedit/gedit-commands-file.c:456 +msgctxt "window title" +msgid "Open" +msgstr "開く" + +#: ../gedit/gedit-commands-file.c:463 +#: ../gedit/resources/gtk/menus-common.ui.h:15 +#: ../gedit/resources/ui/gedit-window.ui.h:3 +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:1 +#: ../plugins/quickopen/quickopen/popup.py:39 +#: ../plugins/snippets/snippets/manager.py:782 +msgid "_Open" +msgstr "開く(_O)" + +#: ../gedit/gedit-commands-file.c:558 +#, c-format +msgid "The file \"%s\" is read-only." +msgstr "ファイル \"%s\" は読み込み専用です。" + +#: ../gedit/gedit-commands-file.c:563 +msgid "Do you want to try to replace it with the one you are saving?" +msgstr "このファイルで上書きしてみますか?" + +#: ../gedit/gedit-commands-file.c:568 +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:4 +msgid "_Replace" +msgstr "置換(_R)" + +#: ../gedit/gedit-commands-file.c:608 +msgid "Save the file using compression?" +msgstr "ファイルを保存する時に圧縮をかけますか?" + +#: ../gedit/gedit-commands-file.c:612 +msgid "Save the file as plain text?" +msgstr "ファイルをプレーンテキストで保存しますか?" + +#: ../gedit/gedit-commands-file.c:625 +#, c-format +msgid "" +"The file \"%s\" was previously saved as plain text and will now be saved " +"using compression." +msgstr "ファイル %s は以前プレーンテキストで保存されていましたが、今回は圧縮をかけて保存しました。" + +#: ../gedit/gedit-commands-file.c:629 +msgid "_Save Using Compression" +msgstr "圧縮をかけて保存(_S)" + +#: ../gedit/gedit-commands-file.c:634 +#, c-format +msgid "" +"The file \"%s\" was previously saved using compression and will now be saved " +"as plain text." +msgstr "ファイル \"%s\" は圧縮されていますが、プレーンテキストとして保存しなおします。" + +#: ../gedit/gedit-commands-file.c:637 +msgid "_Save As Plain Text" +msgstr "プレーンテキストで保存(_S)" + +#: ../gedit/gedit-commands-file.c:752 ../gedit/gedit-commands-file.c:1019 +#, c-format +msgid "Saving file '%s'…" +msgstr "ファイル \"%s\" を保存しています…" + +#. Translators: "Save As" is the title of the file chooser window. +#: ../gedit/gedit-commands-file.c:847 +msgctxt "window title" +msgid "Save As" +msgstr "名前を付けて保存" + +#: ../gedit/gedit-commands-file.c:1429 +#, c-format +msgid "Reverting the document '%s'…" +msgstr "ドキュメント '%s' を戻しています…" + +#: ../gedit/gedit-commands-file.c:1476 +#, c-format +msgid "Revert unsaved changes to document '%s'?" +msgstr "変更部分を保存しないで、元のドキュメント '%s' に戻しますか?" + +#: ../gedit/gedit-commands-file.c:1485 +#, c-format +msgid "" +"Changes made to the document in the last %ld second will be permanently lost." +"" +msgid_plural "" +"Changes made to the document in the last %ld seconds will be permanently " +"lost." +msgstr[0] "%ld秒前に編集したドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:1494 +msgid "" +"Changes made to the document in the last minute will be permanently lost." +msgstr "1分前に編集したドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:1500 +#, c-format +msgid "" +"Changes made to the document in the last minute and %ld second will be " +"permanently lost." +msgid_plural "" +"Changes made to the document in the last minute and %ld seconds will be " +"permanently lost." +msgstr[0] "1分 %ld秒前に編集したドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:1510 +#, c-format +msgid "" +"Changes made to the document in the last %ld minute will be permanently lost." +"" +msgid_plural "" +"Changes made to the document in the last %ld minutes will be permanently " +"lost." +msgstr[0] "%ld分前に編集したドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:1525 +msgid "" +"Changes made to the document in the last hour will be permanently lost." +msgstr "1時間前に編集したドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:1531 +#, c-format +msgid "" +"Changes made to the document in the last hour and %d minute will be " +"permanently lost." +msgid_plural "" +"Changes made to the document in the last hour and %d minutes will be " +"permanently lost." +msgstr[0] "1時間 %d分前に編集したドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:1546 +#, c-format +msgid "" +"Changes made to the document in the last %d hour will be permanently lost." +msgid_plural "" +"Changes made to the document in the last %d hours will be permanently lost." +msgstr[0] "%d時間前に編集したドキュメントへの変更が完全に失われます。" + +#: ../gedit/gedit-commands-file.c:1569 +msgid "_Revert" +msgstr "戻す(_R)" + +#: ../gedit/gedit-commands-help.c:110 +msgid "gedit is a small and lightweight text editor for the GNOME Desktop" +msgstr "gedit は GNOME デスクトップ用に作られた小型軽量のテキストエディターです。" + +#: ../gedit/gedit-commands-help.c:132 +msgid "translator-credits" +msgstr "" +"相花 毅 \n" +"佐藤 暁 \n" +"KAMAGASAKO Masatoshi \n" +"Akira TAGOH \n" +"Yukihiro Nakai \n" +"Yuusuke Tahara \n" +"Akira Higuchi \n" +"やまね ひでき \n" +"草野 貴之 \n" +"松澤 二郎 \n" +"日本GNOMEユーザー会 http://www.gnome.gr.jp/" + +#: ../gedit/gedit-commands-search.c:107 +#, c-format +msgid "Found and replaced %d occurrence" +msgid_plural "Found and replaced %d occurrences" +msgstr[0] "%d ヶ所で検索と置換を行いました。" + +#: ../gedit/gedit-commands-search.c:116 +msgid "Found and replaced one occurrence" +msgstr "1 ヶ所で検索と置換を行いました。" + +#. Translators: %s is replaced by the text +#. entered by the user in the search box +#: ../gedit/gedit-commands-search.c:142 +#, c-format +msgid "\"%s\" not found" +msgstr "\"%s\" は見つかりませんでした" + +#: ../gedit/gedit-document.c:1103 ../gedit/gedit-document.c:1136 +#, c-format +msgid "Untitled Document %d" +msgstr "無題のドキュメント %d" + +#: ../gedit/gedit-documents-panel.c:399 +#, c-format +msgid "Tab Group %i" +msgstr "新しいタブグループ %i" + +#: ../gedit/gedit-documents-panel.c:499 ../gedit/gedit-window.c:1161 +#: ../gedit/gedit-window.c:1167 ../gedit/gedit-window.c:1175 +msgid "Read-Only" +msgstr "読み込み専用" + +#: ../gedit/gedit-encodings-combo-box.c:299 +#: ../gedit/gedit-file-chooser-dialog-osx.c:565 +msgid "Automatically Detected" +msgstr "自動検出" + +#: ../gedit/gedit-encodings-combo-box.c:328 +#: ../gedit/gedit-file-chooser-dialog-osx.c:574 +msgid "Add or Remove..." +msgstr "追加と削除..." + +#: ../gedit/gedit-encoding-items.c:92 +#, c-format +msgid "Current Locale (%s)" +msgstr "現在のロケール (%s)" + +#: ../gedit/gedit-encodings-dialog.c:95 +#, c-format +msgid "%s (Current Locale)" +msgstr "%s (現在のロケール)" + +#: ../gedit/gedit-encodings-dialog.c:190 +msgid "Do you really want to reset the character encodings' preferences?" +msgstr "文字エンコーディング設定をリセットしてもよろしいですか?" + +#. Reset button +#: ../gedit/gedit-encodings-dialog.c:195 ../gedit/gedit-encodings-dialog.c:820 +msgid "_Reset" +msgstr "リセット(_R)" + +#: ../gedit/gedit-encodings-dialog.c:731 +msgid "Add" +msgstr "追加" + +#: ../gedit/gedit-encodings-dialog.c:774 +msgid "Remove" +msgstr "削除" + +#: ../gedit/gedit-encodings-dialog.c:785 +msgid "Move to a higher priority" +msgstr "優先度を上げる" + +#: ../gedit/gedit-encodings-dialog.c:796 +msgid "Move to a lower priority" +msgstr "優先度を下げる" + +#: ../gedit/gedit-file-chooser-dialog-gtk.c:41 +#: ../gedit/gedit-preferences-dialog.c:834 +msgid "All Files" +msgstr "すべてのファイル" + +#: ../gedit/gedit-file-chooser-dialog-gtk.c:42 +msgid "All Text Files" +msgstr "すべてのテキストファイル" + +#: ../gedit/gedit-file-chooser-dialog-gtk.c:307 +msgid "C_haracter Encoding:" +msgstr "文字エンコーディング(_H):" + +#: ../gedit/gedit-file-chooser-dialog-gtk.c:366 +msgid "L_ine Ending:" +msgstr "改行文字(_I):" + +#: ../gedit/gedit-file-chooser-dialog-osx.c:547 +msgid "Character Encoding:" +msgstr "文字エンコーディング:" + +#: ../gedit/gedit-file-chooser-dialog-osx.c:620 +msgid "Line Ending:" +msgstr "改行文字:" + +#: ../gedit/gedit-highlight-mode-selector.c:269 ../gedit/gedit-window.c:1245 +#: ../plugins/externaltools/tools/manager.py:108 +#: ../plugins/externaltools/tools/manager.py:317 +#: ../plugins/externaltools/tools/manager.py:433 +#: ../plugins/externaltools/tools/manager.py:767 +msgid "Plain Text" +msgstr "なし" + +#: ../gedit/gedit-io-error-info-bar.c:143 +#: ../gedit/gedit-io-error-info-bar.c:491 +msgid "_Retry" +msgstr "再試行(_R)" + +#: ../gedit/gedit-io-error-info-bar.c:163 +#, c-format +msgid "Could not find the file “%s”." +msgstr "ファイル“%s”が見つかりませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:165 +#: ../gedit/gedit-io-error-info-bar.c:205 +#: ../gedit/gedit-io-error-info-bar.c:212 +msgid "Please check that you typed the location correctly and try again." +msgstr "入力した場所が正しいか確認して、もう一度実行してみてください。" + +#. Translators: %s is a URI scheme (like for example http:, ftp:, etc.) +#: ../gedit/gedit-io-error-info-bar.c:184 +#, c-format +msgid "Unable to handle “%s:” locations." +msgstr "場所“%s:”を処理できません。" + +#: ../gedit/gedit-io-error-info-bar.c:190 +msgid "Unable to handle this location." +msgstr "この場所を処理できません。" + +#: ../gedit/gedit-io-error-info-bar.c:199 +msgid "The location of the file cannot be accessed." +msgstr "ファイルが格納されている場所にアクセスできません。" + +#: ../gedit/gedit-io-error-info-bar.c:203 +#, c-format +msgid "“%s” is a directory." +msgstr "“%s”はフォルダーです。" + +#: ../gedit/gedit-io-error-info-bar.c:210 +#, c-format +msgid "“%s” is not a valid location." +msgstr "“%s”は適切な場所ではありません" + +#: ../gedit/gedit-io-error-info-bar.c:246 +#, c-format +msgid "" +"Host “%s” could not be found. Please check that your proxy settings are " +"correct and try again." +msgstr "ホスト“%s”が見つかりませんでした。プロキシの設定が正しいか確認して、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:261 +#, c-format +msgid "" +"Hostname was invalid. Please check that you typed the location correctly and " +"try again." +msgstr "ホスト名が間違っています。入力した場所が正しいか確認して、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:269 +#, c-format +msgid "“%s” is not a regular file." +msgstr "“%s”は通常のファイルではありません。" + +#: ../gedit/gedit-io-error-info-bar.c:274 +msgid "Connection timed out. Please try again." +msgstr "接続がタイムアウトしたので、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:307 +#, c-format +msgid "Unexpected error: %s" +msgstr "原因不明のエラー: %s" + +#: ../gedit/gedit-io-error-info-bar.c:343 +msgid "Cannot find the requested file. Perhaps it has recently been deleted." +msgstr "ファイルが見つかりません。少し前に削除された可能性があります。" + +#: ../gedit/gedit-io-error-info-bar.c:353 +#, c-format +msgid "Could not revert the file “%s”." +msgstr "ファイル“%s”を元に戻せませんでした" + +#: ../gedit/gedit-io-error-info-bar.c:380 +msgid "Ch_aracter Encoding:" +msgstr "エンコーディング(_A):" + +#: ../gedit/gedit-io-error-info-bar.c:441 +#, c-format +msgid "The location “%s” is not currently reachable." +msgstr "“%s”に現在アクセスできません。" + +#: ../gedit/gedit-io-error-info-bar.c:456 +msgid "Your system is offline. Check your network." +msgstr "お使いのシステムは現在オフラインです。ネットワーク接続を確認してください。" + +#. Translators: the access key chosen for this string should be +#. different from other main menu access keys (Open, Edit, View...) +#: ../gedit/gedit-io-error-info-bar.c:499 +#: ../gedit/gedit-io-error-info-bar.c:768 +msgid "Edit Any_way" +msgstr "強制的に編集する(_W)" + +#: ../gedit/gedit-io-error-info-bar.c:591 +msgid "" +"The number of followed links is limited and the actual file could not be " +"found within this limit." +msgstr "リンクの数が制限され、実際のファイルがこの制限内に見つけることができませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:595 +msgid "You do not have the permissions necessary to open the file." +msgstr "そのファイルを開く権限がありません。" + +#: ../gedit/gedit-io-error-info-bar.c:601 +msgid "Unable to detect the character encoding." +msgstr "文字のエンコーディングを検出できませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:602 +#: ../gedit/gedit-io-error-info-bar.c:626 +msgid "Please check that you are not trying to open a binary file." +msgstr "バイナリファイルを開こうとしていないか確認してください。" + +#: ../gedit/gedit-io-error-info-bar.c:603 +msgid "Select a character encoding from the menu and try again." +msgstr "メニューから文字エンコーディングを選択して、もう一度実行してください。" + +#: ../gedit/gedit-io-error-info-bar.c:609 +#, c-format +msgid "There was a problem opening the file “%s”." +msgstr "ファイル“%s”を開く際にエラーが発生しました。" + +#: ../gedit/gedit-io-error-info-bar.c:611 +msgid "" +"The file you opened has some invalid characters. If you continue editing " +"this file you could corrupt this document." +msgstr "開いたファイルに正しくない文字が含まれています。このファイルを編集し続けると、この文書が壊れてしまうかもしれません。" + +#: ../gedit/gedit-io-error-info-bar.c:614 +msgid "You can also choose another character encoding and try again." +msgstr "メニューから文字エンコーディングを選択して、もう一度実行してください。" + +#: ../gedit/gedit-io-error-info-bar.c:623 +#, c-format +msgid "Could not open the file “%s” using the “%s” character encoding." +msgstr "ファイル“%s”を文字エンコーディング“%s”で開けませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:627 +#: ../gedit/gedit-io-error-info-bar.c:702 +msgid "Select a different character encoding from the menu and try again." +msgstr "メニューから別の文字エンコーディングを選択して、もう一度実行してください。" + +#: ../gedit/gedit-io-error-info-bar.c:639 +#, c-format +msgid "Could not open the file “%s”." +msgstr "ファイル“%s”を開けませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:697 +#, c-format +msgid "Could not save the file “%s” using the “%s” character encoding." +msgstr "ファイル“%s”を文字エンコーディング“%s”で保存できませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:700 +msgid "" +"The document contains one or more characters that cannot be encoded using " +"the specified character encoding." +msgstr "そのドキュメントには、指定した文字エンコーディングで表せない文字が一つ以上含まれています。" + +#. Translators: the access key chosen for this string should be +#. different from other main menu access keys (Open, Edit, View...) +#: ../gedit/gedit-io-error-info-bar.c:773 +msgid "D_on't Edit" +msgstr "編集しない(_O)" + +#: ../gedit/gedit-io-error-info-bar.c:783 +#, c-format +msgid "This file “%s” is already open in another window." +msgstr "このファイル“%s”は既に別の gedit ウィンドウで開いています。" + +#: ../gedit/gedit-io-error-info-bar.c:797 +msgid "Do you want to edit it anyway?" +msgstr "とにかく編集しますか?" + +#: ../gedit/gedit-io-error-info-bar.c:853 +#: ../gedit/gedit-io-error-info-bar.c:943 +#: ../gedit/gedit-io-error-info-bar.c:1235 +msgid "S_ave Anyway" +msgstr "とにかく保存する(_A)" + +#: ../gedit/gedit-io-error-info-bar.c:856 +#: ../gedit/gedit-io-error-info-bar.c:946 +#: ../gedit/gedit-io-error-info-bar.c:1238 +msgid "D_on't Save" +msgstr "保存しない(_O)" + +#. FIXME: review this message, it's not clear since for the user the "modification" +#. * could be interpreted as the changes he made in the document. beside "reading" is +#. * not accurate (since last load/save) +#. +#: ../gedit/gedit-io-error-info-bar.c:870 +#, c-format +msgid "The file “%s” has been modified since reading it." +msgstr "ファイル“%s”は、読み込んだあとにアプリケーションの外部から内容が書き換えられました。" + +#: ../gedit/gedit-io-error-info-bar.c:885 +msgid "" +"If you save it, all the external changes could be lost. Save it anyway?" +msgstr "このファイルを保存すると外部からの変更はすべて失われます。強制的に保存しますか?" + +#: ../gedit/gedit-io-error-info-bar.c:965 +#, c-format +msgid "Could not create a backup file while saving “%s”" +msgstr "“%s”を保存する際にバックアップファイルを作成できませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:970 +#, c-format +msgid "Could not create a temporary backup file while saving “%s”" +msgstr "“%s”を保存する際に作業用のバックアップファイルを作成できませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:987 +msgid "" +"Could not back up the old copy of the file before saving the new one. You " +"can ignore this warning and save the file anyway, but if an error occurs " +"while saving, you could lose the old copy of the file. Save anyway?" +msgstr "" +"新しいファイルを保存する前に古いファイルのバックアップファイルを作成することはできません。この警告を無視してファイルを強制的に保存することは可能ですが、保存中にエラーが発生すると古いファイルの内容を失う可能性があります。とにかく保存しますか?" + +#. Translators: %s is a URI scheme (like for example http:, ftp:, etc.) +#: ../gedit/gedit-io-error-info-bar.c:1047 +#, c-format +msgid "" +"Cannot handle “%s:” locations in write mode. Please check that you typed the " +"location correctly and try again." +msgstr "場所“%s:”へ書き込めません。入力した場所が正しいことを確認して、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1055 +msgid "" +"Cannot handle this location in write mode. Please check that you typed the " +"location correctly and try again." +msgstr "この場所へ書き込めません。入力した場所が正しいことを確認して、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1064 +#, c-format +msgid "" +"“%s” is not a valid location. Please check that you typed the location " +"correctly and try again." +msgstr "場所“%s”が間違っています。入力した場所が正しいことを確認して、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1071 +msgid "" +"You do not have the permissions necessary to save the file. Please check " +"that you typed the location correctly and try again." +msgstr "そのファイルを保存するために必要な権限がありません。入力した場所が正しいか確認して、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1077 +msgid "" +"There is not enough disk space to save the file. Please free some disk space " +"and try again." +msgstr "そのファイルを保存するのに十分な空き容量がありません。空き容量を増やしてから、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1082 +msgid "" +"You are trying to save the file on a read-only disk. Please check that you " +"typed the location correctly and try again." +msgstr "読み込み専用のディスクにファイルを保存しようとしています。入力した場所が正しいか確認して、もう一度実行してみてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1088 +msgid "A file with the same name already exists. Please use a different name." +msgstr "同名のファイルが存在します。別の名前にしてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1093 +msgid "" +"The disk where you are trying to save the file has a limitation on length of " +"the file names. Please use a shorter name." +msgstr "保存先のディスクには指定できるファイル名の長さに制限があります。もっと短いファイル名にしてください。" + +#: ../gedit/gedit-io-error-info-bar.c:1104 +msgid "" +"The disk where you are trying to save the file has a limitation on file " +"sizes. Please try saving a smaller file or saving it to a disk that does not " +"have this limitation." +msgstr "保存先のディスクにはファイルサイズの制限があります。小さいファイルを保存するか、この制限のないディスクに保存してください。" + +#: ../gedit/gedit-io-error-info-bar.c:1121 +#, c-format +msgid "Could not save the file “%s”." +msgstr "ファイル“%s”を保存できませんでした。" + +#: ../gedit/gedit-io-error-info-bar.c:1161 +#, c-format +msgid "The file “%s” changed on disk." +msgstr "ファイル“%s”の内容がアプリケーションの外部で書き換えられました。" + +#: ../gedit/gedit-io-error-info-bar.c:1172 +msgid "Drop Changes and _Reload" +msgstr "手元の編集内容を破棄して再読み込み(_R)" + +#: ../gedit/gedit-io-error-info-bar.c:1182 +#: ../gedit/resources/gtk/menus-common.ui.h:21 +#: ../gedit/resources/gtk/menus.ui.h:7 +#: ../gedit/resources/gtk/menus-traditional.ui.h:1 +msgid "_Reload" +msgstr "再読み込み(_R)" + +#: ../gedit/gedit-io-error-info-bar.c:1187 +msgid "_Ignore" +msgstr "無視(_I)" + +#: ../gedit/gedit-io-error-info-bar.c:1248 +#, c-format +msgid "Some invalid chars have been detected while saving “%s”" +msgstr "“%s”を保存する際に不正な文字を検出しました" + +#: ../gedit/gedit-io-error-info-bar.c:1264 +msgid "" +"If you continue saving this file you can corrupt the document. Save anyway?" +msgstr "このファイルの保存を続行すると、文書が壊れてしまうかもしれません。続けますか?" + +#: ../gedit/gedit-preferences-dialog.c:455 +msgid "Click on this button to select the font to be used by the editor" +msgstr "エディターで使用するフォントを選択する場合は、このボタンをクリックしてください" + +#: ../gedit/gedit-preferences-dialog.c:461 +#, c-format +msgid "_Use the system fixed width font (%s)" +msgstr "システムの固定幅フォント (%s) を使う(_U)" + +#: ../gedit/gedit-preferences-dialog.c:601 +#, c-format +msgid "Directory '%s' could not be created: g_mkdir_with_parents() failed: %s" +msgstr "'%s' というフォルダーを生成できませんでした: g_mkdir_with_parents() に失敗: %s" + +#: ../gedit/gedit-preferences-dialog.c:798 +msgid "The selected color scheme cannot be installed." +msgstr "指定した色のスキームをインストールできません。" + +#: ../gedit/gedit-preferences-dialog.c:821 +msgid "Add Scheme" +msgstr "スキームの追加" + +#: ../gedit/gedit-preferences-dialog.c:826 +msgid "A_dd Scheme" +msgstr "スキームの追加(_D)" + +#: ../gedit/gedit-preferences-dialog.c:830 +msgid "Color Scheme Files" +msgstr "色のスキーム" + +#: ../gedit/gedit-preferences-dialog.c:861 +#, c-format +msgid "Could not remove color scheme \"%s\"." +msgstr "色のスキーム \"%s\" を削除できませんでした。" + +#: ../gedit/gedit-print-job.c:227 +msgid "Preparing..." +msgstr "準備中..." + +#: ../gedit/gedit-print-job.c:539 +#, c-format +msgid "File: %s" +msgstr "ファイル: %s" + +#: ../gedit/gedit-print-job.c:548 +msgid "Page %N of %Q" +msgstr "ページ %N / %Q" + +#: ../gedit/gedit-print-job.c:626 +#, c-format +msgid "Rendering page %d of %d..." +msgstr "%d / %d ページを描画中..." + +#: ../gedit/gedit-print-preview.c:653 +#, c-format +msgid "Page %d of %d" +msgstr "%d / %d ページ" + +#: ../gedit/gedit-replace-dialog.c:690 +#: ../plugins/externaltools/tools/tools.ui.h:7 +msgid "Nothing" +msgstr "なし" + +#: ../gedit/gedit-replace-dialog.c:779 +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:1 +msgid "Find and Replace" +msgstr "検索と置換" + +#. Use spaces to leave padding proportional to the font size +#: ../gedit/gedit-statusbar.c:58 ../gedit/gedit-statusbar.c:64 +msgid "OVR" +msgstr " [上書き]" + +#: ../gedit/gedit-statusbar.c:58 ../gedit/gedit-statusbar.c:64 +msgid "INS" +msgstr " [挿入]" + +#: ../gedit/gedit-statusbar.c:244 +#, c-format +msgid "There is a tab with errors" +msgid_plural "There are %d tabs with errors" +msgstr[0] "エラーが発生したタブが %d 個あります" + +#. Translators: the first %s is a file name (e.g. test.txt) the second one +#. is a directory (e.g. ssh://master.gnome.org/home/users/paolo) +#: ../gedit/gedit-tab.c:814 +#, c-format +msgid "Reverting %s from %s" +msgstr "%2$s から %1$s に戻しています" + +#: ../gedit/gedit-tab.c:821 +#, c-format +msgid "Reverting %s" +msgstr "%s に戻しています" + +#. Translators: the first %s is a file name (e.g. test.txt) the second one +#. is a directory (e.g. ssh://master.gnome.org/home/users/paolo) +#: ../gedit/gedit-tab.c:834 +#, c-format +msgid "Loading %s from %s" +msgstr "%2$s から %1$s を読み込んでいます" + +#: ../gedit/gedit-tab.c:841 +#, c-format +msgid "Loading %s" +msgstr "%s を読み込んでいます" + +#. Translators: the first %s is a file name (e.g. test.txt) the second one +#. is a directory (e.g. ssh://master.gnome.org/home/users/paolo) +#: ../gedit/gedit-tab.c:921 +#, c-format +msgid "Saving %s to %s" +msgstr "%s を %s へ保存しています" + +#: ../gedit/gedit-tab.c:926 +#, c-format +msgid "Saving %s" +msgstr "%s を保存しています" + +#: ../gedit/gedit-tab.c:1529 +#, c-format +msgid "Error opening file %s" +msgstr "ファイル %s を読み込む際にエラー" + +#: ../gedit/gedit-tab.c:1534 +#, c-format +msgid "Error reverting file %s" +msgstr "ファイル %s に戻す際にエラー" + +#: ../gedit/gedit-tab.c:1539 +#, c-format +msgid "Error saving file %s" +msgstr "ファイル %s を保存する際にエラー" + +#: ../gedit/gedit-tab.c:1570 +msgid "Name:" +msgstr "名前:" + +#: ../gedit/gedit-tab.c:1571 +msgid "MIME Type:" +msgstr "MIME 型:" + +#: ../gedit/gedit-tab.c:1572 +msgid "Encoding:" +msgstr "エンコーディング:" + +#: ../gedit/gedit-utils.c:841 +msgid "Please check your installation." +msgstr "gedit のインストールを確認してください。" + +#: ../gedit/gedit-utils.c:902 +#, c-format +msgid "Unable to open UI file %s. Error: %s" +msgstr "UI ファイル %s を開けません。エラー: %s" + +#: ../gedit/gedit-utils.c:921 +#, c-format +msgid "Unable to find the object '%s' inside file %s." +msgstr "オブジェクトの '%s' は %s というファイルの中にありませんでした。" + +#. Translators: '/ on ' +#: ../gedit/gedit-utils.c:1159 +#, c-format +msgid "/ on %s" +msgstr "%s の / (ルート)" + +#: ../gedit/gedit-utils.c:1463 +msgid "Unix/Linux" +msgstr "Unix/Linux" + +#: ../gedit/gedit-utils.c:1465 +msgid "Mac OS Classic" +msgstr "Mac OS Classic" + +#: ../gedit/gedit-utils.c:1467 +msgid "Windows" +msgstr "Windows" + +#: ../gedit/gedit-view.c:468 +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:2 +msgid "_Display line numbers" +msgstr "行番号を表示する(_D)" + +#. Translators: the first %d is the position of the current search +#. * occurrence, and the second %d is the total number of search +#. * occurrences. +#. +#: ../gedit/gedit-view-frame.c:674 +#, c-format +msgid "%d of %d" +msgstr "%d / %d" + +#. create "Wrap Around" menu item. +#: ../gedit/gedit-view-frame.c:766 +msgid "_Wrap Around" +msgstr "折り返しも検索する(_W)" + +#. create "Match as Regular Expression" menu item. +#: ../gedit/gedit-view-frame.c:776 +msgid "Match as _Regular Expression" +msgstr "正規表現でマッチさせる(_R)" + +#. create "Match Entire Word Only" menu item. +#: ../gedit/gedit-view-frame.c:790 +msgid "Match _Entire Word Only" +msgstr "単語全体にマッチさせる(_E)" + +#. create "Match Case" menu item. +#: ../gedit/gedit-view-frame.c:804 +msgid "_Match Case" +msgstr "大/小文字を区別する(_M)" + +#: ../gedit/gedit-view-frame.c:1026 +msgid "String you want to search for" +msgstr "検索する文字列" + +#: ../gedit/gedit-view-frame.c:1038 +msgid "Line you want to move the cursor to" +msgstr "カーソルを移動する行を入力してください" + +#: ../gedit/gedit-window.c:998 +msgid "Bracket match is out of range" +msgstr "対応する括弧は対象範囲から外れています。" + +#: ../gedit/gedit-window.c:1003 +msgid "Bracket match not found" +msgstr "対応する括弧は見つかりません。" + +#: ../gedit/gedit-window.c:1008 +#, c-format +msgid "Bracket match found on line: %d" +msgstr "対応する括弧が %d 行目に見つかりました。" + +#. Translators: "Ln" is an abbreviation for "Line", Col is an abbreviation for "Column". Please, +#. use abbreviations if possible to avoid space problems. +#: ../gedit/gedit-window.c:1043 +#, c-format +msgid " Ln %d, Col %d" +msgstr " (%d行、%d列)" + +#: ../gedit/gedit-window.c:1227 +#, c-format +msgid "Tab Width: %u" +msgstr "タブ幅: %u" + +#: ../gedit/gedit-window.c:1596 +msgid "There are unsaved documents" +msgstr "保存していないドキュメントがあります" + +#: ../gedit/gedit-window.c:2444 +msgid "Change side panel page" +msgstr "サイドパネルのページを変更する" + +#: ../gedit/gedit-window.c:2464 ../gedit/resources/ui/gedit-window.ui.h:1 +msgid "Documents" +msgstr "ドキュメントの一覧" + +#. ex:set ts=8 noet: +#: ../gedit/resources/gtk/menus-common.ui.h:1 +msgid "Move _Left" +msgstr "左へ移動(_L)" + +#: ../gedit/resources/gtk/menus-common.ui.h:2 +msgid "Move _Right" +msgstr "右へ移動(_R)" + +#: ../gedit/resources/gtk/menus-common.ui.h:3 +msgid "Move to New _Window" +msgstr "新しいウィンドウへ移動(_W)" + +#: ../gedit/resources/gtk/menus-common.ui.h:4 +msgid "Move to New Tab _Group" +msgstr "新しいタブグループへ移動(_G)" + +#: ../gedit/resources/gtk/menus-common.ui.h:5 +#: ../gedit/resources/gtk/menus.ui.h:22 +#: ../gedit/resources/gtk/menus-traditional.ui.h:20 +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:2 +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:2 +msgid "_Close" +msgstr "閉じる(_C)" + +#: ../gedit/resources/gtk/menus-common.ui.h:6 +msgid "Automatic Indentation" +msgstr "自動インデント" + +#: ../gedit/resources/gtk/menus-common.ui.h:7 +msgid "Use Spaces" +msgstr "空白にする" + +#: ../gedit/resources/gtk/menus-common.ui.h:8 +msgid "Display line numbers" +msgstr "行番号を表示する" + +#: ../gedit/resources/gtk/menus-common.ui.h:9 +msgid "Display right margin" +msgstr "右マージンを表示する" + +#: ../gedit/resources/gtk/menus-common.ui.h:10 +msgid "Highlight current line" +msgstr "カーソル行を強調表示する" + +#: ../gedit/resources/gtk/menus-common.ui.h:11 +msgid "Text wrapping" +msgstr "テキストを折り返す" + +#: ../gedit/resources/gtk/menus-common.ui.h:12 +msgid "_File" +msgstr "ファイル(_F)" + +#. _New is the menu item under the File menu on OS X which creates a new empty document. +#: ../gedit/resources/gtk/menus-common.ui.h:14 +msgid "_New" +msgstr "新規(_N)" + +#: ../gedit/resources/gtk/menus-common.ui.h:16 +msgid "Open _Recent" +msgstr "最近のファイルを開く(_R)" + +#: ../gedit/resources/gtk/menus-common.ui.h:17 +msgid "Reopen Closed _Tab" +msgstr "閉じたタブを開き直す(_T)" + +#: ../gedit/resources/gtk/menus-common.ui.h:19 +msgid "Save _As…" +msgstr "名前を付けて保存(_A)…" + +#: ../gedit/resources/gtk/menus-common.ui.h:20 +#: ../gedit/resources/gtk/menus.ui.h:1 +msgid "_New Window" +msgstr "新しいウィンドウ(_N)" + +#: ../gedit/resources/gtk/menus-common.ui.h:22 +#: ../gedit/resources/gtk/menus.ui.h:8 +#: ../gedit/resources/gtk/menus-traditional.ui.h:2 +msgid "_Print…" +msgstr "印刷(_P)…" + +#: ../gedit/resources/gtk/menus-common.ui.h:23 +#: ../gedit/resources/gtk/menus.ui.h:6 +#: ../gedit/resources/gtk/menus-traditional.ui.h:21 +msgid "_Quit" +msgstr "終了(_Q)" + +#: ../gedit/resources/gtk/menus-common.ui.h:24 +msgid "_Edit" +msgstr "編集(_E)" + +#: ../gedit/resources/gtk/menus-common.ui.h:25 +msgid "_Undo" +msgstr "取り消す(_U)" + +#: ../gedit/resources/gtk/menus-common.ui.h:26 +msgid "_Redo" +msgstr "やり直す(_R)" + +#: ../gedit/resources/gtk/menus-common.ui.h:27 +msgid "C_ut" +msgstr "カット(_U)" + +#: ../gedit/resources/gtk/menus-common.ui.h:28 +msgid "_Copy" +msgstr "コピー(_C)" + +#: ../gedit/resources/gtk/menus-common.ui.h:29 +msgid "_Paste" +msgstr "ペースト(_P)" + +#: ../gedit/resources/gtk/menus-common.ui.h:30 +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:915 +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:953 +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:7 +msgid "_Delete" +msgstr "削除(_D)" + +#: ../gedit/resources/gtk/menus-common.ui.h:31 +msgid "Overwrite _Mode" +msgstr "上書きモード(_M)" + +#: ../gedit/resources/gtk/menus-common.ui.h:32 +msgid "Select _All" +msgstr "すべて選択(_A)" + +#: ../gedit/resources/gtk/menus-common.ui.h:33 +#: ../gedit/resources/gtk/menus.ui.h:2 +#: ../gedit/resources/gtk/menus-traditional.ui.h:15 +msgid "_Preferences" +msgstr "設定(_P)" + +#: ../gedit/resources/gtk/menus-common.ui.h:34 +msgid "_View" +msgstr "表示(_V)" + +#: ../gedit/resources/gtk/menus-common.ui.h:35 +#: ../gedit/resources/gtk/menus.ui.h:17 +#: ../gedit/resources/gtk/menus-traditional.ui.h:11 +msgid "Side _Panel" +msgstr "サイドパネル(_P)" + +#: ../gedit/resources/gtk/menus-common.ui.h:36 +#: ../gedit/resources/gtk/menus.ui.h:18 +#: ../gedit/resources/gtk/menus-traditional.ui.h:12 +msgid "_Bottom Panel" +msgstr "ボトムパネル(_B)" + +#: ../gedit/resources/gtk/menus-common.ui.h:37 +#: ../gedit/resources/gtk/menus.ui.h:9 +#: ../gedit/resources/gtk/menus-traditional.ui.h:3 +msgid "_Fullscreen" +msgstr "フルスクリーン(_F)" + +#: ../gedit/resources/gtk/menus-common.ui.h:38 +#: ../gedit/resources/gtk/menus.ui.h:19 +#: ../gedit/resources/gtk/menus-traditional.ui.h:13 +msgid "_Highlight Mode…" +msgstr "ハイライトモード(_H)…" + +#: ../gedit/resources/gtk/menus-common.ui.h:39 +msgid "_Search" +msgstr "検索(_S)" + +#: ../gedit/resources/gtk/menus-common.ui.h:40 +#: ../gedit/resources/gtk/menus.ui.h:12 +#: ../gedit/resources/gtk/menus-traditional.ui.h:6 +msgid "_Find…" +msgstr "検索(_F)…" + +#: ../gedit/resources/gtk/menus-common.ui.h:41 +msgid "Find Ne_xt" +msgstr "次を検索(_X)" + +#: ../gedit/resources/gtk/menus-common.ui.h:42 +msgid "Find Pre_vious" +msgstr "前を検索(_V)" + +# 置換だけでも十分理解可能 +#: ../gedit/resources/gtk/menus-common.ui.h:43 +msgid "Find and _Replace…" +msgstr "置換(_R)…" + +#: ../gedit/resources/gtk/menus-common.ui.h:44 +#: ../gedit/resources/gtk/menus.ui.h:14 +#: ../gedit/resources/gtk/menus-traditional.ui.h:8 +msgid "_Clear Highlight" +msgstr "強調表示のクリア(_C)" + +#: ../gedit/resources/gtk/menus-common.ui.h:45 +msgid "Go to _Line…" +msgstr "指定行へ移動(_L)…" + +#: ../gedit/resources/gtk/menus-common.ui.h:46 +msgid "_Tools" +msgstr "ツール(_T)" + +#: ../gedit/resources/gtk/menus-common.ui.h:47 +msgid "_Documents" +msgstr "ドキュメント(_D)" + +#: ../gedit/resources/gtk/menus-common.ui.h:48 +msgid "_Save All" +msgstr "すべて保存(_S)" + +#: ../gedit/resources/gtk/menus-common.ui.h:49 +#: ../gedit/resources/gtk/menus.ui.h:21 +#: ../gedit/resources/gtk/menus-traditional.ui.h:19 +msgid "_Close All" +msgstr "すべて閉じる(_C)" + +#: ../gedit/resources/gtk/menus-common.ui.h:50 +msgid "_New Tab Group" +msgstr "新しいタブグループ(_N)" + +#: ../gedit/resources/gtk/menus-common.ui.h:51 +msgid "P_revious Tab Group" +msgstr "前のタブグループ(_R)" + +#: ../gedit/resources/gtk/menus-common.ui.h:52 +msgid "Nex_t Tab Group" +msgstr "次のタブグループ(_T)" + +#: ../gedit/resources/gtk/menus-common.ui.h:53 +msgid "_Previous Document" +msgstr "前のドキュメント(_P)" + +#: ../gedit/resources/gtk/menus-common.ui.h:54 +msgid "N_ext Document" +msgstr "次のドキュメント(_E)" + +#: ../gedit/resources/gtk/menus-common.ui.h:55 +msgid "_Move To New Window" +msgstr "新しいウィンドウへ移動(_M)" + +#: ../gedit/resources/gtk/menus-common.ui.h:56 +#: ../gedit/resources/gtk/menus.ui.h:4 +#: ../gedit/resources/gtk/menus-traditional.ui.h:17 +#: ../plugins/spell/gedit-spell-plugin.c:246 +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:7 +msgid "_Help" +msgstr "ヘルプ(_H)" + +#: ../gedit/resources/gtk/menus-common.ui.h:57 +#: ../gedit/resources/gtk/menus.ui.h:5 +#: ../gedit/resources/gtk/menus-traditional.ui.h:18 +msgid "_About" +msgstr "このアプリケーションについて(_A)" + +#: ../gedit/resources/gtk/menus.ui.h:3 +#: ../gedit/resources/gtk/menus-traditional.ui.h:16 +msgid "_Keyboard Shortcuts" +msgstr "キーボードショートカット(_K)" + +#: ../gedit/resources/gtk/menus.ui.h:11 +#: ../gedit/resources/gtk/menus-traditional.ui.h:5 +msgid "Save _All" +msgstr "すべて保存(_A)" + +# 置換だけでも十分理解可能 +#: ../gedit/resources/gtk/menus.ui.h:13 +#: ../gedit/resources/gtk/menus-traditional.ui.h:7 +msgid "_Find and Replace…" +msgstr "置換(_F)…" + +#: ../gedit/resources/gtk/menus.ui.h:15 +#: ../gedit/resources/gtk/menus-traditional.ui.h:9 +msgid "_Go to Line…" +msgstr "指定行へ移動(_G)…" + +#: ../gedit/resources/gtk/menus.ui.h:16 +#: ../gedit/resources/gtk/menus-traditional.ui.h:10 +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:13 +msgid "View" +msgstr "表示" + +#: ../gedit/resources/gtk/menus.ui.h:20 +#: ../gedit/resources/gtk/menus-traditional.ui.h:14 +msgid "Tools" +msgstr "ツール" + +#: ../gedit/resources/ui/gedit-encodings-dialog.ui.h:1 +msgid "Character Encodings" +msgstr "文字エンコーディング" + +#: ../gedit/resources/ui/gedit-encodings-dialog.ui.h:3 +msgid "_Apply" +msgstr "適用(_A)" + +#: ../gedit/resources/ui/gedit-encodings-dialog.ui.h:4 +msgid "A_vailable Encodings" +msgstr "利用可能なエンコーディング(_V)" + +#: ../gedit/resources/ui/gedit-encodings-dialog.ui.h:5 +msgid "Cho_sen Encodings" +msgstr "選択済みエンコーディング(_S)" + +#: ../gedit/resources/ui/gedit-encodings-dialog.ui.h:6 +msgid "_Description" +msgstr "説明(_D)" + +#: ../gedit/resources/ui/gedit-encodings-dialog.ui.h:7 +msgid "_Encoding" +msgstr "エンコーディング(_E)" + +#: ../gedit/resources/ui/gedit-highlight-mode-dialog.ui.h:1 +msgid "Highlight Mode" +msgstr "ハイライトモード" + +#: ../gedit/resources/ui/gedit-highlight-mode-dialog.ui.h:3 +msgid "_Select" +msgstr "選択(_S)" + +#: ../gedit/resources/ui/gedit-highlight-mode-selector.ui.h:1 +msgid "Search highlight mode..." +msgstr "ハイライトモードを検索します..." + +#: ../gedit/resources/ui/gedit-open-document-selector.ui.h:1 +msgid "No results" +msgstr "一致なし" + +#: ../gedit/resources/ui/gedit-open-document-selector.ui.h:2 +msgid "Other _Documents…" +msgstr "他のドキュメント(_D)…" + +#: ../gedit/resources/ui/gedit-open-document-selector.ui.h:3 +msgid "Open another file" +msgstr "他のファイルを開きます" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:1 +msgid "Preferences" +msgstr "設定" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:3 +msgid "Display right _margin at column:" +msgstr "行の右マージンを表示する(_M):" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:4 +msgid "Display _statusbar" +msgstr "ステータスバーを表示する(_S)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:5 +msgid "Display _overview map" +msgstr "全体像を表示する(_O)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:6 +msgid "Display _grid pattern" +msgstr "マス目を表示する(_G)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:7 +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:9 +msgid "Text Wrapping" +msgstr "テキストの折り返し" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:8 +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:10 +msgid "Enable text _wrapping" +msgstr "テキストの折り返しを有効にする(_W)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:9 +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:11 +msgid "Do not _split words over two lines" +msgstr "単語を二行以上に分割しない(_S)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:10 +msgid "Highlighting" +msgstr "強調表示" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:11 +msgid "Highlight current _line" +msgstr "カーソルのある行を強調表示する(_L)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:12 +msgid "Highlight matching _brackets" +msgstr "対応するカッコを強調表示する(_B)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:14 +msgid "Tab Stops" +msgstr "タブ文字" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:15 +msgid "_Tab width:" +msgstr "タブの幅(_T):" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:16 +msgid "Insert _spaces instead of tabs" +msgstr "タブの代わりにスペースを挿入する(_S)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:17 +msgid "_Enable automatic indentation" +msgstr "自動インデントを有効にする(_E)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:18 +msgid "File Saving" +msgstr "ファイルの保存" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:19 +msgid "Create a _backup copy of files before saving" +msgstr "保存する前にバックアップを生成する(_B)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:20 +msgid "_Autosave files every" +msgstr "ファイルを自動的に保存する間隔(_A): " + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:21 +msgid "_minutes" +msgstr "分ごと(_M)" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:22 +msgid "Editor" +msgstr "エディター" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:23 +#: ../plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in.h:3 +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:7 +msgid "Font" +msgstr "フォント" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:24 +msgid "Editor _font: " +msgstr "エディターのフォント(_F):" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:25 +msgid "Pick the editor font" +msgstr "エディターで使用するフォントの取得" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:26 +msgid "Color Scheme" +msgstr "色のスキーム" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:27 +msgid "Install scheme" +msgstr "スキームをインストールします" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:28 +msgid "Install Scheme" +msgstr "スキームのインストール" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:29 +msgid "Uninstall scheme" +msgstr "スキームをアンインストールします" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:30 +msgid "Uninstall Scheme" +msgstr "スキームのアンインストール" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:31 +msgid "Font & Colors" +msgstr "フォントと色" + +#: ../gedit/resources/ui/gedit-preferences-dialog.ui.h:32 +msgid "Plugins" +msgstr "プラグイン" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:1 +msgid "Syntax Highlighting" +msgstr "強調表示" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:2 +msgid "Print synta_x highlighting" +msgstr "強調表示を含めて印刷する(_X)" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:3 +msgid "Line Numbers" +msgstr "行番号" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:4 +msgid "Print line nu_mbers" +msgstr "行番号を印刷する(_M)" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:6 +msgid "_Number every" +msgstr "行番号を付与する間隔(_N) " + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:8 +msgid "lines" +msgstr "行" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:12 +msgid "Page header" +msgstr "ページヘッダー" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:13 +msgid "Print page _headers" +msgstr "ページのヘッダーを印刷する(_H)" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:14 +msgid "Fonts" +msgstr "フォント" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:15 +msgid "_Body:" +msgstr "本文(_B):" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:16 +msgid "_Line numbers:" +msgstr "行番号(_L):" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:17 +msgid "He_aders and footers:" +msgstr "ヘッダーとフッター(_A):" + +#: ../gedit/resources/ui/gedit-print-preferences.ui.h:18 +msgid "_Restore Default Fonts" +msgstr "デフォルトに戻す(_R)" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:1 +msgid "Show the previous page" +msgstr "前のページに戻ります" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:2 +msgid "Show the next page" +msgstr "次のページに進みます" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:3 +msgid "Current page (Alt+P)" +msgstr "現在のページです (Alt+P)" + +#. the "of" from "1 of 19" in print preview +#: ../gedit/resources/ui/gedit-print-preview.ui.h:5 +msgid "of" +msgstr "/" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:6 +msgid "Page total" +msgstr "ページ数" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:7 +msgid "The total number of pages in the document" +msgstr "ドキュメントのページ数の合計です" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:8 +msgid "Show multiple pages" +msgstr "複数のページを表示します" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:9 +msgid "Zoom 1:1" +msgstr "拡大率を 1:1 にします" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:10 +msgid "Zoom to fit the whole page" +msgstr "ページ全体を表示します" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:11 +msgid "Zoom the page in" +msgstr "この文書を拡大します" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:12 +msgid "Zoom the page out" +msgstr "この文書を縮小します" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:13 +msgid "Close print preview" +msgstr "印刷プレビューを閉じます" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:14 +msgid "_Close Preview" +msgstr "プレビューを閉じる(_C)" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:15 +msgid "Page Preview" +msgstr "ページのプレビュー" + +#: ../gedit/resources/ui/gedit-print-preview.ui.h:16 +msgid "The preview of a page in the document to be printed" +msgstr "印刷するドキュメントのページをプレビューします" + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:3 +msgid "Replace _All" +msgstr "すべて置換(_A)" + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:5 +msgctxt "label of the find button" +msgid "_Find" +msgstr "検索(_F)" + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:6 +msgctxt "label on the left of the GtkEntry containing text to search" +msgid "F_ind " +msgstr "検索する文字列(_I) " + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:7 +msgid "Replace _with " +msgstr "置換後の文字列(_W) " + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:8 +msgid "_Match case" +msgstr "大/小文字を区別する(_M)" + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:9 +msgid "Match _entire word only" +msgstr "単語全体にマッチさせる(_E)" + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:10 +msgid "Re_gular expression" +msgstr "正規表現(_G)" + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:11 +msgid "Search _backwards" +msgstr "先頭に向かって検索する(_B)" + +#: ../gedit/resources/ui/gedit-replace-dialog.ui.h:12 +msgid "Wra_p around" +msgstr "折り返しも対象にする(_P)" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:1 +msgctxt "shortcut window" +msgid "Documents" +msgstr "ドキュメント" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:2 +msgctxt "shortcut window" +msgid "Create a new document in a tab" +msgstr "新しいドキュメントをタブで開く" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:3 +msgctxt "shortcut window" +msgid "Open a document" +msgstr "ドキュメントを開く" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:4 +msgctxt "shortcut window" +msgid "Save the document" +msgstr "ドキュメントを保存する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:5 +msgctxt "shortcut window" +msgid "Save the document with a new filename" +msgstr "名前を付けてドキュメントを保存する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:6 +msgctxt "shortcut window" +msgid "Save all the documents" +msgstr "すべてのドキュメントを保存する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:7 +msgctxt "shortcut window" +msgid "Close the document" +msgstr "ドキュメントを閉じる" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:8 +msgctxt "shortcut window" +msgid "Close all the documents" +msgstr "すべてのドキュメントを閉じる" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:9 +msgctxt "shortcut window" +msgid "Reopen the most recently closed document" +msgstr "最近閉じたドキュメントを開き直す" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:10 +msgctxt "shortcut window" +msgid "Switch to the next document" +msgstr "次のドキュメントに切り替える" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:11 +msgctxt "shortcut window" +msgid "Switch to the previous document" +msgstr "前のドキュメントに切り替える" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:12 +msgctxt "shortcut window" +msgid "Switch to the first - ninth document" +msgstr "指定位置のドキュメントに切り替える(1番目-9番目)" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:13 +msgctxt "shortcut window" +msgid "Windows and Panels" +msgstr "ウィンドウとパネル" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:14 +msgctxt "shortcut window" +msgid "Create a new document in a window" +msgstr "新しいドキュメントをウィンドウで開く" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:15 +msgctxt "shortcut window" +msgid "Create a new tab group" +msgstr "新しいタブグループを作成する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:16 +msgctxt "shortcut window" +msgid "Show side panel" +msgstr "サイドパネルを表示する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:17 +msgctxt "shortcut window" +msgid "Show bottom panel" +msgstr "ボトムパネルを表示する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:18 +msgctxt "shortcut window" +msgid "Fullscreen on / off" +msgstr "フルスクリーン表示を切り替える" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:19 +msgctxt "shortcut window" +msgid "Quit the application" +msgstr "アプリケーションを終了する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:20 +msgctxt "shortcut window" +msgid "Find and Replace" +msgstr "検索と置換" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:21 +msgctxt "shortcut window" +msgid "Find" +msgstr "検索する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:22 +msgctxt "shortcut window" +msgid "Find the next match" +msgstr "次の一致語句を探す" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:23 +msgctxt "shortcut window" +msgid "Find the previous match" +msgstr "前の一致語句を探す" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:24 +msgctxt "shortcut window" +msgid "Clear highlight" +msgstr "強調表示をクリアする" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:25 +msgctxt "shortcut window" +msgid "Go to line" +msgstr "指定行へ移動する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:26 +msgctxt "shortcut window" +msgid "Copy and Paste" +msgstr "コピーアンドペースト" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:27 +msgctxt "shortcut window" +msgid "Copy selected text to clipboard" +msgstr "選択テキストをクリップボードにコピーする" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:28 +msgctxt "shortcut window" +msgid "Cut selected text to clipboard" +msgstr "選択テキストをクリップボードに切り取る" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:29 +msgctxt "shortcut window" +msgid "Paste text from clipboard" +msgstr "テキストをクリップボードから貼り付ける" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:30 +msgctxt "shortcut window" +msgid "Undo and Redo" +msgstr "元に戻す, やり直す" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:31 +msgctxt "shortcut window" +msgid "Undo previous command" +msgstr "直前の操作を取り消す" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:32 +msgctxt "shortcut window" +msgid "Redo previous command" +msgstr "直前に取り消した操作をやり直す" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:33 +msgctxt "shortcut window" +msgid "Selection" +msgstr "選択" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:34 +msgctxt "shortcut window" +msgid "Select all text" +msgstr "すべてのテキストを選択する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:35 +msgctxt "shortcut window" +msgid "Editing" +msgstr "編集" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:36 +msgctxt "shortcut window" +msgid "Toggle insert / overwrite" +msgstr "挿入/上書きモードを切り替える" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:37 +msgctxt "shortcut window" +msgid "Delete current line" +msgstr "現在行を削除する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:38 +msgctxt "shortcut window" +msgid "Join selected lines" +msgstr "選択した行を結合する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:39 +msgctxt "shortcut window" +msgid "Move current line up" +msgstr "現在行を上に移動する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:40 +msgctxt "shortcut window" +msgid "Move current line down" +msgstr "現在行を下に移動する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:41 +msgctxt "shortcut window" +msgid "Move current word left" +msgstr "現在の単語を左に移動する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:42 +msgctxt "shortcut window" +msgid "Move current word right" +msgstr "現在の単語を右に移動する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:43 +msgctxt "shortcut window" +msgid "Convert to uppercase" +msgstr "大文字に変換する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:44 +msgctxt "shortcut window" +msgid "Convert to lowercase" +msgstr "小文字に変換する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:45 +msgctxt "shortcut window" +msgid "Invert case" +msgstr "大/小文字を変更する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:46 +msgctxt "shortcut window" +msgid "Increment number at cursor" +msgstr "カーソル位置の数字をインクリメントする" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:47 +msgctxt "shortcut window" +msgid "Decrement number at cursor" +msgstr "カーソル位置の数字をデクリメントする" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:48 +msgctxt "shortcut window" +msgid "Tools" +msgstr "ツール" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:49 +msgctxt "shortcut window" +msgid "Check spelling" +msgstr "スペルをチェックする" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:50 +msgctxt "shortcut window" +msgid "Print the document" +msgstr "ドキュメントを印刷する" + +#: ../gedit/resources/ui/gedit-shortcuts.ui.h:51 +msgctxt "shortcut window" +msgid "Show completion window" +msgstr "補完ウィンドウを表示する" + +#: ../gedit/resources/ui/gedit-tab-label.ui.h:1 +msgid "Close Document" +msgstr "このドキュメントを閉じます" + +#: ../gedit/resources/ui/gedit-window.ui.h:2 +msgid "Open a file" +msgstr "ファイルを開きます" + +#: ../gedit/resources/ui/gedit-window.ui.h:4 +msgid "Open" +msgstr "開く" + +#: ../gedit/resources/ui/gedit-window.ui.h:5 +msgid "Create a new document" +msgstr "新しいドキュメントを作成します" + +#: ../gedit/resources/ui/gedit-window.ui.h:6 +msgid "New" +msgstr "新規" + +#: ../gedit/resources/ui/gedit-window.ui.h:8 +msgid "Save the current file" +msgstr "このファイルを保存します" + +#: ../gedit/resources/ui/gedit-window.ui.h:9 +msgid "Save" +msgstr "保存" + +#: ../gedit/resources/ui/gedit-window.ui.h:10 +msgid "Hide panel" +msgstr "このペインを隠します" + +#: ../gedit/resources/ui/gedit-window.ui.h:11 +msgid "Open a file dialog" +msgstr "ファイルダイアログを開きます" + +#: ../gedit/resources/ui/gedit-window.ui.h:12 +msgid "Leave Fullscreen" +msgstr "フルスクリーンを解除します" + +#: ../plugins/checkupdate/checkupdate.plugin.desktop.in.h:1 +msgid "Check update" +msgstr "更新のチェック" + +#: ../plugins/checkupdate/checkupdate.plugin.desktop.in.h:2 +msgid "Check for latest version of gedit" +msgstr "最新版の gedit をチェックします" + +#: ../plugins/checkupdate/gedit-check-update-plugin.c:245 +msgid "There was an error displaying the URI." +msgstr "URI を表示する際にエラーが発生しました。" + +#: ../plugins/checkupdate/gedit-check-update-plugin.c:282 +msgid "_Download" +msgstr "ダウンロード(_D)" + +#: ../plugins/checkupdate/gedit-check-update-plugin.c:283 +msgid "_Ignore Version" +msgstr "バージョンを無視(_I)" + +#: ../plugins/checkupdate/gedit-check-update-plugin.c:288 +msgid "There is a new version of gedit" +msgstr "gedit の新しいバージョンがあります" + +#: ../plugins/checkupdate/gedit-check-update-plugin.c:291 +msgid "" +"You can download the new version of gedit by clicking on the download button " +"or ignore that version and wait for a new one" +msgstr "ダウンロードボタンを押せば新しいバージョンの gedit をダウンロードできます。そのバージョンを無視して新しいのを待つこともできます。" + +#. ex:set ts=8 noet: +#: ../plugins/checkupdate/org.gnome.gedit.plugins.checkupdate.gschema.xml.in.h:1 +msgid "Version to Ignore" +msgstr "無視するバージョン" + +#. This is releated to the next gedit version to be released +#: ../plugins/checkupdate/org.gnome.gedit.plugins.checkupdate.gschema.xml.in.h:3 +msgid "Version to ignore until a newer version is released." +msgstr "これより新しいバージョンがリリースされるまで無視するバージョンです。" + +#. ex:set ts=8 noet: +#: ../plugins/docinfo/docinfo.plugin.desktop.in.h:1 +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:1 +msgid "Document Statistics" +msgstr "ドキュメントの統計" + +#: ../plugins/docinfo/docinfo.plugin.desktop.in.h:2 +msgid "Report the number of words, lines and characters in a document." +msgstr "ドキュメントの単語数、行数、文字数を表示します。" + +#: ../plugins/docinfo/gedit-docinfo-plugin.c:537 +msgid "_Document Statistics" +msgstr "ドキュメントの統計情報(_D)" + +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:2 +msgid "Document" +msgstr "ドキュメント" + +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:3 +msgid "Selection" +msgstr "選択範囲" + +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:4 +msgid "Lines" +msgstr "行" + +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:5 +msgid "Words" +msgstr "単語の数" + +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:6 +msgid "Characters (with spaces)" +msgstr "文字数 (スペース含む)" + +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:7 +msgid "Characters (no spaces)" +msgstr "文字数 (スペースなし)" + +#: ../plugins/docinfo/resources/ui/gedit-docinfo-plugin.ui.h:8 +msgid "Bytes" +msgstr "バイト" + +#: ../plugins/externaltools/data/build.desktop.in.h:1 +msgid "Build" +msgstr "ビルド" + +#: ../plugins/externaltools/data/build.desktop.in.h:2 +msgid "Run \"make\" in the document directory" +msgstr "ドキュメントのあるフォルダーで \"make\" を実行します" + +#: ../plugins/externaltools/data/open-terminal-here.desktop.in.h:1 +#: ../plugins/externaltools/data/open-terminal-here-osx.desktop.in.h:1 +msgid "Open terminal here" +msgstr "ここで端末を開く" + +#: ../plugins/externaltools/data/open-terminal-here.desktop.in.h:2 +#: ../plugins/externaltools/data/open-terminal-here-osx.desktop.in.h:2 +msgid "Open a terminal in the document location" +msgstr "ドキュメントのあるフォルダーで端末を開きます" + +#: ../plugins/externaltools/data/remove-trailing-spaces.desktop.in.h:1 +msgid "Remove trailing spaces" +msgstr "末尾の空白を削除する" + +#: ../plugins/externaltools/data/remove-trailing-spaces.desktop.in.h:2 +msgid "Remove useless trailing spaces in your file" +msgstr "ファイルの中にある不用な末尾の空白を取り除きます" + +#: ../plugins/externaltools/data/run-command.desktop.in.h:1 +msgid "Run command" +msgstr "コマンドの実行" + +#: ../plugins/externaltools/data/run-command.desktop.in.h:2 +msgid "Execute a custom command and put its output in a new document" +msgstr "コマンドを実行した結果を新しいドキュメントとして取り込みます" + +#: ../plugins/externaltools/data/send-to-fpaste.desktop.in.h:1 +msgid "Send to fpaste" +msgstr "fpaste に送る" + +#: ../plugins/externaltools/data/send-to-fpaste.desktop.in.h:2 +msgid "Paste selected text or current document to fpaste" +msgstr "選択したテキストまたは現在のドキュメントを fpaste に貼り付けます" + +#: ../plugins/externaltools/externaltools.plugin.desktop.in.h:1 +msgid "External Tools" +msgstr "外部ツール" + +#: ../plugins/externaltools/externaltools.plugin.desktop.in.h:2 +msgid "Execute external commands and shell scripts." +msgstr "外部コマンドと Shell スクリプトを実行します。" + +#: ../plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in.h:1 +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:5 +msgid "Whether to use the system font" +msgstr "システムフォントを使うかどうか" + +#: ../plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in.h:2 +msgid "" +"If true, the external tools will use the desktop-global standard font if " +"it's monospace (and the most similar font it can come up with otherwise)." +msgstr "" +"もし true ならば、外部ツールはデスクトップ標準が monospace フォントであれば monospace (あるいは他の似たようなフォント) " +"を使います。" + +#: ../plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in.h:4 +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:8 +msgid "A Pango font name. Examples are \"Sans 12\" or \"Monospace Bold 14\"." +msgstr "Pango フォント名。例: \"Sans 12\"、\"Monospace Bold 14\"" + +#: ../plugins/externaltools/tools/appactivatable.py:126 +msgid "Manage _External Tools..." +msgstr "外部ツールの管理(_E)..." + +#: ../plugins/externaltools/tools/appactivatable.py:131 +msgid "External _Tools" +msgstr "外部ツール(_T)" + +#: ../plugins/externaltools/tools/capture.py:105 +#, python-format +msgid "Could not execute command: %s" +msgstr "次のコマンドを実行できませんでした: %s" + +#: ../plugins/externaltools/tools/functions.py:184 +msgid "You must be inside a word to run this command" +msgstr "このコマンドを実行するために必要な語句を入力してください" + +#: ../plugins/externaltools/tools/functions.py:302 +msgid "Running tool:" +msgstr "実行したツール:" + +#: ../plugins/externaltools/tools/functions.py:333 +msgid "Done." +msgstr "完了しました。" + +#: ../plugins/externaltools/tools/functions.py:335 +msgid "Exited" +msgstr "終了コード:" + +#: ../plugins/externaltools/tools/manager.py:106 +msgid "All languages" +msgstr "すべての言語" + +#: ../plugins/externaltools/tools/manager.py:422 +#: ../plugins/externaltools/tools/manager.py:426 +#: ../plugins/externaltools/tools/manager.py:765 +#: ../plugins/externaltools/tools/tools.ui.h:31 +msgid "All Languages" +msgstr "すべての言語" + +#: ../plugins/externaltools/tools/manager.py:539 +msgid "New tool" +msgstr "新しいツール" + +#: ../plugins/externaltools/tools/manager.py:676 +#, python-format +msgid "This accelerator is already bound to %s" +msgstr "既にこのアクセラレータは %s に割り当てられています" + +#: ../plugins/externaltools/tools/manager.py:720 +msgid "Type a new accelerator, or press Backspace to clear" +msgstr "(新しいアクセラレータを入力してください/[BS]キーでクリア)" + +#: ../plugins/externaltools/tools/manager.py:722 +msgid "Type a new accelerator" +msgstr "(新しいアクセラレータを入力してください)" + +#: ../plugins/externaltools/tools/outputpanel.py:122 +msgid "Stopped." +msgstr "停止しました。" + +#. ex:ts=4:et: +#: ../plugins/externaltools/tools/outputpanel.ui.h:1 +msgid "Stop Tool" +msgstr "ツールを停止します" + +#: ../plugins/externaltools/tools/tools.ui.h:1 +msgid "Always available" +msgstr "常に利用する" + +#: ../plugins/externaltools/tools/tools.ui.h:2 +msgid "All documents" +msgstr "すべてのドキュメント" + +#: ../plugins/externaltools/tools/tools.ui.h:3 +msgid "All documents except untitled ones" +msgstr "保存していないものを除くすべてのドキュメント" + +#: ../plugins/externaltools/tools/tools.ui.h:4 +msgid "Local files only" +msgstr "ローカルのファイルのみ" + +#: ../plugins/externaltools/tools/tools.ui.h:5 +msgid "Remote files only" +msgstr "リモートのファイルのみ" + +#: ../plugins/externaltools/tools/tools.ui.h:6 +msgid "Untitled documents only" +msgstr "保存していないドキュメントのみ" + +#: ../plugins/externaltools/tools/tools.ui.h:8 +msgid "Current document" +msgstr "編集中のドキュメント" + +#: ../plugins/externaltools/tools/tools.ui.h:9 +msgid "Current selection" +msgstr "現在の選択範囲" + +#: ../plugins/externaltools/tools/tools.ui.h:10 +msgid "Current selection (default to document)" +msgstr "現在の選択範囲 (デフォルトではドキュメントになります)" + +#: ../plugins/externaltools/tools/tools.ui.h:11 +msgid "Current line" +msgstr "カーソルがある行" + +#: ../plugins/externaltools/tools/tools.ui.h:12 +msgid "Current word" +msgstr "カーソルがある文字" + +#: ../plugins/externaltools/tools/tools.ui.h:13 +msgid "Display in bottom pane" +msgstr "ボトムペインに表示する" + +#: ../plugins/externaltools/tools/tools.ui.h:14 +msgid "Create new document" +msgstr "新しいドキュメントを作成する" + +#: ../plugins/externaltools/tools/tools.ui.h:15 +msgid "Append to current document" +msgstr "編集中のドキュメントに追加する" + +#: ../plugins/externaltools/tools/tools.ui.h:16 +msgid "Replace current document" +msgstr "編集中のドキュメントを置き換える" + +#: ../plugins/externaltools/tools/tools.ui.h:17 +msgid "Replace current selection" +msgstr "現在の選択範囲を置き換える" + +#: ../plugins/externaltools/tools/tools.ui.h:18 +msgid "Insert at cursor position" +msgstr "カーソルがある位置に挿入する" + +#: ../plugins/externaltools/tools/tools.ui.h:19 +msgid "Manage External Tools" +msgstr "外部ツールの管理" + +#: ../plugins/externaltools/tools/tools.ui.h:20 +msgid "Add a new tool" +msgstr "新しいツールを追加します" + +#: ../plugins/externaltools/tools/tools.ui.h:21 +msgid "Add Tool" +msgstr "ツールの追加" + +#: ../plugins/externaltools/tools/tools.ui.h:22 +msgid "Remove selected tool" +msgstr "選択したツールを削除します" + +#: ../plugins/externaltools/tools/tools.ui.h:23 +msgid "Remove Tool" +msgstr "ツールの削除" + +#: ../plugins/externaltools/tools/tools.ui.h:24 +msgid "Revert tool" +msgstr "ツールの編集を元に戻します" + +#: ../plugins/externaltools/tools/tools.ui.h:25 +msgid "Revert Tool" +msgstr "ツールを元に戻す" + +#: ../plugins/externaltools/tools/tools.ui.h:26 +msgid "Shortcut _key:" +msgstr "ショートカットキー(_K):" + +#: ../plugins/externaltools/tools/tools.ui.h:27 +msgid "_Save:" +msgstr "保存(_S):" + +#: ../plugins/externaltools/tools/tools.ui.h:28 +msgid "_Input:" +msgstr "入力(_I):" + +#: ../plugins/externaltools/tools/tools.ui.h:29 +msgid "_Output:" +msgstr "出力(_O):" + +#: ../plugins/externaltools/tools/tools.ui.h:30 +msgid "_Applicability:" +msgstr "適用範囲(_A):" + +#: ../plugins/externaltools/tools/windowactivatable.py:119 +msgid "Tool Output" +msgstr "ツールの出力" + +#. ex:ts=4:et: +#: ../plugins/filebrowser/filebrowser.plugin.desktop.in.h:1 +msgid "File Browser Panel" +msgstr "ファイル参照パネル" + +#: ../plugins/filebrowser/filebrowser.plugin.desktop.in.h:2 +msgid "Easy file access from the side panel" +msgstr "サイドパネルから簡単にファイルにアクセスできます。" + +#: ../plugins/filebrowser/gedit-file-bookmarks-store.c:205 +msgid "Home" +msgstr "ホーム" + +#: ../plugins/filebrowser/gedit-file-bookmarks-store.c:231 +msgid "File System" +msgstr "ファイルシステム" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:523 +msgid "File Browser" +msgstr "ファイルブラウザー" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:659 +msgid "An error occurred while creating a new directory" +msgstr "新しいフォルダーを生成する際にエラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:662 +msgid "An error occurred while creating a new file" +msgstr "新しいファイルを生成する際にエラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:665 +msgid "An error occurred while renaming a file or directory" +msgstr "ファイルまたはフォルダーの名前を変更する際にエラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:668 +msgid "An error occurred while deleting a file or directory" +msgstr "ファイルまたはフォルダーを削除する際にエラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:671 +msgid "An error occurred while opening a directory in the file manager" +msgstr "ファイル参照ペインの中でフォルダーを開く際にエラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:674 +msgid "An error occurred while setting a root directory" +msgstr "ルートフォルダーを設定する際にエラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:677 +msgid "An error occurred while loading a directory" +msgstr "フォルダーを読み込む際にエラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:680 +msgid "An error occurred" +msgstr "エラーが発生しました" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:898 +msgid "Cannot move file to trash, do you\n" +"want to delete permanently?" +msgstr "ファイルをゴミ箱へ移動できません。\n" +"今すぐファイルを削除しますか?" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:903 +#, c-format +msgid "The file \"%s\" cannot be moved to the trash." +msgstr "ファイル \"%s\" をゴミ箱へ移動できません。" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:908 +msgid "The selected files cannot be moved to the trash." +msgstr "選択したファイルをゴミ箱へ移動できません。" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:939 +#, c-format +msgid "Are you sure you want to permanently delete \"%s\"?" +msgstr "\"%s\" を完全に抹消してもよろしいですか?" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:944 +msgid "Are you sure you want to permanently delete the selected files?" +msgstr "選択したファイルを完全に削除してもよろしいですか?" + +#: ../plugins/filebrowser/gedit-file-browser-plugin.c:947 +msgid "If you delete an item, it is permanently lost." +msgstr "削除すると、そのアイテムは完全に無くなります。" + +#: ../plugins/filebrowser/gedit-file-browser-store.c:1794 +msgid "(Empty)" +msgstr "(空)" + +#: ../plugins/filebrowser/gedit-file-browser-store.c:3515 +msgid "" +"The renamed file is currently filtered out. You need to adjust your filter " +"settings to make the file visible" +msgstr "新しい名前のファイルはフィルターの機能により表示されていません。そのファイルを表示するにはフィルターの設定を調整してください。" + +#. Translators: This is the default name of new files created by the file browser pane. +#: ../plugins/filebrowser/gedit-file-browser-store.c:3772 +msgid "Untitled File" +msgstr "無題のファイル" + +#: ../plugins/filebrowser/gedit-file-browser-store.c:3800 +msgid "" +"The new file is currently filtered out. You need to adjust your filter " +"settings to make the file visible" +msgstr "新しいファイルはフィルターの機能により表示されていません。そのファイルを表示するにはフィルターの設定を調整してください。" + +#. Translators: This is the default name of new directories created by the file browser pane. +#: ../plugins/filebrowser/gedit-file-browser-store.c:3831 +msgid "Untitled Folder" +msgstr "無題のフォルダー" + +#: ../plugins/filebrowser/gedit-file-browser-store.c:3856 +msgid "" +"The new directory is currently filtered out. You need to adjust your filter " +"settings to make the directory visible" +msgstr "新しい名前のフォルダーはフィルターの機能により表示されていません。そのフォルダーを表示するにはフィルターの設定を調整してください。" + +#: ../plugins/filebrowser/gedit-file-browser-widget.c:754 +msgid "Bookmarks" +msgstr "ブックマーク" + +#: ../plugins/filebrowser/gedit-file-browser-widget.c:1995 +#, c-format +msgid "No mount object for mounted volume: %s" +msgstr "マウントしたボリュームには何もありません: %s" + +#: ../plugins/filebrowser/gedit-file-browser-widget.c:2072 +#, c-format +msgid "Could not open media: %s" +msgstr "次のメディアを開けませんでした: %s" + +#: ../plugins/filebrowser/gedit-file-browser-widget.c:2119 +#, c-format +msgid "Could not mount volume: %s" +msgstr "次のボリュームをマウントできませんでした: %s" + +#: ../plugins/filebrowser/gedit-file-browser-widget.c:2769 +#, c-format +msgid "Error when loading '%s': No such directory" +msgstr "'%s' を読み込む際にエラー: そのようなフォルダーはありません" + +#. ex:set ts=8 noet: +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:1 +msgid "Open With Tree View" +msgstr "ツリー表示で開く" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:2 +msgid "" +"Open the tree view when the file browser plugin gets loaded instead of the " +"bookmarks view" +msgstr "ファイル参照プラグインを読み込んだ際に、ブックマーク表示ではなくツリー表示で開きます。" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:3 +msgid "File Browser Root Directory" +msgstr "ファイル参照ペインのルートフォルダー" + +# (pofilter) accelerators: accelerator _ is missing from translation +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:4 +msgid "" +"The file browser root directory to use when loading the file browser plugin " +"and onload/tree_view is TRUE." +msgstr "ファイル参照プラグインを読み込んで onload/tree_view が TRUE の場合のファイル参照ブラウザーのルートフォルダー" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:5 +msgid "File Browser Virtual Root Directory" +msgstr "ファイル参照ペインの仮想的なルートフォルダー" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:6 +msgid "" +"The file browser virtual root directory to use when loading the file browser " +"plugin when onload/tree_view is TRUE. The virtual root must always be below " +"the actual root." +msgstr "" +"ファイル参照プラグインを読み込んで onload/tree_view が TRUE " +"の場合にファイル参照ブラウザーが参照する仮想的なルートフォルダーを指定します。この仮想フォルダーは必ず実際のルートよりも下層にあるフォルダーを指定してください。" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:7 +msgid "Enable Restore of Remote Locations" +msgstr "リモートの場所のリストアを可能にする" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:8 +msgid "Sets whether to enable restoring of remote locations." +msgstr "リモートの場所でのリストア機能を有効にするかどうかです。" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:9 +msgid "Set Location to First Document" +msgstr "初めて開くドキュメントの場所を設定" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:10 +msgid "" +"If TRUE the file browser plugin will view the directory of the first opened " +"document given that the file browser hasn't been used yet. (Thus this " +"generally applies to opening a document from the command line or opening it " +"with Nautilus, etc.)" +msgstr "" +"TRUE " +"にすると、初めて開いたドキュメントがあるフォルダーで、ファイル参照プラグインがまだ使われたことがないディレクトリを表示します。(すなわち、この機能は一般的にコマンドラインからドキュメントを開く場合や " +"Nautilus などからドキュメントを開く際に動作します。)" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:11 +msgid "File Browser Filter Mode" +msgstr "ファイル参照ペインのフィルター (モード)" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:12 +msgid "" +"This value determines what files get filtered from the file browser. Valid " +"values are: none (filter nothing), hide-hidden (filter hidden files) and " +"hide-binary (filter binary files)." +msgstr "" +"ファイル参照ペインでフィルターして表示しないファイルを指定します。指定可能な値: none (フィルターしない)、hide-hidden " +"(隠しファイルをフィルターする)、hide-binary (バイナリファイルをフィルターする)" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:13 +msgid "File Browser Filter Pattern" +msgstr "ファイル参照ペインのフィルター (パターン)" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:14 +msgid "" +"The filter pattern to filter the file browser with. This filter works on top " +"of the filter_mode." +msgstr "ファイル参照ペインでフィルターするパターンです。これは filter_mode の先頭で機能します。" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:15 +msgid "File Browser Binary Patterns" +msgstr "ファイル参照ペインのバイナリパターン" + +#: ../plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in.h:16 +msgid "The supplemental patterns to use when filtering binary files." +msgstr "バイナリファイルをフィルターするときに使用する補助的なパターンです。" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:2 +msgid "_Set Root to Active Document" +msgstr "ドキュメントのルートにする(_S)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:3 +msgid "_New Folder" +msgstr "新しいフォルダー(_N)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:4 +msgid "New F_ile" +msgstr "新しいファイル(_I)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:5 +msgid "_Rename..." +msgstr "名前の変更(_R)..." + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:6 +msgid "_Move to Trash" +msgstr "ゴミ箱へ移動(_M)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:8 +msgid "Re_fresh View" +msgstr "表示の更新(_F)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:9 +msgid "_View Folder" +msgstr "フォルダーを開く(_V)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:10 +msgid "_Open in Terminal" +msgstr "この場所を端末で開く(_O)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:11 +msgid "_Filter" +msgstr "フィルター(_F)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:12 +msgid "Show _Hidden" +msgstr "隠しファイル(_H)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:13 +msgid "Show _Binary" +msgstr "バイナリ(_B)" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-menus.ui.h:14 +msgid "Match Filename" +msgstr "ファイル名にマッチ" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-widget.ui.h:1 +msgid "History" +msgstr "履歴" + +#: ../plugins/filebrowser/resources/ui/gedit-file-browser-widget.ui.h:2 +msgid "Open history menu" +msgstr "履歴メニューを開きます" + +#: ../plugins/modelines/modelines.plugin.desktop.in.h:1 +msgid "Modelines" +msgstr "モードライン" + +#: ../plugins/modelines/modelines.plugin.desktop.in.h:2 +msgid "Emacs, Kate and Vim-style modelines support for gedit." +msgstr "Emacs や Kate、Vim スタイルなモードラインの機能を gedit に提供します。" + +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:1 +msgid "Command Color Text" +msgstr "コマンドの色" + +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:2 +msgid "The command color text" +msgstr "コマンドの色" + +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:3 +msgid "Error Color Text" +msgstr "エラーの色" + +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:4 +msgid "The error color text" +msgstr "エラーの色" + +#: ../plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in.h:6 +msgid "" +"If true, the terminal will use the desktop-global standard font if it's " +"monospace (and the most similar font it can come up with otherwise)." +msgstr "" +"もし true ならば、端末はデスクトップ標準が monospace フォントであれば monospace (あるいは他の似たようなフォント) " +"を使います。" + +#: ../plugins/pythonconsole/pythonconsole/config.ui.h:1 +msgid "C_ommand color:" +msgstr "コマンドの色(_O):" + +#: ../plugins/pythonconsole/pythonconsole/config.ui.h:2 +msgid "_Error color:" +msgstr "エラーの色(_E):" + +#. ex:et:ts=4: +#: ../plugins/pythonconsole/pythonconsole/__init__.py:53 +#: ../plugins/pythonconsole/pythonconsole.plugin.desktop.in.h:1 +msgid "Python Console" +msgstr "Python コンソール" + +#: ../plugins/pythonconsole/pythonconsole.plugin.desktop.in.h:2 +msgid "Interactive Python console standing in the bottom panel" +msgstr "ボトムパネルに対話式の Python コンソールを開きます。" + +#: ../plugins/quickopen/quickopen/__init__.py:41 +msgid "Quick Open..." +msgstr "クイックオープン..." + +#. ex:ts=4:et: +#: ../plugins/quickopen/quickopen.plugin.desktop.in.h:1 +#: ../plugins/quickopen/quickopen/popup.py:33 +msgid "Quick Open" +msgstr "クイックオープン" + +#: ../plugins/quickopen/quickopen.plugin.desktop.in.h:2 +msgid "Quickly open files" +msgstr "素早くファイルを開きます" + +#: ../plugins/quickopen/quickopen/popup.py:83 +msgid "Type to search..." +msgstr "タイプして検索..." + +#: ../plugins/snippets/snippets/appactivatable.py:81 +msgid "Manage _Snippets..." +msgstr "スニペットの管理(_S)..." + +#. Do the fancy completion dialog +#. ex:ts=4:et: +#: ../plugins/snippets/snippets/document.py:56 +#: ../plugins/snippets/snippets/document.py:145 +#: ../plugins/snippets/snippets/document.py:659 +#: ../plugins/snippets/snippets.plugin.desktop.in.h:1 +msgid "Snippets" +msgstr "コードスニペット" + +#: ../plugins/snippets/snippets/exporter.py:80 +#, python-format +msgid "The archive \"%s\" could not be created" +msgstr "アーカイブ \"%s\" を作成できませんでした" + +#: ../plugins/snippets/snippets/exporter.py:97 +#, python-format +msgid "Target directory \"%s\" does not exist" +msgstr "対象ディレクトリ \"%s\" が存在しません" + +#: ../plugins/snippets/snippets/exporter.py:100 +#, python-format +msgid "Target directory \"%s\" is not a valid directory" +msgstr "対象ディレクトリ \"%s\" は妥当なディレクトリではありません" + +#: ../plugins/snippets/snippets/importer.py:47 +#: ../plugins/snippets/snippets/importer.py:108 +#, python-format +msgid "File \"%s\" does not exist" +msgstr "ファイル \"%s\" は存在しません" + +#: ../plugins/snippets/snippets/importer.py:50 +#, python-format +msgid "File \"%s\" is not a valid snippets file" +msgstr "ファイル \"%s\" は妥当なスニペットファイルではありません" + +#: ../plugins/snippets/snippets/importer.py:67 +#, python-format +msgid "Imported file \"%s\" is not a valid snippets file" +msgstr "インポートしたファイル \"%s\" は妥当なスニペットファイルではありません" + +#: ../plugins/snippets/snippets/importer.py:77 +#, python-format +msgid "The archive \"%s\" could not be extracted" +msgstr "アーカイブ \"%s\" を解凍できませんでした" + +#: ../plugins/snippets/snippets/importer.py:95 +#, python-format +msgid "The following files could not be imported: %s" +msgstr "次のファイルをインポートできませんでした: %s" + +#: ../plugins/snippets/snippets/importer.py:111 +#: ../plugins/snippets/snippets/importer.py:124 +#, python-format +msgid "File \"%s\" is not a valid snippets archive" +msgstr "ファイル \"%s\" は妥当なスニペットアーカイブではありません" + +# snippet=断片,抜粋,... +# とりあえず訳してはおくがあやしい。動作を見るかコードを読む必要あり。 +# +# (2006-02-22) T.Aihana +# "snippet" (スニペット) はコードエディタにある機能で +# 従来の "コード補間" 機能を発展させたものです。 +# (例) http://www.microsoft.com/japan/msdn/vs05/vbasic/vbnet2005_preview.asp#vbnetwhidbey_updated%20v2_topic2 +#: ../plugins/snippets/snippets/manager.py:42 +msgid "Snippets archive" +msgstr "スニペットのアーカイブ" + +#: ../plugins/snippets/snippets/manager.py:66 +msgid "Add a new snippet..." +msgstr "新しいスニペットの追加..." + +#: ../plugins/snippets/snippets/manager.py:116 +msgid "Global" +msgstr "全般" + +#: ../plugins/snippets/snippets/manager.py:406 +msgid "Revert selected snippet" +msgstr "選択したスニペットを戻します" + +#: ../plugins/snippets/snippets/manager.py:409 +#: ../plugins/snippets/snippets/snippets.ui.h:4 +msgid "Delete selected snippet" +msgstr "選択したスニペットを削除します" + +#. self['hbox_tab_trigger'].set_spacing(3) +#: ../plugins/snippets/snippets/manager.py:662 +msgid "" +"This is not a valid Tab trigger. Triggers can either contain alphanumeric " +"characters (or _, : and .) or a single (non-alphanumeric) character like: {, " +"[, etc." +msgstr "" +"これは [Tab] のトリガーとしては妥当ではありません。トリガーとして妥当な形式は、英数字 (_、:、. を含む) " +"からなる文字列か、あるいは一文字の非英数字(例: {、[ など) のいずれかです。" + +#. self['hbox_tab_trigger'].set_spacing(0) +#: ../plugins/snippets/snippets/manager.py:669 +#: ../plugins/snippets/snippets/snippets.ui.h:14 +msgid "Single word the snippet is activated with after pressing Tab" +msgstr "スニペットを実行するために [Tab] キーを押下する前に入力する単語です" + +#: ../plugins/snippets/snippets/manager.py:758 +#, python-format +msgid "The following error occurred while importing: %s" +msgstr "インポートする際に次のエラーが発生しました: %s" + +#: ../plugins/snippets/snippets/manager.py:765 +msgid "Import successfully completed" +msgstr "インポートが完了しました" + +#: ../plugins/snippets/snippets/manager.py:779 +#: ../plugins/snippets/snippets/snippets.ui.h:6 +msgid "Import snippets" +msgstr "スニペットをインポートします" + +#: ../plugins/snippets/snippets/manager.py:784 +#: ../plugins/snippets/snippets/manager.py:870 +#: ../plugins/snippets/snippets/manager.py:933 +msgid "All supported archives" +msgstr "サポートしている全アーカイブ" + +#: ../plugins/snippets/snippets/manager.py:785 +#: ../plugins/snippets/snippets/manager.py:871 +#: ../plugins/snippets/snippets/manager.py:934 +msgid "Gzip compressed archive" +msgstr "Gzip 圧縮のアーカイブ" + +#: ../plugins/snippets/snippets/manager.py:786 +#: ../plugins/snippets/snippets/manager.py:872 +#: ../plugins/snippets/snippets/manager.py:935 +msgid "Bzip2 compressed archive" +msgstr "Bzip2 圧縮のアーカイブ" + +#: ../plugins/snippets/snippets/manager.py:787 +msgid "Single snippets file" +msgstr "単一のファイル" + +#: ../plugins/snippets/snippets/manager.py:788 +#: ../plugins/snippets/snippets/manager.py:874 +#: ../plugins/snippets/snippets/manager.py:937 +msgid "All files" +msgstr "すべてのファイル" + +#: ../plugins/snippets/snippets/manager.py:800 +#, python-format +msgid "The following error occurred while exporting: %s" +msgstr "スニペットを保存する際にエラーが発生しました: %s" + +#: ../plugins/snippets/snippets/manager.py:804 +msgid "Export successfully completed" +msgstr "保存が完了しました" + +#. Ask if system snippets should also be exported +#: ../plugins/snippets/snippets/manager.py:844 +#: ../plugins/snippets/snippets/manager.py:911 +msgid "Do you want to include selected system snippets in your export?" +msgstr "選択したシステムスニペットも一緒に保存しますか?" + +#: ../plugins/snippets/snippets/manager.py:859 +#: ../plugins/snippets/snippets/manager.py:929 +msgid "There are no snippets selected to be exported" +msgstr "保存するスニペットがありません" + +#: ../plugins/snippets/snippets/manager.py:864 +#: ../plugins/snippets/snippets/manager.py:902 +msgid "Export snippets" +msgstr "スニペットの保存" + +#: ../plugins/snippets/snippets/manager.py:1041 +msgid "Type a new shortcut, or press Backspace to clear" +msgstr "(新しいショートカットを入力してください/[BS]キーでクリア)" + +#: ../plugins/snippets/snippets/manager.py:1043 +msgid "Type a new shortcut" +msgstr "(新しいショートカットを入力してください)" + +#: ../plugins/snippets/snippets/placeholder.py:597 +#, python-format +msgid "" +"Execution of the Python command (%s) exceeds the maximum time, execution " +"aborted." +msgstr "Python コマンド (%s) の実行がタイムアウトしたので中止します" + +#: ../plugins/snippets/snippets/placeholder.py:605 +#, python-format +msgid "Execution of the Python command (%s) failed: %s" +msgstr "Python コマンド (%s) の実行に失敗しました: %s" + +#: ../plugins/snippets/snippets.plugin.desktop.in.h:2 +msgid "Insert often-used pieces of text in a fast way" +msgstr "よく使用する文字列をすばやく挿入します。" + +#: ../plugins/snippets/snippets/snippets.ui.h:1 +msgid "Manage Snippets" +msgstr "スニペットの管理" + +#: ../plugins/snippets/snippets/snippets.ui.h:2 +msgid "Create new snippet" +msgstr "新しいスニペットを生成します" + +#: ../plugins/snippets/snippets/snippets.ui.h:3 +msgid "Add Snippet" +msgstr "スニペットの追加" + +#: ../plugins/snippets/snippets/snippets.ui.h:5 +msgid "Remove Snippet" +msgstr "スニペットの削除" + +#: ../plugins/snippets/snippets/snippets.ui.h:7 +msgid "Import Snippets" +msgstr "スニペットのインポート" + +#: ../plugins/snippets/snippets/snippets.ui.h:8 +msgid "Export selected snippets" +msgstr "選択したスニペットを保存します" + +#: ../plugins/snippets/snippets/snippets.ui.h:9 +msgid "Export Snippets" +msgstr "スニペットの保存" + +#: ../plugins/snippets/snippets/snippets.ui.h:10 +msgid "Activation" +msgstr "アクティベーション" + +#: ../plugins/snippets/snippets/snippets.ui.h:11 +msgid " " +msgstr " " + +#. "tab" here means the tab key, not the notebook tab! +#: ../plugins/snippets/snippets/snippets.ui.h:13 +msgid "_Tab trigger:" +msgstr "タブ(_T):" + +#: ../plugins/snippets/snippets/snippets.ui.h:15 +msgid "S_hortcut key:" +msgstr "ショートカットキー(_H):" + +#: ../plugins/snippets/snippets/snippets.ui.h:16 +msgid "Shortcut key with which the snippet is activated" +msgstr "スニペットを実行するためのショートカットキーです" + +#: ../plugins/snippets/snippets/snippets.ui.h:17 +msgid "_Drop targets:" +msgstr "挿入する対象(_D):" + +#: ../plugins/sort/gedit-sort-plugin.c:243 +msgid "S_ort..." +msgstr "並び替え(_O)..." + +#. ex:set ts=8 noet: +#: ../plugins/sort/resources/ui/gedit-sort-plugin.ui.h:1 +#: ../plugins/sort/sort.plugin.desktop.in.h:1 +msgid "Sort" +msgstr "並び替え" + +#: ../plugins/sort/resources/ui/gedit-sort-plugin.ui.h:2 +msgid "_Reverse order" +msgstr "逆順にする(_R)" + +#: ../plugins/sort/resources/ui/gedit-sort-plugin.ui.h:3 +msgid "R_emove duplicates" +msgstr "重複する部分を削除する(_E)" + +#: ../plugins/sort/resources/ui/gedit-sort-plugin.ui.h:4 +msgid "C_ase sensitive" +msgstr "大文字・小文字を区別する(_A)" + +#: ../plugins/sort/resources/ui/gedit-sort-plugin.ui.h:5 +msgid "S_tart at column:" +msgstr "開始行(_T):" + +#: ../plugins/sort/resources/ui/gedit-sort-plugin.ui.h:7 +msgid "_Sort" +msgstr "並び替え(_S)" + +#: ../plugins/sort/sort.plugin.desktop.in.h:2 +msgid "Sorts a document or selected text." +msgstr "ドキュメントまたは選択した文字列を並べ替えます。" + +#: ../plugins/spell/gedit-spell-app-activatable.c:143 +msgid "_Check Spelling..." +msgstr "スペルチェック(_C)..." + +#: ../plugins/spell/gedit-spell-app-activatable.c:147 +msgid "Set _Language..." +msgstr "言語の設定(_L)..." + +#: ../plugins/spell/gedit-spell-app-activatable.c:151 +msgid "_Highlight Misspelled Words" +msgstr "スペルミスの強調表示(_H)" + +#. ex:set ts=8 noet: +#: ../plugins/spell/spell.plugin.desktop.in.h:1 +msgid "Spell Checker" +msgstr "スペルチェッカー" + +#: ../plugins/spell/spell.plugin.desktop.in.h:2 +msgid "Checks the spelling of the current document." +msgstr "このドキュメントのスペルをチェックします。" + +#: ../plugins/time/gedit-time-plugin.c:265 +msgid "In_sert Date and Time..." +msgstr "日付/時刻の挿入(_S)" + +#: ../plugins/time/gedit-time-plugin.c:491 +msgid "Available formats" +msgstr "利用可能な書式" + +#. ex:set ts=8 noet: +#: ../plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in.h:1 +msgid "Prompt Type" +msgstr "プロンプト形式" + +#: ../plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in.h:2 +msgid "" +"If the user should be prompted for a format or if the selected or custom " +"format should be used." +msgstr "毎回プロンプトからユーザーが書式を指定します。選択された書式か、カスタム書式で日付と時間が挿入されます。" + +#: ../plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in.h:3 +msgid "Selected Format" +msgstr "選択された書式" + +#: ../plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in.h:4 +msgid "The selected format used when inserting the date/time." +msgstr "日付/時刻を挿入する時の選択された書式を使用します。" + +#: ../plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in.h:5 +msgid "Custom Format" +msgstr "カスタム書式" + +#: ../plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in.h:6 +msgid "The custom format used when inserting the date/time." +msgstr "日付/時刻を挿入する時のカスタム書式にします。" + +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:1 +msgid "Insert Date and Time" +msgstr "日付と時間の挿入" + +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:2 +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:5 +msgid "Use the _selected format" +msgstr "次の書式を使う(_S)" + +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:3 +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:6 +msgid "_Use custom format" +msgstr "その他(_U)" + +#. Translators: Use the more common date format in your locale +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:5 +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:9 +#, no-c-format +msgid "%d/%m/%Y %H:%M:%S" +msgstr "%Y-%m-%d %H:%M:%S" + +#. Translators: This example should follow the date format defined in the entry above +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:6 +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:11 +msgid "01/11/2009 17:52:00" +msgstr "2009-11-01 17:52:00" + +#: ../plugins/time/resources/ui/gedit-time-dialog.ui.h:9 +msgid "_Insert" +msgstr "挿入(_I)" + +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:1 +msgid "Configure date/time plugin" +msgstr "日付/時間プラグインの設定" + +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:3 +msgid "When inserting date/time..." +msgstr "日付/時刻を挿入する時..." + +#: ../plugins/time/resources/ui/gedit-time-setup-dialog.ui.h:4 +msgid "_Prompt for a format" +msgstr "書式を毎回指定する(_P)" + +#: ../plugins/time/time.plugin.desktop.in.h:1 +msgid "Insert Date/Time" +msgstr "日付/時刻の挿入" + +#: ../plugins/time/time.plugin.desktop.in.h:2 +msgid "Inserts current date and time at the cursor position." +msgstr "カーソル位置に現在の日付と時刻を挿入します。" + diff --git a/SOURCES/jp-search.patch b/SOURCES/jp-search.patch deleted file mode 100644 index 6e22fb6..0000000 --- a/SOURCES/jp-search.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up gedit-3.14.3/gedit/gedit-recent.c.jp-search gedit-3.14.3/gedit/gedit-recent.c ---- gedit-3.14.3/gedit/gedit-recent.c.jp-search 2015-08-18 10:11:59.995992219 -0400 -+++ gedit-3.14.3/gedit/gedit-recent.c 2015-08-18 10:12:23.350315762 -0400 -@@ -250,7 +250,7 @@ gedit_recent_get_items (GeditRecentConfi - { - gchar *uri_lower; - -- uri_lower = g_utf8_strdown (gtk_recent_info_get_uri (info), -1); -+ uri_lower = g_utf8_strdown (gtk_recent_info_get_uri_display (info), -1); - - if (strstr (uri_lower, config->substring_filter) == NULL) - { diff --git a/SPECS/gedit.spec b/SPECS/gedit.spec index 4627c2c..abdf82a 100644 --- a/SPECS/gedit.spec +++ b/SPECS/gedit.spec @@ -1,88 +1,71 @@ %global _changelog_trimtime %(date +%s -d "1 year ago") -%define glib2_version 2.39.5 -%define gtk3_version 3.13.6 -%define pygo_version 3.0.0 -%define desktop_file_utils_version 0.9 -%define gtksourceview_version 3.13.4 -%define enchant_version 1.2.0 -%define isocodes_version 0.35 -%define libpeas_version 1.7.0 +%if 0%{?fedora} > 12 +%global with_python3 1 +%else +%global with_python3 0 +%endif + +%if %{with_python3} +%global __python %{__python3} +%endif + +%global glib2_version 2.44 +%global gtk3_version 3.21.3 +%global gtksourceview_version 3.21.2 +%global libpeas_version 1.14.1 +%global gspell_version 0.2.5 +%global pygo_version 3.0.0 -Summary: Text editor for the GNOME desktop Name: gedit Epoch: 2 -Version: 3.14.3 -Release: 18%{?dist} +Version: 3.22.0 +Release: 3%{?dist} +Summary: Text editor for the GNOME desktop + License: GPLv2+ and GFDL -Group: Applications/Editors -#VCS: git:git://git.gnome.org/gedit -Source0: http://download.gnome.org/sources/gedit/3.14/gedit-%{version}.tar.xz +URL: https://wiki.gnome.org/Apps/Gedit +Source0: https://download.gnome.org/sources/%{name}/3.22/%{name}-%{version}.tar.xz +Source1: ja.po # https://bugzilla.redhat.com/show_bug.cgi?id=1016757 Patch4: gedit-disable-python3.patch -# https://bugzilla.redhat.com/show_bug.cgi?id=1251840 -Patch5: jp-search.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1247999 -Patch6: 0001-po-es-use-single-quote-instead-of-chevrons.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1301760 -Patch7: 0005-Fix-desktop-actions.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1301726 -Patch8: 0011-Printing-fix-margins.patch -Patch9: 0012-Printing-set-default-margin-top-to-15mm.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1301761 -Patch10: 0008-spell-don-t-include-gedit-metadata-manager.h-private.patch -Patch11: 0009-spell-fix-bug-with-document-metadata.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1255556 -Patch12: 0010-Unset-correctly-GVFS-file-attributes.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1301764 -Patch13: 0019-build-fix-generation-of-desktop-files-for-external-t.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1301769 -Patch14: 0024-Add-a-snippet-generating-RPM-SPEC-changelog-line.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1279299 -Patch15: 0025-Add-a-shortcut-for-the-open-button-for-german.patch - -# https://bugzilla.redhat.com/show_bug.cgi?id=1247999 -Patch16: 0001-gedit-document-fix-close-after-save-functionality.patch - -URL: http://projects.gnome.org/gedit/ - -Requires(post): desktop-file-utils >= %{desktop_file_utils_version} -Requires(postun): desktop-file-utils >= %{desktop_file_utils_version} - BuildRequires: gnome-common -BuildRequires: glib2-devel >= %{glib2_version} -BuildRequires: gtk3-devel >= %{gtk3_version} -BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} -BuildRequires: enchant-devel >= %{enchant_version} -BuildRequires: iso-codes-devel >= %{isocodes_version} -BuildRequires: libattr-devel -BuildRequires: gtksourceview3-devel >= %{gtksourceview_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gsettings-desktop-schemas) +BuildRequires: pkgconfig(gspell-1) >= %{gspell_version} +BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} +BuildRequires: pkgconfig(gtksourceview-3.0) >= %{gtksourceview_version} +BuildRequires: pkgconfig(iso-codes) +BuildRequires: pkgconfig(libpeas-gtk-1.0) >= %{libpeas_version} +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(pygobject-3.0) >= %{pygo_version} +BuildRequires: desktop-file-utils BuildRequires: gettext -BuildRequires: pygobject3-devel -BuildRequires: libpeas-devel >= %{libpeas_version} -BuildRequires: gsettings-desktop-schemas-devel BuildRequires: which -BuildRequires: autoconf, automake, libtool BuildRequires: intltool -BuildRequires: gobject-introspection-devel BuildRequires: yelp-tools BuildRequires: itstool -BuildRequires: vala-tools +BuildRequires: vala +%if %{with_python3} +BuildRequires: python3-devel +%else BuildRequires: python-devel +%endif +BuildRequires: /usr/bin/appstream-util Requires: glib2%{?_isa} >= %{glib2_version} +Requires: gspell%{?_isa} >= %{gspell_version} Requires: gtk3%{?_isa} >= %{gtk3_version} Requires: gtksourceview3%{?_isa} >= %{gtksourceview_version} +%if %{with_python3} +Requires: libpeas-loader-python3%{?_isa} +Requires: python3-gobject >= %{pygo_version} +%else +Requires: libpeas-loader-python%{?_isa} +%endif # the run-command plugin uses zenity Requires: zenity Requires: gsettings-desktop-schemas @@ -104,8 +87,7 @@ gedit-plugins package. %package devel Summary: Support for developing plugins for the gedit text editor -Group: Development/Libraries -Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} %description devel gedit is a small, but powerful text editor for the GNOME desktop. @@ -116,26 +98,16 @@ Install gedit-devel if you want to write plugins for gedit. %prep %setup -q +cp -f $RPM_SOURCE_DIR/ja.po po %patch4 -p1 -b .disable-python -%patch5 -p1 -b .jp-search -%patch6 -p1 -b .es-po-quotes -%patch7 -p1 -b .desktop-actions -%patch8 -p1 -b .printing-margins -%patch9 -p1 -b .printing-margins2 -%patch10 -p1 -b .spell -%patch11 -p1 -b .spell2 -%patch12 -p1 -b .unset-gvfs -%patch13 -p1 -b .external-tools -%patch14 -p1 -b .changelog-snipplet -%patch15 -p1 -b .german-open-shortcut -%patch16 -p1 -b .fix-close-after-save autoreconf -i -f intltoolize -f %build %configure \ + --disable-static \ --disable-gtk-doc \ --enable-introspection=yes \ --enable-python=yes \ @@ -144,11 +116,9 @@ intltoolize -f make %{_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install -## clean up all the static libs for plugins (workaround for no -module) -/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir} -name "*.a"` -/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir} -name "*.la"` +find $RPM_BUILD_ROOT -name '*.la' -delete %find_lang %{name} --with-gnome @@ -165,6 +135,7 @@ X-RHEL-AliasOf=org.gnome.gedit EOF %check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/appdata/org.gnome.gedit.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.gedit.desktop %post @@ -184,11 +155,17 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : %files -f %{name}.lang -%doc README COPYING AUTHORS +%doc README AUTHORS +%license COPYING %{_datadir}/gedit %{_datadir}/applications/*.desktop %{_mandir}/man1/* +%if %{with_python3} +%{python3_sitearch}/gi/overrides/Gedit.py* +%{python3_sitearch}/gi/overrides/__pycache__ +%else %{python2_sitearch}/gi/overrides/* +%endif %{_libexecdir}/gedit %{_libdir}/gedit/girepository-1.0 %dir %{_libdir}/gedit @@ -226,15 +203,24 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.time.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.time.enums.xml %{_datadir}/dbus-1/services/org.gnome.gedit.service - +%{_datadir}/icons/hicolor/*/apps/gedit.png +%{_datadir}/icons/hicolor/symbolic/apps/gedit-symbolic.svg %files devel -%{_includedir}/gedit-3.12 +%{_includedir}/gedit-3.14 %{_libdir}/pkgconfig/gedit.pc %{_datadir}/gtk-doc %{_datadir}/vala/ %changelog +* Tue May 30 2017 Ray Strode - 2:3.22.0-3 +- add improved japanese translation + Resolves: #1382638 + +* Mon Sep 19 2016 Kalev Lember - 2:3.22.0-1 +- Update to 3.22.0 +- Resolves: #1386863 + * Mon Aug 01 2016 Ray Strode - 3.14.3-18 - Updated version of python3→2 patch from Matej Cepl Resolves: #1360922