[Goodies-commits] r3756 - in thunar-svn-plugin/trunk: po thunar-svn-plugin tsp-svn-helper
Peter de Ridder
peter at xfce.org
Fri Dec 28 01:08:48 CET 2007
Author: peter
Date: 2007-12-28 00:08:48 +0000 (Fri, 28 Dec 2007)
New Revision: 3756
Added:
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.h
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.h
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.h
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h
Removed:
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.h
Modified:
thunar-svn-plugin/trunk/po/POTFILES.in
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-svn-action.c
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-commit.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c
thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.h
Log:
* Actions added:
- delete
- export
- revert
* translations updated
Modified: thunar-svn-plugin/trunk/po/POTFILES.in
===================================================================
--- thunar-svn-plugin/trunk/po/POTFILES.in 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/POTFILES.in 2007-12-28 00:08:48 UTC (rev 3756)
@@ -9,14 +9,17 @@
tsp-svn-helper/main.c
tsp-svn-helper/tsh-add.c
tsp-svn-helper/tsh-checkout.c
-tsp-svn-helper/tsh-checkout-dialog.c
tsp-svn-helper/tsh-cleanup.c
tsp-svn-helper/tsh-commit.c
tsp-svn-helper/tsh-common.c
+tsp-svn-helper/tsh-delete.c
tsp-svn-helper/tsh-dialog-common.c
+tsp-svn-helper/tsh-export.c
tsp-svn-helper/tsh-file-dialog.c
tsp-svn-helper/tsh-log-message-dialog.c
tsp-svn-helper/tsh-login-dialog.c
tsp-svn-helper/tsh-notify-dialog.c
+tsp-svn-helper/tsh-revert.c
+tsp-svn-helper/tsh-transfer-dialog.c
tsp-svn-helper/tsh-trust-dialog.c
tsp-svn-helper/tsh-update.c
Modified: thunar-svn-plugin/trunk/po/fr.po
===================================================================
--- thunar-svn-plugin/trunk/po/fr.po 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/fr.po 2007-12-28 00:08:48 UTC (rev 3756)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: xfce-i 18n\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-27 18:55+0100\n"
+"POT-Creation-Date: 2007-12-28 01:06+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"
@@ -36,78 +36,81 @@
msgid "SVN _Checkout"
msgstr "SVN _Extraire"
-#: thunar-svn-plugin/tsp-svn-action.c:231 tsp-svn-helper/main.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Ajouter"
-#: thunar-svn-plugin/tsp-svn-action.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:245
msgid "Blame"
msgstr "Différences détaillées"
-#: thunar-svn-plugin/tsp-svn-action.c:257 tsp-svn-helper/main.c:113
+#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
msgid "Cleanup"
msgstr "Nettoyer les verrous"
-#: thunar-svn-plugin/tsp-svn-action.c:265 tsp-svn-helper/main.c:117
-#: tsp-svn-helper/tsh-commit.c:166
+#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Envoyer"
-#: thunar-svn-plugin/tsp-svn-action.c:278
+#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Effacer"
-#: thunar-svn-plugin/tsp-svn-action.c:286
+#: thunar-svn-plugin/tsp-svn-action.c:292
msgid "Diff"
msgstr "Différences"
-#: thunar-svn-plugin/tsp-svn-action.c:294
+#: 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
msgid "Export"
msgstr "Exporter"
-#: thunar-svn-plugin/tsp-svn-action.c:307
+#: thunar-svn-plugin/tsp-svn-action.c:313
msgid "Info"
msgstr "Information"
-#: thunar-svn-plugin/tsp-svn-action.c:320
+#: thunar-svn-plugin/tsp-svn-action.c:326
msgid "Lock"
msgstr "Bloquer"
-#: thunar-svn-plugin/tsp-svn-action.c:328
+#: thunar-svn-plugin/tsp-svn-action.c:334
msgid "Log"
msgstr "Journal"
-#: thunar-svn-plugin/tsp-svn-action.c:357
+#: thunar-svn-plugin/tsp-svn-action.c:363
msgid "Edit Properties"
msgstr "Éditer les propriétés"
-#: thunar-svn-plugin/tsp-svn-action.c:367
+#: thunar-svn-plugin/tsp-svn-action.c:373
msgid "Resolve"
msgstr "Fixer comme résolu"
-#: thunar-svn-plugin/tsp-svn-action.c:375
+#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Restaurer"
-#: thunar-svn-plugin/tsp-svn-action.c:383
+#: thunar-svn-plugin/tsp-svn-action.c:389
msgid "Status"
msgstr "État"
-#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:397
msgid "Switch"
msgstr "Modifier l'adresse du dépôt"
-#: thunar-svn-plugin/tsp-svn-action.c:399
+#: thunar-svn-plugin/tsp-svn-action.c:405
msgid "Unlock"
msgstr "Débloquer"
-#: thunar-svn-plugin/tsp-svn-action.c:407 tsp-svn-helper/main.c:121
+#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Mettre à jour"
-#: thunar-svn-plugin/tsp-svn-action.c:420
+#: thunar-svn-plugin/tsp-svn-action.c:426
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -169,71 +172,89 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:64
+#: tsp-svn-helper/main.c:70
msgid "Print version information"
msgstr "Afficher l'information sur la version"
-#: tsp-svn-helper/main.c:71
+#: tsp-svn-helper/main.c:77
#, fuzzy
msgid "Execute add action"
msgstr "Exécuter une mise à jour"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:83
msgid "Execute checkout action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:89
#, fuzzy
msgid "Execute cleanup action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:95
#, fuzzy
msgid "Execute commit action"
msgstr "Exécuter une extraction"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:101
+#, fuzzy
+msgid "Execute delete action"
+msgstr "Exécuter une mise à jour"
+
+#: tsp-svn-helper/main.c:107
+#, fuzzy
+msgid "Execute export action"
+msgstr "Exécuter une extraction"
+
+#: tsp-svn-helper/main.c:113
+#, fuzzy
+msgid "Execute revert action"
+msgstr "Exécuter une extraction"
+
+#: tsp-svn-helper/main.c:119
msgid "Execute update action"
msgstr "Exécuter une mise à jour"
-#: tsp-svn-helper/main.c:105
+#: tsp-svn-helper/main.c:129
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109
+#: tsp-svn-helper/main.c:133
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109 tsp-svn-helper/tsh-checkout.c:102
-#: tsp-svn-helper/tsh-checkout-dialog.c:103
+#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Extraction"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:137
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:117
+#: tsp-svn-helper/main.c:141
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:121
-msgid "Update Related Opions:"
+#: tsp-svn-helper/main.c:145
+msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:64
-msgid "_Repository:"
+#: tsp-svn-helper/main.c:149
+msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:71
-#: tsp-svn-helper/tsh-checkout-dialog.c:91
-msgid "Select a folder"
+#: tsp-svn-helper/main.c:153
+msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:84
-msgid "_Checkout directory:"
+#: tsp-svn-helper/main.c:157
+msgid "Update Related Opions:"
msgstr ""
+#: tsp-svn-helper/main.c:203
+msgid "Not enough arguments provided"
+msgstr ""
+
#: tsp-svn-helper/tsh-cleanup.c:71
msgid "Cleanup finnished"
msgstr ""
@@ -243,102 +264,107 @@
msgid "Cleaning up ..."
msgstr "Nettoyer les verrous"
-#: tsp-svn-helper/tsh-commit.c:114 tsp-svn-helper/tsh-common.c:475
-msgid "Unknown"
-msgstr ""
+#: tsp-svn-helper/tsh-commit.c:109
+#, fuzzy
+msgid "Commit Message"
+msgstr "Envoyer"
-#: tsp-svn-helper/tsh-commit.c:118 tsp-svn-helper/tsh-common.c:466
-msgid "Replaced"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:120 tsp-svn-helper/tsh-common.c:448
-#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-common.c:464
+#: tsp-svn-helper/tsh-common.c:449 tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:465 tsp-svn-helper/tsh-common.c:558
msgid "Added"
msgstr "Ajouté"
-#: tsp-svn-helper/tsh-commit.c:122 tsp-svn-helper/tsh-common.c:450
-#: tsp-svn-helper/tsh-common.c:456 tsp-svn-helper/tsh-common.c:465
-msgid "Deleted"
-msgstr "Effacé"
-
-#: tsp-svn-helper/tsh-commit.c:125 tsp-svn-helper/tsh-common.c:463
-msgid "Modified"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:129 tsp-svn-helper/tsh-common.c:449
+#: tsp-svn-helper/tsh-common.c:450 tsp-svn-helper/tsh-common.c:567
#, fuzzy
msgid "Copied"
msgstr "Complété"
-#: tsp-svn-helper/tsh-commit.c:131 tsp-svn-helper/tsh-common.c:470
-#, fuzzy
-msgid "Unlocked"
-msgstr "Débloquer"
+#: tsp-svn-helper/tsh-common.c:451 tsp-svn-helper/tsh-common.c:457
+#: tsp-svn-helper/tsh-common.c:466 tsp-svn-helper/tsh-common.c:560
+msgid "Deleted"
+msgstr "Effacé"
-#: tsp-svn-helper/tsh-commit.c:170
+#: tsp-svn-helper/tsh-common.c:452
#, fuzzy
-msgid "Commit Message"
-msgstr "Envoyer"
-
-#: tsp-svn-helper/tsh-common.c:451
-#, fuzzy
msgid "Restored"
msgstr "Fixer comme résolu"
-#: tsp-svn-helper/tsh-common.c:452
+#: tsp-svn-helper/tsh-common.c:453
#, fuzzy
msgid "Reverted"
msgstr "Restaurer"
-#: tsp-svn-helper/tsh-common.c:453
+#: tsp-svn-helper/tsh-common.c:454
#, fuzzy
msgid "Revert failed"
msgstr "Restaurer"
-#: tsp-svn-helper/tsh-common.c:454
+#: tsp-svn-helper/tsh-common.c:455
#, fuzzy
msgid "Resolved"
msgstr "Fixer comme résolu"
-#: tsp-svn-helper/tsh-common.c:455
+#: tsp-svn-helper/tsh-common.c:456
msgid "Skipped"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:459
msgid "Updated"
msgstr "Mise à jour"
-#: tsp-svn-helper/tsh-common.c:459 tsp-svn-helper/tsh-common.c:461
+#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
msgid "Completed"
msgstr "Complété"
-#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
+#: tsp-svn-helper/tsh-common.c:461 tsp-svn-helper/tsh-common.c:463
msgid "External"
msgstr "Externe"
-#: tsp-svn-helper/tsh-common.c:467
+#: tsp-svn-helper/tsh-common.c:464 tsp-svn-helper/tsh-common.c:563
+msgid "Modified"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:467 tsp-svn-helper/tsh-common.c:556
+msgid "Replaced"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:468
msgid "Transmitting"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:469
+#: tsp-svn-helper/tsh-common.c:470
#, fuzzy
msgid "Locked"
msgstr "Bloquer"
-#: tsp-svn-helper/tsh-common.c:471
+#: tsp-svn-helper/tsh-common.c:471 tsp-svn-helper/tsh-common.c:569
+#, fuzzy
+msgid "Unlocked"
+msgstr "Débloquer"
+
+#: tsp-svn-helper/tsh-common.c:472
msgid "Lock failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:472
+#: tsp-svn-helper/tsh-common.c:473
#, fuzzy
msgid "Unlock failed"
msgstr "Débloquer"
-#: tsp-svn-helper/tsh-common.c:526
+#: tsp-svn-helper/tsh-common.c:476 tsp-svn-helper/tsh-common.c:552
+msgid "Unknown"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:527
#, c-format
msgid "At revision: %li"
msgstr "À la révision : %li"
+#: tsp-svn-helper/tsh-delete.c:109
+#, fuzzy
+msgid "Delete Message"
+msgstr "Envoyer"
+
#: tsp-svn-helper/tsh-file-dialog.c:60
msgid "_Certificate:"
msgstr ""
@@ -395,6 +421,23 @@
msgid "Notification"
msgstr "Notification"
+#: tsp-svn-helper/tsh-transfer-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:71
+#: tsp-svn-helper/tsh-transfer-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:84
+msgid "_Directory:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:103
+msgid "Transfer"
+msgstr ""
+
#: tsp-svn-helper/tsh-trust-dialog.c:58
msgid "Certificate is not yet valid."
msgstr ""
Modified: thunar-svn-plugin/trunk/po/hu.po
===================================================================
--- thunar-svn-plugin/trunk/po/hu.po 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/hu.po 2007-12-28 00:08:48 UTC (rev 3756)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: Thunar SVN plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-27 18:55+0100\n"
+"POT-Creation-Date: 2007-12-28 01:06+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"
@@ -32,78 +32,81 @@
msgid "SVN _Checkout"
msgstr "SVN _Checkout"
-#: thunar-svn-plugin/tsp-svn-action.c:231 tsp-svn-helper/main.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Hozzáad"
-#: thunar-svn-plugin/tsp-svn-action.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:245
msgid "Blame"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:257 tsp-svn-helper/main.c:113
+#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
msgid "Cleanup"
msgstr "Tisztít"
-#: thunar-svn-plugin/tsp-svn-action.c:265 tsp-svn-helper/main.c:117
-#: tsp-svn-helper/tsh-commit.c:166
+#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:278
+#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Töröl"
-#: thunar-svn-plugin/tsp-svn-action.c:286
+#: thunar-svn-plugin/tsp-svn-action.c:292
msgid "Diff"
msgstr "Különbség"
-#: thunar-svn-plugin/tsp-svn-action.c:294
+#: 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
msgid "Export"
msgstr "Export"
-#: thunar-svn-plugin/tsp-svn-action.c:307
+#: thunar-svn-plugin/tsp-svn-action.c:313
msgid "Info"
msgstr "Adatok"
-#: thunar-svn-plugin/tsp-svn-action.c:320
+#: thunar-svn-plugin/tsp-svn-action.c:326
msgid "Lock"
msgstr "Zár"
-#: thunar-svn-plugin/tsp-svn-action.c:328
+#: thunar-svn-plugin/tsp-svn-action.c:334
msgid "Log"
msgstr "Napló"
-#: thunar-svn-plugin/tsp-svn-action.c:357
+#: thunar-svn-plugin/tsp-svn-action.c:363
msgid "Edit Properties"
msgstr "Tulajdonságok szerkesztése"
-#: thunar-svn-plugin/tsp-svn-action.c:367
+#: thunar-svn-plugin/tsp-svn-action.c:373
msgid "Resolve"
msgstr "Megold"
-#: thunar-svn-plugin/tsp-svn-action.c:375
+#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Visszaállít"
-#: thunar-svn-plugin/tsp-svn-action.c:383
+#: thunar-svn-plugin/tsp-svn-action.c:389
msgid "Status"
msgstr "Állapot"
-#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:397
msgid "Switch"
msgstr "Vált"
-#: thunar-svn-plugin/tsp-svn-action.c:399
+#: thunar-svn-plugin/tsp-svn-action.c:405
msgid "Unlock"
msgstr "Felold"
-#: thunar-svn-plugin/tsp-svn-action.c:407 tsp-svn-helper/main.c:121
+#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Frissít"
-#: thunar-svn-plugin/tsp-svn-action.c:420
+#: thunar-svn-plugin/tsp-svn-action.c:426
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -165,72 +168,90 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:64
+#: tsp-svn-helper/main.c:70
msgid "Print version information"
msgstr "Verzió kiírása"
-#: tsp-svn-helper/main.c:71
+#: tsp-svn-helper/main.c:77
#, fuzzy
msgid "Execute add action"
msgstr "Frissítési művelet futtatása"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:83
msgid "Execute checkout action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:89
#, fuzzy
msgid "Execute cleanup action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:95
#, fuzzy
msgid "Execute commit action"
msgstr "Checkout művelet futtatása"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:101
+#, fuzzy
+msgid "Execute delete action"
+msgstr "Frissítési művelet futtatása"
+
+#: tsp-svn-helper/main.c:107
+#, fuzzy
+msgid "Execute export action"
+msgstr "Checkout művelet futtatása"
+
+#: tsp-svn-helper/main.c:113
+#, fuzzy
+msgid "Execute revert action"
+msgstr "Checkout művelet futtatása"
+
+#: tsp-svn-helper/main.c:119
msgid "Execute update action"
msgstr "Frissítési művelet futtatása"
-#: tsp-svn-helper/main.c:105
+#: tsp-svn-helper/main.c:129
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109
+#: tsp-svn-helper/main.c:133
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109 tsp-svn-helper/tsh-checkout.c:102
-#: tsp-svn-helper/tsh-checkout-dialog.c:103
+#: tsp-svn-helper/main.c:133 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:113
+#: tsp-svn-helper/main.c:137
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:117
+#: tsp-svn-helper/main.c:141
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:121
-msgid "Update Related Opions:"
+#: tsp-svn-helper/main.c:145
+msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:64
-msgid "_Repository:"
+#: tsp-svn-helper/main.c:149
+msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:71
-#: tsp-svn-helper/tsh-checkout-dialog.c:91
-msgid "Select a folder"
+#: tsp-svn-helper/main.c:153
+msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:84
-msgid "_Checkout directory:"
+#: tsp-svn-helper/main.c:157
+msgid "Update Related Opions:"
msgstr ""
+#: tsp-svn-helper/main.c:203
+msgid "Not enough arguments provided"
+msgstr ""
+
#: tsp-svn-helper/tsh-cleanup.c:71
msgid "Cleanup finnished"
msgstr ""
@@ -240,101 +261,106 @@
msgid "Cleaning up ..."
msgstr "Tisztít"
-#: tsp-svn-helper/tsh-commit.c:114 tsp-svn-helper/tsh-common.c:475
-msgid "Unknown"
+#: tsp-svn-helper/tsh-commit.c:109
+msgid "Commit Message"
msgstr ""
-#: tsp-svn-helper/tsh-commit.c:118 tsp-svn-helper/tsh-common.c:466
-msgid "Replaced"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:120 tsp-svn-helper/tsh-common.c:448
-#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-common.c:464
+#: tsp-svn-helper/tsh-common.c:449 tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:465 tsp-svn-helper/tsh-common.c:558
msgid "Added"
msgstr "Hozzáadva"
-#: tsp-svn-helper/tsh-commit.c:122 tsp-svn-helper/tsh-common.c:450
-#: tsp-svn-helper/tsh-common.c:456 tsp-svn-helper/tsh-common.c:465
-msgid "Deleted"
-msgstr "Törölve"
-
-#: tsp-svn-helper/tsh-commit.c:125 tsp-svn-helper/tsh-common.c:463
-msgid "Modified"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:129 tsp-svn-helper/tsh-common.c:449
+#: tsp-svn-helper/tsh-common.c:450 tsp-svn-helper/tsh-common.c:567
#, fuzzy
msgid "Copied"
msgstr "Kész"
-#: tsp-svn-helper/tsh-commit.c:131 tsp-svn-helper/tsh-common.c:470
-#, fuzzy
-msgid "Unlocked"
-msgstr "Felold"
+#: tsp-svn-helper/tsh-common.c:451 tsp-svn-helper/tsh-common.c:457
+#: tsp-svn-helper/tsh-common.c:466 tsp-svn-helper/tsh-common.c:560
+msgid "Deleted"
+msgstr "Törölve"
-#: tsp-svn-helper/tsh-commit.c:170
-msgid "Commit Message"
-msgstr ""
-
-#: tsp-svn-helper/tsh-common.c:451
+#: tsp-svn-helper/tsh-common.c:452
#, fuzzy
msgid "Restored"
msgstr "Megold"
-#: tsp-svn-helper/tsh-common.c:452
+#: tsp-svn-helper/tsh-common.c:453
#, fuzzy
msgid "Reverted"
msgstr "Visszaállít"
-#: tsp-svn-helper/tsh-common.c:453
+#: tsp-svn-helper/tsh-common.c:454
#, fuzzy
msgid "Revert failed"
msgstr "Visszaállít"
-#: tsp-svn-helper/tsh-common.c:454
+#: tsp-svn-helper/tsh-common.c:455
#, fuzzy
msgid "Resolved"
msgstr "Megold"
-#: tsp-svn-helper/tsh-common.c:455
+#: tsp-svn-helper/tsh-common.c:456
msgid "Skipped"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:459
msgid "Updated"
msgstr "Frissítve"
-#: tsp-svn-helper/tsh-common.c:459 tsp-svn-helper/tsh-common.c:461
+#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
msgid "Completed"
msgstr "Kész"
-#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
+#: tsp-svn-helper/tsh-common.c:461 tsp-svn-helper/tsh-common.c:463
msgid "External"
msgstr "Külső"
-#: tsp-svn-helper/tsh-common.c:467
+#: tsp-svn-helper/tsh-common.c:464 tsp-svn-helper/tsh-common.c:563
+msgid "Modified"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:467 tsp-svn-helper/tsh-common.c:556
+msgid "Replaced"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:468
msgid "Transmitting"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:469
+#: tsp-svn-helper/tsh-common.c:470
#, fuzzy
msgid "Locked"
msgstr "Zár"
-#: tsp-svn-helper/tsh-common.c:471
+#: tsp-svn-helper/tsh-common.c:471 tsp-svn-helper/tsh-common.c:569
+#, fuzzy
+msgid "Unlocked"
+msgstr "Felold"
+
+#: tsp-svn-helper/tsh-common.c:472
msgid "Lock failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:472
+#: tsp-svn-helper/tsh-common.c:473
#, fuzzy
msgid "Unlock failed"
msgstr "Felold"
-#: tsp-svn-helper/tsh-common.c:526
+#: tsp-svn-helper/tsh-common.c:476 tsp-svn-helper/tsh-common.c:552
+msgid "Unknown"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:527
#, c-format
msgid "At revision: %li"
msgstr "E verziónál: %li"
+#: tsp-svn-helper/tsh-delete.c:109
+#, fuzzy
+msgid "Delete Message"
+msgstr "Töröl"
+
#: tsp-svn-helper/tsh-file-dialog.c:60
msgid "_Certificate:"
msgstr ""
@@ -390,6 +416,23 @@
msgid "Notification"
msgstr ""
+#: tsp-svn-helper/tsh-transfer-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:71
+#: tsp-svn-helper/tsh-transfer-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:84
+msgid "_Directory:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:103
+msgid "Transfer"
+msgstr ""
+
#: tsp-svn-helper/tsh-trust-dialog.c:58
msgid "Certificate is not yet valid."
msgstr ""
Modified: thunar-svn-plugin/trunk/po/lv.po
===================================================================
--- thunar-svn-plugin/trunk/po/lv.po 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/lv.po 2007-12-28 00:08:48 UTC (rev 3756)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-27 18:55+0100\n"
+"POT-Creation-Date: 2007-12-28 01:06+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"
@@ -34,78 +34,81 @@
msgid "SVN _Checkout"
msgstr "SVN _Izrakstīšana"
-#: thunar-svn-plugin/tsp-svn-action.c:231 tsp-svn-helper/main.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Pievienot"
-#: thunar-svn-plugin/tsp-svn-action.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:245
msgid "Blame"
msgstr "Vainot"
-#: thunar-svn-plugin/tsp-svn-action.c:257 tsp-svn-helper/main.c:113
+#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
msgid "Cleanup"
msgstr "Uzkopt"
-#: thunar-svn-plugin/tsp-svn-action.c:265 tsp-svn-helper/main.c:117
-#: tsp-svn-helper/tsh-commit.c:166
+#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Apstiprināt"
-#: thunar-svn-plugin/tsp-svn-action.c:278
+#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Dzēst"
-#: thunar-svn-plugin/tsp-svn-action.c:286
+#: thunar-svn-plugin/tsp-svn-action.c:292
msgid "Diff"
msgstr "Atšķirība"
-#: thunar-svn-plugin/tsp-svn-action.c:294
+#: 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
msgid "Export"
msgstr "Eksportēt"
-#: thunar-svn-plugin/tsp-svn-action.c:307
+#: thunar-svn-plugin/tsp-svn-action.c:313
msgid "Info"
msgstr "Informācija"
-#: thunar-svn-plugin/tsp-svn-action.c:320
+#: thunar-svn-plugin/tsp-svn-action.c:326
msgid "Lock"
msgstr "Slēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:328
+#: thunar-svn-plugin/tsp-svn-action.c:334
msgid "Log"
msgstr "Reģistrēt"
-#: thunar-svn-plugin/tsp-svn-action.c:357
+#: thunar-svn-plugin/tsp-svn-action.c:363
msgid "Edit Properties"
msgstr "Rediģēt Rekvizītus"
-#: thunar-svn-plugin/tsp-svn-action.c:367
+#: thunar-svn-plugin/tsp-svn-action.c:373
msgid "Resolve"
msgstr "Atpazīt"
-#: thunar-svn-plugin/tsp-svn-action.c:375
+#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Atgriezt"
-#: thunar-svn-plugin/tsp-svn-action.c:383
+#: thunar-svn-plugin/tsp-svn-action.c:389
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:397
msgid "Switch"
msgstr "Pārslēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:399
+#: thunar-svn-plugin/tsp-svn-action.c:405
msgid "Unlock"
msgstr "Atslēgt"
-#: thunar-svn-plugin/tsp-svn-action.c:407 tsp-svn-helper/main.c:121
+#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Atjaunot"
-#: thunar-svn-plugin/tsp-svn-action.c:420
+#: thunar-svn-plugin/tsp-svn-action.c:426
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -167,71 +170,89 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:64
+#: tsp-svn-helper/main.c:70
msgid "Print version information"
msgstr "Izdrukāt versijas informāciju"
-#: tsp-svn-helper/main.c:71
+#: tsp-svn-helper/main.c:77
#, fuzzy
msgid "Execute add action"
msgstr "Izpildīt atjaunošanas darbību"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:83
msgid "Execute checkout action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:89
#, fuzzy
msgid "Execute cleanup action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:95
#, fuzzy
msgid "Execute commit action"
msgstr "Izpildīt izrakstīšanas darbību"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:101
+#, fuzzy
+msgid "Execute delete action"
+msgstr "Izpildīt atjaunošanas darbību"
+
+#: tsp-svn-helper/main.c:107
+#, fuzzy
+msgid "Execute export action"
+msgstr "Izpildīt izrakstīšanas darbību"
+
+#: tsp-svn-helper/main.c:113
+#, fuzzy
+msgid "Execute revert action"
+msgstr "Izpildīt izrakstīšanas darbību"
+
+#: tsp-svn-helper/main.c:119
msgid "Execute update action"
msgstr "Izpildīt atjaunošanas darbību"
-#: tsp-svn-helper/main.c:105
+#: tsp-svn-helper/main.c:129
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109
+#: tsp-svn-helper/main.c:133
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109 tsp-svn-helper/tsh-checkout.c:102
-#: tsp-svn-helper/tsh-checkout-dialog.c:103
+#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Izrakstīt"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:137
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:117
+#: tsp-svn-helper/main.c:141
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:121
-msgid "Update Related Opions:"
+#: tsp-svn-helper/main.c:145
+msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:64
-msgid "_Repository:"
+#: tsp-svn-helper/main.c:149
+msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:71
-#: tsp-svn-helper/tsh-checkout-dialog.c:91
-msgid "Select a folder"
+#: tsp-svn-helper/main.c:153
+msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:84
-msgid "_Checkout directory:"
+#: tsp-svn-helper/main.c:157
+msgid "Update Related Opions:"
msgstr ""
+#: tsp-svn-helper/main.c:203
+msgid "Not enough arguments provided"
+msgstr ""
+
#: tsp-svn-helper/tsh-cleanup.c:71
msgid "Cleanup finnished"
msgstr ""
@@ -241,102 +262,107 @@
msgid "Cleaning up ..."
msgstr "Uzkopt"
-#: tsp-svn-helper/tsh-commit.c:114 tsp-svn-helper/tsh-common.c:475
-msgid "Unknown"
-msgstr ""
+#: tsp-svn-helper/tsh-commit.c:109
+#, fuzzy
+msgid "Commit Message"
+msgstr "Apstiprināt"
-#: tsp-svn-helper/tsh-commit.c:118 tsp-svn-helper/tsh-common.c:466
-msgid "Replaced"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:120 tsp-svn-helper/tsh-common.c:448
-#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-common.c:464
+#: tsp-svn-helper/tsh-common.c:449 tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:465 tsp-svn-helper/tsh-common.c:558
msgid "Added"
msgstr "Pievienots"
-#: tsp-svn-helper/tsh-commit.c:122 tsp-svn-helper/tsh-common.c:450
-#: tsp-svn-helper/tsh-common.c:456 tsp-svn-helper/tsh-common.c:465
-msgid "Deleted"
-msgstr "Dzēsts"
-
-#: tsp-svn-helper/tsh-commit.c:125 tsp-svn-helper/tsh-common.c:463
-msgid "Modified"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:129 tsp-svn-helper/tsh-common.c:449
+#: tsp-svn-helper/tsh-common.c:450 tsp-svn-helper/tsh-common.c:567
#, fuzzy
msgid "Copied"
msgstr "Pabeigts"
-#: tsp-svn-helper/tsh-commit.c:131 tsp-svn-helper/tsh-common.c:470
-#, fuzzy
-msgid "Unlocked"
-msgstr "Atslēgt"
+#: tsp-svn-helper/tsh-common.c:451 tsp-svn-helper/tsh-common.c:457
+#: tsp-svn-helper/tsh-common.c:466 tsp-svn-helper/tsh-common.c:560
+msgid "Deleted"
+msgstr "Dzēsts"
-#: tsp-svn-helper/tsh-commit.c:170
+#: tsp-svn-helper/tsh-common.c:452
#, fuzzy
-msgid "Commit Message"
-msgstr "Apstiprināt"
-
-#: tsp-svn-helper/tsh-common.c:451
-#, fuzzy
msgid "Restored"
msgstr "Atpazīt"
-#: tsp-svn-helper/tsh-common.c:452
+#: tsp-svn-helper/tsh-common.c:453
#, fuzzy
msgid "Reverted"
msgstr "Atgriezt"
-#: tsp-svn-helper/tsh-common.c:453
+#: tsp-svn-helper/tsh-common.c:454
#, fuzzy
msgid "Revert failed"
msgstr "Atgriezt"
-#: tsp-svn-helper/tsh-common.c:454
+#: tsp-svn-helper/tsh-common.c:455
#, fuzzy
msgid "Resolved"
msgstr "Atpazīt"
-#: tsp-svn-helper/tsh-common.c:455
+#: tsp-svn-helper/tsh-common.c:456
msgid "Skipped"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:459
msgid "Updated"
msgstr "Atjaunināts"
-#: tsp-svn-helper/tsh-common.c:459 tsp-svn-helper/tsh-common.c:461
+#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
msgid "Completed"
msgstr "Pabeigts"
-#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
+#: tsp-svn-helper/tsh-common.c:461 tsp-svn-helper/tsh-common.c:463
msgid "External"
msgstr "Ārējs"
-#: tsp-svn-helper/tsh-common.c:467
+#: tsp-svn-helper/tsh-common.c:464 tsp-svn-helper/tsh-common.c:563
+msgid "Modified"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:467 tsp-svn-helper/tsh-common.c:556
+msgid "Replaced"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:468
msgid "Transmitting"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:469
+#: tsp-svn-helper/tsh-common.c:470
#, fuzzy
msgid "Locked"
msgstr "Slēgt"
-#: tsp-svn-helper/tsh-common.c:471
+#: tsp-svn-helper/tsh-common.c:471 tsp-svn-helper/tsh-common.c:569
+#, fuzzy
+msgid "Unlocked"
+msgstr "Atslēgt"
+
+#: tsp-svn-helper/tsh-common.c:472
msgid "Lock failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:472
+#: tsp-svn-helper/tsh-common.c:473
#, fuzzy
msgid "Unlock failed"
msgstr "Atslēgt"
-#: tsp-svn-helper/tsh-common.c:526
+#: tsp-svn-helper/tsh-common.c:476 tsp-svn-helper/tsh-common.c:552
+msgid "Unknown"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:527
#, c-format
msgid "At revision: %li"
msgstr "Revizija: %li"
+#: tsp-svn-helper/tsh-delete.c:109
+#, fuzzy
+msgid "Delete Message"
+msgstr "Apstiprināt"
+
#: tsp-svn-helper/tsh-file-dialog.c:60
msgid "_Certificate:"
msgstr ""
@@ -393,6 +419,23 @@
msgid "Notification"
msgstr "Paziņošana"
+#: tsp-svn-helper/tsh-transfer-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:71
+#: tsp-svn-helper/tsh-transfer-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:84
+msgid "_Directory:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:103
+msgid "Transfer"
+msgstr ""
+
#: tsp-svn-helper/tsh-trust-dialog.c:58
msgid "Certificate is not yet valid."
msgstr ""
Modified: thunar-svn-plugin/trunk/po/nl.po
===================================================================
--- thunar-svn-plugin/trunk/po/nl.po 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/nl.po 2007-12-28 00:08:48 UTC (rev 3756)
@@ -7,8 +7,8 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-27 18:55+0100\n"
-"PO-Revision-Date: 2007-12-27 18:58+0100\n"
+"POT-Creation-Date: 2007-12-28 01:06+0100\n"
+"PO-Revision-Date: 2007-12-28 01:10+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"
@@ -33,78 +33,81 @@
msgid "SVN _Checkout"
msgstr "SVN _Ophalen"
-#: thunar-svn-plugin/tsp-svn-action.c:231 tsp-svn-helper/main.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Toevoegen"
-#: thunar-svn-plugin/tsp-svn-action.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:245
msgid "Blame"
msgstr "Beschuldigen"
-#: thunar-svn-plugin/tsp-svn-action.c:257 tsp-svn-helper/main.c:113
+#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
msgid "Cleanup"
msgstr "Opschonen"
-#: thunar-svn-plugin/tsp-svn-action.c:265 tsp-svn-helper/main.c:117
-#: tsp-svn-helper/tsh-commit.c:166
+#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Versturen"
-#: thunar-svn-plugin/tsp-svn-action.c:278
+#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Verwijderen"
-#: thunar-svn-plugin/tsp-svn-action.c:286
+#: thunar-svn-plugin/tsp-svn-action.c:292
msgid "Diff"
msgstr "Verschillen"
-#: thunar-svn-plugin/tsp-svn-action.c:294
+#: 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
msgid "Export"
msgstr "Exporteren"
-#: thunar-svn-plugin/tsp-svn-action.c:307
+#: thunar-svn-plugin/tsp-svn-action.c:313
msgid "Info"
msgstr "Informatie"
-#: thunar-svn-plugin/tsp-svn-action.c:320
+#: thunar-svn-plugin/tsp-svn-action.c:326
msgid "Lock"
msgstr "Vast Zetten"
-#: thunar-svn-plugin/tsp-svn-action.c:328
+#: thunar-svn-plugin/tsp-svn-action.c:334
msgid "Log"
msgstr "Geschiedenis"
-#: thunar-svn-plugin/tsp-svn-action.c:357
+#: thunar-svn-plugin/tsp-svn-action.c:363
msgid "Edit Properties"
msgstr "Attributen Wijzigen"
-#: thunar-svn-plugin/tsp-svn-action.c:367
+#: thunar-svn-plugin/tsp-svn-action.c:373
msgid "Resolve"
msgstr "Verhelpen"
-#: thunar-svn-plugin/tsp-svn-action.c:375
+#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Terug Halen"
-#: thunar-svn-plugin/tsp-svn-action.c:383
+#: thunar-svn-plugin/tsp-svn-action.c:389
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:397
msgid "Switch"
msgstr "Omschakelen"
-#: thunar-svn-plugin/tsp-svn-action.c:399
+#: thunar-svn-plugin/tsp-svn-action.c:405
msgid "Unlock"
msgstr "Vrijgeven"
-#: thunar-svn-plugin/tsp-svn-action.c:407 tsp-svn-helper/main.c:121
+#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Bijwerken"
-#: thunar-svn-plugin/tsp-svn-action.c:420
+#: thunar-svn-plugin/tsp-svn-action.c:426
#, c-format
msgid "Action %s is unimplemented"
msgstr "Actie %s is niet geimplementeerd"
@@ -166,68 +169,83 @@
msgid "Other..."
msgstr "Andere..."
-#: tsp-svn-helper/main.c:64
+#: tsp-svn-helper/main.c:70
msgid "Print version information"
msgstr "Versie informatie tonen"
-#: tsp-svn-helper/main.c:71
+#: tsp-svn-helper/main.c:77
msgid "Execute add action"
msgstr "Toevoeg actie uitvoeren"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:83
msgid "Execute checkout action"
msgstr "Ophaal actie uitvoeren"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:89
msgid "Execute cleanup action"
msgstr "Opschoon actie uitvoeren"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:95
msgid "Execute commit action"
msgstr "Verstuur actie uitvoeren"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:101
+msgid "Execute delete action"
+msgstr "Verwijder actie uitvoeren"
+
+#: tsp-svn-helper/main.c:107
+msgid "Execute export action"
+msgstr "Exporteer actie uitvoeren"
+
+#: tsp-svn-helper/main.c:113
+msgid "Execute revert action"
+msgstr "Terug haal actie uitvoeren"
+
+#: tsp-svn-helper/main.c:119
msgid "Execute update action"
msgstr "Bijwerk actie uitvoeren"
-#: tsp-svn-helper/main.c:105
+#: tsp-svn-helper/main.c:129
msgid "Add Related Opions:"
msgstr "Toevoegen gerelateerde opties:"
-#: tsp-svn-helper/main.c:109
+#: tsp-svn-helper/main.c:133
msgid "Checkout Related Opions:"
msgstr "Ophalen gerelateerde opties:"
-#: tsp-svn-helper/main.c:109 tsp-svn-helper/tsh-checkout.c:102
-#: tsp-svn-helper/tsh-checkout-dialog.c:103
+#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Ophalen"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:137
msgid "Cleanup Related Opions:"
msgstr "Opschonen gerelateerde opties:"
-#: tsp-svn-helper/main.c:117
+#: tsp-svn-helper/main.c:141
msgid "Commit Related Opions:"
msgstr "Versturen gerelateerde opties:"
-#: tsp-svn-helper/main.c:121
+#: tsp-svn-helper/main.c:145
+msgid "Delete Related Opions:"
+msgstr "Verwijder gerelateerde opties:"
+
+#: tsp-svn-helper/main.c:149
+msgid "Export Related Opions:"
+msgstr "Exporteer gerelateerde opties:"
+
+#: tsp-svn-helper/main.c:153
+msgid "Revert Related Opions:"
+msgstr "Terug haal gerelateerde opties:"
+
+#: tsp-svn-helper/main.c:157
msgid "Update Related Opions:"
msgstr "Bijwerken gerelateerde opties:"
-#: tsp-svn-helper/tsh-checkout-dialog.c:64
-msgid "_Repository:"
-msgstr ""
+#: tsp-svn-helper/main.c:203
+msgid "Not enough arguments provided"
+msgstr "Onvoldoende argumenten meegegeven"
-#: tsp-svn-helper/tsh-checkout-dialog.c:71
-#: tsp-svn-helper/tsh-checkout-dialog.c:91
-msgid "Select a folder"
-msgstr "Selecteer een map"
-
-#: tsp-svn-helper/tsh-checkout-dialog.c:84
-msgid "_Checkout directory:"
-msgstr "_Ophaal map:"
-
#: tsp-svn-helper/tsh-cleanup.c:71
msgid "Cleanup finnished"
msgstr "Klaar met opschonen"
@@ -236,93 +254,97 @@
msgid "Cleaning up ..."
msgstr "Bezig met opschonen ..."
-#: tsp-svn-helper/tsh-commit.c:114 tsp-svn-helper/tsh-common.c:475
-msgid "Unknown"
-msgstr "Onbekend"
+#: tsp-svn-helper/tsh-commit.c:109
+msgid "Commit Message"
+msgstr ""
-#: tsp-svn-helper/tsh-commit.c:118 tsp-svn-helper/tsh-common.c:466
-msgid "Replaced"
-msgstr "Vervangen"
-
-#: tsp-svn-helper/tsh-commit.c:120 tsp-svn-helper/tsh-common.c:448
-#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-common.c:464
+#: tsp-svn-helper/tsh-common.c:449 tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:465 tsp-svn-helper/tsh-common.c:558
msgid "Added"
msgstr "Toegevoegd"
-#: tsp-svn-helper/tsh-commit.c:122 tsp-svn-helper/tsh-common.c:450
-#: tsp-svn-helper/tsh-common.c:456 tsp-svn-helper/tsh-common.c:465
-msgid "Deleted"
-msgstr "Verwijderd"
-
-#: tsp-svn-helper/tsh-commit.c:125 tsp-svn-helper/tsh-common.c:463
-msgid "Modified"
-msgstr "Aangepast"
-
-#: tsp-svn-helper/tsh-commit.c:129 tsp-svn-helper/tsh-common.c:449
+#: tsp-svn-helper/tsh-common.c:450 tsp-svn-helper/tsh-common.c:567
msgid "Copied"
msgstr "Gekopieerd"
-#: tsp-svn-helper/tsh-commit.c:131 tsp-svn-helper/tsh-common.c:470
-msgid "Unlocked"
-msgstr "Vrijgegeven"
+#: tsp-svn-helper/tsh-common.c:451 tsp-svn-helper/tsh-common.c:457
+#: tsp-svn-helper/tsh-common.c:466 tsp-svn-helper/tsh-common.c:560
+msgid "Deleted"
+msgstr "Verwijderd"
-#: tsp-svn-helper/tsh-commit.c:170
-msgid "Commit Message"
-msgstr ""
-
-#: tsp-svn-helper/tsh-common.c:451
+#: tsp-svn-helper/tsh-common.c:452
msgid "Restored"
msgstr "Hersteld"
-#: tsp-svn-helper/tsh-common.c:452
+#: tsp-svn-helper/tsh-common.c:453
msgid "Reverted"
msgstr "Terug gehaald"
-#: tsp-svn-helper/tsh-common.c:453
+#: tsp-svn-helper/tsh-common.c:454
msgid "Revert failed"
msgstr "Terug halen gefaald"
-#: tsp-svn-helper/tsh-common.c:454
+#: tsp-svn-helper/tsh-common.c:455
msgid "Resolved"
msgstr "Opgelost"
-#: tsp-svn-helper/tsh-common.c:455
+#: tsp-svn-helper/tsh-common.c:456
msgid "Skipped"
msgstr "Overgeslagen"
-#: tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:459
msgid "Updated"
msgstr "Bijgewerkt"
-#: tsp-svn-helper/tsh-common.c:459 tsp-svn-helper/tsh-common.c:461
+#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
msgid "Completed"
msgstr "Voltooid"
-#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
+#: tsp-svn-helper/tsh-common.c:461 tsp-svn-helper/tsh-common.c:463
msgid "External"
msgstr "Extern"
-#: tsp-svn-helper/tsh-common.c:467
+#: tsp-svn-helper/tsh-common.c:464 tsp-svn-helper/tsh-common.c:563
+msgid "Modified"
+msgstr "Aangepast"
+
+#: tsp-svn-helper/tsh-common.c:467 tsp-svn-helper/tsh-common.c:556
+msgid "Replaced"
+msgstr "Vervangen"
+
+#: tsp-svn-helper/tsh-common.c:468
msgid "Transmitting"
msgstr "Versturen"
-#: tsp-svn-helper/tsh-common.c:469
+#: tsp-svn-helper/tsh-common.c:470
msgid "Locked"
msgstr "Vast gezet"
-#: tsp-svn-helper/tsh-common.c:471
+#: tsp-svn-helper/tsh-common.c:471 tsp-svn-helper/tsh-common.c:569
+msgid "Unlocked"
+msgstr "Vrijgegeven"
+
+#: tsp-svn-helper/tsh-common.c:472
msgid "Lock failed"
msgstr "Vast zetten gefaald"
-#: tsp-svn-helper/tsh-common.c:472
+#: tsp-svn-helper/tsh-common.c:473
msgid "Unlock failed"
msgstr "Vrijgeven gefaald"
-#: tsp-svn-helper/tsh-common.c:526
+#: tsp-svn-helper/tsh-common.c:476 tsp-svn-helper/tsh-common.c:552
+msgid "Unknown"
+msgstr "Onbekend"
+
+#: tsp-svn-helper/tsh-common.c:527
#, c-format
msgid "At revision: %li"
msgstr "Op versie: %li"
+#: tsp-svn-helper/tsh-delete.c:109
+msgid "Delete Message"
+msgstr ""
+
#: tsp-svn-helper/tsh-file-dialog.c:60
msgid "_Certificate:"
msgstr "_Certificaat:"
@@ -351,7 +373,7 @@
#: tsp-svn-helper/tsh-log-message-dialog.c:109
msgid "Log Message"
-msgstr ""
+msgstr "Geschiedenis bericht"
#: tsp-svn-helper/tsh-login-dialog.c:65
msgid "_Username:"
@@ -377,6 +399,23 @@
msgid "Notification"
msgstr "Notificatie"
+#: tsp-svn-helper/tsh-transfer-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:71
+#: tsp-svn-helper/tsh-transfer-dialog.c:91
+msgid "Select a folder"
+msgstr "Selecteer een map"
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:84
+msgid "_Directory:"
+msgstr "_Map:"
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:103
+msgid "Transfer"
+msgstr ""
+
#: tsp-svn-helper/tsh-trust-dialog.c:58
msgid "Certificate is not yet valid."
msgstr "Certificaat is nog niet geldig."
Modified: thunar-svn-plugin/trunk/po/pt_BR.po
===================================================================
--- thunar-svn-plugin/trunk/po/pt_BR.po 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/pt_BR.po 2007-12-28 00:08:48 UTC (rev 3756)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-27 18:55+0100\n"
+"POT-Creation-Date: 2007-12-28 01:06+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"
@@ -35,78 +35,81 @@
msgid "SVN _Checkout"
msgstr "SVN _Checkout"
-#: thunar-svn-plugin/tsp-svn-action.c:231 tsp-svn-helper/main.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "Adicionar"
-#: thunar-svn-plugin/tsp-svn-action.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:245
msgid "Blame"
msgstr "Falha"
-#: thunar-svn-plugin/tsp-svn-action.c:257 tsp-svn-helper/main.c:113
+#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
msgid "Cleanup"
msgstr "Limpar"
-#: thunar-svn-plugin/tsp-svn-action.c:265 tsp-svn-helper/main.c:117
-#: tsp-svn-helper/tsh-commit.c:166
+#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "Enviar"
-#: thunar-svn-plugin/tsp-svn-action.c:278
+#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "Apagar"
-#: thunar-svn-plugin/tsp-svn-action.c:286
+#: thunar-svn-plugin/tsp-svn-action.c:292
msgid "Diff"
msgstr "Diferença"
-#: thunar-svn-plugin/tsp-svn-action.c:294
+#: 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
msgid "Export"
msgstr "Exportar"
-#: thunar-svn-plugin/tsp-svn-action.c:307
+#: thunar-svn-plugin/tsp-svn-action.c:313
msgid "Info"
msgstr "Informações"
-#: thunar-svn-plugin/tsp-svn-action.c:320
+#: thunar-svn-plugin/tsp-svn-action.c:326
msgid "Lock"
msgstr "Travar"
-#: thunar-svn-plugin/tsp-svn-action.c:328
+#: thunar-svn-plugin/tsp-svn-action.c:334
msgid "Log"
msgstr "Log"
-#: thunar-svn-plugin/tsp-svn-action.c:357
+#: thunar-svn-plugin/tsp-svn-action.c:363
msgid "Edit Properties"
msgstr "Editar Propriedades"
-#: thunar-svn-plugin/tsp-svn-action.c:367
+#: thunar-svn-plugin/tsp-svn-action.c:373
msgid "Resolve"
msgstr "Resolver"
-#: thunar-svn-plugin/tsp-svn-action.c:375
+#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "Reverter"
-#: thunar-svn-plugin/tsp-svn-action.c:383
+#: thunar-svn-plugin/tsp-svn-action.c:389
msgid "Status"
msgstr "Status"
-#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:397
msgid "Switch"
msgstr "Alternar"
-#: thunar-svn-plugin/tsp-svn-action.c:399
+#: thunar-svn-plugin/tsp-svn-action.c:405
msgid "Unlock"
msgstr "Destravar"
-#: thunar-svn-plugin/tsp-svn-action.c:407 tsp-svn-helper/main.c:121
+#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "Atualizar"
-#: thunar-svn-plugin/tsp-svn-action.c:420
+#: thunar-svn-plugin/tsp-svn-action.c:426
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -168,71 +171,89 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:64
+#: tsp-svn-helper/main.c:70
msgid "Print version information"
msgstr "Imprimir informação da versão"
-#: tsp-svn-helper/main.c:71
+#: tsp-svn-helper/main.c:77
#, fuzzy
msgid "Execute add action"
msgstr "Executar ação de atualização"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:83
msgid "Execute checkout action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:89
#, fuzzy
msgid "Execute cleanup action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:95
#, fuzzy
msgid "Execute commit action"
msgstr "Executar ação de checkout"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:101
+#, fuzzy
+msgid "Execute delete action"
+msgstr "Executar ação de atualização"
+
+#: tsp-svn-helper/main.c:107
+#, fuzzy
+msgid "Execute export action"
+msgstr "Executar ação de checkout"
+
+#: tsp-svn-helper/main.c:113
+#, fuzzy
+msgid "Execute revert action"
+msgstr "Executar ação de checkout"
+
+#: tsp-svn-helper/main.c:119
msgid "Execute update action"
msgstr "Executar ação de atualização"
-#: tsp-svn-helper/main.c:105
+#: tsp-svn-helper/main.c:129
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109
+#: tsp-svn-helper/main.c:133
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109 tsp-svn-helper/tsh-checkout.c:102
-#: tsp-svn-helper/tsh-checkout-dialog.c:103
+#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "Checkout"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:137
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:117
+#: tsp-svn-helper/main.c:141
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:121
-msgid "Update Related Opions:"
+#: tsp-svn-helper/main.c:145
+msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:64
-msgid "_Repository:"
+#: tsp-svn-helper/main.c:149
+msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:71
-#: tsp-svn-helper/tsh-checkout-dialog.c:91
-msgid "Select a folder"
+#: tsp-svn-helper/main.c:153
+msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:84
-msgid "_Checkout directory:"
+#: tsp-svn-helper/main.c:157
+msgid "Update Related Opions:"
msgstr ""
+#: tsp-svn-helper/main.c:203
+msgid "Not enough arguments provided"
+msgstr ""
+
#: tsp-svn-helper/tsh-cleanup.c:71
msgid "Cleanup finnished"
msgstr ""
@@ -242,102 +263,107 @@
msgid "Cleaning up ..."
msgstr "Limpar"
-#: tsp-svn-helper/tsh-commit.c:114 tsp-svn-helper/tsh-common.c:475
-msgid "Unknown"
-msgstr ""
+#: tsp-svn-helper/tsh-commit.c:109
+#, fuzzy
+msgid "Commit Message"
+msgstr "Enviar"
-#: tsp-svn-helper/tsh-commit.c:118 tsp-svn-helper/tsh-common.c:466
-msgid "Replaced"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:120 tsp-svn-helper/tsh-common.c:448
-#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-common.c:464
+#: tsp-svn-helper/tsh-common.c:449 tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:465 tsp-svn-helper/tsh-common.c:558
msgid "Added"
msgstr "Adicionado"
-#: tsp-svn-helper/tsh-commit.c:122 tsp-svn-helper/tsh-common.c:450
-#: tsp-svn-helper/tsh-common.c:456 tsp-svn-helper/tsh-common.c:465
-msgid "Deleted"
-msgstr "Apagado"
-
-#: tsp-svn-helper/tsh-commit.c:125 tsp-svn-helper/tsh-common.c:463
-msgid "Modified"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:129 tsp-svn-helper/tsh-common.c:449
+#: tsp-svn-helper/tsh-common.c:450 tsp-svn-helper/tsh-common.c:567
#, fuzzy
msgid "Copied"
msgstr "Completado"
-#: tsp-svn-helper/tsh-commit.c:131 tsp-svn-helper/tsh-common.c:470
-#, fuzzy
-msgid "Unlocked"
-msgstr "Destravar"
+#: tsp-svn-helper/tsh-common.c:451 tsp-svn-helper/tsh-common.c:457
+#: tsp-svn-helper/tsh-common.c:466 tsp-svn-helper/tsh-common.c:560
+msgid "Deleted"
+msgstr "Apagado"
-#: tsp-svn-helper/tsh-commit.c:170
+#: tsp-svn-helper/tsh-common.c:452
#, fuzzy
-msgid "Commit Message"
-msgstr "Enviar"
-
-#: tsp-svn-helper/tsh-common.c:451
-#, fuzzy
msgid "Restored"
msgstr "Resolver"
-#: tsp-svn-helper/tsh-common.c:452
+#: tsp-svn-helper/tsh-common.c:453
#, fuzzy
msgid "Reverted"
msgstr "Reverter"
-#: tsp-svn-helper/tsh-common.c:453
+#: tsp-svn-helper/tsh-common.c:454
#, fuzzy
msgid "Revert failed"
msgstr "Reverter"
-#: tsp-svn-helper/tsh-common.c:454
+#: tsp-svn-helper/tsh-common.c:455
#, fuzzy
msgid "Resolved"
msgstr "Resolver"
-#: tsp-svn-helper/tsh-common.c:455
+#: tsp-svn-helper/tsh-common.c:456
msgid "Skipped"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:459
msgid "Updated"
msgstr "Atualizado"
-#: tsp-svn-helper/tsh-common.c:459 tsp-svn-helper/tsh-common.c:461
+#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
msgid "Completed"
msgstr "Completado"
-#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
+#: tsp-svn-helper/tsh-common.c:461 tsp-svn-helper/tsh-common.c:463
msgid "External"
msgstr "Externo"
-#: tsp-svn-helper/tsh-common.c:467
+#: tsp-svn-helper/tsh-common.c:464 tsp-svn-helper/tsh-common.c:563
+msgid "Modified"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:467 tsp-svn-helper/tsh-common.c:556
+msgid "Replaced"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:468
msgid "Transmitting"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:469
+#: tsp-svn-helper/tsh-common.c:470
#, fuzzy
msgid "Locked"
msgstr "Travar"
-#: tsp-svn-helper/tsh-common.c:471
+#: tsp-svn-helper/tsh-common.c:471 tsp-svn-helper/tsh-common.c:569
+#, fuzzy
+msgid "Unlocked"
+msgstr "Destravar"
+
+#: tsp-svn-helper/tsh-common.c:472
msgid "Lock failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:472
+#: tsp-svn-helper/tsh-common.c:473
#, fuzzy
msgid "Unlock failed"
msgstr "Destravar"
-#: tsp-svn-helper/tsh-common.c:526
+#: tsp-svn-helper/tsh-common.c:476 tsp-svn-helper/tsh-common.c:552
+msgid "Unknown"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:527
#, c-format
msgid "At revision: %li"
msgstr "Na revisão: %li"
+#: tsp-svn-helper/tsh-delete.c:109
+#, fuzzy
+msgid "Delete Message"
+msgstr "Enviar"
+
#: tsp-svn-helper/tsh-file-dialog.c:60
msgid "_Certificate:"
msgstr ""
@@ -394,6 +420,23 @@
msgid "Notification"
msgstr "Notificação"
+#: tsp-svn-helper/tsh-transfer-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:71
+#: tsp-svn-helper/tsh-transfer-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:84
+msgid "_Directory:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:103
+msgid "Transfer"
+msgstr ""
+
#: tsp-svn-helper/tsh-trust-dialog.c:58
msgid "Certificate is not yet valid."
msgstr ""
Modified: thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot
===================================================================
--- thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/thunar-svn-plugin.pot 2007-12-28 00:08:48 UTC (rev 3756)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-27 18:55+0100\n"
+"POT-Creation-Date: 2007-12-28 01:06+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"
@@ -34,78 +34,81 @@
msgid "SVN _Checkout"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:231 tsp-svn-helper/main.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:245
msgid "Blame"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:257 tsp-svn-helper/main.c:113
+#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
msgid "Cleanup"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:265 tsp-svn-helper/main.c:117
-#: tsp-svn-helper/tsh-commit.c:166
+#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:278
+#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:286
+#: thunar-svn-plugin/tsp-svn-action.c:292
msgid "Diff"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:294
+#: 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
msgid "Export"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:307
+#: thunar-svn-plugin/tsp-svn-action.c:313
msgid "Info"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:320
+#: thunar-svn-plugin/tsp-svn-action.c:326
msgid "Lock"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:328
+#: thunar-svn-plugin/tsp-svn-action.c:334
msgid "Log"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:357
+#: thunar-svn-plugin/tsp-svn-action.c:363
msgid "Edit Properties"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:367
+#: thunar-svn-plugin/tsp-svn-action.c:373
msgid "Resolve"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:375
+#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:383
+#: thunar-svn-plugin/tsp-svn-action.c:389
msgid "Status"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:397
msgid "Switch"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:399
+#: thunar-svn-plugin/tsp-svn-action.c:405
msgid "Unlock"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:407 tsp-svn-helper/main.c:121
+#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr ""
-#: thunar-svn-plugin/tsp-svn-action.c:420
+#: thunar-svn-plugin/tsp-svn-action.c:426
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -167,68 +170,83 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:64
+#: tsp-svn-helper/main.c:70
msgid "Print version information"
msgstr ""
-#: tsp-svn-helper/main.c:71
+#: tsp-svn-helper/main.c:77
msgid "Execute add action"
msgstr ""
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:83
msgid "Execute checkout action"
msgstr ""
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:89
msgid "Execute cleanup action"
msgstr ""
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:95
msgid "Execute commit action"
msgstr ""
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:101
+msgid "Execute delete action"
+msgstr ""
+
+#: tsp-svn-helper/main.c:107
+msgid "Execute export action"
+msgstr ""
+
+#: tsp-svn-helper/main.c:113
+msgid "Execute revert action"
+msgstr ""
+
+#: tsp-svn-helper/main.c:119
msgid "Execute update action"
msgstr ""
-#: tsp-svn-helper/main.c:105
+#: tsp-svn-helper/main.c:129
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109
+#: tsp-svn-helper/main.c:133
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109 tsp-svn-helper/tsh-checkout.c:102
-#: tsp-svn-helper/tsh-checkout-dialog.c:103
+#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr ""
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:137
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:117
+#: tsp-svn-helper/main.c:141
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:121
-msgid "Update Related Opions:"
+#: tsp-svn-helper/main.c:145
+msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:64
-msgid "_Repository:"
+#: tsp-svn-helper/main.c:149
+msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:71
-#: tsp-svn-helper/tsh-checkout-dialog.c:91
-msgid "Select a folder"
+#: tsp-svn-helper/main.c:153
+msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:84
-msgid "_Checkout directory:"
+#: tsp-svn-helper/main.c:157
+msgid "Update Related Opions:"
msgstr ""
+#: tsp-svn-helper/main.c:203
+msgid "Not enough arguments provided"
+msgstr ""
+
#: tsp-svn-helper/tsh-cleanup.c:71
msgid "Cleanup finnished"
msgstr ""
@@ -237,93 +255,97 @@
msgid "Cleaning up ..."
msgstr ""
-#: tsp-svn-helper/tsh-commit.c:114 tsp-svn-helper/tsh-common.c:475
-msgid "Unknown"
+#: tsp-svn-helper/tsh-commit.c:109
+msgid "Commit Message"
msgstr ""
-#: tsp-svn-helper/tsh-commit.c:118 tsp-svn-helper/tsh-common.c:466
-msgid "Replaced"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:120 tsp-svn-helper/tsh-common.c:448
-#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-common.c:464
+#: tsp-svn-helper/tsh-common.c:449 tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:465 tsp-svn-helper/tsh-common.c:558
msgid "Added"
msgstr ""
-#: tsp-svn-helper/tsh-commit.c:122 tsp-svn-helper/tsh-common.c:450
-#: tsp-svn-helper/tsh-common.c:456 tsp-svn-helper/tsh-common.c:465
-msgid "Deleted"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:125 tsp-svn-helper/tsh-common.c:463
-msgid "Modified"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:129 tsp-svn-helper/tsh-common.c:449
+#: tsp-svn-helper/tsh-common.c:450 tsp-svn-helper/tsh-common.c:567
msgid "Copied"
msgstr ""
-#: tsp-svn-helper/tsh-commit.c:131 tsp-svn-helper/tsh-common.c:470
-msgid "Unlocked"
+#: tsp-svn-helper/tsh-common.c:451 tsp-svn-helper/tsh-common.c:457
+#: tsp-svn-helper/tsh-common.c:466 tsp-svn-helper/tsh-common.c:560
+msgid "Deleted"
msgstr ""
-#: tsp-svn-helper/tsh-commit.c:170
-msgid "Commit Message"
-msgstr ""
-
-#: tsp-svn-helper/tsh-common.c:451
+#: tsp-svn-helper/tsh-common.c:452
msgid "Restored"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:452
+#: tsp-svn-helper/tsh-common.c:453
msgid "Reverted"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:453
+#: tsp-svn-helper/tsh-common.c:454
msgid "Revert failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:454
+#: tsp-svn-helper/tsh-common.c:455
msgid "Resolved"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:455
+#: tsp-svn-helper/tsh-common.c:456
msgid "Skipped"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:459
msgid "Updated"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:459 tsp-svn-helper/tsh-common.c:461
+#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
msgid "Completed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
+#: tsp-svn-helper/tsh-common.c:461 tsp-svn-helper/tsh-common.c:463
msgid "External"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:467
+#: tsp-svn-helper/tsh-common.c:464 tsp-svn-helper/tsh-common.c:563
+msgid "Modified"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:467 tsp-svn-helper/tsh-common.c:556
+msgid "Replaced"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:468
msgid "Transmitting"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:469
+#: tsp-svn-helper/tsh-common.c:470
msgid "Locked"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:471
+#: tsp-svn-helper/tsh-common.c:471 tsp-svn-helper/tsh-common.c:569
+msgid "Unlocked"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:472
msgid "Lock failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:472
+#: tsp-svn-helper/tsh-common.c:473
msgid "Unlock failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:526
+#: tsp-svn-helper/tsh-common.c:476 tsp-svn-helper/tsh-common.c:552
+msgid "Unknown"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:527
#, c-format
msgid "At revision: %li"
msgstr ""
+#: tsp-svn-helper/tsh-delete.c:109
+msgid "Delete Message"
+msgstr ""
+
#: tsp-svn-helper/tsh-file-dialog.c:60
msgid "_Certificate:"
msgstr ""
@@ -378,6 +400,23 @@
msgid "Notification"
msgstr ""
+#: tsp-svn-helper/tsh-transfer-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:71
+#: tsp-svn-helper/tsh-transfer-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:84
+msgid "_Directory:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:103
+msgid "Transfer"
+msgstr ""
+
#: tsp-svn-helper/tsh-trust-dialog.c:58
msgid "Certificate is not yet valid."
msgstr ""
Modified: thunar-svn-plugin/trunk/po/ur.po
===================================================================
--- thunar-svn-plugin/trunk/po/ur.po 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/po/ur.po 2007-12-28 00:08:48 UTC (rev 3756)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: thunar-svn-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-12-27 18:55+0100\n"
+"POT-Creation-Date: 2007-12-28 01:06+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"
@@ -37,78 +37,81 @@
msgid "SVN _Checkout"
msgstr "SVN _چیک آؤٹ"
-#: thunar-svn-plugin/tsp-svn-action.c:231 tsp-svn-helper/main.c:105
+#: thunar-svn-plugin/tsp-svn-action.c:237 tsp-svn-helper/main.c:129
#: tsp-svn-helper/tsh-add.c:98
msgid "Add"
msgstr "شامل کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:239
+#: thunar-svn-plugin/tsp-svn-action.c:245
msgid "Blame"
msgstr "Blame"
-#: thunar-svn-plugin/tsp-svn-action.c:257 tsp-svn-helper/main.c:113
+#: thunar-svn-plugin/tsp-svn-action.c:263 tsp-svn-helper/main.c:137
msgid "Cleanup"
msgstr "صاف کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:265 tsp-svn-helper/main.c:117
-#: tsp-svn-helper/tsh-commit.c:166
+#: thunar-svn-plugin/tsp-svn-action.c:271 tsp-svn-helper/main.c:141
+#: tsp-svn-helper/tsh-commit.c:105
msgid "Commit"
msgstr "تبصرہ"
-#: thunar-svn-plugin/tsp-svn-action.c:278
+#: thunar-svn-plugin/tsp-svn-action.c:284 tsp-svn-helper/main.c:145
+#: tsp-svn-helper/tsh-delete.c:105
msgid "Delete"
msgstr "حذف"
-#: thunar-svn-plugin/tsp-svn-action.c:286
+#: thunar-svn-plugin/tsp-svn-action.c:292
msgid "Diff"
msgstr "فرق"
-#: thunar-svn-plugin/tsp-svn-action.c:294
+#: 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
msgid "Export"
msgstr "برآمد"
-#: thunar-svn-plugin/tsp-svn-action.c:307
+#: thunar-svn-plugin/tsp-svn-action.c:313
msgid "Info"
msgstr "معلومات"
-#: thunar-svn-plugin/tsp-svn-action.c:320
+#: thunar-svn-plugin/tsp-svn-action.c:326
msgid "Lock"
msgstr "قفل"
-#: thunar-svn-plugin/tsp-svn-action.c:328
+#: thunar-svn-plugin/tsp-svn-action.c:334
msgid "Log"
msgstr "Log"
-#: thunar-svn-plugin/tsp-svn-action.c:357
+#: thunar-svn-plugin/tsp-svn-action.c:363
msgid "Edit Properties"
msgstr "خصوصیات مدون کریں"
-#: thunar-svn-plugin/tsp-svn-action.c:367
+#: thunar-svn-plugin/tsp-svn-action.c:373
msgid "Resolve"
msgstr "Resolve"
-#: thunar-svn-plugin/tsp-svn-action.c:375
+#: thunar-svn-plugin/tsp-svn-action.c:381 tsp-svn-helper/main.c:153
+#: tsp-svn-helper/tsh-revert.c:103
msgid "Revert"
msgstr "واپس"
-#: thunar-svn-plugin/tsp-svn-action.c:383
+#: thunar-svn-plugin/tsp-svn-action.c:389
msgid "Status"
msgstr "حالت"
-#: thunar-svn-plugin/tsp-svn-action.c:391
+#: thunar-svn-plugin/tsp-svn-action.c:397
msgid "Switch"
msgstr "تبدیل"
-#: thunar-svn-plugin/tsp-svn-action.c:399
+#: thunar-svn-plugin/tsp-svn-action.c:405
msgid "Unlock"
msgstr "غیر مقفل"
-#: thunar-svn-plugin/tsp-svn-action.c:407 tsp-svn-helper/main.c:121
+#: thunar-svn-plugin/tsp-svn-action.c:413 tsp-svn-helper/main.c:157
#: tsp-svn-helper/tsh-update.c:105
msgid "Update"
msgstr "تجدید"
-#: thunar-svn-plugin/tsp-svn-action.c:420
+#: thunar-svn-plugin/tsp-svn-action.c:426
#, c-format
msgid "Action %s is unimplemented"
msgstr ""
@@ -170,71 +173,89 @@
msgid "Other..."
msgstr ""
-#: tsp-svn-helper/main.c:64
+#: tsp-svn-helper/main.c:70
msgid "Print version information"
msgstr "ورژن معلومات طبع کریں"
-#: tsp-svn-helper/main.c:71
+#: tsp-svn-helper/main.c:77
#, fuzzy
msgid "Execute add action"
msgstr "تجدید کریں"
-#: tsp-svn-helper/main.c:77
+#: tsp-svn-helper/main.c:83
msgid "Execute checkout action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:83
+#: tsp-svn-helper/main.c:89
#, fuzzy
msgid "Execute cleanup action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:89
+#: tsp-svn-helper/main.c:95
#, fuzzy
msgid "Execute commit action"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:95
+#: tsp-svn-helper/main.c:101
+#, fuzzy
+msgid "Execute delete action"
+msgstr "تجدید کریں"
+
+#: tsp-svn-helper/main.c:107
+#, fuzzy
+msgid "Execute export action"
+msgstr "چیک کریں"
+
+#: tsp-svn-helper/main.c:113
+#, fuzzy
+msgid "Execute revert action"
+msgstr "چیک کریں"
+
+#: tsp-svn-helper/main.c:119
msgid "Execute update action"
msgstr "تجدید کریں"
-#: tsp-svn-helper/main.c:105
+#: tsp-svn-helper/main.c:129
msgid "Add Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109
+#: tsp-svn-helper/main.c:133
msgid "Checkout Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:109 tsp-svn-helper/tsh-checkout.c:102
-#: tsp-svn-helper/tsh-checkout-dialog.c:103
+#: tsp-svn-helper/main.c:133 tsp-svn-helper/tsh-checkout.c:90
+#: tsp-svn-helper/tsh-checkout.c:102
msgid "Checkout"
msgstr "چیک کریں"
-#: tsp-svn-helper/main.c:113
+#: tsp-svn-helper/main.c:137
msgid "Cleanup Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:117
+#: tsp-svn-helper/main.c:141
msgid "Commit Related Opions:"
msgstr ""
-#: tsp-svn-helper/main.c:121
-msgid "Update Related Opions:"
+#: tsp-svn-helper/main.c:145
+msgid "Delete Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:64
-msgid "_Repository:"
+#: tsp-svn-helper/main.c:149
+msgid "Export Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:71
-#: tsp-svn-helper/tsh-checkout-dialog.c:91
-msgid "Select a folder"
+#: tsp-svn-helper/main.c:153
+msgid "Revert Related Opions:"
msgstr ""
-#: tsp-svn-helper/tsh-checkout-dialog.c:84
-msgid "_Checkout directory:"
+#: tsp-svn-helper/main.c:157
+msgid "Update Related Opions:"
msgstr ""
+#: tsp-svn-helper/main.c:203
+msgid "Not enough arguments provided"
+msgstr ""
+
#: tsp-svn-helper/tsh-cleanup.c:71
msgid "Cleanup finnished"
msgstr ""
@@ -244,102 +265,107 @@
msgid "Cleaning up ..."
msgstr "صاف کریں"
-#: tsp-svn-helper/tsh-commit.c:114 tsp-svn-helper/tsh-common.c:475
-msgid "Unknown"
-msgstr ""
+#: tsp-svn-helper/tsh-commit.c:109
+#, fuzzy
+msgid "Commit Message"
+msgstr "تبصرہ"
-#: tsp-svn-helper/tsh-commit.c:118 tsp-svn-helper/tsh-common.c:466
-msgid "Replaced"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:120 tsp-svn-helper/tsh-common.c:448
-#: tsp-svn-helper/tsh-common.c:457 tsp-svn-helper/tsh-common.c:464
+#: tsp-svn-helper/tsh-common.c:449 tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:465 tsp-svn-helper/tsh-common.c:558
msgid "Added"
msgstr "شامل کردہ"
-#: tsp-svn-helper/tsh-commit.c:122 tsp-svn-helper/tsh-common.c:450
-#: tsp-svn-helper/tsh-common.c:456 tsp-svn-helper/tsh-common.c:465
-msgid "Deleted"
-msgstr "حذف"
-
-#: tsp-svn-helper/tsh-commit.c:125 tsp-svn-helper/tsh-common.c:463
-msgid "Modified"
-msgstr ""
-
-#: tsp-svn-helper/tsh-commit.c:129 tsp-svn-helper/tsh-common.c:449
+#: tsp-svn-helper/tsh-common.c:450 tsp-svn-helper/tsh-common.c:567
#, fuzzy
msgid "Copied"
msgstr "مکمل"
-#: tsp-svn-helper/tsh-commit.c:131 tsp-svn-helper/tsh-common.c:470
-#, fuzzy
-msgid "Unlocked"
-msgstr "غیر مقفل"
+#: tsp-svn-helper/tsh-common.c:451 tsp-svn-helper/tsh-common.c:457
+#: tsp-svn-helper/tsh-common.c:466 tsp-svn-helper/tsh-common.c:560
+msgid "Deleted"
+msgstr "حذف"
-#: tsp-svn-helper/tsh-commit.c:170
+#: tsp-svn-helper/tsh-common.c:452
#, fuzzy
-msgid "Commit Message"
-msgstr "تبصرہ"
-
-#: tsp-svn-helper/tsh-common.c:451
-#, fuzzy
msgid "Restored"
msgstr "Resolve"
-#: tsp-svn-helper/tsh-common.c:452
+#: tsp-svn-helper/tsh-common.c:453
#, fuzzy
msgid "Reverted"
msgstr "واپس"
-#: tsp-svn-helper/tsh-common.c:453
+#: tsp-svn-helper/tsh-common.c:454
#, fuzzy
msgid "Revert failed"
msgstr "واپس"
-#: tsp-svn-helper/tsh-common.c:454
+#: tsp-svn-helper/tsh-common.c:455
#, fuzzy
msgid "Resolved"
msgstr "Resolve"
-#: tsp-svn-helper/tsh-common.c:455
+#: tsp-svn-helper/tsh-common.c:456
msgid "Skipped"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:458
+#: tsp-svn-helper/tsh-common.c:459
msgid "Updated"
msgstr "تجدید شدہ"
-#: tsp-svn-helper/tsh-common.c:459 tsp-svn-helper/tsh-common.c:461
+#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
msgid "Completed"
msgstr "مکمل"
-#: tsp-svn-helper/tsh-common.c:460 tsp-svn-helper/tsh-common.c:462
+#: tsp-svn-helper/tsh-common.c:461 tsp-svn-helper/tsh-common.c:463
msgid "External"
msgstr "خارجی"
-#: tsp-svn-helper/tsh-common.c:467
+#: tsp-svn-helper/tsh-common.c:464 tsp-svn-helper/tsh-common.c:563
+msgid "Modified"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:467 tsp-svn-helper/tsh-common.c:556
+msgid "Replaced"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:468
msgid "Transmitting"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:469
+#: tsp-svn-helper/tsh-common.c:470
#, fuzzy
msgid "Locked"
msgstr "قفل"
-#: tsp-svn-helper/tsh-common.c:471
+#: tsp-svn-helper/tsh-common.c:471 tsp-svn-helper/tsh-common.c:569
+#, fuzzy
+msgid "Unlocked"
+msgstr "غیر مقفل"
+
+#: tsp-svn-helper/tsh-common.c:472
msgid "Lock failed"
msgstr ""
-#: tsp-svn-helper/tsh-common.c:472
+#: tsp-svn-helper/tsh-common.c:473
#, fuzzy
msgid "Unlock failed"
msgstr "غیر مقفل"
-#: tsp-svn-helper/tsh-common.c:526
+#: tsp-svn-helper/tsh-common.c:476 tsp-svn-helper/tsh-common.c:552
+msgid "Unknown"
+msgstr ""
+
+#: tsp-svn-helper/tsh-common.c:527
#, c-format
msgid "At revision: %li"
msgstr "ورژن: %li"
+#: tsp-svn-helper/tsh-delete.c:109
+#, fuzzy
+msgid "Delete Message"
+msgstr "تبصرہ"
+
#: tsp-svn-helper/tsh-file-dialog.c:60
msgid "_Certificate:"
msgstr ""
@@ -396,6 +422,23 @@
msgid "Notification"
msgstr "اطلاعیہ"
+#: tsp-svn-helper/tsh-transfer-dialog.c:64
+msgid "_Repository:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:71
+#: tsp-svn-helper/tsh-transfer-dialog.c:91
+msgid "Select a folder"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:84
+msgid "_Directory:"
+msgstr ""
+
+#: tsp-svn-helper/tsh-transfer-dialog.c:103
+msgid "Transfer"
+msgstr ""
+
#: tsp-svn-helper/tsh-trust-dialog.c:58
msgid "Certificate is not yet valid."
msgstr ""
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-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/thunar-svn-plugin/tsp-svn-action.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -84,6 +84,12 @@
void tsp_action_commit (GtkMenuItem *item, TspSvnAction *action);
+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);
@@ -276,7 +282,7 @@
if (!tsp_action->property.is_parent && tsp_action->property.parent_version_control && (tsp_action->property.directory_version_control || tsp_action->property.file_version_control))
{
subitem = gtk_menu_item_new_with_label (_("Delete"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Delete");
+ g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_delete), action, G_CONNECT_AFTER);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
gtk_widget_show(subitem);
}
@@ -292,7 +298,7 @@
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
subitem = gtk_menu_item_new_with_label (_("Export"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Export");
+ g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_export), action, G_CONNECT_AFTER);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
gtk_widget_show(subitem);
}
@@ -373,7 +379,7 @@
if ((tsp_action->property.is_parent && tsp_action->property.parent_version_control) || tsp_action->property.directory_version_control || tsp_action->property.file_version_control)
{
subitem = gtk_menu_item_new_with_label (_("Revert"));
- g_signal_connect_after (subitem, "activate", G_CALLBACK (tsp_action_unimplemented), "Revert");
+ g_signal_connect_object (subitem, "activate", G_CALLBACK (tsp_action_revert), action, G_CONNECT_AFTER);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem);
gtk_widget_show(subitem);
}
@@ -720,6 +726,228 @@
+void tsp_action_delete (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 ("--delete");
+ 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_export (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 ("--export");
+ 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;
+ 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 ("--revert");
+ 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_update (GtkMenuItem *item, TspSvnAction *action)
{
guint size, i;
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/Makefile.am 2007-12-28 00:08:48 UTC (rev 3756)
@@ -24,6 +24,12 @@
tsh-cleanup.c \
tsh-commit.h \
tsh-commit.c \
+ tsh-delete.h \
+ tsh-delete.c \
+ tsh-export.h \
+ tsh-export.c \
+ tsh-revert.h \
+ tsh-revert.c \
tsh-update.h \
tsh-update.c \
gtkfilechooserentry.h \
@@ -47,8 +53,8 @@
tsh-notify-dialog.c \
tsh-log-message-dialog.h \
tsh-log-message-dialog.c \
- tsh-checkout-dialog.h \
- tsh-checkout-dialog.c
+ tsh-transfer-dialog.h \
+ tsh-transfer-dialog.c
tsp_svn_helper_CPPFLAGS = \
-DG_LOG_DOMAIN=\"tsp-svn-helper\"
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/main.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/main.c 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/main.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -38,6 +38,9 @@
#include "tsh-checkout.h"
#include "tsh-cleanup.h"
#include "tsh-commit.h"
+#include "tsh-delete.h"
+#include "tsh-export.h"
+#include "tsh-revert.h"
#include "tsh-update.h"
int main (int argc, char *argv[])
@@ -55,6 +58,9 @@
gboolean checkout = FALSE;
gboolean cleanup = FALSE;
gboolean commit = FALSE;
+ gboolean delete = FALSE;
+ gboolean export = FALSE;
+ gboolean revert = FALSE;
gboolean update = FALSE;
gchar **files = NULL;
GError *error = NULL;
@@ -90,6 +96,24 @@
{ NULL, '\0', 0, 0, NULL, NULL, NULL }
};
+ GOptionEntry delete_options_table[] =
+ {
+ { "delete", '\0', 0, G_OPTION_ARG_NONE, &delete, N_("Execute delete action"), NULL },
+ { NULL, '\0', 0, 0, NULL, NULL, NULL }
+ };
+
+ GOptionEntry export_options_table[] =
+ {
+ { "export", '\0', 0, G_OPTION_ARG_NONE, &export, N_("Execute export 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 },
+ { NULL, '\0', 0, 0, NULL, NULL, NULL }
+ };
+
GOptionEntry update_options_table[] =
{
{ "update", '\0', 0, G_OPTION_ARG_NONE, &update, N_("Execute update action"), NULL },
@@ -118,6 +142,18 @@
g_option_group_add_entries(option_group, commit_options_table);
g_option_context_add_group(option_context, option_group);
+ option_group = g_option_group_new("delete", N_("Delete Related Opions:"), N_("Delete"), NULL, NULL);
+ g_option_group_add_entries(option_group, delete_options_table);
+ g_option_context_add_group(option_context, option_group);
+
+ option_group = g_option_group_new("export", N_("Export Related Opions:"), N_("Export"), NULL, NULL);
+ 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("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);
+
option_group = g_option_group_new("update", N_("Update Related Opions:"), N_("Update"), NULL, NULL);
g_option_group_add_entries(option_group, update_options_table);
g_option_context_add_group(option_context, option_group);
@@ -160,6 +196,15 @@
return EXIT_FAILURE;
}
+ if(add || delete || revert)
+ {
+ if(!g_strv_length(files))
+ {
+ g_fprintf(stderr, "%s: %s\n\tTry --help-all\n", g_get_prgname(), _("Not enough arguments provided"));
+ return EXIT_FAILURE;
+ }
+ }
+
if(add)
{
thread = tsh_add(files, svn_ctx, pool);
@@ -180,6 +225,21 @@
thread = tsh_commit(files, svn_ctx, pool);
}
+ if(delete)
+ {
+ thread = tsh_delete(files, svn_ctx, pool);
+ }
+
+ if(export)
+ {
+ thread = tsh_export(files, svn_ctx, pool);
+ }
+
+ if(revert)
+ {
+ thread = tsh_revert(files, svn_ctx, pool);
+ }
+
if(update)
{
thread = tsh_update(files, svn_ctx, pool);
Deleted: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.c
Deleted: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.h
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout.c 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -36,7 +36,7 @@
#include "tsh-common.h"
#include "tsh-dialog-common.h"
#include "tsh-notify-dialog.h"
-#include "tsh-checkout-dialog.h"
+#include "tsh-transfer-dialog.h"
#include "tsh-checkout.h"
@@ -87,15 +87,15 @@
gchar *repository;
gchar *path;
- dialog = tsh_checkout_dialog_new (NULL, NULL, 0, files?files[0]:NULL);
+ dialog = tsh_transfer_dialog_new (_("Checkout"), NULL, 0, files?files[0]:NULL);
if(gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK)
{
gtk_widget_destroy (dialog);
return NULL;
}
- repository = tsh_checkout_dialog_get_reposetory(TSH_CHECKOUT_DIALOG(dialog));
- path = tsh_checkout_dialog_get_directory(TSH_CHECKOUT_DIALOG(dialog));
+ repository = tsh_transfer_dialog_get_reposetory(TSH_TRANSFER_DIALOG(dialog));
+ path = tsh_transfer_dialog_get_directory(TSH_TRANSFER_DIALOG(dialog));
gtk_widget_destroy (dialog);
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-commit.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-commit.c 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-commit.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -97,67 +97,6 @@
return GINT_TO_POINTER (TRUE);
}
-static svn_error_t*
-tsh_log_msg_func(const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, void *baton, apr_pool_t *pool)
-{
- int i;
- GtkWidget *dialog = baton;
-
- gdk_threads_enter();
- gtk_widget_show (dialog);
- gdk_threads_leave();
-
- if(commit_items)
- {
- for(i = 0; i < commit_items->nelts; i++)
- {
- const gchar *state = _("Unknown");
- svn_client_commit_item2_t *item = APR_ARRAY_IDX(commit_items, i, svn_client_commit_item2_t*);
- if((item->state_flags & SVN_CLIENT_COMMIT_ITEM_ADD) &&
- (item->state_flags & SVN_CLIENT_COMMIT_ITEM_DELETE))
- state = _("Replaced");
- else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_ADD)
- state = _("Added");
- else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_DELETE)
- state = _("Deleted");
- else if((item->state_flags & SVN_CLIENT_COMMIT_ITEM_TEXT_MODS) ||
- (item->state_flags & SVN_CLIENT_COMMIT_ITEM_PROP_MODS))
- state = _("Modified");
- //else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_PROP_MODS)
- // state = _("Modified");
- else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_IS_COPY)
- state = _("Copied");
- else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN)
- state = _("Unlocked");
- gdk_threads_enter();
- tsh_log_message_dialog_add(TSH_LOG_MESSAGE_DIALOG(dialog), state, item->path);
- gdk_threads_leave();
- }
- gdk_threads_enter();
- if(gtk_dialog_run(GTK_DIALOG(dialog)) != GTK_RESPONSE_OK)
- {
- gdk_threads_leave();
- tsh_cancel();
- //gtk_widget_destroy(dialog);
- gdk_threads_enter();
- gtk_widget_hide (dialog);
- gdk_threads_leave();
- return svn_error_create(SVN_ERR_CANCELLED, NULL, NULL);
- }
- gdk_threads_leave();
- gdk_threads_enter();
- *log_msg = tsh_log_message_dialog_get_message(TSH_LOG_MESSAGE_DIALOG(dialog));
- gdk_threads_leave();
- //gtk_widget_destroy(dialog);
- }
-
- gdk_threads_enter();
- gtk_widget_hide (dialog);
- gdk_threads_leave();
-
- return SVN_NO_ERROR;
-}
-
GThread *tsh_commit (gchar **files, svn_client_ctx_t *ctx, apr_pool_t *pool)
{
GtkWidget *dialog;
@@ -166,7 +105,7 @@
dialog = tsh_notify_dialog_new (_("Commit"), NULL, 0);
tsh_dialog_start (GTK_DIALOG (dialog), TRUE);
- ctx->log_msg_func2 = tsh_log_msg_func;
+ ctx->log_msg_func2 = tsh_log_msg_func2;
ctx->log_msg_baton2 = tsh_log_message_dialog_new (_("Commit Message"), GTK_WINDOW (dialog), GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT);
ctx->notify_func2 = tsh_notify_func2;
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -40,6 +40,7 @@
#include "tsh-file-dialog.h"
#include "tsh-trust-dialog.h"
#include "tsh-notify-dialog.h"
+#include "tsh-log-message-dialog.h"
#include "tsh-common.h"
@@ -534,3 +535,95 @@
gdk_threads_leave();
}
+svn_error_t*
+tsh_log_msg_func2(const char **log_msg, const char **tmp_file, const apr_array_header_t *commit_items, void *baton, apr_pool_t *pool)
+{
+ int i;
+ GtkWidget *dialog = baton;
+
+ gdk_threads_enter();
+ gtk_widget_show (dialog);
+ gdk_threads_leave();
+
+ if(commit_items)
+ {
+ for(i = 0; i < commit_items->nelts; i++)
+ {
+ const gchar *state = _("Unknown");
+ svn_client_commit_item2_t *item = APR_ARRAY_IDX(commit_items, i, svn_client_commit_item2_t*);
+ if((item->state_flags & SVN_CLIENT_COMMIT_ITEM_ADD) &&
+ (item->state_flags & SVN_CLIENT_COMMIT_ITEM_DELETE))
+ state = _("Replaced");
+ else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_ADD)
+ state = _("Added");
+ else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_DELETE)
+ state = _("Deleted");
+ else if((item->state_flags & SVN_CLIENT_COMMIT_ITEM_TEXT_MODS) ||
+ (item->state_flags & SVN_CLIENT_COMMIT_ITEM_PROP_MODS))
+ state = _("Modified");
+ //else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_PROP_MODS)
+ // state = _("Modified");
+ else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_IS_COPY)
+ state = _("Copied");
+ else if(item->state_flags & SVN_CLIENT_COMMIT_ITEM_LOCK_TOKEN)
+ state = _("Unlocked");
+ gdk_threads_enter();
+ tsh_log_message_dialog_add(TSH_LOG_MESSAGE_DIALOG(dialog), state, item->path);
+ gdk_threads_leave();
+ }
+ gdk_threads_enter();
+ if(gtk_dialog_run(GTK_DIALOG(dialog)) != GTK_RESPONSE_OK)
+ {
+ gdk_threads_leave();
+ tsh_cancel();
+ gdk_threads_enter();
+ gtk_widget_hide (dialog);
+ gdk_threads_leave();
+ return svn_error_create(SVN_ERR_CANCELLED, NULL, NULL);
+ }
+ gdk_threads_leave();
+ gdk_threads_enter();
+ *log_msg = tsh_log_message_dialog_get_message(TSH_LOG_MESSAGE_DIALOG(dialog));
+ gdk_threads_leave();
+ }
+
+ gdk_threads_enter();
+ gtk_widget_hide (dialog);
+ gdk_threads_leave();
+
+ return SVN_NO_ERROR;
+}
+
+gchar *
+tsh_is_working_copy (const gchar *uri, apr_pool_t *pool)
+{
+ svn_error_t *err;
+ int wc_format;
+
+ /* strip the "file://" part of the uri */
+ if (strncmp (uri, "file://", 7) == 0)
+ {
+ uri += 7;
+ }
+
+ gchar *path = g_strdup (uri);
+
+ /* remove trailing '/' cause svn_wc_check_wc can't handle that */
+ if (path[strlen (path) - 1] == '/')
+ {
+ path[strlen (path) - 1] = '\0';
+ }
+
+ /* check for the path is a working copy */
+ err = svn_wc_check_wc (path, &wc_format, pool);
+
+ /* if an error occured or wc_format in not set it is no working copy */
+ if(err || !wc_format)
+ {
+ g_free (path);
+ return NULL;
+ }
+
+ return path;
+}
+
Modified: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.h 2007-12-27 17:53:40 UTC (rev 3755)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-common.h 2007-12-28 00:08:48 UTC (rev 3756)
@@ -25,8 +25,11 @@
gboolean tsh_create_context (svn_client_ctx_t**, apr_pool_t*, svn_error_t**);
-void tsh_notify_func2(void *, const svn_wc_notify_t *, apr_pool_t *);
+void tsh_notify_func2 (void *, const svn_wc_notify_t *, apr_pool_t *);
+svn_error_t *tsh_log_msg_func2 (const char **, const char **, const apr_array_header_t *, void *, apr_pool_t *);
+gchar *tsh_is_working_copy (const gchar *, apr_pool_t *);
+
G_END_DECLS
#endif /*__TSH_COMMON_H__*/
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.c (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -0,0 +1,122 @@
+/*-
+ * 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-log-message-dialog.h"
+
+#include "tsh-delete.h"
+
+struct thread_args {
+ svn_client_ctx_t *ctx;
+ apr_pool_t *pool;
+ TshNotifyDialog *dialog;
+ gchar **files;
+};
+
+static gpointer delete_thread (gpointer user_data)
+{
+ struct thread_args *args = user_data;
+ svn_error_t *err;
+ svn_commit_info_t *commit_info;
+ apr_array_header_t *paths;
+ svn_client_ctx_t *ctx = args->ctx;
+ apr_pool_t *pool = args->pool;
+ TshNotifyDialog *dialog = args->dialog;
+ gchar **files = args->files;
+ gint size, i;
+
+ g_free (args);
+
+ size = files?g_strv_length(files):0;
+
+ if(size)
+ {
+ paths = apr_array_make (pool, size, sizeof (const char *));
+
+ for (i = 0; i < size; i++)
+ {
+ APR_ARRAY_PUSH (paths, const char *) = files[i];
+ }
+ }
+ else
+ {
+ paths = apr_array_make (pool, 1, sizeof (const char *));
+
+ APR_ARRAY_PUSH (paths, const char *) = ""; // current directory
+ }
+
+ if ((err = svn_client_delete2(&commit_info, paths, 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_delete (gchar **files, svn_client_ctx_t *ctx, apr_pool_t *pool)
+{
+ GtkWidget *dialog;
+ struct thread_args *args;
+
+ dialog = tsh_notify_dialog_new (_("Delete"), 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 (_("Delete 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->files = files;
+
+ return g_thread_create (delete_thread, args, TRUE, NULL);
+}
+
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.h (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-delete.h 2007-12-28 00:08:48 UTC (rev 3756)
@@ -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_DELETE_H__
+#define __TSH_DELETE_H__
+
+G_BEGIN_DECLS
+
+GThread *tsh_delete (gchar**, svn_client_ctx_t*, apr_pool_t*);
+
+G_END_DECLS
+
+#endif /*__TSH_DELETE_H__*/
+
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -0,0 +1,124 @@
+/*-
+ * 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-export.h"
+
+struct thread_args {
+ svn_client_ctx_t *ctx;
+ apr_pool_t *pool;
+ TshNotifyDialog *dialog;
+ gchar *path;
+ gchar *url;
+};
+
+static gpointer export_thread (gpointer user_data)
+{
+ struct thread_args *args = user_data;
+ svn_opt_revision_t peg_revision, revision;
+ svn_error_t *err;
+ 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);
+
+ peg_revision.kind = svn_opt_revision_unspecified;
+ revision.kind = svn_opt_revision_head;
+ if ((err = svn_client_export3(NULL, url, path, &peg_revision, &revision, TRUE, FALSE, TRUE, NULL, 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_export (gchar **files, svn_client_ctx_t *ctx, apr_pool_t *pool)
+{
+ GtkWidget *dialog;
+ struct thread_args *args;
+ gchar *repository;
+ gchar *path;
+
+ dialog = tsh_transfer_dialog_new (_("Export"), NULL, 0, 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 (_("Export"), NULL, 0);
+ tsh_dialog_start (GTK_DIALOG (dialog), TRUE);
+
+ 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 (export_thread, args, TRUE, NULL);
+}
+
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.h (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-export.h 2007-12-28 00:08:48 UTC (rev 3756)
@@ -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_EXPORT_H__
+#define __TSH_EXPORT_H__
+
+G_BEGIN_DECLS
+
+GThread *tsh_export (gchar**, svn_client_ctx_t*, apr_pool_t*);
+
+G_END_DECLS
+
+#endif /*__TSH_EXPORT_H__*/
+
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.c
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.c (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -0,0 +1,117 @@
+/*-
+ * 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-revert.h"
+
+struct thread_args {
+ svn_client_ctx_t *ctx;
+ apr_pool_t *pool;
+ TshNotifyDialog *dialog;
+ gchar **files;
+};
+
+static gpointer revert_thread (gpointer user_data)
+{
+ struct thread_args *args = user_data;
+ svn_error_t *err;
+ apr_array_header_t *paths;
+ svn_client_ctx_t *ctx = args->ctx;
+ apr_pool_t *pool = args->pool;
+ TshNotifyDialog *dialog = args->dialog;
+ gchar **files = args->files;
+ gint size, i;
+
+ g_free (args);
+
+ size = files?g_strv_length(files):0;
+
+ if(size)
+ {
+ paths = apr_array_make (pool, size, sizeof (const char *));
+
+ for (i = 0; i < size; i++)
+ {
+ APR_ARRAY_PUSH (paths, const char *) = files[i];
+ }
+ }
+ else
+ {
+ paths = apr_array_make (pool, 1, sizeof (const char *));
+
+ APR_ARRAY_PUSH (paths, const char *) = ""; // current directory
+ }
+
+ if ((err = svn_client_revert(paths, TRUE, 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_revert (gchar **files, svn_client_ctx_t *ctx, apr_pool_t *pool)
+{
+ GtkWidget *dialog;
+ struct thread_args *args;
+
+ dialog = tsh_notify_dialog_new (_("Revert"), NULL, 0);
+ tsh_dialog_start (GTK_DIALOG (dialog), TRUE);
+
+ 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->files = files;
+
+ return g_thread_create (revert_thread, args, TRUE, NULL);
+}
+
Added: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.h
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.h (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-revert.h 2007-12-28 00:08:48 UTC (rev 3756)
@@ -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_REVERT_H__
+#define __TSH_REVERT_H__
+
+G_BEGIN_DECLS
+
+GThread *tsh_revert (gchar**, svn_client_ctx_t*, apr_pool_t*);
+
+G_END_DECLS
+
+#endif /*__TSH_REVERT_H__*/
+
Copied: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c (from rev 3755, thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.c)
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.c 2007-12-28 00:08:48 UTC (rev 3756)
@@ -0,0 +1,161 @@
+/*-
+ * Copyright (c) 2006 Peter de Ridder <peter at xfce.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; 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
+
+#include <thunar-vfs/thunar-vfs.h>
+#include <gtk/gtk.h>
+
+//#include "tsh-file-chooser-entry.h"
+#include "gtkfilechooserentry.h"
+//#include <gtk/gtkfilechooserentry.h>
+
+#include "tsh-transfer-dialog.h"
+
+struct _TshTransferDialog
+{
+ GtkDialog dialog;
+
+ GtkWidget *repository;
+ GtkWidget *path;
+};
+
+struct _TshTransferDialogClass
+{
+ GtkDialogClass dialog_class;
+};
+
+G_DEFINE_TYPE (TshTransferDialog, tsh_transfer_dialog, GTK_TYPE_DIALOG)
+
+static void
+tsh_transfer_dialog_class_init (TshTransferDialogClass *klass)
+{
+}
+
+static void
+tsh_transfer_dialog_init (TshTransferDialog *dialog)
+{
+ GtkWidget *table;
+ GtkWidget *label;
+
+ table = gtk_table_new (2, 2, FALSE);
+
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), table, FALSE, TRUE, 0);
+ gtk_widget_show (table);
+
+ label = gtk_label_new_with_mnemonic (_("_Repository:"));
+ gtk_table_attach (GTK_TABLE (table), label,
+ 0, 1, 0, 1,
+ GTK_SHRINK | GTK_FILL,
+ GTK_SHRINK | GTK_FILL,
+ 0, 0);
+
+ dialog->repository = gtk_file_chooser_entry_new(_("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);//tsh_file_chooser_entry_new ();
+ //dialog->repository = _gtk_file_chooser_entry_new(FALSE);
+ gtk_table_attach (GTK_TABLE (table), dialog->repository,
+ 1, 2, 0, 1,
+ GTK_EXPAND | GTK_FILL,
+ GTK_SHRINK | GTK_FILL,
+ 0, 0);
+
+ gtk_label_set_mnemonic_widget (GTK_LABEL (label), dialog->repository);
+ gtk_widget_show(label);
+ gtk_widget_show(dialog->repository);
+ gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (dialog->repository), FALSE);
+
+ label = gtk_label_new_with_mnemonic (_("_Directory:"));
+ gtk_table_attach (GTK_TABLE (table), label,
+ 0, 1, 1, 2,
+ GTK_SHRINK | GTK_FILL,
+ GTK_SHRINK | GTK_FILL,
+ 0, 0);
+
+ dialog->path = gtk_file_chooser_button_new (_("Select a folder"), GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
+ //dialog->path = gtk_file_chooser_entry_new(_("Select a folder"), GTK_FILE_CHOOSER_ACTION_OPEN);//GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);//tsh_file_chooser_entry_new ();
+ gtk_table_attach (GTK_TABLE (table), dialog->path,
+ 1, 2, 1, 2,
+ GTK_EXPAND | GTK_FILL,
+ GTK_SHRINK | GTK_FILL,
+ 0, 0);
+
+ gtk_label_set_mnemonic_widget (GTK_LABEL (label), dialog->path);
+ gtk_widget_show(label);
+ gtk_widget_show(dialog->path);
+
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Transfer"));
+
+ gtk_dialog_add_buttons (GTK_DIALOG (dialog),
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_OK,
+ NULL);
+ gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog), GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1);
+ gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
+
+ gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
+}
+
+GtkWidget*
+tsh_transfer_dialog_new (const gchar *title, GtkWindow *parent, GtkDialogFlags flags, const gchar *checkout_dir)
+{
+ TshTransferDialog *dialog = g_object_new (TSH_TYPE_TRANSFER_DIALOG, NULL);
+
+ if(title)
+ gtk_window_set_title (GTK_WINDOW(dialog), title);
+
+ if(parent)
+ gtk_window_set_transient_for (GTK_WINDOW(dialog), parent);
+
+ if(flags & GTK_DIALOG_MODAL)
+ gtk_window_set_modal (GTK_WINDOW(dialog), TRUE);
+
+ if(flags & GTK_DIALOG_DESTROY_WITH_PARENT)
+ gtk_window_set_destroy_with_parent (GTK_WINDOW(dialog), TRUE);
+
+ if(flags & GTK_DIALOG_NO_SEPARATOR)
+ gtk_dialog_set_has_separator (GTK_DIALOG(dialog), FALSE);
+
+ if(checkout_dir)
+ {
+ gchar *absolute = NULL;
+ if(!g_path_is_absolute (checkout_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);
+ g_free (currdir);
+ }
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER(dialog->path), absolute?absolute:checkout_dir);
+ g_free (absolute);
+ }
+
+ return GTK_WIDGET(dialog);
+}
+
+gchar* tsh_transfer_dialog_get_reposetory (TshTransferDialog *dialog)
+{
+ return gtk_file_chooser_entry_get_uri(GTK_FILE_CHOOSER_ENTRY(dialog->repository));
+}
+
+gchar* tsh_transfer_dialog_get_directory (TshTransferDialog *dialog)
+{
+ return gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog->path));
+}
+
Copied: thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h (from rev 3755, thunar-svn-plugin/trunk/tsp-svn-helper/tsh-checkout-dialog.h)
===================================================================
--- thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h (rev 0)
+++ thunar-svn-plugin/trunk/tsp-svn-helper/tsh-transfer-dialog.h 2007-12-28 00:08:48 UTC (rev 3756)
@@ -0,0 +1,49 @@
+/*-
+ * Copyright (c) 2006 Peter de Ridder <peter at xfce.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __TSH_TRANSFER_DIALOG_H__
+#define __TSH_TRANSFER_DIALOG_H__
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS;
+
+typedef struct _TshTransferDialogClass TshTransferDialogClass;
+typedef struct _TshTransferDialog TshTransferDialog;
+
+#define TSH_TYPE_TRANSFER_DIALOG (tsh_transfer_dialog_get_type ())
+#define TSH_TRANSFER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TSH_TYPE_TRANSFER_DIALOG, TshTransferDialog))
+#define TSH_TRANSFER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TSH_TYPE_TRANSFER_DIALOG, TshTransferDialogClass))
+#define TSH_IS_TRANSFER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TSH_TYPE_TRANSFER_DIALOG))
+#define TSH_IS_TRANSFER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TSH_TYPE_TRANSFER_DIALOG))
+#define TSH_TRANSFER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TSH_TYPE_TRANSFER_DIALOG, TshTransferDialogClass))
+
+GType tsh_transfer_dialog_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
+
+GtkWidget* tsh_transfer_dialog_new (const gchar *title,
+ GtkWindow *parent,
+ GtkDialogFlags flags,
+ const gchar *checkout_dir) G_GNUC_MALLOC G_GNUC_INTERNAL;
+
+gchar* tsh_transfer_dialog_get_reposetory (TshTransferDialog*);
+gchar* tsh_transfer_dialog_get_directory (TshTransferDialog*);
+
+G_END_DECLS;
+
+#endif /* !__TSH_TRANSFER_DIALOG_H__ */
More information about the Goodies-commits
mailing list