Bugzilla – Attachment 24238 Details for
Bug 11510
Typo in koha-translate usage message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11510: koha-translate usage message fixes
PASSED-QA-Bug-11510-koha-translate-usage-message-f.patch (text/plain), 2.68 KB, created by
Katrin Fischer
on 2014-01-13 19:39:10 UTC
(
hide
)
Description:
[PASSED QA] Bug 11510: koha-translate usage message fixes
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-01-13 19:39:10 UTC
Size:
2.68 KB
patch
obsolete
>From d17c25fea3510ddf26ccee86f9ba03a5b40f0858 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 9 Jan 2014 12:37:20 -0300 >Subject: [PATCH] [PASSED QA] Bug 11510: koha-translate usage message fixes > >The koha-translate's usage message has a couple of inconsistencies: > >'--all' should be '--available' >and '--help' is missing from the usage examples. > >Regards >To+ > >Sponsored-by: Universidad Nacional de Cordoba >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works as described, tested using instructions on >http://wiki.koha-community.org/wiki/Testing_man_pages >--- > debian/docs/koha-translate.xml | 7 +++++++ > debian/scripts/koha-translate | 4 ++-- > 2 files changed, 9 insertions(+), 2 deletions(-) > >diff --git a/debian/docs/koha-translate.xml b/debian/docs/koha-translate.xml >index e06dede..7f97e8e 100644 >--- a/debian/docs/koha-translate.xml >+++ b/debian/docs/koha-translate.xml >@@ -25,6 +25,7 @@ > <cmdsynopsis> > <command>koha-translate</command> <arg><option>-i</option>|<option>--install</option></arg> <arg><option>-u</option>|<option>--update</option></arg> <arg><option>-r</option>|<option>--remove</option></arg> <arg><option>-c</option>|<option>--check</option></arg> <arg choice="req" rep="norepeat"><replaceable>lang_code</replaceable></arg> > <command>koha-translate</command> <arg><option>-l</option>|<option>--list</option></arg> <arg><option>-a</option>|<option>--available</option></arg> >+ <command>koha-translate</command> <arg><option>-h</option>|<option>--help</option></arg> > </cmdsynopsis> > </refsynopsisdiv> > >@@ -43,6 +44,12 @@ > </listitem> > </varlistentry> > <varlistentry> >+ <term><option>-h, --help</option></term> >+ <listitem> >+ <para>Print usage information.</para> >+ </listitem> >+ </varlistentry> >+ <varlistentry> > <term><option>-i, --install</option></term> > <listitem> > <para>Install the specified lang_code language translation.</para> >diff --git a/debian/scripts/koha-translate b/debian/scripts/koha-translate >index 0c731cf..d0b3a2f 100755 >--- a/debian/scripts/koha-translate >+++ b/debian/scripts/koha-translate >@@ -30,12 +30,12 @@ $scriptname > This script lets you manage your Koha templates translations. > > Usage: >-$scriptname --list|-l [--all|-a] >+$scriptname --list|-l [--available|-a] > $scriptname --check|-c language_code > $scriptname --install|-i language_code > $scriptname --update|-u language_code > $scriptname --remove|-r language_code >-$scriptname -h >+$scriptname --help|-h > > -l | --list List the installed or available (combined with -a) > language translations >-- >1.8.3.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11510
:
24097
|
24204
| 24238