Commit 65d378c0 authored by madmurphy's avatar madmurphy
Browse files

Commit #10

parent f3a2b484
......@@ -2,6 +2,15 @@ Change Log
==========
0.1.5
-----
Changes:
* Added Turkish translation
* General package maintenance
0.1.4
-----
......@@ -37,5 +46,5 @@ Changes:
0.1.0
-----
**nautilus-bluetooth** has been published.
**Nautilus Bluetooth** has been published.
INSTALL
=======
On most Unix-like systems, you should be able to install **nautilus-bluetooth**
using the following common steps:
On most Unix-like systems, you should be able to install this package using the
following common steps:
./configure
make
make install
make install-strip
If the `strip` utility is not available on your machine, use `make install`
instead (it will produce larger binaries).
If you need to customize the target directories, or otherwise adjust the build
setting, use
......@@ -16,6 +19,7 @@ setting, use
to list the configure options.
If the `configure` script is missing from your package you need to create it by
running the `autogen.sh` script. Use the `--noconfigure` parameter in order to
prevent `autogen.sh` from running automatically `configure` immediately after
having generated it. To list different options use `autogen.sh --help`.
running the `bootstrap` script. Use the `--noconfigure` parameter in order to
prevent `bootstrap` from running automatically `configure` immediately after
having generated it. To list different options use `bootstrap --help`.
......@@ -12,7 +12,8 @@ dist_doc_DATA = \
README
INTLTOOL_FILES = intltool-extract.in \
INTLTOOL_FILES = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
......@@ -44,13 +45,12 @@ else
EXTRA_DIST += \
po
endif
# Remove doc directory on uninstall
uninstall-local:
-rm -r $(docdir)
-rm -r '$(DESTDIR)$(docdir)'
ACLOCAL_AMFLAGS = -I m4
......
NEWS
News
====
0.1.5
-----
* Added Turkish translation
0.1.1
-----
......@@ -11,5 +17,5 @@ NEWS
0.1.0
-----
**nautilus-bluetooth** has been published.
**Nautilus Bluetooth** has been published.
nautilus-bluetooth
Nautilus Bluetooth
==================
A simple Nautilus extension written in C that adds a Send via Bluetooth entry
......@@ -17,16 +17,19 @@ package comes with only two strings to translate:
1. Send via Bluetooth
2. Send the selected files to a Bluetooth device
First thing to do is to make sure that `gettext` is installed in your system.
Then clone this repository and launch the following two commands:
First thing to do is to make sure that `gettext` and `intltool` are installed
on your system. Then clone this repository and launch the following four
commands:
```
cd nautilus-bluetooth/po
intltool-update -p
msginit -l nl
rm nautilus-bluetooth.pot
```
Enter your email address and press enter. Now edit the `po/LINGUAS` file and add
a new line containing the abbreviated name of the new language (`nl`).
Now edit the `po/LINGUAS` file and add a new line containing the abbreviated
name of the new language (`nl`).
Finally, open the file `po/nl.po` and translate the two strings above. All you
have to do now is to commit your changes.
......@@ -34,5 +37,5 @@ have to do now is to commit your changes.
For any issue, [drop me a message][1].
[1]: https://github.com/madmurphy/nautilus-bluetooth/issues
[1]: https://gitlab.gnome.org/madmurphy/nautilus-bluetooth/issues
......@@ -9,7 +9,7 @@ CONFIGURE_ARGS=()
for __AG_ARG__; do
case "${__AG_ARG__}" in
-h|--help)
echo "Usage: ${0} [OPTION]"
echo "Usage: ${0##*/} [OPTION]"
echo
echo 'Options:'
echo ' -h, --help Show this help message'
......@@ -155,11 +155,11 @@ echo
if test "${NOCONFIGURE}" -eq 0; then
echo 'I am going to prepare the build system and then run the `configure` script. If'
echo 'you wish differently, please specify the `--noconfigure` argument on the'
echo "\`${0}\` command line."
echo "\`${0##*/}\` command line."
echo
if test -z "$*"; then
echo '**Warning**: I am going to run `configure` with no arguments. If you wish to'
echo "pass any, please specify them on the \`${0}\` command line."
echo "pass any, please specify them on the \`${0##*/}\` command line."
echo
fi
else
......
......@@ -8,7 +8,7 @@ dnl ***************************************************************************
AC_PREREQ([2.69])
AC_INIT([nautilus-bluetooth], [0.1])
AC_INIT([nautilus-bluetooth], [0.1.5], [madmurphy333@gmail.com], [nautilus-bluetooth], [https://gitlab.gnome.org/madmurphy/nautilus-bluetooth])
AC_CONFIG_MACRO_DIR([m4])
......
{
"name": "nautilus-bluetooth",
"version": "0.1.4",
"version": "0.1.5",
"description": "A simple Nautilus extension that adds a \"Send via Bluetooth\" entry to Nautilus' right-click menu",
"homepage": "https://gitlab.gnome.org/madmurphy/nautilus-bluetooth",
"author": "madmurphy333@gmail.com",
"license": "GPL-3.0",
"main": "nautilus-bluetooth",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://gitlab.gnome.org/madmurphy/nautilus-bluetooth.git"
......
......@@ -6,4 +6,4 @@ es
fr
it
la
tr
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Cihan Alkan, 2020.
#
msgid ""
msgstr ""
......@@ -13,8 +13,9 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: \n"
"Language-Team: \n"
"Last-Translator: Cihan Alkan\n"
"Language-Team: Turkish <gnome-turk@gnome.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.3.1\n"
#: ../src/nautilus-bluetooth.c:141
......@@ -23,4 +24,4 @@ msgstr "Bluetooth ile gönder"
#: ../src/nautilus-bluetooth.c:142
msgid "Send the selected files to a Bluetooth device"
msgstr "Seçilen dosyaları bir Bluetooth cihazına gönder"
\ No newline at end of file
msgstr "Seçilen dosyaları bir Bluetooth cihazına gönder"
......@@ -18,7 +18,7 @@ AM_CFLAGS = \
nautilus_extensiondir = $(NAUTILUS_EXTENSION_DIR)
nautilus_extension_LTLIBRARIES = \
libnautilus_bluetooth.la
libnautilus-bluetooth.la
libnautilus_bluetooth_la_SOURCES = \
nautilus-bluetooth.c
......
......@@ -4,7 +4,7 @@
|*|
|*| nautilus-bluetooth.c
|*|
|*| https://github.com/madmurphy/nautilus-bluetooth
|*| https://gitlab.gnome.org/madmurphy/nautilus-bluetooth
|*| Copyright (C) 2019 Stefano Gioffr&eacute; <madmurphy333@gmail.com>
|*|
|*| nautilus-bluetooth is free software: you can redistribute it and/or modify it
......@@ -87,7 +87,7 @@ static void nautilus_bluetooth_sendto (
}
if (!g_spawn_async(NULL, argv, NULL, 0, NULL, NULL, NULL, &spawnerr)) {
if (!g_spawn_async(NULL, argv, NULL, G_SPAWN_DEFAULT, NULL, NULL, NULL, &spawnerr)) {
fprintf(stderr, "%s\n", spawnerr->message);
g_error_free(spawnerr);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment