Changeset 50860
- Timestamp:
- 01/22/07 15:29:22 (2 years ago)
- Files:
-
- CPS3/products/CPSDefault/trunk/__init__.py (modified) (1 diff)
- CPS3/products/CPSDefault/trunk/i18n/ca.po (modified) (7 diffs)
- CPS3/products/CPSDefault/trunk/i18n/custom.pot (modified) (2 diffs)
- CPS3/products/CPSDefault/trunk/i18n/de.po (modified) (7 diffs)
- CPS3/products/CPSDefault/trunk/i18n/en.po (modified) (8 diffs)
- CPS3/products/CPSDefault/trunk/i18n/es.po (modified) (5 diffs)
- CPS3/products/CPSDefault/trunk/i18n/eu.po (modified) (6 diffs)
- CPS3/products/CPSDefault/trunk/i18n/fr.po (modified) (12 diffs)
- CPS3/products/CPSDefault/trunk/i18n/it.po (modified) (6 diffs)
- CPS3/products/CPSDefault/trunk/i18n/mg.po (modified) (6 diffs)
- CPS3/products/CPSDefault/trunk/i18n/nl.po (modified) (6 diffs)
- CPS3/products/CPSDefault/trunk/i18n/pt_BR.po (modified) (6 diffs)
- CPS3/products/CPSDefault/trunk/i18n/ro.po (modified) (6 diffs)
- CPS3/products/CPSDefault/trunk/profiles/default/types/Workspace.xml (modified) (1 diff)
- CPS3/products/CPSDefault/trunk/recursivepublish.py (moved) (moved from CPS3/products/CPSDefault/trunk/Extensions/recursivepublish.py) (5 diffs)
- CPS3/products/CPSDefault/trunk/skins/cps_default/folder_recursive_publish_form.pt (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
CPS3/products/CPSDefault/trunk/__init__.py
r49418 r50860 46 46 import Portal 47 47 import Folder 48 import recursivepublish 48 49 import Dummy 49 50 CPS3/products/CPSDefault/trunk/i18n/ca.po
r50093 r50860 3 3 "Project-Id-Version: CPSDefault\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 200 6-11-17 11:18default\n"5 "POT-Creation-Date: 2007-01-22 15:12default\n" 6 6 "PO-Revision-Date: 2006-07-19 18:45+0100\n" 7 7 "Last-Translator: Santi Camps <scamps@earcon.com>\n" … … 438 438 msgstr "Pujar" 439 439 440 #. <button type="submit">OK</button> 440 441 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 441 442 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 442 #: from ../skins/cps_default/folder_rename_form.pt 443 #: from ../skins/cps_default/folder_recursive_publish_form.pt 444 #: ../skins/cps_default/folder_rename_form.pt 443 445 #: ../skins/cps_default/search_form.pt 444 446 msgid "button_ok" … … 544 546 msgid "button_update" 545 547 msgstr "Actualitzar" 548 549 #. <p class="message"> 550 #. Confirm your recursive publication request. 551 #. </p> 552 #: from ../skins/cps_default/folder_recursive_publish_form.pt 553 #, fuzzy 554 msgid "description_confirm_recursive_publish" 555 msgstr "Confirma l''acció?" 546 556 547 557 #. <block /> … … 2406 2416 msgstr "Sessió" 2407 2417 2418 msgid "description_logout_success" 2419 msgstr "Vostè està ara desconnectat" 2420 2408 2421 msgid "workspaces_root_title" 2409 2422 msgstr "Espais de treball" … … 2622 2635 msgstr "Esborrar aquesta traducció" 2623 2636 2637 #, fuzzy 2638 msgid "action_recursive_publish" 2639 msgstr "Retirar de la publicació" 2640 2624 2641 msgid "button_create" 2625 2642 msgstr "Crear" … … 2902 2919 msgid "psm_logged_in" 2903 2920 msgstr "Us heu autentificat correctament" 2921 2922 #, fuzzy 2923 msgid "psm_recursive_publish_done" 2924 msgstr "Retirar de la publicació" 2904 2925 2905 2926 msgid "collector_psm_erase_data_cancel" … … 3149 3170 msgstr "Canvi no permès" 3150 3171 3151 msgid "description_logout_success" 3152 msgstr "Vostè està ara desconnectat" 3153 3154 msgid "description_logout_zmi_warning" 3155 msgstr "Vostè s'ha desconnectat del portal. Pot necessitar " 3156 3157 msgid "link_logout_zmi" 3158 msgstr "desconnectar de la interfície de gestió del Zope (ZMI)" 3159 3160 msgid "help_password_message" 3161 msgstr "Check this box to have your password mailed to you." 3162 3163 msgid "label_password_mailed" 3164 msgstr "Mail Password?" 3172 #~ msgid "description_logout_zmi_warning" 3173 #~ msgstr "Vostè s'ha desconnectat del portal. Pot necessitar " 3174 3175 #~ msgid "link_logout_zmi" 3176 #~ msgstr "desconnectar de la interfície de gestió del Zope (ZMI)" 3177 3178 #~ msgid "help_password_message" 3179 #~ msgstr "Check this box to have your password mailed to you." 3180 3181 #~ msgid "label_password_mailed" 3182 #~ msgstr "Mail Password?" CPS3/products/CPSDefault/trunk/i18n/custom.pot
r50539 r50860 308 308 msgstr "" 309 309 310 msgid "action_recursive_publish" 311 msgstr "" 312 310 313 # Buttons 311 314 ######### … … 621 624 msgstr "" 622 625 626 msgid "psm_recursive_publish_done" 627 msgstr "" 628 623 629 msgid "collector_psm_erase_data_cancel" 624 630 msgstr "" CPS3/products/CPSDefault/trunk/i18n/de.po
r50093 r50860 4 4 "Project-Id-Version: CPSDefault-de CPS-3.3.6\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 200 6-11-17 11:18default\n"6 "POT-Creation-Date: 2007-01-22 15:12default\n" 7 7 "PO-Revision-Date: 2005-10-12 23:43+0200\n" 8 8 "Last-Translator: Georg Hennemann <georg.hennemann@dhl.com>\n" … … 441 441 msgstr "hoch" 442 442 443 #. <button type="submit">OK</button> 443 444 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 444 445 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 445 #: from ../skins/cps_default/folder_rename_form.pt 446 #: from ../skins/cps_default/folder_recursive_publish_form.pt 447 #: ../skins/cps_default/folder_rename_form.pt 446 448 #: ../skins/cps_default/search_form.pt 447 449 msgid "button_ok" … … 547 549 msgid "button_update" 548 550 msgstr "Aktualisieren" 551 552 #. <p class="message"> 553 #. Confirm your recursive publication request. 554 #. </p> 555 #: from ../skins/cps_default/folder_recursive_publish_form.pt 556 #, fuzzy 557 msgid "description_confirm_recursive_publish" 558 msgstr "Sind sie sicher?" 549 559 550 560 #. <block /> … … 2424 2434 msgstr "Session" 2425 2435 2436 msgid "description_logout_success" 2437 msgstr "Sie haben sich ausgeloggt." 2438 2426 2439 # Default roots titles 2427 2440 # ##################### … … 2644 2657 msgstr "Delete this translation" 2645 2658 2659 #, fuzzy 2660 msgid "action_recursive_publish" 2661 msgstr "Zurückziehen" 2662 2646 2663 msgid "button_create" 2647 2664 msgstr "Erstellen" … … 2928 2945 msgid "psm_logged_in" 2929 2946 msgstr "" 2947 2948 #, fuzzy 2949 msgid "psm_recursive_publish_done" 2950 msgstr "Zurückziehen" 2930 2951 2931 2952 msgid "collector_psm_erase_data_cancel" … … 3186 3207 msgstr "" 3187 3208 3188 msgid "description_logout_success" 3189 msgstr "Sie haben sich ausgeloggt." 3190 3191 msgid "description_logout_zmi_warning" 3192 msgstr "" 3193 "Sie sind noch ausserhalb des Portals eingeloggt. Eventuell müssen Sie sich " 3194 "noch vom Zope Management Interface " 3195 3196 msgid "link_logout_zmi" 3197 msgstr " abmelden" 3198 3199 msgid "help_password_message" 3200 msgstr "Klicken sie hier um das Passwort an Ihre Email Adresse zu senden. " 3201 3202 msgid "label_password_mailed" 3203 msgstr "Password senden?" 3209 #~ msgid "description_logout_zmi_warning" 3210 #~ msgstr "" 3211 #~ "Sie sind noch ausserhalb des Portals eingeloggt. Eventuell müssen Sie " 3212 #~ "sich noch vom Zope Management Interface " 3213 3214 #~ msgid "link_logout_zmi" 3215 #~ msgstr " abmelden" 3216 3217 #~ msgid "help_password_message" 3218 #~ msgstr "Klicken sie hier um das Passwort an Ihre Email Adresse zu senden. " 3219 3220 #~ msgid "label_password_mailed" 3221 #~ msgstr "Password senden?" 3204 3222 3205 3223 #~ msgid "label_local_roles_search_by" CPS3/products/CPSDefault/trunk/i18n/en.po
r50539 r50860 10 10 "Project-Id-Version: en\n" 11 11 "Report-Msgid-Bugs-To: \n" 12 "POT-Creation-Date: 200 6-12-08 14:42default\n"12 "POT-Creation-Date: 2007-01-22 15:12default\n" 13 13 "PO-Revision-Date: 2006-02-20 14:36+0200\n" 14 14 "Last-Translator: Dragos Ivan <div@nuxeo.com>\n" … … 81 81 #. </dd> 82 82 #: from ../skins/cps_default/folder_factories.pt 83 #, fuzzy84 83 msgid "Portal type description" 85 84 msgstr "Portal type's description" … … 90 89 #. </a> 91 90 #: from ../skins/cps_default/folder_factories.pt 92 #, fuzzy93 91 msgid "Portal type title" 94 92 msgstr "Portal type's title" … … 442 440 msgstr "Move up" 443 441 442 #. <button type="submit">OK</button> 444 443 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 445 444 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 446 #: from ../skins/cps_default/folder_rename_form.pt 445 #: from ../skins/cps_default/folder_recursive_publish_form.pt 446 #: ../skins/cps_default/folder_rename_form.pt 447 447 #: ../skins/cps_default/search_form.pt 448 448 msgid "button_ok" … … 547 547 msgid "button_update" 548 548 msgstr "Update" 549 550 #. <p class="message"> 551 #. Confirm your recursive publication request. 552 #. </p> 553 #: from ../skins/cps_default/folder_recursive_publish_form.pt 554 msgid "description_confirm_recursive_publish" 555 msgstr "Confirm your recursive publication request." 549 556 550 557 #. <block /> … … 1981 1988 #. </block> 1982 1989 #: from ../skins/cps_default/folder_localrole_assigned.pt 1983 #, fuzzy1984 1990 msgid "legend_local_roles_hide_blocked_roles" 1985 1991 msgstr "Filter on role" … … 2620 2626 msgstr "Delete this translation" 2621 2627 2628 msgid "action_recursive_publish" 2629 msgstr "Publish recursively" 2630 2622 2631 msgid "button_create" 2623 2632 msgstr "Create" … … 2904 2913 msgid "psm_logged_in" 2905 2914 msgstr "You have logged in successfully" 2915 2916 msgid "psm_recursive_publish_done" 2917 msgstr "Publish recursively" 2906 2918 2907 2919 msgid "collector_psm_erase_data_cancel" CPS3/products/CPSDefault/trunk/i18n/es.po
r50539 r50860 3 3 "Project-Id-Version: CPSDefault\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 200 6-12-08 14:42default\n"5 "POT-Creation-Date: 2007-01-22 15:12default\n" 6 6 "PO-Revision-Date: 2006-11-03 17:57+0100\n" 7 7 "Last-Translator: Jesús Martín <jesusmartin@lasalle.es>\n" … … 438 438 msgstr "Subir" 439 439 440 #. <button type="submit">OK</button> 440 441 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 441 442 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 442 #: from ../skins/cps_default/folder_rename_form.pt 443 #: from ../skins/cps_default/folder_recursive_publish_form.pt 444 #: ../skins/cps_default/folder_rename_form.pt 443 445 #: ../skins/cps_default/search_form.pt 444 446 msgid "button_ok" … … 543 545 msgid "button_update" 544 546 msgstr "Actualizar" 547 548 #. <p class="message"> 549 #. Confirm your recursive publication request. 550 #. </p> 551 #: from ../skins/cps_default/folder_recursive_publish_form.pt 552 #, fuzzy 553 msgid "description_confirm_recursive_publish" 554 msgstr "¿Confirma la acción?" 545 555 546 556 #. <block /> … … 2622 2632 msgstr "Borrar esta traducción" 2623 2633 2634 #, fuzzy 2635 msgid "action_recursive_publish" 2636 msgstr "Retirar" 2637 2624 2638 msgid "button_create" 2625 2639 msgstr "Crear" … … 2904 2918 msgid "psm_logged_in" 2905 2919 msgstr "Se ha conectado con éxito" 2920 2921 #, fuzzy 2922 msgid "psm_recursive_publish_done" 2923 msgstr "Retirar" 2906 2924 2907 2925 msgid "collector_psm_erase_data_cancel" CPS3/products/CPSDefault/trunk/i18n/eu.po
r50539 r50860 3 3 "Project-Id-Version: CPSDefault\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 200 6-12-08 14:42default\n"5 "POT-Creation-Date: 2007-01-22 15:12default\n" 6 6 "PO-Revision-Date: 2006-11-16 15:38+0100\n" 7 7 "Last-Translator: Jesus Martin <jesusmartin@lasalle.es>\n" … … 438 438 msgstr "Gora eraman" 439 439 440 #. <button type="submit">OK</button> 440 441 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 441 442 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 442 #: from ../skins/cps_default/folder_rename_form.pt 443 #: from ../skins/cps_default/folder_recursive_publish_form.pt 444 #: ../skins/cps_default/folder_rename_form.pt 443 445 #: ../skins/cps_default/search_form.pt 444 446 msgid "button_ok" … … 543 545 msgid "button_update" 544 546 msgstr "Gaurkotu" 547 548 #. <p class="message"> 549 #. Confirm your recursive publication request. 550 #. </p> 551 #: from ../skins/cps_default/folder_recursive_publish_form.pt 552 #, fuzzy 553 msgid "description_confirm_recursive_publish" 554 msgstr "Ekintza baieztatzen duzu?" 545 555 546 556 #. <block /> … … 2624 2634 msgstr "Itzulpen hau ezabatu" 2625 2635 2636 #, fuzzy 2637 msgid "action_recursive_publish" 2638 msgstr "Erretiratu" 2639 2626 2640 msgid "button_create" 2627 2641 msgstr "Sortu" … … 2907 2921 msgid "psm_logged_in" 2908 2922 msgstr "Arrakastaz konektatu da" 2923 2924 #, fuzzy 2925 msgid "psm_recursive_publish_done" 2926 msgstr "Erretiratu" 2909 2927 2910 2928 msgid "collector_psm_erase_data_cancel" … … 3155 3173 msgstr "Aldaketa hau ez dago baimenduta" 3156 3174 3157 msgid "description_logout_zmi_warning"3158 msgstr "Ataritik deskonektaturik zaude. Laguntzaren beharrean zaude"3159 3160 msgid "link_logout_zmi"3161 msgstr "Zope (ZMI) kudeaketa-interfazetik deskonektatu behar zara ere bai"3162 3163 msgid "help_password_message"3164 msgstr "Laukitxo markatu e-maila jasotzeko zure pasahitzarekin."3165 3166 msgid "label_password_mailed"3167 msgstr "Pasahitza bidali?"3175 #~ msgid "description_logout_zmi_warning" 3176 #~ msgstr "Ataritik deskonektaturik zaude. Laguntzaren beharrean zaude" 3177 3178 #~ msgid "link_logout_zmi" 3179 #~ msgstr "Zope (ZMI) kudeaketa-interfazetik deskonektatu behar zara ere bai" 3180 3181 #~ msgid "help_password_message" 3182 #~ msgstr "Laukitxo markatu e-maila jasotzeko zure pasahitzarekin." 3183 3184 #~ msgid "label_password_mailed" 3185 #~ msgstr "Pasahitza bidali?" 3168 3186 3169 3187 #~ msgid "label_user_name_or_email_address" CPS3/products/CPSDefault/trunk/i18n/fr.po
r50650 r50860 5 5 "Project-Id-Version: fr\n" 6 6 "Report-Msgid-Bugs-To: \n" 7 "POT-Creation-Date: 200 6-12-08 14:42default\n"7 "POT-Creation-Date: 2007-01-22 15:12default\n" 8 8 "PO-Revision-Date: 2006-02-20 14:44+0200\n" 9 9 "Last-Translator: Dragos Ivan <div@nuxeo.com>\n" … … 56 56 #. <a href="." content="python:test(isAnonymous, 'Login', 'Log out')" attributes="href python:test(isAnonymous, 'login_form', 'logout');">Log in/out</a> 57 57 #: from ../skins/cps_default/portlet_start_cps.pt 58 #, fuzzy59 58 msgid "Log in/out" 60 msgstr " Déconnexion"59 msgstr "Connexion/Déconnexion" 61 60 62 61 #. <span> … … 78 77 #. </dd> 79 78 #: from ../skins/cps_default/folder_factories.pt 80 #, fuzzy81 79 msgid "Portal type description" 82 80 msgstr "Description du type de document" … … 87 85 #. </a> 88 86 #: from ../skins/cps_default/folder_factories.pt 89 #, fuzzy90 87 msgid "Portal type title" 91 88 msgstr "Titre du type de document" … … 441 438 msgstr "Déplacer au dessus" 442 439 440 #. <button type="submit">OK</button> 443 441 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 444 442 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 445 #: from ../skins/cps_default/folder_rename_form.pt 443 #: from ../skins/cps_default/folder_recursive_publish_form.pt 444 #: ../skins/cps_default/folder_rename_form.pt 446 445 #: ../skins/cps_default/search_form.pt 447 446 msgid "button_ok" … … 546 545 msgid "button_update" 547 546 msgstr "Mettre à jour" 547 548 #. <p class="message"> 549 #. Confirm your recursive publication request. 550 #. </p> 551 #: from ../skins/cps_default/folder_recursive_publish_form.pt 552 msgid "description_confirm_recursive_publish" 553 msgstr "Confirmez votre demande de publication récursive." 548 554 549 555 #. <block /> … … 2166 2172 #. <a href="http://cps-project.org/sections/documentation">Documentation</a> 2167 2173 #: from ../skins/cps_default/portlet_learn_cps.pt 2168 #, fuzzy2169 2174 msgid "link_documentation" 2170 2175 msgstr "Documentation" … … 2184 2189 #. <a href="http://lists.nuxeo.com/mailman/listinfo/">Mailing-lists</a> 2185 2190 #: from ../skins/cps_default/portlet_learn_cps.pt 2186 #, fuzzy2187 2191 msgid "link_mailing_lists" 2188 2192 msgstr "Mailing-lists" … … 2190 2194 #. <a href="http://www.nuxeo.com/clients/">References</a> 2191 2195 #: from ../skins/cps_default/portlet_about_cps.pt 2192 #, fuzzy2193 2196 msgid "link_references" 2194 msgstr "R eferences"2197 msgstr "Références" 2195 2198 2196 2199 #. <span> … … 2215 2218 #. <a href="http://www.nuxeo.com/solutions/">Solutions</a> 2216 2219 #: from ../skins/cps_default/portlet_about_cps.pt 2217 #, fuzzy2218 2220 msgid "link_solutions" 2219 2221 msgstr "Solutions" … … 2651 2653 msgstr "Supprimer la traduction" 2652 2654 2655 msgid "action_recursive_publish" 2656 msgstr "Publier récursivement" 2657 2653 2658 msgid "button_create" 2654 2659 msgstr "Créer" … … 2937 2942 msgid "psm_logged_in" 2938 2943 msgstr "Vous vous êtes connecté avec succès" 2944 2945 msgid "psm_recursive_publish_done" 2946 msgstr "Publication récursive terminée avec succès" 2939 2947 2940 2948 msgid "collector_psm_erase_data_cancel" CPS3/products/CPSDefault/trunk/i18n/it.po
r50539 r50860 3 3 "Project-Id-Version: CPSDefault Italian Translation\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 200 6-12-08 14:42default\n"5 "POT-Creation-Date: 2007-01-22 15:12default\n" 6 6 "PO-Revision-Date: 2005-11-10 09:08+0100\n" 7 7 "Last-Translator: Stefano Schintu <schintu@gmail.com>\n" … … 443 443 msgstr "Sposta in alto" 444 444 445 #. <button type="submit">OK</button> 445 446 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 446 447 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 447 #: from ../skins/cps_default/folder_rename_form.pt 448 #: from ../skins/cps_default/folder_recursive_publish_form.pt 449 #: ../skins/cps_default/folder_rename_form.pt 448 450 #: ../skins/cps_default/search_form.pt 449 451 msgid "button_ok" … … 550 552 msgid "button_update" 551 553 msgstr "Aggiorna" 554 555 # ## description_confirm ==================================== 556 #. <p class="message"> 557 #. Confirm your recursive publication request. 558 #. </p> 559 #: from ../skins/cps_default/folder_recursive_publish_form.pt 560 #, fuzzy 561 msgid "description_confirm_recursive_publish" 562 msgstr "Stai eliminando questo(i) oggetto(i). Sei sicuro?" 552 563 553 564 #. <block /> … … 2693 2704 msgstr "Supprimer la traduction" 2694 2705 2706 #, fuzzy 2707 msgid "action_recursive_publish" 2708 msgstr "Ritira dalla pubblicazione" 2709 2695 2710 msgid "button_create" 2696 2711 msgstr "Crea" … … 2992 3007 msgid "psm_logged_in" 2993 3008 msgstr "" 3009 3010 #, fuzzy 3011 msgid "psm_recursive_publish_done" 3012 msgstr "Ritira dalla pubblicazione" 2994 3013 2995 3014 msgid "collector_psm_erase_data_cancel" … … 3256 3275 msgstr "" 3257 3276 3258 msgid "description_logout_zmi_warning"3259 msgstr "Sei collegato esternamente al portale. Forse dovresti"3260 3261 msgid "link_logout_zmi"3262 msgstr "uscire dall'interfaccia di gestione di Zope (ZMI)"3263 3264 msgid "help_password_message"3265 msgstr "Seleziona questa casella per ricevere la password via e-mail."3266 3267 msgid "label_password_mailed"3268 msgstr "Invia password via e-mail?"3277 #~ msgid "description_logout_zmi_warning" 3278 #~ msgstr "Sei collegato esternamente al portale. Forse dovresti" 3279 3280 #~ msgid "link_logout_zmi" 3281 #~ msgstr "uscire dall'interfaccia di gestione di Zope (ZMI)" 3282 3283 #~ msgid "help_password_message" 3284 #~ msgstr "Seleziona questa casella per ricevere la password via e-mail." 3285 3286 #~ msgid "label_password_mailed" 3287 #~ msgstr "Invia password via e-mail?" 3269 3288 3270 3289 #~ msgid "label_local_roles_search_by" CPS3/products/CPSDefault/trunk/i18n/mg.po
r50539 r50860 5 5 "Project-Id-Version: mg\n" 6 6 "Report-Msgid-Bugs-To: \n" 7 "POT-Creation-Date: 200 6-12-08 14:42default\n"7 "POT-Creation-Date: 2007-01-22 15:12default\n" 8 8 "PO-Revision-Date: 2004-11-25 14:28+0300\n" 9 9 "Last-Translator: \n" … … 440 440 msgstr "Mifindra ho eny ambony" 441 441 442 #. <button type="submit">OK</button> 442 443 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 443 444 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 444 #: from ../skins/cps_default/folder_rename_form.pt 445 #: from ../skins/cps_default/folder_recursive_publish_form.pt 446 #: ../skins/cps_default/folder_rename_form.pt 445 447 #: ../skins/cps_default/search_form.pt 446 448 msgid "button_ok" … … 550 552 msgid "button_update" 551 553 msgstr "Alefaso" 554 555 #. <p class="message"> 556 #. Confirm your recursive publication request. 557 #. </p> 558 #: from ../skins/cps_default/folder_recursive_publish_form.pt 559 #, fuzzy 560 msgid "description_confirm_recursive_publish" 561 msgstr "Tena tapa-kevitra ve ianao ?" 552 562 553 563 #. <block /> … … 2734 2744 msgstr "Supprimer la traduction" 2735 2745 2746 #, fuzzy 2747 msgid "action_recursive_publish" 2748 msgstr "tsy aely" 2749 2736 2750 msgid "button_create" 2737 2751 msgstr "Foronina" … … 3036 3050 msgid "psm_logged_in" 3037 3051 msgstr "" 3052 3053 #, fuzzy 3054 msgid "psm_recursive_publish_done" 3055 msgstr "tsy aely" 3038 3056 3039 3057 msgid "collector_psm_erase_data_cancel" … … 3301 3319 msgstr "" 3302 3320 3303 msgid "description_logout_zmi_warning"3304 msgstr "Tafiditra aty ivelan'ny tranonkala ianao. Afaka "3305 3306 msgid "link_logout_zmi"3307 msgstr "mivoaka ny faritra fitantanana ny Zope (ZMI) ianao"3308 3309 msgid "help_password_message"3310 msgstr ""3311 "Asio marika io faritra kely io mba handraisanao ny mailaka misy ny "3312 "môdepasinao"3313 3314 msgid "label_password_mailed"3315 msgstr "Alefa ny môdepasy ?"3321 #~ msgid "description_logout_zmi_warning" 3322 #~ msgstr "Tafiditra aty ivelan'ny tranonkala ianao. Afaka " 3323 3324 #~ msgid "link_logout_zmi" 3325 #~ msgstr "mivoaka ny faritra fitantanana ny Zope (ZMI) ianao" 3326 3327 #~ msgid "help_password_message" 3328 #~ msgstr "" 3329 #~ "Asio marika io faritra kely io mba handraisanao ny mailaka misy ny " 3330 #~ "môdepasinao" 3331 3332 #~ msgid "label_password_mailed" 3333 #~ msgstr "Alefa ny môdepasy ?" 3316 3334 3317 3335 #~ msgid "label_local_roles_search_by" CPS3/products/CPSDefault/trunk/i18n/nl.po
r50539 r50860 7 7 "Project-Id-Version: CPSDefault-nl\n" 8 8 "Report-Msgid-Bugs-To: \n" 9 "POT-Creation-Date: 200 6-12-08 14:42default\n"9 "POT-Creation-Date: 2007-01-22 15:12default\n" 10 10 "PO-Revision-Date: 2004-05-21 18:33+0200\n" 11 11 "Last-Translator: DARCHE <madarche@nuxeo.com>\n" … … 460 460 msgstr "Hoger plaatsen" 461 461 462 #. <button type="submit">OK</button> 462 463 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 463 464 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 464 #: from ../skins/cps_default/folder_rename_form.pt 465 #: from ../skins/cps_default/folder_recursive_publish_form.pt 466 #: ../skins/cps_default/folder_rename_form.pt 465 467 #: ../skins/cps_default/search_form.pt 466 468 msgid "button_ok" … … 571 573 msgid "button_update" 572 574 msgstr "Up-to-date maken" 575 576 #. <p class="message"> 577 #. Confirm your recursive publication request. 578 #. </p> 579 #: from ../skins/cps_default/folder_recursive_publish_form.pt 580 #, fuzzy 581 msgid "description_confirm_recursive_publish" 582 msgstr "Verwijdering bevestigen" 573 583 574 584 #. <block /> … … 2752 2762 2753 2763 #, fuzzy 2764 msgid "action_recursive_publish" 2765 msgstr "Depubliceren" 2766 2767 #, fuzzy 2754 2768 msgid "button_create" 2755 2769 msgstr "Create" … … 3057 3071 msgid "psm_logged_in" 3058 3072 msgstr "" 3073 3074 #, fuzzy 3075 msgid "psm_recursive_publish_done" 3076 msgstr "Depubliceren" 3059 3077 3060 3078 msgid "collector_psm_erase_data_cancel" … … 3323 3341 msgstr "" 3324 3342 3325 msgid "description_logout_zmi_warning" 3326 msgstr "" 3327 "U wordt geregistreerd van buiten het portaal. U wordt misschien genoodzaakt " 3328 3329 msgid "link_logout_zmi" 3330 msgstr "Uit de Zope management interface uitloggen (ZMI)" 3331 3332 msgid "help_password_message" 3333 msgstr "Dit vakje aankruisen om een email met uw wachtwoord te ontvangen." 3334 3335 msgid "label_password_mailed" 3336 msgstr "Wachtwoord verzenden ?" 3343 #~ msgid "description_logout_zmi_warning" 3344 #~ msgstr "" 3345 #~ "U wordt geregistreerd van buiten het portaal. U wordt misschien " 3346 #~ "genoodzaakt " 3347 3348 #~ msgid "link_logout_zmi" 3349 #~ msgstr "Uit de Zope management interface uitloggen (ZMI)" 3350 3351 #~ msgid "help_password_message" 3352 #~ msgstr "Dit vakje aankruisen om een email met uw wachtwoord te ontvangen." 3353 3354 #~ msgid "label_password_mailed" 3355 #~ msgstr "Wachtwoord verzenden ?" 3337 3356 3338 3357 #~ msgid "label_local_roles_search_by" CPS3/products/CPSDefault/trunk/i18n/pt_BR.po
r50539 r50860 3 3 "Project-Id-Version: pt-BR\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 200 6-12-08 14:42default\n"5 "POT-Creation-Date: 2007-01-22 15:12default\n" 6 6 "PO-Revision-Date: 2006-04-03 15:04-0300\n" 7 7 "Last-Translator: Mario Olimpio de Menezes <mario@ipen.br>\n" … … 421 421 msgstr "Mover para Cima" 422 422 423 #. <button type="submit">OK</button> 423 424 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 424 425 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 425 #: from ../skins/cps_default/folder_rename_form.pt 426 #: from ../skins/cps_default/folder_recursive_publish_form.pt 427 #: ../skins/cps_default/folder_rename_form.pt 426 428 #: ../skins/cps_default/search_form.pt 427 429 msgid "button_ok" … … 528 530 msgid "button_update" 529 531 msgstr "Atualizar" 532 533 # ## description_confirm ==================================== 534 #. <p class="message"> 535 #. Confirm your recursive publication request. 536 #. </p> 537 #: from ../skins/cps_default/folder_recursive_publish_form.pt 538 #, fuzzy 539 msgid "description_confirm_recursive_publish" 540 msgstr "Tem certeza?" 530 541 531 542 #. <block /> … … 2579 2590 msgstr "Remover esta tradução" 2580 2591 2592 #, fuzzy 2593 msgid "action_recursive_publish" 2594 msgstr "Despublicar" 2595 2581 2596 msgid "button_create" 2582 2597 msgstr "Criar" … … 2860 2875 msgid "psm_logged_in" 2861 2876 msgstr "Logado" 2877 2878 #, fuzzy 2879 msgid "psm_recursive_publish_done" 2880 msgstr "Despublicar" 2862 2881 2863 2882 msgid "collector_psm_erase_data_cancel" … … 3116 3135 msgstr "Ajax não funcionando" 3117 3136 3118 msgid "description_logout_zmi_warning" 3119 msgstr "Você está logado fora do portal. Você pode precisar " 3120 3121 msgid "link_logout_zmi" 3122 msgstr "Logout da Interface de Administração do Zope" 3123 3124 msgid "help_password_message" 3125 msgstr "Selecione esta caixa para ter sua senha enviada por email para você." 3126 3127 msgid "label_password_mailed" 3128 msgstr "Envia senha por email?" 3137 #~ msgid "description_logout_zmi_warning" 3138 #~ msgstr "Você está logado fora do portal. Você pode precisar " 3139 3140 #~ msgid "link_logout_zmi" 3141 #~ msgstr "Logout da Interface de Administração do Zope" 3142 3143 #~ msgid "help_password_message" 3144 #~ msgstr "" 3145 #~ "Selecione esta caixa para ter sua senha enviada por email para você." 3146 3147 #~ msgid "label_password_mailed" 3148 #~ msgstr "Envia senha por email?" 3129 3149 3130 3150 #~ msgid "label_local_roles_search_by" CPS3/products/CPSDefault/trunk/i18n/ro.po
r50539 r50860 6 6 "Project-Id-Version: ro\n" 7 7 "Report-Msgid-Bugs-To: \n" 8 "POT-Creation-Date: 200 6-12-08 14:42default\n"8 "POT-Creation-Date: 2007-01-22 15:12default\n" 9 9 "PO-Revision-Date: 2006-03-02 17:28+0200\n" 10 10 "Last-Translator: Dragos Ivan <div@nuxeo.com>\n" … … 423 423 msgstr "Muta mai sus" 424 424 425 #. <button type="submit">OK</button> 425 426 #. <input onclick="history.back()" type="button" class="standalone" value="button_ok" /> 426 427 #. <input type="submit" class="standalone searchButton" value="button_ok" /> 427 #: from ../skins/cps_default/folder_rename_form.pt 428 #: from ../skins/cps_default/folder_recursive_publish_form.pt 429 #: ../skins/cps_default/folder_rename_form.pt 428 430 #: ../skins/cps_default/search_form.pt 429 431 msgid "button_ok" … … 531 533 msgid "button_update" 532 534 msgstr "Actualizare" 535 536 # Descriptions 537 # ############# 538 #. <p class="message"> 539 #. Confirm your recursive publication request. 540 #. </p> 541 #: from ../skins/cps_default/folder_recursive_publish_form.pt 542 #, fuzzy 543 msgid "description_confirm_recursive_publish" 544 msgstr "Esti sigur?" 533 545 534 546 #. <block /> … … 2617 2629 msgstr "Stergere a traducerii" 2618 2630 2631 #, fuzzy 2632 msgid "action_recursive_publish" 2633 msgstr "Scoate din starea 'publicat'" 2634 2619 2635 msgid "button_create" 2620 2636 msgstr "Creeaza" … … 2907 2923 msgid "psm_logged_in" 2908 2924 msgstr "Te-ai autentificat cu succes" 2925 2926 #, fuzzy 2927 msgid "psm_recursive_publish_done" 2928 msgstr "Scoate din starea 'publicat'" 2909 2929 2910 2930 msgid "collector_psm_erase_data_cancel" … … 3167 3187 msgstr "Aceasta modificare nu este permisa!" 3168 3188 3169 msgid "description_logout_zmi_warning"3170 msgstr "Esti autentificat din afara portalului. S-ar putea sa fie nevoie sa"3171 3172 msgid "link_logout_zmi"3173 msgstr "deconecteaza-te din interfata de gestiune a Zope (ZMI)"3174 3175 msgid "help_password_message"3176 msgstr "Selecteaza aceasta casuta pentru a primi un email cu parola ta."3177 3178 msgid "label_password_mailed"3179 msgstr "Trimite parola ?"3189 #~ msgid "description_logout_zmi_warning" 3190 #~ msgstr "Esti autentificat din afara portalului. S-ar putea sa fie nevoie sa" 3191 3192 #~ msgid "link_logout_zmi" 3193 #~ msgstr "deconecteaza-te din interfata de gestiune a Zope (ZMI)" 3194 3195 #~ msgid "help_password_message" 3196 #~ msgstr "Selecteaza aceasta casuta pentru a primi un email cu parola ta." 3197 3198 #~ msgid "label_password_mailed" 3199 #~ msgstr "Trimite parola ?" CPS3/products/CPSDefault/trunk/profiles/default/types/Workspace.xml
r49558 r50860 71 71 <permission value="Change permissions"/> 72 72 </action> 73 <action title="action_recursive_publish" action_id="recursive_publish" category="object" 74 condition_expr="" url_expr="string:${object_url}/folder_recursive_publish_form" 75 visible="True"> 76 <permission value="Manage portal"/> 77 </action> 73 78 </object> CPS3/products/CPSDefault/trunk/recursivepublish.py
r50859 r50860 24 24 25 25 from zLOG import LOG, DEBUG 26 from AccessControl import ModuleSecurityInfo 26 27 28 from Products.CMFCore.permissions import ManagePortal 27 29 from Products.CMFCore.utils import getToolByName 28 30 … … 35 37 'btreefolder', 'btreefolderishdocument'] 36 38 37 def recursivePublish(self, workspace=None, workspace_rpath=None, REQUEST=None): 39 # XXX : Why couldn't this be protected like this ? 40 # If so, this gives the following error : 41 # import of "recursivePublish" from "Products.CPSDefault.recursivepublish" is unauthorized. You are not allowed to access 'recursivePublish' in this context 42 #security = ModuleSecurityInfo('Products.CPSDefault.recursivepublish') 43 #security.declareProtected(ManagePortal, 'recursivePublish') 44 ModuleSecurityInfo('Products.CPSDefault.recursivepublish').declarePublic('recursivePublish') 45 def recursivePublish(workspace, context): 38 46 """Recursively publish all the content below the given workspace container. 39 40 Example :41 http://mysite.net/workspaces/recursivePublish?rpath=workspaces/folder142 47 """ 43 48 log_key = LOG_KEY + '.recursivePublish' 44 49 LOG(log_key, DEBUG, "...") 45 46 ttool = getToolByName(self, 'portal_types') 47 wtool = getToolByName(self, 'portal_workflow') 48 utool = getToolByName(self, 'portal_url') 50 ttool = getToolByName(context, 'portal_types') 51 wtool = getToolByName(context, 'portal_workflow') 52 utool = getToolByName(context, 'portal_url') 49 53 portal = utool.getPortalObject() 50 if REQUEST is not None: 51 workspace_rpath = REQUEST.form.get('rpath') 52 if workspace is not None: 53 workspace_rpath = utool.getRpath(workspace) 54 else: 55 workspace = portal.restrictedTraverse(workspace_rpath) 54 workspace_rpath = utool.getRpath(workspace) 56 55 LOG(log_key, DEBUG, "workspace_rpath = %s" % workspace_rpath) 57 56 … … 60 59 LOG(log_key, DEBUG, "independant_rpath = %s" % independant_rpath) 61 60 62 target_section_rpath = os.path.join('sections', independant_rpath) 61 target_section_rpath = 'sections' 62 if independant_rpath: 63 target_section_rpath = os.path.join(target_section_rpath, independant_rpath) 63 64 LOG(log_key, DEBUG, "target_section_rpath = %s" % target_section_rpath) 64 target_section_parent_rpath, section_id = os.path.split(target_section_rpath) 65 section_id = '/'.join(target_section_rpath.split('/')[-1:]) 66 67 target_section_parent_rpath = '/'.join(target_section_rpath.split('/')[:-1]) 65 68 LOG(log_key, DEBUG, "target_section_parent_rpath = %s" 66 69 % target_section_parent_rpath) 67 70 target_section_parent = portal.restrictedTraverse( 68 71 target_section_parent_rpath) 72 LOG(log_key, DEBUG, "target_section_parent = %s" % target_section_parent) 69 73 70 74 # Creating the target section if it doesn't exist yet … … 79 83 target_section = getattr(target_section_parent, section_id) 80 84 target_section_doc = target_section.getEditableContent() 81 workspace_doc = workspace.getContent() 82 target_section_doc.edit(Title=workspace_doc.Title(), 83 Description=workspace_doc.Description(), 84 ) 85 # We don't want to change the title and description of the root section, 86 # which is the case when independant_rpath is empty. 87 if independant_rpath != '': 88 workspace_doc = workspace.getContent() 89 target_section_doc.edit(Title=workspace_doc.Title(), 90 Description=workspace_doc.Description(), 91 ) 85 92 86 93 for item_id, item in workspace.objectItems(): 94 #LOG(log_key, DEBUG, "item_id = %s ..." % item_id) 95 if item_id.startswith('.'): 96 continue 87 97 fti = ttool[item.portal_type] 88 98 if fti.cps_proxy_type in FOLDERISH_PROXY_TYPES: 89 self.recursivePublish(workspace=item)99 recursivePublish(workspace=item, context=context) 90 100 else: 91 101 LOG(log_key, DEBUG, … … 100 110 LOG(log_key, DEBUG, 101 111 "Publishing the document %s in the right section DONE" % item_id) 102 103 return True
