Index: content/content-api/api/src/java/org/sakaiproject/content/api/ResourceToolAction.java
===================================================================
--- content/content-api/api/src/java/org/sakaiproject/content/api/ResourceToolAction.java (revisão 41588)
+++ content/content-api/api/src/java/org/sakaiproject/content/api/ResourceToolAction.java (cópia de trabalho)
@@ -173,8 +173,18 @@
* must implement the CustomToolAction interface to provide Resources tool with a way to
* determine permissions, as well as either InteractionAction or ServiceLevelAction.
*/
- CUSTOM_TOOL_ACTION
+ CUSTOM_TOOL_ACTION,
+ /**
+ * Compress a selected folder to a zip archive with the same name.
+ */
+ COMPRESS_ZIP_FOLDER,
+
+ /**
+ * Expands a zip file into serveral folders and archives
+ */
+ EXPAND_ZIP_ARCHIVE
+
}
public static final String CREATE = "create";
@@ -193,6 +203,8 @@
public static final String REORDER = "revise_order";
public static final String EXPAND = "expand";
public static final String COLLAPSE = "collapse";
+ public static final String COMPRESS_ZIP_FOLDER = "compress_zip_folder";
+ public static final String EXPAND_ZIP_ARCHIVE = "expand_zip_archive";
public static final String ACTION_DELIMITER = ":";
Index: content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java
===================================================================
--- content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java (revisão 41588)
+++ content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java (cópia de trabalho)
@@ -830,12 +830,12 @@
CONTENT_NEW_ACTIONS.add(ActionType.NEW_UPLOAD);
CONTENT_NEW_ACTIONS.add(ActionType.NEW_FOLDER);
CONTENT_NEW_ACTIONS.add(ActionType.NEW_URLS);
- CONTENT_NEW_ACTIONS.add(ActionType.CREATE);
+ CONTENT_NEW_ACTIONS.add(ActionType.CREATE);
PASTE_COPIED_ACTIONS.add(ActionType.PASTE_COPIED);
PASTE_MOVED_ACTIONS.add(ActionType.PASTE_MOVED);
- CONTENT_NEW_FOR_PARENT_ACTIONS.add(ActionType.DUPLICATE);
+ CONTENT_NEW_FOR_PARENT_ACTIONS.add(ActionType.DUPLICATE);
CONTENT_READ_ACTIONS.add(ActionType.VIEW_CONTENT);
CONTENT_READ_ACTIONS.add(ActionType.COPY);
@@ -846,6 +846,8 @@
CONTENT_MODIFY_ACTIONS.add(ActionType.REVISE_CONTENT);
CONTENT_MODIFY_ACTIONS.add(ActionType.REPLACE_CONTENT);
CONTENT_MODIFY_ACTIONS.add(ActionType.REVISE_ORDER);
+ CONTENT_MODIFY_ACTIONS.add(ActionType.COMPRESS_ZIP_FOLDER);
+ CONTENT_MODIFY_ACTIONS.add(ActionType.EXPAND_ZIP_ARCHIVE);
CONTENT_DELETE_ACTIONS.add(ActionType.MOVE);
CONTENT_DELETE_ACTIONS.add(ActionType.DELETE);
@@ -860,6 +862,7 @@
ACTIONS_ON_FOLDERS.add(ActionType.DELETE);
ACTIONS_ON_FOLDERS.add(ActionType.REVISE_ORDER);
ACTIONS_ON_FOLDERS.add(ActionType.REVISE_PERMISSIONS);
+
// ACTIONS_ON_FOLDERS.add(ActionType.PASTE_MOVED);
ACTIONS_ON_RESOURCES.add(ActionType.VIEW_CONTENT);
@@ -871,7 +874,7 @@
ACTIONS_ON_RESOURCES.add(ActionType.COPY);
ACTIONS_ON_RESOURCES.add(ActionType.MOVE);
ACTIONS_ON_RESOURCES.add(ActionType.DELETE);
-
+
ACTIONS_ON_MULTIPLE_ITEMS.add(ActionType.COPY);
ACTIONS_ON_MULTIPLE_ITEMS.add(ActionType.MOVE);
ACTIONS_ON_MULTIPLE_ITEMS.add(ActionType.DELETE);
Index: content/content-bundles/types_pt_BR.properties
===================================================================
--- content/content-bundles/types_pt_BR.properties (revisão 41588)
+++ content/content-bundles/types_pt_BR.properties (cópia de trabalho)
@@ -1,239 +1,272 @@
-#-------------------------------------------------------
-# Translated by: e-Labora - UNICAMP, Sao Paulo, Brazil
-#-------------------------------------------------------
-
-access.groups.choice = Exibir este arquivo somente para grupos selecionados.
-access.groups.fldr = Exibir esta pasta e seu conte\u00fado somente para grupos selecionados.
-access.groups.folders = Exibir este arquivo somente para grupos selecionados.
-access.groups1 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelo grupo ''{1}''.
-access.groups2 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'' e ''{2}''''{1}', ''{2}'' e ''{3}''. Voc\u00ea pode restringir ainda mais o acesso a este arquivo sendo por grupo, se desejar.
-access.groups4 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'' e ''{4}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups5 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'' e ''{5}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups6 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'' e ''{6}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups7 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'' e ''{7}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups8 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'' e ''{8}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups9 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'' e ''{9}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groupsX = ###############################################################################################################################################################################################################################################################
-access.inherit = As configura\u00e7\u00f5es de acesso dos recursos devem ser iguais \u00e0s da pasta.
-access.public.choice = Este arquivo \u00e9 vis\u00edvel para todos.
-access.public.fldr = Esta pasta e seu conte\u00fado s\u00e3o vis\u00edveis para todos.
-access.public.nochoice = Os recursos na pasta ''{0}'' s\u00e3o vis\u00edveis para todos.
-access.site.choice = Somente participantes deste site podem ver este arquivo.
-access.site.fldr = Somente participantes deste site podem ver esta pasta e seu conte\u00fado.
-access.site.nochoice = Os recursos na pasta ''{0}'' podem ser visualizados por todos os participantes deste site.
-access.dropbox = Escaninho
-access.dropbox1 = Vis\u00edvel para coordenador e estudante
-access.group = Selecionar grupo(s)
-access.group1 = Vis\u00edvel para os grupos selecionados: {0}
-access.group2 = Descri\u00e7\u00e3o
-access.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00e9m caixas de verifica\u00e7\u00e3o, a segunda cont\u00e9m o nome do grupo e a terceira a descri\u00e7\u00e3o do grupo. Os links dos t\u00edtulos podem ser usados para ordenar.
-access.group4 = Exibir este item somente para os grupos selecionados.
-access.public = Para todos
-access.public1 = Vis\u00edvel para todos
-access.public2 = Este item \u00e9 vis\u00edvel para todos.
-access.site = Todo o site
-access.site1 = Vis\u00edvel para o site inteiro
-access.site2 = Somente participantes deste site podem ver este item.
-access.title1 = Acesso
-access.title2 = Acesso: Exibir para n\u00e3o participantes (visualiza\u00e7\u00e3o para todos)
-access.title3 = Acesso: Exibir para todos os participantes deste site
-access.title4 = Acesso: Exibir para todos os participantes de um grupo selecionado ({0})
-access.title5 = Acesso: Exibir para todos os participantes do(s) grupo(s) selecionado(s)
-action.access = Visualizar Propriedades
-action.copy = Copiar
-action.create = Adicionar
-action.delete = Excluir
-action.duplicate = Duplicar
-action.fincopy = Colar Itens Copiados
-action.finmove = Colar Itens Movidos
-action.info = Informa\u00e7\u00f5es
-action.move = Mover
-action.new = Adicionar itens
-action.other = Agir em {0}
-action.paste = Colar
-action.permissions = Alterar Permiss\u00f5es de Pasta
-action.props = Alterar Detalhes
-action.reorder = Reordenar
-action.replace = Fazer Upload de Nova vers\u00e3o
-action.revise = Alterar Conte\u00fado
-action.select = - Selecionar A\u00e7\u00e3o -
-alert.exists = A pasta \u201c{0}\u201d j\u00e1 existe nesta pasta
-alert.perm = Voc\u00ea n\u00e3o tem permiss\u00e3o para adicionar itens nesta pasta.
-alert.toolong = O nome \u201c{0}\u201d \u00e9 muito longo.
-avail.end = Final
-avail.end1 = At\u00e9
-avail.hide = Ocultar
-avail.hide1 = Ocultar este item de n\u00e3o administradores
-avail.hide2 = Ocultar esta pasta de n\u00e3o administradores
-avail.show = Mostrar
-avail.show1 = Mostrar este item
-avail.show2 = Mostrar esta pasta
-avail.start = In\u00edcio
-avail.start1 = De
-avail.title = Disponibilidade
-button.actions = A\u00e7\u00f5es
-button.add = Adicionar
-button.upload = Fazer Upload
-choosefile7 = Por favor, escolha o arquivo para ser anexado.
-collapse.all = Recolher Tudo
-create.folder = Criar Pastas
-create.html = Criar P\u00e1ginas HTML
-create.text = Criar Documento de Texto
-create.unknown = Novo {0}
-create.upload = Upload de Novo Arquivo
-create.uploads = Fazer Upload de Arquivos
-create.url = Adicionar Link (URL)
-create.urls = Adicionar Links (URLs)
-cright.alert = Alerta de Direitos Autorais
-cright.display = Exibir alerta de direitos autorais e solicitar confirma\u00e7\u00e3o de aceita\u00e7\u00e3o quando acessado por outras pessoas.
-cright.fairuse = mais informa\u00e7\u00f5es
-cright.info = Informa\u00e7\u00f5es de Direitos Autorais
-cright.newwin = Nova Janela
-cright.show = que \u00e9 isso?
-cright.status = Status de Direitos Autorais
-dav.webdav = Fazer Upload-Download de M\u00faltiplos Recursos
-del.del = Excluir confirma\u00e7\u00e3o\u2026
-del.del1 = Excluir
-del.sure = Voc\u00ea tem certeza de que deseja excluir este(s) item(ns)?
-del.table = A tabela apresenta informa\u00e7\u00f5es sobre os recursos selecionados para exclus\u00e3o. Os t\u00edtulos das colunas cont\u00eam as descri\u00e7\u00f5es dos conte\u00fados e links para ordena\u00e7\u00e3o.
-edit.access4 = Exibir para os grupos selecionados
-edit.calert = Alerta de Direitos Autorais
-edit.cstatus = Status dos Direitos Autorais
-edit.descr = Descri\u00e7\u00e3o
-edit.display = Exibir alerta de direitos autorais e solicitar confirma\u00e7\u00e3o de aceita\u00e7\u00e3o quando acessado por outras pessoas.
-edit.group1 = T\u00edtulo
-edit.group2 = Descri\u00e7\u00e3o
-edit.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00e9m caixas de verifica\u00e7\u00e3o, a segunda cont\u00e9m o nome do grupo e a terceira a descri\u00e7\u00e3o do grupo. Os links dos t\u00edtulos podem ser usados para ordenar.
-edit.hide = Ocultar os detalhes deste item
-edit.newwin = Nova Janela
-edit.quota = Quota especial (em Kbytes, 0 para ilimitado)
-edit.remove = Excluir este item
-edit.show = Adicionar detalhes a este item
-edit.what = que \u00e9 isso?
-edit.who = Escolher quem pode ver este item
-edit.who.fldr = Escolher quem pode ver esta pasta e seu conte\u00fado
-expand.all = Expandir Tudo
-gen.email1 = E-mail de Notifica\u00e7\u00e3o
-gen.email2 = Alta \u2013 Todos os participantes
-gen.email3 = Nenhuma \u2013 N\u00e3o enviar notifica\u00e7\u00e3o
-gen.email4 = Alta \u2013 Todos os participantes
-gen.location = Baixa - Somente para os participantes que optaram
-instr.access.fldr = As pastas e seus conte\u00fados podem ter a visibilidade agendada para per\u00edodos de tempo determinados. Os administradores do site sempre conseguir\u00e3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00e1rios.
-instr.access = Os recursos podem ter a visibilidade agendada para per\u00edodos de tempo determinados. Os administradores do site sempre conseguir\u00e3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00e1rios.
-instr.create = Insira o nome do {0} (obrigat\u00f3rio), escolha qualquer outra propriedade que desejar, depois clique em \u2018Concluir\u2019 para criar o {0}.
-instr.folder = Digite o nome de cada pasta em um campo separadamente e depois clique abaixo em \u2018Continuar\u2019.
-instr.folders = Crie tantas pastas quanto desejar! Se voc\u00ea mudar de id\u00e9ia sobre a necessidade de uma de suas pastas, clique no bot\u00e3o \u2018X\u2019. Pressione o bot\u00e3o \u2018Adicionar\u2019 quando quiser concluir..
-instr.html = Digite o texto da sua p\u00e1gina (use a barra de ferramentas para format\u00e1-lo) e clique abaixo em \u2018Continuar\u2019.
-instr.options = Escolha os tipos de recursos que podem ser criados neste site.
-instr.props = Altere os detalhes dos recursos, depois selecione abaixo \u2018Atualizar\u2019.
-instr.replace = Para substituir a vers\u00e3o atual deste arquivo por uma vers\u00e3o atualizada, selecione aqui seu arquivo atualizado.
-instr.require = Itens obrigat\u00f3rios marcados com {0}
-instr.text = Digite o texto e clique abaixo em \u2018Continuar\u2019.
-instr.upload = Selecione os arquivos para fazer upload e depois clique abaixo em \u2018Continuar\u2019.
-instr.uploads = Fa\u00e7a upload de quantos arquivos voc\u00ea desejar. Se voc\u00ea mudar de id\u00e9ia sobre fazer upload de um dos seus arquivos, clique no bot\u00e3o \u2018X\u2019 ao lado. Pressione o bot\u00e3o \u2018Upload\u2019 quando tiver selecionado todos os arquivos que desejar fazer upload.
-instr.url = Copie-e-cole ou digite o endere\u00e7o na web (URL) e depois clique abaixo em \u2018Continuar\u2019.
-instr.urls = Adicione quantos links (URL) voc\u00ea desejar. Se voc\u00ea mudar de id\u00e9ia sobre a necessidade dos seus links, clique no bot\u00e3o \u2018X\u2019 ao lado. Pressione o bot\u00e3o \u2018Adicionar Links Agora\u2019 quando quiser concluir.
-label.addfile = Adicionar Outro Arquivo
-label.addFolder = Adicionar Outra Pasta
-label.addurl = Adicionar Outro Link
-label.alert = Aten\u00e7\u00e3o:
-label.cancel = Cancelar
-label.continue = Continuar
-label.date = Data:
-label.display = Exibir Nome
-label.finfldr = Criar Pastas Agora
-label.finish = Concluir
-label.finupl = Fazer Upload de Arquivos Agora
-label.folder = Nome da Pasta
-label.name = Nome Original do Arquivo
-label.proces = Processando\u2026
-label.time = Hor\u00e1rio:
-label.update = Atualizar
-label.upl = Fazer Upload de Nova Vers\u00e3o Agora
-label.upload = Arquivo para Upload
-label.url = URL
-label.urlnow = Adicionar Links Agora
-label.urls] = Endere\u00e7o na Web (URL)
-label.version = Fazer Upload De Uma Nova Vers\u00e3o
-label.website = Nome do Site
-lis.clear = Apagar Pesquisa
-lis.search = Pesquisar
-lis.show10 = mostrar 10 itens\u2026
-lis.show100 = mostrar 100 itens\u2026
-lis.show20 = mostrar 20 itens\u2026
-lis.show200 = mostrar 200 itens\u2026
-lis.show5 = mostrar 5 itens por p\u00e1gina\u2026
-lis.show50 = mostrar 50 itens\u2026
-list.columns = Mostrar colunas
-list.hierarchy = Mostrar hierarquia
-list.site = Reposit\u00f3rio do Site
-mime.alert = Aten\u00e7\u00e3o: Mudar o tipo de arquivo de um recurso n\u00e3o ascii para "text/plain" ou "text/html" pode causar a inser\u00e7\u00e3o de linhas em branco indevidos, tornando o arquivo n\u00e3o utiliz\u00e1vel.
-month.apr = ABR
-month.aug = AGO
-month.dec = DEZ
-month.feb = FEV
-month.jan = JAN
-month.jul = JUL
-month.jun = JUN
-month.mar = MAR
-month.may = MAI
-month.nov = NOV
-month.oct = OUT
-month.sep = SET
-noti.all = Todos os participantes deste site
-noti.label = Mandar um e-mail de notifica\u00e7\u00e3o sobre estes itens para:
-noti.limited = Participantes do site que solicitaram receber e-mails.
-noti.none = Ningu\u00e9m
-paste.error = N\u00e3o foi poss\u00edvel adicionar \u201c{0}\u201d nesta pasta.
-props.access = Disponibilidade e Acesso
-props.file = Detalhes do Arquivo
-props.fldr = Detalhes da Pasta
-props.creatime = Criado
-props.creatime.upl = Upload Conclu\u00eddo
-props.creator = Criado Por
-props.creator.upl = Upload originalmente feito por
-props.mime = Tipo de Arquivo
-props.modby = \u00daltima modifica\u00e7\u00e3o por
-props.modtime = \u00daltima modifica\u00e7\u00e3o
-props.size = Tamanho do Arquivo
-props.url = Endere\u00e7o na web (URL)
-replace.html = Substituir P\u00e1gina HTML
-replace.text = Substituir Documento de Texto
-replace.upload = Substituir o Upload do Arquivo
-revise.html = Alterar P\u00e1gina HTML
-revise.text = Alterar Documento de Texto
-revise.url = Alterar URL (link para site)
-size.bytes = {0} bytes
-size.exceeded = Excedeu o limite de tamanho para upload de {0}.
-size.gb = {0} GB
-size.gbytes = {0} GB ({1} bytes)
-size.item = 1 item
-size.items = {0} itens
-size.kb = {0} KB
-size.kbytes = {0} KB ({1} bytes)
-size.mb = {0} MB
-size.mbytes = {0} MB ({1} bytes)
-text.notext = Por favor, insira o conte\u00fado do seu documento de texto
-title.access = Acesso
-title.availability = Disponibilidade
-title.created = Adicionado Por
-title.description = Descri\u00e7\u00e3o
-title.dropbox = {0} Escaninho
-title.last = \u00daltima Modifica\u00e7\u00e3o
-title.name = Nome
-title.nameof = Nome do {0}
-title.optional = Propriedades Opcionais
-title.options = Escolha as op\u00e7\u00f5es para os recursos no site \u201c{0}\u201d
-title.permissions = Escolha as op\u00e7\u00f5es para os recursos na pasta \u201c{0}\u201d
-title.props = Propriedades
-title.resources = {0} Recursos
-title.size = Tamanho
-type.folder = Pasta
-type.html = P\u00e1gina HTML
-type.text = Documento de Texto
-type.upload = Fazer Upload de Arquivo
-type.url = Link (URL)
-upload.limit = Voc\u00ea s\u00f3 pode fazer upload de {0} MB em arquivos por vez. Voc\u00ea deve fazer upload de arquivos grandes individualmente.
-url.invalid = Link (URL) ({0}) inv\u00e1lido.
-url.noinput = Por favor, insira um link (URL).
+#Generated by ResourceBundle Editor (http://eclipse-rbe.sourceforge.net)
+#-------------------------------------------------------
+# Translated by: e-Labora - UNICAMP, Sao Paulo, Brazil
+#-------------------------------------------------------
+
+access.dropbox = Escaninho
+access.dropbox1 = Vis\u00EDvel para coordenador e estudante
+access.group = Selecionar grupo(s)
+access.group1 = Vis\u00EDvel para os grupos selecionados: {0}
+access.group2 = Descri\u00E7\u00E3o
+access.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00E9m caixas de verifica\u00E7\u00E3o, a segunda cont\u00E9m o nome do grupo e a terceira a descri\u00E7\u00E3o do grupo. Os links dos t\u00EDtulos podem ser usados para ordenar.
+access.group4 = Exibir este item somente para os grupos selecionados.
+access.groups.choice = Exibir este arquivo somente para grupos selecionados.
+access.groups.fldr = Exibir esta pasta e seu conte\u00FAdo somente para grupos selecionados.
+access.groups.folders = Exibir este arquivo somente para grupos selecionados.
+access.groups1 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelo grupo ''{1}''.
+access.groups2 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'' e ''{2}''''{1}', ''{2}'' e ''{3}''. Voc\u00EA pode restringir ainda mais o acesso a este arquivo sendo por grupo, se desejar.
+access.groups4 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'' e ''{4}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups5 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'' e ''{5}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups6 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'' e ''{6}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups7 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'' e ''{7}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups8 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'' e ''{8}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups9 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'' e ''{9}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groupsX = ###############################################################################################################################################################################################################################################################
+access.inherit = As configura\u00E7\u00F5es de acesso dos recursos devem ser iguais \u00E0s da pasta.
+access.public = Para todos
+access.public.choice = Este arquivo \u00E9 vis\u00EDvel para todos.
+access.public.fldr = Esta pasta e seu conte\u00FAdo s\u00E3o vis\u00EDveis para todos.
+access.public.nochoice = Os recursos na pasta ''{0}'' s\u00E3o vis\u00EDveis para todos.
+access.public1 = Vis\u00EDvel para todos
+access.public2 = Este item \u00E9 vis\u00EDvel para todos.
+access.site = Todo o site
+access.site.choice = Somente participantes deste site podem ver este arquivo.
+access.site.fldr = Somente participantes deste site podem ver esta pasta e seu conte\u00FAdo.
+access.site.nochoice = Os recursos na pasta ''{0}'' podem ser visualizados por todos os participantes deste site.
+access.site1 = Vis\u00EDvel para o site inteiro
+access.site2 = Somente participantes deste site podem ver este item.
+access.title1 = Acesso
+access.title2 = Acesso: Exibir para n\u00E3o participantes (visualiza\u00E7\u00E3o para todos)
+access.title3 = Acesso: Exibir para todos os participantes deste site
+access.title4 = Acesso: Exibir para todos os participantes de um grupo selecionado ({0})
+access.title5 = Acesso: Exibir para todos os participantes do(s) grupo(s) selecionado(s)
+
+action.access = Visualizar Propriedades
+action.compresszipfolder = Compactar em Arquivo ZIP
+action.copy = Copiar
+action.create = Adicionar
+action.delete = Excluir
+action.duplicate = Duplicar
+action.expandziparchive = Expandir Arquivo ZIP
+action.fincopy = Colar Itens Copiados
+action.finmove = Colar Itens Movidos
+action.info = Informa\u00E7\u00F5es
+action.move = Mover
+action.new = Adicionar itens
+action.other = Agir em {0}
+action.paste = Colar
+action.permissions = Alterar Permiss\u00F5es de Pasta
+action.props = Alterar Detalhes
+action.reorder = Reordenar
+action.replace = Fazer Upload de Nova vers\u00E3o
+action.revise = Alterar Conte\u00FAdo
+action.select = - Selecionar A\u00E7\u00E3o -
+
+alert.exists = A pasta \u201C{0}\u201D j\u00E1 existe nesta pasta
+alert.perm = Voc\u00EA n\u00E3o tem permiss\u00E3o para adicionar itens nesta pasta.
+alert.toolong = O nome \u201C{0}\u201D \u00E9 muito longo.
+
+avail.end = Final
+avail.end1 = At\u00E9
+avail.hide = Ocultar
+avail.hide1 = Ocultar este item de n\u00E3o administradores
+avail.hide2 = Ocultar esta pasta de n\u00E3o administradores
+avail.show = Mostrar
+avail.show1 = Mostrar este item
+avail.show2 = Mostrar esta pasta
+avail.start = In\u00EDcio
+avail.start1 = De
+avail.title = Disponibilidade
+
+button.actions = A\u00E7\u00F5es
+button.add = Adicionar
+button.upload = Fazer Upload
+
+choosefile7 = Por favor, escolha o arquivo para ser anexado.
+
+collapse.all = Recolher Tudo
+
+create.folder = Criar Pastas
+create.html = Criar P\u00E1ginas HTML
+create.text = Criar Documento de Texto
+create.unknown = Novo {0}
+create.upload = Upload de Novo Arquivo
+create.uploads = Fazer Upload de Arquivos
+create.url = Adicionar Link (URL)
+create.urls = Adicionar Links (URLs)
+
+cright.alert = Alerta de Direitos Autorais
+cright.display = Exibir alerta de direitos autorais e solicitar confirma\u00E7\u00E3o de aceita\u00E7\u00E3o quando acessado por outras pessoas.
+cright.fairuse = mais informa\u00E7\u00F5es
+cright.info = Informa\u00E7\u00F5es de Direitos Autorais
+cright.newwin = Nova Janela
+cright.show = que \u00E9 isso?
+cright.status = Status de Direitos Autorais
+
+dav.webdav = Fazer Upload-Download de M\u00FAltiplos Recursos
+
+del.del = Excluir confirma\u00E7\u00E3o\u2026
+del.del1 = Excluir
+del.sure = Voc\u00EA tem certeza de que deseja excluir este(s) item(ns)?
+del.table = A tabela apresenta informa\u00E7\u00F5es sobre os recursos selecionados para exclus\u00E3o. Os t\u00EDtulos das colunas cont\u00EAm as descri\u00E7\u00F5es dos conte\u00FAdos e links para ordena\u00E7\u00E3o.
+
+edit.access4 = Exibir para os grupos selecionados
+edit.calert = Alerta de Direitos Autorais
+edit.cstatus = Status dos Direitos Autorais
+edit.descr = Descri\u00E7\u00E3o
+edit.display = Exibir alerta de direitos autorais e solicitar confirma\u00E7\u00E3o de aceita\u00E7\u00E3o quando acessado por outras pessoas.
+edit.group1 = T\u00EDtulo
+edit.group2 = Descri\u00E7\u00E3o
+edit.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00E9m caixas de verifica\u00E7\u00E3o, a segunda cont\u00E9m o nome do grupo e a terceira a descri\u00E7\u00E3o do grupo. Os links dos t\u00EDtulos podem ser usados para ordenar.
+edit.hide = Ocultar os detalhes deste item
+edit.newwin = Nova Janela
+edit.quota = Quota especial (em Kbytes, 0 para ilimitado)
+edit.remove = Excluir este item
+edit.show = Adicionar detalhes a este item
+edit.what = que \u00E9 isso?
+edit.who = Escolher quem pode ver este item
+edit.who.fldr = Escolher quem pode ver esta pasta e seu conte\u00FAdo
+
+expand.all = Expandir Tudo
+
+gen.email1 = E-mail de Notifica\u00E7\u00E3o
+gen.email2 = Alta \u2013 Todos os participantes
+gen.email3 = Nenhuma \u2013 N\u00E3o enviar notifica\u00E7\u00E3o
+gen.email4 = Alta \u2013 Todos os participantes
+gen.location = Baixa - Somente para os participantes que optaram
+
+instr.access = Os recursos podem ter a visibilidade agendada para per\u00EDodos de tempo determinados. Os administradores do site sempre conseguir\u00E3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00E1rios.
+instr.access.fldr = As pastas e seus conte\u00FAdos podem ter a visibilidade agendada para per\u00EDodos de tempo determinados. Os administradores do site sempre conseguir\u00E3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00E1rios.
+instr.create = Insira o nome do {0} (obrigat\u00F3rio), escolha qualquer outra propriedade que desejar, depois clique em \u2018Concluir\u2019 para criar o {0}.
+instr.folder = Digite o nome de cada pasta em um campo separadamente e depois clique abaixo em \u2018Continuar\u2019.
+instr.folders = Crie tantas pastas quanto desejar! Se voc\u00EA mudar de id\u00E9ia sobre a necessidade de uma de suas pastas, clique no bot\u00E3o \u2018X\u2019. Pressione o bot\u00E3o \u2018Adicionar\u2019 quando quiser concluir..
+instr.html = Digite o texto da sua p\u00E1gina (use a barra de ferramentas para format\u00E1-lo) e clique abaixo em \u2018Continuar\u2019.
+instr.options = Escolha os tipos de recursos que podem ser criados neste site.
+instr.props = Altere os detalhes dos recursos, depois selecione abaixo \u2018Atualizar\u2019.
+instr.replace = Para substituir a vers\u00E3o atual deste arquivo por uma vers\u00E3o atualizada, selecione aqui seu arquivo atualizado.
+instr.require = Itens obrigat\u00F3rios marcados com {0}
+instr.text = Digite o texto e clique abaixo em \u2018Continuar\u2019.
+instr.upload = Selecione os arquivos para fazer upload e depois clique abaixo em \u2018Continuar\u2019.
+instr.uploads = Fa\u00E7a upload de quantos arquivos voc\u00EA desejar. Se voc\u00EA mudar de id\u00E9ia sobre fazer upload de um dos seus arquivos, clique no bot\u00E3o \u2018X\u2019 ao lado. Pressione o bot\u00E3o \u2018Upload\u2019 quando tiver selecionado todos os arquivos que desejar fazer upload.
+instr.url = Copie-e-cole ou digite o endere\u00E7o na web (URL) e depois clique abaixo em \u2018Continuar\u2019.
+instr.urls = Adicione quantos links (URL) voc\u00EA desejar. Se voc\u00EA mudar de id\u00E9ia sobre a necessidade dos seus links, clique no bot\u00E3o \u2018X\u2019 ao lado. Pressione o bot\u00E3o \u2018Adicionar Links Agora\u2019 quando quiser concluir.
+
+label.addFolder = Adicionar Outra Pasta
+label.addfile = Adicionar Outro Arquivo
+label.addurl = Adicionar Outro Link
+label.alert = Aten\u00E7\u00E3o:
+label.cancel = Cancelar
+label.continue = Continuar
+label.date = Data:
+label.display = Exibir Nome
+label.finfldr = Criar Pastas Agora
+label.finish = Concluir
+label.finupl = Fazer Upload de Arquivos Agora
+label.folder = Nome da Pasta
+label.name = Nome Original do Arquivo
+label.proces = Processando\u2026
+label.time = Hor\u00E1rio:
+label.update = Atualizar
+label.upl = Fazer Upload de Nova Vers\u00E3o Agora
+label.upload = Arquivo para Upload
+label.url = URL
+label.urlnow = Adicionar Links Agora
+label.urls] = Endere\u00E7o na Web (URL)
+label.version = Fazer Upload De Uma Nova Vers\u00E3o
+label.website = Nome do Site
+
+lis.clear = Apagar Pesquisa
+lis.search = Pesquisar
+lis.show10 = mostrar 10 itens\u2026
+lis.show100 = mostrar 100 itens\u2026
+lis.show20 = mostrar 20 itens\u2026
+lis.show200 = mostrar 200 itens\u2026
+lis.show5 = mostrar 5 itens por p\u00E1gina\u2026
+lis.show50 = mostrar 50 itens\u2026
+
+list.columns = Mostrar colunas
+list.hierarchy = Mostrar hierarquia
+list.site = Reposit\u00F3rio do Site
+
+mime.alert = Aten\u00E7\u00E3o: Mudar o tipo de arquivo de um recurso n\u00E3o ascii para "text/plain" ou "text/html" pode causar a inser\u00E7\u00E3o de linhas em branco indevidos, tornando o arquivo n\u00E3o utiliz\u00E1vel.
+
+month.apr = ABR
+month.aug = AGO
+month.dec = DEZ
+month.feb = FEV
+month.jan = JAN
+month.jul = JUL
+month.jun = JUN
+month.mar = MAR
+month.may = MAI
+month.nov = NOV
+month.oct = OUT
+month.sep = SET
+
+noti.all = Todos os participantes deste site
+noti.label = Mandar um e-mail de notifica\u00E7\u00E3o sobre estes itens para:
+noti.limited = Participantes do site que solicitaram receber e-mails.
+noti.none = Ningu\u00E9m
+
+paste.error = N\u00E3o foi poss\u00EDvel adicionar \u201C{0}\u201D nesta pasta.
+
+props.access = Disponibilidade e Acesso
+props.creatime = Criado
+props.creatime.upl = Upload Conclu\u00EDdo
+props.creator = Criado Por
+props.creator.upl = Upload originalmente feito por
+props.file = Detalhes do Arquivo
+props.fldr = Detalhes da Pasta
+props.mime = Tipo de Arquivo
+props.modby = \u00DAltima modifica\u00E7\u00E3o por
+props.modtime = \u00DAltima modifica\u00E7\u00E3o
+props.size = Tamanho do Arquivo
+props.url = Endere\u00E7o na web (URL)
+
+replace.html = Substituir P\u00E1gina HTML
+replace.text = Substituir Documento de Texto
+replace.upload = Substituir o Upload do Arquivo
+
+revise.html = Alterar P\u00E1gina HTML
+revise.text = Alterar Documento de Texto
+revise.url = Alterar URL (link para site)
+
+size.bytes = {0} bytes
+size.exceeded = Excedeu o limite de tamanho para upload de {0}.
+size.gb = {0} GB
+size.gbytes = {0} GB ({1} bytes)
+size.item = 1 item
+size.items = {0} itens
+size.kb = {0} KB
+size.kbytes = {0} KB ({1} bytes)
+size.mb = {0} MB
+size.mbytes = {0} MB ({1} bytes)
+
+text.notext = Por favor, insira o conte\u00FAdo do seu documento de texto
+
+title.access = Acesso
+title.availability = Disponibilidade
+title.created = Adicionado Por
+title.description = Descri\u00E7\u00E3o
+title.dropbox = {0} Escaninho
+title.last = \u00DAltima Modifica\u00E7\u00E3o
+title.name = Nome
+title.nameof = Nome do {0}
+title.optional = Propriedades Opcionais
+title.options = Escolha as op\u00E7\u00F5es para os recursos no site \u201C{0}\u201D
+title.permissions = Escolha as op\u00E7\u00F5es para os recursos na pasta \u201C{0}\u201D
+title.props = Propriedades
+title.resources = {0} Recursos
+title.size = Tamanho
+
+type.folder = Pasta
+type.html = P\u00E1gina HTML
+type.text = Documento de Texto
+type.upload = Fazer Upload de Arquivo
+type.url = Link (URL)
+
+upload.limit = Voc\u00EA s\u00F3 pode fazer upload de {0} MB em arquivos por vez. Voc\u00EA deve fazer upload de arquivos grandes individualmente.
+
+url.invalid = Link (URL) ({0}) inv\u00E1lido.
+url.noinput = Por favor, insira um link (URL).
Index: content/content-bundles/types.properties
===================================================================
--- content/content-bundles/types.properties (revisão 41588)
+++ content/content-bundles/types.properties (cópia de trabalho)
@@ -1,233 +1,263 @@
-access.groups.choice = Display this file to selected groups only.
-access.groups.fldr = Display this folder and its contents to selected groups only.
-access.groupsX = Resources in the ''{0}'' folder can only be viewed by the groups ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'', ''{9}'' and others. You can further restrict this file by group if you wish.
-access.inherit = Leave access settings as for the folder.
-access.public.choice = This file is publicly viewable.
-access.public.fldr = This folder and its contents are publicly viewable.
-access.public.nochoice = Resources in the ''{0}'' folder are publicly viewable.
-access.public.noparent = Resources in this folder are publicly viewable.
-access.site.choice = Only members of this site can see this file.
-access.site.fldr = Only members of this site can see this folder and its contents.
-access.site.nochoice = Resources in the ''{0}'' folder can be viewed by all members of this site.
-access.site.noparent = Resources in this folder can be viewed by all members of this site.
-access.dropbox = Dropbox
-access.dropbox1 = Visible to instructor and student
-access.group = Select group(s)
-access.group1 = Visible to selected groups: {0}
-access.public = Public
-access.public1 = Visible to public
-access.site = Entire site
-access.site1 = Visible to entire site
-access.title1 = Access
-access.title2 = Access: Display to non-members (publicly viewable)
-access.title3 = Access: Display to all members of this site
-access.title4 = Access: Display to members of a selected group ({0})
-access.title5 = Access: Display to members of selected group(s)
+access.dropbox = Dropbox
+access.dropbox1 = Visible to instructor and student
+access.group = Select group(s)
+access.group1 = Visible to selected groups: {0}
+access.groups.choice = Display this file to selected groups only.
+access.groups.fldr = Display this folder and its contents to selected groups only.
+access.groupsX = Resources in the ''{0}'' folder can only be viewed by the groups ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'', ''{9}'' and others. You can further restrict this file by group if you wish.
+access.inherit = Leave access settings as for the folder.
+access.public = Public
+access.public.choice = This file is publicly viewable.
+access.public.fldr = This folder and its contents are publicly viewable.
+access.public.nochoice = Resources in the ''{0}'' folder are publicly viewable.
+access.public.noparent = Resources in this folder are publicly viewable.
+access.public1 = Visible to public
+access.site = Entire site
+access.site.choice = Only members of this site can see this file.
+access.site.fldr = Only members of this site can see this folder and its contents.
+access.site.nochoice = Resources in the ''{0}'' folder can be viewed by all members of this site.
+access.site.noparent = Resources in this folder can be viewed by all members of this site.
+access.site1 = Visible to entire site
+access.title1 = Access
+access.title2 = Access: Display to non-members (publicly viewable)
+access.title3 = Access: Display to all members of this site
+access.title4 = Access: Display to members of a selected group ({0})
+access.title5 = Access: Display to members of selected group(s)
-action.access = View Details
-action.copy = Copy
-action.delete = Remove
-action.duplicate = Duplicate
-action.info = Info
-action.move = Move
-action.other = Act on this {0}
-action.paste = Paste
-action.pastecopy = Paste copied items
-action.pastemove = Paste moved items
-action.permissions = Edit Folder Permissions
-action.props = Edit Details
-action.reorder = Reorder
-action.replace = Upload New Version
-action.revise = Edit Content
-action.select = - Select Action -
-alert.exists = The folder ''{0}'' already exists in this folder.
-alert.noperm = You do not have permission to change this item.
-alert.nofldr = Please provide the folder name.
-alert.nosort = Unable to complete Sort
-alert.overquota = Adding ''{0}'' would place this account over quota. To add this resource, some resources may need to be deleted.
-alert.perm = You do not have permission to add items to this folder.
-alert.quota = These changes would place this account over quota. To complete this change, some resources may need to be deleted.
-alert.toolong = The name ''{0}'' is too long.
-alert.unable = Unable to add item
-alert.unable1 = Unable to add item: {0}
-alert.unknown = An error occurred.
+action.access = View Details
+action.compresszipfolder = Compress to ZIP Archive
+action.copy = Copy
+action.delete = Remove
+action.duplicate = Duplicate
+action.expandziparchive = Expand ZIP Archive
+action.info = Info
+action.move = Move
+action.other = Act on this {0}
+action.paste = Paste
+action.pastecopy = Paste copied items
+action.pastemove = Paste moved items
+action.permissions = Edit Folder Permissions
+action.props = Edit Details
+action.reorder = Reorder
+action.replace = Upload New Version
+action.revise = Edit Content
+action.select = - Select Action -
+
+alert.exists = The folder ''{0}'' already exists in this folder.
+alert.nofldr = Please provide the folder name.
+alert.noperm = You do not have permission to change this item.
+alert.nosort = Unable to complete Sort
+alert.overquota = Adding ''{0}'' would place this account over quota. To add this resource, some resources may need to be deleted.
+alert.perm = You do not have permission to add items to this folder.
+alert.quota = These changes would place this account over quota. To complete this change, some resources may need to be deleted.
+alert.toolong = The name ''{0}'' is too long.
+alert.unable = Unable to add item
+alert.unable1 = Unable to add item: {0}
+alert.unknown = An error occurred.
alert.utf8encoding = Content cannot be encoded in UTF-8.
-avail.end = Ending
-avail.end1 = Until
-avail.hide = Hide
+avail.end = Ending
+avail.end1 = Until
+avail.hide = Hide
#avail.hide1 = Hide this item from non-administrators
-avail.hide10 = Hide this item
+avail.hide10 = Hide this item
#avail.hide2 = Hide this folder from non-administrators
-avail.hide20 = Hide this folder and its contents
-avail.show = Show
-avail.show1 = Show this item
-avail.show2 = Show this folder
-avail.start = Beginning
-avail.start1 = From
-avail.title = Availability
-button.actions = Actions
-button.add = Add
-choosefile7 = Please choose the file to attach.
-collapse.all = Collapse All
-collapse.item = Unexpand This Folder
-create.folder = Create Folders
-create.html = Create HTML Page
-create.text = Create Text Document
-create.unknown = New {0}
-create.upload = New File Upload
-create.uploads = Upload Files
-create.url = Add Web Link (URL)
-create.urls = Add Web Links (URLs)
-cright.alert = Copyright Alert
-cright.display = Display copyright alert and require acknowledgement when accessed by others.
-cright.fairuse = more info
-cright.info = Copyright Information
-cright.newwin = New window
-cright.show = what's this?
-cright.status = Copyright Status
-dav.webdav = Upload-Download Multiple Resources
-del.del = Remove confirmation...
-del.del1 = Remove
-del.sure = Are you sure you want to remove the following item(s)?
-del.table = Table holds information about resources selected for removal. Column headers contain descriptions of contents and links for sorting.
-edit.access4 = Display to selected groups
-edit.calert = Copyright Alert
-edit.cstatus = Copyright Status
-edit.descr = Description
-edit.display = Display copyright alert and require acknowledgement when accessed by others.
-edit.group1 = Title
-edit.group2 = Description
-edit.group3 = Table contains list of groups. First column contains checkboxes, second contains the group name, third the group description. Header links can be used to sort.
-edit.hide = Hide details for this item
-edit.quota = Special quota (in KBytes, 0 for unlimited)
-edit.remove = Remove this item
-edit.show = Add details for this item
-edit.who = Choose who can see this item.
-edit.who.fldr = Choose who can see this folder and its contents.
-expand.all = Expand All
-expand.item = Expand This Folder
-gen.email1 = Email Notification
-gen.email2 = High - All participants
-gen.email3 = Low - Only participants who have opted in
-gen.email4 = None - No notification
-gen.location = Location:
+avail.hide20 = Hide this folder and its contents
+avail.show = Show
+avail.show1 = Show this item
+avail.show2 = Show this folder
+avail.start = Beginning
+avail.start1 = From
+avail.title = Availability
-instr.access.fldr = Folders and their contents can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
-instr.access = Resources can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
-instr.create = Enter the name of the {0} (required), set any other properties you wish, and then click "Finish" to create the {0}.
-instr.folder = Type the name of each folder in a separate box and then click 'Continue' at the bottom.
-instr.folders = Create as many folders as you like! If you change your mind about needing one of your folders, click the 'X' button.Press the 'Add' button when you have finished.
-instr.html = Type in the text for your page (use the toolbar to format it) and click 'Continue' at the bottom.
-instr.options = Select or unselect resources types to indicate whether resources of that type can be created in this site.
-instr.props = Change the resource's details and then choose 'Update' at the bottom.
-instr.replace = To replace the current version of this file with an updated version, select your updated file here.
-instr.require = Required items marked with {0}
-instr.text = Type in the text and click 'Continue' at the bottom.
-instr.upload = Select the files to upload and then click 'Continue' at the bottom.
-instr.uploads = Upload as many files as you like. If you change your mind about uploading one of your files, click the 'X' button beside it. Press the 'Upload' button when you have selected all the files you want to upload.
-instr.url = Copy-and-paste or type in the web address (URL) and then click 'Continue' at the bottom.
-instr.urls = Add as many web links (URLs) as you like. If you change your mind about needing one of your web links, click the 'X' button beside it. Press the 'Add Web Links Now' button when you have finished.
-label.addfile = Add Another File
-label.addFolder = Add Another Folder
-label.addurl = Add Another Web Link
-label.alert = Alert:
-label.cancel = Cancel
-label.continue = Continue
-label.date = Date:
-label.display = Display Name
-label.finfldr = Create Folders Now
-label.finish = Finish
-label.finupl = Upload Files Now
-label.folder = Folder Name
-label.name = Original File Name
-label.proces = Processing ...
-label.time = Time:
-label.update = Update
-label.upl = Upload New Version Now
-label.upload = File To Upload
-label.url = URL
-label.urlnow = Add Web Links Now
-label.urls = Web Address (URL)
-label.version = Upload a new version
-label.website = Website Name
-lis.show10 = show 10 items...
-lis.show100 = show 100 items...
-lis.show20 = show 20 items...
-lis.show200 = show 200 items...
-lis.show5 = show 5 items per page
-lis.show50 = show 50 items...
-list.columns = Show columns
-list.hierarchy = Show hierarchy
-list.site = Site Resources
-list.sPerm = Permissions
-list.toobig = This collection is too big to expand.
-metadata.hide = Hide {0}
-metadata.show = Show {0}
-mime.alert = Alert: Changing the file-type of a non-ascii resource to "text/plain" or "text/html" may cause extraneous blank lines to be inserted, making the file unusable.
-month.apr = APR
-month.aug = AUG
-month.dec = DEC
-month.feb = FEB
-month.jan = JAN
-month.jul = JUL
-month.jun = JUN
-month.mar = MAR
-month.may = MAY
-month.nov = NOV
-month.oct = OCT
-month.sep = SEP
-notify.instructor = Send an email notification to the instructor(s).
-notify.student = Send an email notification to the student.
-paste.error = Could not add ''{0}'' to this folder.
-props.access = Availability and Access
-props.file = File Details
-props.fldr = Folder Details
-props.creatime = Created
-props.creatime.upl = Uploaded
-props.creator = Created by
-props.creator.upl = Originally uploaded by
-props.mime = File Type
-props.modby = Last changed by
-props.modtime = Last changed
-props.mountpoint = Content Hosting Handler mount point
-props.size = File size
-props.url = Web address (URL)
-revise.html = Edit HTML Page
-revise.text = Edit Text Document
-revise.url = Edit URL (link to website)
-sh.close = Close this folder
+button.actions = Actions
+button.add = Add
+
+choosefile7 = Please choose the file to attach.
+
+collapse.all = Collapse All
+collapse.item = Unexpand This Folder
+
+create.folder = Create Folders
+create.html = Create HTML Page
+create.text = Create Text Document
+create.unknown = New {0}
+create.upload = New File Upload
+create.uploads = Upload Files
+create.url = Add Web Link (URL)
+create.urls = Add Web Links (URLs)
+
+cright.alert = Copyright Alert
+cright.display = Display copyright alert and require acknowledgement when accessed by others.
+cright.fairuse = more info
+cright.info = Copyright Information
+cright.newwin = New window
+cright.show = what's this?
+cright.status = Copyright Status
+
+dav.webdav = Upload-Download Multiple Resources
+
+del.del = Remove confirmation...
+del.del1 = Remove
+del.sure = Are you sure you want to remove the following item(s)?
+del.table = Table holds information about resources selected for removal. Column headers contain descriptions of contents and links for sorting.
+
+edit.access4 = Display to selected groups
+edit.calert = Copyright Alert
+edit.cstatus = Copyright Status
+edit.descr = Description
+edit.display = Display copyright alert and require acknowledgement when accessed by others.
+edit.group1 = Title
+edit.group2 = Description
+edit.group3 = Table contains list of groups. First column contains checkboxes, second contains the group name, third the group description. Header links can be used to sort.
+edit.hide = Hide details for this item
+edit.quota = Special quota (in KBytes, 0 for unlimited)
+edit.remove = Remove this item
+edit.show = Add details for this item
+edit.who = Choose who can see this item.
+edit.who.fldr = Choose who can see this folder and its contents.
+
+expand.all = Expand All
+expand.item = Expand This Folder
+
+gen.email1 = Email Notification
+gen.email2 = High - All participants
+gen.email3 = Low - Only participants who have opted in
+gen.email4 = None - No notification
+gen.location = Location:
+
+instr.access = Resources can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
+instr.access.fldr = Folders and their contents can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
+instr.create = Enter the name of the {0} (required), set any other properties you wish, and then click "Finish" to create the {0}.
+instr.folder = Type the name of each folder in a separate box and then click 'Continue' at the bottom.
+instr.folders = Create as many folders as you like! If you change your mind about needing one of your folders, click the 'X' button.Press the 'Add' button when you have finished.
+instr.html = Type in the text for your page (use the toolbar to format it) and click 'Continue' at the bottom.
+instr.options = Select or unselect resources types to indicate whether resources of that type can be created in this site.
+instr.props = Change the resource's details and then choose 'Update' at the bottom.
+instr.replace = To replace the current version of this file with an updated version, select your updated file here.
+instr.require = Required items marked with {0}
+instr.text = Type in the text and click 'Continue' at the bottom.
+instr.upload = Select the files to upload and then click 'Continue' at the bottom.
+instr.uploads = Upload as many files as you like. If you change your mind about uploading one of your files, click the 'X' button beside it. Press the 'Upload' button when you have selected all the files you want to upload.
+instr.url = Copy-and-paste or type in the web address (URL) and then click 'Continue' at the bottom.
+instr.urls = Add as many web links (URLs) as you like. If you change your mind about needing one of your web links, click the 'X' button beside it. Press the 'Add Web Links Now' button when you have finished.
+
+label.addFolder = Add Another Folder
+label.addfile = Add Another File
+label.addurl = Add Another Web Link
+label.alert = Alert:
+label.cancel = Cancel
+label.continue = Continue
+label.date = Date:
+label.display = Display Name
+label.finfldr = Create Folders Now
+label.finish = Finish
+label.finupl = Upload Files Now
+label.folder = Folder Name
+label.name = Original File Name
+label.proces = Processing ...
+label.time = Time:
+label.update = Update
+label.upl = Upload New Version Now
+label.upload = File To Upload
+label.url = URL
+label.urlnow = Add Web Links Now
+label.urls = Web Address (URL)
+label.version = Upload a new version
+label.website = Website Name
+
+lis.show10 = show 10 items...
+lis.show100 = show 100 items...
+lis.show20 = show 20 items...
+lis.show200 = show 200 items...
+lis.show5 = show 5 items per page
+lis.show50 = show 50 items...
+
+list.columns = Show columns
+list.hierarchy = Show hierarchy
+list.sPerm = Permissions
+list.site = Site Resources
+list.toobig = This collection is too big to expand.
+
+metadata.hide = Hide {0}
+metadata.show = Show {0}
+
+mime.alert = Alert: Changing the file-type of a non-ascii resource to "text/plain" or "text/html" may cause extraneous blank lines to be inserted, making the file unusable.
+
+month.apr = APR
+month.aug = AUG
+month.dec = DEC
+month.feb = FEB
+month.jan = JAN
+month.jul = JUL
+month.jun = JUN
+month.mar = MAR
+month.may = MAY
+month.nov = NOV
+month.oct = OCT
+month.sep = SEP
+
+notify.instructor = Send an email notification to the instructor(s).
+notify.student = Send an email notification to the student.
+
+paste.error = Could not add ''{0}'' to this folder.
+
+props.access = Availability and Access
+props.creatime = Created
+props.creatime.upl = Uploaded
+props.creator = Created by
+props.creator.upl = Originally uploaded by
+props.file = File Details
+props.fldr = Folder Details
+props.mime = File Type
+props.modby = Last changed by
+props.modtime = Last changed
+props.mountpoint = Content Hosting Handler mount point
+props.size = File size
+props.url = Web address (URL)
+
+revise.html = Edit HTML Page
+revise.text = Edit Text Document
+revise.url = Edit URL (link to website)
+
+sh.close = Close this folder
#sh.closed = Closed folder
-sh.open = Open this folder
+sh.open = Open this folder
+
#sh.opened = Opened folder
-size.bytes = {0} bytes
-size.exceeded = The upload size limit of {0} has been exceeded.
-size.gb = {0} GB
-size.gbytes = {0} GB ({1} bytes)
-size.item = 1 item
-size.items = {0} items
-size.kb = {0} KB
-size.kbytes = {0} KB ({1} bytes)
-size.mb = {0} MB
-size.mbytes = {0} MB ({1} bytes)
-text.notext = Please enter the contents of your simple text document.
-title.availability = Availability
-title.created = Added By
-title.description = Description
-title.dropbox = {0} Drop Box
-title.last = Last Modified
-title.name = Name
-title.options = Setting options for resources in worksite ''{0}''
-title.permissions = Set permissions for resources in folder: {0}
-title.props = Properties
-title.resources = {0} Resources
-title.size = Size
-type.folder = Folder
-type.html = HTML Page
-type.text = Simple Text Document
-type.upload = File Upload
-type.url = Web link (URL)
-upload.limit = You can only upload {0} MB worth of files at one time. You may need to upload large files one at a time.
-url.invalid = Invalid web link (URL) ({0}).
-url.noinput = Please enter at least one web link (URL).
+size.bytes = {0} bytes
+size.exceeded = The upload size limit of {0} has been exceeded.
+size.gb = {0} GB
+size.gbytes = {0} GB ({1} bytes)
+size.item = 1 item
+size.items = {0} items
+size.kb = {0} KB
+size.kbytes = {0} KB ({1} bytes)
+size.mb = {0} MB
+size.mbytes = {0} MB ({1} bytes)
+
+text.notext = Please enter the contents of your simple text document.
+
+title.availability = Availability
+title.created = Added By
+title.description = Description
+title.dropbox = {0} Drop Box
+title.last = Last Modified
+title.name = Name
+title.options = Setting options for resources in worksite ''{0}''
+title.permissions = Set permissions for resources in folder: {0}
+title.props = Properties
+title.resources = {0} Resources
+title.size = Size
+
+type.folder = Folder
+type.html = HTML Page
+type.text = Simple Text Document
+type.upload = File Upload
+type.url = Web link (URL)
+
+upload.limit = You can only upload {0} MB worth of files at one time. You may need to upload large files one at a time.
+
+url.invalid = Invalid web link (URL) ({0}).
+url.noinput = Please enter at least one web link (URL).
Index: content/content-impl/impl/src/java/org/sakaiproject/content/types/FileUploadType.java
===================================================================
--- content/content-impl/impl/src/java/org/sakaiproject/content/types/FileUploadType.java (revisão 41588)
+++ content/content-impl/impl/src/java/org/sakaiproject/content/types/FileUploadType.java (cópia de trabalho)
@@ -43,6 +43,7 @@
import org.sakaiproject.content.api.ServiceLevelAction;
import org.sakaiproject.content.api.ResourceToolAction.ActionType;
import org.sakaiproject.content.cover.ContentTypeImageService;
+import org.sakaiproject.content.impl.util.ZipContentUtil;
import org.sakaiproject.content.util.BaseResourceType;
import org.sakaiproject.entity.api.Reference;
import org.sakaiproject.entity.api.ResourceProperties;
@@ -77,6 +78,7 @@
actions.put(ResourceToolAction.COPY, new FileUploadCopyAction());
actions.put(ResourceToolAction.MOVE, new FileUploadMoveAction());
actions.put(ResourceToolAction.DELETE, new FileUploadDeleteAction());
+ actions.put(ResourceToolAction.EXPAND_ZIP_ARCHIVE, new FileUploadExpandAction());
// initialize actionMap with an empty List for each ActionType
for(ResourceToolAction.ActionType type : ResourceToolAction.ActionType.values())
@@ -741,6 +743,54 @@
}
}
+ public class FileUploadExpandAction implements ServiceLevelAction {
+
+ private ZipContentUtil extractZipArchive = new ZipContentUtil();
+ public void cancelAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void finalizeAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void initializeAction(Reference reference) {
+ try {
+ extractZipArchive.extractZipArchive(reference);
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
+ }
+
+ public boolean isMultipleItemAction() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean available(ContentEntity entity) {
+ return entity.getId().toLowerCase().endsWith(".zip");
+ }
+
+ public ActionType getActionType() {
+ return ResourceToolAction.ActionType.EXPAND_ZIP_ARCHIVE;
+ }
+
+ public String getId() {
+ return ResourceToolAction.EXPAND_ZIP_ARCHIVE;
+ }
+
+ public String getLabel() {
+ return rb.getString("action.expandziparchive");
+ }
+
+ public String getTypeId() {
+ return typeId;
+ }
+
+ }
+
public ResourceToolAction getAction(String actionId)
{
return (ResourceToolAction) actions.get(actionId);
Index: content/content-impl/impl/src/java/org/sakaiproject/content/types/FolderType.java
===================================================================
--- content/content-impl/impl/src/java/org/sakaiproject/content/types/FolderType.java (revisão 41588)
+++ content/content-impl/impl/src/java/org/sakaiproject/content/types/FolderType.java (cópia de trabalho)
@@ -44,6 +44,7 @@
import org.sakaiproject.content.api.ResourceType;
import org.sakaiproject.content.api.ServiceLevelAction;
import org.sakaiproject.content.api.ResourceToolAction.ActionType;
+import org.sakaiproject.content.impl.util.ZipContentUtil;
import org.sakaiproject.content.util.BaseResourceType;
import org.sakaiproject.entity.api.Reference;
import org.sakaiproject.entity.api.ResourceProperties;
@@ -90,6 +91,7 @@
actions.put(ResourceToolAction.PERMISSIONS, new FolderPermissionsAction());
actions.put(ResourceToolAction.EXPAND, new FolderExpandAction());
actions.put(ResourceToolAction.COLLAPSE, new FolderCollapseAction());
+ actions.put(ResourceToolAction.COMPRESS_ZIP_FOLDER, new FolderCompressAction());
// initialize actionMap with an empty List for each ActionType
for(ResourceToolAction.ActionType type : ResourceToolAction.ActionType.values())
@@ -1391,6 +1393,54 @@
}
+ public class FolderCompressAction implements ServiceLevelAction {
+
+ private ZipContentUtil zipUtil = new ZipContentUtil();
+
+ public void cancelAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void finalizeAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void initializeAction(Reference reference) {
+ try {
+ zipUtil.compressFolder(reference);
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
+ }
+
+ public boolean isMultipleItemAction() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean available(ContentEntity entity) {
+ return true;
+ }
+
+ public ActionType getActionType() {
+ return ResourceToolAction.ActionType.COMPRESS_ZIP_FOLDER;
+ }
+
+ public String getId() {
+ return ResourceToolAction.COMPRESS_ZIP_FOLDER;
+ }
+
+ public String getLabel() {
+ return rb.getString("action.compresszipfolder");
+ }
+
+ public String getTypeId() {
+ return typeId;
+ }
+ }
+
public ResourceToolAction getAction(String actionId)
{
return (ResourceToolAction) actions.get(actionId);
Index: content/content-api/api/src/java/org/sakaiproject/content/api/ResourceToolAction.java
===================================================================
--- content/content-api/api/src/java/org/sakaiproject/content/api/ResourceToolAction.java (revisão 41588)
+++ content/content-api/api/src/java/org/sakaiproject/content/api/ResourceToolAction.java (cópia de trabalho)
@@ -173,8 +173,18 @@
* must implement the CustomToolAction interface to provide Resources tool with a way to
* determine permissions, as well as either InteractionAction or ServiceLevelAction.
*/
- CUSTOM_TOOL_ACTION
+ CUSTOM_TOOL_ACTION,
+ /**
+ * Compress a selected folder to a zip archive with the same name.
+ */
+ COMPRESS_ZIP_FOLDER,
+
+ /**
+ * Expands a zip file into serveral folders and archives
+ */
+ EXPAND_ZIP_ARCHIVE
+
}
public static final String CREATE = "create";
@@ -193,6 +203,8 @@
public static final String REORDER = "revise_order";
public static final String EXPAND = "expand";
public static final String COLLAPSE = "collapse";
+ public static final String COMPRESS_ZIP_FOLDER = "compress_zip_folder";
+ public static final String EXPAND_ZIP_ARCHIVE = "expand_zip_archive";
public static final String ACTION_DELIMITER = ":";
Index: content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java
===================================================================
--- content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java (revisão 41588)
+++ content/content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java (cópia de trabalho)
@@ -830,12 +830,12 @@
CONTENT_NEW_ACTIONS.add(ActionType.NEW_UPLOAD);
CONTENT_NEW_ACTIONS.add(ActionType.NEW_FOLDER);
CONTENT_NEW_ACTIONS.add(ActionType.NEW_URLS);
- CONTENT_NEW_ACTIONS.add(ActionType.CREATE);
+ CONTENT_NEW_ACTIONS.add(ActionType.CREATE);
PASTE_COPIED_ACTIONS.add(ActionType.PASTE_COPIED);
PASTE_MOVED_ACTIONS.add(ActionType.PASTE_MOVED);
- CONTENT_NEW_FOR_PARENT_ACTIONS.add(ActionType.DUPLICATE);
+ CONTENT_NEW_FOR_PARENT_ACTIONS.add(ActionType.DUPLICATE);
CONTENT_READ_ACTIONS.add(ActionType.VIEW_CONTENT);
CONTENT_READ_ACTIONS.add(ActionType.COPY);
@@ -846,6 +846,8 @@
CONTENT_MODIFY_ACTIONS.add(ActionType.REVISE_CONTENT);
CONTENT_MODIFY_ACTIONS.add(ActionType.REPLACE_CONTENT);
CONTENT_MODIFY_ACTIONS.add(ActionType.REVISE_ORDER);
+ CONTENT_MODIFY_ACTIONS.add(ActionType.COMPRESS_ZIP_FOLDER);
+ CONTENT_MODIFY_ACTIONS.add(ActionType.EXPAND_ZIP_ARCHIVE);
CONTENT_DELETE_ACTIONS.add(ActionType.MOVE);
CONTENT_DELETE_ACTIONS.add(ActionType.DELETE);
@@ -860,6 +862,7 @@
ACTIONS_ON_FOLDERS.add(ActionType.DELETE);
ACTIONS_ON_FOLDERS.add(ActionType.REVISE_ORDER);
ACTIONS_ON_FOLDERS.add(ActionType.REVISE_PERMISSIONS);
+
// ACTIONS_ON_FOLDERS.add(ActionType.PASTE_MOVED);
ACTIONS_ON_RESOURCES.add(ActionType.VIEW_CONTENT);
@@ -871,7 +874,7 @@
ACTIONS_ON_RESOURCES.add(ActionType.COPY);
ACTIONS_ON_RESOURCES.add(ActionType.MOVE);
ACTIONS_ON_RESOURCES.add(ActionType.DELETE);
-
+
ACTIONS_ON_MULTIPLE_ITEMS.add(ActionType.COPY);
ACTIONS_ON_MULTIPLE_ITEMS.add(ActionType.MOVE);
ACTIONS_ON_MULTIPLE_ITEMS.add(ActionType.DELETE);
Index: content/content-bundles/types_pt_BR.properties
===================================================================
--- content/content-bundles/types_pt_BR.properties (revisão 41588)
+++ content/content-bundles/types_pt_BR.properties (cópia de trabalho)
@@ -1,239 +1,272 @@
-#-------------------------------------------------------
-# Translated by: e-Labora - UNICAMP, Sao Paulo, Brazil
-#-------------------------------------------------------
-
-access.groups.choice = Exibir este arquivo somente para grupos selecionados.
-access.groups.fldr = Exibir esta pasta e seu conte\u00fado somente para grupos selecionados.
-access.groups.folders = Exibir este arquivo somente para grupos selecionados.
-access.groups1 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelo grupo ''{1}''.
-access.groups2 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'' e ''{2}''''{1}', ''{2}'' e ''{3}''. Voc\u00ea pode restringir ainda mais o acesso a este arquivo sendo por grupo, se desejar.
-access.groups4 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'' e ''{4}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups5 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'' e ''{5}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups6 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'' e ''{6}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups7 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'' e ''{7}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups8 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'' e ''{8}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groups9 = Os recursos da pasta ''{0}'' s\u00f3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'' e ''{9}''. Se desejar, voc\u00ea pode restringir ainda mais este arquivo, restringindo-o por grupo.
-access.groupsX = ###############################################################################################################################################################################################################################################################
-access.inherit = As configura\u00e7\u00f5es de acesso dos recursos devem ser iguais \u00e0s da pasta.
-access.public.choice = Este arquivo \u00e9 vis\u00edvel para todos.
-access.public.fldr = Esta pasta e seu conte\u00fado s\u00e3o vis\u00edveis para todos.
-access.public.nochoice = Os recursos na pasta ''{0}'' s\u00e3o vis\u00edveis para todos.
-access.site.choice = Somente participantes deste site podem ver este arquivo.
-access.site.fldr = Somente participantes deste site podem ver esta pasta e seu conte\u00fado.
-access.site.nochoice = Os recursos na pasta ''{0}'' podem ser visualizados por todos os participantes deste site.
-access.dropbox = Escaninho
-access.dropbox1 = Vis\u00edvel para coordenador e estudante
-access.group = Selecionar grupo(s)
-access.group1 = Vis\u00edvel para os grupos selecionados: {0}
-access.group2 = Descri\u00e7\u00e3o
-access.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00e9m caixas de verifica\u00e7\u00e3o, a segunda cont\u00e9m o nome do grupo e a terceira a descri\u00e7\u00e3o do grupo. Os links dos t\u00edtulos podem ser usados para ordenar.
-access.group4 = Exibir este item somente para os grupos selecionados.
-access.public = Para todos
-access.public1 = Vis\u00edvel para todos
-access.public2 = Este item \u00e9 vis\u00edvel para todos.
-access.site = Todo o site
-access.site1 = Vis\u00edvel para o site inteiro
-access.site2 = Somente participantes deste site podem ver este item.
-access.title1 = Acesso
-access.title2 = Acesso: Exibir para n\u00e3o participantes (visualiza\u00e7\u00e3o para todos)
-access.title3 = Acesso: Exibir para todos os participantes deste site
-access.title4 = Acesso: Exibir para todos os participantes de um grupo selecionado ({0})
-access.title5 = Acesso: Exibir para todos os participantes do(s) grupo(s) selecionado(s)
-action.access = Visualizar Propriedades
-action.copy = Copiar
-action.create = Adicionar
-action.delete = Excluir
-action.duplicate = Duplicar
-action.fincopy = Colar Itens Copiados
-action.finmove = Colar Itens Movidos
-action.info = Informa\u00e7\u00f5es
-action.move = Mover
-action.new = Adicionar itens
-action.other = Agir em {0}
-action.paste = Colar
-action.permissions = Alterar Permiss\u00f5es de Pasta
-action.props = Alterar Detalhes
-action.reorder = Reordenar
-action.replace = Fazer Upload de Nova vers\u00e3o
-action.revise = Alterar Conte\u00fado
-action.select = - Selecionar A\u00e7\u00e3o -
-alert.exists = A pasta \u201c{0}\u201d j\u00e1 existe nesta pasta
-alert.perm = Voc\u00ea n\u00e3o tem permiss\u00e3o para adicionar itens nesta pasta.
-alert.toolong = O nome \u201c{0}\u201d \u00e9 muito longo.
-avail.end = Final
-avail.end1 = At\u00e9
-avail.hide = Ocultar
-avail.hide1 = Ocultar este item de n\u00e3o administradores
-avail.hide2 = Ocultar esta pasta de n\u00e3o administradores
-avail.show = Mostrar
-avail.show1 = Mostrar este item
-avail.show2 = Mostrar esta pasta
-avail.start = In\u00edcio
-avail.start1 = De
-avail.title = Disponibilidade
-button.actions = A\u00e7\u00f5es
-button.add = Adicionar
-button.upload = Fazer Upload
-choosefile7 = Por favor, escolha o arquivo para ser anexado.
-collapse.all = Recolher Tudo
-create.folder = Criar Pastas
-create.html = Criar P\u00e1ginas HTML
-create.text = Criar Documento de Texto
-create.unknown = Novo {0}
-create.upload = Upload de Novo Arquivo
-create.uploads = Fazer Upload de Arquivos
-create.url = Adicionar Link (URL)
-create.urls = Adicionar Links (URLs)
-cright.alert = Alerta de Direitos Autorais
-cright.display = Exibir alerta de direitos autorais e solicitar confirma\u00e7\u00e3o de aceita\u00e7\u00e3o quando acessado por outras pessoas.
-cright.fairuse = mais informa\u00e7\u00f5es
-cright.info = Informa\u00e7\u00f5es de Direitos Autorais
-cright.newwin = Nova Janela
-cright.show = que \u00e9 isso?
-cright.status = Status de Direitos Autorais
-dav.webdav = Fazer Upload-Download de M\u00faltiplos Recursos
-del.del = Excluir confirma\u00e7\u00e3o\u2026
-del.del1 = Excluir
-del.sure = Voc\u00ea tem certeza de que deseja excluir este(s) item(ns)?
-del.table = A tabela apresenta informa\u00e7\u00f5es sobre os recursos selecionados para exclus\u00e3o. Os t\u00edtulos das colunas cont\u00eam as descri\u00e7\u00f5es dos conte\u00fados e links para ordena\u00e7\u00e3o.
-edit.access4 = Exibir para os grupos selecionados
-edit.calert = Alerta de Direitos Autorais
-edit.cstatus = Status dos Direitos Autorais
-edit.descr = Descri\u00e7\u00e3o
-edit.display = Exibir alerta de direitos autorais e solicitar confirma\u00e7\u00e3o de aceita\u00e7\u00e3o quando acessado por outras pessoas.
-edit.group1 = T\u00edtulo
-edit.group2 = Descri\u00e7\u00e3o
-edit.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00e9m caixas de verifica\u00e7\u00e3o, a segunda cont\u00e9m o nome do grupo e a terceira a descri\u00e7\u00e3o do grupo. Os links dos t\u00edtulos podem ser usados para ordenar.
-edit.hide = Ocultar os detalhes deste item
-edit.newwin = Nova Janela
-edit.quota = Quota especial (em Kbytes, 0 para ilimitado)
-edit.remove = Excluir este item
-edit.show = Adicionar detalhes a este item
-edit.what = que \u00e9 isso?
-edit.who = Escolher quem pode ver este item
-edit.who.fldr = Escolher quem pode ver esta pasta e seu conte\u00fado
-expand.all = Expandir Tudo
-gen.email1 = E-mail de Notifica\u00e7\u00e3o
-gen.email2 = Alta \u2013 Todos os participantes
-gen.email3 = Nenhuma \u2013 N\u00e3o enviar notifica\u00e7\u00e3o
-gen.email4 = Alta \u2013 Todos os participantes
-gen.location = Baixa - Somente para os participantes que optaram
-instr.access.fldr = As pastas e seus conte\u00fados podem ter a visibilidade agendada para per\u00edodos de tempo determinados. Os administradores do site sempre conseguir\u00e3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00e1rios.
-instr.access = Os recursos podem ter a visibilidade agendada para per\u00edodos de tempo determinados. Os administradores do site sempre conseguir\u00e3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00e1rios.
-instr.create = Insira o nome do {0} (obrigat\u00f3rio), escolha qualquer outra propriedade que desejar, depois clique em \u2018Concluir\u2019 para criar o {0}.
-instr.folder = Digite o nome de cada pasta em um campo separadamente e depois clique abaixo em \u2018Continuar\u2019.
-instr.folders = Crie tantas pastas quanto desejar! Se voc\u00ea mudar de id\u00e9ia sobre a necessidade de uma de suas pastas, clique no bot\u00e3o \u2018X\u2019. Pressione o bot\u00e3o \u2018Adicionar\u2019 quando quiser concluir..
-instr.html = Digite o texto da sua p\u00e1gina (use a barra de ferramentas para format\u00e1-lo) e clique abaixo em \u2018Continuar\u2019.
-instr.options = Escolha os tipos de recursos que podem ser criados neste site.
-instr.props = Altere os detalhes dos recursos, depois selecione abaixo \u2018Atualizar\u2019.
-instr.replace = Para substituir a vers\u00e3o atual deste arquivo por uma vers\u00e3o atualizada, selecione aqui seu arquivo atualizado.
-instr.require = Itens obrigat\u00f3rios marcados com {0}
-instr.text = Digite o texto e clique abaixo em \u2018Continuar\u2019.
-instr.upload = Selecione os arquivos para fazer upload e depois clique abaixo em \u2018Continuar\u2019.
-instr.uploads = Fa\u00e7a upload de quantos arquivos voc\u00ea desejar. Se voc\u00ea mudar de id\u00e9ia sobre fazer upload de um dos seus arquivos, clique no bot\u00e3o \u2018X\u2019 ao lado. Pressione o bot\u00e3o \u2018Upload\u2019 quando tiver selecionado todos os arquivos que desejar fazer upload.
-instr.url = Copie-e-cole ou digite o endere\u00e7o na web (URL) e depois clique abaixo em \u2018Continuar\u2019.
-instr.urls = Adicione quantos links (URL) voc\u00ea desejar. Se voc\u00ea mudar de id\u00e9ia sobre a necessidade dos seus links, clique no bot\u00e3o \u2018X\u2019 ao lado. Pressione o bot\u00e3o \u2018Adicionar Links Agora\u2019 quando quiser concluir.
-label.addfile = Adicionar Outro Arquivo
-label.addFolder = Adicionar Outra Pasta
-label.addurl = Adicionar Outro Link
-label.alert = Aten\u00e7\u00e3o:
-label.cancel = Cancelar
-label.continue = Continuar
-label.date = Data:
-label.display = Exibir Nome
-label.finfldr = Criar Pastas Agora
-label.finish = Concluir
-label.finupl = Fazer Upload de Arquivos Agora
-label.folder = Nome da Pasta
-label.name = Nome Original do Arquivo
-label.proces = Processando\u2026
-label.time = Hor\u00e1rio:
-label.update = Atualizar
-label.upl = Fazer Upload de Nova Vers\u00e3o Agora
-label.upload = Arquivo para Upload
-label.url = URL
-label.urlnow = Adicionar Links Agora
-label.urls] = Endere\u00e7o na Web (URL)
-label.version = Fazer Upload De Uma Nova Vers\u00e3o
-label.website = Nome do Site
-lis.clear = Apagar Pesquisa
-lis.search = Pesquisar
-lis.show10 = mostrar 10 itens\u2026
-lis.show100 = mostrar 100 itens\u2026
-lis.show20 = mostrar 20 itens\u2026
-lis.show200 = mostrar 200 itens\u2026
-lis.show5 = mostrar 5 itens por p\u00e1gina\u2026
-lis.show50 = mostrar 50 itens\u2026
-list.columns = Mostrar colunas
-list.hierarchy = Mostrar hierarquia
-list.site = Reposit\u00f3rio do Site
-mime.alert = Aten\u00e7\u00e3o: Mudar o tipo de arquivo de um recurso n\u00e3o ascii para "text/plain" ou "text/html" pode causar a inser\u00e7\u00e3o de linhas em branco indevidos, tornando o arquivo n\u00e3o utiliz\u00e1vel.
-month.apr = ABR
-month.aug = AGO
-month.dec = DEZ
-month.feb = FEV
-month.jan = JAN
-month.jul = JUL
-month.jun = JUN
-month.mar = MAR
-month.may = MAI
-month.nov = NOV
-month.oct = OUT
-month.sep = SET
-noti.all = Todos os participantes deste site
-noti.label = Mandar um e-mail de notifica\u00e7\u00e3o sobre estes itens para:
-noti.limited = Participantes do site que solicitaram receber e-mails.
-noti.none = Ningu\u00e9m
-paste.error = N\u00e3o foi poss\u00edvel adicionar \u201c{0}\u201d nesta pasta.
-props.access = Disponibilidade e Acesso
-props.file = Detalhes do Arquivo
-props.fldr = Detalhes da Pasta
-props.creatime = Criado
-props.creatime.upl = Upload Conclu\u00eddo
-props.creator = Criado Por
-props.creator.upl = Upload originalmente feito por
-props.mime = Tipo de Arquivo
-props.modby = \u00daltima modifica\u00e7\u00e3o por
-props.modtime = \u00daltima modifica\u00e7\u00e3o
-props.size = Tamanho do Arquivo
-props.url = Endere\u00e7o na web (URL)
-replace.html = Substituir P\u00e1gina HTML
-replace.text = Substituir Documento de Texto
-replace.upload = Substituir o Upload do Arquivo
-revise.html = Alterar P\u00e1gina HTML
-revise.text = Alterar Documento de Texto
-revise.url = Alterar URL (link para site)
-size.bytes = {0} bytes
-size.exceeded = Excedeu o limite de tamanho para upload de {0}.
-size.gb = {0} GB
-size.gbytes = {0} GB ({1} bytes)
-size.item = 1 item
-size.items = {0} itens
-size.kb = {0} KB
-size.kbytes = {0} KB ({1} bytes)
-size.mb = {0} MB
-size.mbytes = {0} MB ({1} bytes)
-text.notext = Por favor, insira o conte\u00fado do seu documento de texto
-title.access = Acesso
-title.availability = Disponibilidade
-title.created = Adicionado Por
-title.description = Descri\u00e7\u00e3o
-title.dropbox = {0} Escaninho
-title.last = \u00daltima Modifica\u00e7\u00e3o
-title.name = Nome
-title.nameof = Nome do {0}
-title.optional = Propriedades Opcionais
-title.options = Escolha as op\u00e7\u00f5es para os recursos no site \u201c{0}\u201d
-title.permissions = Escolha as op\u00e7\u00f5es para os recursos na pasta \u201c{0}\u201d
-title.props = Propriedades
-title.resources = {0} Recursos
-title.size = Tamanho
-type.folder = Pasta
-type.html = P\u00e1gina HTML
-type.text = Documento de Texto
-type.upload = Fazer Upload de Arquivo
-type.url = Link (URL)
-upload.limit = Voc\u00ea s\u00f3 pode fazer upload de {0} MB em arquivos por vez. Voc\u00ea deve fazer upload de arquivos grandes individualmente.
-url.invalid = Link (URL) ({0}) inv\u00e1lido.
-url.noinput = Por favor, insira um link (URL).
+#Generated by ResourceBundle Editor (http://eclipse-rbe.sourceforge.net)
+#-------------------------------------------------------
+# Translated by: e-Labora - UNICAMP, Sao Paulo, Brazil
+#-------------------------------------------------------
+
+access.dropbox = Escaninho
+access.dropbox1 = Vis\u00EDvel para coordenador e estudante
+access.group = Selecionar grupo(s)
+access.group1 = Vis\u00EDvel para os grupos selecionados: {0}
+access.group2 = Descri\u00E7\u00E3o
+access.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00E9m caixas de verifica\u00E7\u00E3o, a segunda cont\u00E9m o nome do grupo e a terceira a descri\u00E7\u00E3o do grupo. Os links dos t\u00EDtulos podem ser usados para ordenar.
+access.group4 = Exibir este item somente para os grupos selecionados.
+access.groups.choice = Exibir este arquivo somente para grupos selecionados.
+access.groups.fldr = Exibir esta pasta e seu conte\u00FAdo somente para grupos selecionados.
+access.groups.folders = Exibir este arquivo somente para grupos selecionados.
+access.groups1 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelo grupo ''{1}''.
+access.groups2 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'' e ''{2}''''{1}', ''{2}'' e ''{3}''. Voc\u00EA pode restringir ainda mais o acesso a este arquivo sendo por grupo, se desejar.
+access.groups4 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'' e ''{4}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups5 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'' e ''{5}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups6 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'' e ''{6}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups7 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'' e ''{7}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups8 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'' e ''{8}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groups9 = Os recursos da pasta ''{0}'' s\u00F3 podem ser visualizados pelos grupos ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'' e ''{9}''. Se desejar, voc\u00EA pode restringir ainda mais este arquivo, restringindo-o por grupo.
+access.groupsX = ###############################################################################################################################################################################################################################################################
+access.inherit = As configura\u00E7\u00F5es de acesso dos recursos devem ser iguais \u00E0s da pasta.
+access.public = Para todos
+access.public.choice = Este arquivo \u00E9 vis\u00EDvel para todos.
+access.public.fldr = Esta pasta e seu conte\u00FAdo s\u00E3o vis\u00EDveis para todos.
+access.public.nochoice = Os recursos na pasta ''{0}'' s\u00E3o vis\u00EDveis para todos.
+access.public1 = Vis\u00EDvel para todos
+access.public2 = Este item \u00E9 vis\u00EDvel para todos.
+access.site = Todo o site
+access.site.choice = Somente participantes deste site podem ver este arquivo.
+access.site.fldr = Somente participantes deste site podem ver esta pasta e seu conte\u00FAdo.
+access.site.nochoice = Os recursos na pasta ''{0}'' podem ser visualizados por todos os participantes deste site.
+access.site1 = Vis\u00EDvel para o site inteiro
+access.site2 = Somente participantes deste site podem ver este item.
+access.title1 = Acesso
+access.title2 = Acesso: Exibir para n\u00E3o participantes (visualiza\u00E7\u00E3o para todos)
+access.title3 = Acesso: Exibir para todos os participantes deste site
+access.title4 = Acesso: Exibir para todos os participantes de um grupo selecionado ({0})
+access.title5 = Acesso: Exibir para todos os participantes do(s) grupo(s) selecionado(s)
+
+action.access = Visualizar Propriedades
+action.compresszipfolder = Compactar em Arquivo ZIP
+action.copy = Copiar
+action.create = Adicionar
+action.delete = Excluir
+action.duplicate = Duplicar
+action.expandziparchive = Expandir Arquivo ZIP
+action.fincopy = Colar Itens Copiados
+action.finmove = Colar Itens Movidos
+action.info = Informa\u00E7\u00F5es
+action.move = Mover
+action.new = Adicionar itens
+action.other = Agir em {0}
+action.paste = Colar
+action.permissions = Alterar Permiss\u00F5es de Pasta
+action.props = Alterar Detalhes
+action.reorder = Reordenar
+action.replace = Fazer Upload de Nova vers\u00E3o
+action.revise = Alterar Conte\u00FAdo
+action.select = - Selecionar A\u00E7\u00E3o -
+
+alert.exists = A pasta \u201C{0}\u201D j\u00E1 existe nesta pasta
+alert.perm = Voc\u00EA n\u00E3o tem permiss\u00E3o para adicionar itens nesta pasta.
+alert.toolong = O nome \u201C{0}\u201D \u00E9 muito longo.
+
+avail.end = Final
+avail.end1 = At\u00E9
+avail.hide = Ocultar
+avail.hide1 = Ocultar este item de n\u00E3o administradores
+avail.hide2 = Ocultar esta pasta de n\u00E3o administradores
+avail.show = Mostrar
+avail.show1 = Mostrar este item
+avail.show2 = Mostrar esta pasta
+avail.start = In\u00EDcio
+avail.start1 = De
+avail.title = Disponibilidade
+
+button.actions = A\u00E7\u00F5es
+button.add = Adicionar
+button.upload = Fazer Upload
+
+choosefile7 = Por favor, escolha o arquivo para ser anexado.
+
+collapse.all = Recolher Tudo
+
+create.folder = Criar Pastas
+create.html = Criar P\u00E1ginas HTML
+create.text = Criar Documento de Texto
+create.unknown = Novo {0}
+create.upload = Upload de Novo Arquivo
+create.uploads = Fazer Upload de Arquivos
+create.url = Adicionar Link (URL)
+create.urls = Adicionar Links (URLs)
+
+cright.alert = Alerta de Direitos Autorais
+cright.display = Exibir alerta de direitos autorais e solicitar confirma\u00E7\u00E3o de aceita\u00E7\u00E3o quando acessado por outras pessoas.
+cright.fairuse = mais informa\u00E7\u00F5es
+cright.info = Informa\u00E7\u00F5es de Direitos Autorais
+cright.newwin = Nova Janela
+cright.show = que \u00E9 isso?
+cright.status = Status de Direitos Autorais
+
+dav.webdav = Fazer Upload-Download de M\u00FAltiplos Recursos
+
+del.del = Excluir confirma\u00E7\u00E3o\u2026
+del.del1 = Excluir
+del.sure = Voc\u00EA tem certeza de que deseja excluir este(s) item(ns)?
+del.table = A tabela apresenta informa\u00E7\u00F5es sobre os recursos selecionados para exclus\u00E3o. Os t\u00EDtulos das colunas cont\u00EAm as descri\u00E7\u00F5es dos conte\u00FAdos e links para ordena\u00E7\u00E3o.
+
+edit.access4 = Exibir para os grupos selecionados
+edit.calert = Alerta de Direitos Autorais
+edit.cstatus = Status dos Direitos Autorais
+edit.descr = Descri\u00E7\u00E3o
+edit.display = Exibir alerta de direitos autorais e solicitar confirma\u00E7\u00E3o de aceita\u00E7\u00E3o quando acessado por outras pessoas.
+edit.group1 = T\u00EDtulo
+edit.group2 = Descri\u00E7\u00E3o
+edit.group3 = A tabela apresenta uma lista de grupos. A primeira coluna cont\u00E9m caixas de verifica\u00E7\u00E3o, a segunda cont\u00E9m o nome do grupo e a terceira a descri\u00E7\u00E3o do grupo. Os links dos t\u00EDtulos podem ser usados para ordenar.
+edit.hide = Ocultar os detalhes deste item
+edit.newwin = Nova Janela
+edit.quota = Quota especial (em Kbytes, 0 para ilimitado)
+edit.remove = Excluir este item
+edit.show = Adicionar detalhes a este item
+edit.what = que \u00E9 isso?
+edit.who = Escolher quem pode ver este item
+edit.who.fldr = Escolher quem pode ver esta pasta e seu conte\u00FAdo
+
+expand.all = Expandir Tudo
+
+gen.email1 = E-mail de Notifica\u00E7\u00E3o
+gen.email2 = Alta \u2013 Todos os participantes
+gen.email3 = Nenhuma \u2013 N\u00E3o enviar notifica\u00E7\u00E3o
+gen.email4 = Alta \u2013 Todos os participantes
+gen.location = Baixa - Somente para os participantes que optaram
+
+instr.access = Os recursos podem ter a visibilidade agendada para per\u00EDodos de tempo determinados. Os administradores do site sempre conseguir\u00E3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00E1rios.
+instr.access.fldr = As pastas e seus conte\u00FAdos podem ter a visibilidade agendada para per\u00EDodos de tempo determinados. Os administradores do site sempre conseguir\u00E3o ver os itens ocultos, mesmo quando eles estiverem ocultos para outros usu\u00E1rios.
+instr.create = Insira o nome do {0} (obrigat\u00F3rio), escolha qualquer outra propriedade que desejar, depois clique em \u2018Concluir\u2019 para criar o {0}.
+instr.folder = Digite o nome de cada pasta em um campo separadamente e depois clique abaixo em \u2018Continuar\u2019.
+instr.folders = Crie tantas pastas quanto desejar! Se voc\u00EA mudar de id\u00E9ia sobre a necessidade de uma de suas pastas, clique no bot\u00E3o \u2018X\u2019. Pressione o bot\u00E3o \u2018Adicionar\u2019 quando quiser concluir..
+instr.html = Digite o texto da sua p\u00E1gina (use a barra de ferramentas para format\u00E1-lo) e clique abaixo em \u2018Continuar\u2019.
+instr.options = Escolha os tipos de recursos que podem ser criados neste site.
+instr.props = Altere os detalhes dos recursos, depois selecione abaixo \u2018Atualizar\u2019.
+instr.replace = Para substituir a vers\u00E3o atual deste arquivo por uma vers\u00E3o atualizada, selecione aqui seu arquivo atualizado.
+instr.require = Itens obrigat\u00F3rios marcados com {0}
+instr.text = Digite o texto e clique abaixo em \u2018Continuar\u2019.
+instr.upload = Selecione os arquivos para fazer upload e depois clique abaixo em \u2018Continuar\u2019.
+instr.uploads = Fa\u00E7a upload de quantos arquivos voc\u00EA desejar. Se voc\u00EA mudar de id\u00E9ia sobre fazer upload de um dos seus arquivos, clique no bot\u00E3o \u2018X\u2019 ao lado. Pressione o bot\u00E3o \u2018Upload\u2019 quando tiver selecionado todos os arquivos que desejar fazer upload.
+instr.url = Copie-e-cole ou digite o endere\u00E7o na web (URL) e depois clique abaixo em \u2018Continuar\u2019.
+instr.urls = Adicione quantos links (URL) voc\u00EA desejar. Se voc\u00EA mudar de id\u00E9ia sobre a necessidade dos seus links, clique no bot\u00E3o \u2018X\u2019 ao lado. Pressione o bot\u00E3o \u2018Adicionar Links Agora\u2019 quando quiser concluir.
+
+label.addFolder = Adicionar Outra Pasta
+label.addfile = Adicionar Outro Arquivo
+label.addurl = Adicionar Outro Link
+label.alert = Aten\u00E7\u00E3o:
+label.cancel = Cancelar
+label.continue = Continuar
+label.date = Data:
+label.display = Exibir Nome
+label.finfldr = Criar Pastas Agora
+label.finish = Concluir
+label.finupl = Fazer Upload de Arquivos Agora
+label.folder = Nome da Pasta
+label.name = Nome Original do Arquivo
+label.proces = Processando\u2026
+label.time = Hor\u00E1rio:
+label.update = Atualizar
+label.upl = Fazer Upload de Nova Vers\u00E3o Agora
+label.upload = Arquivo para Upload
+label.url = URL
+label.urlnow = Adicionar Links Agora
+label.urls] = Endere\u00E7o na Web (URL)
+label.version = Fazer Upload De Uma Nova Vers\u00E3o
+label.website = Nome do Site
+
+lis.clear = Apagar Pesquisa
+lis.search = Pesquisar
+lis.show10 = mostrar 10 itens\u2026
+lis.show100 = mostrar 100 itens\u2026
+lis.show20 = mostrar 20 itens\u2026
+lis.show200 = mostrar 200 itens\u2026
+lis.show5 = mostrar 5 itens por p\u00E1gina\u2026
+lis.show50 = mostrar 50 itens\u2026
+
+list.columns = Mostrar colunas
+list.hierarchy = Mostrar hierarquia
+list.site = Reposit\u00F3rio do Site
+
+mime.alert = Aten\u00E7\u00E3o: Mudar o tipo de arquivo de um recurso n\u00E3o ascii para "text/plain" ou "text/html" pode causar a inser\u00E7\u00E3o de linhas em branco indevidos, tornando o arquivo n\u00E3o utiliz\u00E1vel.
+
+month.apr = ABR
+month.aug = AGO
+month.dec = DEZ
+month.feb = FEV
+month.jan = JAN
+month.jul = JUL
+month.jun = JUN
+month.mar = MAR
+month.may = MAI
+month.nov = NOV
+month.oct = OUT
+month.sep = SET
+
+noti.all = Todos os participantes deste site
+noti.label = Mandar um e-mail de notifica\u00E7\u00E3o sobre estes itens para:
+noti.limited = Participantes do site que solicitaram receber e-mails.
+noti.none = Ningu\u00E9m
+
+paste.error = N\u00E3o foi poss\u00EDvel adicionar \u201C{0}\u201D nesta pasta.
+
+props.access = Disponibilidade e Acesso
+props.creatime = Criado
+props.creatime.upl = Upload Conclu\u00EDdo
+props.creator = Criado Por
+props.creator.upl = Upload originalmente feito por
+props.file = Detalhes do Arquivo
+props.fldr = Detalhes da Pasta
+props.mime = Tipo de Arquivo
+props.modby = \u00DAltima modifica\u00E7\u00E3o por
+props.modtime = \u00DAltima modifica\u00E7\u00E3o
+props.size = Tamanho do Arquivo
+props.url = Endere\u00E7o na web (URL)
+
+replace.html = Substituir P\u00E1gina HTML
+replace.text = Substituir Documento de Texto
+replace.upload = Substituir o Upload do Arquivo
+
+revise.html = Alterar P\u00E1gina HTML
+revise.text = Alterar Documento de Texto
+revise.url = Alterar URL (link para site)
+
+size.bytes = {0} bytes
+size.exceeded = Excedeu o limite de tamanho para upload de {0}.
+size.gb = {0} GB
+size.gbytes = {0} GB ({1} bytes)
+size.item = 1 item
+size.items = {0} itens
+size.kb = {0} KB
+size.kbytes = {0} KB ({1} bytes)
+size.mb = {0} MB
+size.mbytes = {0} MB ({1} bytes)
+
+text.notext = Por favor, insira o conte\u00FAdo do seu documento de texto
+
+title.access = Acesso
+title.availability = Disponibilidade
+title.created = Adicionado Por
+title.description = Descri\u00E7\u00E3o
+title.dropbox = {0} Escaninho
+title.last = \u00DAltima Modifica\u00E7\u00E3o
+title.name = Nome
+title.nameof = Nome do {0}
+title.optional = Propriedades Opcionais
+title.options = Escolha as op\u00E7\u00F5es para os recursos no site \u201C{0}\u201D
+title.permissions = Escolha as op\u00E7\u00F5es para os recursos na pasta \u201C{0}\u201D
+title.props = Propriedades
+title.resources = {0} Recursos
+title.size = Tamanho
+
+type.folder = Pasta
+type.html = P\u00E1gina HTML
+type.text = Documento de Texto
+type.upload = Fazer Upload de Arquivo
+type.url = Link (URL)
+
+upload.limit = Voc\u00EA s\u00F3 pode fazer upload de {0} MB em arquivos por vez. Voc\u00EA deve fazer upload de arquivos grandes individualmente.
+
+url.invalid = Link (URL) ({0}) inv\u00E1lido.
+url.noinput = Por favor, insira um link (URL).
Index: content/content-bundles/types.properties
===================================================================
--- content/content-bundles/types.properties (revisão 41588)
+++ content/content-bundles/types.properties (cópia de trabalho)
@@ -1,233 +1,263 @@
-access.groups.choice = Display this file to selected groups only.
-access.groups.fldr = Display this folder and its contents to selected groups only.
-access.groupsX = Resources in the ''{0}'' folder can only be viewed by the groups ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'', ''{9}'' and others. You can further restrict this file by group if you wish.
-access.inherit = Leave access settings as for the folder.
-access.public.choice = This file is publicly viewable.
-access.public.fldr = This folder and its contents are publicly viewable.
-access.public.nochoice = Resources in the ''{0}'' folder are publicly viewable.
-access.public.noparent = Resources in this folder are publicly viewable.
-access.site.choice = Only members of this site can see this file.
-access.site.fldr = Only members of this site can see this folder and its contents.
-access.site.nochoice = Resources in the ''{0}'' folder can be viewed by all members of this site.
-access.site.noparent = Resources in this folder can be viewed by all members of this site.
-access.dropbox = Dropbox
-access.dropbox1 = Visible to instructor and student
-access.group = Select group(s)
-access.group1 = Visible to selected groups: {0}
-access.public = Public
-access.public1 = Visible to public
-access.site = Entire site
-access.site1 = Visible to entire site
-access.title1 = Access
-access.title2 = Access: Display to non-members (publicly viewable)
-access.title3 = Access: Display to all members of this site
-access.title4 = Access: Display to members of a selected group ({0})
-access.title5 = Access: Display to members of selected group(s)
+access.dropbox = Dropbox
+access.dropbox1 = Visible to instructor and student
+access.group = Select group(s)
+access.group1 = Visible to selected groups: {0}
+access.groups.choice = Display this file to selected groups only.
+access.groups.fldr = Display this folder and its contents to selected groups only.
+access.groupsX = Resources in the ''{0}'' folder can only be viewed by the groups ''{1}'', ''{2}'', ''{3}'', ''{4}'', ''{5}'', ''{6}'', ''{7}'', ''{8}'', ''{9}'' and others. You can further restrict this file by group if you wish.
+access.inherit = Leave access settings as for the folder.
+access.public = Public
+access.public.choice = This file is publicly viewable.
+access.public.fldr = This folder and its contents are publicly viewable.
+access.public.nochoice = Resources in the ''{0}'' folder are publicly viewable.
+access.public.noparent = Resources in this folder are publicly viewable.
+access.public1 = Visible to public
+access.site = Entire site
+access.site.choice = Only members of this site can see this file.
+access.site.fldr = Only members of this site can see this folder and its contents.
+access.site.nochoice = Resources in the ''{0}'' folder can be viewed by all members of this site.
+access.site.noparent = Resources in this folder can be viewed by all members of this site.
+access.site1 = Visible to entire site
+access.title1 = Access
+access.title2 = Access: Display to non-members (publicly viewable)
+access.title3 = Access: Display to all members of this site
+access.title4 = Access: Display to members of a selected group ({0})
+access.title5 = Access: Display to members of selected group(s)
-action.access = View Details
-action.copy = Copy
-action.delete = Remove
-action.duplicate = Duplicate
-action.info = Info
-action.move = Move
-action.other = Act on this {0}
-action.paste = Paste
-action.pastecopy = Paste copied items
-action.pastemove = Paste moved items
-action.permissions = Edit Folder Permissions
-action.props = Edit Details
-action.reorder = Reorder
-action.replace = Upload New Version
-action.revise = Edit Content
-action.select = - Select Action -
-alert.exists = The folder ''{0}'' already exists in this folder.
-alert.noperm = You do not have permission to change this item.
-alert.nofldr = Please provide the folder name.
-alert.nosort = Unable to complete Sort
-alert.overquota = Adding ''{0}'' would place this account over quota. To add this resource, some resources may need to be deleted.
-alert.perm = You do not have permission to add items to this folder.
-alert.quota = These changes would place this account over quota. To complete this change, some resources may need to be deleted.
-alert.toolong = The name ''{0}'' is too long.
-alert.unable = Unable to add item
-alert.unable1 = Unable to add item: {0}
-alert.unknown = An error occurred.
+action.access = View Details
+action.compresszipfolder = Compress to ZIP Archive
+action.copy = Copy
+action.delete = Remove
+action.duplicate = Duplicate
+action.expandziparchive = Expand ZIP Archive
+action.info = Info
+action.move = Move
+action.other = Act on this {0}
+action.paste = Paste
+action.pastecopy = Paste copied items
+action.pastemove = Paste moved items
+action.permissions = Edit Folder Permissions
+action.props = Edit Details
+action.reorder = Reorder
+action.replace = Upload New Version
+action.revise = Edit Content
+action.select = - Select Action -
+
+alert.exists = The folder ''{0}'' already exists in this folder.
+alert.nofldr = Please provide the folder name.
+alert.noperm = You do not have permission to change this item.
+alert.nosort = Unable to complete Sort
+alert.overquota = Adding ''{0}'' would place this account over quota. To add this resource, some resources may need to be deleted.
+alert.perm = You do not have permission to add items to this folder.
+alert.quota = These changes would place this account over quota. To complete this change, some resources may need to be deleted.
+alert.toolong = The name ''{0}'' is too long.
+alert.unable = Unable to add item
+alert.unable1 = Unable to add item: {0}
+alert.unknown = An error occurred.
alert.utf8encoding = Content cannot be encoded in UTF-8.
-avail.end = Ending
-avail.end1 = Until
-avail.hide = Hide
+avail.end = Ending
+avail.end1 = Until
+avail.hide = Hide
#avail.hide1 = Hide this item from non-administrators
-avail.hide10 = Hide this item
+avail.hide10 = Hide this item
#avail.hide2 = Hide this folder from non-administrators
-avail.hide20 = Hide this folder and its contents
-avail.show = Show
-avail.show1 = Show this item
-avail.show2 = Show this folder
-avail.start = Beginning
-avail.start1 = From
-avail.title = Availability
-button.actions = Actions
-button.add = Add
-choosefile7 = Please choose the file to attach.
-collapse.all = Collapse All
-collapse.item = Unexpand This Folder
-create.folder = Create Folders
-create.html = Create HTML Page
-create.text = Create Text Document
-create.unknown = New {0}
-create.upload = New File Upload
-create.uploads = Upload Files
-create.url = Add Web Link (URL)
-create.urls = Add Web Links (URLs)
-cright.alert = Copyright Alert
-cright.display = Display copyright alert and require acknowledgement when accessed by others.
-cright.fairuse = more info
-cright.info = Copyright Information
-cright.newwin = New window
-cright.show = what's this?
-cright.status = Copyright Status
-dav.webdav = Upload-Download Multiple Resources
-del.del = Remove confirmation...
-del.del1 = Remove
-del.sure = Are you sure you want to remove the following item(s)?
-del.table = Table holds information about resources selected for removal. Column headers contain descriptions of contents and links for sorting.
-edit.access4 = Display to selected groups
-edit.calert = Copyright Alert
-edit.cstatus = Copyright Status
-edit.descr = Description
-edit.display = Display copyright alert and require acknowledgement when accessed by others.
-edit.group1 = Title
-edit.group2 = Description
-edit.group3 = Table contains list of groups. First column contains checkboxes, second contains the group name, third the group description. Header links can be used to sort.
-edit.hide = Hide details for this item
-edit.quota = Special quota (in KBytes, 0 for unlimited)
-edit.remove = Remove this item
-edit.show = Add details for this item
-edit.who = Choose who can see this item.
-edit.who.fldr = Choose who can see this folder and its contents.
-expand.all = Expand All
-expand.item = Expand This Folder
-gen.email1 = Email Notification
-gen.email2 = High - All participants
-gen.email3 = Low - Only participants who have opted in
-gen.email4 = None - No notification
-gen.location = Location:
+avail.hide20 = Hide this folder and its contents
+avail.show = Show
+avail.show1 = Show this item
+avail.show2 = Show this folder
+avail.start = Beginning
+avail.start1 = From
+avail.title = Availability
-instr.access.fldr = Folders and their contents can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
-instr.access = Resources can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
-instr.create = Enter the name of the {0} (required), set any other properties you wish, and then click "Finish" to create the {0}.
-instr.folder = Type the name of each folder in a separate box and then click 'Continue' at the bottom.
-instr.folders = Create as many folders as you like! If you change your mind about needing one of your folders, click the 'X' button.Press the 'Add' button when you have finished.
-instr.html = Type in the text for your page (use the toolbar to format it) and click 'Continue' at the bottom.
-instr.options = Select or unselect resources types to indicate whether resources of that type can be created in this site.
-instr.props = Change the resource's details and then choose 'Update' at the bottom.
-instr.replace = To replace the current version of this file with an updated version, select your updated file here.
-instr.require = Required items marked with {0}
-instr.text = Type in the text and click 'Continue' at the bottom.
-instr.upload = Select the files to upload and then click 'Continue' at the bottom.
-instr.uploads = Upload as many files as you like. If you change your mind about uploading one of your files, click the 'X' button beside it. Press the 'Upload' button when you have selected all the files you want to upload.
-instr.url = Copy-and-paste or type in the web address (URL) and then click 'Continue' at the bottom.
-instr.urls = Add as many web links (URLs) as you like. If you change your mind about needing one of your web links, click the 'X' button beside it. Press the 'Add Web Links Now' button when you have finished.
-label.addfile = Add Another File
-label.addFolder = Add Another Folder
-label.addurl = Add Another Web Link
-label.alert = Alert:
-label.cancel = Cancel
-label.continue = Continue
-label.date = Date:
-label.display = Display Name
-label.finfldr = Create Folders Now
-label.finish = Finish
-label.finupl = Upload Files Now
-label.folder = Folder Name
-label.name = Original File Name
-label.proces = Processing ...
-label.time = Time:
-label.update = Update
-label.upl = Upload New Version Now
-label.upload = File To Upload
-label.url = URL
-label.urlnow = Add Web Links Now
-label.urls = Web Address (URL)
-label.version = Upload a new version
-label.website = Website Name
-lis.show10 = show 10 items...
-lis.show100 = show 100 items...
-lis.show20 = show 20 items...
-lis.show200 = show 200 items...
-lis.show5 = show 5 items per page
-lis.show50 = show 50 items...
-list.columns = Show columns
-list.hierarchy = Show hierarchy
-list.site = Site Resources
-list.sPerm = Permissions
-list.toobig = This collection is too big to expand.
-metadata.hide = Hide {0}
-metadata.show = Show {0}
-mime.alert = Alert: Changing the file-type of a non-ascii resource to "text/plain" or "text/html" may cause extraneous blank lines to be inserted, making the file unusable.
-month.apr = APR
-month.aug = AUG
-month.dec = DEC
-month.feb = FEB
-month.jan = JAN
-month.jul = JUL
-month.jun = JUN
-month.mar = MAR
-month.may = MAY
-month.nov = NOV
-month.oct = OCT
-month.sep = SEP
-notify.instructor = Send an email notification to the instructor(s).
-notify.student = Send an email notification to the student.
-paste.error = Could not add ''{0}'' to this folder.
-props.access = Availability and Access
-props.file = File Details
-props.fldr = Folder Details
-props.creatime = Created
-props.creatime.upl = Uploaded
-props.creator = Created by
-props.creator.upl = Originally uploaded by
-props.mime = File Type
-props.modby = Last changed by
-props.modtime = Last changed
-props.mountpoint = Content Hosting Handler mount point
-props.size = File size
-props.url = Web address (URL)
-revise.html = Edit HTML Page
-revise.text = Edit Text Document
-revise.url = Edit URL (link to website)
-sh.close = Close this folder
+button.actions = Actions
+button.add = Add
+
+choosefile7 = Please choose the file to attach.
+
+collapse.all = Collapse All
+collapse.item = Unexpand This Folder
+
+create.folder = Create Folders
+create.html = Create HTML Page
+create.text = Create Text Document
+create.unknown = New {0}
+create.upload = New File Upload
+create.uploads = Upload Files
+create.url = Add Web Link (URL)
+create.urls = Add Web Links (URLs)
+
+cright.alert = Copyright Alert
+cright.display = Display copyright alert and require acknowledgement when accessed by others.
+cright.fairuse = more info
+cright.info = Copyright Information
+cright.newwin = New window
+cright.show = what's this?
+cright.status = Copyright Status
+
+dav.webdav = Upload-Download Multiple Resources
+
+del.del = Remove confirmation...
+del.del1 = Remove
+del.sure = Are you sure you want to remove the following item(s)?
+del.table = Table holds information about resources selected for removal. Column headers contain descriptions of contents and links for sorting.
+
+edit.access4 = Display to selected groups
+edit.calert = Copyright Alert
+edit.cstatus = Copyright Status
+edit.descr = Description
+edit.display = Display copyright alert and require acknowledgement when accessed by others.
+edit.group1 = Title
+edit.group2 = Description
+edit.group3 = Table contains list of groups. First column contains checkboxes, second contains the group name, third the group description. Header links can be used to sort.
+edit.hide = Hide details for this item
+edit.quota = Special quota (in KBytes, 0 for unlimited)
+edit.remove = Remove this item
+edit.show = Add details for this item
+edit.who = Choose who can see this item.
+edit.who.fldr = Choose who can see this folder and its contents.
+
+expand.all = Expand All
+expand.item = Expand This Folder
+
+gen.email1 = Email Notification
+gen.email2 = High - All participants
+gen.email3 = Low - Only participants who have opted in
+gen.email4 = None - No notification
+gen.location = Location:
+
+instr.access = Resources can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
+instr.access.fldr = Folders and their contents can be scheduled to be visible between certain dates only. Site administrators will always be able to see hidden items, even when they are hidden from other users.
+instr.create = Enter the name of the {0} (required), set any other properties you wish, and then click "Finish" to create the {0}.
+instr.folder = Type the name of each folder in a separate box and then click 'Continue' at the bottom.
+instr.folders = Create as many folders as you like! If you change your mind about needing one of your folders, click the 'X' button.Press the 'Add' button when you have finished.
+instr.html = Type in the text for your page (use the toolbar to format it) and click 'Continue' at the bottom.
+instr.options = Select or unselect resources types to indicate whether resources of that type can be created in this site.
+instr.props = Change the resource's details and then choose 'Update' at the bottom.
+instr.replace = To replace the current version of this file with an updated version, select your updated file here.
+instr.require = Required items marked with {0}
+instr.text = Type in the text and click 'Continue' at the bottom.
+instr.upload = Select the files to upload and then click 'Continue' at the bottom.
+instr.uploads = Upload as many files as you like. If you change your mind about uploading one of your files, click the 'X' button beside it. Press the 'Upload' button when you have selected all the files you want to upload.
+instr.url = Copy-and-paste or type in the web address (URL) and then click 'Continue' at the bottom.
+instr.urls = Add as many web links (URLs) as you like. If you change your mind about needing one of your web links, click the 'X' button beside it. Press the 'Add Web Links Now' button when you have finished.
+
+label.addFolder = Add Another Folder
+label.addfile = Add Another File
+label.addurl = Add Another Web Link
+label.alert = Alert:
+label.cancel = Cancel
+label.continue = Continue
+label.date = Date:
+label.display = Display Name
+label.finfldr = Create Folders Now
+label.finish = Finish
+label.finupl = Upload Files Now
+label.folder = Folder Name
+label.name = Original File Name
+label.proces = Processing ...
+label.time = Time:
+label.update = Update
+label.upl = Upload New Version Now
+label.upload = File To Upload
+label.url = URL
+label.urlnow = Add Web Links Now
+label.urls = Web Address (URL)
+label.version = Upload a new version
+label.website = Website Name
+
+lis.show10 = show 10 items...
+lis.show100 = show 100 items...
+lis.show20 = show 20 items...
+lis.show200 = show 200 items...
+lis.show5 = show 5 items per page
+lis.show50 = show 50 items...
+
+list.columns = Show columns
+list.hierarchy = Show hierarchy
+list.sPerm = Permissions
+list.site = Site Resources
+list.toobig = This collection is too big to expand.
+
+metadata.hide = Hide {0}
+metadata.show = Show {0}
+
+mime.alert = Alert: Changing the file-type of a non-ascii resource to "text/plain" or "text/html" may cause extraneous blank lines to be inserted, making the file unusable.
+
+month.apr = APR
+month.aug = AUG
+month.dec = DEC
+month.feb = FEB
+month.jan = JAN
+month.jul = JUL
+month.jun = JUN
+month.mar = MAR
+month.may = MAY
+month.nov = NOV
+month.oct = OCT
+month.sep = SEP
+
+notify.instructor = Send an email notification to the instructor(s).
+notify.student = Send an email notification to the student.
+
+paste.error = Could not add ''{0}'' to this folder.
+
+props.access = Availability and Access
+props.creatime = Created
+props.creatime.upl = Uploaded
+props.creator = Created by
+props.creator.upl = Originally uploaded by
+props.file = File Details
+props.fldr = Folder Details
+props.mime = File Type
+props.modby = Last changed by
+props.modtime = Last changed
+props.mountpoint = Content Hosting Handler mount point
+props.size = File size
+props.url = Web address (URL)
+
+revise.html = Edit HTML Page
+revise.text = Edit Text Document
+revise.url = Edit URL (link to website)
+
+sh.close = Close this folder
#sh.closed = Closed folder
-sh.open = Open this folder
+sh.open = Open this folder
+
#sh.opened = Opened folder
-size.bytes = {0} bytes
-size.exceeded = The upload size limit of {0} has been exceeded.
-size.gb = {0} GB
-size.gbytes = {0} GB ({1} bytes)
-size.item = 1 item
-size.items = {0} items
-size.kb = {0} KB
-size.kbytes = {0} KB ({1} bytes)
-size.mb = {0} MB
-size.mbytes = {0} MB ({1} bytes)
-text.notext = Please enter the contents of your simple text document.
-title.availability = Availability
-title.created = Added By
-title.description = Description
-title.dropbox = {0} Drop Box
-title.last = Last Modified
-title.name = Name
-title.options = Setting options for resources in worksite ''{0}''
-title.permissions = Set permissions for resources in folder: {0}
-title.props = Properties
-title.resources = {0} Resources
-title.size = Size
-type.folder = Folder
-type.html = HTML Page
-type.text = Simple Text Document
-type.upload = File Upload
-type.url = Web link (URL)
-upload.limit = You can only upload {0} MB worth of files at one time. You may need to upload large files one at a time.
-url.invalid = Invalid web link (URL) ({0}).
-url.noinput = Please enter at least one web link (URL).
+size.bytes = {0} bytes
+size.exceeded = The upload size limit of {0} has been exceeded.
+size.gb = {0} GB
+size.gbytes = {0} GB ({1} bytes)
+size.item = 1 item
+size.items = {0} items
+size.kb = {0} KB
+size.kbytes = {0} KB ({1} bytes)
+size.mb = {0} MB
+size.mbytes = {0} MB ({1} bytes)
+
+text.notext = Please enter the contents of your simple text document.
+
+title.availability = Availability
+title.created = Added By
+title.description = Description
+title.dropbox = {0} Drop Box
+title.last = Last Modified
+title.name = Name
+title.options = Setting options for resources in worksite ''{0}''
+title.permissions = Set permissions for resources in folder: {0}
+title.props = Properties
+title.resources = {0} Resources
+title.size = Size
+
+type.folder = Folder
+type.html = HTML Page
+type.text = Simple Text Document
+type.upload = File Upload
+type.url = Web link (URL)
+
+upload.limit = You can only upload {0} MB worth of files at one time. You may need to upload large files one at a time.
+
+url.invalid = Invalid web link (URL) ({0}).
+url.noinput = Please enter at least one web link (URL).
Index: content/content-impl/impl/src/java/org/sakaiproject/content/impl/util/ZipContentUtil.java
===================================================================
--- content/content-impl/impl/src/java/org/sakaiproject/content/impl/util/ZipContentUtil.java (revisão 0)
+++ content/content-impl/impl/src/java/org/sakaiproject/content/impl/util/ZipContentUtil.java (revisão 0)
@@ -0,0 +1,161 @@
+package org.sakaiproject.content.impl.util;
+
+import java.io.BufferedOutputStream;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Enumeration;
+import java.util.List;
+import java.util.zip.ZipEntry;
+import java.util.zip.ZipFile;
+import java.util.zip.ZipInputStream;
+import java.util.zip.ZipOutputStream;
+
+import javax.activation.MimeType;
+import javax.activation.MimetypesFileTypeMap;
+
+import org.sakaiproject.content.api.ContentCollection;
+import org.sakaiproject.content.api.ContentCollectionEdit;
+import org.sakaiproject.content.api.ContentResource;
+import org.sakaiproject.content.api.ContentResourceEdit;
+import org.sakaiproject.content.api.ResourceType;
+import org.sakaiproject.content.api.GroupAwareEntity.AccessMode;
+import org.sakaiproject.content.cover.ContentHostingService;
+import org.sakaiproject.entity.api.Entity;
+import org.sakaiproject.entity.api.Reference;
+import org.sakaiproject.entity.api.ResourceProperties;
+import org.sakaiproject.entity.api.ResourcePropertiesEdit;
+import org.sakaiproject.exception.IdUnusedException;
+import org.sakaiproject.exception.IdUsedException;
+import org.sakaiproject.exception.PermissionException;
+import org.sakaiproject.exception.ServerOverloadException;
+import org.sakaiproject.exception.TypeException;
+
+public class ZipContentUtil {
+
+ public static int BUFFER_SIZE = 4096;
+ private static MimetypesFileTypeMap mime = new MimetypesFileTypeMap();
+
+ public void compressFolder(Reference reference) throws Exception {
+ File temp = File.createTempFile("sakai_content-", ".tmp");
+ temp.deleteOnExit();
+
+ ContentCollection collection = ContentHostingService.getCollection(reference.getId());
+ ZipOutputStream out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(temp),BUFFER_SIZE));
+
+ List members = collection.getMembers();
+ store(reference.getId(),members,out);
+ out.close();
+
+ String resourceId = reference.getId().substring(0,reference.getId().lastIndexOf(Entity.SEPARATOR))+".zip";
+ String resourceName = extractName(resourceId);
+ ContentResourceEdit resourceEdit = ContentHostingService.addResource(resourceId);
+ resourceEdit.setContent(new FileInputStream(temp));
+ resourceEdit.setContentType(mime.getContentType(resourceId));
+ ResourcePropertiesEdit props = resourceEdit.getPropertiesEdit();
+ props.addProperty(ResourcePropertiesEdit.PROP_DISPLAY_NAME, resourceName);
+ ContentHostingService.commitResource(resourceEdit);
+
+ temp.delete();
+ }
+
+ private void store(String rootId, List members, ZipOutputStream out) throws Exception {
+ for (String memberId: members) {
+ if (memberId.endsWith(Entity.SEPARATOR)) {
+ ContentCollection collection = ContentHostingService.getCollection(memberId);
+ store(rootId,collection.getMembers(),out);
+ }
+ else {
+ ContentResource resource = ContentHostingService.getResource(memberId);
+ String filename = memberId.substring(rootId.length(),memberId.length());
+ ZipEntry zipEntry = new ZipEntry(filename);
+ zipEntry.setSize(resource.getContentLength());
+ out.putNextEntry(zipEntry);
+ out.write(resource.getContent());
+ }
+ }
+ }
+
+ public void extractZipArchive(Reference reference) throws Exception {
+ ContentResource resource = ContentHostingService.getResource(reference.getId());
+ String rootCollectionId = extractZipCollectionPrefix(resource);
+
+ // Prepare Collection
+ ContentCollectionEdit rootCollection = ContentHostingService.addCollection(rootCollectionId);
+ ResourcePropertiesEdit prop = rootCollection.getPropertiesEdit();
+ prop.addProperty(ResourcePropertiesEdit.PROP_DISPLAY_NAME, extractZipCollectionName(resource));
+ ContentHostingService.commitCollection(rootCollection);
+
+ // Prepare ZipFile
+ File temp = createResourceTempFile(resource);
+ ZipFile zipFile = new ZipFile(temp);
+ Enumeration extends ZipEntry> entries = zipFile.entries();;
+ while (entries.hasMoreElements()) {
+ ZipEntry nextElement = entries.nextElement();
+ String resourceId = rootCollectionId + nextElement.getName();
+ String resourceName = extractName(nextElement.getName());
+
+ if (nextElement.isDirectory()) {
+ // Create Collection
+ ContentCollectionEdit collection = ContentHostingService.addCollection(resourceId);
+ ResourcePropertiesEdit props = collection.getPropertiesEdit();
+ props.addProperty(ResourcePropertiesEdit.PROP_DISPLAY_NAME, resourceName);
+ ContentHostingService.commitCollection(collection);
+ }
+ else {
+ // Create Resource
+ ContentResourceEdit resourceEdit = ContentHostingService.addResource(resourceId);
+ resourceEdit.setContent(zipFile.getInputStream(nextElement));
+ resourceEdit.setContentType(mime.getContentType(resourceName));
+ ResourcePropertiesEdit props = resourceEdit.getPropertiesEdit();
+ props.addProperty(ResourcePropertiesEdit.PROP_DISPLAY_NAME, resourceName);
+ ContentHostingService.commitResource(resourceEdit);
+ }
+ System.out.println("Creating Resource "+resourceId);
+ }
+ zipFile.close();
+ temp.delete();
+ }
+
+ private String extractZipCollectionPrefix(ContentResource resource) {
+ String[] tmp = resource.getId().split(Entity.SEPARATOR);
+ String idPrefix = resource.getContainingCollection().getId() +
+ extractZipCollectionName(resource) +
+ Entity.SEPARATOR;
+ return idPrefix;
+ }
+
+ private String extractName(String collectionName) {
+ String[] tmp = collectionName.split(Entity.SEPARATOR);
+ return tmp[tmp.length-1];
+ }
+
+ private String extractZipCollectionName(ContentResource resource) {
+ String tmp = extractName(resource.getId());
+ return tmp.substring(0, tmp.lastIndexOf("."));
+ }
+
+ private File createResourceTempFile(ContentResource resource) throws IOException,
+ FileNotFoundException, ServerOverloadException {
+ File temp = File.createTempFile("sakai_content-", ".tmp");
+ temp.deleteOnExit();
+
+ FileOutputStream out = new FileOutputStream(temp);
+ ByteArrayInputStream in = new ByteArrayInputStream(resource.getContent());
+
+ int offset = 0;
+ byte[] buffer = new byte[BUFFER_SIZE];
+ while (in.available()>0) {
+ int bytesRead = in.read(buffer);
+ out.write(buffer,0,bytesRead);
+ }
+ return temp;
+ }
+
+
+}
Index: content/content-impl/impl/src/java/org/sakaiproject/content/types/FileUploadType.java
===================================================================
--- content/content-impl/impl/src/java/org/sakaiproject/content/types/FileUploadType.java (revisão 41588)
+++ content/content-impl/impl/src/java/org/sakaiproject/content/types/FileUploadType.java (cópia de trabalho)
@@ -43,6 +43,7 @@
import org.sakaiproject.content.api.ServiceLevelAction;
import org.sakaiproject.content.api.ResourceToolAction.ActionType;
import org.sakaiproject.content.cover.ContentTypeImageService;
+import org.sakaiproject.content.impl.util.ZipContentUtil;
import org.sakaiproject.content.util.BaseResourceType;
import org.sakaiproject.entity.api.Reference;
import org.sakaiproject.entity.api.ResourceProperties;
@@ -77,6 +78,7 @@
actions.put(ResourceToolAction.COPY, new FileUploadCopyAction());
actions.put(ResourceToolAction.MOVE, new FileUploadMoveAction());
actions.put(ResourceToolAction.DELETE, new FileUploadDeleteAction());
+ actions.put(ResourceToolAction.EXPAND_ZIP_ARCHIVE, new FileUploadExpandAction());
// initialize actionMap with an empty List for each ActionType
for(ResourceToolAction.ActionType type : ResourceToolAction.ActionType.values())
@@ -741,6 +743,54 @@
}
}
+ public class FileUploadExpandAction implements ServiceLevelAction {
+
+ private ZipContentUtil extractZipArchive = new ZipContentUtil();
+ public void cancelAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void finalizeAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void initializeAction(Reference reference) {
+ try {
+ extractZipArchive.extractZipArchive(reference);
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
+ }
+
+ public boolean isMultipleItemAction() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean available(ContentEntity entity) {
+ return entity.getId().toLowerCase().endsWith(".zip");
+ }
+
+ public ActionType getActionType() {
+ return ResourceToolAction.ActionType.EXPAND_ZIP_ARCHIVE;
+ }
+
+ public String getId() {
+ return ResourceToolAction.EXPAND_ZIP_ARCHIVE;
+ }
+
+ public String getLabel() {
+ return rb.getString("action.expandziparchive");
+ }
+
+ public String getTypeId() {
+ return typeId;
+ }
+
+ }
+
public ResourceToolAction getAction(String actionId)
{
return (ResourceToolAction) actions.get(actionId);
Index: content/content-impl/impl/src/java/org/sakaiproject/content/types/FolderType.java
===================================================================
--- content/content-impl/impl/src/java/org/sakaiproject/content/types/FolderType.java (revisão 41588)
+++ content/content-impl/impl/src/java/org/sakaiproject/content/types/FolderType.java (cópia de trabalho)
@@ -44,6 +44,7 @@
import org.sakaiproject.content.api.ResourceType;
import org.sakaiproject.content.api.ServiceLevelAction;
import org.sakaiproject.content.api.ResourceToolAction.ActionType;
+import org.sakaiproject.content.impl.util.ZipContentUtil;
import org.sakaiproject.content.util.BaseResourceType;
import org.sakaiproject.entity.api.Reference;
import org.sakaiproject.entity.api.ResourceProperties;
@@ -90,6 +91,7 @@
actions.put(ResourceToolAction.PERMISSIONS, new FolderPermissionsAction());
actions.put(ResourceToolAction.EXPAND, new FolderExpandAction());
actions.put(ResourceToolAction.COLLAPSE, new FolderCollapseAction());
+ actions.put(ResourceToolAction.COMPRESS_ZIP_FOLDER, new FolderCompressAction());
// initialize actionMap with an empty List for each ActionType
for(ResourceToolAction.ActionType type : ResourceToolAction.ActionType.values())
@@ -1391,6 +1393,54 @@
}
+ public class FolderCompressAction implements ServiceLevelAction {
+
+ private ZipContentUtil zipUtil = new ZipContentUtil();
+
+ public void cancelAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void finalizeAction(Reference reference) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void initializeAction(Reference reference) {
+ try {
+ zipUtil.compressFolder(reference);
+ } catch (Exception e) {
+ System.out.println(e.getMessage());
+ }
+ }
+
+ public boolean isMultipleItemAction() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ public boolean available(ContentEntity entity) {
+ return true;
+ }
+
+ public ActionType getActionType() {
+ return ResourceToolAction.ActionType.COMPRESS_ZIP_FOLDER;
+ }
+
+ public String getId() {
+ return ResourceToolAction.COMPRESS_ZIP_FOLDER;
+ }
+
+ public String getLabel() {
+ return rb.getString("action.compresszipfolder");
+ }
+
+ public String getTypeId() {
+ return typeId;
+ }
+ }
+
public ResourceToolAction getAction(String actionId)
{
return (ResourceToolAction) actions.get(actionId);