From 3e2e4f1be8b3ec4de41f84bce955ae456b8d51ad Mon Sep 17 00:00:00 2001 From: Omega Weapon Date: Thu, 14 Nov 2013 14:58:44 +0000 Subject: [PATCH 1/2] Implement translated manpage build system with Transifex integration --- .tx/config | 4 + Makefile.am | 2 +- Makefile.in | 2 +- man/Makefile.am | 41 ++- man/Makefile.in | 154 +++----- man/generate_manpages.bash | 19 + man/po4a/en_GB.po | 559 +++++++++++++++++++++++++++++ man/po4a/po4a.cfg | 3 + man/po4a/udevil-man.pot | 561 ++++++++++++++++++++++++++++++ man/translated/en_GB/udevil.1 | 237 +++++++++++++ man/translated/en_GB/udevil.1.txt | 202 +++++++++++ man/udevil.1 | 9 - man/udevil.1.txt | 202 +++++++++++ 13 files changed, 1885 insertions(+), 110 deletions(-) create mode 100755 man/generate_manpages.bash create mode 100644 man/po4a/en_GB.po create mode 100644 man/po4a/po4a.cfg create mode 100644 man/po4a/udevil-man.pot create mode 100644 man/translated/en_GB/udevil.1 create mode 100644 man/translated/en_GB/udevil.1.txt delete mode 100644 man/udevil.1 create mode 100644 man/udevil.1.txt diff --git a/.tx/config b/.tx/config index b3a0fc3..6551dd2 100644 --- a/.tx/config +++ b/.tx/config @@ -14,4 +14,8 @@ trans.pt_BR = po/pt_BR.po trans.ru = po/ru.po trans.sv = po/sv.po +[udevil.udevil-manpot] +file_filter = man/po4a/.po +source_file = man/po4a/udevil-man.pot +source_lang = en diff --git a/Makefile.am b/Makefile.am index 6cbaf9a..b5ba1d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = etc po src +SUBDIRS = etc man po src EXTRA_DIST = \ intltool-extract.in \ diff --git a/Makefile.in b/Makefile.in index 4c2f592..29c412e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -344,7 +344,7 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = etc po src +SUBDIRS = etc man po src EXTRA_DIST = \ intltool-extract.in \ intltool-update.in \ diff --git a/man/Makefile.am b/man/Makefile.am index 70e5235..b57c596 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,4 +1,39 @@ -man_MANS = \ - udevil.1 +# Based off XFCE4 Terminal build system +LINGUAS = $(shell cd $(srcdir)/po4a && echo `/bin/ls *.po | sed 's,[.]po,,g'`) -EXTRA_DIST = $(man_MANS) +# Install the translated man files to the destdir +install-data-local: + for lang in $(LINGUAS); do \ + file=$(srcdir)/translated/$$lang/$(PACKAGE).1; \ + if test -f $$file ; then \ + if test x"$$lang" = x"C"; then \ + dest=$(DESTDIR)$(mandir)/man1; \ + else \ + dest=$(DESTDIR)$(mandir)/$$lang/man1; \ + fi; \ + $(mkinstalldirs) $$dest; \ + $(INSTALL_DATA) $$file $$dest/$(PACKAGE).1; \ + fi \ + done; + +# Remove installed files from the destdir +uninstall-local: + for lang in $(LINGUAS); do \ + if test x"$$lang" = x"C"; then \ + dest=$(DESTDIR)$(mandir)/man1/$(PACKAGE).1; \ + else \ + dest=$(DESTDIR)$(mandir)/$$lang/man1/$(PACKAGE).1; \ + fi; \ + if test -f $$dest; then \ + rm -f $$dest; \ + fi \ + done + +# Include the man files in the dist +dist-hook: + for lang in $(LINGUAS); do \ + if test -d $(srcdir)/translated/$$lang; then \ + mkdir -p $(distdir)/man/translated/$$lang; \ + cp $(srcdir)/translated/$$lang/* $(distdir)/man/translated/$$lang/; \ + fi; \ + done diff --git a/man/Makefile.in b/man/Makefile.in index 9cc01e7..9fdf35b 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -107,37 +107,6 @@ am__can_run_installinfo = \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__uninstall_files_from_dir = { \ - test -z "$$files" \ - || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ - || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ - $(am__cd) "$$dir" && rm -f $$files; }; \ - } -man1dir = $(mandir)/man1 -am__installdirs = "$(DESTDIR)$(man1dir)" -NROFF = nroff -MANS = $(man_MANS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ @@ -292,10 +261,11 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -man_MANS = \ - udevil.1 -EXTRA_DIST = $(man_MANS) +# Based off XFCE4 Terminal build system +# WIP: What is the current directory here? srcdir was originally used but seems to be useless... I need a proper way to debug this +# Debug code +LINGUAS = $(shell cd $(srcdir)/po4a && echo `/bin/ls *.po | sed 's,[.]po,,g'`) all: all-am .SUFFIXES: @@ -335,49 +305,6 @@ mostlyclean-libtool: clean-libtool: -rm -rf .libs _libs -install-man1: $(man_MANS) - @$(NORMAL_INSTALL) - @list1=''; \ - list2='$(man_MANS)'; \ - test -n "$(man1dir)" \ - && test -n "`echo $$list1$$list2`" \ - || exit 0; \ - echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ - { for i in $$list1; do echo "$$i"; done; \ - if test -n "$$list2"; then \ - for i in $$list2; do echo "$$i"; done \ - | sed -n '/\.1[a-z]*$$/p'; \ - fi; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ - done; } - -uninstall-man1: - @$(NORMAL_UNINSTALL) - @list=''; test -n "$(man1dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.1[a-z]*$$/p'; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: @@ -415,13 +342,13 @@ distdir: $(DISTFILES) || exit 1; \ fi; \ done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook check-am: all-am check: check-am -all-am: Makefile $(MANS) +all-am: Makefile installdirs: - for dir in "$(DESTDIR)$(man1dir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done install: install-am install-exec: install-exec-am install-data: install-data-am @@ -472,7 +399,7 @@ info: info-am info-am: -install-data-am: install-man +install-data-am: install-data-local install-dvi: install-dvi-am @@ -488,7 +415,7 @@ install-info: install-info-am install-info-am: -install-man: install-man1 +install-man: install-pdf: install-pdf-am @@ -516,25 +443,60 @@ ps: ps-am ps-am: -uninstall-am: uninstall-man - -uninstall-man: uninstall-man1 +uninstall-am: uninstall-local .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ - cscopelist-am ctags-am distclean distclean-generic \ + cscopelist-am ctags-am dist-hook distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-man1 install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am tags-am uninstall uninstall-am uninstall-man \ - uninstall-man1 + install install-am install-data install-data-am \ + install-data-local install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-local + + +# Install the translated man files to the destdir +install-data-local: + for lang in $(LINGUAS); do \ + file=$(srcdir)/translated/$$lang/$(PACKAGE).1; \ + if test -f $$file ; then \ + if test x"$$lang" = x"C"; then \ + dest=$(DESTDIR)$(mandir)/man1; \ + else \ + dest=$(DESTDIR)$(mandir)/$$lang/man1; \ + fi; \ + $(mkinstalldirs) $$dest; \ + $(INSTALL_DATA) $$file $$dest/$(PACKAGE).1; \ + fi \ + done; + +# Remove installed files from the destdir +uninstall-local: + for lang in $(LINGUAS); do \ + if test x"$$lang" = x"C"; then \ + dest=$(DESTDIR)$(mandir)/man1/$(PACKAGE).1; \ + else \ + dest=$(DESTDIR)$(mandir)/$$lang/man1/$(PACKAGE).1; \ + fi; \ + if test -f $$dest; then \ + rm -f $$dest; \ + fi \ + done +# Include the man files in the dist +dist-hook: + for lang in $(LINGUAS); do \ + if test -d $(srcdir)/translated/$$lang; then \ + mkdir -p $(distdir)/man/translated/$$lang; \ + cp $(srcdir)/translated/$$lang/* $(distdir)/man/translated/$$lang/; \ + fi; \ + done # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/man/generate_manpages.bash b/man/generate_manpages.bash new file mode 100755 index 0000000..cb51ea1 --- /dev/null +++ b/man/generate_manpages.bash @@ -0,0 +1,19 @@ +#!/bin/bash + + +# Update version reported in manpage +version="$(grep --color=never 'AM_INIT_AUTOMAKE(udevil,' ../configure.ac)"; +if [[ $version =~ ([[:digit:]\.\+]+) ]] +then + version="${BASH_REMATCH[0]}" +else + echo "Unable to parse udevil version out of configure.ac!" >&2 + exit 1 +fi +sed -i "s/:man version: .*/:man version: $version/" udevil.1.txt + +# Generate translated asciidoc files +po4a po4a/po4a.cfg + +# Generate manpages from the asciidoc files - they end up in translated/ directories +find translated -iname '*.txt' -exec a2x --doctype manpage --format manpage {} \; diff --git a/man/po4a/en_GB.po b/man/po4a/en_GB.po new file mode 100644 index 0000000..25eb3eb --- /dev/null +++ b/man/po4a/en_GB.po @@ -0,0 +1,559 @@ +# English translations for udevil package +# Copyright (C) 2013 IgnorantGuru . +# This file is distributed under the same license as the udevil package. +# +msgid "" +msgstr "" +"Project-Id-Version: udevil 0.4.1+\n" +"POT-Creation-Date: 2013-11-27 18:15+0000\n" +"PO-Revision-Date: 2013-11-21 19:32+0000\n" +"Last-Translator: Omega Weapon \n" +"Language-Team: English (British)\n" +"Language: en_GB\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: Title = +#: udevil.1.txt:2 +#, no-wrap +msgid "UDEVIL(1)" +msgstr "UDEVIL(1)" + +#. type: Title - +#: udevil.1.txt:9 +#, no-wrap +msgid "NAME" +msgstr "NAME" + +#. type: Plain text +#: udevil.1.txt:11 +msgid "udevil - mount, unmount, and monitor devices as a normal user" +msgstr "udevil - mount, unmount, and monitor devices as a normal user" + +#. type: Title - +#: udevil.1.txt:14 +#, no-wrap +msgid "SYNOPSIS" +msgstr "SYNOPSIS" + +#. type: Plain text +#: udevil.1.txt:16 +#, no-wrap +msgid "*udevil* ['OPTIONS'] 'COMMAND' ['COMMAND-OPTIONS'] ['COMMAND-ARGUMENTS']\n" +msgstr "*udevil* ['OPTIONS'] 'COMMAND' ['COMMAND-OPTIONS'] ['COMMAND-ARGUMENTS']\n" + +#. type: Title - +#: udevil.1.txt:19 +#, no-wrap +msgid "DESCRIPTION" +msgstr "DESCRIPTION" + +#. type: Plain text +#: udevil.1.txt:23 +msgid "" +"udevil(1) mounts and unmounts devices without password, shows device info, " +"monitors device changes. Emulates udisks1/2 command line usage and udisks1 " +"output." +msgstr "" +"udevil(1) mounts and unmounts devices without password, shows device info, " +"monitors device changes. Emulates udisks1/2 command line usage and udisks1 " +"output." + +#. type: Title - +#: udevil.1.txt:26 +#, no-wrap +msgid "OPTIONS" +msgstr "OPTIONS" + +#. type: Labeled list +#: udevil.1.txt:27 +#, no-wrap +msgid "*--verbose*" +msgstr "*--verbose*" + +#. type: Plain text +#: udevil.1.txt:29 +msgid "Print details." +msgstr "Print details." + +#. type: Labeled list +#: udevil.1.txt:29 +#, no-wrap +msgid "*--quiet*" +msgstr "*--quiet*" + +#. type: Plain text +#: udevil.1.txt:31 +msgid "Minimal output." +msgstr "Minimal output." + +#. type: Title - +#: udevil.1.txt:34 +#, no-wrap +msgid "MOUNT" +msgstr "MOUNT" + +#. type: Plain text +#: udevil.1.txt:36 +#, no-wrap +msgid "*udevil mount*|*--mount* ['MOUNT-OPTIONS'] [[*-b*|*--block-device*] 'DEVICE'] ['DIR']\n" +msgstr "*udevil mount*|*--mount* ['MOUNT-OPTIONS'] [[*-b*|*--block-device*] 'DEVICE'] ['DIR']\n" + +#. type: Plain text +#: udevil.1.txt:38 +msgid "Mounts 'DEVICE' to mount point 'DIR' with 'MOUNT-OPTIONS':" +msgstr "Mounts 'DEVICE' to mount point 'DIR' with 'MOUNT-OPTIONS':" + +#. type: Labeled list +#: udevil.1.txt:39 +#, no-wrap +msgid "*-t|--types|--filesystem-type|--mount-fstype* 'TYPE'" +msgstr "*-t|--types|--filesystem-type|--mount-fstype* 'TYPE'" + +#. type: Plain text +#: udevil.1.txt:41 udevil.1.txt:43 +msgid "See man mount." +msgstr "See man mount." + +#. type: Labeled list +#: udevil.1.txt:41 +#, no-wrap +msgid "*-o|--options|--mount-options* 'OPT',..." +msgstr "*-o|--options|--mount-options* 'OPT',..." + +#. type: Labeled list +#: udevil.1.txt:43 udevil.1.txt:123 +#, no-wrap +msgid "*--no-user-interaction*" +msgstr "*--no-user-interaction*" + +#. type: Plain text +#: udevil.1.txt:45 udevil.1.txt:125 +msgid "Ignored (for compatibility)." +msgstr "Ignored (for compatibility)." + +#. type: Title ~ +#: udevil.1.txt:47 udevil.1.txt:127 +#, no-wrap +msgid "EXAMPLES" +msgstr "EXAMPLES" + +#. type: Plain text +#: udevil.1.txt:50 +#, no-wrap +msgid "*udevil mount /dev/sdd1*\n" +msgstr "*udevil mount /dev/sdd1*\n" + +#. type: Plain text +#: udevil.1.txt:52 +#, no-wrap +msgid "*udevil mount -o ro,noatime /dev/sdd1*\n" +msgstr "*udevil mount -o ro,noatime /dev/sdd1*\n" + +#. type: Plain text +#: udevil.1.txt:54 +#, no-wrap +msgid "*udevil mount -o ro,noatime /dev/sdd1 /media/custom*\n" +msgstr "*udevil mount -o ro,noatime /dev/sdd1 /media/custom*\n" + +#. type: Labeled list +#: udevil.1.txt:55 +#, no-wrap +msgid "*udevil mount /tmp/example.iso*" +msgstr "*udevil mount /tmp/example.iso*" + +#. type: Plain text +#: udevil.1.txt:57 +msgid "ISO file" +msgstr "ISO file" + +#. type: Labeled list +#: udevil.1.txt:58 +#, no-wrap +msgid "*udevil mount ftp://sys.domain*" +msgstr "*udevil mount ftp://sys.domain*" + +#. type: Plain text +#: udevil.1.txt:61 +msgid "FTP site requires curlftpfs or ftpfs" +msgstr "FTP site requires curlftpfs or ftpfs" + +#. type: Labeled list +#: udevil.1.txt:61 +#, no-wrap +msgid "*udevil mount ftp://user:pass@sys.domain/share*" +msgstr "*udevil mount ftp://user:pass@sys.domain/share*" + +#. type: Plain text +#: udevil.1.txt:63 +msgid "FTP share with user and password" +msgstr "FTP share with user and password" + +#. type: Labeled list +#: udevil.1.txt:64 +#, no-wrap +msgid "*udevil mount ftp://user:pass@sys.domain:21/share*" +msgstr "*udevil mount ftp://user:pass@sys.domain:21/share*" + +#. type: Plain text +#: udevil.1.txt:66 +msgid "FTP share with port, user and password" +msgstr "FTP share with port, user and password" + +#. type: Labeled list +#: udevil.1.txt:67 +#, no-wrap +msgid "*udevil mount -t ftpfs sys.domain*" +msgstr "*udevil mount -t ftpfs sys.domain*" + +#. type: Plain text +#: udevil.1.txt:69 +msgid "FTP site with ftpfs" +msgstr "FTP site with ftpfs" + +#. type: Labeled list +#: udevil.1.txt:70 +#, no-wrap +msgid "*udevil mount -t curlftpfs sys.domain*" +msgstr "*udevil mount -t curlftpfs sys.domain*" + +#. type: Plain text +#: udevil.1.txt:72 +msgid "FTP site with curl" +msgstr "FTP site with curl" + +#. type: Labeled list +#: udevil.1.txt:73 +#, no-wrap +msgid "*udevil mount -t curlftpfs user:pass@sys.domain*" +msgstr "*udevil mount -t curlftpfs user:pass@sys.domain*" + +#. type: Plain text +#: udevil.1.txt:75 +msgid "FTP site with curl u/p" +msgstr "FTP site with curl u/p" + +#. type: Labeled list +#: udevil.1.txt:76 +#, no-wrap +msgid "*udevil mount nfs://sys.domain:/share*" +msgstr "*udevil mount nfs://sys.domain:/share*" + +#. type: Plain text +#: udevil.1.txt:78 udevil.1.txt:81 +msgid "NFS share" +msgstr "NFS share" + +#. type: Labeled list +#: udevil.1.txt:79 +#, no-wrap +msgid "*udevil mount sys.domain:/share*" +msgstr "*udevil mount sys.domain:/share*" + +#. type: Labeled list +#: udevil.1.txt:82 +#, no-wrap +msgid "*udevil mount smb://sys.domain/share*" +msgstr "*udevil mount smb://sys.domain/share*" + +#. type: Plain text +#: udevil.1.txt:84 udevil.1.txt:93 +msgid "Samba share w/ cifs" +msgstr "Samba share w/ cifs" + +#. type: Labeled list +#: udevil.1.txt:85 +#, no-wrap +msgid "*udevil mount smb://user:pass@10.0.0.1:50/share*" +msgstr "*udevil mount smb://user:pass@10.0.0.1:50/share*" + +#. type: Plain text +#: udevil.1.txt:87 +msgid "Samba share w/ u/p/port" +msgstr "Samba share w/ u/p/port" + +#. type: Labeled list +#: udevil.1.txt:88 +#, no-wrap +msgid "*udevil mount smb://WORKGROUP/user@sys.domain*" +msgstr "*udevil mount smb://WORKGROUP/user@sys.domain*" + +#. type: Plain text +#: udevil.1.txt:90 +msgid "Samba share w/ workgroup" +msgstr "Samba share w/ workgroup" + +#. type: Labeled list +#: udevil.1.txt:91 +#, no-wrap +msgid "*udevil mount //sys.domain/share*" +msgstr "*udevil mount //sys.domain/share*" + +#. type: Labeled list +#: udevil.1.txt:94 +#, no-wrap +msgid "*udevil mount //sys.domain/share -t smbfs*" +msgstr "*udevil mount //sys.domain/share -t smbfs*" + +#. type: Plain text +#: udevil.1.txt:96 +msgid "Samba share w/ smbfs" +msgstr "Samba share w/ smbfs" + +#. type: Labeled list +#: udevil.1.txt:97 +#, no-wrap +msgid "*udevil mount ssh://user@sys.domain*" +msgstr "*udevil mount ssh://user@sys.domain*" + +#. type: Plain text +#: udevil.1.txt:99 +msgid "sshfs with user - requires sshfs" +msgstr "sshfs with user - requires sshfs" + +#. type: Labeled list +#: udevil.1.txt:100 +#, no-wrap +msgid "*udevil mount -t sshfs user@sys.domain*" +msgstr "*udevil mount -t sshfs user@sys.domain*" + +#. type: Plain text +#: udevil.1.txt:102 +msgid "sshfs with user" +msgstr "sshfs with user" + +#. type: Labeled list +#: udevil.1.txt:103 +#, no-wrap +msgid "*udevil mount http://sys.domain/dav/*" +msgstr "*udevil mount http://sys.domain/dav/*" + +#. type: Plain text +#: udevil.1.txt:105 +msgid "WebDAV - requires davfs2" +msgstr "WebDAV - requires davfs2" + +#. type: Labeled list +#: udevil.1.txt:106 +#, no-wrap +msgid "*udevil mount tmpfs*" +msgstr "*udevil mount tmpfs*" + +#. type: Plain text +#: udevil.1.txt:108 +msgid "Make a RAM drive" +msgstr "Make a RAM drive" + +#. type: Plain text +#: udevil.1.txt:110 +#, no-wrap +msgid "*WARNING !!!* a password on the command line is *'UNSAFE'* - see filesystem docs\n" +msgstr "*WARNING !!!* a password on the command line is *'UNSAFE'* - see filesystem docs\n" + +#. type: Title - +#: udevil.1.txt:113 +#, no-wrap +msgid "UNMOUNT" +msgstr "UNMOUNT" + +#. type: Plain text +#: udevil.1.txt:116 +#, no-wrap +msgid "*udevil umount*|*unmount*|*--unmount*|*--umount* ['UNMOUNT-OPTIONS'] {[*-b*|*--block-device*] 'DEVICE'}|'DIR'\n" +msgstr "*udevil umount*|*unmount*|*--unmount*|*--umount* ['UNMOUNT-OPTIONS'] {[*-b*|*--block-device*] 'DEVICE'}|'DIR'\n" + +#. type: Plain text +#: udevil.1.txt:118 +msgid "Unmount 'DEVICE' or 'DIR' with 'UNMOUNT-OPTIONS':" +msgstr "Unmount 'DEVICE' or 'DIR' with 'UNMOUNT-OPTIONS':" + +#. type: Labeled list +#: udevil.1.txt:119 +#, no-wrap +msgid "*-l*" +msgstr "*-l*" + +#. type: Plain text +#: udevil.1.txt:121 +msgid "Lazy unmount (see man umount)." +msgstr "Lazy unmount (see man umount)." + +#. type: Labeled list +#: udevil.1.txt:121 +#, no-wrap +msgid "*-f*" +msgstr "*-f*" + +#. type: Plain text +#: udevil.1.txt:123 +msgid "Force unmount (see man umount)." +msgstr "Force unmount (see man umount)." + +#. type: Plain text +#: udevil.1.txt:130 +#, no-wrap +msgid "*udevil umount /dev/sdd1*\n" +msgstr "*udevil umount /dev/sdd1*\n" + +#. type: Plain text +#: udevil.1.txt:132 +#, no-wrap +msgid "*udevil umount /media/disk*\n" +msgstr "*udevil umount /media/disk*\n" + +#. type: Plain text +#: udevil.1.txt:134 +#, no-wrap +msgid "*udevil umount -l /media/disk*\n" +msgstr "*udevil umount -l /media/disk*\n" + +#. type: Plain text +#: udevil.1.txt:136 +#, no-wrap +msgid "*udevil umount /tmp/example.iso*\n" +msgstr "*udevil umount /tmp/example.iso*\n" + +#. type: Title - +#: udevil.1.txt:139 +#, no-wrap +msgid "INFO" +msgstr "INFO" + +#. type: Plain text +#: udevil.1.txt:142 +#, no-wrap +msgid "*udevil info*|*--show-info*|*--info* [*-b*|*--block-device*] 'DEVICE'\n" +msgstr "*udevil info*|*--show-info*|*--info* [*-b*|*--block-device*] 'DEVICE'\n" + +#. type: Plain text +#: udevil.1.txt:144 +msgid "Show information about 'DEVICE' emulating udisks v1 output." +msgstr "Show information about 'DEVICE' emulating udisks v1 output." + +#. type: Title ~ +#: udevil.1.txt:146 udevil.1.txt:159 +#, no-wrap +msgid "EXAMPLE" +msgstr "EXAMPLE" + +#. type: Plain text +#: udevil.1.txt:149 +#, no-wrap +msgid "*udevil info /dev/sdd1*\n" +msgstr "*udevil info /dev/sdd1*\n" + +#. type: Title - +#: udevil.1.txt:152 +#, no-wrap +msgid "MONITOR" +msgstr "MONITOR" + +#. type: Plain text +#: udevil.1.txt:155 +#, no-wrap +msgid "*udevil monitor*|*--monitor*\n" +msgstr "*udevil monitor*|*--monitor*\n" + +#. type: Plain text +#: udevil.1.txt:157 +msgid "Display device events emulating udisks v1 output." +msgstr "Display device events emulating udisks v1 output." + +#. type: Plain text +#: udevil.1.txt:162 +#, no-wrap +msgid "*udevil monitor*\n" +msgstr "*udevil monitor*\n" + +#. type: Title - +#: udevil.1.txt:165 +#, no-wrap +msgid "CLEAN" +msgstr "CLEAN" + +#. type: Plain text +#: udevil.1.txt:168 +#, no-wrap +msgid "*udevil clean*\n" +msgstr "*udevil clean*\n" + +#. type: Plain text +#: udevil.1.txt:170 +msgid "Remove unmounted udevil-created mount dirs in media dirs." +msgstr "Remove unmounted udevil-created mount dirs in media dirs." + +#. type: Title - +#: udevil.1.txt:173 +#, no-wrap +msgid "HELP" +msgstr "HELP" + +#. type: Plain text +#: udevil.1.txt:176 +#, no-wrap +msgid "*udevil help*|*--help*|*-h*\n" +msgstr "*udevil help*|*--help*|*-h*\n" + +#. type: Plain text +#: udevil.1.txt:178 +msgid "Show help very similar to this manpage." +msgstr "Show help very similar to this manpage." + +#. type: Title - +#: udevil.1.txt:181 +#, no-wrap +msgid "AUTOMOUNTING" +msgstr "AUTOMOUNTING" + +#. type: Plain text +#: udevil.1.txt:184 +msgid "For automounting with udevil run \\'*devmon --help*'." +msgstr "For automounting with udevil run \\'*devmon --help*'." + +#. type: Title - +#: udevil.1.txt:187 +#, no-wrap +msgid "FILES" +msgstr "FILES" + +#. type: Labeled list +#: udevil.1.txt:189 +#, no-wrap +msgid "*/etc/udevil/udevil.conf*" +msgstr "*/etc/udevil/udevil.conf*" + +#. type: Plain text +#: udevil.1.txt:191 +msgid "Configuration file." +msgstr "Configuration file." + +#. type: Plain text +#: udevil.1.txt:194 +msgid "HOMEPAGE" +msgstr "HOMEPAGE" + +#. type: delimited block - +#: udevil.1.txt:196 +#, no-wrap +msgid "\n" +msgstr "\n" + +#. type: delimited block - +#: udevil.1.txt:199 +#, no-wrap +msgid "AUTHOR\n" +msgstr "AUTHOR\n" + +#. type: Plain text +#: udevil.1.txt:202 +#, no-wrap +msgid "" +"*udevil* is developed and maintained by IgnorantGuru .\n" +"This manual page was adapted from udevil's --help output by Omega Weapon\n" +".\n" +msgstr "" +"*udevil* is developed and maintained by IgnorantGuru .\n" +"This manual page was adapted from udevil's --help output by Omega Weapon\n" +".\n" diff --git a/man/po4a/po4a.cfg b/man/po4a/po4a.cfg new file mode 100644 index 0000000..1bd1b3b --- /dev/null +++ b/man/po4a/po4a.cfg @@ -0,0 +1,3 @@ +[po_directory] po4a + +[type: asciidoc] udevil.1.txt $lang:translated/$lang/udevil.1.txt diff --git a/man/po4a/udevil-man.pot b/man/po4a/udevil-man.pot new file mode 100644 index 0000000..cdae92c --- /dev/null +++ b/man/po4a/udevil-man.pot @@ -0,0 +1,561 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2013-11-27 18:15+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Title = +#: udevil.1.txt:2 +#, no-wrap +msgid "UDEVIL(1)" +msgstr "" + +#. type: Title - +#: udevil.1.txt:9 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:11 +msgid "udevil - mount, unmount, and monitor devices as a normal user" +msgstr "" + +#. type: Title - +#: udevil.1.txt:14 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:16 +#, no-wrap +msgid "*udevil* ['OPTIONS'] 'COMMAND' ['COMMAND-OPTIONS'] ['COMMAND-ARGUMENTS']\n" +msgstr "" + +#. type: Title - +#: udevil.1.txt:19 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:23 +msgid "" +"udevil(1) mounts and unmounts devices without password, shows device info, " +"monitors device changes. Emulates udisks1/2 command line usage and udisks1 " +"output." +msgstr "" + +#. type: Title - +#: udevil.1.txt:26 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:27 +#, no-wrap +msgid "*--verbose*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:29 +msgid "Print details." +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:29 +#, no-wrap +msgid "*--quiet*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:31 +msgid "Minimal output." +msgstr "" + +#. type: Title - +#: udevil.1.txt:34 +#, no-wrap +msgid "MOUNT" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:36 +#, no-wrap +msgid "" +"*udevil mount*|*--mount* ['MOUNT-OPTIONS'] [[*-b*|*--block-device*] " +"'DEVICE'] ['DIR']\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:38 +msgid "Mounts 'DEVICE' to mount point 'DIR' with 'MOUNT-OPTIONS':" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:39 +#, no-wrap +msgid "*-t|--types|--filesystem-type|--mount-fstype* 'TYPE'" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:41 udevil.1.txt:43 +msgid "See man mount." +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:41 +#, no-wrap +msgid "*-o|--options|--mount-options* 'OPT',..." +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:43 udevil.1.txt:123 +#, no-wrap +msgid "*--no-user-interaction*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:45 udevil.1.txt:125 +msgid "Ignored (for compatibility)." +msgstr "" + +#. type: Title ~ +#: udevil.1.txt:47 udevil.1.txt:127 +#, no-wrap +msgid "EXAMPLES" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:50 +#, no-wrap +msgid "*udevil mount /dev/sdd1*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:52 +#, no-wrap +msgid "*udevil mount -o ro,noatime /dev/sdd1*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:54 +#, no-wrap +msgid "*udevil mount -o ro,noatime /dev/sdd1 /media/custom*\n" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:55 +#, no-wrap +msgid "*udevil mount /tmp/example.iso*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:57 +msgid "ISO file" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:58 +#, no-wrap +msgid "*udevil mount ftp://sys.domain*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:61 +msgid "FTP site requires curlftpfs or ftpfs" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:61 +#, no-wrap +msgid "*udevil mount ftp://user:pass@sys.domain/share*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:63 +msgid "FTP share with user and password" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:64 +#, no-wrap +msgid "*udevil mount ftp://user:pass@sys.domain:21/share*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:66 +msgid "FTP share with port, user and password" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:67 +#, no-wrap +msgid "*udevil mount -t ftpfs sys.domain*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:69 +msgid "FTP site with ftpfs" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:70 +#, no-wrap +msgid "*udevil mount -t curlftpfs sys.domain*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:72 +msgid "FTP site with curl" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:73 +#, no-wrap +msgid "*udevil mount -t curlftpfs user:pass@sys.domain*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:75 +msgid "FTP site with curl u/p" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:76 +#, no-wrap +msgid "*udevil mount nfs://sys.domain:/share*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:78 udevil.1.txt:81 +msgid "NFS share" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:79 +#, no-wrap +msgid "*udevil mount sys.domain:/share*" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:82 +#, no-wrap +msgid "*udevil mount smb://sys.domain/share*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:84 udevil.1.txt:93 +msgid "Samba share w/ cifs" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:85 +#, no-wrap +msgid "*udevil mount smb://user:pass@10.0.0.1:50/share*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:87 +msgid "Samba share w/ u/p/port" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:88 +#, no-wrap +msgid "*udevil mount smb://WORKGROUP/user@sys.domain*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:90 +msgid "Samba share w/ workgroup" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:91 +#, no-wrap +msgid "*udevil mount //sys.domain/share*" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:94 +#, no-wrap +msgid "*udevil mount //sys.domain/share -t smbfs*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:96 +msgid "Samba share w/ smbfs" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:97 +#, no-wrap +msgid "*udevil mount ssh://user@sys.domain*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:99 +msgid "sshfs with user - requires sshfs" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:100 +#, no-wrap +msgid "*udevil mount -t sshfs user@sys.domain*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:102 +msgid "sshfs with user" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:103 +#, no-wrap +msgid "*udevil mount http://sys.domain/dav/*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:105 +msgid "WebDAV - requires davfs2" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:106 +#, no-wrap +msgid "*udevil mount tmpfs*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:108 +msgid "Make a RAM drive" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:110 +#, no-wrap +msgid "" +"*WARNING !!!* a password on the command line is *'UNSAFE'* - see filesystem " +"docs\n" +msgstr "" + +#. type: Title - +#: udevil.1.txt:113 +#, no-wrap +msgid "UNMOUNT" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:116 +#, no-wrap +msgid "" +"*udevil umount*|*unmount*|*--unmount*|*--umount* ['UNMOUNT-OPTIONS'] " +"{[*-b*|*--block-device*] 'DEVICE'}|'DIR'\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:118 +msgid "Unmount 'DEVICE' or 'DIR' with 'UNMOUNT-OPTIONS':" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:119 +#, no-wrap +msgid "*-l*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:121 +msgid "Lazy unmount (see man umount)." +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:121 +#, no-wrap +msgid "*-f*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:123 +msgid "Force unmount (see man umount)." +msgstr "" + +#. type: Plain text +#: udevil.1.txt:130 +#, no-wrap +msgid "*udevil umount /dev/sdd1*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:132 +#, no-wrap +msgid "*udevil umount /media/disk*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:134 +#, no-wrap +msgid "*udevil umount -l /media/disk*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:136 +#, no-wrap +msgid "*udevil umount /tmp/example.iso*\n" +msgstr "" + +#. type: Title - +#: udevil.1.txt:139 +#, no-wrap +msgid "INFO" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:142 +#, no-wrap +msgid "*udevil info*|*--show-info*|*--info* [*-b*|*--block-device*] 'DEVICE'\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:144 +msgid "Show information about 'DEVICE' emulating udisks v1 output." +msgstr "" + +#. type: Title ~ +#: udevil.1.txt:146 udevil.1.txt:159 +#, no-wrap +msgid "EXAMPLE" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:149 +#, no-wrap +msgid "*udevil info /dev/sdd1*\n" +msgstr "" + +#. type: Title - +#: udevil.1.txt:152 +#, no-wrap +msgid "MONITOR" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:155 +#, no-wrap +msgid "*udevil monitor*|*--monitor*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:157 +msgid "Display device events emulating udisks v1 output." +msgstr "" + +#. type: Plain text +#: udevil.1.txt:162 +#, no-wrap +msgid "*udevil monitor*\n" +msgstr "" + +#. type: Title - +#: udevil.1.txt:165 +#, no-wrap +msgid "CLEAN" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:168 +#, no-wrap +msgid "*udevil clean*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:170 +msgid "Remove unmounted udevil-created mount dirs in media dirs." +msgstr "" + +#. type: Title - +#: udevil.1.txt:173 +#, no-wrap +msgid "HELP" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:176 +#, no-wrap +msgid "*udevil help*|*--help*|*-h*\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:178 +msgid "Show help very similar to this manpage." +msgstr "" + +#. type: Title - +#: udevil.1.txt:181 +#, no-wrap +msgid "AUTOMOUNTING" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:184 +msgid "For automounting with udevil run \\'*devmon --help*'." +msgstr "" + +#. type: Title - +#: udevil.1.txt:187 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: Labeled list +#: udevil.1.txt:189 +#, no-wrap +msgid "*/etc/udevil/udevil.conf*" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:191 +msgid "Configuration file." +msgstr "" + +#. type: Plain text +#: udevil.1.txt:194 +msgid "HOMEPAGE" +msgstr "" + +#. type: delimited block - +#: udevil.1.txt:196 +#, no-wrap +msgid "\n" +msgstr "" + +#. type: delimited block - +#: udevil.1.txt:199 +#, no-wrap +msgid "AUTHOR\n" +msgstr "" + +#. type: Plain text +#: udevil.1.txt:202 +#, no-wrap +msgid "" +"*udevil* is developed and maintained by IgnorantGuru " +".\n" +"This manual page was adapted from udevil's --help output by Omega Weapon\n" +".\n" +msgstr "" diff --git a/man/translated/en_GB/udevil.1 b/man/translated/en_GB/udevil.1 new file mode 100644 index 0000000..2ede399 --- /dev/null +++ b/man/translated/en_GB/udevil.1 @@ -0,0 +1,237 @@ +'\" t +.\" Title: udevil +.\" Author: [see the "AUTHOR" section] +.\" Generator: DocBook XSL Stylesheets v1.78.1 +.\" Date: 11/27/2013 +.\" Manual: udevil Manual +.\" Source: udevil 0.4.1+ +.\" Language: English +.\" +.TH "UDEVIL" "1" "11/27/2013" "udevil 0\&.4\&.1+" "udevil Manual" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +udevil \- mount, unmount, and monitor devices as a normal user +.SH "SYNOPSIS" +.sp +\fBudevil\fR [\fIOPTIONS\fR] \fICOMMAND\fR [\fICOMMAND\-OPTIONS\fR] [\fICOMMAND\-ARGUMENTS\fR] +.SH "DESCRIPTION" +.sp +udevil(1) mounts and unmounts devices without password, shows device info, monitors device changes\&. Emulates udisks1/2 command line usage and udisks1 output\&. +.SH "OPTIONS" +.PP +\fB\-\-verbose\fR +.RS 4 +Print details\&. +.RE +.PP +\fB\-\-quiet\fR +.RS 4 +Minimal output\&. +.RE +.SH "MOUNT" +.sp +\fBudevil mount\fR|\fB\-\-mount\fR [\fIMOUNT\-OPTIONS\fR] [[\fB\-b\fR|\fB\-\-block\-device\fR] \fIDEVICE\fR] [\fIDIR\fR] +.sp +Mounts \fIDEVICE\fR to mount point \fIDIR\fR with \fIMOUNT\-OPTIONS\fR: +.PP +\fB\-t|\-\-types|\-\-filesystem\-type|\-\-mount\-fstype\fR \fITYPE\fR +.RS 4 +See man mount\&. +.RE +.PP +\fB\-o|\-\-options|\-\-mount\-options\fR \fIOPT\fR,\&... +.RS 4 +See man mount\&. +.RE +.PP +\fB\-\-no\-user\-interaction\fR +.RS 4 +Ignored (for compatibility)\&. +.RE +.SS "EXAMPLES" +.sp +\fBudevil mount /dev/sdd1\fR +.sp +\fBudevil mount \-o ro,noatime /dev/sdd1\fR +.sp +\fBudevil mount \-o ro,noatime /dev/sdd1 /media/custom\fR +.PP +\fBudevil mount /tmp/example\&.iso\fR +.RS 4 +ISO file +.RE +.PP +\fBudevil mount \fR\fBftp://sys\&.domain\fR +.RS 4 +FTP site requires curlftpfs or ftpfs +.RE +.PP +\fBudevil mount \fR\fBftp://user:pass@sys\&.domain/share\fR +.RS 4 +FTP share with user and password +.RE +.PP +\fBudevil mount \fR\fBftp://user:pass@sys\&.domain:21/share\fR +.RS 4 +FTP share with port, user and password +.RE +.PP +\fBudevil mount \-t ftpfs sys\&.domain\fR +.RS 4 +FTP site with ftpfs +.RE +.PP +\fBudevil mount \-t curlftpfs sys\&.domain\fR +.RS 4 +FTP site with curl +.RE +.PP +\fBudevil mount \-t curlftpfs user:pass@sys\&.domain\fR +.RS 4 +FTP site with curl u/p +.RE +.PP +\fBudevil mount nfs://sys\&.domain:/share\fR +.RS 4 +NFS share +.RE +.PP +\fBudevil mount sys\&.domain:/share\fR +.RS 4 +NFS share +.RE +.PP +\fBudevil mount smb://sys\&.domain/share\fR +.RS 4 +Samba share w/ cifs +.RE +.PP +\fBudevil mount smb://user:pass@10\&.0\&.0\&.1:50/share\fR +.RS 4 +Samba share w/ u/p/port +.RE +.PP +\fBudevil mount smb://WORKGROUP/user@sys\&.domain\fR +.RS 4 +Samba share w/ workgroup +.RE +.PP +\fBudevil mount //sys\&.domain/share\fR +.RS 4 +Samba share w/ cifs +.RE +.PP +\fBudevil mount //sys\&.domain/share \-t smbfs\fR +.RS 4 +Samba share w/ smbfs +.RE +.PP +\fBudevil mount ssh://user@sys\&.domain\fR +.RS 4 +sshfs with user \- requires sshfs +.RE +.PP +\fBudevil mount \-t sshfs \fR\fBuser@sys\fR\fB\&.domain\fR +.RS 4 +sshfs with user +.RE +.PP +\fBudevil mount \fR\fBhttp://sys\&.domain/dav/\fR +.RS 4 +WebDAV \- requires davfs2 +.RE +.PP +\fBudevil mount tmpfs\fR +.RS 4 +Make a RAM drive +.RE +.sp +\fBWARNING !!!\fR a password on the command line is \fB\fIUNSAFE\fR\fR \- see filesystem docs +.SH "UNMOUNT" +.sp +\fBudevil umount\fR|\fBunmount\fR|\fB\-\-unmount\fR|\fB\-\-umount\fR [\fIUNMOUNT\-OPTIONS\fR] {[\fB\-b\fR|\fB\-\-block\-device\fR] \fIDEVICE\fR}|\fIDIR\fR +.sp +Unmount \fIDEVICE\fR or \fIDIR\fR with \fIUNMOUNT\-OPTIONS\fR: +.PP +\fB\-l\fR +.RS 4 +Lazy unmount (see man umount)\&. +.RE +.PP +\fB\-f\fR +.RS 4 +Force unmount (see man umount)\&. +.RE +.PP +\fB\-\-no\-user\-interaction\fR +.RS 4 +Ignored (for compatibility)\&. +.RE +.SS "EXAMPLES" +.sp +\fBudevil umount /dev/sdd1\fR +.sp +\fBudevil umount /media/disk\fR +.sp +\fBudevil umount \-l /media/disk\fR +.sp +\fBudevil umount /tmp/example\&.iso\fR +.SH "INFO" +.sp +\fBudevil info\fR|\fB\-\-show\-info\fR|\fB\-\-info\fR [\fB\-b\fR|\fB\-\-block\-device\fR] \fIDEVICE\fR +.sp +Show information about \fIDEVICE\fR emulating udisks v1 output\&. +.SS "EXAMPLE" +.sp +\fBudevil info /dev/sdd1\fR +.SH "MONITOR" +.sp +\fBudevil monitor\fR|\fB\-\-monitor\fR +.sp +Display device events emulating udisks v1 output\&. +.SS "EXAMPLE" +.sp +\fBudevil monitor\fR +.SH "CLEAN" +.sp +\fBudevil clean\fR +.sp +Remove unmounted udevil\-created mount dirs in media dirs\&. +.SH "HELP" +.sp +\fBudevil help\fR|\fB\-\-help\fR|\fB\-h\fR +.sp +Show help very similar to this manpage\&. +.SH "AUTOMOUNTING" +.sp +For automounting with udevil run \*(Aq\fBdevmon \-\-help\fR\*(Aq\&. +.SH "FILES" +.PP +\fB/etc/udevil/udevil\&.conf\fR +.RS 4 +Configuration file\&. +.RE +.SH "HOMEPAGE" +.sp +http://ignorantguru\&.github\&.io/udevil/ +.SH "AUTHOR" +.sp +\fBudevil\fR is developed and maintained by IgnorantGuru \&. This manual page was adapted from udevil\(cqs \-\-help output by Omega Weapon \&. diff --git a/man/translated/en_GB/udevil.1.txt b/man/translated/en_GB/udevil.1.txt new file mode 100644 index 0000000..671a34d --- /dev/null +++ b/man/translated/en_GB/udevil.1.txt @@ -0,0 +1,202 @@ +UDEVIL(1) +========= +:doctype: manpage +:man source: udevil +:man version: 0.4.1+ +:man manual: udevil Manual + +NAME +---- +udevil - mount, unmount, and monitor devices as a normal user + + +SYNOPSIS +-------- +*udevil* ['OPTIONS'] 'COMMAND' ['COMMAND-OPTIONS'] ['COMMAND-ARGUMENTS'] + + +DESCRIPTION +----------- +udevil(1) mounts and unmounts devices without password, shows device info, +monitors device changes. Emulates udisks1/2 command line usage and udisks1 +output. + + +OPTIONS +------- +*--verbose*:: + Print details. +*--quiet*:: + Minimal output. + + +MOUNT +----- +*udevil mount*|*--mount* ['MOUNT-OPTIONS'] [[*-b*|*--block-device*] 'DEVICE'] ['DIR'] + +Mounts 'DEVICE' to mount point 'DIR' with 'MOUNT-OPTIONS': + +*-t|--types|--filesystem-type|--mount-fstype* 'TYPE':: + See man mount. +*-o|--options|--mount-options* 'OPT',...:: + See man mount. +*--no-user-interaction*:: + Ignored (for compatibility). + +EXAMPLES +~~~~~~~~ + +*udevil mount /dev/sdd1* + +*udevil mount -o ro,noatime /dev/sdd1* + +*udevil mount -o ro,noatime /dev/sdd1 /media/custom* + +*udevil mount /tmp/example.iso*:: + ISO file + +*udevil mount ftp://sys.domain*:: + FTP site requires curlftpfs or ftpfs + +*udevil mount ftp://user:pass@sys.domain/share*:: + FTP share with user and password + +*udevil mount ftp://user:pass@sys.domain:21/share*:: + FTP share with port, user and password + +*udevil mount -t ftpfs sys.domain*:: + FTP site with ftpfs + +*udevil mount -t curlftpfs sys.domain*:: + FTP site with curl + +*udevil mount -t curlftpfs user:pass@sys.domain*:: + FTP site with curl u/p + +*udevil mount nfs://sys.domain:/share*:: + NFS share + +*udevil mount sys.domain:/share*:: + NFS share + +*udevil mount smb://sys.domain/share*:: + Samba share w/ cifs + +*udevil mount smb://user:pass@10.0.0.1:50/share*:: + Samba share w/ u/p/port + +*udevil mount smb://WORKGROUP/user@sys.domain*:: + Samba share w/ workgroup + +*udevil mount //sys.domain/share*:: + Samba share w/ cifs + +*udevil mount //sys.domain/share -t smbfs*:: + Samba share w/ smbfs + +*udevil mount ssh://user@sys.domain*:: + sshfs with user - requires sshfs + +*udevil mount -t sshfs user@sys.domain*:: + sshfs with user + +*udevil mount http://sys.domain/dav/*:: + WebDAV - requires davfs2 + +*udevil mount tmpfs*:: + Make a RAM drive + +*WARNING !!!* a password on the command line is *'UNSAFE'* - see filesystem docs + + +UNMOUNT +------- + +*udevil umount*|*unmount*|*--unmount*|*--umount* ['UNMOUNT-OPTIONS'] {[*-b*|*--block-device*] 'DEVICE'}|'DIR' + +Unmount 'DEVICE' or 'DIR' with 'UNMOUNT-OPTIONS': + +*-l*:: + Lazy unmount (see man umount). +*-f*:: + Force unmount (see man umount). +*--no-user-interaction*:: + Ignored (for compatibility). + +EXAMPLES +~~~~~~~~ + +*udevil umount /dev/sdd1* + +*udevil umount /media/disk* + +*udevil umount -l /media/disk* + +*udevil umount /tmp/example.iso* + + +INFO +---- + +*udevil info*|*--show-info*|*--info* [*-b*|*--block-device*] 'DEVICE' + +Show information about 'DEVICE' emulating udisks v1 output. + +EXAMPLE +~~~~~~~ + +*udevil info /dev/sdd1* + + +MONITOR +------- + +*udevil monitor*|*--monitor* + +Display device events emulating udisks v1 output. + +EXAMPLE +~~~~~~~ + +*udevil monitor* + + +CLEAN +----- + +*udevil clean* + +Remove unmounted udevil-created mount dirs in media dirs. + + +HELP +---- + +*udevil help*|*--help*|*-h* + +Show help very similar to this manpage. + + +AUTOMOUNTING +------------ + +For automounting with udevil run \'*devmon --help*'. + + +FILES +----- + +*/etc/udevil/udevil.conf*:: + Configuration file. + + +HOMEPAGE +--------- + + + +AUTHOR +------ +*udevil* is developed and maintained by IgnorantGuru . +This manual page was adapted from udevil's --help output by Omega Weapon +. diff --git a/man/udevil.1 b/man/udevil.1 deleted file mode 100644 index f95979e..0000000 --- a/man/udevil.1 +++ /dev/null @@ -1,9 +0,0 @@ -.TH udevil 1 "May 18 2012" "IgnorantGuru" - -.SH NAME -udevil \- mount, unmount, and monitor devices as a normal user - - -.SH AUTHOR -.B udevil -is developed and maintained by IgnorantGuru . diff --git a/man/udevil.1.txt b/man/udevil.1.txt new file mode 100644 index 0000000..7ab5f07 --- /dev/null +++ b/man/udevil.1.txt @@ -0,0 +1,202 @@ +UDEVIL(1) +========= +:doctype: manpage +:man source: udevil +:man version: 0.4.1+ +:man manual: udevil Manual + +NAME +---- +udevil - mount, unmount, and monitor devices as a normal user + + +SYNOPSIS +-------- +*udevil* ['OPTIONS'] 'COMMAND' ['COMMAND-OPTIONS'] ['COMMAND-ARGUMENTS'] + + +DESCRIPTION +----------- +udevil(1) mounts and unmounts devices without password, shows device info, +monitors device changes. Emulates udisks1/2 command line usage and udisks1 +output. + + +OPTIONS +------- +*--verbose*:: + Print details. +*--quiet*:: + Minimal output. + + +MOUNT +----- +*udevil mount*|*--mount* ['MOUNT-OPTIONS'] [[*-b*|*--block-device*] 'DEVICE'] ['DIR'] + +Mounts 'DEVICE' to mount point 'DIR' with 'MOUNT-OPTIONS': + +*-t|--types|--filesystem-type|--mount-fstype* 'TYPE':: + See man mount. +*-o|--options|--mount-options* 'OPT',...:: + See man mount. +*--no-user-interaction*:: + Ignored (for compatibility). + +EXAMPLES +~~~~~~~~ + +*udevil mount /dev/sdd1* + +*udevil mount -o ro,noatime /dev/sdd1* + +*udevil mount -o ro,noatime /dev/sdd1 /media/custom* + +*udevil mount /tmp/example.iso*:: + ISO file + +*udevil mount ftp://sys.domain*:: + FTP site requires curlftpfs or ftpfs + +*udevil mount ftp://user:pass@sys.domain/share*:: + FTP share with user and password + +*udevil mount ftp://user:pass@sys.domain:21/share*:: + FTP share with port, user and password + +*udevil mount -t ftpfs sys.domain*:: + FTP site with ftpfs + +*udevil mount -t curlftpfs sys.domain*:: + FTP site with curl + +*udevil mount -t curlftpfs user:pass@sys.domain*:: + FTP site with curl u/p + +*udevil mount nfs://sys.domain:/share*:: + NFS share + +*udevil mount sys.domain:/share*:: + NFS share + +*udevil mount smb://sys.domain/share*:: + Samba share w/ cifs + +*udevil mount smb://user:pass@10.0.0.1:50/share*:: + Samba share w/ u/p/port + +*udevil mount smb://WORKGROUP/user@sys.domain*:: + Samba share w/ workgroup + +*udevil mount //sys.domain/share*:: + Samba share w/ cifs + +*udevil mount //sys.domain/share -t smbfs*:: + Samba share w/ smbfs + +*udevil mount ssh://user@sys.domain*:: + sshfs with user - requires sshfs + +*udevil mount -t sshfs user@sys.domain*:: + sshfs with user + +*udevil mount http://sys.domain/dav/*:: + WebDAV - requires davfs2 + +*udevil mount tmpfs*:: + Make a RAM drive + +*WARNING !!!* a password on the command line is *'UNSAFE'* - see filesystem docs + + +UNMOUNT +------- + +*udevil umount*|*unmount*|*--unmount*|*--umount* ['UNMOUNT-OPTIONS'] {[*-b*|*--block-device*] 'DEVICE'}|'DIR' + +Unmount 'DEVICE' or 'DIR' with 'UNMOUNT-OPTIONS': + +*-l*:: + Lazy unmount (see man umount). +*-f*:: + Force unmount (see man umount). +*--no-user-interaction*:: + Ignored (for compatibility). + +EXAMPLES +~~~~~~~~ + +*udevil umount /dev/sdd1* + +*udevil umount /media/disk* + +*udevil umount -l /media/disk* + +*udevil umount /tmp/example.iso* + + +INFO +---- + +*udevil info*|*--show-info*|*--info* [*-b*|*--block-device*] 'DEVICE' + +Show information about 'DEVICE' emulating udisks v1 output. + +EXAMPLE +~~~~~~~ + +*udevil info /dev/sdd1* + + +MONITOR +------- + +*udevil monitor*|*--monitor* + +Display device events emulating udisks v1 output. + +EXAMPLE +~~~~~~~ + +*udevil monitor* + + +CLEAN +----- + +*udevil clean* + +Remove unmounted udevil-created mount dirs in media dirs. + + +HELP +---- + +*udevil help*|*--help*|*-h* + +Show help very similar to this manpage. + + +AUTOMOUNTING +------------ + +For automounting with udevil run \'*devmon --help*'. + + +FILES +----- + +*/etc/udevil/udevil.conf*:: + Configuration file. + + +HOMEPAGE +--------- + + + +AUTHOR +------ +*udevil* is developed and maintained by IgnorantGuru . +This manual page was adapted from udevil's --help output by Omega Weapon +. From 1a1bef03a2c34930eb5c555f2ee4bcdf73cc75c8 Mon Sep 17 00:00:00 2001 From: Omega Weapon Date: Wed, 27 Nov 2013 20:55:06 +0000 Subject: [PATCH 2/2] Fix Makefile.in --- man/Makefile.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/man/Makefile.in b/man/Makefile.in index 9fdf35b..2e3c828 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -263,8 +263,6 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ # Based off XFCE4 Terminal build system -# WIP: What is the current directory here? srcdir was originally used but seems to be useless... I need a proper way to debug this -# Debug code LINGUAS = $(shell cd $(srcdir)/po4a && echo `/bin/ls *.po | sed 's,[.]po,,g'`) all: all-am