[Xfce4-commits] <exo:master> Store preferred application in mimeapps.list (bug #6800).

Nick Schermer noreply at xfce.org
Sat Nov 13 16:24:02 CET 2010


Updating branch refs/heads/master
         to ecb8a6e01204fd36319c69431c3ff9fd59f3c37c (commit)
       from 59214af3d667e6351dc2dee4fe4523aaf445679f (commit)

commit ecb8a6e01204fd36319c69431c3ff9fd59f3c37c
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Nov 13 16:03:15 2010 +0100

    Store preferred application in mimeapps.list (bug #6800).
    
    Because the gio plugin is not workin in glib 2.27, we need another
    way to use our preferred application framework in GIO apps. So
    make sure the x-scheme-handler/<uri> types supported by exo-open
    are stored in mimeapps.list, so they are use by gio when selecting
    the default application handler.

 exo-helper/exo-helper.c |   62 ++++++++++++++++++++++++++++++++++++++++++++--
 po/ar.po                |    2 +-
 po/ast.po               |    4 +-
 po/be.po                |    4 +-
 po/bg.po                |    2 +-
 po/bn.po                |    4 +-
 po/ca.po                |    4 +-
 po/cs.po                |    4 +-
 po/cy.po                |    4 +-
 po/da.po                |    4 +-
 po/de.po                |    4 +-
 po/dz.po                |    4 +-
 po/el.po                |    4 +-
 po/en_GB.po             |    4 +-
 po/es.po                |    4 +-
 po/et.po                |    4 +-
 po/eu.po                |    4 +-
 po/fi.po                |    4 +-
 po/fr.po                |    4 +-
 po/gl.po                |    4 +-
 po/he.po                |    2 +-
 po/hr.po                |    2 +-
 po/hu.po                |    4 +-
 po/id.po                |    4 +-
 po/is.po                |    2 +-
 po/it.po                |    4 +-
 po/ja.po                |    4 +-
 po/ka.po                |    2 +-
 po/kk.po                |    4 +-
 po/ku.po                |    2 +-
 po/lt.po                |    2 +-
 po/lv.po                |    4 +-
 po/mk.po                |    4 +-
 po/nb.po                |    4 +-
 po/nl.po                |    4 +-
 po/pa.po                |    4 +-
 po/pl.po                |    4 +-
 po/pt.po                |    4 +-
 po/pt_BR.po             |    4 +-
 po/ro.po                |    4 +-
 po/ru.po                |    4 +-
 po/si.po                |    2 +-
 po/sk.po                |    2 +-
 po/sl.po                |    2 +-
 po/sq.po                |    4 +-
 po/sv.po                |    4 +-
 po/tl_PH.po             |    4 +-
 po/tr.po                |    4 +-
 po/ug.po                |    4 +-
 po/uk.po                |    4 +-
 po/ur.po                |    4 +-
 po/ur_PK.po             |    4 +-
 po/zh_CN.po             |    2 +-
 po/zh_TW.po             |    4 +-
 54 files changed, 153 insertions(+), 97 deletions(-)

diff --git a/exo-helper/exo-helper.c b/exo-helper/exo-helper.c
index eecf0f6..3fe7229 100644
--- a/exo-helper/exo-helper.c
+++ b/exo-helper/exo-helper.c
@@ -669,8 +669,12 @@ exo_helper_database_set_default (ExoHelperDatabase *database,
                                  ExoHelper         *helper,
                                  GError           **error)
 {
-  XfceRc *rc;
-  gchar  *key;
+  XfceRc       *rc, *desktop_file;
+  gchar        *key;
+  const gchar  *filename;
+  gchar       **mimetypes;
+  guint         i;
+  gchar        *path;
 
   g_return_val_if_fail (category < EXO_HELPER_N_CATEGORIES, FALSE);
   g_return_val_if_fail (EXO_IS_HELPER_DATABASE (database), FALSE);
@@ -681,7 +685,7 @@ exo_helper_database_set_default (ExoHelperDatabase *database,
   rc = xfce_rc_config_open (XFCE_RESOURCE_CONFIG, "xfce4/helpers.rc", FALSE);
   if (G_UNLIKELY (rc == NULL))
     {
-      g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_IO, _("Failed to open helpers.rc for writing"));
+      g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_IO, _("Failed to open %s for writing"), "helpers.rc");
       return FALSE;
     }
 
@@ -691,6 +695,58 @@ exo_helper_database_set_default (ExoHelperDatabase *database,
   xfce_rc_close (rc);
   g_free (key);
 
+  /* get the desktop filename */
+  switch (category)
+    {
+      case EXO_HELPER_WEBBROWSER:
+        filename = "exo-web-browser.desktop";
+        break;
+
+      case EXO_HELPER_MAILREADER:
+        filename = "exo-mail-reader.desktop";
+        break;
+
+      case EXO_HELPER_FILEMANAGER:
+        filename = "exo-file-manager.desktop";
+        break;
+
+      default:
+        /* no mimetype support for terminals */
+        return TRUE;
+    }
+
+  /* open the mimeapp.list file to set the default handler of the mime type */
+  rc = xfce_rc_config_open (XFCE_RESOURCE_DATA, "applications/mimeapps.list", FALSE);
+  if (G_UNLIKELY (rc == NULL))
+    {
+      g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_IO, _("Failed to open %s for writing"), "mimeapps.list");
+      return FALSE;
+    }
+
+  /* open the exo desktop file to read the mimetypes the file supports */
+  path = g_build_filename ("applications", filename, NULL);
+  desktop_file = xfce_rc_config_open (XFCE_RESOURCE_DATA, path, TRUE);
+  g_free (path);
+
+  if (G_UNLIKELY (desktop_file != NULL))
+    {
+      xfce_rc_set_group (desktop_file, "Desktop Entry");
+      mimetypes = xfce_rc_read_list_entry (desktop_file, "MimeType", ";");
+      if (mimetypes != NULL)
+        {
+          xfce_rc_set_group (rc, "Added Associations");
+
+          for (i = 0; mimetypes[i] != NULL; i++)
+            if (!exo_str_is_empty (mimetypes[i]))
+              xfce_rc_write_entry (rc, mimetypes[i], filename);
+          g_strfreev (mimetypes);
+        }
+
+      xfce_rc_close (desktop_file);
+    }
+
+  xfce_rc_close (rc);
+
   return TRUE;
 }
 
diff --git a/po/ar.po b/po/ar.po
index 59570a8..1e4217b 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -982,7 +982,7 @@ msgstr ""
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/ast.po b/po/ast.po
index c049012..6e327d3 100644
--- a/po/ast.po
+++ b/po/ast.po
@@ -1031,8 +1031,8 @@ msgstr "Nun s'especificó dengún comandu"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Fallu al abrir helpers.rc pa escritura"
+msgid "Failed to open %s for writing"
+msgstr "Fallu al abrir %s pa escritura"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/be.po b/po/be.po
index 6c31605..2da74fd 100644
--- a/po/be.po
+++ b/po/be.po
@@ -1037,8 +1037,8 @@ msgstr "Загад ня вызначаны"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Немагчыма адкрыць helpers.rc для запісу"
+msgid "Failed to open %s for writing"
+msgstr "Немагчыма адкрыць %s для запісу"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/bg.po b/po/bg.po
index 0d8416d..c3df2a4 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -986,7 +986,7 @@ msgstr ""
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/bn.po b/po/bn.po
index 84495cc..891e697 100644
--- a/po/bn.po
+++ b/po/bn.po
@@ -1025,8 +1025,8 @@ msgstr "কোন কমান্ড উল্লেখ করা হয়নি"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "লেখার জন্য helpers.rc খুলতে ব্যর্থ"
+msgid "Failed to open %s for writing"
+msgstr "লেখার জন্য %s খুলতে ব্যর্থ"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ca.po b/po/ca.po
index 0e2aca7..ac6a91f 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -1025,8 +1025,8 @@ msgstr "No heu especificat cap ordre"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "No s'ha pogut obrir helpers.rc per escriptura"
+msgid "Failed to open %s for writing"
+msgstr "No s'ha pogut obrir %s per escriptura"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/cs.po b/po/cs.po
index eab68a2..4e9a9e9 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -1045,8 +1045,8 @@ msgstr "Nebyl zadán žádný příkaz"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Nepodařilo se otevřít soubor helpers.rc pro zápis"
+msgid "Failed to open %s for writing"
+msgstr "Nepodařilo se otevřít soubor %s pro zápis"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/cy.po b/po/cy.po
index a252e09..a78779d 100644
--- a/po/cy.po
+++ b/po/cy.po
@@ -1037,8 +1037,8 @@ msgstr "Ni benodwyd gorchymyn"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Methu agor helpers.rc ar gyfer ysgrifennu "
+msgid "Failed to open %s for writing"
+msgstr "Methu agor %s ar gyfer ysgrifennu "
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/da.po b/po/da.po
index e9adf24..232a345 100644
--- a/po/da.po
+++ b/po/da.po
@@ -1022,8 +1022,8 @@ msgstr "Ingen kommando valgt"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Kunne ikke åbne helpers.rc i skrivetilstand"
+msgid "Failed to open %s for writing"
+msgstr "Kunne ikke åbne %s i skrivetilstand"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/de.po b/po/de.po
index 7ce5514..4cf813c 100644
--- a/po/de.po
+++ b/po/de.po
@@ -1018,8 +1018,8 @@ msgstr "Kein Befehl angegeben"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Konnte »helpers.rc« nicht zum Schreiben öffnen"
+msgid "Failed to open %s for writing"
+msgstr "Konnte »%s« nicht zum Schreiben öffnen"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/dz.po b/po/dz.po
index 052a8b9..5d74898 100644
--- a/po/dz.po
+++ b/po/dz.po
@@ -1045,8 +1045,8 @@ msgstr "བརྡ་བཀོད་གསལ་བཀོད་འབད་དེ
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "རྩོམ་སྒྲིག་འབད་ནི་དོན་ལུ་  helpers.rc ཁ་ཕྱེ་ནི་འདི་འཐུས་ཤོར་འབྱུང་ནུག"
+msgid "Failed to open %s for writing"
+msgstr "རྩོམ་སྒྲིག་འབད་ནི་དོན་ལུ་  %s ཁ་ཕྱེ་ནི་འདི་འཐུས་ཤོར་འབྱུང་ནུག"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/el.po b/po/el.po
index f55cd9e..93effd1 100644
--- a/po/el.po
+++ b/po/el.po
@@ -1038,8 +1038,8 @@ msgstr "Δεν ορίστηκε εντολή"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Απέτυχε το άνοιγμα του helpers.rc για εγγραφή"
+msgid "Failed to open %s for writing"
+msgstr "Απέτυχε το άνοιγμα του %s για εγγραφή"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/en_GB.po b/po/en_GB.po
index add747c..b4ea34b 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -1039,8 +1039,8 @@ msgstr "No command specified"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
+msgstr "Failed to open %s for writing"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/es.po b/po/es.po
index 7752749..941cb67 100644
--- a/po/es.po
+++ b/po/es.po
@@ -1022,8 +1022,8 @@ msgstr "No se especificó ningún comando"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Fallo al abrir helpers.rc para escritura"
+msgid "Failed to open %s for writing"
+msgstr "Fallo al abrir %s para escritura"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/et.po b/po/et.po
index 42be948..5bd6e12 100644
--- a/po/et.po
+++ b/po/et.po
@@ -1039,8 +1039,8 @@ msgstr "Käsku pole määratud"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "helpers.rc avamine kirjutamiseks ei õnnestunud"
+msgid "Failed to open %s for writing"
+msgstr "%s avamine kirjutamiseks ei õnnestunud"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/eu.po b/po/eu.po
index 6b7e777..61243f1 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -1022,8 +1022,8 @@ msgstr "Ez da komandoa ezarri"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Huts helpers.rc idazteko idazterakoan"
+msgid "Failed to open %s for writing"
+msgstr "Huts %s idazteko idazterakoan"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/fi.po b/po/fi.po
index 5d3db3f..1de32f2 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -1025,8 +1025,8 @@ msgstr "Ei komentoa määritetty"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Tiedoston helpers.rc avaaminen kirjoitettavaksi epäonnistui"
+msgid "Failed to open %s for writing"
+msgstr "Tiedoston %s avaaminen kirjoitettavaksi epäonnistui"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/fr.po b/po/fr.po
index 0db42c7..dbea727 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -1035,8 +1035,8 @@ msgstr "Aucune commande n'a été précisée"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Impossible d'ouvrir helpers.rc en écriture"
+msgid "Failed to open %s for writing"
+msgstr "Impossible d'ouvrir %s en écriture"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/gl.po b/po/gl.po
index 8b08444..ad86488 100644
--- a/po/gl.po
+++ b/po/gl.po
@@ -1030,8 +1030,8 @@ msgstr "Non se especificou ningunha orde"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Produciuse un erro ao abrir helpers.rc para escritura"
+msgid "Failed to open %s for writing"
+msgstr "Produciuse un erro ao abrir %s para escritura"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/he.po b/po/he.po
index 50d9906..a939d90 100644
--- a/po/he.po
+++ b/po/he.po
@@ -1021,7 +1021,7 @@ msgstr "לא נבחרה פקודה."
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr "כשל בפתיחת helper.rc לכתיבה"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/hr.po b/po/hr.po
index c76ec38..638a172 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -1003,7 +1003,7 @@ msgstr ""
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/hu.po b/po/hu.po
index 026a618..86b4c3f 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -1020,8 +1020,8 @@ msgstr "Nincs megadva parancs"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "A helpers.rc nem nyitható meg írásra"
+msgid "Failed to open %s for writing"
+msgstr "A %s nem nyitható meg írásra"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/id.po b/po/id.po
index 4849a94..ea70e88 100644
--- a/po/id.po
+++ b/po/id.po
@@ -1020,8 +1020,8 @@ msgstr "Tidak ada perintah ditentukan"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Gagal membuka helpers.rc untuk menulis"
+msgid "Failed to open %s for writing"
+msgstr "Gagal membuka %s untuk menulis"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/is.po b/po/is.po
index 6ce32b5..93fc739 100644
--- a/po/is.po
+++ b/po/is.po
@@ -1035,7 +1035,7 @@ msgstr "Engin skipun gefin"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/it.po b/po/it.po
index 205f566..36fb79f 100644
--- a/po/it.po
+++ b/po/it.po
@@ -1039,8 +1039,8 @@ msgstr "Nessun comando specificato"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Impossibile aprire \"helpers.rc\" in scrittura"
+msgid "Failed to open %s for writing"
+msgstr "Impossibile aprire \"%s\" in scrittura"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ja.po b/po/ja.po
index 5565e75..c9b3c78 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -1102,8 +1102,8 @@ msgstr "コマンドが指定されていません"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "書き込むために helpers.rc を開くことに失敗しました"
+msgid "Failed to open %s for writing"
+msgstr "書き込むために %s を開くことに失敗しました"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ka.po b/po/ka.po
index b478b81..1400000 100644
--- a/po/ka.po
+++ b/po/ka.po
@@ -982,7 +982,7 @@ msgstr ""
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/kk.po b/po/kk.po
index d7e2b3d..b11f716 100644
--- a/po/kk.po
+++ b/po/kk.po
@@ -1019,8 +1019,8 @@ msgstr "Команда көрсетілмеген"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Жазу үшін helpers.rc ашу сәтсіз аяқталды"
+msgid "Failed to open %s for writing"
+msgstr "Жазу үшін %s ашу сәтсіз аяқталды"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ku.po b/po/ku.po
index 944a0ca..79e301b 100644
--- a/po/ku.po
+++ b/po/ku.po
@@ -989,7 +989,7 @@ msgstr ""
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/lt.po b/po/lt.po
index 1c53db7..1085879 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -987,7 +987,7 @@ msgstr ""
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/lv.po b/po/lv.po
index 9ad3c43..f60ef61 100644
--- a/po/lv.po
+++ b/po/lv.po
@@ -1039,8 +1039,8 @@ msgstr "Nav norādīta komanda"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Neizdevās atvērt helpers.rc rakstīšanai"
+msgid "Failed to open %s for writing"
+msgstr "Neizdevās atvērt %s rakstīšanai"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/mk.po b/po/mk.po
index c36f759..05918ab 100644
--- a/po/mk.po
+++ b/po/mk.po
@@ -1046,8 +1046,8 @@ msgstr "Не е посочена команда"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Не успеа да го отвори helpers.rc за запишување"
+msgid "Failed to open %s for writing"
+msgstr "Не успеа да го отвори %s за запишување"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/nb.po b/po/nb.po
index 6ab98cf..4d48aaa 100644
--- a/po/nb.po
+++ b/po/nb.po
@@ -1039,8 +1039,8 @@ msgstr "Ingen kommando er angitt"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Klarte ikke åpne helpers.rc for skriving"
+msgid "Failed to open %s for writing"
+msgstr "Klarte ikke åpne %s for skriving"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/nl.po b/po/nl.po
index 174a599..de903f9 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -1042,8 +1042,8 @@ msgstr "Geen commando opgegeven"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Kon helpers.rc niet openen om naar te schrijven"
+msgid "Failed to open %s for writing"
+msgstr "Kon %s niet openen om naar te schrijven"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/pa.po b/po/pa.po
index d23d7c9..7aeac45 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -1026,8 +1026,8 @@ msgstr "ਕੋਈ ਕਮਾਂਡ ਨਹੀਂ ਦਿੱਤੀ ਗਈ"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "ਲਿਖਣ ਵਾਸਤੇ helpers.rc ਖੋਲ੍ਹਣ ਲਈ ਫੇਲ੍ਹ ਹੈ"
+msgid "Failed to open %s for writing"
+msgstr "ਲਿਖਣ ਵਾਸਤੇ %s ਖੋਲ੍ਹਣ ਲਈ ਫੇਲ੍ਹ ਹੈ"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/pl.po b/po/pl.po
index 173e08b..5fe4db9 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -1042,8 +1042,8 @@ msgstr "Nie określono polecenia"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Nie udało się otworzyć pliku helpers.rc do zapisu"
+msgid "Failed to open %s for writing"
+msgstr "Nie udało się otworzyć pliku %s do zapisu"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/pt.po b/po/pt.po
index d91b9b9..ba89016 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -1019,8 +1019,8 @@ msgstr "Nenhum comando especificado"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Falha ao abrir \"helpers.rc\" para escrita"
+msgid "Failed to open %s for writing"
+msgstr "Falha ao abrir \"%s\" para escrita"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 8cdba3a..51f4f7a 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -1039,8 +1039,8 @@ msgstr "Nenhum comando especificado"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Falha ao abrir helpers.rc para escrita"
+msgid "Failed to open %s for writing"
+msgstr "Falha ao abrir %s para escrita"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ro.po b/po/ro.po
index 5bd1879..9e8f60c 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -1041,8 +1041,8 @@ msgstr "Nu s-a specificat o comandă"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Nu s-a putut deschide „helpers.rc” pentru scriere"
+msgid "Failed to open %s for writing"
+msgstr "Nu s-a putut deschide „%s” pentru scriere"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ru.po b/po/ru.po
index a836160..2fe2608 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -1040,8 +1040,8 @@ msgstr "Не указан комментарий"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Не удалось открыть файл helpers.rc для записи"
+msgid "Failed to open %s for writing"
+msgstr "Не удалось открыть файл %s для записи"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/si.po b/po/si.po
index c6515fb..bdfa14b 100644
--- a/po/si.po
+++ b/po/si.po
@@ -988,7 +988,7 @@ msgstr ""
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/sk.po b/po/sk.po
index 083302e..8da61ed 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -1024,7 +1024,7 @@ msgstr "Nebol zadaný žiadny príkaz"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr "Nepodarilo sa otvoriť súbor helpers rc pre zápis"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/sl.po b/po/sl.po
index cc27542..c54438f 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -1003,7 +1003,7 @@ msgstr "Ni določenega ukaza"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr ""
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/sq.po b/po/sq.po
index 0ec60d6..3d13bd7 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -1044,8 +1044,8 @@ msgstr "Pa urdhër të përcaktuar"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Dështoi në hapjen e helpers.rc për shkrim"
+msgid "Failed to open %s for writing"
+msgstr "Dështoi në hapjen e %s për shkrim"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/sv.po b/po/sv.po
index e1e635a..6b17844 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -1035,8 +1035,8 @@ msgstr "Inget kommando angavs"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Misslyckades med att öppna helpers.rc för skrivning"
+msgid "Failed to open %s for writing"
+msgstr "Misslyckades med att öppna %s för skrivning"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/tl_PH.po b/po/tl_PH.po
index b29141e..334f025 100644
--- a/po/tl_PH.po
+++ b/po/tl_PH.po
@@ -1041,8 +1041,8 @@ msgstr "Walang utos na minungkahi"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Hindi tagumpay sa pagbukas ng helpers.rc upang sulatan"
+msgid "Failed to open %s for writing"
+msgstr "Hindi tagumpay sa pagbukas ng %s upang sulatan"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/tr.po b/po/tr.po
index b2e30da..4a8bffc 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -1041,8 +1041,8 @@ msgstr "Belirlenmiş komut yok"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "helpers.rc, yazılacak şekilde açılamadı"
+msgid "Failed to open %s for writing"
+msgstr "%s, yazılacak şekilde açılamadı"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ug.po b/po/ug.po
index 479a6ea..ee0cc81 100644
--- a/po/ug.po
+++ b/po/ug.po
@@ -1078,8 +1078,8 @@ msgstr "بۇيرۇق بېكىتىلمىگەن"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "يېزىش مەقسىتىدە helpers.rc نى ئېچىش مەغلۇپ بولدى"
+msgid "Failed to open %s for writing"
+msgstr "يېزىش مەقسىتىدە %s نى ئېچىش مەغلۇپ بولدى"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/uk.po b/po/uk.po
index 1e56b7b..c200e75 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -1020,8 +1020,8 @@ msgstr "Команду не призначено"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "Помилка відкриття helpers.rc для запису"
+msgid "Failed to open %s for writing"
+msgstr "Помилка відкриття %s для запису"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ur.po b/po/ur.po
index 142bedd..47da05b 100644
--- a/po/ur.po
+++ b/po/ur.po
@@ -1040,8 +1040,8 @@ msgstr "کوئی کمانڈ متعین نہیں کی گئی"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "لکھنے کے لیے helpers.rc کو کھولنے میں ناکامی"
+msgid "Failed to open %s for writing"
+msgstr "لکھنے کے لیے %s کو کھولنے میں ناکامی"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/ur_PK.po b/po/ur_PK.po
index 142bedd..47da05b 100644
--- a/po/ur_PK.po
+++ b/po/ur_PK.po
@@ -1040,8 +1040,8 @@ msgstr "کوئی کمانڈ متعین نہیں کی گئی"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "لکھنے کے لیے helpers.rc کو کھولنے میں ناکامی"
+msgid "Failed to open %s for writing"
+msgstr "لکھنے کے لیے %s کو کھولنے میں ناکامی"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index b95e80b..8c5ca2f 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -1001,7 +1001,7 @@ msgstr "没有指定命令"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
+msgid "Failed to open %s for writing"
 msgstr "无法打开文件 helper.rc"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
diff --git a/po/zh_TW.po b/po/zh_TW.po
index a8a70f9..6ba46a0 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -1020,8 +1020,8 @@ msgstr "尚未指定指令"
 
 #: ../exo-helper/exo-helper.c:684
 #, c-format
-msgid "Failed to open helpers.rc for writing"
-msgstr "無法開啟要寫入的 helpers.rc"
+msgid "Failed to open %s for writing"
+msgstr "無法開啟要寫入的 %s"
 
 #: ../exo-helper/exo-preferred-applications.desktop.in.h:2
 msgid "Preferred Applications (Web Browser, Mail Reader and Terminal Emulator)"



More information about the Xfce4-commits mailing list