Skip to content

Commit

Permalink
Commit #4
Browse files Browse the repository at this point in the history
  • Loading branch information
madmurphy committed May 3, 2021
1 parent 08c61f6 commit 3806692
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 95 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ Change Log
==========


## 0.2.1 (2021-05-03)

Changes:

* Code review in the build system and the extension source code


## 0.2.0 (2021-04-28)

Changes:
Expand Down
20 changes: 20 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ EXTRA_DIST = \
README.md \
bootstrap \
package.json \
.editorconfig \
$(INTLTOOL_FILES)

DISTCLEANFILES = \
Expand All @@ -34,6 +35,11 @@ DISTCLEANFILES = \
po/.intltool-merge-cache


# Shell expansion is supported here
_distclean_dirs_ = \
'po/backups'


if NLS_ENABLED

SUBDIRS += \
Expand All @@ -52,5 +58,19 @@ uninstall-local:
-rm -r '$(DESTDIR)$(docdir)'


distclean-local:
-rm -rf $(_distclean_dirs_);


# Update translations
.PHONY: i18n-update
i18n-update:
(cd 'po' && intltool-update -p --gettext-package='$(PACKAGE_TARNAME)' \
&& mkdir -p 'backups' && grep -o '^\s*\w\S\+' 'LINGUAS' | while read \
coin; do mv "$${coin}.po" "$${coin}.po.bak" && msgmerge \
"$${coin}.po.bak" '$(PACKAGE_TARNAME).pot' > "$${coin}.po" && mv \
"$${coin}.po.bak" 'backups'; done; rm '$(PACKAGE_TARNAME).pot')


# EOF

4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dnl ***************************************************************************
AC_PREREQ([2.69])

AC_INIT([Nautilus Hide],
[0.2.0],
[0.2.1],
[madmurphy333@gmail.com],
[nautilus-hide],
[https://gitlab.gnome.org/madmurphy/nautilus-hide])
Expand Down Expand Up @@ -64,7 +64,7 @@ dnl ***************************************************************************


AC_SUBST([NAUTILUS_EXTENSION_DIR],
[$($PKG_CONFIG --variable=extensiondir libnautilus-extension)])
["$($PKG_CONFIG --variable=extensiondir libnautilus-extension)"])

LT_INIT([disable-static])

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nautilus-hide",
"version": "0.2.0",
"version": "0.2.1",
"description": "A simple Nautilus extension that adds \"Hide\" and \"Unhide\" to Nautilus right-click menu",
"homepage": "https://gitlab.gnome.org/madmurphy/nautilus-hide",
"author": "madmurphy333@gmail.com",
Expand Down
52 changes: 28 additions & 24 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: 0.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-04-28 10:03+0200\n"
"PO-Revision-Date: 2021-04-28 10:03+0200\n"
"Project-Id-Version: 0.2.1\n"
"Report-Msgid-Bugs-To: <madmurphy333@gmail.com>\n"
"POT-Creation-Date: 2021-05-02 23:17+0200\n"
"PO-Revision-Date: 2021-05-02 23:17+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
"Language: it\n"
Expand All @@ -17,89 +17,93 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../src/nautilus-hide.c:99
#: ../src/nautilus-hide.c:105
msgid "Could not close the database of hidden files"
msgstr "Impossibile chiudere il database dei file nascosti"

#: ../src/nautilus-hide.c:119 ../src/nautilus-hide.c:136
#: ../src/nautilus-hide.c:150 ../src/nautilus-hide.c:243
#: ../src/nautilus-hide.c:296 ../src/nautilus-hide.c:348
#: ../src/nautilus-hide.c:125 ../src/nautilus-hide.c:142
#: ../src/nautilus-hide.c:156 ../src/nautilus-hide.c:249
#: ../src/nautilus-hide.c:302
msgid "Error allocating memory"
msgstr "Errore nell'allocare memoria"

#: ../src/nautilus-hide.c:201
#: ../src/nautilus-hide.c:207
msgid "Error attempting to access the database of hidden files"
msgstr "Impossibile accedere al database dei file nascosti"

#: ../src/nautilus-hide.c:215
#: ../src/nautilus-hide.c:221
msgid "Could not calculate the size of the database of hidden files"
msgstr "Impossibile calcolare le dimensioni del database dei file nascosti"

#: ../src/nautilus-hide.c:228
#: ../src/nautilus-hide.c:234
msgid "Database of hidden files is too big"
msgstr "Il database dei file nascosti è troppo grande"

#: ../src/nautilus-hide.c:257
#: ../src/nautilus-hide.c:263
msgid "I/O error while accessing database of hidden files"
msgstr "Errore I/O nell'accedere al database dei file nascosti"

#: ../src/nautilus-hide.c:430
msgid "No files were selected to be hidden"
#: ../src/nautilus-hide.c:356
msgid "Could not get file path"
msgstr "Impossibile ottenere la posizione del file"

#: ../src/nautilus-hide.c:438
msgid "No files have been selected to be hidden"
msgstr "Non ci sono file selezionati da nascondere"

#: ../src/nautilus-hide.c:444
#: ../src/nautilus-hide.c:453
msgid ""
"Could not hide the selected files, error attempting to group them according "
"to their parent directories"
msgstr ""
"Impossibile nascondere i file selezionati, errore nel tentativo di "
"raggrupparli in base alla loro directory di appartenenza"

#: ../src/nautilus-hide.c:472
#: ../src/nautilus-hide.c:481
msgid ""
"Could not hide the selected files, error attempting to edit the database"
msgstr ""
"Impossibile nascondere i file selezionati, errore nel tentativo di "
"modificare il database"

#: ../src/nautilus-hide.c:589
msgid "No files were selected to be unhidden"
#: ../src/nautilus-hide.c:607
msgid "No files have been selected to be unhidden"
msgstr "Non ci sono file selezionati da rendere visibili"

#: ../src/nautilus-hide.c:603
#: ../src/nautilus-hide.c:622
msgid ""
"Could not unhide the selected files, error attempting to group them "
"according to their parent directories"
msgstr ""
"Impossibile rendere visibili i file selezionati, errore nel tentativo di "
"raggrupparli in base alla loro directory di appartenenza"

#: ../src/nautilus-hide.c:643
#: ../src/nautilus-hide.c:662
msgid ""
"Could not unhide the selected files, error attempting to edit the database"
msgstr ""
"Impossibile rendere visibili i file selezionati, errore nel tentativo di "
"modificare il database"

#: ../src/nautilus-hide.c:893
#: ../src/nautilus-hide.c:920
msgid "_Hide file"
msgid_plural "_Hide files"
msgstr[0] "_Nascondi"
msgstr[1] "_Nascondi i file"

#: ../src/nautilus-hide.c:894
#: ../src/nautilus-hide.c:926
msgid "Hide the selected file"
msgid_plural "Hide the selected files"
msgstr[0] "Nascondi il file selezionato"
msgstr[1] "Nascondi i file selezionati"

#: ../src/nautilus-hide.c:921
#: ../src/nautilus-hide.c:959
msgid "_Unhide file"
msgid_plural "_Unhide files"
msgstr[0] "Ripristina _visibilità"
msgstr[1] "Ripristina _visibilità dei file"

#: ../src/nautilus-hide.c:922
#: ../src/nautilus-hide.c:965
msgid "Unhide the selected file"
msgid_plural "Unhide the selected files"
msgstr[0] "Rendi visibile il file selezionato"
Expand Down
Loading

0 comments on commit 3806692

Please sign in to comment.