diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..7082508 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,18 @@ + + +**Cosmic-files version:** + + +**Issue/Bug description:** + +**Steps to reproduce:** + +**Expected behavior:** + +**Other notes:** diff --git a/Cargo.lock b/Cargo.lock index 85c9ebf..8539e26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -463,7 +463,7 @@ dependencies = [ "futures-lite 2.3.0", "parking", "polling 3.7.3", - "rustix 0.38.34", + "rustix 0.38.35", "slab", "tracing", "windows-sys 0.59.0", @@ -513,7 +513,7 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.34", + "rustix 0.38.35", "windows-sys 0.48.0", ] @@ -532,7 +532,7 @@ dependencies = [ "cfg-if", "event-listener 5.3.1", "futures-lite 2.3.0", - "rustix 0.38.34", + "rustix 0.38.35", "tracing", "windows-sys 0.59.0", ] @@ -560,7 +560,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 0.38.34", + "rustix 0.38.35", "signal-hook-registry", "slab", "windows-sys 0.59.0", @@ -594,7 +594,7 @@ name = "atomicwrites" version = "0.4.2" source = "git+https://github.com/jackpot51/rust-atomicwrites#043ab4859d53ffd3d55334685303d8df39c9f768" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.35", "tempfile", "windows-sys 0.48.0", ] @@ -809,9 +809,9 @@ checksum = "64fa3c856b712db6612c019f14756e64e4bcea13337a6b33b696333a9eaa2d06" [[package]] name = "bytemuck" -version = "1.17.0" +version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd4c6dcc3b0aea2f5c0b4b82c2b15fe39ddbc76041a310848f4706edf76bb31" +checksum = "773d90827bc3feecfb67fab12e24de0749aad83c74b9504ecde46237b5cd24e2" dependencies = [ "bytemuck_derive", ] @@ -869,7 +869,7 @@ dependencies = [ "bitflags 2.6.0", "log", "polling 3.7.3", - "rustix 0.38.34", + "rustix 0.38.35", "slab", "thiserror", ] @@ -883,7 +883,7 @@ dependencies = [ "bitflags 2.6.0", "log", "polling 3.7.3", - "rustix 0.38.34", + "rustix 0.38.35", "slab", "thiserror", ] @@ -895,7 +895,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f0ea9b9476c7fad82841a8dbb380e2eae480c21910feba80725b46931ed8f02" dependencies = [ "calloop 0.12.4", - "rustix 0.38.34", + "rustix 0.38.35", "wayland-backend", "wayland-client", ] @@ -907,7 +907,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" dependencies = [ "calloop 0.13.0", - "rustix 0.38.34", + "rustix 0.38.35", "wayland-backend", "wayland-client", ] @@ -1213,7 +1213,7 @@ dependencies = [ [[package]] name = "cosmic-config" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "atomicwrites", "cosmic-config-derive", @@ -1232,7 +1232,7 @@ dependencies = [ [[package]] name = "cosmic-config-derive" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "quote", "syn 1.0.109", @@ -1327,7 +1327,7 @@ dependencies = [ [[package]] name = "cosmic-theme" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "almost", "cosmic-config", @@ -1701,7 +1701,7 @@ dependencies = [ "bytemuck", "drm-ffi", "drm-fourcc", - "rustix 0.38.34", + "rustix 0.38.35", ] [[package]] @@ -1711,7 +1711,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41334f8405792483e32ad05fbb9c5680ff4e84491883d2947a4757dc54cb2ac6" dependencies = [ "drm-sys", - "rustix 0.38.34", + "rustix 0.38.35", ] [[package]] @@ -1831,9 +1831,9 @@ dependencies = [ [[package]] name = "euclid" -version = "0.22.10" +version = "0.22.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0f0eb73b934648cd7a4a61f1b15391cd95dab0b4da6e2e66c2a072c144b4a20" +checksum = "ad9cdb4b747e485a12abb0e6566612956c7a1bafa3bdb8d682c5b6d403589e48" dependencies = [ "num-traits", ] @@ -2772,7 +2772,7 @@ dependencies = [ [[package]] name = "iced" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "dnd", "iced_accessibility", @@ -2791,7 +2791,7 @@ dependencies = [ [[package]] name = "iced_accessibility" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "accesskit", "accesskit_unix", @@ -2801,7 +2801,7 @@ dependencies = [ [[package]] name = "iced_core" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "bitflags 2.6.0", "dnd", @@ -2823,7 +2823,7 @@ dependencies = [ [[package]] name = "iced_futures" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "futures", "iced_core", @@ -2836,7 +2836,7 @@ dependencies = [ [[package]] name = "iced_graphics" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "bitflags 2.6.0", "bytemuck", @@ -2860,7 +2860,7 @@ dependencies = [ [[package]] name = "iced_renderer" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "iced_graphics", "iced_tiny_skia", @@ -2872,7 +2872,7 @@ dependencies = [ [[package]] name = "iced_runtime" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "dnd", "iced_accessibility", @@ -2886,7 +2886,7 @@ dependencies = [ [[package]] name = "iced_sctk" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "enum-repr", "float-cmp", @@ -2913,7 +2913,7 @@ dependencies = [ [[package]] name = "iced_style" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "iced_core", "once_cell", @@ -2923,7 +2923,7 @@ dependencies = [ [[package]] name = "iced_tiny_skia" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "bytemuck", "cosmic-text", @@ -2940,7 +2940,7 @@ dependencies = [ [[package]] name = "iced_wgpu" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "as-raw-xcb-connection", "bitflags 2.6.0", @@ -2955,7 +2955,7 @@ dependencies = [ "once_cell", "raw-window-handle", "resvg", - "rustix 0.38.34", + "rustix 0.38.35", "smithay-client-toolkit 0.19.2", "tiny-xlib", "wayland-backend", @@ -2969,7 +2969,7 @@ dependencies = [ [[package]] name = "iced_widget" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "dnd", "iced_accessibility", @@ -2987,7 +2987,7 @@ dependencies = [ [[package]] name = "iced_winit" version = "0.12.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "dnd", "iced_accessibility", @@ -3503,7 +3503,7 @@ checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "libcosmic" version = "0.1.0" -source = "git+https://github.com/pop-os/libcosmic.git#fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e" +source = "git+https://github.com/pop-os/libcosmic.git#04c05ae6a1406e1c61180c799eb9d13fcb5b659c" dependencies = [ "apply", "ashpd 0.9.1", @@ -3533,7 +3533,7 @@ dependencies = [ "mime 0.3.17", "palette", "rfd", - "rustix 0.38.34", + "rustix 0.38.35", "serde", "shlex", "slotmap", @@ -4575,7 +4575,7 @@ dependencies = [ "concurrent-queue", "hermit-abi 0.4.0", "pin-project-lite", - "rustix 0.38.34", + "rustix 0.38.35", "tracing", "windows-sys 0.59.0", ] @@ -5059,9 +5059,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f" dependencies = [ "bitflags 2.6.0", "errno", @@ -5331,7 +5331,7 @@ dependencies = [ "libc", "log", "memmap2 0.9.4", - "rustix 0.38.34", + "rustix 0.38.35", "thiserror", "wayland-backend", "wayland-client", @@ -5358,7 +5358,7 @@ dependencies = [ "log", "memmap2 0.9.4", "pkg-config", - "rustix 0.38.34", + "rustix 0.38.35", "thiserror", "wayland-backend", "wayland-client", @@ -5430,7 +5430,7 @@ dependencies = [ "objc", "raw-window-handle", "redox_syscall 0.4.1", - "rustix 0.38.34", + "rustix 0.38.35", "tiny-xlib", "wasm-bindgen", "wayland-backend", @@ -5634,7 +5634,7 @@ dependencies = [ "cfg-if", "fastrand 2.1.1", "once_cell", - "rustix 0.38.34", + "rustix 0.38.35", "windows-sys 0.59.0", ] @@ -6406,7 +6406,7 @@ checksum = "f90e11ce2ca99c97b940ee83edbae9da2d56a08f9ea8158550fd77fa31722993" dependencies = [ "cc", "downcast-rs", - "rustix 0.38.34", + "rustix 0.38.35", "scoped-tls", "smallvec", "wayland-sys", @@ -6419,7 +6419,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e321577a0a165911bdcfb39cf029302479d7527b517ee58ab0f6ad09edf0943" dependencies = [ "bitflags 2.6.0", - "rustix 0.38.34", + "rustix 0.38.35", "wayland-backend", "wayland-scanner", ] @@ -6441,7 +6441,7 @@ version = "0.31.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ef9489a8df197ebf3a8ce8a7a7f0a2320035c3743f3c1bd0bdbccf07ce64f95" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.35", "wayland-client", "xcursor", ] @@ -6531,7 +6531,7 @@ dependencies = [ "bitflags 2.6.0", "downcast-rs", "io-lifetimes 2.0.3", - "rustix 0.38.34", + "rustix 0.38.35", "wayland-backend", "wayland-scanner", ] @@ -7084,7 +7084,7 @@ dependencies = [ "percent-encoding", "raw-window-handle", "redox_syscall 0.3.5", - "rustix 0.38.34", + "rustix 0.38.35", "sctk-adwaita", "smithay-client-toolkit 0.18.1", "smol_str", @@ -7155,7 +7155,7 @@ dependencies = [ "libc", "libloading 0.8.5", "once_cell", - "rustix 0.38.34", + "rustix 0.38.35", "x11rb-protocol", ] @@ -7173,7 +7173,7 @@ checksum = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" dependencies = [ "libc", "linux-raw-sys 0.4.14", - "rustix 0.38.34", + "rustix 0.38.35", ] [[package]] diff --git a/i18n/pt-BR/cosmic_files.ftl b/i18n/pt-BR/cosmic_files.ftl index 5d9bcda..eb14326 100644 --- a/i18n/pt-BR/cosmic_files.ftl +++ b/i18n/pt-BR/cosmic_files.ftl @@ -1,8 +1,10 @@ cosmic-files = Arquivos do COSMIC empty-folder = Pasta vazia empty-folder-hidden = Pasta vazia (contém itens ocultos) -filesystem = Sistema de Arquivos +no-results = Nenhum item encontrado +filesystem = Sistema de arquivos home = Pasta pessoal +notification-in-progress = Há operações de arquivo em andamento. trash = Lixeira undo = Desfazer @@ -35,6 +37,7 @@ open-file = Abrir arquivo open-folder = Abrir pasta open-in-new-tab = Abrir em uma nova aba open-in-new-window = Abrir em uma nova janela +open-item-location = Abrir local do item open-multiple-files = Abrir vários arquivos open-multiple-folders = Abrir várias pastas save = Salvar @@ -55,6 +58,15 @@ apply-to-all = Aplicar a todos keep-both = Manter ambos skip = Ignorar + +## Metadata Dialog +owner = Proprietário +group = Grupo +other = Outros +read = Leitura +write = Escrita +execute = Execução + # Context Pages ## About @@ -73,23 +85,31 @@ created = Criado {$name} em {$parent} copying = Copiando {$items} {$items -> [one] item *[other] itens - } de {$from} a {$to} + } de {$from} para {$to} copied = Copiado {$items} {$items -> [one] item *[other] itens - } de {$from} a {$to} + } de {$from} para {$to} emptying-trash = Esvaziando a lixeira emptied-trash = Lixeira vazia +extracting = Extraindo {$items} {$items -> + [one] item + *[other] itens + } de {$from} para {$to} +extracted = Extraído {$items} {$items -> + [one] item + *[other] itens + } de {$from} para {$to} moving = Movendo {$items} {$items -> [one] item *[other] itens - } de {$from} a {$to} + } de {$from} para {$to} moved = Movido {$items} {$items -> [one] item *[other] itens - } de {$from} a {$to} -renaming = Renomeando {$from} a {$to} -renamed = Renomeado {$from} a {$to} + } de {$from} para {$to} +renaming = Renomeando {$from} para {$to} +renamed = Renomeado {$from} para {$to} restoring = Restaurando {$items} {$items -> [one] item *[other] itens @@ -102,11 +122,11 @@ undo = Desfazer unknown-folder = pasta desconhecida ## Open with -open-with = Abrir com +open-with = Abrir com... default-app = {$name} (padrão) -## Properties -properties = Propriedades +## Show details +show-details = Mostrar detalhes ## Settings settings = Configurações @@ -128,11 +148,12 @@ dark = Escuro light = Claro # Context menu +extract-here = Extrair add-to-sidebar = Adicionar à barra lateral -new-file = Novo arquivo -new-folder = Nova pasta +new-file = Novo arquivo... +new-folder = Nova pasta... open-in-terminal = Abrir no terminal -move-to-trash = Mover para a lixeira +move-to-trash = Mover para a lixeira restore-from-trash = Restaurar da lixeira remove-from-sidebar = Remover da barra lateral sort-by-name = Ordenar por nome @@ -145,7 +166,8 @@ sort-by-size = Ordenar por tamanho file = Arquivo new-tab = Nova aba new-window = Nova janela -rename = Renomear +rename = Renomear... +menu-show-details = Mostrar detalhes... close-tab = Fechar aba quit = Sair @@ -163,7 +185,7 @@ zoom-out = Reduzir view = Exibir grid-view = Exibição em grade list-view = Exibição em lista -show-hidden-files = Exibir arquivos ocultos +show-hidden-files = Mostrar arquivos ocultos list-directories-first = Listar pastas primeiro menu-settings = Configurações... menu-about = Sobre o Arquivos do COSMIC... diff --git a/src/key_bind.rs b/src/key_bind.rs index 16b7076..255fb89 100644 --- a/src/key_bind.rs +++ b/src/key_bind.rs @@ -41,7 +41,7 @@ pub fn key_binds() -> HashMap { bind!([Shift], Key::Named(Named::ArrowUp), ItemUp); bind!([Alt], Key::Named(Named::ArrowUp), LocationUp); bind!([], Key::Named(Named::Delete), MoveToTrash); - bind!([Ctrl, Shift], Key::Character("N".into()), NewFolder); + bind!([Ctrl, Shift], Key::Character("n".into()), NewFolder); bind!([], Key::Named(Named::Enter), Open); bind!([Ctrl], Key::Named(Named::Enter), OpenInNewTab); bind!([Shift], Key::Named(Named::Enter), OpenInNewWindow);