[Goodies-commits] r3761 - in thunar-svn-plugin/trunk: po thunar-svn-plugin tsp-svn-helper
Peter de Ridder
peter at xfce.org
Sun Dec 30 01:04:38 CET 2007
Author: peter
Date: 2007-12-30 00:04:37 +0000 (Sun, 30 Dec 2007)
New Revision: 3761
Added:
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.h
Modified:
thunar-svn-plugin/trunk/po/fr.po
thunar-svn-plugin/trunk/po/hu.po
thunar-svn-plugin/trunk/po/lv.po
thunar-svn-plugin/trunk/po/nl.po
thunar-svn-plugin/trunk/po/pt_BR.po
thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot
thunar-svn-plugin/trunk/po/ur.po
thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c
thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c
thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h
thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am
thunar-svn-plugin/trunk/tsp-svn-helper/main.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h
Log:
* Actions addes
- import
* Updated translations
Modified: thunar-svn-plugin/trunk/po/fr.po
===================================================================
--- thunar-svn-plugin/trunk/po/fr.po 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/po/fr.po 2007-12-30 00:04:37 UTC (rev 3761)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: xfce-i 18n\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-28 01:06+0100\n"
+"POT-Creation-Date: 2007-12-30 01:08+0100\n"
"PO-Revision-Date: 2007-10-24 13:04+0100\n"
"Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
"Language-Team: French\n"
@@ -17,100 +17,100 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: thunar-svn-plugin/tsp-provider.c:402
-msgid "SVN _Import"
-msgstr "SVN _Importer"
-
-#: thunar-svn-plugin/tsp-provider.c:404
-#, fuzzy
-msgid "Import"
-msgstr "SVN _Importer"
-
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:410 thunar-svn-plugin/tsp-provider.c:445
-#: thunar-svn-plugin/tsp-provider.c:453
+#: thunar-svn-plugin/tsp-provider.c:401 thunar-svn-plugin/tsp-provider.c:416
+#: thunar-svn-plugin/tsp-provider.c:451 thunar-svn-plugin/tsp-provider.c:459
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:458
+#: thunar-svn-plugin/tsp-provider.c:406
+msgid "SVN _Import"
+msgstr "SVN _Importer"
+
+#: thunar-svn-plugin/tsp-provider.c:464
msgid "SVN _Checkout"
msgstr "SVN _Extraire"
-#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
+#: thunar-svn-plugin/tsp-provider.c:471
+#, fuzzy
+msgid "SVN _Export"
+msgstr "SVN _Importer"
+
+#: thunar-svn-plugin/tsp-svn-action.c:235 tsp-svn-helper/main.c:137
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Ajouter"
-#: thunar-svn-plugin/tsp-svn-action.c:245
+#: thunar-svn-plugin/tsp-svn-action.c:243
msgid "Blame"
msgstr "Différences détaillées"
-#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
+#: thunar-svn-plugin/tsp-svn-action.c:261 tsp-svn-helper/main.c:145
msgid "Cleanup"
msgstr "Nettoyer les verrous"
-#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: thunar-svn-plugin/tsp-svn-action.c:269 tsp-svn-helper/main.c:149
#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Envoyer"
-#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: thunar-svn-plugin/tsp-svn-action.c:282 tsp-svn-helper/main.c:153
#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Effacer"
-#: thunar-svn-plugin/tsp-svn-action.c:292
+#: thunar-svn-plugin/tsp-svn-action.c:290
msgid "Diff"
msgstr "Différences"
-#: thunar-svn-plugin/tsp-svn-action.c:300 tsp-svn-helper/main.c:149
-#: tsp-svn-helper/tsh-export.c:91 tsp-svn-helper/tsh-export.c:109
+#: thunar-svn-plugin/tsp-svn-action.c:298 tsp-svn-helper/main.c:157
+#: tsp-svn-helper/tsh-export.c:99 tsp-svn-helper/tsh-export.c:117
msgid "Export"
msgstr "Exporter"
-#: thunar-svn-plugin/tsp-svn-action.c:313
+#: thunar-svn-plugin/tsp-svn-action.c:311
msgid "Info"
msgstr "Information"
-#: thunar-svn-plugin/tsp-svn-action.c:326
+#: thunar-svn-plugin/tsp-svn-action.c:324
msgid "Lock"
msgstr "Bloquer"
-#: thunar-svn-plugin/tsp-svn-action.c:334
+#: thunar-svn-plugin/tsp-svn-action.c:332
msgid "Log"
msgstr "Journal"
-#: thunar-svn-plugin/tsp-svn-action.c:363
+#: thunar-svn-plugin/tsp-svn-action.c:361
msgid "Edit Properties"
msgstr "Éditer les propriétés"
-#: thunar-svn-plugin/tsp-svn-action.c:373
+#: thunar-svn-plugin/tsp-svn-action.c:371
msgid "Resolve"
msgstr "Fixer comme résolu"
-#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:165
#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Restaurer"
-#: thunar-svn-plugin/tsp-svn-action.c:389
+#: thunar-svn-plugin/tsp-svn-action.c:387
msgid "Status"
msgstr "État"
-#: thunar-svn-plugin/tsp-svn-action.c:397
+#: thunar-svn-plugin/tsp-svn-action.c:395
msgid "Switch"
msgstr "Modifier l'adresse du dépôt"
-#: thunar-svn-plugin/tsp-svn-action.c:405
+#: thunar-svn-plugin/tsp-svn-action.c:403
msgid "Unlock"
msgstr "Débloquer"
-#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
+#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:169
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Mettre à jour"
-#: thunar-svn-plugin/tsp-svn-action.c:426
+#: thunar-svn-plugin/tsp-svn-action.c:424
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -172,86 +172,100 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:70
+#: tsp-svn-helper/main.c:72
msgid "Print version information"
msgstr "Afficher l'information sur la version"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:79
#, fuzzy
msgid "Execute add action"
msgstr "Exécuter une mise à jour"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:85
msgid "Execute checkout action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:91
#, fuzzy
msgid "Execute cleanup action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:97
#, fuzzy
msgid "Execute commit action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:101
+#: tsp-svn-helper/main.c:103
#, fuzzy
msgid "Execute delete action"
msgstr "Exécuter une mise à jour"
-#: tsp-svn-helper/main.c:107
+#: tsp-svn-helper/main.c:109
#, fuzzy
msgid "Execute export action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:115
#, fuzzy
+msgid "Execute import action"
+msgstr "Exécuter une extraction"
+
+#: tsp-svn-helper/main.c:121
+#, fuzzy
msgid "Execute revert action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:119
+#: tsp-svn-helper/main.c:127
msgid "Execute update action"
msgstr "Exécuter une mise à jour"
-#: tsp-svn-helper/main.c:129
+#: tsp-svn-helper/main.c:137
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133
+#: tsp-svn-helper/main.c:141
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/main.c:141 tsp-svn-helper/tsh-checkout.c:90
#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Extraction"
-#: tsp-svn-helper/main.c:137
+#: tsp-svn-helper/main.c:145
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:141
+#: tsp-svn-helper/main.c:149
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:145
+#: tsp-svn-helper/main.c:153
msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:149
+#: tsp-svn-helper/main.c:157
msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:153
+#: tsp-svn-helper/main.c:161
+msgid "Import Related Opions:"
+msgstr ""
+
+#: tsp-svn-helper/main.c:161
+#, fuzzy
+msgid "Import"
+msgstr "SVN _Importer"
+
+#: tsp-svn-helper/main.c:165
msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:157
+#: tsp-svn-helper/main.c:169
msgid "Update Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:203
+#: tsp-svn-helper/main.c:215
msgid "Not enough arguments provided"
msgstr ""
@@ -421,20 +435,20 @@
msgid "Notification"
msgstr "Notification"
-#: tsp-svn-helper/tsh-transfer-dialog.c:64
+#: tsp-svn-helper/tsh-transfer-dialog.c:65
msgid "_Repository:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:71
-#: tsp-svn-helper/tsh-transfer-dialog.c:91
+#: tsp-svn-helper/tsh-transfer-dialog.c:72
+#: tsp-svn-helper/tsh-transfer-dialog.c:92
msgid "Select a folder"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:84
+#: tsp-svn-helper/tsh-transfer-dialog.c:85
msgid "_Directory:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:103
+#: tsp-svn-helper/tsh-transfer-dialog.c:104
msgid "Transfer"
msgstr ""
Modified: thunar-svn-plugin/trunk/po/hu.po
===================================================================
--- thunar-svn-plugin/trunk/po/hu.po 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/po/hu.po 2007-12-30 00:04:37 UTC (rev 3761)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: Thunar SVN plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-28 01:06+0100\n"
+"POT-Creation-Date: 2007-12-30 01:08+0100\n"
"PO-Revision-Date: 2007-06-04 08:37+0100\n"
"Last-Translator: SZERVÁC Attila <sas at 321.hu>\n"
"Language-Team: Hungarian\n"
@@ -13,100 +13,100 @@
"X-Poedit-Language: Hungarian\n"
"X-Poedit-Country: HUNGARY\n"
-#: thunar-svn-plugin/tsp-provider.c:402
-msgid "SVN _Import"
-msgstr "SVN _Import"
-
-#: thunar-svn-plugin/tsp-provider.c:404
-#, fuzzy
-msgid "Import"
-msgstr "SVN _Import"
-
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:410 thunar-svn-plugin/tsp-provider.c:445
-#: thunar-svn-plugin/tsp-provider.c:453
+#: thunar-svn-plugin/tsp-provider.c:401 thunar-svn-plugin/tsp-provider.c:416
+#: thunar-svn-plugin/tsp-provider.c:451 thunar-svn-plugin/tsp-provider.c:459
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:458
+#: thunar-svn-plugin/tsp-provider.c:406
+msgid "SVN _Import"
+msgstr "SVN _Import"
+
+#: thunar-svn-plugin/tsp-provider.c:464
msgid "SVN _Checkout"
msgstr "SVN _Checkout"
-#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
+#: thunar-svn-plugin/tsp-provider.c:471
+#, fuzzy
+msgid "SVN _Export"
+msgstr "SVN _Import"
+
+#: thunar-svn-plugin/tsp-svn-action.c:235 tsp-svn-helper/main.c:137
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Hozzáad"
-#: thunar-svn-plugin/tsp-svn-action.c:245
+#: thunar-svn-plugin/tsp-svn-action.c:243
msgid "Blame"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
+#: thunar-svn-plugin/tsp-svn-action.c:261 tsp-svn-helper/main.c:145
msgid "Cleanup"
msgstr "Tisztít"
-#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: thunar-svn-plugin/tsp-svn-action.c:269 tsp-svn-helper/main.c:149
#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: thunar-svn-plugin/tsp-svn-action.c:282 tsp-svn-helper/main.c:153
#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Töröl"
-#: thunar-svn-plugin/tsp-svn-action.c:292
+#: thunar-svn-plugin/tsp-svn-action.c:290
msgid "Diff"
msgstr "Különbség"
-#: thunar-svn-plugin/tsp-svn-action.c:300 tsp-svn-helper/main.c:149
-#: tsp-svn-helper/tsh-export.c:91 tsp-svn-helper/tsh-export.c:109
+#: thunar-svn-plugin/tsp-svn-action.c:298 tsp-svn-helper/main.c:157
+#: tsp-svn-helper/tsh-export.c:99 tsp-svn-helper/tsh-export.c:117
msgid "Export"
msgstr "Export"
-#: thunar-svn-plugin/tsp-svn-action.c:313
+#: thunar-svn-plugin/tsp-svn-action.c:311
msgid "Info"
msgstr "Adatok"
-#: thunar-svn-plugin/tsp-svn-action.c:326
+#: thunar-svn-plugin/tsp-svn-action.c:324
msgid "Lock"
msgstr "Zár"
-#: thunar-svn-plugin/tsp-svn-action.c:334
+#: thunar-svn-plugin/tsp-svn-action.c:332
msgid "Log"
msgstr "Napló"
-#: thunar-svn-plugin/tsp-svn-action.c:363
+#: thunar-svn-plugin/tsp-svn-action.c:361
msgid "Edit Properties"
msgstr "Tulajdonságok szerkesztése"
-#: thunar-svn-plugin/tsp-svn-action.c:373
+#: thunar-svn-plugin/tsp-svn-action.c:371
msgid "Resolve"
msgstr "Megold"
-#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:165
#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Visszaállít"
-#: thunar-svn-plugin/tsp-svn-action.c:389
+#: thunar-svn-plugin/tsp-svn-action.c:387
msgid "Status"
msgstr "Állapot"
-#: thunar-svn-plugin/tsp-svn-action.c:397
+#: thunar-svn-plugin/tsp-svn-action.c:395
msgid "Switch"
msgstr "Vált"
-#: thunar-svn-plugin/tsp-svn-action.c:405
+#: thunar-svn-plugin/tsp-svn-action.c:403
msgid "Unlock"
msgstr "Felold"
-#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
+#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:169
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Frissít"
-#: thunar-svn-plugin/tsp-svn-action.c:426
+#: thunar-svn-plugin/tsp-svn-action.c:424
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -168,87 +168,101 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:70
+#: tsp-svn-helper/main.c:72
msgid "Print version information"
msgstr "Verzió kiírása"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:79
#, fuzzy
msgid "Execute add action"
msgstr "Frissítési művelet futtatása"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:85
msgid "Execute checkout action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:91
#, fuzzy
msgid "Execute cleanup action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:97
#, fuzzy
msgid "Execute commit action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:101
+#: tsp-svn-helper/main.c:103
#, fuzzy
msgid "Execute delete action"
msgstr "Frissítési művelet futtatása"
-#: tsp-svn-helper/main.c:107
+#: tsp-svn-helper/main.c:109
#, fuzzy
msgid "Execute export action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:115
#, fuzzy
+msgid "Execute import action"
+msgstr "Checkout művelet futtatása"
+
+#: tsp-svn-helper/main.c:121
+#, fuzzy
msgid "Execute revert action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:119
+#: tsp-svn-helper/main.c:127
msgid "Execute update action"
msgstr "Frissítési művelet futtatása"
-#: tsp-svn-helper/main.c:129
+#: tsp-svn-helper/main.c:137
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133
+#: tsp-svn-helper/main.c:141
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/main.c:141 tsp-svn-helper/tsh-checkout.c:90
#: tsp-svn-helper/tsh-checkout.c:102
#, fuzzy
msgid "Checkout"
msgstr "SVN _Checkout"
-#: tsp-svn-helper/main.c:137
+#: tsp-svn-helper/main.c:145
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:141
+#: tsp-svn-helper/main.c:149
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:145
+#: tsp-svn-helper/main.c:153
msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:149
+#: tsp-svn-helper/main.c:157
msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:153
+#: tsp-svn-helper/main.c:161
+msgid "Import Related Opions:"
+msgstr ""
+
+#: tsp-svn-helper/main.c:161
+#, fuzzy
+msgid "Import"
+msgstr "SVN _Import"
+
+#: tsp-svn-helper/main.c:165
msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:157
+#: tsp-svn-helper/main.c:169
msgid "Update Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:203
+#: tsp-svn-helper/main.c:215
msgid "Not enough arguments provided"
msgstr ""
@@ -416,20 +430,20 @@
msgid "Notification"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:64
+#: tsp-svn-helper/tsh-transfer-dialog.c:65
msgid "_Repository:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:71
-#: tsp-svn-helper/tsh-transfer-dialog.c:91
+#: tsp-svn-helper/tsh-transfer-dialog.c:72
+#: tsp-svn-helper/tsh-transfer-dialog.c:92
msgid "Select a folder"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:84
+#: tsp-svn-helper/tsh-transfer-dialog.c:85
msgid "_Directory:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:103
+#: tsp-svn-helper/tsh-transfer-dialog.c:104
msgid "Transfer"
msgstr ""
Modified: thunar-svn-plugin/trunk/po/lv.po
===================================================================
--- thunar-svn-plugin/trunk/po/lv.po 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/po/lv.po 2007-12-30 00:04:37 UTC (rev 3761)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-28 01:06+0100\n"
+"POT-Creation-Date: 2007-12-30 01:08+0100\n"
"PO-Revision-Date: 2007-11-15 21:18+0300\n"
"Last-Translator: Rihards Priedītis <rprieditis at inbox.lv>\n"
"Language-Team: Latvian <rprieditis at inbox.lv>\n"
@@ -15,100 +15,100 @@
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: thunar-svn-plugin/tsp-provider.c:402
-msgid "SVN _Import"
-msgstr "SVN _Imports"
-
-#: thunar-svn-plugin/tsp-provider.c:404
-#, fuzzy
-msgid "Import"
-msgstr "SVN _Imports"
-
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:410 thunar-svn-plugin/tsp-provider.c:445
-#: thunar-svn-plugin/tsp-provider.c:453
+#: thunar-svn-plugin/tsp-provider.c:401 thunar-svn-plugin/tsp-provider.c:416
+#: thunar-svn-plugin/tsp-provider.c:451 thunar-svn-plugin/tsp-provider.c:459
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:458
+#: thunar-svn-plugin/tsp-provider.c:406
+msgid "SVN _Import"
+msgstr "SVN _Imports"
+
+#: thunar-svn-plugin/tsp-provider.c:464
msgid "SVN _Checkout"
msgstr "SVN _Izrakstīšana"
-#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
+#: thunar-svn-plugin/tsp-provider.c:471
+#, fuzzy
+msgid "SVN _Export"
+msgstr "SVN _Imports"
+
+#: thunar-svn-plugin/tsp-svn-action.c:235 tsp-svn-helper/main.c:137
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Pievienot"
-#: thunar-svn-plugin/tsp-svn-action.c:245
+#: thunar-svn-plugin/tsp-svn-action.c:243
msgid "Blame"
msgstr "Vainot"
-#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
+#: thunar-svn-plugin/tsp-svn-action.c:261 tsp-svn-helper/main.c:145
msgid "Cleanup"
msgstr "Uzkopt"
-#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: thunar-svn-plugin/tsp-svn-action.c:269 tsp-svn-helper/main.c:149
#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Apstiprināt"
-#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: thunar-svn-plugin/tsp-svn-action.c:282 tsp-svn-helper/main.c:153
#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Dzēst"
-#: thunar-svn-plugin/tsp-svn-action.c:292
+#: thunar-svn-plugin/tsp-svn-action.c:290
msgid "Diff"
msgstr "Atšķirība"
-#: thunar-svn-plugin/tsp-svn-action.c:300 tsp-svn-helper/main.c:149
-#: tsp-svn-helper/tsh-export.c:91 tsp-svn-helper/tsh-export.c:109
+#: thunar-svn-plugin/tsp-svn-action.c:298 tsp-svn-helper/main.c:157
+#: tsp-svn-helper/tsh-export.c:99 tsp-svn-helper/tsh-export.c:117
msgid "Export"
msgstr "Eksportēt"
-#: thunar-svn-plugin/tsp-svn-action.c:313
+#: thunar-svn-plugin/tsp-svn-action.c:311
msgid "Info"
msgstr "Informācija"
-#: thunar-svn-plugin/tsp-svn-action.c:326
+#: thunar-svn-plugin/tsp-svn-action.c:324
msgid "Lock"
msgstr "Slēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:334
+#: thunar-svn-plugin/tsp-svn-action.c:332
msgid "Log"
msgstr "Reģistrēt"
-#: thunar-svn-plugin/tsp-svn-action.c:363
+#: thunar-svn-plugin/tsp-svn-action.c:361
msgid "Edit Properties"
msgstr "Rediģēt Rekvizītus"
-#: thunar-svn-plugin/tsp-svn-action.c:373
+#: thunar-svn-plugin/tsp-svn-action.c:371
msgid "Resolve"
msgstr "Atpazīt"
-#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:165
#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Atgriezt"
-#: thunar-svn-plugin/tsp-svn-action.c:389
+#: thunar-svn-plugin/tsp-svn-action.c:387
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:397
+#: thunar-svn-plugin/tsp-svn-action.c:395
msgid "Switch"
msgstr "Pārslēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:405
+#: thunar-svn-plugin/tsp-svn-action.c:403
msgid "Unlock"
msgstr "Atslēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
+#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:169
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Atjaunot"
-#: thunar-svn-plugin/tsp-svn-action.c:426
+#: thunar-svn-plugin/tsp-svn-action.c:424
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -170,86 +170,100 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:70
+#: tsp-svn-helper/main.c:72
msgid "Print version information"
msgstr "Izdrukāt versijas informāciju"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:79
#, fuzzy
msgid "Execute add action"
msgstr "Izpildīt atjaunošanas darbību"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:85
msgid "Execute checkout action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:91
#, fuzzy
msgid "Execute cleanup action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:97
#, fuzzy
msgid "Execute commit action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:101
+#: tsp-svn-helper/main.c:103
#, fuzzy
msgid "Execute delete action"
msgstr "Izpildīt atjaunošanas darbību"
-#: tsp-svn-helper/main.c:107
+#: tsp-svn-helper/main.c:109
#, fuzzy
msgid "Execute export action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:115
#, fuzzy
+msgid "Execute import action"
+msgstr "Izpildīt izrakstīšanas darbību"
+
+#: tsp-svn-helper/main.c:121
+#, fuzzy
msgid "Execute revert action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:119
+#: tsp-svn-helper/main.c:127
msgid "Execute update action"
msgstr "Izpildīt atjaunošanas darbību"
-#: tsp-svn-helper/main.c:129
+#: tsp-svn-helper/main.c:137
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133
+#: tsp-svn-helper/main.c:141
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/main.c:141 tsp-svn-helper/tsh-checkout.c:90
#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Izrakstīt"
-#: tsp-svn-helper/main.c:137
+#: tsp-svn-helper/main.c:145
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:141
+#: tsp-svn-helper/main.c:149
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:145
+#: tsp-svn-helper/main.c:153
msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:149
+#: tsp-svn-helper/main.c:157
msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:153
+#: tsp-svn-helper/main.c:161
+msgid "Import Related Opions:"
+msgstr ""
+
+#: tsp-svn-helper/main.c:161
+#, fuzzy
+msgid "Import"
+msgstr "SVN _Imports"
+
+#: tsp-svn-helper/main.c:165
msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:157
+#: tsp-svn-helper/main.c:169
msgid "Update Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:203
+#: tsp-svn-helper/main.c:215
msgid "Not enough arguments provided"
msgstr ""
@@ -419,20 +433,20 @@
msgid "Notification"
msgstr "Paziņošana"
-#: tsp-svn-helper/tsh-transfer-dialog.c:64
+#: tsp-svn-helper/tsh-transfer-dialog.c:65
msgid "_Repository:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:71
-#: tsp-svn-helper/tsh-transfer-dialog.c:91
+#: tsp-svn-helper/tsh-transfer-dialog.c:72
+#: tsp-svn-helper/tsh-transfer-dialog.c:92
msgid "Select a folder"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:84
+#: tsp-svn-helper/tsh-transfer-dialog.c:85
msgid "_Directory:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:103
+#: tsp-svn-helper/tsh-transfer-dialog.c:104
msgid "Transfer"
msgstr ""
Modified: thunar-svn-plugin/trunk/po/nl.po
===================================================================
--- thunar-svn-plugin/trunk/po/nl.po 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/po/nl.po 2007-12-30 00:04:37 UTC (rev 3761)
@@ -7,107 +7,107 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-28 01:06+0100\n"
-"PO-Revision-Date: 2007-12-28 01:10+0100\n"
+"POT-Creation-Date: 2007-12-30 01:08+0100\n"
+"PO-Revision-Date: 2007-12-30 01:09+0100\n"
"Last-Translator: Peter de Ridder <peter at xfce.org>\n"
"Language-Team: Dutch <xfce-i18n at xfce.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: thunar-svn-plugin/tsp-provider.c:402
-msgid "SVN _Import"
-msgstr "SVN _Importeren"
-
-#: thunar-svn-plugin/tsp-provider.c:404
-msgid "Import"
-msgstr "Importeren"
-
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:410 thunar-svn-plugin/tsp-provider.c:445
-#: thunar-svn-plugin/tsp-provider.c:453
+#: thunar-svn-plugin/tsp-provider.c:401 thunar-svn-plugin/tsp-provider.c:416
+#: thunar-svn-plugin/tsp-provider.c:451 thunar-svn-plugin/tsp-provider.c:459
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:458
+#: thunar-svn-plugin/tsp-provider.c:406
+msgid "SVN _Import"
+msgstr "SVN _Importeren"
+
+#: thunar-svn-plugin/tsp-provider.c:464
msgid "SVN _Checkout"
msgstr "SVN _Ophalen"
-#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
+#: thunar-svn-plugin/tsp-provider.c:471
+msgid "SVN _Export"
+msgstr "SVN _Exporteren"
+
+#: thunar-svn-plugin/tsp-svn-action.c:235 tsp-svn-helper/main.c:137
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Toevoegen"
-#: thunar-svn-plugin/tsp-svn-action.c:245
+#: thunar-svn-plugin/tsp-svn-action.c:243
msgid "Blame"
msgstr "Beschuldigen"
-#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
+#: thunar-svn-plugin/tsp-svn-action.c:261 tsp-svn-helper/main.c:145
msgid "Cleanup"
msgstr "Opschonen"
-#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: thunar-svn-plugin/tsp-svn-action.c:269 tsp-svn-helper/main.c:149
#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Versturen"
-#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: thunar-svn-plugin/tsp-svn-action.c:282 tsp-svn-helper/main.c:153
#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Verwijderen"
-#: thunar-svn-plugin/tsp-svn-action.c:292
+#: thunar-svn-plugin/tsp-svn-action.c:290
msgid "Diff"
msgstr "Verschillen"
-#: thunar-svn-plugin/tsp-svn-action.c:300 tsp-svn-helper/main.c:149
-#: tsp-svn-helper/tsh-export.c:91 tsp-svn-helper/tsh-export.c:109
+#: thunar-svn-plugin/tsp-svn-action.c:298 tsp-svn-helper/main.c:157
+#: tsp-svn-helper/tsh-export.c:99 tsp-svn-helper/tsh-export.c:117
msgid "Export"
msgstr "Exporteren"
-#: thunar-svn-plugin/tsp-svn-action.c:313
+#: thunar-svn-plugin/tsp-svn-action.c:311
msgid "Info"
msgstr "Informatie"
-#: thunar-svn-plugin/tsp-svn-action.c:326
+#: thunar-svn-plugin/tsp-svn-action.c:324
msgid "Lock"
msgstr "Vast Zetten"
-#: thunar-svn-plugin/tsp-svn-action.c:334
+#: thunar-svn-plugin/tsp-svn-action.c:332
msgid "Log"
msgstr "Geschiedenis"
-#: thunar-svn-plugin/tsp-svn-action.c:363
+#: thunar-svn-plugin/tsp-svn-action.c:361
msgid "Edit Properties"
msgstr "Attributen Wijzigen"
-#: thunar-svn-plugin/tsp-svn-action.c:373
+#: thunar-svn-plugin/tsp-svn-action.c:371
msgid "Resolve"
msgstr "Verhelpen"
-#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:165
#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Terug Halen"
-#: thunar-svn-plugin/tsp-svn-action.c:389
+#: thunar-svn-plugin/tsp-svn-action.c:387
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:397
+#: thunar-svn-plugin/tsp-svn-action.c:395
msgid "Switch"
msgstr "Omschakelen"
-#: thunar-svn-plugin/tsp-svn-action.c:405
+#: thunar-svn-plugin/tsp-svn-action.c:403
msgid "Unlock"
msgstr "Vrijgeven"
-#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
+#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:169
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Bijwerken"
-#: thunar-svn-plugin/tsp-svn-action.c:426
+#: thunar-svn-plugin/tsp-svn-action.c:424
#, c-format
msgid "Action %s is unimplemented"
msgstr "Actie %s is niet geimplementeerd"
@@ -169,80 +169,92 @@
msgid "Other..."
msgstr "Andere..."
-#: tsp-svn-helper/main.c:70
+#: tsp-svn-helper/main.c:72
msgid "Print version information"
msgstr "Versie informatie tonen"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:79
msgid "Execute add action"
msgstr "Toevoeg actie uitvoeren"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:85
msgid "Execute checkout action"
msgstr "Ophaal actie uitvoeren"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:91
msgid "Execute cleanup action"
msgstr "Opschoon actie uitvoeren"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:97
msgid "Execute commit action"
msgstr "Verstuur actie uitvoeren"
-#: tsp-svn-helper/main.c:101
+#: tsp-svn-helper/main.c:103
msgid "Execute delete action"
msgstr "Verwijder actie uitvoeren"
-#: tsp-svn-helper/main.c:107
+#: tsp-svn-helper/main.c:109
msgid "Execute export action"
msgstr "Exporteer actie uitvoeren"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:115
+msgid "Execute import action"
+msgstr "Importeer actie uitvoeren"
+
+#: tsp-svn-helper/main.c:121
msgid "Execute revert action"
msgstr "Terug haal actie uitvoeren"
-#: tsp-svn-helper/main.c:119
+#: tsp-svn-helper/main.c:127
msgid "Execute update action"
msgstr "Bijwerk actie uitvoeren"
-#: tsp-svn-helper/main.c:129
+#: tsp-svn-helper/main.c:137
msgid "Add Related Opions:"
msgstr "Toevoegen gerelateerde opties:"
-#: tsp-svn-helper/main.c:133
+#: tsp-svn-helper/main.c:141
msgid "Checkout Related Opions:"
msgstr "Ophalen gerelateerde opties:"
-#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/main.c:141 tsp-svn-helper/tsh-checkout.c:90
#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Ophalen"
-#: tsp-svn-helper/main.c:137
+#: tsp-svn-helper/main.c:145
msgid "Cleanup Related Opions:"
msgstr "Opschonen gerelateerde opties:"
-#: tsp-svn-helper/main.c:141
+#: tsp-svn-helper/main.c:149
msgid "Commit Related Opions:"
msgstr "Versturen gerelateerde opties:"
-#: tsp-svn-helper/main.c:145
+#: tsp-svn-helper/main.c:153
msgid "Delete Related Opions:"
msgstr "Verwijder gerelateerde opties:"
-#: tsp-svn-helper/main.c:149
+#: tsp-svn-helper/main.c:157
msgid "Export Related Opions:"
msgstr "Exporteer gerelateerde opties:"
-#: tsp-svn-helper/main.c:153
+#: tsp-svn-helper/main.c:161
+msgid "Import Related Opions:"
+msgstr "Importeer gerelateerde opties:"
+
+#: tsp-svn-helper/main.c:161
+msgid "Import"
+msgstr "Importeren"
+
+#: tsp-svn-helper/main.c:165
msgid "Revert Related Opions:"
msgstr "Terug haal gerelateerde opties:"
-#: tsp-svn-helper/main.c:157
+#: tsp-svn-helper/main.c:169
msgid "Update Related Opions:"
msgstr "Bijwerken gerelateerde opties:"
-#: tsp-svn-helper/main.c:203
+#: tsp-svn-helper/main.c:215
msgid "Not enough arguments provided"
msgstr "Onvoldoende argumenten meegegeven"
@@ -399,20 +411,20 @@
msgid "Notification"
msgstr "Notificatie"
-#: tsp-svn-helper/tsh-transfer-dialog.c:64
+#: tsp-svn-helper/tsh-transfer-dialog.c:65
msgid "_Repository:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:71
-#: tsp-svn-helper/tsh-transfer-dialog.c:91
+#: tsp-svn-helper/tsh-transfer-dialog.c:72
+#: tsp-svn-helper/tsh-transfer-dialog.c:92
msgid "Select a folder"
msgstr "Selecteer een map"
-#: tsp-svn-helper/tsh-transfer-dialog.c:84
+#: tsp-svn-helper/tsh-transfer-dialog.c:85
msgid "_Directory:"
msgstr "_Map:"
-#: tsp-svn-helper/tsh-transfer-dialog.c:103
+#: tsp-svn-helper/tsh-transfer-dialog.c:104
msgid "Transfer"
msgstr ""
Modified: thunar-svn-plugin/trunk/po/pt_BR.po
===================================================================
--- thunar-svn-plugin/trunk/po/pt_BR.po 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/po/pt_BR.po 2007-12-30 00:04:37 UTC (rev 3761)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-28 01:06+0100\n"
+"POT-Creation-Date: 2007-12-30 01:08+0100\n"
"PO-Revision-Date: 2007-11-09 15:08-0300\n"
"Last-Translator: Fábio Nogueira <deb-user-ba at ubuntu.com>\n"
"Language-Team: Brazilian Portuguese <ldp-br at bazar2.conectiva.com.br>\n"
@@ -16,100 +16,100 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: thunar-svn-plugin/tsp-provider.c:402
-msgid "SVN _Import"
-msgstr "_Importar SVN"
-
-#: thunar-svn-plugin/tsp-provider.c:404
-#, fuzzy
-msgid "Import"
-msgstr "_Importar SVN"
-
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:410 thunar-svn-plugin/tsp-provider.c:445
-#: thunar-svn-plugin/tsp-provider.c:453
+#: thunar-svn-plugin/tsp-provider.c:401 thunar-svn-plugin/tsp-provider.c:416
+#: thunar-svn-plugin/tsp-provider.c:451 thunar-svn-plugin/tsp-provider.c:459
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:458
+#: thunar-svn-plugin/tsp-provider.c:406
+msgid "SVN _Import"
+msgstr "_Importar SVN"
+
+#: thunar-svn-plugin/tsp-provider.c:464
msgid "SVN _Checkout"
msgstr "SVN _Checkout"
-#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
+#: thunar-svn-plugin/tsp-provider.c:471
+#, fuzzy
+msgid "SVN _Export"
+msgstr "_Importar SVN"
+
+#: thunar-svn-plugin/tsp-svn-action.c:235 tsp-svn-helper/main.c:137
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Adicionar"
-#: thunar-svn-plugin/tsp-svn-action.c:245
+#: thunar-svn-plugin/tsp-svn-action.c:243
msgid "Blame"
msgstr "Falha"
-#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
+#: thunar-svn-plugin/tsp-svn-action.c:261 tsp-svn-helper/main.c:145
msgid "Cleanup"
msgstr "Limpar"
-#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: thunar-svn-plugin/tsp-svn-action.c:269 tsp-svn-helper/main.c:149
#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Enviar"
-#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: thunar-svn-plugin/tsp-svn-action.c:282 tsp-svn-helper/main.c:153
#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Apagar"
-#: thunar-svn-plugin/tsp-svn-action.c:292
+#: thunar-svn-plugin/tsp-svn-action.c:290
msgid "Diff"
msgstr "Diferença"
-#: thunar-svn-plugin/tsp-svn-action.c:300 tsp-svn-helper/main.c:149
-#: tsp-svn-helper/tsh-export.c:91 tsp-svn-helper/tsh-export.c:109
+#: thunar-svn-plugin/tsp-svn-action.c:298 tsp-svn-helper/main.c:157
+#: tsp-svn-helper/tsh-export.c:99 tsp-svn-helper/tsh-export.c:117
msgid "Export"
msgstr "Exportar"
-#: thunar-svn-plugin/tsp-svn-action.c:313
+#: thunar-svn-plugin/tsp-svn-action.c:311
msgid "Info"
msgstr "Informações"
-#: thunar-svn-plugin/tsp-svn-action.c:326
+#: thunar-svn-plugin/tsp-svn-action.c:324
msgid "Lock"
msgstr "Travar"
-#: thunar-svn-plugin/tsp-svn-action.c:334
+#: thunar-svn-plugin/tsp-svn-action.c:332
msgid "Log"
msgstr "Log"
-#: thunar-svn-plugin/tsp-svn-action.c:363
+#: thunar-svn-plugin/tsp-svn-action.c:361
msgid "Edit Properties"
msgstr "Editar Propriedades"
-#: thunar-svn-plugin/tsp-svn-action.c:373
+#: thunar-svn-plugin/tsp-svn-action.c:371
msgid "Resolve"
msgstr "Resolver"
-#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:165
#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Reverter"
-#: thunar-svn-plugin/tsp-svn-action.c:389
+#: thunar-svn-plugin/tsp-svn-action.c:387
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:397
+#: thunar-svn-plugin/tsp-svn-action.c:395
msgid "Switch"
msgstr "Alternar"
-#: thunar-svn-plugin/tsp-svn-action.c:405
+#: thunar-svn-plugin/tsp-svn-action.c:403
msgid "Unlock"
msgstr "Destravar"
-#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
+#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:169
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Atualizar"
-#: thunar-svn-plugin/tsp-svn-action.c:426
+#: thunar-svn-plugin/tsp-svn-action.c:424
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -171,86 +171,100 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:70
+#: tsp-svn-helper/main.c:72
msgid "Print version information"
msgstr "Imprimir informação da versão"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:79
#, fuzzy
msgid "Execute add action"
msgstr "Executar ação de atualização"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:85
msgid "Execute checkout action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:91
#, fuzzy
msgid "Execute cleanup action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:97
#, fuzzy
msgid "Execute commit action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:101
+#: tsp-svn-helper/main.c:103
#, fuzzy
msgid "Execute delete action"
msgstr "Executar ação de atualização"
-#: tsp-svn-helper/main.c:107
+#: tsp-svn-helper/main.c:109
#, fuzzy
msgid "Execute export action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:115
#, fuzzy
+msgid "Execute import action"
+msgstr "Executar ação de checkout"
+
+#: tsp-svn-helper/main.c:121
+#, fuzzy
msgid "Execute revert action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:119
+#: tsp-svn-helper/main.c:127
msgid "Execute update action"
msgstr "Executar ação de atualização"
-#: tsp-svn-helper/main.c:129
+#: tsp-svn-helper/main.c:137
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133
+#: tsp-svn-helper/main.c:141
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/main.c:141 tsp-svn-helper/tsh-checkout.c:90
#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Checkout"
-#: tsp-svn-helper/main.c:137
+#: tsp-svn-helper/main.c:145
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:141
+#: tsp-svn-helper/main.c:149
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:145
+#: tsp-svn-helper/main.c:153
msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:149
+#: tsp-svn-helper/main.c:157
msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:153
+#: tsp-svn-helper/main.c:161
+msgid "Import Related Opions:"
+msgstr ""
+
+#: tsp-svn-helper/main.c:161
+#, fuzzy
+msgid "Import"
+msgstr "_Importar SVN"
+
+#: tsp-svn-helper/main.c:165
msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:157
+#: tsp-svn-helper/main.c:169
msgid "Update Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:203
+#: tsp-svn-helper/main.c:215
msgid "Not enough arguments provided"
msgstr ""
@@ -420,20 +434,20 @@
msgid "Notification"
msgstr "Notificação"
-#: tsp-svn-helper/tsh-transfer-dialog.c:64
+#: tsp-svn-helper/tsh-transfer-dialog.c:65
msgid "_Repository:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:71
-#: tsp-svn-helper/tsh-transfer-dialog.c:91
+#: tsp-svn-helper/tsh-transfer-dialog.c:72
+#: tsp-svn-helper/tsh-transfer-dialog.c:92
msgid "Select a folder"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:84
+#: tsp-svn-helper/tsh-transfer-dialog.c:85
msgid "_Directory:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:103
+#: tsp-svn-helper/tsh-transfer-dialog.c:104
msgid "Transfer"
msgstr ""
Modified: thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot
===================================================================
--- thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot 2007-12-30 00:04:37 UTC (rev 3761)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-28 01:06+0100\n"
+"POT-Creation-Date: 2007-12-30 01:08+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -16,99 +16,99 @@
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-#: thunar-svn-plugin/tsp-provider.c:402
-msgid "SVN _Import"
+#. append the svn submenu action
+#: thunar-svn-plugin/tsp-provider.c:401 thunar-svn-plugin/tsp-provider.c:416
+#: thunar-svn-plugin/tsp-provider.c:451 thunar-svn-plugin/tsp-provider.c:459
+msgid "SVN"
msgstr ""
-#: thunar-svn-plugin/tsp-provider.c:404
-msgid "Import"
+#: thunar-svn-plugin/tsp-provider.c:406
+msgid "SVN _Import"
msgstr ""
-#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:410 thunar-svn-plugin/tsp-provider.c:445
-#: thunar-svn-plugin/tsp-provider.c:453
-msgid "SVN"
+#: thunar-svn-plugin/tsp-provider.c:464
+msgid "SVN _Checkout"
msgstr ""
-#: thunar-svn-plugin/tsp-provider.c:458
-msgid "SVN _Checkout"
+#: thunar-svn-plugin/tsp-provider.c:471
+msgid "SVN _Export"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
+#: thunar-svn-plugin/tsp-svn-action.c:235 tsp-svn-helper/main.c:137
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:245
+#: thunar-svn-plugin/tsp-svn-action.c:243
msgid "Blame"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
+#: thunar-svn-plugin/tsp-svn-action.c:261 tsp-svn-helper/main.c:145
msgid "Cleanup"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: thunar-svn-plugin/tsp-svn-action.c:269 tsp-svn-helper/main.c:149
#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: thunar-svn-plugin/tsp-svn-action.c:282 tsp-svn-helper/main.c:153
#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:292
+#: thunar-svn-plugin/tsp-svn-action.c:290
msgid "Diff"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:300 tsp-svn-helper/main.c:149
-#: tsp-svn-helper/tsh-export.c:91 tsp-svn-helper/tsh-export.c:109
+#: thunar-svn-plugin/tsp-svn-action.c:298 tsp-svn-helper/main.c:157
+#: tsp-svn-helper/tsh-export.c:99 tsp-svn-helper/tsh-export.c:117
msgid "Export"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:313
+#: thunar-svn-plugin/tsp-svn-action.c:311
msgid "Info"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:326
+#: thunar-svn-plugin/tsp-svn-action.c:324
msgid "Lock"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:334
+#: thunar-svn-plugin/tsp-svn-action.c:332
msgid "Log"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:363
+#: thunar-svn-plugin/tsp-svn-action.c:361
msgid "Edit Properties"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:373
+#: thunar-svn-plugin/tsp-svn-action.c:371
msgid "Resolve"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:165
#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:389
+#: thunar-svn-plugin/tsp-svn-action.c:387
msgid "Status"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:397
+#: thunar-svn-plugin/tsp-svn-action.c:395
msgid "Switch"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:405
+#: thunar-svn-plugin/tsp-svn-action.c:403
msgid "Unlock"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
+#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:169
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:426
+#: thunar-svn-plugin/tsp-svn-action.c:424
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -170,80 +170,92 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:70
+#: tsp-svn-helper/main.c:72
msgid "Print version information"
msgstr ""
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:79
msgid "Execute add action"
msgstr ""
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:85
msgid "Execute checkout action"
msgstr ""
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:91
msgid "Execute cleanup action"
msgstr ""
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:97
msgid "Execute commit action"
msgstr ""
-#: tsp-svn-helper/main.c:101
+#: tsp-svn-helper/main.c:103
msgid "Execute delete action"
msgstr ""
-#: tsp-svn-helper/main.c:107
+#: tsp-svn-helper/main.c:109
msgid "Execute export action"
msgstr ""
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:115
+msgid "Execute import action"
+msgstr ""
+
+#: tsp-svn-helper/main.c:121
msgid "Execute revert action"
msgstr ""
-#: tsp-svn-helper/main.c:119
+#: tsp-svn-helper/main.c:127
msgid "Execute update action"
msgstr ""
-#: tsp-svn-helper/main.c:129
+#: tsp-svn-helper/main.c:137
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133
+#: tsp-svn-helper/main.c:141
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/main.c:141 tsp-svn-helper/tsh-checkout.c:90
#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr ""
-#: tsp-svn-helper/main.c:137
+#: tsp-svn-helper/main.c:145
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:141
+#: tsp-svn-helper/main.c:149
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:145
+#: tsp-svn-helper/main.c:153
msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:149
+#: tsp-svn-helper/main.c:157
msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:153
+#: tsp-svn-helper/main.c:161
+msgid "Import Related Opions:"
+msgstr ""
+
+#: tsp-svn-helper/main.c:161
+msgid "Import"
+msgstr ""
+
+#: tsp-svn-helper/main.c:165
msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:157
+#: tsp-svn-helper/main.c:169
msgid "Update Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:203
+#: tsp-svn-helper/main.c:215
msgid "Not enough arguments provided"
msgstr ""
@@ -400,20 +412,20 @@
msgid "Notification"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:64
+#: tsp-svn-helper/tsh-transfer-dialog.c:65
msgid "_Repository:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:71
-#: tsp-svn-helper/tsh-transfer-dialog.c:91
+#: tsp-svn-helper/tsh-transfer-dialog.c:72
+#: tsp-svn-helper/tsh-transfer-dialog.c:92
msgid "Select a folder"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:84
+#: tsp-svn-helper/tsh-transfer-dialog.c:85
msgid "_Directory:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:103
+#: tsp-svn-helper/tsh-transfer-dialog.c:104
msgid "Transfer"
msgstr ""
Modified: thunar-svn-plugin/trunk/po/ur.po
===================================================================
--- thunar-svn-plugin/trunk/po/ur.po 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/po/ur.po 2007-12-30 00:04:37 UTC (rev 3761)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-28 01:06+0100\n"
+"POT-Creation-Date: 2007-12-30 01:08+0100\n"
"PO-Revision-Date: 2007-10-26 15:12+0500\n"
"Last-Translator: Muhammad Ali Makki <makk.ma at gmail.com>\n"
"Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -18,100 +18,100 @@
"X-Poedit-Country: PAKISTAN\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: thunar-svn-plugin/tsp-provider.c:402
-msgid "SVN _Import"
-msgstr "SVN _درآمد"
-
-#: thunar-svn-plugin/tsp-provider.c:404
-#, fuzzy
-msgid "Import"
-msgstr "SVN _درآمد"
-
#. append the svn submenu action
-#: thunar-svn-plugin/tsp-provider.c:410 thunar-svn-plugin/tsp-provider.c:445
-#: thunar-svn-plugin/tsp-provider.c:453
+#: thunar-svn-plugin/tsp-provider.c:401 thunar-svn-plugin/tsp-provider.c:416
+#: thunar-svn-plugin/tsp-provider.c:451 thunar-svn-plugin/tsp-provider.c:459
msgid "SVN"
msgstr "SVN"
-#: thunar-svn-plugin/tsp-provider.c:458
+#: thunar-svn-plugin/tsp-provider.c:406
+msgid "SVN _Import"
+msgstr "SVN _درآمد"
+
+#: thunar-svn-plugin/tsp-provider.c:464
msgid "SVN _Checkout"
msgstr "SVN _چیک آؤٹ"
-#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
+#: thunar-svn-plugin/tsp-provider.c:471
+#, fuzzy
+msgid "SVN _Export"
+msgstr "SVN _درآمد"
+
+#: thunar-svn-plugin/tsp-svn-action.c:235 tsp-svn-helper/main.c:137
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "شامل کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:245
+#: thunar-svn-plugin/tsp-svn-action.c:243
msgid "Blame"
msgstr "Blame"
-#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
+#: thunar-svn-plugin/tsp-svn-action.c:261 tsp-svn-helper/main.c:145
msgid "Cleanup"
msgstr "صاف کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: thunar-svn-plugin/tsp-svn-action.c:269 tsp-svn-helper/main.c:149
#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "تبصرہ"
-#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: thunar-svn-plugin/tsp-svn-action.c:282 tsp-svn-helper/main.c:153
#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "حذف"
-#: thunar-svn-plugin/tsp-svn-action.c:292
+#: thunar-svn-plugin/tsp-svn-action.c:290
msgid "Diff"
msgstr "فرق"
-#: thunar-svn-plugin/tsp-svn-action.c:300 tsp-svn-helper/main.c:149
-#: tsp-svn-helper/tsh-export.c:91 tsp-svn-helper/tsh-export.c:109
+#: thunar-svn-plugin/tsp-svn-action.c:298 tsp-svn-helper/main.c:157
+#: tsp-svn-helper/tsh-export.c:99 tsp-svn-helper/tsh-export.c:117
msgid "Export"
msgstr "برآمد"
-#: thunar-svn-plugin/tsp-svn-action.c:313
+#: thunar-svn-plugin/tsp-svn-action.c:311
msgid "Info"
msgstr "معلومات"
-#: thunar-svn-plugin/tsp-svn-action.c:326
+#: thunar-svn-plugin/tsp-svn-action.c:324
msgid "Lock"
msgstr "قفل"
-#: thunar-svn-plugin/tsp-svn-action.c:334
+#: thunar-svn-plugin/tsp-svn-action.c:332
msgid "Log"
msgstr "Log"
-#: thunar-svn-plugin/tsp-svn-action.c:363
+#: thunar-svn-plugin/tsp-svn-action.c:361
msgid "Edit Properties"
msgstr "خصوصیات مدون کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:373
+#: thunar-svn-plugin/tsp-svn-action.c:371
msgid "Resolve"
msgstr "Resolve"
-#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: thunar-svn-plugin/tsp-svn-action.c:379 tsp-svn-helper/main.c:165
#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "واپس"
-#: thunar-svn-plugin/tsp-svn-action.c:389
+#: thunar-svn-plugin/tsp-svn-action.c:387
msgid "Status"
msgstr "حالت"
-#: thunar-svn-plugin/tsp-svn-action.c:397
+#: thunar-svn-plugin/tsp-svn-action.c:395
msgid "Switch"
msgstr "تبدیل"
-#: thunar-svn-plugin/tsp-svn-action.c:405
+#: thunar-svn-plugin/tsp-svn-action.c:403
msgid "Unlock"
msgstr "غیر مقفل"
-#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
+#: thunar-svn-plugin/tsp-svn-action.c:411 tsp-svn-helper/main.c:169
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "تجدید"
-#: thunar-svn-plugin/tsp-svn-action.c:426
+#: thunar-svn-plugin/tsp-svn-action.c:424
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -173,86 +173,100 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:70
+#: tsp-svn-helper/main.c:72
msgid "Print version information"
msgstr "ورژن معلومات طبع کریں"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:79
#, fuzzy
msgid "Execute add action"
msgstr "تجدید کریں"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:85
msgid "Execute checkout action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:91
#, fuzzy
msgid "Execute cleanup action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:97
#, fuzzy
msgid "Execute commit action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:101
+#: tsp-svn-helper/main.c:103
#, fuzzy
msgid "Execute delete action"
msgstr "تجدید کریں"
-#: tsp-svn-helper/main.c:107
+#: tsp-svn-helper/main.c:109
#, fuzzy
msgid "Execute export action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:115
#, fuzzy
+msgid "Execute import action"
+msgstr "چیک کریں"
+
+#: tsp-svn-helper/main.c:121
+#, fuzzy
msgid "Execute revert action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:119
+#: tsp-svn-helper/main.c:127
msgid "Execute update action"
msgstr "تجدید کریں"
-#: tsp-svn-helper/main.c:129
+#: tsp-svn-helper/main.c:137
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133
+#: tsp-svn-helper/main.c:141
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/main.c:141 tsp-svn-helper/tsh-checkout.c:90
#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:137
+#: tsp-svn-helper/main.c:145
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:141
+#: tsp-svn-helper/main.c:149
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:145
+#: tsp-svn-helper/main.c:153
msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:149
+#: tsp-svn-helper/main.c:157
msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:153
+#: tsp-svn-helper/main.c:161
+msgid "Import Related Opions:"
+msgstr ""
+
+#: tsp-svn-helper/main.c:161
+#, fuzzy
+msgid "Import"
+msgstr "SVN _درآمد"
+
+#: tsp-svn-helper/main.c:165
msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:157
+#: tsp-svn-helper/main.c:169
msgid "Update Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:203
+#: tsp-svn-helper/main.c:215
msgid "Not enough arguments provided"
msgstr ""
@@ -422,20 +436,20 @@
msgid "Notification"
msgstr "اطلاعیہ"
-#: tsp-svn-helper/tsh-transfer-dialog.c:64
+#: tsp-svn-helper/tsh-transfer-dialog.c:65
msgid "_Repository:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:71
-#: tsp-svn-helper/tsh-transfer-dialog.c:91
+#: tsp-svn-helper/tsh-transfer-dialog.c:72
+#: tsp-svn-helper/tsh-transfer-dialog.c:92
msgid "Select a folder"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:84
+#: tsp-svn-helper/tsh-transfer-dialog.c:85
msgid "_Directory:"
msgstr ""
-#: tsp-svn-helper/tsh-transfer-dialog.c:103
+#: tsp-svn-helper/tsh-transfer-dialog.c:104
msgid "Transfer"
msgstr ""
Modified: thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c
===================================================================
--- thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-provider.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -336,6 +336,7 @@
gboolean file_is_vc = FALSE;
gboolean file_is_not_vc = FALSE;
GtkAction *action;
+ GtkAction *svnaction;
GList *actions = NULL;
GList *lp;
gint n_files = 0;
@@ -389,20 +390,25 @@
}
}
}
+ if(!iter)
+ file_is_not_vc = TRUE;
}
}
/* is the parent folder a working copy */
if (!parent_wc && (directory_is_not_wc || file_is_not_vc))
{
+ svnaction = tsp_svn_action_new ("Tsp::svn", _("SVN"), files, window, TRUE, FALSE, FALSE, FALSE, FALSE, FALSE);
/* It's not a working copy
* append the "Import" action */
action = g_object_new (GTK_TYPE_ACTION,
"name", "Tsp::import",
"label", _("SVN _Import"),
NULL);
- g_signal_connect_after (action, "activate", G_CALLBACK (tsp_action_unimplemented), N_("Import"));
+ g_signal_connect_object (action, "activate", G_CALLBACK (tsp_action_import), svnaction, G_CONNECT_AFTER);
actions = g_list_append (actions, action);
+ /* append the svn submenu action
+ actions = g_list_append (actions, svnaction); */
}
if (parent_wc || directory_is_wc)
{
@@ -459,6 +465,13 @@
NULL);
g_signal_connect_object (action, "activate", G_CALLBACK (tsp_action_checkout), svnaction, G_CONNECT_AFTER);
actions = g_list_append (actions, action);
+ /* append the "Export" action */
+ action = g_object_new (GTK_TYPE_ACTION,
+ "name", "Tsp::export",
+ "label", _("SVN _Export"),
+ NULL);
+ g_signal_connect_object (action, "activate", G_CALLBACK (tsp_action_export), svnaction, G_CONNECT_AFTER);
+ actions = g_list_append (actions, action);
/* append the svn submenu action
actions = g_list_append (actions, svnaction); */
}
Modified: thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c
===================================================================
--- thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -86,8 +86,6 @@
void tsp_action_delete (GtkMenuItem *item, TspSvnAction *action);
-void tsp_action_export (GtkMenuItem *item, TspSvnAction *action);
-
void tsp_action_revert (GtkMenuItem *item, TspSvnAction *action);
void tsp_action_update (GtkMenuItem *item, TspSvnAction *action);
@@ -874,6 +872,80 @@
+void tsp_action_import (GtkMenuItem *item, TspSvnAction *action)
+{
+ guint size, i;
+ gchar **argv;
+ GList *iter;
+ gchar *uri;
+ gchar *filename;
+ gchar *file;
+ gint pid;
+ GError *error = NULL;
+ GdkScreen *screen = gtk_window_get_screen (GTK_WINDOW (action->window));
+
+ iter = action->files;
+
+ size = g_list_length (iter);
+
+ argv = g_new (gchar *, size + 3);
+
+ argv[0] = g_strdup (TSP_SVN_HELPER);
+ argv[1] = g_strdup ("--import");
+ argv[size + 2] = NULL;
+
+ for (i = 0; i < size; i++)
+ {
+ /* determine the URI for the file info */
+ uri = thunarx_file_info_get_uri (iter->data);
+ if (G_LIKELY (uri != NULL))
+ {
+ /* determine the local filename for the URI */
+ filename = g_filename_from_uri (uri, NULL, NULL);
+ if (G_LIKELY (filename != NULL))
+ {
+ file = filename;
+ /* strip the "file://" part of the uri */
+ if (strncmp (file, "file://", 7) == 0)
+ {
+ file += 7;
+ }
+
+ file = g_strdup (file);
+
+ /* remove trailing '/' cause svn can't handle that */
+ if (file[strlen (file) - 1] == '/')
+ {
+ file[strlen (file) - 1] = '\0';
+ }
+
+ argv[i+2] = file;
+
+ /* release the filename */
+ g_free (filename);
+ }
+
+ /* release the URI */
+ g_free (uri);
+ }
+
+ iter = g_list_next (iter);
+ }
+
+ if (!gdk_spawn_on_screen (screen, NULL, argv, NULL, 0, NULL, NULL, &pid, &error))
+ {
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW (action->window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "Could not spawn \'" TSP_SVN_HELPER "\'");
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s.", error->message);
+ gtk_dialog_run (GTK_DIALOG (dialog));
+ gtk_widget_destroy (dialog);
+ g_error_free (error);
+ }
+
+ g_strfreev (argv);
+}
+
+
+
void tsp_action_revert (GtkMenuItem *item, TspSvnAction *action)
{
guint size, i;
Modified: thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h
===================================================================
--- thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.h 2007-12-30 00:04:37 UTC (rev 3761)
@@ -51,6 +51,8 @@
void tsp_action_checkout (GtkMenuItem *, TspSvnAction *);
+void tsp_action_export (GtkMenuItem *, TspSvnAction *);
+void tsp_action_import (GtkMenuItem *, TspSvnAction *);
void tsp_action_unimplemented (GtkMenuItem *, const gchar *);
#endif /* !__TSP_SVN_ACTION_H__ */
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am 2007-12-30 00:04:37 UTC (rev 3761)
@@ -28,6 +28,8 @@
tsh-delete.c \
tsh-export.h \
tsh-export.c \
+ tsh-import.h \
+ tsh-import.c \
tsh-revert.h \
tsh-revert.c \
tsh-update.h \
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/main.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/main.c 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/main.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -40,6 +40,7 @@
#include "tsh-commit.h"
#include "tsh-delete.h"
#include "tsh-export.h"
+#include "tsh-import.h"
#include "tsh-revert.h"
#include "tsh-update.h"
@@ -60,6 +61,7 @@
gboolean commit = FALSE;
gboolean delete = FALSE;
gboolean export = FALSE;
+ gboolean import = FALSE;
gboolean revert = FALSE;
gboolean update = FALSE;
gchar **files = NULL;
@@ -108,6 +110,12 @@
{ NULL, '\0', 0, 0, NULL, NULL, NULL }
};
+ GOptionEntry import_options_table[] =
+ {
+ { "import", '\0', 0, G_OPTION_ARG_NONE, &import, N_("Execute import action"), NULL },
+ { NULL, '\0', 0, 0, NULL, NULL, NULL }
+ };
+
GOptionEntry revert_options_table[] =
{
{ "revert", '\0', 0, G_OPTION_ARG_NONE, &revert, N_("Execute revert action"), NULL },
@@ -150,6 +158,10 @@
g_option_group_add_entries(option_group, export_options_table);
g_option_context_add_group(option_context, option_group);
+ option_group = g_option_group_new("import", N_("Import Related Opions:"), N_("Import"), NULL, NULL);
+ g_option_group_add_entries(option_group, import_options_table);
+ g_option_context_add_group(option_context, option_group);
+
option_group = g_option_group_new("revert", N_("Revert Related Opions:"), N_("Revert"), NULL, NULL);
g_option_group_add_entries(option_group, revert_options_table);
g_option_context_add_group(option_context, option_group);
@@ -235,6 +247,11 @@
thread = tsh_export(files, svn_ctx, pool);
}
+ if(import)
+ {
+ thread = tsh_import(files, svn_ctx, pool);
+ }
+
if(revert)
{
thread = tsh_revert(files, svn_ctx, pool);
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout.c 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -87,7 +87,7 @@
gchar *repository;
gchar *path;
- dialog = tsh_transfer_dialog_new (_("Checkout"), NULL, 0, files?files[0]:NULL);
+ dialog = tsh_transfer_dialog_new (_("Checkout"), NULL, 0, NULL, files?files[0]:NULL);
if(gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK)
{
gtk_widget_destroy (dialog);
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -584,6 +584,7 @@
gdk_threads_leave();
gdk_threads_enter();
*log_msg = tsh_log_message_dialog_get_message(TSH_LOG_MESSAGE_DIALOG(dialog));
+ *tmp_file = NULL;
gdk_threads_leave();
}
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -85,10 +85,18 @@
{
GtkWidget *dialog;
struct thread_args *args;
- gchar *repository;
- gchar *path;
+ gchar *repository = NULL;
+ gchar *path = NULL;
- dialog = tsh_transfer_dialog_new (_("Export"), NULL, 0, files?files[0]:NULL);
+ if(files)
+ {
+ if(tsh_is_working_copy(files[0], pool))
+ repository = files[0];
+ else
+ path = files[0];
+ }
+
+ dialog = tsh_transfer_dialog_new (_("Export"), NULL, 0, repository, path);
if(gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK)
{
gtk_widget_destroy (dialog);
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.c (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -0,0 +1,126 @@
+/*-
+ * 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., 59 Temple
+ * Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#include <glib.h>
+#include <gtk/gtk.h>
+
+#include <thunar-vfs/thunar-vfs.h>
+
+#include <subversion-1/svn_cmdline.h>
+#include <subversion-1/svn_client.h>
+#include <subversion-1/svn_pools.h>
+#include <subversion-1/svn_config.h>
+#include <subversion-1/svn_fs.h>
+
+#include "tsh-common.h"
+#include "tsh-dialog-common.h"
+#include "tsh-notify-dialog.h"
+#include "tsh-transfer-dialog.h"
+#include "tsh-log-message-dialog.h"
+
+#include "tsh-import.h"
+
+struct thread_args {
+ svn_client_ctx_t *ctx;
+ apr_pool_t *pool;
+ TshNotifyDialog *dialog;
+ gchar *path;
+ gchar *url;
+};
+
+static gpointer import_thread (gpointer user_data)
+{
+ struct thread_args *args = user_data;
+ svn_error_t *err;
+ svn_commit_info_t *commit_info;
+ svn_client_ctx_t *ctx = args->ctx;
+ apr_pool_t *pool = args->pool;
+ TshNotifyDialog *dialog = args->dialog;
+ gchar *path = args->path;
+ gchar *url = args->url;
+
+ g_free (args);
+
+ if ((err = svn_client_import2(&commit_info, path, url, FALSE, FALSE, ctx, pool)))
+ {
+ gdk_threads_enter();
+ tsh_notify_dialog_done (dialog);
+ gdk_threads_leave();
+
+ svn_handle_error2(err, stderr, FALSE, G_LOG_DOMAIN ": ");
+ svn_error_clear(err);
+ return GINT_TO_POINTER (FALSE);
+ }
+
+ gdk_threads_enter();
+ tsh_notify_dialog_done (dialog);
+ gdk_threads_leave();
+
+ return GINT_TO_POINTER (TRUE);
+}
+
+GThread *tsh_import (gchar **files, svn_client_ctx_t *ctx, apr_pool_t *pool)
+{
+ GtkWidget *dialog;
+ struct thread_args *args;
+ gchar *repository = NULL;
+ gchar *path = NULL;
+
+ dialog = tsh_transfer_dialog_new (_("Import"), NULL, 0, NULL, files?files[0]:NULL);
+ if(gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK)
+ {
+ gtk_widget_destroy (dialog);
+ return NULL;
+ }
+
+ repository = tsh_transfer_dialog_get_reposetory(TSH_TRANSFER_DIALOG(dialog));
+ path = tsh_is_working_copy(repository, pool);
+ if(path)
+ {
+ g_free(repository);
+ repository = path;
+ }
+ path = tsh_transfer_dialog_get_directory(TSH_TRANSFER_DIALOG(dialog));
+
+ gtk_widget_destroy (dialog);
+
+ dialog = tsh_notify_dialog_new (_("Import"), NULL, 0);
+ tsh_dialog_start (GTK_DIALOG (dialog), TRUE);
+
+ ctx->log_msg_func2 = tsh_log_msg_func2;
+ ctx->log_msg_baton2 = tsh_log_message_dialog_new (_("Import Message"), GTK_WINDOW (dialog), GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT);
+
+ ctx->notify_func2 = tsh_notify_func2;
+ ctx->notify_baton2 = dialog;
+
+ args = g_malloc (sizeof (struct thread_args));
+ args->ctx = ctx;
+ args->pool = pool;
+ args->dialog = TSH_NOTIFY_DIALOG (dialog);
+ args->path = path;
+ args->url = repository;
+
+ return g_thread_create (import_thread, args, TRUE, NULL);
+}
+
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.h (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-import.h 2007-12-30 00:04:37 UTC (rev 3761)
@@ -0,0 +1,27 @@
+/*-
+ * 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., 59 Temple
+ * Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __TSH_IMPORT_H__
+#define __TSH_IMPORT_H__
+
+G_BEGIN_DECLS
+
+GThread *tsh_import (gchar**, svn_client_ctx_t*, apr_pool_t*);
+
+G_END_DECLS
+
+#endif /*__TSH_IMPORT_H__*/
+
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c 2007-12-30 00:04:37 UTC (rev 3761)
@@ -23,6 +23,7 @@
#include <thunar-vfs/thunar-vfs.h>
#include <gtk/gtk.h>
+#include <dirent.h>
//#include "tsh-file-chooser-entry.h"
#include "gtkfilechooserentry.h"
@@ -113,7 +114,7 @@
}
GtkWidget*
-tsh_transfer_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags, const gchar *checkout_dir)
+tsh_transfer_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags, const gchar *repo_dir, const gchar *local_dir)
{
TshTransferDialog *dialog = g_object_new (TSH_TYPE_TRANSFER_DIALOG, NULL);
@@ -132,20 +133,50 @@
if(flags & GTK_DIALOG_NO_SEPARATOR)
gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
- if(checkout_dir)
+ if(repo_dir)
{
gchar *absolute = NULL;
- if(!g_path_is_absolute (checkout_dir))
+ if(!g_path_is_absolute (repo_dir))
{
//TODO: ".."
gchar *currdir = g_get_current_dir();
- absolute = g_build_filename(currdir, (checkout_dir[0] == '.' && (!checkout_dir[1] || checkout_dir[1] == G_DIR_SEPARATOR || checkout_dir[1] == '/'))?&checkout_dir[1]:checkout_dir, NULL);
+ absolute = g_build_filename(currdir, (repo_dir[0] == '.' && (!repo_dir[1] || repo_dir[1] == G_DIR_SEPARATOR || repo_dir[1] == '/'))?&repo_dir[1]:repo_dir, NULL);
g_free (currdir);
}
- gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER(dialog->path), absolute?absolute:checkout_dir);
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER(dialog->repository), absolute?absolute:repo_dir);
g_free (absolute);
}
+ if(local_dir)
+ {
+ gboolean isdir = TRUE;
+ gchar *absolute = NULL;
+ if(!g_path_is_absolute (local_dir))
+ {
+ //TODO: ".."
+ gchar *currdir = g_get_current_dir();
+ absolute = g_build_filename(currdir, (local_dir[0] == '.' && (!local_dir[1] || local_dir[1] == G_DIR_SEPARATOR || local_dir[1] == '/'))?&local_dir[1]:local_dir, NULL);
+ g_free (currdir);
+ }
+ DIR *dir = opendir(absolute?absolute:local_dir);
+ FILE *fp;
+ if(dir)
+ closedir(dir);
+ else if((fp = fopen(absolute?absolute:local_dir, "r")))
+ {
+ fclose(fp);
+ isdir = FALSE;
+ }
+ if(isdir)
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER(dialog->path), absolute?absolute:local_dir);
+ else
+ {
+ gtk_file_chooser_set_action (GTK_FILE_CHOOSER(dialog->path), GTK_FILE_CHOOSER_ACTION_OPEN);
+ gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(dialog->path), absolute?absolute:local_dir);
+ }
+ g_free (absolute);
+ }
+
return GTK_WIDGET(dialog);
}
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h 2007-12-29 11:20:10 UTC (rev 3760)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h 2007-12-30 00:04:37 UTC (rev 3761)
@@ -39,7 +39,8 @@
GtkWidget* tsh_transfer_dialog_new (const gchar *title,
GtkWindow *parent,
GtkDialogFlags flags,
- const gchar *checkout_dir) G_GNUC_MALLOC G_GNUC_INTERNAL;
+ const gchar *repo_dir,
+ const gchar *local_dir) G_GNUC_MALLOC G_GNUC_INTERNAL;
gchar* tsh_transfer_dialog_get_reposetory (TshTransferDialog*);
gchar* tsh_transfer_dialog_get_directory (TshTransferDialog*);
More information about the Goodies-commits
mailing list