├── docs ├── reference │ ├── entities.docbook.in │ ├── caja-python-enum-reference.xml │ ├── caja-python-provider-reference.xml │ ├── caja-python-class-reference.xml │ ├── caja-python-ref.xml │ ├── caja-python-overview-methods.xml │ ├── caja-python-overview-example.xml │ ├── caja-python-operation-result.xml │ ├── caja-python-operation-handle.xml │ ├── caja-python-overview.xml │ ├── caja-python-location-widget-provider.xml │ ├── caja-python-column-provider.xml │ ├── caja-python-menu.xml │ ├── caja-python-property-page-provider.xml │ ├── caja-python-property-page.xml │ └── caja-python-column.xml ├── xsl │ ├── style.css │ ├── pdf-style.xsl │ ├── common.xsl │ ├── fixxref.py │ ├── ref-html-style.xsl │ ├── devhelp.xsl │ └── pdf.xsl └── Makefile.am ├── ChangeLog ├── po ├── POTFILES.in ├── LINGUAS ├── th.po ├── eo.po ├── frp.po ├── ie.po ├── ne.po ├── tr.po ├── la.po ├── zh_TW.po ├── ku_IQ.po ├── ms.po ├── am.po ├── ast.po ├── cy.po ├── et.po ├── hi.po ├── hy.po ├── fr.po ├── fy.po ├── sv.po ├── da.po ├── vi.po ├── zh_HK.po ├── fa.po ├── fi.po ├── gl.po ├── nb.po ├── pt.po ├── en_GB.po ├── gu.po ├── oc.po ├── pms.po ├── el.po ├── is.po ├── nds.po ├── fr_CA.po ├── ja.po ├── lv.po ├── sq.po ├── zh_CN.po ├── ca.po ├── id.po ├── jv.po ├── kk.po ├── ro.po ├── uz.po ├── eu.po ├── en_AU.po ├── es.po ├── bg.po ├── de.po ├── es_CL.po ├── hu.po ├── bs.po ├── ca@valencia.po ├── es_AR.po ├── ko.po ├── lt.po ├── es_ES.po ├── hr.po ├── pt_BR.po ├── ar.po ├── es_CO.po ├── sl.po ├── it.po ├── sr.po ├── sk.po ├── cs.po ├── he.po ├── nl.po ├── pl.po ├── be.po ├── ru.po ├── uk.po ├── br.po └── Makevars ├── makepot ├── caja-python.pc.in ├── .tx ├── config_20221028215447.bak └── config ├── AUTHORS ├── .github ├── issue_template.md └── FUNDING.yml ├── examples ├── location-widget-provider.py ├── Makefile.am ├── README ├── update-file-info-async.py ├── block-size-column.py ├── background-image.py ├── md5sum-property-page.py ├── submenu.py ├── open-terminal.py ├── meld.py ├── mixed.py └── shred.py ├── libcaja-python.caja-extension.desktop.in.in ├── autogen.sh ├── README ├── python-caja.pot ├── src ├── Makefile.am ├── caja-python-object.h └── caja-python.h ├── Makefile.am ├── .travis.yml ├── NEWS ├── .build.yml └── configure.ac /docs/reference/entities.docbook.in: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | The ChangeLog is auto-generated when releasing. If you are seeing this, use 2 | 'git log' for a detailed list of changes. 3 | -------------------------------------------------------------------------------- /po/POTFILES.in: -------------------------------------------------------------------------------- 1 | # List of source files containing translatable strings. 2 | # Please keep this file sorted alphabetically. 3 | libcaja-python.caja-extension.desktop.in 4 | -------------------------------------------------------------------------------- /docs/xsl/style.css: -------------------------------------------------------------------------------- 1 | .programlisting { 2 | font: monospace; 3 | background-color: #E0E0E0; 4 | padding: 5; 5 | } 6 | 7 | pre.synopsis { 8 | background-color: #E0E0E0; 9 | padding: 5; 10 | } 11 | -------------------------------------------------------------------------------- /makepot: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | PACKAGE=python-caja; 4 | 5 | make -C po $PACKAGE.pot && mv po/$PACKAGE.pot . 6 | sed -i "/#, fuzzy/d" $PACKAGE.pot 7 | sed -i 's/charset=CHARSET/charset=UTF-8/g' $PACKAGE.pot 8 | -------------------------------------------------------------------------------- /caja-python.pc.in: -------------------------------------------------------------------------------- 1 | Name: Caja-Python 2 | Description: Caja-Python Components 3 | Version: @VERSION@ 4 | 5 | prefix=@prefix@ 6 | datarootdir=@datarootdir@ 7 | libdir=@libdir@ 8 | pythondir=@datadir@/caja-python/extensions 9 | -------------------------------------------------------------------------------- /.tx/config_20221028215447.bak: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [MATE.master--python-caja] 5 | file_filter = po/.po 6 | source_file = po/python-caja.pot 7 | source_lang = en 8 | type = PO 9 | minimum_perc = 2 10 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [o:mate:p:MATE:r:master--python-caja] 5 | file_filter = po/.po 6 | source_file = po/python-caja.pot 7 | source_lang = en 8 | type = PO 9 | minimum_perc = 2 10 | 11 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | caja-python is developed by: 2 | Perberos 3 | Stefano Karapetsas 4 | Steve Zesch 5 | 6 | it is based on nautilus-python written by 7 | Johan Dahlin 8 | Dave Camp 9 | Calvin Gaisford 10 | -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- 1 | #### Expected behaviour 2 | 3 | 4 | #### Actual behaviour 5 | 6 | 7 | #### Steps to reproduce the behaviour 8 | 9 | 10 | #### MATE general version 11 | 12 | 13 | #### Package version 14 | 15 | 16 | #### Linux Distribution 17 | 18 | 19 | #### Link to bugreport of your Distribution (requirement) 20 | -------------------------------------------------------------------------------- /examples/location-widget-provider.py: -------------------------------------------------------------------------------- 1 | from gi.repository import Caja, Gtk, GObject 2 | 3 | class LocationProviderExample(GObject.GObject, Caja.LocationWidgetProvider): 4 | def __init__(self): 5 | pass 6 | 7 | def get_widget(self, uri, window): 8 | entry = Gtk.Entry() 9 | entry.set_text(uri) 10 | entry.show() 11 | return entry 12 | -------------------------------------------------------------------------------- /docs/reference/caja-python-enum-reference.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | Available Enums 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/xsl/pdf-style.xsl: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/Makefile.am: -------------------------------------------------------------------------------- 1 | docsdir = $(datadir)/doc/$(PACKAGE) 2 | docs_DATA = README 3 | 4 | examplesdir = $(datadir)/doc/$(PACKAGE)/examples 5 | examples_DATA = \ 6 | background-image.py \ 7 | block-size-column.py \ 8 | location-widget-provider.py \ 9 | open-terminal.py \ 10 | md5sum-property-page.py \ 11 | mixed.py \ 12 | submenu.py \ 13 | update-file-info-async.py 14 | 15 | EXTRA_DIST = README $(examples_DATA) 16 | 17 | -include $(top_srcdir)/git.mk 18 | -------------------------------------------------------------------------------- /examples/README: -------------------------------------------------------------------------------- 1 | To try any of the examples, copy them over to: 2 | 3 | $XDG_DATA_DIR/share/caja-python/extensions/ 4 | or: 5 | ~/.local/share/caja-python/extensions/ 6 | 7 | FYI, it is still possible to load plugins from the old locations. 8 | 9 | Then restart caja. 10 | 11 | Hint: if you're testing an extension that you're developing, it may 12 | be useful to start a 'private' instance of caja, like this: 13 | $ mkdir /tmp/testing 14 | $ export TMPDIR=/tmp/testing 15 | $ caja --no-desktop 16 | -------------------------------------------------------------------------------- /docs/xsl/common.xsl: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /libcaja-python.caja-extension.desktop.in.in: -------------------------------------------------------------------------------- 1 | [Caja Extension] 2 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 3 | Icon=text-x-python 4 | Name=Python 5 | Description=Allows to use Python extensions 6 | Author=Perberos ;Stefano Karapetsas ;Steve Zesch ;Johan Dahlin ;Dave Camp ;Calvin Gaisford 7 | Copyright=Copyright (C) 2004-2005 Johan Dahlin 8 | Version=@VERSION@ 9 | Website=@PACKAGE_URL@ 10 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | custom: https://mate-desktop.org/donate/ 10 | -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Run this to generate all the initial makefiles, etc. 3 | 4 | srcdir=`dirname $0` 5 | test -z "$srcdir" && srcdir=. 6 | 7 | PKG_NAME="python-caja" 8 | 9 | (test -f $srcdir/configure.ac) || { 10 | echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" 11 | echo " top-level $PKG_NAME directory" 12 | exit 1 13 | } 14 | 15 | which mate-autogen || { 16 | echo "You need to install mate-common from the MATE Git" 17 | exit 1 18 | } 19 | 20 | REQUIRED_AUTOMAKE_VERSION=1.9 21 | USE_COMMON_DOC_BUILD=yes 22 | 23 | . mate-autogen 24 | 25 | -------------------------------------------------------------------------------- /po/LINGUAS: -------------------------------------------------------------------------------- 1 | am 2 | ar 3 | ast 4 | be 5 | bg 6 | br 7 | bs 8 | ca 9 | ca@valencia 10 | cs 11 | cy 12 | da 13 | de 14 | el 15 | en_AU 16 | en_GB 17 | eo 18 | es 19 | es_AR 20 | es_CL 21 | es_CO 22 | es_ES 23 | et 24 | eu 25 | fa 26 | fi 27 | fr 28 | fr_CA 29 | frp 30 | fy 31 | gl 32 | gu 33 | he 34 | hi 35 | hr 36 | hu 37 | hy 38 | id 39 | ie 40 | is 41 | it 42 | ja 43 | jv 44 | kk 45 | ko 46 | ku_IQ 47 | la 48 | lv 49 | lt 50 | ms 51 | nb 52 | nds 53 | ne 54 | nl 55 | oc 56 | pl 57 | pms 58 | pt 59 | pt_BR 60 | ro 61 | ru 62 | sk 63 | sl 64 | sq 65 | sr 66 | sv 67 | th 68 | tr 69 | uk 70 | uz 71 | vi 72 | zh_CN 73 | zh_HK 74 | zh_TW 75 | -------------------------------------------------------------------------------- /docs/reference/caja-python-provider-reference.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | Provider Interfaces 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/reference/caja-python-class-reference.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | Available Classes 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | libcaja-extension python bindings 2 | ==================================== 3 | 4 | These are unstable bindings for the caja extension library. 5 | 6 | For examples and documentation check the examples sub directory. 7 | 8 | As of python-caja 1.5.0, scripts are loaded only from $XDG_DATA_DIR/caja-python/extensions, 9 | which includes ~/.local/share and /usr/share (or whatever your $XDG_DATA_DIR is 10 | set to). 11 | 12 | Try to copy test.py to that directory for an example 13 | 14 | Requirements 15 | ============ 16 | 17 | Caja 1.17.1 18 | Python 3.6 19 | PyGObject 3.0.0 20 | 21 | Problems 22 | ======== 23 | It's currently not possible to reload the python file without 24 | restarting caja. That's a planned feature for future versions. 25 | -------------------------------------------------------------------------------- /examples/update-file-info-async.py: -------------------------------------------------------------------------------- 1 | from gi.repository import Caja, GObject, GLib 2 | 3 | class UpdateFileInfoAsync(GObject.GObject, Caja.InfoProvider): 4 | def __init__(self): 5 | pass 6 | 7 | def update_file_info_full(self, provider, handle, closure, file): 8 | print('update_file_info_full') 9 | GLib.timeout_add_seconds(3, self.update_cb, provider, handle, closure) 10 | return Caja.OperationResult.IN_PROGRESS 11 | 12 | def update_cb(self, provider, handle, closure): 13 | print('update_cb') 14 | Caja.info_provider_update_complete_invoke(closure, provider, handle, Caja.OperationResult.FAILED) 15 | 16 | def cancel_update(self, provider, handle): 17 | print('cancel_update') 18 | -------------------------------------------------------------------------------- /examples/block-size-column.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | from gi.repository import GObject, Caja 4 | 5 | class ColumnExtension(GObject.GObject, Caja.ColumnProvider, Caja.InfoProvider): 6 | def __init__(self): 7 | pass 8 | 9 | def get_columns(self): 10 | return Caja.Column(name="CajaPython::block_size_column", 11 | attribute="block_size", 12 | label="Block size", 13 | description="Get the block size"), 14 | 15 | def update_file_info(self, file): 16 | if file.get_uri_scheme() != 'file': 17 | return 18 | 19 | filename = file.get_location().get_path() 20 | 21 | file.add_string_attribute('block_size', str(os.stat(filename).st_blksize)) 22 | -------------------------------------------------------------------------------- /python-caja.pot: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: python-caja 1.26.0\n" 9 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 10 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 | "Last-Translator: FULL NAME \n" 13 | "Language-Team: LANGUAGE \n" 14 | "Language: \n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | 19 | #: libcaja-python.caja-extension.desktop.in:5 20 | msgid "Python" 21 | msgstr "" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:6 24 | msgid "Allows to use Python extensions" 25 | msgstr "" 26 | -------------------------------------------------------------------------------- /src/Makefile.am: -------------------------------------------------------------------------------- 1 | NULL = 2 | 3 | caja_extensiondir=$(CAJA_EXTENSION_DIR) 4 | 5 | caja_extension_LTLIBRARIES = libcaja-python.la 6 | 7 | libcaja_python_la_SOURCES = \ 8 | caja-python.c \ 9 | caja-python.h \ 10 | caja-python-object.c \ 11 | caja-python-object.h 12 | 13 | libcaja_python_la_CPPFLAGS = \ 14 | -I$(top_srcdir) \ 15 | -I$(top_builddir) \ 16 | -DG_LOG_DOMAIN=\"Caja-Python\" \ 17 | -DDATADIR=\"$(datadir)\" \ 18 | -DLIBDIR=\"$(libdir)\" \ 19 | -DPYTHON_VERSION=\"$(PYTHON_VERSION)\" \ 20 | -DPYTHON_ABIFLAGS=\"$(PYTHON_ABIFLAGS)\" \ 21 | -DPY_LIB_LOC="\"$(PYTHON_LIB_LOC)\"" \ 22 | $(NULL) 23 | 24 | libcaja_python_la_CFLAGS = \ 25 | $(PYTHON_CFLAGS) \ 26 | $(CAJA_PYTHON_CFLAGS) \ 27 | $(WARN_CFLAGS) \ 28 | $(NULL) 29 | 30 | libcaja_python_la_LDFLAGS = -module -avoid-version -Wl,-z,defs 31 | libcaja_python_la_LIBADD = $(PYTHON_LIBS) $(CAJA_PYTHON_LIBS) 32 | 33 | -include $(top_srcdir)/git.mk 34 | -------------------------------------------------------------------------------- /po/th.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Waratha Kong, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Waratha Kong, 2018\n" 16 | "Language-Team: Thai (https://app.transifex.com/mate/teams/13566/th/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: th\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "อนุญาตให้ใช้ไฟนามสกุล Python" 30 | -------------------------------------------------------------------------------- /po/eo.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Cora Loftis, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Cora Loftis, 2018\n" 16 | "Language-Team: Esperanto (https://app.transifex.com/mate/teams/13566/eo/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: eo\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permesas uzi etendaĵoj de Python" 30 | -------------------------------------------------------------------------------- /po/frp.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Alexandre Raymond, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Alexandre Raymond, 2018\n" 16 | "Language-Team: Franco-Provençal (Arpitan) (https://app.transifex.com/mate/teams/13566/frp/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: frp\n" 21 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "" 30 | -------------------------------------------------------------------------------- /po/ie.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Caarmi, 2019 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Caarmi, 2019\n" 16 | "Language-Team: Interlingue (https://app.transifex.com/mate/teams/13566/ie/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ie\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permisse usar extensiones scrit in Python" 30 | -------------------------------------------------------------------------------- /po/ne.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # chautari , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: chautari , 2018\n" 16 | "Language-Team: Nepali (https://app.transifex.com/mate/teams/13566/ne/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ne\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "पाइथोन" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "" 30 | -------------------------------------------------------------------------------- /po/tr.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # mauron, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: mauron, 2018\n" 16 | "Language-Team: Turkish (https://app.transifex.com/mate/teams/13566/tr/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: tr\n" 21 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Python eklentilerinin kullanılmasına müsaade eder" 30 | -------------------------------------------------------------------------------- /po/la.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # N. Alexander , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: N. Alexander , 2018\n" 16 | "Language-Team: Latin (https://app.transifex.com/mate/teams/13566/la/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: la\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "" 30 | -------------------------------------------------------------------------------- /po/zh_TW.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # 黃柏諺 , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: 黃柏諺 , 2018\n" 16 | "Language-Team: Chinese (Taiwan) (https://app.transifex.com/mate/teams/13566/zh_TW/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: zh_TW\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "允許使用 Python 擴充套件" 30 | -------------------------------------------------------------------------------- /po/ku_IQ.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Rasti K5 , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Rasti K5 , 2018\n" 16 | "Language-Team: Kurdish (Iraq) (https://app.transifex.com/mate/teams/13566/ku_IQ/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ku_IQ\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "پایسن" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "" 30 | -------------------------------------------------------------------------------- /po/ms.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # abuyop , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: abuyop , 2018\n" 16 | "Language-Team: Malay (https://app.transifex.com/mate/teams/13566/ms/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ms\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Membolehkan penggunaan sambungan Python" 30 | -------------------------------------------------------------------------------- /po/am.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # samson , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: samson , 2018\n" 16 | "Language-Team: Amharic (https://app.transifex.com/mate/teams/13566/am/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: am\n" 21 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "የ Python extensions እንዲጠቀሙ መፍቀጃ" 30 | -------------------------------------------------------------------------------- /po/ast.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # enolp , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: enolp , 2018\n" 16 | "Language-Team: Asturian (https://app.transifex.com/mate/teams/13566/ast/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ast\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite usar estensiones de Python" 30 | -------------------------------------------------------------------------------- /po/cy.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # ciaran, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: ciaran, 2018\n" 16 | "Language-Team: Welsh (https://app.transifex.com/mate/teams/13566/cy/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: cy\n" 21 | "Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Caniatáu defnyddio estyniadau Python" 30 | -------------------------------------------------------------------------------- /po/et.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Ivar Smolin , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Ivar Smolin , 2018\n" 16 | "Language-Team: Estonian (https://app.transifex.com/mate/teams/13566/et/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: et\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Pythoni laienduste kasutamise lubamine" 30 | -------------------------------------------------------------------------------- /po/hi.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Panwar108 , 2020 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Panwar108 , 2020\n" 16 | "Language-Team: Hindi (https://app.transifex.com/mate/teams/13566/hi/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: hi\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "पाइथन" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "पाइथन एक्सटेंशन उपयोग में सहायक" 30 | -------------------------------------------------------------------------------- /po/hy.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Davit , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Davit , 2018\n" 16 | "Language-Team: Armenian (https://app.transifex.com/mate/teams/13566/hy/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: hy\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Թույլ է տալիս օգտագործել արտահայտություններ" 30 | -------------------------------------------------------------------------------- /po/fr.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Tubuntu, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Tubuntu, 2018\n" 16 | "Language-Team: French (https://app.transifex.com/mate/teams/13566/fr/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: fr\n" 21 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permet d'utiliser les extensions Python" 30 | -------------------------------------------------------------------------------- /po/fy.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # 62197a8afd75a0a64478212fcb55f596, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: 62197a8afd75a0a64478212fcb55f596, 2018\n" 16 | "Language-Team: Western Frisian (https://app.transifex.com/mate/teams/13566/fy/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: fy\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Lit Python ekstinsjes brûke" 30 | -------------------------------------------------------------------------------- /po/sv.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # 6a42dd6e7ca9a813693714b0d9aa1ad8, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: 6a42dd6e7ca9a813693714b0d9aa1ad8, 2018\n" 16 | "Language-Team: Swedish (https://app.transifex.com/mate/teams/13566/sv/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: sv\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Tillåter användning av Python-tillägg" 30 | -------------------------------------------------------------------------------- /po/da.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Joe Hansen , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Joe Hansen , 2018\n" 16 | "Language-Team: Danish (https://app.transifex.com/mate/teams/13566/da/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: da\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Giver mulighed for at bruge Pythonudvidelser" 30 | -------------------------------------------------------------------------------- /po/vi.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Horazone Detex , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Horazone Detex , 2018\n" 16 | "Language-Team: Vietnamese (https://app.transifex.com/mate/teams/13566/vi/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: vi\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Cho phép sử dụng các bổ trợ Python" 30 | -------------------------------------------------------------------------------- /po/zh_HK.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # tomoe_musashi , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: tomoe_musashi , 2018\n" 16 | "Language-Team: Chinese (Hong Kong) (https://app.transifex.com/mate/teams/13566/zh_HK/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: zh_HK\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "允許使用 Python 擴充套件" 30 | -------------------------------------------------------------------------------- /po/fa.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Borderliner , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Borderliner , 2018\n" 16 | "Language-Team: Persian (https://app.transifex.com/mate/teams/13566/fa/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: fa\n" 21 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "پایتون" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "اجازه می‌دهد تا از افزونه‌های پایتون استفاده شود" 30 | -------------------------------------------------------------------------------- /po/fi.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Mikko Harhanen , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Mikko Harhanen , 2018\n" 16 | "Language-Team: Finnish (https://app.transifex.com/mate/teams/13566/fi/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: fi\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Sallii Python-liitännäisten käytön" 30 | -------------------------------------------------------------------------------- /po/gl.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Miguel Anxo Bouzada , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Miguel Anxo Bouzada , 2018\n" 16 | "Language-Team: Galician (https://app.transifex.com/mate/teams/13566/gl/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: gl\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite usar as extensións de Python" 30 | -------------------------------------------------------------------------------- /po/nb.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Alexander Jansen , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Alexander Jansen , 2018\n" 16 | "Language-Team: Norwegian Bokmål (https://app.transifex.com/mate/teams/13566/nb/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: nb\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Tillater bruk av Python-utvidelser" 30 | -------------------------------------------------------------------------------- /po/pt.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Carlos Moreira, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Carlos Moreira, 2018\n" 16 | "Language-Team: Portuguese (https://app.transifex.com/mate/teams/13566/pt/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: pt\n" 21 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite utilizar extensões em Python" 30 | -------------------------------------------------------------------------------- /po/en_GB.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Andi Chandler , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Andi Chandler , 2018\n" 16 | "Language-Team: English (United Kingdom) (https://app.transifex.com/mate/teams/13566/en_GB/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: en_GB\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Allows to use Python extensions" 30 | -------------------------------------------------------------------------------- /po/gu.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Milan Savaliya , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Milan Savaliya , 2018\n" 16 | "Language-Team: Gujarati (https://app.transifex.com/mate/teams/13566/gu/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: gu\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "પાયથોન" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "પાયથોન એક્સ્ટેન્શન્સ વાપરવાની અનુમતી" 30 | -------------------------------------------------------------------------------- /po/oc.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Cédric Valmary , 2018 8 | # Quentin PAGÈS, 2020 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Quentin PAGÈS, 2020\n" 17 | "Language-Team: Occitan (post 1500) (https://app.transifex.com/mate/teams/13566/oc/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: oc\n" 22 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Permet d’utilizar d’extensions Python" 31 | -------------------------------------------------------------------------------- /po/pms.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Randy Ichinose , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Randy Ichinose , 2018\n" 16 | "Language-Team: Piemontese (https://app.transifex.com/mate/teams/13566/pms/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: pms\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Përmët d’utilissé estension Python" 30 | -------------------------------------------------------------------------------- /po/el.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Efstathios Iosifidis , 2018 8 | # Angelos Chraniotis, 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Angelos Chraniotis, 2018\n" 17 | "Language-Team: Greek (https://app.transifex.com/mate/teams/13566/el/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: el\n" 22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Επιτρέπει τη χρήση επεκτάσεων Python" 31 | -------------------------------------------------------------------------------- /po/is.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Sveinn í Felli , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Sveinn í Felli , 2018\n" 16 | "Language-Team: Icelandic (https://app.transifex.com/mate/teams/13566/is/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: is\n" 21 | "Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Gerir kleift að nota Python-viðbætur" 30 | -------------------------------------------------------------------------------- /po/nds.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Benedikt Straub , 2019 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Benedikt Straub , 2019\n" 16 | "Language-Team: Low German (https://app.transifex.com/mate/teams/13566/nds/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: nds\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Verlöövt 't, Python-Verwiederns to bruken" 30 | -------------------------------------------------------------------------------- /po/fr_CA.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # eere leme , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: eere leme , 2018\n" 16 | "Language-Team: French (Canada) (https://app.transifex.com/mate/teams/13566/fr_CA/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: fr_CA\n" 21 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "" 30 | -------------------------------------------------------------------------------- /po/ja.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # fbc955180bc2b956cb4ef52d00eb80a0_91487f8, 2018 8 | # Green , 2024 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Green , 2024\n" 17 | "Language-Team: Japanese (https://app.transifex.com/mate/teams/13566/ja/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: ja\n" 22 | "Plural-Forms: nplurals=1; plural=0;\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Python 拡張機能の利用を可能にする" 31 | -------------------------------------------------------------------------------- /po/lv.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # duck , 2020 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: duck , 2020\n" 16 | "Language-Team: Latvian (https://app.transifex.com/mate/teams/13566/lv/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: lv\n" 21 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Atļauj izmantot Python paplašinājumus" 30 | -------------------------------------------------------------------------------- /po/sq.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Indrit Bashkimi , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Indrit Bashkimi , 2018\n" 16 | "Language-Team: Albanian (https://app.transifex.com/mate/teams/13566/sq/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: sq\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Lejon përdorimin e prapashtesave në Python" 30 | -------------------------------------------------------------------------------- /po/zh_CN.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # shuyu liu , 2018 8 | # Wenbin Lv , 2022 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Wenbin Lv , 2022\n" 17 | "Language-Team: Chinese (China) (https://app.transifex.com/mate/teams/13566/zh_CN/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: zh_CN\n" 22 | "Plural-Forms: nplurals=1; plural=0;\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "启用 Python 扩展支持" 31 | -------------------------------------------------------------------------------- /po/ca.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Robert Antoni Buj i Gelonch , 2018 8 | # Francesc Famadas, 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Francesc Famadas, 2018\n" 17 | "Language-Team: Catalan (https://app.transifex.com/mate/teams/13566/ca/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: ca\n" 22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Permet utilitzar extensions de Python" 31 | -------------------------------------------------------------------------------- /po/id.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Willy Sudiarto Raharjo , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Willy Sudiarto Raharjo , 2018\n" 16 | "Language-Team: Indonesian (https://app.transifex.com/mate/teams/13566/id/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: id\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Ijinkan untuk menggunakan ekstensi Python" 30 | -------------------------------------------------------------------------------- /po/jv.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Ngalim Siregar , 2018 8 | # ZenWalker , 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: ZenWalker , 2018\n" 17 | "Language-Team: Javanese (https://app.transifex.com/mate/teams/13566/jv/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: jv\n" 22 | "Plural-Forms: nplurals=1; plural=0;\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Ngijini nggunakake ekstensi Python" 31 | -------------------------------------------------------------------------------- /po/kk.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Baurzhan Muftakhidinov , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Baurzhan Muftakhidinov , 2018\n" 16 | "Language-Team: Kazakh (https://app.transifex.com/mate/teams/13566/kk/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: kk\n" 21 | "Plural-Forms: nplurals=2; plural=(n!=1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Python кеңейтулерін қолдануды мүмкін қылады" 30 | -------------------------------------------------------------------------------- /po/ro.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Daniel , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Daniel , 2018\n" 16 | "Language-Team: Romanian (https://app.transifex.com/mate/teams/13566/ro/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ro\n" 21 | "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite utilizarea de extensii Python" 30 | -------------------------------------------------------------------------------- /po/uz.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Muzaffar Habibullayev , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Muzaffar Habibullayev , 2018\n" 16 | "Language-Team: Uzbek (https://app.transifex.com/mate/teams/13566/uz/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: uz\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Piton" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Piton kengaytmalaridan foydalanishga yo'l qo'yish" 30 | -------------------------------------------------------------------------------- /po/eu.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Asier Iturralde Sarasola , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Asier Iturralde Sarasola , 2018\n" 16 | "Language-Team: Basque (https://app.transifex.com/mate/teams/13566/eu/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: eu\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Baimendu Python hedapenak erabiltzea" 30 | -------------------------------------------------------------------------------- /po/en_AU.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Michael Findlay , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Michael Findlay , 2018\n" 16 | "Language-Team: English (Australia) (https://app.transifex.com/mate/teams/13566/en_AU/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: en_AU\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Allows you to use Python extensions" 30 | -------------------------------------------------------------------------------- /po/es.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Andres Sanchez , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Andres Sanchez , 2018\n" 16 | "Language-Team: Spanish (https://app.transifex.com/mate/teams/13566/es/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: es\n" 21 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permitir usar extensiones de Python" 30 | -------------------------------------------------------------------------------- /po/bg.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Georgi Georgiev (RacerBG) , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Georgi Georgiev (RacerBG) , 2018\n" 16 | "Language-Team: Bulgarian (https://app.transifex.com/mate/teams/13566/bg/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: bg\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Питон" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Позволява да се използват разширения за Питон" 30 | -------------------------------------------------------------------------------- /po/de.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Tim Schulz , 2018 8 | # Tobias Bannert , 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Tobias Bannert , 2018\n" 17 | "Language-Team: German (https://app.transifex.com/mate/teams/13566/de/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: de\n" 22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Erlaubt es, Python-Erweiterungen zu benutzen" 31 | -------------------------------------------------------------------------------- /po/es_CL.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Robert Petitpas , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Robert Petitpas , 2018\n" 16 | "Language-Team: Spanish (Chile) (https://app.transifex.com/mate/teams/13566/es_CL/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: es_CL\n" 21 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite usar extensiones de Python" 30 | -------------------------------------------------------------------------------- /po/hu.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Rezső Páder , 2018 8 | # Balázs Meskó , 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Balázs Meskó , 2018\n" 17 | "Language-Team: Hungarian (https://app.transifex.com/mate/teams/13566/hu/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: hu\n" 22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Lehetővé teszi a Python bővítmények használatát" 31 | -------------------------------------------------------------------------------- /po/bs.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Sky Lion , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Sky Lion , 2018\n" 16 | "Language-Team: Bosnian (https://app.transifex.com/mate/teams/13566/bs/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: bs\n" 21 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Omogućava korištenje Python produžetaka" 30 | -------------------------------------------------------------------------------- /po/ca@valencia.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Jose Alfredo Murcia Andrés , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Jose Alfredo Murcia Andrés , 2018\n" 16 | "Language-Team: Catalan (Valencian) (https://app.transifex.com/mate/teams/13566/ca@valencia/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ca@valencia\n" 21 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permet utilitzar extensions de Python" 30 | -------------------------------------------------------------------------------- /po/es_AR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Germán Herrou , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Germán Herrou , 2018\n" 16 | "Language-Team: Spanish (Argentina) (https://app.transifex.com/mate/teams/13566/es_AR/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: es_AR\n" 21 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite usar extensiones de Python" 30 | -------------------------------------------------------------------------------- /po/ko.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # 1763f4a4329a2376c933c5e919a36cbc_341ca53 <1f851310383599d03339229d772e1290_119292>, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: 1763f4a4329a2376c933c5e919a36cbc_341ca53 <1f851310383599d03339229d772e1290_119292>, 2018\n" 16 | "Language-Team: Korean (https://app.transifex.com/mate/teams/13566/ko/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ko\n" 21 | "Plural-Forms: nplurals=1; plural=0;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "파이썬 " 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "파이썬 확장 기능 사용 허락 " 30 | -------------------------------------------------------------------------------- /po/lt.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Moo, 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Moo, 2018\n" 16 | "Language-Team: Lithuanian (https://app.transifex.com/mate/teams/13566/lt/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: lt\n" 21 | "Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Leidžia naudoti Python išplėtimus" 30 | -------------------------------------------------------------------------------- /po/es_ES.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # J.Benjamín Rodríguez Díaz , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: J.Benjamín Rodríguez Díaz , 2018\n" 16 | "Language-Team: Spanish (Spain) (https://app.transifex.com/mate/teams/13566/es_ES/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: es_ES\n" 21 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite usar extensiones de Python" 30 | -------------------------------------------------------------------------------- /po/hr.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Elvis M. Lukšić , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Elvis M. Lukšić , 2018\n" 16 | "Language-Team: Croatian (https://app.transifex.com/mate/teams/13566/hr/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: hr\n" 21 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Dopušta korištenje proširenja Pythona" 30 | -------------------------------------------------------------------------------- /po/pt_BR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Marcelo Ghelman , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Marcelo Ghelman , 2018\n" 16 | "Language-Team: Portuguese (Brazil) (https://app.transifex.com/mate/teams/13566/pt_BR/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: pt_BR\n" 21 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite usar extensões Python" 30 | -------------------------------------------------------------------------------- /po/ar.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # مهدي السطيفي , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: مهدي السطيفي , 2018\n" 16 | "Language-Team: Arabic (https://app.transifex.com/mate/teams/13566/ar/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: ar\n" 21 | "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "بايثون" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "السماح باستخدام امتدادات بايثون" 30 | -------------------------------------------------------------------------------- /Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = po src examples 2 | 3 | if ENABLE_GTK_DOC 4 | SUBDIRS += docs 5 | endif 6 | 7 | ACLOCAL_AMFLAGS = -I m4 -I . ${ACLOCAL_FLAGS} 8 | 9 | pkgconfigdir = $(libdir)/pkgconfig 10 | pkgconfig_DATA = caja-python.pc 11 | 12 | extensiondir = $(datadir)/caja/extensions 13 | extension_in_files = libcaja-python.caja-extension.desktop.in 14 | extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension) 15 | $(extension_DATA): $(extension_in_files) 16 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@ 17 | 18 | EXTRA_DIST = autogen.sh caja-python.pc.in libcaja-python.caja-extension.desktop.in 19 | CLEANFILES = libcaja-python.caja-extension 20 | 21 | DISTCHECK_CONFIGURE_FLAGS= \ 22 | --enable-gtk-doc \ 23 | --with-cajadir='$${libdir}/caja/extensions-2.0-distcheck' \ 24 | --enable-compile-warnings=no \ 25 | CFLAGS='-Wno-deprecated-declarations' 26 | 27 | # Build ChangeLog from GIT history 28 | ChangeLog: 29 | $(AM_V_GEN) if test -d $(top_srcdir)/.git; then \ 30 | GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \ 31 | fi 32 | 33 | dist: ChangeLog 34 | 35 | .PHONY: ChangeLog 36 | 37 | -include $(top_srcdir)/git.mk 38 | -------------------------------------------------------------------------------- /po/es_CO.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Sergio Alejandro Bayona Becerra , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Sergio Alejandro Bayona Becerra , 2018\n" 16 | "Language-Team: Spanish (Colombia) (https://app.transifex.com/mate/teams/13566/es_CO/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: es_CO\n" 21 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Permite usar extensiones de Python" 30 | -------------------------------------------------------------------------------- /po/sl.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # worm , 2018 8 | # Martin Srebotnjak , 2021 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Martin Srebotnjak , 2021\n" 17 | "Language-Team: Slovenian (https://app.transifex.com/mate/teams/13566/sl/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: sl\n" 22 | "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Dovoli uporabo razširitev Python" 31 | -------------------------------------------------------------------------------- /po/it.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Dario Di Nucci , 2018 8 | # Alessandro Volturno , 2021 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Alessandro Volturno , 2021\n" 17 | "Language-Team: Italian (https://app.transifex.com/mate/teams/13566/it/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: it\n" 22 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Consente di utilizzare le estensioni Python" 31 | -------------------------------------------------------------------------------- /po/sr.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Мирослав Николић , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Мирослав Николић , 2018\n" 16 | "Language-Team: Serbian (https://app.transifex.com/mate/teams/13566/sr/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: sr\n" 21 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Питон" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Омогућава коришћење Питонових проширења" 30 | -------------------------------------------------------------------------------- /po/sk.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Dušan Kazik , 2018 8 | # Tibor Kaputa , 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Tibor Kaputa , 2018\n" 17 | "Language-Team: Slovak (https://app.transifex.com/mate/teams/13566/sk/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: sk\n" 22 | "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Umožňuje použitie rozšírení jazyka Python" 31 | -------------------------------------------------------------------------------- /po/cs.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Michal , 2018 8 | # Pavel Borecki , 2020 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Pavel Borecki , 2020\n" 17 | "Language-Team: Czech (https://app.transifex.com/mate/teams/13566/cs/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: cs\n" 22 | "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Umožňuje použít rozšíření pro Python" 31 | -------------------------------------------------------------------------------- /po/he.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Edward Sawyer , 2018 8 | # Omer I.S. , 2020 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: Omer I.S. , 2020\n" 17 | "Language-Team: Hebrew (https://www.transifex.com/mate/teams/13566/he/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: he\n" 22 | "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "פייתון" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "מאפשר שימוש בהרחבות עבור Python" 31 | -------------------------------------------------------------------------------- /po/nl.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Pjotr , 2018 8 | # 8c3c560621f92e66455793da7b85eff0_8989672 <0e181aafae430e5c919398b6a7bba462_109266>, 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: 8c3c560621f92e66455793da7b85eff0_8989672 <0e181aafae430e5c919398b6a7bba462_109266>, 2018\n" 17 | "Language-Team: Dutch (https://app.transifex.com/mate/teams/13566/nl/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: nl\n" 22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Staat gebruik van Python-uitbreidingen toe" 31 | -------------------------------------------------------------------------------- /po/pl.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Marcin Kralka , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Marcin Kralka , 2018\n" 16 | "Language-Team: Polish (https://app.transifex.com/mate/teams/13566/pl/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: pl\n" 21 | "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Pozwala na użycie rozszerzeń Python" 30 | -------------------------------------------------------------------------------- /po/be.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Mihail Varantsou , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Mihail Varantsou , 2018\n" 16 | "Language-Team: Belarusian (https://app.transifex.com/mate/teams/13566/be/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: be\n" 21 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Дазваляе выкарыстоўваць пашырэнні на Python" 30 | -------------------------------------------------------------------------------- /po/ru.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # XRevan86, 2018 8 | # monsta , 2018 9 | # 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: python-caja 1.26.0\n" 13 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 14 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 15 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 16 | "Last-Translator: monsta , 2018\n" 17 | "Language-Team: Russian (https://app.transifex.com/mate/teams/13566/ru/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: ru\n" 22 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" 23 | 24 | #: libcaja-python.caja-extension.desktop.in:5 25 | msgid "Python" 26 | msgstr "Python" 27 | 28 | #: libcaja-python.caja-extension.desktop.in:6 29 | msgid "Allows to use Python extensions" 30 | msgstr "Позволяет использовать расширения на языке Python" 31 | -------------------------------------------------------------------------------- /docs/reference/caja-python-ref.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | %entities; 6 | 7 | 8 | ]> 9 | 10 | 11 | &builddate; 12 | caja-python Reference Manual 13 | Reference Manual for caja-python &version; 14 | For caja-python version &version; 15 | 16 | 17 | Adam 18 | Plumb 19 | 20 | 21 | 22 | This reference describes the classes of the caja-python module. 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /po/uk.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Микола Ткач , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Микола Ткач , 2018\n" 16 | "Language-Team: Ukrainian (https://app.transifex.com/mate/teams/13566/uk/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: uk\n" 21 | "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Дозволяє використовувати розширення Python" 30 | -------------------------------------------------------------------------------- /docs/reference/caja-python-overview-methods.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | Explanation of Passive/Active Methods 9 | 10 | Because caja-python is an interface to a Caja' extension interface rather than a true library, it is 11 | rather quirky in how it works. One example of this is that several providers have additional public methods 12 | that an extension actively calls, rather than the extension defining and the method in their class that is called by 13 | Caja. You can see this with the Caja.menu_provider_emit_items_updated_signal 14 | and Caja.info_provider_update_complete_invoke methods, which 15 | the extension actively calls, passing the provider instance as a parameter. 16 | 17 | 18 | Due to this confusion, I have termed these actively-called methods Active Methods and the methods 19 | called by Caja are termed Passive Methods. 20 | 21 | -------------------------------------------------------------------------------- /po/br.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR MATE Desktop Environment team 3 | # This file is distributed under the same license as the python-caja package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | # Translators: 7 | # Alan Monfort , 2018 8 | # 9 | msgid "" 10 | msgstr "" 11 | "Project-Id-Version: python-caja 1.26.0\n" 12 | "Report-Msgid-Bugs-To: https://github.com/mate-desktop/python-caja/issues\n" 13 | "POT-Creation-Date: 2022-10-29 15:30+0200\n" 14 | "PO-Revision-Date: 2018-03-12 10:42+0000\n" 15 | "Last-Translator: Alan Monfort , 2018\n" 16 | "Language-Team: Breton (https://app.transifex.com/mate/teams/13566/br/)\n" 17 | "MIME-Version: 1.0\n" 18 | "Content-Type: text/plain; charset=UTF-8\n" 19 | "Content-Transfer-Encoding: 8bit\n" 20 | "Language: br\n" 21 | "Plural-Forms: nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);\n" 22 | 23 | #: libcaja-python.caja-extension.desktop.in:5 24 | msgid "Python" 25 | msgstr "Python" 26 | 27 | #: libcaja-python.caja-extension.desktop.in:6 28 | msgid "Allows to use Python extensions" 29 | msgstr "Reiñ a ra an aotre da arverañ askouezhioù Python" 30 | -------------------------------------------------------------------------------- /examples/background-image.py: -------------------------------------------------------------------------------- 1 | SUPPORTED_FORMATS = 'image/jpeg', 'image/png' 2 | BACKGROUND_SCHEMA = 'org.mate.background' 3 | BACKGROUND_KEY = 'picture-filename' 4 | 5 | from gi.repository import Caja, GObject, Gio 6 | 7 | 8 | class BackgroundImageExtension(GObject.GObject, Caja.MenuProvider): 9 | def __init__(self): 10 | self.bgsettings = Gio.Settings.new(BACKGROUND_SCHEMA) 11 | 12 | def menu_activate_cb(self, menu, file): 13 | if file.is_gone(): 14 | return 15 | 16 | if file.get_uri_scheme() == 'file': 17 | self.bgsettings[BACKGROUND_KEY] = file.get_location().get_path() 18 | 19 | def get_file_items(self, window, files): 20 | if len(files) != 1: 21 | return 22 | 23 | file = files[0] 24 | 25 | # We're only going to put ourselves on images context menus 26 | if not file.get_mime_type() in SUPPORTED_FORMATS: 27 | return 28 | 29 | # Mate can only handle file: 30 | # In the future we might want to copy the file locally 31 | if file.get_uri_scheme() != 'file': 32 | return 33 | 34 | item = Caja.MenuItem(name='Caja::set_background_image', 35 | label='Use as background image', 36 | tip='Set the current image as a background image') 37 | item.connect('activate', self.menu_activate_cb, file) 38 | return [item] 39 | 40 | def get_background_items(self, window, file): 41 | return [] 42 | -------------------------------------------------------------------------------- /examples/md5sum-property-page.py: -------------------------------------------------------------------------------- 1 | import hashlib 2 | 3 | from gi.repository import Caja, Gtk, GObject 4 | 5 | class MD5SumPropertyPage(GObject.GObject, Caja.PropertyPageProvider): 6 | def __init__(self): 7 | pass 8 | 9 | def get_property_pages(self, files): 10 | if len(files) != 1: 11 | return 12 | 13 | file = files[0] 14 | if file.get_uri_scheme() != 'file': 15 | return 16 | 17 | if file.is_directory(): 18 | return 19 | 20 | filename = file.get_location().get_path() 21 | 22 | self.property_label = Gtk.Label('MD5Sum') 23 | self.property_label.show() 24 | 25 | self.hbox = Gtk.HBox(homogeneous=False, spacing=0) 26 | self.hbox.show() 27 | 28 | label = Gtk.Label('MD5Sum:') 29 | label.show() 30 | self.hbox.pack_start(label, False, False, 0) 31 | 32 | self.value_label = Gtk.Label() 33 | self.hbox.pack_start(self.value_label, False, False, 0) 34 | 35 | md5sum = hashlib.md5() 36 | with open(filename,'rb') as f: 37 | for chunk in iter(lambda: f.read(8192), b''): 38 | md5sum.update(chunk) 39 | f.close() 40 | 41 | self.value_label.set_text(md5sum.hexdigest()) 42 | self.value_label.show() 43 | 44 | return Caja.PropertyPage(name="CajaPython::md5_sum", 45 | label=self.property_label, 46 | page=self.hbox), 47 | -------------------------------------------------------------------------------- /examples/submenu.py: -------------------------------------------------------------------------------- 1 | from gi.repository import Caja, GObject 2 | 3 | class ExampleMenuProvider(GObject.GObject, Caja.MenuProvider): 4 | def __init__(self): 5 | pass 6 | 7 | def get_file_items(self, window, files): 8 | top_menuitem = Caja.MenuItem(name='ExampleMenuProvider::Foo', 9 | label='Foo', 10 | tip='', 11 | icon='') 12 | 13 | submenu = Caja.Menu() 14 | top_menuitem.set_submenu(submenu) 15 | 16 | sub_menuitem = Caja.MenuItem(name='ExampleMenuProvider::Bar', 17 | label='Bar', 18 | tip='', 19 | icon='') 20 | submenu.append_item(sub_menuitem) 21 | 22 | return top_menuitem, 23 | 24 | def get_background_items(self, window, file): 25 | submenu = Caja.Menu() 26 | submenu.append_item(Caja.MenuItem(name='ExampleMenuProvider::Bar2', 27 | label='Bar2', 28 | tip='', 29 | icon='')) 30 | 31 | menuitem = Caja.MenuItem(name='ExampleMenuProvider::Foo2', 32 | label='Foo2', 33 | tip='', 34 | icon='') 35 | menuitem.set_submenu(submenu) 36 | 37 | return menuitem, 38 | 39 | -------------------------------------------------------------------------------- /src/caja-python-object.h: -------------------------------------------------------------------------------- 1 | /* 2 | * caja-python-object.h - Generation of wrapper objects for caja 3 | * extension objects in python. 4 | * 5 | * Copyright (C) 2003 Novell, Inc. 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Library General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public 18 | * License along with this library; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 20 | * 21 | * Author: Dave Camp 22 | * 23 | */ 24 | 25 | #ifndef CAJA_PYTHON_OBJECT_H 26 | #define CAJA_PYTHON_OBJECT_H 27 | 28 | #include 29 | #include 30 | 31 | G_BEGIN_DECLS 32 | 33 | typedef struct _CajaPythonObject CajaPythonObject; 34 | typedef struct _CajaPythonObjectClass CajaPythonObjectClass; 35 | 36 | struct _CajaPythonObject { 37 | GObject parent_slot; 38 | PyObject *instance; 39 | }; 40 | 41 | struct _CajaPythonObjectClass { 42 | GObjectClass parent_slot; 43 | PyObject *type; 44 | }; 45 | 46 | GType caja_python_object_get_type (GTypeModule *module, PyObject *type); 47 | 48 | G_END_DECLS 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /examples/open-terminal.py: -------------------------------------------------------------------------------- 1 | # This example is contributed by Martin Enlund 2 | import os 3 | import subprocess 4 | 5 | from gi.repository import Caja, GObject, Gio 6 | 7 | TERMINAL_SCHEMA = 'org.mate.applications-terminal' 8 | TERMINAL_KEY = 'exec' 9 | 10 | class OpenTerminalExtension(Caja.MenuProvider, GObject.GObject): 11 | def __init__(self): 12 | self.gsettings = Gio.Settings.new(TERMINAL_SCHEMA) 13 | 14 | def _open_terminal(self, file): 15 | filename = file.get_location().get_path() 16 | terminal = self.gsettings[TERMINAL_KEY] 17 | 18 | os.chdir(filename) 19 | subprocess.Popen([terminal], cwd=filename) 20 | 21 | def menu_activate_cb(self, menu, file): 22 | self._open_terminal(file) 23 | 24 | def menu_background_activate_cb(self, menu, file): 25 | self._open_terminal(file) 26 | 27 | def get_file_items(self, window, files): 28 | if len(files) != 1: 29 | return 30 | 31 | file = files[0] 32 | if not file.is_directory() or file.get_uri_scheme() != 'file': 33 | return 34 | 35 | item = Caja.MenuItem(name='CajaPython::openterminal_file_item', 36 | label='Open Terminal' , 37 | tip='Open Terminal In %s' % file.get_name()) 38 | item.connect('activate', self.menu_activate_cb, file) 39 | return [item] 40 | 41 | def get_background_items(self, window, file): 42 | item = Caja.MenuItem(name='CajaPython::openterminal_item', 43 | label='Open Terminal Here', 44 | tip='Open Terminal In This Directory') 45 | item.connect('activate', self.menu_background_activate_cb, file) 46 | return [item] 47 | -------------------------------------------------------------------------------- /examples/meld.py: -------------------------------------------------------------------------------- 1 | # Examples: https://github.com/mate-desktop/python-caja/tree/master/examples 2 | 3 | import os 4 | import subprocess 5 | 6 | from gi.repository import Caja, GObject 7 | 8 | 9 | class MeldMenuProvider(GObject.GObject, Caja.MenuProvider): 10 | MELD_EXECUTABLE = 'meld' 11 | MELD_ICON = '/usr/share/icons/hicolor/scalable/apps/org.gnome.Meld.svg' 12 | 13 | def __init__(self): 14 | pass 15 | 16 | def menu_activate_cb(self, menu, files=None): 17 | if files and len(files): 18 | # Set working directory 19 | os.chdir(os.path.dirname(files[0].get_location().get_path())) 20 | 21 | # Start Meld 22 | cmd_args = [self.MELD_EXECUTABLE] 23 | if files and len(files): 24 | for i in range(0, min(3, len(files))): 25 | cmd_args.append(files[i].get_location().get_path()) 26 | subprocess.Popen(cmd_args) 27 | 28 | def get_file_items(self, window, files): 29 | top_menuitem = Caja.MenuItem(name='MeldMenuProvider::Meld', 30 | label='Meld compare', 31 | tip='Compare files and folders using Meld', 32 | icon=self.MELD_ICON) 33 | top_menuitem.connect('activate', self.menu_activate_cb, files) 34 | 35 | return top_menuitem, 36 | 37 | def get_background_items(self, window, file): 38 | bg_menuitem_meld = Caja.MenuItem(name='MeldMenuProvider::MeldBg', 39 | label='Meld', 40 | tip='Compare files and folders using Meld', 41 | icon=self.MELD_ICON) 42 | bg_menuitem_meld.connect('activate', self.menu_activate_cb) 43 | 44 | return bg_menuitem_meld, 45 | -------------------------------------------------------------------------------- /docs/xsl/fixxref.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # -*- Mode: Python; py-indent-offset: 4 -*- 3 | 4 | import getopt 5 | import os 6 | import re 7 | import sys 8 | 9 | anchors = {} 10 | anchor_pat = re.compile(r'''^\s*''', 12 | re.MULTILINE | re.VERBOSE) 13 | link_pat = re.compile(r'''(.*?) 14 | ''', re.DOTALL | re.VERBOSE) 15 | def scan_index_dir(idir): 16 | for root, dirs, files in os.walk(idir): 17 | if 'index.sgml' in files: 18 | scan_index_file(os.path.join(root, 'index.sgml')) 19 | return 20 | 21 | def scan_index_file(ifile): 22 | buf = open(ifile).read() 23 | for id, href in anchor_pat.findall(buf): 24 | anchors[id] = href 25 | 26 | def fix_xrefs(hdir): 27 | for f in os.listdir(hdir): 28 | if os.path.splitext(f)[1] == '.html': 29 | fix_html_file(os.path.join(hdir, f)) 30 | 31 | def link_subst(m): 32 | id, text = m.groups() 33 | if id in anchors.keys(): 34 | return '' + text + '' 35 | return text 36 | 37 | def fix_html_file(hfile): 38 | buf = open(hfile).read() 39 | buf = link_pat.sub(link_subst, buf) 40 | open(hfile, 'w').write(buf) 41 | 42 | def usage(e=None): 43 | if e: 44 | sys.stderr.write('fixxref.py: %s\n' % e) 45 | sys.stderr.write('usage: fixxref.py [-i index-dir] html-dir\n') 46 | sys.exit(1) 47 | 48 | if __name__ == '__main__': 49 | try: 50 | opts, args = getopt.getopt(sys.argv[1:], "i:h:", 51 | ["index-dir=", "html-dir="]) 52 | except getopt.error as e: 53 | usage(e) 54 | 55 | index_dirs = [] 56 | for opt, arg in opts: 57 | if opt in ('-i', '--index-dir'): 58 | index_dirs.append(arg) 59 | 60 | if len(args) != 1: 61 | usage() 62 | 63 | for idir in index_dirs: 64 | scan_index_dir(idir) 65 | 66 | html_dir = args[0] 67 | fix_xrefs(html_dir) 68 | -------------------------------------------------------------------------------- /docs/xsl/ref-html-style.xsl: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | <ANCHOR id=" 28 | 29 | " href=" 30 | 31 | 32 | / 33 | 34 | 35 | "> 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /docs/reference/caja-python-overview-example.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | A Simple Extension 8 | 9 | Create an empty file with the following code: 10 | 11 | 12 | A Simple Extension 13 | 14 | from gi.repository import Caja, GObject 15 | 16 | class ColumnExtension(GObject.GObject, Caja.MenuProvider): 17 | def __init__(self): 18 | pass 19 | 20 | def menu_activate_cb(self, menu, file): 21 | print "menu_activate_cb",file 22 | 23 | def get_file_items(self, window, files): 24 | if len(files) != 1: 25 | return 26 | 27 | file = files[0] 28 | 29 | item = Caja.MenuItem( 30 | name="SimpleMenuExtension::Show_File_Name", 31 | label="Showing %s" % file.get_name(), 32 | tip="Showing %s" % file.get_name() 33 | ) 34 | item.connect('activate', self.menu_activate_cb, file) 35 | 36 | return [item] 37 | 38 | 39 | Save this file as TestExtension.py in the ~/.local/share/caja-python/extensions folder. 40 | You may need to create this folder. To run, simply restart Caja. 41 | 42 | Once Caja restarts, right-click on a file and you should see a new menu item, 43 | "Showing #filename#". It is as simple as that! 44 | 45 | As mentioned above, in order to 46 | get loaded by Caja, a python extension must import the Caja module from gi.repository, 47 | create a class derived from a caja *Provider and a gobject.GObject, and create the methods that 48 | will be called by Caja when it requests information from its providers. 49 | In this case, when someone right-clicks on a file, Caja will ask all of its 50 | MenuProviders for additional menu items to show the user. When folders or files are clicked, 51 | the get_file_items method is called and a list of Caja.MenuItems is expected. 52 | 53 | 54 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | dist: jammy 2 | language: shell 3 | os: linux 4 | services: 5 | - docker 6 | addons: 7 | apt: 8 | packages: 9 | - python3-pip 10 | - python3-setuptools 11 | 12 | branches: 13 | except: 14 | - gh-pages 15 | 16 | before_install: 17 | - curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build 18 | - curl -Ls -o gen-index https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/gen-index.sh 19 | - chmod +x docker-build gen-index 20 | 21 | install: 22 | - pip3 install PyGithub 23 | - ./docker-build --name ${DISTRO} --config .build.yml --install 24 | 25 | script: 26 | - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts 27 | 28 | notifications: 29 | irc: 30 | if: (tag OR branch = master) AND 31 | repo = mate-desktop/python-caja 32 | channels: 33 | - "irc.libera.chat#mate-dev" 34 | template: 35 | - "[%{repository_name}] %{author}: %{commit_subject}" 36 | - "[%{branch}] %{commit} %{message} %{build_url}" 37 | on_success: never 38 | on_failure: always 39 | 40 | deploy: 41 | - provider: pages 42 | edge: true 43 | token: $GITHUB_TOKEN 44 | keep_history: false 45 | committer_from_gh: true 46 | target_branch: gh-pages 47 | local_dir: html-report 48 | strategy: git 49 | on: 50 | all_branches: true 51 | condition: ${DISTRO} =~ ^fedora.*$ 52 | - provider: script 53 | edge: true 54 | script: ./docker-build --verbose --config .build.yml --release github 55 | on: 56 | tags: true 57 | condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$" 58 | 59 | after_success: 60 | - 'if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_PULL_REQUEST" != "false" && ${DISTRO} =~ ^fedora.*$ ]]; then 61 | REPO_SLUG_ARRAY=(${TRAVIS_REPO_SLUG//\// }); 62 | REPO_NAME=${REPO_SLUG_ARRAY[1]}; 63 | URL="https://${REPO_NAME}.mate-desktop.dev"; 64 | COMMENT="Code analysis completed"; 65 | curl -H "Authorization: token $GITHUB_TOKEN" -X POST 66 | -d "{\"state\": \"success\", \"description\": \"$COMMENT\", \"context\":\"scan-build\", \"target_url\": \"$URL\"}" 67 | https://api.github.com/repos/${TRAVIS_REPO_SLUG}/statuses/${TRAVIS_PULL_REQUEST_SHA}; 68 | fi' 69 | 70 | env: 71 | # - DISTRO="archlinux:latest" 72 | - DISTRO="debian:testing" 73 | - DISTRO="fedora:latest" 74 | # - DISTRO="ubuntu:rolling" 75 | -------------------------------------------------------------------------------- /docs/reference/caja-python-operation-result.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.OperationResult 8 | Caja.OperationResult Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | Description 19 | 20 | 21 | The Caja.OperationResult constants are 22 | used by the Caja.InfoProvider provider to 23 | notify Caja what the extension intends to do when Caja calls the extension's update_file_info_full 24 | method. The possible values are as follows: 25 | 26 | 27 | 28 | 29 | 30 | Caja.OperationResult.COMPLETE 31 | 32 | The operation is complete and Caja can move on to the next update_file_info_full call. 33 | 34 | 35 | 36 | Caja.OperationResult.IN_PROGRESS 37 | 38 | The operation is in progress and running asynchronously and Caja should wait until the Caja.info_provider_update_complete_invoke method 39 | is called before moving on to the next update_file_info_full call. 40 | 41 | 42 | 43 | Caja.OperationResult.FAILED 44 | 45 | The operation has failed. 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /docs/reference/caja-python-operation-handle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.OperationHandle 8 | Caja.FileInfo update in progress handle 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Synopsis 17 | 18 | 19 | Caja.OperationHandle 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | Description 30 | 31 | 32 | A handle for a Caja.FileInfo update operation in progress. The handle value is a non-zero signed integer that can be stored in a gobject.gpointer. It cannot be explicitly constructed and is always generated by Caja itself. 33 | 34 | 35 | As every instance is created and initialized by Caja, handle values may be used as keys within the extension. It is however possible to update these values with more convenient ones. 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | Properties 47 | 48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | "handle" 58 | The unique handle value. Default value: preset by Caja. 59 | Read-Write 60 | 61 | 62 | 63 | 64 | 65 |
66 |
67 | 68 |
69 | -------------------------------------------------------------------------------- /docs/reference/caja-python-overview.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | Overview 8 | 9 | Writing a Caja-Python extension is a fairly straight-forward process. 10 | One simply imports the Caja module from the gobject introspection repository and creates a class which is derived from a gobject.GObject and 11 | one of the Caja module's classes. When an extension derives a class, it becomes a "provider", 12 | telling Caja to ask it for information. There are several types of providers 13 | available for extensions to use: there is MenuProvider, LocationWidgetProvider, 14 | ColumnProvider, PropertyPageProvider, and InfoProvider, all of which will be explained 15 | in more detail below. Your class can be derived from multiple providers. 16 | 17 | Here are the basic steps: 18 | 19 | 1. A script is written and installed to the standard caja-python extension install path 20 | 2. Caja is (re)started and loads the caja-python C extension, which in turn loads all python extensions it can find 21 | 3. Any python script in the standard caja-python extension install path that imports the Caja module from the gobject introspection repository and derives 22 | the main class from a Caja module class will be loaded 23 | 24 | 25 | A note about the standard python extensions install path 26 | 27 | As of caja-python 0.7.0 (and continued in 1.0+), caja-python looks in ~/.local/share/caja-python/extensions 28 | for local extensions and $PREFIX/share/caja-python/extensions for global extensions. 29 | 30 | 31 | 32 | A note about compatibility issues for caja-python 1.0 33 | 1. We no longer support the "import caja" command that previous versions used. This is because 34 | caja-python now directly uses Caja's annotations, which must be imported by the "from gi.repository import Caja" command. 35 | 2. The extension class must now derive itself from a gobject.GObject in addition to the standard Caja classes. 36 | 3. For now, some Caja class constructors require passing named arguments instead of a standard argument list. This requirement may go away at some point. 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/caja-python.h: -------------------------------------------------------------------------------- 1 | /* 2 | * caja-python.c - Caja Python extension 3 | * 4 | * Copyright (C) 2004 Johan Dahlin 5 | * 6 | * This library is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2 of the License, or (at your option) any later version. 10 | * 11 | * This library is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Library General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public 17 | * License along with this library; if not, write to the Free 18 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 19 | * 20 | */ 21 | 22 | #ifndef CAJA_PYTHON_H 23 | #define CAJA_PYTHON_H 24 | 25 | #include 26 | #include 27 | #include 28 | 29 | #if defined(NO_IMPORT) 30 | #define CAJA_PYTHON_VAR_DECL extern 31 | #else 32 | #define CAJA_PYTHON_VAR_DECL 33 | #endif 34 | 35 | typedef enum { 36 | CAJA_PYTHON_DEBUG_MISC = 1 << 0, 37 | } CajaPythonDebug; 38 | 39 | extern CajaPythonDebug caja_python_debug; 40 | 41 | #define debug(x) { if (caja_python_debug & CAJA_PYTHON_DEBUG_MISC) \ 42 | g_printf( "caja-python:" x "\n"); } 43 | #define debug_enter() { if (caja_python_debug & CAJA_PYTHON_DEBUG_MISC) \ 44 | g_printf("%s: entered\n", __FUNCTION__); } 45 | #define debug_enter_args(x, y) { if (caja_python_debug & CAJA_PYTHON_DEBUG_MISC) \ 46 | g_printf("%s: entered " x "\n", __FUNCTION__, y); } 47 | 48 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyGtkWidget_Type; 49 | #define PyGtkWidget_Type (*_PyGtkWidget_Type) 50 | 51 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaColumn_Type; 52 | #define PyCajaColumn_Type (*_PyCajaColumn_Type) 53 | 54 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaColumnProvider_Type; 55 | #define PyCajaColumnProvider_Type (*_PyCajaColumnProvider_Type) 56 | 57 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaInfoProvider_Type; 58 | #define PyCajaInfoProvider_Type (*_PyCajaInfoProvider_Type) 59 | 60 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaLocationWidgetProvider_Type; 61 | #define PyCajaLocationWidgetProvider_Type (*_PyCajaLocationWidgetProvider_Type) 62 | 63 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaMenu_Type; 64 | #define PyCajaMenu_Type (*_PyCajaMenu_Type) 65 | 66 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaMenuItem_Type; 67 | #define PyCajaMenuItem_Type (*_PyCajaMenuItem_Type) 68 | 69 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaMenuProvider_Type; 70 | #define PyCajaMenuProvider_Type (*_PyCajaMenuProvider_Type) 71 | 72 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaPropertyPage_Type; 73 | #define PyCajaPropertyPage_Type (*_PyCajaPropertyPage_Type) 74 | 75 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaPropertyPageProvider_Type; 76 | #define PyCajaPropertyPageProvider_Type (*_PyCajaPropertyPageProvider_Type) 77 | 78 | CAJA_PYTHON_VAR_DECL PyTypeObject *_PyCajaOperationHandle_Type; 79 | #define PyCajaOperationHandle_Type (*_PyCajaOperationHandle_Type) 80 | 81 | #endif /* CAJA_PYTHON_H */ 82 | -------------------------------------------------------------------------------- /docs/Makefile.am: -------------------------------------------------------------------------------- 1 | BUILDDIR = $(top_builddir)/docs 2 | 3 | REF_VERSION = $(VERSION) 4 | FULL_VERSION = $(VERSION) 5 | 6 | FIXXREF = $(srcdir)/xsl/fixxref.py 7 | HTML_STYLE = $(srcdir)/xsl/ref-html-style.xsl 8 | 9 | XML_FILES = \ 10 | reference/caja-python-ref.xml \ 11 | reference/caja-python-overview.xml \ 12 | reference/caja-python-overview-example.xml \ 13 | reference/caja-python-overview-methods.xml \ 14 | reference/caja-python-class-reference.xml \ 15 | reference/caja-python-provider-reference.xml \ 16 | reference/caja-python-column.xml \ 17 | reference/caja-python-column-provider.xml \ 18 | reference/caja-python-menu.xml \ 19 | reference/caja-python-menu-item.xml \ 20 | reference/caja-python-menu-provider.xml \ 21 | reference/caja-python-property-page.xml \ 22 | reference/caja-python-property-page-provider.xml \ 23 | reference/caja-python-location-widget-provider.xml \ 24 | reference/caja-python-file-info.xml \ 25 | reference/caja-python-info-provider.xml \ 26 | reference/caja-python-enum-reference.xml \ 27 | reference/caja-python-operation-result.xml \ 28 | reference/caja-python-operation-handle.xml 29 | 30 | HTMLdir = $(datadir)/gtk-doc/html/caja-python 31 | HTML_FILES = \ 32 | html/index.html \ 33 | html/index.sgml \ 34 | html/caja-python-overview.html \ 35 | html/caja-python-overview-example.html \ 36 | html/caja-python-overview-methods.html \ 37 | html/caja-python-class-reference.html \ 38 | html/caja-python-provider-reference.html \ 39 | html/class-caja-python-column.html \ 40 | html/class-caja-python-column-provider.html \ 41 | html/class-caja-python-menu.html \ 42 | html/class-caja-python-menu-item.html \ 43 | html/class-caja-python-menu-provider.html \ 44 | html/class-caja-python-property-page.html \ 45 | html/class-caja-python-property-page-provider.html \ 46 | html/class-caja-python-location-widget-provider.html \ 47 | html/class-caja-python-file-info.html \ 48 | html/class-caja-python-info-provider.html \ 49 | html/class-caja-python-operation-handle.html \ 50 | html/caja-python-enum-reference.html \ 51 | html/enum-caja-python-operation-result.html \ 52 | html/caja-python.devhelp 53 | HTML_DATA = $(HTML_FILES) 54 | 55 | XSL_FILES = \ 56 | xsl/common.xsl \ 57 | xsl/devhelp.xsl \ 58 | xsl/html.xsl \ 59 | xsl/pdf-style.xsl \ 60 | xsl/pdf.xsl \ 61 | xsl/style.css 62 | 63 | CSS_FILES = xsl/style.css 64 | CSSdir = $(HTMLdir) 65 | CSS_DATA = $(CSS_FILES) 66 | 67 | CLEANFILES = \ 68 | caja-python-ref.* \ 69 | reference/builddate.xml \ 70 | $(HTML_FILES) 71 | 72 | EXTRA_DIST = \ 73 | $(XML_FILES) \ 74 | $(XSL_FILES) \ 75 | $(FIXXREF) \ 76 | $(HTML_STYLE) 77 | 78 | REFERENCE_DEPS = \ 79 | reference \ 80 | $(XML_FILES) \ 81 | $(XSL_FILES) \ 82 | $(FIXXREF) 83 | 84 | if ENABLE_GTK_DOC 85 | 86 | BUILT_SOURCES = \ 87 | reference/builddate.xml \ 88 | $(HTML_FILES) 89 | 90 | reference/builddate.xml: $(REFERENCE_DEPS) 91 | $(PYTHON) -c 'import datetime; print (datetime.date.today())' > $@ 92 | 93 | $(HTML_FILES): $(REFERENCE_DEPS) 94 | xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \ 95 | --path $(BUILDDIR)/reference:$(srcdir)/reference \ 96 | --stringparam gtkdoc.bookname "caja-python" \ 97 | --stringparam gtkdoc.version ${REF_VERSION} \ 98 | $(HTML_STYLE) $(srcdir)/reference/caja-python-ref.xml 99 | $(FIXXREF) -i xsl $(BUILDDIR)/html 100 | touch $@ 101 | 102 | endif 103 | 104 | -include $(top_srcdir)/git.mk 105 | -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- 1 | ### python-caja 1.28.0 2 | 3 | * Translations update 4 | 5 | ### python-caja 1.27.0 6 | 7 | * Translations update 8 | * Use a blank line at most 9 | * caja-python: do not discard const modifier in PyImport_ImportModuleEx 10 | * caja-python: missing g_strdup 11 | 12 | ### python-caja 1.26.0 13 | 14 | * Translations update 15 | 16 | ### python-caja 1.25.0 17 | 18 | * Translations update 19 | * build: show configure summary using a pretty format 20 | * build: Use PACKAGE_URL variable 21 | * caja-python: remove warnings about conversion 22 | * Remove USE_MATE2_MACROS from autogen.sh (legacy) 23 | * add git.mk to generate .gitignore 24 | * caja-python: Fix memory leak reported by scan-build 25 | * build: silent build warnings for distcheck 26 | * build: Use WARN_CFLAGS variable 27 | 28 | ### python-caja 1.24.0 29 | 30 | * Translations update 31 | 32 | ### python-caja 1.23.1 33 | 34 | * Translations update 35 | * configure: get quieter output from make 36 | * Get rid of commons 37 | * migrate from intltools to gettext 38 | * README: update required Python version 39 | * drop Python 2 support (#50) 40 | * Make configure.ac cross compile safe. 41 | * Remove trailing whitespaces 42 | 43 | ### python-caja 1.23.0 44 | 45 | * Translations update 46 | * Add support for building with Python 3.8 47 | * Change url project's website 48 | * Create FUNDING.yml 49 | * Make Caja.OperationHandle usable. 50 | 51 | ### python-caja 1.22.0 52 | 53 | * fix distcheck when use python3 54 | * Initialize Travis CI support 55 | * Examples: remove use of Python 2/3 incompatible urllib/urlparse. 56 | * Report effective Python version and library location at the end of configure 57 | * docs: fix remaining incompatibility with Python 3 58 | 59 | ### python-caja 1.21.1 60 | 61 | * Translations update 62 | * Fix Python 2 INT_ASLONG function. 63 | * Include Python 3 ABI flags in shared library name. 64 | * Make Python statements compatible with version 2 and 3. 65 | * Implement Python 3 C API compatibility using conditional and macros. 66 | * Allow to "make dist" without building the docs. 67 | * Fail to build if some referenced symbol cannot be resolved at link time. 68 | * Modernize examples 69 | 70 | ### python-caja 1.21.0 71 | 72 | * Translations update 73 | * disable deprecation warnings for distcheck 74 | 75 | ### python-caja 1.20.0 76 | 77 | * Translations update 78 | 79 | ### python-caja 1.19.0 80 | 81 | * Translations update 82 | * use standard python exception message 83 | * Added gi.require_version() 84 | 85 | ### python-caja 1.18.0 86 | 87 | * Translations update 88 | * support GTK+3 only: require Caja 1.17.1 and pygobject-3.0 89 | * drop ancient check for Python 2.5, not needed these days 90 | 91 | ### python-caja 1.16.0 92 | 93 | * Examples: fix Caja crash on loading background-image 94 | extension 95 | * Examples: various fixes 96 | * Translations update 97 | 98 | ### python-caja 1.14.0 99 | 100 | * Expose filenames of Python extensions to Caja 101 | (needed for showing each Python extension as 102 | a separate entry in the extensions list) 103 | * Fix missing icon in About dialog 104 | * Fix Changelog generation 105 | 106 | ### python-caja 1.12.0 107 | 108 | * Translations update 109 | 110 | ### python-caja 1.10.0 111 | 112 | * Bugfixes 113 | * Add about window for caja extensions tab 114 | 115 | ### python-caja 1.8.1 Bugfix release 116 | 117 | * Use pkg-config for python detection and variables 118 | 119 | ### python-caja 1.8.0 120 | 121 | * Bugfixes 122 | -------------------------------------------------------------------------------- /.build.yml: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # THE FOLLOWING LINES IS USED BY docker-build 3 | ########################################################## 4 | requires: 5 | archlinux: 6 | # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/python-caja 7 | - autoconf-archive 8 | - caja 9 | - clang 10 | - gcc 11 | - git 12 | - make 13 | - mate-common 14 | - python-gobject 15 | - which 16 | 17 | debian: 18 | # Useful URL: https://github.com/mate-desktop/debian-packages 19 | # Useful URL: https://salsa.debian.org/debian-mate-team/python-caja 20 | - autoconf-archive 21 | - autopoint 22 | - clang 23 | - clang-tools 24 | - cppcheck 25 | - gcc 26 | - git 27 | - gtk-doc-tools 28 | - libcaja-extension-dev 29 | - libgirepository1.0-dev 30 | - make 31 | - mate-common 32 | - python3-dev 33 | - python-gi-dev 34 | - quilt 35 | 36 | fedora: 37 | # Useful URL: https://src.fedoraproject.org/cgit/rpms/python-caja.git 38 | - autoconf-archive 39 | - caja-devel 40 | - clang 41 | - clang-analyzer 42 | - cppcheck-htmlreport 43 | - gcc 44 | - git 45 | - make 46 | - mate-common 47 | - pygobject3-devel 48 | - python3-devel 49 | - redhat-rpm-config 50 | 51 | ubuntu: 52 | - autoconf-archive 53 | - autopoint 54 | - clang 55 | - clang-tools 56 | - git 57 | - gtk-doc-tools 58 | - libcaja-extension-dev 59 | - libgirepository1.0-dev 60 | - make 61 | - mate-common 62 | - python3-dev 63 | - python-gi-dev 64 | - quilt 65 | 66 | variables: 67 | - 'CHECKERS=" 68 | -enable-checker deadcode.DeadStores 69 | -enable-checker alpha.deadcode.UnreachableCode 70 | -enable-checker alpha.core.CastSize 71 | -enable-checker alpha.core.CastToStruct 72 | -enable-checker alpha.core.IdenticalExpr 73 | -enable-checker alpha.core.SizeofPtr 74 | -enable-checker alpha.security.ArrayBoundV2 75 | -enable-checker alpha.security.MallocOverflow 76 | -enable-checker alpha.security.ReturnPtrRange 77 | -enable-checker alpha.unix.SimpleStream 78 | -enable-checker alpha.unix.cstring.BufferOverlap 79 | -enable-checker alpha.unix.cstring.NotNullTerminated 80 | -enable-checker alpha.unix.cstring.OutOfBounds 81 | -enable-checker alpha.core.FixedAddr 82 | -enable-checker security.insecureAPI.strcpy"' 83 | 84 | before_scripts: 85 | 86 | build_scripts: 87 | - NOCONFIGURE=1 ./autogen.sh 88 | - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum 89 | - if [ $CPU_COUNT -gt 1 ]; then 90 | - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT 91 | - else 92 | - scan-build $CHECKERS --keep-cc -o html-report make 93 | - fi 94 | - if [ ${DISTRO_NAME} == "debian" ];then 95 | - cppcheck --enable=warning,style,performance,portability,information,missingInclude . 96 | - fi 97 | 98 | after_scripts: 99 | - if [ ${DISTRO_NAME} == "fedora" ];then 100 | - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude . 101 | - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport 102 | - ./gen-index -l 20 103 | - fi 104 | - make distcheck 105 | 106 | releases: 107 | draft: false 108 | prerelease: false 109 | checksum: true 110 | file_glob: true 111 | files: python-caja-*.tar.xz 112 | github_release: 113 | tags: true 114 | overwrite: true 115 | base_version: 1.20.0 116 | notify_servers: 117 | - https://release.mate-desktop.org/release 118 | -------------------------------------------------------------------------------- /po/Makevars: -------------------------------------------------------------------------------- 1 | # Makefile variables for PO directory in any package using GNU gettext. 2 | 3 | # Usually the message domain is the same as the package name. 4 | DOMAIN = $(PACKAGE) 5 | 6 | # These two variables depend on the location of this directory. 7 | subdir = po 8 | top_builddir = .. 9 | 10 | # These options get passed to xgettext. 11 | XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 --keyword=g_dngettext:2,3 --keyword=Description --add-comments=Translators: 12 | 13 | # This is the copyright holder that gets inserted into the header of the 14 | # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding 15 | # package. (Note that the msgstr strings, extracted from the package's 16 | # sources, belong to the copyright holder of the package.) Translators are 17 | # expected to transfer the copyright for their translations to this person 18 | # or entity, or to disclaim their copyright. The empty string stands for 19 | # the public domain; in this case the translators are expected to disclaim 20 | # their copyright. 21 | COPYRIGHT_HOLDER = MATE Desktop Environment team 22 | 23 | # This tells whether or not to prepend "GNU " prefix to the package 24 | # name that gets inserted into the header of the $(DOMAIN).pot file. 25 | # Possible values are "yes", "no", or empty. If it is empty, try to 26 | # detect it automatically by scanning the files in $(top_srcdir) for 27 | # "GNU packagename" string. 28 | PACKAGE_GNU = 29 | 30 | # This is the email address or URL to which the translators shall report 31 | # bugs in the untranslated strings: 32 | # - Strings which are not entire sentences, see the maintainer guidelines 33 | # in the GNU gettext documentation, section 'Preparing Strings'. 34 | # - Strings which use unclear terms or require additional context to be 35 | # understood. 36 | # - Strings which make invalid assumptions about notation of date, time or 37 | # money. 38 | # - Pluralisation problems. 39 | # - Incorrect English spelling. 40 | # - Incorrect formatting. 41 | # It can be your email address, or a mailing list address where translators 42 | # can write to without being subscribed, or the URL of a web page through 43 | # which the translators can contact you. 44 | MSGID_BUGS_ADDRESS = 45 | 46 | # This is the list of locale categories, beyond LC_MESSAGES, for which the 47 | # message catalogs shall be used. It is usually empty. 48 | EXTRA_LOCALE_CATEGORIES = 49 | 50 | # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' 51 | # context. Possible values are "yes" and "no". Set this to yes if the 52 | # package uses functions taking also a message context, like pgettext(), or 53 | # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. 54 | USE_MSGCTXT = no 55 | 56 | # These options get passed to msgmerge. 57 | # Useful options are in particular: 58 | # --previous to keep previous msgids of translated messages, 59 | # --quiet to reduce the verbosity. 60 | MSGMERGE_OPTIONS = 61 | 62 | # These options get passed to msginit. 63 | # If you want to disable line wrapping when writing PO files, add 64 | # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and 65 | # MSGINIT_OPTIONS. 66 | MSGINIT_OPTIONS = 67 | 68 | # This tells whether or not to regenerate a PO file when $(DOMAIN).pot 69 | # has changed. Possible values are "yes" and "no". Set this to no if 70 | # the POT file is checked in the repository and the version control 71 | # program ignores timestamps. 72 | PO_DEPENDS_ON_POT = yes 73 | 74 | # This tells whether or not to forcibly update $(DOMAIN).pot and 75 | # regenerate PO files on "make dist". Possible values are "yes" and 76 | # "no". Set this to no if the POT file and PO files are maintained 77 | # externally. 78 | DIST_DEPENDS_ON_UPDATE_PO = yes 79 | -------------------------------------------------------------------------------- /docs/reference/caja-python-location-widget-provider.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.LocationWidgetProvider 8 | Caja.LocationWidgetProvider Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Synopsis 17 | 18 | 19 | Caja.LocationWidgetProvider 20 | 21 | 22 | get_widget 23 | uri 24 | window 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | Description 35 | 36 | 37 | If subclassed, Caja will request a widget to be displayed at the top of the directory listing. 38 | 39 | 40 | 41 | Caja.LocationWidgetProvider Example 42 | 43 | from gi.repository import Caja, GObject, Gtk 44 | 45 | class ColumnExtension(GObject.GObject, Caja.LocationWidgetProvider): 46 | def __init__(self): 47 | pass 48 | 49 | def get_widget(self, uri, window): 50 | entry = Gtk.Entry() 51 | entry.set_text(uri) 52 | entry.show() 53 | return entry 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | Passive Methods 65 | 66 | 67 | Caja.LocationWidgetProvider.get_widget 68 | 69 | 70 | get_widget 71 | uri 72 | window 73 | 74 | 75 | 76 | 77 | uri : 78 | the current folder uri 79 | 80 | 81 | window : 82 | the current gtk.Window instance 83 | 84 | 85 | Returns : 86 | a gtk.Widget object 87 | 88 | 89 | 90 | 91 | This function is called by Caja when it wants a location widget from the extension. 92 | It is called in the main thread before a directory listing is shown, so it should return quickly. 93 | 94 | 95 | 96 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /docs/reference/caja-python-column-provider.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.ColumnProvider 8 | Caja.ColumnProvider Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Synopsis 17 | 18 | 19 | Caja.ColumnProvider 20 | 21 | 22 | get_columns 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Description 34 | 35 | 36 | If subclassed, Caja will request a list of Caja.Column 37 | objects, which are then displayed when the user is in List mode. 38 | 39 | An extension sub-classing Caja.ColumnProvider 40 | will almost always want to sub-class Caja.InfoProvider 41 | as well, since that is how an extension provides information for each item in a directory listing. 42 | 43 | 44 | 45 | 46 | Caja.ColumnProvider Example 47 | 48 | import os 49 | import urllib 50 | 51 | from gi.repository import Caja, GObject 52 | 53 | class ColumnExtension(GObject.GObject, Caja.ColumnProvider, Caja.InfoProvider): 54 | def __init__(self): 55 | pass 56 | 57 | def get_columns(self): 58 | return Caja.Column(name="CajaPython::block_size_column", 59 | attribute="block_size", 60 | label="Block size", 61 | description="Get the block size"), 62 | 63 | def update_file_info(self, file): 64 | if file.get_uri_scheme() != 'file': 65 | return 66 | 67 | filename = urllib.unquote(file.get_uri()[7:]) 68 | 69 | file.add_string_attribute('block_size', str(os.stat(filename).st_blksize)) 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | Passive Methods 81 | 82 | 83 | Caja.ColumnProvider.get_columns 84 | 85 | 86 | get_columns 87 | 88 | 89 | 90 | 91 | 92 | Returns : 93 | a list of Caja.Column 94 | 95 | 96 | 97 | 98 | The get_columns() method returns a list of 99 | Caja.Column. 100 | 101 | 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /examples/mixed.py: -------------------------------------------------------------------------------- 1 | # This Python caja extension only consider files/folders with a mixed 2 | # upper/lower case name. For those, the following is featured: 3 | # - an emblem on the icon, 4 | # - contextual menu entry. 5 | # - a list view "Mixed" column, 6 | # - a property page, 7 | # - A top area widget. 8 | 9 | import os 10 | 11 | from gi.repository import Caja, GObject, Gtk 12 | 13 | 14 | class Mixed(GObject.GObject, 15 | Caja.InfoProvider, 16 | Caja.ColumnProvider, 17 | Caja.MenuProvider, 18 | Caja.PropertyPageProvider, 19 | Caja.LocationWidgetProvider): 20 | 21 | emblem = 'favorite-symbolic.symbolic' # Use one of the stock emblems. 22 | 23 | # Private methods. 24 | 25 | def _file_has_mixed_name(self, cajafile): 26 | name = cajafile.get_name() 27 | if name.upper() != name and name.lower() != name: 28 | return 'mixed' 29 | return '' 30 | 31 | # Caja.InfoProvider implementation. 32 | 33 | def update_file_info(self, cajafile): 34 | mixed = self._file_has_mixed_name(cajafile) 35 | cajafile.add_string_attribute('mixed', mixed) 36 | if mixed: 37 | cajafile.add_emblem(self.emblem) 38 | 39 | # Caja.ColumnProvider implementation. 40 | 41 | def get_columns(self): 42 | return [ 43 | Caja.Column( 44 | name = 'Mixed::mixed_column', 45 | attribute = 'mixed', 46 | label = 'Mixed', 47 | description = 'Column added by the mixed extension' 48 | ) 49 | ] 50 | 51 | # Caja.MenuProvider implementation. 52 | 53 | def get_file_items(self, window, cajafiles): 54 | menuitems = [] 55 | if len(cajafiles) == 1: 56 | for cajafile in cajafiles: 57 | mixed = cajafile.get_string_attribute('mixed') 58 | if mixed: 59 | filename = cajafile.get_name() 60 | menuitem = Caja.MenuItem( 61 | name = 'Mixed::FileMenu', 62 | label = 'Mixed: %s has a mixed case name' % filename, 63 | tip = '', 64 | icon = '' 65 | ) 66 | menuitems.append(menuitem) 67 | 68 | return menuitems 69 | 70 | def get_background_items(self, window, folder): 71 | mixed = self._file_has_mixed_name(folder) 72 | if not mixed: 73 | return [] 74 | return [ 75 | Caja.MenuItem( 76 | name = 'Mixed::BackgroundMenu', 77 | label = 'Mixed: you are browsing a directory with a mixed case name', 78 | tip = '', 79 | icon = '' 80 | ) 81 | ] 82 | 83 | # Caja.PropertyPageProvider implementation. 84 | 85 | def get_property_pages(self, cajafiles): 86 | pages = [] 87 | if len(cajafiles) == 1: 88 | for cajafile in cajafiles: 89 | if self._file_has_mixed_name(cajafile): 90 | page_label = Gtk.Label('Mixed') 91 | page_label.show() 92 | hbox = Gtk.HBox(homogeneous = False, spacing = 4) 93 | hbox.show() 94 | name_label = Gtk.Label(cajafile.get_name()) 95 | name_label.show() 96 | comment_label = Gtk.Label('has a mixed-case name') 97 | comment_label.show() 98 | hbox.pack_start(name_label, False, False, 0) 99 | hbox.pack_start(comment_label, False, False, 0) 100 | pages.append( 101 | Caja.PropertyPage( 102 | name = 'Mixed::PropertyPage', 103 | label = page_label, 104 | page = hbox 105 | ) 106 | ) 107 | 108 | return pages 109 | 110 | # Caja.LocationWidgetProvider implementation. 111 | 112 | def get_widget(self, uri, window): 113 | cajafile = Caja.FileInfo.create_for_uri(uri) 114 | if not self._file_has_mixed_name(cajafile): 115 | return None 116 | label = Gtk.Label('In mixed-case directory ' + cajafile.get_name()) 117 | label.show() 118 | return label 119 | -------------------------------------------------------------------------------- /configure.ac: -------------------------------------------------------------------------------- 1 | AC_INIT([python-caja], [1.28.0], 2 | [https://github.com/mate-desktop/python-caja/issues], 3 | [python-caja], [https://mate-desktop.org]) 4 | 5 | AC_SUBST(PACKAGE) 6 | AC_SUBST(VERSION) 7 | 8 | AM_INIT_AUTOMAKE(1.10 dist-xz no-dist-gzip check-news) 9 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 10 | AC_CONFIG_HEADERS(config.h) 11 | AC_CONFIG_MACRO_DIR([m4]) 12 | 13 | MATE_COMPILE_WARNINGS 14 | 15 | CAJA_REQUIRED=1.17.1 16 | 17 | AC_PROG_CC 18 | AC_DISABLE_STATIC 19 | AC_PROG_LIBTOOL 20 | 21 | PKG_PROG_PKG_CONFIG 22 | dnl Give error and exit if we dont have pkgconfig 23 | AS_IF([test "x$PKG_CONFIG" = "x"],[ 24 | AC_MSG_ERROR([you need to have pkgconfig installed !]) 25 | ]) 26 | 27 | dnl i18n 28 | GETTEXT_PACKAGE=python-caja 29 | AC_SUBST(GETTEXT_PACKAGE) 30 | AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GetText Package]) 31 | 32 | AM_GNU_GETTEXT_VERSION([0.19.8]) 33 | AM_GNU_GETTEXT([external]) 34 | dnl Check for gtk-doc 35 | GTK_DOC_CHECK(1.9) 36 | 37 | dnl ************************************************** 38 | dnl * Check for Python 39 | dnl ************************************************** 40 | AM_PATH_PYTHON([3.6]) 41 | PYTHON_PKG="python-${PYTHON_VERSION}-embed" 42 | PKG_CHECK_MODULES([PYTHON], [${PYTHON_PKG}],, 43 | [ 44 | PYTHON_PKG=python-${PYTHON_VERSION} 45 | PKG_CHECK_MODULES([PYTHON], [${PYTHON_PKG}]) 46 | ] 47 | ) 48 | PYTHON_LIB_LOC="`${PKG_CONFIG} ${PYTHON_PKG} --variable=libdir`" 49 | PYTHON_ABIFLAGS=`$PYTHON -c 'import sys; exec("try: print (sys.abiflags)\nexcept: pass")'` 50 | AC_SUBST(PYTHON_LIBS) 51 | AC_SUBST(PYTHON_CFLAGS) 52 | AC_SUBST(PYTHON_LIB_LOC) 53 | AC_SUBST(PYTHON_ABIFLAGS) 54 | 55 | PYGOBJECT_MAJOR_VERSION=3 56 | PYGOBJECT_MINOR_VERSION=0 57 | PYGOBJECT_MICRO_VERSION=0 58 | 59 | PYGOBJECT_REQUIRED=$PYGOBJECT_MAJOR_VERSION.$PYGOBJECT_MINOR_VERSION.$PYGOBJECT_MICRO_VERSION 60 | AC_DEFINE_UNQUOTED(PYGOBJECT_MAJOR_VERSION,[$PYGOBJECT_MAJOR_VERSION], [PyGObject major version.]) 61 | AC_DEFINE_UNQUOTED(PYGOBJECT_MINOR_VERSION,[$PYGOBJECT_MINOR_VERSION], [PyGObject minor version.]) 62 | AC_DEFINE_UNQUOTED(PYGOBJECT_MICRO_VERSION,[$PYGOBJECT_MICRO_VERSION], [PyGObject micro version.]) 63 | 64 | PKG_CHECK_MODULES(CAJA_PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED 65 | gmodule-no-export-2.0 66 | libcaja-extension >= $CAJA_REQUIRED]) 67 | 68 | PYGOBJECT_DATADIR=`$PKG_CONFIG --variable=datadir pygobject-3.0` 69 | AC_SUBST(PYGOBJECT_DATADIR) 70 | 71 | PYGOBJECT_PYGDOCS="`$PKG_CONFIG --variable=pygdocs pygobject-3.0`" 72 | AC_SUBST(PYGOBJECT_PYGDOCS) 73 | 74 | PYGOBJECT_FIXXREF="$PYTHON `$PKG_CONFIG --variable=fixxref pygobject-3.0`" 75 | AC_SUBST(PYGOBJECT_FIXXREF) 76 | 77 | CAJA_LIBDIR=`$PKG_CONFIG --variable=libdir libcaja-extension` 78 | AC_SUBST(CAJA_LIBDIR) 79 | AC_DEFINE_UNQUOTED(CAJA_LIBDIR, "$CAJA_LIBDIR", [Caja libdir]) 80 | 81 | dnl --------------------------------- 82 | dnl Get caja extensions directory 83 | dnl --------------------------------- 84 | AC_ARG_WITH(cajadir, 85 | AS_HELP_STRING([--with-cajadir=DIR],[Installation path for Caja extension @<:@auto@:>@]), 86 | [ac_with_cajadir=$withval], 87 | [ac_with_cajadir=""]) 88 | AS_IF([test "${ac_with_cajadir}" = ""],[ 89 | ac_with_cajadir=`$PKG_CONFIG --variable=extensiondir libcaja-extension` 90 | ]) 91 | 92 | AC_MSG_NOTICE([installing caja plugin in ${ac_with_cajadir}]) 93 | AC_SUBST([CAJA_EXTENSION_DIR], [${ac_with_cajadir}]) 94 | 95 | dnl --------------------------------- 96 | dnl Check for gtk-doc dependencies 97 | dnl --------------------------------- 98 | AS_IF([test "${enable_gtk_doc}" != no],[ 99 | dnl Check for xsltproc 100 | AC_PATH_PROG([XSLTPROC], [xsltproc]) 101 | AS_IF([test -z "$XSLTPROC"],[ 102 | echo " disabling generation of docs" 103 | enable_gtk_doc=no 104 | ]) 105 | ]) 106 | 107 | AC_CONFIG_FILES([ 108 | Makefile 109 | libcaja-python.caja-extension.desktop.in 110 | examples/Makefile 111 | src/Makefile 112 | caja-python.pc 113 | docs/Makefile 114 | docs/reference/entities.docbook 115 | po/Makefile.in 116 | ]) 117 | AC_OUTPUT 118 | 119 | echo " 120 | Configure summary: 121 | 122 | ${PACKAGE_STRING} 123 | `echo $PACKAGE_STRING | sed "s/./=/g"` 124 | 125 | Caja Prefix .................: ${prefix} 126 | Python version ..............: ${PYTHON_VERSION} 127 | Python library location .....: ${PYTHON_LIB_LOC} 128 | Documentation ...............: ${enable_gtk_doc} 129 | " 130 | -------------------------------------------------------------------------------- /docs/reference/caja-python-menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.Menu 8 | Caja.Menu Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Synopsis 17 | 18 | 19 | Caja.Menu 20 | gobject.GObject 21 | 22 | 23 | Caja.Menu 24 | 25 | 26 | 27 | append_item 28 | item 29 | 30 | 31 | 32 | get_items 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | Ancestry 44 | 45 | +-- gobject.GObject 46 | +-- Caja.Menu 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | Description 57 | 58 | 59 | A Caja.Menu object allows an extension to create sub-menus. 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | Constructor 72 | 73 | 74 | Caja.Menu 75 | 76 | 77 | 78 | Creates a new Caja.Menu object. 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | Public Methods 90 | 91 | 92 | Caja.Menu.append_item 93 | 94 | append_item 95 | item 96 | 97 | 98 | 99 | item : 100 | a Caja.MenuItem 101 | 102 | 103 | 104 | 105 | Append a Caja.MenuItem to a Caja.Menu. 106 | 107 | 108 | 109 | 110 | Caja.Menu.get_items 111 | 112 | get_items 113 | 114 | 115 | Returns a list of Caja.MenuItem objects attached to the Caja.Menu. 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /docs/reference/caja-python-property-page-provider.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.PropertyPageProvider 8 | Caja.PropertyPageProvider Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Synopsis 17 | 18 | 19 | Caja.PropertyPageProvider 20 | 21 | 22 | get_pages 23 | files 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | Description 34 | 35 | 36 | If subclassed, Caja will request a list of custom property pages that should 37 | appear when a user opens the Properties dialog for a file or folder. 38 | 39 | 40 | 41 | Caja.PropertyPageProvider Example 42 | 43 | import hashlib 44 | import urllib 45 | 46 | from gi.repository import Caja, GObject, Gtk 47 | 48 | class ColumnExtension(GObject.GObject, Caja.PropertyPageProvider): 49 | def __init__(self): 50 | pass 51 | 52 | def get_property_pages(self, files): 53 | if len(files) != 1: 54 | return 55 | 56 | file = files[0] 57 | if file.get_uri_scheme() != 'file': 58 | return 59 | 60 | if file.is_directory(): 61 | return 62 | 63 | filename = urllib.unquote(file.get_uri()[7:]) 64 | 65 | self.property_label = Gtk.Label('MD5Sum') 66 | self.property_label.show() 67 | 68 | self.hbox = Gtk.HBox(homogeneous=False, spacing=0) 69 | self.hbox.show() 70 | 71 | label = Gtk.Label('MD5Sum:') 72 | label.show() 73 | self.hbox.pack_start(label, False, False, 0) 74 | 75 | self.value_label = Gtk.Label() 76 | self.hbox.pack_start(self.value_label, False, False, 0) 77 | 78 | md5sum = hashlib.md5() 79 | with open(filename,'rb') as f: 80 | for chunk in iter(lambda: f.read(8192), ''): 81 | md5sum.update(chunk) 82 | f.close() 83 | 84 | self.value_label.set_text(md5sum.hexdigest()) 85 | self.value_label.show() 86 | 87 | return Caja.PropertyPage(name="CajaPython::md5_sum", 88 | label=self.property_label, 89 | page=self.hbox), 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | Passive Methods 101 | 102 | 103 | Caja.PropertyPageProvider.get_pages 104 | 105 | 106 | get_pages 107 | 108 | 109 | 110 | 111 | 112 | files : 113 | a list of Caja.FileInfo objects. 114 | 115 | 116 | Returns : 117 | a list of Caja.PropertyPage objects 118 | 119 | 120 | 121 | 122 | This function is called by Caja when it wants property page items from the extension. 123 | It is called in the main thread before a property page is shown, so it should return quickly. 124 | 125 | 126 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /docs/reference/caja-python-property-page.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.PropertyPage 8 | Caja.PropertyPage Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Synopsis 17 | 18 | 19 | Caja.PropertyPage 20 | gobject.GObject 21 | 22 | 23 | Caja.PropertyPage 24 | name 25 | label 26 | page 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | Ancestry 37 | 38 | +-- gobject.GObject 39 | +-- Caja.PropertyPage 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | Description 50 | 51 | 52 | A Caja.PropertyPage object is returned by Caja.PropertyPageProvider extensions. 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | Properties 64 | 65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | "label" 75 | The label widget displayed in the notebook tab. 76 | Read-Write 77 | 78 | 79 | 80 | "name" 81 | The name of the page. Default value: None 82 | Read-Write-ConstructOnly 83 | 84 | 85 | 86 | "page" 87 | The property page widget 88 | Read-Write 89 | 90 | 91 | 92 | 93 | 94 |
95 |
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | Constructor 104 | 105 | 106 | Caja.PropertyPage 107 | name 108 | label 109 | page 110 | 111 | 112 | 113 | 114 | name : 115 | identifier of the property page 116 | 117 | 118 | label : 119 | the user-visible label for the property page 120 | 121 | 122 | page : 123 | the property page widget 124 | 125 | 126 | 127 | 128 | Creates a new Caja.PropertyPage object. 129 | 130 | 131 | 132 | 133 | 134 |
135 | 136 | -------------------------------------------------------------------------------- /docs/reference/caja-python-column.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Caja.Column 8 | Caja.Column Reference 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Synopsis 17 | 18 | 19 | Caja.Column 20 | gobject.GObject 21 | 22 | 23 | Caja.Column 24 | name 25 | attribute 26 | label 27 | description 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | Ancestry 38 | 39 | +-- gobject.GObject 40 | +-- Caja.Column 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | Description 51 | 52 | 53 | A list of Caja.Column objects is returned by Caja.ColumnProvider extensions. 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | Properties 65 | 66 |
67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | "attribute" 76 | The attribute name to display. Default value: None 77 | Read-Write 78 | 79 | 80 | 81 | "attribute-q" 82 | The attribute name to display, in quark form. Default value: 0 83 | Read 84 | 85 | 86 | 87 | "description" 88 | The user-visible description of the column. Default value: None 89 | Read-Write 90 | 91 | 92 | 93 | "label" 94 | The label to display in the column. Default value: None 95 | Read-Write 96 | 97 | 98 | 99 | "name" 100 | The name of the column. Default value: None 101 | Read-Write-ConstructOnly 102 | 103 | 104 | 105 | "xalign" 106 | The x-alignment of the column. Allowed values: [0,1]. Default value: 0 107 | Read-Write 108 | 109 | 110 | 111 | 112 | 113 |
114 |
115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | Constructor 123 | 124 | 125 | Caja.Column 126 | name 127 | attribute 128 | label 129 | description 130 | 131 | 132 | 133 | 134 | name : 135 | identifier of the column 136 | 137 | 138 | attribute : 139 | the file attribute to be displayed in the column 140 | 141 | 142 | label : 143 | the user-visible label for the column 144 | 145 | 146 | description : 147 | a user-visible description of the column 148 | 149 | 150 | 151 | 152 | Creates a new Caja.Column object. 153 | 154 | 155 | 156 | 157 | 158 |
159 | 160 | -------------------------------------------------------------------------------- /docs/xsl/devhelp.xsl: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | book 16 | 17 | 18 | .devhelp 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 40 | 41 | 42 | 46 | 47 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 57 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | , 150 | 151 | 152 | 153 | 154 | 155 | -------------------------------------------------------------------------------- /docs/xsl/pdf.xsl: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | ]> 6 | 7 | 10 | 11 | 0.5in 12 | 13 | 14 | 15 | 1 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 56 | class 57 | 58 | 59 | ( 60 | 61 | ) 62 | 63 |  : 64 | 65 | 70 | 71 | 72 | &RE; 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | , 82 | 83 | 84 | 85 | 86 | 87 | 88 |   89 | 90 | 91 | 92 | 93 | , 94 | 95 | 96 | 97 | 98 | 99 | 100 | , 101 | 102 | 103 | 104 | 105 | 106 | 107 | , 108 | 109 | 110 | 111 | 112 | 113 | 117 |      118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 |   126 | 127 | 128 | 129 | 130 |   131 | 132 | 133 | 134 | = 135 | 136 | 137 | 138 | 139 | void  140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | , 149 | 150 | 151 | 152 | 153 | 155 | 156 | 160 | def 161 | 162 | ( 163 | 164 | ) 165 | 166 | 167 | 168 | 169 | 171 | 175 | 176 | 177 | ( 178 | 179 | ) 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 205 | 206 | 258 | 259 | 260 | -------------------------------------------------------------------------------- /examples/shred.py: -------------------------------------------------------------------------------- 1 | # Examples: https://github.com/mate-desktop/python-caja/tree/master/examples 2 | # 3 | # This script adds a new menu's to Caja file browser: 4 | # - Shred: when right-mouse clicking on one or more selected files 5 | # or directories. 6 | # - Wipe freespace: when right-mouse clicking on a white area without 7 | # selected files or directories. 8 | # The executed command is shown in the statusbar. 9 | # 10 | # WARNING: THIS IS AN EXAMPLE SCRIPT AND THE USER IS RESPONSIBLE 11 | # FOR SHREDDING THE FULL SSD OR HARD DRIVE WHEN ABSOLUTE SECURITY IS 12 | # REQUIRED! 13 | # 14 | # The Linux tool `shred` is used to shred files by filling files with 15 | # zero's or random data and removes filenames. Overwriting files 16 | # multiple times has no effect on SSD's and decreases lifetime. It 17 | # should be used for mechanical hard drives only. 18 | # 19 | # Copy this script to a path defined in $XDG_DATA_DIRS, for example: 20 | # ~/.local/share/caja-python/extensions 21 | 22 | import os 23 | import subprocess 24 | 25 | import gi 26 | from gi.repository import Caja, GObject, Gio, Gtk 27 | 28 | 29 | class ShredMenuProvider(GObject.GObject, Caja.MenuProvider): 30 | SHRED_ICON = '/usr/share/pixmaps/caja/erase.png' 31 | WIPE_CMD = 'dd if=/dev/{} of={} bs=1M' 32 | WIPE_FILENAME = 'tmp' 33 | 34 | def __init__(self): 35 | pass 36 | 37 | def shred_menu_activate_cb(self, menu, data): 38 | dialog = Gtk.MessageDialog( 39 | parent=None, 40 | flags=0, 41 | message_type=Gtk.MessageType.QUESTION, 42 | buttons=Gtk.ButtonsType.YES_NO, 43 | title="Caja shred", 44 | text="Are you sure you want to shred selected files?", 45 | ) 46 | dialog.format_secondary_text("WARNING: This cannot be undone!") 47 | response = dialog.run() 48 | dialog.destroy() 49 | if response == Gtk.ResponseType.YES: 50 | files_skipped = False 51 | shred_files = [] 52 | for shred_file in data['files']: 53 | file_path = shred_file.get_location().get_path() 54 | if os.access(file_path, os.W_OK): 55 | shred_files.append(file_path) 56 | else: 57 | print('Skip shred file: {}'.format(file_path)) 58 | files_skipped = True 59 | 60 | # Start Shred command 61 | if shred_files: 62 | shred_args = data['cmd'].split() 63 | cmd = shred_args + shred_files 64 | print('Running: {}'.format(' '.join(shred_args + ['"{}"'.format(p) for p in shred_files]))) 65 | subprocess.check_call(cmd) 66 | 67 | dialog = Gtk.MessageDialog( 68 | parent=None, 69 | flags=0, 70 | message_type=Gtk.MessageType.INFO, 71 | buttons=Gtk.ButtonsType.OK, 72 | title="Caja shred", 73 | text='Shred completed.', 74 | ) 75 | if files_skipped: 76 | dialog.format_secondary_text('WARNING: Some files could not be shredded.\nPlease check manually.') 77 | 78 | response = dialog.run() 79 | dialog.destroy() 80 | 81 | def wipe_freespace_menu_activate_cb(self, menu, data): 82 | wipe_path = data['file'].get_location().get_path() 83 | wipe_file = os.path.join(wipe_path, self.WIPE_FILENAME) 84 | wipe_cmd = data['cmd'].replace('of=' + self.WIPE_FILENAME, 'of=' + wipe_file).split() 85 | 86 | # Check if wipe path is writable 87 | if not os.access(wipe_path, os.W_OK): 88 | dialog = Gtk.MessageDialog( 89 | parent=None, 90 | flags=0, 91 | message_type=Gtk.MessageType.ERROR, 92 | buttons=Gtk.ButtonsType.OK, 93 | title="Caja wipe freespace", 94 | text="Error: Directory is not writable", 95 | ) 96 | response = dialog.run() 97 | dialog.destroy() 98 | return 99 | 100 | # Start wipe freespace command 101 | print('Running: {}'.format(' '.join(wipe_cmd))) 102 | try: 103 | subprocess.check_call(wipe_cmd) 104 | except subprocess.CalledProcessError: 105 | # Ignore disk full error 106 | pass 107 | 108 | print('Running: sync') 109 | subprocess.check_call(['sync']) 110 | 111 | print('Running: rm "{}"'.format(wipe_file)) 112 | subprocess.check_call(['rm', wipe_file]) 113 | 114 | dialog = Gtk.MessageDialog( 115 | parent=None, 116 | flags=0, 117 | message_type=Gtk.MessageType.INFO, 118 | buttons=Gtk.ButtonsType.OK, 119 | title="Caja wipe freespace", 120 | text="Wipe freespace completed!", 121 | ) 122 | response = dialog.run() 123 | dialog.destroy() 124 | 125 | def get_file_items(self, window, files): 126 | top_menuitem = Caja.MenuItem(name='ShredMenuProvider::Shred', 127 | label='Shred', 128 | tip='Delete files with the Linux "shred" tool', 129 | icon=self.SHRED_ICON) 130 | 131 | shred_submenu = Caja.Menu() 132 | top_menuitem.set_submenu(shred_submenu) 133 | 134 | # Shred fill zero's 135 | shred_cmd = 'shred -uz -n 0' 136 | shred_1x_zero_menuitem = Caja.MenuItem(name='ShredMenuProvider::Shred1xZero', 137 | label='Fill zero\'s', 138 | tip=shred_cmd + ' FILE... (NOT SECURE!)', 139 | icon=self.SHRED_ICON) 140 | shred_1x_zero_menuitem.connect('activate', self.shred_menu_activate_cb, {'cmd': shred_cmd, 'files': files}) 141 | shred_submenu.append_item(shred_1x_zero_menuitem) 142 | 143 | # Shred fill random 144 | shred_cmd = 'shred -u -n 1' 145 | shred_1x_random_menuitem = Caja.MenuItem(name='ShredMenuProvider::Shred1xRandom', 146 | label='Fill random', 147 | tip=shred_cmd + ' FILE... (NOT SECURE!)', 148 | icon=self.SHRED_ICON) 149 | shred_1x_random_menuitem.connect('activate', self.shred_menu_activate_cb, {'cmd': shred_cmd, 'files': files}) 150 | shred_submenu.append_item(shred_1x_random_menuitem) 151 | 152 | # Shred 3x overwrite, last zero's 153 | shred_cmd = 'shred -uz' 154 | shred_3x_zero_menuitem = Caja.MenuItem(name='ShredMenuProvider::Shred3xLastZero', 155 | label='3x overwrite, last zero\'s', 156 | tip=shred_cmd + ' FILE... (HDD\'s only!)', 157 | icon=self.SHRED_ICON) 158 | shred_3x_zero_menuitem.connect('activate', self.shred_menu_activate_cb, {'cmd': shred_cmd, 'files': files}) 159 | shred_submenu.append_item(shred_3x_zero_menuitem) 160 | 161 | # Shred 3x overwrite (default) 162 | shred_cmd = 'shred -u' 163 | shred_3x_random_menuitem = Caja.MenuItem(name='ShredMenuProvider::Shred3x', 164 | label='3x overwrite (Default)', 165 | tip=shred_cmd + ' FILE... (HDD\'s only!)', 166 | icon=self.SHRED_ICON) 167 | shred_3x_random_menuitem.connect('activate', self.shred_menu_activate_cb, {'cmd': shred_cmd, 'files': files}) 168 | shred_submenu.append_item(shred_3x_random_menuitem) 169 | 170 | return top_menuitem, 171 | 172 | def get_background_items(self, window, file): 173 | wipe_zero_cmd = self.WIPE_CMD.format('zero', self.WIPE_FILENAME) 174 | wipe_freespace_zero_menuitem = Caja.MenuItem(name='ShredMenuProvider::WipeFreespaceZero', 175 | label='Wipe freespace zero\'s', 176 | tip='Wipe freespace with command: "{}"'.format(wipe_zero_cmd), 177 | icon=self.SHRED_ICON) 178 | wipe_freespace_zero_menuitem.connect('activate', 179 | self.wipe_freespace_menu_activate_cb, 180 | {'cmd': wipe_zero_cmd, 'file': file}) 181 | 182 | wipe_random_cmd = self.WIPE_CMD.format('random', self.WIPE_FILENAME) 183 | wipe_freespace_random_menuitem = Caja.MenuItem(name='ShredMenuProvider::WipeFreespaceRandom', 184 | label='Wipe freespace random', 185 | tip='Wipe freespace with command: "{}"'.format(wipe_random_cmd), 186 | icon=self.SHRED_ICON) 187 | wipe_freespace_random_menuitem.connect('activate', 188 | self.wipe_freespace_menu_activate_cb, 189 | {'cmd': wipe_random_cmd, 'file': file}) 190 | 191 | return wipe_freespace_zero_menuitem, wipe_freespace_random_menuitem, 192 | --------------------------------------------------------------------------------