Changeset 630203
- Timestamp:
- 11/26/2012 05:07:40 PM (13 years ago)
- Location:
- wp-filebase
- Files:
-
- 272 added
- 2 deleted
- 26 edited
-
tags/0.2.9.26 (added)
-
tags/0.2.9.26/classes (added)
-
tags/0.2.9.26/classes/Admin.php (added)
-
tags/0.2.9.26/classes/AdminGuiCats.php (added)
-
tags/0.2.9.26/classes/AdminGuiCss.php (added)
-
tags/0.2.9.26/classes/AdminGuiFiles.php (added)
-
tags/0.2.9.26/classes/AdminGuiManage.php (added)
-
tags/0.2.9.26/classes/AdminGuiSettings.php (added)
-
tags/0.2.9.26/classes/AdminGuiSupport.php (added)
-
tags/0.2.9.26/classes/AdminGuiTpls.php (added)
-
tags/0.2.9.26/classes/AdminHowToStart.php (added)
-
tags/0.2.9.26/classes/AdminLite.php (added)
-
tags/0.2.9.26/classes/AdvUploader.php (added)
-
tags/0.2.9.26/classes/Category.php (added)
-
tags/0.2.9.26/classes/Config.php (added)
-
tags/0.2.9.26/classes/Core.php (added)
-
tags/0.2.9.26/classes/Download.php (added)
-
tags/0.2.9.26/classes/File.php (added)
-
tags/0.2.9.26/classes/FileListTable.php (added)
-
tags/0.2.9.26/classes/GetID3.php (added)
-
tags/0.2.9.26/classes/Item.php (added)
-
tags/0.2.9.26/classes/ListTpl.php (added)
-
tags/0.2.9.26/classes/Output.php (added)
-
tags/0.2.9.26/classes/PLUpload.php (added)
-
tags/0.2.9.26/classes/ProgressReporter.php (added)
-
tags/0.2.9.26/classes/SWFUpload.php (added)
-
tags/0.2.9.26/classes/Search.php (added)
-
tags/0.2.9.26/classes/Setup.php (added)
-
tags/0.2.9.26/classes/Sync.php (added)
-
tags/0.2.9.26/classes/TplLib.php (added)
-
tags/0.2.9.26/classes/Widget.php (added)
-
tags/0.2.9.26/editor_plugin.php (added)
-
tags/0.2.9.26/embedded_forms.css (added)
-
tags/0.2.9.26/extras (added)
-
tags/0.2.9.26/extras/ckeditor (added)
-
tags/0.2.9.26/extras/ckeditor/images (added)
-
tags/0.2.9.26/extras/ckeditor/images/btn.gif (added)
-
tags/0.2.9.26/extras/ckeditor/plugin.js (added)
-
tags/0.2.9.26/extras/flvplayer (added)
-
tags/0.2.9.26/extras/flvplayer/OSplayer.swf (added)
-
tags/0.2.9.26/extras/getid3 (added)
-
tags/0.2.9.26/extras/getid3/extension.cache.dbm.php (added)
-
tags/0.2.9.26/extras/getid3/extension.cache.mysql.php (added)
-
tags/0.2.9.26/extras/getid3/getid3.lib.php (added)
-
tags/0.2.9.26/extras/getid3/getid3.php (added)
-
tags/0.2.9.26/extras/getid3/helperapps (added)
-
tags/0.2.9.26/extras/getid3/helperapps/readme.helperapps.txt (added)
-
tags/0.2.9.26/extras/getid3/module.archive.gzip.php (added)
-
tags/0.2.9.26/extras/getid3/module.archive.rar.php (added)
-
tags/0.2.9.26/extras/getid3/module.archive.szip.php (added)
-
tags/0.2.9.26/extras/getid3/module.archive.tar.php (added)
-
tags/0.2.9.26/extras/getid3/module.archive.zip.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.asf.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.bink.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.flv.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.matroska.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.mpeg.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.nsv.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.quicktime.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.real.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.riff.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio-video.swf.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.aa.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.aac.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.ac3.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.au.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.avr.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.bonk.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.dss.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.dts.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.flac.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.la.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.lpac.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.midi.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.mod.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.monkey.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.mp3.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.mpc.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.ogg.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.optimfrog.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.rkau.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.shorten.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.tta.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.voc.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.vqf.php (added)
-
tags/0.2.9.26/extras/getid3/module.audio.wavpack.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.bmp.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.efax.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.gif.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.jpg.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.pcd.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.png.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.svg.php (added)
-
tags/0.2.9.26/extras/getid3/module.graphic.tiff.php (added)
-
tags/0.2.9.26/extras/getid3/module.misc.cue.php (added)
-
tags/0.2.9.26/extras/getid3/module.misc.exe.php (added)
-
tags/0.2.9.26/extras/getid3/module.misc.iso.php (added)
-
tags/0.2.9.26/extras/getid3/module.misc.msoffice.php (added)
-
tags/0.2.9.26/extras/getid3/module.misc.par2.php (added)
-
tags/0.2.9.26/extras/getid3/module.misc.pdf.php (added)
-
tags/0.2.9.26/extras/getid3/module.tag.apetag.php (added)
-
tags/0.2.9.26/extras/getid3/module.tag.id3v1.php (added)
-
tags/0.2.9.26/extras/getid3/module.tag.id3v2.php (added)
-
tags/0.2.9.26/extras/getid3/module.tag.lyrics3.php (added)
-
tags/0.2.9.26/extras/getid3/module.tag.xmp.php (added)
-
tags/0.2.9.26/extras/getid3/write.apetag.php (added)
-
tags/0.2.9.26/extras/getid3/write.id3v1.php (added)
-
tags/0.2.9.26/extras/getid3/write.id3v2.php (added)
-
tags/0.2.9.26/extras/getid3/write.lyrics3.php (added)
-
tags/0.2.9.26/extras/getid3/write.metaflac.php (added)
-
tags/0.2.9.26/extras/getid3/write.php (added)
-
tags/0.2.9.26/extras/getid3/write.real.php (added)
-
tags/0.2.9.26/extras/getid3/write.vorbiscomment.php (added)
-
tags/0.2.9.26/extras/jquery (added)
-
tags/0.2.9.26/extras/jquery/contextmenu (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-gloss-cyan-menu-item-hover.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-gloss-menu-item-hover.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-gloss-semitransparent-menu-item-hover.png (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-human-menu-item-hover.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-osx-menu-item-hover.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-vista-bg.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-vista-menu-item-hover.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/cmenu-xp-bg.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/delete_icon.gif (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/jquery.contextmenu.css (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/jquery.contextmenu.js (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/page_white_delete.png (added)
-
tags/0.2.9.26/extras/jquery/contextmenu/page_white_edit.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables (added)
-
tags/0.2.9.26/extras/jquery/dataTables/css (added)
-
tags/0.2.9.26/extras/jquery/dataTables/css/demo_page.css (added)
-
tags/0.2.9.26/extras/jquery/dataTables/css/demo_table.css (added)
-
tags/0.2.9.26/extras/jquery/dataTables/css/demo_table_jui.css (added)
-
tags/0.2.9.26/extras/jquery/dataTables/css/jquery.dataTables.css (added)
-
tags/0.2.9.26/extras/jquery/dataTables/css/jquery.dataTables_themeroller.css (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/Sorting icons.psd (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/back_disabled.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/back_enabled.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/back_enabled_hover.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/favicon.ico (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/forward_disabled.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/forward_enabled.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/forward_enabled_hover.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/sort_asc.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/sort_asc_disabled.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/sort_both.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/sort_desc.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/images/sort_desc_disabled.png (added)
-
tags/0.2.9.26/extras/jquery/dataTables/js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/js/jquery.dataTables.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/js/jquery.dataTables.min.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/js/jquery.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/DataTables.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/api (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/api/api.internal.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/api/api.methods.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/api/api.static.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.ajax.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.columns.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.constructor.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.data.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.draw.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.filter.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.info.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.init.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.length.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.page.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.processing.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.scrolling.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.sizing.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.sort.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.state.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/core/core.support.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/ext (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/ext/ext.classes.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/ext/ext.paging.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/ext/ext.sorting.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/ext/ext.types.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model/model.column.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model/model.defaults.columns.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model/model.defaults.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model/model.ext.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model/model.row.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model/model.search.js (added)
-
tags/0.2.9.26/extras/jquery/dataTables/src/model/model.settings.js (added)
-
tags/0.2.9.26/extras/jquery/jquery.cookie.js (added)
-
tags/0.2.9.26/extras/jquery/treeview (added)
-
tags/0.2.9.26/extras/jquery/treeview/images (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/ajax-loader.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/file.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/folder-closed.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/folder.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/minus.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/plus.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-black-line.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-black.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-default-line.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-default.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-famfamfam-line.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-famfamfam.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-gray-line.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-gray.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-red-line.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/images/treeview-red.gif (added)
-
tags/0.2.9.26/extras/jquery/treeview/jquery.treeview.async.js (added)
-
tags/0.2.9.26/extras/jquery/treeview/jquery.treeview.css (added)
-
tags/0.2.9.26/extras/jquery/treeview/jquery.treeview.edit.js (added)
-
tags/0.2.9.26/extras/jquery/treeview/jquery.treeview.js (added)
-
tags/0.2.9.26/extras/jquery/treeview/jquery.treeview.sortable.js (added)
-
tags/0.2.9.26/extras/phpthumb.bmp.php (added)
-
tags/0.2.9.26/extras/phpthumb.functions.php (added)
-
tags/0.2.9.26/extras/progressbar.class.php (added)
-
tags/0.2.9.26/images (added)
-
tags/0.2.9.26/images/admin_menu_icon.png (added)
-
tags/0.2.9.26/images/crystal_cat.png (added)
-
tags/0.2.9.26/images/dl_btn.png (added)
-
tags/0.2.9.26/images/dl_btn_hover.png (added)
-
tags/0.2.9.26/images/down.png (added)
-
tags/0.2.9.26/images/folder48.png (added)
-
tags/0.2.9.26/images/wpfb-icon.png (added)
-
tags/0.2.9.26/js (added)
-
tags/0.2.9.26/js/admin.js (added)
-
tags/0.2.9.26/js/common.js (added)
-
tags/0.2.9.26/js/editor-plugin.js (added)
-
tags/0.2.9.26/js/live-admin.js (added)
-
tags/0.2.9.26/languages (added)
-
tags/0.2.9.26/languages/template.po (added)
-
tags/0.2.9.26/languages/wpfb-be_BY.mo (added)
-
tags/0.2.9.26/languages/wpfb-be_BY.po (added)
-
tags/0.2.9.26/languages/wpfb-de_DE.mo (added)
-
tags/0.2.9.26/languages/wpfb-de_DE.po (added)
-
tags/0.2.9.26/languages/wpfb-fa_IR.mo (added)
-
tags/0.2.9.26/languages/wpfb-fa_IR.po (added)
-
tags/0.2.9.26/languages/wpfb-fr_FR.mo (added)
-
tags/0.2.9.26/languages/wpfb-fr_FR.po (added)
-
tags/0.2.9.26/languages/wpfb-it_IT.mo (added)
-
tags/0.2.9.26/languages/wpfb-it_IT.po (added)
-
tags/0.2.9.26/languages/wpfb-lt_LT.mo (added)
-
tags/0.2.9.26/languages/wpfb-lt_LT.po (added)
-
tags/0.2.9.26/languages/wpfb-nl_NL.mo (added)
-
tags/0.2.9.26/languages/wpfb-nl_NL.po (added)
-
tags/0.2.9.26/languages/wpfb-pt_BR.mo (added)
-
tags/0.2.9.26/languages/wpfb-pt_BR.po (added)
-
tags/0.2.9.26/languages/wpfb-ru_RU.mo (added)
-
tags/0.2.9.26/languages/wpfb-ru_RU.po (added)
-
tags/0.2.9.26/languages/wpfb-sk_SK.mo (added)
-
tags/0.2.9.26/languages/wpfb-sk_SK.po (added)
-
tags/0.2.9.26/languages/wpfb-sv_SE.mo (added)
-
tags/0.2.9.26/languages/wpfb-sv_SE.po (added)
-
tags/0.2.9.26/languages/wpfb-tr_TR.mo (added)
-
tags/0.2.9.26/languages/wpfb-tr_TR.po (added)
-
tags/0.2.9.26/lib (added)
-
tags/0.2.9.26/lib/wpfb_form_cat.php (added)
-
tags/0.2.9.26/lib/wpfb_form_file.php (added)
-
tags/0.2.9.26/readme.txt (added)
-
tags/0.2.9.26/tinymce (added)
-
tags/0.2.9.26/tinymce/editor_plugin.js (added)
-
tags/0.2.9.26/tinymce/images (added)
-
tags/0.2.9.26/tinymce/images/btn.gif (added)
-
tags/0.2.9.26/wp-filebase-admin.css (added)
-
tags/0.2.9.26/wp-filebase.css (added)
-
tags/0.2.9.26/wp-filebase.php (added)
-
tags/0.2.9.26/wp-filebase_css.php (added)
-
tags/0.2.9.26/wp-filebase_thumb.php (added)
-
tags/0.2.9.26/wpfb-ajax.php (added)
-
tags/0.2.9.26/wpfb-async-upload.php (added)
-
tags/0.2.9.26/wpfb-postbrowser.php (added)
-
trunk/classes/Admin.php (modified) (8 diffs)
-
trunk/classes/AdminGuiCats.php (modified) (2 diffs)
-
trunk/classes/AdminGuiManage.php (modified) (2 diffs)
-
trunk/classes/AdminGuiSettings.php (modified) (3 diffs)
-
trunk/classes/AdvUploader.php (modified) (2 diffs)
-
trunk/classes/Category.php (modified) (1 diff)
-
trunk/classes/Core.php (modified) (3 diffs)
-
trunk/classes/File.php (modified) (2 diffs)
-
trunk/classes/GetID3.php (modified) (1 diff)
-
trunk/classes/Item.php (modified) (1 diff)
-
trunk/classes/Output.php (modified) (4 diffs)
-
trunk/classes/PLUpload.php (modified) (8 diffs)
-
trunk/classes/SWFUpload.php (modified) (5 diffs)
-
trunk/classes/Setup.php (modified) (1 diff)
-
trunk/classes/Sync.php (modified) (20 diffs)
-
trunk/editor_plugin.php (modified) (3 diffs)
-
trunk/extras/jquery/dataTables/unit_testing (deleted)
-
trunk/extras/progressbar.class.php (modified) (2 diffs)
-
trunk/languages/wpfb-pt_BR.mo (modified) (previous)
-
trunk/languages/wpfb-pt_BR.po (modified) (2 diffs)
-
trunk/lib/wpfb_form_cat.php (modified) (1 diff)
-
trunk/lib/wpfb_form_file.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/todo.txt (deleted)
-
trunk/wp-filebase-admin.css (modified) (1 diff)
-
trunk/wp-filebase.php (modified) (2 diffs)
-
trunk/wpfb-ajax.php (modified) (1 diff)
-
trunk/wpfb-async-upload.php (modified) (4 diffs)
-
wp-filebase-plupload-hotfix.zip (added)
Legend:
- Unmodified
- Added
- Removed
-
wp-filebase/trunk/classes/Admin.php
r624879 r630203 13 13 14 14 wp_enqueue_style('widgets'); 15 16 require_once(ABSPATH . 'wp-admin/includes/file.php'); 15 17 } 16 18 … … 29 31 30 32 $last_sync_time = intval(get_option(WPFB_OPT_NAME.'_cron_sync_time')); 31 $last_sync_time = ($last_sync_time > 0) ? (" (".sprintf( __('Last cron sync on %1$s at %2$s.',WPFB), date_i18n( get_option( 'date_format' , $last_sync_time ) ), date_i18n( get_option( 'time_format', $last_sync_time )) ).")") : '';33 $last_sync_time = ($last_sync_time > 0) ? (" (".sprintf( __('Last cron sync on %1$s at %2$s.',WPFB), date_i18n( get_option( 'date_format'), $last_sync_time ), date_i18n( get_option( 'time_format'), $last_sync_time ) ).")") : ''; 32 34 33 35 return array ( … … 121 123 122 124 'cron_sync' => array('default' => false, 'title' => __('Automatic Sync', WPFB), 'type' => 'checkbox', 'desc' => __('Schedules a cronjob to hourly synchronize the filesystem and the database.', WPFB).$last_sync_time), 125 126 'remove_missing_files' => array('default' => false, 'title' => __('Remove Missing Files', WPFB), 'type' => 'checkbox', 'desc' => __('Missing files are removed from the database during sync', WPFB)), 123 127 124 128 … … 553 557 // VALIDATION 554 558 $current_user = wp_get_current_user(); 555 if( !$add_existing && empty($current_user->ID)) return array( 'error' => __('Could not get user id!', WPFB) );559 if(empty($data->frontend_upload) && !$add_existing && empty($current_user->ID)) return array( 'error' => __('Could not get user id!', WPFB) ); 556 560 557 561 if(!$update && !$add_existing && !$upload && !$remote_upload) return array( 'error' => __('No file was uploaded.', WPFB) ); … … 681 685 $file->file_author = isset($data->file_author) ? $data->file_author : WPFB_Core::GetOpt('default_author'); 682 686 683 $var_names = array('remote_uri', 'description', 'hits', 'license'); 687 $var_names = array('remote_uri', 'description', 'hits', 'license' 688 ); 684 689 for($i = 0; $i < count($var_names); $i++) 685 690 { … … 1103 1108 1104 1109 // if category is set in widget options, force to use this. security done with nonce checking ($_POST['cat'] is reliable) 1105 if($_POST['cat'] >= 0) $_POST['file_category'] = $_POST['cat']; 1106 $result = WPFB_Admin::InsertFile(array_merge(stripslashes_deep($_POST), $_FILES ));1110 if($_POST['cat'] >= 0) $_POST['file_category'] = $_POST['cat']; 1111 $result = WPFB_Admin::InsertFile(array_merge(stripslashes_deep($_POST), $_FILES, array('frontend_upload' => true))); 1107 1112 if(isset($result['error']) && $result['error']) { 1108 1113 $content .= '<div id="message" class="updated fade"><p>'.$result['error'].'</p></div>'; … … 1117 1122 1118 1123 wpfb_loadclass('Output'); 1119 WPFB_Output::GeneratePage($title, $content );1124 WPFB_Output::GeneratePage($title, $content, !empty($_POST['form_tag'])); // prepend to content if embedded form! 1120 1125 } 1121 1126 … … 1172 1177 } 1173 1178 1174 public function SettingsUpdated($old, $new) {1179 public function SettingsUpdated($old, &$new) { 1175 1180 $messages = array(); 1176 1181 wpfb_call('Setup','ProtectUploadPath'); -
wp-filebase/trunk/classes/AdminGuiCats.php
r624879 r630203 22 22 <td><code><?php echo esc_html($cat->cat_path) ?></code></td> 23 23 <td><?php echo WPFB_Output::RoleNames($user_roles,true) ?></td> 24 <?php 25 ?> 24 26 25 <td><?php echo ($cat->GetOwnerId() <= 0 || !($usr = get_userdata($cat->GetOwnerId()))) ? '-' : esc_html($usr->user_login) ?></td> 27 26 <td class="num"><?php echo $cat->cat_order ?></td> … … 159 158 <th scope="col"><a href="<?php echo WPFB_Admin::AdminTableSortLink('cat_path') ?>"><?php _e('Path'/*def*/) ?></a></th> 160 159 <th scope="col"><a href="<?php echo WPFB_Admin::AdminTableSortLink('cat_user_roles') ?>"><?php _e('Access Permission',WPFB) ?></a></th> 161 <?php 162 ?> 160 163 161 <th scope="col"><a href="<?php echo WPFB_Admin::AdminTableSortLink('cat_owner') ?>"><?php _e('Owner',WPFB) ?></a></th> 164 162 <th scope="col"><a href="<?php echo WPFB_Admin::AdminTableSortLink('cat_order') ?>"><?php _e('Custom Sort Order',WPFB) ?></a></th> -
wp-filebase/trunk/classes/AdminGuiManage.php
r624879 r630203 176 176 array('action' => 'sync', 177 177 )); ?>" class="button"><?php _e('Sync Filebase',WPFB)?></a> <?php _e('Synchronises the database with the file system. Use this to add FTP-uploaded files.',WPFB) ?></p> 178 179 <p> 180 <?php 181 if(WPFB_Core::GetOpt('cron_sync')) { 182 _e('Automatic sync is enabled. Cronjob scheduled hourly.'); 183 $last_sync_time = intval(get_option(WPFB_OPT_NAME.'_cron_sync_time')); 184 echo ($last_sync_time > 0) ? (" (".sprintf( __('Last cron sync on %1$s at %2$s.',WPFB), date_i18n( get_option( 'date_format'), $last_sync_time ), date_i18n( get_option( 'time_format'), $last_sync_time ) ).")") : ''; 185 } else { 186 _e('Cron sync is disabled.'); 187 } 188 ?> 189 </p> 190 191 192 178 193 <?php if(WPFB_Core::GetOpt('tag_conv_req')) { ?><p><a href="<?php echo add_query_arg('action', 'convert-tags') ?>" class="button"><?php _e('Convert old Tags',WPFB)?></a> <?php printf(__('Convert tags from versions earlier than %s.',WPFB), '0.2.0') ?></p> <?php } ?> 179 194 <!-- <p><a href="<?php echo add_query_arg('action', 'add-urls') ?>" class="button"><?php _e('Add multiple URLs',WPFB)?></a> <?php _e('Add multiple remote files at once.', WPFB); ?></p> … … 274 289 275 290 break; // sync 291 292 293 276 294 } // switch 277 295 ?> -
wp-filebase/trunk/classes/AdminGuiSettings.php
r615301 r630203 199 199 <?php 200 200 201 $misc_tags = array(' hide_links','base_auto_thumb','cron_sync','fext_blacklist','disable_id3','search_id3','thumbnail_path','use_path_tags','no_name_formatting');201 $misc_tags = array('disable_id3','search_id3','thumbnail_path','use_path_tags','no_name_formatting'); 202 202 if(function_exists('wp_admin_bar_render')) 203 203 $misc_tags[] = 'admin_bar'; … … 210 210 ), 211 211 __('Download', WPFB) => array( 212 ' disable_permalinks', 'download_base', 'force_download', 'range_download', 'http_nocache', 'ignore_admin_dls', 'accept_empty_referers','allowed_referers','dl_destroy_session'),212 'hide_links', 'disable_permalinks', 'download_base', 'force_download', 'range_download', 'http_nocache', 'ignore_admin_dls', 'accept_empty_referers','allowed_referers','dl_destroy_session'), 213 213 __('Form Presets', WPFB) => array('default_author','default_roles', 'default_cat', 'languages', 'platforms', 'licenses', 'requirements', 'custom_fields'), 214 214 __('Limits', WPFB) => array('bitrate_unregistered', 'bitrate_registered', 'traffic_day', 'traffic_month', 'traffic_exceeded_msg', 'file_offline_msg', 'daily_user_limits', 'daily_limit_subscriber', 'daily_limit_contributor', 'daily_limit_author', 'daily_limit_editor', 'daily_limit_exceeded_msg'), 215 __('Security', WPFB) => array('allow_srv_script_upload', 'f rontend_upload', 'hide_inaccessible', 'inaccessible_msg', 'inaccessible_redirect', 'cat_inaccessible_msg', 'login_redirect_src', 'protect_upload_path', 'private_files'),215 __('Security', WPFB) => array('allow_srv_script_upload', 'fext_blacklist', 'frontend_upload', 'hide_inaccessible', 'inaccessible_msg', 'inaccessible_redirect', 'cat_inaccessible_msg', 'login_redirect_src', 'protect_upload_path', 'private_files'), 216 216 __('Templates and Scripts', WPFB) => array('template_file', 'template_cat', 'dlclick_js'), 217 __('Sync',WPFB) => array('cron_sync', 'base_auto_thumb', 'remove_missing_files'), 217 218 __('Misc') => $misc_tags, 218 219 ); … … 229 230 foreach($option_categories as $opt_cat => $opt_cat_fields) { 230 231 //echo "\n".'<h3>'.$opt_cat.'</h3>'; 231 echo "\n\n".'<div id="'. sanitize_title($opt_cat) .'" class="wpfilebase-opttab">< table class="form-table">';232 echo "\n\n".'<div id="'. sanitize_title($opt_cat) .'" class="wpfilebase-opttab"><h3>'.$opt_cat.'</h3><table class="form-table">'; 232 233 foreach($opt_cat_fields as $opt_tag) 233 234 { -
wp-filebase/trunk/classes/AdvUploader.php
r624879 r630203 3 3 var $uploader; 4 4 var $form_url; 5 6 static function GetAjaxAuthData($json=false) 7 { 8 $dat = array( 9 "auth_cookie" => (is_ssl() ? @$_COOKIE[SECURE_AUTH_COOKIE] : @$_COOKIE[AUTH_COOKIE]), 10 "logged_in_cookie" => @$_COOKIE[LOGGED_IN_COOKIE], 11 "_wpnonce" => wp_create_nonce(WPFB.'-async-upload'), 12 "frontend_upload" => !is_admin() 13 ); 14 return $json ? trim(json_encode($dat),'{}') : $dat; 15 } 5 16 6 17 public function __construct($form_url) … … 13 24 } 14 25 15 function PrintScripts( )26 function PrintScripts($prefix='', $auto_submit=false) 16 27 { 17 $this->uploader->Scripts(); 28 $this->uploader->Scripts($prefix); 29 ?> 18 30 19 // getUserSetting dummy function! 20 ?> 21 <script type='text/javascript'> 22 if(typeof(getUserSetting) != 'function') { 23 function getUserSetting( name, def ) { 24 return false; 25 } 26 } 27 </script> 31 <script type="text/javascript"> 32 //<![CDATA[ 33 34 function fileQueued(fileObj) { 35 jQuery('#file-upload-progress').show().html('<div class="progress"><div class="percent">0%</div><div class="bar" style="width: 30px"></div></div><div class="filename original"> ' + fileObj.name + '</div>'); 36 37 jQuery('.progress', '#file-upload-progress').show(); 38 jQuery('.filename', '#file-upload-progress').show(); 39 40 jQuery("#media-upload-error").empty(); 41 jQuery('.upload-flash-bypass').hide(); 42 43 jQuery('#file-submit').prop('disabled', true); 44 jQuery('#cancel-upload').show().prop('disabled', false); 45 46 // delete already uploaded temp file 47 if(jQuery('#file_flash_upload').val() != '0') { 48 jQuery.ajax({type: 'POST', async: true, url:"<?php echo esc_attr( WPFB_PLUGIN_URI.'wpfb-async-upload.php' ); ?>", 49 data: {<?php echo WPFB_AdvUploader::GetAjaxAuthData(true) ?> , "delupload":jQuery('#file_flash_upload').val()}, 50 success: (function(data){}) 51 }); 52 jQuery('#file_flash_upload').val(0); 53 } 54 } 55 56 function wpFileError(fileObj, message) { 57 jQuery('#media-upload-error').show().html(message); 58 jQuery('.upload-flash-bypass').show(); 59 jQuery("#file-upload-progress").hide().empty(); 60 jQuery('#cancel-upload').hide().prop('disabled', true); 61 } 62 63 64 function uploadError(fileObj, errorCode, message, uploader) { 65 wpFileError(fileObj, "Error "+errorCode+": "+message); 66 } 67 68 function uploadSuccess(fileObj, serverData) { 69 // if async-upload returned an error message, place it in the media item div and return 70 if ( serverData.match('media-upload-error') ) { 71 wpFileError(fileObj, serverData); 72 return; 73 } 74 jQuery('#file_flash_upload').val(serverData); 75 jQuery('#file-submit').prop('disabled', false); 76 77 <?php if($auto_submit) { ?> 78 jQuery('#file_flash_upload').closest("form").submit(); 79 <?php } ?> 80 } 81 82 function uploadComplete(fileObj) { 83 jQuery('#cancel-upload').hide().prop('disabled', true); 84 } 85 86 87 if(typeof(getUserSetting) != 'function') { 88 function getUserSetting( name, def ) { // getUserSetting dummy function! 89 return false; 90 } 91 } 92 //]]> 93 </script> 28 94 <?php 29 95 } -
wp-filebase/trunk/classes/Category.php
r624879 r630203 145 145 } 146 146 147 function HasChildren($cats_only=false) 148 { 149 //return ($cats_only ? (count($c->GetChildCats())>0) : ($c->cat_num_files_total > 0)), // FIXME: does not work with secondary categories! 150 return true; 151 } 152 147 153 function Delete() 148 154 { -
wp-filebase/trunk/classes/Core.php
r624879 r630203 461 461 462 462 static function PrintJS() { 463 static $printed = false; 464 if($printed) return; 465 $printed = true; 466 463 467 wp_print_scripts(WPFB); 464 468 … … 549 553 global $wp_admin_bar; 550 554 551 self:: $load_js = true;555 self::PrintJS(); 552 556 553 557 $wp_admin_bar->add_menu(array('id' => WPFB, 'title' => WPFB_PLUGIN_NAME, 'href' => admin_url('admin.php?page=wpfilebase_manage'))); … … 579 583 580 584 static function GetMaxUlSize() { 581 $val = ini_get('upload_max_filesize'); 585 return self::ParseIniFileSize(ini_get('upload_max_filesize')); 586 } 587 588 static function ParseIniFileSize($val) { 582 589 if (is_numeric($val)) 583 590 return $val; 584 591 585 592 $val_len = strlen($val); 586 $ max_bytes = substr($val, 0, $val_len - 1);593 $bytes = substr($val, 0, $val_len - 1); 587 594 $unit = strtolower(substr($val, $val_len - 1)); 588 595 switch($unit) { 589 596 case 'k': 590 $ max_bytes *= 1024;597 $bytes *= 1024; 591 598 break; 592 599 case 'm': 593 $ max_bytes *= 1048576;600 $bytes *= 1048576; 594 601 break; 595 602 case 'g': 596 $ max_bytes *= 1073741824;603 $bytes *= 1073741824; 597 604 break; 598 605 } 599 return $ max_bytes;606 return $bytes; 600 607 } 601 608 -
wp-filebase/trunk/classes/File.php
r624879 r630203 461 461 $logged_in = (!empty($user_ID)); 462 462 $user_role = $logged_in ? array_shift($current_user->roles) : null; // get user's highest role (like in user-eidt.php) 463 $is_admin = ('administrator' == $user_role);463 $is_admin = current_user_can('edit_files'); 464 464 465 465 // check user level … … 481 481 } 482 482 } 483 483 484 484 485 // check traffic -
wp-filebase/trunk/classes/GetID3.php
r615301 r630203 16 16 else $info =& self::$engine->analyze($filename); 17 17 18 if(!empty($_GET['debug'])) { 19 wpfb_loadclass('Sync'); 20 WPFB_Sync::PrintDebugTrace("file_analyzed"); 21 } 18 22 return $info; 19 23 } -
wp-filebase/trunk/classes/Item.php
r624879 r630203 48 48 function GetParents() 49 49 { 50 $p = $this; 50 51 $parents = array(); 51 while(!is_null($p = $ this->GetParent())) $parents[] = $p;52 while(!is_null($p = $p->GetParent())) $parents[] = $p; 52 53 return $parents; 53 54 } -
wp-filebase/trunk/classes/Output.php
r624879 r630203 165 165 166 166 $liclass = ''; 167 if($has_children = ($cat->cat_num_files_total > 0)) $liclass .= 'hasChildren';167 if($has_children = $cat->HasChildren()) $liclass .= 'hasChildren'; 168 168 if($open = $cat->Equals($open_cat)) $liclass .= ' open'; 169 169 … … 337 337 */ 338 338 339 static function GeneratePage($title, $content ) {339 static function GeneratePage($title, $content, $prepend_to_current=false) { 340 340 self::$page_content = $content; 341 341 self::$page_title = $title; 342 add_filter('the_posts',array(__CLASS__,'GeneratePagePostFilter'),9,2); 343 add_filter('edit_post_link', array('WPFB_Core', 'Nothing')); // hide edit link 342 if($prepend_to_current) { 343 add_filter('the_content', array(__CLASS__,'GeneratePageContentFilter'), 10); 344 } else { 345 add_filter('the_posts',array(__CLASS__,'GeneratePagePostFilter'),9,2); 346 add_filter('edit_post_link', array('WPFB_Core', 'Nothing')); // hide edit link 347 } 348 } 349 350 static function GeneratePageContentFilter($content) 351 { 352 if(empty(self::$page_content)) return $content; 353 $content = self::$page_content . $content; 354 self::$page_content = ''; 355 return $content; 344 356 } 345 357 … … 420 432 421 433 422 if(!empty($vars['adv_uploader'])) {423 wpfb_loadclass('AdvUploader');424 $adv_uploader = new WPFB_AdvUploader($form_url);425 $adv_uploader->PrintScripts();426 }427 434 unset($vars['adv_uploader']); // dont use adv_uploader arg for noncing! TODO 428 435 ?> 429 <form enctype="multipart/form-data" name="<?php echo $prefix; ?>form" method="post" action="<?php echo $form_url; ?>">436 <form enctype="multipart/form-data" name="<?php echo $prefix; ?>form" id="<?php echo $prefix; ?>form" method="post" action="<?php echo $form_url; ?>"> 430 437 <?php 431 438 foreach($vars as $n => $v) { 432 echo '<input type="hidden" name="'.esc_attr($n).'" value="'.esc_attr($v).'" />';439 echo '<input type="hidden" name="'.esc_attr($n).'" value="'.esc_attr($v).'" id="'.$prefix.esc_attr($n).'" />'; 433 440 $nonce_action .= "&$n=$v"; 434 441 } … … 437 444 <input type="hidden" name="prefix" value="<?php echo $prefix ?>" /> 438 445 <div> 446 <?php if($category == -1) { ?><br /> 447 <label for="<?php echo $prefix ?>file_category"><?php _e('Category') ?></label> 448 <select name="file_category" id="<?php echo $prefix; ?>file_category"><?php wpfb_loadclass('Category'); echo WPFB_Output::CatSelTree(); ?></select> 449 <?php } else { ?> 450 <input type="hidden" name="file_category" value="<?php echo $category; ?>" id="<?php echo $prefix ?>file_category" /> 451 <?php } ?> 452 453 439 454 <?php if(empty($adv_uploader)) { ?> 440 455 <label for="<?php echo $prefix ?>file_upload"><?php _e('Choose File', WPFB) ?></label> 441 456 <input type="file" name="file_upload" id="<?php echo $prefix ?>file_upload" /><br /> <!-- style="width: 160px" size="10" --> 442 457 <?php } else { 443 $adv_uploader->Display( );458 $adv_uploader->Display($prefix); 444 459 } ?> 445 460 <small><?php printf(str_replace('%d%s','%s',__('Maximum upload file size: %d%s'/*def*/)), WPFB_Output::FormatFilesize(WPFB_Core::GetMaxUlSize())) ?></small> 446 461 447 462 <div style="float: right; text-align:right;"><input type="submit" class="button-primary" name="submit-btn" value="<?php _ex('Add New', 'file'); ?>" /></div> 448 449 <?php if($category == -1) { ?><br />450 <label for="<?php echo $prefix ?>file_category"><?php _e('Category') ?></label>451 <select name="file_category" id="<?php echo $prefix; ?>file_category"><?php wpfb_loadclass('Category'); echo WPFB_Output::CatSelTree(); ?></select>452 <?php } else { ?>453 <input type="hidden" name="file_category" value="<?php echo $category; ?>" />454 <?php } ?>455 463 </div> 456 464 </form> -
wp-filebase/trunk/classes/PLUpload.php
r624879 r630203 5 5 var $id; 6 6 7 static function GetAjaxAuthData($json=false)8 {9 $dat = array(10 "auth_cookie" => (is_ssl() ? $_COOKIE[SECURE_AUTH_COOKIE] : $_COOKIE[AUTH_COOKIE]),11 "logged_in_cookie" => $_COOKIE[LOGGED_IN_COOKIE],12 "_wpnonce" => wp_create_nonce(WPFB.'-async-upload')13 );14 return $json ? trim(json_encode($dat),'{}') : $dat;15 }16 17 7 function __construct() 18 8 { … … 20 10 } 21 11 22 function Scripts( )12 function Scripts($prefix) 23 13 { 24 14 $id = $this->id; … … 26 16 wp_print_scripts('plupload-handlers'); 27 17 ?> 18 28 19 <script type="text/javascript"> 29 20 //<![CDATA[ 30 31 function fileQueued(fileObj) {32 jQuery('#file-upload-progress<?php echo $id; ?>').show().html('<div class="progress"><div class="percent">0%</div><div class="bar" style="width: 30px"></div></div><div class="filename original"> ' + fileObj.name + '</div>');33 34 jQuery('.progress', '#file-upload-progress<?php echo $id; ?>').show();35 jQuery('.filename', '#file-upload-progress<?php echo $id; ?>').show();36 37 jQuery("#media-upload-error<?php echo $id; ?>").empty();38 jQuery('.upload-flash-bypass').hide();39 40 jQuery('#file-submit').prop('disabled', true);41 jQuery('#cancel-upload').show().prop('disabled', false);42 43 // delete already uploaded temp file44 if(jQuery('#file_flash_upload').val() != '0') {45 jQuery.ajax({type: 'POST', async: true, url:"<?php echo esc_attr( WPFB_PLUGIN_URI.'wpfb-async-upload.php' ); ?>",46 data: {<?php echo self::GetAjaxAuthData(true) ?> , "delupload":jQuery('#file_flash_upload').val()},47 success: (function(data){})48 });49 jQuery('#file_flash_upload').val(0);50 }51 }52 21 53 22 function uploadProgress(up, file) { 54 var item = jQuery('#file-upload-progress <?php echo $id; ?>');23 var item = jQuery('#file-upload-progress'); 55 24 jQuery('.bar', item).width( (200 * file.loaded) / file.size ); 56 25 jQuery('.percent', item).html( file.percent + '%' ); … … 59 28 item.html('<strong class="crunching">' + '<?php _e('File %s uploaded.', WPFB) ?>'.replace(/%s/g, file.name) + '</strong>'); 60 29 } 61 }62 63 function wpFileError(fileObj, message) {64 jQuery('#media-upload-error<?php echo $id; ?>').show().html(message);65 jQuery('.upload-flash-bypass').show();66 jQuery("#file-upload-progress<?php echo $id; ?>").hide().empty();67 jQuery('#cancel-upload').hide().prop('disabled', true);68 }69 70 71 function uploadError(fileObj, errorCode, message, uploader) {72 wpFileError(fileObj, "Error "+errorCode+": "+message);73 }74 75 function uploadSuccess(fileObj, serverData) {76 // if async-upload returned an error message, place it in the media item div and return77 if ( serverData.match('media-upload-error<?php echo $id; ?>') ) {78 wpFileError(fileObj, serverData);79 return;80 }81 jQuery('#file_flash_upload').val(serverData);82 jQuery('#file-submit').prop('disabled', false);83 }84 85 function uploadComplete(fileObj) {86 jQuery('#cancel-upload').hide().prop('disabled', true);87 30 } 88 31 … … 117 60 $plupload_init = array( 118 61 'runtimes' => 'html5,silverlight,flash,html4', 119 'browse_button' => 'plupload-browse-button' .$id,120 'container' => 'plupload-upload-ui' .$id,62 'browse_button' => 'plupload-browse-button', 63 'container' => 'plupload-upload-ui', 121 64 'drop_element' => 'drag-drop-area', 122 65 'file_data_name' => 'async-upload', … … 129 72 'multipart' => true, 130 73 'urlstream_upload' => true, 131 'multipart_params' => self::GetAjaxAuthData()74 'multipart_params' => WPFB_AdvUploader::GetAjaxAuthData() 132 75 ); 133 76 … … 143 86 <input type="hidden" id="file_flash_upload" name="file_flash_upload" value="0" /> 144 87 145 <div id="plupload-upload-ui <?php echo $id; ?>" class="hide-if-no-js">88 <div id="plupload-upload-ui" class="hide-if-no-js"> 146 89 <?php do_action('pre-plupload-upload-ui'); // hook change, old name: 'pre-flash-upload-ui' ?> 147 90 <div id="drag-drop-area"> 148 91 <div class="drag-drop-inside"> 149 <p class="drag-drop-info"><?php _e('Drop files here'); ?> - <?php _ex('or', 'Uploader: Drop files here - or - Select Files'); ?> - <span class="drag-drop-buttons"><input id="plupload-browse-button <?php echo $id; ?>" type="button" value="<?php esc_attr_e('Select Files'); ?>" class="button" /></span></p>92 <p class="drag-drop-info"><?php _e('Drop files here'); ?> - <?php _ex('or', 'Uploader: Drop files here - or - Select Files'); ?> - <span class="drag-drop-buttons"><input id="plupload-browse-button" type="button" value="<?php esc_attr_e('Select Files'); ?>" class="button" /></span></p> 150 93 </div> 151 94 </div> … … 158 101 <?php } 159 102 ?> 160 <div id="media-upload-error <?php echo $id; ?>"></div>161 <div id="file-upload-progress <?php echo $id; ?>" class="media-item" style="width: auto;"></div>103 <div id="media-upload-error"></div> 104 <div id="file-upload-progress" class="media-item" style="width: auto;"></div> 162 105 <?php 163 106 //do_action('post-upload-ui'); -
wp-filebase/trunk/classes/SWFUpload.php
r624879 r630203 5 5 var $id; 6 6 7 static function GetAjaxAuthData($json=false)8 {9 $dat = array(10 "auth_cookie" => (is_ssl() ? $_COOKIE[SECURE_AUTH_COOKIE] : $_COOKIE[AUTH_COOKIE]),11 "logged_in_cookie" => $_COOKIE[LOGGED_IN_COOKIE],12 "_wpnonce" => wp_create_nonce(WPFB.'-async-upload')13 );14 return $json ? trim(json_encode($dat),'{}') : $dat;15 }16 17 7 function __construct() 18 8 { … … 20 10 } 21 11 22 function Scripts( )12 function Scripts($prefix) 23 13 { 24 14 $id = $this->id; … … 26 16 wp_print_scripts('swfupload-all'); 27 17 wp_print_scripts('swfupload-handlers'); 28 29 30 18 ?> 31 19 32 20 <script type="text/javascript"> 33 21 //<![CDATA[ 34 35 function fileQueued(fileObj) {36 jQuery('#file-upload-progress').show().html('<div class="progress"><div class="bar"></div></div><div class="filename original"><span class="percent"></span> ' + fileObj.name + '</div>');37 jQuery('.progress', '#file-upload-progress').show();38 jQuery('.filename', '#file-upload-progress').show();39 40 jQuery("#media-upload-error").empty();41 jQuery('.upload-flash-bypass').hide();42 43 jQuery('#file-submit').prop('disabled', true);44 jQuery('#cancel-upload').show().prop('disabled', false);45 46 // delete already uploaded temp file47 if(jQuery('#file_flash_upload').val() != '0') {48 jQuery.ajax({type: 'POST', async: true, url:"<?php echo esc_attr( WPFB_PLUGIN_URI.'wpfb-async-upload.php' ); ?>",49 data: {<?php echo self::GetAjaxAuthData(true) ?> , delupload:jQuery('#file_flash_upload').val()},50 success: (function(data){})51 });52 jQuery('#file_flash_upload').val(0);53 }54 }55 22 56 23 function uploadProgress(fileObj, bytesDone, bytesTotal) { … … 63 30 jQuery('.filename', '#file-upload-progress').hide(); 64 31 } 65 }66 67 function wpFileError(fileObj, message) {68 jQuery('#media-upload-error').show().html(message);69 jQuery('.upload-flash-bypass').show();70 jQuery("#file-upload-progress").hide().empty();71 jQuery('#cancel-upload').hide().prop('disabled', true);72 }73 74 75 function uploadError(fileObj, errorCode, message) {76 wpFileError(fileObj, "Error "+errorCode+": "+message);77 }78 79 function uploadSuccess(fileObj, serverData) {80 // if async-upload returned an error message, place it in the media item div and return81 if ( serverData.match('media-upload-error') ) {82 wpFileError(fileObj, serverData);83 return;84 }85 jQuery('#file_flash_upload').val(serverData);86 jQuery('#file-submit').prop('disabled', false);87 }88 89 function uploadComplete(fileObj) {90 jQuery('#cancel-upload').hide().prop('disabled', true);91 32 } 92 33 … … 122 63 file_post_name: "async-upload", 123 64 file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>", 124 post_params : { <?php echo self::GetAjaxAuthData(); ?> },65 post_params : { <?php echo WPFB_AdvUploader::GetAjaxAuthData(); ?> }, 125 66 file_size_limit : "<?php 126 67 require_once(ABSPATH . 'wp-admin/includes/template.php'); -
wp-filebase/trunk/classes/Setup.php
r624879 r630203 379 379 $queries[] = "ALTER TABLE `$tbl_files` CHANGE `file_direct_linking` `file_direct_linking` ENUM( '0', '1', '2' ) NOT NULL DEFAULT '0'"; 380 380 381 382 381 // since 0.2.9.25 383 382 -
wp-filebase/trunk/classes/Sync.php
r624879 r630203 1 1 <?php class WPFB_Sync { 2 2 3 const HIGH_START_MEM = 100000000; // 100MB 4 3 5 static function InitClass() 4 6 { 5 7 wpfb_loadclass("Admin", "GetID3"); 6 8 require_once(ABSPATH . 'wp-admin/includes/file.php'); 9 10 @ini_set('max_execution_time', '0'); 11 @set_time_limit(0); 12 13 // raise memory limit if needed 14 if(WPFB_Core::ParseIniFileSize(ini_get('memory_limit')) < 128000000) 15 @ini_set('memory_limit', '128M'); 7 16 } 8 17 … … 20 29 { 21 30 self::PrintDebugTrace(); 22 @ini_set('max_execution_time', '0');23 @set_time_limit(0);24 31 25 32 // some syncing/updating … … 30 37 private static function SyncPase1($sync_data, $output) 31 38 { 32 self::PrintDebugTrace(); 39 self::PrintDebugTrace("sync_phase_1"); 40 41 if($output) { 42 $ms = self::GetMemStats(); 43 self::DEcho('<p>'. sprintf(__('Starting sync. Memory usage: %s - Limit: %s',WPFB), WPFB_Output::FormatFilesize($ms['used']), WPFB_Output::FormatFilesize($ms['limit'])).' '.(($ms['used'] > self::HIGH_START_MEM)?__('<b>Note:</b> The memory usage seems to be quite high. Please disable other plugins to lower the memory consumption.'):'').'</p>'); 44 } 33 45 34 46 if($output) self::DEcho('<p>'. __('Checking for file changes...',WPFB).' '); … … 64 76 if(strlen($fn) < 2 || $fbn{0} == '.' || strpos($fn, '/.tmp') !== false 65 77 || $fbn == '_wp-filebase.css' || strpos($fbn, '_caticon.') !== false 66 || in_array( $fn, $sync_data->known_filenames)78 || in_array(substr($fn, strlen($upload_dir)), $sync_data->known_filenames) 67 79 || !is_file($fn) || !is_readable($fn) 68 80 || (!empty($fext_blacklist) && in_array(trim(strrchr($fbn, '.'),'.'), $fext_blacklist)) // check for blacklisted extension … … 79 91 // handle thumbnails 80 92 self::GetThumbnails($sync_data); 93 94 self::PrintDebugTrace("post_get_thumbs"); 81 95 } 82 96 … … 104 118 if($output) self::DEcho('done!</p>'); 105 119 } 106 107 self::AddNewFiles($sync_data, $progress_bar); 120 121 self::PrintDebugTrace("pre_add_files"); 122 123 self::AddNewFiles($sync_data, $progress_bar); 108 124 self::PostSync($sync_data, $output); 109 125 … … 113 129 private function PostSync($sync_data, $output) 114 130 { 115 self::PrintDebugTrace( );131 self::PrintDebugTrace("post_sync"); 116 132 117 133 // chmod 118 134 if($output) self::DEcho('<p>Setting permissions...'); 119 $sync_data->log['warnings'] += self::Chmod( $sync_data->known_filenames);135 $sync_data->log['warnings'] += self::Chmod(self::cleanPath(WPFB_Core::UploadDir()), $sync_data->known_filenames); 120 136 if($output) self::DEcho('done!</p>'); 121 137 … … 126 142 127 143 wpfb_call('Setup','ProtectUploadPath'); 144 self::PrintDebugTrace("update_tags"); 128 145 WPFB_File::UpdateTags(); 129 146 … … 148 165 { 149 166 $sync_id3 = !WPFB_Core::GetOpt('disable_id3'); 167 $upload_dir = self::cleanPath(WPFB_Core::UploadDir()); 150 168 foreach($sync_data->files as $id => $file) 151 169 { 152 170 $file_path = self::cleanPath($file->GetLocalPath(true)); 153 $sync_data->known_filenames[] = $file_path;171 $sync_data->known_filenames[] = substr($file_path, strlen($upload_dir)); 154 172 if($file->GetThumbPath()) 155 $sync_data->known_filenames[] = s elf::cleanPath($file->GetThumbPath());173 $sync_data->known_filenames[] = substr(self::cleanPath($file->GetThumbPath()), strlen($upload_dir)); 156 174 157 175 if($file->file_category > 0 && is_null($file->GetParent())) … … 164 182 if(!@is_file($file_path) || !@is_readable($file_path)) 165 183 { 184 if(WPFB_Core::GetOpt('remove_missing_files')) { 185 $file->Remove(); 186 } else { 187 $file->file_offline = true; // set offline if not found 188 if(!$file->locked) $file->DBSave(); 189 } 166 190 $sync_data->log['missing_files'][$id] = $file; 167 191 continue; … … 203 227 204 228 foreach($keys as $i) 205 { 229 { 206 230 $fn = $sync_data->new_files[$i]; 207 231 unset($sync_data->new_files[$i]); … … 210 234 $fbn = basename($fn); 211 235 212 self::PrintDebugTrace("add_existing_file ");236 self::PrintDebugTrace("add_existing_file:$fn"); 213 237 $res = WPFB_Admin::AddExistingFile($fn, empty($sync_data->thumbnails[$fn]) ? null : $sync_data->thumbnails[$fn]); 214 238 self::PrintDebugTrace("added_existing_file"); … … 216 240 $sync_data->log['added'][] = empty($res['file']) ? substr($fn, $upload_dir_len) : $res['file']; 217 241 218 $sync_data->known_filenames[] = $fn;242 $sync_data->known_filenames[] = substr($fn, $upload_dir_len); 219 243 if(!empty($res['file']) && $res['file']->GetThumbPath()) 220 $sync_data->known_filenames[] = s elf::cleanPath($res['file']->GetThumbPath());244 $sync_data->known_filenames[] = substr(self::cleanPath($res['file']->GetThumbPath()), $upload_dir_len); 221 245 } else 222 246 $sync_data->log['error'][] = $res['error'] . " (file $fn)"; … … 232 256 return false; 233 257 } 258 234 259 } 235 260 … … 240 265 } 241 266 267 static function UpdateMemBar() { 268 } 269 270 static function GetMemStats() 271 { 272 static $limit = -2; 273 if($limit == -2) 274 $limit = WPFB_Core::ParseIniFileSize(ini_get('memory_limit')); 275 return array('limit' => $limit, 'used' => max(memory_get_usage(true), memory_get_usage())); 276 } 277 242 278 static function GetThumbnails($sync_data) 243 279 { 244 280 $num_files_to_add = $num_new_files = count($sync_data->new_files); 281 282 $upload_dir = self::cleanPath(WPFB_Core::UploadDir()); 283 $upload_dir_len = strlen($upload_dir); 245 284 246 285 // look for thumnails … … 251 290 252 291 // file and thumbnail should be neighbours in the list, so only check the prev element for matching name 253 if(strlen($sync_data->new_files[$i-1]) > ($len+2) && substr($sync_data->new_files[$i-1],0,$len) == substr($sync_data->new_files[$i],0,$len) && !in_array( $sync_data->new_files[$i-1], $sync_data->known_filenames))292 if(strlen($sync_data->new_files[$i-1]) > ($len+2) && substr($sync_data->new_files[$i-1],0,$len) == substr($sync_data->new_files[$i],0,$len) && !in_array(substr($sync_data->new_files[$i-1], $upload_dir_len), $sync_data->known_filenames)) 254 293 { 255 294 $suffix = substr($sync_data->new_files[$i-1], $len); … … 345 384 } 346 385 347 function Chmod($ files)386 function Chmod($base_dir, $files) 348 387 { 349 388 $result = array(); … … 356 395 for($i = 0; $i < count($files); $i++) 357 396 { 358 if(file_exists($files[$i])) 359 { 360 @chmod ($files[$i], octdec(WPFB_PERM_FILE)); 361 if(!is_writable($files[$i]) && !is_writable(dirname($files[$i]))) 362 $result[] = sprintf(__('File <b>%s</b> is not writable!', WPFB), substr($files[$i], $upload_dir_len)); 397 $f = "$base_dir/".$files[$i]; 398 if(file_exists($f)) 399 { 400 @chmod ($f, octdec(WPFB_PERM_FILE)); 401 if(!is_writable($f) && !is_writable(dirname($f))) 402 $result[] = sprintf(__('File <b>%s</b> is not writable!', WPFB), substr($f, $upload_dir_len)); 363 403 } 364 404 } … … 407 447 echo '<p>' . __('Filebase successfully synced.', WPFB) . '</p>'; 408 448 409 $clean_uri = remove_query_arg(array('message', 'action', 'file_id', 'cat_id', 'deltpl', 'hash_sync', 'doit', 'ids', 'files', 'cats', 'batch_sync' /* , 's'*/)); // keep search keyword 449 //$clean_uri = remove_query_arg(array('message', 'action', 'file_id', 'cat_id', 'deltpl', 'hash_sync', 'doit', 'ids', 'files', 'cats', 'batch_sync' /* , 's'*/)); // keep search keyword 450 $clean_uri = admin_url('admin.php?page=wpfilebase_manage&batch_sync='.(int)!empty($_GET['batch_sync'])); 410 451 411 452 // first files should be deleted, then cats! 412 453 if(!empty($result['missing_files'])) { 413 echo '<p>' . sprintf(__('%d Files could not be found.', WPFB), count($result['missing_files'])) . ' <a href="'.$clean_uri.'&action=del&files='.join(',',array_keys($result['missing_files'])).'" class="button">'.__('Remove entries from database').'</a></p>'; 454 echo '<p>' . sprintf(__('%d Files could not be found.', WPFB), count($result['missing_files'])) . ' '. 455 (WPFB_Core::GetOpt('remove_missing_files') ? 'The corresponding entries have been removed from the database.' : (' <a href="'.$clean_uri.'&action=del&files='.join(',',array_keys($result['missing_files'])).'" class="button" target="_parent">'.__('Remove entries from database').'</a>')).'</p>'; 414 456 } elseif(!empty($result['missing_folders'])) { 415 echo '<p>' . sprintf(__('%d Category Folders could not be found.', WPFB), count($result['missing_folders'])) . ' <a href="'.$clean_uri.'&action=del&cats='.join(',',array_keys($result['missing_folders'])).'" class="button" >'.__('Remove entries from database').'</a></p>';457 echo '<p>' . sprintf(__('%d Category Folders could not be found.', WPFB), count($result['missing_folders'])) . ' <a href="'.$clean_uri.'&action=del&cats='.join(',',array_keys($result['missing_folders'])).'" class="button" target="_parent">'.__('Remove entries from database').'</a></p>'; 416 458 } 417 459 } … … 420 462 if(!empty($_GET['debug'])) 421 463 { 422 echo "<!-- [$tag] BACKTRACE:\n"; 464 $ms = self::GetMemStats(); 465 echo "<!-- [$tag] (MEM: ". WPFB_Output::FormatFilesize($ms['used'])." / $ms[limit]) BACKTRACE:\n"; 423 466 echo esc_html(print_r(wp_debug_backtrace_summary(), true)); 424 467 echo "\nEND -->"; 468 469 self::UpdateMemBar(); 425 470 } 426 471 } -
wp-filebase/trunk/editor_plugin.php
r615301 r630203 190 190 } 191 191 192 <?php 193 ?> 192 194 193 //]]> 195 194 </script> … … 206 205 <li><a href="#list" onclick="return tabclick(this)"><?php _e('File list', WPFB) ?></a></li> 207 206 <li><a href="#browser" onclick="return tabclick(this)"><?php _e('File Tree View', WPFB) ?></a></li> 208 <?php 209 ?> 207 210 208 </ul> 211 209 <?php } ?> … … 356 354 357 355 358 <?php 359 ?> 356 360 357 361 358 <!-- -
wp-filebase/trunk/extras/progressbar.class.php
r590827 r630203 25 25 26 26 private $id=0, $value=0, $steps=0, $width=0, $height=0, $color='', $bgcolor='', $inner_styleclass='', $outer_styleclass='', $show_digits=true; 27 28 public function progressbar( $value = 0, $steps = 100, $width = 100, $height = 20, $color = '#0C0', $bgcolor = '#FFF', $inner_styleclass = ' ', $outer_styleclass = '')27 28 public function progressbar( $value = 0, $steps = 100, $width = 100, $height = 20, $color = '#0C0', $bgcolor = '#FFF', $inner_styleclass = 'wpfb-progress-bar-in', $outer_styleclass = '') 29 29 { 30 30 static $progress_bars; … … 71 71 $cl = "color:{$this->color};"; 72 72 73 self::_echo("<div id=\"{$jsp}b{$id}\" style=\"{$w}{$h}text-align:left;background-color:{$this->bgcolor};overflow:hidden;".($osc?"\" class=\"{$osc}\"":"border:1px solid #000; \"").">");73 self::_echo("<div id=\"{$jsp}b{$id}\" style=\"{$w}{$h}text-align:left;background-color:{$this->bgcolor};overflow:hidden;".($osc?"\" class=\"{$osc}\"":"border:1px solid #000; border-radius:4px; box-shadow: 1px 1px 1px #AAA;\"").">"); 74 74 if($this->show_digits) 75 75 self::_echo("\n<div id=\"{$jsp}d{$id}\" style=\"{$w}{$h}text-align:center;line-height:{$this->height}px;position:absolute;z-index:3;{$cl}\"></div>"); 76 self::_echo("<div id=\"{$jsp}{$id}\" style=\"width:0px;{$h}background-{$cl} ".($isc?" class=\"{$isc}\"":"\"")."></div>");76 self::_echo("<div id=\"{$jsp}{$id}\" style=\"width:0px;{$h}background-{$cl};text-shadow:0 1px 0px #333; box-shadow: 1px 0 1px black;\"".($isc?" class=\"{$isc}\"":"\"")."></div>"); 77 77 self::_echo("\n</div>"); 78 78 self::execute_js("{$jsp}i({$this->id},{$this->value},{$this->steps},{$this->width});"); -
wp-filebase/trunk/languages/wpfb-pt_BR.po
r465363 r630203 1 # Translation of the WordPress plugin WP-Filebase 0.1.3.0 by Fabian Schlieper.2 # Copyright (C) 2010 Fabian Schlieper3 # This file is distributed under the same license as the WP-Filebase package.4 # Fabian Schlieper <fabian@fabi.me>, 2010.5 #6 1 msgid "" 7 2 msgstr "" 8 "Project-Id-Version: WP-Filebase 0.1.3.0\n"3 "Project-Id-Version: WP-Filebase v0.2.9.24\n" 9 4 "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-filebase\n" 10 5 "POT-Creation-Date: 2010-01-18 23:16+0000\n" 11 "PO-Revision-Date: 201 1-11-20 21:20+0100\n"6 "PO-Revision-Date: 2012-11-14 19:24:05+0000\n" 12 7 "Last-Translator: Fabian Schlieper <fabian@fabi.me>\n" 13 8 "Language-Team: Fabian Schlieper <fabian@fabi.me>\n" … … 15 10 "Content-Type: text/plain; charset=utf-8\n" 16 11 "Content-Transfer-Encoding: 8bit\n" 12 "Plural-Forms: nplurals=2; plural=n != 1;\n" 17 13 "X-Poedit-Language: Portuguese\n" 18 14 "X-Poedit-Country: BRAZIL\n" 19 20 #: editor_plugin.php:37 21 #: editor_plugin.php:256 22 msgid "Uncategorized Files" 23 msgstr "Arquivos sem categoria" 24 25 #: editor_plugin.php:42 26 #, php-format 27 msgid "You did not upload a file. <a href=\"%s\" target=\"_parent\">Click here to add one.</a>" 28 msgstr "Você não realizou o upload do arquivo. <a href=\"%s\" target=\"_parent\">Clique aqui para adicionar um.</a>" 29 30 #: editor_plugin.php:219 15 "X-Poedit-SourceCharset: utf-8\n" 16 "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n" 17 "X-Poedit-Basepath: \n" 18 "X-Poedit-Bookmarks: \n" 19 "X-Poedit-SearchPath-0: .\n" 20 "X-Textdomain-Support: yes" 21 22 #: editor_plugin.php:171 23 #@ wpfb 31 24 msgid "Enter link text:" 32 25 msgstr "Entre com o texto do link:" 33 26 34 #: editor_plugin.php:244 27 #: editor_plugin.php:204 28 #@ wpfb 35 29 msgid "Single file" 36 30 msgstr "Arquivo" 37 31 38 #: editor_plugin.php:245 32 #: editor_plugin.php:205 33 #: lib/wpfb_form_file.php:180 34 #: lib/wpfb_form_file.php:199 35 #@ wpfb 36 #@ default 39 37 msgid "File URL" 40 38 msgstr "URL do arquivo" 41 39 42 #: editor_plugin.php:246 40 #: classes/AdminGuiTpls.php:180 41 #: classes/AdminLite.php:20 42 #: classes/Core.php:51 43 #: classes/Widget.php:407 44 #: editor_plugin.php:206 45 #@ wpfb 46 #@ default 43 47 msgid "File list" 44 48 msgstr "Listagem de arquivos" 45 49 46 #: editor_plugin.php:255 47 msgid "All Categories" 48 msgstr "Todas as categorias" 49 50 #: editor_plugin.php:257 50 #: editor_plugin.php:203 51 #@ wpfb 51 52 msgid "Attachments" 52 53 msgstr "Anexos" 53 54 54 #: editor_plugin.php:266 55 #, php-format 55 #: wpfb-ajax.php:66 56 #, php-format 57 #@ wpfb 56 58 msgid "You did not create a category. <a href=\"%s\" target=\"_parent\">Click here to create one.</a>" 57 59 msgstr "Você não criou uma categoria. <a href=\"%s\" target=\"_parent\">Clique aqui para criar uma.</a>" 58 60 59 #: editor_plugin.php:273 61 #: editor_plugin.php:281 62 #: editor_plugin.php:301 63 #@ wpfb 60 64 msgid "Select Template" 61 65 msgstr "Escolha o template" 62 66 63 #: editor_plugin.php:274 67 #: editor_plugin.php:282 68 #@ wpfb 64 69 msgid "Default Template" 65 70 msgstr "Template padrão" 66 71 67 #: editor_plugin.php:28 168 #: lib/wp-filebase_admin_gui_manage.lib.php:47269 # : lib/wp-filebase_admin_gui_manage.lib.php:48172 #: editor_plugin.php:288 73 #: editor_plugin.php:307 74 #@ wpfb 70 75 msgid "Add Template" 71 76 msgstr "Adicionar template" 72 77 73 #: lib/wp-filebase_admin.lib.php:9 78 #: classes/Admin.php:19 79 #@ wpfb 74 80 msgid "One entry per line. Seperate the title and a short tag (not longer than 8 characters) with '|'.<br />All lines beginning with '*' are selected by default." 75 81 msgstr "Uma entrada por linha. Separe o título e a short-tag (até 8 caracteres) com '|'.<br />Todas as linhas prefixadas com '*' são selecionadas por padrão." 76 82 77 #: lib/wp-filebase_admin.lib.php:10 83 #: classes/Admin.php:20 84 #@ wpfb 78 85 msgid "One entry per line." 79 86 msgstr "Uma entrada por linha." 80 87 81 #: lib/wp-filebase_admin.lib.php:11 88 #: classes/Admin.php:21 89 #@ wpfb 82 90 msgid "Limits the maximum tranfer rate for downloads. 0 = unlimited" 83 91 msgstr "Limita a taxa de tranferência máxima para downloads. 0 = ilimitado" 84 92 85 #: lib/wp-filebase_admin.lib.php:12 93 #: classes/Admin.php:22 94 #@ wpfb 86 95 msgid "Limits the maximum data traffic. 0 = unlimited" 87 96 msgstr "Limita o tráfego máximo de dados. 0 = ilimitado" 88 97 89 #: lib/wp-filebase_admin.lib.php:15 98 #: classes/Admin.php:36 99 #@ wpfb 90 100 msgid "Upload Path" 91 101 msgstr "Caminho de upload" 92 102 93 #: lib/wp-filebase_admin.lib.php:19 103 #: classes/Admin.php:49 104 #@ wpfb 94 105 msgid "Show attached files" 95 106 msgstr "Mostrar arquivos anexados" 96 107 97 #: lib/wp-filebase_admin.lib.php:19 108 #: classes/Admin.php:49 109 #@ wpfb 98 110 msgid "If enabled, all associated files are listed below an article" 99 111 msgstr "Se habilitado, todos os arquivos associados serão listados abaixo do artigo" 100 112 101 #: lib/wp-filebase_admin.lib.php:20 113 #: classes/Admin.php:50 114 #@ wpfb 102 115 msgid "Default sorting" 103 116 msgstr "Ordem padrão" 104 117 105 #: lib/wp-filebase_admin.lib.php:20 118 #: classes/Admin.php:50 119 #@ wpfb 106 120 msgid "The file property lists are sorted by" 107 121 msgstr "As listagens de propriedades de arquivos são ordenadas por" 108 122 109 #: lib/wp-filebase_admin.lib.php:21 110 msgid "Sorting direction" 111 msgstr "Direção da ordenação" 112 113 #: lib/wp-filebase_admin.lib.php:21 123 #: classes/Admin.php:51 124 #@ wpfb 114 125 msgid "The sorting direction of file lists" 115 126 msgstr "A direção da ordenação das listagens de arquivos" 116 127 117 #: lib/wp-filebase_admin.lib.php:23 128 #: classes/Admin.php:59 129 #@ wpfb 118 130 msgid "Bit rate limit for guests" 119 131 msgstr "Limite de bitrate para convidados" 120 132 121 #: lib/wp-filebase_admin.lib.php:24 133 #: classes/Admin.php:60 134 #@ wpfb 122 135 msgid "Bit rate limit for registered users" 123 136 msgstr "Limite de bitrate para usuários registrados" 124 137 125 #: lib/wp-filebase_admin.lib.php:25 138 #: classes/Admin.php:61 139 #@ wpfb 126 140 msgid "Daily traffic limit" 127 141 msgstr "Limite de tráfego diário" 128 142 129 #: lib/wp-filebase_admin.lib.php:26 143 #: classes/Admin.php:62 144 #@ wpfb 130 145 msgid "Monthly traffic limit" 131 146 msgstr "Limite de tráfego mensal" 132 147 133 #: lib/wp-filebase_admin.lib.php:27 148 #: classes/Admin.php:63 149 #@ wpfb 134 150 msgid "Traffic limit exceeded! Please try again later." 135 151 msgstr "Limite de tráfego excedido. Favor tentar novamente mais tarde." 136 152 137 #: lib/wp-filebase_admin.lib.php:27 153 #: classes/Admin.php:63 154 #@ wpfb 138 155 msgid "Traffic exceeded message" 139 156 msgstr "Mensagem de limite de tráfego excedido" 140 157 141 #: lib/wp-filebase_admin.lib.php:28 158 #: classes/Admin.php:64 159 #@ wpfb 142 160 msgid "This file is currently offline." 143 161 msgstr "Este arquivo está atualmente offline." 144 162 145 #: lib/wp-filebase_admin.lib.php:28 163 #: classes/Admin.php:64 164 #@ wpfb 146 165 msgid "File offline message" 147 166 msgstr "Mensagem de arquivo offline" 148 167 149 #: lib/wp-filebase_admin.lib.php:30 168 #: classes/Admin.php:74 169 #@ wpfb 150 170 msgid "Disable download permalinks" 151 171 msgstr "Desabilitar permalinks de download" 152 172 153 #: lib/wp-filebase_admin.lib.php:30 173 #: classes/Admin.php:74 174 #@ wpfb 154 175 msgid "Enable this if you have problems with permalinks." 155 176 msgstr "Ative isto caso encontre problemas com permalinks." 156 177 157 #: lib/wp-filebase_admin.lib.php:31 178 #: classes/Admin.php:75 179 #@ wpfb 158 180 msgid "Download URL base" 159 181 msgstr "URL base de download" 160 182 161 #: lib/wp-filebase_admin.lib.php:31 162 #, php-format 183 #: classes/Admin.php:75 184 #, php-format 185 #@ wpfb 163 186 msgid "The url prefix for file download links. Example: <code>%s</code> (Only used when Permalinks are enabled.)" 164 187 msgstr "O prefixo de url para links de download. Exemplo <code>%s</code> (Usado apenas quando permalinks estão habilitados.)" 165 188 166 #: lib/wp-filebase_admin.lib.php:33 189 #: classes/Admin.php:77 190 #@ wpfb 167 191 msgid "Post ID of the file browser" 168 192 msgstr "ID do post do navegador de arquivos" 169 193 170 #: lib/wp-filebase_admin.lib.php:33 194 #: classes/Admin.php:77 195 #@ wpfb 171 196 msgid "Specify the ID of the post or page where the file browser should be placed. If you want to disable this feature leave the field blank." 172 197 msgstr "Especifique o ID do post ou página onde o navegador de arquivos deve ser inserido. Se você deseja desabilitar esta função deixe este campo em branco." 173 198 174 #: lib/wp-filebase_admin.lib.php:34 199 #: classes/Admin.php:88 200 #@ wpfb 175 201 msgid "Category drop down list" 176 202 msgstr "Lista drop-down de categorias" 177 203 178 #: lib/wp-filebase_admin.lib.php:34 204 #: classes/Admin.php:88 205 #@ wpfb 179 206 msgid "Use category drop down list in the file browser instead of listing like files." 180 207 msgstr "Use a lista drop-down de categorias no navegador de arquivos ao invés de usar a listagem de arquivos." 181 208 182 #: lib/wp-filebase_admin.lib.php:36 209 #: classes/Admin.php:90 210 #: classes/Admin.php:92 211 #@ wpfb 183 212 msgid "Always force download" 184 213 msgstr "Sempre forçar o download" 185 214 186 #: lib/wp-filebase_admin.lib.php:36 215 #: classes/Admin.php:90 216 #@ wpfb 187 217 msgid "If enabled files that can be viewed in the browser (like images, PDF documents or videos) can only be downloaded (no streaming)." 188 218 msgstr "Se habilitado, arquivos que podem ser vistos no browser (como imagens, documentos PDF ou vídeos) poderão ser apenas baixados (sem streaming)." 189 219 190 #: lib/wp-filebase_admin.lib.php:37 220 #: classes/Admin.php:93 221 #@ wpfb 191 222 msgid "Ignore downloads by admins" 192 223 msgstr "Ignorar download realizado por admins" 193 224 194 #: lib/wp-filebase_admin.lib.php:38 225 #: classes/Admin.php:94 226 #@ wpfb 195 227 msgid "Hide inaccessible files and categories" 196 228 msgstr "Esconder arquivos e categorias inacessíveis" 197 229 198 #: lib/wp-filebase_admin.lib.php:38 230 #: classes/Admin.php:94 231 #@ wpfb 199 232 msgid "If enabled files tagged <i>For members only</i> will not be listed for guests or users whith insufficient rights." 200 233 msgstr "Se habilitado, arquivos marcados como <i>Apenas para membros</i> não serão listados para visitantes ou usuários com privilégios insuficientes." 201 234 202 #: lib/wp-filebase_admin.lib.php:39 235 #: classes/Admin.php:95 236 #@ wpfb 203 237 msgid "You are not allowed to access this file!" 204 238 msgstr "Você não tem permissão para acessar este arquivo!" 205 239 206 #: lib/wp-filebase_admin.lib.php:39 240 #: classes/Admin.php:95 241 #@ wpfb 207 242 msgid "Inaccessible file message" 208 243 msgstr "Mensagem de arquivo inacessível" 209 244 210 #: lib/wp-filebase_admin.lib.php:39 245 #: classes/Admin.php:95 246 #@ wpfb 211 247 msgid "This message will be displayed if users try to download a file they cannot access" 212 248 msgstr "Esta mensagem será mostrada caso o usuário tente realizar download de um arquivo cujo o mesmo não tem permissão" 213 249 214 #: lib/wp-filebase_admin.lib.php:40 250 #: classes/Admin.php:96 251 #@ wpfb 215 252 msgid "Redirect to login" 216 253 msgstr "Redirecionar para login" 217 254 218 #: lib/wp-filebase_admin.lib.php:40 255 #: classes/Admin.php:96 256 #@ wpfb 219 257 msgid "Guests trying to download inaccessible files are redirected to the login page if this option is enabled." 220 258 msgstr "Visitantes tentando realizar download de arquivos inacessíveis serão redirecionados para página de login caso esta opção esteja habilitada." 221 259 222 #: lib/wp-filebase_admin.lib.php:40 260 #: classes/Admin.php:102 261 #@ wpfb 223 262 msgid "Parse template tags in RSS feeds" 224 263 msgstr "Parsear tags de template nos feeds RSS" 225 264 226 #: lib/wp-filebase_admin.lib.php:40 265 #: classes/Admin.php:102 266 #@ wpfb 227 267 msgid "If enabled WP-Filebase content tags are parsed in RSS feeds." 228 268 msgstr "Se habilitado, as tags de conteúdo do WP-Filebase serão parseadas em feeds RSS." 229 269 230 #: lib/wp-filebase_admin.lib.php:42 270 #: classes/Admin.php:104 271 #@ wpfb 231 272 msgid "Allow script upload" 232 273 msgstr "Habilitar upload de scripts" 233 274 234 #: lib/wp-filebase_admin.lib.php:42 275 #: classes/Admin.php:104 276 #@ wpfb 235 277 msgid "If you enable this, scripts like PHP or CGI can be uploaded. <b>WARNING:</b> Enabling script uploads is a <b>security risk</b>!" 236 278 msgstr "Caso habilite esta opção, scripts como PHP ou CGI poderão ser uploadeados. <b>WARNING:</b> Habilitar uploads de script é um <b>risco de segurança</b>!" 237 279 238 #: lib/wp-filebase_admin.lib.php:44 280 #: classes/Admin.php:112 281 #@ wpfb 239 282 msgid "Accept empty referers" 240 283 msgstr "Aceitar referências (Referers) vazios" 241 284 242 #: lib/wp-filebase_admin.lib.php:44 285 #: classes/Admin.php:112 286 #@ wpfb 243 287 msgid "If enabled, direct-link-protected files can be downloaded when the referer is empty (i.e. user entered file url in address bar or browser does not send referers)" 244 288 msgstr "Se habilitado, arquivos protegidos contra linkagem direta poderão ser baixados quando o referer for vazio (ex: usuário digitou o caminho direto na barra de endereços ou o browser não envia informações de referer)" 245 289 246 #: lib/wp-filebase_admin.lib.php:45 290 #: classes/Admin.php:113 291 #@ wpfb 247 292 msgid "Allowed referers" 248 293 msgstr "Referências (referer) permitidas" 249 294 250 #: lib/wp-filebase_admin.lib.php:45 295 #: classes/Admin.php:113 296 #@ wpfb 251 297 msgid "Sites with matching URLs can link to files directly." 252 298 msgstr "Sites com as seguintes URLs podem linkar arquivos diretamente." 253 299 254 #: lib/wp-filebase_admin.lib.php:47 300 #: classes/Admin.php:117 301 #@ wpfb 255 302 msgid "Decimal file size prefixes" 256 303 msgstr "Prefixo decimal do tamanho de arquivos" 257 304 258 #: lib/wp-filebase_admin.lib.php:47 305 #: classes/Admin.php:117 306 #@ wpfb 259 307 msgid "Enable this if you want decimal prefixes (1 MB = 1000 KB = 1 000 000 B) instead of binary (1 MiB = 1024 KiB = 1 048 576 B)" 260 308 msgstr "Habilite isto caso deseje prefixos decimais (1 MB = 1000 KB = 1 000 000 B) ao invés da representação binária (1 MiB = 1024 KiB = 1 048 576 B)" 261 309 262 #: lib/wp-filebase_admin.lib.php:50 263 #: lib/wp-filebase_form_file.php:80 310 #: classes/Admin.php:144 311 #: lib/wpfb_form_file.php:269 312 #@ wpfb 264 313 msgid "Platforms" 265 314 msgstr "Plataformas" 266 315 267 #: lib/wp-filebase_admin.lib.php:51 316 #: classes/Admin.php:146 317 #@ wpfb 268 318 msgid "Licenses" 269 319 msgstr "Licensas" 270 320 271 #: lib/wp-filebase_admin.lib.php:52 272 #: lib/wp-filebase_form_file.php:84 321 #: classes/Admin.php:153 322 #: lib/wpfb_form_file.php:273 323 #@ wpfb 273 324 msgid "Requirements" 274 325 msgstr "Requerimentos" 275 326 276 #: lib/wp-filebase_admin.lib.php:52 327 #: classes/Admin.php:153 328 #@ wpfb 277 329 msgid "You can optionally add |<i>URL</i> to each line to link to the required software/file." 278 330 msgstr "Você pode opcionalmente adicionar |<i>URL</i> para cada linha para linkar com o software requerido" 279 331 280 #: lib/wp-filebase_admin.lib.php:88 332 #: classes/Admin.php:195 333 #@ wpfb 281 334 msgid "Default File Template" 282 335 msgstr "Arquivo de template padrão" 283 336 284 #: lib/wp-filebase_admin.lib.php:88 337 #: classes/Admin.php:195 338 #@ wpfb 285 339 msgid "The template for attachments" 286 340 msgstr "Template para anexos" 287 341 288 #: lib/wp-filebase_admin.lib.php:103 342 #: classes/Admin.php:210 343 #: classes/AdminGuiTpls.php:312 344 #@ wpfb 289 345 msgid "Category Template" 290 346 msgstr "Template de categoria" 291 347 292 #: lib/wp-filebase_admin.lib.php:103 348 #: classes/Admin.php:210 349 #@ wpfb 293 350 msgid "The template for category lists (used in the file browser)" 294 351 msgstr "O template para listagens de categoria (usado no navegador de arquivos)" 295 352 296 #: lib/wp-filebase_admin.lib.php:113 353 #: classes/Admin.php:220 354 #@ wpfb 297 355 msgid "Download JavaScript" 298 356 msgstr "JavaScript de download" 299 357 300 #: lib/wp-filebase_admin.lib.php:113 358 #: classes/Admin.php:220 359 #@ wpfb 301 360 msgid "Here you can enter JavaScript Code which is executed when a user clicks on file download link. The following variables can be used: <i>file_id</i>: the ID of the file, <i>file_url</i>: the clicked download url" 302 361 msgstr "Aqui você pode inserir código JavaScript que será executado quando um usuário clica no link de download do arquivo. As seguintes variáveis podem ser utilizadas: <i>file_id</i>: o ID do arquivo, <i>file_url</i>: a url de download" 303 362 304 #: lib/wp-filebase_admin.lib.php:129 363 #: classes/Admin.php:234 364 #@ wpfb 305 365 msgid "The category URL" 306 366 msgstr "A URL da categoria" 307 367 308 #: lib/wp-filebase_admin.lib.php:130 368 #: classes/Admin.php:235 369 #@ wpfb 309 370 msgid "Category path (e.g cat1/cat2/)" 310 371 msgstr "Caminho da categoria (ex: cat1/cat2)" 311 372 312 #: lib/wp-filebase_admin.lib.php:131 373 #: classes/Admin.php:236 374 #@ wpfb 313 375 msgid "Just the category folder name, not the path" 314 376 msgstr "Apenas o nome do diretório da categoria, não o caminho" 315 377 316 #: lib/wp-filebase_admin.lib.php:133 378 #: classes/Admin.php:241 379 #@ wpfb 317 380 msgid "Name of the parent categories (empty if none)" 318 381 msgstr "Nome das categorias pai (vazio para nenhum)" 319 382 320 #: lib/wp-filebase_admin.lib.php:134 383 #: classes/Admin.php:242 384 #@ wpfb 321 385 msgid "Number of files in the category" 322 386 msgstr "Numero de arquivos na categoria" 323 387 324 #: lib/wp-filebase_admin.lib.php:136 325 msgid "The minimum user level to view this category (-1 = guest, 0 = Subscriber ...)" 326 msgstr "O nível de usuário mínimo para visualizar esta categoria (-1 = Convidado, 0 = Assinante ...)" 327 328 #: lib/wp-filebase_admin.lib.php:138 388 #: classes/Admin.php:248 389 #@ wpfb 329 390 msgid "The category ID" 330 391 msgstr "O ID da categoria" 331 392 332 #: lib/wp-filebase_admin.lib.php:139 333 #: lib/wp-filebase_admin.lib.php:174 393 #: classes/Admin.php:249 394 #: classes/Admin.php:305 395 #@ wpfb 334 396 msgid "A unique ID number to identify elements within a template" 335 397 msgstr "Um número único para identificar elementos em um template" 336 398 337 #: lib/wp-filebase_admin.lib.php:142 338 #: lib/wp-filebase_admin.lib.php:181 399 #: classes/Admin.php:253 400 #: classes/Admin.php:315 401 #@ wpfb 339 402 msgid "Name of the file" 340 403 msgstr "Nome do arquivo" 341 404 342 #: lib/wp-filebase_admin.lib.php:143 343 #: lib/wp-filebase_admin.lib.php:182 405 #: classes/Admin.php:261 406 #: classes/Admin.php:319 407 #@ wpfb 344 408 msgid "Formatted file size" 345 409 msgstr "Tamanho do arquivo formatado" 346 410 347 #: lib/wp-filebase_admin.lib.php:144 348 #: lib/wp-filebase_admin.lib.php:183 411 #: classes/Admin.php:262 412 #: classes/Admin.php:320 413 #@ wpfb 349 414 msgid "Formatted file date" 350 415 msgstr "Data do arquivo formatada" 351 416 352 #: lib/wp-filebase_admin.lib.php:145 417 #: classes/Admin.php:274 418 #@ wpfb 353 419 msgid "Name of the thumbnail file" 354 420 msgstr "Nome do arquivo de thumbnail" 355 421 356 #: lib/wp-filebase_admin.lib.php:148 357 #: lib/wp-filebase_admin.lib.php:186 422 #: classes/Admin.php:263 423 #: classes/Admin.php:316 424 #@ wpfb 358 425 msgid "File version" 359 426 msgstr "Versão do arquivo" 360 427 361 #: lib/wp-filebase_admin.lib.php:150 428 #: classes/Admin.php:267 429 #@ wpfb 362 430 msgid "Supported languages" 363 431 msgstr "Línguas suportadas" 364 432 365 #: lib/wp-filebase_admin.lib.php:151 433 #: classes/Admin.php:268 434 #@ wpfb 366 435 msgid "Supported platforms (operating systems)" 367 436 msgstr "Plataformas suportadas (sistemas operacionais)" 368 437 369 #: lib/wp-filebase_admin.lib.php:152 438 #: classes/Admin.php:269 439 #@ wpfb 370 440 msgid "Requirements to use this file" 371 441 msgstr "Requerimentos para este arquivo" 372 442 373 #: lib/wp-filebase_admin.lib.php:153 374 #: lib/wp-filebase_admin.lib.php:188 375 #: lib/wp-filebase_form_file.php:66 443 #: classes/Admin.php:270 444 #: classes/Admin.php:331 445 #: lib/wpfb_form_file.php:249 446 #@ wpfb 376 447 msgid "License" 377 448 msgstr "Licensa" 378 449 379 #: lib/wp-filebase_admin.lib.php:154 380 #: lib/wp-filebase_admin.lib.php:189 381 msgid "The minimum user level to download this file (-1 = guest, 0 = Subscriber ...)" 382 msgstr "O nível de usuário mínimo para baixar este arquivo (-1 = Convidado, 0 = Assinante ...)" 383 384 #: lib/wp-filebase_admin.lib.php:155 450 #: classes/Admin.php:283 451 #@ wpfb 385 452 msgid "1 if file is offline, otherwise 0" 386 453 msgstr "1 se o arquivo está offline, 0 caso contrário" 387 454 388 #: lib/wp-filebase_admin.lib.php:156 455 #: classes/Admin.php:284 456 #@ wpfb 389 457 msgid "1 if direct linking is allowed, otherwise 0" 390 458 msgstr "1 se a linkagem direta é permitida, 0 caso contrário" 391 459 392 #: lib/wp-filebase_admin.lib.php:157 460 #: classes/Admin.php:231 461 #: classes/Admin.php:272 462 #@ wpfb 393 463 msgid "The category name" 394 464 msgstr "Nome da categoria" 395 465 396 #: lib/wp-filebase_admin.lib.php:159 397 #: lib/wp-filebase_admin.lib.php:193 466 #: classes/Admin.php:287 467 #: classes/Admin.php:333 468 #@ wpfb 398 469 msgid "ID of the post/page this file belongs to" 399 470 msgstr "ID do post/página que este arquivo pertence" 400 471 401 #: lib/wp-filebase_admin.lib.php:160 402 #: lib/wp-filebase_admin.lib.php:194 403 msgid "User ID of the owner" 404 msgstr "ID do usuário que realizou o upload do arquivo" 405 406 #: lib/wp-filebase_admin.lib.php:161 407 #: lib/wp-filebase_admin.lib.php:195 472 #: classes/Admin.php:289 473 #: classes/Admin.php:318 474 #@ wpfb 408 475 msgid "How many times this file has been downloaded." 409 476 msgstr "Quantas vezes o arquivo foi baixado" 410 477 411 #: lib/wp-filebase_admin.lib.php:164 478 #: classes/Admin.php:292 479 #@ wpfb 412 480 msgid "IP Address of the last downloader" 413 481 msgstr "Endereço IP do usuário do último download" 414 482 415 #: lib/wp-filebase_admin.lib.php:165 416 #: lib/wp-filebase_admin.lib.php:196 483 #: classes/Admin.php:293 484 #: classes/Admin.php:321 485 #@ wpfb 417 486 msgid "Time of the last download" 418 487 msgstr "Data e Hora do último download" 419 488 420 #: lib/wp-filebase_admin.lib.php:167 489 #: classes/Admin.php:255 490 #@ wpfb 421 491 msgid "Download URL" 422 492 msgstr "URL de download" 423 493 424 #: lib/wp-filebase_admin.lib.php:168 494 #: classes/Admin.php:299 495 #@ wpfb 425 496 msgid "URL of the post/page this file belongs to" 426 497 msgstr "URL do post/página que este arquivo pertence" 427 498 428 #: lib/wp-filebase_admin.lib.php:169 499 #: classes/Admin.php:238 500 #: classes/Admin.php:258 501 #@ wpfb 429 502 msgid "URL of the thumbnail or icon" 430 503 msgstr "URL do thumbnail ou ícone" 431 504 432 #: lib/wp-filebase_admin.lib.php:170 505 #: classes/Admin.php:301 506 #@ wpfb 433 507 msgid "Category path and file name (e.g cat1/cat2/file.ext)" 434 508 msgstr "Caminho da categoria e nome do arquivo (ex: cat1/cat2/arquivo.ext)" 435 509 436 #: lib/wp-filebase_admin.lib.php:172 510 #: classes/Admin.php:303 511 #@ wpfb 437 512 msgid "The file ID" 438 513 msgstr "O ID do arquivo" 439 514 440 #: lib/wp-filebase_admin.lib.php:185 515 #: classes/Admin.php:232 516 #: classes/Admin.php:266 517 #: classes/Admin.php:329 518 #: classes/Admin.php:347 519 #@ wpfb 441 520 msgid "Short description" 442 521 msgstr "Descrição curta" 443 522 444 #: lib/wp-filebase_admin.lib.php:190 445 msgid "Offline > Online" 446 msgstr "Offline > Online" 447 448 #: lib/wp-filebase_admin.lib.php:191 449 msgid "Direct linking > redirect to post" 450 msgstr "Linkagem direta > redirecionar para post" 451 452 #: lib/wp-filebase_admin.lib.php:202 523 #: classes/Admin.php:364 524 #@ wpfb 453 525 msgid "Add template variable:" 454 526 msgstr "Adicionar variável de template:" 455 527 456 #: lib/wp-filebase_admin.lib.php:236 528 #: classes/Admin.php:418 529 #@ wpfb 457 530 msgid "You must enter a category name or a folder name." 458 531 msgstr "Voce deve fornecer um nome de categoria ou de diretório." 459 532 460 #: lib/wp-filebase_admin.lib.php:245 533 #: classes/Admin.php:421 534 #@ wpfb 461 535 msgid "The category folder name contains invalid characters." 462 536 msgstr "O nome do diretório da categoria contém caracteres inválidos." 463 537 464 #: lib/wp-filebase_admin.lib.php:290 465 #, php-format 466 msgid "The directory %s already exists!" 467 msgstr "O diretório %s já existe!" 468 469 #: lib/wp-filebase_admin.lib.php:313 538 #: classes/Admin.php:473 539 #: classes/Admin.php:487 540 #@ wpfb 470 541 msgid "Unable to move category icon!" 471 542 msgstr "Não foi possível mover o ícone de categoria!" 472 543 473 #: lib/wp-filebase_admin.lib.php:352 474 #, php-format 544 #: classes/Admin.php:559 545 #, php-format 546 #@ wpfb 475 547 msgid "The file extension of the file <b>%s</b> is forbidden!" 476 548 msgstr "A extensão de arquivo <b>%s</b> não é permitida!" 477 549 478 #: lib/wp-filebase_admin.lib.php:388 479 #, php-format 550 #: classes/Admin.php:593 551 #, php-format 552 #@ wpfb 480 553 msgid "File %s already exists. You have to delete it first!" 481 554 msgstr "Arquivo %s já existe. Você deve deletá-lo primeiro!" 482 555 483 #: lib/wp-filebase_admin.lib.php:392 484 #, php-format 556 #: classes/Admin.php:595 557 #, php-format 558 #@ wpfb 485 559 msgid "Unable to move file %s! Is the upload directory writeable?" 486 560 msgstr "Não foi possível mover o arquivo %s! O diretório de upload possui permissão de escrita?" 487 561 488 #: lib/wp-filebase_admin.lib.php:394 562 #: classes/Admin.php:553 563 #: classes/Admin.php:604 564 #: wpfb-async-upload.php:59 565 #@ wpfb 489 566 msgid "No file was uploaded." 490 567 msgstr "Nenhum arquivo foi enviado." 491 568 492 #: lib/wp-filebase_admin.lib.php:448 569 #: classes/Admin.php:551 570 #@ wpfb 493 571 msgid "Could not get user id!" 494 572 msgstr "Não foi possível pegar o ID do usuário!" 495 573 496 #: lib/wp-filebase_admin.lib.php:549 497 #, php-format 574 #: classes/Sync.php:360 575 #, php-format 576 #@ wpfb 498 577 msgid "File <b>%s</b> is not writable!" 499 578 msgstr "Arquivo <b>%s</b> não possui permissão de escrita!" 500 579 501 #: lib/wp-filebase_admin_gui_manage.lib.php:62 502 #, php-format 580 #: classes/AdminGuiCats.php:90 581 #, php-format 582 #@ wpfb 503 583 msgid "Manage Categories (<a href=\"%s\">add new</a>)" 504 584 msgstr "Gerenciar Categorias (<a href=\"%s\">adicionar nova</a>)" 505 585 506 #: lib/wp-filebase_admin_gui_manage.lib.php:121 586 #: classes/AdminGuiCats.php:149 587 #: classes/AdminGuiTpls.php:178 588 #: classes/Widget.php:25 589 #: classes/Widget.php:415 590 #: editor_plugin.php:249 591 #@ wpfb 507 592 msgid "Files" 508 593 msgstr "Arquivos" 509 594 510 #: lib/wp-filebase_admin_gui_manage.lib.php:146 595 #: classes/AdminGuiCats.php:173 596 #@ wpfb 511 597 msgid "<strong>Note:</strong><br />Deleting a category does not delete the files in that category. Instead, files that were assigned to the deleted category are set to the parent category." 512 598 msgstr "<strong>Nota:</strong><br />Remover uma categoria não apaga os arquivos sob a mesma. Ao invés, arquivos que estavam associados a categoria removida serão herdados pela categoria pai." 513 599 514 #: lib/wp-filebase_admin_gui_manage.lib.php:185 600 #: classes/AdminGuiFiles.php:90 601 #@ wpfb 515 602 msgid "File updated." 516 603 msgstr "Arquivo atualizado." 517 604 518 #: lib/wp-filebase_admin_gui_manage.lib.php:185 605 #: classes/Admin.php:1110 606 #: classes/AdminGuiFiles.php:90 607 #@ wpfb 519 608 msgid "File added." 520 609 msgstr "Arquivo adicionado." 521 610 522 #: lib/wp-filebase_admin_gui_manage.lib.php:201 523 #, php-format 611 #: classes/AdminGuiFiles.php:106 612 #, php-format 613 #@ wpfb 524 614 msgid "Manage Files (<a href=\"%s\">add new</a>)" 525 615 msgstr "Gerenciar Arquivos (<a href=\"%s\">adicionar novo</a>)" 526 616 527 #: lib/wp-filebase_admin_gui_manage.lib.php:209 528 #: lib/wp-filebase_admin_gui_manage.lib.php:211 617 #: classes/AdminGuiFiles.php:119 618 #: classes/AdminGuiFiles.php:121 619 #: classes/Widget.php:269 620 #@ wpfb 529 621 msgid "Search Files" 530 622 msgstr "Procurar arquivos" 531 623 532 #: lib/wp-filebase_admin_gui_manage.lib.php:269 624 #: classes/AdminGuiFiles.php:173 625 #: classes/FileListTable.php:31 626 #@ wpfb 533 627 msgid "Filename" 534 628 msgstr "Nome do arquivo" 535 629 536 #: lib/wp-filebase_admin_gui_manage.lib.php:270 630 #: classes/AdminGuiFiles.php:174 631 #: classes/FileListTable.php:32 632 #@ default 537 633 msgid "Size" 538 634 msgstr "Tamanho" 539 635 540 #: lib/wp-filebase_admin_gui_manage.lib.php:273 636 #: classes/AdminGuiFiles.php:180 637 #: classes/FileListTable.php:38 638 #@ wpfb 541 639 msgid "Hits" 542 640 msgstr "Downloads" 543 641 544 #: lib/wp-filebase_admin_gui_manage.lib.php:274 642 #: classes/AdminGuiFiles.php:181 643 #: classes/FileListTable.php:39 644 #@ wpfb 545 645 msgid "Last download" 546 646 msgstr "Último download" 547 647 548 #: lib/wp-filebase_admin_gui_manage.lib.php:362 648 #: classes/Sync.php:393 649 #@ wpfb 549 650 msgid "Nothing changed!" 550 651 msgstr "Nenhuma alteração!" 551 652 552 #: lib/wp-filebase_admin_gui_manage.lib.php:365 553 #, php-format 653 #: classes/Sync.php:396 654 #, php-format 655 #@ wpfb 554 656 msgid "Changed %d items." 555 657 msgstr "Alterado %d items." 556 658 557 #: lib/wp-filebase_admin_gui_manage.lib.php:369 558 #, php-format 659 #: classes/Sync.php:400 660 #, php-format 661 #@ wpfb 559 662 msgid "Added %d files." 560 663 msgstr "Adicionado %d arquivos." 561 664 562 #: lib/wp-filebase_admin_gui_manage.lib.php:374 665 #: classes/Sync.php:405 666 #@ wpfb 563 667 msgid "Filebase successfully synced." 564 668 msgstr "Filebase sincronizado com sucesso." 565 669 566 #: lib/wp-filebase_admin_gui_manage.lib.php:377 670 #: classes/AdminGuiManage.php:273 671 #@ wpfb 567 672 msgid "Complete file sync" 568 673 msgstr "Sincronização completa" 569 674 570 #: lib/wp-filebase_admin_gui_manage.lib.php:377 675 #: classes/AdminGuiManage.php:273 676 #@ wpfb 571 677 msgid "Checks files for changes, so more reliable but might take much longer. Do this if you uploaded/changed files with FTP." 572 678 msgstr "Checa por alteração em arquivos. Mais confiável mas pode levar algum tempo. Faça isto caso tenha inserido/modificado arquivos por FTP." 573 679 574 #: lib/wp-filebase_admin_gui_manage.lib.php:390 575 #, php-format 680 #: classes/AdminGuiCss.php:38 681 #, php-format 682 #@ wpfb 576 683 msgid "%s is not writable!" 577 684 msgstr "%s não tem permissão de escrita!" 578 685 579 #: lib/wp-filebase_admin_gui_manage.lib.php:418 686 #: classes/AdminGuiCss.php:66 687 #@ wpfb 580 688 msgid "Update File" 581 689 msgstr "Atualizar Arquivo" 582 690 583 #: lib/wp-filebase_admin_gui_manage.lib.php:419 691 #: classes/AdminGuiCss.php:67 692 #@ wpfb 584 693 msgid "Restore Default" 585 694 msgstr "Restaurar padrão" 586 695 587 #: lib/wp-filebase_admin_gui_manage.lib.php:452 588 msgid "Edit Templates" 589 msgstr "Editar templates" 590 591 #: lib/wp-filebase_admin_gui_manage.lib.php:466 592 msgid "Submit Template Changes" 593 msgstr "Submeter alterações de template" 594 595 #: lib/wp-filebase_admin_gui_manage.lib.php:475 696 #: classes/AdminGuiTpls.php:299 697 #@ wpfb 596 698 msgid "Template Tag (a single word to describe the template):" 597 699 msgstr "Tag de template (uma única palavra para descrever o template):" 598 700 599 #: lib/wp-filebase_admin_gui_manage.lib.php:477 701 #: classes/AdminGuiTpls.php:332 702 #@ wpfb 600 703 msgid "Template Code:" 601 704 msgstr "Código do template:" 602 705 603 #: lib/wp-filebase_admin_gui_manage.lib.php:497 604 #, php-format 706 #: classes/AdminGuiManage.php:67 707 #, php-format 708 #@ wpfb 605 709 msgid "The upload directory <code>%s</code> does not exists. It could not be created automatically because the directory <code>%s</code> is not writable. Please create <code>%s</code> and make it writable for the webserver by executing the following FTP command: <code>%s</code>" 606 710 msgstr "O diretório de upload <code>%s</code> não existe. Este não pode ser criado automaticamente pois o diretório <code>%s</code> não possui permissão de escrita. Favor crie o diretório <code>%s</code> e lhe forneça permissão de escrita para o webserver executando o seguinte comando FTP: <code>%s</code>" 607 711 608 #: lib/wp-filebase_admin_gui_manage.lib.php:499 609 #, php-format 712 #: classes/AdminGuiManage.php:71 713 #, php-format 714 #@ wpfb 610 715 msgid "The upload directory <code>%s</code> is not writable. Please make it writable for PHP by executing the follwing FTP command: <code>%s</code>" 611 716 msgstr "O diretório de upload <code>%s</code> não possui permissão de escrita. Favor fornecer permissão de escrita para o PHP executando o seguinte comando FTP: <code>%s</code>" 612 717 613 #: lib/wp-filebase_admin_gui_manage.lib.php:506 614 msgid "Manage Files" 615 msgstr "Gerenciar Arquivos" 616 617 #: lib/wp-filebase_admin_gui_manage.lib.php:506 618 msgid "View uploaded files and edit them" 619 msgstr "Ver arquivos carregados e editá-los" 620 621 #: lib/wp-filebase_admin_gui_manage.lib.php:507 622 msgid "Manage Categories" 623 msgstr "Gerenciar Categorias" 624 625 #: lib/wp-filebase_admin_gui_manage.lib.php:507 626 msgid "Manage existing categories and add new ones." 627 msgstr "Gerenciar categorias existentes e criar novas." 628 629 #: lib/wp-filebase_admin_gui_manage.lib.php:508 718 #: classes/AdminGuiManage.php:177 719 #: classes/Core.php:562 720 #@ wpfb 630 721 msgid "Sync Filebase" 631 722 msgstr "Sincronizar o Filebase" 632 723 633 #: lib/wp-filebase_admin_gui_manage.lib.php:508 724 #: classes/AdminGuiManage.php:177 725 #@ wpfb 634 726 msgid "Synchronises the database with the file system. Use this to add FTP-uploaded files." 635 727 msgstr "Sincroniza o banco de dados de arquivos com o sistema de arquivos. Use isto para adicionar arquivos carregados por FTP." 636 728 637 #: lib/wp-filebase_admin_gui_manage.lib.php:509 638 msgid "Edit Stylesheet" 639 msgstr "Editar folha de estilo" 640 641 #: lib/wp-filebase_admin_gui_manage.lib.php:509 642 msgid "Edit the CSS for the file template" 643 msgstr "Edite o CSS para o arquivo de template" 644 645 #: lib/wp-filebase_admin_gui_manage.lib.php:510 646 msgid "Manage Templates" 647 msgstr "Gerenciar Templates" 648 649 #: lib/wp-filebase_admin_gui_manage.lib.php:510 650 msgid "Edit custom file list templates" 651 msgstr "Editar template de lista de arquivos personalizada" 652 653 #: lib/wp-filebase_admin_gui_manage.lib.php:511 654 msgid "Donate & Feature Request" 655 msgstr "Doação e requisição de feature" 656 657 #: lib/wp-filebase_admin_gui_manage.lib.php:511 658 msgid "If you like this plugin and want to support my work, please donate. You can also post your ideas making the plugin better." 659 msgstr "Se você gostou deste plugin e deseja apoiar meu trabalho, por favor faça uma doação. Você também pode enviar suas idéias para tornar este plugin melhor." 660 661 #: lib/wp-filebase_admin_gui_manage.lib.php:520 729 #: classes/AdminGuiManage.php:118 730 #@ wpfb 662 731 msgid "Traffic" 663 732 msgstr "Tráfego" 664 733 665 #: lib/wp-filebase_admin_gui_manage.lib.php:528 734 #: classes/AdminGuiManage.php:126 735 #@ wpfb 666 736 msgid "Today" 667 737 msgstr "Hoje" 668 738 669 #: lib/wp-filebase_admin_gui_manage.lib.php:537 739 #: classes/AdminGuiManage.php:135 740 #@ wpfb 670 741 msgid "This Month" 671 742 msgstr "Este mês" 672 743 673 #: lib/wp-filebase_admin_gui_options.lib.php:25 744 #: classes/AdminGuiSettings.php:31 745 #@ wpfb 674 746 msgid "Settings reseted." 675 747 msgstr "Configurações restauradas" 676 748 677 #: lib/wp-filebase_admin_gui_options.lib.php:49 678 #, php-format 749 #: classes/AdminGuiSettings.php:77 750 #, php-format 751 #@ wpfb 679 752 msgid "/%s/ added to rejected URIs list of WP Super Cache." 680 753 msgstr "/%s/ foi adicionado à lista de URIs rejeitadas do WP Super Cache." 681 754 682 #: lib/wp-filebase_admin_gui_options.lib.php:52 755 #: classes/AdminGuiSettings.php:148 756 #@ wpfb 683 757 msgid "WARNING: Script upload enabled!" 684 758 msgstr "ATENÇÃO: Upload de scripts habilitado!" 685 759 686 #: lib/wp-filebase_admin_gui_options.lib.php:64 760 #: classes/AdminGuiSettings.php:89 761 #@ wpfb 687 762 msgid "File template successfully parsed." 688 763 msgstr "Arquivo de template parseado com sucesso." 689 764 690 #: lib/wp-filebase_admin_gui_options.lib.php:66 691 #: lib/wp-filebase_admin_gui_options.lib.php:80 692 #, php-format 765 #: classes/AdminGuiSettings.php:91 766 #: classes/AdminGuiSettings.php:105 767 #, php-format 768 #@ wpfb 693 769 msgid "Could not parse template: error (%s) in line %s." 694 770 msgstr "Impossível parsear arquivo de template: erro (%s) na linha %s." 695 771 696 #: lib/wp-filebase_admin_gui_options.lib.php:78 772 #: classes/AdminGuiSettings.php:103 773 #@ wpfb 697 774 msgid "Category template successfully parsed." 698 775 msgstr "Template de categoria parseado com sucessso." 699 776 700 #: lib/wp-filebase_admin_gui_options.lib.php:109 777 #: classes/AdminGuiSettings.php:141 778 #@ wpfb 701 779 msgid "Settings updated." 702 780 msgstr "Configurações atualizadas." 703 781 704 #: lib/wp-filebase_download.lib.php:298 782 #: classes/Download.php:411 783 #@ wpfb 705 784 msgid "Could not read file!" 706 785 msgstr "Impossível ler o arquivo!" 707 786 708 #: lib/wp-filebase_form_cat.php:34 787 #: lib/wpfb_form_cat.php:35 788 #@ wpfb 709 789 msgid "Category Folder" 710 790 msgstr "Diretório da categoria" 711 791 712 #: lib/wp-filebase_form_cat.php:50 792 #: lib/wpfb_form_cat.php:51 793 #@ wpfb 713 794 msgid "Category Icon" 714 795 msgstr "Ícone da categoria" 715 796 716 #: lib/wp-filebase_form_cat.php:59 717 #: lib/wp-filebase_form_file.php:112 718 msgid "For members only" 719 msgstr "Apenas para membros" 720 721 #: lib/wp-filebase_form_cat.php:62 722 #: lib/wp-filebase_form_file.php:115 723 #, php-format 724 msgid "Minimum user level: (see %s)" 725 msgstr "Nível de usuário mínimo: (ver %s)" 726 727 #: lib/wp-filebase_form_cat.php:67 797 #: lib/wpfb_form_cat.php:77 798 #@ wpfb 728 799 msgid "Apply permission to all child files" 729 800 msgstr "Aplicar permissão para todos os arquivos filhos" 730 801 731 #: lib/wp-filebase_form_file.php:9 802 #: lib/wpfb_form_file.php:20 803 #@ wpfb 732 804 msgid "Edit File" 733 805 msgstr "Editar arquivo" 734 806 735 #: lib/wp-filebase_form_file.php:9 807 #: classes/Widget.php:163 808 #: classes/Widget.php:190 809 #@ wpfb 736 810 msgid "Upload File" 737 811 msgstr "Carregar arquivo" 738 812 739 #: lib/wp-filebase_form_file.php:15 740 msgid "Simple Form" 741 msgstr "Formulário simples" 742 743 #: lib/wp-filebase_form_file.php:22 813 #: classes/Output.php:429 814 #: lib/wpfb_form_file.php:186 815 #@ wpfb 744 816 msgid "Choose File" 745 817 msgstr "Escolha o arquivo" 746 818 747 #: lib/wp-filebase_form_file.php:24 748 #, php-format 749 msgid "Maximum file size: %s" 750 msgstr "Tamanho máximo do arquivo: %s" 751 752 #: lib/wp-filebase_form_file.php:32 819 #: lib/wpfb_form_file.php:213 820 #@ wpfb 753 821 msgid "You can optionally upload a thumbnail here. If the file is a valid image, a thumbnail is generated automatically." 754 822 msgstr "Você pode opcionalmente carregar um thumbnail aqui. Se o arquivo é uma imagem válida, um thumbnail é gerado automaticamente." 755 823 756 #: lib/wp-filebase_form_file.php:38 824 #: lib/wpfb_form_file.php:220 825 #@ wpfb 757 826 msgid "The following fields are optional." 758 827 msgstr "Os seguintes campos são opcionais." 759 828 760 #: lib/wp-filebase_form_file.php:75 829 #: lib/wpfb_form_file.php:264 830 #@ wpfb 761 831 msgid "Download Counter" 762 832 msgstr "Contador de downloads" 763 833 764 #: lib/wp-filebase_form_file.php:94 765 #: lib/wp-filebase_form_file.php:96 834 #: lib/wpfb_form_file.php:283 835 #: lib/wpfb_form_file.php:285 836 #@ wpfb 837 #@ default 766 838 msgid "Direct linking" 767 839 msgstr "Linkagem direta" 768 840 769 #: lib/wp-filebase_form_file.php:97 841 #: lib/wpfb_form_file.php:286 842 #@ wpfb 770 843 msgid "Allow direct linking" 771 844 msgstr "Habilitar linkagem direta" 772 845 773 #: lib/wp-filebase_form_file.php:98 846 #: lib/wpfb_form_file.php:287 847 #@ wpfb 774 848 msgid "Redirect to post" 775 849 msgstr "Redirecionar para post" 776 850 777 #: lib/wp-filebase_form_file.php:109 851 #: lib/wpfb_form_file.php:319 852 #@ wpfb 778 853 msgid "Offline" 779 854 msgstr "Offline" 780 855 781 #: lib/wp-filebase_widget.lib.php:87 856 #: classes/Widget.php:115 857 #: classes/Widget.php:396 858 #: classes/Widget.php:500 859 #@ wpfb 782 860 msgid "Limit:" 783 861 msgstr "Limite:" 784 862 785 #: lib/wp-filebase_widget.lib.php:92 863 #: classes/Widget.php:120 864 #: classes/Widget.php:504 865 #@ wpfb 786 866 msgid "Template:" 787 867 msgstr "Template:" 788 868 789 #. Description of an extension 790 msgid "A powerful download manager supporting file categories, thumbnails, traffic/bit rate limits and more." 791 msgstr "Um poderoso gerenciador de downloads que suporta categorias de arquivos, thumbnails, limites de tráfego/bitrate e muito mais." 792 793 #. Template 869 #: lib/wpfb_form_file.php:226 870 #@ default 794 871 msgid "Version" 795 872 msgstr "Versão" 796 873 874 #: classes/Admin.php:143 875 #: lib/wpfb_form_file.php:279 876 #@ default 797 877 msgid "Languages" 798 878 msgstr "Línguas" 799 879 880 #: classes/Admin.php:264 881 #: classes/Admin.php:330 882 #: lib/wpfb_form_file.php:230 883 #@ default 884 #@ wpfb 800 885 msgid "Author" 801 886 msgstr "Autor" 802 887 888 #: classes/Admin.php:246 889 #: classes/Admin.php:276 890 #: classes/AdminGuiFiles.php:176 891 #: classes/FileListTable.php:34 892 #: classes/Output.php:433 893 #: lib/wpfb_form_file.php:246 894 #@ default 803 895 msgid "Category" 804 896 msgstr "Categoria" 805 897 898 #: classes/Widget.php:95 899 #: classes/Widget.php:193 900 #: classes/Widget.php:474 901 #@ wpfb 902 #@ default 806 903 msgid "Category:" 807 904 msgstr "Categoria:" 808 905 906 #: classes/AdminGuiFiles.php:179 907 #: classes/FileListTable.php:37 908 #: lib/wpfb_form_file.php:233 909 #@ default 809 910 msgid "Date" 810 911 msgstr "Data" 811 912 812 msgid "Details" 813 msgstr "Detalhes" 814 815 #. Option Categories 913 #: classes/AdminGuiSettings.php:206 914 #@ wpfb 816 915 msgid "Common" 817 916 msgstr "Comum" 818 917 918 #: classes/AdminGuiSettings.php:207 919 #@ wpfb 819 920 msgid "Display" 820 921 msgstr "Exibição" 821 922 923 #: classes/AdminGuiSettings.php:211 924 #@ wpfb 822 925 msgid "Download" 823 926 msgstr "Download" 824 927 928 #: classes/AdminGuiSettings.php:213 929 #: lib/wpfb_form_file.php:335 930 #@ wpfb 825 931 msgid "Form Presets" 826 932 msgstr "Valores padrões de formulário" 827 933 934 #: classes/AdminGuiSettings.php:214 935 #@ wpfb 828 936 msgid "Limits" 829 937 msgstr "Limites" 830 938 939 #: classes/AdminGuiSettings.php:215 940 #@ wpfb 831 941 msgid "Security" 832 942 msgstr "Segurança" 833 943 944 #: classes/AdminGuiSettings.php:216 945 #@ wpfb 834 946 msgid "Templates and Scripts" 835 947 msgstr "Templates e Scripts" 836 948 949 #: classes/Widget.php:358 950 #@ wpfb 837 951 msgid "Before you can use this widget, please set a Post ID for the file browser in WP-Filebase settings." 838 952 msgstr "Antes que você possa utilizar este widget, por favor forneça um ID de post para o navegador de arquivos nas configurações do WP-Filebase" 839 953 954 #: classes/AdminGuiSupport.php:24 955 #@ wpfb 840 956 msgid "If you like WP-Filebase I would appreciate a small donation to support my work. You can additionally add an idea to make WP-Filebase even better. Just click the button below. Thank you!" 841 957 msgstr "Se você gostou do WP-Filebase eu apreciaria uma pequena doação para apoiar meu trabalho. Você pode adicionalmente incluir uma idéia para tornar o WP-Filebase ainda melhor. Apenas clique no botão abaixo. Obrigado!" 842 958 959 #: classes/Admin.php:23 960 #@ wpfb 961 msgid "downloads per day" 962 msgstr "downloads por dia" 963 964 #: classes/Admin.php:24 965 #, php-format 966 #@ wpfb 967 msgid "Daily limit for %s" 968 msgstr "Limite diário de %s" 969 970 #: classes/Admin.php:31 971 #, php-format 972 #@ wpfb 973 msgid "Last cron sync on %1$s at %2$s." 974 msgstr "Sincronia cron última em %1$s as %2$s." 975 976 #: classes/Admin.php:36 977 #@ wpfb 978 msgid "Path where all files are stored. Relative to WordPress' root directory." 979 msgstr "Caminho onde todos os arquivos são armazenados. Relativo ao diretório WordPress raiz." 980 981 #: classes/Admin.php:37 982 #@ default 983 msgid "Thumbnail size" 984 msgstr "tamanho da miniatura" 985 986 #: classes/Admin.php:37 987 #@ wpfb 988 msgid "The maximum side of the image is scaled to this value." 989 msgstr "O lado máximo da imagem é dimensionada para este valor." 990 991 #: classes/Admin.php:38 992 #@ wpfb 993 msgid "Thumbnail Path" 994 msgstr "Caminho Miniatura" 995 996 #: classes/Admin.php:38 997 #@ wpfb 998 msgid "Thumbnails can be stored at a different path than the actual files. Leave empty to use the default upload path." 999 msgstr "As miniaturas podem ser armazenados em um caminho diferente do que os arquivos reais. Deixe em branco para usar o padrão carregar caminho." 1000 1001 #: classes/Admin.php:40 1002 #@ wpfb 1003 msgid "Auto-detect thumbnails" 1004 msgstr "Detecção Automática miniaturas" 1005 1006 #: classes/Admin.php:40 1007 #@ wpfb 1008 msgid "Images are considered as thumbnails for files with the same name when syncing. (e.g `file.jpg` <=> `file.zip`)" 1009 msgstr "As imagens são consideradas como miniaturas de arquivos com o mesmo nome durante a sincronização. (p.ex `arquivo.jpg` <=> `arquivo.zip`)" 1010 1011 #: classes/Admin.php:42 1012 #@ wpfb 1013 msgid "Extension Blacklist" 1014 msgstr "Lista negra de extensão" 1015 1016 #: classes/Admin.php:42 1017 #@ wpfb 1018 msgid "Files with an extension in this list are skipped while synchronisation. (seperate with comma)" 1019 msgstr "Arquivos com a extensão na lista são ignorados enquanto a sincronização. (separar com vírgula)" 1020 1021 #: classes/Admin.php:44 1022 #@ wpfb 1023 msgid "Attachment Position" 1024 msgstr "Area anexo" 1025 1026 #: classes/Admin.php:44 1027 #@ wpfb 1028 msgid "Before the Content" 1029 msgstr "Antes do conteúdo" 1030 1031 #: classes/Admin.php:44 1032 #@ wpfb 1033 msgid "After the Content" 1034 msgstr "Após o conteúdo" 1035 1036 #: classes/Admin.php:46 1037 #@ wpfb 1038 msgid "Attachments in post lists" 1039 msgstr "Anexos em listas de correio" 1040 1041 #: classes/Admin.php:46 1042 #@ wpfb 1043 msgid "Attach files to posts in archives, index and search result." 1044 msgstr "Anexar arquivos em arquivos de índice, e resultado da pesquisa." 1045 1046 #: classes/Admin.php:51 1047 #: classes/Admin.php:80 1048 #: classes/Admin.php:83 1049 #: editor_plugin.php:310 1050 #@ default 1051 msgid "Sort Order:" 1052 msgstr "Ordem de classificação:" 1053 1054 #: classes/Admin.php:51 1055 #: classes/Admin.php:80 1056 #: classes/Admin.php:83 1057 #: classes/Widget.php:112 1058 #: classes/Widget.php:393 1059 #: classes/Widget.php:497 1060 #: editor_plugin.php:319 1061 #: editor_plugin.php:340 1062 #@ default 1063 msgid "Ascending" 1064 msgstr "ascendente" 1065 1066 #: classes/Admin.php:51 1067 #: classes/Admin.php:80 1068 #: classes/Admin.php:83 1069 #: classes/Widget.php:111 1070 #: classes/Widget.php:392 1071 #: classes/Widget.php:496 1072 #: editor_plugin.php:321 1073 #: editor_plugin.php:342 1074 #@ default 1075 msgid "Descending" 1076 msgstr "descendente" 1077 1078 #: classes/Admin.php:52 1079 #@ wpfb 1080 msgid "Number of files per page" 1081 msgstr "Número de arquivos por página" 1082 1083 #: classes/Admin.php:52 1084 #@ wpfb 1085 msgid "Length of the file list per page. Set to 0 to disable the limit." 1086 msgstr "Comprimento da lista de arquivos por página. Ajuste para 0 para desativar o limite." 1087 1088 #: classes/Admin.php:54 1089 #@ wpfb 1090 msgid "File Date Format" 1091 msgstr "Formato de data do arquivo" 1092 1093 #: classes/Admin.php:54 1094 #@ wpfb 1095 msgid "Date/Time formatting for files." 1096 msgstr "Data/Hora de formatação para arquivos." 1097 1098 #: classes/Admin.php:54 1099 #@ default 1100 msgid "<a href=\"http://codex.wordpress.org/Formatting_Date_and_Time\">Documentation on date and time formatting</a>." 1101 msgstr "<a href=\"http://codex.wordpress.org/Formatting_Date_and_Time\">Documentação sobre formatação de data e hora</a>." 1102 1103 #: classes/Admin.php:66 1104 #@ wpfb 1105 msgid "Daily user download limits" 1106 msgstr "Limites de download diários de usuários" 1107 1108 #: classes/Admin.php:66 1109 #@ wpfb 1110 msgid "If enabled, unregistered users cannot download any files. You can set different limits for each user role below." 1111 msgstr "Se ativado, os usuários não registrados não podem baixar os arquivos. Você pode definir limites diferentes para cada função de usuário abaixo." 1112 1113 #: classes/Admin.php:67 1114 #@ default 1115 msgctxt "User role" 1116 msgid "Subscriber" 1117 msgstr "assinante" 1118 1119 #: classes/Admin.php:68 1120 #@ default 1121 msgctxt "User role" 1122 msgid "Contributor" 1123 msgstr "contribuinte" 1124 1125 #: classes/Admin.php:69 1126 #@ default 1127 msgctxt "User role" 1128 msgid "Author" 1129 msgstr "autor" 1130 1131 #: classes/Admin.php:70 1132 #@ default 1133 msgctxt "User role" 1134 msgid "Editor" 1135 msgstr "editor" 1136 1137 #: classes/Admin.php:71 1138 #, php-format 1139 #@ wpfb 1140 msgid "You can only download %d files per day." 1141 msgstr "Você só pode baixar arquivos %d por dia." 1142 1143 #: classes/Admin.php:71 1144 #@ wpfb 1145 msgid "Daily limit exceeded message" 1146 msgstr "Limite diário ultrapassa mensagem" 1147 1148 #: classes/Admin.php:77 1149 #: classes/Admin.php:364 1150 #: lib/wpfb_form_file.php:259 1151 #@ default 1152 msgid "Select" 1153 msgstr "selecionar" 1154 1155 #: classes/Admin.php:79 1156 #@ wpfb 1157 msgid "File browser category sorting" 1158 msgstr "Categoria de arquivo do navegador de classificação" 1159 1160 #: classes/Admin.php:79 1161 #@ wpfb 1162 msgid "The category property categories in the file browser are sorted by" 1163 msgstr "As categorias da categoria de propriedade no navegador de arquivos são classificados por" 1164 1165 #: classes/Admin.php:82 1166 #@ wpfb 1167 msgid "File browser file sorting" 1168 msgstr "Arquivo de classificação navegador de arquivos" 1169 1170 #: classes/Admin.php:82 1171 #@ wpfb 1172 msgid "The file property files in the file browser are sorted by" 1173 msgstr "Os ficheiros de arquivo de propriedade no navegador de arquivos são classificados por" 1174 1175 #: classes/Admin.php:85 1176 #@ wpfb 1177 msgid "Files before Categories" 1178 msgstr "Arquivos antes de Categorias" 1179 1180 #: classes/Admin.php:85 1181 #@ wpfb 1182 msgid "Files will appear above categories in the file browser." 1183 msgstr "Arquivos aparecerá acima de categorias no navegador de arquivos." 1184 1185 #: classes/Admin.php:91 1186 #@ wpfb 1187 msgid "Send HTTP-Range header" 1188 msgstr "Enviar HTTP-Range cabeçalho." 1189 1190 #: classes/Admin.php:91 1191 #@ wpfb 1192 msgid "Allows users to pause downloads and continue later. In addition download managers can use multiple connections at the same time." 1193 msgstr "Permite que os usuários de downloads faça uma pausa e continue mais tarde. Além gerenciadores de download pode utilizar várias ligações ao mesmo tempo." 1194 1195 #: classes/Admin.php:92 1196 #@ wpfb 1197 msgid "Hide download links" 1198 msgstr "Ocultar links de download" 1199 1200 #: classes/Admin.php:92 1201 #, php-format 1202 #@ wpfb 1203 msgid "File download links wont be displayed in the browser's status bar. You should enable '%s' to make it even harder to find out the URL." 1204 msgstr "Links para este arquivo de download não vai ser exibido na barra de status do navegador. Você deve habilitar o '%s' para torná-lo ainda mais para descobrir a URL." 1205 1206 #: classes/Admin.php:95 1207 #@ wpfb 1208 msgid "You can enter a URL to redirect users." 1209 msgstr "Você pode digitar uma URL para redirecionar os usuários." 1210 1211 #: classes/Admin.php:97 1212 #@ wpfb 1213 msgid "Access to category denied!" 1214 msgstr "O acesso para a categoria foi negado!" 1215 1216 #: classes/Admin.php:97 1217 #@ wpfb 1218 msgid "Inaccessible category message" 1219 msgstr "Mensagem da categoria inacessível" 1220 1221 #: classes/Admin.php:97 1222 #@ wpfb 1223 msgid "This message will be displayed if users try to access a category without permission." 1224 msgstr "Esta mensagem será exibida se os usuários tentam acessar uma categoria sem permissão." 1225 1226 #: classes/Admin.php:98 1227 #@ wpfb 1228 msgid "Redirect to referring page after login" 1229 msgstr "Redirecionar para página de referência após o login" 1230 1231 #: classes/Admin.php:98 1232 #@ wpfb 1233 msgid "Users are redirected to the page where they clicked on the download link after logging in." 1234 msgstr "Os usuários são redirecionados para a página onde eles clicaram no link para download após o log in" 1235 1236 #: classes/Admin.php:100 1237 #@ wpfb 1238 msgid "Disable HTTP Caching" 1239 msgstr "Desativar cache HTTP" 1240 1241 #: classes/Admin.php:100 1242 #@ wpfb 1243 msgid "Enable this if you have problems with downloads while using Wordpress with a cache plugin." 1244 msgstr "Ativá-la se você tem problemas com downloads enquanto usa Wordpress com um plugin de cache." 1245 1246 #: classes/Admin.php:105 1247 #@ wpfb 1248 msgid "Protect upload path" 1249 msgstr "Proteger upload de caminho" 1250 1251 #: classes/Admin.php:105 1252 #@ wpfb 1253 msgid "This prevents direct access to files in the upload directory." 1254 msgstr "Isso impede o acesso direto a arquivos no diretório de upload." 1255 1256 #: classes/Admin.php:107 1257 #@ wpfb 1258 msgid "Private Files" 1259 msgstr "Arquivos Privados" 1260 1261 #: classes/Admin.php:107 1262 #@ wpfb 1263 msgid "Access to files is only permitted to owner and administrators." 1264 msgstr "O acesso aos arquivos só é permitido ao proprietário e administradores." 1265 1266 #: classes/Admin.php:109 1267 #@ wpfb 1268 msgid "Enable front end uploads" 1269 msgstr "Ativar o carregamento de front-end" 1270 1271 #: classes/Admin.php:109 1272 #@ wpfb 1273 msgid "Global option to allow file uploads from widgets and embedded file forms" 1274 msgstr "Opção global para permitir o upload de arquivos de widgets e formas de arquivo embutidos" 1275 1276 #: classes/Admin.php:115 1277 #@ wpfb 1278 msgid "Destroy session when downloading" 1279 msgstr "Destruir sessão ao fazer o download" 1280 1281 #: classes/Admin.php:115 1282 #@ wpfb 1283 msgid "Should be enabled to allow users to download multiple files at the same time. This does not interfere WordPress user sessions, but can cause trouble with other plugins using the global $_SESSION." 1284 msgstr "Deve ser ativado para permitir que os usuários façam download de vários arquivos ao mesmo tempo. Isso não interfere sessões de usuários do WordPress, mas pode causar problemas com outros plugins usando o global $_SESSION." 1285 1286 #: classes/Admin.php:119 1287 #@ wpfb 1288 msgid "Add WP-Filebase to admin menu bar" 1289 msgstr "Adicionar WP Filebase a barra de menu de administração" 1290 1291 #: classes/Admin.php:119 1292 #@ wpfb 1293 msgid "Display some quick actions for file management in the admin menu bar." 1294 msgstr "Exibir algumas ações rápidas para gerenciamento de arquivos na barra de menu de administração." 1295 1296 #: classes/Admin.php:122 1297 #@ wpfb 1298 msgid "Automatic Sync" 1299 msgstr "Sincronização automática" 1300 1301 #: classes/Admin.php:122 1302 #@ wpfb 1303 msgid "Schedules a cronjob to hourly synchronize the filesystem and the database." 1304 msgstr "Cronogramas de um cronjob para sincronizar o horário do sistema de arquivos e banco de dados." 1305 1306 #: classes/Admin.php:125 1307 #@ wpfb 1308 msgid "Search Integration" 1309 msgstr "Integração pesquisa" 1310 1311 #: classes/Admin.php:125 1312 #@ wpfb 1313 msgid "Searches in attached files and lists the associated posts and pages when searching the site." 1314 msgstr "Pesquisas em arquivos anexados e listas dos posts e páginas associadas ao pesquisar no site." 1315 1316 #: classes/Admin.php:127 1317 #@ wpfb 1318 msgid "Disable ID3 tag detection" 1319 msgstr "Desativar detecção de ID3 tag " 1320 1321 #: classes/Admin.php:127 1322 #@ wpfb 1323 msgid "This disables all meta file info reading. Use this option if you have issues adding large files." 1324 msgstr "Isso desativa todos os meta leitura de informações do arquivo. Use esta opção se você tem problemas de adição de arquivos grandes." 1325 1326 #: classes/Admin.php:128 1327 #@ wpfb 1328 msgid "Search ID3 Tags" 1329 msgstr "Pesquisar ID3 Tag" 1330 1331 #: classes/Admin.php:128 1332 #@ wpfb 1333 msgid "Search in file meta data, like ID3 for MP3 files, EXIF for JPEG... (this option does not increase significantly server load since all data is cached in a MySQL table)" 1334 msgstr "Pesquisa em metadados do arquivo, como ID3 para arquivos MP3, EXIF para JPEG ... (esta opção não aumenta a carga significativamente do servidor uma vez que todos os dados são armazenados em cache em uma tabela MySQL)" 1335 1336 #: classes/Admin.php:129 1337 #@ wpfb 1338 msgid "Use path instead of ID in Shortcode" 1339 msgstr "Usar caminho em vez de ID em Shortcode" 1340 1341 #: classes/Admin.php:129 1342 #@ wpfb 1343 msgid "Files and Categories are identified by paths and not by their IDs in the generated Shortcodes" 1344 msgstr "Arquivos e Categorias são identificados por caminhos e não por suas identificações nas Shortcodes gerados" 1345 1346 #: classes/Admin.php:130 1347 #@ wpfb 1348 msgid "Disable Name Formatting" 1349 msgstr "Desativar Formatação de Nome" 1350 1351 #: classes/Admin.php:130 1352 #@ wpfb 1353 msgid "This will disable automatic formatting/uppercasing file names when they are used as title (e.g. when syncing)" 1354 msgstr "Isto irá desativar a formatação automática/mudar pra maiúsculas nomes de arquivos quando eles são usados como título (por exemplo, quando sincronizar)" 1355 1356 #: classes/Admin.php:134 1357 #@ wpfb 1358 msgid "Remove WP-Filebase Footer credits" 1359 msgstr "Remover créditos WP Filebase-Rodapé" 1360 1361 #: classes/Admin.php:134 1362 #, php-format 1363 #@ wpfb 1364 msgid "This disables the footer credits only displayed on <a href=\"%s\">File Browser Page</a>. Why should you keep the credits? Every backlink helps WP-Filebase to get more popular, popularity motivates the developer to continue work on the plugin." 1365 msgstr "Isso desativa os créditos rodapé apenas mostradas em <a href=\"%s\">Página File Browser</a>. Por que você deve manter os créditos? Cada backlink ajuda WP Filebase para obter mais popular, a popularidade motiva o desenvolvedor para continuar o trabalho sobre o plugin." 1366 1367 #: classes/Admin.php:135 1368 #@ wpfb 1369 msgid "Footer credits Style" 1370 msgstr "Estilo de créditos Rodapé" 1371 1372 #: classes/Admin.php:135 1373 #@ wpfb 1374 msgid "Set custom CSS style for WP-Filebase footer credits" 1375 msgstr "Conjunto personalizado de estilo CSS para créditos WP Filebase-footer" 1376 1377 #: classes/Admin.php:136 1378 #@ wpfb 1379 msgid "Late script loading" 1380 msgstr "Carregamento roteiro final" 1381 1382 #: classes/Admin.php:136 1383 #@ wpfb 1384 msgid "Scripts will be included in content, not in header. Enable if your AJAX tree view does not work properly." 1385 msgstr "Scripts será incluído no conteúdo, e não no cabeçalho. Ativar se a sua exibição em árvore AJAX não funciona corretamente." 1386 1387 #: classes/Admin.php:138 1388 #@ wpfb 1389 msgid "Default Author" 1390 msgstr "Autor padrão" 1391 1392 #: classes/Admin.php:138 1393 #@ wpfb 1394 msgid "This author will be used as form default and when adding files with FTP" 1395 msgstr "Este autor será usado como forma padrão ao adicionar arquivos com FTP" 1396 1397 #: classes/Admin.php:139 1398 #@ wpfb 1399 msgid "Default User Roles" 1400 msgstr "Funções de usuário padrão" 1401 1402 #: classes/Admin.php:139 1403 #@ wpfb 1404 msgid "These roles are selected by default and will be used for files added with FTP" 1405 msgstr "Esses papéis são selecionados por padrão e será usado para arquivos adicionados com FTP" 1406 1407 #: classes/Admin.php:141 1408 #@ wpfb 1409 msgid "Default Category" 1410 msgstr "Categoria padrão" 1411 1412 #: classes/Admin.php:141 1413 #@ wpfb 1414 msgid "Preset Category in the file form" 1415 msgstr "Categoria predefinido na forma de arquivo" 1416 1417 #: classes/Admin.php:155 1418 #@ default 1419 msgid "Custom Fields" 1420 msgstr "Os campos personalizados" 1421 1422 #: classes/Admin.php:156 1423 #@ wpfb 1424 msgid "With custom fields you can add even more file properties." 1425 msgstr "Com campos personalizados que você pode adicionar propriedades do arquivo ainda mais." 1426 1427 #: classes/Admin.php:239 1428 #: classes/Admin.php:276 1429 #, php-format 1430 #@ default 1431 msgid "HTML image tag for a small icon (height %d)" 1432 msgstr "HTML marca de imagem de um pequeno ícone (altura %d)" 1433 1434 #: classes/Admin.php:243 1435 #@ wpfb 1436 msgid "Number of files in the category and all child categories" 1437 msgstr "Número de arquivos na categoria e todas as categorias de crianças" 1438 1439 #: classes/Admin.php:246 1440 #: classes/Admin.php:281 1441 #, php-format 1442 #@ wpfb 1443 msgid "Variable to check if the %s is accessible (boolean 0/1)" 1444 msgstr "Variável para verificar se o s% é acessível (booleano 0/1)" 1445 1446 #: classes/Admin.php:252 1447 #: classes/Admin.php:314 1448 #: lib/wpfb_form_file.php:224 1449 #@ wpfb 1450 #@ default 1451 msgid "Title" 1452 msgstr "Título" 1453 1454 #: classes/Admin.php:256 1455 #@ wpfb 1456 msgid "Download URL encoded for use in query strings" 1457 msgstr "Baixar URL codificada para uso em cadeias de consulta" 1458 1459 #: classes/Admin.php:265 1460 #: lib/wpfb_form_file.php:299 1461 #@ default 1462 msgid "Tags" 1463 msgstr "etiquetas" 1464 1465 #: classes/Admin.php:275 1466 #@ wpfb 1467 msgid "URL of the category icon (if any)" 1468 msgstr "URL do ícone da categoria (se houver)" 1469 1470 #: classes/Admin.php:281 1471 #@ wpfb 1472 msgid "File" 1473 msgstr "Arquivo" 1474 1475 #: classes/Admin.php:288 1476 #: classes/Admin.php:334 1477 #@ wpfb 1478 msgid "User Name of the owner" 1479 msgstr "Nome de usuário do proprietário" 1480 1481 #: classes/Admin.php:295 1482 #, php-format 1483 #@ wpfb 1484 msgid "Lowercase file extension (e.g. '%s')" 1485 msgstr "Extensão de arquivo em minúsculas (por exemplo, '%s')" 1486 1487 #: classes/Admin.php:296 1488 #, php-format 1489 #@ wpfb 1490 msgid "File content type (e.g. '%s')" 1491 msgstr "Tipo de conteúdo do arquivo (por exemplo, '%s')" 1492 1493 #: classes/Admin.php:306 1494 #@ wpfb 1495 msgid "ID of the current post or page" 1496 msgstr "ID do post atual ou página" 1497 1498 #: classes/Admin.php:307 1499 #, php-format 1500 #@ wpfb 1501 msgid "Plugin root URL (%s)" 1502 msgstr "URL raiz do Plugin (%s)" 1503 1504 #: classes/Admin.php:323 1505 #@ default 1506 msgid "Relative path of the file" 1507 msgstr "Caminho relativo do arquivo" 1508 1509 #: classes/Admin.php:324 1510 #@ default 1511 msgid "File ID" 1512 msgstr "ID do arquivo" 1513 1514 #: classes/Admin.php:326 1515 #: classes/Admin.php:345 1516 #@ wpfb 1517 msgid "Category Name" 1518 msgstr "Nome da Categoria" 1519 1520 #: classes/Admin.php:327 1521 #: classes/Admin.php:350 1522 #@ wpfb 1523 msgid "Category ID" 1524 msgstr "Categoria ID" 1525 1526 #: classes/Admin.php:346 1527 #@ wpfb 1528 msgid "Name of the Category folder" 1529 msgstr "Nome da pasta Categoria" 1530 1531 #: classes/Admin.php:349 1532 #@ wpfb 1533 msgid "Relative path of the category folder" 1534 msgstr "Caminho relativo da pasta de categoria" 1535 1536 #: classes/Admin.php:351 1537 #@ wpfb 1538 msgid "Parent Category ID" 1539 msgstr "Categoria ID pai" 1540 1541 #: classes/Admin.php:353 1542 #@ wpfb 1543 msgid "Number of files directly in the category" 1544 msgstr "Número de arquivos diretamente na categoria" 1545 1546 #: classes/Admin.php:354 1547 #@ wpfb 1548 msgid "Number of all files in the category and all sub-categories" 1549 msgstr "Número de todos os arquivos da categoria e todas as sub-categorias" 1550 1551 #: classes/Admin.php:356 1552 #@ wpfb 1553 msgid "Custom Category Order" 1554 msgstr "Ordem categoria personalizada" 1555 1556 #: classes/Admin.php:368 1557 #@ wpfb 1558 msgid "For some files there are more tags available. You find a list of all tags below the form when editing a file." 1559 msgstr "Para alguns arquivos há mais tags disponíveis. Você encontrará uma lista de todas as tags abaixo do formulário ao editar um arquivo." 1560 1561 #: classes/Admin.php:539 1562 #: classes/Admin.php:787 1563 #, php-format 1564 #@ wpfb 1565 msgid "Could not get file information from %s!" 1566 msgstr "Não foi possível obter informações de arquivos de %s!" 1567 1568 #: classes/Admin.php:563 1569 #@ wpfb 1570 msgid "Only HTTP links are supported." 1571 msgstr "Apenas links HTTP são suportados." 1572 1573 #: classes/Admin.php:783 1574 #@ default 1575 msgid "Invalid URL Provided." 1576 msgstr "URL fornecido é inválido." 1577 1578 #: classes/Admin.php:788 1579 #@ default 1580 msgid "Could not create Temporary file." 1581 msgstr "Não foi possível criar arquivo temporário." 1582 1583 #: classes/Admin.php:1090 1584 #: classes/Admin.php:1096 1585 #: classes/Admin.php:1124 1586 #: classes/AdminGuiCats.php:34 1587 #: classes/AdminGuiCss.php:31 1588 #: classes/AdminGuiFiles.php:22 1589 #: classes/AdminGuiFiles.php:42 1590 #: classes/AdminGuiFiles.php:64 1591 #: classes/AdminGuiFiles.php:69 1592 #: classes/AdminGuiFiles.php:74 1593 #: classes/AdminGuiFiles.php:95 1594 #: classes/AdminGuiSettings.php:11 1595 #: classes/AdminGuiSettings.php:15 1596 #: classes/File.php:466 1597 #: editor_plugin.php:31 1598 #: editor_plugin.php:54 1599 #: editor_plugin.php:229 1600 #: wpfb-ajax.php:212 1601 #: wpfb-postbrowser.php:4 1602 #@ default 1603 msgid "Cheatin’ uh?" 1604 msgstr "Trapaceando’ uh?" 1605 1606 #: classes/Admin.php:1104 1607 #: classes/Admin.php:1129 1608 #@ default 1609 msgid "Error " 1610 msgstr "Erro" 1611 1612 #: classes/Admin.php:1107 1613 #@ wpfb 1614 msgid "The File has been uploaded successfully." 1615 msgstr "O arquivo foi enviado com sucesso." 1616 1617 #: classes/Admin.php:1132 1618 #@ wpfb 1619 msgid "New Category created." 1620 msgstr "Nova categoria criada." 1621 1622 #: classes/Admin.php:1135 1623 #: classes/AdminGuiCats.php:75 1624 #@ wpfb 1625 #@ default 1626 msgid "Category added." 1627 msgstr "Categoria adicionada." 1628 1629 #: classes/Admin.php:1192 1630 #, php-format 1631 #@ wpfb 1632 msgid "Could not move thumnail %s to %s." 1633 msgstr "Não foi possível mover thumnail %s para %s." 1634 1635 #: classes/Admin.php:1196 1636 #, php-format 1637 #@ wpfb 1638 msgid "%d Thumbnails moved." 1639 msgstr "%d Miniaturas movidas." 1640 1641 #: classes/Admin.php:1212 1642 #: classes/Output.php:411 1643 #@ wpfb 1644 msgid "Everyone" 1645 msgstr "Todo o mundo" 1646 1647 #: classes/AdminGuiCats.php:75 1648 #@ default 1649 msgid "Category updated." 1650 msgstr "Categoria atualizado." 1651 1652 #: classes/AdminGuiCats.php:92 1653 #: classes/AdminGuiFiles.php:108 1654 #, php-format 1655 #@ default 1656 msgid "Search results for “%s”" 1657 msgstr "Resultados da busca por “%s”" 1658 1659 #: classes/AdminGuiCats.php:100 1660 #: classes/AdminGuiCats.php:102 1661 #@ default 1662 msgid "Search Categories" 1663 msgstr "Categorias de busca" 1664 1665 #: classes/AdminGuiCats.php:138 1666 #: classes/AdminGuiFiles.php:160 1667 #: classes/AdminGuiTpls.php:252 1668 #: classes/Core.php:501 1669 #: classes/FileListTable.php:60 1670 #: editor_plugin.php:257 1671 #: lib/wpfb_form_cat.php:55 1672 #: lib/wpfb_form_file.php:217 1673 #@ default 1674 msgid "Delete" 1675 msgstr "Excluir" 1676 1677 #: classes/AdminGuiCats.php:147 1678 #: classes/AdminGuiFiles.php:172 1679 #: classes/AdminGuiTpls.php:224 1680 #: classes/AdminGuiTpls.php:232 1681 #: classes/FileListTable.php:30 1682 #@ default 1683 msgid "Name" 1684 msgstr "Nome" 1685 1686 #: classes/AdminGuiCats.php:148 1687 #: classes/AdminGuiFiles.php:175 1688 #: lib/wpfb_form_cat.php:47 1689 #: lib/wpfb_form_file.php:295 1690 #@ default 1691 msgid "Description" 1692 msgstr "Descrição" 1693 1694 #: classes/AdminGuiCats.php:150 1695 #: classes/Widget.php:234 1696 #: lib/wpfb_form_cat.php:40 1697 #@ default 1698 msgid "Parent Category" 1699 msgstr "Categoria pai" 1700 1701 #: classes/AdminGuiCats.php:151 1702 #@ default 1703 msgid "Path" 1704 msgstr "Caminho" 1705 1706 #: classes/AdminGuiCats.php:152 1707 #: classes/AdminGuiFiles.php:177 1708 #: classes/FileListTable.php:35 1709 #: lib/wpfb_form_cat.php:60 1710 #: lib/wpfb_form_file.php:304 1711 #@ wpfb 1712 msgid "Access Permission" 1713 msgstr "Permissão de Acesso" 1714 1715 #: classes/AdminGuiCats.php:153 1716 #: lib/wpfb_form_cat.php:86 1717 #@ wpfb 1718 msgid "Custom Sort Order" 1719 msgstr "Ordem personalizada" 1720 1721 #: classes/AdminGuiCss.php:23 1722 #, php-format 1723 #@ wpfb 1724 msgid "Custom CSS does only work if upload path is relative to WordPress path. It is currently set to <code>%s</code>, so <b>custom CSS will not work!</b>" 1725 msgstr "Personalizado CSS só funciona se o caminho de upload é relativo ao caminho WordPress. Ele está definido para <code> %s </ code>, assim <b> personalizado CSS não vai funcionar! </b>" 1726 1727 #: classes/AdminGuiFiles.php:58 1728 #@ wpfb 1729 msgid "You do not have the permission to edit this file!" 1730 msgstr "Você não tem permissão para editar este arquivo!" 1731 1732 #: classes/AdminGuiFiles.php:88 1733 #: classes/AdminGuiManage.php:54 1734 #@ default 1735 msgid "Go back" 1736 msgstr "Voltar" 1737 1738 #: classes/AdminGuiFiles.php:171 1739 #: classes/FileListTable.php:29 1740 #@ default 1741 msgid "ID" 1742 msgstr "ID" 1743 1744 #: classes/AdminGuiFiles.php:178 1745 #: classes/FileListTable.php:36 1746 #@ wpfb 1747 msgid "Owner" 1748 msgstr "Proprietário" 1749 1750 #: classes/AdminGuiFiles.php:182 1751 #@ default 1752 msgid "Rating" 1753 msgstr "Classificação" 1754 1755 #: classes/AdminGuiFiles.php:279 1756 #, php-format 1757 #@ wpfb 1758 msgid "The following tags can be used in templates. For example, if you want to display the Artist of a MP3 File, put %s inside the template code." 1759 msgstr "As seguintes tags podem ser usados em modelos. Por exemplo, se você deseja exibir o artista de um arquivo MP3, colocar %s dentro do código do modelo." 1760 1761 #: classes/AdminGuiFiles.php:285 1762 #@ wpfb 1763 msgid "Keywords used for search:" 1764 msgstr "Palavras-chave utilizadas para a busca:" 1765 1766 #: classes/AdminGuiManage.php:78 1767 #@ wpfb 1768 msgid "WP-Filebase content tags must be converted" 1769 msgstr "Etiquetas WP Filebase de conteúdo deve ser convertido" 1770 1771 #: classes/AdminGuiManage.php:84 1772 #, php-format 1773 #@ wpfb 1774 msgid "File Browser post or page not set! Some features like search will not work. <a href=\"%s\">Click here to set the File Browser Post ID.</a>" 1775 msgstr "Mensagem ou página não definido no navegador de arquivos! Alguns recursos como busca não irá funcionar.<a href=\"%s\"> Clique aqui para definir o arquivo Post ID Browser. </a>" 1776 1777 #: classes/AdminGuiManage.php:84 1778 #: classes/AdminGuiSettings.php:208 1779 #: classes/AdminHowToStart.php:32 1780 #@ wpfb 1781 msgid "File Browser" 1782 msgstr "Navegador de Arquivos" 1783 1784 #: classes/AdminGuiManage.php:101 1785 #@ wpfb 1786 msgid "Like this plugin?" 1787 msgstr "Gostou deste plugin?" 1788 1789 #: classes/AdminGuiManage.php:144 1790 #@ wpfb 1791 msgid "Total File Size" 1792 msgstr "Tamanho total do arquivo" 1793 1794 #: classes/AdminGuiManage.php:154 1795 #@ wpfb 1796 msgid "Statistics" 1797 msgstr "Estatística" 1798 1799 #: classes/AdminGuiManage.php:157 1800 #@ wpfb 1801 msgid "Number of Files" 1802 msgstr "Número de Arquivos" 1803 1804 #: classes/AdminGuiManage.php:161 1805 #@ wpfb 1806 msgid "Number of Categories" 1807 msgstr "Número de Categorias" 1808 1809 #: classes/AdminGuiManage.php:165 1810 #@ wpfb 1811 msgid "Total Downloads" 1812 msgstr "Total de downloads" 1813 1814 #: classes/AdminGuiManage.php:174 1815 #@ default 1816 msgid "Tools" 1817 msgstr "Ferramentas" 1818 1819 #: classes/AdminGuiManage.php:178 1820 #@ wpfb 1821 msgid "Convert old Tags" 1822 msgstr "Converter tags antigas" 1823 1824 #: classes/AdminGuiManage.php:178 1825 #, php-format 1826 #@ wpfb 1827 msgid "Convert tags from versions earlier than %s." 1828 msgstr "Converter tags de versões anteriores a %s." 1829 1830 #: classes/AdminGuiManage.php:179 1831 #@ wpfb 1832 msgid "Add multiple URLs" 1833 msgstr "Adicionar várias URLs" 1834 1835 #: classes/AdminGuiManage.php:179 1836 #@ wpfb 1837 msgid "Add multiple remote files at once." 1838 msgstr "Adicionar vários arquivos remotos de uma só vez." 1839 1840 #: classes/AdminGuiManage.php:191 1841 #@ default 1842 msgid "About" 1843 msgstr "Sobre" 1844 1845 #: classes/AdminGuiManage.php:200 1846 #@ default 1847 msgid "Tag Conversion" 1848 msgstr "Conversão tag" 1849 1850 #: classes/AdminGuiManage.php:203 1851 #@ default 1852 msgid "<strong>Important:</strong> before updating, please <a href=\"http://codex.wordpress.org/WordPress_Backups\">backup your database and files</a>. For help with updates, visit the <a href=\"http://codex.wordpress.org/Updating_WordPress\">Updating WordPress</a> Codex page." 1853 msgstr "<strong>Importante:</strong> antes de atualizar, por favor <a href=\"http://codex.wordpress.org/WordPress_Backups\">faça backup de seu banco de dados e arquivos</a>. Para obter ajuda com as atualizações, visite o<a href=\"http://codex.wordpress.org/Updating_WordPress\">Atualizando WordPress</a> Codex página." 1854 1855 #: classes/AdminGuiManage.php:205 1856 #@ default 1857 msgid "Continue" 1858 msgstr "Continuar" 1859 1860 #: classes/AdminGuiManage.php:210 1861 #, php-format 1862 #@ default 1863 msgid "%d Tags in %d Posts has been converted." 1864 msgstr "%d Tags em %d Mensagens foram convertido." 1865 1866 #: classes/AdminGuiManage.php:224 1867 #@ default 1868 msgid "Errors" 1869 msgstr "Erros" 1870 1871 #: classes/AdminGuiManage.php:248 1872 #, php-format 1873 #@ default 1874 msgid "%d Files removed" 1875 msgstr "Arquivos %d removido." 1876 1877 #: classes/AdminGuiManage.php:261 1878 #, php-format 1879 #@ default 1880 msgid "%d Categories removed" 1881 msgstr "Categorias %d removido" 1882 1883 #: classes/AdminGuiManage.php:265 1884 #@ default 1885 msgid "Synchronisation" 1886 msgstr "Sincronização" 1887 1888 #: classes/AdminGuiSettings.php:192 1889 #: classes/AdminLite.php:52 1890 #@ default 1891 msgid "Settings" 1892 msgstr "Configurações" 1893 1894 #: classes/AdminGuiSettings.php:197 1895 #: classes/AdminGuiSettings.php:311 1896 #@ default 1897 msgid "Save Changes" 1898 msgstr "Salvar alterações" 1899 1900 #: classes/AdminGuiSettings.php:217 1901 #@ default 1902 msgid "Misc" 1903 msgstr "Variados" 1904 1905 #: classes/AdminGuiSettings.php:312 1906 #@ wpfb 1907 msgid "Restore Default Settings" 1908 msgstr "Restaurar as configurações padrão" 1909 1910 #: classes/AdminGuiSettings.php:312 1911 #@ wpfb 1912 msgid "All settings (including default file and category template) will be set to default values. Continue?" 1913 msgstr "Todas as configurações (incluindo arquivo padrão e modelo da categoria) serão definidas para valores padrão. Continuar?" 1914 1915 #: classes/AdminGuiTpls.php:52 1916 #@ wpfb 1917 msgid "Type missing!" 1918 msgstr "Digito faltando!" 1919 1920 #: classes/AdminGuiTpls.php:53 1921 #@ wpfb 1922 msgid "Please enter a template tag." 1923 msgstr "Por favor insira um tag." 1924 1925 #: classes/AdminGuiTpls.php:179 1926 #: classes/AdminLite.php:38 1927 #@ default 1928 msgid "Categories" 1929 msgstr "Categorias" 1930 1931 #: classes/AdminGuiTpls.php:184 1932 #@ wpfb 1933 msgid "Templates used for single embedded files or file lists." 1934 msgstr "Modelos usados para um único arquivos incorporados ou listas de arquivos." 1935 1936 #: classes/AdminGuiTpls.php:189 1937 #@ wpfb 1938 msgid "These templates can be used for categories." 1939 msgstr "Estes modelos podem ser utilizados para as categorias." 1940 1941 #: classes/AdminGuiTpls.php:194 1942 #@ wpfb 1943 msgid "A list-template consists of header, footer and file template. It can optionally have a category template to list sub-categories." 1944 msgstr "A lista de modelos consiste em modelo de cabeçalho, rodapé e arquivo. Ele pode, opcionalmente, ter um modelo de categoria para listar sub-categorias." 1945 1946 #: classes/AdminGuiTpls.php:202 1947 #@ wpfb 1948 msgid "This will reset all File, Category and List Templates! Are your sure?" 1949 msgstr "Isso irá redefinir todos os modelos da categoria Arquivo e Lista! Tem certeza?" 1950 1951 #: classes/AdminGuiTpls.php:203 1952 #@ wpfb 1953 msgid "Reset all Templates to default" 1954 msgstr "Redefinir todos os modelos para o padrão" 1955 1956 #: classes/AdminGuiTpls.php:225 1957 #: classes/AdminGuiTpls.php:233 1958 #: classes/AdminGuiTpls.php:344 1959 #@ default 1960 msgid "Preview" 1961 msgstr "Visualização" 1962 1963 #: classes/AdminGuiTpls.php:250 1964 #: classes/FileListTable.php:63 1965 #, php-format 1966 #@ default 1967 msgid "Edit “%s”" 1968 msgstr "Editar “%s”" 1969 1970 #: classes/AdminGuiTpls.php:251 1971 #@ default 1972 msgid "Edit this item" 1973 msgstr "Editar este item" 1974 1975 #: classes/AdminGuiTpls.php:251 1976 #: classes/Core.php:499 1977 #: classes/FileListTable.php:59 1978 #: editor_plugin.php:259 1979 #@ default 1980 msgid "Edit" 1981 msgstr "Editar" 1982 1983 #: classes/AdminGuiTpls.php:252 1984 #@ default 1985 msgid "Delete this item permanently" 1986 msgstr "Excluir este item permanentemente" 1987 1988 #: classes/AdminGuiTpls.php:292 1989 #@ wpfb 1990 msgid "Add TemplateEdit Template" 1991 msgstr "Adicionar Molde Editar" 1992 1993 #: classes/AdminGuiTpls.php:306 1994 #@ wpfb 1995 msgid "Header" 1996 msgstr "Cabeçalho" 1997 1998 #: classes/AdminGuiTpls.php:318 1999 #@ wpfb 2000 msgid "File Template" 2001 msgstr "Modelo de arquivo" 2002 2003 #: classes/AdminGuiTpls.php:324 2004 #@ wpfb 2005 msgid "Footer" 2006 msgstr "Rodapé" 2007 2008 #: classes/AdminGuiTpls.php:338 2009 #@ wpfb 2010 msgid "Add TemplateSubmit Template Changes" 2011 msgstr "Adicionar Modelo Enviar alterações do modelo" 2012 2013 #: classes/AdminGuiTpls.php:354 2014 #: editor_plugin.php:314 2015 #@ default 2016 msgid "Default" 2017 msgstr "Padrão" 2018 2019 #: classes/AdminHowToStart.php:21 2020 #, php-format 2021 #@ wpfb 2022 msgid "How to get started with %s?" 2023 msgstr "Como começar com %s?" 2024 2025 #: classes/AdminHowToStart.php:24 2026 #@ wpfb 2027 msgid "Create a Category" 2028 msgstr "Criar uma categoria" 2029 2030 #: classes/AdminHowToStart.php:26 2031 #@ wpfb 2032 msgid "Add a file. There are different ways:" 2033 msgstr "Adicionar um arquivo. Há maneiras diferentes:" 2034 2035 #: classes/AdminHowToStart.php:28 2036 #, php-format 2037 #@ wpfb 2038 msgid "<a href=\"%s\">Use the normal File Upload Form.</a> You you can either upload a file from you local harddisk or you can provide a URL to a file that will be sideloaded to your blog." 2039 msgstr "<a href=\"%s\">Utilize o formulário de upload de arquivo normal.</a>Você pode fazer o upload de um arquivo de você disco rígido local ou você pode fornecer uma URL para um arquivo que será sideloaded no seu blog." 2040 2041 #: classes/AdminHowToStart.php:29 2042 #, php-format 2043 #@ wpfb 2044 msgid "Use FTP: Use your favorite FTP Client to upload any directories/files to <code>%s</code>. Afterwards <a href=\"%s\">sync the filebase</a> to add the newly uploaded files to the database." 2045 msgstr "Usar FTP: Use o seu cliente FTP favorito para carregar todos os diretórios / arquivos para <code>%s</code> Afterwards <a href=\"%s\"> sincronizar o filebase </a> para adicionar os arquivos recém-enviados para o banco de dados." 2046 2047 #: classes/AdminHowToStart.php:32 2048 #, php-format 2049 #@ wpfb 2050 msgid "Goto <a href=\"%s\">WP-Filebase Settings -> Filebrowser</a> and set the Page ID to get a nice AJAX Tree View of all your files." 2051 msgstr "Ir a <a href=\"%s\"> Definições WP Filebase ->Filebrowser </a> e definir o ID da página para obter uma exibição de árvore agradável AJAX de todos os seus arquivos." 2052 2053 #: classes/AdminHowToStart.php:33 2054 #, php-format 2055 #@ wpfb 2056 msgid "WP-Filebase adds a new button to the visual editor. When creating or editing posts/pages, use the Editor Plugin %s to insert single files, file lists and other stuff into your content." 2057 msgstr "WP-Filebase adiciona um novo botão para o editor visual. Ao criar ou editar mensagens / páginas, utilize o Editor Plugin %s para inserir arquivos individuais, listas de arquivos e outras coisas em seu conteúdo." 2058 2059 #: classes/AdminHowToStart.php:34 2060 #, php-format 2061 #@ wpfb 2062 msgid "Take a look at the <a href=\"%s\">Widgets</a>. WP-Filebase adds three widgets for file listing, category listing and user uploads." 2063 msgstr "Dê uma olhada na <a href=\"%s\">Widgets</a>. WP-Filebase acrescenta três widgets para upload de arquivos anúncio Listing categoria, e do usuário." 2064 2065 #: classes/AdminHowToStart.php:35 2066 #, php-format 2067 #@ wpfb 2068 msgid "<a href=\"%s\">Manage the Templates</a> (for advanced users): You can modify any file- or category template to fit your Wordpress theme." 2069 msgstr "<a href=\"%s\">Gerenciar os Modelos</a> para usuários avançados): Você pode modificar qualquer modelo de arquivo ou categoria para caber seu tema Wordpress." 2070 2071 #: classes/AdminHowToStart.php:38 2072 #@ wpfb 2073 msgid "Never show this again." 2074 msgstr "Nunca mostrar isso de novo." 2075 2076 #: classes/AdminLite.php:20 2077 #@ wpfb 2078 msgid "DEPRECATED" 2079 msgstr "OBSOLETO" 2080 2081 #: classes/AdminLite.php:60 2082 #@ wpfb 2083 msgid "tit" 2084 msgstr "teta" 2085 2086 #: classes/Core.php:51 2087 #@ wpfb 2088 msgid "Deprecated, use other widget instead!" 2089 msgstr "Obsoleta, use outro widget!" 2090 2091 #: classes/Core.php:307 2092 #, php-format 2093 #@ wpfb 2094 msgid "<a href=\"%s\" title=\"Wordpress Download Manager Plugin\" style=\"color:inherit;font-size:inherit;\">Downloads served by WP-Filebase</a>" 2095 msgstr "<a href=\"%s\" title=\"Gerencador de Plugin de Download Wordpress\" style=\"color:inherit;font-size:inherit;\">Download servido por WP-Filebase</a>" 2096 2097 #: classes/Core.php:544 2098 #: classes/Core.php:553 2099 #: lib/wpfb_form_file.php:20 2100 #@ wpfb 2101 msgid "Add File" 2102 msgstr "Adicionar Arquivo" 2103 2104 #: classes/Core.php:558 2105 #@ wpfb 2106 msgid "Manage attachments" 2107 msgstr "Gerenciar anexos" 2108 2109 #: classes/Item.php:477 2110 #, php-format 2111 #@ default 2112 msgid "Unable to create directory %s. Is it's parent directory writable?" 2113 msgstr "Não foi possível criar diretório %s. O diretório pai é gravável?" 2114 2115 #: classes/Output.php:279 2116 #@ default 2117 msgid "None" 2118 msgstr "Nenhum" 2119 2120 #: classes/Output.php:431 2121 #: lib/wpfb_form_file.php:188 2122 #, php-format 2123 #@ default 2124 msgid "Maximum upload file size: %d%s" 2125 msgstr "Tamanho máximo de arquivo de upload: %d%s" 2126 2127 #: classes/Output.php:439 2128 #@ default 2129 msgctxt "file" 2130 msgid "Add New" 2131 msgstr "Adicionar Novo" 2132 2133 #: classes/PLUpload.php:50 2134 #: classes/SWFUpload.php:51 2135 #, php-format 2136 #@ wpfb 2137 msgid "File %s uploaded." 2138 msgstr "Ficheiro %s enviado." 2139 2140 #: classes/PLUpload.php:116 2141 #@ default 2142 msgid "Allowed Files" 2143 msgstr "Arquivos permitidos" 2144 2145 #: classes/PLUpload.php:137 2146 #@ default 2147 msgid "Drop files here" 2148 msgstr "Solte os arquivos aqui" 2149 2150 #: classes/PLUpload.php:137 2151 #@ default 2152 msgctxt "Uploader: Drop files here - or - Select Files" 2153 msgid "or" 2154 msgstr "ou" 2155 2156 #: classes/PLUpload.php:137 2157 #: classes/SWFUpload.php:102 2158 #@ default 2159 msgid "Select Files" 2160 msgstr "Selecionar arquivos" 2161 2162 #: classes/PLUpload.php:145 2163 #@ default 2164 msgid "Your browser has some limitations uploading large files with the multi-file uploader. Please use the browser uploader for files over 100MB." 2165 msgstr "Seu navegador tem algumas limitações de upload de arquivos grandes com o uploader multi-arquivo. Por favor use o uploader navegador para arquivos maiores de 100MB." 2166 2167 #: classes/ProgressReporter.php:75 2168 #, php-format 2169 #@ wpfb 2170 msgid "%d files <i>%s</i>" 2171 msgstr "%d arquivos <i>%s</i>" 2172 2173 #: classes/SWFUpload.php:148 2174 #@ default 2175 msgid "Cancel Upload" 2176 msgstr "Cancelar Envio" 2177 2178 #: classes/Sync.php:34 2179 #@ wpfb 2180 msgid "Checking for file changes..." 2181 msgstr "Verificando alterações de arquivo ..." 2182 2183 #: classes/Sync.php:47 2184 #@ wpfb 2185 msgid "Searching for new files..." 2186 msgstr "Procurando por novos arquivos ..." 2187 2188 #: classes/Sync.php:96 2189 #, php-format 2190 #@ wpfb 2191 msgid "%d Files found, %d new." 2192 msgstr "%d Arquivos encontrados, %d novo." 2193 2194 #: classes/Sync.php:132 2195 #, php-format 2196 #@ wpfb 2197 msgid "Sync Time: %01.2f s, Memory Peak: %s" 2198 msgstr "Sincronizar Hora: %01.2f s, Pico da memória: %s" 2199 2200 #: classes/Sync.php:158 2201 #, php-format 2202 #@ wpfb 2203 msgid "Category (ID %d) of file %s does not exist!" 2204 msgstr "Categoria (ID %d) do arquivo %s não existe!" 2205 2206 #: classes/Sync.php:411 2207 #, php-format 2208 #@ wpfb 2209 msgid "%d Files could not be found." 2210 msgstr "%d Arquivo não pôde ser encontrado." 2211 2212 #: classes/Sync.php:411 2213 #: classes/Sync.php:413 2214 #@ default 2215 msgid "Remove entries from database" 2216 msgstr "Remova as entradas do banco de dados" 2217 2218 #: classes/Sync.php:413 2219 #, php-format 2220 #@ wpfb 2221 msgid "%d Category Folders could not be found." 2222 msgstr "%d Pastas de categorias não pôde ser encontrado." 2223 2224 #: classes/Widget.php:90 2225 #: classes/Widget.php:192 2226 #: classes/Widget.php:253 2227 #: classes/Widget.php:297 2228 #: classes/Widget.php:373 2229 #: classes/Widget.php:470 2230 #@ default 2231 msgid "Title:" 2232 msgstr "Título:" 2233 2234 #: classes/Widget.php:96 2235 #: classes/Widget.php:476 2236 #: editor_plugin.php:351 2237 #@ default 2238 msgid "All" 2239 msgstr "Todos" 2240 2241 #: classes/Widget.php:100 2242 #: classes/Widget.php:382 2243 #: classes/Widget.php:486 2244 #: editor_plugin.php:312 2245 #@ default 2246 msgid "Sort by:" 2247 msgstr "Classificar por:" 2248 2249 #: classes/Widget.php:150 2250 #@ default 2251 msgid "File Upload" 2252 msgstr "Upload de Arquivo" 2253 2254 #: classes/Widget.php:150 2255 #@ wpfb 2256 msgid "Allows users to upload files from the front end." 2257 msgstr "Permite aos usuários fazer upload de arquivos a partir do final da frente." 2258 2259 #: classes/Widget.php:186 2260 #@ wpfb 2261 msgid "Frontend upload is disabled in security settings!" 2262 msgstr "Frontend upload é desativado nas configurações de segurança!" 2263 2264 #: classes/Widget.php:195 2265 #: editor_plugin.php:365 2266 #@ wpfb 2267 msgid "Selectable by Uploader" 2268 msgstr "Selecionável pelo Uploader" 2269 2270 #: classes/Widget.php:196 2271 #: editor_plugin.php:366 2272 #@ wpfb 2273 msgid "Upload to Root" 2274 msgstr "Enviar para Root" 2275 2276 #: classes/Widget.php:199 2277 #: editor_plugin.php:370 2278 #@ wpfb 2279 msgid "Overwrite existing files" 2280 msgstr "Substituir os arquivos existentes" 2281 2282 #: classes/Widget.php:200 2283 #@ wpfb 2284 msgid "Attach file to current post/page" 2285 msgstr "Anexar arquivo para cargo atual / página" 2286 2287 #: classes/Widget.php:208 2288 #: lib/wpfb_form_cat.php:11 2289 #@ wpfb 2290 msgid "Add Category" 2291 msgstr "Adicionar categoria" 2292 2293 #: classes/Widget.php:208 2294 #@ wpfb 2295 msgid "Allows users to create file categories from the front end." 2296 msgstr "Permite aos usuários criar categorias de arquivos a partir do final da frente." 2297 2298 #: classes/Widget.php:220 2299 #: classes/Widget.php:251 2300 #@ wpfb 2301 msgid "Add File Category" 2302 msgstr "Adicionar categoria de Arquivo" 2303 2304 #: classes/Widget.php:230 2305 #: lib/wpfb_form_cat.php:31 2306 #@ default 2307 msgid "New category name" 2308 msgstr "Nome da nova categoria" 2309 2310 #: classes/Widget.php:237 2311 #@ default 2312 msgid "Add New Category" 2313 msgstr "Adicionar nova categoria" 2314 2315 #: classes/Widget.php:261 2316 #: classes/Widget.php:280 2317 #: classes/Widget.php:295 2318 #@ default 2319 msgid "Search" 2320 msgstr "Pesquisar" 2321 2322 #: classes/Widget.php:261 2323 #@ wpfb 2324 msgid "Widget for searching files." 2325 msgstr "Widget para arquivos de pesquisa." 2326 2327 #: classes/Widget.php:305 2328 #@ wpfb 2329 msgid "Category list" 2330 msgstr "lista de categorias" 2331 2332 #: classes/Widget.php:305 2333 #@ wpfb 2334 msgid "Simple listing of file categories" 2335 msgstr "Simples lista de categorias de arquivo" 2336 2337 #: classes/Widget.php:319 2338 #: classes/Widget.php:365 2339 #@ wpfb 2340 #@ default 2341 msgid "File Categories" 2342 msgstr "Categorias de arquivo" 2343 2344 #: classes/Widget.php:360 2345 #@ default 2346 msgid "Goto File Browser Settings" 2347 msgstr "Vá em File Browser Settings" 2348 2349 #: classes/Widget.php:378 2350 #: classes/Widget.php:481 2351 #@ default 2352 msgid "Show hierarchy" 2353 msgstr "Mostrar hierarquia" 2354 2355 #: classes/Widget.php:407 2356 #@ wpfb 2357 msgid "Listing of files with custom sorting" 2358 msgstr "Listagem de arquivos com classificação personalizada" 2359 2360 #: editor_plugin.php:207 2361 #@ wpfb 2362 msgid "File Tree View" 2363 msgstr "Exibir árvore de arquivos" 2364 2365 #: editor_plugin.php:218 2366 #, php-format 2367 #@ default 2368 msgid "Note: Listing of attached files is disabled. You have to <a href=\"%s\">insert the attachments tag</a> to show the files in the content." 2369 msgstr "Nota: Listagem dos arquivos anexados está desativado. Você tem que <a href=\"%s\">inserir o tag anexos</a> para mostrar os arquivos no conteúdo." 2370 2371 #: editor_plugin.php:252 2372 #@ default 2373 msgid "No items found." 2374 msgstr "Nenhum item foi encontrado." 2375 2376 #: editor_plugin.php:258 2377 #@ default 2378 msgid "Remove" 2379 msgstr "Remover" 2380 2381 #: editor_plugin.php:268 2382 #@ wpfb 2383 msgid "Change Order" 2384 msgstr "Alterar Ordem" 2385 2386 #: editor_plugin.php:275 2387 #@ wpfb 2388 msgid "Attach existing file" 2389 msgstr "Anexar arquivo existente" 2390 2391 #: editor_plugin.php:291 2392 #@ wpfb 2393 msgid "Select File" 2394 msgstr "Selecione Arquivo" 2395 2396 #: editor_plugin.php:295 2397 #@ default 2398 msgid "Select Category" 2399 msgstr "Selecione a categoria" 2400 2401 #: editor_plugin.php:296 2402 #@ wpfb 2403 msgid "Select the categories containing the files you would like to list." 2404 msgstr "Selecione as categorias que contêm os arquivos que você gostaria de listar." 2405 2406 #: editor_plugin.php:297 2407 #@ wpfb 2408 msgid "Include all Categories" 2409 msgstr "Incluir todas as categorias" 2410 2411 #: editor_plugin.php:324 2412 #@ wpfb 2413 msgid "Files per page:" 2414 msgstr "Arquivos por página:" 2415 2416 #: editor_plugin.php:326 2417 #, php-format 2418 #@ wpfb 2419 msgid "Set to 0 to use the default limit (%d), -1 will disable pagination." 2420 msgstr "Ajuste para 0 para usar o limite padrão (%d), -1 irá desativar a paginação." 2421 2422 #: editor_plugin.php:330 2423 #@ wpfb 2424 msgid "List selected Categories" 2425 msgstr "Lista de categorias selecionadas" 2426 2427 #: editor_plugin.php:333 2428 #@ wpfb 2429 msgid "Category order" 2430 msgstr "ordem de categoria" 2431 2432 #: editor_plugin.php:335 2433 #@ wpfb 2434 msgid "None (order of IDs in shortcode)" 2435 msgstr "Nenhum (ordem de IDs no shortcode)" 2436 2437 #: editor_plugin.php:345 2438 #: editor_plugin.php:354 2439 #: editor_plugin.php:372 2440 #@ default 2441 msgid "Insert" 2442 msgstr "Inserir" 2443 2444 #: editor_plugin.php:350 2445 #@ wpfb 2446 msgid "Select the root category of the tree view file browser:" 2447 msgstr "Selecione a categoria raiz do navegador de arquivos de exibição de árvore:" 2448 2449 #: editor_plugin.php:363 2450 #@ wpfb 2451 msgid "Category where uploaded files will be moved in:" 2452 msgstr "Categoria onde os arquivos enviados serão movidos em:" 2453 2454 #: lib/wpfb_form_cat.php:11 2455 #@ default 2456 msgid "Edit Category" 2457 msgstr "Editar Categoria" 2458 2459 #: lib/wpfb_form_cat.php:37 2460 #@ default 2461 msgid "The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens." 2462 msgstr "O “slug” é a versão URL-friendly do nome. É geralmente todas as letras minúsculas e contém apenas letras, números e hífens." 2463 2464 #: lib/wpfb_form_cat.php:43 2465 #@ default 2466 msgid "Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional." 2467 msgstr "Categorias, ao contrário de Tags, podem ter uma hierarquia. Você pode ter uma categoria Jazz, e nas que possuem categorias para Bebop e Big Band. Totalmente opcional." 2468 2469 #: lib/wpfb_form_cat.php:64 2470 #: lib/wpfb_form_file.php:308 2471 #@ wpfb 2472 msgid "Inherit Permissions" 2473 msgstr "Herdar Permissões" 2474 2475 #: lib/wpfb_form_cat.php:66 2476 #: lib/wpfb_form_file.php:310 2477 #@ wpfb 2478 msgid "Explicitly set permissions" 2479 msgstr "Permissões explicitamente definidas" 2480 2481 #: lib/wpfb_form_cat.php:69 2482 #@ wpfb 2483 msgid "Limit category access by selecting one or more user roles." 2484 msgstr "Limitar o acesso da categoria, selecionando uma ou mais funções do usuário." 2485 2486 #: lib/wpfb_form_cat.php:78 2487 #@ wpfb 2488 msgid "This will recursivle update permissions of all existing child categories and files. Note that permissions of new files in this category are inherited automatically, without having checked this checkbox." 2489 msgstr "Isso vai recursivle permissões de atualização de todas as categorias existentes criança e arquivos. Observe que as permissões de arquivos novos nesta categoria são herdadas automaticamente, sem ter verificado esta caixa." 2490 2491 #: lib/wpfb_form_cat.php:82 2492 #@ wpfb 2493 msgid "Exclude from file browser" 2494 msgstr "Excluir do navegador de arquivos" 2495 2496 #: lib/wpfb_form_cat.php:90 2497 #@ default 2498 msgid "UpdateAdd New Category" 2499 msgstr "Atualize Adicionar Nova Categoria" 2500 2501 #: lib/wpfb_form_file.php:53 2502 #: lib/wpfb_form_file.php:57 2503 #@ wpfb 2504 msgid "Simple FormExtended Form" 2505 msgstr "Forma simples FormExtended" 2506 2507 #: lib/wpfb_form_file.php:179 2508 #@ default 2509 msgid "Upload" 2510 msgstr "Fazer upload" 2511 2512 #: lib/wpfb_form_file.php:188 2513 #, php-format 2514 #@ wpfb 2515 msgid "Ask your webhoster to increase this limit, it is set in %s." 2516 msgstr "Pergunte ao seu webhoster para aumentar esse limite, ela é definida em %s." 2517 2518 #: lib/wpfb_form_file.php:189 2519 #@ default 2520 msgid "You are using the Browser uploader." 2521 msgstr "Você está usando o uploader Browser." 2522 2523 #: lib/wpfb_form_file.php:190 2524 #, php-format 2525 #@ default 2526 msgid "Try the <a href=\"%s\">Flash uploader</a> instead." 2527 msgstr "Tente o <a href=\"%s\">Flash uploader</a> em vez disso." 2528 2529 #: lib/wpfb_form_file.php:194 2530 #@ default 2531 msgid "Rename" 2532 msgstr "Renomear" 2533 2534 #: lib/wpfb_form_file.php:202 2535 #@ wpfb 2536 msgid "Redirect download to URL" 2537 msgstr "Redirecionar o download para URL" 2538 2539 #: lib/wpfb_form_file.php:203 2540 #@ wpfb 2541 msgid "Copy file into Filebase (sideload)" 2542 msgstr "Copie o arquivo em Filebase (sideload)" 2543 2544 #: lib/wpfb_form_file.php:204 2545 #@ wpfb 2546 msgid "Scan remote file (disable for large files)" 2547 msgstr "Digitalização de arquivos remotos (desativar para arquivos grandes)" 2548 2549 #: lib/wpfb_form_file.php:211 2550 #@ default 2551 msgid "Thumbnail" 2552 msgstr "Miniatura" 2553 2554 #: lib/wpfb_form_file.php:258 2555 #@ default 2556 msgid "Post" 2557 msgstr "Postar" 2558 2559 #: lib/wpfb_form_file.php:286 2560 #@ default 2561 msgid "Yes" 2562 msgstr "Sim" 2563 2564 #: lib/wpfb_form_file.php:287 2565 #@ default 2566 msgid "No" 2567 msgstr "Não" 2568 2569 #: lib/wpfb_form_file.php:313 2570 #@ default 2571 msgid "Limit file access by selecting one or more user roles." 2572 msgstr "Limitar o acesso ao arquivo, selecionando uma ou mais funções do usuário." 2573 2574 #: lib/wpfb_form_file.php:335 2575 #@ wpfb 2576 msgid "Manage Custom Fields" 2577 msgstr "Gerenciar campos personalizados" 2578 2579 #: lib/wpfb_form_file.php:338 2580 #@ default 2581 msgid "Update" 2582 msgstr "Atualizar" 2583 2584 #: lib/wpfb_form_file.php:347 2585 #@ wpfb 2586 msgid "File Info Tags (ID3 Tags)" 2587 msgstr "Arquivo de Informações tags ( ID3 Tag)" 2588 2589 #: wpfb-async-upload.php:36 2590 #@ default 2591 msgid "You do not have permission to upload files." 2592 msgstr "Você não tem permissão para fazer upload de arquivos." 2593 2594 #: wpfb-async-upload.php:66 2595 #@ default 2596 msgid "Dismiss" 2597 msgstr "Descartar" 2598 2599 #: wpfb-async-upload.php:67 2600 #, php-format 2601 #@ default 2602 msgid "“%s” has failed to upload due to an error" 2603 msgstr "“%s” falhou ao carregar devido a um erro" 2604 2605 #: wpfb-postbrowser.php:9 2606 #: wpfb-postbrowser.php:66 2607 #@ default 2608 msgid "Posts" 2609 msgstr "Mensagens" 2610 -
wp-filebase/trunk/lib/wpfb_form_cat.php
r624879 r630203 73 73 </tr> 74 74 75 <?php 76 ?> 75 77 76 <?php if($update) { ?> 78 77 <tr> -
wp-filebase/trunk/lib/wpfb_form_file.php
r624879 r630203 52 52 if(!$in_widget) { 53 53 if($in_editor) { 54 ?><div style="float: right;"><a style="font-style:normal;" href="<?php echo add_query_arg('exform', ($exform ? '0' : '1')); ?>"><?php _e($exform ? 'Simple Form' : 'Extended Form', WPFB) ?></a></div><?php 55 ?><h3 class="media-title"><?php echo $title ?></h3><?php 54 ?><div style="float: right;"><a style="font-style:normal;" href="<?php echo add_query_arg('exform', ($exform ? '0' : '1')); ?>"><?php _e($exform ? 'Simple Form' : 'Extended Form', WPFB) ?></a></div><h3 class="media-title"><?php echo $title ?></h3><?php 56 55 } else { 57 56 echo "<h2>".$title; … … 288 287 <label title="<?php _e('Yes') ?>"><input type="radio" name="file_direct_linking" value="1" <?php checked('1', $file->file_direct_linking); ?>/> <?php _e('Allow direct linking', WPFB) ?></label><br /> 289 288 <label title="<?php _e('No') ?>"><input type="radio" name="file_direct_linking" value="0" <?php checked('0', $file->file_direct_linking); ?>/> <?php _e('Redirect to post', WPFB) ?></label> 290 <?php 291 ?> 289 292 290 </fieldset> 293 291 </td> … … 322 320 323 321 </tr> 324 <?php } ?> 325 326 <?php 322 <?php } 327 323 $custom_fields = WPFB_Core::GetCustomFields(); 328 324 foreach($custom_fields as $ct => $cn) { -
wp-filebase/trunk/readme.txt
r624879 r630203 5 5 Requires at least: 3.1 6 6 Tested up to: 3.4.2 7 Stable tag: 0.2.9.2 57 Stable tag: 0.2.9.26 8 8 9 9 Adds a powerful download manager including file categories, downloads counter, widgets, sorted file lists and more to your WordPress blog. … … 112 112 113 113 == Changelog == 114 115 = 0.2.9.26 = 116 * Fixed flash uploader 117 * Fixed admin bar context menu 118 * Re-organized some settings tabs 119 * Missing files will automatically set offline during sync 120 * Updated Brazillian Portuguese translation by Felipe Cavalcanti 121 * Fixed Item::GetParents() stuck in endless loop 114 122 115 123 = 0.2.9.25 = -
wp-filebase/trunk/wp-filebase-admin.css
r615301 r630203 328 328 margin-left: 5px; 329 329 } 330 331 .wpfb-progress-bar-in { 332 background: #d2ff52; /* Old browsers */ 333 background: -moz-linear-gradient(top, #d2ff52 0%, #91e842 100%); /* FF3.6+ */ 334 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d2ff52), color-stop(100%,#91e842)); /* Chrome,Safari4+ */ 335 background: -webkit-linear-gradient(top, #d2ff52 0%,#91e842 100%); /* Chrome10+,Safari5.1+ */ 336 background: -o-linear-gradient(top, #d2ff52 0%,#91e842 100%); /* Opera 11.10+ */ 337 background: -ms-linear-gradient(top, #d2ff52 0%,#91e842 100%); /* IE10+ */ 338 background: linear-gradient(to bottom, #d2ff52 0%,#91e842 100%); /* W3C */ 339 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d2ff52', endColorstr='#91e842',GradientType=0 ); /* IE6-9 */ 340 } 341 342 343 .wpfb-progress-bar-mem { 344 background: #fceabb; /* Old browsers */ 345 background: -moz-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6+ */ 346 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fceabb), color-stop(50%,#fccd4d), color-stop(51%,#f8b500), color-stop(100%,#fbdf93)); /* Chrome,Safari4+ */ 347 background: -webkit-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Chrome10+,Safari5.1+ */ 348 background: -o-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* Opera 11.10+ */ 349 background: -ms-linear-gradient(top, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* IE10+ */ 350 background: linear-gradient(to bottom, #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%); /* W3C */ 351 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 ); /* IE6-9 */ 352 353 } -
wp-filebase/trunk/wp-filebase.php
r624879 r630203 5 5 Description: Adds a powerful downloads manager supporting file categories, download counter, widgets, sorted file lists and more to your WordPress blog. 6 6 Author: Fabian Schlieper 7 Version: 0.2.9.2 57 Version: 0.2.9.26 8 8 Author URI: http://fabi.me/ 9 9 */ … … 12 12 { 13 13 define('WPFB', 'wpfb'); 14 define('WPFB_VERSION', '0.2.9.2 5');14 define('WPFB_VERSION', '0.2.9.26'); 15 15 define('WPFB_PLUGIN_ROOT', str_replace('\\','/',dirname(__FILE__)).'/'); 16 16 if(!defined('ABSPATH')) { -
wp-filebase/trunk/wpfb-ajax.php
r624879 r630203 82 82 ('<a href="javascript:'.sprintf($onselect,$c->cat_id,str_replace('\'','\\\'', htmlspecialchars(stripslashes($c->cat_name)))).'">'.esc_html($c->GetTitle(24)).'</a>') 83 83 :($filesel ? (esc_html($c->cat_name)." ($c->cat_num_files / $c->cat_num_files_total)") : $c->GenTpl2('filebrowser', false)), 84 'hasChildren'=> ($catsel?(count($c->GetChildCats())>0):($c->cat_num_files_total > 0)),84 'hasChildren'=>$cat->HasChildren($catsel), 85 85 'classes'=>($filesel||$catsel)?'folder':null); 86 86 } -
wp-filebase/trunk/wpfb-async-upload.php
r487234 r630203 7 7 define('TMP_FILE_MAX_AGE', 3600*3); 8 8 9 $frontend_upload = !empty($_REQUEST['frontend_upload']); 10 9 11 ob_start(); 10 define('WP_ADMIN', true);12 define('WP_ADMIN', !$frontend_upload); 11 13 12 14 if ( defined('ABSPATH') ) … … 24 26 unset($current_user); 25 27 26 require_once(ABSPATH.'wp-admin/admin.php'); 28 if(!$frontend_upload) 29 require_once(ABSPATH.'wp-admin/admin.php'); 27 30 ob_end_clean(); 28 31 … … 33 36 @header('Content-Type: text/plain; charset=' . get_option('blog_charset')); 34 37 35 if ( !current_user_can('upload_files') ) 36 wp_die(__('You do not have permission to upload files.')); 38 39 if($frontend_upload) { 40 if(!WPFB_Core::GetOpt('frontend_upload') && !current_user_can('upload_files')) 41 wp_die(__('You do not have permission to upload files.')); 42 } else { 43 wpfb_loadclass('Admin'); 37 44 38 check_admin_referer(WPFB.'-async-upload'); 45 if ( !WPFB_Admin::CurUserCanUpload() ) 46 wp_die(__('You do not have permission to upload files.')); 47 48 check_admin_referer(WPFB.'-async-upload'); 49 } 39 50 40 51 wpfb_loadclass('Admin'); … … 71 82 72 83 @header('Content-Type: application/json; charset=' . get_option('blog_charset')); 73 echo json_encode($_FILES['async-upload']); 84 85 $json = json_encode($_FILES['async-upload']); 86 @header('Content-Length: '.strlen($json)); 87 echo $json; 74 88 75 89 ?>
Note: See TracChangeset
for help on using the changeset viewer.